PageSourceSearch

https://voggt.com/_next/static/chunks/pages/search-5327ebde4b7dfeb3.js

js voggt.com collected 2026-09-25 14:15:28 UTC 15,305 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[612],{20972:(e,l,r)=>{"use strict";r.d(l,{D:()=>c});var a=r(37876),t=r(48230),s=r.n(t),n=r(43271),i=r(88067),o=r(83742);let c=e=>{let{redirectTo:l,title:r,primaryColor:t,shapeUrl:c}=e,d=(0,n.n)(t);return(0,a.jsxs)(s(),{href:l,className:"flex bg-subtle-light dark:bg-subtle-dark py-0.5 rounded-[4px] gap-1.5 flew-row w-fit px-1 items-center ",children:[(0,a.jsx)(i.y,{className:"h-3 w-3",background:d,shapeUrl:c}),(0,a.jsx)(o.E,{text:r,variant:"text-xs-semibold",color:"text-primaryA"})]})}},22566:(e,l,r)=>{"use strict";r.d(l,{V:()=>o});var a=r(37876),t=r(14232),s=r(37626),n=r(52043),i=r(47417);let o=e=>{let{shows:l,title:r,titleTag:o="h2"}=e,{t:c}=(0,s.B)();return 0===l.length?null:(0,a.jsxs)("div",{className:"flex flex-col gap-4 @container",children:[r&&(0,a.jsx)(i.h,{as:o,variant:"text-xl",text:c(r)}),(0,a.jsx)("ul",{className:"scallable-infinite-grid",children:l.map(e=>(0,t.createElement)(n.o,{...e,key:e.id}))})]})}},27358:(e,l,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return r(98889)}])},49680:(e,l,r)=>{"use strict";r.d(l,{AU:()=>s,Bd:()=>n,lQ:()=>a,on:()=>t,w2:()=>i});var a=function(){};function t(e){for(var l=[],r=1;r<arguments.length;r++)l[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,l)}function s(e){for(var l=[],r=1;r<arguments.length;r++)l[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,l)}var n=!0,i="undefined"!=typeof navigator},52043:(e,l,r)=>{"use strict";r.d(l,{o:()=>p});var a=r(37876),t=r(18847),s=r.n(t),n=r(48230),i=r.n(n),o=r(38688),c=r(78810),d=r(87328),u=r(30616),x=r(20972),m=r(83742),f=r(92515);let h=s()(()=>r.e(994).then(r.bind(r,80994)).then(e=>e.LiveDate),{loadableGenerated:{webpack:()=>[80994]},ssr:!1}),p=e=>{var l;let{avatar:r,category:t,id:s,isFeatured:n=!1,isLive:p,isPremier:v=!1,parentCategory:g,startDate:y,thumbnail:j,title:b,trackingFunction:w,username:N,viewerCount:k,disableSeller:S=!1,disableShowDetail:C=!1,isAnniversary:_=!1}=e,I=null==g?void 0:g.primaryColor,P="/category/".concat((0,c._k)(g.id,g.name),"/").concat((0,c._k)(t.id,t.name));return(0,a.jsxs)("article",{className:"flex flex-col gap-3 ",children:[(0,a.jsxs)(i(),{href:"/shows/".concat(s),className:(0,o.A)("relative cursor-pointer box-content","object-cover aspect-[2/3] rounded-2xl ","border border-mid-light dark:border-mid-dark hover:opacity-100 opacity-90 transition-all duration-300 rounded-2xl",v&&"show-card-premier-border rounded-xl",n&&"show-card-featured-border rounded-xl"),onClick:()=>null==w?void 0:w(),target:"_self",children:[(0,a.jsx)("div",{className:"absolute top-3 w-full z-10 left-0 right-0 flex flex-row gap-1 flex-wrap pl-3",children:p?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.x,{}),(0,a.jsx)(f.S,{viewerCount:k||0})]}):(0,a.jsx)(h,{date:y||new Date})}),(0,a.jsx)("img",{className:(0,o.A)("object-cover aspect-[2/3] w-full rounded-2xl",v&&"rounded-xl p-1",n&&"rounded-xl p-1"),src:j||"",alt:b,loading:"lazy"}),_?(0,a.jsx)("img",{src:"/images/anniversary-badge.webp",className:"absolute bottom-4 right-4 z-20",alt:"anniversary badge",width:64,height:64}):null]}),(0,a.jsxs)("section",{className:"flex flex-col gap-2 md:flex-row",children:[S?null:(0,a.jsxs)("div",{className:"max-md:flex max-md:gap-2 flex-row items-center md:items-start md:min-h-[32px] md:min-w-[32px]",children:[(0,a.jsx)(u.e,{imageUrl:null!=r?r:void 0,fallback:N,desktopSize:"M",mobileSize:"S",path:"/".concat(N)}),(0,a.jsx)(i(),{href:"/".concat(N),target:"_blank",className:"text-1-line-ellipsis md:hidden",children:(0,a.jsx)(m.E,{text:N,variant:"text-small",color:"text-secondary"})})]}),C?null:(0,a.jsxs)("div",{className:"overflow-hidden",children:[(0,a.jsx)(i(),{href:"/shows/".concat(s),target:"_blank",className:"text-2-line-ellipsis",children:(0,a.jsx)(m.E,{text:b,variant:"text-base-semibold",color:"text-primaryA"})}),S?null:(0,a.jsx)(i(),{href:"/".concat(N),target:"_blank",className:"mb-1 text-1-line-ellipsis hidden md:block",children:(0,a.jsx)(m.E,{text:N,variant:"text-small",color:"text-secondary",className:"hidden md:block"})}
1),(0,a.jsx)(x.D,{primaryColor:null!=I?I:"#FFF",redirectTo:P,shapeUrl:null!=(l=null==g?void 0:g.shapeUrl)?l:"",title:t.name})]})]})]})}},74132:(e,l,r)=>{"use strict";function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=Math.random();return Math.floor(r*(l-e))+e}function t(e){return new Intl.NumberFormat("en",{notation:"compact"}).format(e)}r.d(l,{H:()=>a,X:()=>t})},75573:(e,l,r)=>{"use strict";r.d(l,{l$:()=>o,Zp:()=>i,UN:()=>s,sC:()=>t,ji:()=>c});var a=r(27158);let t=e=>(null==e?void 0:e.__typename)==="StreamInfoMuxHls",s=e=>(null==e?void 0:e.__typename)==="StreamInfoIVSHls",n=e=>(null==e?void 0:e.__typename)==="StreamInfoIVSWebRTC",i=e=>{if(t(e)||s(e))return a.$_.Rtmp;if(n(e))return a.$_.WebRtc;if(void 0!==e)throw Error("Unknown stream type")},o=e=>t(e)||s(e)?e.url:(n(e),null),c=e=>!!e&&"TokenGenerated"===e.__typename},75767:(e,l,r)=>{"use strict";r.d(l,{p:()=>s});var a=r(78810),t=r(75573);function s(e){var l,r,s,n,i,o,c;return{id:+(0,a.ks)(e.id),thumbnail:e.thumbnailWebPUrl,title:e.title,username:null!=(o=null==(l=e.seller)?void 0:l.username)?o:"",category:{id:e.category.id,name:e.category.name},parentCategory:{id:e.category.parentCategory.id,name:e.category.parentCategory.name,primaryColor:e.category.parentCategory.primaryColor,secondaryColor:e.category.parentCategory.secondaryColor,shapeUrl:e.category.parentCategory.shapeUrl},isLive:e.isBroadcasting,avatar:null==(r=e.seller)?void 0:r.avatarWebPUrl,broadcastUrl:null!=(c=(0,t.l$)(e.streamInfo))?c:"",startDate:e.startAt,frame:null==(n=e.seller)||null==(s=n.cosmetics)?void 0:s.avatarFrame,isInfluencer:null==(i=e.seller)?void 0:i.isInfluencer,isPremier:e.isPremier,isFeatured:e.isFeatured,viewerCount:e.presentUsers.totalCount,isAnniversary:e.isAnniversary}}},92515:(e,l,r)=>{"use strict";r.d(l,{S:()=>n});var a=r(37876),t=r(88388),s=r(83742);let n=e=>{let{viewerCount:l}=e;return(0,a.jsxs)("div",{className:" flex items-center justify-center gap-1 rounded-lg py-0.5 px-2 bg-[#00000066]",children:[(0,a.jsx)(t.F,{icon:"User",className:"stroke-white"}),(0,a.jsx)(s.E,{text:String(l),color:"text-primaryBA",variant:"text-base",className:"!text-[13px] leading-5 font-PPMori text-center"})]})}},98889:(e,l,r)=>{"use strict";r.r(l),r.d(l,{__N_SSP:()=>z,default:()=>A});var a=r(37876),t=r(14232),s=r(49680);let n=function(e,l,r){if(!s.Bd)return[l,s.lQ,s.lQ];if(!e)throw Error("useLocalStorage key may not be falsy");var a=r?r.raw?function(e){return e}:r.deserializer:JSON.parse,n=(0,t.useRef)(function(e){try{var t=r?r.raw?String:r.serializer:JSON.stringify,s=localStorage.getItem(e);if(null!==s)return a(s);return l&&localStorage.setItem(e,t(l)),l}catch(e){return l}}),i=(0,t.useState)(function(){return n.current(e)}),o=i[0],c=i[1];(0,t.useLayoutEffect)(function(){return c(n.current(e))},[e]);var d=(0,t.useCallback)(function(l){try{var t="function"==typeof l?l(o):l;if(void 0===t)return;var s=void 0;s=r?r.raw?"string"==typeof t?t:JSON.stringify(t):r.serializer?r.serializer(t):JSON.stringify(t):JSON.stringify(t),localStorage.setItem(e,s),c(a(s))}catch(e){}},[e,c]);return[o,d,(0,t.useCallback)(function(){try{localStorage.removeItem(e),c(void 0)}catch(e){}},[e,c])]};var i=r(28339),o=r(2766),c=r(37626),d=r(73125),u=r(56220);let x=()=>{let{t:e}=(0,c.B)(),{currentSearch:l}=(0,u.HF)(),{setSearch:r,resetSearch:s}=(0,u.V6)(),n=(0,t.useRef)(null),[i,o]=(0,t.useState)(l);return(0,a.jsxs)("div",{className:"relative w-full lg:hidden",children:[(0,a.jsx)("input",{ref:n,value:i,className:"h-[44px] w-full appearance-none text-ellipsis rounded-full border border-black-110 dark:border-black-140 border-opacity-100 dark:bg-black-150 bg-opacity-100 py-4 px-10 text-sm transition-all duration-200 placeholder:text-[12px] md:text-[16px]",onChange:e=>{o(e.target.value),r(e.target.value)},placeholder:e("common:glossary.searchPlaceholder")}),(0,a.jsx)("div",{className:"absolute top-0 left-3 flex h-full items-center",children:(0,a.jsx)(d.j,{size:"sm",type:d.y.SEARCH})}),l.trim().length?(0,a.jsx)("div",{className:"absolute top-0 right-4 flex h-full cursor-pointer items-center",onClick:s,children:(0,a.jsx)(d.j,{size:"sm",type:d.y.CROSS})}):null]})};var m=r(65422),f=r(78810),h=r(41567),p=r(64779),v=r(83884),g=r(14613);let y=()=>{var e;let{t:l}=(0,c.B)(),{activeTab:r,currentSearch:t}=(0,u.HF)(),s=r!==i.f.PRODUCTS,{data:n,fetchMore:o,loading:d}=(0,p.sh)({variables:{input:t,first:30},skip:s,fetchPolicy:"network-only"}),x=(null==n?void 0:n.searchProducts.edges.map(e=>({...(0,h.Fk)(e.node),path:"/products/".concat((0,f.ks)(e.node.id),"?key=").concat(t.toLowerCase().replace(/ /g,"-"))})))||[],y=null!=(e=null==n?void 0:n.searchProducts.pageInfo)?e:null,j=(null==y?void 0:y.hasNextPage)||!1;return s?null:d?(0,a.jsx)("div",{className:"flex h-full w-full flex-1 items-center justify-center ",children:(0,a.jsx)(v.B,{})}):(0,a.jsx)(m.A,{scrollThreshold:.92,next:()=>{o({variables:{after:null==y?void 0:y.endCursor}})},hasMore:j,loader:(0,a.jsx)("div",{className:"flex h-full w-full flex-1 items-center justify-center ",children:(0,a.jsx)(v.B,{})}),dataLength:x.length,className:"no-scrollbar",children:(0,a.jsx)(g.b,{products:x,title:l("common:search.productTitle",{count:(null==n?void 0:n.searchProducts.totalCount)||0})})})};var j=r(75767),b=r(22566);let w=()=>{var e;let{t:l}=(0,c.B)(),{activeTab:r,currentSearch:t}=(0,u.HF)(),s=r!==i.f.SHOWS,{data:n,fetchMore:o,loading:d}=(0,p.qp)({variables:{input:t,first:30},skip:s,fetchPolicy:"network-only"}),x=(null==n?void 0:n.searchShows.edges.map(e=>({...(0,j.p)(e.node),path:"/products/".concat((0,f.ks)(e.node.id),"?key=").concat(t.toLowerCase().replace(/ /g,"-"))})))||[],h=null!=(e=null==n?void 0:n.searchShows.pageInfo)?e:null,g=(null==h?void 0:h.hasNextPage)||!1;return s?null:d?(0,a.jsx)("div",{className:"flex h-full w-full flex-1 items-center justify-center ",children:(0,a.jsx)(v.B,{})}):(0,a.jsx)(m.A,{scrollThreshold:.92,next:()=>{o({variables:{after:null==h?void 0:h.endCursor}})},hasMore:g,loader:(0,a.jsx)("div",{className:"flex h-full w-full flex-1 items-center justify-center ",children:(0,a.jsx)(v.B,{})}),dataLength:x.length,className:"no-scrollbar",children:(0,a.jsx)(b.V,{shows:x,title:l("common:search.showTitle",{count:(null==n?void 0:n.searchShows.totalCount)||0})})})};var N=r(89099),k=r(2613),S=r(38688),C=r(74132),_=r(36460),I=r(48288),P=r(19344);let E=e=>{let{isInfluencer:l,isSeller:r,onClick:t,avatarWebPUrl:s,frame:n,username:i,sellerRating:o,sellerRatingsCount:u,followers:x}=e,{t:m}=(0,c.B)();return(0,a.jsxs)("div",{className:(0,S.A)("flex cursor-pointer flex-col rounded-2xl dark:bg-black-150 px-3 py-4 bg-gray-100","aspect-square"),onClick:t,children:[(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,a.jsx)(P.e,{avatar:s,name:i,className:"h-24 w-24 text-2xl",frame:n,classNameShape:"border-4",classNameBand:"max-w-[20px] bottom-[-12px]"})}),(0,a.jsx)("div",{className:"flex flex-grow items-center break-all",children:(0,a.jsx)(_.n,{variant:"body1",className:(0,S.A)("w-full text-center text-[16px]",n?"mt-4":"mt-2"),children:"@".concat(i)})}),(0,a.jsxs)(I.P,{variant:"callout3",className:"w-full text-center dark:text-black-130",children:[m(r?"common:glossary.seller":"common:glossary.collector"),l&&(0,a.jsx)("span",{className:"inline",children:(0,a.jsx)(d.j,{type:d.y.INFLUENCER,size:"xxs",className:"mx-1 inline flex-shrink-0 -translate-y-[1px]"})})]})]}),(0,a.jsxs)("div",{className:"mt-4 flex flex-grow flex-col justify-end gap-y-2",children:[o&&(0,a.jsxs)("div",{className:"mt-auto flex h-fit w-full items-center gap-x-1",children:[(0,a.jsx)(d.j,{type:d.y.STAR_FILLED,size:"sm",className:"inline-block flex-shrink-0 -translate-y-[1px] text-accents-yellow-150"}),(0,a.jsx)("span",{className:"inline-block leading-none",children:"".concat(o," ").concat(u>0?"(".concat(u,")"):"")})]}),(0,a.jsx)("span",{className:"flex h-fit items-center",children:(0,a.jsxs)("span",{className:"leading-none",children:[(0,a.jsx)(d.j,{type:d.y.USERS,size:"sm",className:"inline-block flex-shrink-0 -translate-y-[2px]"}),(0,a.jsx)("span",{className:"px-1 capitalize",children:(0,a.jsx)(k.x,{i18nKey:"common:glossary.followers",components:{val:(0,a.jsx)(a.Fragment,{}),desc:(0,a.jsx)(a.Fragment,{})},values:{countFormatted:(0,C.X)(x),count:x}})})]})})]})]})};var U=r(47417);let F=()=>{var e;let{t:l}=(0,c.B)(),{trackEvent:r}=(0,o.O)(),t=(0,N.useRouter)(),{activeTab:s,currentSearch:n}=(0,u.HF)(),d=s!==i.f.PROFILES,{data:x,fetchMore:f,loading:h}=(0,p.XK)({variables:{input:n,first:30},skip:d,fetchPolicy:"network-only"}),g=(null==x?void 0:x.searchSellersByUsername.edges.map(e=>{var l;return{type:"User",id:e.node.id,legacyId:e.node.legacyId,avatarWebPUrl:e.node.avatarWebPUrl,username:e.node.username,frame:null==(l=e.node.cosmetics)?void 0:l.avatarFrame,isSeller:e.node.isSeller,isInfluencer:e.node.isInfluencer,followers:e.node.followers.totalCount,sellerRatingsCount:e.node.sellerRatingsCount,sellerRating:e.node.sellerRating}}))||[],y=null!=(e=null==x?void 0:x.searchSellersByUsername.pageInfo)?e:null,j=(null==y?void 0:y.hasNextPage)||!1;return d?null:h?(0,a.jsx)("div",{className:"flex h-full w-full flex-1 items-center justify-center ",children:(0,a.jsx)(v.B,{})}):(0,a.jsx)(m.A,{scrollThreshold:.92,next:()=>{f({variables:{after:null==y?void 0:y.endCursor}})},hasMore:j,loader:(0,a.jsx)("div",{className:"flex h-full w-full flex-1 items-center justify-center ",children:(0,a.jsx)(v.B,{})}),dataLength:g.length,className:"no-scrollbar",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(U.h,{as:"h2",variant:"text-xl",text:l("common:search.profileTitle",{count:(null==x?void 0:x.searchSellersByUsername.totalCount)||0})}),(0,a.jsx)("ul",{className:"scallable-infinite-grid w-full",children:g.map(e=>(0,a.jsx)(E,{id:e.legacyId,isInfluencer:e.isInfluencer,isSeller:e.isSeller,avatarWebPUrl:e.avatarWebPUrl,username:e.username,frame:e.frame,onClick:()=>{r("profile_open",{source:"search"}),t.push({pathname:"/".concat(e.username),query:{userId:e.id}},"/".concat(e.username))},followers:e.followers,sellerRatingsCount:e.sellerRatingsCount,sellerRating:e.sellerRating},"search-profile-result-".concat(e.id)))})]})})};var R=r(97447);let B=()=>(0,a.jsxs)("div",{className:"flex flex-col gap-4 @container",children:[(0,a.jsx)(x,{}),(0,a.jsxs)("div",{className:"flex flex-row w-full gap-2",children:[(0,a.jsx)(L,{tab:i.f.PRODUCTS}),(0,a.jsx)(L,{tab:i.f.PROFILES}),(0,a.jsx)(L,{tab:i.f.SHOWS})]}),(0,a.jsx)(y,{}),(0,a.jsx)(F,{}),(0,a.jsx)(w,{})]}),L=e=>{let{tab:l}=e,{trackEvent:r}=(0,o.O)(),{setActiveTab:t}=(0,u.V6)(),{activeTab:s}=(0,u.HF)(),{t:n}=(0,c.B)(),i=n("common:search.tabs.".concat(l.toLowerCase()));return(0,a.jsx)(R.$,{onClick:()=>{t(l),r("search_filter_selected",{value:l.toLowerCase()})},size:"small",variant:s===l?"primary":"secondary",text:i})};var O=r(49813),z=!0;function A(){let[e,l,r]=n(i.v),{trackEvent:s}=(0,o.O)();return(0,t.useEffect)(()=>()=>{"string"==typeof e&&r(),s("exit_search")},[]),(0,a.jsx)(B,{})}A.getLayout=function(e){return(0,a.jsx)(O.V,{children:e})}}},e=>{e.O(0,[2867,8230,2267,4177,7173,9813,2243,636,6593,8792],()=>e(e.s=27358)),_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.