PageSourceSearch

https://reedz.co/wp-content/plugins/ncmaz-frontend/dist/assets/PageArchiveDate.2329fb9e.js

js reedz.co collected 2026-10-02 00:06:16 UTC 3,971 bytes, 3 lines download raw bytes

1var w=Object.defineProperty,D=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var _=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var A=(i,r,e)=>r in i?w(i,r,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[r]=e,l=(i,r)=>{for(var e in r||(r={}))u.call(r,e)&&A(i,e,r[e]);if(_)for(var e of _(r))Q.call(r,e)&&A(i,e,r[e]);return i},d=(i,r)=>D(i,F(r));import{r as q,j as t,b as n,N as G}from"./main.9a4c9a70.js";import{M as H,a as V,A as $}from"./PageArchive.bad0962f.js";import{B as K}from"./ButtonPrimary.575d3118.js";import{A as Y,S as Z}from"./SectionTrendingCategories.16f159a8.js";import{C as z}from"./Card11.3c0ad2fa.js";import{P as J}from"./queryGraphql.f7b54b20.js";import{C as U}from"./Card11Skeleton.b1431acc.js";import{D as W}from"./DataStatementBlockV2.49bfc0f5.js";import{a as X,u as M}from"./useQuery.242ac0b5.js";import"./NcModal.173747f7.js";import"./Button.30a3d829.js";import"./ButtonClose.660def1a.js";import"./CardCategory1Skeleton.d681539a.js";import"./NcImage.775aecc9.js";import"./index.9e3c451e.js";import"./useLazyQuery.5ac1e84c.js";import"./Tag.628d2170.js";import"./BackgroundSection.0083cf1c.js";import"./SectionGridCategoryBox.33349e4a.js";import"./CardCategory5Skeleton.991d2314.js";import"./Badge.666f2391.js";import"./Heading.2623238b.js";import"./NextPrev.207788ff.js";import"./CategoryBadgeList.d4036f62.js";import"./PostCardLikeAndComment.c0680774.js";import"./PostCardLikeAction.dd1ca4b3.js";import"./PostCardMeta.fc91be9f.js";
1import"./formatDate.5c5d9c4d.js";import"./PostFeaturedMedia.ea9be166.js";import"./PostTypeFeaturedIcon.796acd0c.js";import"./useIntersectionObserver.98765581.js";import"./index.4ac0cf93.js";import"./ReactPlayer.f6e83d21.js";import"./ButtonPlayMusicRunningContainer.a5fdd3cb.js";import"./LoadingVideo.6a1ac3e8.js";import"./PostMoreActionDropdown.f9a02c2e.js";import"./ButtonSecondary.8a8918a0.js";import"./EmptyState.efe461be.js";const b=$,Qr=({className:i="",day:r,monthnum:e,year:v,sectionCategoriesTrending:c,pageTitle:E})=>{var y,h;const g=((y=frontendObject.allSettings)==null?void 0:y.readingSettingsPostsPerPage)||20,[T,I]=q.exports.useState(b[0].value);let S={};S={order:"DESC",field:T,first:g,month:e,day:r,year:v};const k=X`
2    ${J}
3  `,{loading:f,error:L,data:s,fetchMore:x}=M(k,{notifyOnNetworkStatusChange:!0,variables:S}),m=(s==null?void 0:s.posts.edges)||[],j=(o,{fetchMoreResult:a})=>{var N,C,P;return(N=a==null?void 0:a.posts)!=null&&N.edges.length?d(l({},a),{posts:d(l({},a.posts),{edges:[...(C=o==null?void 0:o.posts)==null?void 0:C.edges,...(P=a==null?void 0:a.posts)==null?void 0:P.edges]})}):o},B=o=>{I(o.value)},O=()=>{if(!x)return;const o=m.map(a=>a.node.postId);x({variables:{first:g,notIn:o},updateQuery:j})},p=f&&!m.length;return t("div",{className:`nc-PageArchiveDate ${i}`,"data-nc-id":"PageArchiveDate",children:n("div",{className:"container py-16 lg:py-28 space-y-16 lg:space-y-28",children:[n("div",{children:[t("h2",{className:"inline-block max-w-screen-2xl text-4xl font-semibold md:text-5xl",dangerouslySetInnerHTML:{__html:E}}),n("div",{className:"mt-14 flex flex-col sm:items-center sm:justify-between sm:flex-row",children:[n("div",{className:"flex space-x-2.5",children:[t(H,{}),t(V,{})]}),t("div",{className:"block my-4 border-b w-full border-neutral-100 sm:hidden"}),t("div",{className:"flex justify-end",children:t(Y,{onChangeSelect:B,lists:b})})]}),t(W,{className:"my-5",data:m,error:L,isSkeleton:p}),p||m.length?n("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6 2xl:gap-8 mt-8 lg:mt-10",children:[p&&Array.from("88888888").map((o,a)=>t(U,{},a)),m.map(o=>t(z,{post:o.node},o.node.id))]}):null,((h=s==null?void 0:s.posts.pageInfo)==null?void 0:h.hasNextPage)&&t("div",{className:"flex justify-center mt-12 lg:mt-16",children:t(K,{onClick:O,loading:f,children:G.showMeMore})})]}),c.enable&&t(Z,d(l({},c),{isCategory:!1}))]})})};export{Qr as default};

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