PageSourceSearch

https://giaophancantho.org/_next/static/chunks/pages/albums-2ec240c508b18b23.js

js giaophancantho.org collected 2026-10-02 23:37:10 UTC 19,401 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10],{60292:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/albums",function(){return n(20855)}])},57683:function(e,t){"use strict";t.Z={src:"https://giaophancantho.org/_next/static/media/giam-muc.6903c238.jpeg",height:1600,width:1066,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAIAAUDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAb/xAAaEAACAwEBAAAAAAAAAAAAAAAAAQIDEgQR/8QAFQEBAQAAAAAAAAAAAAAAAAAAAwT/xAAYEQEAAwEAAAAAAAAAAAAAAAABAAIRIf/aAAwDAQACEQMRAD8AuuW+U7Lkla8Sy1h+pgAnqYZGes//2Q==",blurWidth:5,blurHeight:8}},4393:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.d(t,{Z:function(){return m}});var i=n(85893),o=n(43202),l=n(14809),s=n(49354),r=n(99374),c=n(25675),u=n.n(c),d=n(41664),h=n.n(d),p=n(57683),f=e([o,r]);function m(e){let{data:t,categorySetting:n}=e;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"bg-light-1 shadow-md pb-3 sm:pb-6",children:[(0,i.jsx)(s.Z,{title:n.name}),(0,i.jsxs)("div",{className:"flex flex-col gap-y-3 px-3 sm:px-4",children:[(0,i.jsx)(h(),{href:(null==n?void 0:n.link)||"#",className:"".concat(!(null==n?void 0:n.link)&&"pointer-events-none"),children:(0,i.jsx)(u(),{className:"object-fill rounded",src:(null==n?void 0:n.photo)||p.Z,width:1e3,height:1e3,alt:n.name})}),(0,i.jsx)(l.o,{size:0,hideScrollBar:!0,className:"max-h-[263px] flex flex-col gap-y-3 column-list-item",children:null==t?void 0:t.map(e=>(0,i.jsx)(r.Z,{data:e,width:126,height:81},e.id))})]})]})})}[o,r]=f.then?(await f)():f,a()}catch(e){a(e)}})},52471:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.d(t,{Z:function(){return c}});var i=n(85893),o=n(14809),l=n(49354),s=n(99374),r=e([s]);function c(e){let{data:t,headerTitle:n}=e;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"bg-light-1 shadow-md pb-3 sm:pb-6",children:[(0,i.jsx)(l.Z,{title:n}),(0,i.jsx)("div",{className:"flex flex-col gap-y-3 px-3 md:px-4",children:(0,i.jsx)(o.o,{size:0,hideScrollBar:!0,className:"max-h-[435px] flex flex-col gap-y-3 column-list-item",children:null==t?void 0:t.map(e=>(0,i.jsx)(s.Z,{data:e,width:126,height:77},e.id))})})]})})}s=(r.then?(await r)():r)[0],a()}catch(e){a(e)}})},26261:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.d(t,{Z:function(){return h}});var i=n(85893),o=n(11163),l=n(67294),s=n(52471),r=n(4393),c=n(47165),u=n(10888),d=e([s,r,c]);function h(e){let{catalogues:t,postDetail:n,catalogueId:a}=e,[d,h]=(0,l.useState)({}),[p,f]=(0,l.useState)([]),[m,x]=(0,l.useState)({}),[v,w]=(0,l.useState)({}),[g,b]=(0,l.useState)({}),y=(0,o.useRouter)(),A=y.asPath,j=async()=>{let e=await (0,u.fH)(),t=(0,u.LI)(e,"duc-giam-muc");h(t);let n=await (0,u.pd)(),a=(0,u.aP)(n.value,"categoryListRight");f(a);let i=["tinTieuDiem","thong-bao","dang-ban-quyen"],o=A.split("/").pop();i=i.filter(e=>e!==o);for(let e=0;e<3;e++){let t=i[e],n="/api/news?cid="+t+"&status=latest";fetch(n).then(e=>e.json()).then(e=>{switch(t){case"tinTieuDiem":x(e);break;case"thong-bao":w(e);break;case"dang-ban-quyen":b(e)}})}};(0,l.useEffect)(()=>{j()},[]);let S=[{data:m.value,title:"B\xe0i Viết Nổi Bật"},{data:v.value,title:"Th\xf4ng B\xe1o"}];return(0,i.jsxs)("div",{className:"flex flex-col gap-5",children:[t&&(0,i.jsx)("div",{className:"sm:flex ",children:(0,i.jsx)(c.Z,{catalogues:t,postDetail:n,catalogueId:a})}),S.map((e,t)=>{let{data:n,title:a}=e;return(null==n?void 0:n.length)>0&&(0,i.jsx)("section",{children:(0,i.jsx)(s.Z,{data:n,headerTitle:a})},t)}),(0,i.jsx)("section",{children:(0,i.jsx)(r.Z,{categorySetting:d,data:g.value})})]})}[s,r,c]=d.then?(await d)():d,a()}catch(e){a(e)}})},47165:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.d(t,{Z:function(){return h}});var i=n(85893),o=n(41664),l=n.n(o),s=n(14809),r=n(43202),c=n(10888),u=n(67294),d=e([r]);function h(e){var t,n,a;let{catalogues:o,postDetail:d,catalogueId:h}=e,[p,f]=(0,u.useState)((null==o?void 0:o.value)||[]),[m,x]=(0,u.useState)(1),[v,w]=(0,u.useState)(!1),[g,b]=(0,u.useState)(!0),y=(0,u.useRef)(null);(0,u.useEffect)(()=>{f((null==o?void 0:o.value)||[]),x(1),b(!0)},[o]);let A=async()=>
1{if(!v&&g&&h){w(!0);try{let e=m+1,t=await (0,c.uy)(h,e),n=(null==t?void 0:t.value)||[];if(0===n.length){b(!1);return}f(e=>[...e,...n]),x(e),n.length<10&&b(!1)}catch(e){}finally{w(!1)}}};return(null==p?void 0:p.length)?(0,i.jsxs)("div",{className:"bg-light-1 shadow-md w-full",children:[(0,i.jsxs)("div",{className:"relative text-primary text-left pb-2 flex items-center pt-4",children:[(0,i.jsx)("div",{className:"absolute top-[38%] w-1.5 h-[18px] bg-primary"}),(0,i.jsx)("span",{className:"font-bold w-full text-base md:text-2xl mx-5",children:"MỤC LỤC"})]}),(0,i.jsx)("p",{className:"pb-2 text-center font-bold text-base md:text-2xl text-primary border-b-2 mx-5",children:null===(a=p[0])||void 0===a?void 0:null===(n=a.catalogue)||void 0===n?void 0:null===(t=n.name)||void 0===t?void 0:t.toUpperCase()}),(0,i.jsx)(s.o,{hideScrollBar:!0,className:"px-5 min-h-[300px] max-h-[400px] divide-y-1 divide-primary",children:(0,i.jsxs)("div",{ref:y,onScroll:()=>{let e=y.current;if(!e)return;let t=e.scrollTop+e.clientHeight>=e.scrollHeight-20;t&&A()},className:"max-h-[400px] overflow-y-auto scrollbar-hide",children:[p.map((e,t)=>{let n=(null==e?void 0:e.id)===(null==d?void 0:d.id),a="".concat(t+1,". ").concat(e.title),o="py-3 text-primary border-b-[0.5px] border-dashed border-[#A6A6A6] hover:shadow-lg";return n?(0,i.jsx)("div",{className:"".concat(o," font-bold cursor-default"),children:a},e.id):(0,i.jsx)("div",{className:"cursor-pointer ".concat(o),children:(0,i.jsx)(l(),{href:r.Z.getPostPath(e),children:a})},e.id)}),v&&(0,i.jsx)("div",{className:"py-3 text-center text-primary",children:"Đang tải..."})]})})]}):null}r=(d.then?(await d)():d)[0],a()}catch(e){a(e)}})},12616:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var a=n(85893),i=n(10420);function o(e){let{title:t,itemName:n}=e;return(0,a.jsx)("div",{id:"loading",className:"h-56 grid content-center mx-auto",children:t?(0,a.jsx)(i.c,{label:"Đang loading ".concat(t),color:"primary",labelColor:"primary",className:"italic",size:"lg"}):(0,a.jsx)(i.c,{label:"Đang cập nhật ".concat(n||""),color:"primary",labelColor:"primary",className:"italic",size:"lg"})})}},41138:function(e,t,n){"use strict";var a=n(85893),i=n(25675),o=n.n(i),l=n(86995),s=n.n(l),r=n(67294),c=n(89583);let u=e=>{let t=new window.Image;t.src=e};t.Z=e=>{let{selectedPhotos:t=[],currentIndex:n=0,setCurrentIndex:i,closeModal:l}=e,d=t.length,h=(0,r.useCallback)(()=>{i(e=>(e+1)%d)},[i,d]),p=(0,r.useCallback)(()=>{i(e=>(e-1+d)%d)},[i,d]);return((0,r.useEffect)(()=>{if(d)for(let e=-2;e<=2;e++){if(0===e)continue;let a=(n+e+d)%d;u(t[a])}},[n,t,d]),d)?(0,a.jsx)("div",{className:"fixed inset-0 bg-black/70 backdrop-blur-sm flex items-center justify-center",style:{zIndex:9999},onClick:l,children:(0,a.jsxs)("div",{className:"relative w-[90%] sm:w-[80%] md:w-[70%] max-w-md sm:max-w-2xl md:max-w-3xl lg:max-w-4xl aspect-[16/9] bg-black rounded-md mx-auto",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("div",{className:"w-full h-full overflow-hidden bg-black rounded-lg",children:(0,a.jsx)(s(),{onSwipeLeft:h,onSwipeRight:p,className:"w-full h-full",children:(0,a.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,a.jsx)(o(),{width:1e3,height:1e3,alt:"slide-".concat(n),src:t[n],className:"max-w-full max-h-full object-scale-down transition duration-500"})})})}),(0,a.jsx)("button",{onClick:p,className:"absolute -left-4 md:left-0 top-1/2 -translate-y-1/2 z-20 text-white text-opacity-50 hover:text-white text-4xl px-4 py-2","aria-label":"Previous",type:"button",children:(0,a.jsx)(c._HU,{})}),(0,a.jsx)("button",{onClick:h,className:"absolute -right-4 md:right-0 top-1/2 -translate-y-1/2 z-20 text-white text-opacity-50 hover:text-white text-4xl px-4 py-2","aria-label":"Next",type:"button",children:(0,a.jsx)(c.H_v,{})}),(0,a.jsxs)("div",{className:"absolute bottom-2 left-0 right-0 text-center text-white text-sm z-20",children:[n+1," / ",d]})]})}):null}},36761:function(e,t,n){"use strict";var a=n(85893),i=n(67294),o=n(89583),l=n(35552),s=n(79222),r=n(13442),c=n(96486),u=n.n(c);t.Z=i.memo(function(e){var t;let n=e.asPath.includes("page")?(null===(t=e.asPath)||void 0===t?void 0:t.includes("latest"))?e.asPath.replace("?page","&page"):e.asPath:e.asPath+"?page=1";return(0,a.jsx)(r.g,{showControls:!0,radius:"full",variant:"light",initialPage:1,className:"gap-2 flex items-center",disableCursorAnimation:!0,renderItem:t=>{let{ref:i,key:r,value:c,isActive:d,setPage:h,className:p}=t,{currentPage:f,pageCount:m}=e.pageData,x=Math.min(f+1,m),v=Math.max(f-1,1),w=e=>
1u().replace(n,/page=\d+/,"page=".concat(e)),g="flex items-center justify-center rounded focus:outline-none px-1 mx-1 h-7 min-w-7 w-7 lg:min-w-10 lg:w-10 lg:h-10";return c===l.m.NEXT?f===m?null:(0,a.jsx)(s.O,{href:w(x),className:"".concat(g," border border-gray-300 bg-white text-gray-1"),onClick:()=>h(x),children:(0,a.jsx)(o.Dli,{})},r):c===l.m.PREV?1===f?null:(0,a.jsx)(s.O,{href:w(v),className:"".concat(g," border border-gray-300 bg-white text-gray-1"),onClick:()=>h(v),children:(0,a.jsx)(o.bUI,{})},r):c===l.m.DOTS?(0,a.jsx)("span",{className:"".concat(g," pointer-events-none"),children:"..."},r):(0,a.jsx)(s.O,{href:w(c),className:"".concat(g," font-semibold ").concat(d?"bg-primary":"border border-gray-300"),onClick:()=>h(c),children:(0,a.jsx)("span",{ref:i,className:"".concat(p," focus:outline-none ").concat(d?"text-white":""),children:c})},r)},total:e.pageData.pageCount,page:e.pageData.currentPage})})},20855:function(e,t,n){"use strict";n.a(e,async function(e,a){try{n.r(t),n.d(t,{default:function(){return w}});var i=n(85893),o=n(25675),l=n.n(o),s=n(11163),r=n(67294),c=n(10888),u=n(43202),d=n(5434),h=n(89583),p=n(12616),f=n(26261),m=n(36761),x=n(41138),v=e([u,f]);function w(){let e=(0,s.useRouter)(),t=parseInt(e.query.page||"1",10),[n,a]=(0,r.useState)(null),[o,l]=(0,r.useState)({currentPage:t,pageSize:12,pageCount:0}),[u,d]=(0,r.useState)(!1),[h,v]=(0,r.useState)([]),[w,b]=(0,r.useState)(0),[y,A]=(0,r.useState)({}),j=(0,r.useCallback)(async()=>{let e=(t-1)*12,n=await (0,c.rU)({top:12,skip:e,isCount:!0,sort:"created desc"});if(n){let e=parseInt((null==n?void 0:n["@odata.count"])||"0",10);a(n),l({currentPage:t,pageSize:12,pageCount:e>0?Math.ceil(e/12):0})}else a({})},[t]);return((0,r.useEffect)(()=>{e.isReady&&j()},[j,e.isReady]),(0,r.useEffect)(()=>(document.body.style.overflow=u?"hidden":"auto",()=>{document.body.style.overflow="auto"}),[u]),n&&0!==parseInt(n["@odata.count"]||"0",10))?(0,i.jsxs)("div",{id:"category-album",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("h2",{className:"font-bold text-5xl pt-5 text-center sm:text-left px-2 text-primary",children:"Album H\xecnh"}),(0,i.jsxs)("div",{className:"sm:grid sm:grid-cols-12 my-5 gap-5 xl:gap-10 px-2 sm:px-0",children:[(0,i.jsx)("div",{className:"col-span-12 lg:col-span-9 bg-white shadow-md rounded-md p-4",children:(0,i.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:(0,i.jsx)(g,{albums:n.value,openModal:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;v(e),b(t),d(!0)},albumIndexes:y,setAlbumIndexes:A})})}),(0,i.jsx)("div",{className:"col-span-12 lg:col-span-3",children:(0,i.jsx)(f.Z,{})})]})]}),o.pageCount>1&&(0,i.jsx)("div",{className:"flex justify-center pb-5",children:(0,i.jsx)(m.Z,{asPath:e.asPath,pageData:o})}),u&&(0,i.jsx)(x.Z,{selectedPhotos:h,currentIndex:w,setCurrentIndex:b,closeModal:()=>{d(!1),v([]),b(0)}})]}):(0,i.jsx)(p.Z,{itemName:"album h\xecnh"})}[u,f]=v.then?(await v)():v;let g=e=>{let{albums:t,albumIndexes:n,setAlbumIndexes:a,openModal:o}=e;(0,r.useEffect)(()=>{t.forEach((e,t)=>{var a;let i=e.photoUrls;if(!Array.isArray(i)||0===i.length)return;let o=null!==(a=null==n?void 0:n[t])&&void 0!==a?a:0,l=i.length;for(let e=-2;e<=2;e++){if(0===e||0===l)continue;let t=(o+e+l)%l,n=new window.Image;n.src=u.Z.getOptimizeImage(i[t],"album")}})},[n,t]);let s=(e,t,n)=>{n.length<=1||a(a=>{var i;let o=null!==(i=null==a?void 0:a[e])&&void 0!==i?i:0,l="left"===t?(o+1)%n.length:(o-1+n.length)%n.length;return{...a,[e]:l}})};return t.map((e,t)=>{var a;let r=e.photoUrls;if(!Array.isArray(r)||0===r.length)return null;let c=null!==(a=null==n?void 0:n[t])&&void 0!==a?a:0;return(0,i.jsxs)("div",{className:"relative bg-white shadow rounded overflow-hidden",children:[(0,i.jsxs)("div",{className:"aspect-[16/9] w-full relative overflow-hidden",children:[(0,i.jsx)(l(),{width:1e3,height:1e3,src:u.Z.getOptimizeImage(r[c],"album"),alt:"".concat(e.name,"-").concat(c),className:"w-full h-full object-cover flex-shrink-0 cursor-pointer",onClick:()=>o(r,c)}),r.length>1&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{onClick:()=>s(t,"right",r),className:"absolute left-0 top-1/2 -translate-y-1/2 text-white text-opacity-80 hover:text-white p-2 text-2xl z-10",children:(0,i.jsx)(h._HU,{})}),(0,i.jsx)("button",{onClick:()=>s(t,"left",r),className:"absolute right-0 top-1/2 -translate-y-1/2 text-white text-opacity-80 hover:text-white p-2 text-2xl z-10",children:(0,i.jsx)(h.H_v,{})})]})]}),(0,i.jsxs)("div",{title:e.name,className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/90 via-black/70 to-transparent text-white p-3 cursor-default",children:[(0,i.jsx)("h3",{className:"text-lg font-semibold truncate",children:e.name}),(0,i.jsxs)("div",{className:"flex items-center text-sm space-x-1",children:[(0,i.jsx)(d.C0e,{className:"w-4 h-4 text-white"}),(0,i.jsxs)("span",{children:[r.length," ảnh"]})]})]})]},e.id)})};a()}catch(e){a(e)}})},86995:function(e,t,n){var a,i,o;i=[t,n(8532)],void 0!==(o="function"==typeof(a=function(e,t){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var n=t&&t.__esModule?t:{default:t};e.default=n.default})?a.apply(t,i):a)&&(e.exports=o)},8532:function(e,t,n){var a,i,o;i=[t,n(67294),n(45697)],void 0!==(o="function"==typeof(a=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=function(e){r=e};var a=o(t),i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=!1;try{addEventListener("test",null,Object.defineProperty({},"capture",{get:function(){r=!0}}))}catch(e){}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return!!r&&e}function u(e){if("touches"in e){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}return{x:e.screenX,y:e.screenY}}var d=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,n=arguments.length,a=Array(n),i=0;i<n;i++)a[i]=arguments[i];var o=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a)));return o._handleSwipeStart=o._handleSwipeStart.bind(o),o._handleSwipeMove=o._handleSwipeMove.bind(o),o._handleSwipeEnd=o._handleSwipeEnd.bind(o),o._onMouseDown=o._onMouseDown.bind(o),o._onMouseMove=o._onMouseMove.bind(o),o._onMouseUp=o._onMouseUp.bind(o),o._setSwiperRef=o._setSwiperRef.bind(o),o}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentDidMount",value:function(){this.swiper&&this.swiper.addEventListener("touchmove",this._handleSwipeMove,c({capture:!0,passive:!1}))}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.removeEventListener("touchmove",this._handleSwipeMove,c({capture:!0,passive:!1}))}},{key:"_onMouseDown",value:function(e){this.props.allowMouseEvents&&(this.mouseDown=!0,document.addEventListener("mouseup",this._onMouseUp),document.addEventListener("mousemove",this._onMouseMove),this._handleSwipeStart(e))}},{key:"_onMouseMove",value:function(e){this.mouseDown&&this._handleSwipeMove(e)}},{key:"_onMouseUp",value:function(e){this.mouseDown=!1,document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("mousemove",this._onMouseMove),this._handleSwipeEnd(e)}},{key:"_handleSwipeStart",value:function(e){var t=u(e),n=t.x,a=t.y;this.moveStart={x:n,y:a},this.props.onSwipeStart(e)}},{key:"_handleSwipeMove",value:function(e){if(this.moveStart){var t=u(e),n=t.x,a=t.y,i=n-this.moveStart.x,o=a-this.moveStart.y;this.moving=!0,this.props.onSwipeMove({x:i,y:o},e)&&e.cancelable&&e.preventDefault(),this.movePosition={deltaX:i,deltaY:o}}}},{key:"_handleSwipeEnd",value:function(e){this.props.onSwipeEnd(e);var t=this.props.tolerance;this.moving&&this.movePosition&&(this.movePosition.deltaX<-t?this.props.onSwipeLeft(1,e):this.movePosition.deltaX>t&&this.props.onSwipeRight(1,e),this.movePosition.deltaY<-t?this.props.onSwipeUp(1,e):this.movePosition.deltaY>t&&this.props.onSwipeDown(1,e)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(e){this.swiper=e,this.props.innerRef(e)}},{key:"render",value:function(){var e=this.props,t=(e.tagName,e.className),n=e.style,i=e.children,o=(e.allowMouseEvents,e.onSwipeUp,e.onSwipeDown,e.onSwipeLeft,e.onSwipeRight,e.onSwipeStart,e.onSwipeMove,e.onSwipeEnd,e.innerRef,e.tolerance,function(e,t){var n={};for(var a in e)!(t.indexOf(a)>=0)&&Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]));return a.default.createElement(this.props.tagName,l({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:t,style:n},o),i)}}]),t}(t.Component);d.displayName="ReactSwipe",d.propTypes={tagName:i.default.string,className:i.default.string,style:i.default.object,children:i.default.node,allowMouseEvents:i.default.bool,onSwipeUp:i.default.func,onSwipeDown:i.default.func,onSwipeLeft:i.default.func,onSwipeRight:i.default.func,onSwipeStart:i.default.func,onSwipeMove:i.default.func,onSwipeEnd:i.default.func,innerRef:i.default.func,tolerance:i.default.number.isRequired},d.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},e.default=d})?a.apply(t,i):a)&&(e.exports=o)}},function(e){e.O(0,[866,434,277,347,445,228,927,211,473,44,836,413,774,888,179],function(){return e(e.s=60292)}),_N_E=e.O()}]);

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.