PageSourceSearch

https://wyyyes.com/_next/static/chunks/3291-64133df9be33a38c.js

js wyyyes.com collected 2026-10-02 04:20:42 UTC 199,211 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3291],{25415:(A,e,t)=>{t.d(e,{F:()=>ac});var a,n,i,r,C,o,s,l,c,u,d,_,m,v,g,h,p,E,S,f,I,M,w,G,x,K,B,D,O,z,k,y,b,L,T,U,P,Q,W,V,F,R,Y,N,H,j,J,X,q,$,Z,AA,Ae,At,Aa,An,Ai,Ar,AC,Ao,As,Al,Ac,Au,Ad,A_,Am,Av,Ag,Ah,Ap,AE,AS,Af,AI,AM,Aw,AG,Ax,AK,AB,AD,AO,Az,Ak,Ay,Ab,AL,AT,AU,AP,AQ,AW,AV,AF,AR,AY,AN,AH,Aj,AJ,AX,Aq,A$,AZ,A0,A1,A2,A3,A5,A7,A6,A8,A9,A4,eA,ee,et,ea,en,ei,er,eC,eo,es,el,ec,eu,ed,e_,em,ev,eg,eh=t(74361),ep=t(3047);function eE(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:"u">typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var a,n,i,r,C=[],o=!0,s=!1;try{if(i=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;o=!1}else for(;!(o=(a=i.call(t)).done)&&(C.push(a.value),C.length!==e);o=!0);}catch(A){s=!0,n=A}finally{try{if(!o&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(s)throw n}}return C}}(A,e)||(0,ep.A)(A,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eS=t(81603),ef=t(47212),eI=t(71694),eM=(a={code:"function positiveModulo_carouselMathTs1(value,divisor){if(!Number.isFinite(value)||!Number.isFinite(divisor)||divisor<=0)return 0;const remainder=value%divisor;return remainder<0?remainder+divisor:remainder;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["positiveModulo_carouselMathTs1","value","divisor","Number","isFinite","remainder"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AAAO,SAAAA,8BAAuDA,CAAAC,KAAS,CAAAC,OAAA,EAGrE,GAAI,CAACC,MAAM,CAACC,QAAQ,CAACH,KAAK,CAAC,EAAI,CAACE,MAAM,CAACC,QAAQ,CAACF,OAAO,CAAC,EAAIA,OAAO,EAAI,CAAC,CAAE,MAAO,EAAC,CAElF,KAAM,CAAAG,SAAS,CAAGJ,KAAK,CAAGC,OAAO,CACjC,MAAO,CAAAG,SAAS,CAAG,CAAC,CAAGA,SAAS,CAAGH,OAAO,CAAGG,SAAS,CACxD","ignoreList":[]}'},n=[new globalThis.Error,1,-27],(i=function(A,e){if(!Number.isFinite(A)||!Number.isFinite(e)||e<=0)return 0;var t=A%e;return t<0?t+e:t}).__closure={},i.__workletHash=0x15906a76440,i.__pluginVersion="0.5.2",i.__initData=a,i.__stackDetails=n,i),ew=(r={code:"function getLogicalProgress_carouselMathTs2(offset,itemSize){if(!Number.isFinite(offset)||!Number.isFinite(itemSize)||itemSize<=0)return 0;return-offset/itemSize;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getLogicalProgress_carouselMathTs2","offset","itemSize","Number","isFinite"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AASO,SAAAA,kCAA4CA,CAAAC,MAA0B,CAAAC,QAAA,EAG3E,GAAI,CAACC,MAAM,CAACC,QAAQ,CAACH,MAAM,CAAC,EAAI,CAACE,MAAM,CAACC,QAAQ,CAACF,QAAQ,CAAC,EAAIA,QAAQ,EAAI,CAAC,CAAE,MAAO,EAAC,CACrF,MAAO,CAACD,MAAM,CAAGC,QAAQ,CAC3B","ignoreList":[]}'},C=[new globalThis.Error,1,-27],(o=function(A,e){return Number.isFinite(A)&&Number.isFinite(e)&&!(e<=0)?-A/e:0}).__closure={},o.__workletHash=0x4999e1b6b6c,o.__pluginVersion="0.5.2",o.__initData=r,o.__stackDetails=C,o),eG=(s={code:"function getOffsetForLogicalPage_carouselMathTs3(page,itemSize){if(!Number.isFinite(page)||!Number.isFinite(itemSize)||itemSize<=0)return 0;if(page===0)return 0;return-page*itemSize;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getOffsetForLogicalPage_carouselMathTs3","page","itemSize","Number","isFinite"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AAgBO,SAAAA,uCAAgEA,CAAAC,IAAS,CAAAC,QAAA,EAG9E,GAAI,CAACC,MAAM,CAACC,QAAQ,CAACH,IAAI,CAAC,EAAI,CAACE,MAAM,CAACC,QAAQ,CAACF,QAAQ,CAAC,EAAIA,QAAQ,EAAI,CAAC,CAAE,MAAO,EAAC,CACnF,GAAID,IAAI,GAAK,CAAC,CAAE,MAAO,EAAC,CACxB,MAAO,CAACA,IAAI,CAAGC,QAAQ,CACzB","ignoreList":[]}'},l=[new globalThis.Error,1,-27],(c=function(A,e){return Number.isFinite(A)&&Number.isFinite(e)&&!(e<=0)&&0!==A?-A*e:0}).__closure={},c.__workletHash=0xcbda784e8df,c.__pluginVersion="0.5.2",c.__initData=s,c.__stackDetail
1s=l,c),ex=(d=(u={_worklet_10217373002563_init_data:{code:"function getNearestLogicalPage_carouselMathTs4(offset,itemSize){const{getLogicalProgress}=this.__closure;return Math.round(getLogicalProgress(offset,itemSize));}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getNearestLogicalPage_carouselMathTs4","offset","itemSize","getLogicalProgress","__closure","Math","round"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AAwBO,SAAAA,qCAA+CA,CAAAC,MAA0B,CAAAC,QAAA,QAAAC,kBAAA,OAAAC,SAAA,CAG9E,MAAO,CAAAC,IAAI,CAACC,KAAK,CAACH,kBAAkB,CAACF,MAAM,CAAEC,QAAQ,CAAC,CAAC,CACzD","ignoreList":[]}'},getLogicalProgress:ew})._worklet_10217373002563_init_data,_=u.getLogicalProgress,m=[new globalThis.Error,-2,-27],(v=function(A,e){return Math.round(_(A,e))}).__closure={getLogicalProgress:_},v.__workletHash=0x94aeae36b43,v.__pluginVersion="0.5.2",v.__initData=d,v.__stackDetails=m,v),eK=(h=(g={_worklet_14878546690878_init_data:{code:"function getSettledRawIndex_carouselMathTs5(progress,count){const{positiveModulo}=this.__closure;if(!Number.isFinite(count)||count<=0)return 0;return positiveModulo(Math.round(progress),Math.floor(count));}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getSettledRawIndex_carouselMathTs5","progress","count","positiveModulo","__closure","Number","isFinite","Math","round","floor"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AA8BO,SAAAA,kCAA8CA,CAAcC,QAAS,CAAAC,KAAA,QAAAC,cAAA,OAAAC,SAAA,CAG1E,GAAI,CAACC,MAAM,CAACC,QAAQ,CAACJ,KAAK,CAAC,EAAIA,KAAK,EAAI,CAAC,CAAE,MAAO,EAAC,CACnD,MAAO,CAAAC,cAAc,CAACI,IAAI,CAACC,KAAK,CAACP,QAAQ,CAAC,CAAEM,IAAI,CAACE,KAAK,CAACP,KAAK,CAAC,CAAC,CAChE","ignoreList":[]}'},positiveModulo:eM})._worklet_14878546690878_init_data,p=g.positiveModulo,E=[new globalThis.Error,-2,-27],(S=function(A,e){return!Number.isFinite(e)||e<=0?0:p(Math.round(A),Math.floor(e))}).__closure={positiveModulo:p},S.__workletHash=0xd882e7d833e,S.__pluginVersion="0.5.2",S.__initData=h,S.__stackDetails=E,S),eB=(I=(f={_worklet_11006711468021_init_data:{code:"function getNearestLoopPosition_carouselMathTs6(rawIndex,progress,count){const{positiveModulo}=this.__closure;if(!Number.isFinite(rawIndex)||!Number.isFinite(progress)||!Number.isFinite(count)||count<=0){return 0;}const safeCount=Math.floor(count);
1const normalizedIndex=positiveModulo(Math.round(rawIndex),safeCount);const lowerCycle=Math.floor((progress-normalizedIndex)/safeCount);const lower=normalizedIndex+lowerCycle*safeCount;const upper=lower+safeCount;const lowerDistance=Math.abs(progress-lower);const upperDistance=Math.abs(upper-progress);if(upperDistance<lowerDistance)return upper;if(lowerDistance<upperDistance)return lower;return upper>=progress?upper:lower;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getNearestLoopPosition_carouselMathTs6","rawIndex","progress","count","positiveModulo","__closure","Number","isFinite","safeCount","Math","floor","normalizedIndex","round","lowerCycle","lower","upper","lowerDistance","abs","upperDistance"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AAqCO,SAAAA,sCAAkDA,CAAAC,QAAkB,CAAcC,QAAS,CAAAC,KAAA,QAAAC,cAAA,OAAAC,SAAA,CAGhG,GACE,CAACC,MAAM,CAACC,QAAQ,CAACN,QAAQ,CAAC,EAC1B,CAACK,MAAM,CAACC,QAAQ,CAACL,QAAQ,CAAC,EAC1B,CAACI,MAAM,CAACC,QAAQ,CAACJ,KAAK,CAAC,EACvBA,KAAK,EAAI,CAAC,CACV,CACA,MAAO,EAAC,CACV,CAEA,KAAM,CAAAK,SAAS,CAAGC,IAAI,CAACC,KAAK,CAACP,KAAK,CAAC,CACnC,KAAM,CAAAQ,eAAe,CAAGP,cAAc,CAACK,IAAI,CAACG,KAAK,CAACX,QAAQ,CAAC,CAAEO,SAAS,CAAC,CACvE,KAAM,CAAAK,UAAU,CAAGJ,IAAI,CAACC,KAAK,CAAC,CAACR,QAAQ,CAAGS,eAAe,EAAIH,SAAS,CAAC,CACvE,KAAM,CAAAM,KAAK,CAAGH,eAAe,CAAGE,UAAU,CAAGL,SAAS,CACtD,KAAM,CAAAO,KAAK,CAAGD,KAAK,CAAGN,SAAS,CAC/B,KAAM,CAAAQ,aAAa,CAAGP,IAAI,CAACQ,GAAG,CAACf,QAAQ,CAAGY,KAAK,CAAC,CAChD,KAAM,CAAAI,aAAa,CAAGT,IAAI,CAACQ,GAAG,CAACF,KAAK,CAAGb,QAAQ,CAAC,CAEhD,GAAIgB,aAAa,CAAGF,aAAa,CAAE,MAAO,CAAAD,KAAK,CAC/C,GAAIC,aAAa,CAAGE,aAAa,CAAE,MAAO,CAAAJ,KAAK,CAG/C,MAAO,CAAAC,KAAK,EAAIb,QAAQ,CAAGa,KAAK,CAAGD,KAAK,CAC1C","ignoreList":[]}'},positiveModulo:eM})._worklet_11006711468021_init_data,M=f.positiveModulo,w=[new globalThis.Error,-2,-27],(G=function(A,e,t){if(!Number.isFinite(A)||!Number.isFinite(e)||!Number.isFinite(t)||t<=0)return 0;var a=Math.floor(t),n=M(Math.round(A),a),i=Math.floor((e-n)/a),r=n+i*a,C=r+a,o=Math.abs(e-r),s=Math.abs(C-e);return s<o?C:o<s?r:C>=e?C:r}).__closure={positiveModulo:M},G.__workletHash=0xa02b3208ff5,G.__pluginVersion="0.5.2",G.__initData=I,G.__stackDetails=w,G);K=(x={_worklet_2155247756991_init_data:{code:"function getRelativeProgress_carouselMathTs7(params){const{getNearestLoopPosition}=this.__closure;const{rawIndex:rawIndex,progress:progress,count:count,loop:loop}=params;if(!Number.isFinite(progress))return 0;const itemPosition=loop?getNearestLoopPosition(rawIndex,progress,count):rawIndex;return itemPosition-progress;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getRelativeProgress_carouselMathTs7","params","getNearestLoopPosition","__closure","rawIndex","progress","count","loop","Number","isFinite","itemPosition"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AAgEO,SAAAA,mCAKIA,CAAAC,MAAA,QAAAC,sBAAA,OAAAC,SAAA,CAGT,KAAM,CAAEC,QAAQ,CAARA,QAAQ,CAAEC,QAAQ,CAARA,QAAQ,CAAEC,KAAK,CAALA,KAAK,CAAEC,IAAA,CAAAA,IAAK,CAAC,CAAGN,MAAM,CAClD,GAAI,CAACO,MAAM,CAACC,QAAQ,CAACJ,QAAQ,CAAC,CAAE,MAAO,EAAC,CAExC,KAAM,CAAAK,YAAY,CAAGH,IAAI,CAAGL,sBAAsB,CAACE,QAAQ,CAAEC,QAAQ,CAAEC,KAAK,CAAC,CAAGF,QAAQ,CACxF,MAAO,CAAAM,YAAY,CAAGL,QAAQ,CAChC","ignoreList":[]}'},getNearestLoopPosition:eB})._worklet_2155247756991_init_data,B=x.getNearestLoopPosition,D=[new globalThis.Error,-2,-27],(O=function(A){var e=A.rawIndex,t=A.progress,a=A.count,n=A.loop;return Number.isFinite(t)?(n?B(e,t,a):e)-t:0}).__closure={getNearestLoopPosition:B},O.__workletHash=0x1f5cec6e6bf,O.__pluginVersion="0.5.2",O.__initData=K,O.__stackDetails=D,z=[new globalThis.Error,1,-27],(k=function(A,e,t){return Number.isFinite(A)&&Number.isFinite(e)&&Number.isFinite(t)&&!(e<=0)&&!(t<=0)?A%(e*Math.floor(t)):0}).__closure={},k.__workletHash=0x96c5e44c506,k.__pluginVersion="0.5.2",k.__initData={code:"function getBoundedLoopOffset_carouselMathTs8(offset,itemSize,count){if(!Number.isFinite(offset)||!Number.isFinite(itemSize)||!Number.isFinite(count)||itemSize<=0||
1count<=0){return 0;}const cycleSize=itemSize*Math.floor(count);return offset%cycleSize;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getBoundedLoopOffset_carouselMathTs8","offset","itemSize","count","Number","isFinite","cycleSize","Math","floor"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AA+EO,SAAAA,oCAA8CA,CAAAC,MAAkB,CAAcC,QAAS,CAAAC,KAAA,EAG5F,GACE,CAACC,MAAM,CAACC,QAAQ,CAACJ,MAAM,CAAC,EACxB,CAACG,MAAM,CAACC,QAAQ,CAACH,QAAQ,CAAC,EAC1B,CAACE,MAAM,CAACC,QAAQ,CAACF,KAAK,CAAC,EACvBD,QAAQ,EAAI,CAAC,EACbC,KAAK,EAAI,CAAC,CACV,CACA,MAAO,EAAC,CACV,CAEA,KAAM,CAAAG,SAAS,CAAGJ,QAAQ,CAAGK,IAAI,CAACC,KAAK,CAACL,KAAK,CAAC,CAC9C,MAAO,CAAAF,MAAM,CAAGK,SAAS,CAC3B","ignoreList":[]}'},k.__stackDetails=z;var eD=(b=(y={_worklet_4997245813626_init_data:{code:"function getShortestLoopTargetPage_carouselMathTs9(params){const{positiveModulo}=this.__closure;const{currentPage:currentPage,targetIndex:targetIndex,count:count}=params;if(!Number.isFinite(currentPage)||!Number.isInteger(targetIndex)||!Number.isInteger(count)||count<=0){return 0;}const currentRawIndex=positiveModulo(currentPage,count);const forwardDistance=positiveModulo(targetIndex-currentRawIndex,count);const backwardDistance=forwardDistance-count;const distance=Math.abs(forwardDistance)<=Math.abs(backwardDistance)?forwardDistance:backwardDistance;return currentPage+distance;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["getShortestLoopTargetPage_carouselMathTs9","params","positiveModulo","__closure","currentPage","targetIndex","count","Number","isFinite","isInteger","currentRawIndex","forwardDistance","backwardDistance","distance","Math","abs"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AAgGO,SAAAA,yCAIIA,CAAAC,MAAA,QAAAC,cAAA,OAAAC,SAAA,CAGT,KAAM,CAAEC,WAAW,CAAXA,WAAW,CAAEC,WAAW,CAAXA,WAAW,CAAEC,KAAA,CAAAA,KAAM,CAAC,CAAGL,MAAM,CAClD,GACE,CAACM,MAAM,CAACC,QAAQ,CAACJ,WAAW,CAAC,EAC7B,CAACG,MAAM,CAACE,SAAS,CAACJ,WAAW,CAAC,EAC9B,CAACE,MAAM,CAACE,SAAS,CAACH,KAAK,CAAC,EACxBA,KAAK,EAAI,CAAC,CACV,CACA,MAAO,EAAC,CACV,CAEA,KAAM,CAAAI,eAAe,CAAGR,cAAc,CAACE,WAAW,CAAEE,KAAK,CAAC,CAC1D,KAAM,CAAAK,eAAe,CAAGT,cAAc,CAACG,WAAW,CAAGK,eAAe,CAAEJ,KAAK,CAAC,CAC5E,KAAM,CAAAM,gBAAgB,CAAGD,eAAe,CAAGL,KAAK,CAChD,KAAM,CAAAO,QAAQ,CACZC,IAAI,CAACC,GAAG,CAACJ,eAAe,CAAC,EAAIG,IAAI,CAACC,GAAG,CAACH,gBAAgB,CAAC,CAAGD,eAAe,CAAGC,gBAAgB,CAE9F,MAAO,CAAAR,WAAW,CAAGS,QAAQ,CAC/B","ignoreList":[]}'},positiveModulo:eM})._worklet_4997245813626_init_data,L=y.positiveModulo,T=[new globalThis.Error,-2,-27],(U=function(A){var e=A.currentPage,t=A.targetIndex,a=A.count;if(!Number.isFinite(e)||!Number.isInteger(t)||!Number.isInteger(a)||a<=0)return 0;var n=L(e,a),i=L(t-n,a),r=i-a;return e+(Math.abs(i)<=Math.abs(r)?i:r)}).__closure={positiveModulo:L},U.__workletHash=0x48b830fc37a,U.__pluginVersion="0.5.2",U.__initData=b,U.__stackDetails=T,U),eO=(Q=(P={_worklet_2528179312853_init_data:{code:'function reconcileOffsetAfterDataChange_carouselMathTs10(params){const{getOffsetForLogicalPage,getNearestLogicalPage,positiveModulo,getNearestLoopPosition}=this.__closure;const{offset:offset,itemSize:itemSize,previousCount:previousCount,nextCount:nextCount,defaultIndex:defaultIndex,loop:loop,retainedIndex:retainedIndex}=params;if(!Number.isInteger(nextCount)||nextCount<=0||itemSize<=0)return 0;if(!Number.isInteger(previousCount)||previousCount<=0){const initialIndex=Math.max(0,Math.min(nextCount-1,defaultIndex));return getOffsetForLogicalPage(initialIndex,itemSize);}const currentPage=getNearestLogicalPage(offset,itemSize);const previousRawIndex=positiveModulo(currentPage,previousCount);const nextRawIndex=typeof retainedIndex==="number"&&Number.isInteger(retainedIndex)&&retainedIndex>=0&&retainedIndex<nextCount?retainedIndex:Math.min(previousRawIndex,nextCount-1);const nextPage=loop?getNearestLoopPosition(nextRawIndex,currentPage,nextCount):nextRawIndex;return getOffsetForLogicalPage(nextPage,itemSize);}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts",sourceMap:'{"version":3,"names":["reconcileOffsetAfterDataChange_carouselMathTs10","params","getOffsetForLogicalPage","getNearestLogicalPage","positiveModulo","getNearestLoopPosition","__closure","offset","itemSize","previousCount","nextCount","defaultIndex","loop","retainedIndex","Number","isInteger","initialIndex","Math","max","min","currentPage","previousRawIndex","nextRawIndex","nextPage"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-math.ts"],"mappings":"AA0HO,SAAAA,+CAQIA,CAAAC,MAAA,QAAAC,uBAAA,CAAAC,qBAAA,CAAAC,cAAA,CAAAC,sBAAA,OAAAC,SAAA,CAGT,KAAM,CAAEC,MAAM,CAANA,MAAM,CAAEC,QAAQ,CAARA,QAAQ,CAAEC,aAAa,CAAbA,aAAa,CAAEC,SAAS,CAATA,SAAS,CAAEC,YAAY,CAAZA,YAAY,CAAEC,IAAI,CAAJA,IAAI,CAAEC,aAAA,CAAAA,aAAc,CAAC,CAAGZ,MAAM,CAChG,GAAI,CAACa,MAAM,CAACC,SAAS,CAACL,SAAS,CAAC,EAAIA,SAAS,EAAI,CAAC,EAAIF,QAAQ,EAAI,CAAC,CAAE,MAAO,EAAC,CAE7E,GAAI,CAACM,MAAM,CAACC,SAAS,CAACN,aAAa,CAAC,EAAIA,aAAa,EAAI,CAAC,CAAE,CAC1D,KAAM,CAAAO,YAAY,CAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,CAAED,IAAI,CAACE,GAAG,CAACT,SAAS,CAAG,CAAC,CAAEC,YAAY,CAAC,CAAC,CACvE,MAAO,CAAAT,uBAAuB,CAACc,YAAY,CAAER,QAAQ,CAAC,CACxD,CAEA,KAAM,CAAAY,WAAW,CAAGjB,qBAAqB,CAACI,MAAM,CAAEC,QAAQ,CAAC,CAC3D,KAAM,CAAAa,gBAAgB,CAAGjB,cAAc,CAACgB,WAAW,CAAEX,aAAa,CAAC,CACnE,KAAM,CAAAa,YAAY,CAChB,MAAO,CAAAT,aAAa,GAAK,QAAQ,EACjCC,MAAM,CAACC,SAAS,CAACF,aAAa,CAAC,EAC/BA,aAAa,EAAI,CAAC,EAClBA,aAAa,CAAGH,SAAS,CACrBG,aAAa,CACbI,IAAI,CAACE,GAAG,CAACE,gBAAgB,CAAEX,SAAS,CAAG,CAAC,CAAC,CAC/C,KAAM,CAAAa,QAAQ,CAAGX,IAAI,CACjBP,sBAAsB,CAACiB,YAAY,CAAEF,WAAW,CAAEV,SAAS,CAAC,CAC5DY,YAAY,CAEhB,MAAO,CAAApB,uBAAuB,CAACqB,QAAQ,CAAEf,QAAQ,CAAC,CACpD","ignoreList":[]}'},getOffsetForLogicalPage:eG,getNearestLogicalPage:ex,positiveModulo:eM,getNearestLoopPosition:eB})._worklet_2528179312853_init_data,W=P.getOffsetForLogicalPage,V=P.getNearestLogicalPage,F=P.positiveModulo,R=P.getNearestLoopPosition,Y=[new globalThis.Error,-5,-27],(N=function(A){var e=A.offset,t=A.itemSize,a=A.previousCount,n=A.nextCount,i=A.defaultIndex,r=A.loop,C=A.retainedIndex;if(!Number.isInteger(n)||n<=0||t<=0)return 0;if(!Number.isInteger(a)||a<=0)return W(Math.max(0,Math.min(n-1,i)),t);var o=V(e,t),s=F(o,a),l="number"==typeof C&&Number.isInteger(C)&&C>=0&&C<n?C:Math.min(s,n-1);return W(r?R(l,o,n):l,t)}).__closure={getOffsetForLogicalPage:W,getNearestLogicalPage:V,positiveModulo:F,getNearestLoopPosition:R},N.__workletHash=0x24ca33ad8d5,N.__pluginVersion="0.5.2",N.__initData=Q,N.__stackDetail
1s=Y,N),ez=(H={code:"function computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1(params){const{handlerOffset:handlerOffset,prevSize:prevSize,size:size}=params;if(!prevSize){return handlerOffset;}return handlerOffset/prevSize*size;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-size-changed.ts",sourceMap:'{"version":3,"names":["computeOffsetIfSizeChanged_computeOffsetIfSizeChangedTs1","params","handlerOffset","prevSize","size"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-offset-if-size-changed.ts"],"mappings":"AAAO,SAAAA,wDAIJA,CAAAC,MAAA,EAED,KAAM,CAAEC,aAAa,CAAbA,aAAa,CAAEC,QAAQ,CAARA,QAAQ,CAAEC,IAAA,CAAAA,IAAK,CAAC,CAAGH,MAAM,CAEhD,GAAI,CAACE,QAAQ,CAAE,CACb,MAAO,CAAAD,aAAa,CACtB,CAEA,MAAQ,CAAAA,aAAa,CAAGC,QAAQ,CAAIC,IAAI,CAC1C","ignoreList":[]}'},j=[new globalThis.Error,1,-27],(J=function(A){var e=A.handlerOffset,t=A.prevSize,a=A.size;return t?e/t*a:e}).__closure={},J.__workletHash=0x16710f3edfd,J.__pluginVersion="0.5.2",J.__initData=H,J.__stackDetails=j,J),ek={code:"function useCommonVariablesTs1(){const{resolvedSize}=this.__closure;return resolvedSize.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts",sourceMap:'{"version":3,"names":["useCommonVariablesTs1","resolvedSize","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts"],"mappings":"AA4FI,SAAAA,sBAAA,QAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAD,YAAa,CAAAE,KAAA","ignoreList":[]}'},ey={code:"function useCommonVariablesTs2(current,previous){const{scheduleOnRN,syncSize}=this.__closure;if(current==null||current<=0)return;if(current!==previous){scheduleOnRN(syncSize,current);}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts",sourceMap:'{"version":3,"names":["useCommonVariablesTs2","current","previous","scheduleOnRN","syncSize","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts"],"mappings":"AA6FI,QAAC,CAAAA,qBAAsBA,CAAAC,OAAA,CAAAC,QAAA,QAAAC,YAAA,CAAAC,QAAA,OAAAC,SAAA,CACrB,GAAIJ,OAAO,EAAI,IAAI,EAAIA,OAAO,EAAI,CAAC,CAAE,OACrC,GAAIA,OAAO,GAAKC,QAAQ,CAAE,CACxBC,YAAY,CAACC,QAAQ,CAAEH,OAAO,CAAC,CACjC,CACF","ignoreList":[]}'},eb={code:"function useCommonVariablesTs3(){const{resolvedSize}=this.__closure;return resolvedSize.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts",sourceMap:'{"version":3,"names":["useCommonVariablesTs3","resolvedSize","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts"],"mappings":"AAuNI,SAAAA,sBAAA,QAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAD,YAAa,CAAAE,KAAA","ignoreList":[]}'},eL={code:'function useCommonVariablesTs4(currentSize){const{prevSize,sizePhase,dataLength,hasInitializedOffset,handlerOffset,defaultIndex,computeOffsetIfSizeChanged}=this.__closure;if(currentSize==null||currentSize<=0)return;const previousSize=prevSize.value;if(previousSize===currentSize)return;sizePhase.value=previousSize>0?"updating":sizePhase.value;if(dataLength<=0){prevSize.value=currentSize;sizePhase.value="ready";return;}if(previousSize<=0||!hasInitializedOffset.value){handlerOffset.value=-(defaultIndex*currentSize);hasInitializedOffset.value=true;}else{handlerOffset.value=computeOffsetIfSizeChanged({handlerOffset:handlerOffset.value,prevSize:previousSize,size:currentSize});}prevSize.value=currentSize;sizePhase.value="ready";}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts",sourceMap:'{"version":3,"names":["useCommonVariablesTs4","currentSize","prevSize","sizePhase","dataLength","hasInitializedOffset","handlerOffset","defaultIndex","computeOffsetIfSizeChanged","__closure","previousSize","value","size"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCommonVariables.ts"],"mappings":"AAwNK,SAAAA,qBAAgBA,CAAAC,WAAA,QAAAC,QAAA,CAAAC,SAAA,CAAAC,UAAA,CAAAC,oBAAA,CAAAC,aAAA,CAAAC,YAAA,CAAAC,0BAAA,OAAAC,SAAA,CACf,GAAIR,WAAW,EAAI,IAAI,EAAIA,WAAW,EAAI,CAAC,CAAE,OAC7C,KAAM,CAAAS,YAAY,CAAGR,QAAQ,CAACS,KAAK,CAEnC,GAAID,YAAY,GAAKT,WAAW,CAAE,OAElCE,SAAS,CAACQ,KAAK,CAAGD,YAAY,CAAG,CAAC,CAAG,UAAU,CAAGP,SAAS,CAACQ,KAAK,CAEjE,GAAIP,UAAU,EAAI,CAAC,CAAE,CACnBF,QAAQ,CAACS,KAAK,CAAGV,WAAW,CAC5BE,SAAS,CAACQ,KAAK,CAAG,OAAO,CACzB,OACF,CAEA,GAAID,YAAY,EAAI,CAAC,EAAI,CAACL,oBAAoB,CAACM,KAAK,CAAE,CACpDL,aAAa,CAACK,KAAK,CAAG,EAAEJ,YAAY,CAAGN,WAAW,CAAC,CACnDI,oBAAoB,CAACM,KAAK,CAAG,IAAI,CACnC,CAAC,IAAM,CACLL,aAAa,CAACK,KAAK,CAAGH,0BAA0B,CAAC,CAC/CF,aAAa,CAAEA,aAAa,CAACK,KAAK,CAClCT,QAAQ,CAAEQ,YAAY,CACtBE,IAAI,CAAEX,WACR,CAAC,CAAC,CACJ,CAEAC,QAAQ,CAACS,KAAK,CAAGV,WAAW,CAC5BE,SAAS,CAACQ,KAAK,CAAG,OAAO,CAC3B","ignoreList":[]}'},eT=t(55884),eU=((X={})[X.SINGLE_ITEM=1]="SINGLE_ITEM",X[X.DOUBLE_ITEM=2]="DOUBLE_ITEM",X),eP={easeOutQuart:ef.Easing.bezier(.25,1,.5,1)},eQ=(q={code:'function getCarouselDirectionSign_carouselDirectionTs1(options){return options.orientation==="horizontal"&&options.isRTL?-1:1;}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts",sourceMap:'{"version":3,"names":["getCarouselDirectionSign_carouselDirectionTs1","options","orientation","isRTL"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts"],"mappings":"AAEO,SAAAA,6CAGmBA,CAAAC,OAAA,EAGxB,MAAO,CAAAA,OAAO,CAACC,WAAW,GAAK,YAAY,EAAID,OAAO,CAACE,KAAK,CAAG,CAAC,CAAC,CAAG,CAAC,CACvE","ignoreList":[]}'},$=[new globalThis.Error,1,-27],(Z=function(A){return"horizontal"===A.orientation&&A.isRTL?
1-1:1}).__closure={},Z.__workletHash=0x9d73490fe22,Z.__pluginVersion="0.5.2",Z.__initData=q,Z.__stackDetails=$,Z),eW=(AA={code:"function toLogicalGestureValue_carouselDirectionTs2(physicalValue,directionSign){return physicalValue*directionSign;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts",sourceMap:'{"version":3,"names":["toLogicalGestureValue_carouselDirectionTs2","physicalValue","directionSign"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts"],"mappings":"AAWO,SAAAA,0CAELA,CAAAC,aACQ,CAAAC,aAAA,EAGR,MAAO,CAAAD,aAAa,CAAGC,aAAa,CACtC","ignoreList":[]}'},Ae=[new globalThis.Error,1,-27],(At=function(A,e){return A*e}).__closure={},At.__workletHash=0xd58687ef19e,At.__pluginVersion="0.5.2",At.__initData=AA,At.__stackDetails=Ae,At),eV=(Aa={code:"function toPhysicalHorizontalValue_carouselDirectionTs3(logicalValue,directionSign){return logicalValue*directionSign;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts",sourceMap:'{"version":3,"names":["toPhysicalHorizontalValue_carouselDirectionTs3","logicalValue","directionSign"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts"],"mappings":"AAoBO,SAAAA,8CAELA,CAAAC,YACQ,CAAAC,aAAA,EAGR,MAAO,CAAAD,YAAY,CAAGC,aAAa,CACrC","ignoreList":[]}'},An=[new globalThis.Error,1,-27],(Ai=function(A,e){return A*e}).__closure={},Ai.__workletHash=0xdb68bd598b0,Ai.__pluginVersion="0.5.2",Ai.__initData=Aa,Ai.__stackDetails=An,Ai),eF=(Ar={code:'function getHorizontalStackOffsetType_carouselDirectionTs4(exitDirection,directionSign){const ltrType=exitDirection==="right"?"negative":"positive";if(directionSign===1)return ltrType;return ltrType==="positive"?"negative":"positive";}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts",sourceMap:'{"version":3,"names":["getHorizontalStackOffsetType_carouselDirectionTs4","exitDirection","directionSign","ltrType"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/carousel-direction.ts"],"mappings":"AA6BO,SAAAA,iDAELA,CAAAC,aACyB,CAAAC,aAAA,EAGzB,KAAM,CAAAC,OAAO,CAAGF,aAAa,GAAK,OAAO,CAAG,UAAU,CAAG,UAAU,CACnE,GAAIC,aAAa,GAAK,CAAC,CAAE,MAAO,CAAAC,OAAO,CACvC,MAAO,CAAAA,OAAO,GAAK,UAAU,CAAG,UAAU,CAAG,UAAU,CACzD","ignoreList":[]}'},AC=[new globalThis.Error,1,-27],(Ao=function(A,e){var t="right"===A?"negative":"positive";return 1===e?t:"positive"===t?"negative":"positive"}).__closure={},Ao.__workletHash=0xc2dc3c3485c,Ao.__pluginVersion="0.5.2",Ao.__initData=Ar,Ao.__stackDetails=AC,Ao),eR=eU.SINGLE_ITEM,eY=eU.DOUBLE_ITEM,eN=(As={code:"function isAutoFillData_computedWithAutoFillDataTs1(params){return!!params.loop&&!!params.autoFillData;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:'{"version":3,"names":["isAutoFillData_computedWithAutoFillDataTs1","params","loop","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts"],"mappings":"AAIA,SAAAA,0CAA0EA,CAAAC,MAAA,EAExE,MAAO,CAAC,CAACA,MAAM,CAACC,IAAI,EAAI,CAAC,CAACD,MAAM,CAACE,YAAY,CAC/C","ignoreList":[]}'},Al=[new globalThis.Error,1,-27],(Ac=function(A){return!!A.loop&&!!A.autoFillData}).__closure={},Ac.__workletHash=0xd81e2341e63,Ac.__pluginVersion="0.5.2",Ac.__initData=As,Ac.__stackDetails=Al,Ac);function eH(A,e){return Number.isInteger(A)&&A>=0&&A<e}Ad=(Au={_worklet_9348172572397_init_data:{code:"function convertToSharedIndex_computedWithAutoFillDataTs2(params){const{isAutoFillData,SINGLE_ITEM,DOUBLE_ITEM}=this.__closure;const{loop:loop,rawDataLength:rawDataLength,index:index,autoFillData:autoFillData}=params;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return 0;case DOUBLE_ITEM:return index%2;}}return index;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:'{"version":3,"names":["convertToSharedIndex_computedWithAutoFillDataTs2","params","isAutoFillData","SINGLE_ITEM","DOUBLE_ITEM","__closure","loop","rawDataLength","index","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts"],"mappings":"AAcO,SAAAA,gDAA4FA,CAAAC,MAAA,QAAAC,cAAA,CAAAC,WAAA,CAAAC,WAAA,OAAAC,SAAA,CAEjG,KAAM,CAAEC,IAAI,CAAJA,IAAI,CAAEC,aAAa,CAAbA,aAAa,CAAEC,KAAK,CAALA,KAAK,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGR,MAAM,CAE3D,GAAIC,cAAc,CAAC,CAAEI,IAAI,CAAJA,IAAI,CAAEG,YAAA,CAAAA,YAAa,CAAC,CAAC,CAAE,CAC1C,OAAQF,aAAa,EACnB,IAAK,CAAAJ,WAAW,CACd,MAAO,EAAC,CACV,IAAK,CAAAC,WAAW,CACd,MAAO,CAAAI,KAAK,CAAG,CAAC,CACpB,CACF,CAEA,MAAO,CAAAA,KAAK,CACd","ignoreList":[]}'},isAutoFillData:eN,SINGLE_ITEM:eR,DOUBLE_ITEM:eY})._worklet_9348172572397_init_data,A_=Au.isAutoFillData,Am=Au.SINGLE_ITEM,Av=Au.DOUBLE_ITEM,Ag=[new globalThis.Error,-4,-27],(Ah=function(A){var e=A.loop,t=A.rawDataLength,a=A.index;if(A_({loop:e,autoFillData:A.autoFillData}))switch(t){case Am:return 0;case Av:return a%2}return a}).__closure={isAutoFillData:A_,SINGLE_ITEM:Am,DOUBLE_ITEM:Av},Ah.__workletHash=0x8808a8166ed,Ah.__pluginVersion="0.5.2",Ah.__initData=Ad,Ah.__stackDetail
1s=Ag,AE=(Ap={_worklet_12639980643241_init_data:{code:"function computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3(params){const{isAutoFillData,SINGLE_ITEM,DOUBLE_ITEM}=this.__closure;const{rawDataLength:rawDataLength,value:value,size:size,loop:loop,autoFillData:autoFillData}=params;if(isAutoFillData({loop:loop,autoFillData:autoFillData})){switch(rawDataLength){case SINGLE_ITEM:return value%size;case DOUBLE_ITEM:return value%(size*2);}}return value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts",sourceMap:'{"version":3,"names":["computedOffsetXValueWithAutoFillData_computedWithAutoFillDataTs3","params","isAutoFillData","SINGLE_ITEM","DOUBLE_ITEM","__closure","rawDataLength","value","size","loop","autoFillData"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/computed-with-auto-fill-data.ts"],"mappings":"AA8BO,SAAAA,gEAMLA,CAAAC,MAAA,QAAAC,cAAA,CAAAC,WAAA,CAAAC,WAAA,OAAAC,SAAA,CAGA,KAAM,CAAEC,aAAa,CAAbA,aAAa,CAAEC,KAAK,CAALA,KAAK,CAAEC,IAAI,CAAJA,IAAI,CAAEC,IAAI,CAAJA,IAAI,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGT,MAAM,CAEjE,GAAIC,cAAc,CAAC,CAAEO,IAAI,CAAJA,IAAI,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAC,CAAE,CAC1C,OAAQJ,aAAa,EACnB,IAAK,CAAAH,WAAW,CACd,MAAO,CAAAI,KAAK,CAAGC,IAAI,CACrB,IAAK,CAAAJ,WAAW,CACd,MAAO,CAAAG,KAAK,EAAIC,IAAI,CAAG,CAAC,CAAC,CAC7B,CACF,CAEA,MAAO,CAAAD,KAAK,CACd","ignoreList":[]}'},isAutoFillData:eN,SINGLE_ITEM:eR,DOUBLE_ITEM:eY})._worklet_12639980643241_init_data,AS=Ap.isAutoFillData,Af=Ap.SINGLE_ITEM,AI=Ap.DOUBLE_ITEM,AM=[new globalThis.Error,-4,-27],(Aw=function(A){var e=A.rawDataLength,t=A.value,a=A.size;if(AS({loop:A.loop,autoFillData:A.autoFillData}))switch(e){case Af:return t%a;case AI:return t%(2*a)}return t}).__closure={isAutoFillData:AS,SINGLE_ITEM:Af,DOUBLE_ITEM:AI},Aw.__workletHash=0xb7ef98e63a9,Aw.__pluginVersion="0.5.2",Aw.__initData=AE,Aw.__stackDetails=AM;var ej=t(48888),eJ=t(62021),eX=eh.createContext({}),eq={code:"function indexTsx1(index,dimensions){const{itemDimensions}=this.__closure;itemDimensions.value={...itemDimensions.value,[index]:dimensions};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/store/index.tsx",sourceMap:'{"version":3,"names":["indexTsx1","index","dimensions","itemDimensions","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/store/index.tsx"],"mappings":"AA+B+B,QAAC,CAAAA,SAAeA,CAAAC,KAAA,CAAAC,UAAkD,QAAAC,cAAA,OAAAC,SAAA,CAG7FD,cAAc,CAACE,KAAK,CAAG,CAAE,GAAGF,cAAc,CAACE,KAAK,CAAE,CAACJ,KAAK,EAAGC,UAAW,CAAC,CACzE","ignoreList":[]}'},e$={code:"function indexTsx2(dimensions){const{containerSize}=this.__closure;containerSize.value=dimensions;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/store/index.tsx",sourceMap:'{"version":3,"names":["indexTsx2","dimensions","containerSize","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/store/index.tsx"],"mappings":"AAqC8B,QAAC,CAAAA,UAAAC,UAAkD,QAAAC,aAAA,OAAAC,SAAA,CAE7ED,aAAa,CAACE,KAAK,CAAGH,UAAU,CAClC","ignoreList":[]}'},eZ=function(A){var e,t,a,n,i,r,C,o,s,l,c=A.children,u=A.value,d=(0,ef.useSharedValue)({width:0,height:0}),_=(0,ef.useSharedValue)({}),m=(t=(e={_worklet_6592288089738_init_data:eq,itemDimensions:_})._worklet_6592288089738_init_data,a=e.itemDimensions,n=[new globalThis.Error,-2,-27],(i=function(A,e){a.value=Object.assign({},a.value,(0,ej.A)({},A,e))}).__closure={itemDimensions:a},i.__workletHash=0x5fee2fd668a,i.__pluginVersion="0.5.2",i.__initData=t,i.__stackDetails=n,i),v=(C=(r={_worklet_4372810295310_init_data:e$,containerSize:d})._worklet_4372810295310_init_data,o=r.containerSize,s=[new globalThis.Error,-2,-27],(l=function(A){o.value=A}).__closure={containerSize:o},l.__workletHash=0x3fa1fcde80e,l.__pluginVersion="0.5.2",l.__initData=C,l.__stackDetails=s,l);return(0,eJ.jsx)(eX.Provider,{value:Object.assign({},u,{layout:{containerSize:d,itemDimensions:_,updateItemDimensions:m,updateContainerSize:v}}),children:c})},e0=function(){var A=eh.useContext(eX);if(!A)throw Error("useGlobalState must be used within a GlobalStateProvider");return A}
1,e1=t(21287);function e2(A,e){if(null==A)return{};var t,a,n=(0,e1.A)(A,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(A);for(a=0;a<i.length;a++)t=i[a],-1===e.indexOf(t)&&({}).propertyIsEnumerable.call(A,t)&&(n[t]=A[t])}return n}var e3=t(49798),e5=["type"],e7=["type"],e6={code:"function dealWithAnimationTs2(isFinished){const{cb}=this.__closure;return cb(isFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:'{"version":3,"names":["dealWithAnimationTs2","isFinished","cb","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts"],"mappings":"AAWuD,SAAAA,oBAAUA,CAAAC,UAAA,QAAAC,EAAA,OAAAC,SAAA,OAAK,CAAAD,EAAG,CAAAD,UAAqB","ignoreList":[]}'},e8={code:"function dealWithAnimationTs3(isFinished){const{cb}=this.__closure;return cb(isFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:'{"version":3,"names":["dealWithAnimationTs3","isFinished","cb","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts"],"mappings":"AAeuD,SAAAA,oBAAUA,CAAAC,UAAA,QAAAC,EAAA,OAAAC,SAAA,OAAK,CAAAD,EAAG,CAAAD,UAAqB","ignoreList":[]}'},e9=(Ax=(AG={_worklet_9395448689721_init_data:{code:'function dealWithAnimation_dealWithAnimationTs1(animation){const{withSpring,withTiming}=this.__closure;switch(animation.type){case"spring":{const{type:_,...config}=animation;return function(value,cb){return withSpring(value,config,function(isFinished){return cb(isFinished);});};}case"timing":{const{type:_,...config}=animation;return function(value,cb){return withTiming(value,config,function(isFinished){return cb(isFinished);});};}}}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts",sourceMap:'{"version":3,"names":["dealWithAnimation_dealWithAnimationTs1","animation","withSpring","withTiming","__closure","type","_","config","value","cb","isFinished"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/deal-with-animation.ts"],"mappings":"AAIO,SAAAA,sCAEyDA,CAAAC,SAAA,QAAAC,UAAA,CAAAC,UAAA,OAAAC,SAAA,CAE9D,OAAQH,SAAS,CAACI,IAAI,EACpB,IAAK,QAAQ,CAAE,CACb,KAAM,CAAEA,IAAI,CAAEC,CAAC,CAAE,GAAGC,MAAO,CAAC,CAAGN,SAAS,CACxC,MAAO,UAACO,KAAK,CAAEC,EAAE,QAAK,CAAAP,UAAU,CAACM,KAAK,CAAED,MAAM,CAAG,SAAAG,UAAU,QAAK,CAAAD,EAAE,CAACC,UAAqB,CAAC,GAAC,GAC5F,CACA,IAAK,QAAQ,CAAE,CACb,KAAM,CAAEL,IAAI,CAAEC,CAAC,CAAE,GAAGC,MAAO,CAAC,CAAGN,SAAS,CACxC,MAAO,UAACO,KAAK,CAAEC,EAAE,QAAK,CAAAN,UAAU,CAACK,KAAK,CAAED,MAAM,CAAG,SAAAG,UAAU,QAAK,CAAAD,EAAE,CAACC,UAAqB,CAAC,GAAC,GAC5F,CACF,CACF","ignoreList":[]}'},withSpring:ef.withSpring,withTiming:ef.withTiming})._worklet_9395448689721_init_data,AK=AG.withSpring,AB=AG.withTiming,AD=[new globalThis.Error,-3,-27],(AO=function(A){switch(A.type){case"spring":A.type;var e=e2(A,e5);return function(A,t){var a,n,i,r,C;return AK(A,e,(n=(a={_worklet_13669641383651_init_data:e6,cb:t})._worklet_13669641383651_init_data,i=a.cb,r=[new globalThis.Error,-2,-27],(C=function(A){return i(A)}).__closure={cb:i},C.__workletHash=0xc6eb61e6ee3,C.__pluginVersion="0.5.2",C.__initData=n,C.__stackDetails=r,C))};case"timing":A.type;var t=e2(A,e7);return function(A,e){var a,n,i,r,C;return AB(A,t,(n=(a={_worklet_13747239236962_init_data:e8,cb:e})._worklet_13747239236962_init_data,i=a.cb,r=[new globalThis.Error,-2,-27],(C=function(A){return i(A)}).__closure={cb:i},C.__workletHash=0xc80c74fb562,C.__pluginVersion="0.5.2",C.__initData=n,C.__stackDetails=r,C))}}}).__closure={withSpring:AK,withTiming:AB},AO.__workletHash=0x88b8c61b439,AO.__pluginVersion="0.5.2",AO.__initData=Ax,AO.__stackDetails=AD,AO),e4={code:"function useCarouselControllerTsx1(){const{size,dataLength,rawDataLength,getNearestLogicalPage,handlerOffset,positiveModulo}=this.__closure;if(size<=0||dataLength<=0||rawDataLength<=0){return{physicalIndex:0,rawIndex:0};}const page=getNearestLogicalPage(handlerOffset.value,size);return{physicalIndex:positiveModulo(page,dataLength),rawIndex:positiveModulo(page,rawDataLength)};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx1","size","dataLength","rawDataLength","getNearestLogicalPage","handlerOffset","positiveModulo","__closure","physicalIndex","rawIndex","page","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AA6FI,SAAAA,yBAAMA,CAAA,QAAAC,IAAA,CAAAC,UAAA,CAAAC,aAAA,CAAAC,qBAAA,CAAAC,aAAA,CAAAC,cAAA,OAAAC,SAAA,CACJ,GAAIN,IAAI,EAAI,CAAC,EAAIC,UAAU,EAAI,CAAC,EAAIC,aAAa,EAAI,CAAC,CAAE,CACtD,MAAO,CAAEK,aAAa,CAAE,CAAC,CAAEC,QAAQ,CAAE,CAAE,CAAC,CAC1C,CAEA,KAAM,CAAAC,IAAI,CAAGN,qBAAqB,CAACC,aAAa,CAACM,KAAK,CAAEV,IAAI,CAAC,CAC7D,MAAO,CACLO,aAAa,CAAEF,cAAc,CAACI,IAAI,CAAER,UAAU,CAAC,CAC/CO,QAAQ,CAAEH,cAAc,CAACI,IAAI,CAAEP,aAAa,CAC9C,CAAC,CACH","ignoreList":[]}'},tA={code:"function useCarouselControllerTsx2({physicalIndex:physicalIndex,rawIndex:rawIndex}){const{index,scheduleOnRN,setLiveRawIndex}=this.__closure;index.value=physicalIndex;scheduleOnRN(setLiveRawIndex,rawIndex);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx2","physicalIndex","rawIndex","index","scheduleOnRN","setLiveRawIndex","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAwGI,QAAC,CAAAA,0BAAA,CAAEC,aAAa,CAAbA,aAAa,CAAEC,QAAA,CAAAA,QAAS,CAAC,CAAK,OAAAC,KAAA,CAAAC,YAAA,CAAAC,eAAA,OAAAC,SAAA,CAC/BH,KAAK,CAACI,KAAK,CAAGN,aAAa,CAC3BG,YAAY,CAACC,eAAe,CAAEH,QAAQ,CAAC,CACzC","ignoreList":[]}'},te={code:"function useCarouselControllerTsx3(finished){const{scheduleOnRN,emitSettle,targetIndex,onFinished,cancelMovement}=this.__closure;if(finished){scheduleOnRN(emitSettle,targetIndex);if(onFinished)scheduleOnRN(onFinished);}else{scheduleOnRN(cancelMovement);}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx3","finished","scheduleOnRN","emitSettle","targetIndex","onFinished","cancelMovement","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAoKyD,SAAAA,yBAAaA,CAAAC,QAAA,QAAAC,YAAA,CAAAC,UAAA,CAAAC,WAAA,CAAAC,UAAA,CAAAC,cAAA,OAAAC,SAAA,CAE9D,GAAIN,QAAQ,CAAE,CACZC,YAAY,CAACC,UAAU,CAAEC,WAAW,CAAC,CACrC,GAAIC,UAAU,CAAEH,YAAY,CAACG,UAAU,CAAC,CAC1C,CAAC,IAAM,CACLH,YAAY,CAACI,cAAc,CAAC,CAC9B,CACF","ignoreList":[]}'},tt={code:'function useCarouselControllerTsx4(targetOffset,targetIndex,onFinished){const{dealWithAnimation,animation,_worklet_15360756373159_init_data,scheduleOnRN,emitSettle,cancelMovement}=this.__closure;return dealWithAnimation(animation)(targetOffset,function useCarouselControllerTsx3Factory({_worklet_15360756373159_init_data:_worklet_15360756373159_init_data,scheduleOnRN:scheduleOnRN,emitSettle:emitSettle,targetIndex:targetIndex,onFinished:onFinished,cancelMovement:cancelMovement}){const _e=[new global.Error(),-6,-27];const useCarouselControllerTsx3=function(finished){if(finished){scheduleOnRN(emitSettle,targetIndex);if(onFinished)scheduleOnRN(onFinished);}else{scheduleOnRN(cancelMovement);}};useCarouselControllerTsx3.__closure={scheduleOnRN:scheduleOnRN,emitSettle:emitSettle,targetIndex:targetIndex,onFinished:onFinished,cancelMovement:cancelMovement};useCarouselControllerTsx3.__workletHash=15360756373159;useCarouselControllerTsx3.__pluginVersion="0.5.2";useCarouselControllerTsx3.__initData=_worklet_15360756373159_init_data;
1useCarouselControllerTsx3.__stackDetails=_e;return useCarouselControllerTsx3;}({_worklet_15360756373159_init_data:_worklet_15360756373159_init_data,scheduleOnRN:scheduleOnRN,emitSettle:emitSettle,targetIndex:targetIndex,onFinished:onFinished,cancelMovement:cancelMovement}));}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx4","targetOffset","targetIndex","onFinished","dealWithAnimation","animation","_worklet_15360756373159_init_data","scheduleOnRN","emitSettle","cancelMovement","__closure","useCarouselControllerTsx3Factory","_e","global","Error","useCarouselControllerTsx3","finished","__workletHash","__pluginVersion","__initData","__stackDetails"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAkKI,QAAC,CAAAA,yBAAsBA,CAAAC,YAAqB,CAAuBC,WAAK,CAAAC,UAAA,QAAAC,iBAAA,CAAAC,SAAA,CAAAC,iCAAA,CAAAC,YAAA,CAAAC,UAAA,CAAAC,cAAA,OAAAC,SAAA,CAEtE,MAAO,CAAAN,iBAAiB,CAACC,SAAS,CAAC,CAACJ,YAAY,CAAE,SAAAU,iCAAA,CAAAL,iCAAA,CAAAA,iCAAA,CAG9CC,YAAY,CAAZA,YAAY,CAACC,UAAU,CAAVA,UAAU,CAAEN,WAAW,CAAXA,WAAW,CAChCC,UAAU,CAAVA,UAAU,CAEDM,cAAA,CAAAA,cAAc,SAAAG,EAAA,MAAAC,MAAA,CAAAC,KAAA,iBAAAC,yBAAA,SAAAA,CANoBC,QAAQ,CAAK,CAE9D,GAAIA,QAAQ,CAAE,CACZT,YAAY,CAACC,UAAU,CAAEN,WAAW,CAAC,CACrC,GAAIC,UAAU,CAAEI,YAAY,CAACJ,UAAU,CAAC,CAC1C,CAAC,IAAM,CACLI,YAAY,CAACE,cAAc,CAAC,CAC9B,CACF,CAAC,CAAAM,yBAAA,CAAAL,SAAA,EALGH,YAAY,CAAZA,YAAY,CAACC,UAAU,CAAVA,UAAU,CAAEN,WAAW,CAAXA,WAAW,CAChCC,UAAU,CAAVA,UAAU,CAEDM,cAAA,CAAAA,cAAc,EAAAM,yBAAA,CAAAE,aAAA,gBAAAF,yBAAA,CAAAG,eAAA,SAAAH,yBAAA,CAAAI,UAAA,CAAAb,iCAAA,CAAAS,yBAAA,CAAAK,cAAA,CAAAR,EAAA,QAAAG,yBAAA,EANmB,EAAAT,iCAAA,CAAAA,iCAAA,CAG9CC,YAAY,CAAZA,YAAY,CAACC,UAAU,CAAVA,UAAU,CAAEN,WAAW,CAAXA,WAAW,CAChCC,UAAU,CAAVA,UAAU,CAEDM,cAAA,CAAAA,cAAc,EAE9B,CAAC,CACJ","ignoreList":[]}'},ta={code:"function useCarouselControllerTsx5(targetPage,animated,onFinished){const{positiveModulo,rawDataLength,emitStart,index,dataLength,size,handlerOffset,animateTo,emitSettle}=this.__closure;const targetRawIndex=positiveModulo(targetPage,rawDataLength);emitStart();index.value=positiveModulo(targetPage,Math.max(dataLength,1));const targetOffset=-targetPage*size;if(animated){handlerOffset.value=animateTo(targetOffset,targetRawIndex,onFinished);}else{handlerOffset.value=targetOffset;emitSettle(targetRawIndex);onFinished===null||onFinished===void 0||onFinished();}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx5","targetPage","animated","onFinished","positiveModulo","rawDataLength","emitStart","index","dataLength","size","handlerOffset","animateTo","emitSettle","__closure","targetRawIndex","value","Math","max","targetOffset"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAkLI,QAAC,CAAAA,yBAAuCA,CAAAC,UAA4B,CAAAC,QAAA,CAAAC,UAAA,QAAAC,cAAA,CAAAC,aAAA,CAAAC,SAAA,CAAAC,KAAA,CAAAC,UAAA,CAAAC,IAAA,CAAAC,aAAA,CAAAC,SAAA,CAAAC,UAAA,OAAAC,SAAA,CAElE,KAAM,CAAAC,cAAc,CAAGV,cAAc,CAACH,UAAU,CAAEI,aAAa,CAAC,CAChEC,SAAS,CAAC,CAAC,CACXC,KAAK,CAACQ,KAAK,CAAGX,cAAc,CAACH,UAAU,CAAEe,IAAI,CAACC,GAAG,CAACT,UAAU,CAAE,CAAC,CAAC,CAAC,CAEjE,KAAM,CAAAU,YAAY,CAAG,CAACjB,UAAU,CAAGQ,IAAI,CACvC,GAAIP,QAAQ,CAAE,CACZQ,aAAa,CAACK,KAAK,CAAGJ,SAAS,CAACO,YAAY,CAAEJ,cAAc,CAAEX,UAAU,CAAC,CAC3E,CAAC,IAAM,CACLO,aAAa,CAACK,KAAK,CAAGG,YAAY,CAClCN,UAAU,CAACE,cAAc,CAAC,CAC1BX,UAAU,SAAVA,UAAU,WAAVA,UAAU,CAAG,CAAC,CAChB,CACF","ignoreList":[]}'},tn={code:'function useCarouselControllerTsx6(stepOptions={}){const{canMove,isReady,validateCount,currentVisualPage,loop,rawDataLength,moveToPage}=this.__closure;const{animated=true,count=1,onFinished:onFinished}=stepOptions;if(!canMove||!isReady()||!validateCount("next",count))return;const currentPage=currentVisualPage();const targetPage=loop?currentPage+count:Math.min(rawDataLength-1,currentPage+count);if(targetPage===currentPage)return;moveToPage(targetPage,animated,onFinished);}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx6","stepOptions","canMove","isReady","validateCount","currentVisualPage","loop","rawDataLength","moveToPage","__closure","animated","count","onFinished","currentPage","targetPage","Math","min"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAmNI,QAAC,CAAAA,yBAAkDA,CAAAC,WAAA,WAAAC,OAAA,CAAAC,OAAA,CAAAC,aAAA,CAAAC,iBAAA,CAAAC,IAAA,CAAAC,aAAA,CAAAC,UAAA,OAAAC,SAAA,CAEjD,KAAM,CAAEC,QAAQ,CAAG,IAAI,CAAEC,KAAK,CAAG,CAAC,CAAEC,UAAA,CAAAA,UAAW,CAAC,CAAGX,WAAW,CAC9D,GAAI,CAACC,OAAO,EAAI,CAACC,OAAO,CAAC,CAAC,EAAI,CAACC,aAAa,CAAC,MAAM,CAAEO,KAAK,CAAC,CAAE,OAE7D,KAAM,CAAAE,WAAW,CAAGR,iBAAiB,CAAC,CAAC,CACvC,KAAM,CAAAS,UAAU,CAAGR,IAAI,CACnBO,WAAW,CAAGF,KAAK,CACnBI,IAAI,CAACC,GAAG,CAACT,aAAa,CAAG,CAAC,CAAEM,WAAW,CAAGF,KAAK,CAAC,CACpD,GAAIG,UAAU,GAAKD,WAAW,CAAE,OAEhCL,UAAU,CAACM,UAAU,CAAEJ,QAAQ,CAAEE,UAAU,CAAC,CAC9C","ignoreList":[]}'},ti={code:'function useCarouselControllerTsx7(stepOptions={}){const{canMove,isReady,validateCount,currentVisualPage,loop,moveToPage}=this.__closure;const{animated=true,count=1,onFinished:onFinished}=stepOptions;if(!canMove||!isReady()||!validateCount("prev",count))return;const currentPage=currentVisualPage();const targetPage=loop?currentPage-count:Math.max(0,currentPage-count);if(targetPage===currentPage)return;moveToPage(targetPage,animated,onFinished);}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx7","stepOptions","canMove","isReady","validateCount","currentVisualPage","loop","moveToPage","__closure","animated","count","onFinished","currentPage","targetPage","Math","max"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAoOI,QAAC,CAAAA,yBAAkDA,CAAAC,WAAA,WAAAC,OAAA,CAAAC,OAAA,CAAAC,aAAA,CAAAC,iBAAA,CAAAC,IAAA,CAAAC,UAAA,OAAAC,SAAA,CAEjD,KAAM,CAAEC,QAAQ,CAAG,IAAI,CAAEC,KAAK,CAAG,CAAC,CAAEC,UAAA,CAAAA,UAAW,CAAC,CAAGV,WAAW,CAC9D,GAAI,CAACC,OAAO,EAAI,CAACC,OAAO,CAAC,CAAC,EAAI,CAACC,aAAa,CAAC,MAAM,CAAEM,KAAK,CAAC,CAAE,OAE7D,KAAM,CAAAE,WAAW,CAAGP,iBAAiB,CAAC,CAAC,CACvC,KAAM,CAAAQ,UAAU,CAAGP,IAAI,CAAGM,WAAW,CAAGF,KAAK,CAAGI,IAAI,CAACC,GAAG,CAAC,CAAC,CAAEH,WAAW,CAAGF,KAAK,CAAC,CAChF,GAAIG,UAAU,GAAKD,WAAW,CAAE,OAEhCL,UAAU,CAACM,UAAU,CAAEJ,QAAQ,CAAEE,UAAU,CAAC,CAC9C","ignoreList":[]}'},tr={code:'function useCarouselControllerTsx8(scrollOptions){const{canMove,isReady,rawDataLength,warnOnce,currentVisualPage,positiveModulo,loop,getShortestLoopTargetPage,moveToPage}=this.__closure;const{animated=true,index:targetIndex,onFinished:onFinished}=scrollOptions;if(!canMove||!isReady())return;if(!Number.isInteger(targetIndex)||targetIndex<0||targetIndex>=rawDataLength){warnOnce("scrollTo:index","scrollTo index must be an integer between 0 and "+(rawDataLength-1)+"; received "+String(targetIndex)+".");return;}const currentPage=currentVisualPage();
1const currentRawIndex=positiveModulo(currentPage,rawDataLength);if(currentRawIndex===targetIndex)return;const targetPage=loop?getShortestLoopTargetPage({currentPage:currentPage,targetIndex:targetIndex,count:rawDataLength}):targetIndex;moveToPage(targetPage,animated,onFinished);}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx",sourceMap:'{"version":3,"names":["useCarouselControllerTsx8","scrollOptions","canMove","isReady","rawDataLength","warnOnce","currentVisualPage","positiveModulo","loop","getShortestLoopTargetPage","moveToPage","__closure","animated","index","targetIndex","onFinished","Number","isInteger","String","currentPage","currentRawIndex","targetPage","count"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useCarouselController.tsx"],"mappings":"AAmPI,QAAC,CAAAA,yBAAmDA,CAAAC,aAAA,QAAAC,OAAA,CAAAC,OAAA,CAAAC,aAAA,CAAAC,QAAA,CAAAC,iBAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,yBAAA,CAAAC,UAAA,OAAAC,SAAA,CAElD,KAAM,CAAEC,QAAQ,CAAG,IAAI,CAAEC,KAAK,CAAEC,WAAW,CAAEC,UAAA,CAAAA,UAAW,CAAC,CAAGd,aAAa,CACzE,GAAI,CAACC,OAAO,EAAI,CAACC,OAAO,CAAC,CAAC,CAAE,OAE5B,GAAI,CAACa,MAAM,CAACC,SAAS,CAACH,WAAW,CAAC,EAAIA,WAAW,CAAG,CAAC,EAAIA,WAAW,EAAIV,aAAa,CAAE,CACrFC,QAAQ,CACN,gBAAgB,qDACmCD,aAAa,CAAG,CAAC,gBAAcc,MAAM,CAACJ,WAAW,CAAC,IACvG,CAAC,CACD,OACF,CAEA,KAAM,CAAAK,WAAW,CAAGb,iBAAiB,CAAC,CAAC,CACvC,KAAM,CAAAc,eAAe,CAAGb,cAAc,CAACY,WAAW,CAAEf,aAAa,CAAC,CAClE,GAAIgB,eAAe,GAAKN,WAAW,CAAE,OAErC,KAAM,CAAAO,UAAU,CAAGb,IAAI,CACnBC,yBAAyB,CAAC,CACxBU,WAAW,CAAXA,WAAW,CACXL,WAAW,CAAXA,WAAW,CACXQ,KAAK,CAAElB,aACT,CAAC,CAAC,CACFU,WAAW,CACfJ,UAAU,CAACW,UAAU,CAAET,QAAQ,CAAEG,UAAU,CAAC,CAC9C","ignoreList":[]}'},tC={code:"function normalTs1(value){const{interpolate,size,isVertical,toPhysicalHorizontalValue,directionSign}=this.__closure;const logicalTranslate=interpolate(value,[-1,0,1],[-size,0,size]);const translate=isVertical?logicalTranslate:toPhysicalHorizontalValue(logicalTranslate,directionSign);return{transform:[isVertical?{translateY:translate}:{translateX:translate}]};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/normal.ts",sourceMap:'{"version":3,"names":["normalTs1","value","interpolate","size","isVertical","toPhysicalHorizontalValue","directionSign","__closure","logicalTranslate","translate","transform","translateY","translateX"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/normal.ts"],"mappings":"AAYS,QAAC,CAAAA,SAAkBA,CAAAC,KAAA,QAAAC,WAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,yBAAA,CAAAC,aAAA,OAAAC,SAAA,CAExB,KAAM,CAAAC,gBAAgB,CAAGN,WAAW,CAACD,KAAK,CAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAACE,IAAI,CAAE,CAAC,CAAEA,IAAI,CAAC,CAAC,CACzE,KAAM,CAAAM,SAAS,CAAGL,UAAU,CACxBI,gBAAgB,CAChBH,yBAAyB,CAACG,gBAAgB,CAAEF,aAAa,CAAC,CAE9D,MAAO,CACLI,SAAS,CAAE,CACTN,UAAU,CACN,CACEO,UAAU,CAAEF,SACd,CAAC,CACD,CACEG,UAAU,CAAEH,SACd,CAAC,CAET,CAAC,CACH","ignoreList":[]}'},to={code:"function parallaxTs1(relativeProgress){const{interpolate,size,offset,isVertical,toPhysicalHorizontalValue,directionSign,Extrapolation,adjacentScale,scale}=this.__closure;const logicalTranslate=interpolate(relativeProgress,[-1,0,1],[-size+offset,0,size-offset]);const translate=isVertical?logicalTranslate:toPhysicalHorizontalValue(logicalTranslate,directionSign);const zIndex=Math.round(interpolate(relativeProgress,[-1,0,1],[0,size,0],Extrapolation.CLAMP));const animatedScale=interpolate(relativeProgress,[-1,0,1],[adjacentScale,scale,adjacentScale],Extrapolation.CLAMP);return{transform:[isVertical?{translateY:translate}:{translateX:translate},{scale:animatedScale}],zIndex:zIndex};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/parallax.ts",sourceMap:'{"version":3,"names":["parallaxTs1","relativeProgress","interpolate","size","offset","isVertical","toPhysicalHorizontalValue","directionSign","Extrapolation","adjacentScale","scale","__closure","logicalTranslate","translate","zIndex","Math","round","CLAMP","animatedScale","transform","translateY","translateX"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/parallax.ts"],"mappings":"AAmBS,QAAC,CAAAA,YAAAC,gBAA6B,QAAAC,WAAA,CAAAC,IAAA,CAAAC,MAAA,CAAAC,UAAA,CAAAC,yBAAA,CAAAC,aAAA,CAAAC,aAAA,CAAAC,aAAA,CAAAC,KAAA,OAAAC,SAAA,CAEnC,KAAM,CAAAC,gBAAgB,CAAGV,WAAW,CAClCD,gBAAgB,CAChB,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,CAAC,CAAC,CACV,CAAC,CAACE,IAAI,CAAGC,MAAM,CAAE,CAAC,CAAED,IAAI,CAAGC,MAAM,CACnC,CAAC,CACD,KAAM,CAAAS,SAAS,CAAGR,UAAU,CACxBO,gBAAgB,CAChBN,yBAAyB,CAACM,gBAAgB,CAAEL,aAAa,CAAC,CAE9D,KAAM,CAAAO,MAAM,CAAGC,IAAI,CAACC,KAAK,CACvBd,WAAW,CAACD,gBAAgB,CAAE,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAEE,IAAI,CAAE,CAAC,CAAC,CAAEK,aAAa,CAACS,KAAK,CAC7E,CAAC,CAED,KAAM,CAAAC,aAAa,CAAGhB,WAAW,CAC/BD,gBAAgB,CAChB,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,CAAC,CAAC,CACV,CAACQ,aAAa,CAAEC,KAAK,CAAED,aAAa,CAAC,CACrCD,aAAa,CAACS,KAChB,CAAC,CAED,MAAO,CACLE,SAAS,CAAE,CACTd,UAAU,CAAG,CAAEe,UAAU,CAAEP,SAAU,CAAC,CAAG,CAAEQ,UAAU,CAAER,SAAU,CAAC,CAClE,CAAEH,KAAK,CAAEQ,aAA
1c,CAAC,CACzB,CACDJ,MAAA,CAAAA,MACF,CAAC,CACH","ignoreList":[]}'},ts=t(13558).A.get("window"),tl={code:'function stackTs1(_value){const{screen,config,toPhysicalHorizontalValue,directionSign,getCommonVariables,getCommonStyles,interpolate,Extrapolation}=this.__closure;const{visibleCount:visibleCount,exitDirection:snapDirection="left",exitDistance:moveSize=screen.width,spacing:stackInterval=18,scaleStep:scaleInterval=0.04,opacityStep:opacityInterval=0.1,rotation:rotateZDeg=30}=config;const physicalProgress=toPhysicalHorizontalValue(_value,directionSign);const{validLength:validLength,value:value,inputRange:inputRange}=getCommonVariables({showLength:visibleCount,value:physicalProgress,snapDirection:snapDirection});const{zIndex:zIndex,opacity:opacity}=getCommonStyles({validLength:validLength,value:value,opacityInterval:opacityInterval,snapDirection:snapDirection});let translateX;let scale;let rotateZ;if(snapDirection==="left"){translateX=interpolate(value,inputRange,[-moveSize,0,validLength*stackInterval],Extrapolation.CLAMP);scale=interpolate(value,inputRange,[1,1,1-validLength*scaleInterval],Extrapolation.CLAMP);rotateZ=interpolate(value,inputRange,[-rotateZDeg,0,0],Extrapolation.CLAMP)+"deg";}else if(snapDirection==="right"){translateX=interpolate(value,inputRange,[-validLength*stackInterval,0,moveSize],Extra
1polation.CLAMP);scale=interpolate(value,inputRange,[1-validLength*scaleInterval,1,1],Extrapolation.CLAMP);rotateZ=interpolate(value,inputRange,[0,0,rotateZDeg],Extrapolation.CLAMP)+"deg";}const transform=[{translateX:translateX},{scale:scale},{rotateZ:rotateZ}];const styles={transform:transform,zIndex:zIndex,opacity:opacity};return styles;}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["stackTs1","_value","screen","config","toPhysicalHorizontalValue","directionSign","getCommonVariables","getCommonStyles","interpolate","Extrapolation","__closure","visibleCount","exitDirection","snapDirection","exitDistance","moveSize","width","spacing","stackInterval","scaleStep","scaleInterval","opacityStep","opacityInterval","rotation","rotateZDeg","physicalProgress","validLength","value","inputRange","showLength","zIndex","opacity","translateX","scale","rotateZ","CLAMP","transform","styles"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AAgBS,QAAC,CAAAA,QAAcA,CAAAC,MAAK,QAAAC,MAAA,CAAAC,MAAA,CAAAC,yBAAA,CAAAC,aAAA,CAAAC,kBAAA,CAAAC,eAAA,CAAAC,WAAA,CAAAC,aAAA,OAAAC,SAAA,CAGzB,KAAM,CACJC,YAAY,CAAZA,YAAY,CACZC,aAAa,CAAEC,aAAa,CAAG,MAAM,CACrCC,YAAY,CAAEC,QAAQ,CAAGb,MAAM,CAACc,KAAK,CACrCC,OAAO,CAAEC,aAAa,CAAG,EAAE,CAC3BC,SAAS,CAAEC,aAAa,CAAG,IAAI,CAC/BC,WAAW,CAAEC,eAAe,CAAG,GAAG,CAClCC,QAAQ,CAAEC,UAAU,CAAG,EACzB,CAAC,CAAGrB,MAAM,CAEV,KAAM,CAAAsB,gBAAgB,CAAGrB,yBAAyB,CAACH,MAAM,CAAEI,aAAa,CAAC,CACzE,KAAM,CAAEqB,WAAW,CAAXA,WAAW,CAAEC,KAAK,CAALA,KAAK,CAAEC,UAAA,CAAAA,UAAW,CAAC,CAAGtB,kBAAkB,CAAC,CAC5DuB,UAAU,CAAElB,YAAa,CACzBgB,KAAK,CAAEF,gBAAgB,CACvBZ,aAAA,CAAAA,aACF,CAAC,CAAC,CACF,KAAM,CAAEiB,MAAM,CAANA,MAAM,CAAEC,OAAA,CAAAA,OAAQ,CAAC,CAAGxB,eAAe,CAAC,CAC1CmB,WAAW,CAAXA,WAAW,CACXC,KAAK,CAALA,KAAK,CACLL,eAAe,CAAfA,eAAe,CACfT,aAAA,CAAAA,aACF,CAAC,CAAC,CAEF,GAAI,CAAAmB,UAAkB,CACtB,GAAI,CAAAC,KAAa,CACjB,GAAI,CAAAC,OAAe,CAEnB,GAAIrB,aAAa,GAAK,MAAM,CAAE,CAC5BmB,UAAU,CAAGxB,WAAW,CACtBmB,KAAK,CACLC,UAAU,CACV,CAAC,CAACb,QAAQ,CAAE,CAAC,CAAEW,WAAW,CAAGR,aAAa,CAAC,CAC3CT,aAAa,CAAC0B,KAChB,CAAC,CACDF,KAAK,CAAGzB,WAAW,CACjBmB,KAAK,CACLC,UAAU,CACV,CAAC,CAAC,CAAE,CAAC,CAAE,CAAC,CAAGF,WAAW,CAAGN,aAAa,CAAC,CACvCX,aAAa,CAAC0B,KAChB,CAAC,CACDD,OAAO,CAAM1B,WAAW,CAACmB,KAAK,CAAEC,UAAU,CAAE,CAAC,CAACJ,UAAU,CAAE,CAAC,CAAE,CAAC,CAAC,CAAEf,aAAa,CAAC0B,KAAK,CAAC,MAAK,CAC5F,CAAC,IAAM,IAAItB,aAAa,GAAK,OAAO,CAAE,CACpCmB,UAAU,CAAGxB,WAAW,CACtBmB,KAAK,CACLC,UAAU,CACV,CAAC,CAACF,WAAW,CAAGR,aAAa,CAAE,CAAC,CAAEH,QAAQ,CAAC,CAC3CN,aAAa,CAAC0B,KAChB,CAAC,CACDF,KAAK,CAAGzB,WAAW,CACjBmB,KAAK,CACLC,UAAU,CACV,CAAC,CAAC,CAAGF,WAAW,CAAGN,aAAa,CAAE,CAAC,CAAE,CAAC,CAAC,CACvCX,aAAa,CAAC0B,KAChB,CAAC,CACDD,OAAO,CAAM1B,WAAW,CAACmB,KAAK,CAAEC,UAAU,CAAE,CAAC,CAAC,CAAE,CAAC,CAAEJ,UAAU,CAAC,CAAEf,aAAa,CAAC0B,KAAK,CAAC,MAAK,CAC3F,CAEA,KAAM,CAAAC,SAAuC,CAAG,CAC9C,CACEJ,UAAU,CAAEA,UACd,CAAC,CACD,CACEC,KAAK,CAAEA,KACT,CAAC,CACD,CACEC,OAAO,CAAEA,OACX,CAAC,CACF,CAED,KAAM,CAAAG,MAAiB,CAAG,CACxBD,SAAS,CAATA,SAAS,CACTN,MAAM,CAANA,MAAM,CACNC,OAAA,CAAAA,OACF,CAAC,CAED,MAAO,CAAAM,MAAM,CACf","ignoreList":[]}'},tc={code:'function stackTs2(_value){const{screen,config,getCommonVariables,getCommonStyles,interpolate,Extrapolation}=this.__closure;const{visibleCount:visibleCount,exitDirection:snapDirection="left",exitDistance:moveSize=screen.width,spacing:stackInterval=18,scaleStep:scaleInterval=0.04,opacityStep:opacityInterval=0.1,rotation:rotateZDeg=30}=config;const{validLength:validLength,value:value,inputRange:inputRange}=getCommonVariables({showLength:visibleCount,value:_value,snapDirection:snapDirection});const{zIndex:zIndex,opacity:opacity}=getCommonStyles({validLength:validLength,value:value,opacityInterval:opacityInterval,snapDirection:snapDirection});let translateX;let scale;let rotateZ;let translateY;if(snapDirection==="left"){translateX=interpolate(value,inputRange,[-moveSize,0,0],Extrapolation.CLAMP);scale=interpolate(value,inputRange,[1,1,1-validLength*scaleInterval],Extrapolation.CLAMP);rotateZ=interpolate(value,inputRange,[-rotateZDeg,0,0],Extrapolation.CLAMP)+"deg";translateY=interpolate(value,inputRange,[0,0,validLength*stackInterval],Extrapolation.CLAMP);}else if(snapDirection==="right"){translateX=interpolate(value,inputRange,[0,0,moveSize],Extra
1polation.CLAMP);scale=interpolate(value,inputRange,[1-validLength*scaleInterval,1,1],Extrapolation.CLAMP);rotateZ=interpolate(value,inputRange,[0,0,rotateZDeg],Extrapolation.CLAMP)+"deg";translateY=interpolate(value,inputRange,[validLength*stackInterval,0,0],Extrapolation.CLAMP);}const transform=[{translateX:translateX},{scale:scale},{rotateZ:rotateZ},{translateY:translateY}];const styles={transform:transform,zIndex:zIndex,opacity:opacity};return styles;}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["stackTs2","_value","screen","config","getCommonVariables","getCommonStyles","interpolate","Extrapolation","__closure","visibleCount","exitDirection","snapDirection","exitDistance","moveSize","width","spacing","stackInterval","scaleStep","scaleInterval","opacityStep","opacityInterval","rotation","rotateZDeg","validLength","value","inputRange","showLength","zIndex","opacity","translateX","scale","rotateZ","translateY","CLAMP","transform","styles"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AAmGS,QAAC,CAAAA,QAAcA,CAAAC,MAAK,QAAAC,MAAA,CAAAC,MAAA,CAAAC,kBAAA,CAAAC,eAAA,CAAAC,WAAA,CAAAC,aAAA,OAAAC,SAAA,CAGzB,KAAM,CACJC,YAAY,CAAZA,YAAY,CACZC,aAAa,CAAEC,aAAa,CAAG,MAAM,CACrCC,YAAY,CAAEC,QAAQ,CAAGX,MAAM,CAACY,KAAK,CACrCC,OAAO,CAAEC,aAAa,CAAG,EAAE,CAC3BC,SAAS,CAAEC,aAAa,CAAG,IAAI,CAC/BC,WAAW,CAAEC,eAAe,CAAG,GAAG,CAClCC,QAAQ,CAAEC,UAAU,CAAG,EACzB,CAAC,CAAGnB,MAAM,CAEV,KAAM,CAAEoB,WAAW,CAAXA,WAAW,CAAEC,KAAK,CAALA,KAAK,CAAEC,UAAA,CAAAA,UAAW,CAAC,CAAGrB,kBAAkB,CAAC,CAC5DsB,UAAU,CAAEjB,YAAa,CACzBe,KAAK,CAAEvB,MAAM,CACbU,aAAA,CAAAA,aACF,CAAC,CAAC,CACF,KAAM,CAAEgB,MAAM,CAANA,MAAM,CAAEC,OAAA,CAAAA,OAAQ,CAAC,CAAGvB,eAAe,CAAC,CAC1CkB,WAAW,CAAXA,WAAW,CACXC,KAAK,CAALA,KAAK,CACLJ,eAAe,CAAfA,eAAe,CACfT,aAAA,CAAAA,aACF,CAAC,CAAC,CAEF,GAAI,CAAAkB,UAAkB,CACtB,GAAI,CAAAC,KAAa,CACjB,GAAI,CAAAC,OAAe,CACnB,GAAI,CAAAC,UAAkB,CAEtB,GAAIrB,aAAa,GAAK,MAAM,CAAE,CAC5BkB,UAAU,CAAGvB,WAAW,CAACkB,KAAK,CAAEC,UAAU,CAAE,CAAC,CAACZ,QAAQ,CAAE,CAAC,CAAE,CAAC,CAAC,CAAEN,aAAa,CAAC0B,KAAK,CAAC,CACnFH,KAAK,CAAGxB,WAAW,CACjBkB,KAAK,CACLC,UAAU,CACV,CAAC,CAAC,CAAE,CAAC,CAAE,CAAC,CAAGF,WAAW,CAAGL,aAAa,CAAC,CACvCX,aAAa,CAAC0B,KAChB,CAAC,CACDF,OAAO,CAAMzB,WAAW,CAACkB,KAAK,CAAEC,UAAU,CAAE,CAAC,CAACH,UAAU,CAAE,CAAC,CAAE,CAAC,CAAC,CAAEf,aAAa,CAAC0B,KAAK,CAAC,MAAK,CAC1FD,UAAU,CAAG1B,WAAW,CACtBkB,KAAK,CACLC,UAAU,CACV,CAAC,CAAC,CAAE,CAAC,CAAEF,WAAW,CAAGP,aAAa,CAAC,CACnCT,aAAa,CAAC0B,KAChB,CAAC,CACH,CAAC,IAAM,IAAItB,aAAa,GAAK,OAAO,CAAE,CACpCkB,UAAU,CAAGvB,WAAW,CAACkB,KAAK,CAAEC,UAAU,CAAE,CAAC,CAAC,CAAE,CAAC,CAAEZ,QAAQ,CAAC,CAAEN,aAAa,CAAC0B,KAAK,CAAC,CAClFH,KAAK,CAAGxB,WAAW,CACjBkB,KAAK,CACLC,UAAU,CACV,CAAC,CAAC,CAAGF,WAAW,CAAGL,aAAa,CAAE,CAAC,CAAE,CAAC,CAAC,CACvCX,aAAa,CAAC0B,KAChB,CAAC,CACDF,OAAO,CAAMzB,WAAW,CAACkB,KAAK,CAAEC,UAAU,CAAE,CAAC,CAAC,CAAE,CAAC,CAAEH,UAAU,CAAC,CAAEf,aAAa,CAAC0B,KAAK,CAAC,MAAK,CACzFD,UAAU,CAAG1B,WAAW,CACtBkB,KAAK,CACLC,UAAU,CACV,CAACF,WAAW,CAAGP,aAAa,CAAE,CAAC,CAAE,CAAC,CAAC,CACnCT,aAAa,CAAC0B,KAChB,CAAC,CACH,CAEA,KAAM,CAAAC,SAAuC,CAAG,CAC9C,CACEL,UAAU,CAAEA,UACd,CAAC,CACD,CACEC,KAAK,CAAEA,KACT,CAAC,CACD,CACEC,OAAO,CAAEA,OACX,CAAC,CACD,CACEC,UAAU,CAAEA,UACd,CAAC,CACF,CAED,KAAM,CAAAG,MAAiB,CAAG,CACxBD,SAAS,CAATA,SAAS,CACTP,MAAM,CAANA,MAAM,CACNC,OAAA,CAAAA,OACF,CAAC,CAED,MAAO,CAAAO,MAAM,CACf","ignoreList":[]}'},tu=(Az={code:'function getCommonVariables_stackTs3(opts){const{showLength:showLength,value:_value,snapDirection:snapDirection}=opts;function easeInOutCubic(v){return v<0.5?4*v*v*v:1-(-2*v+2)**3/2;}const page=Math.floor(Math.abs(_value));const diff=Math.abs(_value)%1;const value=_value<0?-(page+easeInOutCubic(diff)):page+easeInOutCubic(diff);const validLength=showLength-1;let inputRange;if(snapDirection==="left")inputRange=[-1,0,validLength];else if(snapDirection==="right")inputRange=[-validLength,0,1];else throw new Error("snapDirection must be set to either left or right");return{inputRange:inputRange,validLength:validLength,value:value};}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["getCommonVariables_stackTs3","opts","showLength","value","_value","snapDirection","easeInOutCubic","v","page","Math","floor","abs","diff","validLength","inputRange","Error"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AA0LA,SAAAA,2BAIGA,CAAAC,IAAA,EAGD,KAAM,CAAEC,UAAU,CAAVA,UAAU,CAAEC,KAAK,CAAEC,MAAM,CAAEC,aAAA,CAAAA,aAAc,CAAC,CAAGJ,IAAI,CACzD,QAAS,CAAAK,cAAcA,CAACC,CAAS,CAAU,CACzC,MAAO,CAAAA,CAAC,CAAG,GAAG,CAAG,CAAC,CAAGA,CAAC,CAAGA,CAAC,CAAGA,CAAC,CAAG,CAAC,CAAG,CAAC,CAAC,CAAC,CAAGA,CAAC,CAAG,CAAC,GAAK,CAAC,CAAG,CAAC,CAC5D,CACA,KAAM,CAAAC,IAAI,CAAGC,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,GAAG,CAACP,MAAM,CAAC,CAAC,CACzC,KAAM,CAAAQ,IAAI,CAAGH,IAAI,CAACE,GAAG,CAACP,MAAM,CAAC,CAAG,CAAC,CACjC,KAAM,CAAAD,KAAK,CAAGC,MAAM,CAAG,CAAC,CAAG,EAAEI,IAAI,CAAGF,cAAc,CAACM,IAAI,CAAC,CAAC,CAAGJ,IAAI,CAAGF,cAAc,CAACM,IAAI,CAAC,CACvF,KAAM,CAAAC,WAAW,CAAGX,UAAU,CAAI,CAAC,CAEnC,GAAI,CAAAY,UAAoC,CAExC,GAAIT,aAAa,GAAK,MAAM,CAAES,UAAU,CAAG,CAAC,CAAC,CAAC,CAAE,CAAC,CAAED,WAAW,CAAC,CAAC,IAC3D,IAAIR,aAAa,GAAK,OAAO,CAAES,UAAU,CAAG,CAAC,CAACD,WAAW,CAAE,CAAC,CAAE,CAAC,CAAC,CAAC,IACjE,MAAM,IAAI,CAAAE,KAAK,CAAC,mDAAmD,CAAC,CAEzE,MAAO,CACLD,UAAU,CAAVA,UAAU,CACVD,WAAW,CAAXA,WAAW,CACXV,KAAA,CAAAA,KACF,CAAC,CACH","ignoreList":[]}'},Ak=[new globalThis.Error,1,-27],(Ay=function(A){var e,t=A.showLength,a=A.value,n=A.snapDirection;function i(A){return A<.5?4*A*A*A:1-Math.pow(-2*A+2,3)/2}
1var r=Math.floor(Math.abs(a)),C=Math.abs(a)%1,o=a<0?-(r+i(C)):r+i(C),s=t-1;if("left"===n)e=[-1,0,s];else if("right"===n)e=[-s,0,1];else throw Error("snapDirection must be set to either left or right");return{inputRange:e,validLength:s,value:o}}).__closure={},Ay.__workletHash=0xb507dcd780d,Ay.__pluginVersion="0.5.2",Ay.__initData=Az,Ay.__stackDetails=Ak,Ay),td=(AL=(Ab={_worklet_2195407927265_init_data:{code:'function getCommonStyles_stackTs4(opts){const{interpolate}=this.__closure;const{snapDirection:snapDirection,validLength:validLength,value:value,opacityInterval:opacityInterval}=opts;let zIndex;let opacity;if(snapDirection==="left"){zIndex=Math.floor(interpolate(value,[-1.5,-1,-1+Number.MIN_VALUE,0,validLength],[Number.MIN_VALUE,validLength,validLength,validLength-1,-1])*10000)/100;opacity=interpolate(value,[-1,0,validLength-1,validLength],[0.25,1,1-(validLength-1)*opacityInterval,0.25]);}else if(snapDirection==="right"){zIndex=Math.floor(interpolate(value,[-validLength,0,1-Number.MIN_VALUE,1,1.5],[1,validLength-1,validLength,validLength,Number.MIN_VALUE])*10000)/100;opacity=interpolate(value,[-validLength,1-validLength,0,1],[0.25,1-(validLength-1)*opacityInterval,1,0.25]);}else{throw new Error("snapDirection must be set to either left or right");}return{zIndex:Math.round(zIndex),opacity:opacity};}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts",sourceMap:'{"version":3,"names":["getCommonStyles_stackTs4","opts","interpolate","__closure","snapDirection","validLength","value","opacityInterval","zIndex","opacity","Math","floor","Number","MIN_VALUE","Error","round"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/layouts/stack.ts"],"mappings":"AAuNA,SAAAA,wBAKGA,CAAAC,IAAA,QAAAC,WAAA,OAAAC,SAAA,CAGD,KAAM,CAAEC,aAAa,CAAbA,aAAa,CAAEC,WAAW,CAAXA,WAAW,CAAEC,KAAK,CAALA,KAAK,CAAEC,eAAA,CAAAA,eAAgB,CAAC,CAAGN,IAAI,CAEnE,GAAI,CAAAO,MAAc,CAClB,GAAI,CAAAC,OAAe,CAEnB,GAAIL,aAAa,GAAK,MAAM,CAAE,CAC5BI,MAAM,CACJE,IAAI,CAACC,KAAK,CACRT,WAAW,CACTI,KAAK,CACL,CAAC,CAAC,GAAG,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAGM,MAAM,CAACC,SAAS,CAAE,CAAC,CAAER,WAAW,CAAC,CACjD,CAACO,MAAM,CAACC,SAAS,CAAER,WAAW,CAAEA,WAAW,CAAEA,WAAW,CAAG,CAAC,CAAE,CAAC,CAAC,CAClE,CAAC,CAAG,KACN,CAAC,CAAG,GAAG,CAETI,OAAO,CAAGP,WAAW,CACnBI,KAAK,CACL,CAAC,CAAC,CAAC,CAAE,CAAC,CAAED,WAAW,CAAG,CAAC,CAAEA,WAAW,CAAC,CACrC,CAAC,IAAI,CAAE,CAAC,CAAE,CAAC,CAAG,CAACA,WAAW,CAAG,CAAC,EAAIE,eAAe,CAAE,IAAI,CACzD,CAAC,CACH,CAAC,IAAM,IAAIH,aAAa,GAAK,OAAO,CAAE,CACpCI,MAAM,CACJE,IAAI,CAACC,KAAK,CACRT,WAAW,CACTI,KAAK,CACL,CAAC,CAACD,WAAW,CAAE,CAAC,CAAE,CAAC,CAAGO,MAAM,CAACC,SAAS,CAAE,CAAC,CAAE,GAAG,CAAC,CAC/C,CAAC,CAAC,CAAER,WAAW,CAAG,CAAC,CAAEA,WAAW,CAAEA,WAAW,CAAEO,MAAM,CAACC,SAAS,CACjE,CAAC,CAAG,KACN,CAAC,CAAG,GAAG,CACTJ,OAAO,CAAGP,WAAW,CACnBI,KAAK,CACL,CAAC,CAACD,WAAW,CAAE,CAAC,CAAGA,WAAW,CAAE,CAAC,CAAE,CAAC,CAAC,CACrC,CAAC,IAAI,CAAE,CAAC,CAAG,CAACA,WAAW,CAAG,CAAC,EAAIE,eAAe,CAAE,CAAC,CAAE,IAAI,CACzD,CAAC,CACH,CAAC,IAAM,CACL,KAAM,IAAI,CAAAO,KAAK,CAAC,mDAAmD,CAAC,CACtE,CAEA,MAAO,CACLN,MAAM,CAAEE,IAAI,CAACK,KAAK,CAACP,MAAM,CAAC,CAC1BC,OAAA,CAAAA,OACF,CAAC,CACH","ignoreList":[]}'},interpolate:ef.interpolate})._worklet_2195407927265_init_data,AT=Ab.interpolate,AU=[new globalThis.Error,-2,-27],(AP=function(A){var e,t,a=A.snapDirection,n=A.validLength,i=A.value,r=A.opacityInterval;if("left"===a)e=Math.floor(1e4*AT(i,[-1.5,-1,-1,0,n],[5e-324,n,n,n-1,-1]))/100,t=AT(i,[-1,0,n-1,n],[.25,1,1-(n-1)*r,.25]);else if("right"===a)e=Math.floor(1e4*AT(i,[-n,0,1,1,1.5],[1,n-1,n,n,5e-324]))/100,t=AT(i,[-n,1-n,0,1],[.25,1-(n-1)*r,1,.25]);else throw Error("snapDirection must be set to either left or right");return{zIndex:Math.round(e),opacity:t}}).__closure={interpolate:AT},AP.__workletHash=0x1ff288277e1,AP.__pluginVersion="0.5.2",AP.__initData=AL,AP.__stackDetails=AU,AP),t_=function(A){var e,t,a,n,i,r,C,o,s,l=A.size,c=A.isVertical,u=A.directionSign;return t=(e={_worklet_7638690459455_init_data:tC,interpolate:ef.interpolate,size:l,isVertical:c,toPhysicalHorizontalValue:eV,directionSign:u})._worklet_7638690459455_init_data,a=e.interpolate,n=e.size,i=e.isVertical,r=e.toPhysicalHorizontalValue,C=e.directionSign,o=[new globalThis.Error,-6,-27],(s=function(A){var e=a(A,[-1,0,1],[-n,0,n]),t=i?e:r(e,C);return{transform:[i?{translateY:t}:{translateX:t}]}}).__closure={interpolate:a,size:n,isVertical:i,toPhysicalHorizontalValue:r,directionSign:C},s.__workletHash=0x6f2856e6f3f,s.__pluginVersion="0.5.2",s.__initData=t,s.__stackDetail
1s=o,s},tm=function(A,e){var t,a,n,i,r,C,o,s,l,c,u,d,_,m=A.size,v=A.isVertical,g=A.directionSign,h=e.offset,p=e.scale,E=void 0===p?.8:p,S=e.adjacentScale,f=void 0===S?Math.pow(E,2):S;return a=(t={_worklet_2826200380736_init_data:to,interpolate:ef.interpolate,size:m,offset:void 0===h?100:h,isVertical:v,toPhysicalHorizontalValue:eV,directionSign:g,Extrapolation:ef.Extrapolation,adjacentScale:f,scale:E})._worklet_2826200380736_init_data,n=t.interpolate,i=t.size,r=t.offset,C=t.isVertical,o=t.toPhysicalHorizontalValue,s=t.directionSign,l=t.Extrapolation,c=t.adjacentScale,u=t.scale,d=[new globalThis.Error,-10,-27],(_=function(A){var e=n(A,[-1,0,1],[-i+r,0,i-r]),t=C?e:o(e,s),a=Math.round(n(A,[-1,0,1],[0,i,0],l.CLAMP));return{transform:[C?{translateY:t}:{translateX:t},{scale:n(A,[-1,0,1],[c,u,c],l.CLAMP)}],zIndex:a}}).__closure={interpolate:n,size:i,offset:r,isVertical:C,toPhysicalHorizontalValue:o,directionSign:s,Extrapolation:l,adjacentScale:c,scale:u},_.__workletHash=0x29206ab7540,_.__pluginVersion="0.5.2",_.__initData=a,_.__stackDetails=d,_},tv=function(A){var e,t,a,n,i,r,C,o,s,l,c,u,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t=(e={_worklet_16792984391222_init_data:tl,screen:ts,config:A,toPhysicalHorizontalValue:eV,directionSign:d,getCommonVariables:tu,getCommonStyles:td,interpolate:ef.interpolate,Extrapolation:ef.Extrapolation})._worklet_16792984391222_init_data,a=e.screen,n=e.config,i=e.toPhysicalHorizontalValue,r=e.directionSign,C=e.getCommonVariables,o=e.getCommonStyles,s=e.interpolate,l=e.Extrapolation,c=[new globalThis.Error,-9,-27],(u=function(A){var e,t,c,u=n.visibleCount,d=n.exitDirection,_=void 0===d?"left":d,m=n.exitDistance,v=void 0===m?a.width:m,g=n.spacing,h=void 0===g?18:g,p=n.scaleStep,E=void 0===p?.04:p,S=n.opacityStep,f=n.rotation,I=void 0===f?30:f,M=C({showLength:u,value:i(A,r),snapDirection:_}),w=M.validLength,G=M.value,x=M.inputRange,K=o({validLength:w,value:G,opacityInterval:void 0===S?.1:S,snapDirection:_}),B=K.zIndex,D=K.opacity;return"left"===_?(e=s(G,x,[-v,0,w*h],l.CLAMP),t=s(G,x,[1,1,1-w*E],l.CLAMP),c="".concat(s(G,x,[-I,0,0],l.CLAMP),"deg")):"right"===_&&(e=s(G,x,[-w*h,0,v],l.CLAMP),t=s(G,x,[1-w*E,1,1],l.CLAMP),c="".concat(s(G,x,[0,0,I],l.CLAMP),"deg")),{transform:[{translateX:e},{scale:t},{rotateZ:c}],zIndex:B,opacity:D}}).__closure={screen:a,config:n,toPhysicalHorizontalValue:i,directionSign:r,getCommonVariables:C,getCommonStyles:o,interpolate:s,Extrapolation:l},u.__workletHash=0xf45ebde8e36,u.__pluginVersion="0.5.2",u.__initData=t,u.__stackDetails=c,u},tg=function(A){var e,t,a,n,i,r,C,o,s,l;return t=(e={_worklet_7075842880063_init_data:tc,screen:ts,config:A,getCommonVariables:tu,getCommonStyles:td,interpolate:ef.interpolate,Extrapolation:ef.Extrapolation})._worklet_7075842880063_init_data,a=e.screen,n=e.config,i=e.getCommonVariables,r=e.getCommonStyles,C=e.interpolate,o=e.Extrapolation,s=[new globalThis.Error,-7,-27],(l=function(A){var e,t,s,l,c=n.visibleCount,u=n.exitDirection,d=void 0===u?"left":u,_=n.exitDistance,m=void 0===_?a.width:_,v=n.spacing,g=void 0===v?18:v,h=n.scaleStep,p=void 0===h?.04:h,E=n.opacityStep,S=n.rotation,f=void 0===S?30:S,I=i({showLength:c,value:A,snapDirection:d}),M=I.validLength,w=I.value,G=I.inputRange,x=r({validLength:M,value:w,opacityInterval:void 0===E?.1:E,snapDirection:d}),K=x.zIndex,B=x.opacity;return"left"===d?(e=C(w,G,[-m,0,0],o.CLAMP),t=C(w,G,[1,1,1-M*p],o.CLAMP),s="".concat(C(w,G,[-f,0,0],o.CLAMP),"deg"),l=C(w,G,[0,0,M*g],o.CLAMP)):"right"===d&&(e=C(w,G,[0,0,m],o.CLAMP),t=C(w,G,[1-M*p,1,1],o.CLAMP),s="".concat(C(w,G,[0,0,f],o.CLAMP),"deg"),l=C(w,G,[M*g,0,0],o.CLAMP)),{transform:[{translateX:e},{scale:t},{rotateZ:s},{translateY:l}],zIndex:K,opacity:B}}).__closure={screen:a,config:n,getCommonVariables:i,getCommonStyles:r,interpolate:C,Extrapolation:o},l.__workletHash=0x66f7919f23f,l.__pluginVersion="0.5.2",l.__initData=t,l.__stackDetails=s,l},th={code:"function useOnProgressChangeTs1(){const{sizeReady,size,rawDataLength,getLogicalProgress,offset,loop}=this.__closure;if(!sizeReady.value||size<=0||rawDataLength<=0)return null;const logicalProgress=getLogicalProgress(offset.value,size);return loop?logicalProgress:Math.max(0,Math.min(rawDataLength-1,logicalProgress));}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts",sourceMap:'{"version":3,"names":["useOnProgressChangeTs1","sizeReady","size","rawDataLength","getLogicalProgress","offset","loop","__closure","value","logicalProgress","Math","max","min"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts"],"mappings":"AAmBI,SAAAA,
1sBAAMA,CAAA,QAAAC,SAAA,CAAAC,IAAA,CAAAC,aAAA,CAAAC,kBAAA,CAAAC,MAAA,CAAAC,IAAA,OAAAC,SAAA,CACJ,GAAI,CAACN,SAAS,CAACO,KAAK,EAAIN,IAAI,EAAI,CAAC,EAAIC,aAAa,EAAI,CAAC,CAAE,MAAO,KAAI,CAEpE,KAAM,CAAAM,eAAe,CAAGL,kBAAkB,CAACC,MAAM,CAACG,KAAK,CAAEN,IAAI,CAAC,CAC9D,MAAO,CAAAI,IAAI,CAAGG,eAAe,CAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,CAAED,IAAI,CAACE,GAAG,CAACT,aAAa,CAAG,CAAC,CAAEM,eAAe,CAAC,CAAC,CAC3F","ignoreList":[]}'},tp={code:"function useOnProgressChangeTs2(nextProgress){const{progress,onProgressChange,scheduleOnRN}=this.__closure;if(nextProgress==null)return;if(progress)progress.value=nextProgress;if(onProgressChange)scheduleOnRN(onProgressChange,nextProgress);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts",sourceMap:'{"version":3,"names":["useOnProgressChangeTs2","nextProgress","progress","onProgressChange","scheduleOnRN","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOnProgressChange.ts"],"mappings":"AAyBK,SAAAA,sBAAiBA,CAAAC,YAAA,QAAAC,QAAA,CAAAC,gBAAA,CAAAC,YAAA,OAAAC,SAAA,CAChB,GAAIJ,YAAY,EAAI,IAAI,CAAE,OAC1B,GAAIC,QAAQ,CAAEA,QAAQ,CAACI,KAAK,CAAGL,YAAY,CAC3C,GAAIE,gBAAgB,CAAEC,YAAY,CAACD,gBAAgB,CAAEF,YAAY,CAAC,CACpE","ignoreList":[]}'},tE={code:"function useOffsetXTs1(){const{size,visibleRanges,index,loop,TOTAL_WIDTH,MIN,HALF_WIDTH,startPos,MAX,interpolate,handlerOffset,Extrapolation}=this.__closure;if(!size)return 0;const{negativeRange:negativeRange,positiveRange:positiveRange}=visibleRanges.value;if(index>=negativeRange[0]&&index<=negativeRange[1]||index>=positiveRange[0]&&index<=positiveRange[1]){if(loop){const inputRange=[-TOTAL_WIDTH,MIN-HALF_WIDTH-startPos-Number.MIN_VALUE,MIN-HALF_WIDTH-startPos,0,MAX+HALF_WIDTH-startPos,MAX+HALF_WIDTH-startPos+Number.MIN_VALUE,TOTAL_WIDTH];const outputRange=[startPos,MAX+HALF_WIDTH-Number.MIN_VALUE,MIN-HALF_WIDTH,startPos,MAX+HALF_WIDTH,MIN-HALF_WIDTH+Number.MIN_VALUE,startPos];return interpolate(handlerOffset.value,inputRange,outputRange,Extrapolation.CLAMP);}return handlerOffset.value+size*index;}return Number.MAX_SAFE_INTEGER;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOffsetX.ts",sourceMap:'{"version":3,"names":["useOffsetXTs1","size","visibleRanges","index","loop","TOTAL_WIDTH","MIN","HALF_WIDTH","startPos","MAX","interpolate","handlerOffset","Extrapolation","__closure","negativeRange","positiveRange","value","inputRange","Number","MIN_VALUE","outputRange","CLAMP","MAX_SAFE_INTEGER"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useOffsetX.ts"],"mappings":"AAwC4B,SAAAA,aAAMA,CAAA,QAAAC,IAAA,CAAAC,aAAA,CAAAC,KAAA,CAAAC,IAAA,CAAAC,WAAA,CAAAC,GAAA,CAAAC,UAAA,CAAAC,QAAA,CAAAC,GAAA,CAAAC,WAAA,CAAAC,aAAA,CAAAC,aAAA,OAAAC,SAAA,CAC9B,GAAI,CAACZ,IAAI,CAAE,MAAO,EAAC,CAEnB,KAAM,CAAEa,aAAa,CAAbA,aAAa,CAAEC,aAAA,CAAAA,aAAc,CAAC,CAAGb,aAAa,CAACc,KAAK,CAE5D,GACGb,KAAK,EAAIW,aAAa,CAAC,CAAC,CAAC,EAAIX,KAAK,EAAIW,aAAa,CAAC,CAAC,CAAC,EACtDX,KAAK,EAAIY,aAAa,CAAC,CAAC,CAAC,EAAIZ,KAAK,EAAIY,aAAa,CAAC,CAAC,CAAE,CACxD,CACA,GAAIX,IAAI,CAAE,CACR,KAAM,CAAAa,UAAU,CAAG,CACjB,CAACZ,WAAW,CACZC,GAAG,CAAGC,UAAU,CAAGC,QAAQ,CAAGU,MAAM,CAACC,SAAS,CAC9Cb,GAAG,CAAGC,UAAU,CAAGC,QAAQ,CAC3B,CAAC,CACDC,GAAG,CAAGF,UAAU,CAAGC,QAAQ,CAC3BC,GAAG,CAAGF,UAAU,CAAGC,QAAQ,CAAGU,MAAM,CAACC,SAAS,CAC9Cd,WAAW,CACZ,CAED,KAAM,CAAAe,WAAW,CAAG,CAClBZ,QAAQ,CACRC,GAAG,CAAGF,UAAU,CAAGW,MAAM,CAACC,SAAS,CACnCb,GAAG,CAAGC,UAAU,CAChBC,QAAQ,CACRC,GAAG,CAAGF,UAAU,CAChBD,GAAG,CAAGC,UAAU,CAAGW,MAAM,CAACC,SAAS,CACnCX,QAAQ,CACT,CAED,MAAO,CAAAE,WAAW,CAACC,aAAa,CAACK,KAAK,CAAEC,UAAU,CAAEG,WAAW,CAAER,aAAa,CAACS,KAAK,CAAC,CACvF,CAEA,MAAO,CAAAV,aAAa,CAACK,KAAK,CAAGf,IAAI,CAAGE,KAAK,CAC3C,CAEA,MAAO,CAAAe,MAAM,CAACI,gBAAgB,CAChC","ignoreList":[]}'},tS=function(A,e){var t,a,n,i,r,C,o,s,l,c,u,d,_,m,v,g,h=A.handlerOffset,p=A.index,E=A.size,S=A.loop,f=A.dataLength,I=A.type,M=void 0===I?"positive":I,w=A.viewCount,G=f-1,x=E*f,K=.5*E,B=null!=w?w:Math.round((f-1)/2),D="positive"===M?B:G-B,O=E*p;p>D&&(O=(p-f)*E);var z=D*E,k=-((G-D)*E);return(0,ef.useDerivedValue)((a=(t={_worklet_16100587436300_init_data:tE,size:E,visibleRanges:e,index:p,loop:S,TOTAL_WIDTH:x,MIN:k,HALF_WIDTH:K,startPos:O,MAX:z,interpolate:ef.interpolate,handlerOffset:h,Extrapolation:ef.Extrapolation})._worklet_16100587436300_init_data,n=t.size,i=t.visibleRanges,r=t.index,C=t.loop,o=t.TOTAL_WIDTH,s=t.MIN,l=t.HALF_WIDTH,
1c=t.startPos,u=t.MAX,d=t.interpolate,_=t.handlerOffset,m=t.Extrapolation,v=[new globalThis.Error,-13,-27],(g=function(){if(!n)return 0;var A=i.value,e=A.negativeRange,t=A.positiveRange;if(r>=e[0]&&r<=e[1]||r>=t[0]&&r<=t[1])return C?d(_.value,[-o,s-l-c-5e-324,s-l-c,0,u+l-c,u+l-c+5e-324,o],[c,u+l-5e-324,s-l,c,u+l,s-l+5e-324,c],m.CLAMP):_.value+n*r;return Number.MAX_SAFE_INTEGER}).__closure={size:n,visibleRanges:i,index:r,loop:C,TOTAL_WIDTH:o,MIN:s,HALF_WIDTH:l,startPos:c,MAX:u,interpolate:d,handlerOffset:_,Extrapolation:m},g.__workletHash=0xea4b5cb790c,g.__pluginVersion="0.5.2",g.__initData=a,g.__stackDetails=v,g),[S,f,B,M,E,e,h])},tf=["zIndex"],tI=(AQ={code:'function sanitizeAnimationStyle_sanitizeAnimationStyleTs1(style){if(!style||typeof style!=="object")return{};const nextStyle={...style};const{zIndex:zIndex,...restStyle}=nextStyle;if(typeof zIndex==="number"){if(Number.isFinite(zIndex))return{...restStyle,zIndex:Math.round(zIndex)};return restStyle;}return typeof zIndex==="undefined"?nextStyle:restStyle;}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/sanitize-animation-style.ts",sourceMap:'{"version":3,"names":["sanitizeAnimationStyle_sanitizeAnimationStyleTs1","style","nextStyle","zIndex","restStyle","Number","isFinite","Math","round"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/sanitize-animation-style.ts"],"mappings":"AAIO,SAAAA,gDAA6DA,CAAAC,KAAA,EAGlE,GAAI,CAACA,KAAK,EAAI,MAAO,CAAAA,KAAK,GAAK,QAAQ,CAAE,MAAO,CAAC,CAAC,CAElD,KAAM,CAAAC,SAA2B,CAAG,CAAE,GAAGD,KAAM,CAAC,CAChD,KAAM,CAAEE,MAAM,CAANA,MAAM,CAAE,GAAGC,SAAU,CAAC,CAAGF,SAAS,CAE1C,GAAI,MAAO,CAAAC,MAAM,GAAK,QAAQ,CAAE,CAE9B,GAAIE,MAAM,CAACC,QAAQ,CAACH,MAAM,CAAC,CAAE,MAAO,CAAE,GAAGC,SAAS,CAAED,MAAM,CAAEI,IAAI,CAACC,KAAK,CAACL,MAAM,CAAE,CAAC,CAChF,MAAO,CAAAC,SAAS,CAClB,CAEA,MAAO,OAAO,CAAAD,MAAM,GAAK,WAAW,CAAGD,SAAS,CAAGE,SAAS,CAC9D","ignoreList":[]}'},AW=[new globalThis.Error,1,-27],(AV=function(A){if(!A||"object"!=typeof A)return{};var e=Object.assign({},A),t=e.zIndex,a=e2(e,tf);return"number"==typeof t?Number.isFinite(t)?Object.assign({},a,{zIndex:Math.round(t)}):a:void 0===t?e:a}).__closure={},AV.__workletHash=0x34e13fe953,AV.__pluginVersion="0.5.2",AV.__initData=AQ,AV.__stackDetails=AW,AV),tM=(AF={code:'function resolveItemMainAxisSize_ItemLayoutTsx1(params){var _ref;const{explicitSize:explicitSize,effectivePageSize:effectivePageSize,measuredSize:measuredSize}=params;return typeof explicitSize==="number"?explicitSize:(_ref=effectivePageSize!==null&&effectivePageSize!==void 0?effectivePageSize:measuredSize)!==null&&_ref!==void 0?_ref:"100%";}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx",sourceMap:'{"version":3,"names":["resolveItemMainAxisSize_ItemLayoutTsx1","params","_ref","explicitSize","effectivePageSize","measuredSize"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx"],"mappings":"AAuBO,SAAAA,sCAIJA,CAAAC,MAAA,MAAAC,IAAA,CAGD,KAAM,CAAEC,YAAY,CAAZA,YAAY,CAAEC,iBAAiB,CAAjBA,iBAAiB,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGJ,MAAM,CAEhE,MAAO,OAAO,CAAAE,YAAY,GAAK,QAAQ,CACnCA,YAAY,EAAAD,IAAA,CACXE,iBAAiB,SAAjBA,iBAAiB,UAAjBA,iBAAiB,CAAIC,YAAY,UAAAH,IAAA,UAAAA,IAAA,CAAI,MAAO,CACnD","ignoreList":[]}'},AR=[new globalThis.Error,1,-27],(AY=function(A){var e,t=A.explicitSize,a=A.effectivePageSize,n=A.measuredSize;return"number"==typeof t?t:null!=(e=null!=a?a:n)?e:"100%"}).__closure={},AY.__workletHash=0xbe9d6072fe0,AY.__pluginVersion="0.5.2",AY.__initData=AF,AY.__stackDetails=AR,AY),tw={code:'function ItemLayoutTsx2(){const{isVertical,styleWidthNumber,itemSize,styleHeightNumber,measuredSize,resolveItemMainAxisSize,effectivePageSize}=this.__closure;var _measuredSize$value$w,_measuredSize$value$h;const widthCandidate=isVertical?styleWidthNumber:itemSize;const heightCandidate=isVertical?itemSize:styleHeightNumber;const computedWidth=isVertical?typeof widthCandidate==="number"?widthCandidate:(_measuredSize$value$w=measuredSize.value.width)!==null&&_measuredSize$value$w!==void 0?_measuredSize$value$w:"100%":resolveItemMainAxisSize({explicitSize:widthCandidate,effectivePageSize:effectivePageSize,measuredSize:measuredSize.value.width});const computedHeight=isVertical?resolveItemMainAxisSize({explicitSize:heightCandidate,effectivePageSize:effectivePageSize,measuredSize:measuredSize.value.height}):typeof heightCandidate==="number"?heightCandidate:(_measuredSize$value$h=measuredSize.value.height)!==null&&_measuredSize$value$h!==void 0?_measuredSize$value$h:"100%";return{width:computedWidth,height:computedHeight};}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx",sourceMap:'{"version":3,"names":["ItemLayoutTsx2","isVertical","styleWidthNumber","itemSize","styleHeightNumber","measuredSize","resolveItemMainAxisSize","effectivePageSize","__closure","_measuredSize$value$w","_measuredSize$value$h","widthCandidate","heightCandidate","computedWidth","value","width","explicitSize","computedHeight","height"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx"],"mappings":"AAqEsD,SAAAA,cAAMA,CAAA,QAAAC,UAAA,CAAAC,gBAAA,CAAAC,QAAA,CAAAC,iBAAA,CAAAC,YAAA,CAAAC,uBAAA,CAAAC,iBAAA,OAAAC,SAAA,KAAAC,qBAAA,CAAAC,qBAAA,CACxD,KAAM,CAAAC,cAAc,CAAGV,UAAU,CAAGC,gBAAgB,CAAGC,QAAQ,CAC/D,KAAM,CAAAS,eAAe,CAAGX,UAAU,CAAGE,QAAQ,CAAGC,iBAAiB,CAEjE,KAAM,CAAAS,aAAa,CAAGZ,UAAU,CAC5B,MAAO,CAAAU,cAAc,GAAK,QAAQ,CAChCA,cAAc,EAAAF,qBAAA,CACbJ,YAAY,CAACS,KAAK,CAACC,KAAK,UAAAN,qBAAA,UAAAA,qBAAA,CAAI,MAAO,CACtCH,uBAAuB,CAAC,CACtBU,YAAY,CAAEL,cAAc,CAC5BJ,iBAAiB,CAAjBA,iBAAiB,CACjBF,YAAY,CAAEA,YAAY,CAACS,KAAK,CAACC,KACnC,CAAC,CAAC,CAEN,KAAM,CAAAE,cAAc,CAAGhB,UAAU,CAC7BK,uBAAuB,CAAC,CACtBU,YAAY,CAAEJ,eAAe,CAC7BL,iBAAiB,CAAjBA,iBAAiB,CACjBF,YAAY,CAAEA,YAAY,CAACS,KAAK,CAACI,MACnC,CAAC,CAAC,CACF,MAAO,CAAAN,eAAe,GAAK,QAAQ,CACjCA,eAAe,EAAAF,qBAAA,CACdL,YAAY,CAACS,KAAK,CAACI,MAAM,UAAAR,qBAAA,UAAAA,qBAAA,CAAI,MAAO,CAE3C,MAAO,CACLK,KAAK,CAAEF,aAAa,CACpBK,MAAM,CAAED,cACV,CAAC,CACH","ignoreList":[]}'},tG={code:"function ItemLayoutTsx3(){const{size,dataLength,positiveModulo,handlerOffset,index}=this.__closure;return size>0&&dataLength>0&&positiveModulo(Math.round(-handlerOffset.value/size),dataLength)===index;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx",sourceMap:'{"version":3,"names":["ItemLayoutTsx3","size","dataLength","positiveModulo","handlerOffset","index","__closure","Math","round","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx"],"mappings":"AAwHsD,SAAAA,cAAMA,CAAA,QAAAC,IAAA,CAAAC,UAAA,CAAAC,cAAA,CAAAC,aAAA,CAAAC,KAAA,OAAAC,SAAA,CAGxD,MACE,CAAAL,IAAI,CAAG,CAAC,EACRC,UAAU,CAAG,CAAC,EACdC,cAAc,CAACI,IAAI,CAACC,KAAK,CAAC,CAACJ,aAAa,CAACK,KAAK,CAAGR,IAAI,CAAC,CAAEC,UAAU,CAAC,GAAKG,KAAK,CAEjF","ignoreList":[]}'},tx={code:"function ItemLayoutTsx4(isCurrent,wasCurrent){const{scheduleOnRN,setIsAccessibilityCurrent}=this.__closure;if(isCurrent!==wasCurrent){scheduleOnRN(setIsAccessibilityCurrent,isCurrent);}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx",sourceMap:'{"version":3,"names":["ItemLayoutTsx4","isCurrent","wasCurrent","scheduleOnRN","setIsAccessibilityCurrent","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx"],"mappings":"AAsII,QAAC,CAAAA,cAAWA,CAAAC,SAAU,CAAKC,UAAA,QAAAC,YAAA,CAAAC,yBAAA,OAAAC,SAAA,CACzB,GAAIJ,SAAS,GAAKC,UAAU,CAAE,CAC5BC,YAAY,CAACC,yBAAyB,CAAEH,SAAS,CAAC,CACpD,
1CACF","ignoreList":[]}'},tK={code:"function ItemLayoutTsx5(){const{size,x}=this.__closure;if(!size)return 0;return x.value/size;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx",sourceMap:'{"version":3,"names":["ItemLayoutTsx5","size","x","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx"],"mappings":"AA8I2C,SAAAA,cAAMA,CAAA,QAAAC,IAAA,CAAAC,CAAA,OAAAC,SAAA,CAC7C,GAAI,CAACF,IAAI,CAAE,MAAO,EAAC,CACnB,MAAO,CAAAC,CAAC,CAACE,KAAK,CAAGH,IAAI,CACvB","ignoreList":[]}'},tB={code:"function ItemLayoutTsx6(){const{size,sanitizeAnimationStyle,animationStyle,x,rawIndex}=this.__closure;const safeSize=size||1;return sanitizeAnimationStyle(animationStyle(x.value/safeSize,rawIndex));}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx",sourceMap:'{"version":3,"names":["ItemLayoutTsx6","size","sanitizeAnimationStyle","animationStyle","x","rawIndex","__closure","safeSize","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx"],"mappings":"AAkJoD,SAAAA,cAAMA,CAAA,QAAAC,IAAA,CAAAC,sBAAA,CAAAC,cAAA,CAAAC,CAAA,CAAAC,QAAA,OAAAC,SAAA,CACtD,KAAM,CAAAC,QAAQ,CAAGN,IAAI,EAAI,CAAC,CAC1B,MAAO,CAAAC,sBAAsB,CAACC,cAAc,CAACC,CAAC,CAACI,KAAK,CAAGD,QAAQ,CAAEF,QAAQ,CAAC,CAAC,CAC7E","ignoreList":[]}'},tD={code:"function ItemLayoutTsx7(){const{measuredSize,layoutWidth,layoutHeight,updateItemDimensions,index}=this.__closure;const{width:prevWidth,height:prevHeight}=measuredSize.value;if(prevWidth===layoutWidth&&prevHeight===layoutHeight)return;measuredSize.value={width:layoutWidth,height:layoutHeight};updateItemDimensions(index,{width:layoutWidth,height:layoutHeight});}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx",sourceMap:'{"version":3,"names":["ItemLayoutTsx7","measuredSize","layoutWidth","layoutHeight","updateItemDimensions","index","__closure","width","prevWidth","height","prevHeight","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemLayout.tsx"],"mappings":"AA0KyB,SAAAA,cAAMA,CAAA,QAAAC,YAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,oBAAA,CAAAC,KAAA,OAAAC,SAAA,CACjB,KAAM,CAAEC,KAAK,CAAEC,SAAS,CAAEC,MAAM,CAAEC,UAAW,CAAC,CAAGT,YAAY,CAACU,KAAK,CACnE,GAAIH,SAAS,GAAKN,WAAW,EAAIQ,UAAU,GAAKP,YAAY,CAAE,OAE9DF,YAAY,CAACU,KAAK,CAAG,CACnBJ,KAAK,CAAEL,WAAW,CAClBO,MAAM,CAAEN,YACV,CAAC,CACDC,oBAAoB,CAACC,KAAK,CAAE,CAC1BE,KAAK,CAAEL,WAAW,CAClBO,MAAM,CAAEN,YACV,CAAC,CAAC,CACJ","ignoreList":[]}'},tO=function(A){var e,t,a,n,i,r,C,o,s,l,c,u,d,_,m,v,g,h,p,E,S,f,I,M,w,G,x,K,B,D,O,z,k,y,b,L,T,U,P,Q,W,V,F=A.handlerOffset,R=A.index,Y=A.rawIndex,N=A.children,H=A.visibleRanges,j=A.animationStyle,J=e0(),X=J.props,q=X.loop,$=X.dataLength,Z=X.directionSign,AA=X.orientation,Ae=X.layout,At=X.style,Aa=X.itemSize,An=J.common,Ai=J.layout.updateItemDimensions,Ar=(0,ef.useSharedValue)({width:null,height:null}),AC=An.size,Ao="vertical"===AA,As=eS.A.flatten(At)||{},Al=As.width,Ac=As.height,Au="number"==typeof Al?Al:void 0,Ad="number"==typeof Ac?Ac:void 0,A_=(null!=Aa?Aa:AC)||0,Am=A_>0?A_:void 0,Av=(0,ef.useAnimatedStyle)((t=(e={_worklet_12404262248346_init_data:tw,isVertical:Ao,styleWidthNumber:Au,itemSize:Aa,styleHeightNumber:Ad,measuredSize:Ar,resolveItemMainAxisSize:tM,effectivePageSize:Am})._worklet_12404262248346_init_data,a=e.isVertical,n=e.styleWidthNumber,i=e.itemSize,r=e.styleHeightNumber,C=e.measuredSize,o=e.resolveItemMainAxisSize,s=e.effectivePageSize,l=[new globalThis.Error,-8,-27],(c=function(){var A,e,t=a?n:i,l=a?i:r;
1return{width:a?"number"==typeof t?t:null!=(A=C.value.width)?A:"100%":o({explicitSize:t,effectivePageSize:s,measuredSize:C.value.width}),height:a?o({explicitSize:l,effectivePageSize:s,measuredSize:C.value.height}):"number"==typeof l?l:null!=(e=C.value.height)?e:"100%"}}).__closure={isVertical:a,styleWidthNumber:n,itemSize:i,styleHeightNumber:r,measuredSize:C,resolveItemMainAxisSize:o,effectivePageSize:s},c.__workletHash=0xb4817a51f9a,c.__pluginVersion="0.5.2",c.__initData=t,c.__stackDetails=l,c),[Am,Ao,Aa,Ad,Au]),Ag={handlerOffset:F,index:R,size:A_,dataLength:$,loop:q};(null==Ae?void 0:Ae.type)==="horizontal-stack"&&(Ag={handlerOffset:F,index:R,size:A_,dataLength:$,loop:q,type:eF(null!=(V=Ae.exitDirection)?V:"left",Z),viewCount:Ae.visibleCount});var Ah=tS(Ag,H),Ap=eh.useCallback((d=(u={_worklet_12045659402895_init_data:tG,size:A_,dataLength:$,positiveModulo:eM,handlerOffset:F,index:R})._worklet_12045659402895_init_data,_=u.size,m=u.dataLength,v=u.positiveModulo,g=u.handlerOffset,h=u.index,p=[new globalThis.Error,-6,-27],(E=function(){return _>0&&m>0&&v(Math.round(-g.value/_),m)===h}).__closure={size:_,dataLength:m,positiveModulo:v,handlerOffset:g,index:h},E.__workletHash=0xaf4993ff28f,E.__pluginVersion="0.5.2",E.__initData=d,E.__stackDetails=p,E),[$,F,R,A_]),AE=eE(eh.useState(Ap),2),AS=AE[0],Af=AE[1];(0,ef.useAnimatedReaction)(Ap,(f=(S={_worklet_10884764988886_init_data:tx,scheduleOnRN:eI.scheduleOnRN,setIsAccessibilityCurrent:Af})._worklet_10884764988886_init_data,I=S.scheduleOnRN,M=S.setIsAccessibilityCurrent,w=[new globalThis.Error,-3,-27],(G=function(A,e){A!==e&&I(M,A)}).__closure={scheduleOnRN:I,setIsAccessibilityCurrent:M},G.__workletHash=0x9e64e8cf5d6,G.__pluginVersion="0.5.2",G.__initData=f,G.__stackDetails=w,G),[Ap]);var AI=(0,ef.useDerivedValue)((K=(x={_worklet_7865013565607_init_data:tK,size:A_,x:Ah})._worklet_7865013565607_init_data,B=x.size,D=x.x,O=[new globalThis.Error,-3,-27],(z=function(){return B?D.value/B:0}).__closure={size:B,x:D},z.__workletHash=0x7273756f8a7,z.__pluginVersion="0.5.2",z.__initData=K,z.__stackDetails=O,z),[Ah,A_]),AM=(0,ef.useAnimatedStyle)((y=(k={_worklet_12212549227805_init_data:tB,size:A_,sanitizeAnimationStyle:tI,animationStyle:j,x:Ah,rawIndex:Y})._worklet_12212549227805_init_data,b=k.size,L=k.sanitizeAnimationStyle,T=k.animationStyle,U=k.x,P=k.rawIndex,Q=[new globalThis.Error,-6,-27],(W=function(){var A=b||1;return L(T(U.value/A,P))}).__closure={size:b,sanitizeAnimationStyle:L,animationStyle:T,x:U,rawIndex:P},W.__workletHash=0xb1b74a8951d,W.__pluginVersion="0.5.2",W.__initData=y,W.__stackDetails=Q,W),[j,Y,Ah,A_]),Aw=N({relativeProgress:AI}),AG=eh.isValidElement(Aw)?eh.cloneElement(Aw,{collapsable:!1,onLayout:function(A){var e,t,a,n,i,r,C,o,s,l,c=A.nativeEvent.layout,u=c.width,d=c.height;u>0&&d>0&&(0,eI.scheduleOnUI)((t=(e={_worklet_5927262822367_init_data:tD,measuredSize:Ar,layoutWidth:u,layoutHeight:d,updateItemDimensions:Ai,index:R})._worklet_5927262822367_init_data,a=e.measuredSize,n=e.layoutWidth,i=e.layoutHeight,r=e.updateItemDimensions,C=e.index,o=[new globalThis.Error,-6,-27],(s=function(){var A=a.value,e=A.width,t=A.height;(e!==n||t!==i)&&(a.value={width:n,height:i},r(C,{width:n,height:i}))}).__closure={measuredSize:a,layoutWidth:n,layoutHeight:i,updateItemDimensions:r,index:C},s.__workletHash=0x5640c651fdf,s.__pluginVersion="0.5.2",s.__initData=t,s.__stackDetails=o,s)),null==(l=Aw.props)||null==l.onLayout||l.onLayout(A)}}):Aw;return(0,eJ.jsx)(ef.default.View,{accessibilityElementsHidden:!AS,accessible:!!AS&&void 0,"aria-hidden":!AS,importantForAccessibility:AS?"auto":"no-hide-descendants",style:[{position:"absolute",pointerEvents:"box-none"},Av,AM],testID:"__CAROUSEL_ITEM_".concat(R,"__"),children:AG})},tz=(AN={code:'function normalizeWindowSize_useVisibleRangesTsx1(total,windowSize){return typeof windowSize==="number"&&Number.isFinite(windowSize)&&windowSize>0?windowSize:total;}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx",sourceMap:'{"version":3,"names":["normalizeWindowSize_useVisibleRangesTsx1","total","windowSize","Number","isFinite"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx"],"mappings":"AAaA,SAAAA,wCAAiEA,CAAAC,KAAA,CAAAC,UAAA,EAG/D,MAAO,OAAO,CAAAA,UAAU,GAAK,QAAQ,EAAIC,MAAM,CAACC,QAAQ,CAACF,UAAU,CAAC,EAAIA,UAAU,CAAG,CAAC,CAClFA,UAAU,CACVD,KAAK,CACX","ignoreList":[]}'},AH=[new globalThis.Error,1,-27],(Aj=function(A,e){return"number"==typeof e&&Number.isFinite(e)&&e>0?e:A}).__closure={},Aj.__workletHash=0xc7b52e5721,Aj.__pluginVersion="0.5.2",Aj.__initData=AN,Aj.__stackDetail
1s=AH,Aj),tk=(AZ=(A$={_worklet_12590357434072_init_data:{code:"function computeVisibleRanges_useVisibleRangesTsx3(params){const{normalizeWindowSize,normalizeLoopIndex}=this.__closure;const{total=0,loop:loop}=params;const windowSize=normalizeWindowSize(total,params.windowSize);if(total<=0){return{negativeRange:[0,0],positiveRange:[0,-1]};}if(loop&&windowSize>=total){return{negativeRange:[0,0],positiveRange:[0,total-1]};}const positiveCount=Math.round(windowSize/2);const negativeCount=windowSize-positiveCount;let currentIndex=params.currentIndex;if(!Number.isFinite(currentIndex))currentIndex=0;if(!loop){currentIndex=Math.max(0,Math.min(total-1,currentIndex));return{negativeRange:[Math.max(0,currentIndex-(windowSize-1)),currentIndex],positiveRange:[currentIndex,Math.min(total-1,currentIndex+(windowSize-1))]};}currentIndex=normalizeLoopIndex(currentIndex,total);const negativeRange=[(currentIndex-negativeCount+total)%total,(currentIndex-1+total)%total];const positiveRange=[(currentIndex+total)%total,(currentIndex+positiveCount+total)%total];if(negativeRange[0]<total&&negativeRange[0]>negativeRange[1]){negativeRange[1]=total-1;positiveRange[0]=0;}if(positiveRange[0]>positiveRange[1]){negativeRange[1]=total-1;positiveRange[0]=0;}return{negativeRange:negativeRange,positiveRange:positiveRange};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx",sourceMap:'{"version":3,"names":["computeVisibleRanges_useVisibleRangesTsx3","params","normalizeWindowSize","normalizeLoopIndex","__closure","total","loop","windowSize","negativeRange","positiveRange","positiveCount","Math","round","negativeCount","currentIndex","Number","isFinite","max","min"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx"],"mappings":"AA2BO,SAAAA,yCAKWA,CAAAC,MAAA,QAAAC,mBAAA,CAAAC,kBAAA,OAAAC,SAAA,CAGhB,KAAM,CAAEC,KAAK,CAAG,CAAC,CAAEC,IAAA,CAAAA,IAAK,CAAC,CAAGL,MAAM,CAClC,KAAM,CAAAM,UAAU,CAAGL,mBAAmB,CAACG,KAAK,CAAEJ,MAAM,CAACM,UAAU,CAAC,CAEhE,GAAIF,KAAK,EAAI,CAAC,CAAE,CACd,MAAO,CACLG,aAAa,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CACrBC,aAAa,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CACvB,CAAC,CACH,CAEA,GAAIH,IAAI,EAAIC,UAAU,EAAIF,KAAK,CAAE,CAC/B,MAAO,CACLG,aAAa,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CACrBC,aAAa,CAAE,CAAC,CAAC,CAAEJ,KAAK,CAAG,CAAC,CAC9B,CAAC,CACH,CAEA,KAAM,CAAAK,aAAa,CAAGC,IAAI,CAACC,KAAK,CAACL,UAAU,CAAG,CAAC,CAAC,CAChD,KAAM,CAAAM,aAAa,CAAGN,UAAU,CAAGG,aAAa,CAEhD,GAAI,CAAAI,YAAY,CAAGb,MAAM,CAACa,YAAY,CACtC,GAAI,CAACC,MAAM,CAACC,QAAQ,CAACF,YAAY,CAAC,CAAEA,YAAY,CAAG,CAAC,CAEpD,GAAI,CAACR,IAAI,CAAE,CACTQ,YAAY,CAAGH,IAAI,CAACM,GAAG,CAAC,CAAC,CAAEN,IAAI,CAACO,GAAG,CAACb,KAAK,CAAG,CAAC,CAAES,YAAY,CAAC,CAAC,CAC7D,MAAO,CACLN,aAAa,CAAE,CAACG,IAAI,CAACM,GAAG,CAAC,CAAC,CAAEH,YAAY,EAAIP,UAAU,CAAG,CAAC,CAAC,CAAC,CAAEO,YAAY,CAAC,CAC3EL,aAAa,CAAE,CAACK,YAAY,CAAEH,IAAI,CAACO,GAAG,CAACb,KAAK,CAAG,CAAC,CAAES,YAAY,EAAIP,UAAU,CAAG,CAAC,CAAC,CAAC,CACpF,CAAC,CACH,CAEAO,YAAY,CAAGX,kBAAkB,CAACW,YAAY,CAAET,KAAK,CAAC,CAEtD,KAAM,CAAAG,aAAoB,CAAG,CAC3B,CAACM,YAAY,CAAGD,aAAa,CAAGR,KAAK,EAAIA,KAAK,CAC9C,CAACS,YAAY,CAAG,CAAC,CAAGT,KAAK,EAAIA,KAAK,CACnC,CAED,KAAM,CAAAI,aAAoB,CAAG,CAC3B,CAACK,YAAY,CAAGT,KAAK,EAAIA,KAAK,CAC9B,CAACS,YAAY,CAAGJ,aAAa,CAAGL,KAAK,EAAIA,KAAK,CAC/C,CAED,GAAIG,aAAa,CAAC,CAAC,CAAC,CAAGH,KAAK,EAAIG,aAAa,CAAC,CAAC,CAAC,CAAGA,aAAa,CAAC,CAAC,CAAC,CAAE,CACnEA,aAAa,CAAC,CAAC,CAAC,CAAGH,KAAK,CAAG,CAAC,CAC5BI,aAAa,CAAC,CAAC,CAAC,CAAG,CAAC,CACtB,CACA,GAAIA,aAAa,CAAC,CAAC,CAAC,CAAGA,aAAa,CAAC,CAAC,CAAC,CAAE,CACvCD,aAAa,CAAC,CAAC,CAAC,CAAGH,KAAK,CAAG,CAAC,CAC5BI,aAAa,CAAC,CAAC,CAAC,CAAG,CAAC,CACtB,CAEA,MAAO,CAAED,aAAa,CAAbA,aAAa,CAAEC,aAAA,CAAAA,aAAc,CAAC,CACzC","ignoreList":[]}'},normalizeWindowSize:tz,normalizeLoopIndex:(AJ={code:"function normalizeLoopIndex_useVisibleRangesTsx2(currentIndex,total){return currentIndex<0?currentIndex%total+total:currentIndex;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx",sourceMap:'{"version":3,"names":["normalizeLoopIndex_useVisibleRangesTsx2","currentIndex","total"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx"],"mappings":"AAqBA,SAAAA,uCAA+DA,CAAAC,YAAE,CAAAC,KAAA,EAG/D,MAAO,CAAAD,YAAY,CAAG,CAAC,CAAIA,YAAY,CAAGC,KAAK,CAAIA,KAAK,CAAGD,YAAY,CACzE","ignoreList":[]}'},AX=[new globalThis.Error,1,-27],(Aq=function(A,e){return A<0?A%e+e:A}).__closure={},Aq.__workletHash=0x9851e360f6e,Aq.__pluginVersion="0.5.2",Aq.__initData=AJ,Aq.__stackDetail
1s=AX,Aq)})._worklet_12590357434072_init_data,A0=A$.normalizeWindowSize,A1=A$.normalizeLoopIndex,A2=[new globalThis.Error,-3,-27],(A3=function(A){var e=A.total,t=void 0===e?0:e,a=A.loop,n=A0(t,A.windowSize);if(t<=0)return{negativeRange:[0,0],positiveRange:[0,-1]};if(a&&n>=t)return{negativeRange:[0,0],positiveRange:[0,t-1]};var i=Math.round(n/2),r=A.currentIndex;if(Number.isFinite(r)||(r=0),!a)return{negativeRange:[Math.max(0,(r=Math.max(0,Math.min(t-1,r)))-(n-1)),r],positiveRange:[r,Math.min(t-1,r+(n-1))]};var C=[((r=A1(r,t))-(n-i)+t)%t,(r-1+t)%t],o=[(r+t)%t,(r+i+t)%t];return C[0]<t&&C[0]>C[1]&&(C[1]=t-1,o[0]=0),o[0]>o[1]&&(C[1]=t-1,o[0]=0),{negativeRange:C,positiveRange:o}}).__closure={normalizeWindowSize:A0,normalizeLoopIndex:A1},A3.__workletHash=0xb736bc84ed8,A3.__pluginVersion="0.5.2",A3.__initData=AZ,A3.__stackDetails=A2,A3),ty={code:"function useVisibleRangesTsx4(){const{total,computeVisibleRanges,windowSize,loop,viewSize,translation,cachedRanges,isArraysEqual}=this.__closure;if(total<=0){return computeVisibleRanges({total:total,currentIndex:0,windowSize:windowSize,loop:loop});}if(!Number.isFinite(viewSize)||viewSize<=0){return{negativeRange:[0,0],positiveRange:[0,Math.min(total-1,windowSize-1)]};}let currentIndex=Math.round(-translation.value/viewSize);if(!Number.isFinite(currentIndex))currentIndex=0;const newRanges=computeVisibleRanges({total:total,windowSize:windowSize,currentIndex:currentIndex,loop:loop});if(cachedRanges.current&&isArraysEqual(cachedRanges.current.negativeRange,newRanges.negativeRange)&&isArraysEqual(cachedRanges.current.positiveRange,newRanges.positiveRange)){return cachedRanges.current;}cachedRanges.current=newRanges;return newRanges;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx",sourceMap:'{"version":3,"names":["useVisibleRangesTsx4","total","computeVisibleRanges","windowSize","loop","viewSize","translation","cachedRanges","isArraysEqual","__closure","currentIndex","Number","isFinite","negativeRange","positiveRange","Math","min","round","value","newRanges","current"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx"],"mappings":"AAsGiC,SAAAA,oBAAMA,CAAA,QAAAC,KAAA,CAAAC,oBAAA,CAAAC,UAAA,CAAAC,IAAA,CAAAC,QAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,aAAA,OAAAC,SAAA,CACnC,GAAIR,KAAK,EAAI,CAAC,CAAE,CACd,MAAO,CAAAC,oBAAoB,CAAC,CAAED,KAAK,CAALA,KAAK,CAAES,YAAY,CAAE,CAAC,CAAEP,UAAU,CAAVA,UAAU,CAAEC,IAAA,CAAAA,IAAK,CAAC,CAAC,CAC3E,CAGA,GAAI,CAACO,MAAM,CAACC,QAAQ,CAACP,QAAQ,CAAC,EAAIA,QAAQ,EAAI,CAAC,CAAE,CAC/C,MAAO,CACLQ,aAAa,CAAE,CAAC,CAAC,CAAE,CAAC,CAAU,CAC9BC,aAAa,CAAE,CAAC,CAAC,CAAEC,IAAI,CAACC,GAAG,CAACf,KAAK,CAAG,CAAC,CAAEE,UAAU,CAAG,CAAC,CAAC,CACxD,CAAC,CACH,CAEA,GAAI,CAAAO,YAAY,CAAGK,IAAI,CAACE,KAAK,CAAC,CAACX,WAAW,CAACY,KAAK,CAAGb,QAAQ,CAAC,CAC5D,GAAI,CAACM,MAAM,CAACC,QAAQ,CAACF,YAAY,CAAC,CAAEA,YAAY,CAAG,CAAC,CAEpD,KAAM,CAAAS,SAAS,CAAGjB,oBAAoB,CAAC,CAAED,KAAK,CAALA,KAAK,CAAEE,UAAU,CAAVA,UAAU,CAAEO,YAAY,CAAZA,YAAY,CAAEN,IAAA,CAAAA,IAAK,CAAC,CAAC,CAEjF,GACEG,YAAY,CAACa,OAAO,EACpBZ,aAAa,CAACD,YAAY,CAACa,OAAO,CAACP,aAAa,CAAEM,SAAS,CAACN,aAAa,CAAC,EAC1EL,aAAa,CAACD,YAAY,CAACa,OAAO,CAACN,aAAa,CAAEK,SAAS,CAACL,aAAa,CAAC,CAC1E,CACA,MAAO,CAAAP,YAAY,CAACa,OAAO,CAC7B,CAEAb,YAAY,CAACa,OAAO,CAAGD,SAAS,CAChC,MAAO,CAAAA,SAAS,CAClB","ignoreList":[]}'},tb=(A5={code:"function isArraysEqual_useVisibleRangesTsx5(a,b){if(a.length!==b.length)return false;return a.every(function(value,index){return value===b[index];});}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx",sourceMap:'{"version":3,"names":["isArraysEqual_useVisibleRangesTsx5","a","b","length","every","value","index"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/useVisibleRanges.tsx"],"mappings":"AAuIA,SAAAA,kCAA0DA,CAAAC,CAAA,CAAAC,CAAA,EAExD,GAAID,CAAC,CAACE,MAAM,GAAKD,CAAC,CAACC,MAAM,CAAE,MAAO,MAAK,CAEvC,MAAO,CAAAF,CAAC,CAACG,KAAK,CAAC,SAACC,KAAK,CAAEC,KAAK,QAAK,CAAAD,KAAK,GAAKH,CAAC,CAACI,KAAK,CAAC,GAAC,CACtD","ignoreList":[]}'},A7=[new globalThis.Error,1,-27],(A6=function(A,e){return A.length===e.length&&A.every(function(A,t){return A===e[t]})}).__closure={},A6.__workletHash=0x18a91342ca6,A6.__pluginVersion="0.5.2",A6.__initData=A5,A6.__stackDetail
1s=A7,A6),tL={code:"function ItemRendererTsx1(){const{visibleRanges}=this.__closure;return visibleRanges.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemRenderer.tsx",sourceMap:'{"version":3,"names":["ItemRendererTsx1","visibleRanges","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemRenderer.tsx"],"mappings":"AA0EI,SAAAA,iBAAA,QAAAC,aAAA,OAAAC,SAAA,OAAM,CAAAD,aAAc,CAAAE,KAAA","ignoreList":[]}'},tT={code:"function ItemRendererTsx2(ranges){const{scheduleOnRN,setDisplayedItems}=this.__closure;return scheduleOnRN(setDisplayedItems,ranges);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemRenderer.tsx",sourceMap:'{"version":3,"names":["ItemRendererTsx2","ranges","scheduleOnRN","setDisplayedItems","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ItemRenderer.tsx"],"mappings":"AA2EK,SAAAA,gBAAMA,CAAAC,MAAA,QAAAC,YAAA,CAAAC,iBAAA,OAAAC,SAAA,OAAK,CAAAF,YAAa,CAAAC,iBAAiB,CAAEF,MAAM","ignoreList":[]}'},tU=function(A){var e,t,a,n,i,r,C,o,s,l,c,u,d,_,m,v,g,h,p,E,S,f,I,M,w,G,x,K,B,D,O,z,k=A.data,y=A.rawData,b=A.size,L=A.renderWindowSize,T=A.defaultIndex,U=A.handlerOffset,P=A.offsetX,Q=A.dataLength,W=A.rawDataLength,V=A.loop,F=A.autoFillData,R=A.layoutConfig,Y=A.renderItem,N=A.itemAnimation,H=A.keyExtractor,j=(a=void 0===(t=(e={total:Q,viewSize:b,translation:U,windowSize:L,loop:V}).total)?0:t,n=e.viewSize,i=e.translation,r=e.windowSize,C=e.loop,o=tz(a,r),s=(0,eh.useRef)(null),(0,ef.useDerivedValue)((c=(l={_worklet_6485309998197_init_data:ty,total:a,computeVisibleRanges:tk,windowSize:o,loop:C,viewSize:n,translation:i,cachedRanges:s,isArraysEqual:tb})._worklet_6485309998197_init_data,u=l.total,d=l.computeVisibleRanges,_=l.windowSize,m=l.loop,v=l.viewSize,g=l.translation,h=l.cachedRanges,p=l.isArraysEqual,E=[new globalThis.Error,-9,-27],(S=function(){if(u<=0)return d({total:u,currentIndex:0,windowSize:_,loop:m});if(!Number.isFinite(v)||v<=0)return{negativeRange:[0,0],positiveRange:[0,Math.min(u-1,_-1)]};var A=Math.round(-g.value/v);Number.isFinite(A)||(A=0);var e=d({total:u,windowSize:_,currentIndex:A,loop:m});return h.current&&p(h.current.negativeRange,e.negativeRange)&&p(h.current.positiveRange,e.positiveRange)?h.current:(h.current=e,e)}).__closure={total:u,computeVisibleRanges:d,windowSize:_,loop:m,viewSize:v,translation:g,cachedRanges:h,isArraysEqual:p},S.__workletHash=0x5e5fa994475,S.__pluginVersion="0.5.2",S.__initData=c,S.__stackDetails=E,S),[C,a,o,i,n])),J=eh.useMemo(function(){return tk({total:Q,windowSize:L,currentIndex:T,loop:V})},[Q,T,V,L]),X=eE(eh.useState(J),2),q=X[0],$=X[1];return(0,ef.useAnimatedReaction)((I=(f={_worklet_5016581810892_init_data:tL,visibleRanges:j})._worklet_5016581810892_init_data,M=f.visibleRanges,w=[new globalThis.Error,-2,-27],(G=function(){return M.value}).__closure={visibleRanges:M},G.__workletHash=0x4900393aacc,G.__pluginVersion="0.5.2",G.__initData=I,G.__stackDetails=w,G),(K=(x={_worklet_11262215567435_init_data:tT,scheduleOnRN:eI.scheduleOnRN,setDisplayedItems:$})._worklet_11262215567435_init_data,B=x.scheduleOnRN,D=x.setDisplayedItems,O=[new globalThis.Error,-3,-27],(z=function(A){return B(D,A)}).__closure={scheduleOnRN:B,setDisplayedItems:D},z.__workletHash=0xa3e305bb84b,z.__pluginVersion="0.5.2",z.__initData=K,z.__stackDetails=O,z),[j]),(0,eJ.jsx)(eJ.Fragment,{children:k.map(function(A,e){var t,a=function(A){var e=A.index,t=A.dataLength;if(eN({loop:A.loop,autoFillData:A.autoFillData}))switch(t){case eR:return e%1;case eY:return e%2}return e}({index:e,dataLength:W,loop:V,autoFillData:F}),n=q.negativeRange,i=q.positiveRange;if(!(e>=n[0]&&e<=n[1]||e>=i[0]&&e<=i[1]))return null;var r=null!=(t=y[a])?t:A,C=H?"".concat(H(r,a),"::rnrc-copy-").concat(Math.floor(e/Math.max(W,1))):String(e);return(0,eJ.jsx)(tO,{index:e,rawIndex:a,handlerOffset:P,visibleRanges:j,animationStyle:N||R,children:function(A){return Y({item:r,index:a,relativeProgress:A.relativeProgress})}},C)})})},tP=t(59650),tQ=function(A,e){var t=e.enabled;(0,eh.useEffect)(function(){void 0!==t&&A.enabled(t)},[t,A])},tW={code:"function usePanGestureProxyTs1(e){const{userDefinedConflictGestures}=this.__closure;if(userDefinedConflictGestures.onBegin)userDefinedConflictGestures.onBegin(e);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts",sourceMap:'{"version":3,"names":["usePanGestureProxyTs1","e","userDefinedConflictGestures","__closure","onBegin"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts"],"mappings":"AA2GgB,QAAC,CAAAA,qBAAKA,CAAAC,CAAA,QAAAC,2BAAA,OAAAC,SAAA,CAGd,GAAID,2BAA2B,CAACE,OAAO,CAAEF,2BAA2B,CAACE,OAAO,CAACH,CAAC,CAAC,CACjF","ignoreList":[]}'},tV={code:"function usePanGestureProxyTs2(e){const{onGestureStart,userDefinedConflictGestures}=this.__closure;onGestureStart(e);if(userDefinedConflictGestures.onStart)userDefinedConflictGestures.onStart(e);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts",sourceMap:'{"version":3,"names":["usePanGestureProxyTs2","e","onGestureStart","userDefinedConflictGestures","__closure","onStart"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts"],"mappings":"AAgHgB,QAAC,CAAAA,qBAAKA,CAAAC,CAAA,QAAAC,cAAA,CAAAC,2BAAA,OAAAC,SAAA,CAEdF,cAAc,CAACD,CAAC,CAAC,CAEjB,GAAIE,2BAA2B,CAACE,OAAO,CAAEF,2BAA2B,CAACE,OAAO,CAACJ,CAAC,CAAC,CACjF","ignoreList":[]}'},tF={code:"function usePanGestureProxyTs3(e){const{onGestureUpdate,userDefinedConflictGestures}=this.__closure;onGestureUpdate(e);
1if(userDefinedConflictGestures.onUpdate)userDefinedConflictGestures.onUpdate(e);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts",sourceMap:'{"version":3,"names":["usePanGestureProxyTs3","e","onGestureUpdate","userDefinedConflictGestures","__closure","onUpdate"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts"],"mappings":"AAsHiB,QAAC,CAAAA,qBAAKA,CAAAC,CAAA,QAAAC,eAAA,CAAAC,2BAAA,OAAAC,SAAA,CAEfF,eAAe,CAACD,CAAC,CAAC,CAElB,GAAIE,2BAA2B,CAACE,QAAQ,CAAEF,2BAA2B,CAACE,QAAQ,CAACJ,CAAC,CAAC,CACnF","ignoreList":[]}'},tR={code:"function usePanGestureProxyTs4(e,success){const{onGestureEnd,userDefinedConflictGestures}=this.__closure;onGestureEnd(e,success);if(userDefinedConflictGestures.onEnd)userDefinedConflictGestures.onEnd(e,success);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts",sourceMap:'{"version":3,"names":["usePanGestureProxyTs4","e","success","onGestureEnd","userDefinedConflictGestures","__closure","onEnd"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts"],"mappings":"AA4Ha,QAAC,CAAAA,qBAAeA,CAAAC,CAAA,CAAAC,OAAA,QAAAC,YAAA,CAAAC,2BAAA,OAAAC,SAAA,CAErBF,YAAY,CAACF,CAAC,CAAEC,OAAO,CAAC,CAExB,GAAIE,2BAA2B,CAACE,KAAK,CAAEF,2BAA2B,CAACE,KAAK,CAACL,CAAC,CAAEC,OAAO,CAAC,CACtF","ignoreList":[]}'},tY={code:"function usePanGestureProxyTs5(e,success){const{userDefinedConflictGestures}=this.__closure;if(userDefinedConflictGestures.onFinalize)userDefinedConflictGestures.onFinalize(e,success);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts",sourceMap:'{"version":3,"names":["usePanGestureProxyTs5","e","success","userDefinedConflictGestures","__closure","onFinalize"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/hooks/usePanGestureProxy.ts"],"mappings":"AAkIkB,QAAC,CAAAA,qBAAeA,CAAAC,CAAA,CAAAC,OAAA,QAAAC,2BAAA,OAAAC,SAAA,CAG1B,GAAID,2BAA2B,CAACE,UAAU,CACxCF,2BAA2B,CAACE,UAAU,CAACJ,CAAC,CAAEC,OAAO,CAAC,CACtD","ignoreList":[]}'},tN=function(A){var e=A.onConfigurePanGesture,t=A.onGestureStart,a=A.onGestureUpdate,n=A.onGestureEnd,i=A.options,r=(0,eh.useMemo)(function(){var A,i,r,C,o,s,l,c,u,d,_,m,v,g,h,p,E,S,f,I,M,w,G,x,K,B,D,O,z=tP.q6.Pan().withTestId("rnrc-gesture-handler"),k={onBegin:z.onBegin,onStart:z.onStart,onUpdate:z.onUpdate,onEnd:z.onEnd,onFinalize:z.onFinalize},y={onBegin:void 0,onStart:void 0,onUpdate:void 0,onEnd:void 0,onFinalize:void 0};return z.onBegin=function(A){return y.onBegin=A,z},z.onStart=function(A){return y.onStart=A,z},z.onUpdate=function(A){return y.onUpdate=A,z},z.onEnd=function(A){return y.onEnd=A,z},z.onFinalize=function(A){return y.onFinalize=A,z},e&&e(z),z.onBegin=k.onBegin,z.onStart=k.onStart,z.onUpdate=k.onUpdate,z.onEnd=k.onEnd,z.onFinalize=k.onFinalize,z.onBegin((i=(A={_worklet_13302618487737_init_data:tW,userDefinedConflictGestures:y})._worklet_13302618487737_init_data,r=A.userDefinedConflictGestures,C=[new globalThis.Error,-2,-27],(o=function(A){r.onBegin&&r.onBegin(A)}).__closure={userDefinedConflictGestures:r},o.__workletHash=0xc1941d97bb9,o.__pluginVersion="0.5.2",o.__initData=i,o.__stackDetails=C,o)).onStart((l=(s={_worklet_11281770248233_init_data:tV,onGestureStart:t,userDefinedConflictGestures:y})._worklet_11281770248233_init_data,c=s.onGestureStart,u=s.userDefinedConflictGestures,d=[new globalThis.Error,-3,-27],(_=function(A){c(A),u.onStart&&u.onStart(A)}).__closure={onGestureStart:c,userDefinedConflictGestures:u},_.__workletHash=0xa42bde87829,_.__pluginVersion="0.5.2",_.__initData=l,_.__stackDetails=d,_)).onUpdate((v=(m={_worklet_799911385768_init_data:tF,onGestureUpdate:a,userDefinedConflictGestures:y})._worklet_799911385768_init_data,g=m.onGestureUpdate,h=m.userDefinedConflictGestures,p=[new globalThis.Error,-3,-27],(E=function(A){g(A),h.onUpdate&&h.onUpdate(A)}).__closure={onGestureUpdate:g,userDefinedConflictGestures:h},E.__workletHash=0xba3e6f1aa8,E.__pluginVersion="0.5.2",E.__initData=v,E.__stackDetail
1s=p,E)).onEnd((f=(S={_worklet_4117148101504_init_data:tR,onGestureEnd:n,userDefinedConflictGestures:y})._worklet_4117148101504_init_data,I=S.onGestureEnd,M=S.userDefinedConflictGestures,w=[new globalThis.Error,-3,-27],(G=function(A,e){I(A,e),M.onEnd&&M.onEnd(A,e)}).__closure={onGestureEnd:I,userDefinedConflictGestures:M},G.__workletHash=0x3be99266b80,G.__pluginVersion="0.5.2",G.__initData=f,G.__stackDetails=w,G)).onFinalize((K=(x={_worklet_3707360386237_init_data:tY,userDefinedConflictGestures:y})._worklet_3707360386237_init_data,B=x.userDefinedConflictGestures,D=[new globalThis.Error,-2,-27],(O=function(A,e){B.onFinalize&&B.onFinalize(A,e)}).__closure={userDefinedConflictGestures:B},O.__workletHash=0x35f2fe61cbd,O.__pluginVersion="0.5.2",O.__initData=K,O.__stackDetails=D,O)),z},[t,a,n,e]);return tQ(r,void 0===i?{}:i),r},tH=(A8={code:"function computeGestureTranslation_computeGestureTranslationTs1(options){const{loop:loop,overscrollEnabled:overscrollEnabled,currentTranslation:currentTranslation,panOffset:panOffset,panTranslation:panTranslation,max:max}=options;const raw=panOffset+panTranslation;if(loop)return raw;if(!overscrollEnabled){return Math.min(0,Math.max(-max,raw));}if(currentTranslation>0||currentTranslation<-max){const boundary=currentTranslation>0?0:-max;const fixed=boundary-panOffset;const dynamic=panTranslation-fixed;return boundary+dynamic*0.5;}return raw;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-gesture-translation.ts",sourceMap:'{"version":3,"names":["computeGestureTranslation_computeGestureTranslationTs1","options","loop","overscrollEnabled","currentTranslation","panOffset","panTranslation","max","raw","Math","min","boundary","fixed","dynamic"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/utils/compute-gesture-translation.ts"],"mappings":"AAAO,SAAAA,sDAOIA,CAAAC,OAAA,EAET,KAAM,CAAEC,IAAI,CAAJA,IAAI,CAAEC,iBAAiB,CAAjBA,iBAAiB,CAAEC,kBAAkB,CAAlBA,kBAAkB,CAAEC,SAAS,CAATA,SAAS,CAAEC,cAAc,CAAdA,cAAc,CAAEC,GAAA,CAAAA,GAAI,CAAC,CAAGN,OAAO,CAC/F,KAAM,CAAAO,GAAG,CAAGH,SAAS,CAAGC,cAAc,CAEtC,GAAIJ,IAAI,CAAE,MAAO,CAAAM,GAAG,CAEpB,GAAI,CAACL,iBAAiB,CAAE,CAEtB,MAAO,CAAAM,IAAI,CAACC,GAAG,CAAC,CAAC,CAAED,IAAI,CAACF,GAAG,CAAC,CAACA,GAAG,CAAEC,GAAG,CAAC,CAAC,CACzC,CAGA,GAAIJ,kBAAkB,CAAG,CAAC,EAAIA,kBAAkB,CAAG,CAACG,GAAG,CAAE,CACvD,KAAM,CAAAI,QAAQ,CAAGP,kBAAkB,CAAG,CAAC,CAAG,CAAC,CAAG,CAACG,GAAG,CAClD,KAAM,CAAAK,KAAK,CAAGD,QAAQ,CAAGN,SAAS,CAClC,KAAM,CAAAQ,OAAO,CAAGP,cAAc,CAAGM,KAAK,CACtC,MAAO,CAAAD,QAAQ,CAAGE,OAAO,CAAG,GAAG,CACjC,CAEA,MAAO,CAAAL,GAAG,CACZ","ignoreList":[]}'},A9=[new globalThis.Error,1,-27],(A4=function(A){var e=A.loop,t=A.overscrollEnabled,a=A.currentTranslation,n=A.panOffset,i=A.panTranslation,r=A.max,C=n+i;if(e)return C;if(!t)return Math.min(0,Math.max(-r,C));if(a>0||a<-r){var o=a>0?0:-r;return o+.5*(i-(o-n))}return C}).__closure={},A4.__workletHash=0xc1046605fd2,A4.__pluginVersion="0.5.2",A4.__initData=A8,A4.__stackDetails=A9,A4),tj={code:"function ScrollViewGestureTsx1(){const{isVertical}=this.__closure;return!isVertical;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx1","isVertical","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAiEuC,SAAAA,sBAAA,QAAAC,UAAA,OAAAC,SAAA,OAAO,CAAAD,UAAA","ignoreList":[]}'},tJ={code:'function ScrollViewGestureTsx2(){const{resolvedSize,sizePhase}=this.__closure;var _resolvedSize$value;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;return sizePhase.value==="ready"&&currentSize>0;}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx2","resolvedSize","sizePhase","__closure","_resolvedSize$value","currentSize","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAyEoC,SAAAA,qBAAMA,CAAA,QAAAC,YAAA,CAAAC,SAAA,OAAAC,SAAA,KAAAC,mBAAA,CACtC,KAAM,CAAAC,WAAW,EAAAD,mBAAA,CAAGH,YAAY,CAACK,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,MAAO,CAAAF,SAAS,CAACI,KAAK,GAAK,OAAO,EAAID,WAAW,CAAG,CAAC,CACvD","ignoreList":[]}'},tX={code:"function ScrollViewGestureTsx3(){const{size,loop,overscrollEnabled,isVertical,containerSize,dataLength}=this.__closure;if(size<=0)return 0;if(!loop&&!overscrollEnabled){const containerMainAxisSize=isVertical?containerSize.value.height:containerSize.value.width;if(containerMainAxisSize<=0||dataLength*size<containerMainAxisSize)return 0;return dataLength*size-containerMainAxisSize;}return dataLength*size;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx3","size","loop","overscrollEnabled","isVertical","containerSize","dataLength","__closure","containerMainAxisSize","value","height","width"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA+EqC,SAAAA,qBAAMA,CAAA,QAAAC,IAAA,CAAAC,IAAA,CAAAC,iBAAA,CAAAC,UAAA,CAAAC,aAAA,CAAAC,UAAA,OAAAC,SAAA,CAGvC,GAAIN,IAAI,EAAI,CAAC,CAAE,MAAO,EAAC,CAEvB,GAAI,CAACC,IAAI,EAAI,CAACC,iBAAiB,CAAE,CAC/B,KAAM,CAAAK,qBAAqB,CAAGJ,UAAU,CACpCC,aAAa,CAACI,KAAK,CAACC,MAAM,CAC1BL,aAAa,CAACI,KAAK,CAACE,KAAK,CAG7B,GAAIH,qBAAqB,EAAI,CAAC,EAAIF,UAAU,CAAGL,IAAI,CAAGO,qBAAqB,CAAE,MAAO,EAAC,CAGrF,MAAO,CAAAF,UAAU,CAAGL,IAAI,CAAGO,qBAAqB,CAClD,CAEA,MAAO,CAAAF,UAAU,CAAGL,IAAI,CAC1B","ignoreList":[]}'},tq={code:"function ScrollViewGestureTsx4(isFinished){const{onFinished,scheduleOnRN}=this.__closure;if(isFinished)onFinished&&scheduleOnRN(onFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx4","isFinished","onFinished","scheduleOnRN","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAsGmD,QAAC,CAAAA,qBAAwBA,CAAAC,UAAA,QAAAC,UAAA,CAAAC,YAAA,OAAAC,SAAA,CAEpE,GAAIH,UAAU,CAAEC,UAAU,EAAIC,YAAY,CAACD,UAAU,CAAC,CACxD","ignoreList":[]}'},t$={code:'function ScrollViewGestureTsx5(toValue,onFinished){const{dealWithAnimation,animation,_worklet_2188036911353_init_data,scheduleOnRN}=this.__closure;return dealWithAnimation(animation)(toValue,function ScrollViewGestureTsx4Factory({_worklet_2188036911353_init_data:_worklet_2188036911353_init_data,onFinished:onFinished,scheduleOnRN:scheduleOnRN}){const _e=[new global.Error(),-3,-27];const ScrollViewGestureTsx4=function(isFinished){if(isFinished)onFinished&&scheduleOnRN(onFinished);};ScrollViewGestureTsx4.__closure={onFinished:onFinished,scheduleOnRN:scheduleOnRN};ScrollViewGestureTsx4.__workletHash=2188036911353;ScrollViewGestureTsx4.__pluginVersion="0.5.2";ScrollViewGestureTsx4.__initData=_worklet_2188036911353_init_data;
1ScrollViewGestureTsx4.__stackDetails=_e;return ScrollViewGestureTsx4;}({_worklet_2188036911353_init_data:_worklet_2188036911353_init_data,onFinished:onFinished,scheduleOnRN:scheduleOnRN}));}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx5","toValue","onFinished","dealWithAnimation","animation","_worklet_2188036911353_init_data","scheduleOnRN","__closure","ScrollViewGestureTsx4Factory","_e","global","Error","ScrollViewGestureTsx4","isFinished","__workletHash","__pluginVersion","__initData","__stackDetails"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAoGI,QAAC,CAAAA,qBAAwCA,CAAAC,OAAK,CAAAC,UAAA,QAAAC,iBAAA,CAAAC,SAAA,CAAAC,gCAAA,CAAAC,YAAA,OAAAC,SAAA,CAE5C,MAAO,CAAAJ,iBAAiB,CAACC,SAAS,CAAC,CAACH,OAAO,CAAE,SAAAO,6BAAA,CAAAH,gCAAA,CAAAA,gCAAA,CAE3BH,UAAU,CAAVA,UAAU,CAAII,YAAA,CAAAA,YAAY,SAAAG,EAAA,MAAAC,MAAA,CAAAC,KAAA,iBAAAC,qBAAA,SAAAA,CAFEC,UAAmB,CAAK,CAEpE,GAAIA,UAAU,CAAEX,UAAU,EAAII,YAAY,CAACJ,UAAU,CAAC,CACxD,CAAC,CAAAU,qBAAA,CAAAL,SAAA,EADiBL,UAAU,CAAVA,UAAU,CAAII,YAAA,CAAAA,YAAY,EAAAM,qBAAA,CAAAE,aAAA,eAAAF,qBAAA,CAAAG,eAAA,SAAAH,qBAAA,CAAAI,UAAA,CAAAX,gCAAA,CAAAO,qBAAA,CAAAK,cAAA,CAAAR,EAAA,QAAAG,qBAAA,EAFC,EAAAP,gCAAA,CAAAA,gCAAA,CAE3BH,UAAU,CAAVA,UAAU,CAAII,YAAA,CAAAA,YAAY,EAC3C,CAAC,CACJ","ignoreList":[]}'},tZ={code:'function ScrollViewGestureTsx6(scrollEndTranslationValue,scrollEndVelocityValue,onFinished){const{resolvedSize,translation,withDecay,scheduleOnRN,snapMode,withSpring,loop,maxPage,overscrollEnabled,getLimit}=this.__closure;var _resolvedSize$value;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;if(currentSize<=0){return;}const origin=translation.value;const velocity=scrollEndVelocityValue;let finalTranslation=withDecay({velocity:velocity,deceleration:0.999},function(isFinished){if(isFinished&&onFinished)scheduleOnRN(onFinished);});const nextPage=-Math.round((origin+velocity*2)/currentSize);if(snapMode==="page"){const offset=-(scrollEndTranslationValue>=0?1:-1);const computed=offset<0?Math.ceil:Math.floor;const page=computed(-origin/currentSize);const velocityDirection=-Math.sign(velocity);if(page===nextPage||velocityDirection!==offset){finalTranslation=withSpring(withProcessTranslation(-page*currentSize),onFinished);}else if(loop){const finalPage=page+offset;finalTranslation=withSpring(withProcessTranslation(-finalPage*currentSize),onFinished);}else{const finalPage=Math.min(maxPage-1,Math.max(0,page+offset));finalTranslation=withSpring(withProcessTranslation(-finalPage*currentSize),onFinished);}}if(snapMode==="nearest"){finalTranslation=withSpring(withProcessTranslation(-nextPage*currentSize),onFinished);}translation.value=finalTranslation;function withProcessTranslation(translation){if(!loop&&!overscrollEnabled){const limit=getLimit();return Math.min(0,Math.max(-limit,translation));}return translation;}}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx6","scrollEndTranslationValue","scrollEndVelocityValue","onFinished","resolvedSize","translation","withDecay","scheduleOnRN","snapMode","withSpring","loop","maxPage","overscrollEnabled","getLimit","__closure","_resolvedSize$value","currentSize","value","origin","velocity","finalTranslation","deceleration","isFinished","nextPage","Math","round","offset","computed","ceil","floor","page","velocityDirection","sign","withProcessTranslation","finalPage","min","max","limit"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA+GI,QACE,CAAAA,sBAAAC,yBACA,CAAAC,sBAEG,CAAAC,UAAA,QAAAC,YAAA,CAAAC,WAAA,CAAAC,SAAA,CAAAC,YAAA,CAAAC,QAAA,CAAAC,UAAA,CAAAC,IAAA,CAAAC,OAAA,CAAAC,iBAAA,CAAAC,QAAA,OAAAC,SAAA,KAAAC,mBAAA,CAIH,KAAM,CAAAC,WAAW,EAAAD,mBAAA,CAAGX,YAAY,CAACa,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,GAAIC,WAAW,EAAI,CAAC,CAAE,CACpB,OACF,CACA,KAAM,CAAAE,MAAM,CAAGb,WAAW,CAACY,KAAK,CAChC,KAAM,CAAAE,QAAQ,CAAGjB,sBAAsB,CAEvC,GAAI,CAAAkB,gBAAwB,CAAGd,SAAS,CAAC,CAAEa,QAAQ,CAARA,QAAQ,CAAEE,YAAY,CAAE,KAAM,CAAC,CAAG,SAAAC,UAAU,CAAK,CAC1F,GAAIA,UAAU,EAAInB,UAAU,CAAEI,YAAY,CAACJ,UAAU,CAAC,CACxD,CAAC,CAAC,CAWF,KAAM,CAAAoB,QAAQ,CAAG,CAACC,IAAI,CAACC,KAAK,CAAC,CAACP,MAAM,CAAGC,QAAQ,CAAG,CAAC,EAAIH,WAAW,CAAC,CAEnE,GAAIR,QAAQ,GAAK,MAAM,CAAE,CAKvB,KAAM,CAAAkB,MAAM,CAAG,EAAEzB,yBAAyB,EAAI,CAAC,CAAG,CAAC,CAAG,CAAC,CAAC,CAAC,CACzD,KAAM,CAAA0B,QAAQ,CAAGD,MAAM,CAAG,CAAC,CAAGF,IAAI,CAACI,IAAI,CAAGJ,IAAI,CAACK,KAAK,CACpD,KAAM,CAAAC,IAAI,CAAGH,QAAQ,CAAC,CAACT,MAAM,CAAGF,WAAW,CAAC,CAE5C,KAAM,CAAAe,iBAAiB,CAAG,CAACP,IAAI,CAACQ,IAAI,CAACb,QAAQ,CAAC,CAC9C,GAAIW,IAAI,GAAKP,QAAQ,EAAIQ,iBAAiB,GAAKL,MAAM,CAAE,CAGrDN,gBAAgB,CAAGX,UAAU,CAACwB,sBAAsB,CAAC,CAACH,IAAI,CAAGd,WAAW,CAAC,CAAEb,UAAU,CAAC,CACxF,CAAC,IAAM,IAAIO,IAAI,CAAE,CACf,KAAM,CAAAwB,SAAS,CAAGJ,IAAI,CAAGJ,MAAM,CAC/BN,gBAAgB,CAAGX,UAAU,CAC3BwB,sBAAsB,CAAC,CAACC,SAAS,CAAGlB,WAAW,CAAC,CAChDb,UACF,CAAC,CACH,CAAC,IAAM,CACL,KAAM,CAAA+B,SAAS,CAAGV,IAAI,CAACW,GAAG,CAACxB,OAAO,CAAG,CAAC,CAAEa,IAAI,CAACY,GAAG,CAAC,CAAC,CAAEN,IAAI,CAAGJ,MAAM,CAAC,CAAC,CACnEN,gBAAgB,CAAGX,UAAU,CAC3BwB,sBAAsB,CAAC,CAACC,SAAS,CAAGlB,WAAW,CAAC,CAChDb,UACF,CAAC,CACH,CACF,CAEA,GAAIK,QAAQ,GAAK,SAAS,CAAE,CAC1BY,gBAAgB,CAAGX,UAAU,CAACwB,sBAAsB,CAAC,CAACV,QAAQ,CAAGP,WAAW,CAAC,CAAEb,UAAU,CAAC,CAC5F,CAEAE,WAAW,CAACY,KAAK,CAAGG,gBAAgB,CAEpC,QAAS,CAAAa,sBAAsBA,CAAC5B,WAAmB,CAAE,CACnD,GAAI,CAACK,IAAI,EAAI,CAACE,iBAAiB,CAAE,CAC/B,KAAM,CAAAyB,KAAK,CAAGxB,QAAQ,CAAC,CAAC,CACxB,MAAO,CAAAW,IAAI,CAACW,GAAG,CAAC,CAAC,CAAEX,IAAI,CAACY,GAAG,CAAC,CAACC,KAAK,CAAEhC,WAAW,CAAC,CAAC,CACnD,CAEA,MAAO,CAAAA,WAAW,CACpB,CACF","ignoreList":[]}'},t0={code:"function ScrollViewGestureTsx7(isFinished){const{onFinished,scheduleOnRN}=this.__closure;if(isFinished&&onFinished)scheduleOnRN(onFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx7","isFinished","onFinished","scheduleOnRN","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA8HmF,SAAAA,qBAAeA,CAAAC,UAAA,QAAAC,UAAA,CAAAC,YAAA,OAAAC,SAAA,CAC1F,GAAIH,UAAU,EAAIC,UAAU,CAAEC,YAAY,CAACD,UAAU,CAAC,CACxD","ignoreList":[]}'},t1={code:"function ScrollViewGestureTsx8(isFinished){const{touching,onScrollEnd,scheduleOnRN}=this.__closure;if(isFinished){touching.value=false;onScrollEnd&&scheduleOnRN(onScrollEnd);}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx8","isFinished","touching","onScrollEnd","scheduleOnRN","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA6LI,QAAC,CAAAA,qBAAwBA,CAAAC,UAAA,QAAAC,QAAA,CAAAC,WAAA,CAAAC,YAAA,OAAAC,SAAA,CAEvB,GAAIJ,UAAU,CAAE,CACdC,QAAQ,CAACI,KAAK,CAAG,KAAK,CACtBH,WAAW,EAAIC,YAAY,CAACD,WAAW,CAAC,CAC1C,CACF","ignoreList":[]}'},t2={code:"function ScrollViewGestureTsx9(){const{touching,translation,withDecay,scrollEndVelocity,onFinish}=this.__closure;touching.value=true;translation.value=withDecay({velocity:scrollEndVelocity.value},function(isFinished){return onFinish(isFinished);});}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx9","touching","translation","withDecay","scrollEndVelocity","onFinish","__closure","value","velocity","isFinished"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAuMwC,SAAAA,qBAAMA,CAAA,QAAAC,QAAA,CAAAC,WAAA,CAAAC,SAAA,CAAAC,iBAAA,CAAAC,QAAA,OAAAC,SAAA,CAE1CL,QAAQ,CAACM,KAAK,CAAG,IAAI,CACrBL,WAAW,CAACK,KAAK,CAAGJ,SAAS,CAAC,CAAEK,QAAQ,CAAEJ,iBAAiB,CAACG,KAAM,CAAC,CAAG,SAAAE,UAAU,QAC9E,CAAAJ,QAAQ,CAACI,UAAqB,CAChC,GAAC,CACH","ignoreList":[]}'},t3={code:"function ScrollViewGestureTsx10(isFinished){const{onFinish}=this.__closure;return onFinish(isFinished);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx10","isFinished","onFinish","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA0M0E,SAAAA,sBAAUA,CAAAC,UAAA,QAAAC,QAAA,OAAAC,SAAA,OAC9E,CAAAD,QAAS,CAAAD,UAAqB","ignoreList":[]}'},t5={code:"function ScrollViewGestureTsx11(){const{resolvedSize,touching,translation,scrollEndTranslation,activeDecay,loop,withSpring,maxPage}=this.__closure;var _resolvedSize$value;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;if(currentSize<=0)return;if(touching.value)return;if(translation.value>0){if(scrollEndTranslation.value<0){activeDecay();return;}if(!loop){translation.value=withSpring(0);return;}}if(translation.value<-((maxPage-1)*currentSize)){if(scrollEndTranslation.value>0){activeDecay();return;}if(!loop)translation.value=withSpring(-((maxPage-1)*currentSize));}}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx11","resolvedSize","touching","translation","scrollEndTranslation","activeDecay","loop","withSpring","maxPage","__closure","_resolvedSize$value","currentSize","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA+M0C,SAAAA,sBAAMA,CAAA,QAAAC,YAAA,CAAAC,QAAA,CAAAC,WAAA,CAAAC,oBAAA,CAAAC,WAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,OAAA,OAAAC,SAAA,KAAAC,mBAAA,CAI5C,KAAM,CAAAC,WAAW,EAAAD,mBAAA,CAAGT,YAAY,CAACW,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,GAAIC,WAAW,EAAI,CAAC,CAAE,OACtB,GAAIT,QAAQ,CAACU,KAAK,CAAE,OAEpB,GAAIT,WAAW,CAACS,KAAK,CAAG,CAAC,CAAE,CACzB,GAAIR,oBAAoB,CAACQ,KAAK,CAAG,CAAC,CAAE,CAClCP,WAAW,CAAC,CAAC,CACb,OACF,CACA,GAAI,CAACC,IAAI,CAAE,CACTH,WAAW,CAACS,KAAK,CAAGL,UAAU,CAAC,CAAC,CAAC,CACjC,OACF,CACF,CAEA,GAAIJ,WAAW,CAACS,KAAK,CAAG,EAAE,CAACJ,OAAO,CAAG,CAAC,EAAIG,WAAW,CAAC,CAAE,CACtD,GAAIP,oBAAoB,CAACQ,KAAK,CAAG,CAAC,CAAE,CAClCP,WAAW,CAAC,CAAC,CACb,OACF,CACA,GAAI,CAACC,IAAI,CAAEH,WAAW,CAACS,KAAK,CAAGL,UAAU,CAAC,EAAE,CAACC,OAAO,CAAG,CAAC,EAAIG,WAAW,CAAC,CAAC,CAC3E,CACF","ignoreList":[]}'},t7={code:"function ScrollViewGestureTsx12(){const{translation}=this.__closure;return translation.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx12","translation","__closure","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA4OI,SAAAA,uBAAA,QAAAC,WAAA,OAAAC,SAAA,OAAM,CAAAD,WAAY,CAAAE,KAAA","ignoreList":[]}'},t6={code:'function ScrollViewGestureTsx13(){const{snapMode,resetBoundary}=this.__closure;if(snapMode!=="page")resetBoundary();}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx13","snapMode","resetBoundary","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AA6OI,SAAAA,sBAAMA,CAAA,QAAAC,QAAA,CAAAC,aAAA,OAAAC,SAAA,CACJ,GAAIF,QAAQ,GAAK,MAAM,CAAEC,aAAa,CAAC,CAAC,CAC1C","ignoreList":[]}'},t8={code:"function ScrollViewGestureTsx14(_){const{resolvedSize,sizeReady,touching,validStart,hasStartedMovement,max,maxPage,loop,overscrollEnabled,getLimit,panOffset,translation}=this.__closure;var _resolvedSize$value;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;if(!sizeReady.value||currentSize<=0){return;}touching.value=true;validStart.value=true;hasStartedMovement.value=false;max.value=(maxPage-1)*currentSize;if(!loop&&!overscrollEnabled)max.value=getLimit();panOffset.value=translation.value;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx14","_","resolvedSize","sizeReady","touching","validStart","hasStartedMovement","max","maxPage","loop","overscrollEnabled","getLimit","panOffset","translation","__closure","_resolvedSize$value","currentSize","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAoPI,QAAC,CAAAA,sBAAqCA,CAAAC,CAAA,QAAAC,YAAA,CAAAC,SAAA,CAAAC,QAAA,CAAAC,UAAA,CAAAC,kBAAA,CAAAC,GAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAC,iBAAA,CAAAC,QAAA,CAAAC,SAAA,CAAAC,WAAA,OAAAC,SAAA,KAAAC,mBAAA,CAIpC,KAAM,CAAAC,WAAW,EAAAD,mBAAA,CAAGb,YAAY,CAACe,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,GAAI,CAACZ,SAAS,CAACc,KAAK,EAAID,WAAW,EAAI,CAAC,CAAE,CACxC,OACF,CACAZ,QAAQ,CAACa,KAAK,CAAG,IAAI,CACrBZ,UAAU,CAACY,KAAK,CAAG,IAAI,CACvBX,kBAAkB,CAACW,KAAK,CAAG,KAAK,CAEhCV,GAAG,CAACU,KAAK,CAAG,CAACT,OAAO,CAAG,CAAC,EAAIQ,WAAW,CACvC,GAAI,CAACP,IAAI,EAAI,CAACC,iBAAiB,CAAEH,GAAG,CAACU,KAAK,CAAGN,QAAQ,CAAC,CAAC,CAEvDC,SAAS,CAACK,KAAK,CAAGJ,WAAW,CAACI,KAAK,CACrC","ignoreList":[]}'},t9={code:"function ScrollViewGestureTsx15(e){const{resolvedSize,sizeReady,panOffset,validStart,cancelAnimation,translation,touching,isHorizontal,toLogicalGesture
1Value,directionSign,hasStartedMovement,onScrollStart,scheduleOnRN,computeGestureTranslation,loop,overscrollEnabled,max}=this.__closure;var _resolvedSize$value,_overscrollEnabled;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;if(!sizeReady.value||currentSize<=0){return;}if(panOffset.value===undefined){return;}if(validStart.value){validStart.value=false;cancelAnimation(translation);}touching.value=true;const{translationX:translationX,translationY:translationY}=e;const physicalPanTranslation=isHorizontal.value?translationX:translationY;const panTranslation=toLogicalGestureValue(physicalPanTranslation,directionSign);if(!hasStartedMovement.value&&panTranslation!==0){hasStartedMovement.value=true;if(onScrollStart)scheduleOnRN(onScrollStart);}translation.value=computeGestureTranslation({loop:loop,overscrollEnabled:(_overscrollEnabled=overscrollEnabled)!==null&&_overscrollEnabled!==void 0?_overscrollEnabled:true,currentTranslation:translation.value,panOffset:panOffset.value,panTranslation:panTranslation,max:max.value});}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx15","e","resolvedSize","sizeReady","panOffset","validStart","cancelAnimation","translation","touching","isHorizontal","toLogicalGestureValue","directionSign","hasStartedMovement","onScrollStart","scheduleOnRN","computeGestureTranslation","loop","overscrollEnabled","max","__closure","_resolvedSize$value","_overscrollEnabled","currentSize","value","undefined","translationX","translationY","physicalPanTranslation","panTranslation","currentTranslation"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAsRI,QAAC,CAAAA,sBAAqCA,CAAAC,CAAA,QAAAC,YAAA,CAAAC,SAAA,CAAAC,SAAA,CAAAC,UAAA,CAAAC,eAAA,CAAAC,WAAA,CAAAC,QAAA,CAAAC,YAAA,CAAAC,qBAAA,CAAAC,aAAA,CAAAC,kBAAA,CAAAC,aAAA,CAAAC,YAAA,CAAAC,yBAAA,CAAAC,IAAA,CAAAC,iBAAA,CAAAC,GAAA,OAAAC,SAAA,KAAAC,mBAAA,CAAAC,kBAAA,CAEpC,KAAM,CAAAC,WAAW,EAAAF,mBAAA,CAAGlB,YAAY,CAACqB,KAAK,UAAAH,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,GAAI,CAACjB,SAAS,CAACoB,KAAK,EAAID,WAAW,EAAI,CAAC,CAAE,CACxC,OACF,CACA,GAAIlB,SAAS,CAACmB,KAAK,GAAKC,SAAS,CAAE,CAWjC,OACF,CAEA,GAAInB,UAAU,CAACkB,KAAK,CAAE,CACpBlB,UAAU,CAACkB,KAAK,CAAG,KAAK,CACxBjB,eAAe,CAACC,WAAW,CAAC,CAC9B,CACAC,QAAQ,CAACe,KAAK,CAAG,IAAI,CACrB,KAAM,CAAEE,YAAY,CAAZA,YAAY,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGzB,CAAC,CAExC,KAAM,CAAA0B,sBAAsB,CAAGlB,YAAY,CAACc,KAAK,CAAGE,YAAY,CAAGC,YAAY,CAC/E,KAAM,CAAAE,cAAc,CAAGlB,qBAAqB,CAACiB,sBAAsB,CAAEhB,aAAa,CAAC,CACnF,GAAI,CAACC,kBAAkB,CAACW,KAAK,EAAIK,cAAc,GAAK,CAAC,CAAE,CACrDhB,kBAAkB,CAACW,KAAK,CAAG,IAAI,CAC/B,GAAIV,aAAa,CAAEC,YAAY,CAACD,aAAa,CAAC,CAChD,CAEAN,WAAW,CAACgB,KAAK,CAAGR,yBAAyB,CAAC,CAC5CC,IAAI,CAAJA,IAAI,CACJC,iBAAiB,EAAAI,kBAAA,CAAEJ,iBAAiB,UAAAI,kBAAA,UAAAA,kBAAA,CAAI,IAAI,CAC5CQ,kBAAkB,CAAEtB,WAAW,CAACgB,KAAK,CACrCnB,SAAS,CAAEA,SAAS,CAACmB,KAAK,CAC1BK,cAAc,CAAdA,cAAc,CACdV,GAAG,CAAEA,GAAG,CAACK,KACX,CAAC,CAAC,CACJ","ignoreList":[]}'},t4={code:"function ScrollViewGestureTsx16(e,_success){const{resolvedSize,sizeReady,panOffset,hasStartedMovement,touching,isHorizontal,toLogicalGestureValue,directionSign,scrollEndVelocity,scrollEndTranslation,endWithSpring,onScrollEnd,loop}=this.__closure;var _resolvedSize$value;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;if(!sizeReady.value||currentSize<=0){panOffset.value=undefined;return;}if(panOffset.value===undefined){return;}if(!hasStartedMovement.value){touching.value=false;panOffset.value=undefined;return;}const{velocityX:velocityX,velocityY:velocityY,translationX:translationX,translationY:translationY}=e;const physicalVelocity=isHorizontal.value?velocityX:velocityY;const scrollEndVelocityValue=toLogicalGestureValue(physicalVelocity,directionSign);scrollEndVelocity.value=scrollEndVelocityValue;const physicalPanTranslation=isHorizontal.value?translationX:translationY;
1const panTranslation=toLogicalGestureValue(physicalPanTranslation,directionSign);scrollEndTranslation.value=panTranslation;endWithSpring(panTranslation,scrollEndVelocityValue,onScrollEnd);if(!loop)touching.value=false;panOffset.value=undefined;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx16","e","_success","resolvedSize","sizeReady","panOffset","hasStartedMovement","touching","isHorizontal","toLogicalGestureValue","directionSign","scrollEndVelocity","scrollEndTranslation","endWithSpring","onScrollEnd","loop","__closure","_resolvedSize$value","currentSize","value","undefined","velocityX","velocityY","translationX","translationY","physicalVelocity","scrollEndVelocityValue","physicalPanTranslation","panTranslation"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAmVI,QAAC,CAAAA,sBAAiFA,CAAAC,CAAA,CAAAC,QAAA,QAAAC,YAAA,CAAAC,SAAA,CAAAC,SAAA,CAAAC,kBAAA,CAAAC,QAAA,CAAAC,YAAA,CAAAC,qBAAA,CAAAC,aAAA,CAAAC,iBAAA,CAAAC,oBAAA,CAAAC,aAAA,CAAAC,WAAA,CAAAC,IAAA,OAAAC,SAAA,KAAAC,mBAAA,CAIhF,KAAM,CAAAC,WAAW,EAAAD,mBAAA,CAAGd,YAAY,CAACgB,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,GAAI,CAACb,SAAS,CAACe,KAAK,EAAID,WAAW,EAAI,CAAC,CAAE,CACxCb,SAAS,CAACc,KAAK,CAAGC,SAAS,CAC3B,OACF,CAEA,GAAIf,SAAS,CAACc,KAAK,GAAKC,SAAS,CAAE,CAEjC,OACF,CAEA,GAAI,CAACd,kBAAkB,CAACa,KAAK,CAAE,CAC7BZ,QAAQ,CAACY,KAAK,CAAG,KAAK,CACtBd,SAAS,CAACc,KAAK,CAAGC,SAAS,CAC3B,OACF,CAEA,KAAM,CAAEC,SAAS,CAATA,SAAS,CAAEC,SAAS,CAATA,SAAS,CAAEC,YAAY,CAAZA,YAAY,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGvB,CAAC,CAC9D,KAAM,CAAAwB,gBAAgB,CAAGjB,YAAY,CAACW,KAAK,CAAGE,SAAS,CAAGC,SAAS,CACnE,KAAM,CAAAI,sBAAsB,CAAGjB,qBAAqB,CAACgB,gBAAgB,CAAEf,aAAa,CAAC,CACrFC,iBAAiB,CAACQ,KAAK,CAAGO,sBAAsB,CAEhD,KAAM,CAAAC,sBAAsB,CAAGnB,YAAY,CAACW,KAAK,CAAGI,YAAY,CAAGC,YAAY,CAC/E,KAAM,CAAAI,cAAc,CAAGnB,qBAAqB,CAACkB,sBAAsB,CAAEjB,aAAa,CAAC,CAEnFE,oBAAoB,CAACO,KAAK,CAAGS,cAAc,CAE3Cf,aAAa,CAACe,cAAc,CAAEF,sBAAsB,CAAEZ,WAAW,CAAC,CAElE,GAAI,CAACC,IAAI,CAAER,QAAQ,CAACY,KAAK,CAAG,KAAK,CAEjCd,SAAS,CAACc,KAAK,CAAGC,SAAS,CAC7B","ignoreList":[]}'},aA={code:'function ScrollViewGestureTsx17(e){const{isVertical,sizeExplicit,resolvedSize,sizePhase,updateContainerSize}=this.__closure;const measuredWidth=e.nativeEvent.layout.width;const measuredHeight=e.nativeEvent.layout.height;const measuredSize=Math.round((isVertical?measuredHeight:measuredWidth)||0);if(!sizeExplicit&&measuredSize>0){var _resolvedSize$value;const current=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;if(Math.abs(current-measuredSize)>0){sizePhase.value=current>0?"updating":sizePhase.value;resolvedSize.value=measuredSize;sizePhase.value="ready";}}updateContainerSize({width:measuredWidth,height:measuredHeight});}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx",sourceMap:'{"version":3,"names":["ScrollViewGestureTsx17","e","isVertical","sizeExplicit","resolvedSize","sizePhase","updateContainerSize","__closure","measuredWidth","nativeEvent","layout","width","measuredHeight","height","measuredSize","Math","round","_resolvedSize$value","current","value","abs"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/ScrollViewGesture.tsx"],"mappings":"AAkZI,QAAC,CAAAA,sBAAyBA,CAAAC,CAAA,QAAAC,UAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,SAAA,CAAAC,mBAAA,OAAAC,SAAA,CAGxB,KAAM,CAAAC,aAAa,CAAGP,CAAC,CAACQ,WAAW,CAACC,MAAM,CAACC,KAAK,CAChD,KAAM,CAAAC,cAAc,CAAGX,CAAC,CAACQ,WAAW,CAACC,MAAM,CAACG,MAAM,CAClD,KAAM,CAAAC,YAAY,CAAGC,IAAI,CAACC,KAAK,CAAC,CAACd,UAAU,CAAGU,cAAc,CAAGJ,aAAa,GAAK,CAAC,CAAC,CAEnF,GAAI,CAACL,YAAY,EAAIW,YAAY,CAAG,CAAC,CAAE,KAAAG,mBAAA,CACrC,KAAM,CAAAC,OAAO,EAAAD,mBAAA,CAAGb,YAAY,CAACe,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CACvC,GAAIF,IAAI,CAACK,GAAG,CAACF,OAAO,CAAGJ,YAAY,CAAC,CAAG,CAAC,CAAE,CACxCT,SAAS,CAACc,KAAK,CAAGD,OAAO,CAAG,CAAC,CAAG,UAAU,CAAGb,SAAS,CAACc,KAAK,CAC5Df,YAAY,CAACe,KAAK,CAAGL,YAAY,CACjCT,SAAS,CAACc,KAAK,CAAG,OAAO,CAC3B,CACF,CAEAb,mBAAmB,CAAC,CAClBK,KAAK,CAAEH,aAAa,CACpBK,MAAM,CAAED,cACV,CAAC,CAAC,CACJ","ignoreList":[]}'},ae=function(A){var e,t,a,n,i,r,C,o,s,l,c,u,d,_,m,v,g,h,p,E,S,f,I,M,w,G,x,K,B,D,O,z,k,y,b,L,T,U,P,Q,W,V,F,R,Y,N,H,j,J,X,q,$,Z,AA,Ae,At,Aa,An,Ai,Ar,AC,Ao,As,Al,Ac,Au,Ad,A_,Am,Av,Ag,Ah,Ap,AE,AS,Af,AI,AM,Aw,AG,Ax,AK,AB,AD,AO,Az,Ak,Ay,Ab,AL,AT,AU,AP,AQ,AW,AV,AF,AR,AY,AN,AH,Aj,AJ,AX,Aq,A$,AZ,A0,A1,A2,A3,A5,A7,A6,A8,A9,A4,eA,ee,et,ea,en,ei,er,eC,eo,es,el,ec,eu,ed,e_,em,ev,eg,ep,eE,eS,eM,ew,eG,ex,eK,eB,eD,eO=e0(),ez=eO.props,ek=ez.onConfigurePanGesture,ey=ez.orientation,eb=ez.snapMode,eL=ez.loop,eT=ez.animation,eU=ez.scrollEnabled,eP=ez.dataLength,eQ=ez.overscrollEnabled,eV=ez.directionSign,eF=eO.common,eR=eF.size,eY=eF.resolvedSize,eN=eF.sizePhase,eH=eF.sizeExplicit,ej=eO.layout,eX=ej.containerSize,eq=ej.updateContainerSize,e$=A.translation,eZ=A.testID,e1=A.style,e2=A.onScrollStart,e3=A.onScrollEnd,e5=A.onTouchBegin,e7=A.onTouchEnd,e6="vertical"===ey,e8=(0,ef.useDerivedValue)((t=(e={_worklet_2472947973255_init_data:tj,isVertical:e6})._worklet_2472947973255_init_data,a=e.isVertical,n=[new globalThis.Error,-2,-27],(i=function(){return!a}).__closure={isVertical:a},i.__workletHash=0x23fc72f7c87,i.__pluginVersion="0.5.2",i.__initData=t,i.__stackDetail
1s=n,i),[e6]),e4=(0,ef.useSharedValue)(0),tA=(0,ef.useSharedValue)(void 0),te=(0,ef.useSharedValue)(!1),tt=(0,ef.useSharedValue)(!1),ta=(0,ef.useSharedValue)(!1),tn=(0,ef.useSharedValue)(0),ti=(0,ef.useSharedValue)(0),tr=(0,ef.useDerivedValue)((C=(r={_worklet_1256203969722_init_data:tJ,resolvedSize:eY,sizePhase:eN})._worklet_1256203969722_init_data,o=r.resolvedSize,s=r.sizePhase,l=[new globalThis.Error,-3,-27],(c=function(){var A,e=null!=(A=o.value)?A:0;return"ready"===s.value&&e>0}).__closure={resolvedSize:o,sizePhase:s},c.__workletHash=0x1247b9764ba,c.__pluginVersion="0.5.2",c.__initData=C,c.__stackDetails=l,c),[eY,eN]),tC=eh.useCallback((d=(u={_worklet_5347610344434_init_data:tX,size:eR,loop:eL,overscrollEnabled:eQ,isVertical:e6,containerSize:eX,dataLength:eP})._worklet_5347610344434_init_data,_=u.size,m=u.loop,v=u.overscrollEnabled,g=u.isVertical,h=u.containerSize,p=u.dataLength,E=[new globalThis.Error,-7,-27],(S=function(){if(_<=0)return 0;if(!m&&!v){var A=g?h.value.height:h.value.width;return A<=0||p*_<A?0:p*_-A}return p*_}).__closure={size:_,loop:m,overscrollEnabled:v,isVertical:g,containerSize:h,dataLength:p},S.__workletHash=0x4dd166a3bf2,S.__pluginVersion="0.5.2",S.__initData=d,S.__stackDetails=E,S),[eL,eR,eP,eQ,e6,eX]),to=eh.useCallback((I=(f={_worklet_12883178410008_init_data:t$,dealWithAnimation:e9,animation:eT,_worklet_2188036911353_init_data:tq,scheduleOnRN:eI.scheduleOnRN})._worklet_12883178410008_init_data,M=f.dealWithAnimation,w=f.animation,G=f._worklet_2188036911353_init_data,x=f.scheduleOnRN,K=[new globalThis.Error,-5,-27],(B=function(A,e){var t,a,n,i,r,C;return M(w)(A,(a=(t={_worklet_2188036911353_init_data:G,onFinished:e,scheduleOnRN:x})._worklet_2188036911353_init_data,n=t.onFinished,i=t.scheduleOnRN,r=[new globalThis.Error,-3,-27],(C=function(A){A&&n&&i(n)}).__closure={onFinished:n,scheduleOnRN:i},C.__workletHash=0x1fd7129b0f9,C.__pluginVersion="0.5.2",C.__initData=a,C.__stackDetails=r,C))}).__closure={dealWithAnimation:M,animation:w,_worklet_2188036911353_init_data:G,scheduleOnRN:x},B.__workletHash=0xbb79945d018,B.__pluginVersion="0.5.2",B.__initData=I,B.__stackDetails=K,B),[eT]),ts=eh.useCallback((O=(D={_worklet_3690174926539_init_data:tZ,resolvedSize:eY,translation:e$,withDecay:ef.withDecay,scheduleOnRN:eI.scheduleOnRN,snapMode:eb,withSpring:to,loop:eL,maxPage:eP,overscrollEnabled:eQ,getLimit:tC})._worklet_3690174926539_init_data,z=D.resolvedSize,k=D.translation,y=D.withDecay,b=D.scheduleOnRN,L=D.snapMode,T=D.withSpring,U=D.loop,P=D.maxPage,Q=D.overscrollEnabled,W=D.getLimit,V=[new globalThis.Error,-11,-27],(F=function(A,e,t){var a,n=null!=(a=z.value)?a:0;if(!(n<=0)){var i,r,C,o,s,l,c=k.value,u=y({velocity:e,deceleration:.999},(r=(i={_worklet_7969934388090_init_data:t0,onFinished:t,scheduleOnRN:b})._worklet_7969934388090_init_data,C=i.onFinished,o=i.scheduleOnRN,s=[new globalThis.Error,-3,-27],(l=function(A){A&&C&&o(C)}).__closure={onFinished:C,scheduleOnRN:o},l.__workletHash=0x73fa51bab7a,l.__pluginVersion="0.5.2",l.__initData=r,l.__stackDetails=s,l)),d=-Math.round((c+2*e)/n);if("page"===L){var _=-(A>=0?1:-1),m=(_<0?Math.ceil:Math.floor)(-c/n),v=-Math.sign(e);u=m===d||v!==_?T(g(-m*n),t):U?T(g(-(m+_)*n),t):T(g(-Math.min(P-1,Math.max(0,m+_))*n),t)}"nearest"===L&&(u=T(g(-d*n),t)),k.value=u}function g(A){return U||Q?A:Math.min(0,Math.max(-W(),A))}}).__closure={resolvedSize:z,translation:k,withDecay:y,scheduleOnRN:b,snapMode:L,withSpring:T,loop:U,maxPage:P,overscrollEnabled:Q,getLimit:W},F.__workletHash=0x35b2f90cecb,F.__pluginVersion="0.5.2",F.__initData=O,F.__stackDetails=V,F),[to,eY,eP,eL,eb,e$]),tl=eh.useCallback((Y=(R={_worklet_4071854479665_init_data:t1,touching:te,onScrollEnd:e3,scheduleOnRN:eI.scheduleOnRN})._worklet_4071854479665_init_data,N=R.touching,H=R.onScrollEnd,j=R.scheduleOnRN,J=[new globalThis.Error,-4,-27],(X=function(A){A&&(N.value=!1,H&&j(H))}).__closure={touching:N,onScrollEnd:H,scheduleOnRN:j},X.__workletHash=0x3b40d709931,X.__pluginVersion="0.5.2",X.__initData=Y,X.__stackDetails=J,X),[e3,te]),tc=eh.useCallback(($=(q={_worklet_3052508857023_init_data:t2,touching:te,translation:e$,withDecay:ef.withDecay,scrollEndVelocity:ti,onFinish:tl})._worklet_3052508857023_init_data,Z=q.touching,AA=q.translation,Ae=q.withDecay,At=q.scrollEndVelocity,Aa=q.onFinish,An=[new globalThis.Error,-6,-27],(Ai=function(){var A,e,t,a,n;Z.value=!0,AA.value=Ae({velocity:At.value},(e=(A={_worklet_4672981921527_init_data:t3,onFinish:Aa})._worklet_4672981921527_init_data,t=A.onFinish,a=[new globalThis.Error,-2,-27],(n=function(A){return t(A)}).__closure={onFinish:t},n.__workletHash=0x440036d6ef7,n.__pluginVersion="0.5.2",n.__initData=e,n.__stackDetail
1s=a,n))}).__closure={touching:Z,translation:AA,withDecay:Ae,scrollEndVelocity:At,onFinish:Aa},Ai.__workletHash=0x2c6b7b4c2bf,Ai.__pluginVersion="0.5.2",Ai.__initData=$,Ai.__stackDetails=An,Ai),[tl,ti,te,e$]),tu=eh.useCallback((AC=(Ar={_worklet_10736007228699_init_data:t5,resolvedSize:eY,touching:te,translation:e$,scrollEndTranslation:tn,activeDecay:tc,loop:eL,withSpring:to,maxPage:eP})._worklet_10736007228699_init_data,Ao=Ar.resolvedSize,As=Ar.touching,Al=Ar.translation,Ac=Ar.scrollEndTranslation,Au=Ar.activeDecay,Ad=Ar.loop,A_=Ar.withSpring,Am=Ar.maxPage,Av=[new globalThis.Error,-9,-27],(Ag=function(){var A,e=null!=(A=Ao.value)?A:0;if(!(e<=0)&&!As.value){if(Al.value>0){if(Ac.value<0)return void Au();if(!Ad){Al.value=A_(0);return}}if(Al.value<-((Am-1)*e)){if(Ac.value>0)return void Au();Ad||(Al.value=A_(-((Am-1)*e)))}}}).__closure={resolvedSize:Ao,touching:As,translation:Al,scrollEndTranslation:Ac,activeDecay:Au,loop:Ad,withSpring:A_,maxPage:Am},Ag.__workletHash=0x9c3abe5ad1b,Ag.__pluginVersion="0.5.2",Ag.__initData=AC,Ag.__stackDetails=Av,Ag),[te,e$,eY,tn,eL,tc,to]);(0,ef.useAnimatedReaction)((Ap=(Ah={_worklet_11956863068497_init_data:t7,translation:e$})._worklet_11956863068497_init_data,AE=Ah.translation,AS=[new globalThis.Error,-2,-27],(Af=function(){return AE.value}).__closure={translation:AE},Af.__workletHash=0xadfec936951,Af.__pluginVersion="0.5.2",Af.__initData=Ap,Af.__stackDetails=AS,Af),(AM=(AI={_worklet_16893833080014_init_data:t6,snapMode:eb,resetBoundary:tu})._worklet_16893833080014_init_data,Aw=AI.snapMode,AG=AI.resetBoundary,Ax=[new globalThis.Error,-3,-27],(AK=function(){"page"!==Aw&&AG()}).__closure={snapMode:Aw,resetBoundary:AG},AK.__workletHash=0xf5d66eb6cce,AK.__pluginVersion="0.5.2",AK.__initData=AM,AK.__stackDetails=Ax,AK),[tu,eb]);var td=tN({onConfigurePanGesture:ek,onGestureStart:(0,eh.useCallback)((AD=(AB={_worklet_1110467062538_init_data:t8,resolvedSize:eY,sizeReady:tr,touching:te,validStart:tt,hasStartedMovement:ta,max:e4,maxPage:eP,loop:eL,overscrollEnabled:eQ,getLimit:tC,panOffset:tA,translation:e$})._worklet_1110467062538_init_data,AO=AB.resolvedSize,Az=AB.sizeReady,Ak=AB.touching,Ay=AB.validStart,Ab=AB.hasStartedMovement,AL=AB.max,AT=AB.maxPage,AU=AB.loop,AP=AB.overscrollEnabled,AQ=AB.getLimit,AW=AB.panOffset,AV=AB.translation,AF=[new globalThis.Error,-13,-27],(AR=function(A){var e,t=null!=(e=AO.value)?e:0;Az.value&&!(t<=0)&&(Ak.value=!0,Ay.value=!0,Ab.value=!1,AL.value=(AT-1)*t,AU||AP||(AL.value=AQ()),AW.value=AV.value)}).__closure={resolvedSize:AO,sizeReady:Az,touching:Ak,validStart:Ay,hasStartedMovement:Ab,max:AL,maxPage:AT,loop:AU,overscrollEnabled:AP,getLimit:AQ,panOffset:AW,translation:AV},AR.__workletHash=0x1028cfeab0a,AR.__pluginVersion="0.5.2",AR.__initData=AD,AR.__stackDetails=AF,AR),[e4,eP,eL,te,tA,tt,e$,eQ,tC,ta,tr,eY]),onGestureUpdate:(0,eh.useCallback)((AN=(AY={_worklet_4576743285953_init_data:t9,resolvedSize:eY,sizeReady:tr,panOffset:tA,validStart:tt,cancelAnimation:ef.cancelAnimation,translation:e$,touching:te,isHorizontal:e8,toLogicalGestureValue:eW,directionSign:eV,hasStartedMovement:ta,onScrollStart:e2,scheduleOnRN:eI.scheduleOnRN,computeGestureTranslation:tH,loop:eL,overscrollEnabled:eQ,max:e4})._worklet_4576743285953_init_data,AH=AY.resolvedSize,Aj=AY.sizeReady,AJ=AY.panOffset,AX=AY.validStart,Aq=AY.cancelAnimation,A$=AY.translation,AZ=AY.touching,A0=AY.isHorizontal,A1=AY.toLogicalGestureValue,A2=AY.directionSign,A3=AY.hasStartedMovement,A5=AY.onScrollStart,A7=AY.scheduleOnRN,A6=AY.computeGestureTranslation,A8=AY.loop,A9=AY.overscrollEnabled,A4=AY.max,eA=[new globalThis.Error,-18,-27],(ee=function(A){var e,t=null!=(e=AH.value)?e:0;if(Aj.value&&!(t<=0)&&void 0!==AJ.value){AX.value&&(AX.value=!1,Aq(A$)),AZ.value=!0;var a=A.translationX,n=A.translationY,i=A1(A0.value?a:n,A2);!A3.value&&0!==i&&(A3.value=!0,A5&&A7(A5)),A$.value=A6({loop:A8,overscrollEnabled:null==A9||A9,currentTranslation:A$.value,panOffset:AJ.value,panTranslation:i,max:A4.value})}}).__closure={resolvedSize:AH,sizeReady:Aj,panOffset:AJ,validStart:AX,cancelAnimation:Aq,translation:A$,touching:AZ,isHorizontal:A0,toLogicalGesture
1Value:A1,directionSign:A2,hasStartedMovement:A3,onScrollStart:A5,scheduleOnRN:A7,computeGestureTranslation:A6,loop:A8,overscrollEnabled:A9,max:A4},ee.__workletHash=0x4299b2864c1,ee.__pluginVersion="0.5.2",ee.__initData=AN,ee.__stackDetails=eA,ee),[e8,e4,tA,eL,eQ,ta,e2,e$,tt,te,tr,eY,eV]),onGestureEnd:(0,eh.useCallback)((ea=(et={_worklet_3738565917323_init_data:t4,resolvedSize:eY,sizeReady:tr,panOffset:tA,hasStartedMovement:ta,touching:te,isHorizontal:e8,toLogicalGestureValue:eW,directionSign:eV,scrollEndVelocity:ti,scrollEndTranslation:tn,endWithSpring:ts,onScrollEnd:e3,loop:eL})._worklet_3738565917323_init_data,en=et.resolvedSize,ei=et.sizeReady,er=et.panOffset,eC=et.hasStartedMovement,eo=et.touching,es=et.isHorizontal,el=et.toLogicalGestureValue,ec=et.directionSign,eu=et.scrollEndVelocity,ed=et.scrollEndTranslation,e_=et.endWithSpring,em=et.onScrollEnd,ev=et.loop,eg=[new globalThis.Error,-14,-27],(ep=function(A,e){var t,a=null!=(t=en.value)?t:0;if(!ei.value||a<=0){er.value=void 0;return}if(void 0!==er.value){if(!eC.value){eo.value=!1,er.value=void 0;return}var n=A.velocityX,i=A.velocityY,r=A.translationX,C=A.translationY,o=el(es.value?n:i,ec);eu.value=o;var s=el(es.value?r:C,ec);ed.value=s,e_(s,o,em),ev||(eo.value=!1),er.value=void 0}}).__closure={resolvedSize:en,sizeReady:ei,panOffset:er,hasStartedMovement:eC,touching:eo,isHorizontal:es,toLogicalGestureValue:el,directionSign:ec,scrollEndVelocity:eu,scrollEndTranslation:ed,endWithSpring:e_,onScrollEnd:em,loop:ev},ep.__workletHash=0x36673e4ba8b,ep.__pluginVersion="0.5.2",ep.__initData=ea,ep.__stackDetails=eg,ep),[eL,te,tA,e$,e8,ti,tn,ts,e3,ta,tr,eY,eV]),options:{enabled:eU}}),t_=eh.useCallback((eS=(eE={_worklet_3590054177125_init_data:aA,isVertical:e6,sizeExplicit:eH,resolvedSize:eY,sizePhase:eN,updateContainerSize:eq})._worklet_3590054177125_init_data,eM=eE.isVertical,ew=eE.sizeExplicit,eG=eE.resolvedSize,ex=eE.sizePhase,eK=eE.updateContainerSize,eB=[new globalThis.Error,-6,-27],(eD=function(A){var e=A.nativeEvent.layout.width,t=A.nativeEvent.layout.height,a=Math.round((eM?t:e)||0);if(!ew&&a>0){var n,i=null!=(n=eG.value)?n:0;Math.abs(i-a)>0&&(ex.value=i>0?"updating":ex.value,eG.value=a,ex.value="ready")}eK({width:e,height:t})}).__closure={isVertical:eM,sizeExplicit:ew,resolvedSize:eG,sizePhase:ex,updateContainerSize:eK},eD.__workletHash=0x343dfe76965,eD.__pluginVersion="0.5.2",eD.__initData=eS,eD.__stackDetails=eB,eD),[eq,eY,eN,e6,eH]);return(0,eJ.jsx)(tP.Sl,{gesture:td,children:(0,eJ.jsx)(ef.default.View,{testID:eZ,style:void 0===e1?{}:e1,onTouchStart:e5,onTouchEnd:e7,onTouchCancel:e7,onLayout:t_,children:A.children})})},at=["opacity","transform"],aa=(eA={code:'function resolveCarouselLayoutStyle_CarouselLayoutTsx1(params){const{flattenedStyle:flattenedStyle,isVertical:isVertical,measuredSize:measuredSize,sizeExplicit:sizeExplicit}=params;const{width:width,height:height}=flattenedStyle;const resolvedMainAxisSize=measuredSize||"100%";return{width:width!==null&&width!==void 0?width:isVertical?"100%":sizeExplicit?resolvedMainAxisSize:"100%",height:height!==null&&height!==void 0?height:isVertical?sizeExplicit?resolvedMainAxisSize:"100%":"100%"};}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx",sourceMap:'{"version":3,"names":["resolveCarouselLayoutStyle_CarouselLayoutTsx1","params","flattenedStyle","isVertical","measuredSize","sizeExplicit","
1width","height","resolvedMainAxisSize"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx"],"mappings":"AAaO,SAAAA,6CAKJA,CAAAC,MAAA,EAGD,KAAM,CAAEC,cAAc,CAAdA,cAAc,CAAEC,UAAU,CAAVA,UAAU,CAAEC,YAAY,CAAZA,YAAY,CAAEC,YAAA,CAAAA,YAAa,CAAC,CAAGJ,MAAM,CACzE,KAAM,CAAEK,KAAK,CAALA,KAAK,CAAEC,MAAA,CAAAA,MAAO,CAAC,CAAGL,cAAc,CACxC,KAAM,CAAAM,oBAAoB,CAAGJ,YAAY,EAAI,MAAM,CAEnD,MAAO,CACLE,KAAK,CAAEA,KAAK,SAALA,KAAK,UAALA,KAAK,CAAKH,UAAU,CAAG,MAAM,CAAGE,YAAY,CAAGG,oBAAoB,CAAG,MAAO,CACpFD,MAAM,CAAEA,MAAM,SAANA,MAAM,UAANA,MAAM,CAAKJ,UAAU,CAAIE,YAAY,CAAGG,oBAAoB,CAAG,MAAM,CAAI,MACnF,CAAC,CACH","ignoreList":[]}'},ee=[new globalThis.Error,1,-27],(et=function(A){var e=A.flattenedStyle,t=A.isVertical,a=A.measuredSize,n=A.sizeExplicit,i=e.width,r=e.height,C=a||"100%";return{width:null!=i?i:t?"100%":n?C:"100%",height:null!=r?r:t&&n?C:"100%"}}).__closure={},et.__workletHash=0x6740af550ee,et.__pluginVersion="0.5.2",et.__initData=eA,et.__stackDetails=ee,et),an={code:'function CarouselLayoutTsx2(){const{resolvedSize,sizePhase}=this.__closure;var _resolvedSize$value;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;return sizePhase.value==="ready"&&currentSize>0;}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx",sourceMap:'{"version":3,"names":["CarouselLayoutTsx2","resolvedSize","sizePhase","__closure","_resolvedSize$value","currentSize","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx"],"mappings":"AAoEsC,SAAAA,kBAAMA,CAAA,QAAAC,YAAA,CAAAC,SAAA,OAAAC,SAAA,KAAAC,mBAAA,CACxC,KAAM,CAAAC,WAAW,EAAAD,mBAAA,CAAGH,YAAY,CAACK,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,MAAO,CAAAF,SAAS,CAACI,KAAK,GAAK,OAAO,EAAID,WAAW,CAAG,CAAC,CACvD","ignoreList":[]}'},ai={code:"function CarouselLayoutTsx3(){const{resolvedSize,dataLength,handlerOffset,loop}=this.__closure;var _resolvedSize$value;const currentSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;if(currentSize<=0)return 0;const totalSize=currentSize*dataLength;const value=handlerOffset.value;if(!loop||totalSize===0){return value;}const x=value%totalSize;return Number.isNaN(x)?0:x;}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx",sourceMap:'{"version":3,"names":["CarouselLayoutTsx3","resolvedSize","dataLength","handlerOffset","loop","__closure","_resolvedSize$value","currentSize","value","totalSize","x","Number","isNaN"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx"],"mappings":"AAyEkC,SAAAA,kBAAMA,CAAA,QAAAC,YAAA,CAAAC,UAAA,CAAAC,aAAA,CAAAC,IAAA,OAAAC,SAAA,KAAAC,mBAAA,CACpC,KAAM,CAAAC,WAAW,EAAAD,mBAAA,CAAGL,YAAY,CAACO,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC3C,GAAIC,WAAW,EAAI,CAAC,CAAE,MAAO,EAAC,CAE9B,KAAM,CAAAE,SAAS,CAAGF,WAAW,CAAGL,UAAU,CAC1C,KAAM,CAAAM,KAAK,CAAGL,aAAa,CAACK,KAAK,CACjC,GAAI,CAACJ,IAAI,EAAIK,SAAS,GAAK,CAAC,CAAE,CAC5B,MAAO,CAAAD,KAAK,CACd,CAEA,KAAM,CAAAE,CAAC,CAAGF,KAAK,CAAGC,SAAS,CAC3B,MAAO,CAAAE,MAAM,CAACC,KAAK,CAACF,CAAC,CAAC,CAAG,CAAC,CAAGA,CAAC,CAChC","ignoreList":[]}'},ar={code:"function CarouselLayoutTsx4(){const{isSizeReady}=this.__closure;return{ready:isSizeReady.value};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx",sourceMap:'{"version":3,"names":["CarouselLayoutTsx4","isSizeReady","__closure","ready","value"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx"],"mappings":"AAiII,SAAAA,mBAAA,QAAAC,WAAA,OAAAC,SAAA,OAAO,CAAEC,KAAK,CAAEF,WAAW,CAACG,KAAM,CAAC","ignoreList":[]}'},aC={code:"function CarouselLayoutTsx5(state,previous){const{autoplay,scheduleOnRN,triggerAutoPlay,pauseAutoPlay}=this.__closure;if(!autoplay)return;if(state.ready===(previous===null||previous===void 0?void 0:previous.ready))return;if(state.ready)scheduleOnRN(triggerAutoPlay);else scheduleOnRN(pauseAutoPlay);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Carou
1selLayout.tsx",sourceMap:'{"version":3,"names":["CarouselLayoutTsx5","state","previous","autoplay","scheduleOnRN","triggerAutoPlay","pauseAutoPlay","__closure","ready"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx"],"mappings":"AAkII,QAAC,CAAAA,kBAAeA,CAAKC,KAAA,CAAAC,QAAA,QAAAC,QAAA,CAAAC,YAAA,CAAAC,eAAA,CAAAC,aAAA,OAAAC,SAAA,CACnB,GAAI,CAACJ,QAAQ,CAAE,OACf,GAAIF,KAAK,CAACO,KAAK,IAAKN,QAAQ,SAARA,QAAQ,iBAARA,QAAQ,CAAEM,KAAK,EAAE,OAErC,GAAIP,KAAK,CAACO,KAAK,CAAEJ,YAAY,CAACC,eAAe,CAAC,CAAC,IAC1C,CAAAD,YAAY,CAACE,aAAa,CAAC,CAClC","ignoreList":[]}'},ao={code:"function CarouselLayoutTsx6(){const{resolvedSize,resolveCarouselLayoutStyle,flattenedStyle,isVertical,sizeExplicit,isSizeReady}=this.__closure;var _resolvedSize$value;const measuredSize=(_resolvedSize$value=resolvedSize.value)!==null&&_resolvedSize$value!==void 0?_resolvedSize$value:0;const{width:width,height:height}=resolveCarouselLayoutStyle({flattenedStyle:flattenedStyle,isVertical:isVertical,measuredSize:measuredSize,sizeExplicit:sizeExplicit});return{width:width,height:height,opacity:isSizeReady.value?1:0};}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx",sourceMap:'{"version":3,"names":["CarouselLayoutTsx6","resolvedSize","resolveCarouselLayoutStyle","flattenedStyle","isVertical","sizeExplicit","isSizeReady","__closure","_resolvedSize$value","measuredSize","value","width","height","opacity"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/CarouselLayout.tsx"],"mappings":"AAgKuC,SAAAA,kBAAMA,CAAA,QAAAC,YAAA,CAAAC,0BAAA,CAAAC,cAAA,CAAAC,UAAA,CAAAC,YAAA,CAAAC,WAAA,OAAAC,SAAA,KAAAC,mBAAA,CACzC,KAAM,CAAAC,YAAY,EAAAD,mBAAA,CAAGP,YAAY,CAACS,KAAK,UAAAF,mBAAA,UAAAA,mBAAA,CAAI,CAAC,CAC5C,KAAM,CAAEG,KAAK,CAALA,KAAK,CAAEC,MAAA,CAAAA,MAAO,CAAC,CAAGV,0BAA0B,CAAC,CACnDC,cAAc,CAAdA,cAAc,CACdC,UAAU,CAAVA,UAAU,CACVK,YAAY,CAAZA,YAAY,CACZJ,YAAA,CAAAA,YACF,CAAC,CAAC,CAEF,MAAO,CACLM,KAAK,CAALA,KAAK,CACLC,MAAM,CAANA,MAAM,CACNC,OAAO,CAAEP,WAAW,CAACI,KAAK,CAAG,CAAC,CAAG,CACnC,CAAC,CACH","ignoreList":[]}'},as=eh.forwardRef(function(A,e){var t,a,n,i,r,C,o,s,l,c,u,d,_,m,v,g,h,p,E,S,f,I,M,w,G,x,K,B,D,O,z,k,y,b,L,T,U,P,Q,W,V,F,R,Y,N,H,j,J,X,q,$,Z,AA,Ae,At,Aa,An,Ai,Ar,AC,Ao,As,Al,Ac,Au,Ad,A_,Am,Av,Ag,Ah,Ap,AE,AS,Af,AI,AM,Aw,AG,Ax,AK,AB,AD,AO,Az,Ak,Ay,Ab,AL,AT,AU,AP,AQ,AW,AV,AF,AR,AY,AN,AH,Aj,AJ,AX,Aq,A$,AZ,A0,A1,A2,A3,A5,A7,A6,A8,A9,A4,eA,ee,et,ea,en,ei,er,eC,eo,es,el,ec,eu,ed,e_,em,ev,eg,ep,eE,eG,eB,eO,ez,ek,ey,eb,eL,eT,eU,eP,eQ,eW,eV,eF,eR,eY,eN,eH,ej,eX,eq,e$,eZ,e1,e5,e7,e6,e8,tC,to,ts,tl,tc,tu,td,tE,tS,tf,tI,tM,tw,tG,tx,tK,tB,tD,tO,tz,tk,ty,tb,tL,tT,tP,tQ,tW,tV,tF,tR=e0(),tY=tR.props,tN=tR.common,tH=tY.testID,tj=tY.loop,tJ=tY.autoFillData,tX=tY.data,tq=tY.rawData,t$=tY.dataLength,tZ=tY.rawDataLength,t0=tY.layout,t1=tY.style,t2=tY.contentContainerStyle,t3=tY.orientation,t5=tY.autoplay,t7=tY.renderWindowSize,t6=tY.autoplayDirection,t8=tY.autoplayInterval,t9=tY.animation,t4=tY.renderItem,aA=tY.onSnapToItem,as=tY.onScrollStart,ac=tY.onProgressChange,au=tY.progress,ad=tY.itemAnimation,a_=tY.defaultIndex,am=tY.keyExtractor,av="vertical"===t3,ag=tN.size,ah=tN.handlerOffset,ap=tN.resolvedSize,aE=tN.sizePhase,aS=tN.sizeExplicit,af=(a=(t=Object.assign({},tY,{size:ag})).dataLength,n=t.directionSign,i=t.layout,r=t.orientation,C=t.size,o="vertical"===r,eh.useMemo(function(){var A,e,t={size:C,isVertical:o,directionSign:n};switch(null==i?void 0:i.type){case"parallax":return tm(t,i);case"horizontal-stack":return tv(Object.assign({},i,{visibleCount:null!=(A=i.visibleCount)?A:Math.max(0,a-1)}),n);case"vertical-stack":return tg(Object.assign({},i,{visibleCount:null!=(e=i.visibleCount)?e:Math.max(0,a-1)}));default:return t_(t)}},[a,n,o,i,C])),aI=(0,ef.useDerivedValue)((l=(s={_worklet_10669107750071_init_data:an,resolvedSize:ap,sizePhase:aE})._worklet_10669107750071_init_data,c=s.resolvedSize,u=s.sizePhase,d=[new globalThis.Error,-3,-27],(_=function(){var A,e=null!=(A=c.value)?A:0;return"ready"===u.value&&e>0}).__closure={resolvedSize:c,sizePhase:u},_.__workletHash=0x9b41860a4b7,_.__pluginVersion="0.5.2",_.__initData=l,_.__stackDetail
1s=d,_),[ap,aE]),aM=(0,ef.useDerivedValue)((v=(m={_worklet_4752441846675_init_data:ai,resolvedSize:ap,dataLength:t$,handlerOffset:ah,loop:tj})._worklet_4752441846675_init_data,g=m.resolvedSize,h=m.dataLength,p=m.handlerOffset,E=m.loop,S=[new globalThis.Error,-5,-27],(f=function(){var A,e=null!=(A=g.value)?A:0;if(e<=0)return 0;var t=e*h,a=p.value;if(!E||0===t)return a;var n=a%t;return Number.isNaN(n)?0:n}).__closure={resolvedSize:g,dataLength:h,handlerOffset:p,loop:E},f.__workletHash=0x452839bab93,f.__pluginVersion="0.5.2",f.__initData=v,f.__stackDetails=S,f),[tj,t$,ah,ap]);M=(I={loop:tj,offset:ah,progress:au,size:ag,sizeReady:aI,rawDataLength:tZ,onProgressChange:ac}).loop,w=I.offset,G=I.onProgressChange,x=I.progress,K=I.rawDataLength,B=I.size,D=I.sizeReady,(0,ef.useAnimatedReaction)((z=(O={_worklet_9412223421859_init_data:th,sizeReady:D,size:B,rawDataLength:K,getLogicalProgress:ew,offset:w,loop:M})._worklet_9412223421859_init_data,k=O.sizeReady,y=O.size,b=O.rawDataLength,L=O.getLogicalProgress,T=O.offset,U=O.loop,P=[new globalThis.Error,-7,-27],(Q=function(){if(!k.value||y<=0||b<=0)return null;var A=L(T.value,y);return U?A:Math.max(0,Math.min(b-1,A))}).__closure={sizeReady:k,size:y,rawDataLength:b,getLogicalProgress:L,offset:T,loop:U},Q.__workletHash=0x88f743bcda3,Q.__pluginVersion="0.5.2",Q.__initData=z,Q.__stackDetails=P,Q),(V=(W={_worklet_9442973889124_init_data:tp,progress:x,onProgressChange:G,scheduleOnRN:eI.scheduleOnRN})._worklet_9442973889124_init_data,F=W.progress,R=W.onProgressChange,Y=W.scheduleOnRN,N=[new globalThis.Error,-4,-27],(H=function(A){null!=A&&(F&&(F.value=A),R&&Y(
1R,A))}).__closure={progress:F,onProgressChange:R,scheduleOnRN:Y},H.__workletHash=0x8969d1ab264,H.__pluginVersion="0.5.2",H.__initData=V,H.__stackDetails=N,H),[M,w,G,x,K,B,D]);var aw=eh.useCallback(function(A){aA&&aA(A)},[aA]),aG=(J=(j={ref:e,loop:tj,size:ag,dataLength:t$,rawDataLength:tZ,handlerOffset:ah,animation:t9,defaultIndex:a_,onMovementEnd:aw,onScrollStart:as}).animation,X=j.dataLength,$=void 0===(q=j.defaultIndex)?0:q,Z=j.handlerOffset,AA=j.loop,Ae=j.rawDataLength,At=j.ref,Aa=j.size,Ai=(An=e0().common).cancelMovement,Ar=An.dataRevision,AC=An.isMoving,Ao=An.resolvedSize,As=An.settleMovement,Al=An.sizePhase,Ac=An.startMovement,Au=(0,ef.useSharedValue)($),Ad=(0,eh.useRef)(Ae>0?$:0),A_=(0,eh.useRef)(Ae>0?$:0),(0,eh.useRef)(new Set),Am=Ae>1,Av=eh.useCallback(function(A,e){},[]),Ag=eh.useCallback(function(){if(Aa<=0||Ae<=0)return 0;var A=ex(Z.value,Aa);return AA?A:Math.max(0,Math.min(Ae-1,A))},[Z,AA,Ae,Aa]),(0,ef.useAnimatedReaction)((Ap=(Ah={_worklet_14869541529224_init_data:e4,size:Aa,dataLength:X,rawDataLength:Ae,getNearestLogicalPage:ex,handlerOffset:Z,positiveModulo:eM})._worklet_14869541529224_init_data,AE=Ah.size,AS=Ah.dataLength,Af=Ah.rawDataLength,AI=Ah.getNearestLogicalPage,AM=Ah.handlerOffset,Aw=Ah.positiveModulo,AG=[new globalThis.Error,-7,-27],(Ax=function(){if(AE<=0||AS<=0||Af<=0)return{physicalIndex:0,rawIndex:0};var A=AI(AM.value,AE);return{physicalIndex:Aw(A,AS),rawIndex:Aw(A,Af)}}).__closure={size:AE,dataLength:AS,rawDataLength:Af,getNearestLogicalPage:AI,handlerOffset:AM,positiveModulo:Aw},Ax.__workletHash=0xd8615bda688,Ax.__pluginVersion="0.5.2",Ax.__initData=Ap,Ax.__stackDetails=AG,Ax),(AB=(AK={_worklet_4281016613010_init_data:tA,index:Au,scheduleOnRN:eI.scheduleOnRN,setLiveRawIndex:function(A){Ad.current=A}})._worklet_4281016613010_init_data,AD=AK.index,AO=AK.scheduleOnRN,Az=AK.setLiveRawIndex,Ak=[new globalThis.Error,-4,-27],(Ay=function(A){var e=A.physicalIndex,t=A.rawIndex;AD.value=e,AO(Az,t)}).__closure={index:AD,scheduleOnRN:AO,setLiveRawIndex:Az},Ay.__workletHash=0x3e4c0797892,Ay.__pluginVersion="0.5.2",Ay.__initData=AB,Ay.__stackDetails=Ak,Ay),[X,Z,Au,Ae,Aa]),Ab=eh.useCallback(function(A){As();var e="number"==typeof A&&Ae>0?eM(Math.round(A),Ae):eK(AA?ew(Z.value,Aa):Math.max(0,Math.min(Ae-1,ew(Z.value,Aa))),Ae);return A_.current=e,e},[Z,AA,Ae,As,Aa]),AL=eh.useCallback(function(){return A_.current},[]),AT=eh.useCallback(function(){return Ad.current},[]),AU=eh.useCallback(function(){return Ac()},[Ac]),AP=eh.useCallback(function(){return Ai()},[Ai]),eh.useEffect(function(){AC.value||Ab()},[Ar,AC,Ae,Ab]),AQ=eh.useCallback(function(){var A,e=null!=(A=Ao.value)?A:Aa;return"ready"===Al.value&&e>0},[Ao,Aa,Al]),AW=eh.useCallback(function(){AU(),null==j.onScrollStart||j.onScrollStart()},[j,AU]),AV=eh.useCallback(function(A){var e=Ab(A);null==j.onMovementEnd||j.onMovementEnd(e)},[j,Ab]),AZ=eh.useCallback((AR=(AF={_worklet_7811707638022_init_data:tt,dealWithAnimation:e9,animation:J,_worklet_15360756373159_init_data:te,scheduleOnRN:eI.scheduleOnRN,emitSettle:AV,cancelMovement:AP})._worklet_7811707638022_init_data,AY=AF.dealWithAnimation,AN=AF.animation,AH=AF._worklet_15360756373159_init_data,Aj=AF.scheduleOnRN,AJ=AF.emitSettle,AX=AF.cancelMovement,Aq=[new globalThis.Error,-7,-27],(A$=function(A,e,t){var a,n,i,r,C,o,s,l,c;return AY(AN)(A,(n=(a={_worklet_15360756373159_init_data:AH,scheduleOnRN:Aj,emitSettle:AJ,targetIndex:e,onFinished:t,cancelMovement:AX})._worklet_15360756373159_init_data,i=a.scheduleOnRN,r=a.emitSettle,C=a.targetIndex,o=a.onFinished,s=a.cancelMovement,l=[new globalThis.Error,-6,-27],(c=function(A){A?(i(r,C),o&&i(o)):i(s)}).__closure={scheduleOnRN:i,emitSettle:r,targetIndex:C,onFinished:o,cancelMovement:s},c.__workletHash=0xdf8746d56a7,c.__pluginVersion="0.5.2",c.__initData=n,c.__stackDetails=l,c))}).__closure={dealWithAnimation:AY,animation:AN,_worklet_15360756373159_init_data:AH,scheduleOnRN:Aj,emitSettle:AJ,cancelMovement:AX},A$.__workletHash=0x71ace0f1106,A$.__pluginVersion="0.5.2",A$.__initData=AR,A$.__stackDetails=Aq,A$),[J,AP,AV]),ea=eh.useCallback((A1=(A0={_worklet_2315234374038_init_data:ta,positiveModulo:eM,rawDataLength:Ae,emitStart:AW,index:Au,dataLength:X,size:Aa,handlerOffset:Z,animateTo:AZ,emitSettle:AV})._worklet_2315234374038_init_data,A2=A0.positiveModulo,A3=A0.rawDataLength,A5=A0.emitStart,A7=A0.index,A6=A0.dataLength,A8=A0.size,A9=A0.handlerOffset,A4=A0.animateTo,eA=A0.emitSettle,ee=[new globalThis.Error,-10,-27],(et=function(A,e,t){var a=A2(A,A3);A5(),A7.value=A2(A,Math.max(A6,1));var n=-A*A8;
1e?A9.value=A4(n,a,t):(A9.value=n,eA(a),null==t||t())}).__closure={positiveModulo:A2,rawDataLength:A3,emitStart:A5,index:A7,dataLength:A6,size:A8,handlerOffset:A9,animateTo:A4,emitSettle:eA},et.__workletHash=0x21b0eb8f196,et.__pluginVersion="0.5.2",et.__initData=A1,et.__stackDetails=ee,et),[AZ,X,AV,AW,Z,Au,Ae,Aa]),en=eh.useCallback(function(A,e){return 0!==e&&(!!Number.isInteger(e)&&e>0||(Av("".concat(A,":count"),"".concat(A," count must be a positive integer; received ").concat(String(e),".")),!1))},[Av]),ev=eh.useCallback((er=(ei={_worklet_11808905894_init_data:tn,canMove:Am,isReady:AQ,validateCount:en,currentVisualPage:Ag,loop:AA,rawDataLength:Ae,moveToPage:ea})._worklet_11808905894_init_data,eC=ei.canMove,eo=ei.isReady,es=ei.validateCount,el=ei.currentVisualPage,ec=ei.loop,eu=ei.rawDataLength,ed=ei.moveToPage,e_=[new globalThis.Error,-8,-27],(em=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=A.animated,t=A.count,a=void 0===t?1:t,n=A.onFinished;if(eC&&eo()&&es("next",a)){var i=el(),r=ec?i+a:Math.min(eu-1,i+a);r!==i&&ed(r,void 0===e||e,n)}}).__closure={canMove:eC,isReady:eo,validateCount:es,currentVisualPage:el,loop:ec,rawDataLength:eu,moveToPage:ed},em.__workletHash=0x2bfdd9aa6,em.__pluginVersion="0.5.2",em.__initData=er,em.__stackDetails=e_,em),[Am,Ag,AQ,AA,ea,Ae,en]),eL=eh.useCallback((ep=(eg={_worklet_6253845107215_init_data:ti,canMove:Am,isReady:AQ,validateCount:en,currentVisualPage:Ag,loop:AA,moveToPage:ea})._worklet_6253845107215_init_data,eE=eg.canMove,eG=eg.isReady,eB=eg.validateCount,eO=eg.currentVisualPage,ez=eg.loop,ek=eg.moveToPage,ey=[new globalThis.Error,-7,-27],(eb=function(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=A.animated,t=A.count,a=void 0===t?1:t,n=A.onFinished;if(eE&&eG()&&eB("prev",a)){var i=eO(),r=ez?i-a:Math.max(0,i-a);r!==i&&ek(r,void 0===e||e,n)}}).__closure={canMove:eE,isReady:eG,validateCount:eB,currentVisualPage:eO,loop:ez,moveToPage:ek},eb.__workletHash=0x5b01637520f,eb.__pluginVersion="0.5.2",eb.__initData=ep,eb.__stackDetails=ey,eb),[Am,Ag,AQ,AA,ea,en]),eq=eh.useCallback((eU=(eT={_worklet_13134117170072_init_data:tr,canMove:Am,isReady:AQ,rawDataLength:Ae,warnOnce:Av,currentVisualPage:Ag,positiveModulo:eM,loop:AA,getShortestLoopTargetPage:eD,moveToPage:ea})._worklet_13134117170072_init_data,eP=eT.canMove,eQ=eT.isReady,eW=eT.rawDataLength,eV=eT.warnOnce,eF=eT.currentVisualPage,eR=eT.positiveModulo,eY=eT.loop,eN=eT.getShortestLoopTargetPage,eH=eT.moveToPage,ej=[new globalThis.Error,-10,-27],(eX=function(A){var e=A.animated,t=A.index,a=A.onFinished;if(eP&&eQ()){if(!Number.isInteger(t)||t<0||t>=eW)return void eV("scrollTo:index","scrollTo index must be an integer between 0 and ".concat(eW-1,"; received ").concat(String(t),"."));var n=eF();eR(n,eW)!==t&&eH(eY?eN({currentPage:n,targetIndex:t,count:eW}):t,void 0===e||e,a)}}).__closure={canMove:eP,isReady:eQ,rawDataLength:eW,warnOnce:eV,currentVisualPage:eF,positiveModulo:eR,loop:eY,getShortestLoopTargetPage:eN,moveToPage:eH},eX.__workletHash=0xbf206636b98,eX.__pluginVersion="0.5.2",eX.__initData=eU,eX.__stackDetails=ej,eX),[Am,Ag,AQ,AA,ea,Ae,Av]),eh.useImperativeHandle(At,function(){return{next:ev,prev:eL,getCurrentIndex:AL,scrollTo:eq}},[AL,ev,eL,eq]),{next:ev,prev:eL,scrollTo:eq,getCurrentIndex:AL,getSharedIndex:AT,index:Au,startMovement:AU,cancelMovement:AP,settle:Ab}),ax=(e1=void 0!==(eZ=(e$={autoplay:t5,autoplayDirection:t6,autoplayInterval:t8,carouselController:aG}).autoplay)&&eZ,e7=void 0===(e5=e$.autoplayDirection)?"forward":e5,e6=e$.autoplayInterval,tC=(e8=e$.carouselController).prev,to=e8.next,ts=eh.useRef(null),tl=eh.useRef(!e1),tc=eh.useCallback(function(){tl.current||(ts.current&&(clearTimeout(ts.current),ts.current=null),ts.current=setTimeout(function(){"backward"===e7?tC({onFinished:tc}):to({onFinished:tc})},e6))},[e7,e6,to,tC]),tu=eh.useCallback(function(){e1&&(ts.current&&(clearTimeout(ts.current),ts.current=null),tl.current=!0)},[e1]),td=eh.useCallback(function(){e1&&(tl.current=!1,tc())},[e1,tc]),eh.useEffect(function(){return e1?td():tu(),tu},[e1,tu,td]),{pause:tu,start:td,trigger:tc}),aK=ax.start,aB=ax.pause,aD=ax.trigger;(0,ef.useAnimatedReaction)((tS=(tE={_worklet_11542262309628_init_data:ar,isSizeReady:aI})._worklet_11542262309628_init_data,tf=tE.isSizeReady,tI=[new globalThis.Error,-2,-27],(tM=function(){return{ready:tf.value}}).__closure={isSizeReady:tf},tM.__workletHash=0xa7f6471e2fc,tM.__pluginVersion="0.5.2",tM.__initData=tS,tM.__stackDetail
1s=tI,tM),(tG=(tw={_worklet_12793803422950_init_data:aC,autoplay:t5,scheduleOnRN:eI.scheduleOnRN,triggerAutoPlay:aD,pauseAutoPlay:aB})._worklet_12793803422950_init_data,tx=tw.autoplay,tK=tw.scheduleOnRN,tB=tw.triggerAutoPlay,tD=tw.pauseAutoPlay,tO=[new globalThis.Error,-5,-27],(tz=function(A,e){tx&&A.ready!==(null==e?void 0:e.ready)&&(A.ready?tK(tB):tK(tD))}).__closure={autoplay:tx,scheduleOnRN:tK,triggerAutoPlay:tB,pauseAutoPlay:tD},tz.__workletHash=0xba2ca1bbce6,tz.__pluginVersion="0.5.2",tz.__initData=tG,tz.__stackDetails=tO,tz),[t5]);var aO=eh.useCallback(function(){aG.startMovement(),aB(),null==as||as()},[aG,as,aB]),az=eh.useCallback(function(){var A=aG.settle();aK(),aw(A)},[aw,aG,aK]),ak=eh.useCallback(aB,[aB]),ay=eh.useCallback(aK,[aK]),ab=eS.A.flatten(t2)||{},aL=(ab.opacity,ab.transform,e2(ab,at)),aT=eS.A.flatten(t1)||{},aU=(0,ef.useAnimatedStyle)((ty=(tk={_worklet_12755254666556_init_data:ao,resolvedSize:ap,resolveCarouselLayoutStyle:aa,flattenedStyle:aT,isVertical:av,sizeExplicit:aS,isSizeReady:aI})._worklet_12755254666556_init_data,tb=tk.resolvedSize,tL=tk.resolveCarouselLayoutStyle,tT=tk.flattenedStyle,tP=tk.isVertical,tQ=tk.sizeExplicit,tW=tk.isSizeReady,tV=[new globalThis.Error,-7,-27],(tF=function(){var A,e=tL({flattenedStyle:tT,isVertical:tP,measuredSize:null!=(A=tb.value)?A:0,sizeExplicit:tQ});return{width:e.width,height:e.height,opacity:+!!tW.value}}).__closure={resolvedSize:tb,resolveCarouselLayoutStyle:tL,flattenedStyle:tT,isVertical:tP,sizeExplicit:tQ,isSizeReady:tW},tF.__workletHash=0xb99d06c653c,tF.__pluginVersion="0.5.2",tF.__initData=ty,tF.__stackDetails=tV,tF),[aT,aI,av,ap,aE,aS]);return(0,eJ.jsx)(e3.A,{testID:tH,style:[al.layoutContainer,t1],onLayout:tY.onLayout,children:(0,eJ.jsx)(ae,{size:ag,translation:ah,style:[al.contentContainer,aU,aL,av?al.itemsVertical:al.itemsHorizontal],testID:"carousel-content-container",onScrollStart:aO,onScrollEnd:az,onTouchBegin:ak,onTouchEnd:ay,children:(0,eJ.jsx)(tU,{data:tX,rawData:tq,dataLength:t$,rawDataLength:tZ,loop:tj,size:ag,renderWindowSize:t7,defaultIndex:a_,autoFillData:tJ,offsetX:aM,handlerOffset:ah,layoutConfig:af,renderItem:t4,itemAnimation:ad,keyExtractor:am})},null==t0?void 0:t0.type)})}),al=eS.A.create({layoutContainer:{display:"flex",overflow:"hidden"},contentContainer:{overflow:"hidden"},itemsHorizontal:{flexDirection:"row"},itemsVertical:{flexDirection:"column"}}),ac=eh.forwardRef(function(A,e){var t,a,n,i,r,C,o,s,l,c,u,d,_,m,v,g,h,p,E,S,f,I,M,w,G,x,K,B,D,O,z,k,y,b,L,T,U,P,Q,W,V,F,R,Y,N,H,j,J,X,q,$,Z,AA,Ae,At,Aa,An,Ai,Ar,AC,Ao,As,Al,Ac=function(A){var e=A;if(e.layout&&e.itemAnimation)throw Error("[react-native-reanimated-carousel] `layout` and `itemAnimation` are mutually exclusive.");if(void 0!==e.itemSize&&(!Number.isFinite(e.itemSize)||e.itemSize<=0))throw Error("[react-native-reanimated-carousel] itemSize must be a positive number.");if(void 0!==e.autoplayInterval&&(!Number.isFinite(e.autoplayInterval)||e.autoplayInterval<0))throw Error("[react-native-reanimated-carousel] auto
1playInterval must be a non-negative number.");if(void 0!==e.renderWindowSize&&(!Number.isInteger(e.renderWindowSize)||e.renderWindowSize<=0))throw Error("[react-native-reanimated-carousel] renderWindowSize must be a positive integer.");var t,a,n,i,r,C,o,s,l,c,u,d,_=null!=(t=A.data)?t:[],m=null!=(a=A.defaultIndex)?a:0,v=null!=(n=A.loop)&&n,g=null!=(i=A.autoplay)&&i,h=null!=(r=A.autoplayInterval)?r:3e3,p=null!=(C=A.autoplayDirection)?C:"forward",E=null!=(o=A.orientation)?o:"horizontal",S=eQ({isRTL:eT.A.isRTL,orientation:E}),f=null==(s=A.scrollEnabled)||s,I=null!=(l=A.snapMode)?l:"page",M=null==(c=A.overscrollEnabled)||c,w=null!=(u=A.style)?u:{},G=null!=(d=A.animation)?d:{type:"timing",duration:500,easing:eP.easeOutQuart},x=eh.useRef(null);if(x.current){if(!x.current.consumed&&_.length>0){var K=x.current.requested;x.current.consumed=!0,eH(K,_.length)?x.current.resolved=K:x.current.resolved=0}}else _.length>0&&function(A,e){if(!eH(A,e))throw Error("[react-native-reanimated-carousel] defaultIndex must be an integer between 0 and ".concat(e-1,"."))}(m,_.length),x.current={consumed:_.length>0,requested:m,resolved:_.length>0?m:0,warned:!1};var B=x.current.resolved,D=eh.useMemo(function(){return function(A){var e=A.data,t=A.loop,a=A.autoFillData,n=A.dataLength;if(eN({loop:t,autoFillData:a}))switch(n){case eR:return[e[0],e[0],e[0]];case eY:return[e[0],e[1],e[0],e[1]]}return e}({loop:v,autoFillData:!0,data:_,dataLength:_.length})},[v,_]);return Object.assign({},A,{autoplay:g,autoplayDirection:p,autoplayInterval:h,defaultIndex:B,loop:v,orientation:E,overscrollEnabled:M,scrollEnabled:f,snapMode:I,style:w,animation:G,data:D,rawData:_,dataLength:D.length,rawDataLength:_.length,autoFillData:!0,directionSign:S})}(A),Au=Ac.dataLength,Ad=(a=Ac.orientation,n=Ac.style,i=Ac.dataLength,r=Ac.defaultIndex,C=Ac.keyExtractor,o=Ac.loop,s=Ac.itemSize,l=Ac.rawData,c=Ac.rawDataLength,u="vertical"===a,d=eh.useMemo(function(){if("number"==typeof s&&s>0)return s;var A=eS.A.flatten(n)||{},e=A.width,t=A.height,a=u?t:e;return"number"==typeof a&&a>0?a:null},[u,s,n]),_=(0,ef.useSharedValue)(d),m=(0,ef.useSharedValue)(d?"ready":"pending"),v=d&&i>0?-Math.abs(r*d):0,g=(0,ef.useSharedValue)(v),h=null!=(t=Ac.scrollOffsetValue)?t:g,p=(0,ef.useSharedValue)(c),E=eh.useRef(l),S=eh.useRef(C),f=(0,ef.useSharedValue)(!1),I=(0,ef.useSharedValue)(null),M=(0,ef.useSharedValue)(0),w=(0,ef.useSharedValue)(!1),G="number"==typeof s&&s>0,K=(x=eE(eh.useState(null!=d?d:0),2))[0],B=x[1],O=(D=eE(eh.useState(0),2))[0],z=D[1],k=eh.useCallback(function(A){B(function(e){return e===A?e:A})},[]),(0,ef.useAnimatedReaction)((b=(y={_worklet_15819148896679_init_data:ek,resolvedSize:_})._worklet_15819148896679_init_data,L=y.resolvedSize,T=[new globalThis.Error,-2,-27],(U=function(){return L.value}).__closure={resolvedSize:L},U.__workletHash=0xe632ec029a7,U.__pluginVersion="0.5.2",U.__initData=b,U.__stackDetails=T,U),(Q=(P={_worklet_10513022819571_init_data:ey,scheduleOnRN:eI.scheduleOnRN,syncSize:k})._worklet_10513022819571_init_data,W=P.scheduleOnRN,V=P.syncSize,F=[new globalThis.Error,-3,-27],(R=function(A,e){null==A||A<=0||A!==e&&W(V,A)}).__closure={scheduleOnRN:W,syncSize:V},R.__workletHash=0x98fc0fd9cf3,R.__pluginVersion="0.5.2",R.__initData=Q,R.__stackDetails=F,R),[k]),eh.useEffect(function(){d&&d>0&&(_.value=d,m.value="ready")},[d,_,m]),eh.useEffect(function(){var A,e=null!=(A=_.value)?A:0;e<=0||i<=0||w.value||(h.value=-(r*e),M.value=e,w.value=!0)},[i,r,h,w,M,_]),Y=eh.useCallback(function(A,e,t){var a,n=null!=(a=_.value)?a:0;n<=0||(h.value=eO({offset:h.value,itemSize:n,previousCount:A,nextCount:e,defaultIndex:r,loop:o,retainedIndex:t}),z(function(A){return A+1}))},[r,h,o,_]),N=eh.useCallback(function(){f.value=!0},[f]),H=eh.useCallback(function(){f.value=!1;var A,e=I.value;e&&(I.value=null,Y(e.previousLength,e.currentLength,null!=(A=e.retainedIndex)?A:void 0))},[f,I,Y]),eh.useEffect(function(){var A,e,t=p.value,a=E.current,n=t!==c||a.length!==l.length||a.some(function(A,e){return!Object.is(A,l[e])});E.current=l;var i=null!=(r=S.current)?r:C;if(S.current=C,n){if(C&&i&&t>0&&c>0){var r,o,s,u,d=null!=(s=_.value)?s:0,m=null==(u=I.value)?void 0:u.retainedIndex,v="number"==typeof m?m:eM(ex(h.value,d),t);
1if(v<a.length){var g=i(a[v],v),M=l.findIndex(function(A,e){return C(A,e)===g});M>=0&&(o=M)}}if(p.value=c,f.value){I.value={previousLength:null!=(A=null==(e=I.value)?void 0:e.previousLength)?A:t,currentLength:c,retainedIndex:null!=o?o:null};return}Y(t,c,o)}},[h,f,C,I,p,l,c,Y,_]),(0,ef.useAnimatedReaction)((J=(j={_worklet_3967131966309_init_data:eb,resolvedSize:_})._worklet_3967131966309_init_data,X=j.resolvedSize,q=[new globalThis.Error,-2,-27],($=function(){return X.value}).__closure={resolvedSize:X},$.__workletHash=0x39bab7ddb65,$.__pluginVersion="0.5.2",$.__initData=J,$.__stackDetails=q,$),(AA=(Z={_worklet_4107892732376_init_data:eL,prevSize:M,sizePhase:m,dataLength:i,hasInitializedOffset:w,handlerOffset:h,defaultIndex:r,computeOffsetIfSizeChanged:ez})._worklet_4107892732376_init_data,Ae=Z.prevSize,At=Z.sizePhase,Aa=Z.dataLength,An=Z.hasInitializedOffset,Ai=Z.handlerOffset,Ar=Z.defaultIndex,AC=Z.computeOffsetIfSizeChanged,Ao=[new globalThis.Error,-8,-27],(As=function(A){if(null!=A&&!(A<=0)){var e=Ae.value;if(e!==A){if(At.value=e>0?"updating":At.value,Aa<=0){Ae.value=A,At.value="ready";return}e<=0||!An.value?(Ai.value=-(Ar*A),An.value=!0):Ai.value=AC({handlerOffset:Ai.value,prevSize:e,size:A}),Ae.value=A,At.value="ready"}}}).__closure={prevSize:Ae,sizePhase:At,dataLength:Aa,hasInitializedOffset:An,handlerOffset:Ai,defaultIndex:Ar,computeOffsetIfSizeChanged:AC},As.__workletHash=0x3bc717cb1d8,As.__pluginVersion="0.5.2",As.__initData=AA,As.__stackDetails=Ao,As),[i,r,w,_,m]),{size:K,validLength:i-1,handlerOffset:h,resolvedSize:_,sizePhase:m,sizeExplicit:G,isMoving:f,dataRevision:O,startMovement:N,cancelMovement:H,settleMovement:H});return Al=Object.assign({},Ac,{dataLength:Au}),eh.useRef({contentStyle:!1,missingMainAxisSize:!1}),eh.useEffect(function(){},[Al]),(0,eJ.jsx)(eZ,{value:{props:Ac,common:Ad},children:(0,eJ.jsx)(as,{ref:e})})});en=(ea={_worklet_12293713265361_init_data:{code:"function getPaginationDotDistance_PaginationItemTsx1(progress,index,count){const{getNearestLoopPosition}=this.__closure;if(!Number.isFinite(progress)||count<=0)return 0;return Math.abs(getNearestLoopPosition(index,progress,count)-progress);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/PaginationItem.tsx",sourceMap:'{"version":3,"names":["getPaginationDotDistance_PaginationItemTsx1","progress","index","count","getNearestLoopPosition","__closure","Number","isFinite","Math","abs"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/PaginationItem.tsx"],"mappings":"AAmBO,SAAAA,2CAAmEA,CAAAC,QAAuB,CAAAC,KAAA,CAAAC,KAAA,QAAAC,sBAAA,OAAAC,SAAA,CAG/F,GAAI,CAACC,MAAM,CAACC,QAAQ,CAACN,QAAQ,CAAC,EAAIE,KAAK,EAAI,CAAC,CAAE,MAAO,EAAC,CACtD,MAAO,CAAAK,IAAI,CAACC,GAAG,CAACL,sBAAsB,CAACF,KAAK,CAAED,QAAQ,CAAEE,KAAK,CAAC,CAAGF,QAAQ,CAAC,CAC5E","ignoreList":[]}'},getNearestLoopPosition:eB})._worklet_12293713265361_init_data,ei=ea.getNearestLoopPosition,er=[new globalThis.Error,-2,-27],(eC=function(A,e,t){return!Number.isFinite(A)||t<=0?0:Math.abs(ei(e,A,t)-A)}).__closure={getNearestLoopPosition:ei},eC.__workletHash=0xb2e5a6982d1,eC.__pluginVersion="0.5.2",eC.__initData=en,eC.__stackDetails=er,es=(eo={_worklet_8662050186952_init_data:{code:"function getPaginationSelectedIndex_PaginationItemTsx2(progress,count){const{getSettledRawIndex}=this.__closure;return getSettledRawIndex(progress,count);}",location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/PaginationItem.tsx",sourceMap:'{"version":3,"names":["getPaginationSelectedIndex_PaginationItemTsx2","progress","count","getSettledRawIndex","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/PaginationItem.tsx"],"mappings":"AA0BO,SAAAA,6CAA6EA,CAAAC,QAAA,CAAAC,KAAA,QAAAC,kBAAA,OAAAC,SAAA,CAGlF,MAAO,CAAAD,kBAAkB,CAACF,QAAQ,CAAEC,KAAK,CAAC,CAC5C","ignoreList":[]}'},getSettledRawIndex:eK})._worklet_8662050186952_init_data,el=eo.getSettledRawIndex,ec=[new globalThis.Error,-2,-27],(eu=function(A,e){return el(A,e)}).__closure={getSettledRawIndex:el},eu.__workletHash=0x7e0ca6ca6c8,eu.__pluginVersion="0.5.2",eu.__initData=es,eu.__stackDetail
1s=ec,e_=(ed={_worklet_15643276008008_init_data:{code:'function interpolateDotColor_PaginationItemTsx3(distance,active,inactive){const{interpolateColor}=this.__closure;if(typeof active!=="string"||typeof inactive!=="string"){return distance<0.5?active:inactive;}return interpolateColor(distance,[0,1],[active,inactive]);}',location:"/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/PaginationItem.tsx",sourceMap:'{"version":3,"names":["interpolateDotColor_PaginationItemTsx3","distance","active","inactive","interpolateColor","__closure"],"sources":["/home/runner/work/react-native-reanimated-carousel/react-native-reanimated-carousel/src/components/Pagination/PaginationItem.tsx"],"mappings":"AAgCA,SAAAA,sCAEoBA,CAClBC,QACD,CAAaC,MAAA,CAAAC,QAAA,QAAAC,gBAAA,OAAAC,SAAA,CAGZ,GAAI,MAAO,CAAAH,MAAM,GAAK,QAAQ,EAAI,MAAO,CAAAC,QAAQ,GAAK,QAAQ,CAAE,CAC9D,MAAO,CAAAF,QAAQ,CAAG,GAAG,CAAGC,MAAM,CAAGC,QAAQ,CAC3C,CAEA,MAAO,CAAAC,gBAAgB,CAACH,QAAQ,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACC,MAAM,CAAEC,QAAQ,CAAC,CAAC,CAC/D","ignoreList":[]}'},interpolateColor:ef.interpolateColor})._worklet_15643276008008_init_data,em=ed.interpolateColor,ev=[new globalThis.Error,-2,-27],(eg=function(A,e,t){return"string"!=typeof e||"string"!=typeof t?A<.5?e:t:em(A,[0,1],[e,t])}).__closure={interpolateColor:em},eg.__workletHash=0xe3a3be8da48,eg.__pluginVersion="0.5.2",eg.__initData=e_,eg.__stackDetails=ev},25559:(A,e,t)=>{t.d(e,{A:()=>i});var a=t(20528),n=t(69404);function i(A,e){(0,n.A)(2,arguments);var t=(0,a.A)(A).getTime(),i=(0,a.A)(e.start).getTime(),r=(0,a.A)(e.end).getTime();if(!(i<=r))throw RangeError("Invalid interval");return t>=i&&t<=r}},27564:(A,e,t)=>{t.d(e,{A:()=>r});var a=t(851),n=t(20528),i=t(69404);function r(A,e){(0,i.A)(2,arguments);var t=(0,n.A)(A),r=(0,a.A)(e);return t.setMinutes(r),t}},45433:(A,e,t)=>{t.d(e,{A:()=>r});var a=t(851),n=t(9816),i=t(69404);function r(A,e){(0,i.A)(2,arguments);var t=(0,a.A)(e);return(0,n.A)(A,1e3*t)}},68940:(A,e)=>{e._m=void 0;e._m=1e3},84578:(A,e,t)=>{t.d(e,{A:()=>r});var a=t(851),n=t(20528),i=t(69404);function r(A,e){(0,i.A)(2,arguments);var t=(0,n.A)(A),r=(0,a.A)(e);return t.setHours(r),t}},93862:(A,e,t)=>{t.d(e,{Ay:()=>G});var a=t(98276),n=t(47269),i=t(74361),r=t(81603),C=t(75052),o=t(47212),s=Array(10).fill(0),l=["K","M","B","T"],c={".":"dot",",":"comma","-":"sign","+":"sign",0:"number",1:"number",2:"number",3:"number",4:"number",5:"number",6:"number",7:"number",8:"number",9:"number",K:"compact",M:"compact",B:"compact",T:"compact"},u=t(62021),d=["value","height","containerStyle","spinningAnimationConfig","animationCallback","animateToNewValue","textProps","commaTextProps","dotTextProps","compactNotationTextProps","signTextProps","textStyle","numberStyle","commaStyle","dotStyle","signStyle","compactNotationStyle","numberTextProps"];function _(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(A);e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable})),t.push.apply(t,a)}return t}function m(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?_(Object(t),!0).forEach(function(e){(0,a.A)(A,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach(function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))})}return A}var v={code:"function reactNativeAnimatedRollingNumbers_AnimatedDigitTsx1(finished,current){const{runOnJS,animationCallback}=this.__closure;var _runOnJS;return(_runOnJS=runOnJS(animationCallback))===null||_runOnJS===void 0?void 0:_runOnJS(finished,current);}"},g={code:"function reactNativeAnimatedRollingNumbers_AnimatedDigitTsx2(){const{animatedValue,height}=this.__closure;return{transform:[{translateY:animatedValue.value*(height||0)}]};}"},h=function(A){var e,t,a,_,h,E=A.value,S=A.height,f=A.containerStyle,I=A.spinningAnimationConfig,M=A.animationCallback,w=void 0===M?function(){}:M,G=A.animateToNewValue,x=void 0===G?function(A,e){var t,a,n,i,r;return(0,o.withTiming)(-A,I||{duration:"number"===e?600:100,easing:o.Easing.elastic(1)},(a=(t={_worklet_6165282289140_init_data:v,runOnJS:o.runOnJS,animationCallback:w})._worklet_6165282289140_init_data,n=t.runOnJS,i=t.animationCallback,(r=function(A,e){var t;return null==(t=n(i))?void 0:t(A,e)}).__closure={runOnJS:n,animationCallback:i},r.__workletHash=0x59b7775f5f4,r.__initData=a,r))}:G,K=A.textProps,B=A.commaTextProps,D=A.dotTextProps,O=A.compactNotationTextProps,z=A.signTextProps,k=A.textStyle,y=A.numberStyle,b=A.commaStyle,L=A.dotStyle,T=A.signStyle,U=A.compactNotationStyle,P=A.numberTextProps,Q=(0,n.A)(A,d),W=!isNaN(Number(E)),V=(0,o.useSharedValue)(W?Number(E):0),F=(0,o.useAnimatedStyle)((t=(e={_worklet_8770218754848_init_data:g,animatedValue:V,height:S})._worklet_8770218754848_init_data,a=e.animatedValue,_=e.height,(h=function(){return{transform:[{translateY:a.value*(_||0)}]}}).__closure={animatedValue:a,height:_},h.__workletHash=0x7f9f9c60320,h.__initData=t,h),[S]),R=(0,i.useMemo)(function(){return{".":L,",":b,"-":T,"+":T}},[T,L,b]),Y=(0,i.useMemo)(function(){return{".":D,",":B,"-":z,"+":z}},[z,D,B]),N=(0,i.useMemo)(function(){var A,e;return .1*((null==(A=r.A.flatten(U))?void 0:A.fontSize)||(null==(e=r.A.flatten(k))?void 0:e.fontSize)||14)},[k,U]);return(0,i.useEffect)(function(){V.value=x(W?Number(E):l.includes(E.toUpperCase())?l.indexOf(E.toUpperCase()):0,c[E])},[E]),(0,i.useMemo)(function(){return(0,u.jsx)(o.default.View,m(m({layout:o.LinearTransition,entering:o.FadeIn,style:[{alignItems:"center",justifyContent:"center"},f,{overflow:"hidden"}]},Q),{},{children:(0,u.jsx)(o.default.View,{style:[p.digitContainer,F],children:W?s.map(function(A,e){return(0,u.jsx)(C.A,m(m(m({style:[k,y,{position:0===e?"relative":"absolute",top:S*e}]},K),P),{},{children:e}),e)}):l.includes(E.toUpperCase())?l.map(function(A,e){return(0,u.jsx)(C.A,m(m(m({style:[k,U,{paddingHorizontal:0===e?N:0,position:0===e?"relative":"absolute",top:S*e}]},K),O),{},{children:A}),e)}):(0,u.jsx)(C.A,m(m(m({style:[k,null==R?void 0:R[E]]},K),null==Y?void 0:Y[E]),{},{children:E}))})}))},[S,E])},p=r.A.create({digitContainer:{alignItems:"center",overflow:"visible",justifyContent:"center"}}),E=t(49798),S=t(55884),f=["value","showMinusSign","showPlusSign","toFixed","useGrouping","formattedText","locale","enableCompactNotation","compactToFixed","containerStyle","fixedOnlyForCompact","digitContainerStyle","numberTextProps","commaTextProps","dotTextProps","compactNotationTextProps","
1signTextProps","textStyle","numberStyle","commaStyle","dotStyle","compactNotationStyle","signStyle","textProps","spinningAnimationConfig","animationCallback","animateToNewValue"];function I(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(A);e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable})),t.push.apply(t,a)}return t}function M(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?I(Object(t),!0).forEach(function(e){(0,a.A)(A,e,t[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):I(Object(t)).forEach(function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))})}return A}var w=r.A.create({container:{overflow:"hidden",alignItems:"center",justifyContent:"center"},innerContainer:{flexDirection:"row",alignItems:"center"}});let G=function(A){var e=A.value,t=A.showMinusSign,a=void 0===t||t,r=A.showPlusSign,C=void 0!==r&&r,s=A.toFixed,l=A.useGrouping,c=void 0!==l&&l,d=A.formattedText,_=A.locale,m=void 0===_?"en-US":_,v=A.enableCompactNotation,g=A.compactToFixed,p=A.containerStyle,I=A.fixedOnlyForCompact,G=void 0===I||I,x=A.digitContainerStyle,K=A.numberTextProps,B=A.commaTextProps,D=A.dotTextProps,O=A.compactNotationTextProps,z=A.signTextProps,k=A.textStyle,y=A.numberStyle,b=A.commaStyle,L=A.dotStyle,T=A.compactNotationStyle,U=A.signStyle,P=(A.textProps,A.spinningAnimationConfig),Q=A.animationCallback,W=A.animateToNewValue,V=(0,n.A)(A,f),F=(0,i.useState)(0),R=F[0],Y=F[1],N=e<0&&!a?Math.abs(e):e,H=(0,i.useMemo)(function(){return d||v&&function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US",i=Math.abs(A);return i>=1e12?(A/1e12).toLocaleString(n,{maximumFractionDigits:e,minimumFractionDigits:e,useGrouping:a})+"T":i>=1e9?(A/1e9).toLocaleString(n,{maximumFractionDigits:e,minimumFractionDigits:e,useGrouping:a})+"B":i>=1e6?(A/1e6).toLocaleString(n,{maximumFractionDigits:e,minimumFractionDigits:e,useGrouping:a})+"M":i>=1e3?(A/1e3).toLocaleString(n,{maximumFractionDigits:e,minimumFractionDigits:e,useGrouping:a})+"K":A.toFixed(t?0:e)}(N,g||s,G,c,m)||N.toLocaleString(m,{useGrouping:c,minimumFractionDigits:s,maximumFractionDigits:s})},[d,c,e,g,v,a,C,G,m,s]),j=(0,i.useMemo)(function(){var A=((C&&e>=0?"+":"")+H).split("");return S.A.isRTL?A.reverse():A},[H,e,C]),J=(0,i.useCallback)(function(A){A.nativeEvent.layout.height!==R&&Y(A.nativeEvent.layout.height)},[R]);return(0,u.jsx)(o.default.View,M(M({layout:o.LinearTransition,style:[w.container,p]},V),{},{children:(0,u.jsx)(E.A,{style:w.innerContainer,onLayout:J,children:j.map(function(A,e){return(0,u.jsx)(h,{value:A,height:R,containerStyle:x,textStyle:k,numberTextProps:K,commaTextProps:B,dotTextProps:D,compactNotationTextProps:O,signTextProps:z,numberStyle:y,commaStyle:b,dotStyle:L,compactNotationStyle:T,signStyle:U,spinningAnimationConfig:P,animationCallback:Q,animateToNewValue:W},H.length-e-1)})})}))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.