PageSourceSearch

https://ideasss.com/_next/static/chunks/app/%5Blocale%5D/(main)/ideasss101/page-47da0937a255f603.js

js ideasss.com collected 2026-10-08 10:40:38 UTC 15,175 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2173],{37715:function(e,t,n){var r={"./en.json":[759,759],"./zh.json":[30334,334]};function s(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],s=t[0];return n.e(t[1]).then(function(){return n.t(s,19)})}s.keys=function(){return Object.keys(r)},s.id=37715,e.exports=s},52305:function(e,t,n){Promise.resolve().then(n.bind(n,82094)),Promise.resolve().then(n.bind(n,39791)),Promise.resolve().then(n.bind(n,29827)),Promise.resolve().then(n.bind(n,84147)),Promise.resolve().then(n.bind(n,2868)),Promise.resolve().then(n.bind(n,17026)),Promise.resolve().then(n.bind(n,21770)),Promise.resolve().then(n.bind(n,76451)),Promise.resolve().then(n.bind(n,8164)),Promise.resolve().then(n.bind(n,71632)),Promise.resolve().then(n.bind(n,83244)),Promise.resolve().then(n.bind(n,47985)),Promise.resolve().then(n.bind(n,97984)),Promise.resolve().then(n.bind(n,22738)),Promise.resolve().then(n.bind(n,84520))},70764:function(e,t,n){var r=n(4578),s=n(81690),i=n(56569),o=n(25614),c=n(5629),a=n(98051),u=n(35365),l=n(9792),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(c(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||a(e)||l(e)||i(e)))return!e.length;var t=s(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},22738:function(e,t,n){"use strict";var r=n(57437),s=n(2265),i=n(2874),o=n(70764),c=n.n(o),a=n(42586),u=n(57381),l=n(97632),d=n(30637),f=n(74059),p=n(85121);t.default=()=>{var e,t;let n=(0,a.useTranslations)(),[o,v]=(0,s.useState)({categoryType:2,sort:1}),h=(0,p.Z)({queryKey:["ideasss101",o],queryFn:e=>{let{pageParam:t}=e;return(0,d.Eb)({...o,pageNumber:t,pageSize:32})}}),{ref:g}=(0,f.Z)({reactQueryConfig:{isError:h.isError,isFetching:h.isFetching,fetchNextPage:h.fetchNextPage,hasNextPage:h.hasNextPage},listItemCount:(null==h?void 0:null===(e=h.filteredData)||void 0===e?void 0:e.length)||0});return(0,r.jsx)("div",{className:"container mx-auto",children:(0,r.jsxs)("div",{className:"flex flex-1 flex-col my-10 mx-3 md:mx-0",children:[(0,r.jsx)("div",{className:"flex flex-row justify-between items-center mb-5",children:(0,r.jsx)("div",{className:"font-bold text-[24px]",children:n("header.ideasss101")})}),(0,r.jsxs)("div",{className:"min-h-[70vh]",children:[c()(null==h?void 0:h.filteredData)?(0,r.jsx)("div",{className:"flex items-center justify-center my-5",children:(null==h?void 0:h.isDataLoading)?(0,r.jsx)(i.Loader,{}):(0,r.jsx)(u.Z,{})}):(0,r.jsx)("div",{className:"grid lg:grid-cols-4 md:grid-cols-2 grid-cols-1 gap-4",children:null==h?void 0:null===(t=h.filteredData)||void 0===t?void 0:t.map(e=>(0,r.jsx)(l.Z,{news:e,showFooter:!1,href:e.url||"/ideasss101/".concat(e.id)},e.id))}),(0,r.jsx)("span",{ref:g})]})]})})}},57381:function(e,t,n){"use strict";var r=n(57437);n(2265);var s=n(61994),i=n(42586);t.Z=e=>{let{title:t,className:n}=e,o=(0,i.useTranslations)(),c=t||o("work.empty");return(0,r.jsxs)("div",{className:(0,s.Z)("flex items-center justify-center flex-col gap-2",n),children:[(0,r.jsx)("img",{src:"/images/empty-icon.svg",alt:"empty",className:"w-[50px] h-[50px]"}),(0,r.jsx)("div",{className:"text-gray-500",children:c})]})}},97632:function(e,t,n){"use strict";var r=n(57437),s=n(55854);n(2265);var i=n(33145),o=n(33037),c=n(61994),a=n(49089),u=n(61273),l=n(19967);t.Z=e=>{let{news:t,showFooter:n=!0,hasShadow:d=!1,href:f}=e;return(0,r.jsxs)(l.rU,{className:(0,c.Z)("rounded-primary bg-white hover:shadow-lg cursor-pointer card-styles",d&&"shadow-lg"),href:f||"",children:[(0,r.jsx)("div",{className:"w-full h-[250px] max-h-[250px]",children:(0,r.jsx)(i.default,{src:(null==t?void 0:t.cover)||"",height:250,width:1e3,style:{borderTopLeftRadius:"15px",borderTopRightRadius:"15px",objectFit:"cover",height:"250px"},alt:(null==t?void 0:t.title)||""})}),(0,r.jsxs)("div",{className:"p-3",children:[(0,r.jsx)(o.Tooltip,{label:null==t?void 0:t.title,radius:"md",children:(0,r.jsx)("div",{className:"font-bold truncate text-lg",children:null==t?void 0:t.t
1itle})}),(0,r.jsx)("div",{className:"text-subTitle text-sm mt-3 line-clamp-2 min-h-[60px]",children:null==t?void 0:t.description}),n&&(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("div",{className:"text-subTitle text-base",children:(0,s.R)(null==t?void 0:t.releaseTime).fromNow()}),(0,r.jsxs)("div",{className:"flex flex-row items-center gap-1",children:[(0,r.jsx)(u.$0H,{color:"#FF7D33"}),(0,r.jsx)("div",{children:null==t?void 0:t.likeCount}),(0,r.jsx)(a.QJe,{color:"#FF7D33"}),(0,r.jsx)("div",{children:null==t?void 0:t.favorCount})]})]})]})]})}},19967:function(e,t,n){"use strict";n.d(t,{jD:function(){return u},rU:function(){return c},tv:function(){return l}});var r=n(99376),s=n(53795),i=n(87301);let o=["en","zh"];(0,i.cF)(async e=>{let{locale:t}=e;return o.includes(t)||(0,r.notFound)(),{messages:(await n(37715)("./".concat(t,".json"))).default,timeZone:"America/Dawson_Creek"}});let{Link:c,redirect:a,usePathname:u,useRouter:l}=(0,s.iV)({locales:o,localePrefix:"as-needed"})},72089:function(e,t,n){"use strict";n.d(t,{Fd:function(){return s},GR:function(){return o},JR:function(){return c},Xq:function(){return i}});var r=n(44816);let s=async()=>r.Z.post("/user/shop/cart/list",{}),i=async e=>r.Z.post("/user/shop/cart/add",e),o=async e=>r.Z.post("/user/shop/cart/remove",{id:e}),c=async e=>r.Z.post("/user/non_competition/work/order/cart/submit",e)},30637:function(e,t,n){"use strict";n.d(t,{Dg:function(){return c},EN:function(){return u},Eb:function(){return s},eX:function(){return o},f9:function(){return i},u6:function(){return a}});var r=n(44816);let s=async e=>r.Z.post("/news/pages",e),i=async e=>r.Z.post("/news/detail/".concat(e)),o=async e=>r.Z.post("/news/like/".concat(e),{id:e,operation:!0}),c=async e=>r.Z.post("/news/cancel_like/".concat(e),{id:e,operation:!1}),a=async e=>r.Z.post("/news/favor/".concat(e),{id:e,operation:!0}),u=async e=>r.Z.post("/news/cancel_favor/".concat(e),{id:e,operation:!0})},10084:function(e,t,n){"use strict";n.d(t,{CG:function(){return s},Cp:function(){return f},Cs:function(){return o},J7:function(){return x},MH:function(){return g},OH:function(){return v},QF:function(){return y},Rx:function(){return k},SA:function(){return Z},T9:function(){return P},Uh:function(){return u},Uk:function(){return d},Xp:function(){return p},ZD:function(){return T},Zk:function(){return h},_P:function(){return N},g4:function(){return F},gQ:function(){return b},hq:function(){return C},n4:function(){return c},nM:function(){return a},o4:function(){return E},oN:function(){return w},of:function(){return m},uE:function(){return j},uJ:function(){return l},vE:function(){return i}});var r=n(44816);let s=async e=>r.Z.post("/designers/profile",e),i=async e=>r.Z.post("/designers/pages",e),o=async e=>r.Z.post("/index/designers",e),c=async()=>r.Z.post("/user/profile",{}),a=async()=>r.Z.get("/country/selection"),u=async e=>r.Z.get("/country/city/".concat(e)),l=async e=>r.Z.post("/user/email/build/code",e),d=async e=>r.Z.post("/user/email/build",e),f=async e=>r.Z.post("/user/password/change",e),p=async e=>r.Z.post("/user/account/balance_new",{type:e}),v=async e=>r.Z.post("/user/fw8bean",e),h=async e=>r.Z.post("/user/other/profile/".concat(e),{userId:e}),g=async e=>r.Z.post("/user/message/pages",e),m=async()=>r.Z.post("/user/message/count"),y=async e=>r.Z.post("/user/profile/edit",e),x=async e=>r.Z.post("/user/concern/follows",e),b=async e=>r.Z.post("/user/concern/fans",e),w=async e=>r.Z.post("/user/concern/add/".concat(e),{otherId:e,operation:!1}),Z=async e=>r.Z.post("/user/concern/cancel/".concat(e),{otherId:e,operation:!0}),j=async e=>r.Z.post("/sys/user/subscriber/email/create",{emailAddress:e}),N=async()=>r.Z.post("/expert/apply/last"),P=async e=>r.Z.post("/expert/apply",e),k=async e=>r.Z.post("/expert/need/pages",e),C=async e=>r.Z.post("/expert/need/work/pages",e),F=async e=>r.Z.post("/user/withdrawal/apply",e),E=async e=>r.Z.post("/user/withdrawal/pages",{type:e}),T=async e=>r.Z.post("/concat/saveOrUpd",e)},73664:function(e,t,n){"use strict";n.d(t,{E8:function(){return i},H6:function(){return c},aR:function(){return a},bW:function(){return o},gZ:function(){return s}}),n(83079);var r=n(12119),s=(0,r.$)("d00f6e6669e0d20b60e38714395bec1cb67ac5b6"),i=(0,r.$)("acc87fcbb370ae50bc79405f641236c399346536"),o=(0,r.$)("2b7f8974e44cd87a269c88cbf86e789744ea4c23"),c=(0,r.$)("b1c773bc44379b18bbfe58788d21d4054664d65e"),a=(0,r.$)("a1e91ca716795213acfe9435c1df0308d2b4ec52")},84520:function(e,t,n){"use strict";n.r(t),n.d(t,{useAuthStore:function(){return u}});var r=n(59625),s=n(89134),i=n(45896),o=n(72089),c=n(10084),a=n(73664);let u=(0,r.Ue)((0,s.tJ)(e=>({auth:void 0,profile:void 0,setAuth:async t=>{await (0,a.E8)((null==t?void 0:t.acceptToken)||""),e(()=>({auth:t}))},getSelfProfile:async()=>{try{let t=await (0,c.n4)();1===t.code?e(()=>({profile:t.data})):(0,i.s9)({title:(null==t?void 0:t.message)||""})}catch(e){(0,i.s9)({title:null==e?void 0:e.message})}},getSelfCartItem:async()=>{try{let t=await (0,o.Fd)();1===t.code?e(()=>({cart:t.data})):(0,i.s9)({title:(null==t?void 0:t.message)||""})}catch(e){(0,i.s9)({title:null==e?void 0:e.message})}},setTaxFiles:(t,n)=>e(e=>({profile:{...e.profile,fw8benName:t,fw8benUrl:n}})),patchProfile:t=>e(()=>({profile:t})),setNFTAddress:t=>e(e=>({...e,profile:{...e.profile,nftAddress:t}})),setNFTWalletToken:t=>e(e=>({...e,profile:{...e.profile,nftWalletToken:t}})),setFirstLogin:t=>{e(e=>({...e,auth:{...null==e?void 0:e.auth,firstLogin:t}}))},setLogout:async()=>{await (0,a.H6)(),e(()=>({auth:void 0,profile:void 0}))}}),{name:"ideasss-auth",storage:(0,s.FL)(()=>localStorage)}))},44816:function(e,t,n){"use strict";var r=n(64906),s=n(73664),i=n(84520);let o=r.Z.create({baseURL:"https://ideasss.com/api",headers:{}});o.interceptors.request.use(async e=>{let t=await (0,s.bW)();return t&&(e.headers["Authority-Token"]=t),e}),o.interceptors.response.use(e=>(-2===e.data.code&&(0,i.useAuthStore.getState().setLogout)(),e.data),async e=>(e.config,e.response,Promise.reject(e.response))),t.Z=o},55854:function(e,t,n){"use strict";n.d(t,{R:function(){return x}});var r=n(71096),s=n.n(r),i=n(13257),o=n.n(i),c=n(70397),a=n.n(c),u=n(70063),l=n.n(u),d=n(14597),f=n.n(d),p=n(45721),v=n.n(p),h=n(16206),g=n.n(h),m=n(77292),y=n.n(m);n(70939),n(5639);let x=s();s().extend(g()),s().extend(o()),s().extend(y()),s().extend(f()),s().extend(a()),s().extend(l()),s().extend(v())},45896:function(e,t,n){"use strict";n.d(t,{LX:function(){return s},hX:function(){return o},s9:function(){return i}});var r=n(45764);let s=e=>{r.notifications.show({title:"Success",message:null==e?void 0:e.title,radius:"10px",color:"green",autoClose:3e3,withCloseButton:!0})},i=e=>{r.notifications.show({title:"Error",message:null==e?void 0:e.title,radius:"10px",color:"red",autoClose:3e3,withCloseButton:!0})},o=(e,t)=>{if(!e||!t)return"";let n="";return[1,4,5,6,7,8,9].includes(e)&&(n="/competition/".concat(t)),[3,11].includes(e)&&(n="/ideas/".concat(t)),[10].includes(e)&&(n="/source-file/".concat(t)),[13,14].includes(e)&&(n="/profile/me"),[16,17].includes(e)&&(n="/profile/nft"),[18,19].includes(e)&&(n="/profile/source-file/uploads"),n}},74059:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(2265),s=n(88664);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{threshold:t=.9,reactQueryConfig:n,listItemCount:i=0}=e,{isError:o=!0,isFetching:c=!1,fetchNextPage:a=null,hasNextPage:u=!1}=n||{},{inView:l,ref:d}=(0,s.YD)({threshold:t,skip:c||!u,delay:500});return(0,r.useEffect)(()=>{!o&&0!==i&&l&&!c&&a&&a()},[l,o,c]),{ref:d}}},85121:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(2868);function s(e,t){var n,s,i,o,c;let{queryKey:a,queryFn:u,meta:l={},getNextPageParam:d,...f}=e,{defaultPageNumber:p=1}=t||{},v=(0,r.useInfiniteQuery)({queryKey:a,queryFn:u,getNextPageParam:d||((e,t)=>e.data.pages!==t.length?e.data.current+1:void 0),initialPageParam:p,...f}),{data:h,isLoading:g,isFetchingNextPage:m,fetchStatus:y,isFetching:x}=v;return{filteredData:(null!==(o=null==h?void 0:h.pages)&&void 0!==o?o:[]).flat().map(e=>e.data.records).flat(),isDataLoading:g||m||"fetching"===y,initialLoading:x&&!m,totalCount:null!==(c=null==h?void 0:null===(i=h.pages)||void 0===i?void 0:null===(s=i[0])||void 0===s?void 0:null===(n=s.data)||void 0===n?void 0:n.total)&&void 0!==c?c:0,...v}}},61994:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=function e(t){var n,r,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(s&&(s+=" "),s+=r)}else for(r in t)t[r]&&(s&&(s+=" "),s+=r)}return s}(e))&&(r&&(r+=" "),r+=t);return r}},88664:function(e,t,n){"use strict";n.d(t,{YD:function(){return u}});var r=n(2265),s=Object.defineProperty,i=new Map,o=new WeakMap,c=0,a=void 0;function u(){var e;let{threshold:t,delay:n,trackVisibility:s,rootMargin:u,root:l,triggerOnce:d,skip:f,initialInView:p,fallbackInView:v,onChange:h}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[g,m]=r.useState(null),y=r.useRef(),[x,b]=r.useState({inView:!!p,entry:void 0});y.current=h,r.useEffect(()=>{let e;if(!f&&g)return e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;if(void 0===window.IntersectionObserver&&void 0!==r){let s=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:s,intersectionRect:s,rootBounds:s}
1),()=>{}}let{id:s,observer:u,elements:l}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return"".concat(t,"_").concat("root"===t?(n=e.root)?(o.has(n)||(c+=1,o.set(n,c.toString())),o.get(n)):"0":e[t])}).toString(),n=i.get(t);if(!n){let r;let s=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var n;let i=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=s.get(t.target))||n.forEach(e=>{e(i,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:s},i.set(t,n)}return n}(n),d=l.get(e)||[];return l.has(e)||l.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(l.delete(e),u.unobserve(e)),0===l.size&&(u.disconnect(),i.delete(s))}}(g,(t,n)=>{b({inView:t,entry:n}),y.current&&y.current(t,n),n.isIntersecting&&d&&e&&(e(),e=void 0)},{root:l,rootMargin:u,threshold:t,trackVisibility:s,delay:n},v),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,g,l,u,d,f,s,v,n]);let w=null==(e=x.entry)?void 0:e.target,Z=r.useRef();g||!w||d||f||Z.current===w||(Z.current=w,b({inView:!!p,entry:void 0}));let j=[m,x.inView,x.entry];return j.ref=j[0],j.inView=j[1],j.entry=j[2],j}r.Component}},function(e){e.O(0,[7699,7240,4469,6649,5571,2494,5292,8416,5784,8492,7682,9781,484,7393,3037,2971,6997,1744],function(){return e(e.s=52305)}),_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.