PageSourceSearch

https://sunmarkweb.com/_next/static/chunks/5650.0fb041baaf41595d.js

js sunmarkweb.com collected 2026-10-04 07:56:01 UTC 8,922 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];if(null!=t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="55b96dc2-2d8c-4be1-98b7-04bd69136598",e._sentryDebugIdIdentifier="sentry-dbid-55b96dc2-2d8c-4be1-98b7-04bd69136598")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5650],{16792:(e,r,t)=>{t.d(r,{Ay:()=>b,WI:()=>d});var n=t(19324),a=t(27434),l=t(57864);let u=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(r=>{e.status="fulfilled",e.value=r},r=>{e.status="rejected",e.reason=r}),e}),i={dedupe:!0};l.qv.defineProperty(l.BE,"defaultValue",{value:l.sb});let s=(0,l.qm)((e,r,t)=>{let{cache:s,compare:o,suspense:d,fallbackData:c,revalidateOnMount:b,revalidateIfStale:f,refreshInterval:g,refreshWhenHidden:h,refreshWhenOffline:m,keepPreviousData:p}=t,[v,y,_,E]=l.bZ.get(s),[w,R]=(0,l.lK)(e),k=(0,n.useRef)(!1),T=(0,n.useRef)(!1),V=(0,n.useRef)(w),C=(0,n.useRef)(r),L=(0,n.useRef)(t),x=()=>L.current.isVisible()&&L.current.isOnline(),[j,A,D,O]=(0,l.r9)(s,w),I=(0,n.useRef)({}).current,M=(0,l.b0)(c)?t.fallback[w]:c,P=(e,r)=>{for(let t in I)if("data"===t){if(!o(e[t],r[t])&&(!(0,l.b0)(e[t])||!o(B,r[t])))return!1}else if(r[t]!==e[t])return!1;return!0},N=(0,n.useMemo)(()=>{let e=!!w&&!!r&&((0,l.b0)(b)?!L.current.isPaused()&&!d&&(!!(0,l.b0)(f)||f):b),t=r=>{let t=(0,l.rL)(r);return(delete t._k,e)?{isValidating:!0,isLoading:!0,...t}:t},n=j(),a=O(),u=t(n),i=n===a?u:t(a),s=u;return[()=>{let e=t(j());return P(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>i]},[s,w]),S=(0,a.useSyncExternalStore)((0,n.useCallback)(e=>D(w,(r,t)=>{P(t,r)||e()}),[s,w]),N[0],N[1]),H=!k.current,F=v[w]&&v[w].length>0,Z=S.data,U=(0,l.b0)(Z)?M:Z,q=S.error,K=(0,n.useRef)(U),B=p?(0,l.b0)(Z)?K.current:Z:U,J=(!F||!!(0,l.b0)(q))&&(H&&!(0,l.b0)(b)?b:!L.current.isPaused()&&(d?!(0,l.b0)(U)&&f:(0,l.b0)(U)||f)),X=!!(w&&r&&H&&J),z=(0,l.b0)(S.isValidating)?X:S.isValidating,Q=(0,l.b0)(S.isLoading)?X:S.isLoading,W=(0,n.useCallback)(async e=>{let r,n,a=C.current;if(!w||!a||T.current||L.current.isPaused())return!1;let u=!0,i=e||{},s=!_[w]||!i.dedupe,d=()=>l.dO?!T.current&&w===V.current&&k.current:w===V.current,c={isValidating:!1,isLoading:!1},b=()=>{A(c)},f=()=>{let e=_[w];e&&e[1]===n&&delete _[w]},g={isValidating:!0};(0,l.b0)(j().data)&&(g.isLoading=!0);try{if(s&&(A(g),t.loadingTimeout&&(0,l.b0)(j().data)&&setTimeout(()=>{u&&d()&&L.current.onLoadingSlow(w,t)},t.loadingTimeout),_[w]=[a(R),(0,l.lg)()]),[r,n]=_[w],r=await r,s&&setTimeout(f,t.dedupingInterval),!_[w]||_[w][1]!==n)return s&&d()&&L.current.onDiscarded(w),!1;c.error=l.ZH;let e=y[w];if(!(0,l.b0)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return b(),s&&d()&&L.current.onDiscarded(w),!1;let i=j().data;c.data=o(i,r)?i:r,s&&d()&&L.current.onSuccess(r,w,t)}catch(t){f();let e=L.current,{shouldRetryOnError:r}=e;!e.isPaused()&&(c.error=t,s&&d()&&(e.onError(t,w,e),(!0===r||(0,l.Tn)(r)&&r(t))&&(!L.current.revalidateOnFocus||!L.current.revalidateOnReconnect||x())&&e.onErrorRetry(t,w,e,e=>{let r=v[w];r&&r[0]&&r[0](l.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(i.retryCount||0)+1,dedupe:!0})))}return u=!1,b(),!0},[w,s]),$=(0,n.useCallback)((...e)=>(0,l.mF)(s,V.current,...e),[]);if((0,l.Es)(()=>{C.current=r,L.current=t,(0,l.b0)(Z)||(K.current=Z)}),(0,l.Es)(()=>{if(!w)return;let e=W.bind(l.ZH,i),r=0,t=(0,l.aw)(w,v,(t,n={})=>{if(t==l.bu.FOCUS_EVENT){let t=Date.now();L.current.revalidateOnFocus&&t>r&&x()&&(r=t+L.current.focusThrottleInterval,e())}else if(t==l.bu.RECONNECT_EVENT)L.current.revalidateOnReconnect&&x()&&e();else if(t==l.bu.MUTATE_EVENT)return W();else if(t==l.bu.ERROR_REVALIDATE_EVENT)return W(n)});return T.current=!1,V.current=w,k.current=!0,A({_k:R}),J&&((0,l.b0)(U)||l.X3?e():(0,l.mf)(e)),()=>{T.current=!0,t()}},[w]),(0,l.Es)(()=>{let e;function r(){let r=(0,l.Tn)(g)?g(j().data):g;r&&-1!==e&&(e=setTimeout(t,r))}function t(){!j().error&&(h||L.current.isVisible())&&(m||L.current.isOnline())?W(i).then(r):r()}return r(),()=>{e&&(clearTimeout(e),e=-1)}}
1,[g,h,m,w]),(0,n.useDebugValue)(B),d&&(0,l.b0)(U)&&w){if(!l.dO&&l.X3)throw Error("Fallback data is required when using suspense in SSR.");C.current=r,L.current=t,T.current=!1;let e=E[w];if((0,l.b0)(e)||u($(e)),(0,l.b0)(q)){let e=W(i);(0,l.b0)(B)||(e.status="fulfilled",e.value=!0),u(e)}else throw q}return{mutate:$,get data(){return I.data=!0,B},get error(){return I.error=!0,q},get isValidating(){return I.isValidating=!0,z},get isLoading(){return I.isLoading=!0,Q}}}),o=e=>(0,l.lK)(e?e(0,null):null)[0],d=e=>l.q9+o(e),c=Promise.resolve(),b=(0,l.Ht)(s,e=>(r,t,u)=>{let i,s=(0,n.useRef)(!1),{cache:d,initialSize:b=1,revalidateAll:f=!1,persistSize:g=!1,revalidateFirstPage:h=!0,revalidateOnMount:m=!1,parallel:p=!1}=u,[,,,v]=l.bZ.get(l.PP);try{(i=o(r))&&(i=l.q9+i)}catch(e){}let[y,_,E]=(0,l.r9)(d,i),w=(0,n.useCallback)(()=>(0,l.b0)(y()._l)?b:y()._l,[d,i,b]);(0,a.useSyncExternalStore)((0,n.useCallback)(e=>i?E(i,()=>{e()}):()=>{},[d,i]),w,w);let R=(0,n.useCallback)(()=>{let e=y()._l;return(0,l.b0)(e)?b:e},[i,b]),k=(0,n.useRef)(R());(0,l.Es)(()=>{if(!s.current){s.current=!0;return}i&&_({_l:g?k.current:R()})},[i,d]);let T=m&&!s.current,V=e(i,async e=>{let n=y()._i,a=y()._r;_({_r:l.ZH});let i=[],s=R(),[o]=(0,l.r9)(d,e),c=o().data,b=[],g=null;for(let e=0;e<s;++e){let[s,o]=(0,l.lK)(r(e,p?null:g));if(!s)break;let[m,y]=(0,l.r9)(d,s),_=m().data,E=f||n||(0,l.b0)(_)||h&&!e&&!(0,l.b0)(c)||T||c&&!(0,l.b0)(c[e])&&!u.compare(c[e],_);if(t&&("function"==typeof a?a(_,o):E)){let r=async()=>{if(s in v){let e=v[s];delete v[s],_=await e}else _=await t(o);y({data:_,_k:o}),i[e]=_};p?b.push(r):await r()}else i[e]=_;p||(g=_)}return p&&await Promise.all(b.map(e=>e())),_({_i:l.ZH}),i},u),C=(0,n.useCallback)(function(e,r){let t="boolean"==typeof r?{revalidate:r}:r||{},n=!1!==t.revalidate;return i?(n&&((0,l.b0)(e)?_({_i:!0,_r:t.revalidate}):_({_i:!1,_r:t.revalidate})),arguments.length?V.mutate(e,{...t,revalidate:n}):V.mutate()):c},[i,d]),L=(0,n.useCallback)(e=>{let t;if(!i)return c;let[,n]=(0,l.r9)(d,i);if((0,l.Tn)(e)?t=e(R()):"number"==typeof e&&(t=e),"number"!=typeof t)return c;n({_l:t}),k.current=t;let a=[],[u]=(0,l.r9)(d,i),s=null;for(let e=0;e<t;++e){let[t]=(0,l.lK)(r(e,s)),[n]=(0,l.r9)(d,t),i=t?n().data:l.ZH;if((0,l.b0)(i))return C(u().data);a.push(i),s=i}return C(a)},[i,d,C,R]);return{size:R(),setSize:L,mutate:C,get data(){return V.data},get error(){return V.error},get isValidating(){return V.isValidating},get isLoading(){return V.isLoading}}})},65650:(e,r,t)=>{t.r(r),t.d(r,{UsersInRelationshipDialog:()=>w});var n=t(97360),a=t(59995),l=t(61219),u=t(34560),i=t(20341),s=t(12201),o=t(60587),d=t(91408),c=t(8930),b=t(50387),f=t(36886),g=t(67577),h=t(16792),m=t(11514),p=t(65154),v=t(32684),y=t(14157),_=t(54544),E=t(16385);function w(e){let r=(0,b.u)(),t=(0,a.Ru)({lang:r,dict:E.j}),{count:w,error:R,isInitialLoadingShown:k,items:T,isLoadingMore:V,isLoadMoreButtonShown:C,loadMore:L}=function(e){let r=(0,y.D6)(),t=(0,_.rt)({creatorHome:p.iQ},r),n=(0,v.L)(),{data:a,error:l,isLoading:u,size:i,setSize:s}=(0,h.Ay)(r=>m.J.path(e,r+1),e=>m.J.process(g.A,e,void 0,n),{revalidateOnFocus:!1,revalidateOnReconnect:!1}),o=(a??[]).reduce((e,{users:r})=>[...e,...r],[]).map(e=>({name:e.nickname??e.urlname??"",urlname:e.urlname??"",href:null!==e.urlname?t.getLinkUrl("creatorHome",{urlname:e.urlname,customDomain:void 0}):"",src:e.profileImageUrl,key:e.key})),d=!1===u&&void 0!==a?a?.[0]?.count??0:0,c=(i>0&&a&&void 0===a[i-1])??!1,b=(a?.[0]?.count??0)>o.length;return{isLoadingMore:c,isLoadMoreButtonShown:b,isInitialLoadingShown:0===o.length&&u,error:l,loadMore:()=>s(i+1),items:o,count:d}}(e.creatorUrlname),x=T.map(e=>({...e,src:new l.fv(e.src).width(32).dpr(2).toString()}));return(0,n.jsxs)(f.E,{modalPurpose:"usersInRelationship",hasCloseButton:!0,onDismiss:e.onClose,children:[(0,n.jsx)(u.A,{children:(0,n.jsxs)("h1",{children:[t("title"),w>0?`(${w})`:null]})}),(0,n.jsxs)(i.A,{unsafeClassName:"relative max-h-[580px] p-0",children:[void 0!==R&&(0,n.jsx)("div",{children:t("error")}),k&&(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,n.jsx)(s.A,{})}),T.length>0&&(0,n.jsx)(d.J,{items:x,slotAnchor:(0,n.jsx)(c.M,{})}),C&&(0,n.jsx)("div",{className:"border-border-default border-t p-4",children:(0,n.jsx)(o.A,{variant:"basic",is
1Full:!0,onPress:L,isDisabled:V,children:V?(0,n.jsx)(s.A,{}):t("loadMore")})})]})]})}}}]);

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.