1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8983],{71889:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/my/content-comment",function(){return n(68469)}])},53057:function(e,t,n){"use strict";var r=n(85893),o=n(56861),i=n(30120),a=n(97672),u=n(76125),c=n(50686);let l=e=>{let{isoDate:t,category:n,content:l,onClick:s}=e,{t:d}=(0,u.$G)("devotion"),{language:f}=(0,a.Z)(),h=i.ou.fromJSDate(new Date(t)),v=(0,o.O)(h.month),m=(0,o.O)(h.day),g=new Date(t).getDay(),p=(0,o.O)(h.hour),y=(0,o.O)(h.minute);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"flex w-full cursor-pointer flex-col gap-1 rounded-lg bg-richBrown p-4",onClick:s,children:[(0,r.jsxs)("p",{className:"text-body-medium text-LightGrey",children:[v,".",m,"(".concat(c.Pe[f][g],")"),"\xa0",p,":",y,"ã»",d("devotion"===n?"note.shortcutDevotion":"note.shortcutPrayer")]}),(0,r.jsx)("p",{className:"line-clamp-3 text-body-medium text-Ivory",children:l})]})})};t.Z=l},7638:function(e,t,n){"use strict";var r=n(59403),o=n(20416),i=n(67294);t.Z=function(e){let{queryKey:t,queryFn:n,perPage:a,enabled:u}=e,{fetchNextPage:c,fetchPreviousPage:l,hasNextPage:s,hasPreviousPage:d,isFetchingNextPage:f,isFetchingPreviousPage:h,isLoading:v,refetch:m,...g}=(0,r.N)(t,e=>{let{pageParam:t=null}=e;return n({after:t,perPage:a})},{getNextPageParam:(e,t)=>{var n,r,o,i;if(null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(r=n.meta)||void 0===r?void 0:r.after)return null==e?void 0:null===(o=e.data)||void 0===o?void 0:null===(i=o.meta)||void 0===i?void 0:i.after},getPreviousPageParam:(e,t)=>{var n,r;return null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(r=n.meta)||void 0===r?void 0:r.after},refetchOnMount:"always",keepPreviousData:!0,staleTime:0,enabled:void 0===u||u}),p=(0,i.useCallback)(()=>{window.sessionStorage.setItem(o.o0.SCROLL_HISTORY,"".concat(window.scrollY))},[]);return(0,i.useEffect)(()=>{let e=window.sessionStorage.getItem(o.o0.SCROLL_HISTORY);e&&(window.scrollTo({top:Number(e)}),window.sessionStorage.removeItem(o.o0.SCROLL_HISTORY))},[]),{result:g,isLoading:v,hasNextPage:s,isFetchingNextPage:f,refetch:m,fetchNextPage:c,fetchPreviousPage:l,saveScrollHistory:p}}},68469:function(e,t,n){"use strict";n.r(t);var r=n(85893),o=n(23737),i=n(75301),a=n(17548),u=n(87398),c=n(67294),l=n(53057),s=n(87907),d=n(7638),f=n(11598);t.default=function(){let e=(0,c.useRef)(),{push:t}=(0,s.H)(),{result:n,hasNextPage:h,isFetchingNextPage:v,fetchNextPage:m,saveScrollHistory:g}=(0,d.Z)({queryKey:f.ad.content.getInfiniteContentComments().queryKey,queryFn:e=>{let{after:t,perPage:n}=e;return o.Z.getContentComments({perPage:n,after:t})},perPage:15}),p=(0,c.useMemo)(()=>{var e;return null==n?void 0:null===(e=n.data)||void 0===e?void 0:e.pages},[null==n?void 0:n.data]),y=(0,c.useCallback)(function(e){let{id:n,category:r,commentId:o}=e;g(),t("/content/".concat(r,"/").concat(n,"/").concat(o))},[g,t]);return(0,c.useEffect)(function(){let t=e.current,n=new IntersectionObserver(async function(e,t){e[0].isIntersecting&&m()},{threshold:.8});return n.observe(t),function(){n.disconnect()}},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Z,{title:"íí° ê¸°ë¡"}),(0,r.jsx)(a.Z,{}),(0,r.jsx)("div",{className:"fixed top-0 left-0 z-0 hidden min-h-full min-w-full bg-black bg-opacity-50 pc:block"}),(0,r.jsx)(u.Z,{className:"bg-deepBrown px-[16px] pt-20",children:(0,r.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[null==p?void 0:p.map((e,t)=>{var n,o;return(0,r.jsx)("div",{className:"flex w-full flex-col gap-2",children:null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(o=n.payload)||void 0===o?void 0:o.map((e,t)=>(0,r.jsx)(l.Z,{isoDate:e.createdAt,category:e.category,content:e.content,onClick:()=>{y({id:e.dailyVerse,category:e.category,commentId:e._id})}},t))},t)}),(0,r.jsx)("div",{ref:e,className:"relative flex h-16 items-start justify-center pt-3",children:v&&(0,r.jsx)("div",{className:"loading-overlay"})})]})})]})}},50686:function(e,t,n){"use strict";n.d(t,{EB:function(){return a},HB:function(){return m},Pe:function(){return o},WX:function(){return i},Z7:function(){return h},fM:function(){return v},gG:function(){return u}});let r=e=>[...e.slice(1),e[0]],o={ko:["ì¼","ì","í","ì","목","ê¸","í "],en:["
1Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},i={ko:r(o.ko),en:r(o.en)},a={ko:i.ko,en:["Mo","Tu","We","Th","Fr","Sa","Su"]},u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=["January","February","March","April","May","June","July","August","September","October","November","December"],l=Array.from({length:12},(e,t)=>String(t+1)),s=l.map(e=>e.padStart(2,"0")),d=Array.from({length:31},(e,t)=>String(t+1)),f=d.map(e=>e.padStart(2,"0")),h={twoDigitOrShort:{ko:s,en:u},twoDigitOrLong:{ko:s,en:c},numericOrShort:{ko:l,en:u},numericOrLong:{ko:l,en:c}},v={ko:f,en:d},m={ko:["ì¼ìì¼","ììì¼","íìì¼","ììì¼","목ìì¼","ê¸ìì¼","í ìì¼"],en:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},56861:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});let r=e=>"number"!=typeof e?"":null==e?void 0:e.toString().padStart(2,"0")},19116:function(e,t,n){"use strict";n.d(t,{he:function(){return c},j:function(){return l},ve:function(){return a},xr:function(){return u}});let r=()=>"undefined"==typeof window&&(console.error("ChannelIO APIs are only executable on browser."),!0),o=()=>!!window.ChannelIO||(console.error("ChannelIO is not loaded. Please call loadScript() before calling ChannelIO APIs."),!1),i=(...e)=>{!r()&&o()&&window.ChannelIO(...e)};function a(){r()||function(){var e=window;if(!e.ChannelIO){var t=function(){var e;null===(e=t.c)||void 0===e||e.call(t,arguments)};t.q=[],t.c=function(e){var n;null===(n=t.q)||void 0===n||n.push(e)},e.ChannelIO=t,"complete"===document.readyState?n():(e.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}function n(){if(!e.ChannelIOInitialized){e.ChannelIOInitialized=!0;var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://cdn.channel.io/plugin/ch-plugin-web.js";var n=document.getElementsByTagName("script")[0];n.parentNode&&n.parentNode.insertBefore(t,n)}}}()}function u(e,t){i("boot",e,t)}function c(){i("showMessenger")}function l(e,t){i("track",e,t)}},59403:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var r=n(32161),o=n(52924),i=n(9499);class a extends o.z{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:(0,i.Gm)()},t)}getOptimisticResult(e){return e.behavior=(0,i.Gm)(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var n,r,o,a,u,c;let{state:l}=e,s=super.createResult(e,t),{isFetching:d,isRefetching:f}=s,h=d&&(null==(n=l.fetchMeta)?void 0:null==(r=n.fetchMore)?void 0:r.direction)==="forward",v=d&&(null==(o=l.fetchMeta)?void 0:null==(a=o.fetchMore)?void 0:a.direction)==="backward";return{...s,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.Qy)(t,null==(u=l.data)?void 0:u.pages),hasPreviousPage:(0,i.ZF)(t,null==(c=l.data)?void 0:c.pages),isFetchingNextPage:h,isFetchingPreviousPage:v,isRefetching:f&&!h&&!v}}}var u=n(67187);function c(e,t,n){let o=(0,r._v)(e,t,n);return(0,u.r)(o,a)}}},function(e){e.O(0,[5301,9774,2888,179],function(){return e(e.s=71889)}),_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.