PageSourceSearch

https://sgj1.ok.com/yongjia/_next/static/chunks/53190-d809c3d88c1fa572.js

js ok.com collected 2026-09-25 21:03:45 UTC 39,845 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53190],{3651:e=>{e.exports={iconImgWrapper:"LanguageDropDown_iconImgWrapper__W7Gad",mainInfoWrapper:"LanguageDropDown_mainInfoWrapper__gP_Et",selectIconImg:"LanguageDropDown_selectIconImg__StQ0J",iconImg:"LanguageDropDown_iconImg__5H8kE",langText:"LanguageDropDown_langText__yRD03",langTooltip:"LanguageDropDown_langTooltip__Bo__x",langListWrapper:"LanguageDropDown_langListWrapper__j1VcQ",langItemWrapper:"LanguageDropDown_langItemWrapper__oEntc",langItem:"LanguageDropDown_langItem__ezUwO",active:"LanguageDropDown_active__vYz8W",countryInfoWrapper:"LanguageDropDown_countryInfoWrapper__eYtf5",countryInfo:"LanguageDropDown_countryInfo__JkqRP",switchButton:"LanguageDropDown_switchButton__r7Q30"}},11892:e=>{e.exports={userInfoArea:"PcUserInfo_userInfoArea__4oq_D",userInfo:"PcUserInfo_userInfo__EWgpb",userAvatarContent:"PcUserInfo_userAvatarContent__OrGYM",userAvatarWrapper:"PcUserInfo_userAvatarWrapper__WTyHl",userAvatar:"PcUserInfo_userAvatar__HRES2",kycIcon:"PcUserInfo_kycIcon__0q2zu",userName:"PcUserInfo_userName__HCaD6",loginButton:"PcUserInfo_loginButton__t93uc",loginButtonText:"PcUserInfo_loginButtonText__PH389",isUnderTintColour:"PcUserInfo_isUnderTintColour__yWooU",userInfoTooltip:"PcUserInfo_userInfoTooltip__9dPgx",textItemWrapper:"PcUserInfo_textItemWrapper__pbSU2",textItemIcon:"PcUserInfo_textItemIcon__JsxOm",textItem:"PcUserInfo_textItem__U9_lm"}},15598:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var a=n(95155),r=n(51941),o=n.n(r),l=n(12115),c=n(56629),i=n.n(c),s=n(96090),d=n(21239),u=n(30445),A=n(51634),p=n(56269),h=n(27043),g=n(29107),m=n(24142),_=n(26139),f=n(29300),v=n.n(f),w=n(5818),x=n(86309),y=n(34540),I=n(79393),k=n(87967);let j=(e,t)=>{if(!t)return"";for(let n of t.split(";")){let[t,...a]=n.trim().split("=");if(t===e)return decodeURIComponent(a.join("="))}return""},C=e=>{let{categoryList:t,headerTextColor:n,selectIcon:r,urlInfo:o,localCode:c,onBeforeNavigate:f}=e,C=(0,h.useTranslations)("Main"),E=(0,u.v5)(),S=(0,I.I)(f),D=[];t&&t.forEach(e=>{Array.isArray(null==e?void 0:e.children)&&D.push(...e.children)});let[N,b]=(0,l.useState)([]),[B,T]=(0,l.useState)(!1),[M,L]=(0,l.useState)(!1),[U,P]=(0,l.useState)([0,-1,-1]),[W,R]=(0,l.useState)([t||[],D]),V=(0,y.d4)(u.gB).cookie;(0,l.useEffect)(()=>{t&&b(t),M||Q()},[]),(0,l.useEffect)(()=>{if(!B)return;let{start:e,cancel:t}=(0,A.a6)(O,1e3);return e(),()=>{t()}},[JSON.stringify(U.slice(0,2)),B]),(0,l.useEffect)(()=>{if(!N)return;let e=[N],t=N;for(let n=0;n<U.length;n++){let a=t[U[n]];if(a&&a.children&&a.children.length>0)e.push(a.children),t=a.children;else break}R(e)},[U,N]);let H=(e,t)=>{P([...U.slice(0,e),t,...Array(2-e).fill(-1)])},O=()=>{var e,t,n,a,r,o;let[l,c]=U,i=null==N?void 0:null===(e=N[l])||void 0===e?void 0:e.name,s=null==N?void 0:null===(t=N[l])||void 0===t?void 0:t.children;if(void 0!==c&&c>=0){let e=null==s?void 0:s[c],t=null==e?void 0:e.name,n=null==e?void 0:e.children;if(n&&n.length>0){let e=null==n?void 0:null===(r=n.map(e=>e.name))||void 0===r?void 0:r.join(","),a=null==n?void 0:null===(o=n.map(e=>e.categoryId))||void 0===o?void 0:o.join(",");p.i.track("home_nevigationbar_browse_show",{category_name:i,Secondarycategory_name:t,Thirdcategory_name:e,cateid:a})}return}let d=null==s?void 0:null===(n=s.map(e=>e.name))||void 0===n?void 0:n.join(","),u=null==s?void 0:null===(a=s.map(e=>e.categoryId))||void 0===a?void 0:a.join(",");p.i.track("home_nevigationbar_browse_show",{category_name:i,Secondarycategory_name:d,cateid:u})},Q=()=>{(0,d.y)("/smartProbe/api/getLevelCates?excludeSelf=1&depth=3").then(e=>{b(e.data||[]),L(!0)})},G=e=>{T(e)},z=e=>{var t,n,a;let r="",o="",l="",c="",[i,s,d]=U,u=null==N?void 0:null===(t=N[i])||void 0===t?void 0:t.name,A=null==N?void 0:null===(n=N[i])||void 0===n?void 0:n.categoryId,h=null==N?void 0:null===(a=N[i])||void 0===a?void 0:a.children;if(r=u,c=A,void 0!==s&&s>=0){let e=null==h?void 0:h[s],t=null==e?void 0:e.name,n=null==e?void 0:e.categoryId;if(o=t||"",c=n||"",void 0!==d&&d>=0){let t=null==e?void 0:e.children,n=null==t?void 0:t[d],a=null==n?void 0:n.name,r=null==n?void 0:n.categoryId;l=a||"",c=r||""}}p.i.track("home_nevigationbar_browser_click",{category_name:r,Secondarycategory_name:o,Thirdcategory_name:l,cateid:c}),G(!1)},Y=(e,t)=>
1{S({to:e,kind:"direct"},()=>{z(t),window.location.href=e})},J=(0,l.useMemo)(()=>{let e=j(x.Ds,V);if(!e.trim()){var n,a,r;return(null==t?void 0:null===(r=t.find(e=>e.biz===w.m3.property))||void 0===r?void 0:null===(a=r.children)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:n.code)||""}return e},[V,t]),K=(e,t)=>{let{code:n,biz:a}=e,r="";if(a===w.m3.property){if(n===w.m3.property)r=J;else if(1===t)r=n;else if(2===t){var l,i;r=null===(i=W[1])||void 0===i?void 0:null===(l=i[U[1]])||void 0===l?void 0:l.code}}a===w.m3.car&&(r=w.m3.car);let s=(0,k.$9)(r);if(null==o?void 0:o.origin){let e=o.origin,t=o.locale?"/".concat(o.locale):"";return"".concat(e).concat(t).concat("/city".concat(c?"-".concat(c):""),"/cate-").concat(n,"/").concat(s)}let d=null==E?void 0:E.city,u=d&&d!==_.yv?"/city-".concat(d):"/city",p=(0,A.MD)(),{seoDomain:h}=(0,A.Gl)();return h+"".concat(p||"")+u+"/cate-".concat(n,"/").concat(s)};return(0,a.jsx)("div",{className:i().thirdLinkageDropdownContainer,children:(0,a.jsxs)("div",{className:v()(i().thirdLinkageDropdown),onClick:()=>{setTimeout(()=>{p.i.track("home_nevigationbar_click",{nevigationbar_name:"browse"})},500),B||G(!0)},onMouseLeave:()=>{P([0,-1,-1]),T(!1)},onMouseEnter:()=>{T(!0)},children:[(0,a.jsxs)("div",{className:i().dropdownButtonWrapper,children:[(0,a.jsx)("div",{className:i().dropdownButton,style:n?{color:n}:{},children:C("ok_h5_navigationbar_browse")}),(0,a.jsx)(g.default,{height:18,width:18,src:r||m.A.src,alt:""})]}),(0,a.jsx)("div",{className:v()(i().dropdownContainer,B?i().showDropdown:""),children:W.map((e,t)=>(0,a.jsx)("div",{"data-allow-scroll":"true",className:v()(i().dropdownColumn,0===t?i().firstColumn:""),children:e.map((e,n)=>(0,a.jsx)("div",{className:v()(i().dropdownItem,U[t]===n?i().dropdownItemActive:""),onMouseOver:()=>H(t,n),children:(0,a.jsx)(s.A,{toSEO:!0,href:K(e,t),className:i().dropdownItemLabel,onClick:n=>{var a,r;null==n||null===(a=n.preventDefault)||void 0===a||a.call(n),null==n||null===(r=n.stopPropagation)||void 0===r||r.call(n),Y(K(e,t),e)},children:e.name})},e.categoryId))},t))})]})})};var E=n(43637),S=n(283);let D=e=>{let{topBarInfo:t,tdkInfoTitle:n,useH1Logo:r,headerTextColor:l,logoUrl:c,selectIcon:i,openInNewTab:s,urlInfo:d,onBeforeNavigate:u}=e,h=(0,I.I)(u),m=()=>{let e=(0,A.MD)(),t=(0,S.xv)(),n=t&&t!==_.yv?"/city-".concat(t):"",{seoDomain:a}=(0,A.Gl)(),r=a+("".concat(e||"")+n+"/"),o=()=>{p.i.track("home_nevigationbar_click",{nevigationbar_name:"logo"}),s?window.open(r,"_blank"):window.location.href=r};if(s){o();return}h({to:r,kind:"direct"},o)};return(0,a.jsxs)("div",{className:o().left,children:[r?(0,a.jsx)("h1",{className:o().leftLogoWrapper,children:(0,a.jsx)(g.default,{width:"120",height:"36",src:c||E.A.src,alt:n||"",onClick:m})}):(0,a.jsx)("div",{className:o().leftLogoWrapper,children:(0,a.jsx)(g.default,{width:"120",height:"36",src:c||E.A.src,alt:n||"",onClick:m})}),(0,a.jsx)(C,{categoryList:null==t?void 0:t.categoryList,localCode:null==t?void 0:t.localCode,headerTextColor:l,selectIcon:i,urlInfo:d,onBeforeNavigate:u})]})}},20633:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var a=n(95155),r=n(12115),o=n(57233),l=n.n(o),c=n(98449),i=n(62361),s=n.n(i),d=n(62386),u=n(21239),A=n(27043),p=n(57043),h=n.n(p),g=n(56269),m=n(65430),_=n(35695),f=n(30445),v=n(51634);let w={src:"https://sgj1.ok.com/yongjia/_next/static/media/histortSugIcon.f5a38220.png"};var x=n(29107);let y=e=>{let{sugItem:t,itemClick:n,type:o,index:l=0,value:c="",className:i="",hasHistoryItemIcon:s=!1}=e,u=(0,r.useRef)(null),A=(0,_.useSearchParams)(),p=(0,f.v5)();(0,m.p)(u,()=>{});let y=e=>{let t={order:l,filter_param:JSON.stringify((0,v.tT)(A,p))};"history"===o?g.i.track("search_middle_page_history_click",{...t,history_term:e.suggestKey}):g.i.track("search_sug_click",{...t,search_term:c,sug_term:e.suggestKey}),(0,d.M9)(e),null==n||n(e)};return(0,a.jsxs)("div",{className:"".concat(h().modalSugItem," singleLineEllipsis ").concat(i),onClick:()=>y(t),ref:u,children:[s&&(0,a.jsx)(x.default,{src:w.src,className:h().historyItemIcon}),t.suggestKey]},t.suggestKey)};var I=n(34540);let k=e=>{let{searchInputDefaultValue:t,itemClick:n,searchLocalId:o,searchCategoryId:l}=e,c="desktop"===(0,I.d4)(f.zK).platform,i=(0,A.useTranslations)("Main"),p=(0,r.useRef)(null),[h,_]=(0,r.useState)([]),[v,w]=(0,r.useState)([]),x=(0,f.v5)();(0,r.useEffect)(()=>
1{if(t){k(t),C();return}j(),E()},[t]);let k=e=>{let t="",n="";if(o){let e=o.split(",");t=e[e.length-1]}if(l){let e=l.split(",");n=e[e.length-1]}let a=["completion=".concat(encodeURIComponent(e)),"count=10",o&&"localId=".concat(t),l&&"categoryId=".concat(n),(null==x?void 0:x.adId)&&"infoId=".concat(x.adId)].filter(Boolean).join("&");(0,u.y)("/smartProbe/api/suggest?".concat(a)).then(t=>{let n=(null==t?void 0:t.data)||{};_(n),g.i.track("search_sug_show",{search_term:e,sug_term:JSON.stringify(n.map((e,t)=>({order:t+1,value:null==e?void 0:e.suggestKey,...(null==e?void 0:e.logParams)?{log_params:null==e?void 0:e.logParams}:{}})))})})},j=()=>{(null==h?void 0:h.length)&&_([])},C=()=>{w([])},E=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,d.cI)();e||w(t),e&&g.i.track("search_middle_page_history_show",{history_termterm:t.map(e=>e.suggestKey).join(",")})};return((0,m.p)(p,()=>{E(!0)}),(null==h?void 0:h.length)<1&&(null==v?void 0:v.length)<1)?null:(0,a.jsxs)("div",{className:s().searchSuggestContent,children:[(0,a.jsx)("div",{ref:p,style:{display:v.length>0?"block":"none"},children:v.length>0?(0,a.jsxs)("div",{className:"".concat(s().modalHistoryList," ").concat(c?s().modalHistoryListPC:""),children:[(0,a.jsx)("span",{className:s().modalHistoryListTitle,children:i("ok_app_search_history")}),v.map((e,t)=>(0,a.jsx)(y,{sugItem:e,itemClick:n,type:"history",index:t+1,className:c?s().modalHistoryItemPC:"",hasHistoryItemIcon:c},e.suggestKey))]}):null}),h.length>0?(0,a.jsx)("div",{className:s().modalSugList,children:h.map((e,r)=>(0,a.jsx)(y,{sugItem:e,itemClick:n,type:"suggest",index:r+1,value:t},e.suggestKey))}):null]})};var j=n(26139),C=n(86052),E=n.n(C),S=n(79393),D=n(9353),N=n(87967);let b=e=>{let{className:t,largeSize:n,localIds:o,categoryId:i,onBeforeNavigate:s}=e,u=(0,f.v5)(),p=(0,_.useSearchParams)(),h=(0,A.useTranslations)("Main"),m=(0,S.I)(s),[w,x]=(0,r.useState)(!1),[y,I]=(0,r.useState)(""),C=(0,r.useRef)(!1),b=null==i?void 0:i.split(",").at(-1),B=(0,r.useRef)(null),T=(0,r.useRef)(null);(0,r.useEffect)(()=>{M()},[]);let M=()=>{var e;if(null===(e=window)||void 0===e?void 0:e.location.origin.includes("pub."))return;let{city:t,cate:n,title:a,adId:r}=u;t&&n&&(!a||!r)&&I((null==p?void 0:p.get("keyword"))||"")};(0,r.useEffect)(()=>{let e=e=>{var t;C.current&&((null===(t=B.current)||void 0===t?void 0:t.contains(e.target))||(x(!1),C.current=!1))};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[]);let L=(e,t)=>{let n=(e||"").trim();x(!1),C.current=!1;let a=()=>{t||g.i.track("search_click",{search_term:n,filter_param:JSON.stringify((0,v.tT)(p,u))}),n&&(0,d.M9)({suggestKey:n}),U("")},{city:r,cate:o,title:l,adId:c}=u,i=!!r&&!!o,s=!l||!c,A=(0,v.MD)(),h="/city",_="/cate",f=n?"keyword="+encodeURIComponent(n):"";if(s&&(h=r&&r!==j.yv?"/city-".concat(r):"/city",_=o&&o!==j.k8?"/cate-".concat(o):"/cate"),i&&s){let e={};(0,N.CL)(new URLSearchParams(p.toString())).forEach((t,a)=>{"iconSource"===a&&n||(e[a]=t)});let t={...e,keyword:n||void 0};f=E().stringify(t)}let w=(0,N.W8)(h,_,!0),y="".concat(A||"")+w+"".concat(f?"?"+f:""),{seoDomain:I}=(0,v.Gl)(),k=I+y;m({to:k,kind:"direct"},()=>{a(),window.location.href=k})},U=e=>{g.i.track("search_input",{search_term:e}),I(e||"")};return(0,a.jsx)("div",{className:"".concat(l().middle," ").concat(t||""),children:(0,a.jsxs)("div",{ref:B,className:l().searchModule,children:[(0,a.jsx)(c.A,{largeSize:n,placeholder:h("ok_app_search_shading_words"),inputRef:T,className:l().searchModuleInput,value:y,inputChange:U,inputClear:()=>{U(""),T.current.focus()},suffix:(0,a.jsx)("div",{className:"".concat(l().searchSuffix," ").concat(n&&l().largeSizeSearchSuffix),children:(0,a.jsx)("button",{className:l().searchButton,children:h("ok_app_search_start_to_search")})}),suffixClick:L,inputClick:()=>{g.i.track("search_box_click",{search_term:y,cateid:b||D.zS}),x(!0),C.current=!0,T.current.focus()},onKeyDown:(e,t)=>{("Enter"===e.key||13===e.keyCode)&&(e.preventDefault(),L(t))}}),(0,a.jsx)("div",{className:"".concat(l().dropdownWrapper," ").concat(w?l().dropdownWrapperShow:""),children:(0,a.jsx)(k,{searchInputDefaultValue:y,itemClick:e=>{L(e.suggestKey,!0)},searchLocalId:o,searchCategoryId:i},w+y)})]})})}},24142:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-dropdown.736a2020.png",height:54,width:54,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAD1BMVEVMaXEQEBAUFBQPDw8NDQ1yR3gjAAAABXRSTlMAHgyuN/OO6xEAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAkSURBVHicY2DABEyMDAyMTCAGMwsLM4jBwMjMzAiRZITSaAAABXMAI4YdTXYAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},24245:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var a=n(21239);async function r(e){try{let t={method:"POST",keepalive:!0};e&&(t.body={language:e}),await (0,a.y)("/ucenter/account/language",t)}catch(e){console.error("Failed to report language change:",e)}}},25171:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-post.c003ad6d.png",height:72,width:72,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAKlBMVEUAAAAAAAAAAAAAAABMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3h1zXAAAADnRSTlM5FKuEAAFLKNEYQ5yPafZ7ChEAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA4SURBVHicHcrJDcBADAOxkSzvmfTfboDwTToCpclwLZ8gK/dYULzcBdSzZgrkOSPrz+UROht2+gMjCwD/Cn6BHwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}}
1,29874:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var a=n(95155),r=n(12115),o=n(33168),l=n.n(o),c=n(36840),i=n(29107),s=n(51634),d=n(86309),u=n(73252),A=n(3994);let p=e=>{let{currentPage:t,onSelect:n,localNames:o,localIds:p,countryName:h,localCode:g,hideText:m=!1,locationIcon:_,iconSrc:f,className:v,compatibleRtl:w=!1,headerTextColor:x,placement:y,textMaxWidth:I="120px"}=e,[k,j]=(0,r.useState)(()=>{let e=o?o.split(","):[],t=(null==e?void 0:e[(null==e?void 0:e.length)-1])||h;return(0,s.jd)()&&(0,s.wJ)({name:d.Zg,value:t||"",domain:(0,d.Lr)()}),t}),[C,E]=(0,r.useState)(),S=()=>{let e=(null==o?void 0:o.split(","))||[],t=null==e?void 0:e[(null==e?void 0:e.length)-1],n=(null==p?void 0:p.split(","))||[];E({localId:null==n?void 0:n[(null==n?void 0:n.length)-1],name:t||"",code:g||"",parentName:"",desp:""})},D=(0,r.useRef)(null);(0,r.useEffect)(()=>{S()},[]);let N=e=>{j(e.name),null==n||n(e)},b={...x?{color:x}:{},...I?{maxWidth:I}:{}};return(0,a.jsx)(u.A,{placement:y,triggerDom:(0,a.jsx)("div",{className:"".concat(l().entryArea," ").concat(v&&v),children:(0,a.jsxs)("div",{ref:D,className:l().positionTextWrapper,children:[(0,a.jsxs)("div",{className:l().locationTextWrapper,children:[(0,a.jsx)(i.default,{width:"24",height:"24",src:_||c.A.src,alt:""}),!m&&(0,a.jsx)("span",{className:"".concat(l().locationText," singleLineEllipsis"),style:b,children:k})]}),!m&&!!f&&(0,a.jsx)(i.default,{className:"".concat(w&&l().afterIcon),width:"18",height:"18",src:f,alt:""})]})}),children:e=>{let{closeModal:n}=e;return(0,a.jsx)("div",{className:l().customOverlayContent,children:(0,a.jsx)(A.A,{locationInfo:C,visibleChange:e=>{e||null==n||n()},currentPage:t,onSelect:e=>{N(e),null==n||n()},showHeaderCloseButton:!1})})}})}},31493:(e,t,n)=>{"use strict";n.d(t,{B5:()=>l,fd:()=>d,jR:()=>s});var a=n(51634),r=n(86309),o=n(283);let l=e=>{let t=(0,a.MD)(),{commonDomain:n}=(0,a.Gl)();return n+r.g2+"".concat(t||"")+"".concat("pc"===e?"/user/home":"/user/profile")},c=async e=>{try{return await navigator.clipboard.writeText(e),!0}catch(t){return i(e)}},i=e=>{try{let t=document.createElement("textarea");t.value=e,t.style.position="fixed",document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999);let n=document.execCommand("copy");if(document.body.removeChild(t),n)return!0;throw Error("复制失败")}catch(e){return!1}},s=async e=>{let{shareData:t,isPcPlatform:n=!1,copySuccessCallback:a=()=>{},copyFailCallback:r=()=>{}}=e;if(n){await c((null==t?void 0:t.url)||location.href)?null==a||a():null==r||r();return}try{await navigator.share(t)}catch(e){}},d=e=>{let{uid:t,cate:n,page:r=1}=e;if(!t)return;let l=(0,o.Z0)(),{seoDomain:c}=(0,a.Gl)(),i="/profile".concat(t?"/".concat(t):"").concat(n?"/".concat(n):"").concat(r>1?"-page".concat(r):""),s="".concat(c,"/").concat(l).concat(i);window.location.href=s}},33168:e=>{e.exports={entryArea:"LocationDropdwon_entryArea__lQJZ_",positionTextWrapper:"LocationDropdwon_positionTextWrapper__piVHX",locationTextWrapper:"LocationDropdwon_locationTextWrapper__0WZF6",locationText:"LocationDropdwon_locationText__I_2t0",afterIcon:"LocationDropdwon_afterIcon__cvT40",customOverlayContent:"LocationDropdwon_customOverlayContent__4f3MA"}},34645:e=>{e.exports={searchInputWrapper:"CustomInput_searchInputWrapper__S36JM",searchPrefix:"CustomInput_searchPrefix__mWfTM",searchPrefixImg:"CustomInput_searchPrefixImg__vV83e",searchInput:"CustomInput_searchInput__Xf3DF",searchClear:"CustomInput_searchClear___ZaYy",searchClearImg:"CustomInput_searchClearImg__fVIjm",showSearchClear:"CustomInput_showSearchClear___k4AI",notOnlySearchClear:"CustomInput_notOnlySearchClear__OK6fA",largeSize:"CustomInput_largeSize__1Hy53"}},35888:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var a=n(21239);let r={getUserHasPreferenceUrl:"/bff/list/userPreference"},o=async()=>{let{data:e={}}=await (0,a.y)(r.getUserHasPreferenceUrl,{method:"GET"}),{hasPreference:t=!1,resumeCompleted:n=!1}=e;return{hasPreference:t,resumeCompleted:n}}},36840:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-position.5b1cc2a3.png",height:72,width:72,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXEPDw8PDw8PDw8QEBAPDw8PDw8QEBAQEBARERFFGXtUAAAACnRSTlMAQYyadagjMw8c6e7ldwAAAAlwS
1FlzAAALEwAACxMBAJqcGAAAADRJREFUeJwVyrkRACAQA7G1fQ/03zBDpETAkQ7AdlUP0CspMN7u9XBzk8kBF1T9HdtfkIAHHSgAsWub23IAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},43637:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-ok-logo.b4dce58d.png",height:72,width:237,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAG1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUUeIgAAAACXRSTlNRjF48vRWgNnSaFxkFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAGklEQVR4nGNgZGFjZWdmZmBgZGFkYGBi4gAAAd8AMJLOxKcAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}},48951:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-to-right-arrow.6b450411.png",height:47,width:47,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAElBMVEVMaXExMTFCQkIxMTEqKio4ODj9TpNoAAAABnRSTlMAXQOmDAm0DHV/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJUlEQVR4nGNgYGBiYGJgAFGMjBAWAyszjMUEY8EYLBAaSTFEOwAIXQA6Giw6NwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},51941:e=>{e.exports={left:"TopBarLeftContent_left__ifZ6k",leftLogoWrapper:"TopBarLeftContent_leftLogoWrapper__48j_q"}},53175:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var a=n(95155),r=n(12115),o=n(3651),l=n.n(o),c=n(29107),i=n(56269),s=n(51634),d=n(283),u=n(21239),A=n(73252),p=n(86309);let h={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-tick.9c42f091.png"};var g=n(74695),m=n(27043),_=n(24245),f=n(79393);let v=e=>{var t;let{hideText:n,className:o,textClassName:v,languageIcon:w,selectIcon:x,topBarInfo:y,compatibleRtl:I=!1,headerTextColor:k,placement:j,textMaxWidth:C="120px",onBeforeNavigate:E}=e,S=(0,m.useTranslations)("Main"),D=S("ok_pc_home_YoureOn"),N=S("ok_m_home_change_country/region"),b=(0,f.I)(E),[B,T]=(0,r.useState)(null==y?void 0:y.lang),[M,L]=(0,r.useState)(null!==(t=null==y?void 0:y.langList)&&void 0!==t?t:[]),[U,P]=(0,r.useState)(null==y?void 0:y.countryIcom),[W,R]=(0,r.useState)(null==y?void 0:y.countryName);(0,r.useEffect)(()=>{M&&M.length>0||V()},[]);let V=async()=>{let e=(0,d.JJ)(),t=(0,u.y)("/smartProbe/api/country/getLanguage?country=".concat(e)),n=(0,u.y)("/smartProbe/api/country/getByCode?country=".concat(e)),[a,r]=await Promise.all([t,n]),o=null==r?void 0:r.data;(null==o?void 0:o.icon)&&P(o.icon);let l=(null==a?void 0:a.data)||[];if(L(l),!B){let e=(0,d.Z0)(),t=null==l?void 0:l.find(t=>t.language===e);R(null==t?void 0:t.countryName),T(null==t?void 0:t.name)}},H=e=>{let t=e.language,n=(0,s.fP)(t);n&&b({to:n,kind:"after_operation"},()=>{i.i.track("home_nevigationbar_language_click",{language_name:e.language,languageid:e.id}),T(e.name),(0,_.N)(e.language),window.location.href=n})},O=()=>{let{commonDomain:e}=(0,s.Gl)(),t=(0,s.MD)(),n=e+p.g2+"".concat(t||"")+"/user/home?tabindex=2";b({to:n,kind:"direct"},()=>{window.location.href=n})},Q={...k?{color:k}:{},...C?{maxWidth:C}:{}};return(0,a.jsx)(A.A,{placement:j,triggerDom:(0,a.jsxs)("div",{className:"".concat(l().iconImgWrapper," ").concat(o&&o),children:[(0,a.jsxs)("div",{className:l().mainInfoWrapper,children:[(0,a.jsx)(c.default,{src:U||w||g.A.src,width:"24",height:"24",alt:"",className:l().iconImg}),!n&&(0,a.jsx)("span",{className:"".concat(l().langText," singleLineEllipsis ").concat(v&&v),style:Q,children:B})]}),!n&&x&&(0,a.jsx)(c.default,{className:"".concat(I&&l().selectIconImg),width:18,height:18,src:x,alt:""})]}),children:e=>{let{closeModal:t}=e;return(0,a.jsxs)("div",{className:l().langTooltip,children:[(0,a.jsx)("div",{className:l().langListWrapper,children:null==M?void 0:M.map(e=>(0,a.jsxs)("div",{className:"".concat(l().langItemWrapper," ").concat(e.name===B&&l().active),onClick:()=>{null==t||t(),H(e)},children:[(0,a.jsx)("div",{className:l().langItem,children:e.name}),e.name===B&&(0,a.jsx)(c.default,{src:h.src,width:24,height:24,alt:""})]},e.language))}),(0,a.jsxs)("div",{className:l().countryInfoWrapper,children:[(0,a.jsxs)("div",{className:l().countryInfo,children:[(0,a.jsx)(c.default,{src:U||w||g.A.src,width:"24",height:"24",alt:"",className:l().iconImg}),(0,a.jsx)("span",{children:"".concat(D," ").concat(W)})]}),(0,a.jsx)("div",{className:l().switchButton,onClick:()=>{null==t||t(),O()},children:N})]})]})}})}},56629:e=>{e.exports={thirdLinkageDropdownContainer:"ThirdLinkageDropdown_thirdLinkageDropdownContainer__AVlnk",thirdLinkageDropdown:"ThirdLinkageDropdown_thirdLinkageDropdown__yH5QV",dropdownButtonWrapper:"ThirdLinkageDropdown_dropdownButtonWrapper__gewLQ",dropdownButton:"ThirdLinkageDropdown_dropdownButton___prIh",dropdownContainer:"ThirdLinkageDropdown_dropdownContainer__P5s4O",dropdownColumn:"ThirdLinkageDropdown_dropdownColumn__UQwbM",dropdownItem:"ThirdLinkageDropdown_dropdownItem__3fwZd",dropdownItemLabel:"ThirdLinkageDropdown_dropdownItemLabel__IaQcf",dropdownItemActive:"ThirdLinkageDropdown_dropdownItemActive__sIPjY",firstColumn:"ThirdLinkageDropdown_firstColumn__1B5yf",showDropdown:"ThirdLinkageDropdown_showDropdown__ZzXJy"}},57043:e=>{e.exports={modalSugItem:"SuggestItem_modalSugItem__iYU6f",historyItemIcon:"SuggestItem_historyItemIcon__pde0v"}},57233:e=>{e.exports={middle:"TopBarMiddleContent_middle__ALYby",searchModule:"TopBarMiddleContent_searchModule__nzlSh",searchModuleInput:"TopBarMiddleContent_searchModuleInput__aQjbV",dropdownWrapper:"TopBarMiddleContent_dropdownWrapper__MT_eh",dropdownWrapperShow:"TopBarMiddleContent_dropdownWrapperShow__Ybcg3",searchSuffix:"TopBarMiddleContent_searchSuffix__lRVmW",searchButton:"TopBarMiddleContent_searchButton__3UG6i",largeSizeSearchSuffix:"TopBarMiddleContent_largeSizeSearchSuffix__kzIvb"}},59520:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/input_search.fe13be35.png",height:144,width:144,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEVMaXExMTEyMjIxMTE5OTkyMjIxMTEzMzMhXbzbAAAACHRSTlMAdRElB4lDZCqkfVYAAAAJcEhZcwAACxMAAAsTAQCanBgAAAApSURBVHicY2BAABZmZgiDkZGVDUSzsTOwMDIhM0BSrCwQxUzMYBEIAAAM4wBeHBU2CgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}}
1,62361:e=>{e.exports={searchSuggestContent:"SearchSuggestContent_searchSuggestContent__fqRdu",modalHistoryList:"SearchSuggestContent_modalHistoryList__vD8Y_",modalHistoryListTitle:"SearchSuggestContent_modalHistoryListTitle__s1S_g",modalHistoryListPC:"SearchSuggestContent_modalHistoryListPC__0fQSa",modalHistoryItemPC:"SearchSuggestContent_modalHistoryItemPC__W7Zwc"}},66370:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-message.49fb9848.png",height:72,width:72,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXEPDw8PDw8PDw8REREPDw8QEBAQEBAQEBAODg5BiuikAAAACnRSTlMAoTcQbiV7Y5IXZX25iAAAAAlwSFlzAAALEwAACxMBAJqcGAAAADNJREFUeJwViskNADAMg7Bzdv+Fq7wQAsAzBmjNqKF0psL9VtXG+1ysQRkvr0dKGTcShw8bTQCyEQ3y8QAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},73252:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(95155),r=n(12115),o=n(90517),l=n(6447),c=n(90014),i=n(82346),s=n.n(i);let d=e=>{let{triggerDom:t,children:n,placement:i="bottom"}=e,[d,u]=(0,r.useState)(!1),A=(0,r.useRef)(null),p=(0,r.useRef)(null),h=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>{h.current&&clearTimeout(h.current)},[]);let g=()=>{h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{u(!0)},150)},m=()=>{h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{u(!1)},150)};return(0,c.c)(p,{enabled:d,preventWhenNotScrollable:!0,allowScrollAtBoundary:!1,delay:0}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:A,onMouseEnter:g,onMouseLeave:m,children:t}),(0,a.jsx)(o.A,{show:d,target:A.current,placement:i,flip:!1,children:e=>(0,a.jsx)(l.A,{...e,ref:t=>{p.current=t,"function"==typeof e.ref?e.ref(t):e.ref&&(e.ref.current=t)},onMouseEnter:g,onMouseLeave:m,className:s().customPopover,children:"function"==typeof n?n({closeModal:()=>{u(!1)}}):n})})]})}},74695:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-language.35f28542.png",height:72,width:72,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEUPDw8dHR0REREREREPDw8ODg4QEBAPDw8PDw/jBL0lAAAACXRSTlOpASUOx4s9xZkixqMaAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMklEQVR4nEXLuQ0AIBDEQO897PVfMQIhkTkYI2VESmhhs4QYGESYbhw/koYmD666+O0bGIoAqc8zQAMAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},79393:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var a=n(12115);function r(e){return(0,a.useCallback)(async(t,n)=>{var a;(null===(a=await (null==e?void 0:e(t)))||void 0===a||a)&&await n()},[e])}},82346:e=>{e.exports={customPopover:"HoverPopup_customPopover__lbYFg"}},88662:(e,t,n)=>{"use strict";n.d(t,{A:()=>G});var a=n(95155),r=n(12115),o=n(34540),l=n(11892),c=n.n(l),i=n(29107),s=n(83063),d=n(29310),u=n(56269),A=n(27043),p=n(51634),h=n(86309);let g={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-now-profile.d080c38c.png"},m={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-post-pithy.3e401af9.png"},_={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-setting.ce03cdf3.png"},f={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-logout.db055680.png"},v={src:"https://sgj1.ok.com/yongjia/_next/static/media/[email protected]"},w={src:"https://sgj1.ok.com/yongjia/_next/static/media/[email protected]"},x={src:"https://sgj1.ok.com/yongjia/_next/static/media/[email protected]"};var y=n(69695),I=n(39589),k=n(87240),j=n(8193);let C={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-kyc.3d94fe05.png"},E={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-alert.e8eb1b56.svg"};var S=n(91197),D=n(76175),N=n(94845),b=n(72221),B=n(14932),T=n(283),M=n(31493),L=n(88997),U=n(22627),P=n(35447),W=n(79393),R=n(10726),V=n(73252),H=n(30445),O=n(35888),Q=n(68571);let G=e=>{let{themeColorType:t=S.n.deepColour,headerTextColor:n,onBeforeNavigate:l,currentPage:G=""}=e,z=(0,A.useTranslations)("Main"),Y=(0,A.useTranslations)("Pay"),J=(0,A.useTranslations)("Order"),K=(0,A.useTranslations)("SearchAlert"),X=(0,o.wA)(),F=(0,W.I)(l),Z=(0,H.v5)(),[q,$]=(0,r.useState)(P.n.DISABLE),[ee,et]=(0,r.useState)(P.b.unverified),en=t===S.n.underTint,{contextHandler:ea,run:er}=(0,d.vz)({onSuccess:async()=>
1{if("list"===G){let{hasPreference:e}=await (0,O.X)(),{city:t}=Z;if(e&&t){let n=(0,u.v)(window.location.href,e,t);(0,N.rU)(n,{replace:!0});return}}else if("guest-chat"===G){await F({to:"/chat",kind:"after_operation"},async()=>{});return}window.location.reload()},onError:()=>{}}),eo=(0,o.d4)(s.oS),{commonDomain:el}=(0,p.Gl)(),ec=(0,p.MD)(),ei=(0,D.pm)();(0,r.useEffect)(()=>{!eo&&(0,d.mY)()&&X((0,s.me)())},[]),(0,r.useEffect)(()=>{es()},[]);let es=async()=>{if(!(0,d.mY)())return;let e=(0,U.T)();try{let n=await (0,b.yY)("/ucenter/index",{method:"GET",headers:{uuid:e,origin:window.location.origin}});if(200===n.code){var t;$(n.data.enableWallet),et(null===(t=n.data.headerInfo)||void 0===t?void 0:t.kycStatus)}}catch(e){}},ed=e=>{u.i.track("acc_pc_dropdown_click",{account_pc_dropdown_name:"profile"}),null==e||e(),F({to:"ac_home",kind:"after_operation"},()=>{L.A.homePageShow({uid:(0,T.v6)(),from:"account"}),(0,M.fd)({uid:(0,T.v6)()})})},eu=e=>{u.i.track("acc_pc_dropdown_click",{account_pc_dropdown_name:"my post"}),null==e||e();let t=el+h.g2+"".concat(ec||"")+"/publish/list";F({to:t,kind:"after_operation"},()=>{window.location.href=t})},eA=e=>{u.i.track("acc_pc_dropdown_click",{account_pc_dropdown_name:"settings"}),null==e||e();let t=el+h.g2+"".concat(ec||"")+"/user/home?tabindex=1";F({to:t,kind:"after_operation"},()=>{window.location.href=t})},ep=e=>{u.i.track("acc_pc_dropdown_click",{account_pc_dropdown_name:"my alert"}),null==e||e();let t=(0,Q.O)("/search-alerts");F({to:t,kind:"direct"},()=>{window.location.href=t})},eh=async e=>{u.i.track("acc_pc_dropdown_click",{account_pc_dropdown_name:"log out"}),null==e||e(),F({to:"logout",kind:"after_operation"},async()=>{await (0,d.ri)();let{pathname:e}=window.location,t="/biz".concat(ec);if(e===t+"/chat"||e===t+"/user/home"){let{seoDomain:e}=(0,p.Gl)(),t="".concat(ec||"")+"/";window.location.href=e+t}else window.location.reload()})},eg=()=>{setTimeout(()=>{u.i.track("home_nevigationbar_click",{nevigationbar_name:"profile"}),q==P.n.ENABLE&&(u.i.track("acc_wallet_entry_show"),u.i.track("profile_order_entry_show",{entry_type:"purchase"}),u.i.track("profile_order_entry_show",{entry_type:"sales"}),u.i.track("identity_show",{type:(0,p.IL)(ee)}))},500),R.B.emit("showUserInfoOverlay",{show:!0})},em=e=>{u.i.track("identity_click",{type:(0,p.IL)(ee)}),null==e||e(),F({to:"/pay/identification",kind:"direct"},()=>{ei.push("/pay/identification")})},e_=async()=>{let e=await (0,b.Ve)(B.UP.kyc);if((null==e?void 0:e.code)&&(null==e?void 0:e.code)>=200&&e.code<300){var t;return(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.bindStatus)==B.BB.hasBound}throw"checkKYC error"},ef=async e=>{u.i.track("acc_wallet_entry_click"),null==e||e(),F({to:"wallet",kind:"after_operation"},async()=>{try{await e_()?ei.push("/wallet/home"):ei.push("/pay/identification")}catch(e){}})},ev=(e,t)=>{null==t||t(),"1"===e?u.i.track("profile_order_entry_click",{entry_type:"purchase"}):u.i.track("profile_order_entry_click",{entry_type:"sales"}),F({to:"/pay/orderManage?type=".concat(e),kind:"after_operation"},()=>{ei.push("/pay/orderManage?type=".concat(e))})};return(0,a.jsxs)("div",{className:c().userInfoArea,id:"pcUserInfoArea",children:[ea,(null==eo?void 0:eo.userName)?(0,a.jsx)(V.A,{placement:"bottom",triggerDom:(0,a.jsxs)("div",{className:c().userInfo,onMouseEnter:eg,onClick:eg,children:[(0,a.jsxs)("div",{className:c().userAvatarContent,children:[(0,a.jsx)("div",{className:c().userAvatarWrapper,children:(0,a.jsx)(i.default,{className:c().userAvatar,src:eo.headPic,width:28,height:28,alt:""})}),(()=>{let e;return q?(e=ee===P.b.pending?I.A:ee===P.b.failure?k.A:ee===P.b.success?j.A:y.A,(0,a.jsx)(i.default,{className:c().kycIcon,src:e.src,alt:""})):null})()]}),(0,a.jsx)("span",{className:"".concat(c().userName," singleLineEllipsis"),style:n?{color:n}:{},children:null==eo?void 0:eo.userName})]}),children:e=>{let{closeModal:t}=e;return(0,a.jsxs)("div",{className:c().userInfoTooltip,children:[(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>ed(t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:g.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:z("ok_app_profile_des1")})]}),(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>eu(t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:m.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:z("ok_app_profile_des2")})]}),q==P.n.ENABLE&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>em(t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:C.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:Y("ok_pc_acc_acc_verification")})]}),(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>ef(t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:x.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:Y("ok_app_profile_wallet")})]}),(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>ev("1",t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:v.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:J("ok_app_acc_btn_purchaorder")})]}),(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>ev("2",t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:w.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:J("ok_app_acc_btn_salesorder")})]})]}),(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>ep(t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:E.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:K("ok_app_search_alert_menu_label")})]}),(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>eA(t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:_.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:z("ok_app_profile_des3")})]}),(0,a.jsxs)("div",{className:c().textItemWrapper,onClick:()=>eh(t),children:[(0,a.jsx)(i.default,{className:c().textItemIcon,src:f.src,alt:""}),(0,a.jsx)("span",{className:c().textItem,children:z("ok_app_profile_des4")})]})]})}}):(0,a.jsx)("div",{className:"".concat(c().loginButton," ").concat(en&&c().isUnderTintColour),onClick:()=>{er()},children:(0,a.jsx)("div",{className:c().loginButtonText,children:z("ok_h5_acc_signin")})})]})}}
1,90014:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var a=n(12115);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{enabled:n=!0,preventWhenNotScrollable:r=!0,allowScrollAtBoundary:o=!1,delay:l=0}=t,c=(0,a.useRef)({preventWhenNotScrollable:r,allowScrollAtBoundary:o});(0,a.useEffect)(()=>{c.current={preventWhenNotScrollable:r,allowScrollAtBoundary:o}},[r,o]);let i=(0,a.useRef)({containerElement:null,handleWheel:null,timer:null});(0,a.useEffect)(()=>{if(!n){let e=i.current;e.containerElement&&e.handleWheel&&e.containerElement.removeEventListener("wheel",e.handleWheel,{capture:!0}),e.timer&&clearTimeout(e.timer),i.current={containerElement:null,handleWheel:null,timer:null};return}let t=i.current;t.containerElement&&t.handleWheel&&t.containerElement.removeEventListener("wheel",t.handleWheel,{capture:!0}),t.timer&&clearTimeout(t.timer);let a=null,r=null,o=setTimeout(()=>{if(!(a=e.current)){i.current={containerElement:null,handleWheel:null,timer:null};return}let t=a,n=e=>e.scrollHeight>e.clientHeight,o=e=>e.scrollWidth>e.clientWidth&&["auto","scroll","overlay"].includes(window.getComputedStyle(e).overflowX),l=e=>e.scrollTop<=0,s=e=>e.scrollTop+e.clientHeight>=e.scrollHeight-1,d=e=>e.scrollLeft<=0,u=e=>e.scrollLeft+e.clientWidth>=e.scrollWidth-1,A=(e,t)=>{if(!e)return!1;if(e===t)return!0;let n=e;for(;n&&n!==document.body&&n!==document.documentElement;){if(n===t)return!0;n=n.parentElement}return!1},p=e=>e&&e!==document.body&&e!==document.documentElement&&A(e,t)?n(e)||o(e)?e:p(e.parentElement):null,h=e=>{var t;if(!e)return!1;let n=null===(t=e.tagName)||void 0===t?void 0:t.toLowerCase();return"input"===n||"textarea"===n||"select"===n},g=(e,t,n,a,r)=>{if(!e||0===t)return r&&0!==t?{shouldPrevent:!0,shouldAllowPageScroll:!1,shouldPreventDefault:!0}:{shouldPrevent:!1,shouldAllowPageScroll:!1,shouldPreventDefault:!1};let o=n();return a?o?{shouldPrevent:!1,shouldAllowPageScroll:!0,shouldPreventDefault:!1}:{shouldPrevent:!0,shouldAllowPageScroll:!1,shouldPreventDefault:r}:{shouldPrevent:!0,shouldAllowPageScroll:!1,shouldPreventDefault:o||r}};r=e=>{if(!t||!document.body.contains(t))return;let a=e.target;if(!A(a,t))return;let r=p(a)||t,i=n(r),m=o(r);if(!i&&!m){c.current.preventWhenNotScrollable&&(e.preventDefault(),e.stopPropagation());return}let _=h(a),{allowScrollAtBoundary:f}=c.current,v=g(i,e.deltaY,()=>l(r)&&e.deltaY<0||s(r)&&e.deltaY>0,f,_),w=g(m,e.deltaX,()=>d(r)&&e.deltaX<0||u(r)&&e.deltaX>0,f,_);!v.shouldAllowPageScroll&&!w.shouldAllowPageScroll&&(v.shouldPrevent||w.shouldPrevent)&&((v.shouldPreventDefault||w.shouldPreventDefault||_)&&e.preventDefault(),e.stopPropagation())},a.addEventListener("wheel",r,{passive:!1,capture:!0}),i.current={containerElement:a,handleWheel:r,timer:null}},l);return i.current.timer=o,()=>{let e=i.current;e.timer&&clearTimeout(e.timer),e.containerElement&&e.handleWheel&&e.containerElement.removeEventListener("wheel",e.handleWheel,{capture:!0}),i.current={containerElement:null,handleWheel:null,timer:null}}},[n,l,e])}},90770:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a={src:"https://sgj1.ok.com/yongjia/_next/static/media/icon-favorite-dark.ff0a8cd8.png",height:72,width:72,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABKvP01AAAACnRSTlMAqA4bWEhri4Y17vwEBQAAAAlwSFlzAAALEwAACxMBAJqcGAAAADNJREFUeJwVyMENADAIA7FLAqXdf+GKlyUDsQNwJelCD+8xTZ3tU0QGK1BKVNst9Qo28AEWXACJ0jMEggAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},91197:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var a=function(e){return e.deepColour="0",e.underTint="1",e}({})},98449:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(95155),r=n(34645),o=n.n(r),l=n(12115),c=n(29107),i=n(59520),s=n(22313);let d=e=>{let{suffixClick:t,inputChange:n,inputClear:r,placeholder:d,focus:u,inputFocus:A,inputClick:p,inputWrapperClick:h,onKeyDown:g,inputBlur:m,className:_,inputClassName:f,readonly:v,prefix:w,suffix:x,value:y,defaultValue:I,ref:k,inputRef:j,largeSize:C,id:E="custom-input",autoComplete:S="off",prefixClassName:D="",searchClearClassName:N="",...b}=e,[B,T]=(0,l.useState)(()=>y||I||"");return(0,l.useEffect)(()=>{T(y||I||"")},[y,I]),(0,a.jsxs)("div",{ref:k,className:"".concat(o().searchInputWrapper," ").concat(_||""," ").concat(C&&o().largeSize),onClick:h,children:[(0,a.jsx)("div",{className:"".concat(o().searchPrefix," ").concat(D),children:w||(0,a.jsx)(c.default,{src:i.A.src,alt:"",className:o().searchPrefixImg})}),(0,a.jsx)("input",{onClick:p,ref:j,readOnly:v,type:"text",id:E,autoComplete:S,placeholder:d,className:"".concat(o().searchInput," ").concat(f||""),autoFocus:u,onKeyDown:e=>null==g?void 0:g(e,B),onFocus:()=>{null==A||A()},onBlur:()=>{null==m||m(B)},onChange:e=>{T(e.target.value),null==n||n(e.target.value)},value:B,...b}),(0,a.jsx)("div",{className:"".concat(o().searchClear," ").concat(!!B&&o().showSearchClear," ").concat(!!x&&o().notOnlySearchClear," ").concat(N),onClick:()=>{T(""),null==r||r()},children:(0,a.jsx)(c.default,{className:o().searchClearImg,src:s.A.src,alt:""})}),x?(0,a.jsx)("div",{onClick:()=>null==t?void 0:t(B),children:x}):null]})}}}]);

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.