PageSourceSearch

https://www.wearfigs.com/_next/static/chunks/pages/portals/[collectionHandle]-93b0f3328f9f51b5.js

js wearfigs.com collected 2026-09-24 17:57:24 UTC 1,753 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9566],{46628:(e,r,o)=>{"use strict";o.r(r),o.d(r,{default:()=>f});var t=o(7769),n=o(60905),i=o(15419),l=o(51734),a=o(7548),c=o(42731),s=o(85966),d=o(74965),u=o(20449),g=o(73539);let p=()=>{let{collectionView:e,error:r,status:o}=function(){let{replace:e,query:r}=(0,a.useRouter)(),o=(0,u.LF)(r.collectionHandle,""),{portal:t,error:n,status:i,redirectWhenNotAvailable:g}=(0,s.Z)(),{data:p,loading:f,error:v}=(0,l.I)(d.Xc,{variables:{collectionHandle:o,withPortal:!0}}),{collectionView:w,portal:_}=p??{},h=(0,c.useMemo)(()=>f||"pending"===i?"pending":"rejected"===i||v||!w&&t?"rejected":"resolved",[w,v,f,t,i]),{0:j,1:C}=(0,c.useState)(!1);return(0,c.useEffect)(()=>{if("pending"!==h&&!j){if("rejected"===h){e("/"),C(!0);return}if("resolved"===h)if(t){if(t.collectionHandle!==o){e("/"),C(!0);return}}else g({redirectUrl:window.location.href,navigationMethod:"replace",sso:_?.enableSSO&&_.groupTag?{organizationId:o,organizationShopifyCustomerTag:_.groupTag}:void 0}),C(!0)}},[o,j,t,n,g,e,_?.enableSSO,_?.groupTag,h]),{collectionView:t?w:void 0,collectionHandle:o,status:h,error:v}}();return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(t.I,{collectionView:e??void 0}),(0,g.jsx)(n.i,{collectionView:e??void 0,error:r,loading:!["resolved","rejected"].includes(o)})]})};p.getInitialProps=e=>({responseCacheControl:i.Z.noCache});let f=p},68323:(e,r,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/portals/[collectionHandle]",function(){return o(46628)}])},74965:(e,r,o)=>{"use strict";o.d(r,{Xc:()=>n.X,Cr:()=>i});var t=o(5811);o(93670);var n=o(21451);let i=t.eg7}},e=>{e.O(0,[4135,7674,9233,6593,636,8792],()=>e(e.s=68323)),_N_E=e.O()}]);
2//# sourceMappingURL=[collectionHandle]-93b0f3328f9f51b5.js.map

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.