react-motion-gallery 2.0.14 → 2.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,7 +14,7 @@ This table reports local gzip measurements for each exported runtime surface. Th
14
14
  | `GalleryCore` | 1.8kB |
15
15
  | `Grid` | 7.4kB |
16
16
  | `Masonry` | 7.2kB |
17
- | `Slider` | 28.6kB |
17
+ | `Slider` | 28.7kB |
18
18
  | `ThumbnailSlider` | 15.8kB |
19
19
  | `useFullscreenController` | 41.6kB |
20
20
  | `Video` | 8.8kB |
@@ -0,0 +1,59 @@
1
+ import {a as a$5}from'./chunk-YRQVG3MM.mjs';import {a as a$1}from'./chunk-KZUAS63N.mjs';import {b,c as c$2}from'./chunk-H4BEIJAD.mjs';import {r,b as b$1,o,l,d,n,f,e as e$1,c,q,p,j,i,a as a$6,k,h,g}from'./chunk-TZGAHWM7.mjs';import {a as a$4}from'./chunk-ESF6XBYF.mjs';import {e}from'./chunk-EV6ZK4QI.mjs';import {a}from'./chunk-X4HEGEZV.mjs';import {a as a$2}from'./chunk-LVYED5ZM.mjs';import {a as a$3,c as c$1}from'./chunk-2AHLR3V4.mjs';import*as L from'react';import {forwardRef,useRef,useState,useMemo,useId,useEffect,useCallback,Children,isValidElement,useLayoutEffect,useImperativeHandle,cloneElement}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var de={layout:{gap:20},direction:{dir:"ltr",axis:"x"},align:"start",scroll:{groupCells:false,skipSnaps:false,freeScroll:false,loop:false},lazyLoad:{enabled:false,spinner:true,spinnerClassName:"",spinnerStyle:{}},controls:{arrows:{enabled:true,arrow:{},prev:{},next:{}},dots:{enabled:true,root:{},dot:{}},progress:{enabled:false,root:{},bar:{}},ripple:{enabled:true,className:""}},auto:{play:{enabled:false,speedMs:3e3,pauseMs:1e3,pauseOnHover:true},scroll:{enabled:false,speedMs:3e3,pauseMs:1e3,pauseOnHover:true}},motion:{selectDuration:25,freeScrollDuration:43,friction:.68}};var F={rtl:"I",track:"n",viewport:"Ii",contentLayer:"Ji",contentBlocked:"Ki",loadingLayer:"J",loadingLayerExit:"Li",fadeInStart:"Mi",fadeInActive:"v",pagination_dot:"o",active:"Ni",inactive:"Oi",ripple:"b",fade_container:"K",spinner:"Pi",rmgSpin:"L",spinnerWrap:"Qi",sliderSkeletonOverlay:"M",sliderSkeletonRow:"Ri",sliderShell:"Si",sliderSkeletonItem:"N",sliderSkeletonGroup:"Ti",sliderSkeleton:"y",rmgShimmer:"O"};var Ti=.2;function Xo(e,r){return (e%r+r)%r}function Vo({enabled:e,wrap:r,axisMain:n,isRtl:s,sliderRef:l,sliderWidthRef:u,offsetLocationRef:c,visibleImagesRef:m,slidesLen:S,clonedLen:x,isReady:N}){let H=L.useRef([]),v=L.useRef([]),C=L.useRef([]),A=L.useCallback(()=>{let E=l.current;if(!E)return;let w=u.current||0,z=[],$=[],q=Array.from(E.children),Y=n==="x"?"offsetLeft":"offsetTop",b=n==="x"?"width":"height",d=n==="x"?E.scrollWidth:E.scrollHeight;for(let P of q){let Z=P.querySelector(".rmg__parallax__layer");if(!Z)continue;let Ae=P[Y],lt=P.getBoundingClientRect()[b],ct=n==="x"&&s?d-(Ae+lt):Ae,Qe=w>0?Xo(ct,w)/w:0;z.push(Z),$.push(Qe);}H.current=z,v.current=z,C.current=$;},[n,s,l,u]),O=L.useCallback(()=>{let E=C.current.length||1,w=Math.max(m.current||1,1);return Ti*(E/w)},[m]),_=L.useCallback(()=>{let E=l.current,w=u.current||0;if(!E)return 0;let z=-(c.current?.get()??0);if(!r){let q=Math.max(0,w-E.clientWidth);return q<=0?0:Math.min(1,Math.max(0,z/q))}return w<=0?0:Xo(z,w)/w},[l,u,c,r]),I=L.useCallback(()=>{if(!e)return;let E=v.current,w=C.current;if(!E.length||E.length!==w.length)return;let z=_(),$=O();function q(Y,b){let d=Y-b;return d>.5&&(d-=1),d<-0.5&&(d+=1),d}for(let Y=0;Y<E.length;Y++){let b=w[Y],P=(r?q(b,z):b-z)*(-1*$)*100;E[Y].style.transform=n==="x"?`translateX(${P}%)`:`translateY(${P}%)`;}},[e,r,n,_,O]);return L.useEffect(()=>{e&&A();},[e,S,x,r,N,A]),L.useEffect(()=>{e||H.current.forEach(E=>E&&E.removeAttribute("style"));},[e]),L.useEffect(()=>{e&&S&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{I();});});},[e,S,x,r,I,N]),{collectParallaxForAll:A,tweenParallax:I,parallaxNodesRef:v,parallaxSnapsRef:C}}function Ei(e){return Math.max(0,Math.min(1,e))}function Yo({enabled:e,scaleAmount:r,wrap:n,sliderRef:s,sliderWidthRef:l,offsetLocationRef:u,slidesRef:c,getCenterOffsetForIndex:m,slidesLen:S,clonedLen:x}){let N=L.useCallback(A=>{let O=c.current?.[A];if(!O||!s.current)return 0;let _=m(A);return O.target-_},[c,s,m]),H=L.useCallback(()=>{let A=c.current?.length??0,O=[];for(let _=0;_<A;_++)O.push(N(_));return O},[c,N]),v=L.useCallback(A=>{let O=H(),_=O.length;if(!_)return {iL:0,iR:0,t:0};let I=l.current||0,E=n&&I>0,w=[];for(let P=0;P<_;P++){let Z=O[P];E?(w.push({x:Z-I,i:P}),w.push({x:Z,i:P}),w.push({x:Z+I,i:P})):w.push({x:Z,i:P});}w.sort((P,Z)=>P.x-Z.x);let z=0,$=0;for(let P=0;P<w.length-1;P++){let Z=w[P],Ae=w[P+1];if(A>=Z.x&&A<=Ae.x){z=P,$=P+1;break}}A<w[0].x&&(z=0,$=1),A>w[w.length-1].x&&(z=w.length-2,$=w.length-1);let q=w[z],Y=w[$],b=Math.max(1,Y.x-q.x),d=Ei((A-q.x)/b);return {iL:q.i,iR:Y.i,t:d}},[H,l,n]),C=L.useCallback(()=>{if(!e||!s.current||!c.current?.length||!r)return;let A=s.current,O=Array.from(A.children),_=-(u.current?.get()??0),{iL:I,iR:E,t:w}=v(_),z=1-w,$=w,q=c.current.length,Y=new Array(q).fill(1);Y[I]=1+(r-1)*z,Y[E]=1+(r-1)*$;for(let b of O){let d=b.getAttribute("data-rmg-idx");if(!d){b.style.setProperty("--rmg-scale","1"),b.style.zIndex="0";continue}let P=Number(d),Z=Y[P]??1;b.style.setProperty("--rmg-scale",String(Z)),b.style.zIndex=Z>1.0001?"1":"0",b.style.transformOrigin||(b.style.transformOrigin="center"),b.style.transition||(b.style.transition="transform 120ms linear");}},[e,s,c,r,u,v]);return L.useEffect(()=>{C();},[e,r,S,x]),L.useEffect(()=>{if(e)return;let A=s.current;if(!A)return;let O=Array.from(A.children);for(let _ of O)_.style.setProperty("--rmg-scale","1"),_.style.zIndex="0";},[e,s]),{applyPairScaleTween:C,getCenters:H}}var $n=.5;function Ni(e,r,n){let s=Math.abs(e-r);return n>0&&(s=Math.min(s,Math.abs(e-(r-n)),Math.abs(e-(r+n)))),s}function Uo({enabled:e,wrap:r,sliderRef:n,sliderWidthRef:s,offsetLocationRef:l,slidesRef:u,getCenterOffsetForIndex:c,slidesLen:m,clonedLen:S}){let x=L.useCallback(v=>{let C=u.current?.[v];if(!C||!n.current)return 0;let A=c(v);return C.target-A},[u,n,c]),N=L.useCallback(()=>{let v=u.current?.length??0,C=[];for(let A=0;A<v;A++)C.push(x(A));return C},[u,x]),H=L.useCallback(()=>{if(!e||!n.current||!u.current?.length)return;let v=n.current,C=Array.from(v.children),A=-(l.current?.get()??0),O=N(),_=O.length;if(!_)return;let I=s.current||0,E=r&&I>0,w=[];for(let b=0;b<_;b++){let d=O[b];E?(w.push({x:d-I,i:b}),w.push({x:d,i:b}),w.push({x:d+I,i:b})):w.push({x:d,i:b});}w.sort((b,d)=>b.x-d.x);let z=0,$=1;for(let b=0;b<w.length-1;b++){let d=w[b],P=w[b+1];if(A>=d.x&&A<=P.x){z=b,$=b+1;break}}let q=Math.max(1,w[$].x-w[z].x),Y=new Array(_).fill($n);for(let b=0;b<_;b++){let d=O[b],P=E?Ni(A,d,I):Math.abs(A-d),Z=Math.max(0,Math.min(1,1-P/q)),Ae=$n+(1-$n)*Z;Y[b]=Ae;}for(let b of C){let d=b.getAttribute("data-rmg-idx");if(!d){b.style.opacity="1";continue}let P=Number(d),Z=Y[P]??1;b.style.opacity=String(Z),b.style.transition||(b.style.transition="opacity 120ms linear");}},[e,n,u,l,N,s,r]);return L.useEffect(()=>{H();},[e,m,S,r]),L.useEffect(()=>{if(e)return;let v=n.current;if(!v)return;let C=Array.from(v.children);for(let A of C)A.style.opacity="1";},[e,n]),{applyFadeTween:H,getCenters:N}}function Ii({axisMain:e,direction:r,size:n=32}){let s=jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),l=jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"});return e==="y"?jsx("svg",{viewBox:"0 0 24 24",width:n,height:n,fill:"#000",xmlns:"http://www.w3.org/2000/svg","aria-hidden":true,style:{transform:"rotate(90deg)",transformOrigin:"50% 50%"},children:r==="prev"?s:l}):jsx("svg",{viewBox:"0 0 24 24",width:n,height:n,fill:"#000",xmlns:"http://www.w3.org/2000/svg","aria-hidden":true,children:r==="prev"?s:l})}var Pi={position:"absolute",overflow:"hidden",backgroundColor:"rgba(255, 255, 255, 0.75)",boxShadow:"0 0 5px rgba(0, 0, 0, 0.5)",borderRadius:"100%",zIndex:2,width:36,height:36,display:"flex",justifyContent:"center",alignItems:"center",transition:"opacity 120ms"};function Hi(e){return e==="y"?{left:"50%",top:10,transform:"translateX(-50%)"}:{left:10,top:"50%",transform:"translateY(-50%)"}}function Di(e){return e==="y"?{left:"50%",bottom:10,transform:"translateX(-50%)"}:{right:10,top:"50%",transform:"translateY(-50%)"}}function Go(e){let{axisMain:r,clientKey:n,wrap:s,isRtl:l,showArrows:u,selectedIndex:c,slideCount:m,measureRef:S,viewportMainSizeRef:x,previous:N,next:H,prevButtonRef:v,nextButtonRef:C,createRipple:A,arrowStyles:O,prevArrowStyles:_,nextArrowStyles:I,arrowClassName:E,prevArrowClassName:w,nextArrowClassName:z,renderPrevArrow:$,renderNextArrow:q,renderArrows:Y}=e,b=!s&&c<=0,d=!s&&c>=Math.max(0,m-1),P=S.current?S.current[n]:0,Z=!(m>1&&S.current&&x.current>P),Ae=!u||Z,lt=Ae||!s&&(l?d:b),ct=Ae||!s&&(l?b:d),Qe={...O??{},..._??{}},jt={...O??{},...I??{}},ar=[E,w].filter(Boolean).join(" "),lr=[E,z].filter(Boolean).join(" ");function cr(j,Pe){return ()=>{Pe||requestAnimationFrame(()=>{j==="prev"?N():H();});}}let ut=({dir:j,ref:Pe,onClick:Tt,hidden:Ve,disabled:St,className:xt})=>{let He=St?.35:1,Et=j==="prev"?Hi(r):Di(r),dt=j==="prev"?Qe:jt;return jsx("div",{ref:Pe,className:`rmgArrow rmgArrow--${j} ${xt??""}`,onClick:Wt=>{Ve||(A(Wt.currentTarget),requestAnimationFrame(()=>Tt()));},style:{...Pi,...Et,...dt,cursor:St?"default":"pointer",opacity:Ve?0:He,pointerEvents:Ve?"none":"auto",visibility:Ve?"hidden":"visible"},"aria-label":j==="prev"?"Previous slide":"Next slide",role:"button",title:St?j==="prev"?"At first slide":"At last slide":j==="prev"?"Previous":"Next",children:jsx(Ii,{axisMain:r,direction:j,size:32})})},Je=(j,Pe)=>j==="prev"&&$?$(Pe):j==="next"&&q?q(Pe):Y?Y({...Pe,dir:j}):ut({...Pe,dir:j}),ur=Je("prev",{ref:v,hidden:Ae,disabled:lt,onClick:cr("prev",Ae),createRipple:A,className:ar}),ht=Je("next",{ref:C,hidden:Ae,disabled:ct,onClick:cr("next",Ae),createRipple:A,className:lr});return jsxs(Fragment,{children:[ur,ht]})}function Bi(e){let{AX:r,slider:n,sliderWidth:s,showDots:l}=e,u=n.current?n.current[r.clientKey]:0,c=!!(n.current&&s.current<=u);return {clientMain:u,dotsAutoHidden:c,dotsHidden:!l||c}}function $i(e){let{AX:r,createRipple:n,styles:s,dotsContainerStyles:l,dotsStyles:u}=e;return function({ref:m,count:S,activeIndex:x,hidden:N,goTo:H,getDotRef:v,classNameContainer:C,classNameDot:A}){let O=r.main==="y"?{top:"50%",left:10,transform:"translateY(-50%)",flexDirection:"column"}:{left:"50%",bottom:10,transform:"translateX(-50%)",flexDirection:"row"};return jsx("div",{ref:m,className:`rmgDots ${C??""}`,style:{display:"flex",justifyContent:"center",position:"absolute",zIndex:10,background:"rgba(0, 0, 0, 0.5)",padding:r.main==="y"?"8px 4px":"4px 8px",borderRadius:"9999px",cursor:"auto",opacity:N?0:1,pointerEvents:N?"none":"auto",visibility:N?"hidden":"visible",...O,...l||{}},children:Array.from({length:S}).map((_,I)=>{let E=x===I;return jsx("div",{ref:v(I),onMouseDown:w=>{n(w.currentTarget);},onClick:()=>H(I),className:[s.pagination_dot,E?s.active:s.inactive,"rmgDot",A??""].filter(Boolean).join(" "),style:{...u||{}}},I)})})}}function Qo(e){let{AX:r,slider:n,sliderWidth:s,showDots:l,selectedIndex:u,slides:c,dotsContainerRef:m,dotRefs:S,isScrolling:x,goToIndex:N,renderDots:H,createRipple:v,styles:C,dotsContainerStyles:A,dotsStyles:O,dotsContainerClassName:_,dotsClassName:I}=e,{dotsHidden:E}=Bi({AX:r,slider:n,sliderWidth:s,showDots:l}),w=$i({AX:r,createRipple:v,styles:C,dotsContainerStyles:A,dotsStyles:O}),z=(H??w)({ref:m,count:c.current?.length??0,activeIndex:u.current,hidden:E,goTo:$=>{x.current=false,requestAnimationFrame(()=>N($));},getDotRef:$=>q=>{S.current[$]=q;},createRipple:v,classNameContainer:_,classNameDot:I});return {dotsHidden:E,dotsNode:z}}function Fi(e){return Math.max(0,Math.min(1,e))}function or(e){let{AX:r,lastProgressRef:n,progressHolderRef:s,progressInnerRef:l,p:u}=e,c=Fi(u);n.current=c;let m=s.current,S=l.current;m&&(m.style.setProperty("--rmg-progress",String(c)),m.setAttribute("data-rmg-progress",String(c)),m.setAttribute("aria-valuenow",String(Math.round(c*100)))),S&&r.main==="x"?S.style.width=`${c*100}%`:S&&r.main==="y"&&(S.style.height=`${c*100}%`);}function zi(e){let{AX:r,slider:n,sliderWidth:s,wrap:l,offsetLocationRef:u,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S}=e,x=n.current,N=s.current||0;if(!x){or({AX:r,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S,p:0});return}let H=x[r.clientKey];if(l){let v=s.current||0;if(v<=0){or({AX:r,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S,p:0});return}let C=(-(u.current?.get()??0)%v+v)%v;or({AX:r,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S,p:Math.round(C)===Math.round(v)?0:C/v});}else {let v=Math.max(0,N-H);if(v<=0){or({AX:r,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S,p:1});return}let C=-(u.current?.get()??0);or({AX:r,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S,p:Math.min(1,Math.max(0,C/v))});}}function ji({ref:e,innerRef:r,hidden:n,progress:s,axis:l,className:u,style:c,innerClassName:m,innerStyle:S}){if(n)return null;let x=l==="y";return jsx("div",{ref:e,className:u,style:{position:"absolute",left:x?6:"50%",top:x?"50%":void 0,bottom:x?void 0:6,transform:x?"translateY(-50%)":"translateX(-50%)",width:x?4:"60%",height:x?"60%":4,background:"rgba(0,0,0,0.3)",borderRadius:9999,overflow:"hidden",zIndex:10,pointerEvents:"none","--rmg-progress":s,...c||{}},"aria-hidden":true,"data-rmg-progress":String(s),children:jsx("div",{ref:r,className:m,style:{width:x?"100%":"calc(var(--rmg-progress, 0) * 100%)",height:x?"calc(var(--rmg-progress, 0) * 100%)":"100%",background:"rgb(80,163,255)",transition:"none",...S||{}}})})}function es(e){let{AX:r,slider:n,sliderWidth:s,wrap:l,offsetLocationRef:u,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S,showProgress:x,renderProgress:N,progressClassName:H,progressStyle:v,progressInnerClassName:C,progressInnerStyle:A}=e,_=!(x??false)||false,I=(N??ji)({ref:m,innerRef:S,hidden:_,progress:c.current,axis:r.main,className:H,style:v,innerClassName:C,innerStyle:A});return {progressHidden:_,progressNode:I,setProgressDom:w=>or({AX:r,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S,p:w}),updateProgressInFrame:()=>zi({AX:r,slider:n,sliderWidth:s,wrap:l,offsetLocationRef:u,lastProgressRef:c,progressHolderRef:m,progressInnerRef:S})}}function ts(){let e=new Map;return {getOrCreate(r,n,s){let l=e.get(r);if(l)return l.value;let u=n();return e.set(r,{value:u,dispose:s?c=>s(c):void 0}),u},destroyAll(){for(let r of e.values())try{r.dispose?.(r.value);}catch{}e.clear();}}}function Vi(e,r){let n=e??"x";return a$6({ownerWindow:r,axis:{scroll:n,cross:n==="x"?"y":"x"}})}var sr="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",st="data-rmg-lazy-src";function Yi(e,r){return Array.from(e.querySelectorAll(`[data-rmg-slide="true"][data-rmg-idx="${r}"]`))}function Ui(e){let r=e.getAttribute("data-rmg-idx"),n=r!=null?parseInt(r,10):NaN;return Number.isFinite(n)?n:null}function is(e,r){if(!r)return;let n=Ui(e);n!=null&&r.add(n);}async function Fn(e,r,n){let s=Yi(e,r);if(!s.length)return;let l=s.filter(u=>u.hasAttribute("data-rmg-lazyload")&&u.getAttribute("data-rmg-lazyloaded")!=="true");l.length&&await Promise.all(l.map(async u=>{if(u.getAttribute("data-rmg-lazyloading")!=="true"){u.setAttribute("data-rmg-lazyloading","true");try{await Wn(u,n);}finally{u.removeAttribute("data-rmg-lazyloading");}}}));}function Gi(e){e.setAttribute("data-rmg-lazyload",""),e.setAttribute("aria-busy","true"),e.querySelectorAll(`img[src]:not([${st}])`).forEach(s=>{let l=s.getAttribute("src");!l||l===sr||(s.setAttribute(st,l),s.setAttribute("src",sr),s.style.opacity||(s.style.opacity="0"),s.style.transition||(s.style.transition="opacity 220ms ease"));}),e.querySelectorAll(`[${st}]`).forEach(s=>{s instanceof HTMLImageElement?(s.getAttribute("src")||(s.src=sr),s.style.opacity||(s.style.opacity="0"),s.style.transition||(s.style.transition="opacity 220ms ease")):s.style.opacity="0";});}function Zi(e,r){e.setAttribute("data-rmg-lazyload",""),e.setAttribute("data-rmg-lazyloaded","true"),e.removeAttribute("data-rmg-lazyloading"),e.removeAttribute("aria-busy");let n=Array.from(e.querySelectorAll(`[${st}]`));for(let s of n){let l=s.getAttribute(st);l&&(s instanceof HTMLImageElement?(s.src=l,s.style.opacity="1",s.style.transition=s.style.transition||"opacity 220ms ease"):(s.style.backgroundImage=`url("${l}")`,s.style.opacity="1"),s.removeAttribute(st));}e.querySelectorAll("img").forEach(s=>{s.getAttribute("src")&&s.getAttribute("src")!==sr&&(s.style.opacity="1",s.style.transition=s.style.transition||"opacity 220ms ease");}),ls(e.querySelector("[data-rmg-spinner]")),is(e,r);}function Qi(){return new Promise(e=>requestAnimationFrame(()=>e()))}async function Ji(e){if(e.complete&&e.naturalWidth>0){let r=e.decode;return typeof r=="function"?r.call(e).catch(()=>{}):Promise.resolve()}return new Promise(r=>{let n=()=>{e.onload=null,e.onerror=null;let s=e.decode;typeof s=="function"?s.call(e).catch(()=>{}).finally(()=>r()):r();};e.onload=n,e.onerror=n;})}async function Wn(e,r){if(e.getAttribute("data-rmg-lazyloaded")==="true")return;let n=e.querySelector("[data-rmg-spinner]");n&&ra(n),e.setAttribute("aria-busy","true");let s=Array.from(e.querySelectorAll(`[${st}]`)),l=[];for(let u of s){let c=u.getAttribute(st);c&&(u instanceof HTMLImageElement?(u.style.opacity="0",u.style.transition=u.style.transition||"opacity 220ms ease",u.src=c,l.push(Ji(u))):u.style.backgroundImage=`url("${c}")`);}l.length&&await Promise.all(l),await Qi();for(let u of s)u.getAttribute(st)&&(u.removeAttribute(st),u.style.opacity="1");e.setAttribute("data-rmg-lazyloaded","true"),is(e,r),e.removeAttribute("aria-busy"),n&&ls(n);}function ea(e){return e.querySelector(".plyr")||e.querySelector('[data-rmg-video-snapshot="true"]')||e.querySelector("video")||e.querySelector("iframe")||e.querySelector("[data-plyr-provider], [data-plyr-embed-id]")?"video":"image"}function as(e){return e.type?.rmgMediaKind==="video"}function ta(e){if(as(e))return "video";if(typeof e.type=="string"){let n=e.type.toLowerCase();return n==="video"||n==="iframe"?"video":"image"}let r=e.props??{};return r.poster||r.source||r.sourceBuilder?"video":"image"}function ra(e){e&&(e.style.setProperty("opacity","1","important"),e.style.setProperty("visibility","visible","important"),e.style.setProperty("pointer-events","none","important"));}function ls(e){e&&(e.style.setProperty("opacity","0","important"),e.style.setProperty("visibility","hidden","important"),e.style.setProperty("pointer-events","none","important"));}function na(e){return {enabled:e?.enabled??false,spinner:e?.spinner??true,spinnerClassName:e?.spinnerClassName,spinnerStyle:e?.spinnerStyle}}function oa(e){let{lazy:r,kind:n,isClone:s}=e;if(!r.enabled)return {render:false,node:null,isCustom:false};let l=r.spinner;return l===false?{render:false,node:null,isCustom:false}:typeof l=="function"?{render:true,node:l({kind:n,isClone:s}),isCustom:true}:l===true||l==null?{render:true,node:null,isCustom:false}:{render:true,node:l,isCustom:true}}function zn(e,r,n,s,l,u,c,m,S,x,N,H){let v=u!=null?(n%u+u)%u:n,C=ta(e),A=as(e),O=H?.has(v)??false,_=(b,d)=>{x&&(d?x.current[v]=d:delete x.current[v]);},I={normIdx:v,isClone:!!S,storeBag:N,registerApiByIndex:_},E=c?oa({lazy:c,kind:C,isClone:!!S}):{render:false,node:null,isCustom:false},w=[E.isCustom?F.spinnerWrap:F.spinner,c?.spinnerClassName].filter(Boolean).join(" "),z=c?.enabled&&E.render?E.isCustom?jsx("div",{"data-rmg-spinner":true,className:w,style:c.spinnerStyle,"aria-hidden":"true",children:E.node}):jsx("div",{"data-rmg-spinner":true,className:w,style:c.spinnerStyle,"aria-hidden":"true"}):null,$={"data-rmg-slide":"true","data-rmg-idx":String(v),"data-rmg-rendered-idx":String(n),"data-rmg-kind":C,"data-rmg-clone":S?"true":"false",ref:b=>{if(b&&!s.current.some(d=>d.element===b)&&s.current.push({element:b,index:n}),b&&c?.enabled&&(O?Zi(b,H):Gi(b)),b){let d=ea(b);b.getAttribute("data-rmg-kind")!==d&&b.setAttribute("data-rmg-kind",d);}},style:{position:"relative",flex:"0 0 auto",...m||{},transform:"scale(var(--rmg-scale, 1))",transformOrigin:"center",userSelect:"none"}},q=e,Y="data-rmg-lazy-src";if(A){let d=(e.props??{}).registerApiByIndex;q=cloneElement(e,{registerApiByIndex:(P,Z)=>{_(P,Z),d?.(P,Z);}});}else if(c?.enabled&&!O&&typeof e.type=="string"&&e.type.toLowerCase()==="img"){let b=e.props||{},d=b.alt??"",P=typeof b.src=="string"?b.src:"";P&&P!==sr&&(q=cloneElement(e,{src:sr,alt:d,[Y]:P,decoding:b.decoding??"async",style:{...b.style||{},opacity:0,transition:b.style?.transition??"opacity 220ms ease"}}));}return l?jsx("div",{...$,className:"rmg__slide",children:jsx(a$5,{value:I,children:jsxs("div",{className:"rmg__parallax",children:[jsx("div",{className:"rmg__parallax__layer",children:q}),z]})})},r):jsx("div",{...$,children:jsxs(a$5,{value:I,children:[q,z]})},r)}var sa=forwardRef(function({children:r$1,cellCount:n$1,isClick:s,expandableImageRefs:l$1,isReady:u,setIsReady:c$1,loop:m,freeScroll:S,autoPlay:x,autoPlaySpeed:N,autoPlayPause:H,autoScroll:v,autoScrollSpeed:C,autoScrollPause:A,pauseAutoPlayOnHover:O,pauseAutoScrollOnHover:_,groupCells:I,centerAlign:E,gap:w,sliderViewportStyles:z,sliderViewportClassName:$,sliderContainerStyles:q$1,sliderContainerClassName:Y,arrowStyles:b$2,arrowClassName:d$1,prevArrowStyles:P,prevArrowClassName:Z,nextArrowStyles:Ae,nextArrowClassName:lt,dotsContainerStyles:ct,dotsContainerClassName:Qe,dotsStyles:jt,dotsClassName:ar,renderArrows:lr,renderPrevArrow:cr,renderNextArrow:ut,renderDots:Je,showArrows:ur,showDots:ht,showProgress:j$1,progressClassName:Pe,progressStyle:Tt,progressInnerClassName:Ve,progressInnerStyle:St,renderProgress:xt,parallax:He,parallaxBleedPct:Et,parallaxBorderRadius:dt,parallaxSideWidth:Wt,scaleEffect:et,scaleAmount:nn,fadeEffect:Nt,cellsPerSlide:ze,direction:on,axis:Me,skipSnaps:sn,selectDuration:ft,freeScrollDuration:dr,sliderFriction:k$1,indexChannel:te,introOptions:G,introUnlocked:se,lazyLoad:fe,rippleEnabled:mt,rippleClassName:tt,sliderImagesReady:Ye,enableFullscreen:Nr,requestFullscreenOpen:Ir,isFullscreenOpen:fr,setFullscreenOpen:ws},ks){let K=useRef(null),U=useRef([]),qt=useRef(0),Se=useRef(0),As=useRef(0),Qn=useRef(0),Rt=useRef(true),De=useRef(null),mr=useRef(null),gr=useRef(null),pr=useRef(null),Kt=useRef([]),Jn=useRef(null),[Ee,eo]=useState([]),yr=useRef(0),[Pr,Ms]=useState(1),[Xt,to]=useState([]),[br,Cs]=useState(false),[ro,Ls]=useState(false),[T,Ts]=useState(false),Es=useRef(null),Ns=useRef(null),no=useRef(0),an=useRef([]),Hr=useRef(false),hr=useRef(new Set),[je,ln]=useState(false),[cn,oo]=useState(false),Sr=useRef(0),un=useRef(-1),We=useRef(null),It=useRef(null),ae=useRef(null),xe=useRef(null),re=useRef(null),dn=useRef(null),qe=useRef(null),Ke=useRef(null),vt=useRef(false),xr=useRef(false),Dr=useRef(false),so=useRef(false),Ce=useRef(0),io=useRef(0),Is=useRef(0),Ps=useRef(0),gt=useRef(null),wt=useRef(null),Vt=useRef([]),me=useRef(0),fn=useRef(false),Hs=()=>(U.current||[]).map(t=>t.target),Ds=()=>me.current||0,_s=useRef(0),mn=useRef(null),_r=useRef(0),ao=useRef([]),Os=useRef(0),Bs=useRef(null),Or=useRef(null),Yt=useRef(null),pt=useRef(null),Br=useRef(null),Rr=useRef(null),$r="data-rmg-drag",gn=useRef(null),lo=useRef(null),Fr=useRef(false),$s=useRef(performance.now()-1e3),pn=useRef(0),[co,Fs]=useState(0),uo=useRef(null),[fo,zs]=useState(0),mo=useRef(""),vr=useRef({}),Ut=useMemo(()=>ts(),[co]),go=useRef(""),js=useRef(null),yt=useRef(new Set),kt=useRef(null),Ws=useMemo(()=>b(),[]),Ne=te??Ws,be=on==="rtl",yn=be?F.rtl:"",zr=Me==="x"&&be?-1:1,Gt=useId().replace(/:/g,"-"),B=useMemo(()=>({main:Me,cross:Me==="x"?"y":"x",sizeKey:Me==="x"?"width":"height",clientKey:Me==="x"?"clientWidth":"clientHeight",startKey:Me==="x"?"left":"top",endKey:Me==="x"?"right":"bottom",translate:M=>Me==="x"?`translate3d(${M}px,0,0)`:`translate3d(0,${M}px,0)`,place:M=>Me==="x"?`translateX(${M}px) scale(var(--rmg-scale, 1))`:`translateY(${M}px) scale(var(--rmg-scale, 1))`,wheelDelta:M=>Me==="x"?M.deltaX:M.deltaY}),[Me]),po=useMemo(()=>{let t=`#${Gt}`,o=`${t}[data-rmg-fixed-height="true"]`,i=`${t}[data-rmg-fixed-height="false"]`;return `
2
+ ${t} .rmg__slide {
3
+ position: relative;
4
+ overflow: hidden;
5
+ border-radius: ${dt};
6
+ }
7
+
8
+ ${o} .rmg__slide,
9
+ ${i} .rmg__slide {
10
+ width: ${Wt};
11
+ }
12
+
13
+ ${o} .rmg__slide {
14
+ height: 100%;
15
+ }
16
+
17
+ ${t} .rmg__parallax {
18
+ width: 100%;
19
+ }
20
+
21
+ ${o} .rmg__parallax,
22
+ ${o} .rmg__parallax__layer {
23
+ height: 100%;
24
+ }
25
+
26
+ ${t} .rmg__parallax__layer {
27
+ width: 100%;
28
+ will-change: transform;
29
+ transform: ${Me==="x"?"translateX(0%)":"translateY(0%)"}
30
+ }
31
+
32
+ ${t} .rmg__parallax__layer > img,
33
+ ${t} .rmg__parallax__layer > picture,
34
+ ${t} .rmg__parallax__layer > video {
35
+ display: block;
36
+ width: ${Et};
37
+ max-width: none;
38
+ margin-left: calc((100% - ${Et}) / 2);
39
+ }
40
+
41
+ ${o} .rmg__parallax__layer > img,
42
+ ${o} .rmg__parallax__layer > picture,
43
+ ${o} .rmg__parallax__layer > video {
44
+ height: 100%;
45
+ object-fit: cover;
46
+ }
47
+
48
+ ${i} .rmg__parallax__layer > img,
49
+ ${i} .rmg__parallax__layer > picture,
50
+ ${i} .rmg__parallax__layer > video {
51
+ height: auto;
52
+ }
53
+ `},[Me,Gt,Et,dt,Wt]),wr=e();useEffect(()=>()=>{Ut.destroyAll();},[Ut]);let bn=useRef(new Set),hn=useRef(new Set);useEffect(()=>{if(!Nr)return;let t=mr.current,o=K.current;if(!t||!o)return;let i=new IntersectionObserver(f=>{for(let y of f){if(!y.isIntersecting)continue;let g=y.target,p=g.closest('[data-rmg-slide="true"]');if(!p)continue;if(p.getAttribute("data-rmg-clone")==="true"){i.unobserve(g);continue}let M=p.getAttribute("data-rmg-idx"),D=M!=null?parseInt(M,10):NaN;if(!Number.isFinite(D)){i.unobserve(g);continue}if(bn.current.has(D)){i.unobserve(g);continue}bn.current.add(D),wr?.notifyBaseVisibleIndex(D),i.unobserve(g);}},{root:t,rootMargin:"0px",threshold:.1});return Array.from(o.children).filter(f=>{let y=f;return y.getAttribute("data-rmg-slide")==="true"&&y.getAttribute("data-rmg-clone")==="false"}).forEach(f=>{let y=f.querySelector("img");y&&i.observe(y);}),()=>i.disconnect()},[Nr,Ee.length,T,je,wr]),useEffect(()=>{if(!wr||!fe?.enabled)return;let t=wr.fsVisibleSub.subscribe(o=>{let i=o?.index;if(typeof i!="number"||!Number.isFinite(i)||hn.current.has(i))return;let a=K.current;if(!a)return;let f=a.querySelector(`[data-rmg-slide="true"][data-rmg-clone="false"][data-rmg-idx="${i}"]`);f&&(hn.current.add(i),qr(i),f.hasAttribute("data-rmg-lazyload")&&f.getAttribute("data-rmg-lazyloaded")!=="true"&&f.getAttribute("data-rmg-lazyloading")!=="true"&&(f.setAttribute("data-rmg-lazyloading","true"),Wn(f,yt.current).finally(()=>{f.removeAttribute("data-rmg-lazyloading");})));});return ()=>t?.()},[wr,fe?.enabled]);let Zt=es({AX:B,slider:K,sliderWidth:me,wrap:T,offsetLocationRef:ae,lastProgressRef:no,progressHolderRef:Es,progressInnerRef:Ns,showProgress:j$1,renderProgress:xt,progressClassName:Pe,progressStyle:Tt,progressInnerClassName:Ve,progressInnerStyle:St}),qs=Zt.progressNode,Sn=useMemo(()=>Children.toArray(r$1).map(o=>String(o?.key??"")).join("|"),[r$1]);useEffect(()=>{bn.current.clear(),hn.current.clear(),yt.current.clear();},[n$1,Sn]),useEffect(()=>{oo(false),ln(false),fn.current=false,c$1(false);},[n$1,Sn,m,Me]);function jr(){let t=K.current;if(!t)return [];let o=Array.from(t.children),i=yr.current||0,a=i;return o.slice(i,o.length-a)}function Ks(t){if(!t.length)return [];let o=B.main==="x"?"offsetLeft":"offsetTop",i=t[0],a=i.getBoundingClientRect()[B.sizeKey],f=i[o],y=f+a;return t.map(g=>{let p=g.getBoundingClientRect()[B.sizeKey],M=g[o],D=B.main==="x"&&be?y-(M+p):M-f;return {el:g,start:D,end:D+p,size:p}})}function Xs(t,o){if(!t||!o)return 0;let i=t.getBoundingClientRect(),a=o.getBoundingClientRect();return B.main==="y"?a.top-i.top:be?i.right-a.right:a.left-i.left}function Pt(t,o){return Math.max(0,Math.min(o-1,t))}useEffect(()=>{Rt.current=T;},[T,Rt]);function Vs(t){let o="rmg-drag-style-"+t;if(document.getElementById(o))return;let i=document.createElement("style");i.id=o,i.textContent=`
54
+ /* Only while data-rmg-drag is present on this slider root */
55
+ #${t}[data-rmg-drag] { cursor: grabbing !important; }
56
+ #${t}[data-rmg-drag] * { cursor: grabbing !important; }
57
+ `,document.head.appendChild(i);}useEffect(()=>{De.current&&Vs(Gt);},[De.current,Gt]);function kr(t){let o=De.current;if(o){if(t){o.hasAttribute($r)||o.setAttribute($r,"");return}o.hasAttribute($r)&&o.removeAttribute($r),gn.current=null,lo.current?.clear(),lo.current=null;}}useEffect(()=>{let t=De.current;if(!t)return;let o=()=>{vt.current&&kr(false);},i=()=>{vt.current&&gn.current!=null&&kr(true);};return t.addEventListener("mouseleave",o,{passive:true}),t.addEventListener("mouseenter",i,{passive:true}),()=>{t.removeEventListener("mouseleave",o),t.removeEventListener("mouseenter",i);}},[]);function Wr(t){let o=K.current;if(!o||!U.current?.[t]?.cells?.[0]?.element)return 0;let i=o[B.clientKey],a=U.current[t].cells[0].element.getBoundingClientRect()[B.sizeKey];return E?(i-a)/2:0}function Ar(t){let o=U.current?.length??0;if(!o)return;let i=Pt(t,o),a=U.current?.[i];if(!a)return;let f=-(a.target??0)+Wr(i);qe.current?.stop(),xr.current=false,We.current?.set(f),It.current?.set(f),ae.current?.set(f),xe.current?.set(f),Ce.current=f,re.current?.useDuration(0).useFriction(1).sync().resetVelocity(),Se.current=i,un.current=i,pt.current?.set(i),Br.current?.set(i),_e(f),j$1&&Zt.updateProgressInFrame(),He&&Cr(),et&&Vr(),Nt&&Yr(),Lr();}function xn(){let t=Ne.get().index??Se.current??0;Ar(t);}useEffect(()=>{let t=De.current;if(!t)return;let o=()=>{Fr.current=true;},i=()=>{Fr.current=false;};return t.addEventListener("mouseenter",o),t.addEventListener("mouseleave",i),()=>{t.removeEventListener("mouseenter",o),t.removeEventListener("mouseleave",i);}},[]),useEffect(()=>{let t=window.setInterval(()=>{let o=performance.now();Dr.current||fr||!Rt.current||!x||!u||O&&Fr.current||o-$s.current<H||(be?wn():kn());},N);return ()=>{window.clearInterval(t);}},[fr,Xt,Ee,Rt.current]),useEffect(()=>{let t=performance.now(),o;function i(a){o=requestAnimationFrame(i);let f=a-t;if(t=a,!K.current||!Rt.current||Dr.current||xr.current||fr||!v||_&&Fr.current||a<pn.current)return;let y=be?1:-1,p=(ae.current?.get()??0)+y*C*f;xe.current?.set(p),re.current?.useDuration(0).useFriction(1),qe.current?.start(),Ce.current=p,_e(),j$1&&Zt.updateProgressInFrame(),He&&Cr(),An(p);}return o=requestAnimationFrame(i),()=>cancelAnimationFrame(o)},[fr]);function Rn(t){uo.current!==t&&(uo.current=t,Ts(t),Rt.current=t,t||(_r.current=0),fn.current=false,ln(false),Fs(o=>o+1));}function Ys(t){return !!t?.closest?.([".plyr__controls",".plyr__control--overlaid",".plyr__menu__container",".plyr__tooltip",".plyr__captions"].join(","))}function Us(t){let o=t.changedTouches?.[0]??t.touches?.[0];return o?{x:o.clientX,y:o.clientY}:{x:t.clientX,y:t.clientY}}function Gs(t){let{x:o,y:i}=Us(t),a=document.elementFromPoint(o,i);if(!a)return null;let f=a.closest('[data-rmg-slide="true"]');if(!f)return null;let y=f.querySelector('[data-rmg-plyr="true"]');if(!y)return null;let g=y.getBoundingClientRect();if(!(o>=g.left&&o<=g.right&&i>=g.top&&i<=g.bottom)||a.closest(".plyr__controls"))return null;let M=f.getAttribute("data-rmg-rendered-idx"),D=f.getAttribute("data-rmg-idx"),Q=M!=null?parseInt(M,10):NaN,ge=D!=null?parseInt(D,10):NaN;return !Number.isFinite(Q)||!Number.isFinite(ge)?null:{renderedIndex:Q,canonicalIndex:ge,isClone:f.getAttribute("data-rmg-clone")==="true"}}function Zs(t){let o=t?.plyr??null;if(!o)return false;if(typeof o.playing=="boolean"?o.playing:!o.paused)return o.pause(),true;let a=o.play();return a&&typeof a.catch=="function"&&a.catch(()=>{}),true}function Qs(t){let o=vr.current[t]??null;return Zs(o)}function Js(t){let o=K.current;return o?o.querySelector(`[data-rmg-slide="true"][data-rmg-clone="false"][data-rmg-idx="${t}"]`):null}function vn(){let t=kt.current;t&&(t.observer?.disconnect(),t.rafId!=null&&cancelAnimationFrame(t.rafId),kt.current=null);}function ei(t){let o=kt.current;if(!o||o.canonicalIndex!==t)return;o.deadlineTs=performance.now()+1200;let a=()=>{if(kt.current!==o)return;!!vr.current[t];if(Qs(t)){vn();return}if(performance.now()>=o.deadlineTs){vn();return}o.rafId=requestAnimationFrame(a);};o.rafId=requestAnimationFrame(a);}function ti(t){vn(),Ar(t);let o=Js(t),i=mr.current;if(!o||!i)return;let a={canonicalIndex:t,observer:null,rafId:null,deadlineTs:0},f=new IntersectionObserver(y=>{if(kt.current===a){for(let p of y)if(!(!p.isIntersecting||(p.intersectionRatio??0)<.1)){a.observer?.disconnect(),a.observer=null,ei(t);return}}},{root:i,rootMargin:"0px",threshold:[0,.1]});a.observer=f,kt.current=a,f.observe(o);}function ri(t,o,i){return `${t}|per=${o}|cols=${i?ze:0}|wrap=${T?1:0}`}let rt=useMemo(()=>na(fe),[fe]),qr=useCallback(t=>{if(!rt.enabled)return;let o=K.current;o&&(t<0||t>=n$1||Fn(o,t,yt.current));},[rt.enabled,n$1]);useEffect(()=>{rt.enabled&&je&&Ee.length&&qr(Se.current);},[rt.enabled,je,Ee.length,qr]),useEffect(()=>()=>{let t=kt.current;t?.observer?.disconnect(),t?.rafId!=null&&cancelAnimationFrame(t.rafId),kt.current=null;},[]),useEffect(()=>{if(!rt.enabled||!je||!Ee.length)return;let t=false,o=requestAnimationFrame(()=>{if(t)return;let i=K.current;if(!i)return;let a=new Set([Se.current]);ho().forEach(f=>a.add(f)),a.forEach(f=>{f>=0&&f<n$1&&Fn(i,f,yt.current);});});return ()=>{t=true,cancelAnimationFrame(o);}},[rt.enabled,je,Ee.length,n$1]),useEffect(()=>{let t=K.current;if(!t)return;let o=new ResizeObserver(()=>{let i=Children.toArray(r$1).filter(isValidElement),a=i.length;if(a<1){t.style.removeProperty("--rmg-slide-main-size"),yr.current=0,_r.current=0,Vt.current=[],eo([]),me.current=0,Rr.current=null,Rn(false),U.current=[],to([]),an.current=[];return}let f=Array.from(t.children),y=yr.current,g=y,p=f.slice(y,f.length-g),M=t[B.clientKey],D=typeof ze=="number"&&ze>0,Q=1,ge;if(D){Q=Math.max(1,Math.min(a,ze));let Oe=w*Math.max(0,Q-1);ge=(M-Oe)/Q;}D&&ge!=null?t.style.setProperty("--rmg-slide-main-size",`${ge}px`):t.style.removeProperty("--rmg-slide-main-size");let Re=0,X=0;for(let Oe of p){let he=Oe.getBoundingClientRect()[B.sizeKey];if(he===0){requestAnimationFrame(()=>o.observe(t));return}let _t=X===0?he:Re+w+he;if(_t<=M)Re=_t,X++;else {X++;break}}let ne=D?Math.max(1,Math.min(a,Q)):Math.max(2,Math.min(a,X)),W=T;yr.current=W?ne:0,qt.current!==ne&&(Ms(ne),qt.current=ne);let ye=ri(a,ne,D);if(ye===go.current)return;go.current=ye;let ce=!!He,Ht=[];Vt.current=[];let Dt=D&&ge!=null?{flex:"0 0 auto",[B.sizeKey]:"var(--rmg-slide-main-size)"}:void 0;W&&Ht.push(...i.slice(-ne).map((Oe,he)=>zn(Oe,`before-${he}`,-ne+he,Vt,ce,n$1,rt,Dt,true,vr,Ut,yt.current))),Ht.push(...i.map((Oe,he)=>zn(Oe,`original-${he}`,he,Vt,ce,n$1,rt,Dt,false,vr,Ut,yt.current))),W&&Ht.push(...i.slice(0,ne).map((Oe,he)=>zn(Oe,`after-${he}`,a+he,Vt,ce,n$1,rt,Dt,true,vr,Ut,yt.current))),eo(Ht);});return o.observe(t),()=>o.disconnect()},[n$1,K,qt,ze,co,T,Ut]),useEffect(()=>{let t=K.current;if(!t)return;let o=()=>{i();};function i(){let y=K.current;if(!y)return;let g=Array.from(y.children);if(g.length===0)return;let p=yr.current,M=g.slice(p,g.length-p);if(M.length===0)return;let D=Ks(M);if(D.some(ce=>ce.size===0)){setTimeout(i,0);return}let Q=B.main==="x"?y.scrollWidth:y.scrollHeight;Rr.current={originals:D,cw:y[B.clientKey]};let ge=Rr.current?.originals?.length??0,Re=D[ge-1]?.end??0;me.current=T?Re+(ge>0?w:0):Re;let X=y[B.clientKey],ne=!!m&&ge>1&&Q>X,ye=`${D.map(ce=>`${ce.start}:${ce.size}`).join(",")}|cw=${X}|W=${Q}`;ye!==mo.current&&(mo.current=ye,zs(ce=>ce+1)),Rn(ne),Cs(true);}let a=new ResizeObserver(o);a.observe(t),De.current&&a.observe(De.current);let f=typeof window<"u"?window.visualViewport:null;return f?.addEventListener("resize",o),window.addEventListener("resize",o,{passive:true}),o(),()=>{a.disconnect(),f?.removeEventListener("resize",o),window.removeEventListener("resize",o);}},[n$1,Ee,Pr,ze,w,T,m,B,be]),useEffect(()=>{if(u)return;let t=fe?.enabled?true:Ye??true;!cn||!t||c$1(true);},[fe,Ye,cn,u]),useLayoutEffect(()=>{if(!K.current||Vt.current.length===0||me.current===0||!U.current||!U.current[0]||!U.current[0].cells[0]?.element)return;let t=K.current[B.clientKey];!T&&me.current<=t?Sr.current=Math.round((t-me.current)/2):Sr.current=0,_e(ae.current?.get()??Ce.current),Lr();},[Xt,T]),useEffect(()=>{let t=K.current;if(!t)return;let o=false,i=null,a=0,f=5;function y(){o||a++>=f||(i!=null&&window.clearTimeout(i),i=window.setTimeout(()=>{g();},0));}function g(){if(o||!t)return;let p=T?Pr:0,M=p,D=Array.from(t.children),Q=D.slice(p,D.length-M),ge=new Map(Q.map((J,pe)=>[J,pe])),Re=Rr.current;if(!Re||!Re.originals?.length){y();return}if(Q.length!==Re.originals.length){y();return}let X=Re.originals,ne=Re.cw,W=[],ye=0;if(I)for(;ye<X.length;){let J=X[ye]?.start??0,pe=J+ne,ve=ye;for(;ve<X.length&&(X[ve]?.end??0)<=pe;)ve++;ve===ye&&ve++;let bt=X.slice(ye,ve).map(Xe=>Xe.el),Le=ve>=X.length,le=J;Le&&!T&&(le=Math.max(0,(me.current||0)-ne)),ye===0&&(le=0),W.push({els:bt,target:le}),ye=ve;}else {let J=Math.max(0,(me.current||0)-ne),pe=.5;if(T)X.forEach((ve,bt)=>{let Le=bt===0?0:ve.start;W.push({els:[ve.el],target:Le});});else {for(let le=0;le<X.length;le++){let Xe=X[le],Ie=le===0?0:Xe.start;if(Ie=Math.min(Ie,J),(!W.length||Math.abs(Ie-W[W.length-1].target)>pe)&&W.push({els:[Xe.el],target:Ie}),Math.abs(Ie-J)<=pe)break}let ve=J-pe,bt=J+ne+pe,Le=X.filter(le=>le.start<bt&&le.end>ve).map(le=>le.el);if(Le.length){let le=W[W.length-1]?.target??-1;if(Math.abs(le-J)>pe)W.push({els:Le,target:J});else {let Xe=new Set(W[W.length-1].els.concat(Le));W[W.length-1].els=Array.from(Xe);}}else {let le=-1;for(let Ie=X.length-1;Ie>=0;Ie--)if(X[Ie].start<=J+pe){le=Ie;break}let Xe=X[Math.max(0,le)];if(Xe){let Ie=W[W.length-1]?.target??-1;Math.abs(Ie-J)>pe&&W.push({els:[Xe.el],target:J});}}}}let ce=W.map(J=>({target:J.target,cells:J.els.map(pe=>({element:pe,index:ge.get(pe)}))}));if(ce.some(J=>Number.isNaN(J.target))||T&&ce.length===1){y();return}let Oe=ce.length>1,he=!!m&&Oe&&me.current>ne;if(he!==T){Rn(he);return}_r.current=T&&Q.length?Xs(t,Q[0]??null):0,Rt.current=he,U.current=ce,to(ce),dn.current&&(he?xn():_e(ae.current?.get()??Ce.current)),ln(true);let _t=[];ce.forEach((J,pe)=>{J.cells.forEach(ve=>{_t[ve.index]=pe;});}),an.current=_t,window.setTimeout(()=>{if(o)return;let J=jr();J.length&&(Hr.current=true,hr.current.forEach(pe=>pe(J)));},0);}return g(),()=>{o=true,i!=null&&window.clearTimeout(i);}},[n$1,r$1,Ee,Pr,ze,fo,T]),useEffect(()=>{if(!fe?.enabled||!je)return;let t=mr.current,o=K.current;if(!t||!o)return;let i=new IntersectionObserver(f=>{for(let y of f){let g=y.target;if(g.getAttribute("data-rmg-lazyloaded")==="true"){i.unobserve(g);continue}if(y.isIntersecting&&y.intersectionRatio>=.25){let p=g.getAttribute("data-rmg-idx"),M=p!=null?parseInt(p,10):NaN;Number.isFinite(M)?Fn(o,M,yt.current):g.getAttribute("data-rmg-lazyloading")!=="true"&&(g.setAttribute("data-rmg-lazyloading","true"),Wn(g,yt.current).finally(()=>{g.removeAttribute("data-rmg-lazyloading");})),i.unobserve(g);}}},{root:t,rootMargin:"0px",threshold:[0,.25,.5,.6,.75,1]});return Array.from(o.children).filter(f=>f.hasAttribute("data-rmg-lazyload")).forEach(f=>i.observe(f)),()=>i.disconnect()},[fe,Ee,T,B.main,je]),useEffect(()=>{let t=K.current;if(!t||!l$1)return;let o=Array.from(t.querySelectorAll(':scope > [data-rmg-slide="true"]'));if(!o.length)return;let i=new Array(o.length).fill(null);o.forEach((a,f)=>{let y=a.querySelector("img");if(y){i[f]=y;return}}),l$1.current=i;},[Ee.length,T,Pr,Sn]),useEffect(()=>()=>{l$1&&(l$1.current=[]);},[]),a(je&&cn&&u&&br,De,()=>Ls(true),{threshold:.2});let Kr=useRef(false);function At(t,o={}){let{jump:i=false,direction:a,programmatic:f=false}=o,y=pt.current;if(!Yt.current||!re.current||!y)return;f&&(Kr.current=true),Xr(t,"animated");let g=y.clone().set(t).get();i?re.current.useDuration(0):re.current.useBaseDuration().useBaseFriction();let p=typeof a=="number"?a:0;Yt.current.index(g,p);}function wn(){let t=Yt.current,o=re.current,i=pt.current,a=U.current?.length??0;if(!t||!o||!i||!a)return;let f=i.get(),y=T?((f-1)%a+a)%a:Pt(f-1,a);o.useBaseDuration().useBaseFriction(),At(y,{direction:1,programmatic:true}),Ne.emitBasePointerDown?.();}function kn(){let t=Yt.current,o=re.current,i=pt.current,a=U.current?.length??0;if(!t||!o||!i||!a)return;let f=i.get(),y=T?((f+1)%a+a)%a:Pt(f+1,a);o.useBaseDuration().useBaseFriction(),At(y,{direction:-1,programmatic:true}),Ne.emitBasePointerDown?.();}function ni(t){let o=-t,i=Hs(),a=Ds();if(!i.length)return 0;let f=0,y=1/0;for(let g=0;g<i.length;g++){let p=i[g],M=!a||!T?[p]:[p,p+a,p-a];for(let D of M){let Q=Math.abs(D-o);Q<y&&(y=Q,f=g);}}return f}function _e(t){let o=t??Ce.current,i=T?_r.current:0;dn.current?.to((o+Sr.current-i)*zr);}function oi(){let t=(M,D)=>{M&&(M.style.cursor=D?"default":"pointer",M.style.opacity=D?"0.35":"1",M.setAttribute("aria-disabled",D?"true":"false"));};if(T){t(gr.current,false),t(pr.current,false);return}let o=Ke.current;if(!o)return;let i=ae.current?.get()??Ce.current??0,a=.75,f=i>=o.max-a,y=i<=o.min+a,g=be?y:f,p=be?f:y;t(gr.current,g),t(pr.current,p);}function si(t,o){let i=Kt.current[t];i&&(i.classList.remove(F.active),i.classList.add(F.inactive));let a=Kt.current[o];a&&(a.classList.add(F.active),a.classList.remove(F.inactive));}function Xr(t,o){let i=un.current;i!==t&&(un.current=t,pt.current?.set(t),Se.current=t,Ne.set(t,o),si(i,t),rt.enabled&&qr(t));}function An(t){if(Kr.current)return;let o=ni(t);o!==Se.current&&Xr(o,"animated");}function ii(t,o={}){let{preserveTiming:i=false,fromUi:a=false}=o;if(!re.current||!xe.current)return;a&&Mn(),i||re.current.useBaseDuration().useBaseFriction(),At(t),Ne.emitBasePointerDown?.();}function ai(){Mn(),wn();}function li(){Mn(),kn();}useEffect(()=>{let t=Ne,o=()=>U.current?.length??0,i=a=>{let f=o();if(!f)return;let y=Se.current,g=p=>be?-p:p;if(a.type==="set"){let p=T?(a.index%f+f)%f:Pt(a.index,f);if(p===y)return;At(p,a.mode);return}if(a.type==="bump"){let p=g(a.delta|0);if(!p)return;if(T){let M=((y+p)%f+f)%f;At(M,a.mode);}else {let M=Pt(y+p,f);if(M===y)return;At(M,a.mode);}return}if(typeof a.index=="number"){let p=T?(a.index%f+f)%f:Pt(a.index,f);p!==y&&At(p,a.mode||"animated");}};return typeof t.onEvent=="function"?t.onEvent(i):t.subscribe(()=>{let{index:a,mode:f}=t.get();i({type:"set",index:a,mode:f});})},[Ne,T,be]);function ci(t){let o=t.target;if(!o)return false;let i=o.closest('[data-rmg-plyr="true"]');return i?i.getAttribute("data-rmg-plyr-provider")==="youtube":false}let{wheelLockMs:yo,lockWheelFor:Mr,unlockWheelNow:bo,markWheelSeen:ui,isWheelLocked:di}=r(),fi=300;function Mn(){bo(),Mr(fi);}useEffect(()=>{let t=De.current,o$1=K.current;if(!t||!o$1||!U.current?.length||!je||!br||me.current===0)return;let i$1=b$1(0),a=b$1(0),f$1=b$1(0),y=b$1(0);We.current=i$1,It.current=a,ae.current=f$1,xe.current=y;let g$1=me.current||0,p$1=U.current.length||1,M=Ne.get().index??Se.current??0,D=Pt(M,p$1);Se.current=D;let Q=p$1-1,ge=D,Re=o(Q,ge,true),X=o(Q,ge,true);pt.current=Re,Br.current=X,_s.current=g$1,Os.current=g$1;let ne=U.current.map((h,ee)=>{let V=Wr(ee);return -h.target+V});ao.current=ne;let W=ne[D]??0;i$1.set(W),a.set(W),f$1.set(W),y.set(W),Ce.current=W,dn.current=l(o$1,B),_e(W),Xr(D,"instant");let ye=1/0,ce=-1/0;for(let h of ne)h<ye&&(ye=h),h>ce&&(ce=h);mn.current=T?d(-g$1,0):d(ye,ce);let Ht=T?n(-g$1,0):n(ye,ce);Bs.current=Ht,mn.current&&(Or.current=f(T,ne,g$1,mn.current,y));function Dt(h){let ee=pt.current,V=Br.current;if(!ee||!V)return;let ie=h.distance,ue=h.index!==ee.get();if(xe.current.add(ie),ie&&(re.current.duration()?(xr.current=true,qe.current.start()):(re.current.seek(),_e())),ue){V.set(ee.get()),ee.set(h.index);let we=ee.get();Se.current=we;let Te=re.current?.duration()?"animated":"instant";Ne.set(we,Te);}}let Oe={distance(h,ee){let V=Or.current;if(!V)return;let ie=V.byDistance(h,ee);Dt(ie);},index(h,ee){let V=Or.current,ie=pt.current;if(!V||!ie)return;let ue=ie.clone().set(h),we=V.byIndex(ue.get(),ee);Dt(we);}};Yt.current=Oe;let he=d(-g$1,0),_t=T&&g$1>0?e$1(g$1,he,We.current,[We.current,It.current,ae.current,xe.current]):null,J=c(i$1,f$1,a,y,ft,k$1);if(re.current=J,T)Ke.current=null,gt.current=null,wt.current=null;else {let h=o$1[B.clientKey],ee=-Math.max(0,me.current-h),V=0;Ke.current=d(isNaN(ee)?0:ee,V),wt.current=q(h),gt.current=p(Ke.current,We.current,xe.current,re.current,wt.current,ft);}let pe=j(document,window,()=>{if(T||gt.current?.constrain(vt.current),re.current?.seek(),T&&g$1>0){let ee=re.current.direction()||Math.sign(xe.current.get()-We.current.get())||0;_t?.loop(ee);}Ce.current=We.current.get();},h=>{let ee=re.current,V=ee?ee.settled():true,ie=!T&&(gt.current?.reached()??false);V&&!vt.current&&!ie&&(qe.current?.stop(),xr.current=false);let we=We.current.get(),Te=It.current.get(),Ue=we*h+Te*(1-h);ae.current.set(Ue),Ce.current=Ue,_e(),et&&Vr(),Nt&&Yr(),j$1&&Zt.updateProgressInFrame(),He&&Cr(),oi(),An(Ue);});qe.current=pe,pe.init();let ve=i(),bt=i(),Le=Vi(B.main,window),le=false,Xe=0,Ie=0,Ur=false,hi={mouse:500,touch:600};function Si(){let h=le?document:t;bt.add(h,"touchmove",ko).add(h,"touchend",Ot).add(h,"mousemove",ko,{passive:false}).add(h,"mouseup",Ot);}function xi(h){return h*hi[le?"mouse":"touch"]}function wo(h){let ee=h.target;if(Ys(ee))return;let V=h.target;if(gr.current?.contains(V)||pr.current?.contains(V)||Kt.current.findIndex(Te=>Te?.contains(V))>=0||Jn.current?.contains(V))return;let ue=k(h,window);if(le=ue,ue&&h.button!==0)return;kr(true),Ne.emitBasePointerDown?.(),Mr(yo),vt.current=true,Dr.current=true,so.current=false,s.current=true,Kr.current=false,Le.pointerDown(h),Xe=Le.readPoint(h,B.main),Ie=Le.readPoint(h,B.cross),re.current.useFriction(0).useDuration(0),xe.current.set(We.current.get()),Si(),qe.current?.start();}function ko(h){if(!k(h,window)&&h.touches?.length>=2)return Ot(h);vt.current&&gn.current!=null&&kr(true);let V=Le.readPoint(h,B.main),ie=Le.readPoint(h,B.cross),ue=Math.abs(V-Xe),we=Math.abs(ie-Ie);if((ue>5||we>5)&&(s.current=false),!Ur&&!le&&(!("cancelable"in h)||!h.cancelable||(Ur=ue>we,!Ur)))return Ot(h);let{dx:Te,dy:Ue}=Le.pointerMove(h),Be=(B.main==="x"?Te:Ue)*zr;Is.current=io.current,io.current=V*zr,Qn.current=Be,Ps.current=performance.now(),re.current.useFriction(.3).useDuration(.75),xe.current.add(Be),qe.current?.start(),h.cancelable&&h.preventDefault?.();}function Ot(h$1){if(Dr.current=false,Ur=false,vt.current=false,bt.clear(),kr(false),bo(),Mr(300),s.current){let ie=h$1.target.closest("img");if(ie&&Nr){if(!l$1){Ar(Se.current);return}let we=l$1.current.findIndex(Te=>Te===ie);we>=0&&mi(h$1,we),setTimeout(()=>{Ar(Se.current);},300);return}let ue=Gs(h$1);if(ue!=null&&(ue.isClone||!ci(h$1))){ue.isClone?ti(ue.canonicalIndex):Ar(ue.canonicalIndex);return}}if(pn.current=performance.now()+A,S===false){let Mo=function(To){let nt=U.current.length||1;if(!Be)return 0;let Nn=Se.current||0,er=g(To);if(er===0)return 0;if(!sn){let No=er*-1,rr=Nn+No;T?rr=(rr%nt+nt)%nt:(rr<0||rr>nt-1)&&(rr=Nn);let Ci=U.current.length===2?er:0;return Be.byIndex(rr,Ci).distance}let Eo=Be.byDistance(To,true),{index:Gr}=Eo,{distance:ki}=Eo,In=Nn;if(Gr!==In)return T?ki:(Gr=Math.max(0,Math.min(nt-1,Gr)),Be.byIndex(Gr,er).distance);let Ai=er*-1,tr=In+Ai;if(T)tr=(tr%nt+nt)%nt;else if(tr=Math.max(0,Math.min(nt-1,tr)),tr===In)return 0;let Mi=U.current.length===2?er:0;return Be.byIndex(tr,Mi).distance};let V=Le.pointerUp(h$1),ie=B.main==="x"?V.fx:V.fy;be&&(ie=-ie);let ue=k(h$1,window),Te={mouse:300,touch:400}[ue?"mouse":"touch"],Ue=ie*Te,Be=Or.current,Mt=Yt.current,Tn=re.current;if(!Be||!Mt||!Tn)return;let En=Mo(Ue),Ri=Be.byDistance(En,true);Xr(Ri.index,Tn.duration()?"animated":"instant");let vi=k$1,Co=h(Ue,En),Lo=ft;gt.current?.passed()&&(Lo=ft+10*Co);let wi=vi+Co/50;Tn.useDuration(Lo).useFriction(wi),Mt.distance(En,true);}else {let V=Le.pointerUp(h$1),ie=B.main==="x"?V.fx:V.fy,ue=xi(ie),we=h(ie,ue),Te=dr;gt.current?.passed()&&(Te=dr+10*we);let Ue=k$1+we/50;J.useDuration(Te).useFriction(Ue),xe.current.add(ue),pe.start(),le=false;}}ve.add(t,"dragstart",h=>h.preventDefault(),{passive:false}).add(t,"touchstart",wo).add(t,"mousedown",wo,{passive:true}).add(t,"touchcancel",Ot).add(t,"contextmenu",Ot);function Ao(h){let ee=ui();if(vt.current){Mr(yo),h.cancelable&&h.preventDefault?.();return}if(di(ee)){Mr(40),h.cancelable&&h.preventDefault?.();return}Ne.emitBasePointerDown?.();let ie=K.current;if(!ie)return;let ue=ie[B.clientKey],Te=me.current>ue;if(!(B.main==="x"?Math.abs(h.deltaX)>Math.abs(h.deltaY):Math.abs(h.deltaY)>=Math.abs(h.deltaX))||!Te)return;Kr.current=false,pn.current=ee+100;let Be=(ae.current?.get()??0)-B.wheelDelta(h)*zr,Mt=Be;!T&&Ke.current&&(Mt=Ke.current.constrain(Be)),re.current?.useDuration(0).useFriction(1),xe.current?.set(Mt),Ce.current=Mt,_e(Mt),An(Mt),qe.current?.start(),h.cancelable&&h.preventDefault?.();}return t.addEventListener("wheel",Ao,{passive:false}),requestAnimationFrame(()=>{!K.current||!U.current?.length||oo(true);}),fn.current=true,()=>{ve.clear(),bt.clear(),t.removeEventListener("wheel",Ao),qe.current?.destroy(),qe.current=null;}},[Xt.length,T,ze,fo,je,br]);let{tweenParallax:Cr}=Vo({enabled:He,wrap:T,axisMain:B.main,isRtl:be,sliderRef:K,sliderWidthRef:me,offsetLocationRef:ae,visibleImagesRef:qt,slidesLen:Xt.length,clonedLen:Ee.length,isReady:u}),{applyPairScaleTween:Vr}=Yo({enabled:et,scaleAmount:nn,wrap:T,sliderRef:K,sliderWidthRef:me,offsetLocationRef:ae,slidesRef:U,getCenterOffsetForIndex:Wr,slidesLen:Xt.length,clonedLen:Ee.length}),{applyFadeTween:Yr}=Uo({enabled:Nt,wrap:T,sliderRef:K,sliderWidthRef:me,offsetLocationRef:ae,slidesRef:U,getCenterOffsetForIndex:Wr,slidesLen:Xt.length,clonedLen:Ee.length});function ho(){let t=Rr.current,o=K.current;if(!t||!o)return [];let i=t.originals,a=t.cw;if(!i.length||a<=0)return [];let f=-(ae.current?.get()??0);if(!T){let ge=f,Re=f+a,X=[];return i.forEach((ne,W)=>{let ye=ne.start;ne.end>ge&&ye<Re&&X.push(W);}),X}let y=me.current||0;if(y<=0)return [];let g=(f%y+y)%y,p=new Set,M=g,D=Math.min(g+a,y),Q=(ge,Re)=>{i.forEach((X,ne)=>{let W=X.start;X.end>ge&&W<Re&&p.add(ne);});};if(Q(M,D),g+a>y){let ge=g+a-y;Q(0,ge);}return Array.from(p)}useImperativeHandle(ks,()=>{let t=()=>Ne.get().index??0,o=()=>U.current?.length??0;function i(){let g=o();if(g<=1)return false;if(T)return true;let p=t()<=0,M=t()>=Math.max(0,g-1);return !(be?p:M)}function a(){let g=o();if(g<=1)return false;if(T)return true;let p=t()<=0,M=t()>=Math.max(0,g-1);return !(be?M:p)}function f(){return no.current}function y(){return {slides:U??[],slider:K,visibleImages:qt,selectedIndex:Se,sliderX:As,sliderVelocity:Qn,isWrapping:Rt}}return {centerSlider:()=>xn(),getIndex:()=>t(),setIndex:(g,p="animated")=>{At(g,{jump:p!=="animated"});},subscribeIndex:g=>Ne.subscribe(g),slideIndexForCell:g=>{let p=n$1,M=o();if(!p||!M)return 0;let D=(g%p+p)%p,Q=an.current[D];return typeof Q=="number"?Q:Math.min(D,M-1)},getRootNode:()=>De.current,getContainerNode:()=>K.current,getViewportNode:()=>mr.current,getSlideNodes:()=>jr(),onSlidesBuilt:g=>(hr.current.add(g),Hr.current&&g(jr()),()=>hr.current.delete(g)),whenSlidesBuilt:()=>Hr.current?Promise.resolve(jr()):new Promise(g=>{let p=M=>{hr.current.delete(p),g(M);};hr.current.add(p);}),isSlidesBuilt:()=>Hr.current,scrollNext:()=>{i()&&kn();},scrollPrev:()=>{a()&&wn();},canScrollNext:()=>i(),canScrollPrev:()=>a(),scrollProgress:()=>f(),cellsInView:()=>ho(),getInternals:y}},[Ne,T,n$1,be,fr]);function Lr(){let t=U.current?.length??0,o=Se.current,i=!T&&o<=0,a=!T&&o>=Math.max(0,t-1),f=(g,p)=>{g&&(g.style.cursor=p?"default":"pointer",g.style.opacity=p?"0.35":"1",g.setAttribute("aria-disabled",p?"true":"false"));};f(gr.current,be?a:i),f(pr.current,be?i:a);let y=Kt.current.length;for(let g=0;g<y;g++){let p=Kt.current[g];p&&(p.classList.toggle(F.active,g===o),p.classList.toggle(F.inactive,g!==o));}}useEffect(()=>{let t=De.current,o=K.current;if(!t||!o||!U.current?.length||!je||!br||me.current===0||!u)return;let i=new ResizeObserver(()=>{let a=o[B.clientKey],f=me.current||0;if(!T){if(f<=a){let p$1=Math.round((a-f)/2);if(Sr.current=p$1,!We.current||!It.current||!ae.current||!xe.current||!re.current){_e(ae.current?.get()??Ce.current);return}if(!((U.current?.length??0)<=1)){_e(ae.current?.get()??Ce.current),j$1&&Zt.updateProgressInFrame(),He&&Cr(),et&&Vr(),Nt&&Yr(),Lr();return}ao.current=[0],Se.current=0,pt.current?.set(0),Br.current?.set(0),Ne.set(0,"instant"),Ke.current=d(0,0),wt.current=q(a),gt.current=p(Ke.current,ae.current,xe.current,re.current,wt.current,ft),re.current.useDuration(0).useFriction(1),xr.current=false,qe.current?.stop(),We.current.set(0),It.current.set(0),ae.current.set(0),xe.current.set(0),Ce.current=0,_e(0),j$1&&Zt.updateProgressInFrame(),He&&Cr(),et&&Vr(),Nt&&Yr(),Lr();return}Sr.current=0;let y=-Math.max(0,f-a),g=0;if(Ke.current=d(isNaN(y)?0:y,g),ae.current&&xe.current&&re.current){wt.current=q(a),gt.current=p(Ke.current,ae.current,xe.current,re.current,wt.current,ft);let p$1=ae.current?.get()??Ce.current??0,M=Ke.current.constrain(p$1);We.current?.set(M),It.current?.set(M),ae.current?.set(M),xe.current?.set(M),Ce.current=M,_e(M),qe.current?.start();}else _e(ae.current?.get()??Ce.current);Lr();return}Ke.current=null,wt.current=null,gt.current=null,xn();});return i.observe(o),()=>i.disconnect()},[T,je,br,u]),useEffect(()=>{typeof window>"u"||(js.current=a$1(1e4));},[]);function mi(t,o){s.current=true;let i=((o-qt.current)%n$1+n$1)%n$1,a=T?i:o;ws(true);let f=l$1?.current?.[o]??null;Ir?.({index:a,image:f,event:t});}function Qt(t){let o=t.touches[0];Qt._sx=o.clientX,Qt._sy=o.clientY;}function So(t){if(t.touches.length!==1)return;let o=t.touches[0],i=Qt._sx??o.clientX,a=Qt._sy??o.clientY,f=o.clientX-i,y=o.clientY-a,g=B.main==="x"?Math.abs(f):Math.abs(y),p=B.main==="x"?Math.abs(y):Math.abs(f);g>p&&t.preventDefault();}useEffect(()=>{let t=De.current;return t.addEventListener("touchstart",Qt,{passive:false}),t.addEventListener("touchmove",So,{passive:false}),()=>{t.removeEventListener("touchstart",Qt),t.removeEventListener("touchmove",So);}},[]);let xo=mt!==false,Cn=tt&&tt.trim().length>0?tt:F.ripple,Ro=useCallback(t=>{if(!xo||!t)return;let o=t.querySelector("[data-rmg-ripple]");o&&o.remove();let i=t.getBoundingClientRect(),a=Math.max(i.width,i.height),f=a/2,y=i.width/2-f,g=i.height/2-f,p=document.createElement("span");p.setAttribute("data-rmg-ripple",""),Cn&&(p.className=Cn),p.style.width=`${a}px`,p.style.height=`${a}px`,p.style.left=`${y}px`,p.style.top=`${g}px`,t.appendChild(p),p.addEventListener("animationend",()=>p.remove(),{once:true});},[xo,Cn]),gi=jsx(Go,{axisMain:B.main,clientKey:B.clientKey,wrap:T,isRtl:be,showArrows:ur,selectedIndex:Se.current,slideCount:U.current?.length??0,measureRef:K,viewportMainSizeRef:me,previous:ai,next:li,prevButtonRef:gr,nextButtonRef:pr,createRipple:Ro,arrowStyles:b$2,prevArrowStyles:P,nextArrowStyles:Ae,arrowClassName:d$1,prevArrowClassName:Z,nextArrowClassName:lt,renderPrevArrow:cr,renderNextArrow:ut,renderArrows:lr}),{dotsNode:pi}=Qo({AX:B,slider:K,sliderWidth:me,showDots:ht,selectedIndex:Se,slides:U,dotsContainerRef:Jn,dotRefs:Kt,isScrolling:so,goToIndex:t=>ii(t,{fromUi:true}),renderDots:Je,createRipple:Ro,styles:F,dotsContainerStyles:ct,dotsStyles:jt,dotsContainerClassName:Qe,dotsClassName:ar}),Jt=useMemo(()=>{let t=G??{};return {renderIntro:t.renderIntro,staggerMs:t.staggerMs??60,transform:t.transform??"10px",durationMs:t.durationMs??600,easing:t.easing??"cubic-bezier(.2,.7,.2,1)"}},[G]),yi=useMemo(()=>Ee.map((t,o)=>{if(!isValidElement(t))return t;let i=t,a=i.props?.style||{};return cloneElement(i,{...i.props,style:{...a,"--rmg-intro-index":o}})}),[Ee]),vo=jsxs(Fragment,{children:[gi,jsx("div",{ref:mr,className:[F.viewport,$??""].join(" "),style:{...z},children:jsx("div",{ref:K,className:`${F.track} ${yn}`,"data-rmg-axis":B.main,style:{gap:`${w}px`},children:yi})}),pi,qs]}),Ln={className:[F.fade_container,yn,u&&ro&&(se??true)?F.fadeInActive:F.fadeInStart].join(" "),style:{position:"relative"},"aria-busy":u?void 0:true},bi=Jt.renderIntro?jsx("div",{...Ln,children:Jt.renderIntro({active:u&&ro&&(se??true),containerProps:Ln},vo)}):jsx("div",{...Ln,children:vo});return jsxs(Fragment,{children:[po&&jsx("style",{dangerouslySetInnerHTML:{__html:po}}),jsx("div",{id:Gt,"data-rmg-scope":Gt,ref:De,className:[F.slider_container,yn,Y??""].join(" "),dir:be?"rtl":void 0,style:{position:"relative","--rmg-intro-stagger":`${Jt.staggerMs}ms`,"--rmg-intro-offset":Jt.transform,"--rmg-intro-duration":`${Jt.durationMs}ms`,"--rmg-intro-easing":Jt.easing,zIndex:1,...q$1},children:bi})]})}),cs=sa;function ke(e){if(e!=null)return typeof e=="number"?`${e}px`:e}function fs(e){if(!e)return {};let r=ke(e.marginTop),n=ke(e.marginRight),s=ke(e.marginBottom),l=ke(e.marginLeft),u={};return r!=null&&(u.marginTop=r),n!=null&&(u.marginRight=n),s!=null&&(u.marginBottom=s),l!=null&&(u.marginLeft=l),u}function ms(e,r){let n={};e?.aspectRatio!=null&&(n.aspectRatio=e.aspectRatio);let s=ke(e?.width),l=ke(e?.maxWidth),u=ke(e?.height),c=ke(e?.maxHeight);return s!=null&&(n.inlineSize=s,n.width=s),l!=null&&(n.maxInlineSize=l,n.maxWidth=l),u!=null&&(n.height=u),c!=null&&(n.maxHeight=c),e?.aspectRatio!=null&&e?.height==null&&(n.height="auto"),e?.aspectRatio!=null&&e?.width==null&&e?.height==null&&(n.inlineSize="100%",n.width="100%",n.height="auto"),e?.backgroundColor&&(n["--rmg-skel-bg"]=e.backgroundColor),e?.borderRadius!=null&&(n["--rmg-skel-radius"]=ke(e.borderRadius)),e?.alignSelf&&(n.alignSelf=e.alignSelf),r?.enabled===false&&(n["--rmg-skel-shimmer-enabled"]="0"),r?.durationMs!=null&&(n["--rmg-skel-shimmer-duration"]=`${r.durationMs}ms`),r?.angleDeg!=null&&(n["--rmg-skel-shimmer-angle"]=`${r.angleDeg}deg`),r?.opacity!=null&&(n["--rmg-skel-shimmer-opacity"]=String(r.opacity)),r?.blurPx!=null&&(n["--rmg-skel-shimmer-blur"]=`${r.blurPx}px`),r?.timing&&(n["--rmg-skel-shimmer-timing"]=r.timing),r?.c1&&(n["--rmg-skel-shimmer-c1"]=r.c1),r?.c2&&(n["--rmg-skel-shimmer-c2"]=r.c2),r?.c3&&(n["--rmg-skel-shimmer-c3"]=r.c3),n}function Xn(e){let r={};return e&&(e.gap!=null&&(r.gap=ke(e.gap)),e.padding!=null&&(r.padding=ke(e.padding)),e.align&&(r.alignItems=e.align),e.justify&&(r.justifyContent=e.justify),e.wrap&&(r.flexWrap="wrap"),e.width!=null&&(r.width=ke(e.width)),e.maxWidth!=null&&(r.maxWidth=ke(e.maxWidth))),r}function zt(e){return e?Object.keys(e).some(r=>String(+r)===r):false}function us(e){return e.replace(/"/g,'\\"')}function ia(e){return e.replace(/[^a-zA-Z0-9_-]/g,"_")}function qn(e){let r=[];return e.gap!=null&&r.push(`gap:${ke(e.gap)};`),e.padding!=null&&r.push(`padding:${ke(e.padding)};`),e.align&&r.push(`align-items:${e.align};`),e.justify&&r.push(`justify-content:${e.justify};`),e.wrap&&r.push("flex-wrap:wrap;"),e.width!=null&&r.push(`width:${ke(e.width)};`),e.maxWidth!=null&&r.push(`max-width:${ke(e.maxWidth)};`),r.join("")}function Vn(e,r,n){switch(e.kind){case "rect":case "square":case "circle":case "text":return e;case "media":{let s=r(),l=e.style;if(zt(l)){let u=l,c=Object.keys(l).map(m=>+m).filter(m=>Number.isFinite(m)&&m>=0).sort((m,S)=>m-S).map(m=>({minWidth:m,css:qn(u[String(m)]||{})})).filter(m=>m.css.length>0);c.length&&n.push({nodeId:s,rules:c});}return {...e,__rmgNodeId:s}}case "stack":case "row":case "col":{let s=r(),l=e.style;if(zt(l)){let c=Object.keys(l).map(m=>+m).filter(m=>Number.isFinite(m)&&m>=0).sort((m,S)=>m-S).map(m=>({minWidth:m,css:qn(l[String(m)]||{})})).filter(m=>m.css.length>0);c.length&&n.push({nodeId:s,rules:c});}let u=e.children.map(c=>Vn(c,r,n));return {...e,__rmgNodeId:s,children:u}}case "slider":{let s=r(),l=e.style;if(zt(l)){let c=Object.keys(l).map(m=>+m).filter(m=>Number.isFinite(m)&&m>=0).sort((m,S)=>m-S).map(m=>({minWidth:m,css:qn(l[String(m)]||{})})).filter(m=>m.css.length>0);c.length&&n.push({nodeId:s,rules:c});}let u=Vn(e.item,r,n);return {...e,__rmgNodeId:s,item:u}}default:return e}}function aa(e,r){if(!r.length)return "";let n=`[data-rmg-slider-skel-scope="${us(e)}"]`,s=[];for(let l of r){let u=`${n} [data-rmg-skel-node="${us(l.nodeId)}"]`;for(let c of l.rules)s.push(`@media (min-width:${c.minWidth}px){${u}{${c.css}}}`);}return s.join(`
58
+ `)}function Kn({kind:e,style:r,shimmer:n}){let s={};return e==="circle"&&(s.borderRadius="9999px"),e==="square"&&r?.aspectRatio==null&&(s.aspectRatio="1"),r?.aspectRatio!=null&&r?.height==null&&(s.height="auto"),jsx("div",{className:F.sliderSkeleton,style:{...ms(r,n),...fs(r),...s}})}function gs({node:e}){switch(e.kind){case "rect":case "square":case "circle":return jsx(Kn,{...e});case "media":{let r=Math.max(0,e.count|0),n=e.direction??"row",s=e.tile?.shape??"rect",l=e.__rmgNodeId,u=zt(e.style)?void 0:Xn(e.style);return jsx("div",{"data-rmg-skel-node":l,className:F.sliderSkeletonGroup,style:{display:"flex",flexDirection:n==="row"?"row":"column",...u||{}},children:Array.from({length:r}).map((c,m)=>jsx(Kn,{kind:s,style:e.tile?.style,shimmer:e.tile?.shimmer},m))})}case "stack":case "row":case "col":{let r=e.kind==="row"?"row":"column",n=e.__rmgNodeId,s=zt(e.style)?void 0:Xn(e.style);return jsx("div",{"data-rmg-skel-node":n,className:F.sliderSkeletonGroup,style:{display:"flex",flexDirection:r,...s||{}},children:e.children.map((l,u)=>jsx(gs,{node:l},u))})}case "text":{let r=Math.max(1,e.lines??1),n=e.fontSize*e.lineHeight*r;return jsx(Kn,{kind:"rect",style:{...e.style||{},height:n},shimmer:e.shimmer})}default:return null}}function ds(){return {layout:{kind:"slider",direction:"row",item:{kind:"rect",style:{width:"100%",height:"100%",borderRadius:2}},itemWrapStyle:void 0},radius:12}}function ps(e){return /%$/.test(e.trim())}function it(e){return e==null?null:typeof e=="number"?`${e}px`:String(e)}function ys(e){if(e==null)return null;if(typeof e=="number")return e>0?e:null;let r=String(e).trim(),n=r.match(/^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/);if(n){let l=Number(n[1]),u=Number(n[2]);return l>0&&u>0?l/u:null}let s=Number(r);return Number.isFinite(s)&&s>0?s:null}function Ge(e){let r=e.filter(n=>!!n&&n.trim().length>0);return r.length?r.length===1?r[0]:`calc(${r.join(" + ")})`:null}function bs(e){let r=e.filter(n=>!!n&&n.trim().length>0);return r.length?r.length===1?r[0]:`max(${r.join(", ")})`:null}function la(e){let r=e.filter(n=>!!n&&n.trim().length>0);return r.length?r.length===1?r[0]:`min(${r.join(", ")})`:null}function ir(e,r){return `calc(${e} * ${r})`}function Yn(e,r){return `calc(${e} / ${r})`}function hs(e,r){let n=it(r);return !e||!n?e:la([e,n])}function Ft(e){let r=it(e?.marginTop),n=it(e?.marginBottom);return !r&&!n?null:Ge([r??"0px",n??"0px"])}function Ss(e){let r=it(e?.padding);return r?ir(r,"2"):null}function ca(e){let r=it(e?.padding);return r?ir(r,"2"):null}function Un(e){return it(e?.gap)}function Gn(e){if(e&&!zt(e))return e}function Zn(e,r){if(e.kind==="rect"||e.kind==="square"||e.kind==="circle"){let n=it(e.style?.height),s=ys(e.style?.aspectRatio);if(n)return Ge([n,Ft(e.style)]);if(s){let l=it(e.style?.width),u=l&&!ps(l)?l:r,c=hs(u,e.style?.maxWidth)??u,m=String(s),S=Yn(c,m);return Ge([S,Ft(e.style)])}return Ft(e.style)??null}if(e.kind==="media"){let n=e.direction??"row",s=Un(Gn(e.style))??"0px",l=Math.max(0,e.count|0),u=e.tile?{kind:e.tile.shape??"rect",style:e.tile.style,shimmer:e.tile.shimmer}:{kind:"rect",style:{width:"100%",height:"100%"}},c=Zn(u,r);return c?n==="row"||l<=1?c:Ge([ir(c,String(l)),ir(s,String(l-1))]):null}if(e.kind==="row"||e.kind==="col"||e.kind==="stack"){let n=e.kind==="row"?"row":"col",s=Gn(e.style),l=Un(s)??"0px",u=Ss(s)??"0px",c=e.children.map(m=>Zn(m,r));if(n==="row"){let m=bs(c);return m?Ge([m,u]):null}else {let m=c.filter(x=>!!x);if(!m.length)return u;let S=m.length>1?ir(l,String(m.length-1)):"0px";return Ge([Ge(m)??null,S,u])}}if(e.kind==="text"){let n=Math.max(1,e.lines??1),s=e.fontSize*e.lineHeight*n;return Ge([`${s}px`,Ft(e.style)])}return null}function xs(e,r,n){let s=e.kind==="slider"?e:null;s?.direction??"row";let u=Gn(s?.style),c=Un(u)??"0px",m=ca(u)??"0px",S=Ss(u)??"0px",x=s?.itemWrapStyle?.width?it(s.itemWrapStyle.width):null,N;if(n==="peek"&&x&&!ps(x))N=x;else {let I=Math.max(1,r|0),E=I>1?ir(c,String(I-1)):"0px",w=`calc(100cqw - ${m} - ${E})`;N=Yn(w,String(I));}N=hs(N,s?.itemWrapStyle?.maxWidth)??N;let H=s?s.item:e,v=Zn(H,N);if(!v)return null;let C=s?.itemWrapStyle,A=null;if(C){let I=it(C.height);if(I)A=Ge([I,Ft(C)]);else {let E=ys(C.aspectRatio);E?A=Ge([Yn(N,String(E)),Ft(C)]):A=Ft(C);}}let O=A?bs([A,v]):v;return Ge([O,S])}function Rs({count:e,maxSlots:r,rowStyle:n,spec:s}){let l=s??ds(),u=l.layout??ds().layout,c=L.useId(),m=L.useMemo(()=>`ssk_${ia(c)}`,[c]),S={...n||{}};l.backgroundColor&&(S["--rmg-skel-bg"]=l.backgroundColor),l.radius!=null&&(S["--rmg-skel-radius"]=ke(l.radius));let x=l.shimmer;x?.enabled===false&&(S["--rmg-skel-shimmer-enabled"]="0"),x?.durationMs!=null&&(S["--rmg-skel-shimmer-duration"]=`${x.durationMs}ms`),x?.angleDeg!=null&&(S["--rmg-skel-shimmer-angle"]=`${x.angleDeg}deg`),x?.opacity!=null&&(S["--rmg-skel-shimmer-opacity"]=String(x.opacity)),x?.blurPx!=null&&(S["--rmg-skel-shimmer-blur"]=`${x.blurPx}px`),x?.timing&&(S["--rmg-skel-shimmer-timing"]=x.timing),x?.c1&&(S["--rmg-skel-shimmer-c1"]=x.c1),x?.c2&&(S["--rmg-skel-shimmer-c2"]=x.c2),x?.c3&&(S["--rmg-skel-shimmer-c3"]=x.c3);let{layout:N,responsiveCss:H}=L.useMemo(()=>{let z=0,$=()=>`n${++z}`,q=[],Y=Vn(u,$,q),b=aa(m,q);return {layout:Y,responsiveCss:b}},[u,m]),v=N,C=v.__rmgNodeId,A=zt(v.style)?void 0:Xn(v.style),O=v.count!=null?Math.max(0,v.count|0):Math.max(0,e|0),_=v.direction??"row",I=v.itemWrapStyle,E=Math.max(0,r|0),w=l.mode??"fit";return jsxs("div",{"data-rmg-slider-skel-scope":m,"data-rmg-skel-mode":w,className:[F.sliderSkeletonOverlay,l.className].filter(Boolean).join(" "),"data-rmg-skel-part":"overlay",children:[H?jsx("style",{dangerouslySetInnerHTML:{__html:H}}):null,jsx("div",{"data-rmg-skel-node":C,className:F.sliderSkeletonRow,"data-rmg-skel-part":"row",style:{...S,...A||{},display:"flex",flexDirection:_==="row"?"row":"column"},children:Array.from({length:E}).map((z,$)=>jsx("div",{className:F.sliderSkeletonItem,"data-rmg-skel-slot":$+1,"data-rmg-skel-visible-count":O,style:{...I?ms(I,void 0):null,...I?fs(I):null,minWidth:0,minHeight:0},children:jsx(gs,{node:v.item})},`rmg-slider-skel-${$}`))})]})}var da=220,fa=220;function ma(e){let{enabled:r,scopeId:n,loading:s,fallbackCount:l,breakpointMap:u,maxSlots:c=12,showLoadingFallback:m,defaultNode:S}=e,x=s.enabled??true,N=s.force??false,H=r&&x&&(N||m),{cssText:v,ssrBaseCount:C}=L.useMemo(()=>!r||!x?{cssText:"",ssrBaseCount:l}:c$2({scopeId:n,responsiveCount:s.skeletonCount,fallbackCount:l,breakpointMap:u,maxSlots:c}),[r,x,n,s.skeletonCount,l,u,c]),A=L.useMemo(()=>H?s.renderLoading?s.renderLoading({count:C}):S(c,C):null,[H,s.renderLoading,S,c,C]);return {cssText:v,ssrBaseCount:C,node:A,showLoading:H}}function ga(e){let{scopeId:r,skeletonSpec:n,responsiveCount:s,fallbackCount:l}=e,u=n,c=u?.layout;if(!c)return "";let m=u?.mode??"fit",S=`#${r}`,x=N=>{let H=xs(c,N,m);return H?`${S}{--rmg-slider-initial-height:${H};}`:""};if(typeof s=="number")return x(Math.max(1,s|0))||x(l);if(s&&typeof s=="object"){let N=Object.entries(s).map(([v,C])=>[Number(v),Number(C)]).filter(([v,C])=>Number.isFinite(v)&&Number.isFinite(C)).sort((v,C)=>v[0]-C[0]),H=[];H.push(x(N[0]?.[1]??l)||x(l));for(let[v,C]of N){let A=x(Math.max(1,C|0));A&&H.push(`@media (min-width:${v}px){${A}}`);}return H.filter(Boolean).join(`
59
+ `)}return x(l)}var $l=L.forwardRef(function(r,n){let{children:s,breakpoints:l,indexChannel:u,...c}=r,m=e(),S=L.useMemo(()=>b(),[]),x=u??S,N=L.useRef(false),H=L.useRef([]),v=r.expandableImageRefs!==void 0?r.expandableImageRefs:m?.expandableImageRefs??H,C=L.useRef(null),A=L.useRef(null),O=L.useRef(null),_=L.useRef(null),I=L.useRef(null),E=L.useRef(null),w=L.useRef(null),z=L.useCallback(k=>{w.current=k,m?.sliderApiRef&&(m.sliderApiRef.current=k),n&&(typeof n=="function"?n(k):n.current=k);},[m,n]),[$,q]=L.useState(false),Y=a$2(),b$1=L.useMemo(()=>m?.effectiveBreakpoints??{...a$3,...l||{}},[m?.effectiveBreakpoints,l]),d=L.useMemo(()=>({...de,...c??{},layout:{...de.layout,...c?.layout??{}},direction:{...de.direction,...c?.direction??{}},align:c?.align??de.align,scroll:{...de.scroll,...c?.scroll??{}},controls:{...de.controls,...c?.controls??{},arrows:{...de.controls.arrows,...c?.controls?.arrows??{},arrow:{...de.controls.arrows.arrow,...c?.controls?.arrows?.arrow??{}},prev:{...de.controls.arrows.prev,...c?.controls?.arrows?.prev??{}},next:{...de.controls.arrows.next,...c?.controls?.arrows?.next??{}}},dots:{...de.controls.dots,...c?.controls?.dots??{},root:{...de.controls.dots.root,...c?.controls?.dots?.root??{}},dot:{...de.controls.dots.dot,...c?.controls?.dots?.dot??{}}},progress:{...de.controls.progress,...c?.controls?.progress??{},root:{...de.controls.progress.root,...c?.controls?.progress?.root??{}},bar:{...de.controls.progress.bar,...c?.controls?.progress?.bar??{}}},ripple:{...de.controls.ripple,...c?.controls?.ripple??{}}},lazyLoad:c?.lazyLoad??de.lazyLoad,auto:{...de.auto,...c?.auto??{},play:{...de.auto.play,...c?.auto?.play??{}},scroll:{...de.auto.scroll,...c?.auto?.scroll??{}}},motion:{...de.motion,...c?.motion??{}}}),[c]),P=L.useRef(0),Z=L.useCallback(()=>`rmg-${++P.current}`,[]),Ae=L.useMemo(()=>L.Children.toArray(s).map(te=>({id:Z(),node:te})),[]),[lt]=L.useState(Ae),ct=L.useMemo(()=>lt.map(k=>{let te=k.node;return L.isValidElement(te)?L.cloneElement(te,{key:k.id}):jsx("span",{style:{display:"block"},children:te},k.id)}),[lt]),Qe=a$4(),jt=L.useMemo(()=>{if(!(d.layout.cellsPerSlide!=null))return;let te=c$1(d.layout.cellsPerSlide,1,Qe,b$1);return Math.max(1,te|0)},[d.layout.cellsPerSlide,Qe,b$1]),ar=typeof jt=="number"?jt:void 0,lr=L.useMemo(()=>{let k=c$1(d.layout.gap,20,Qe,b$1);return Math.max(0,k|0)},[d.layout.gap,Qe,b$1]),ut=`rmg-slider-${L.useId().replace(/:/g,"")}`,Je=L.useMemo(()=>{let k=d.transitions?.loading??{};return {enabled:k.enabled??true,force:k.force??false,skeletonCount:k.skeletonCount,renderLoading:k.renderLoading,skeleton:k.skeleton}},[d.transitions?.loading]);function ur(k,te){if(typeof k=="number")return k;if(k&&typeof k=="object"){let G=Object.entries(k).map(([se,fe])=>[Number(se),Number(fe)]).filter(([se,fe])=>Number.isFinite(se)&&Number.isFinite(fe)).sort((se,fe)=>se[0]-fe[0]);if(G.length)return G[0][1]}return te}let ht=L.useMemo(()=>Math.max(1,ur(d.layout?.cellsPerSlide,1)|0),[d.layout?.cellsPerSlide]),j=ma({enabled:true,scopeId:ut,loading:Je,fallbackCount:ht,breakpointMap:b$1,maxSlots:12,showLoadingFallback:!$,defaultNode:(k,te)=>{let G=Je.skeleton;return G?jsx(Rs,{count:te,maxSlots:k,spec:G}):jsx("div",{className:F.sliderSkeletonOverlay,"data-rmg-skel-part":"overlay",children:jsx("div",{className:F.sliderSkeletonRow,"data-rmg-skel-part":"row",children:Array.from({length:k}).map((se,fe)=>jsx("div",{className:F.sliderSkeleton,"data-rmg-skel-slot":fe+1},`rmg-slider-skel-${fe}`))})})}}),Pe=L.useRef(null),Tt=L.useRef(j.node);j.node&&(Tt.current=j.node);let Ve=Y?0:da,St=Math.max(0,Ve-fa),[xt,He]=L.useState(()=>j.showLoading),[Et,dt]=L.useState(false),[Wt,et]=L.useState(()=>!j.showLoading);L.useEffect(()=>{if(j.showLoading){He(true),dt(false),et(false);return}if(!xt){et(true);return}if(Ve===0){dt(false),He(false),et(true);return}dt(true);let k=window.setTimeout(()=>{et(true);},St),te=window.setTimeout(()=>{He(false),dt(false);},Ve);return ()=>{window.clearTimeout(k),window.clearTimeout(te);}},[St,Ve,xt,j.showLoading]);function nn(k){let te=[],G=se=>{if(!(se==null||typeof se=="boolean")){if(Array.isArray(se)){se.forEach(G);return}if(!(typeof se=="string"||typeof se=="number")&&L.isValidElement(se)){let fe=se,mt=fe.props?.src;typeof mt=="string"&&mt.length&&te.push(mt);let tt=fe.props?.children;tt!=null&&G(tt);return}}};return G(k),te}function Nt(k){let[te,G]=L.useState(k.length===0);return L.useEffect(()=>{if(!k.length){G(true);return}let se=false;G(false);let fe=mt=>new Promise(tt=>{let Ye=new Image;if(Ye.src=mt,typeof Ye.decode=="function")Ye.decode().catch(()=>{}).finally(()=>{se||tt();});else {if(Ye.complete){se||tt();return}let Ir=()=>{Ye.onload=null,Ye.onerror=null,se||tt();};Ye.onload=Ir,Ye.onerror=Ir;}});return (async()=>{for(let mt of k){if(se)break;await fe(mt);}se||G(true);})(),()=>{se=true;}},[k]),te}let ze=L.useMemo(()=>{if(d.lazyLoad.enabled===true)return;let k=nn(ct);return Array.from(new Set(k.filter(Boolean)))},[ct]),on=L.useMemo(()=>{if(d.lazyLoad.enabled!==true)return ze?.join("|")},[ze]),Me=d.lazyLoad.enabled===true?true:Nt(L.useMemo(()=>ze,[on])),sn=d.layout.cellsPerSlide!=null?ar??ht:void 0,ft=L.useMemo(()=>{let k=Je.skeleton,te=Je.skeletonCount;return ga({scopeId:ut,skeletonSpec:k,responsiveCount:te,fallbackCount:ht})},[ut,Je,ht,b$1]),dr=L.useRef(false);return L.useLayoutEffect(()=>{if(dr.current)return;let k=Pe.current;if(!k)return;let G=k.querySelector('[data-rmg-skel-part="row"]')?.getBoundingClientRect().height||k.getBoundingClientRect().height;G&&G>1&&(k.style.height=`${G}px`,k.style.maxHeight=`${G}px`,k.style.overflow="hidden",dr.current=true);},[]),L.useLayoutEffect(()=>{let k=Pe.current;if(!k||!$)return;let G=(k.querySelector('[data-rmg-part="viewport"]')||k.querySelector(`.${F.viewport}`))?.getBoundingClientRect().height;G&&G>1?(k.style.height=`${G}px`,k.style.maxHeight=`${G}px`,requestAnimationFrame(()=>{k.style.height="",k.style.maxHeight="",k.style.overflow="";})):(k.style.height="",k.style.maxHeight="",k.style.overflow="");},[$]),jsxs(Fragment,{children:[j.cssText&&jsx("style",{dangerouslySetInnerHTML:{__html:j.cssText}}),ft&&jsx("style",{dangerouslySetInnerHTML:{__html:ft}}),jsxs("div",{id:ut,ref:Pe,"data-rmg-scope":ut,className:F.sliderShell,style:{minHeight:"var(--rmg-slider-initial-height, var(--rmg-slider-height))"},children:[jsx("div",{className:[F.contentLayer,xt?F.contentBlocked:""].filter(Boolean).join(" "),children:jsx(cs,{cellCount:lt.length,isClick:N,expandableImageRefs:v,overlayDivRef:C,duplicateImgRef:A,closeButtonRef:O,counterRef:_,leftChevronRef:I,rightChevronRef:E,isReady:$,setIsReady:q,loop:d.scroll.loop,freeScroll:d.scroll.freeScroll,autoPlay:d.auto.play.enabled,autoPlaySpeed:d.auto.play.speedMs,autoPlayPause:d.auto.play.pauseMs,autoScroll:d.auto.scroll.enabled,autoScrollSpeed:d.auto.scroll.speedMs,autoScrollPause:d.auto.scroll.pauseMs,pauseAutoPlayOnHover:d.auto.play.pauseOnHover,pauseAutoScrollOnHover:d.auto.scroll.pauseOnHover,groupCells:d.scroll.groupCells,centerAlign:d.align==="center",gap:lr,sliderViewportStyles:d.elements?.viewport?.style,sliderViewportClassName:d.elements?.viewport?.className,sliderContainerStyles:d.elements?.container?.style,sliderContainerClassName:d.elements?.container?.className,arrowStyles:d.controls.arrows.arrow.style,arrowClassName:d.controls.arrows.arrow.className,prevArrowStyles:d.controls.arrows.prev.style,prevArrowClassName:d.controls.arrows.prev.className,nextArrowStyles:d.controls.arrows.next.style,nextArrowClassName:d.controls.arrows.next.className,dotsContainerStyles:d.controls.dots.root.style,dotsContainerClassName:d.controls.dots.root.className,dotsStyles:d.controls.dots.dot.style,dotsClassName:d.controls.dots.dot.className,renderArrows:d.controls.arrows.render,renderPrevArrow:d.controls.arrows.renderPrev,renderNextArrow:d.controls.arrows.renderNext,renderDots:d.controls.dots.render,showArrows:d.controls.arrows.enabled,showDots:d.controls.dots.enabled,showProgress:d.controls.progress.enabled,progressClassName:d.controls.progress.root.className,progressStyle:d.controls.progress.root.style,progressInnerClassName:d.controls.progress.bar.className,progressInnerStyle:d.controls.progress.bar.style,renderProgress:d.controls.progress.render,parallax:d.effects?.parallax?.enabled,parallaxBleedPct:d.effects?.parallax?.bleedPct,parallaxBorderRadius:d.effects?.parallax?.borderRadius,parallaxSideWidth:d.effects?.parallax?.sideWidth,ref:z,scaleEffect:d.effects?.scale?.enabled,scaleAmount:d.effects?.scale?.amount,fadeEffect:d.effects?.fade?.enabled,cellsPerSlide:sn,direction:d.direction.dir,axis:d.direction.axis,skipSnaps:d.scroll.skipSnaps,selectDuration:d.motion.selectDuration,freeScrollDuration:d.motion.freeScrollDuration,sliderFriction:d.motion.friction,indexChannel:x,introOptions:d.transitions?.intro,introUnlocked:Wt,lazyLoad:d.lazyLoad,rippleEnabled:d.controls.ripple.enabled,rippleClassName:d.controls.ripple.className,sliderImagesReady:Me,breakpointMap:b$1,enableFullscreen:!!m?.requestFullscreenOpen,requestFullscreenOpen:m?({index:k,image:te,event:G})=>m.requestFullscreenOpen({source:"slider",index:k,image:te,event:G}):void 0,isFullscreenOpen:!!m?.isFullscreenOpen,setFullscreenOpen:m?.setFullscreenOpen,children:ct})}),xt&&(j.node??Tt.current)?jsx("div",{className:[F.loadingLayer,Et?F.loadingLayerExit:""].filter(Boolean).join(" "),"aria-hidden":"true",children:j.node??Tt.current}):null]})]})});export{de as a,$l as b};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export{a as Video}from'./chunk-AIBV3SQA.mjs';export{a as DEFAULT_ENTRIES,i as Entries,h as flattenEntries}from'./chunk-CAYO7NIA.mjs';export{a as DEFAULT_FULLSCREEN,b as useFullscreenController}from'./chunk-6RH3RCIQ.mjs';import'./chunk-KTP7SA7V.mjs';export{a as FullscreenThumbnailSlider}from'./chunk-O6MJXVAN.mjs';export{a as DEFAULT_THUMBNAILS,c as ThumbnailSlider,b as createThumbnailSyncBridge}from'./chunk-KN72Q6DM.mjs';import'./chunk-P2GQPFSL.mjs';export{a as DEFAULT_GRID,b as Grid}from'./chunk-CROFW72U.mjs';export{a as DEFAULT_MASONRY,b as Masonry}from'./chunk-YF74WH6U.mjs';import'./chunk-A6MPGIEJ.mjs';import'./chunk-NWU2GBRJ.mjs';export{a as DEFAULT_SLIDER,b as Slider}from'./chunk-3C4GJIYN.mjs';import'./chunk-YRQVG3MM.mjs';import'./chunk-KZUAS63N.mjs';export{a as createSliderIndexChannel}from'./chunk-H4BEIJAD.mjs';import'./chunk-TZGAHWM7.mjs';import'./chunk-ESF6XBYF.mjs';export{c as GalleryCore,a as toMediaItems,d as useGalleryCore}from'./chunk-EV6ZK4QI.mjs';import'./chunk-X4HEGEZV.mjs';import'./chunk-LVYED5ZM.mjs';export{a as BREAKPOINT_MAP}from'./chunk-2AHLR3V4.mjs';
1
+ export{a as Video}from'./chunk-AIBV3SQA.mjs';export{a as DEFAULT_ENTRIES,i as Entries,h as flattenEntries}from'./chunk-CAYO7NIA.mjs';export{a as DEFAULT_FULLSCREEN,b as useFullscreenController}from'./chunk-6RH3RCIQ.mjs';import'./chunk-KTP7SA7V.mjs';export{a as FullscreenThumbnailSlider}from'./chunk-O6MJXVAN.mjs';export{a as DEFAULT_THUMBNAILS,c as ThumbnailSlider,b as createThumbnailSyncBridge}from'./chunk-KN72Q6DM.mjs';import'./chunk-P2GQPFSL.mjs';export{a as DEFAULT_GRID,b as Grid}from'./chunk-CROFW72U.mjs';export{a as DEFAULT_MASONRY,b as Masonry}from'./chunk-YF74WH6U.mjs';import'./chunk-A6MPGIEJ.mjs';import'./chunk-NWU2GBRJ.mjs';export{a as DEFAULT_SLIDER,b as Slider}from'./chunk-PGV37QM3.mjs';import'./chunk-YRQVG3MM.mjs';import'./chunk-KZUAS63N.mjs';export{a as createSliderIndexChannel}from'./chunk-H4BEIJAD.mjs';import'./chunk-TZGAHWM7.mjs';import'./chunk-ESF6XBYF.mjs';export{c as GalleryCore,a as toMediaItems,d as useGalleryCore}from'./chunk-EV6ZK4QI.mjs';import'./chunk-X4HEGEZV.mjs';import'./chunk-LVYED5ZM.mjs';export{a as BREAKPOINT_MAP}from'./chunk-2AHLR3V4.mjs';
@@ -1 +1 @@
1
- {"inputs":{"src/Gallery/shared/responsive.ts":{"bytes":4010,"imports":[],"format":"esm"},"src/Gallery/shared/types/media.ts":{"bytes":2938,"imports":[],"format":"esm"},"src/Gallery/core/index.tsx":{"bytes":12538,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/types/media.ts","kind":"import-statement","original":"../shared/types/media"},{"path":"../entries","kind":"import-statement","external":true},{"path":"../api/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/core.ts":{"bytes":225,"imports":[{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"./Gallery/core"}],"format":"esm"},"src/Gallery/entries/types.ts":{"bytes":2402,"imports":[{"path":"../shared/types/elements","kind":"import-statement","external":true},{"path":"../shared/types/media","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/defaults.ts":{"bytes":155,"imports":[],"format":"esm"},"src/Gallery/entries/hooks/useEntryInView.ts":{"bytes":7584,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/hooks/useEntryDecodeReady.ts":{"bytes":4408,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/normalize.ts":{"bytes":1676,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/Entries.module.css":{"bytes":2689,"imports":[]},"src/Gallery/shared/hooks/usePrefersReducedMotion.ts":{"bytes":1018,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/components/EntrySkeleton.tsx":{"bytes":13339,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/entries/Entries.module.css","kind":"import-statement","original":"../Entries.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/components/EntryList.tsx":{"bytes":12257,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/entries/Entries.module.css","kind":"import-statement","original":"../Entries.module.css"},{"path":"src/Gallery/entries/hooks/useEntryInView.ts","kind":"import-statement","original":"../hooks/useEntryInView"},{"path":"src/Gallery/entries/hooks/useEntryDecodeReady.ts","kind":"import-statement","original":"../hooks/useEntryDecodeReady"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/entries/components/EntrySkeleton.tsx","kind":"import-statement","original":"./EntrySkeleton"},{"path":"src/Gallery/entries/normalize.ts","kind":"import-statement","original":"../normalize"},{"path":"../../shared/types/media","kind":"import-statement","external":true},{"path":"../../slider/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/index.tsx":{"bytes":7225,"imports":[{"path":"src/Gallery/entries/types.ts","kind":"import-statement","original":"./types"},{"path":"src/Gallery/entries/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/entries/hooks/useEntryInView.ts","kind":"import-statement","original":"./hooks/useEntryInView"},{"path":"src/Gallery/entries/hooks/useEntryDecodeReady.ts","kind":"import-statement","original":"./hooks/useEntryDecodeReady"},{"path":"src/Gallery/entries/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"src/Gallery/entries/components/EntryList.tsx","kind":"import-statement","original":"./components/EntryList"},{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/entries/components/EntryList.tsx","kind":"import-statement","original":"./components/EntryList"},{"path":"src/Gallery/entries/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/types/media.ts","kind":"import-statement","original":"../shared/types/media"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"../slider/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/entries.ts":{"bytes":116,"imports":[{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"},{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"}],"format":"esm"},"src/Gallery/fullscreen/defaults.ts":{"bytes":869,"imports":[],"format":"esm"},"src/Gallery/fullscreen/fullscreenSliderSub.tsx":{"bytes":2190,"imports":[],"format":"esm"},"src/Gallery/fullscreen/gestureShield.ts":{"bytes":921,"imports":[],"format":"esm"},"src/Gallery/zoomPan/core/utils.ts":{"bytes":1386,"imports":[],"format":"esm"},"src/Gallery/zoomPan/core/dom.ts":{"bytes":2106,"imports":[],"format":"esm"},"src/Gallery/zoomPan/zoom/zoomTo.ts":{"bytes":5881,"imports":[{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"../core/utils"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/zoom/handleZoomToggle.ts":{"bytes":4530,"imports":[{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"../core/utils"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"},{"path":"src/Gallery/zoomPan/zoom/zoomTo.ts","kind":"import-statement","original":"./zoomTo"}],"format":"esm"},"src/Gallery/shared/hooks/useWindowSize.ts":{"bytes":766,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/transitions/objectPosition.ts":{"bytes":1088,"imports":[],"format":"esm"},"src/Gallery/shared/transitions/objectFitTransform.ts":{"bytes":2061,"imports":[],"format":"esm"},"src/Gallery/fullscreen/controls/DefaultCloseIcon.tsx":{"bytes":534,"imports":[{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/controls/DefaultCounterText.tsx":{"bytes":157,"imports":[{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/entryOwnerReady.ts":{"bytes":2216,"imports":[],"format":"esm"},"src/Gallery/fullscreen/FullscreenModal.tsx":{"bytes":40743,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/transitions/objectPosition.ts","kind":"import-statement","original":"../shared/transitions/objectPosition"},{"path":"src/Gallery/shared/transitions/objectFitTransform.ts","kind":"import-statement","original":"../shared/transitions/objectFitTransform"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"../api/types","kind":"import-statement","external":true},{"path":"../entries","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/controls/DefaultCloseIcon.tsx","kind":"import-statement","original":"./controls/DefaultCloseIcon"},{"path":"src/Gallery/fullscreen/controls/DefaultCounterText.tsx","kind":"import-statement","original":"./controls/DefaultCounterText"},{"path":"src/Gallery/fullscreen/entryOwnerReady.ts","kind":"import-statement","original":"./entryOwnerReady"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../zoomPan/core/dom"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/Fullscreen.module.css":{"bytes":2857,"imports":[]},"src/Gallery/shared/input/dragTracker.ts":{"bytes":4551,"imports":[{"path":"./pointerTypes","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/vector1d.ts":{"bytes":291,"imports":[],"format":"esm"},"src/Gallery/shared/motion/scrollBody.ts":{"bytes":1632,"imports":[],"format":"esm"},"src/Gallery/shared/motion/limit.ts":{"bytes":527,"imports":[],"format":"esm"},"src/Gallery/shared/motion/scrollLooper.ts":{"bytes":720,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"./limit"},{"path":"./vector1d","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/scrollTarget.ts":{"bytes":2991,"imports":[{"path":"./limit","kind":"import-statement","external":true},{"path":"./vector1d","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/eventStore.ts":{"bytes":542,"imports":[],"format":"esm"},"src/Gallery/shared/motion/animations.ts":{"bytes":1327,"imports":[{"path":"../input/pointerTypes","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"./eventStore"}],"format":"esm"},"src/Gallery/shared/input/pointerTypes.ts":{"bytes":350,"imports":[],"format":"esm"},"src/Gallery/shared/types/axis.ts":{"bytes":1364,"imports":[],"format":"esm"},"src/Gallery/shared/motion/translate.ts":{"bytes":1205,"imports":[{"path":"../types/axis","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/baseLimit.ts":{"bytes":613,"imports":[],"format":"esm"},"src/Gallery/shared/motion/counter.ts":{"bytes":887,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"./limit"}],"format":"esm"},"src/Gallery/shared/motion/scrollBounds.ts":{"bytes":1536,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"./limit"},{"path":"./scrollBody","kind":"import-statement","external":true},{"path":"./vector1d","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/hooks/useWheelLock.ts":{"bytes":884,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/controls/DefaultChevronIcon.tsx":{"bytes":386,"imports":[{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/FullscreenSlider.tsx":{"bytes":60949,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/Fullscreen.module.css","kind":"import-statement","original":"./Fullscreen.module.css"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../shared/input/dragTracker"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollLooper.ts","kind":"import-statement","original":"../shared/motion/scrollLooper"},{"path":"src/Gallery/shared/motion/scrollTarget.ts","kind":"import-statement","original":"../shared/motion/scrollTarget"},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../shared/motion/animations"},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../shared/motion/eventStore"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"src/Gallery/shared/input/pointerTypes.ts","kind":"import-statement","original":"../shared/input/pointerTypes"},{"path":"../shared/input/pointerTypes","kind":"import-statement","external":true},{"path":"src/Gallery/shared/types/axis.ts","kind":"import-statement","original":"../shared/types/axis"},{"path":"src/Gallery/shared/motion/translate.ts","kind":"import-statement","original":"../shared/motion/translate"},{"path":"src/Gallery/shared/motion/baseLimit.ts","kind":"import-statement","original":"../shared/motion/baseLimit"},{"path":"src/Gallery/shared/motion/counter.ts","kind":"import-statement","original":"../shared/motion/counter"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/hooks/useWheelLock.ts","kind":"import-statement","original":"../shared/hooks/useWheelLock"},{"path":"src/Gallery/fullscreen/controls/DefaultChevronIcon.tsx","kind":"import-statement","original":"./controls/DefaultChevronIcon"},{"path":"./types","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../zoomPan/core/dom"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/overlay/FsEntryOverlayMount.tsx":{"bytes":477,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/fullscreenIntro.tsx":{"bytes":19895,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"src/Gallery/shared/transitions/objectPosition.ts","kind":"import-statement","original":"../shared/transitions/objectPosition"},{"path":"src/Gallery/shared/transitions/objectFitTransform.ts","kind":"import-statement","original":"../shared/transitions/objectFitTransform"},{"path":"../api/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/plyr.ts":{"bytes":2302,"imports":[],"format":"esm"},"src/Gallery/video/usePlyrProps.ts":{"bytes":871,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"./plyr"}],"format":"esm"},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytes":758,"imports":[]},"src/Gallery/shared/lazy/imageLifecycle.ts":{"bytes":3778,"imports":[],"format":"esm"},"src/Gallery/shared/lazy/LazyItemHost.tsx":{"bytes":5997,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/lazy/LazyItemHost.module.css","kind":"import-statement","original":"./LazyItemHost.module.css"},{"path":"src/Gallery/shared/lazy/imageLifecycle.ts","kind":"import-statement","original":"./imageLifecycle"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/index.module.css":{"bytes":1124,"imports":[]},"src/Gallery/video/VideoCloneSnapshot.tsx":{"bytes":5810,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"./plyr"},{"path":"src/Gallery/video/index.module.css","kind":"import-statement","original":"./index.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/LazyPlyr.tsx":{"bytes":719,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"plyr-react","kind":"dynamic-import","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/plyrGuards.ts":{"bytes":2843,"imports":[],"format":"esm"},"src/Gallery/fullscreen/renderFullscreenSlides.tsx":{"bytes":51720,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../video/plyr"},{"path":"src/Gallery/video/VideoCloneSnapshot.tsx","kind":"import-statement","original":"../video/VideoCloneSnapshot"},{"path":"src/Gallery/video/LazyPlyr.tsx","kind":"import-statement","original":"../video/LazyPlyr"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/Fullscreen.module.css","kind":"import-statement","original":"./Fullscreen.module.css"},{"path":"src/Gallery/video/plyrGuards.ts","kind":"import-statement","original":"../video/plyrGuards"},{"path":"src/Gallery/shared/lazy/imageLifecycle.ts","kind":"import-statement","original":"../shared/lazy/imageLifecycle"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/transforms.ts":{"bytes":505,"imports":[],"format":"esm"},"src/Gallery/video/fullscreenPlayerStyle.ts":{"bytes":268,"imports":[],"format":"esm"},"src/Gallery/zoomPan/pan/usePanAnimation.ts":{"bytes":1491,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../../shared/motion/animations"}],"format":"esm"},"src/Gallery/zoomPan/pan/usePanDrag.ts":{"bytes":8083,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../../shared/motion/eventStore"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../../shared/input/dragTracker"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/pan/index.ts":{"bytes":251,"imports":[{"path":"src/Gallery/zoomPan/pan/usePanAnimation.ts","kind":"import-statement","original":"./usePanAnimation"},{"path":"src/Gallery/zoomPan/pan/usePanDrag.ts","kind":"import-statement","original":"./usePanDrag"}],"format":"esm"},"src/Gallery/zoomPan/core/rebuildPanBodies.ts":{"bytes":2678,"imports":[{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"./utils"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"./dom"}],"format":"esm"},"src/Gallery/zoomPan/core/boundsForCurrent.ts":{"bytes":1312,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../../shared/motion/scrollBounds"}],"format":"esm"},"src/Gallery/zoomPan/zoom/useGlobalPinchZoom.ts":{"bytes":8563,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/fullscreen/hooks/useWrappedItemsAndRefs.ts":{"bytes":955,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"../../shared/types/media","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/zoomPan/zoom/forceResetZoom.ts":{"bytes":1653,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../../video/plyr"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/zoom/resetZoomForSlideChange.ts":{"bytes":2130,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../../video/plyr"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/pan/resetPanForScale1.ts":{"bytes":3763,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../../video/plyr"},{"path":"../../shared/motion/vector1d","kind":"import-statement","external":true},{"path":"../../shared/motion/limit","kind":"import-statement","external":true},{"path":"../../shared/motion/scrollBody","kind":"import-statement","external":true},{"path":"../../shared/motion/scrollBounds","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/entries/overlay/useFsEntryOverlay.tsx":{"bytes":9191,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"../../fullscreen/fullscreenSliderSub","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/videoSnapshotStore.ts":{"bytes":21586,"imports":[{"path":"src/Gallery/shared/transitions/objectFitTransform.ts","kind":"import-statement","original":"../shared/transitions/objectFitTransform"},{"path":"src/Gallery/shared/transitions/objectPosition.ts","kind":"import-statement","original":"../shared/transitions/objectPosition"}],"format":"esm"},"src/Gallery/fullscreen/FullscreenRuntime.tsx":{"bytes":36173,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/FullscreenModal.tsx","kind":"import-statement","original":"./FullscreenModal"},{"path":"src/Gallery/fullscreen/FullscreenSlider.tsx","kind":"import-statement","original":"./FullscreenSlider"},{"path":"src/Gallery/entries/overlay/FsEntryOverlayMount.tsx","kind":"import-statement","original":"../entries/overlay/FsEntryOverlayMount"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/fullscreenIntro.tsx","kind":"import-statement","original":"./fullscreenIntro"},{"path":"./types","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"src/Gallery/video/usePlyrProps.ts","kind":"import-statement","original":"../video/usePlyrProps"},{"path":"src/Gallery/fullscreen/renderFullscreenSlides.tsx","kind":"import-statement","original":"./renderFullscreenSlides"},{"path":"src/Gallery/fullscreen/transforms.ts","kind":"import-statement","original":"./transforms"},{"path":"src/Gallery/video/fullscreenPlayerStyle.ts","kind":"import-statement","original":"../video/fullscreenPlayerStyle"},{"path":"src/Gallery/zoomPan/pan/index.ts","kind":"import-statement","original":"../zoomPan/pan"},{"path":"src/Gallery/zoomPan/core/rebuildPanBodies.ts","kind":"import-statement","original":"../zoomPan/core/rebuildPanBodies"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/types/axis.ts","kind":"import-statement","original":"../shared/types/axis"},{"path":"../shared/motion/animations","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/boundsForCurrent.ts","kind":"import-statement","original":"../zoomPan/core/boundsForCurrent"},{"path":"src/Gallery/zoomPan/zoom/useGlobalPinchZoom.ts","kind":"import-statement","original":"../zoomPan/zoom/useGlobalPinchZoom"},{"path":"src/Gallery/fullscreen/hooks/useWrappedItemsAndRefs.ts","kind":"import-statement","original":"./hooks/useWrappedItemsAndRefs"},{"path":"src/Gallery/zoomPan/zoom/forceResetZoom.ts","kind":"import-statement","original":"../zoomPan/zoom/forceResetZoom"},{"path":"src/Gallery/zoomPan/zoom/resetZoomForSlideChange.ts","kind":"import-statement","original":"../zoomPan/zoom/resetZoomForSlideChange"},{"path":"src/Gallery/zoomPan/pan/resetPanForScale1.ts","kind":"import-statement","original":"../zoomPan/pan/resetPanForScale1"},{"path":"src/Gallery/entries/overlay/useFsEntryOverlay.tsx","kind":"import-statement","original":"../entries/overlay/useFsEntryOverlay"},{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"../zoomPan/core/utils"},{"path":"src/Gallery/zoomPan/zoom/zoomTo.ts","kind":"import-statement","original":"../zoomPan/zoom/zoomTo"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../zoomPan/core/dom"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/video/videoSnapshotStore.ts","kind":"import-statement","original":"../video/videoSnapshotStore"},{"path":"../api/types","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/entryOwnerReady.ts","kind":"import-statement","original":"./entryOwnerReady"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/index.tsx":{"bytes":21316,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/fullscreen/fullscreenSliderSub.tsx","kind":"import-statement","original":"./fullscreenSliderSub"},{"path":"src/Gallery/fullscreen/gestureShield.ts","kind":"import-statement","original":"./gestureShield"},{"path":"src/Gallery/zoomPan/zoom/handleZoomToggle.ts","kind":"import-statement","original":"../zoomPan/zoom/handleZoomToggle"},{"path":"src/Gallery/shared/hooks/useWindowSize.ts","kind":"import-statement","original":"../shared/hooks/useWindowSize"},{"path":"src/Gallery/fullscreen/FullscreenRuntime.tsx","kind":"import-statement","original":"./FullscreenRuntime"},{"path":"src/Gallery/fullscreen/Fullscreen.module.css","kind":"import-statement","original":"./Fullscreen.module.css"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/fullscreen.ts":{"bytes":311,"imports":[{"path":"src/Gallery/fullscreen/index.tsx","kind":"import-statement","original":"./Gallery/fullscreen"},{"path":"src/Gallery/fullscreen/defaults.ts","kind":"import-statement","original":"./Gallery/fullscreen/defaults"}],"format":"esm"},"src/Gallery/thumbnails/Thumbnails.module.css":{"bytes":1229,"imports":[]},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytes":1440,"imports":[]},"src/Gallery/slider/sliderSub.tsx":{"bytes":2064,"imports":[{"path":"../api/types","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/thumbnails/controls/arrows.tsx":{"bytes":6953,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/hooks/useInViewOnce.ts":{"bytes":3651,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/thumbnails/ThumbnailSlider.tsx":{"bytes":59439,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/thumbnails/ThumbnailSlider.module.css","kind":"import-statement","original":"./ThumbnailSlider.module.css"},{"path":"../api/types","kind":"import-statement","external":true},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"../slider/sliderSub"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../shared/input/dragTracker"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollLooper.ts","kind":"import-statement","original":"../shared/motion/scrollLooper"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/motion/scrollTarget.ts","kind":"import-statement","original":"../shared/motion/scrollTarget"},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../shared/motion/animations"},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../shared/motion/eventStore"},{"path":"./types","kind":"import-statement","external":true},{"path":"../shared/types/controls","kind":"import-statement","external":true},{"path":"../shared/responsive","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/counter.ts","kind":"import-statement","original":"../shared/motion/counter"},{"path":"src/Gallery/shared/motion/baseLimit.ts","kind":"import-statement","original":"../shared/motion/baseLimit"},{"path":"src/Gallery/thumbnails/controls/arrows.tsx","kind":"import-statement","original":"./controls/arrows"},{"path":"src/Gallery/shared/input/pointerTypes.ts","kind":"import-statement","original":"../shared/input/pointerTypes"},{"path":"../shared/input/pointerTypes","kind":"import-statement","external":true},{"path":"src/Gallery/shared/types/axis.ts","kind":"import-statement","original":"../shared/types/axis"},{"path":"src/Gallery/shared/motion/translate.ts","kind":"import-statement","original":"../shared/motion/translate"},{"path":"src/Gallery/shared/hooks/useWheelLock.ts","kind":"import-statement","original":"../shared/hooks/useWheelLock"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/thumbnails/defaults.ts":{"bytes":452,"imports":[],"format":"esm"},"src/Gallery/shared/hooks/useViewportWidth.ts":{"bytes":482,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts":{"bytes":1352,"imports":[{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../responsive"}],"format":"esm"},"src/Gallery/thumbnails/syncBridge.ts":{"bytes":4553,"imports":[],"format":"esm"},"src/Gallery/thumbnails/index.tsx":{"bytes":14137,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/thumbnails/Thumbnails.module.css","kind":"import-statement","original":"./Thumbnails.module.css"},{"path":"src/Gallery/thumbnails/ThumbnailSlider.tsx","kind":"import-statement","original":"./ThumbnailSlider"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"../slider/sliderSub"},{"path":"src/Gallery/thumbnails/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useViewportWidth.ts","kind":"import-statement","original":"../shared/hooks/useViewportWidth"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts","kind":"import-statement","original":"../shared/skeleton/buildScopedSkeletonCountCss"},{"path":"src/Gallery/thumbnails/syncBridge.ts","kind":"import-statement","original":"./syncBridge"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreenThumbnails/syncBridge.ts":{"bytes":3130,"imports":[],"format":"esm"},"src/Gallery/fullscreenThumbnails/FullscreenThumbnailSlider.tsx":{"bytes":7351,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom","kind":"import-statement","external":true},{"path":"src/Gallery/thumbnails/index.tsx","kind":"import-statement","original":"../thumbnails"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"../slider/sliderSub"},{"path":"src/Gallery/fullscreenThumbnails/syncBridge.ts","kind":"import-statement","original":"./syncBridge"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreenThumbnails/index.tsx":{"bytes":222,"imports":[{"path":"src/Gallery/fullscreenThumbnails/FullscreenThumbnailSlider.tsx","kind":"import-statement","original":"./FullscreenThumbnailSlider"}],"format":"esm"},"src/fullscreenThumbnails.ts":{"bytes":281,"imports":[{"path":"src/Gallery/fullscreenThumbnails/index.tsx","kind":"import-statement","original":"./Gallery/fullscreenThumbnails"}],"format":"esm"},"src/Gallery/grid/Grid.module.css":{"bytes":3604,"imports":[]},"src/Gallery/shared/hooks/useMediaReady.ts":{"bytes":2095,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/GridSkeleton.tsx":{"bytes":15568,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/grid/Grid.module.css","kind":"import-statement","original":"./Grid.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/GridLayout.tsx":{"bytes":16021,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/grid/Grid.module.css","kind":"import-statement","original":"./Grid.module.css"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"src/Gallery/shared/hooks/useMediaReady.ts","kind":"import-statement","original":"../shared/hooks/useMediaReady"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/grid/GridSkeleton.tsx","kind":"import-statement","original":"./GridSkeleton"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"./types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/defaults.ts":{"bytes":160,"imports":[{"path":"./types","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/index.tsx":{"bytes":4965,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/grid/GridLayout.tsx","kind":"import-statement","original":"./GridLayout"},{"path":"src/Gallery/grid/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useViewportWidth.ts","kind":"import-statement","original":"../shared/hooks/useViewportWidth"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/grid.ts":{"bytes":194,"imports":[{"path":"src/Gallery/grid/index.tsx","kind":"import-statement","original":"./Gallery/grid"},{"path":"src/Gallery/grid/defaults.ts","kind":"import-statement","original":"./Gallery/grid/defaults"}],"format":"esm"},"src/Gallery/slider/Slider.module.css":{"bytes":5196,"imports":[]},"src/Gallery/shared/slideContext.tsx":{"bytes":706,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/effects/useParallaxEffect.ts":{"bytes":4428,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/effects/useScaleEffect.ts":{"bytes":4495,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/effects/useFadeEffect.ts":{"bytes":3882,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/controls/arrows.tsx":{"bytes":6953,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/controls/dots.tsx":{"bytes":4603,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"../../shared/types/controls","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/controls/progress.tsx":{"bytes":5868,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"../../shared/types/controls","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/slideStoreBag.ts":{"bytes":978,"imports":[],"format":"esm"},"src/Gallery/slider/Slider.tsx":{"bytes":105903,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/slider/Slider.module.css","kind":"import-statement","original":"./Slider.module.css"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./sliderSub"},{"path":"src/Gallery/shared/input/pointerTypes.ts","kind":"import-statement","original":"../shared/input/pointerTypes"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../shared/input/dragTracker"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollLooper.ts","kind":"import-statement","original":"../shared/motion/scrollLooper"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/motion/scrollTarget.ts","kind":"import-statement","original":"../shared/motion/scrollTarget"},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../shared/motion/eventStore"},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../shared/motion/animations"},{"path":"src/Gallery/shared/slideContext.tsx","kind":"import-statement","original":"../shared/slideContext"},{"path":"./types","kind":"import-statement","external":true},{"path":"../shared/types/controls","kind":"import-statement","external":true},{"path":"../fullscreen/types","kind":"import-statement","external":true},{"path":"../shared/responsive","kind":"import-statement","external":true},{"path":"../api/types","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/counter.ts","kind":"import-statement","original":"../shared/motion/counter"},{"path":"src/Gallery/fullscreen/gestureShield.ts","kind":"import-statement","original":"../fullscreen/gestureShield"},{"path":"src/Gallery/slider/effects/useParallaxEffect.ts","kind":"import-statement","original":"./effects/useParallaxEffect"},{"path":"src/Gallery/slider/effects/useScaleEffect.ts","kind":"import-statement","original":"./effects/useScaleEffect"},{"path":"src/Gallery/slider/effects/useFadeEffect.ts","kind":"import-statement","original":"./effects/useFadeEffect"},{"path":"src/Gallery/shared/motion/baseLimit.ts","kind":"import-statement","original":"../shared/motion/baseLimit"},{"path":"src/Gallery/slider/controls/arrows.tsx","kind":"import-statement","original":"./controls/arrows"},{"path":"src/Gallery/slider/controls/dots.tsx","kind":"import-statement","original":"./controls/dots"},{"path":"src/Gallery/slider/controls/progress.tsx","kind":"import-statement","original":"./controls/progress"},{"path":"../shared/input/pointerTypes","kind":"import-statement","external":true},{"path":"../shared/types/axis","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/translate.ts","kind":"import-statement","original":"../shared/motion/translate"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/shared/hooks/useWheelLock.ts","kind":"import-statement","original":"../shared/hooks/useWheelLock"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"src/Gallery/shared/slideStoreBag.ts","kind":"import-statement","original":"../shared/slideStoreBag"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/defaults.ts":{"bytes":858,"imports":[],"format":"esm"},"src/Gallery/slider/SliderSkeleton.tsx":{"bytes":22772,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/slider/Slider.module.css","kind":"import-statement","original":"./Slider.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/index.tsx":{"bytes":24551,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/slider/Slider.module.css","kind":"import-statement","original":"./Slider.module.css"},{"path":"src/Gallery/slider/Slider.tsx","kind":"import-statement","original":"./Slider"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./sliderSub"},{"path":"src/Gallery/slider/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useViewportWidth.ts","kind":"import-statement","original":"../shared/hooks/useViewportWidth"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts","kind":"import-statement","original":"../shared/skeleton/buildScopedSkeletonCountCss"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/slider/SliderSkeleton.tsx","kind":"import-statement","original":"./SliderSkeleton"},{"path":"src/Gallery/slider/SliderSkeleton.tsx","kind":"import-statement","original":"./SliderSkeleton"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/defaults.ts":{"bytes":148,"imports":[{"path":"./types","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/Masonry.module.css":{"bytes":3086,"imports":[]},"src/Gallery/masonry/Masonry.tsx":{"bytes":6855,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/MasonrySkeleton.tsx":{"bytes":11334,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/MasonryLayout.tsx":{"bytes":7051,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/masonry/Masonry.module.css","kind":"import-statement","original":"./Masonry.module.css"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"src/Gallery/shared/hooks/useMediaReady.ts","kind":"import-statement","original":"../shared/hooks/useMediaReady"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/masonry/Masonry.tsx","kind":"import-statement","original":"./Masonry"},{"path":"src/Gallery/masonry/MasonrySkeleton.tsx","kind":"import-statement","original":"./MasonrySkeleton"},{"path":"./types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/buildMasonryChildren.tsx":{"bytes":3146,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/index.tsx":{"bytes":5865,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/masonry/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/masonry/MasonryLayout.tsx","kind":"import-statement","original":"./MasonryLayout"},{"path":"src/Gallery/masonry/buildMasonryChildren.tsx","kind":"import-statement","original":"./buildMasonryChildren"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/index.tsx":{"bytes":23218,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/LazyPlyr.tsx","kind":"import-statement","original":"./LazyPlyr"},{"path":"src/Gallery/video/VideoCloneSnapshot.tsx","kind":"import-statement","original":"./VideoCloneSnapshot"},{"path":"src/Gallery/shared/slideContext.tsx","kind":"import-statement","original":"../shared/slideContext"},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"./plyr"},{"path":"src/Gallery/video/videoSnapshotStore.ts","kind":"import-statement","original":"./videoSnapshotStore"},{"path":"src/Gallery/video/plyrGuards.ts","kind":"import-statement","original":"./plyrGuards"},{"path":"src/Gallery/video/index.module.css","kind":"import-statement","original":"./index.module.css"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":2486,"imports":[{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"./Gallery/core"},{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"},{"path":"src/Gallery/fullscreen/index.tsx","kind":"import-statement","original":"./Gallery/fullscreen"},{"path":"src/Gallery/fullscreenThumbnails/index.tsx","kind":"import-statement","original":"./Gallery/fullscreenThumbnails"},{"path":"src/Gallery/slider/index.tsx","kind":"import-statement","original":"./Gallery/slider"},{"path":"src/Gallery/grid/index.tsx","kind":"import-statement","original":"./Gallery/grid"},{"path":"src/Gallery/masonry/index.tsx","kind":"import-statement","original":"./Gallery/masonry"},{"path":"src/Gallery/thumbnails/index.tsx","kind":"import-statement","original":"./Gallery/thumbnails"},{"path":"src/Gallery/video/index.tsx","kind":"import-statement","original":"./Gallery/video"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./Gallery/slider/sliderSub"},{"path":"src/Gallery/thumbnails/syncBridge.ts","kind":"import-statement","original":"./Gallery/thumbnails/syncBridge"},{"path":"src/Gallery/shared/types/media.ts","kind":"import-statement","original":"./Gallery/shared/types/media"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"./Gallery/shared/responsive"},{"path":"src/Gallery/slider/defaults.ts","kind":"import-statement","original":"./Gallery/slider/defaults"},{"path":"src/Gallery/grid/defaults.ts","kind":"import-statement","original":"./Gallery/grid/defaults"},{"path":"src/Gallery/masonry/defaults.ts","kind":"import-statement","original":"./Gallery/masonry/defaults"},{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"},{"path":"src/Gallery/fullscreen/defaults.ts","kind":"import-statement","original":"./Gallery/fullscreen/defaults"},{"path":"src/Gallery/thumbnails/defaults.ts","kind":"import-statement","original":"./Gallery/thumbnails/defaults"}],"format":"esm"},"src/masonry.ts":{"bytes":215,"imports":[{"path":"src/Gallery/masonry/index.tsx","kind":"import-statement","original":"./Gallery/masonry"},{"path":"src/Gallery/masonry/defaults.ts","kind":"import-statement","original":"./Gallery/masonry/defaults"}],"format":"esm"},"src/slider.ts":{"bytes":415,"imports":[{"path":"src/Gallery/slider/index.tsx","kind":"import-statement","original":"./Gallery/slider"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./Gallery/slider/sliderSub"},{"path":"src/Gallery/slider/defaults.ts","kind":"import-statement","original":"./Gallery/slider/defaults"}],"format":"esm"},"src/thumbnails.ts":{"bytes":669,"imports":[{"path":"src/Gallery/thumbnails/index.tsx","kind":"import-statement","original":"./Gallery/thumbnails"},{"path":"src/Gallery/thumbnails/defaults.ts","kind":"import-statement","original":"./Gallery/thumbnails/defaults"},{"path":"src/Gallery/thumbnails/syncBridge.ts","kind":"import-statement","original":"./Gallery/thumbnails/syncBridge"}],"format":"esm"},"src/video.ts":{"bytes":191,"imports":[{"path":"src/Gallery/video/index.tsx","kind":"import-statement","original":"./Gallery/video"}],"format":"esm"}},"outputs":{"dist/thumbnails.mjs":{"imports":[{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_THUMBNAILS","ThumbnailSlider","createThumbnailSyncBridge","default"],"entryPoint":"src/thumbnails.ts","cssBundle":"dist/thumbnails.css","inputs":{"src/thumbnails.ts":{"bytesInOutput":0}},"bytes":356},"dist/video.mjs":{"imports":[{"path":"dist/chunk-AIBV3SQA.mjs","kind":"import-statement"},{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["Video","default"],"entryPoint":"src/video.ts","cssBundle":"dist/video.css","inputs":{"src/video.ts":{"bytesInOutput":0}},"bytes":219},"dist/core.mjs":{"imports":[{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["GalleryCore","GalleryCoreProvider","useGalleryCore"],"entryPoint":"src/core.ts","inputs":{"src/core.ts":{"bytesInOutput":0}},"bytes":155},"dist/entries.mjs":{"imports":[{"path":"dist/chunk-CAYO7NIA.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_ENTRIES","Entries","EntryList","default","flattenEntries","nodeFromMediaDefault","useEntryDecodeReady","useEntryInView","useNormalizedEntriesIntro","useNormalizedEntriesLoading"],"entryPoint":"src/entries.ts","cssBundle":"dist/entries.css","inputs":{"src/entries.ts":{"bytesInOutput":0}},"bytes":410},"dist/fullscreen.mjs":{"imports":[{"path":"dist/chunk-6RH3RCIQ.mjs","kind":"import-statement"},{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_FULLSCREEN","useFullscreenController"],"entryPoint":"src/fullscreen.ts","cssBundle":"dist/fullscreen.css","inputs":{"src/fullscreen.ts":{"bytesInOutput":0}},"bytes":313},"dist/fullscreenThumbnails.mjs":{"imports":[{"path":"dist/chunk-O6MJXVAN.mjs","kind":"import-statement"},{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["FullscreenThumbnailSlider","default"],"entryPoint":"src/fullscreenThumbnails.ts","cssBundle":"dist/fullscreenThumbnails.css","inputs":{"src/fullscreenThumbnails.ts":{"bytesInOutput":0}},"bytes":326},"dist/grid.mjs":{"imports":[{"path":"dist/chunk-CROFW72U.mjs","kind":"import-statement"},{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_GRID","Grid","default"],"entryPoint":"src/grid.ts","cssBundle":"dist/grid.css","inputs":{"src/grid.ts":{"bytesInOutput":0}},"bytes":301},"dist/index.mjs":{"imports":[{"path":"dist/chunk-AIBV3SQA.mjs","kind":"import-statement"},{"path":"dist/chunk-CAYO7NIA.mjs","kind":"import-statement"},{"path":"dist/chunk-6RH3RCIQ.mjs","kind":"import-statement"},{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-O6MJXVAN.mjs","kind":"import-statement"},{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-CROFW72U.mjs","kind":"import-statement"},{"path":"dist/chunk-YF74WH6U.mjs","kind":"import-statement"},{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-3C4GJIYN.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["BREAKPOINT_MAP","DEFAULT_ENTRIES","DEFAULT_FULLSCREEN","DEFAULT_GRID","DEFAULT_MASONRY","DEFAULT_SLIDER","DEFAULT_THUMBNAILS","Entries","FullscreenThumbnailSlider","GalleryCore","Grid","Masonry","Slider","ThumbnailSlider","Video","createSliderIndexChannel","createThumbnailSyncBridge","flattenEntries","toMediaItems","useFullscreenController","useGalleryCore"],"entryPoint":"src/index.ts","cssBundle":"dist/index.css","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":1239},"dist/chunk-AIBV3SQA.mjs":{"imports":[{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/video/index.tsx":{"bytesInOutput":9500}},"bytes":9681},"dist/chunk-CAYO7NIA.mjs":{"imports":[{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h","i"],"inputs":{"src/Gallery/entries/defaults.ts":{"bytesInOutput":30},"src/Gallery/entries/hooks/useEntryInView.ts":{"bytesInOutput":2954},"src/Gallery/entries/hooks/useEntryDecodeReady.ts":{"bytesInOutput":1683},"src/Gallery/entries/normalize.ts":{"bytesInOutput":898},"src/Gallery/entries/components/EntryList.tsx":{"bytesInOutput":3930},"src/Gallery/entries/Entries.module.css":{"bytesInOutput":257},"src/Gallery/entries/components/EntrySkeleton.tsx":{"bytesInOutput":5488},"src/Gallery/entries/index.tsx":{"bytesInOutput":2329}},"bytes":17742},"dist/chunk-6RH3RCIQ.mjs":{"imports":[{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/fullscreen/defaults.ts":{"bytesInOutput":529},"src/Gallery/fullscreen/index.tsx":{"bytesInOutput":7014},"src/Gallery/fullscreen/fullscreenSliderSub.tsx":{"bytesInOutput":655},"src/Gallery/zoomPan/core/utils.ts":{"bytesInOutput":622},"src/Gallery/zoomPan/core/dom.ts":{"bytesInOutput":918},"src/Gallery/zoomPan/zoom/zoomTo.ts":{"bytesInOutput":2423},"src/Gallery/zoomPan/zoom/handleZoomToggle.ts":{"bytesInOutput":2260},"src/Gallery/shared/hooks/useWindowSize.ts":{"bytesInOutput":371},"src/Gallery/fullscreen/FullscreenRuntime.tsx":{"bytesInOutput":13586},"src/Gallery/fullscreen/FullscreenModal.tsx":{"bytesInOutput":16642},"src/Gallery/fullscreen/controls/DefaultCloseIcon.tsx":{"bytesInOutput":390},"src/Gallery/fullscreen/controls/DefaultCounterText.tsx":{"bytesInOutput":116},"src/Gallery/fullscreen/entryOwnerReady.ts":{"bytesInOutput":1023},"src/Gallery/fullscreen/FullscreenSlider.tsx":{"bytesInOutput":21931},"src/Gallery/fullscreen/Fullscreen.module.css":{"bytesInOutput":198},"src/Gallery/fullscreen/controls/DefaultChevronIcon.tsx":{"bytesInOutput":321},"src/Gallery/entries/overlay/FsEntryOverlayMount.tsx":{"bytesInOutput":200},"src/Gallery/fullscreen/fullscreenIntro.tsx":{"bytesInOutput":8211},"src/Gallery/video/usePlyrProps.ts":{"bytesInOutput":184},"src/Gallery/fullscreen/renderFullscreenSlides.tsx":{"bytesInOutput":18780},"src/Gallery/fullscreen/transforms.ts":{"bytesInOutput":196},"src/Gallery/video/fullscreenPlayerStyle.ts":{"bytesInOutput":152},"src/Gallery/zoomPan/pan/usePanAnimation.ts":{"bytesInOutput":744},"src/Gallery/zoomPan/pan/usePanDrag.ts":{"bytesInOutput":3453},"src/Gallery/zoomPan/pan/index.ts":{"bytesInOutput":34},"src/Gallery/zoomPan/core/rebuildPanBodies.ts":{"bytesInOutput":1000},"src/Gallery/zoomPan/core/boundsForCurrent.ts":{"bytesInOutput":377},"src/Gallery/zoomPan/zoom/useGlobalPinchZoom.ts":{"bytesInOutput":3068},"src/Gallery/fullscreen/hooks/useWrappedItemsAndRefs.ts":{"bytesInOutput":271},"src/Gallery/zoomPan/zoom/forceResetZoom.ts":{"bytesInOutput":543},"src/Gallery/zoomPan/zoom/resetZoomForSlideChange.ts":{"bytesInOutput":727},"src/Gallery/zoomPan/pan/resetPanForScale1.ts":{"bytesInOutput":996},"src/Gallery/entries/overlay/useFsEntryOverlay.tsx":{"bytesInOutput":3108}},"bytes":111624},"dist/chunk-KTP7SA7V.mjs":{"imports":[{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"plyr-react","kind":"dynamic-import","external":true}],"exports":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o"],"inputs":{"src/Gallery/video/plyr.ts":{"bytesInOutput":775},"src/Gallery/video/index.module.css":{"bytesInOutput":66},"src/Gallery/video/VideoCloneSnapshot.tsx":{"bytesInOutput":2629},"src/Gallery/video/LazyPlyr.tsx":{"bytesInOutput":394},"src/Gallery/video/plyrGuards.ts":{"bytesInOutput":1246},"src/Gallery/shared/transitions/objectFitTransform.ts":{"bytesInOutput":706},"src/Gallery/shared/transitions/objectPosition.ts":{"bytesInOutput":559},"src/Gallery/video/videoSnapshotStore.ts":{"bytesInOutput":9089}},"bytes":15637},"dist/chunk-O6MJXVAN.mjs":{"imports":[{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/fullscreenThumbnails/FullscreenThumbnailSlider.tsx":{"bytesInOutput":2907},"src/Gallery/fullscreenThumbnails/syncBridge.ts":{"bytesInOutput":887},"src/Gallery/fullscreenThumbnails/index.tsx":{"bytesInOutput":0}},"bytes":3895},"dist/chunk-KN72Q6DM.mjs":{"imports":[{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d"],"inputs":{"src/Gallery/thumbnails/defaults.ts":{"bytesInOutput":193},"src/Gallery/thumbnails/syncBridge.ts":{"bytesInOutput":1188},"src/Gallery/thumbnails/index.tsx":{"bytesInOutput":5494},"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":209},"src/Gallery/thumbnails/ThumbnailSlider.tsx":{"bytesInOutput":21907},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":83},"src/Gallery/thumbnails/controls/arrows.tsx":{"bytesInOutput":2770}},"bytes":32331},"dist/chunk-P2GQPFSL.mjs":{"imports":[],"exports":["a","b","c"],"inputs":{"src/Gallery/shared/types/axis.ts":{"bytesInOutput":258}},"bytes":283},"dist/chunk-CROFW72U.mjs":{"imports":[{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/grid/defaults.ts":{"bytesInOutput":34},"src/Gallery/grid/index.tsx":{"bytesInOutput":1688},"src/Gallery/grid/GridLayout.tsx":{"bytesInOutput":5430},"src/Gallery/grid/Grid.module.css":{"bytesInOutput":439},"src/Gallery/grid/GridSkeleton.tsx":{"bytesInOutput":6182}},"bytes":14107},"dist/masonry.mjs":{"imports":[{"path":"dist/chunk-YF74WH6U.mjs","kind":"import-statement"},{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_MASONRY","Masonry","default"],"entryPoint":"src/masonry.ts","cssBundle":"dist/masonry.css","inputs":{"src/masonry.ts":{"bytesInOutput":0}},"bytes":278},"dist/chunk-YF74WH6U.mjs":{"imports":[{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/masonry/defaults.ts":{"bytesInOutput":29},"src/Gallery/masonry/index.tsx":{"bytesInOutput":2009},"src/Gallery/masonry/MasonryLayout.tsx":{"bytesInOutput":2439},"src/Gallery/masonry/Masonry.module.css":{"bytesInOutput":351},"src/Gallery/masonry/Masonry.tsx":{"bytesInOutput":2246},"src/Gallery/masonry/MasonrySkeleton.tsx":{"bytesInOutput":4830},"src/Gallery/masonry/buildMasonryChildren.tsx":{"bytesInOutput":954}},"bytes":13154},"dist/chunk-A6MPGIEJ.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/useMediaReady.ts":{"bytesInOutput":930}},"bytes":946},"dist/chunk-NWU2GBRJ.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h","i","j","k"],"inputs":{"src/Gallery/shared/lazy/LazyItemHost.tsx":{"bytesInOutput":2107},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":54},"src/Gallery/shared/lazy/imageLifecycle.ts":{"bytesInOutput":1787}},"bytes":4034},"dist/slider.mjs":{"imports":[{"path":"dist/chunk-3C4GJIYN.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_SLIDER","Slider","createSliderIndexChannel","default"],"entryPoint":"src/slider.ts","cssBundle":"dist/slider.css","inputs":{"src/slider.ts":{"bytesInOutput":0}},"bytes":405},"dist/chunk-3C4GJIYN.mjs":{"imports":[{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/slider/defaults.ts":{"bytesInOutput":543},"src/Gallery/slider/index.tsx":{"bytesInOutput":10504},"src/Gallery/slider/Slider.module.css":{"bytesInOutput":416},"src/Gallery/slider/Slider.tsx":{"bytesInOutput":40662},"src/Gallery/slider/effects/useParallaxEffect.ts":{"bytesInOutput":1672},"src/Gallery/slider/effects/useScaleEffect.ts":{"bytesInOutput":1803},"src/Gallery/slider/effects/useFadeEffect.ts":{"bytesInOutput":1527},"src/Gallery/slider/controls/arrows.tsx":{"bytesInOutput":2748},"src/Gallery/slider/controls/dots.tsx":{"bytesInOutput":1798},"src/Gallery/slider/controls/progress.tsx":{"bytesInOutput":2615},"src/Gallery/shared/slideStoreBag.ts":{"bytesInOutput":234},"src/Gallery/slider/SliderSkeleton.tsx":{"bytesInOutput":9370}},"bytes":74439},"dist/chunk-YRQVG3MM.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/shared/slideContext.tsx":{"bytesInOutput":203}},"bytes":226},"dist/chunk-KZUAS63N.mjs":{"imports":[],"exports":["a"],"inputs":{"src/Gallery/fullscreen/gestureShield.ts":{"bytesInOutput":398}},"bytes":414},"dist/chunk-H4BEIJAD.mjs":{"imports":[{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["a","b","c"],"inputs":{"src/Gallery/slider/sliderSub.tsx":{"bytesInOutput":586},"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts":{"bytesInOutput":552}},"bytes":1209},"dist/chunk-TZGAHWM7.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r"],"inputs":{"src/Gallery/shared/input/dragTracker.ts":{"bytesInOutput":1652},"src/Gallery/shared/motion/vector1d.ts":{"bytesInOutput":67},"src/Gallery/shared/motion/scrollBody.ts":{"bytesInOutput":593},"src/Gallery/shared/motion/limit.ts":{"bytesInOutput":243},"src/Gallery/shared/motion/scrollLooper.ts":{"bytesInOutput":208},"src/Gallery/shared/motion/scrollTarget.ts":{"bytesInOutput":948},"src/Gallery/shared/motion/eventStore.ts":{"bytesInOutput":159},"src/Gallery/shared/motion/animations.ts":{"bytesInOutput":428},"src/Gallery/shared/input/pointerTypes.ts":{"bytesInOutput":75},"src/Gallery/shared/motion/translate.ts":{"bytesInOutput":454},"src/Gallery/shared/motion/baseLimit.ts":{"bytesInOutput":228},"src/Gallery/shared/motion/counter.ts":{"bytesInOutput":271},"src/Gallery/shared/motion/scrollBounds.ts":{"bytesInOutput":536},"src/Gallery/shared/hooks/useWheelLock.ts":{"bytesInOutput":363}},"bytes":6373},"dist/chunk-ESF6XBYF.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/useViewportWidth.ts":{"bytesInOutput":276}},"bytes":292},"dist/chunk-EV6ZK4QI.mjs":{"imports":[{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d","e"],"inputs":{"src/Gallery/shared/types/media.ts":{"bytesInOutput":862},"src/Gallery/core/index.tsx":{"bytesInOutput":3398}},"bytes":4349},"dist/chunk-X4HEGEZV.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/useInViewOnce.ts":{"bytesInOutput":1496}},"bytes":1512},"dist/chunk-LVYED5ZM.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/usePrefersReducedMotion.ts":{"bytesInOutput":542}},"bytes":558},"dist/chunk-2AHLR3V4.mjs":{"imports":[],"exports":["a","b","c","d","e"],"inputs":{"src/Gallery/shared/responsive.ts":{"bytesInOutput":1474}},"bytes":1518},"dist/thumbnails.css":{"imports":[],"inputs":{"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":833},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":1085}},"bytes":1919},"dist/video.css":{"imports":[],"inputs":{"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605},"src/Gallery/video/index.module.css":{"bytesInOutput":759}},"bytes":1365},"dist/entries.css":{"imports":[],"inputs":{"src/Gallery/entries/Entries.module.css":{"bytesInOutput":2009}},"bytes":2010},"dist/fullscreen.css":{"imports":[],"inputs":{"src/Gallery/fullscreen/Fullscreen.module.css":{"bytesInOutput":2113},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605},"src/Gallery/video/index.module.css":{"bytesInOutput":759}},"bytes":3478},"dist/fullscreenThumbnails.css":{"imports":[],"inputs":{"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":833},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":1085}},"bytes":1919},"dist/grid.css":{"imports":[],"inputs":{"src/Gallery/grid/Grid.module.css":{"bytesInOutput":2390},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605}},"bytes":2996},"dist/index.css":{"imports":[],"inputs":{"src/Gallery/entries/Entries.module.css":{"bytesInOutput":2009},"src/Gallery/fullscreen/Fullscreen.module.css":{"bytesInOutput":2113},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605},"src/Gallery/video/index.module.css":{"bytesInOutput":759},"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":833},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":1085},"src/Gallery/slider/Slider.module.css":{"bytesInOutput":3792},"src/Gallery/grid/Grid.module.css":{"bytesInOutput":2390},"src/Gallery/masonry/Masonry.module.css":{"bytesInOutput":2196}},"bytes":15783},"dist/masonry.css":{"imports":[],"inputs":{"src/Gallery/masonry/Masonry.module.css":{"bytesInOutput":2196},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605}},"bytes":2802},"dist/slider.css":{"imports":[],"inputs":{"src/Gallery/slider/Slider.module.css":{"bytesInOutput":3792}},"bytes":3793}}}
1
+ {"inputs":{"src/Gallery/shared/responsive.ts":{"bytes":4010,"imports":[],"format":"esm"},"src/Gallery/shared/types/media.ts":{"bytes":2938,"imports":[],"format":"esm"},"src/Gallery/core/index.tsx":{"bytes":12538,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/types/media.ts","kind":"import-statement","original":"../shared/types/media"},{"path":"../entries","kind":"import-statement","external":true},{"path":"../api/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/core.ts":{"bytes":225,"imports":[{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"./Gallery/core"}],"format":"esm"},"src/Gallery/entries/types.ts":{"bytes":2402,"imports":[{"path":"../shared/types/elements","kind":"import-statement","external":true},{"path":"../shared/types/media","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/defaults.ts":{"bytes":155,"imports":[],"format":"esm"},"src/Gallery/entries/hooks/useEntryInView.ts":{"bytes":7584,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/hooks/useEntryDecodeReady.ts":{"bytes":4408,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/normalize.ts":{"bytes":1676,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/Entries.module.css":{"bytes":2689,"imports":[]},"src/Gallery/shared/hooks/usePrefersReducedMotion.ts":{"bytes":1018,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/components/EntrySkeleton.tsx":{"bytes":13339,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/entries/Entries.module.css","kind":"import-statement","original":"../Entries.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/components/EntryList.tsx":{"bytes":12257,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/entries/Entries.module.css","kind":"import-statement","original":"../Entries.module.css"},{"path":"src/Gallery/entries/hooks/useEntryInView.ts","kind":"import-statement","original":"../hooks/useEntryInView"},{"path":"src/Gallery/entries/hooks/useEntryDecodeReady.ts","kind":"import-statement","original":"../hooks/useEntryDecodeReady"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/entries/components/EntrySkeleton.tsx","kind":"import-statement","original":"./EntrySkeleton"},{"path":"src/Gallery/entries/normalize.ts","kind":"import-statement","original":"../normalize"},{"path":"../../shared/types/media","kind":"import-statement","external":true},{"path":"../../slider/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/index.tsx":{"bytes":7225,"imports":[{"path":"src/Gallery/entries/types.ts","kind":"import-statement","original":"./types"},{"path":"src/Gallery/entries/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/entries/hooks/useEntryInView.ts","kind":"import-statement","original":"./hooks/useEntryInView"},{"path":"src/Gallery/entries/hooks/useEntryDecodeReady.ts","kind":"import-statement","original":"./hooks/useEntryDecodeReady"},{"path":"src/Gallery/entries/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"src/Gallery/entries/components/EntryList.tsx","kind":"import-statement","original":"./components/EntryList"},{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/entries/components/EntryList.tsx","kind":"import-statement","original":"./components/EntryList"},{"path":"src/Gallery/entries/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/types/media.ts","kind":"import-statement","original":"../shared/types/media"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"../slider/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/entries.ts":{"bytes":116,"imports":[{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"},{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"}],"format":"esm"},"src/Gallery/fullscreen/defaults.ts":{"bytes":869,"imports":[],"format":"esm"},"src/Gallery/fullscreen/fullscreenSliderSub.tsx":{"bytes":2190,"imports":[],"format":"esm"},"src/Gallery/fullscreen/gestureShield.ts":{"bytes":921,"imports":[],"format":"esm"},"src/Gallery/zoomPan/core/utils.ts":{"bytes":1386,"imports":[],"format":"esm"},"src/Gallery/zoomPan/core/dom.ts":{"bytes":2106,"imports":[],"format":"esm"},"src/Gallery/zoomPan/zoom/zoomTo.ts":{"bytes":5881,"imports":[{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"../core/utils"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/zoom/handleZoomToggle.ts":{"bytes":4530,"imports":[{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"../core/utils"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"},{"path":"src/Gallery/zoomPan/zoom/zoomTo.ts","kind":"import-statement","original":"./zoomTo"}],"format":"esm"},"src/Gallery/shared/hooks/useWindowSize.ts":{"bytes":766,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/transitions/objectPosition.ts":{"bytes":1088,"imports":[],"format":"esm"},"src/Gallery/shared/transitions/objectFitTransform.ts":{"bytes":2061,"imports":[],"format":"esm"},"src/Gallery/fullscreen/controls/DefaultCloseIcon.tsx":{"bytes":534,"imports":[{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/controls/DefaultCounterText.tsx":{"bytes":157,"imports":[{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/entryOwnerReady.ts":{"bytes":2216,"imports":[],"format":"esm"},"src/Gallery/fullscreen/FullscreenModal.tsx":{"bytes":40743,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/transitions/objectPosition.ts","kind":"import-statement","original":"../shared/transitions/objectPosition"},{"path":"src/Gallery/shared/transitions/objectFitTransform.ts","kind":"import-statement","original":"../shared/transitions/objectFitTransform"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"../api/types","kind":"import-statement","external":true},{"path":"../entries","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/controls/DefaultCloseIcon.tsx","kind":"import-statement","original":"./controls/DefaultCloseIcon"},{"path":"src/Gallery/fullscreen/controls/DefaultCounterText.tsx","kind":"import-statement","original":"./controls/DefaultCounterText"},{"path":"src/Gallery/fullscreen/entryOwnerReady.ts","kind":"import-statement","original":"./entryOwnerReady"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../zoomPan/core/dom"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/Fullscreen.module.css":{"bytes":2857,"imports":[]},"src/Gallery/shared/input/dragTracker.ts":{"bytes":4551,"imports":[{"path":"./pointerTypes","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/vector1d.ts":{"bytes":291,"imports":[],"format":"esm"},"src/Gallery/shared/motion/scrollBody.ts":{"bytes":1632,"imports":[],"format":"esm"},"src/Gallery/shared/motion/limit.ts":{"bytes":527,"imports":[],"format":"esm"},"src/Gallery/shared/motion/scrollLooper.ts":{"bytes":720,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"./limit"},{"path":"./vector1d","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/scrollTarget.ts":{"bytes":2991,"imports":[{"path":"./limit","kind":"import-statement","external":true},{"path":"./vector1d","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/eventStore.ts":{"bytes":542,"imports":[],"format":"esm"},"src/Gallery/shared/motion/animations.ts":{"bytes":1327,"imports":[{"path":"../input/pointerTypes","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"./eventStore"}],"format":"esm"},"src/Gallery/shared/input/pointerTypes.ts":{"bytes":350,"imports":[],"format":"esm"},"src/Gallery/shared/types/axis.ts":{"bytes":1364,"imports":[],"format":"esm"},"src/Gallery/shared/motion/translate.ts":{"bytes":1205,"imports":[{"path":"../types/axis","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/motion/baseLimit.ts":{"bytes":613,"imports":[],"format":"esm"},"src/Gallery/shared/motion/counter.ts":{"bytes":887,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"./limit"}],"format":"esm"},"src/Gallery/shared/motion/scrollBounds.ts":{"bytes":1536,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"./limit"},{"path":"./scrollBody","kind":"import-statement","external":true},{"path":"./vector1d","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/hooks/useWheelLock.ts":{"bytes":884,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/controls/DefaultChevronIcon.tsx":{"bytes":386,"imports":[{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/FullscreenSlider.tsx":{"bytes":60949,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/Fullscreen.module.css","kind":"import-statement","original":"./Fullscreen.module.css"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../shared/input/dragTracker"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollLooper.ts","kind":"import-statement","original":"../shared/motion/scrollLooper"},{"path":"src/Gallery/shared/motion/scrollTarget.ts","kind":"import-statement","original":"../shared/motion/scrollTarget"},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../shared/motion/animations"},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../shared/motion/eventStore"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"src/Gallery/shared/input/pointerTypes.ts","kind":"import-statement","original":"../shared/input/pointerTypes"},{"path":"../shared/input/pointerTypes","kind":"import-statement","external":true},{"path":"src/Gallery/shared/types/axis.ts","kind":"import-statement","original":"../shared/types/axis"},{"path":"src/Gallery/shared/motion/translate.ts","kind":"import-statement","original":"../shared/motion/translate"},{"path":"src/Gallery/shared/motion/baseLimit.ts","kind":"import-statement","original":"../shared/motion/baseLimit"},{"path":"src/Gallery/shared/motion/counter.ts","kind":"import-statement","original":"../shared/motion/counter"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/hooks/useWheelLock.ts","kind":"import-statement","original":"../shared/hooks/useWheelLock"},{"path":"src/Gallery/fullscreen/controls/DefaultChevronIcon.tsx","kind":"import-statement","original":"./controls/DefaultChevronIcon"},{"path":"./types","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../zoomPan/core/dom"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/entries/overlay/FsEntryOverlayMount.tsx":{"bytes":477,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/fullscreenIntro.tsx":{"bytes":19895,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"src/Gallery/shared/transitions/objectPosition.ts","kind":"import-statement","original":"../shared/transitions/objectPosition"},{"path":"src/Gallery/shared/transitions/objectFitTransform.ts","kind":"import-statement","original":"../shared/transitions/objectFitTransform"},{"path":"../api/types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/plyr.ts":{"bytes":2302,"imports":[],"format":"esm"},"src/Gallery/video/usePlyrProps.ts":{"bytes":871,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"./plyr"}],"format":"esm"},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytes":758,"imports":[]},"src/Gallery/shared/lazy/imageLifecycle.ts":{"bytes":3778,"imports":[],"format":"esm"},"src/Gallery/shared/lazy/LazyItemHost.tsx":{"bytes":5997,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/lazy/LazyItemHost.module.css","kind":"import-statement","original":"./LazyItemHost.module.css"},{"path":"src/Gallery/shared/lazy/imageLifecycle.ts","kind":"import-statement","original":"./imageLifecycle"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/index.module.css":{"bytes":1124,"imports":[]},"src/Gallery/video/VideoCloneSnapshot.tsx":{"bytes":5810,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"./plyr"},{"path":"src/Gallery/video/index.module.css","kind":"import-statement","original":"./index.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/LazyPlyr.tsx":{"bytes":719,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"plyr-react","kind":"dynamic-import","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/plyrGuards.ts":{"bytes":2843,"imports":[],"format":"esm"},"src/Gallery/fullscreen/renderFullscreenSlides.tsx":{"bytes":51720,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../video/plyr"},{"path":"src/Gallery/video/VideoCloneSnapshot.tsx","kind":"import-statement","original":"../video/VideoCloneSnapshot"},{"path":"src/Gallery/video/LazyPlyr.tsx","kind":"import-statement","original":"../video/LazyPlyr"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"./types","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/Fullscreen.module.css","kind":"import-statement","original":"./Fullscreen.module.css"},{"path":"src/Gallery/video/plyrGuards.ts","kind":"import-statement","original":"../video/plyrGuards"},{"path":"src/Gallery/shared/lazy/imageLifecycle.ts","kind":"import-statement","original":"../shared/lazy/imageLifecycle"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/transforms.ts":{"bytes":505,"imports":[],"format":"esm"},"src/Gallery/video/fullscreenPlayerStyle.ts":{"bytes":268,"imports":[],"format":"esm"},"src/Gallery/zoomPan/pan/usePanAnimation.ts":{"bytes":1491,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../../shared/motion/animations"}],"format":"esm"},"src/Gallery/zoomPan/pan/usePanDrag.ts":{"bytes":8083,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../../shared/motion/eventStore"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../../shared/input/dragTracker"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/pan/index.ts":{"bytes":251,"imports":[{"path":"src/Gallery/zoomPan/pan/usePanAnimation.ts","kind":"import-statement","original":"./usePanAnimation"},{"path":"src/Gallery/zoomPan/pan/usePanDrag.ts","kind":"import-statement","original":"./usePanDrag"}],"format":"esm"},"src/Gallery/zoomPan/core/rebuildPanBodies.ts":{"bytes":2678,"imports":[{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"./utils"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"./dom"}],"format":"esm"},"src/Gallery/zoomPan/core/boundsForCurrent.ts":{"bytes":1312,"imports":[{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../../shared/motion/scrollBounds"}],"format":"esm"},"src/Gallery/zoomPan/zoom/useGlobalPinchZoom.ts":{"bytes":8563,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/fullscreen/hooks/useWrappedItemsAndRefs.ts":{"bytes":955,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"../../shared/types/media","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/zoomPan/zoom/forceResetZoom.ts":{"bytes":1653,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../../video/plyr"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/zoom/resetZoomForSlideChange.ts":{"bytes":2130,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../../video/plyr"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/zoomPan/pan/resetPanForScale1.ts":{"bytes":3763,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"../../video/plyr"},{"path":"../../shared/motion/vector1d","kind":"import-statement","external":true},{"path":"../../shared/motion/limit","kind":"import-statement","external":true},{"path":"../../shared/motion/scrollBody","kind":"import-statement","external":true},{"path":"../../shared/motion/scrollBounds","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../core/dom"}],"format":"esm"},"src/Gallery/entries/overlay/useFsEntryOverlay.tsx":{"bytes":9191,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"../../fullscreen/fullscreenSliderSub","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/videoSnapshotStore.ts":{"bytes":21586,"imports":[{"path":"src/Gallery/shared/transitions/objectFitTransform.ts","kind":"import-statement","original":"../shared/transitions/objectFitTransform"},{"path":"src/Gallery/shared/transitions/objectPosition.ts","kind":"import-statement","original":"../shared/transitions/objectPosition"}],"format":"esm"},"src/Gallery/fullscreen/FullscreenRuntime.tsx":{"bytes":36173,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/FullscreenModal.tsx","kind":"import-statement","original":"./FullscreenModal"},{"path":"src/Gallery/fullscreen/FullscreenSlider.tsx","kind":"import-statement","original":"./FullscreenSlider"},{"path":"src/Gallery/entries/overlay/FsEntryOverlayMount.tsx","kind":"import-statement","original":"../entries/overlay/FsEntryOverlayMount"},{"path":"../shared/types/media","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/fullscreenIntro.tsx","kind":"import-statement","original":"./fullscreenIntro"},{"path":"./types","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"src/Gallery/video/usePlyrProps.ts","kind":"import-statement","original":"../video/usePlyrProps"},{"path":"src/Gallery/fullscreen/renderFullscreenSlides.tsx","kind":"import-statement","original":"./renderFullscreenSlides"},{"path":"src/Gallery/fullscreen/transforms.ts","kind":"import-statement","original":"./transforms"},{"path":"src/Gallery/video/fullscreenPlayerStyle.ts","kind":"import-statement","original":"../video/fullscreenPlayerStyle"},{"path":"src/Gallery/zoomPan/pan/index.ts","kind":"import-statement","original":"../zoomPan/pan"},{"path":"src/Gallery/zoomPan/core/rebuildPanBodies.ts","kind":"import-statement","original":"../zoomPan/core/rebuildPanBodies"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/types/axis.ts","kind":"import-statement","original":"../shared/types/axis"},{"path":"../shared/motion/animations","kind":"import-statement","external":true},{"path":"src/Gallery/zoomPan/core/boundsForCurrent.ts","kind":"import-statement","original":"../zoomPan/core/boundsForCurrent"},{"path":"src/Gallery/zoomPan/zoom/useGlobalPinchZoom.ts","kind":"import-statement","original":"../zoomPan/zoom/useGlobalPinchZoom"},{"path":"src/Gallery/fullscreen/hooks/useWrappedItemsAndRefs.ts","kind":"import-statement","original":"./hooks/useWrappedItemsAndRefs"},{"path":"src/Gallery/zoomPan/zoom/forceResetZoom.ts","kind":"import-statement","original":"../zoomPan/zoom/forceResetZoom"},{"path":"src/Gallery/zoomPan/zoom/resetZoomForSlideChange.ts","kind":"import-statement","original":"../zoomPan/zoom/resetZoomForSlideChange"},{"path":"src/Gallery/zoomPan/pan/resetPanForScale1.ts","kind":"import-statement","original":"../zoomPan/pan/resetPanForScale1"},{"path":"src/Gallery/entries/overlay/useFsEntryOverlay.tsx","kind":"import-statement","original":"../entries/overlay/useFsEntryOverlay"},{"path":"src/Gallery/zoomPan/core/utils.ts","kind":"import-statement","original":"../zoomPan/core/utils"},{"path":"src/Gallery/zoomPan/zoom/zoomTo.ts","kind":"import-statement","original":"../zoomPan/zoom/zoomTo"},{"path":"src/Gallery/zoomPan/core/dom.ts","kind":"import-statement","original":"../zoomPan/core/dom"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/video/videoSnapshotStore.ts","kind":"import-statement","original":"../video/videoSnapshotStore"},{"path":"../api/types","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/entryOwnerReady.ts","kind":"import-statement","original":"./entryOwnerReady"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreen/index.tsx":{"bytes":21316,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"src/Gallery/fullscreen/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/fullscreen/fullscreenSliderSub.tsx","kind":"import-statement","original":"./fullscreenSliderSub"},{"path":"src/Gallery/fullscreen/gestureShield.ts","kind":"import-statement","original":"./gestureShield"},{"path":"src/Gallery/zoomPan/zoom/handleZoomToggle.ts","kind":"import-statement","original":"../zoomPan/zoom/handleZoomToggle"},{"path":"src/Gallery/shared/hooks/useWindowSize.ts","kind":"import-statement","original":"../shared/hooks/useWindowSize"},{"path":"src/Gallery/fullscreen/FullscreenRuntime.tsx","kind":"import-statement","original":"./FullscreenRuntime"},{"path":"src/Gallery/fullscreen/Fullscreen.module.css","kind":"import-statement","original":"./Fullscreen.module.css"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/fullscreen.ts":{"bytes":311,"imports":[{"path":"src/Gallery/fullscreen/index.tsx","kind":"import-statement","original":"./Gallery/fullscreen"},{"path":"src/Gallery/fullscreen/defaults.ts","kind":"import-statement","original":"./Gallery/fullscreen/defaults"}],"format":"esm"},"src/Gallery/thumbnails/Thumbnails.module.css":{"bytes":1229,"imports":[]},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytes":1440,"imports":[]},"src/Gallery/slider/sliderSub.tsx":{"bytes":2064,"imports":[{"path":"../api/types","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/thumbnails/controls/arrows.tsx":{"bytes":6953,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/hooks/useInViewOnce.ts":{"bytes":3651,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/thumbnails/ThumbnailSlider.tsx":{"bytes":59439,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/thumbnails/ThumbnailSlider.module.css","kind":"import-statement","original":"./ThumbnailSlider.module.css"},{"path":"../api/types","kind":"import-statement","external":true},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"../slider/sliderSub"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../shared/input/dragTracker"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollLooper.ts","kind":"import-statement","original":"../shared/motion/scrollLooper"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/motion/scrollTarget.ts","kind":"import-statement","original":"../shared/motion/scrollTarget"},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../shared/motion/animations"},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../shared/motion/eventStore"},{"path":"./types","kind":"import-statement","external":true},{"path":"../shared/types/controls","kind":"import-statement","external":true},{"path":"../shared/responsive","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/counter.ts","kind":"import-statement","original":"../shared/motion/counter"},{"path":"src/Gallery/shared/motion/baseLimit.ts","kind":"import-statement","original":"../shared/motion/baseLimit"},{"path":"src/Gallery/thumbnails/controls/arrows.tsx","kind":"import-statement","original":"./controls/arrows"},{"path":"src/Gallery/shared/input/pointerTypes.ts","kind":"import-statement","original":"../shared/input/pointerTypes"},{"path":"../shared/input/pointerTypes","kind":"import-statement","external":true},{"path":"src/Gallery/shared/types/axis.ts","kind":"import-statement","original":"../shared/types/axis"},{"path":"src/Gallery/shared/motion/translate.ts","kind":"import-statement","original":"../shared/motion/translate"},{"path":"src/Gallery/shared/hooks/useWheelLock.ts","kind":"import-statement","original":"../shared/hooks/useWheelLock"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/thumbnails/defaults.ts":{"bytes":452,"imports":[],"format":"esm"},"src/Gallery/shared/hooks/useViewportWidth.ts":{"bytes":482,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts":{"bytes":1352,"imports":[{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../responsive"}],"format":"esm"},"src/Gallery/thumbnails/syncBridge.ts":{"bytes":4553,"imports":[],"format":"esm"},"src/Gallery/thumbnails/index.tsx":{"bytes":14137,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/thumbnails/Thumbnails.module.css","kind":"import-statement","original":"./Thumbnails.module.css"},{"path":"src/Gallery/thumbnails/ThumbnailSlider.tsx","kind":"import-statement","original":"./ThumbnailSlider"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"../slider/sliderSub"},{"path":"src/Gallery/thumbnails/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useViewportWidth.ts","kind":"import-statement","original":"../shared/hooks/useViewportWidth"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts","kind":"import-statement","original":"../shared/skeleton/buildScopedSkeletonCountCss"},{"path":"src/Gallery/thumbnails/syncBridge.ts","kind":"import-statement","original":"./syncBridge"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreenThumbnails/syncBridge.ts":{"bytes":3130,"imports":[],"format":"esm"},"src/Gallery/fullscreenThumbnails/FullscreenThumbnailSlider.tsx":{"bytes":7351,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-dom","kind":"import-statement","external":true},{"path":"src/Gallery/thumbnails/index.tsx","kind":"import-statement","original":"../thumbnails"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"../slider/sliderSub"},{"path":"src/Gallery/fullscreenThumbnails/syncBridge.ts","kind":"import-statement","original":"./syncBridge"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/fullscreenThumbnails/index.tsx":{"bytes":222,"imports":[{"path":"src/Gallery/fullscreenThumbnails/FullscreenThumbnailSlider.tsx","kind":"import-statement","original":"./FullscreenThumbnailSlider"}],"format":"esm"},"src/fullscreenThumbnails.ts":{"bytes":281,"imports":[{"path":"src/Gallery/fullscreenThumbnails/index.tsx","kind":"import-statement","original":"./Gallery/fullscreenThumbnails"}],"format":"esm"},"src/Gallery/grid/Grid.module.css":{"bytes":3604,"imports":[]},"src/Gallery/shared/hooks/useMediaReady.ts":{"bytes":2095,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/GridSkeleton.tsx":{"bytes":15568,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/grid/Grid.module.css","kind":"import-statement","original":"./Grid.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/GridLayout.tsx":{"bytes":16021,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/grid/Grid.module.css","kind":"import-statement","original":"./Grid.module.css"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"src/Gallery/shared/hooks/useMediaReady.ts","kind":"import-statement","original":"../shared/hooks/useMediaReady"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/grid/GridSkeleton.tsx","kind":"import-statement","original":"./GridSkeleton"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"./types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/defaults.ts":{"bytes":160,"imports":[{"path":"./types","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/grid/index.tsx":{"bytes":4965,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/grid/GridLayout.tsx","kind":"import-statement","original":"./GridLayout"},{"path":"src/Gallery/grid/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useViewportWidth.ts","kind":"import-statement","original":"../shared/hooks/useViewportWidth"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/grid.ts":{"bytes":194,"imports":[{"path":"src/Gallery/grid/index.tsx","kind":"import-statement","original":"./Gallery/grid"},{"path":"src/Gallery/grid/defaults.ts","kind":"import-statement","original":"./Gallery/grid/defaults"}],"format":"esm"},"src/Gallery/slider/Slider.module.css":{"bytes":5196,"imports":[]},"src/Gallery/shared/slideContext.tsx":{"bytes":706,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/effects/useParallaxEffect.ts":{"bytes":4428,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/effects/useScaleEffect.ts":{"bytes":4495,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/effects/useFadeEffect.ts":{"bytes":3882,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/controls/arrows.tsx":{"bytes":6953,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/controls/dots.tsx":{"bytes":4603,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"../../shared/types/controls","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/controls/progress.tsx":{"bytes":5868,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"../../shared/types/controls","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/shared/slideStoreBag.ts":{"bytes":978,"imports":[],"format":"esm"},"src/Gallery/slider/Slider.tsx":{"bytes":106093,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/slider/Slider.module.css","kind":"import-statement","original":"./Slider.module.css"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./sliderSub"},{"path":"src/Gallery/shared/input/pointerTypes.ts","kind":"import-statement","original":"../shared/input/pointerTypes"},{"path":"src/Gallery/shared/input/dragTracker.ts","kind":"import-statement","original":"../shared/input/dragTracker"},{"path":"src/Gallery/shared/motion/vector1d.ts","kind":"import-statement","original":"../shared/motion/vector1d"},{"path":"src/Gallery/shared/motion/scrollBody.ts","kind":"import-statement","original":"../shared/motion/scrollBody"},{"path":"src/Gallery/shared/motion/limit.ts","kind":"import-statement","original":"../shared/motion/limit"},{"path":"src/Gallery/shared/motion/scrollLooper.ts","kind":"import-statement","original":"../shared/motion/scrollLooper"},{"path":"src/Gallery/shared/motion/scrollBounds.ts","kind":"import-statement","original":"../shared/motion/scrollBounds"},{"path":"src/Gallery/shared/motion/scrollTarget.ts","kind":"import-statement","original":"../shared/motion/scrollTarget"},{"path":"src/Gallery/shared/motion/eventStore.ts","kind":"import-statement","original":"../shared/motion/eventStore"},{"path":"src/Gallery/shared/motion/animations.ts","kind":"import-statement","original":"../shared/motion/animations"},{"path":"src/Gallery/shared/slideContext.tsx","kind":"import-statement","original":"../shared/slideContext"},{"path":"./types","kind":"import-statement","external":true},{"path":"../shared/types/controls","kind":"import-statement","external":true},{"path":"../fullscreen/types","kind":"import-statement","external":true},{"path":"../shared/responsive","kind":"import-statement","external":true},{"path":"../api/types","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/counter.ts","kind":"import-statement","original":"../shared/motion/counter"},{"path":"src/Gallery/fullscreen/gestureShield.ts","kind":"import-statement","original":"../fullscreen/gestureShield"},{"path":"src/Gallery/slider/effects/useParallaxEffect.ts","kind":"import-statement","original":"./effects/useParallaxEffect"},{"path":"src/Gallery/slider/effects/useScaleEffect.ts","kind":"import-statement","original":"./effects/useScaleEffect"},{"path":"src/Gallery/slider/effects/useFadeEffect.ts","kind":"import-statement","original":"./effects/useFadeEffect"},{"path":"src/Gallery/shared/motion/baseLimit.ts","kind":"import-statement","original":"../shared/motion/baseLimit"},{"path":"src/Gallery/slider/controls/arrows.tsx","kind":"import-statement","original":"./controls/arrows"},{"path":"src/Gallery/slider/controls/dots.tsx","kind":"import-statement","original":"./controls/dots"},{"path":"src/Gallery/slider/controls/progress.tsx","kind":"import-statement","original":"./controls/progress"},{"path":"../shared/input/pointerTypes","kind":"import-statement","external":true},{"path":"../shared/types/axis","kind":"import-statement","external":true},{"path":"src/Gallery/shared/motion/translate.ts","kind":"import-statement","original":"../shared/motion/translate"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/shared/hooks/useWheelLock.ts","kind":"import-statement","original":"../shared/hooks/useWheelLock"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"src/Gallery/shared/slideStoreBag.ts","kind":"import-statement","original":"../shared/slideStoreBag"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/defaults.ts":{"bytes":858,"imports":[],"format":"esm"},"src/Gallery/slider/SliderSkeleton.tsx":{"bytes":23420,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/slider/Slider.module.css","kind":"import-statement","original":"./Slider.module.css"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/slider/index.tsx":{"bytes":24552,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/slider/Slider.module.css","kind":"import-statement","original":"./Slider.module.css"},{"path":"src/Gallery/slider/Slider.tsx","kind":"import-statement","original":"./Slider"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./sliderSub"},{"path":"src/Gallery/slider/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/shared/hooks/useViewportWidth.ts","kind":"import-statement","original":"../shared/hooks/useViewportWidth"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts","kind":"import-statement","original":"../shared/skeleton/buildScopedSkeletonCountCss"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/slider/SliderSkeleton.tsx","kind":"import-statement","original":"./SliderSkeleton"},{"path":"src/Gallery/slider/SliderSkeleton.tsx","kind":"import-statement","original":"./SliderSkeleton"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/defaults.ts":{"bytes":148,"imports":[{"path":"./types","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/Masonry.module.css":{"bytes":3086,"imports":[]},"src/Gallery/masonry/Masonry.tsx":{"bytes":6855,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/MasonrySkeleton.tsx":{"bytes":11334,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/MasonryLayout.tsx":{"bytes":7051,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/masonry/Masonry.module.css","kind":"import-statement","original":"./Masonry.module.css"},{"path":"src/Gallery/shared/hooks/useInViewOnce.ts","kind":"import-statement","original":"../shared/hooks/useInViewOnce"},{"path":"src/Gallery/shared/hooks/useMediaReady.ts","kind":"import-statement","original":"../shared/hooks/useMediaReady"},{"path":"src/Gallery/shared/hooks/usePrefersReducedMotion.ts","kind":"import-statement","original":"../shared/hooks/usePrefersReducedMotion"},{"path":"src/Gallery/shared/lazy/LazyItemHost.tsx","kind":"import-statement","original":"../shared/lazy/LazyItemHost"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/masonry/Masonry.tsx","kind":"import-statement","original":"./Masonry"},{"path":"src/Gallery/masonry/MasonrySkeleton.tsx","kind":"import-statement","original":"./MasonrySkeleton"},{"path":"./types","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/buildMasonryChildren.tsx":{"bytes":3146,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/masonry/index.tsx":{"bytes":5865,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"../shared/responsive"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"src/Gallery/masonry/defaults.ts","kind":"import-statement","original":"./defaults"},{"path":"src/Gallery/masonry/MasonryLayout.tsx","kind":"import-statement","original":"./MasonryLayout"},{"path":"src/Gallery/masonry/buildMasonryChildren.tsx","kind":"import-statement","original":"./buildMasonryChildren"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/Gallery/video/index.tsx":{"bytes":23218,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/Gallery/video/LazyPlyr.tsx","kind":"import-statement","original":"./LazyPlyr"},{"path":"src/Gallery/video/VideoCloneSnapshot.tsx","kind":"import-statement","original":"./VideoCloneSnapshot"},{"path":"src/Gallery/shared/slideContext.tsx","kind":"import-statement","original":"../shared/slideContext"},{"path":"src/Gallery/video/plyr.ts","kind":"import-statement","original":"./plyr"},{"path":"src/Gallery/video/videoSnapshotStore.ts","kind":"import-statement","original":"./videoSnapshotStore"},{"path":"src/Gallery/video/plyrGuards.ts","kind":"import-statement","original":"./plyrGuards"},{"path":"src/Gallery/video/index.module.css","kind":"import-statement","original":"./index.module.css"},{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"../core"},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":2486,"imports":[{"path":"src/Gallery/core/index.tsx","kind":"import-statement","original":"./Gallery/core"},{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"},{"path":"src/Gallery/fullscreen/index.tsx","kind":"import-statement","original":"./Gallery/fullscreen"},{"path":"src/Gallery/fullscreenThumbnails/index.tsx","kind":"import-statement","original":"./Gallery/fullscreenThumbnails"},{"path":"src/Gallery/slider/index.tsx","kind":"import-statement","original":"./Gallery/slider"},{"path":"src/Gallery/grid/index.tsx","kind":"import-statement","original":"./Gallery/grid"},{"path":"src/Gallery/masonry/index.tsx","kind":"import-statement","original":"./Gallery/masonry"},{"path":"src/Gallery/thumbnails/index.tsx","kind":"import-statement","original":"./Gallery/thumbnails"},{"path":"src/Gallery/video/index.tsx","kind":"import-statement","original":"./Gallery/video"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./Gallery/slider/sliderSub"},{"path":"src/Gallery/thumbnails/syncBridge.ts","kind":"import-statement","original":"./Gallery/thumbnails/syncBridge"},{"path":"src/Gallery/shared/types/media.ts","kind":"import-statement","original":"./Gallery/shared/types/media"},{"path":"src/Gallery/shared/responsive.ts","kind":"import-statement","original":"./Gallery/shared/responsive"},{"path":"src/Gallery/slider/defaults.ts","kind":"import-statement","original":"./Gallery/slider/defaults"},{"path":"src/Gallery/grid/defaults.ts","kind":"import-statement","original":"./Gallery/grid/defaults"},{"path":"src/Gallery/masonry/defaults.ts","kind":"import-statement","original":"./Gallery/masonry/defaults"},{"path":"src/Gallery/entries/index.tsx","kind":"import-statement","original":"./Gallery/entries"},{"path":"src/Gallery/fullscreen/defaults.ts","kind":"import-statement","original":"./Gallery/fullscreen/defaults"},{"path":"src/Gallery/thumbnails/defaults.ts","kind":"import-statement","original":"./Gallery/thumbnails/defaults"}],"format":"esm"},"src/masonry.ts":{"bytes":215,"imports":[{"path":"src/Gallery/masonry/index.tsx","kind":"import-statement","original":"./Gallery/masonry"},{"path":"src/Gallery/masonry/defaults.ts","kind":"import-statement","original":"./Gallery/masonry/defaults"}],"format":"esm"},"src/slider.ts":{"bytes":415,"imports":[{"path":"src/Gallery/slider/index.tsx","kind":"import-statement","original":"./Gallery/slider"},{"path":"src/Gallery/slider/sliderSub.tsx","kind":"import-statement","original":"./Gallery/slider/sliderSub"},{"path":"src/Gallery/slider/defaults.ts","kind":"import-statement","original":"./Gallery/slider/defaults"}],"format":"esm"},"src/thumbnails.ts":{"bytes":669,"imports":[{"path":"src/Gallery/thumbnails/index.tsx","kind":"import-statement","original":"./Gallery/thumbnails"},{"path":"src/Gallery/thumbnails/defaults.ts","kind":"import-statement","original":"./Gallery/thumbnails/defaults"},{"path":"src/Gallery/thumbnails/syncBridge.ts","kind":"import-statement","original":"./Gallery/thumbnails/syncBridge"}],"format":"esm"},"src/video.ts":{"bytes":191,"imports":[{"path":"src/Gallery/video/index.tsx","kind":"import-statement","original":"./Gallery/video"}],"format":"esm"}},"outputs":{"dist/thumbnails.mjs":{"imports":[{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_THUMBNAILS","ThumbnailSlider","createThumbnailSyncBridge","default"],"entryPoint":"src/thumbnails.ts","cssBundle":"dist/thumbnails.css","inputs":{"src/thumbnails.ts":{"bytesInOutput":0}},"bytes":356},"dist/video.mjs":{"imports":[{"path":"dist/chunk-AIBV3SQA.mjs","kind":"import-statement"},{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["Video","default"],"entryPoint":"src/video.ts","cssBundle":"dist/video.css","inputs":{"src/video.ts":{"bytesInOutput":0}},"bytes":219},"dist/core.mjs":{"imports":[{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["GalleryCore","GalleryCoreProvider","useGalleryCore"],"entryPoint":"src/core.ts","inputs":{"src/core.ts":{"bytesInOutput":0}},"bytes":155},"dist/entries.mjs":{"imports":[{"path":"dist/chunk-CAYO7NIA.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_ENTRIES","Entries","EntryList","default","flattenEntries","nodeFromMediaDefault","useEntryDecodeReady","useEntryInView","useNormalizedEntriesIntro","useNormalizedEntriesLoading"],"entryPoint":"src/entries.ts","cssBundle":"dist/entries.css","inputs":{"src/entries.ts":{"bytesInOutput":0}},"bytes":410},"dist/fullscreen.mjs":{"imports":[{"path":"dist/chunk-6RH3RCIQ.mjs","kind":"import-statement"},{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_FULLSCREEN","useFullscreenController"],"entryPoint":"src/fullscreen.ts","cssBundle":"dist/fullscreen.css","inputs":{"src/fullscreen.ts":{"bytesInOutput":0}},"bytes":313},"dist/fullscreenThumbnails.mjs":{"imports":[{"path":"dist/chunk-O6MJXVAN.mjs","kind":"import-statement"},{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["FullscreenThumbnailSlider","default"],"entryPoint":"src/fullscreenThumbnails.ts","cssBundle":"dist/fullscreenThumbnails.css","inputs":{"src/fullscreenThumbnails.ts":{"bytesInOutput":0}},"bytes":326},"dist/grid.mjs":{"imports":[{"path":"dist/chunk-CROFW72U.mjs","kind":"import-statement"},{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_GRID","Grid","default"],"entryPoint":"src/grid.ts","cssBundle":"dist/grid.css","inputs":{"src/grid.ts":{"bytesInOutput":0}},"bytes":301},"dist/index.mjs":{"imports":[{"path":"dist/chunk-AIBV3SQA.mjs","kind":"import-statement"},{"path":"dist/chunk-CAYO7NIA.mjs","kind":"import-statement"},{"path":"dist/chunk-6RH3RCIQ.mjs","kind":"import-statement"},{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-O6MJXVAN.mjs","kind":"import-statement"},{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-CROFW72U.mjs","kind":"import-statement"},{"path":"dist/chunk-YF74WH6U.mjs","kind":"import-statement"},{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-PGV37QM3.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["BREAKPOINT_MAP","DEFAULT_ENTRIES","DEFAULT_FULLSCREEN","DEFAULT_GRID","DEFAULT_MASONRY","DEFAULT_SLIDER","DEFAULT_THUMBNAILS","Entries","FullscreenThumbnailSlider","GalleryCore","Grid","Masonry","Slider","ThumbnailSlider","Video","createSliderIndexChannel","createThumbnailSyncBridge","flattenEntries","toMediaItems","useFullscreenController","useGalleryCore"],"entryPoint":"src/index.ts","cssBundle":"dist/index.css","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":1239},"dist/chunk-AIBV3SQA.mjs":{"imports":[{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/video/index.tsx":{"bytesInOutput":9500}},"bytes":9681},"dist/chunk-CAYO7NIA.mjs":{"imports":[{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h","i"],"inputs":{"src/Gallery/entries/defaults.ts":{"bytesInOutput":30},"src/Gallery/entries/hooks/useEntryInView.ts":{"bytesInOutput":2954},"src/Gallery/entries/hooks/useEntryDecodeReady.ts":{"bytesInOutput":1683},"src/Gallery/entries/normalize.ts":{"bytesInOutput":898},"src/Gallery/entries/components/EntryList.tsx":{"bytesInOutput":3930},"src/Gallery/entries/Entries.module.css":{"bytesInOutput":257},"src/Gallery/entries/components/EntrySkeleton.tsx":{"bytesInOutput":5488},"src/Gallery/entries/index.tsx":{"bytesInOutput":2329}},"bytes":17742},"dist/chunk-6RH3RCIQ.mjs":{"imports":[{"path":"dist/chunk-KTP7SA7V.mjs","kind":"import-statement"},{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/fullscreen/defaults.ts":{"bytesInOutput":529},"src/Gallery/fullscreen/index.tsx":{"bytesInOutput":7014},"src/Gallery/fullscreen/fullscreenSliderSub.tsx":{"bytesInOutput":655},"src/Gallery/zoomPan/core/utils.ts":{"bytesInOutput":622},"src/Gallery/zoomPan/core/dom.ts":{"bytesInOutput":918},"src/Gallery/zoomPan/zoom/zoomTo.ts":{"bytesInOutput":2423},"src/Gallery/zoomPan/zoom/handleZoomToggle.ts":{"bytesInOutput":2260},"src/Gallery/shared/hooks/useWindowSize.ts":{"bytesInOutput":371},"src/Gallery/fullscreen/FullscreenRuntime.tsx":{"bytesInOutput":13586},"src/Gallery/fullscreen/FullscreenModal.tsx":{"bytesInOutput":16642},"src/Gallery/fullscreen/controls/DefaultCloseIcon.tsx":{"bytesInOutput":390},"src/Gallery/fullscreen/controls/DefaultCounterText.tsx":{"bytesInOutput":116},"src/Gallery/fullscreen/entryOwnerReady.ts":{"bytesInOutput":1023},"src/Gallery/fullscreen/FullscreenSlider.tsx":{"bytesInOutput":21931},"src/Gallery/fullscreen/Fullscreen.module.css":{"bytesInOutput":198},"src/Gallery/fullscreen/controls/DefaultChevronIcon.tsx":{"bytesInOutput":321},"src/Gallery/entries/overlay/FsEntryOverlayMount.tsx":{"bytesInOutput":200},"src/Gallery/fullscreen/fullscreenIntro.tsx":{"bytesInOutput":8211},"src/Gallery/video/usePlyrProps.ts":{"bytesInOutput":184},"src/Gallery/fullscreen/renderFullscreenSlides.tsx":{"bytesInOutput":18780},"src/Gallery/fullscreen/transforms.ts":{"bytesInOutput":196},"src/Gallery/video/fullscreenPlayerStyle.ts":{"bytesInOutput":152},"src/Gallery/zoomPan/pan/usePanAnimation.ts":{"bytesInOutput":744},"src/Gallery/zoomPan/pan/usePanDrag.ts":{"bytesInOutput":3453},"src/Gallery/zoomPan/pan/index.ts":{"bytesInOutput":34},"src/Gallery/zoomPan/core/rebuildPanBodies.ts":{"bytesInOutput":1000},"src/Gallery/zoomPan/core/boundsForCurrent.ts":{"bytesInOutput":377},"src/Gallery/zoomPan/zoom/useGlobalPinchZoom.ts":{"bytesInOutput":3068},"src/Gallery/fullscreen/hooks/useWrappedItemsAndRefs.ts":{"bytesInOutput":271},"src/Gallery/zoomPan/zoom/forceResetZoom.ts":{"bytesInOutput":543},"src/Gallery/zoomPan/zoom/resetZoomForSlideChange.ts":{"bytesInOutput":727},"src/Gallery/zoomPan/pan/resetPanForScale1.ts":{"bytesInOutput":996},"src/Gallery/entries/overlay/useFsEntryOverlay.tsx":{"bytesInOutput":3108}},"bytes":111624},"dist/chunk-KTP7SA7V.mjs":{"imports":[{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"plyr-react","kind":"dynamic-import","external":true}],"exports":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o"],"inputs":{"src/Gallery/video/plyr.ts":{"bytesInOutput":775},"src/Gallery/video/index.module.css":{"bytesInOutput":66},"src/Gallery/video/VideoCloneSnapshot.tsx":{"bytesInOutput":2629},"src/Gallery/video/LazyPlyr.tsx":{"bytesInOutput":394},"src/Gallery/video/plyrGuards.ts":{"bytesInOutput":1246},"src/Gallery/shared/transitions/objectFitTransform.ts":{"bytesInOutput":706},"src/Gallery/shared/transitions/objectPosition.ts":{"bytesInOutput":559},"src/Gallery/video/videoSnapshotStore.ts":{"bytesInOutput":9089}},"bytes":15637},"dist/chunk-O6MJXVAN.mjs":{"imports":[{"path":"dist/chunk-KN72Q6DM.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/fullscreenThumbnails/FullscreenThumbnailSlider.tsx":{"bytesInOutput":2907},"src/Gallery/fullscreenThumbnails/syncBridge.ts":{"bytesInOutput":887},"src/Gallery/fullscreenThumbnails/index.tsx":{"bytesInOutput":0}},"bytes":3895},"dist/chunk-KN72Q6DM.mjs":{"imports":[{"path":"dist/chunk-P2GQPFSL.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d"],"inputs":{"src/Gallery/thumbnails/defaults.ts":{"bytesInOutput":193},"src/Gallery/thumbnails/syncBridge.ts":{"bytesInOutput":1188},"src/Gallery/thumbnails/index.tsx":{"bytesInOutput":5494},"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":209},"src/Gallery/thumbnails/ThumbnailSlider.tsx":{"bytesInOutput":21907},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":83},"src/Gallery/thumbnails/controls/arrows.tsx":{"bytesInOutput":2770}},"bytes":32331},"dist/chunk-P2GQPFSL.mjs":{"imports":[],"exports":["a","b","c"],"inputs":{"src/Gallery/shared/types/axis.ts":{"bytesInOutput":258}},"bytes":283},"dist/chunk-CROFW72U.mjs":{"imports":[{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/grid/defaults.ts":{"bytesInOutput":34},"src/Gallery/grid/index.tsx":{"bytesInOutput":1688},"src/Gallery/grid/GridLayout.tsx":{"bytesInOutput":5430},"src/Gallery/grid/Grid.module.css":{"bytesInOutput":439},"src/Gallery/grid/GridSkeleton.tsx":{"bytesInOutput":6182}},"bytes":14107},"dist/masonry.mjs":{"imports":[{"path":"dist/chunk-YF74WH6U.mjs","kind":"import-statement"},{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_MASONRY","Masonry","default"],"entryPoint":"src/masonry.ts","cssBundle":"dist/masonry.css","inputs":{"src/masonry.ts":{"bytesInOutput":0}},"bytes":278},"dist/chunk-YF74WH6U.mjs":{"imports":[{"path":"dist/chunk-A6MPGIEJ.mjs","kind":"import-statement"},{"path":"dist/chunk-NWU2GBRJ.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/masonry/defaults.ts":{"bytesInOutput":29},"src/Gallery/masonry/index.tsx":{"bytesInOutput":2009},"src/Gallery/masonry/MasonryLayout.tsx":{"bytesInOutput":2439},"src/Gallery/masonry/Masonry.module.css":{"bytesInOutput":351},"src/Gallery/masonry/Masonry.tsx":{"bytesInOutput":2246},"src/Gallery/masonry/MasonrySkeleton.tsx":{"bytesInOutput":4830},"src/Gallery/masonry/buildMasonryChildren.tsx":{"bytesInOutput":954}},"bytes":13154},"dist/chunk-A6MPGIEJ.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/useMediaReady.ts":{"bytesInOutput":930}},"bytes":946},"dist/chunk-NWU2GBRJ.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h","i","j","k"],"inputs":{"src/Gallery/shared/lazy/LazyItemHost.tsx":{"bytesInOutput":2107},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":54},"src/Gallery/shared/lazy/imageLifecycle.ts":{"bytesInOutput":1787}},"bytes":4034},"dist/slider.mjs":{"imports":[{"path":"dist/chunk-PGV37QM3.mjs","kind":"import-statement"},{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["DEFAULT_SLIDER","Slider","createSliderIndexChannel","default"],"entryPoint":"src/slider.ts","cssBundle":"dist/slider.css","inputs":{"src/slider.ts":{"bytesInOutput":0}},"bytes":405},"dist/chunk-PGV37QM3.mjs":{"imports":[{"path":"dist/chunk-YRQVG3MM.mjs","kind":"import-statement"},{"path":"dist/chunk-KZUAS63N.mjs","kind":"import-statement"},{"path":"dist/chunk-H4BEIJAD.mjs","kind":"import-statement"},{"path":"dist/chunk-TZGAHWM7.mjs","kind":"import-statement"},{"path":"dist/chunk-ESF6XBYF.mjs","kind":"import-statement"},{"path":"dist/chunk-EV6ZK4QI.mjs","kind":"import-statement"},{"path":"dist/chunk-X4HEGEZV.mjs","kind":"import-statement"},{"path":"dist/chunk-LVYED5ZM.mjs","kind":"import-statement"},{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/slider/defaults.ts":{"bytesInOutput":543},"src/Gallery/slider/index.tsx":{"bytesInOutput":10504},"src/Gallery/slider/Slider.module.css":{"bytesInOutput":416},"src/Gallery/slider/Slider.tsx":{"bytesInOutput":40758},"src/Gallery/slider/effects/useParallaxEffect.ts":{"bytesInOutput":1672},"src/Gallery/slider/effects/useScaleEffect.ts":{"bytesInOutput":1803},"src/Gallery/slider/effects/useFadeEffect.ts":{"bytesInOutput":1527},"src/Gallery/slider/controls/arrows.tsx":{"bytesInOutput":2748},"src/Gallery/slider/controls/dots.tsx":{"bytesInOutput":1798},"src/Gallery/slider/controls/progress.tsx":{"bytesInOutput":2615},"src/Gallery/shared/slideStoreBag.ts":{"bytesInOutput":234},"src/Gallery/slider/SliderSkeleton.tsx":{"bytesInOutput":9610}},"bytes":74775},"dist/chunk-YRQVG3MM.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b"],"inputs":{"src/Gallery/shared/slideContext.tsx":{"bytesInOutput":203}},"bytes":226},"dist/chunk-KZUAS63N.mjs":{"imports":[],"exports":["a"],"inputs":{"src/Gallery/fullscreen/gestureShield.ts":{"bytesInOutput":398}},"bytes":414},"dist/chunk-H4BEIJAD.mjs":{"imports":[{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"}],"exports":["a","b","c"],"inputs":{"src/Gallery/slider/sliderSub.tsx":{"bytesInOutput":586},"src/Gallery/shared/skeleton/buildScopedSkeletonCountCss.ts":{"bytesInOutput":552}},"bytes":1209},"dist/chunk-TZGAHWM7.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r"],"inputs":{"src/Gallery/shared/input/dragTracker.ts":{"bytesInOutput":1652},"src/Gallery/shared/motion/vector1d.ts":{"bytesInOutput":67},"src/Gallery/shared/motion/scrollBody.ts":{"bytesInOutput":593},"src/Gallery/shared/motion/limit.ts":{"bytesInOutput":243},"src/Gallery/shared/motion/scrollLooper.ts":{"bytesInOutput":208},"src/Gallery/shared/motion/scrollTarget.ts":{"bytesInOutput":948},"src/Gallery/shared/motion/eventStore.ts":{"bytesInOutput":159},"src/Gallery/shared/motion/animations.ts":{"bytesInOutput":428},"src/Gallery/shared/input/pointerTypes.ts":{"bytesInOutput":75},"src/Gallery/shared/motion/translate.ts":{"bytesInOutput":454},"src/Gallery/shared/motion/baseLimit.ts":{"bytesInOutput":228},"src/Gallery/shared/motion/counter.ts":{"bytesInOutput":271},"src/Gallery/shared/motion/scrollBounds.ts":{"bytesInOutput":536},"src/Gallery/shared/hooks/useWheelLock.ts":{"bytesInOutput":363}},"bytes":6373},"dist/chunk-ESF6XBYF.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/useViewportWidth.ts":{"bytesInOutput":276}},"bytes":292},"dist/chunk-EV6ZK4QI.mjs":{"imports":[{"path":"dist/chunk-2AHLR3V4.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["a","b","c","d","e"],"inputs":{"src/Gallery/shared/types/media.ts":{"bytesInOutput":862},"src/Gallery/core/index.tsx":{"bytesInOutput":3398}},"bytes":4349},"dist/chunk-X4HEGEZV.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/useInViewOnce.ts":{"bytesInOutput":1496}},"bytes":1512},"dist/chunk-LVYED5ZM.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true}],"exports":["a"],"inputs":{"src/Gallery/shared/hooks/usePrefersReducedMotion.ts":{"bytesInOutput":542}},"bytes":558},"dist/chunk-2AHLR3V4.mjs":{"imports":[],"exports":["a","b","c","d","e"],"inputs":{"src/Gallery/shared/responsive.ts":{"bytesInOutput":1474}},"bytes":1518},"dist/thumbnails.css":{"imports":[],"inputs":{"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":833},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":1085}},"bytes":1919},"dist/video.css":{"imports":[],"inputs":{"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605},"src/Gallery/video/index.module.css":{"bytesInOutput":759}},"bytes":1365},"dist/entries.css":{"imports":[],"inputs":{"src/Gallery/entries/Entries.module.css":{"bytesInOutput":2009}},"bytes":2010},"dist/fullscreen.css":{"imports":[],"inputs":{"src/Gallery/fullscreen/Fullscreen.module.css":{"bytesInOutput":2113},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605},"src/Gallery/video/index.module.css":{"bytesInOutput":759}},"bytes":3478},"dist/fullscreenThumbnails.css":{"imports":[],"inputs":{"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":833},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":1085}},"bytes":1919},"dist/grid.css":{"imports":[],"inputs":{"src/Gallery/grid/Grid.module.css":{"bytesInOutput":2390},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605}},"bytes":2996},"dist/index.css":{"imports":[],"inputs":{"src/Gallery/entries/Entries.module.css":{"bytesInOutput":2009},"src/Gallery/fullscreen/Fullscreen.module.css":{"bytesInOutput":2113},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605},"src/Gallery/video/index.module.css":{"bytesInOutput":759},"src/Gallery/thumbnails/Thumbnails.module.css":{"bytesInOutput":833},"src/Gallery/thumbnails/ThumbnailSlider.module.css":{"bytesInOutput":1085},"src/Gallery/slider/Slider.module.css":{"bytesInOutput":3792},"src/Gallery/grid/Grid.module.css":{"bytesInOutput":2390},"src/Gallery/masonry/Masonry.module.css":{"bytesInOutput":2196}},"bytes":15783},"dist/masonry.css":{"imports":[],"inputs":{"src/Gallery/masonry/Masonry.module.css":{"bytesInOutput":2196},"src/Gallery/shared/lazy/LazyItemHost.module.css":{"bytesInOutput":605}},"bytes":2802},"dist/slider.css":{"imports":[],"inputs":{"src/Gallery/slider/Slider.module.css":{"bytesInOutput":3792}},"bytes":3793}}}
package/dist/slider.mjs CHANGED
@@ -1 +1 @@
1
- export{a as DEFAULT_SLIDER,b as Slider,b as default}from'./chunk-3C4GJIYN.mjs';import'./chunk-YRQVG3MM.mjs';import'./chunk-KZUAS63N.mjs';export{a as createSliderIndexChannel}from'./chunk-H4BEIJAD.mjs';import'./chunk-TZGAHWM7.mjs';import'./chunk-ESF6XBYF.mjs';import'./chunk-EV6ZK4QI.mjs';import'./chunk-X4HEGEZV.mjs';import'./chunk-LVYED5ZM.mjs';import'./chunk-2AHLR3V4.mjs';
1
+ export{a as DEFAULT_SLIDER,b as Slider,b as default}from'./chunk-PGV37QM3.mjs';import'./chunk-YRQVG3MM.mjs';import'./chunk-KZUAS63N.mjs';export{a as createSliderIndexChannel}from'./chunk-H4BEIJAD.mjs';import'./chunk-TZGAHWM7.mjs';import'./chunk-ESF6XBYF.mjs';import'./chunk-EV6ZK4QI.mjs';import'./chunk-X4HEGEZV.mjs';import'./chunk-LVYED5ZM.mjs';import'./chunk-2AHLR3V4.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-motion-gallery",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "React Motion Gallery - smooth, customizable media gallery components",
5
5
  "license": "PolyForm-Noncommercial-1.0.0",
6
6
  "author": "React Motion Gallery",
@@ -1,59 +0,0 @@
1
- import {a as a$5}from'./chunk-YRQVG3MM.mjs';import {a as a$1}from'./chunk-KZUAS63N.mjs';import {b,c as c$2}from'./chunk-H4BEIJAD.mjs';import {r,b as b$1,o,l,d,n,f,e as e$1,c,q,p,j,i,a as a$6,k,h,g}from'./chunk-TZGAHWM7.mjs';import {a as a$4}from'./chunk-ESF6XBYF.mjs';import {e}from'./chunk-EV6ZK4QI.mjs';import {a}from'./chunk-X4HEGEZV.mjs';import {a as a$2}from'./chunk-LVYED5ZM.mjs';import {a as a$3,c as c$1}from'./chunk-2AHLR3V4.mjs';import*as L from'react';import {forwardRef,useRef,useState,useMemo,useId,useEffect,useCallback,Children,isValidElement,useLayoutEffect,useImperativeHandle,cloneElement}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var ue={layout:{gap:20},direction:{dir:"ltr",axis:"x"},align:"start",scroll:{groupCells:false,skipSnaps:false,freeScroll:false,loop:false},lazyLoad:{enabled:false,spinner:true,spinnerClassName:"",spinnerStyle:{}},controls:{arrows:{enabled:true,arrow:{},prev:{},next:{}},dots:{enabled:true,root:{},dot:{}},progress:{enabled:false,root:{},bar:{}},ripple:{enabled:true,className:""}},auto:{play:{enabled:false,speedMs:3e3,pauseMs:1e3,pauseOnHover:true},scroll:{enabled:false,speedMs:3e3,pauseMs:1e3,pauseOnHover:true}},motion:{selectDuration:25,freeScrollDuration:43,friction:.68}};var F={rtl:"I",track:"n",viewport:"Ii",contentLayer:"Ji",contentBlocked:"Ki",loadingLayer:"J",loadingLayerExit:"Li",fadeInStart:"Mi",fadeInActive:"v",pagination_dot:"o",active:"Ni",inactive:"Oi",ripple:"b",fade_container:"K",spinner:"Pi",rmgSpin:"L",spinnerWrap:"Qi",sliderSkeletonOverlay:"M",sliderSkeletonRow:"Ri",sliderShell:"Si",sliderSkeletonItem:"N",sliderSkeletonGroup:"Ti",sliderSkeleton:"y",rmgShimmer:"O"};var Ca=.2;function Ko(e,r){return (e%r+r)%r}function Xo({enabled:e,wrap:r,axisMain:o,isRtl:s,sliderRef:l,sliderWidthRef:u,offsetLocationRef:c,visibleImagesRef:f,slidesLen:x,clonedLen:S,isReady:H}){let P=L.useRef([]),v=L.useRef([]),C=L.useRef([]),A=L.useCallback(()=>{let E=l.current;if(!E)return;let w=u.current||0,z=[],$=[],K=Array.from(E.children),Y=o==="x"?"offsetLeft":"offsetTop",b=o==="x"?"width":"height",d=o==="x"?E.scrollWidth:E.scrollHeight;for(let I of K){let Z=I.querySelector(".rmg__parallax__layer");if(!Z)continue;let Ae=I[Y],lt=I.getBoundingClientRect()[b],ct=o==="x"&&s?d-(Ae+lt):Ae,Je=w>0?Ko(ct,w)/w:0;z.push(Z),$.push(Je);}P.current=z,v.current=z,C.current=$;},[o,s,l,u]),O=L.useCallback(()=>{let E=C.current.length||1,w=Math.max(f.current||1,1);return Ca*(E/w)},[f]),_=L.useCallback(()=>{let E=l.current,w=u.current||0;if(!E)return 0;let z=-(c.current?.get()??0);if(!r){let K=Math.max(0,w-E.clientWidth);return K<=0?0:Math.min(1,Math.max(0,z/K))}return w<=0?0:Ko(z,w)/w},[l,u,c,r]),N=L.useCallback(()=>{if(!e)return;let E=v.current,w=C.current;if(!E.length||E.length!==w.length)return;let z=_(),$=O();function K(Y,b){let d=Y-b;return d>.5&&(d-=1),d<-0.5&&(d+=1),d}for(let Y=0;Y<E.length;Y++){let b=w[Y],I=(r?K(b,z):b-z)*(-1*$)*100;E[Y].style.transform=o==="x"?`translateX(${I}%)`:`translateY(${I}%)`;}},[e,r,o,_,O]);return L.useEffect(()=>{e&&A();},[e,x,S,r,H,A]),L.useEffect(()=>{e||P.current.forEach(E=>E&&E.removeAttribute("style"));},[e]),L.useEffect(()=>{e&&x&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{N();});});},[e,x,S,r,N,H]),{collectParallaxForAll:A,tweenParallax:N,parallaxNodesRef:v,parallaxSnapsRef:C}}function La(e){return Math.max(0,Math.min(1,e))}function Vo({enabled:e,scaleAmount:r,wrap:o,sliderRef:s,sliderWidthRef:l,offsetLocationRef:u,slidesRef:c,getCenterOffsetForIndex:f,slidesLen:x,clonedLen:S}){let H=L.useCallback(A=>{let O=c.current?.[A];if(!O||!s.current)return 0;let _=f(A);return O.target-_},[c,s,f]),P=L.useCallback(()=>{let A=c.current?.length??0,O=[];for(let _=0;_<A;_++)O.push(H(_));return O},[c,H]),v=L.useCallback(A=>{let O=P(),_=O.length;if(!_)return {iL:0,iR:0,t:0};let N=l.current||0,E=o&&N>0,w=[];for(let I=0;I<_;I++){let Z=O[I];E?(w.push({x:Z-N,i:I}),w.push({x:Z,i:I}),w.push({x:Z+N,i:I})):w.push({x:Z,i:I});}w.sort((I,Z)=>I.x-Z.x);let z=0,$=0;for(let I=0;I<w.length-1;I++){let Z=w[I],Ae=w[I+1];if(A>=Z.x&&A<=Ae.x){z=I,$=I+1;break}}A<w[0].x&&(z=0,$=1),A>w[w.length-1].x&&(z=w.length-2,$=w.length-1);let K=w[z],Y=w[$],b=Math.max(1,Y.x-K.x),d=La((A-K.x)/b);return {iL:K.i,iR:Y.i,t:d}},[P,l,o]),C=L.useCallback(()=>{if(!e||!s.current||!c.current?.length||!r)return;let A=s.current,O=Array.from(A.children),_=-(u.current?.get()??0),{iL:N,iR:E,t:w}=v(_),z=1-w,$=w,K=c.current.length,Y=new Array(K).fill(1);Y[N]=1+(r-1)*z,Y[E]=1+(r-1)*$;for(let b of O){let d=b.getAttribute("data-rmg-idx");if(!d){b.style.setProperty("--rmg-scale","1"),b.style.zIndex="0";continue}let I=Number(d),Z=Y[I]??1;b.style.setProperty("--rmg-scale",String(Z)),b.style.zIndex=Z>1.0001?"1":"0",b.style.transformOrigin||(b.style.transformOrigin="center"),b.style.transition||(b.style.transition="transform 120ms linear");}},[e,s,c,r,u,v]);return L.useEffect(()=>{C();},[e,r,x,S]),L.useEffect(()=>{if(e)return;let A=s.current;if(!A)return;let O=Array.from(A.children);for(let _ of O)_.style.setProperty("--rmg-scale","1"),_.style.zIndex="0";},[e,s]),{applyPairScaleTween:C,getCenters:P}}var Bn=.5;function Ta(e,r,o){let s=Math.abs(e-r);return o>0&&(s=Math.min(s,Math.abs(e-(r-o)),Math.abs(e-(r+o)))),s}function Yo({enabled:e,wrap:r,sliderRef:o,sliderWidthRef:s,offsetLocationRef:l,slidesRef:u,getCenterOffsetForIndex:c,slidesLen:f,clonedLen:x}){let S=L.useCallback(v=>{let C=u.current?.[v];if(!C||!o.current)return 0;let A=c(v);return C.target-A},[u,o,c]),H=L.useCallback(()=>{let v=u.current?.length??0,C=[];for(let A=0;A<v;A++)C.push(S(A));return C},[u,S]),P=L.useCallback(()=>{if(!e||!o.current||!u.current?.length)return;let v=o.current,C=Array.from(v.children),A=-(l.current?.get()??0),O=H(),_=O.length;if(!_)return;let N=s.current||0,E=r&&N>0,w=[];for(let b=0;b<_;b++){let d=O[b];E?(w.push({x:d-N,i:b}),w.push({x:d,i:b}),w.push({x:d+N,i:b})):w.push({x:d,i:b});}w.sort((b,d)=>b.x-d.x);let z=0,$=1;for(let b=0;b<w.length-1;b++){let d=w[b],I=w[b+1];if(A>=d.x&&A<=I.x){z=b,$=b+1;break}}let K=Math.max(1,w[$].x-w[z].x),Y=new Array(_).fill(Bn);for(let b=0;b<_;b++){let d=O[b],I=E?Ta(A,d,N):Math.abs(A-d),Z=Math.max(0,Math.min(1,1-I/K)),Ae=Bn+(1-Bn)*Z;Y[b]=Ae;}for(let b of C){let d=b.getAttribute("data-rmg-idx");if(!d){b.style.opacity="1";continue}let I=Number(d),Z=Y[I]??1;b.style.opacity=String(Z),b.style.transition||(b.style.transition="opacity 120ms linear");}},[e,o,u,l,H,s,r]);return L.useEffect(()=>{P();},[e,f,x,r]),L.useEffect(()=>{if(e)return;let v=o.current;if(!v)return;let C=Array.from(v.children);for(let A of C)A.style.opacity="1";},[e,o]),{applyFadeTween:P,getCenters:H}}function Ea({axisMain:e,direction:r,size:o=32}){let s=jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),l=jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"});return e==="y"?jsx("svg",{viewBox:"0 0 24 24",width:o,height:o,fill:"#000",xmlns:"http://www.w3.org/2000/svg","aria-hidden":true,style:{transform:"rotate(90deg)",transformOrigin:"50% 50%"},children:r==="prev"?s:l}):jsx("svg",{viewBox:"0 0 24 24",width:o,height:o,fill:"#000",xmlns:"http://www.w3.org/2000/svg","aria-hidden":true,children:r==="prev"?s:l})}var Na={position:"absolute",overflow:"hidden",backgroundColor:"rgba(255, 255, 255, 0.75)",boxShadow:"0 0 5px rgba(0, 0, 0, 0.5)",borderRadius:"100%",zIndex:2,width:36,height:36,display:"flex",justifyContent:"center",alignItems:"center",transition:"opacity 120ms"};function Ia(e){return e==="y"?{left:"50%",top:10,transform:"translateX(-50%)"}:{left:10,top:"50%",transform:"translateY(-50%)"}}function Pa(e){return e==="y"?{left:"50%",bottom:10,transform:"translateX(-50%)"}:{right:10,top:"50%",transform:"translateY(-50%)"}}function Uo(e){let{axisMain:r,clientKey:o,wrap:s,isRtl:l,showArrows:u,selectedIndex:c,slideCount:f,measureRef:x,viewportMainSizeRef:S,previous:H,next:P,prevButtonRef:v,nextButtonRef:C,createRipple:A,arrowStyles:O,prevArrowStyles:_,nextArrowStyles:N,arrowClassName:E,prevArrowClassName:w,nextArrowClassName:z,renderPrevArrow:$,renderNextArrow:K,renderArrows:Y}=e,b=!s&&c<=0,d=!s&&c>=Math.max(0,f-1),I=x.current?x.current[o]:0,Z=!(f>1&&x.current&&S.current>I),Ae=!u||Z,lt=Ae||!s&&(l?d:b),ct=Ae||!s&&(l?b:d),Je={...O??{},..._??{}},jt={...O??{},...N??{}},ir=[E,w].filter(Boolean).join(" "),lr=[E,z].filter(Boolean).join(" ");function cr(j,Pe){return ()=>{Pe||requestAnimationFrame(()=>{j==="prev"?H():P();});}}let ut=({dir:j,ref:Pe,onClick:Tt,hidden:Ve,disabled:Rt,className:xt})=>{let He=Rt?.35:1,Et=j==="prev"?Ia(r):Pa(r),dt=j==="prev"?Je:jt;return jsx("div",{ref:Pe,className:`rmgArrow rmgArrow--${j} ${xt??""}`,onClick:Wt=>{Ve||(A(Wt.currentTarget),requestAnimationFrame(()=>Tt()));},style:{...Na,...Et,...dt,cursor:Rt?"default":"pointer",opacity:Ve?0:He,pointerEvents:Ve?"none":"auto",visibility:Ve?"hidden":"visible"},"aria-label":j==="prev"?"Previous slide":"Next slide",role:"button",title:Rt?j==="prev"?"At first slide":"At last slide":j==="prev"?"Previous":"Next",children:jsx(Ea,{axisMain:r,direction:j,size:32})})},et=(j,Pe)=>j==="prev"&&$?$(Pe):j==="next"&&K?K(Pe):Y?Y({...Pe,dir:j}):ut({...Pe,dir:j}),ur=et("prev",{ref:v,hidden:Ae,disabled:lt,onClick:cr("prev",Ae),createRipple:A,className:ir}),St=et("next",{ref:C,hidden:Ae,disabled:ct,onClick:cr("next",Ae),createRipple:A,className:lr});return jsxs(Fragment,{children:[ur,St]})}function _a(e){let{AX:r,slider:o,sliderWidth:s,showDots:l}=e,u=o.current?o.current[r.clientKey]:0,c=!!(o.current&&s.current<=u);return {clientMain:u,dotsAutoHidden:c,dotsHidden:!l||c}}function Oa(e){let{AX:r,createRipple:o,styles:s,dotsContainerStyles:l,dotsStyles:u}=e;return function({ref:f,count:x,activeIndex:S,hidden:H,goTo:P,getDotRef:v,classNameContainer:C,classNameDot:A}){let O=r.main==="y"?{top:"50%",left:10,transform:"translateY(-50%)",flexDirection:"column"}:{left:"50%",bottom:10,transform:"translateX(-50%)",flexDirection:"row"};return jsx("div",{ref:f,className:`rmgDots ${C??""}`,style:{display:"flex",justifyContent:"center",position:"absolute",zIndex:10,background:"rgba(0, 0, 0, 0.5)",padding:r.main==="y"?"8px 4px":"4px 8px",borderRadius:"9999px",cursor:"auto",opacity:H?0:1,pointerEvents:H?"none":"auto",visibility:H?"hidden":"visible",...O,...l||{}},children:Array.from({length:x}).map((_,N)=>{let E=S===N;return jsx("div",{ref:v(N),onMouseDown:w=>{o(w.currentTarget);},onClick:()=>P(N),className:[s.pagination_dot,E?s.active:s.inactive,"rmgDot",A??""].filter(Boolean).join(" "),style:{...u||{}}},N)})})}}function Zo(e){let{AX:r,slider:o,sliderWidth:s,showDots:l,selectedIndex:u,slides:c,dotsContainerRef:f,dotRefs:x,isScrolling:S,goToIndex:H,renderDots:P,createRipple:v,styles:C,dotsContainerStyles:A,dotsStyles:O,dotsContainerClassName:_,dotsClassName:N}=e,{dotsHidden:E}=_a({AX:r,slider:o,sliderWidth:s,showDots:l}),w=Oa({AX:r,createRipple:v,styles:C,dotsContainerStyles:A,dotsStyles:O}),z=(P??w)({ref:f,count:c.current?.length??0,activeIndex:u.current,hidden:E,goTo:$=>{S.current=false,requestAnimationFrame(()=>H($));},getDotRef:$=>K=>{x.current[$]=K;},createRipple:v,classNameContainer:_,classNameDot:N});return {dotsHidden:E,dotsNode:z}}function Ba(e){return Math.max(0,Math.min(1,e))}function or(e){let{AX:r,lastProgressRef:o,progressHolderRef:s,progressInnerRef:l,p:u}=e,c=Ba(u);o.current=c;let f=s.current,x=l.current;f&&(f.style.setProperty("--rmg-progress",String(c)),f.setAttribute("data-rmg-progress",String(c)),f.setAttribute("aria-valuenow",String(Math.round(c*100)))),x&&r.main==="x"?x.style.width=`${c*100}%`:x&&r.main==="y"&&(x.style.height=`${c*100}%`);}function $a(e){let{AX:r,slider:o,sliderWidth:s,wrap:l,offsetLocationRef:u,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x}=e,S=o.current,H=s.current||0;if(!S){or({AX:r,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x,p:0});return}let P=S[r.clientKey];if(l){let v=s.current||0;if(v<=0){or({AX:r,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x,p:0});return}let C=(-(u.current?.get()??0)%v+v)%v;or({AX:r,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x,p:Math.round(C)===Math.round(v)?0:C/v});}else {let v=Math.max(0,H-P);if(v<=0){or({AX:r,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x,p:1});return}let C=-(u.current?.get()??0);or({AX:r,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x,p:Math.min(1,Math.max(0,C/v))});}}function Fa({ref:e,innerRef:r,hidden:o,progress:s,axis:l,className:u,style:c,innerClassName:f,innerStyle:x}){if(o)return null;let S=l==="y";return jsx("div",{ref:e,className:u,style:{position:"absolute",left:S?6:"50%",top:S?"50%":void 0,bottom:S?void 0:6,transform:S?"translateY(-50%)":"translateX(-50%)",width:S?4:"60%",height:S?"60%":4,background:"rgba(0,0,0,0.3)",borderRadius:9999,overflow:"hidden",zIndex:10,pointerEvents:"none","--rmg-progress":s,...c||{}},"aria-hidden":true,"data-rmg-progress":String(s),children:jsx("div",{ref:r,className:f,style:{width:S?"100%":"calc(var(--rmg-progress, 0) * 100%)",height:S?"calc(var(--rmg-progress, 0) * 100%)":"100%",background:"rgb(80,163,255)",transition:"none",...x||{}}})})}function Jo(e){let{AX:r,slider:o,sliderWidth:s,wrap:l,offsetLocationRef:u,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x,showProgress:S,renderProgress:H,progressClassName:P,progressStyle:v,progressInnerClassName:C,progressInnerStyle:A}=e,_=!(S??false)||false,N=(H??Fa)({ref:f,innerRef:x,hidden:_,progress:c.current,axis:r.main,className:P,style:v,innerClassName:C,innerStyle:A});return {progressHidden:_,progressNode:N,setProgressDom:w=>or({AX:r,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x,p:w}),updateProgressInFrame:()=>$a({AX:r,slider:o,sliderWidth:s,wrap:l,offsetLocationRef:u,lastProgressRef:c,progressHolderRef:f,progressInnerRef:x})}}function es(){let e=new Map;return {getOrCreate(r,o,s){let l=e.get(r);if(l)return l.value;let u=o();return e.set(r,{value:u,dispose:s?c=>s(c):void 0}),u},destroyAll(){for(let r of e.values())try{r.dispose?.(r.value);}catch{}e.clear();}}}function Ka(e,r){let o=e??"x";return a$6({ownerWindow:r,axis:{scroll:o,cross:o==="x"?"y":"x"}})}var sr="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",at="data-rmg-lazy-src";function Xa(e,r){return Array.from(e.querySelectorAll(`[data-rmg-slide="true"][data-rmg-idx="${r}"]`))}function Va(e){let r=e.getAttribute("data-rmg-idx"),o=r!=null?parseInt(r,10):NaN;return Number.isFinite(o)?o:null}function ss(e,r){if(!r)return;let o=Va(e);o!=null&&r.add(o);}async function $n(e,r,o){let s=Xa(e,r);if(!s.length)return;let l=s.filter(u=>u.hasAttribute("data-rmg-lazyload")&&u.getAttribute("data-rmg-lazyloaded")!=="true");l.length&&await Promise.all(l.map(async u=>{if(u.getAttribute("data-rmg-lazyloading")!=="true"){u.setAttribute("data-rmg-lazyloading","true");try{await jn(u,o);}finally{u.removeAttribute("data-rmg-lazyloading");}}}));}function Ya(e){e.setAttribute("data-rmg-lazyload",""),e.setAttribute("aria-busy","true"),e.querySelectorAll(`img[src]:not([${at}])`).forEach(s=>{let l=s.getAttribute("src");!l||l===sr||(s.setAttribute(at,l),s.setAttribute("src",sr),s.style.opacity||(s.style.opacity="0"),s.style.transition||(s.style.transition="opacity 220ms ease"));}),e.querySelectorAll(`[${at}]`).forEach(s=>{s instanceof HTMLImageElement?(s.getAttribute("src")||(s.src=sr),s.style.opacity||(s.style.opacity="0"),s.style.transition||(s.style.transition="opacity 220ms ease")):s.style.opacity="0";});}function Ua(e,r){e.setAttribute("data-rmg-lazyload",""),e.setAttribute("data-rmg-lazyloaded","true"),e.removeAttribute("data-rmg-lazyloading"),e.removeAttribute("aria-busy");let o=Array.from(e.querySelectorAll(`[${at}]`));for(let s of o){let l=s.getAttribute(at);l&&(s instanceof HTMLImageElement?(s.src=l,s.style.opacity="1",s.style.transition=s.style.transition||"opacity 220ms ease"):(s.style.backgroundImage=`url("${l}")`,s.style.opacity="1"),s.removeAttribute(at));}e.querySelectorAll("img").forEach(s=>{s.getAttribute("src")&&s.getAttribute("src")!==sr&&(s.style.opacity="1",s.style.transition=s.style.transition||"opacity 220ms ease");}),is(e.querySelector("[data-rmg-spinner]")),ss(e,r);}function Ga(){return new Promise(e=>requestAnimationFrame(()=>e()))}async function Za(e){if(e.complete&&e.naturalWidth>0){let r=e.decode;return typeof r=="function"?r.call(e).catch(()=>{}):Promise.resolve()}return new Promise(r=>{let o=()=>{e.onload=null,e.onerror=null;let s=e.decode;typeof s=="function"?s.call(e).catch(()=>{}).finally(()=>r()):r();};e.onload=o,e.onerror=o;})}async function jn(e,r){if(e.getAttribute("data-rmg-lazyloaded")==="true")return;let o=e.querySelector("[data-rmg-spinner]");o&&ei(o),e.setAttribute("aria-busy","true");let s=Array.from(e.querySelectorAll(`[${at}]`)),l=[];for(let u of s){let c=u.getAttribute(at);c&&(u instanceof HTMLImageElement?(u.style.opacity="0",u.style.transition=u.style.transition||"opacity 220ms ease",u.src=c,l.push(Za(u))):u.style.backgroundImage=`url("${c}")`);}l.length&&await Promise.all(l),await Ga();for(let u of s)u.getAttribute(at)&&(u.removeAttribute(at),u.style.opacity="1");e.setAttribute("data-rmg-lazyloaded","true"),ss(e,r),e.removeAttribute("aria-busy"),o&&is(o);}function Qa(e){return e.querySelector(".plyr")||e.querySelector('[data-rmg-video-snapshot="true"]')||e.querySelector("video")||e.querySelector("iframe")||e.querySelector("[data-plyr-provider], [data-plyr-embed-id]")?"video":"image"}function as(e){return e.type?.rmgMediaKind==="video"}function Ja(e){if(as(e))return "video";if(typeof e.type=="string"){let o=e.type.toLowerCase();return o==="video"||o==="iframe"?"video":"image"}let r=e.props??{};return r.poster||r.source||r.sourceBuilder?"video":"image"}function ei(e){e&&(e.style.setProperty("opacity","1","important"),e.style.setProperty("visibility","visible","important"),e.style.setProperty("pointer-events","none","important"));}function is(e){e&&(e.style.setProperty("opacity","0","important"),e.style.setProperty("visibility","hidden","important"),e.style.setProperty("pointer-events","none","important"));}function ti(e){return {enabled:e?.enabled??false,spinner:e?.spinner??true,spinnerClassName:e?.spinnerClassName,spinnerStyle:e?.spinnerStyle}}function ri(e){let{lazy:r,kind:o,isClone:s}=e;if(!r.enabled)return {render:false,node:null,isCustom:false};let l=r.spinner;return l===false?{render:false,node:null,isCustom:false}:typeof l=="function"?{render:true,node:l({kind:o,isClone:s}),isCustom:true}:l===true||l==null?{render:true,node:null,isCustom:false}:{render:true,node:l,isCustom:true}}function Fn(e,r,o,s,l,u,c,f,x,S,H,P){let v=u!=null?(o%u+u)%u:o,C=Ja(e),A=as(e),O=P?.has(v)??false,_=(b,d)=>{S&&(d?S.current[v]=d:delete S.current[v]);},N={normIdx:v,isClone:!!x,storeBag:H,registerApiByIndex:_},E=c?ri({lazy:c,kind:C,isClone:!!x}):{render:false,node:null,isCustom:false},w=[E.isCustom?F.spinnerWrap:F.spinner,c?.spinnerClassName].filter(Boolean).join(" "),z=c?.enabled&&E.render?E.isCustom?jsx("div",{"data-rmg-spinner":true,className:w,style:c.spinnerStyle,"aria-hidden":"true",children:E.node}):jsx("div",{"data-rmg-spinner":true,className:w,style:c.spinnerStyle,"aria-hidden":"true"}):null,$={"data-rmg-slide":"true","data-rmg-idx":String(v),"data-rmg-rendered-idx":String(o),"data-rmg-kind":C,"data-rmg-clone":x?"true":"false",ref:b=>{if(b&&!s.current.some(d=>d.element===b)&&s.current.push({element:b,index:o}),b&&c?.enabled&&(O?Ua(b,P):Ya(b)),b){let d=Qa(b);b.getAttribute("data-rmg-kind")!==d&&b.setAttribute("data-rmg-kind",d);}},style:{position:"relative",flex:"0 0 auto",...f||{},transform:"scale(var(--rmg-scale, 1))",transformOrigin:"center",userSelect:"none"}},K=e,Y="data-rmg-lazy-src";if(A){let d=(e.props??{}).registerApiByIndex;K=cloneElement(e,{registerApiByIndex:(I,Z)=>{_(I,Z),d?.(I,Z);}});}else if(c?.enabled&&!O&&typeof e.type=="string"&&e.type.toLowerCase()==="img"){let b=e.props||{},d=b.alt??"",I=typeof b.src=="string"?b.src:"";I&&I!==sr&&(K=cloneElement(e,{src:sr,alt:d,[Y]:I,decoding:b.decoding??"async",style:{...b.style||{},opacity:0,transition:b.style?.transition??"opacity 220ms ease"}}));}return l?jsx("div",{...$,className:"rmg__slide",children:jsx(a$5,{value:N,children:jsxs("div",{className:"rmg__parallax",children:[jsx("div",{className:"rmg__parallax__layer",children:K}),z]})})},r):jsx("div",{...$,children:jsxs(a$5,{value:N,children:[K,z]})},r)}var ni=forwardRef(function({children:r$1,cellCount:o$1,isClick:s,expandableImageRefs:l$1,isReady:u,setIsReady:c$1,loop:f$1,freeScroll:x,autoPlay:S,autoPlaySpeed:H,autoPlayPause:P,autoScroll:v,autoScrollSpeed:C,autoScrollPause:A,pauseAutoPlayOnHover:O,pauseAutoScrollOnHover:_,groupCells:N,centerAlign:E,gap:w,sliderViewportStyles:z,sliderViewportClassName:$,sliderContainerStyles:K,sliderContainerClassName:Y,arrowStyles:b$2,arrowClassName:d$1,prevArrowStyles:I,prevArrowClassName:Z,nextArrowStyles:Ae,nextArrowClassName:lt,dotsContainerStyles:ct,dotsContainerClassName:Je,dotsStyles:jt,dotsClassName:ir,renderArrows:lr,renderPrevArrow:cr,renderNextArrow:ut,renderDots:et,showArrows:ur,showDots:St,showProgress:j$1,progressClassName:Pe,progressStyle:Tt,progressInnerClassName:Ve,progressInnerStyle:Rt,renderProgress:xt,parallax:He,parallaxBleedPct:Et,parallaxBorderRadius:dt,parallaxSideWidth:Wt,scaleEffect:tt,scaleAmount:rn,fadeEffect:Nt,cellsPerSlide:ze,direction:nn,axis:Me,skipSnaps:on,selectDuration:ft,freeScrollDuration:dr,sliderFriction:k$1,indexChannel:te,introOptions:G,introUnlocked:oe,lazyLoad:de,rippleEnabled:mt,rippleClassName:rt,sliderImagesReady:Ye,enableFullscreen:Tr,requestFullscreenOpen:Er,isFullscreenOpen:fr,setFullscreenOpen:xs},vs){let q$1=useRef(null),U=useRef([]),qt=useRef(0),he=useRef(0),ws=useRef(0),Zn=useRef(0),vt=useRef(true),De=useRef(null),mr=useRef(null),gr=useRef(null),pr=useRef(null),Kt=useRef([]),Qn=useRef(null),[Ee,Jn]=useState([]),yr=useRef(0),[Nr,ks]=useState(1),[Xt,eo]=useState([]),[br,As]=useState(false),[to,Ms]=useState(false),[T,Cs]=useState(false),Ls=useRef(null),Ts=useRef(null),ro=useRef(0),sn=useRef([]),Ir=useRef(false),hr=useRef(new Set),[je,an]=useState(false),[ln,no]=useState(false),Sr=useRef(0),cn=useRef(-1),We=useRef(null),It=useRef(null),ie=useRef(null),Re=useRef(null),se=useRef(null),un=useRef(null),Ue=useRef(null),qe=useRef(null),wt=useRef(false),Pr=useRef(false),Hr=useRef(false),oo=useRef(false),Ce=useRef(0),so=useRef(0),Es=useRef(0),Ns=useRef(0),gt=useRef(null),kt=useRef(null),Vt=useRef([]),fe=useRef(0),dn=useRef(false),Is=()=>(U.current||[]).map(t=>t.target),Ps=()=>fe.current||0,Hs=useRef(0),fn=useRef(null),Dr=useRef(0),ao=useRef([]),Ds=useRef(0),_s=useRef(null),_r=useRef(null),Yt=useRef(null),pt=useRef(null),Or=useRef(null),Rr=useRef(null),Br="data-rmg-drag",mn=useRef(null),io=useRef(null),$r=useRef(false),Os=useRef(performance.now()-1e3),gn=useRef(0),[lo,Bs]=useState(0),co=useRef(null),[uo,$s]=useState(0),fo=useRef(""),xr=useRef({}),Ut=useMemo(()=>es(),[lo]),mo=useRef(""),Fs=useRef(null),yt=useRef(new Set),At=useRef(null),zs=useMemo(()=>b(),[]),Ne=te??zs,be=nn==="rtl",pn=be?F.rtl:"",Fr=Me==="x"&&be?-1:1,Gt=useId().replace(/:/g,"-"),B=useMemo(()=>({main:Me,cross:Me==="x"?"y":"x",sizeKey:Me==="x"?"width":"height",clientKey:Me==="x"?"clientWidth":"clientHeight",startKey:Me==="x"?"left":"top",endKey:Me==="x"?"right":"bottom",translate:M=>Me==="x"?`translate3d(${M}px,0,0)`:`translate3d(0,${M}px,0)`,place:M=>Me==="x"?`translateX(${M}px) scale(var(--rmg-scale, 1))`:`translateY(${M}px) scale(var(--rmg-scale, 1))`,wheelDelta:M=>Me==="x"?M.deltaX:M.deltaY}),[Me]),go=useMemo(()=>{let t=`#${Gt}`,n=`${t}[data-rmg-fixed-height="true"]`,a=`${t}[data-rmg-fixed-height="false"]`;return `
2
- ${t} .rmg__slide {
3
- position: relative;
4
- overflow: hidden;
5
- border-radius: ${dt};
6
- }
7
-
8
- ${n} .rmg__slide,
9
- ${a} .rmg__slide {
10
- width: ${Wt};
11
- }
12
-
13
- ${n} .rmg__slide {
14
- height: 100%;
15
- }
16
-
17
- ${t} .rmg__parallax {
18
- width: 100%;
19
- }
20
-
21
- ${n} .rmg__parallax,
22
- ${n} .rmg__parallax__layer {
23
- height: 100%;
24
- }
25
-
26
- ${t} .rmg__parallax__layer {
27
- width: 100%;
28
- will-change: transform;
29
- transform: ${Me==="x"?"translateX(0%)":"translateY(0%)"}
30
- }
31
-
32
- ${t} .rmg__parallax__layer > img,
33
- ${t} .rmg__parallax__layer > picture,
34
- ${t} .rmg__parallax__layer > video {
35
- display: block;
36
- width: ${Et};
37
- max-width: none;
38
- margin-left: calc((100% - ${Et}) / 2);
39
- }
40
-
41
- ${n} .rmg__parallax__layer > img,
42
- ${n} .rmg__parallax__layer > picture,
43
- ${n} .rmg__parallax__layer > video {
44
- height: 100%;
45
- object-fit: cover;
46
- }
47
-
48
- ${a} .rmg__parallax__layer > img,
49
- ${a} .rmg__parallax__layer > picture,
50
- ${a} .rmg__parallax__layer > video {
51
- height: auto;
52
- }
53
- `},[Me,Gt,Et,dt,Wt]),vr=e();useEffect(()=>()=>{Ut.destroyAll();},[Ut]);let yn=useRef(new Set),bn=useRef(new Set);useEffect(()=>{if(!Tr)return;let t=mr.current,n=q$1.current;if(!t||!n)return;let a=new IntersectionObserver(m=>{for(let p of m){if(!p.isIntersecting)continue;let g=p.target,y=g.closest('[data-rmg-slide="true"]');if(!y)continue;if(y.getAttribute("data-rmg-clone")==="true"){a.unobserve(g);continue}let M=y.getAttribute("data-rmg-idx"),D=M!=null?parseInt(M,10):NaN;if(!Number.isFinite(D)){a.unobserve(g);continue}if(yn.current.has(D)){a.unobserve(g);continue}yn.current.add(D),vr?.notifyBaseVisibleIndex(D),a.unobserve(g);}},{root:t,rootMargin:"0px",threshold:.1});return Array.from(n.children).filter(m=>{let p=m;return p.getAttribute("data-rmg-slide")==="true"&&p.getAttribute("data-rmg-clone")==="false"}).forEach(m=>{let p=m.querySelector("img");p&&a.observe(p);}),()=>a.disconnect()},[Tr,Ee.length,T,je,vr]),useEffect(()=>{if(!vr||!de?.enabled)return;let t=vr.fsVisibleSub.subscribe(n=>{let a=n?.index;if(typeof a!="number"||!Number.isFinite(a)||bn.current.has(a))return;let i=q$1.current;if(!i)return;let m=i.querySelector(`[data-rmg-slide="true"][data-rmg-clone="false"][data-rmg-idx="${a}"]`);m&&(bn.current.add(a),Wr(a),m.hasAttribute("data-rmg-lazyload")&&m.getAttribute("data-rmg-lazyloaded")!=="true"&&m.getAttribute("data-rmg-lazyloading")!=="true"&&(m.setAttribute("data-rmg-lazyloading","true"),jn(m,yt.current).finally(()=>{m.removeAttribute("data-rmg-lazyloading");})));});return ()=>t?.()},[vr,de?.enabled]);let Zt=Jo({AX:B,slider:q$1,sliderWidth:fe,wrap:T,offsetLocationRef:ie,lastProgressRef:ro,progressHolderRef:Ls,progressInnerRef:Ts,showProgress:j$1,renderProgress:xt,progressClassName:Pe,progressStyle:Tt,progressInnerClassName:Ve,progressInnerStyle:Rt}),js=Zt.progressNode,hn=useMemo(()=>Children.toArray(r$1).map(n=>String(n?.key??"")).join("|"),[r$1]);useEffect(()=>{yn.current.clear(),bn.current.clear(),yt.current.clear();},[o$1,hn]),useEffect(()=>{no(false),an(false),dn.current=false,c$1(false);},[o$1,hn,f$1,Me]);function zr(){let t=q$1.current;if(!t)return [];let n=Array.from(t.children),a=yr.current||0,i=a;return n.slice(a,n.length-i)}function Ws(t){if(!t.length)return [];let n=B.main==="x"?"offsetLeft":"offsetTop",a=t[0],i=a.getBoundingClientRect()[B.sizeKey],m=a[n],p=m+i;return t.map(g=>{let y=g.getBoundingClientRect()[B.sizeKey],M=g[n],D=B.main==="x"&&be?p-(M+y):M-m;return {el:g,start:D,end:D+y,size:y}})}function qs(t,n){if(!t||!n)return 0;let a=t.getBoundingClientRect(),i=n.getBoundingClientRect();return B.main==="y"?i.top-a.top:be?a.right-i.right:i.left-a.left}function Pt(t,n){return Math.max(0,Math.min(n-1,t))}useEffect(()=>{vt.current=T;},[T,vt]);function Ks(t){let n="rmg-drag-style-"+t;if(document.getElementById(n))return;let a=document.createElement("style");a.id=n,a.textContent=`
54
- /* Only while data-rmg-drag is present on this slider root */
55
- #${t}[data-rmg-drag] { cursor: grabbing !important; }
56
- #${t}[data-rmg-drag] * { cursor: grabbing !important; }
57
- `,document.head.appendChild(a);}useEffect(()=>{De.current&&Ks(Gt);},[De.current,Gt]);function wr(t){let n=De.current;if(n){if(t){n.hasAttribute(Br)||n.setAttribute(Br,"");return}n.hasAttribute(Br)&&n.removeAttribute(Br),mn.current=null,io.current?.clear(),io.current=null;}}useEffect(()=>{let t=De.current;if(!t)return;let n=()=>{wt.current&&wr(false);},a=()=>{wt.current&&mn.current!=null&&wr(true);};return t.addEventListener("mouseleave",n,{passive:true}),t.addEventListener("mouseenter",a,{passive:true}),()=>{t.removeEventListener("mouseleave",n),t.removeEventListener("mouseenter",a);}},[]);function jr(t){let n=q$1.current;if(!n||!U.current?.[t]?.cells?.[0]?.element)return 0;let a=n[B.clientKey],i=U.current[t].cells[0].element.getBoundingClientRect()[B.sizeKey];return E?(a-i)/2:0}function Sn(){let t=q$1.current,n=U.current?.length??0;if(!t||!n)return;let a=Ne.get().index??he.current??0,i=Pt(a,n),m=U.current?.[i];if(!m)return;let p=-(m.target??0)+jr(i);We.current?.set(p),It.current?.set(p),ie.current?.set(p),Re.current?.set(p),Ce.current=p,he.current=i,cn.current=i,pt.current?.set(i),Or.current?.set(i),_e(p),j$1&&Zt.updateProgressInFrame(),He&&Ar(),tt&&Xr(),Nt&&Vr(),Mr();}useEffect(()=>{let t=De.current;if(!t)return;let n=()=>{$r.current=true;},a=()=>{$r.current=false;};return t.addEventListener("mouseenter",n),t.addEventListener("mouseleave",a),()=>{t.removeEventListener("mouseenter",n),t.removeEventListener("mouseleave",a);}},[]),useEffect(()=>{let t=window.setInterval(()=>{let n=performance.now();Hr.current||fr||!vt.current||!S||!u||O&&$r.current||n-Os.current<P||(be?vn():wn());},H);return ()=>{window.clearInterval(t);}},[fr,Xt,Ee,vt.current]),useEffect(()=>{let t=performance.now(),n;function a(i){n=requestAnimationFrame(a);let m=i-t;if(t=i,!q$1.current||!vt.current||Hr.current||Pr.current||fr||!v||_&&$r.current||i<gn.current)return;let p=be?1:-1,y=(ie.current?.get()??0)+p*C*m;Re.current?.set(y),se.current?.useDuration(0).useFriction(1),Ue.current?.start(),Ce.current=y,_e(),j$1&&Zt.updateProgressInFrame(),He&&Ar(),kn(y);}return n=requestAnimationFrame(a),()=>cancelAnimationFrame(n)},[fr]);function Rn(t){co.current!==t&&(co.current=t,Cs(t),vt.current=t,t||(Dr.current=0),dn.current=false,an(false),Bs(n=>n+1));}function Xs(t){return !!t?.closest?.([".plyr__controls",".plyr__control--overlaid",".plyr__menu__container",".plyr__tooltip",".plyr__captions"].join(","))}function Vs(t){let n=t.changedTouches?.[0]??t.touches?.[0];return n?{x:n.clientX,y:n.clientY}:{x:t.clientX,y:t.clientY}}function Ys(t){let{x:n,y:a}=Vs(t),i=document.elementFromPoint(n,a);if(!i)return null;let m=i.closest('[data-rmg-slide="true"]');if(!m)return null;let p=m.querySelector('[data-rmg-plyr="true"]');if(!p)return null;let g=p.getBoundingClientRect();if(!(n>=g.left&&n<=g.right&&a>=g.top&&a<=g.bottom)||i.closest(".plyr__controls"))return null;let M=m.getAttribute("data-rmg-rendered-idx"),D=m.getAttribute("data-rmg-idx"),Q=M!=null?parseInt(M,10):NaN,me=D!=null?parseInt(D,10):NaN;return !Number.isFinite(Q)||!Number.isFinite(me)?null:{renderedIndex:Q,canonicalIndex:me,isClone:m.getAttribute("data-rmg-clone")==="true"}}function Us(t){let n=t?.plyr??null;if(!n)return false;if(typeof n.playing=="boolean"?n.playing:!n.paused)return n.pause(),true;let i=n.play();return i&&typeof i.catch=="function"&&i.catch(()=>{}),true}function Gs(t){let n=xr.current[t]??null;return Us(n)}function Zs(t){let n=q$1.current;return n?n.querySelector(`[data-rmg-slide="true"][data-rmg-clone="false"][data-rmg-idx="${t}"]`):null}function xn(){let t=At.current;t&&(t.observer?.disconnect(),t.rafId!=null&&cancelAnimationFrame(t.rafId),At.current=null);}function Qs(t){let n=At.current;if(!n||n.canonicalIndex!==t)return;n.deadlineTs=performance.now()+1200;let i=()=>{if(At.current!==n)return;!!xr.current[t];if(Gs(t)){xn();return}if(performance.now()>=n.deadlineTs){xn();return}n.rafId=requestAnimationFrame(i);};n.rafId=requestAnimationFrame(i);}function Js(t){xn(),Ke(t,{programmatic:true});let n=Zs(t),a=mr.current;if(!n||!a)return;let i={canonicalIndex:t,observer:null,rafId:null,deadlineTs:0},m=new IntersectionObserver(p=>{if(At.current===i){for(let y of p)if(!(!y.isIntersecting||(y.intersectionRatio??0)<.1)){i.observer?.disconnect(),i.observer=null,Qs(t);return}}},{root:a,rootMargin:"0px",threshold:[0,.1]});i.observer=m,At.current=i,m.observe(n);}function ea(t,n,a){return `${t}|per=${n}|cols=${a?ze:0}|wrap=${T?1:0}`}let nt=useMemo(()=>ti(de),[de]),Wr=useCallback(t=>{if(!nt.enabled)return;let n=q$1.current;n&&(t<0||t>=o$1||$n(n,t,yt.current));},[nt.enabled,o$1]);useEffect(()=>{nt.enabled&&je&&Ee.length&&Wr(he.current);},[nt.enabled,je,Ee.length,Wr]),useEffect(()=>()=>{let t=At.current;t?.observer?.disconnect(),t?.rafId!=null&&cancelAnimationFrame(t.rafId),At.current=null;},[]),useEffect(()=>{if(!nt.enabled||!je||!Ee.length)return;let t=false,n=requestAnimationFrame(()=>{if(t)return;let a=q$1.current;if(!a)return;let i=new Set([he.current]);bo().forEach(m=>i.add(m)),i.forEach(m=>{m>=0&&m<o$1&&$n(a,m,yt.current);});});return ()=>{t=true,cancelAnimationFrame(n);}},[nt.enabled,je,Ee.length,o$1]),useEffect(()=>{let t=q$1.current;if(!t)return;let n=new ResizeObserver(()=>{let a=Children.toArray(r$1).filter(isValidElement),i=a.length;if(i<1){t.style.removeProperty("--rmg-slide-main-size"),yr.current=0,Dr.current=0,Vt.current=[],Jn([]),fe.current=0,Rr.current=null,Rn(false),U.current=[],eo([]),sn.current=[];return}let m=Array.from(t.children),p=yr.current,g=p,y=m.slice(p,m.length-g),M=t[B.clientKey],D=typeof ze=="number"&&ze>0,Q=1,me;if(D){Q=Math.max(1,Math.min(i,ze));let Oe=w*Math.max(0,Q-1);me=(M-Oe)/Q;}D&&me!=null?t.style.setProperty("--rmg-slide-main-size",`${me}px`):t.style.removeProperty("--rmg-slide-main-size");let xe=0,X=0;for(let Oe of y){let Se=Oe.getBoundingClientRect()[B.sizeKey];if(Se===0){requestAnimationFrame(()=>n.observe(t));return}let _t=X===0?Se:xe+w+Se;if(_t<=M)xe=_t,X++;else {X++;break}}let re=D?Math.max(1,Math.min(i,Q)):Math.max(2,Math.min(i,X)),W=T;yr.current=W?re:0,qt.current!==re&&(ks(re),qt.current=re);let ye=ea(i,re,D);if(ye===mo.current)return;mo.current=ye;let ce=!!He,Ht=[];Vt.current=[];let Dt=D&&me!=null?{flex:"0 0 auto",[B.sizeKey]:"var(--rmg-slide-main-size)"}:void 0;W&&Ht.push(...a.slice(-re).map((Oe,Se)=>Fn(Oe,`before-${Se}`,-re+Se,Vt,ce,o$1,nt,Dt,true,xr,Ut,yt.current))),Ht.push(...a.map((Oe,Se)=>Fn(Oe,`original-${Se}`,Se,Vt,ce,o$1,nt,Dt,false,xr,Ut,yt.current))),W&&Ht.push(...a.slice(0,re).map((Oe,Se)=>Fn(Oe,`after-${Se}`,i+Se,Vt,ce,o$1,nt,Dt,true,xr,Ut,yt.current))),Jn(Ht);});return n.observe(t),()=>n.disconnect()},[o$1,q$1,qt,ze,lo,T,Ut]),useEffect(()=>{let t=q$1.current;if(!t)return;let n=()=>{a();};function a(){let p=q$1.current;if(!p)return;let g=Array.from(p.children);if(g.length===0)return;let y=yr.current,M=g.slice(y,g.length-y);if(M.length===0)return;let D=Ws(M);if(D.some(ce=>ce.size===0)){setTimeout(a,0);return}let Q=B.main==="x"?p.scrollWidth:p.scrollHeight;Rr.current={originals:D,cw:p[B.clientKey]};let me=Rr.current?.originals?.length??0,xe=D[me-1]?.end??0;fe.current=T?xe+(me>0?w:0):xe;let X=p[B.clientKey],re=!!f$1&&me>1&&Q>X,ye=`${D.map(ce=>`${ce.start}:${ce.size}`).join(",")}|cw=${X}|W=${Q}`;ye!==fo.current&&(fo.current=ye,$s(ce=>ce+1)),Rn(re),As(true);}let i=new ResizeObserver(n);i.observe(t),De.current&&i.observe(De.current);let m=typeof window<"u"?window.visualViewport:null;return m?.addEventListener("resize",n),window.addEventListener("resize",n,{passive:true}),n(),()=>{i.disconnect(),m?.removeEventListener("resize",n),window.removeEventListener("resize",n);}},[o$1,Ee,Nr,ze,w,T,f$1,B,be]),useEffect(()=>{if(u)return;let t=de?.enabled?true:Ye??true;!ln||!t||c$1(true);},[de,Ye,ln,u]),useLayoutEffect(()=>{if(!q$1.current||Vt.current.length===0||fe.current===0||!U.current||!U.current[0]||!U.current[0].cells[0]?.element)return;let t=q$1.current[B.clientKey];!T&&fe.current<=t?Sr.current=Math.round((t-fe.current)/2):Sr.current=0,_e(ie.current?.get()??Ce.current),Mr();},[Xt,T]),useEffect(()=>{let t=q$1.current;if(!t)return;let n=false,a=null,i=0,m=5;function p(){n||i++>=m||(a!=null&&window.clearTimeout(a),a=window.setTimeout(()=>{g();},0));}function g(){if(n||!t)return;let y=T?Nr:0,M=y,D=Array.from(t.children),Q=D.slice(y,D.length-M),me=new Map(Q.map((J,ge)=>[J,ge])),xe=Rr.current;if(!xe||!xe.originals?.length){p();return}if(Q.length!==xe.originals.length){p();return}let X=xe.originals,re=xe.cw,W=[],ye=0;if(N)for(;ye<X.length;){let J=X[ye]?.start??0,ge=J+re,ve=ye;for(;ve<X.length&&(X[ve]?.end??0)<=ge;)ve++;ve===ye&&ve++;let bt=X.slice(ye,ve).map(Xe=>Xe.el),Le=ve>=X.length,le=J;Le&&!T&&(le=Math.max(0,(fe.current||0)-re)),ye===0&&(le=0),W.push({els:bt,target:le}),ye=ve;}else {let J=Math.max(0,(fe.current||0)-re),ge=.5;if(T)X.forEach((ve,bt)=>{let Le=bt===0?0:ve.start;W.push({els:[ve.el],target:Le});});else {for(let le=0;le<X.length;le++){let Xe=X[le],Ie=le===0?0:Xe.start;if(Ie=Math.min(Ie,J),(!W.length||Math.abs(Ie-W[W.length-1].target)>ge)&&W.push({els:[Xe.el],target:Ie}),Math.abs(Ie-J)<=ge)break}let ve=J-ge,bt=J+re+ge,Le=X.filter(le=>le.start<bt&&le.end>ve).map(le=>le.el);if(Le.length){let le=W[W.length-1]?.target??-1;if(Math.abs(le-J)>ge)W.push({els:Le,target:J});else {let Xe=new Set(W[W.length-1].els.concat(Le));W[W.length-1].els=Array.from(Xe);}}else {let le=-1;for(let Ie=X.length-1;Ie>=0;Ie--)if(X[Ie].start<=J+ge){le=Ie;break}let Xe=X[Math.max(0,le)];if(Xe){let Ie=W[W.length-1]?.target??-1;Math.abs(Ie-J)>ge&&W.push({els:[Xe.el],target:J});}}}}let ce=W.map(J=>({target:J.target,cells:J.els.map(ge=>({element:ge,index:me.get(ge)}))}));if(ce.some(J=>Number.isNaN(J.target))||T&&ce.length===1){p();return}let Oe=ce.length>1,Se=!!f$1&&Oe&&fe.current>re;if(Se!==T){Rn(Se);return}Dr.current=T&&Q.length?qs(t,Q[0]??null):0,vt.current=Se,U.current=ce,eo(ce),un.current&&(Se?Sn():_e(ie.current?.get()??Ce.current)),an(true);let _t=[];ce.forEach((J,ge)=>{J.cells.forEach(ve=>{_t[ve.index]=ge;});}),sn.current=_t,window.setTimeout(()=>{if(n)return;let J=zr();J.length&&(Ir.current=true,hr.current.forEach(ge=>ge(J)));},0);}return g(),()=>{n=true,a!=null&&window.clearTimeout(a);}},[o$1,r$1,Ee,Nr,ze,uo,T]),useEffect(()=>{if(!de?.enabled||!je)return;let t=mr.current,n=q$1.current;if(!t||!n)return;let a=new IntersectionObserver(m=>{for(let p of m){let g=p.target;if(g.getAttribute("data-rmg-lazyloaded")==="true"){a.unobserve(g);continue}if(p.isIntersecting&&p.intersectionRatio>=.25){let y=g.getAttribute("data-rmg-idx"),M=y!=null?parseInt(y,10):NaN;Number.isFinite(M)?$n(n,M,yt.current):g.getAttribute("data-rmg-lazyloading")!=="true"&&(g.setAttribute("data-rmg-lazyloading","true"),jn(g,yt.current).finally(()=>{g.removeAttribute("data-rmg-lazyloading");})),a.unobserve(g);}}},{root:t,rootMargin:"0px",threshold:[0,.25,.5,.6,.75,1]});return Array.from(n.children).filter(m=>m.hasAttribute("data-rmg-lazyload")).forEach(m=>a.observe(m)),()=>a.disconnect()},[de,Ee,T,B.main,je]),useEffect(()=>{let t=q$1.current;if(!t||!l$1)return;let n=Array.from(t.querySelectorAll(':scope > [data-rmg-slide="true"]'));if(!n.length)return;let a=new Array(n.length).fill(null);n.forEach((i,m)=>{let p=i.querySelector("img");if(p){a[m]=p;return}}),l$1.current=a;},[Ee.length,T,Nr,hn]),useEffect(()=>()=>{l$1&&(l$1.current=[]);},[]),a(je&&ln&&u&&br,De,()=>Ms(true),{threshold:.2});let qr=useRef(false);function Ke(t,n={}){let{jump:a=false,direction:i,programmatic:m=false}=n,p=pt.current;if(!Yt.current||!se.current||!p)return;m&&(qr.current=true),Kr(t,"animated");let g=p.clone().set(t).get();a?se.current.useDuration(0):se.current.useBaseDuration().useBaseFriction();let y=typeof i=="number"?i:0;Yt.current.index(g,y);}function vn(){let t=Yt.current,n=se.current,a=pt.current,i=U.current?.length??0;if(!t||!n||!a||!i)return;let m=a.get(),p=T?((m-1)%i+i)%i:Pt(m-1,i);n.useBaseDuration().useBaseFriction(),Ke(p,{direction:1,programmatic:true}),Ne.emitBasePointerDown?.();}function wn(){let t=Yt.current,n=se.current,a=pt.current,i=U.current?.length??0;if(!t||!n||!a||!i)return;let m=a.get(),p=T?((m+1)%i+i)%i:Pt(m+1,i);n.useBaseDuration().useBaseFriction(),Ke(p,{direction:-1,programmatic:true}),Ne.emitBasePointerDown?.();}function ta(t){let n=-t,a=Is(),i=Ps();if(!a.length)return 0;let m=0,p=1/0;for(let g=0;g<a.length;g++){let y=a[g],M=!i||!T?[y]:[y,y+i,y-i];for(let D of M){let Q=Math.abs(D-n);Q<p&&(p=Q,m=g);}}return m}function _e(t){let n=t??Ce.current,a=T?Dr.current:0;un.current?.to((n+Sr.current-a)*Fr);}function ra(){let t=(M,D)=>{M&&(M.style.cursor=D?"default":"pointer",M.style.opacity=D?"0.35":"1",M.setAttribute("aria-disabled",D?"true":"false"));};if(T){t(gr.current,false),t(pr.current,false);return}let n=qe.current;if(!n)return;let a=ie.current?.get()??Ce.current??0,i=.75,m=a>=n.max-i,p=a<=n.min+i,g=be?p:m,y=be?m:p;t(gr.current,g),t(pr.current,y);}function na(t,n){let a=Kt.current[t];a&&(a.classList.remove(F.active),a.classList.add(F.inactive));let i=Kt.current[n];i&&(i.classList.add(F.active),i.classList.remove(F.inactive));}function Kr(t,n){let a=cn.current;a!==t&&(cn.current=t,pt.current?.set(t),he.current=t,Ne.set(t,n),na(a,t),nt.enabled&&Wr(t));}function kn(t){if(qr.current)return;let n=ta(t);n!==he.current&&Kr(n,"animated");}function oa(t,n={}){let{preserveTiming:a=false,fromUi:i=false}=n;if(!se.current||!Re.current)return;i&&An(),a||se.current.useBaseDuration().useBaseFriction(),Ke(t),Ne.emitBasePointerDown?.();}function sa(){An(),vn();}function aa(){An(),wn();}useEffect(()=>{let t=Ne,n=()=>U.current?.length??0,a=i=>{let m=n();if(!m)return;let p=he.current,g=y=>be?-y:y;if(i.type==="set"){let y=T?(i.index%m+m)%m:Pt(i.index,m);if(y===p)return;Ke(y,i.mode);return}if(i.type==="bump"){let y=g(i.delta|0);if(!y)return;if(T){let M=((p+y)%m+m)%m;Ke(M,i.mode);}else {let M=Pt(p+y,m);if(M===p)return;Ke(M,i.mode);}return}if(typeof i.index=="number"){let y=T?(i.index%m+m)%m:Pt(i.index,m);y!==p&&Ke(y,i.mode||"animated");}};return typeof t.onEvent=="function"?t.onEvent(a):t.subscribe(()=>{let{index:i,mode:m}=t.get();a({type:"set",index:i,mode:m});})},[Ne,T,be]);function ia(t){let n=t.target;if(!n)return false;let a=n.closest('[data-rmg-plyr="true"]');return a?a.getAttribute("data-rmg-plyr-provider")==="youtube":false}let{wheelLockMs:po,lockWheelFor:kr,unlockWheelNow:yo,markWheelSeen:la,isWheelLocked:ca}=r(),ua=300;function An(){yo(),kr(ua);}useEffect(()=>{let t=De.current,n$1=q$1.current;if(!t||!n$1||!U.current?.length||!je||!br||fe.current===0)return;let a=b$1(0),i$1=b$1(0),m=b$1(0),p$1=b$1(0);We.current=a,It.current=i$1,ie.current=m,Re.current=p$1;let g$1=fe.current||0,y=U.current.length||1,M=Ne.get().index??he.current??0,D=Pt(M,y);he.current=D;let Q=y-1,me=D,xe=o(Q,me,true),X=o(Q,me,true);pt.current=xe,Or.current=X,Hs.current=g$1,Ds.current=g$1;let re=U.current.map((h,ee)=>{let V=jr(ee);return -h.target+V});ao.current=re;let W=re[D]??0;a.set(W),i$1.set(W),m.set(W),p$1.set(W),Ce.current=W,un.current=l(n$1,B),_e(W),Kr(D,"instant");let ye=1/0,ce=-1/0;for(let h of re)h<ye&&(ye=h),h>ce&&(ce=h);fn.current=T?d(-g$1,0):d(ye,ce);let Ht=T?n(-g$1,0):n(ye,ce);_s.current=Ht,fn.current&&(_r.current=f(T,re,g$1,fn.current,p$1));function Dt(h){let ee=pt.current,V=Or.current;if(!ee||!V)return;let ae=h.distance,pe=h.index!==ee.get();if(Re.current.add(ae),ae&&(se.current.duration()?(Pr.current=true,Ue.current.start()):(se.current.seek(),_e())),pe){V.set(ee.get()),ee.set(h.index);let we=ee.get();he.current=we;let Te=se.current?.duration()?"animated":"instant";Ne.set(we,Te);}}let Oe={distance(h,ee){let V=_r.current;if(!V)return;let ae=V.byDistance(h,ee);Dt(ae);},index(h,ee){let V=_r.current,ae=pt.current;if(!V||!ae)return;let pe=ae.clone().set(h),we=V.byIndex(pe.get(),ee);Dt(we);}};Yt.current=Oe;let Se=d(-g$1,0),_t=T&&g$1>0?e$1(g$1,Se,We.current,[We.current,It.current,ie.current,Re.current]):null,J=c(a,m,i$1,p$1,ft,k$1);if(se.current=J,T)qe.current=null,gt.current=null,kt.current=null;else {let h=n$1[B.clientKey],ee=-Math.max(0,fe.current-h),V=0;qe.current=d(isNaN(ee)?0:ee,V),kt.current=q(h),gt.current=p(qe.current,We.current,Re.current,se.current,kt.current,ft);}let ge=j(document,window,()=>{if(T||gt.current?.constrain(wt.current),se.current?.seek(),T&&g$1>0){let ee=se.current.direction()||Math.sign(Re.current.get()-We.current.get())||0;_t?.loop(ee);}Ce.current=We.current.get();},h=>{let ee=se.current,V=ee?ee.settled():true,ae=!T&&(gt.current?.reached()??false);V&&!wt.current&&!ae&&(Ue.current?.stop(),Pr.current=false);let we=We.current.get(),Te=It.current.get(),Ge=we*h+Te*(1-h);ie.current.set(Ge),Ce.current=Ge,_e(),tt&&Xr(),Nt&&Vr(),j$1&&Zt.updateProgressInFrame(),He&&Ar(),ra(),kn(Ge);});Ue.current=ge,ge.init();let ve=i(),bt=i(),Le=Ka(B.main,window),le=false,Xe=0,Ie=0,Yr=false,ya={mouse:500,touch:600};function ba(){let h=le?document:t;bt.add(h,"touchmove",wo).add(h,"touchend",Ot).add(h,"mousemove",wo,{passive:false}).add(h,"mouseup",Ot);}function ha(h){return h*ya[le?"mouse":"touch"]}function vo(h){let ee=h.target;if(Xs(ee))return;let V=h.target;if(gr.current?.contains(V)||pr.current?.contains(V)||Kt.current.findIndex(Te=>Te?.contains(V))>=0||Qn.current?.contains(V))return;let pe=k(h,window);if(le=pe,pe&&h.button!==0)return;wr(true),Ne.emitBasePointerDown?.(),kr(po),wt.current=true,Hr.current=true,oo.current=false,s.current=true,qr.current=false,Le.pointerDown(h),Xe=Le.readPoint(h,B.main),Ie=Le.readPoint(h,B.cross),se.current.useFriction(0).useDuration(0),Re.current.set(We.current.get()),ba(),Ue.current?.start();}function wo(h){if(!k(h,window)&&h.touches?.length>=2)return Ot(h);wt.current&&mn.current!=null&&wr(true);let V=Le.readPoint(h,B.main),ae=Le.readPoint(h,B.cross),pe=Math.abs(V-Xe),we=Math.abs(ae-Ie);if((pe>5||we>5)&&(s.current=false),!Yr&&!le&&(!("cancelable"in h)||!h.cancelable||(Yr=pe>we,!Yr)))return Ot(h);let{dx:Te,dy:Ge}=Le.pointerMove(h),Be=(B.main==="x"?Te:Ge)*Fr;Es.current=so.current,so.current=V*Fr,Zn.current=Be,Ns.current=performance.now(),se.current.useFriction(.3).useDuration(.75),Re.current.add(Be),Ue.current?.start(),h.cancelable&&h.preventDefault?.();}function Ot(h$1){if(Hr.current=false,Yr=false,wt.current=false,bt.clear(),wr(false),yo(),kr(300),s.current){let ae=h$1.target.closest("img");if(ae&&Tr){if(!l$1){Ke(he.current);return}let we=l$1.current.findIndex(Te=>Te===ae);we>=0&&da(h$1,we),setTimeout(()=>{Ke(he.current);},300);return}let pe=Ys(h$1);if(pe!=null&&(pe.isClone||!ia(h$1))){pe.isClone?Js(pe.canonicalIndex):Ke(he.current);return}}if(gn.current=performance.now()+A,x===false){let Ao=function(Lo){let ot=U.current.length||1;if(!Be)return 0;let En=he.current||0,er=g(Lo);if(er===0)return 0;if(!on){let Eo=er*-1,rr=En+Eo;T?rr=(rr%ot+ot)%ot:(rr<0||rr>ot-1)&&(rr=En);let Aa=U.current.length===2?er:0;return Be.byIndex(rr,Aa).distance}let To=Be.byDistance(Lo,true),{index:Ur}=To,{distance:va}=To,Nn=En;if(Ur!==Nn)return T?va:(Ur=Math.max(0,Math.min(ot-1,Ur)),Be.byIndex(Ur,er).distance);let wa=er*-1,tr=Nn+wa;if(T)tr=(tr%ot+ot)%ot;else if(tr=Math.max(0,Math.min(ot-1,tr)),tr===Nn)return 0;let ka=U.current.length===2?er:0;return Be.byIndex(tr,ka).distance};let V=Le.pointerUp(h$1),ae=B.main==="x"?V.fx:V.fy;be&&(ae=-ae);let pe=k(h$1,window),Te={mouse:300,touch:400}[pe?"mouse":"touch"],Ge=ae*Te,Be=_r.current,Mt=Yt.current,Ln=se.current;if(!Be||!Mt||!Ln)return;let Tn=Ao(Ge),Sa=Be.byDistance(Tn,true);Kr(Sa.index,Ln.duration()?"animated":"instant");let Ra=k$1,Mo=h(Ge,Tn),Co=ft;gt.current?.passed()&&(Co=ft+10*Mo);let xa=Ra+Mo/50;Ln.useDuration(Co).useFriction(xa),Mt.distance(Tn,true);}else {let V=Le.pointerUp(h$1),ae=B.main==="x"?V.fx:V.fy,pe=ha(ae),we=h(ae,pe),Te=dr;gt.current?.passed()&&(Te=dr+10*we);let Ge=k$1+we/50;J.useDuration(Te).useFriction(Ge),Re.current.add(pe),ge.start(),le=false;}}ve.add(t,"dragstart",h=>h.preventDefault(),{passive:false}).add(t,"touchstart",vo).add(t,"mousedown",vo,{passive:true}).add(t,"touchcancel",Ot).add(t,"contextmenu",Ot);function ko(h){let ee=la();if(wt.current){kr(po),h.cancelable&&h.preventDefault?.();return}if(ca(ee)){kr(40),h.cancelable&&h.preventDefault?.();return}Ne.emitBasePointerDown?.();let ae=q$1.current;if(!ae)return;let pe=ae[B.clientKey],Te=fe.current>pe;if(!(B.main==="x"?Math.abs(h.deltaX)>Math.abs(h.deltaY):Math.abs(h.deltaY)>=Math.abs(h.deltaX))||!Te)return;qr.current=false,gn.current=ee+100;let Be=(ie.current?.get()??0)-B.wheelDelta(h)*Fr,Mt=Be;!T&&qe.current&&(Mt=qe.current.constrain(Be)),se.current?.useDuration(0).useFriction(1),Re.current?.set(Mt),Ce.current=Mt,_e(Mt),kn(Mt),Ue.current?.start(),h.cancelable&&h.preventDefault?.();}return t.addEventListener("wheel",ko,{passive:false}),requestAnimationFrame(()=>{!q$1.current||!U.current?.length||no(true);}),dn.current=true,()=>{ve.clear(),bt.clear(),t.removeEventListener("wheel",ko),Ue.current?.destroy(),Ue.current=null;}},[Xt.length,T,ze,uo,je,br]);let{tweenParallax:Ar}=Xo({enabled:He,wrap:T,axisMain:B.main,isRtl:be,sliderRef:q$1,sliderWidthRef:fe,offsetLocationRef:ie,visibleImagesRef:qt,slidesLen:Xt.length,clonedLen:Ee.length,isReady:u}),{applyPairScaleTween:Xr}=Vo({enabled:tt,scaleAmount:rn,wrap:T,sliderRef:q$1,sliderWidthRef:fe,offsetLocationRef:ie,slidesRef:U,getCenterOffsetForIndex:jr,slidesLen:Xt.length,clonedLen:Ee.length}),{applyFadeTween:Vr}=Yo({enabled:Nt,wrap:T,sliderRef:q$1,sliderWidthRef:fe,offsetLocationRef:ie,slidesRef:U,getCenterOffsetForIndex:jr,slidesLen:Xt.length,clonedLen:Ee.length});function bo(){let t=Rr.current,n=q$1.current;if(!t||!n)return [];let a=t.originals,i=t.cw;if(!a.length||i<=0)return [];let m=-(ie.current?.get()??0);if(!T){let me=m,xe=m+i,X=[];return a.forEach((re,W)=>{let ye=re.start;re.end>me&&ye<xe&&X.push(W);}),X}let p=fe.current||0;if(p<=0)return [];let g=(m%p+p)%p,y=new Set,M=g,D=Math.min(g+i,p),Q=(me,xe)=>{a.forEach((X,re)=>{let W=X.start;X.end>me&&W<xe&&y.add(re);});};if(Q(M,D),g+i>p){let me=g+i-p;Q(0,me);}return Array.from(y)}useImperativeHandle(vs,()=>{let t=()=>Ne.get().index??0,n=()=>U.current?.length??0;function a(){let g=n();if(g<=1)return false;if(T)return true;let y=t()<=0,M=t()>=Math.max(0,g-1);return !(be?y:M)}function i(){let g=n();if(g<=1)return false;if(T)return true;let y=t()<=0,M=t()>=Math.max(0,g-1);return !(be?M:y)}function m(){return ro.current}function p(){return {slides:U??[],slider:q$1,visibleImages:qt,selectedIndex:he,sliderX:ws,sliderVelocity:Zn,isWrapping:vt}}return {centerSlider:()=>Sn(),getIndex:()=>t(),setIndex:(g,y="animated")=>{Ke(g,{jump:y!=="animated"});},subscribeIndex:g=>Ne.subscribe(g),slideIndexForCell:g=>{let y=o$1,M=n();if(!y||!M)return 0;let D=(g%y+y)%y,Q=sn.current[D];return typeof Q=="number"?Q:Math.min(D,M-1)},getRootNode:()=>De.current,getContainerNode:()=>q$1.current,getViewportNode:()=>mr.current,getSlideNodes:()=>zr(),onSlidesBuilt:g=>(hr.current.add(g),Ir.current&&g(zr()),()=>hr.current.delete(g)),whenSlidesBuilt:()=>Ir.current?Promise.resolve(zr()):new Promise(g=>{let y=M=>{hr.current.delete(y),g(M);};hr.current.add(y);}),isSlidesBuilt:()=>Ir.current,scrollNext:()=>{a()&&wn();},scrollPrev:()=>{i()&&vn();},canScrollNext:()=>a(),canScrollPrev:()=>i(),scrollProgress:()=>m(),cellsInView:()=>bo(),getInternals:p}},[Ne,T,o$1,be,fr]);function Mr(){let t=U.current?.length??0,n=he.current,a=!T&&n<=0,i=!T&&n>=Math.max(0,t-1),m=(g,y)=>{g&&(g.style.cursor=y?"default":"pointer",g.style.opacity=y?"0.35":"1",g.setAttribute("aria-disabled",y?"true":"false"));};m(gr.current,be?i:a),m(pr.current,be?a:i);let p=Kt.current.length;for(let g=0;g<p;g++){let y=Kt.current[g];y&&(y.classList.toggle(F.active,g===n),y.classList.toggle(F.inactive,g!==n));}}useEffect(()=>{let t=De.current,n=q$1.current;if(!t||!n||!U.current?.length||!je||!br||fe.current===0||!u)return;let a=new ResizeObserver(()=>{let i=n[B.clientKey],m=fe.current||0;if(!T){if(m<=i){let y=Math.round((i-m)/2);if(Sr.current=y,!We.current||!It.current||!ie.current||!Re.current||!se.current){_e(ie.current?.get()??Ce.current);return}if(!((U.current?.length??0)<=1)){_e(ie.current?.get()??Ce.current),j$1&&Zt.updateProgressInFrame(),He&&Ar(),tt&&Xr(),Nt&&Vr(),Mr();return}ao.current=[0],he.current=0,pt.current?.set(0),Or.current?.set(0),Ne.set(0,"instant"),qe.current=d(0,0),kt.current=q(i),gt.current=p(qe.current,ie.current,Re.current,se.current,kt.current,ft),se.current.useDuration(0).useFriction(1),Pr.current=false,Ue.current?.stop(),We.current.set(0),It.current.set(0),ie.current.set(0),Re.current.set(0),Ce.current=0,_e(0),j$1&&Zt.updateProgressInFrame(),He&&Ar(),tt&&Xr(),Nt&&Vr(),Mr();return}Sr.current=0;let p$1=-Math.max(0,m-i),g=0;if(qe.current=d(isNaN(p$1)?0:p$1,g),ie.current&&Re.current&&se.current){kt.current=q(i),gt.current=p(qe.current,ie.current,Re.current,se.current,kt.current,ft);let y=ie.current?.get()??Ce.current??0,M=qe.current.constrain(y);We.current?.set(M),It.current?.set(M),ie.current?.set(M),Re.current?.set(M),Ce.current=M,_e(M),Ue.current?.start();}else _e(ie.current?.get()??Ce.current);Mr();return}qe.current=null,kt.current=null,gt.current=null,Sn();});return a.observe(n),()=>a.disconnect()},[T,je,br,u]),useEffect(()=>{typeof window>"u"||(Fs.current=a$1(1e4));},[]);function da(t,n){s.current=true;let a=((n-qt.current)%o$1+o$1)%o$1,i=T?a:n;xs(true);let m=l$1?.current?.[n]??null;Er?.({index:i,image:m,event:t});}function Qt(t){let n=t.touches[0];Qt._sx=n.clientX,Qt._sy=n.clientY;}function ho(t){if(t.touches.length!==1)return;let n=t.touches[0],a=Qt._sx??n.clientX,i=Qt._sy??n.clientY,m=n.clientX-a,p=n.clientY-i,g=B.main==="x"?Math.abs(m):Math.abs(p),y=B.main==="x"?Math.abs(p):Math.abs(m);g>y&&t.preventDefault();}useEffect(()=>{let t=De.current;return t.addEventListener("touchstart",Qt,{passive:false}),t.addEventListener("touchmove",ho,{passive:false}),()=>{t.removeEventListener("touchstart",Qt),t.removeEventListener("touchmove",ho);}},[]);let So=mt!==false,Mn=rt&&rt.trim().length>0?rt:F.ripple,Ro=useCallback(t=>{if(!So||!t)return;let n=t.querySelector("[data-rmg-ripple]");n&&n.remove();let a=t.getBoundingClientRect(),i=Math.max(a.width,a.height),m=i/2,p=a.width/2-m,g=a.height/2-m,y=document.createElement("span");y.setAttribute("data-rmg-ripple",""),Mn&&(y.className=Mn),y.style.width=`${i}px`,y.style.height=`${i}px`,y.style.left=`${p}px`,y.style.top=`${g}px`,t.appendChild(y),y.addEventListener("animationend",()=>y.remove(),{once:true});},[So,Mn]),fa=jsx(Uo,{axisMain:B.main,clientKey:B.clientKey,wrap:T,isRtl:be,showArrows:ur,selectedIndex:he.current,slideCount:U.current?.length??0,measureRef:q$1,viewportMainSizeRef:fe,previous:sa,next:aa,prevButtonRef:gr,nextButtonRef:pr,createRipple:Ro,arrowStyles:b$2,prevArrowStyles:I,nextArrowStyles:Ae,arrowClassName:d$1,prevArrowClassName:Z,nextArrowClassName:lt,renderPrevArrow:cr,renderNextArrow:ut,renderArrows:lr}),{dotsNode:ma}=Zo({AX:B,slider:q$1,sliderWidth:fe,showDots:St,selectedIndex:he,slides:U,dotsContainerRef:Qn,dotRefs:Kt,isScrolling:oo,goToIndex:t=>oa(t,{fromUi:true}),renderDots:et,createRipple:Ro,styles:F,dotsContainerStyles:ct,dotsStyles:jt,dotsContainerClassName:Je,dotsClassName:ir}),Jt=useMemo(()=>{let t=G??{};return {renderIntro:t.renderIntro,staggerMs:t.staggerMs??60,transform:t.transform??"10px",durationMs:t.durationMs??600,easing:t.easing??"cubic-bezier(.2,.7,.2,1)"}},[G]),ga=useMemo(()=>Ee.map((t,n)=>{if(!isValidElement(t))return t;let a=t,i=a.props?.style||{};return cloneElement(a,{...a.props,style:{...i,"--rmg-intro-index":n}})}),[Ee]),xo=jsxs(Fragment,{children:[fa,jsx("div",{ref:mr,className:[F.viewport,$??""].join(" "),style:{...z},children:jsx("div",{ref:q$1,className:`${F.track} ${pn}`,"data-rmg-axis":B.main,style:{gap:`${w}px`},children:ga})}),ma,js]}),Cn={className:[F.fade_container,pn,u&&to&&(oe??true)?F.fadeInActive:F.fadeInStart].join(" "),style:{position:"relative"},"aria-busy":u?void 0:true},pa=Jt.renderIntro?jsx("div",{...Cn,children:Jt.renderIntro({active:u&&to&&(oe??true),containerProps:Cn},xo)}):jsx("div",{...Cn,children:xo});return jsxs(Fragment,{children:[go&&jsx("style",{dangerouslySetInnerHTML:{__html:go}}),jsx("div",{id:Gt,"data-rmg-scope":Gt,ref:De,className:[F.slider_container,pn,Y??""].join(" "),dir:be?"rtl":void 0,style:{position:"relative","--rmg-intro-stagger":`${Jt.staggerMs}ms`,"--rmg-intro-offset":Jt.transform,"--rmg-intro-duration":`${Jt.durationMs}ms`,"--rmg-intro-easing":Jt.easing,zIndex:1,...K},children:pa})]})}),ls=ni;function ke(e){if(e!=null)return typeof e=="number"?`${e}px`:e}function ds(e){if(!e)return {};let r=ke(e.marginTop),o=ke(e.marginRight),s=ke(e.marginBottom),l=ke(e.marginLeft),u={};return r!=null&&(u.marginTop=r),o!=null&&(u.marginRight=o),s!=null&&(u.marginBottom=s),l!=null&&(u.marginLeft=l),u}function fs(e,r){let o={};e?.aspectRatio!=null&&(o.aspectRatio=e.aspectRatio);let s=ke(e?.width),l=ke(e?.maxWidth),u=ke(e?.height),c=ke(e?.maxHeight);return s!=null&&(o.inlineSize=s,o.width=s),l!=null&&(o.maxInlineSize=l,o.maxWidth=l),u!=null&&(o.height=u),c!=null&&(o.maxHeight=c),e?.aspectRatio!=null&&e?.height==null&&(o.height="auto"),e?.aspectRatio!=null&&e?.width==null&&e?.height==null&&(o.inlineSize="100%",o.width="100%",o.height="auto"),e?.backgroundColor&&(o["--rmg-skel-bg"]=e.backgroundColor),e?.borderRadius!=null&&(o["--rmg-skel-radius"]=ke(e.borderRadius)),e?.alignSelf&&(o.alignSelf=e.alignSelf),r?.enabled===false&&(o["--rmg-skel-shimmer-enabled"]="0"),r?.durationMs!=null&&(o["--rmg-skel-shimmer-duration"]=`${r.durationMs}ms`),r?.angleDeg!=null&&(o["--rmg-skel-shimmer-angle"]=`${r.angleDeg}deg`),r?.opacity!=null&&(o["--rmg-skel-shimmer-opacity"]=String(r.opacity)),r?.blurPx!=null&&(o["--rmg-skel-shimmer-blur"]=`${r.blurPx}px`),r?.timing&&(o["--rmg-skel-shimmer-timing"]=r.timing),r?.c1&&(o["--rmg-skel-shimmer-c1"]=r.c1),r?.c2&&(o["--rmg-skel-shimmer-c2"]=r.c2),r?.c3&&(o["--rmg-skel-shimmer-c3"]=r.c3),o}function Kn(e){let r={};return e&&(e.gap!=null&&(r.gap=ke(e.gap)),e.padding!=null&&(r.padding=ke(e.padding)),e.align&&(r.alignItems=e.align),e.justify&&(r.justifyContent=e.justify),e.wrap&&(r.flexWrap="wrap"),e.width!=null&&(r.width=ke(e.width)),e.maxWidth!=null&&(r.maxWidth=ke(e.maxWidth))),r}function zt(e){return e?Object.keys(e).some(r=>String(+r)===r):false}function cs(e){return e.replace(/"/g,'\\"')}function oi(e){return e.replace(/[^a-zA-Z0-9_-]/g,"_")}function Wn(e){let r=[];return e.gap!=null&&r.push(`gap:${ke(e.gap)};`),e.padding!=null&&r.push(`padding:${ke(e.padding)};`),e.align&&r.push(`align-items:${e.align};`),e.justify&&r.push(`justify-content:${e.justify};`),e.wrap&&r.push("flex-wrap:wrap;"),e.width!=null&&r.push(`width:${ke(e.width)};`),e.maxWidth!=null&&r.push(`max-width:${ke(e.maxWidth)};`),r.join("")}function Xn(e,r,o){switch(e.kind){case "rect":case "square":case "circle":case "text":return e;case "media":{let s=r(),l=e.style;if(zt(l)){let u=l,c=Object.keys(l).map(f=>+f).filter(f=>Number.isFinite(f)&&f>=0).sort((f,x)=>f-x).map(f=>({minWidth:f,css:Wn(u[String(f)]||{})})).filter(f=>f.css.length>0);c.length&&o.push({nodeId:s,rules:c});}return {...e,__rmgNodeId:s}}case "stack":case "row":case "col":{let s=r(),l=e.style;if(zt(l)){let c=Object.keys(l).map(f=>+f).filter(f=>Number.isFinite(f)&&f>=0).sort((f,x)=>f-x).map(f=>({minWidth:f,css:Wn(l[String(f)]||{})})).filter(f=>f.css.length>0);c.length&&o.push({nodeId:s,rules:c});}let u=e.children.map(c=>Xn(c,r,o));return {...e,__rmgNodeId:s,children:u}}case "slider":{let s=r(),l=e.style;if(zt(l)){let c=Object.keys(l).map(f=>+f).filter(f=>Number.isFinite(f)&&f>=0).sort((f,x)=>f-x).map(f=>({minWidth:f,css:Wn(l[String(f)]||{})})).filter(f=>f.css.length>0);c.length&&o.push({nodeId:s,rules:c});}let u=Xn(e.item,r,o);return {...e,__rmgNodeId:s,item:u}}default:return e}}function si(e,r){if(!r.length)return "";let o=`[data-rmg-slider-skel-scope="${cs(e)}"]`,s=[];for(let l of r){let u=`${o} [data-rmg-skel-node="${cs(l.nodeId)}"]`;for(let c of l.rules)s.push(`@media (min-width:${c.minWidth}px){${u}{${c.css}}}`);}return s.join(`
58
- `)}function qn({kind:e,style:r,shimmer:o}){let s={};return e==="circle"&&(s.borderRadius="9999px"),e==="square"&&r?.aspectRatio==null&&(s.aspectRatio="1"),r?.aspectRatio!=null&&r?.height==null&&(s.height="auto"),jsx("div",{className:F.sliderSkeleton,style:{...fs(r,o),...ds(r),...s}})}function ms({node:e}){switch(e.kind){case "rect":case "square":case "circle":return jsx(qn,{...e});case "media":{let r=Math.max(0,e.count|0),o=e.direction??"row",s=e.tile?.shape??"rect",l=e.__rmgNodeId,u=zt(e.style)?void 0:Kn(e.style);return jsx("div",{"data-rmg-skel-node":l,className:F.sliderSkeletonGroup,style:{display:"flex",flexDirection:o==="row"?"row":"column",...u||{}},children:Array.from({length:r}).map((c,f)=>jsx(qn,{kind:s,style:e.tile?.style,shimmer:e.tile?.shimmer},f))})}case "stack":case "row":case "col":{let r=e.kind==="row"?"row":"column",o=e.__rmgNodeId,s=zt(e.style)?void 0:Kn(e.style);return jsx("div",{"data-rmg-skel-node":o,className:F.sliderSkeletonGroup,style:{display:"flex",flexDirection:r,...s||{}},children:e.children.map((l,u)=>jsx(ms,{node:l},u))})}case "text":{let r=Math.max(1,e.lines??1),o=e.fontSize*e.lineHeight*r;return jsx(qn,{kind:"rect",style:{...e.style||{},height:o},shimmer:e.shimmer})}default:return null}}function us(){return {layout:{kind:"slider",direction:"row",item:{kind:"rect",style:{width:"100%",height:"100%",borderRadius:2}},itemWrapStyle:void 0},radius:12}}function gs(e){return /%$/.test(e.trim())}function ht(e){return e==null?null:typeof e=="number"?`${e}px`:String(e)}function ps(e){if(e==null)return null;if(typeof e=="number")return e>0?e:null;let r=String(e).trim(),o=r.match(/^(\d+(?:\.\d+)?)\s*\/\s*(\d+(?:\.\d+)?)$/);if(o){let l=Number(o[1]),u=Number(o[2]);return l>0&&u>0?l/u:null}let s=Number(r);return Number.isFinite(s)&&s>0?s:null}function Ze(e){let r=e.filter(o=>!!o&&o.trim().length>0);return r.length?r.length===1?r[0]:`calc(${r.join(" + ")})`:null}function ys(e){let r=e.filter(o=>!!o&&o.trim().length>0);return r.length?r.length===1?r[0]:`max(${r.join(", ")})`:null}function ar(e,r){return `calc(${e} * ${r})`}function Vn(e,r){return `calc(${e} / ${r})`}function Ft(e){let r=ht(e?.marginTop),o=ht(e?.marginBottom);return !r&&!o?null:Ze([r??"0px",o??"0px"])}function bs(e){let r=ht(e?.padding);return r?ar(r,"2"):null}function ai(e){let r=ht(e?.padding);return r?ar(r,"2"):null}function Yn(e){return ht(e?.gap)}function Un(e){if(e&&!zt(e))return e}function Gn(e,r){if(e.kind==="rect"||e.kind==="square"||e.kind==="circle"){let o=ht(e.style?.height),s=ps(e.style?.aspectRatio);if(o)return Ze([o,Ft(e.style)]);if(s){let l=ht(e.style?.width),u=l&&!gs(l)?l:r,c=String(s),f=Vn(u,c);return Ze([f,Ft(e.style)])}return Ft(e.style)??null}if(e.kind==="media"){let o=e.direction??"row",s=Yn(Un(e.style))??"0px",l=Math.max(0,e.count|0),u=e.tile?{kind:e.tile.shape??"rect",style:e.tile.style,shimmer:e.tile.shimmer}:{kind:"rect",style:{width:"100%",height:"100%"}},c=Gn(u,r);return c?o==="row"||l<=1?c:Ze([ar(c,String(l)),ar(s,String(l-1))]):null}if(e.kind==="row"||e.kind==="col"||e.kind==="stack"){let o=e.kind==="row"?"row":"col",s=Un(e.style),l=Yn(s)??"0px",u=bs(s)??"0px",c=e.children.map(f=>Gn(f,r));if(o==="row"){let f=ys(c);return f?Ze([f,u]):null}else {let f=c.filter(S=>!!S);if(!f.length)return u;let x=f.length>1?ar(l,String(f.length-1)):"0px";return Ze([Ze(f)??null,x,u])}}if(e.kind==="text"){let o=Math.max(1,e.lines??1),s=e.fontSize*e.lineHeight*o;return Ze([`${s}px`,Ft(e.style)])}return null}function hs(e,r,o){let s=e.kind==="slider"?e:null;s?.direction??"row";let u=Un(s?.style),c=Yn(u)??"0px",f=ai(u)??"0px",x=bs(u)??"0px",S=s?.itemWrapStyle?.width?ht(s.itemWrapStyle.width):null,H;if(o==="peek"&&S&&!gs(S))H=S;else {let N=Math.max(1,r|0),E=N>1?ar(c,String(N-1)):"0px",w=`calc(100cqw - ${f} - ${E})`;H=Vn(w,String(N));}let P=s?s.item:e,v=Gn(P,H);if(!v)return null;let C=s?.itemWrapStyle,A=null;if(C){let N=ht(C.height);if(N)A=Ze([N,Ft(C)]);else {let E=ps(C.aspectRatio);E?A=Ze([Vn(H,String(E)),Ft(C)]):A=Ft(C);}}let O=A?ys([A,v]):v;return Ze([O,x])}function Ss({count:e,maxSlots:r,rowStyle:o,spec:s}){let l=s??us(),u=l.layout??us().layout,c=L.useId(),f=L.useMemo(()=>`ssk_${oi(c)}`,[c]),x={...o||{}};l.backgroundColor&&(x["--rmg-skel-bg"]=l.backgroundColor),l.radius!=null&&(x["--rmg-skel-radius"]=ke(l.radius));let S=l.shimmer;S?.enabled===false&&(x["--rmg-skel-shimmer-enabled"]="0"),S?.durationMs!=null&&(x["--rmg-skel-shimmer-duration"]=`${S.durationMs}ms`),S?.angleDeg!=null&&(x["--rmg-skel-shimmer-angle"]=`${S.angleDeg}deg`),S?.opacity!=null&&(x["--rmg-skel-shimmer-opacity"]=String(S.opacity)),S?.blurPx!=null&&(x["--rmg-skel-shimmer-blur"]=`${S.blurPx}px`),S?.timing&&(x["--rmg-skel-shimmer-timing"]=S.timing),S?.c1&&(x["--rmg-skel-shimmer-c1"]=S.c1),S?.c2&&(x["--rmg-skel-shimmer-c2"]=S.c2),S?.c3&&(x["--rmg-skel-shimmer-c3"]=S.c3);let{layout:H,responsiveCss:P}=L.useMemo(()=>{let z=0,$=()=>`n${++z}`,K=[],Y=Xn(u,$,K),b=si(f,K);return {layout:Y,responsiveCss:b}},[u,f]),v=H,C=v.__rmgNodeId,A=zt(v.style)?void 0:Kn(v.style),O=v.count!=null?Math.max(0,v.count|0):Math.max(0,e|0),_=v.direction??"row",N=v.itemWrapStyle,E=Math.max(0,r|0),w=l.mode??"fit";return jsxs("div",{"data-rmg-slider-skel-scope":f,"data-rmg-skel-mode":w,className:[F.sliderSkeletonOverlay,l.className].filter(Boolean).join(" "),"data-rmg-skel-part":"overlay",children:[P?jsx("style",{dangerouslySetInnerHTML:{__html:P}}):null,jsx("div",{"data-rmg-skel-node":C,className:F.sliderSkeletonRow,"data-rmg-skel-part":"row",style:{...x,...A||{},display:"flex",flexDirection:_==="row"?"row":"column"},children:Array.from({length:E}).map((z,$)=>jsx("div",{className:F.sliderSkeletonItem,"data-rmg-skel-slot":$+1,"data-rmg-skel-visible-count":O,style:{...N?fs(N,void 0):null,...N?ds(N):null,minWidth:0,minHeight:0},children:jsx(ms,{node:v.item})},`rmg-slider-skel-${$}`))})]})}var li=220,ci=220;function ui(e){let{enabled:r,scopeId:o,loading:s,fallbackCount:l,breakpointMap:u,maxSlots:c=12,showLoadingFallback:f,defaultNode:x}=e,S=s.enabled??true,H=s.force??false,P=r&&S&&(H||f),{cssText:v,ssrBaseCount:C}=L.useMemo(()=>!r||!S?{cssText:"",ssrBaseCount:l}:c$2({scopeId:o,responsiveCount:s.skeletonCount,fallbackCount:l,breakpointMap:u,maxSlots:c}),[r,S,o,s.skeletonCount,l,u,c]),A=L.useMemo(()=>P?s.renderLoading?s.renderLoading({count:C}):x(c,C):null,[P,s.renderLoading,x,c,C]);return {cssText:v,ssrBaseCount:C,node:A,showLoading:P}}function di(e){let{scopeId:r,skeletonSpec:o,responsiveCount:s,fallbackCount:l}=e,u=o,c=u?.layout;if(!c)return "";let f=u?.mode??"fit",x=`#${r}`,S=H=>{let P=hs(c,H,f);return P?`${x}{--rmg-slider-initial-height:${P};}`:""};if(typeof s=="number")return S(Math.max(1,s|0))||S(l);if(s&&typeof s=="object"){let H=Object.entries(s).map(([v,C])=>[Number(v),Number(C)]).filter(([v,C])=>Number.isFinite(v)&&Number.isFinite(C)).sort((v,C)=>v[0]-C[0]),P=[];P.push(S(H[0]?.[1]??l)||S(l));for(let[v,C]of H){let A=S(Math.max(1,C|0));A&&P.push(`@media (min-width:${v}px){${A}}`);}return P.filter(Boolean).join(`
59
- `)}return S(l)}var _l=L.forwardRef(function(r,o){let{children:s,breakpoints:l,indexChannel:u,...c}=r,f=e(),x=L.useMemo(()=>b(),[]),S=u??x,H=L.useRef(false),P=L.useRef([]),v=r.expandableImageRefs!==void 0?r.expandableImageRefs:f?.expandableImageRefs??P,C=L.useRef(null),A=L.useRef(null),O=L.useRef(null),_=L.useRef(null),N=L.useRef(null),E=L.useRef(null),w=L.useRef(null),z=L.useCallback(k=>{w.current=k,f?.sliderApiRef&&(f.sliderApiRef.current=k),o&&(typeof o=="function"?o(k):o.current=k);},[f,o]),[$,K]=L.useState(false),Y=a$2(),b$1=L.useMemo(()=>f?.effectiveBreakpoints??{...a$3,...l||{}},[f?.effectiveBreakpoints,l]),d=L.useMemo(()=>({...ue,...c??{},layout:{...ue.layout,...c?.layout??{}},direction:{...ue.direction,...c?.direction??{}},align:c?.align??ue.align,scroll:{...ue.scroll,...c?.scroll??{}},controls:{...ue.controls,...c?.controls??{},arrows:{...ue.controls.arrows,...c?.controls?.arrows??{},arrow:{...ue.controls.arrows.arrow,...c?.controls?.arrows?.arrow??{}},prev:{...ue.controls.arrows.prev,...c?.controls?.arrows?.prev??{}},next:{...ue.controls.arrows.next,...c?.controls?.arrows?.next??{}}},dots:{...ue.controls.dots,...c?.controls?.dots??{},root:{...ue.controls.dots.root,...c?.controls?.dots?.root??{}},dot:{...ue.controls.dots.dot,...c?.controls?.dots?.dot??{}}},progress:{...ue.controls.progress,...c?.controls?.progress??{},root:{...ue.controls.progress.root,...c?.controls?.progress?.root??{}},bar:{...ue.controls.progress.bar,...c?.controls?.progress?.bar??{}}},ripple:{...ue.controls.ripple,...c?.controls?.ripple??{}}},lazyLoad:c?.lazyLoad??ue.lazyLoad,auto:{...ue.auto,...c?.auto??{},play:{...ue.auto.play,...c?.auto?.play??{}},scroll:{...ue.auto.scroll,...c?.auto?.scroll??{}}},motion:{...ue.motion,...c?.motion??{}}}),[c]),I=L.useRef(0),Z=L.useCallback(()=>`rmg-${++I.current}`,[]),Ae=L.useMemo(()=>L.Children.toArray(s).map(te=>({id:Z(),node:te})),[]),[lt]=L.useState(Ae),ct=L.useMemo(()=>lt.map(k=>{let te=k.node;return L.isValidElement(te)?L.cloneElement(te,{key:k.id}):jsx("span",{style:{display:"block"},children:te},k.id)}),[lt]),Je=a$4(),jt=L.useMemo(()=>{if(!(d.layout.cellsPerSlide!=null))return;let te=c$1(d.layout.cellsPerSlide,1,Je,b$1);return Math.max(1,te|0)},[d.layout.cellsPerSlide,Je,b$1]),ir=typeof jt=="number"?jt:void 0,lr=L.useMemo(()=>{let k=c$1(d.layout.gap,20,Je,b$1);return Math.max(0,k|0)},[d.layout.gap,Je,b$1]),ut=`rmg-slider-${L.useId().replace(/:/g,"")}`,et=L.useMemo(()=>{let k=d.transitions?.loading??{};return {enabled:k.enabled??true,force:k.force??false,skeletonCount:k.skeletonCount,renderLoading:k.renderLoading,skeleton:k.skeleton}},[d.transitions?.loading]);function ur(k,te){if(typeof k=="number")return k;if(k&&typeof k=="object"){let G=Object.entries(k).map(([oe,de])=>[Number(oe),Number(de)]).filter(([oe,de])=>Number.isFinite(oe)&&Number.isFinite(de)).sort((oe,de)=>oe[0]-de[0]);if(G.length)return G[0][1]}return te}let St=L.useMemo(()=>Math.max(1,ur(d.layout?.cellsPerSlide,1)|0),[d.layout?.cellsPerSlide]),j=ui({enabled:true,scopeId:ut,loading:et,fallbackCount:St,breakpointMap:b$1,maxSlots:12,showLoadingFallback:!$,defaultNode:(k,te)=>{let G=et.skeleton;return G?jsx(Ss,{count:te,maxSlots:k,spec:G}):jsx("div",{className:F.sliderSkeletonOverlay,"data-rmg-skel-part":"overlay",children:jsx("div",{className:F.sliderSkeletonRow,"data-rmg-skel-part":"row",children:Array.from({length:k}).map((oe,de)=>jsx("div",{className:F.sliderSkeleton,"data-rmg-skel-slot":de+1},`rmg-slider-skel-${de}`))})})}}),Pe=L.useRef(null),Tt=L.useRef(j.node);j.node&&(Tt.current=j.node);let Ve=Y?0:li,Rt=Math.max(0,Ve-ci),[xt,He]=L.useState(()=>j.showLoading),[Et,dt]=L.useState(false),[Wt,tt]=L.useState(()=>!j.showLoading);L.useEffect(()=>{if(j.showLoading){He(true),dt(false),tt(false);return}if(!xt){tt(true);return}if(Ve===0){dt(false),He(false),tt(true);return}dt(true);let k=window.setTimeout(()=>{tt(true);},Rt),te=window.setTimeout(()=>{He(false),dt(false);},Ve);return ()=>{window.clearTimeout(k),window.clearTimeout(te);}},[Rt,Ve,xt,j.showLoading]);function rn(k){let te=[],G=oe=>{if(!(oe==null||typeof oe=="boolean")){if(Array.isArray(oe)){oe.forEach(G);return}if(!(typeof oe=="string"||typeof oe=="number")&&L.isValidElement(oe)){let de=oe,mt=de.props?.src;typeof mt=="string"&&mt.length&&te.push(mt);let rt=de.props?.children;rt!=null&&G(rt);return}}};return G(k),te}function Nt(k){let[te,G]=L.useState(k.length===0);return L.useEffect(()=>{if(!k.length){G(true);return}let oe=false;G(false);let de=mt=>new Promise(rt=>{let Ye=new Image;if(Ye.src=mt,typeof Ye.decode=="function")Ye.decode().catch(()=>{}).finally(()=>{oe||rt();});else {if(Ye.complete){oe||rt();return}let Er=()=>{Ye.onload=null,Ye.onerror=null,oe||rt();};Ye.onload=Er,Ye.onerror=Er;}});return (async()=>{for(let mt of k){if(oe)break;await de(mt);}oe||G(true);})(),()=>{oe=true;}},[k]),te}let ze=L.useMemo(()=>{if(d.lazyLoad.enabled===true)return;let k=rn(ct);return Array.from(new Set(k.filter(Boolean)))},[ct]),nn=L.useMemo(()=>{if(d.lazyLoad.enabled!==true)return ze?.join("|")},[ze]),Me=d.lazyLoad.enabled===true?true:Nt(L.useMemo(()=>ze,[nn])),on=d.layout.cellsPerSlide!=null?ir??St:void 0,ft=L.useMemo(()=>{let k=et.skeleton,te=et.skeletonCount;return di({scopeId:ut,skeletonSpec:k,responsiveCount:te,fallbackCount:St})},[ut,et,St,b$1]),dr=L.useRef(false);return L.useLayoutEffect(()=>{if(dr.current)return;let k=Pe.current;if(!k)return;let G=k.querySelector('[data-rmg-skel-part="row"]')?.getBoundingClientRect().height||k.getBoundingClientRect().height;G&&G>1&&(k.style.height=`${G}px`,k.style.maxHeight=`${G}px`,k.style.overflow="hidden",dr.current=true);},[]),L.useLayoutEffect(()=>{let k=Pe.current;if(!k||!$)return;let G=(k.querySelector('[data-rmg-part="viewport"]')||k.querySelector(`.${F.viewport}`))?.getBoundingClientRect().height;G&&G>1?(k.style.height=`${G}px`,k.style.maxHeight=`${G}px`,requestAnimationFrame(()=>{k.style.height="",k.style.maxHeight="",k.style.overflow="";})):(k.style.height="",k.style.maxHeight="",k.style.overflow="");},[$]),jsxs(Fragment,{children:[j.cssText&&jsx("style",{dangerouslySetInnerHTML:{__html:j.cssText}}),ft&&jsx("style",{dangerouslySetInnerHTML:{__html:ft}}),jsxs("div",{id:ut,ref:Pe,"data-rmg-scope":ut,className:F.sliderShell,style:{minHeight:"var(--rmg-slider-initial-height, var(--rmg-slider-height))"},children:[jsx("div",{className:[F.contentLayer,xt?F.contentBlocked:""].filter(Boolean).join(" "),children:jsx(ls,{cellCount:lt.length,isClick:H,expandableImageRefs:v,overlayDivRef:C,duplicateImgRef:A,closeButtonRef:O,counterRef:_,leftChevronRef:N,rightChevronRef:E,isReady:$,setIsReady:K,loop:d.scroll.loop,freeScroll:d.scroll.freeScroll,autoPlay:d.auto.play.enabled,autoPlaySpeed:d.auto.play.speedMs,autoPlayPause:d.auto.play.pauseMs,autoScroll:d.auto.scroll.enabled,autoScrollSpeed:d.auto.scroll.speedMs,autoScrollPause:d.auto.scroll.pauseMs,pauseAutoPlayOnHover:d.auto.play.pauseOnHover,pauseAutoScrollOnHover:d.auto.scroll.pauseOnHover,groupCells:d.scroll.groupCells,centerAlign:d.align==="center",gap:lr,sliderViewportStyles:d.elements?.viewport?.style,sliderViewportClassName:d.elements?.viewport?.className,sliderContainerStyles:d.elements?.container?.style,sliderContainerClassName:d.elements?.container?.className,arrowStyles:d.controls.arrows.arrow.style,arrowClassName:d.controls.arrows.arrow.className,prevArrowStyles:d.controls.arrows.prev.style,prevArrowClassName:d.controls.arrows.prev.className,nextArrowStyles:d.controls.arrows.next.style,nextArrowClassName:d.controls.arrows.next.className,dotsContainerStyles:d.controls.dots.root.style,dotsContainerClassName:d.controls.dots.root.className,dotsStyles:d.controls.dots.dot.style,dotsClassName:d.controls.dots.dot.className,renderArrows:d.controls.arrows.render,renderPrevArrow:d.controls.arrows.renderPrev,renderNextArrow:d.controls.arrows.renderNext,renderDots:d.controls.dots.render,showArrows:d.controls.arrows.enabled,showDots:d.controls.dots.enabled,showProgress:d.controls.progress.enabled,progressClassName:d.controls.progress.root.className,progressStyle:d.controls.progress.root.style,progressInnerClassName:d.controls.progress.bar.className,progressInnerStyle:d.controls.progress.bar.style,renderProgress:d.controls.progress.render,parallax:d.effects?.parallax?.enabled,parallaxBleedPct:d.effects?.parallax?.bleedPct,parallaxBorderRadius:d.effects?.parallax?.borderRadius,parallaxSideWidth:d.effects?.parallax?.sideWidth,ref:z,scaleEffect:d.effects?.scale?.enabled,scaleAmount:d.effects?.scale?.amount,fadeEffect:d.effects?.fade?.enabled,cellsPerSlide:on,direction:d.direction.dir,axis:d.direction.axis,skipSnaps:d.scroll.skipSnaps,selectDuration:d.motion.selectDuration,freeScrollDuration:d.motion.freeScrollDuration,sliderFriction:d.motion.friction,indexChannel:S,introOptions:d.transitions?.intro,introUnlocked:Wt,lazyLoad:d.lazyLoad,rippleEnabled:d.controls.ripple.enabled,rippleClassName:d.controls.ripple.className,sliderImagesReady:Me,breakpointMap:b$1,enableFullscreen:!!f?.requestFullscreenOpen,requestFullscreenOpen:f?({index:k,image:te,event:G})=>f.requestFullscreenOpen({source:"slider",index:k,image:te,event:G}):void 0,isFullscreenOpen:!!f?.isFullscreenOpen,setFullscreenOpen:f?.setFullscreenOpen,children:ct})}),xt&&(j.node??Tt.current)?jsx("div",{className:[F.loadingLayer,Et?F.loadingLayerExit:""].filter(Boolean).join(" "),"aria-hidden":"true",children:j.node??Tt.current}):null]})]})});export{ue as a,_l as b};