PageSourceSearch

https://fastlance.vn/_next/static/chunks/6018-644fdfa9ac64ffdb.js

js fastlance.vn collected 2026-09-24 13:06:47 UTC 110,792 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6018],{1260:e=>{e.exports={"line-clamp":"SearchLink_line-clamp__GMVmn","search-link":"SearchLink_search-link__IkROy"}},19533:(e,a,t)=>{"use strict";t.d(a,{k:()=>i});var s=t(88202),n="https://".concat("stag"===(0,s.$)().SERVICE_ENV?"staging.":""),i=[{url:"".concat(n,"fastwork.co"),country:"th"},{url:"".concat(n,"fastwork.id"),country:"id"},{url:"".concat(n,"fastlance.vn"),country:"vn"}]},24243:e=>{e.exports={"line-clamp":"Search_line-clamp__Q_6rl","search-container":"Search_search-container__JueWb","-expanded":"Search_-expanded__oMuHj"}},36018:(e,a,t)=>{"use strict";t.d(a,{Jq:()=>d,lZ:()=>j,Hu:()=>E,xI:()=>O,SV:()=>q,Cs:()=>Y,o1:()=>ee,lq:()=>en,m0:()=>ed,Sj:()=>eu,W1:()=>eg,sh:()=>ex,E9:()=>ev,Ed:()=>ej,bH:()=>eA,$K:()=>ek,pC:()=>eL,Gm:()=>eI,qk:()=>eT,NE:()=>eR,AW:()=>eB});var s,n,i=t(20294),l=t(37876),r=t(14232),c=t(80481),o=t(50075);let d=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0],a=function(){document.querySelector(".about-fastwork article").classList.add("-expanded"),document.querySelector(".about-fastwork .expand-button").classList.add("_dp-n")};return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsxs)("section",{className:"about-fastwork lo-container-desktop",children:[(0,l.jsx)("h2",{className:"_cl-primary-700",children:e("about.h2")}),(0,l.jsx)("article",{className:"_mgt-16px",children:(0,l.jsx)("p",{className:"_wsp-pw",children:e("about.content")})}),(0,l.jsx)("div",{className:"expand-button u-halign-center _mgt-24px",children:(0,l.jsxs)("div",{onClick:function(){return a()},className:"tb-link -primary _ffml-secondary",children:[(0,l.jsx)("strong",{children:e("about.read-more")}),"\xa0",(0,l.jsx)("i",{className:"fal fa-chevron-down _w-16px _h-16px"})]})})]}),(0,l.jsx)("div",{className:"lo-container-desktop",children:(0,l.jsx)("hr",{})})]})};var u=t(67684),m=t(62701),p=t(7766),h=t.n(p),g=t(54587),f=t.n(g),x=t(19357),_=t(50113),v=t(93661);let j=function(e){var a=e.banners,t={arrows:!1,autoplay:!0,dots:!0,infinite:(null==a?void 0:a.length)>1,speed:500,slidesToShow:1,slidesToScroll:1,lazyLoad:"ondemand"};return(0,l.jsx)(x.A,(0,m._)((0,u._)({},t),{className:"banner-wrapper",children:a.map(function(e,a){var t=e.attributes,s=(0,_.n$)(h()(t,"imageMobile.data.attributes.url"));return(0,l.jsx)("div",{className:"_bgcl-white-100 _pst-rlt",onClick:function(){var a,s;return(0,v.CD)(null!=(s=t.link)?s:"",{trackingPayload:e,isInternalLink:null==e||null==(a=e.attributes)?void 0:a.isInternalLink})},children:(0,l.jsx)("div",{className:"container-image","data-selenium":"home-banner-".concat(e.id),"aria-label":"home-banner-".concat(e.id),children:(0,l.jsx)(f(),{src:s,alt:t.title,className:"content-image",priority:0===a,fill:!0,sizes:"100vw",style:{objectFit:"cover"}})})},e.id)})}))};var b=t(15039),N=t.n(b),y=t(40123),w=t.n(y),A=t(10997),k=t(93996),S=t(88202),C=t(75786);let E=function(){var e=(0,k.u)().user,a=(0,C.P1)(e).data,t=void 0===a?[]:a,s=(0,C.kw)(e).data,n=void 0===s?[]:s;return w()(t)&&w()(n)?(0,l.jsx)(l.Fragment,{}):(0,l.jsx)("div",{className:"campaign lo-container-desktop",children:(0,l.jsxs)("div",{className:"campaign-layout",children:[(0,l.jsx)(A.FN,{settings:{slidesToShow:1,slidesToScroll:1,infinite:!1,dots:!0},containerClassName:"_w-100pct glider-container campaign-banner",arrowType:"outline",paginationPosition:"inner",buttonSize:"large",children:null==t?void 0:t.map(function(e,a){var t,s,n,i,r=(0,_.n$)(null==e||null==(i=e.attributes)||null==(n=i.image)||null==(s=n.data)||null==(t=s.attributes)?void 0:t.url);return(0,l.jsx)("div",{children:(0,l.jsx)(A.gl,{onClick:function(){var a,t,s;(0,v.CD)(null!=(s=null==e||null==(a=e.attributes)?void 0:a.link)?s:"",{trackingPayload:e,isInternalLink:null==e||null==(t=e.attributes)?void 0:t.isInternalLink})},ratio:21/11,style:{height:"428px"},children:(0,l.jsx)(f(),{src:r,quality:100,priority:0===a,alt:"".concat((0,S.$)().APP_NAME," campaign"),fill:!0,sizes:"1080px",style:{objectFit:"cover"}})})},e.id)})}),null==n?void 0:n.map(function(e,a){var t,s,n;return(0,l.jsx)(L,{banner:e,className:N()("_cs-pt",{"banner-top":(null==e||null==(t=e.attributes)?void 0:t.order)===1,"banner-bottom":(null==e||null==(s=e.attributes)?void 0:s.order)===2}),slotName:"sub-slot".concat(a+1)},null==e||null==(n=e.attributes)?void 0:n.title)})]})})};var L=function(e){var a,t,s,n,i,r,c,o,d,u,m,p,h=e.banner,g=e.className,x=(0,_.n$)(null==h||null==(n=h.attributes)||null==(s=n.image)||null==(t=s.data)||null==(a=t.attributes)?void 0:a.url);return(0,l.jsx)("div",{onClick:function(){var e,a,t;(0,v.CD)(null!=(t=null==h||null==(e=h.attributes)?void 0:e.link)?t:"",{trackingPayload:h,isInternalLink:null==h||null==(a=h.attributes)?void 0:a.isInternalLink})},className:g,children:(0,l.jsx)(f(),{src:x,width:null==h||null==(o=h.attributes)||null==(c=o.image)||null==(r=c.data)||null==(i=r.attributes)?void 0:i.width,height:null==h||null==(p=h.attributes)||null==(m
1=p.image)||null==(u=m.data)||null==(d=u.attributes)?void 0:d.height,quality:95,style:{maxWidth:"100%",height:"auto"},alt:"campaign"})},h.id)},I=t(85993),T=t(14678),R=t(48230),P=t.n(R),B=t(76757),M=t(61859),U="popular-subcat";let O=function(){var e,a,t,s,n=(0,i._)((0,o.Bd)(c.nd),1)[0],d=(0,i._)((0,o.Bd)(c.ZX),1)[0],u=(0,r.useRef)(null),m=(0,i._)((0,r.useState)("left"),2),p=m[0],h=m[1],g=(0,i._)((0,r.useState)(U),2),x=g[0],_=g[1],v=(0,M.ap)().data,j=void 0===v?[]:v,b=(0,C._h)(),y=(0,r.useMemo)(function(){var e=(0,I._)(j);return(null==b?void 0:b.data)&&e.push({id:b.data.id,slug:b.data.slug,title:b.data.title,title_translated:b.data.title.replace(/-/g," "),icon_image:"https://storage.googleapis.com/fastwork-asset/category/th/fastwork-expo.svg",subcategory_groups:b.data.subcategory_groups}),e},[j,b]),w=(0,C.Ke)({categories:j});(0,r.useEffect)(function(){w.isError&&(null==j?void 0:j.length)&&_(j[0].slug)},[w.isError,j]),(0,r.useEffect)(function(){var e=null==u?void 0:u.current;if(e){var a=function(){var a=e.scrollLeft,t=e.scrollWidth-e.clientWidth;a<=20?h("left"):a>=t-20&&h("right")};return e.addEventListener("scroll",a),function(){e.removeEventListener("scroll",a)}}},[]);var A=(0,r.useMemo)(function(){var e=y.find(function(e){return e.slug===x});return e?e.subcategory_groups.reduce(function(e,a){return(0,I._)(e).concat((0,I._)(a.subcategories))},[]).filter(function(e){return e.active}).sort(function(e,a){return e.sort_order-a.sort_order}).slice(0,8):[]},[y,x]),k=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;return null==e?void 0:e.map(function(e){return(0,l.jsx)(P(),{href:B.stringifyUrl({url:"/".concat(e.slug),query:{source:a.source}}),"data-selenium":"category-panel.link.subcategory","data-name":e.title,children:(0,l.jsx)("div",{className:"subcategory-item",style:{backgroundImage:"url(".concat(e.image,")")},children:(0,l.jsx)("div",{className:"content",children:(0,l.jsx)("span",{children:e.title})})})},e.id)})};return(0,l.jsx)("div",{className:"category-panel",children:(0,l.jsx)("div",{className:"panel-container lo-container-desktop",children:(0,l.jsxs)("div",{className:"panel",children:[(null==(e=u.current)?void 0:e.scrollWidth)>(null==(a=u.current)?void 0:a.clientWidth)?(0,l.jsxs)("div",{className:"arrow-container",children:["right"===p&&(0,l.jsx)("div",{className:"scroll-button-overlay --left",children:(0,l.jsx)(T.$n,{className:"button",variant:"outline",isSquare:!0,onClick:function(){var e=u.current;if(e){var a=e.getBoundingClientRect().width;e.scrollBy({left:-a,behavior:"smooth"})}},children:(0,l.jsx)("i",{className:"far fa-chevron-left"})})}),"left"===p&&(0,l.jsx)("div",{className:"scroll-button-overlay --right",children:(0,l.jsx)(T.$n,{className:"button",variant:"outline",isSquare:!0,onClick:function(){var e=null==u?void 0:u.current;if(e){var a=e.getBoundingClientRect().width;e.scrollBy({left:a,behavior:"smooth"})}},children:(0,l.jsx)("i",{className:"far fa-chevron-right"})})})]}):null,(0,l.jsxs)("div",{className:"item-wrapper",ref:u,children:[(null==w||null==(s=w.data)||null==(t=s.mappedSubcategories)?void 0:t.length)>0&&(0,l.jsx)("div",{className:N()("item-container",{active:x===U}),children:(0,l.jsxs)("div",{onClick:function(){return _(U)},className:"item","data-selenium":"category-panel.button.category","data-name":"trend",children:[(0,l.jsx)("div",{className:"icon",children:(0,l.jsx)(f(),{src:"/static-v4/images/category/industry-icon.svg",alt:"industry icon",width:48,height:48,quality:100})}),(0,l.jsx)("span",{className:"_ffml-secondary _cl-text-default-100 _fs-300 _fw-700",children:d("popular-subcategory.label")})]})}),null==y?void 0:y.map(function(e){return(0,l.jsx)("div",{className:N()("item-container",{active:x===e.slug}),children:(0,l.jsxs)("div",{onClick:function(){return _(e.slug)},className:"item","data-selenium":"category-panel.button.category","data-name":e.title,children:[(0,l.jsx)("div",{className:"icon",children:(0,l.jsx)(f(),{src:e.icon_image,alt:e.title,width:48,height:48,quality:100})}),(0,l.jsx)("span",{className:"_ffml-secondary _cl-text-default-100 _fs-300 _fw-700",children:e.title})]})},e.id)})]}),(0,l.jsxs)("div",{className:"subcategory-container _mgt-16px",children:[(0,l.jsx)("div",{className:"lo-3 _gg-12px _ffml-secondary",children:function(){var e,a,t;switch(x){case U:return k(null==w||null==(t=w.data)||null==(a=t.mappedSubcategories)?void 0:a.slice(0,8),{source:"web_marketplace_home_popular-subcategory-section"});case null==b||null==(e=b.data)?void 0:e.slug:return k(A,{source:"web_marketplace_home_fastwork-expo-section"});default:return k(A,{source:"web_marketplace_home_category-panel"})}}()}),(0,l.jsx)("div",{className:"_dp-f _alit-ct _jtfct-fe _ffml-secondary _mgv-16px",children:(0,l.jsxs)(P(),{href:B.stringifyUrl({url:"/".concat(x),query:{source:"web_marketplace_category_".concat(x)}}),className:"tb-link -primary _pdv-12px","data-selenium":"category-panel.link.view-more",children:[n("category-panel.view-more")," ",(0,l.jsx)("i",{className:"fas fa-arrow-right"})]})})]})]})})})};var q=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0],a=(0,M.lO)().data,t=void 0===a?[]:a;return(0,l.jsxs)("div",{className:"category lo-container-desktop _grg-24px _pdbt-64px",children:[(0,l.jsx)("h2",{className:"_cl-primary-700",children:e("category-section.h2")}),(0,l.jsx)("div",{className:"content lo-3 _gclg-48px _grg-24px",children:!!t.length&&t.map(function(a){var t=a.title,s=a.slug,n=a.seo_list;return(0,l.jsxs)("div",{className:"block",children:[(0,l.jsx)("strong",{className:"_ffml-secondary _mgbt-8px",children:t}),(0,l.jsxs)("p",{className:"_cl-neutral-600 _fs-300 _mgt-8px",children:[(0,l.jsx)(F,{seoList:n}
1),(0,l.jsx)(P(),{href:"/".concat(s),children:e("category-section.more")})]})]},t)})})]})},F=function(e){var a=e.seoList;return(0,l.jsx)(r.Fragment,{children:a.map(function(e){var a=(0,i._)(e.link.split("/"),2),t=a[0],s=a[1];return(0,l.jsxs)(r.Fragment,{children:[(0,l.jsx)(P(),{href:{pathname:s?"/".concat(t,"/").concat(s):"/".concat(t)},children:e.title}),",\xa0"]},"".concat(e.title,"-").concat(e.link))})})},D=t(17907),G=t(28341);let z={src:"/_next/static/media/android.33410ae6.svg",height:40,width:135,blurWidth:0,blurHeight:0},$={src:"/_next/static/media/fastlance-app-qr.8ad6aa17.png",height:300,width:300,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAANlBMVEV+fn6JiIfl5eXU1NSVlZR3d3fPz8/y8vLo6Ojg4OCJq96Qj41lZWaioZ61s7B6ntXJx8OvrarifEPJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAO0lEQVR4nAXBhwGAMAzAMCfN7KDw/7NI5BilHckwAacpbK2D0ticnxdlMu9xJYzn9VWEy2ZLk9pRWfkDNFIBkuHPxjEAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},H={src:"/_next/static/media/fastwork-app-qr.18f78986.png",height:300,width:300,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAALVBMVEV8fHvz8/Pd3d1xcXLj4+Pq6uqSkpCIiIiioZ/S0tKxr62Or+DNzc2JrOJXV1c5HW66AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOUlEQVR4nDXGOQLAIAwEsfH6hJD8/7lUUSVsSdIxVpU7BNk1NR2k87ybQH/WniknOd5fN8IiZZZ2AS3PAUQwGl7pAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},W={src:"/_next/static/media/img-app.0dd53ffe.png",height:741,width:1140,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAARVBMVEUAAADX2NvDxcjLyskOHTyVm6LGx8a2s7G3usKktdGxrqpzgZYQIDqco66Emr1sfpsaLVH39vT9/PwmT5LU3evW3eip0P/LqhTwAAAAEXRSTlME+vv5GWKEdvz9399P4onhTmmz6NQAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAxSURBVHicFcZJEgAQDATAsUbsEfz/qUqfGoCf1QMIuaiOFkBiOfHtIEkibsWfs82KDyAFAZ0fh6b6AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},V={src:"/_next/static/media/img-app-en.3b9d5edd.png",height:741,width:1140,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAARVBMVEUTAAC0xd+TlZOmtdAAEkMJI0zh4eO6vcLb29t2iqmsrLOlqK2zo5yVm6idpbO9u7XM1N7////r7vHm5+nw5N5UhczY8P/m/dgAAAAAEXRSTlME/nv6SRn6fPrg/mF6YeLh+qtN6q4AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAySURBVHicBcEJAoAgCADBLTXADkXR/z+1GaDkXIC72Vr2vYj3o6YtPKEz1IVz6hiXyw8fzAGlAqTywgAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5},K={src:"/_next/static/media/img-app-id.00e64afc.png",height:741,width:1140,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAS1BMVEUAAACnqau2tLG7uLjR0dSLnKIRJUnZ3OTY09K9wMOipah6hZugq7wVKlW7xNIAEjigprJ3gpT////w8PLD3+bm6eze8v8qUZFDWoU4I+GTAAAAEnRSTlMEdN94+25O/vuGW9/+GPsb4uGnV2YuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAM0lEQVR4nAXBiQGAIAwAsVOetqICBcX9JzUBrpwrcOxlfb0lgsdT79fYHh1D3UgziojbDyIRAaOndFzoAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},X={src:"/_next/static/media/img-app-vn.3b6d0e31.png",height:741,width:1140,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAASFBMVEXb3N7CwsK7ubuqtMWco6uBjqMULlYTAADf4eV6hYYfME8pQmHj2M6zv9ebpLSztbb////o6eTu8PPB2+HP6f+XrMza1c+MlqnH1YgtAAAAEHRSTlP6e318YeAZBPx6Skn++uLhoLSQhwAAAAlwSFlzAAALEwAACxMBAJqcGAAAADJJREFUeJwFwQkCwBAMAMGNIuJoQ6///9QMqrm2rEq80vunMxKc0sdzYB9r4YLdzFlcNiGdAY7baBuDAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5},J={src:"/_next/static/media/ios.d86c9522.svg",height:40,width:135,blurWidth:0,blurHeight:0},Y=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0];return(0,l.jsx)("section",{className:"download-app",children:(0,l.jsx)("div",{className:"lo-container-desktop",children:(0,l.jsxs)("div",{className:"lo-7-5",children:[(0,l.jsx)(f(),{className:"picture",src:G.kU.switch({th:W,en:V,id:K,vi:X}),alt:"Download Application",style:{maxWidth:"100%",height:"auto"}}),(0,l.jsx)("div",{className:"content u-valign-center _pdl-32px",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h4",{className:"header _fs-500 _ffml-secondary",children:e("download-app.h4")}),(0,l.jsx)("p",{className:"_fs-400 _mgt-8px _ffml-secondary",children:e("download-app.body")}),(0,l.jsxs)("div",{className:"_dp-f _mgt-24px",children:[(0,l.jsxs)("div",{className:"lo-12 _gg-16px",children:[(0,l.jsx)("a",{href:D.wT,target:"_blank",rel:"noopener noreferrer","data-selenium":"home.link.download-app.ios",children:(0,l.jsx)(f(),{src:J,alt:"App store",width:135,height:40,style:{maxWidth:"100%",height:"auto"}})}),(0,l.jsx)("a",{href:D.g2,target:"_blank",rel:"noopener noreferrer","data-selenium":"home.link.download-app.android",children:(0,l.jsx)(f(),{src:z,alt:"Google Play",width:135,height:40,style:{maxWidth:"100%",height:"auto"}})})]}),(0,l.jsx)("div",{className:"_mgl-16px",children:(0,G.uN)({vn:(0,l.jsx)(f(),{src:$,alt:"QR",width:"96",height:"96",style:{maxWidth:"100%",height:"auto"}}),default:(0,l.jsx)(f(),{src:H,alt:"QR",width:"96",height:"96",style:{maxWidth:"100%",height:"auto"}})})})]})]})})]})})})};var Z=t(89099),Q=t.n(Z),ee=function(e){var a=e.freelanceRecommends,t=(0,i._)((0,o.Bd)(c.nd),1)[0];return a.length?!!a&&(0,l.jsx)("div",{className:"fluid-bar freelance-recommend",children:(0,l.jsxs)("div",{className:"freelance-recommend lo-container-desktop _grg-32px",children:[(0,l.jsx)("h2",{className:"_cl-primary-700",children:t("freelance-recommend")}),(0,l.jsx)("div",{className:"carousel-cards",children:(0,l.jsx)(A.FN,{settings:{slidesToShow:3,slidesToScroll:3,infinite:!1,arrows:!0,adaptiveHeight:!1},itemPadding:"1.5rem",itemPaddingBottom:"32px",children:a.map(function(e){var a=e.attributes,t=a.productTitle,s=a.productDetail,n=a.productLink,i=(0,_.n$)(a.avatar.data.attributes.url),r=(0,_.n$)(a.portfolioPhoto.data.attributes.url);return(0,l.jsxs)("a",{className:"carousel-card",href:"".concat(n,"?source=home_freelance_recommend"),children:[(0,l.jsx)(A.gl,{className:"image-cover",ratio:357/256,style:{height:"256px"},children:(0,l.jsx)(f(),{src:r,alt:t,fill:!0,sizes:"100vw",style:{objectFit:"cover"}})}),(0,l.jsx)("div",{className:"content",children:(0,l.jsxs)("div",{className:"freelance-info lo-2-10 _pd-16px",children:[(0,l.jsx)("div",{onClick:function(){return Q().push(e.attributes.profileLink)},children:(0,l.jsx)(f(),{className:"tb-avatar -small _tal-ct",src:i,height:"36",width:"36",alt:"avatar",style:{maxWidth:"100%",height:"auto"}})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"_fw-600 _ffml-secondary",children:t}),(0,l.jsx)("div",{className:"_cl-neutral-500 _fs-300 _mgt-4px",children:s})]})]})})]},n)})})})]})}):null},ea=t(41232),et=t.n(ea),es=t(72286);let en=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0],a=(0,M.ap)().data;return(0,l.jsx)("section",{className:"hero -is-logged-in",children:(0,l.jsx)("div",{className:"_h-100pct",children:(0,l.jsx)("div",{className:"lo-12 _h-100pct _jtfit-str",children:(0,l.jsxs)("div",{className:"hero-content",children:[(0,l.jsx)("h1",{className:"_fs-700 _ffml-secondary",children:e("hero-banner.h1")}),(0,l.jsx)("h2",{className:"_fs-1200 _ffml-secondary _cl-black-200 notranslate",children:(0,l.jsx)(es.A,{interval:1e3,children:(void 0===a?[]:a).map(function(e){return(0,l.jsx)(et(),{startDelay:500,children:G.kU.switch({default:e.title,en:(0,G.mN)(null==e?void 0:e.title_translated)})},e.id)})})}),(0,l.jsx)(A.Rq,{width:"624px",classNames:"_mgt-24px notranslate",withPortalOverlay:!0,isScrollLock:!0})]})})})})};var ei=t(31753),el=t(66523),er=function(e){return e.FindFreelance="FindFreelance",e.Inquiry="Inquiry",e.Payment="Payment",e.Approve="Approve",e}(er||{});(0,el.GD)({th:function(){s="https://www.youtube.com/embed/17ZlSdSOka0",n="/static-v4/images/home/how-to-fastwork/video_cover-1.jpg"},id:function(){s="https://www.youtube.com/embed/8wkDbgPB1xI",n="/static-v4/images/home/how-to-fastwork/video_cover-id.jpg"},default:function(){s=null,n=null}});var ec=function(e){return[{title:e("how-to.find-freelance.title"),icon:"/static-v4/images/icons/group-11651.svg",content:e("how-to.find-freelance.body"),video:{cover:n,src:s},actionStep:"FindFreelance"},{title:e("how-to.inquiry.title"),icon:"/static-v4/images/icons/group-11652.svg",content:"".concat(e("how-to.inquiry.body")),video:{cover:n,src:s},actionStep:"Inquiry"},{title:e("how-to.payment.title"),icon:"/static-v4/images/icons/group-11653.svg",content:(0,l.jsxs)(ei.x6,{t:e,i18nKey:"how-to.payment.body",children:[(0,l.jsxs)(A.Gr,{href:D.pB,className:"_cl-primary-700 _cs-pt",children:[(0,S.$)().APP_NAME," Guarantee"]}),"ได้งานแน่นอน"]}),video:{cover:n,src:s},actionStep:"Payment"},{title:e("how-to.approve.title"),icon:"/static-v4/images/icons/group-11654.svg",content:e("how-to.approve.body"),video:{cover:n,src:s},actionStep:"Approve"}]},eo=function(e,a){return ec(a).find(function(a){return a.actionStep===e})},ed=function(){var e=(0,i._)((0,r.useState)("FindFreelance"),2),a=e[0],t=e[1],n=(0,i._)((0,r.useState)(!1),2),d=n[0],u=n[1],m=(0,i._)((0,o.Bd)(c.nd),1)[0],p=!!s;return(0,l.jsxs)("div",{className:"how_to_use_fastwork lo-container-desktop",children:[(0,l.jsx)("h2",{className:"_cl-primary-700",children:m("how-to.title")}),(0,l.jsxs)("div",{className:N()("_gg-48px lo-8-4",{"lo-8-4":p,"lo-12":!p}),children:[(0,l.jsx)("div",{className:"tabular left",children:(0,l.jsx)("div",{className:"item lo-6 _grg-32px",children:ec(m).map(function(e){var s=e.content,n=e.title,i=e.icon,r=e.actionStep;return(0,l.jsxs)("div",{className:N()("slot-image lo-1-11 _gclg-16px _pd-4px",{active:a===r}),onClick:function(){return t(r)},children:[(0,l.jsx)(f(),{src:i,alt:"how to use fastwork",width:30,height:30}),(0,l.jsxs)("div",{className:"lo-12 _grg-4px",children:[(0,l.jsx)("h5",{children:n}),(0,l.jsx)("p",{className:"paragraph",children:s})]})]},n)})})}),p&&(0,l.jsx)("div",{className:"tabular right media-content",onClick:function(){return u(!0)},style:{backgroundImage:"url(".concat(eo(a,m).video.cover,"\n							)")},children:(0,l.jsx)("i",{className:"play-icon fas fa-circle-play fa-5x"})})]}),d&&(0,l.jsx)(A.aF,{onClickToClose:function(){return u(!1)},isShown:d,className:"how_to_use_fastwork",children:(0,l.jsx)("div",{className:"content",children:(0,l.jsx)("div",{className:"video_container",children:(0,l.jsx)("iframe",{id:"how_to_use_fastwork-video",title:"How to use ".concat((0,S.$)().APP_NAME),width:"100%",height:"100%",src:"".concat(eo(a,m).video.src,"?autoplay=1&controls=1&showinfo=0"),frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})})})]})};let eu=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0];return(0,l.jsxs)("div",{className:"_bgcl-white-100 _pst-rlt _pd-12px _mgbt-4px _bdbtw-4px _bdcl-neutral-200",children:[(0,l.jsx)("h4",{className:"_tal-ct _fs-700 _cl-primary-800 _ffml-secondary _mgbt-8px _mgt-24px",children:e("how.h4")}),(0,l.jsx)("div",{className:"_pdh-24px",children:em.map(function(a){return(0,l.jsx)("div",{className:"_pdv-24px",children:(0,l.jsxs)("div",{className:"_dp-f",children:[(0,l.jsx)(f(),{src:a.img,width:48,height:48,alt:"how to use fastwork"}),(0,l.jsxs)("div",{className:"_pdl-16px _f-1",children:[(0,l.jsx)("p",{className:"_fs-500 _cl-primary-700 _ffml-secondary _dp-f _jtfct-spbtw _alit-ct _mgbt-8px",children:e(a.title)}),(0,l.jsx)("p",{className:"_fs-7",children:e(a.subtitle)})]})]})},a.title)})})]})};
1var em=[{id:1,title:"how.1.title",subtitle:"how.1.body",img:"/static-v4/images/icons/Step_1.svg"},{id:2,title:"how.2.title",subtitle:"how.2.body",img:"/static-v4/images/icons/Step_2.svg"},{id:3,title:"how.3.title",subtitle:"how.3.body",img:"/static-v4/images/icons/Step_3.svg"},{id:4,title:"how.4.title",subtitle:"how.4.body",img:"/static-v4/images/icons/Step_4.svg"}];t(47931),t(59841);var ep=t(65143),eh=t(70930);let eg=function(){var e=ef(),a=function(e){return(0,l.jsxs)("div",{"data-selenium":e.id,"aria-label":e.id,className:"_dp-f _fdrt-cl _alit-ct",children:[(0,l.jsx)("div",{className:N()("_bdw-1px _bdcl-neutral-300 _w-48px _h-48px icon-wrapper",e.isOutline?"in-active-link":"active-link"),children:(0,l.jsx)("i",{className:N()("icon-inner",e.icon)})}),(0,l.jsx)("div",{className:"_tal-ct _fs-200 _mgt-4px _cl-base",children:(0,l.jsx)("div",{className:"_wsp-pw",children:e.title})})]})};return(0,l.jsx)("div",{className:"menu _bgcl-white-100 _pst-rlt _pd-12px _mgbt-4px _bdbtw-4px _bdcl-neutral-200",children:(0,l.jsx)("div",{className:"menu-wrapper",children:(0,l.jsx)("div",{className:"_pdh-8px menu-content",children:e.map(function(e){return e.isExternal?(0,l.jsx)("a",(0,m._)((0,u._)({rel:"noopener noreferrer",target:e.href?"_blank":null},e.href&&{href:e.href}),{children:a(e)}),e.id):(0,l.jsx)(P(),{href:"/".concat(e.href),children:a(e)},e.id)})})})})};var ef=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0],a=(0,ep.ur)(),t=a.isLoggedIn,s=a.user,n=t&&(0,eh.eT)(s);return(0,r.useMemo)(function(){var a=[{icon:"fas fa-grip-horizontal",title:e("menu.all-categories"),href:"category",id:"home-menu-all-category",isOutline:!0}],t={icon:"fa-solid fa-chart-user",title:"Seller\nCenter",href:"".concat((0,S.$)().SELLER_CENTER_URL),id:"home-menu-seller-center",isExternal:!0},s={icon:"fas fa-bullhorn",title:e("menu.jobboard"),href:B.stringifyUrl({url:(0,S.$)().JOBBOARD_URL,query:{source:"home_nav-bar"}}),id:"home-menu-jobboard",isExternal:!0},i={icon:"fas fa-question-circle",title:e("menu.how-to"),href:"".concat((0,S.$)().STATIC_URL,"/contents/how"),id:"home-menu-how-to",isExternal:!0},l={icon:"fas fa-shield-check",title:e("menu.guarantee"),href:"".concat((0,S.$)().STATIC_URL,"/contents/guarantee"),id:"home-menu-guarantee",isExternal:!0},r=[t,s,i],c=[s,i,l];return a.concat(n?r:c)},[n,e])};let ex=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0];return(0,l.jsxs)("div",{className:"footer _bgcl-primary-700 _dp-f _alit-ct _jtfct-ct _fdrt-cl _pd-24px",children:[(0,l.jsx)("div",{className:"_tal-ct",children:(0,l.jsx)("p",{className:"text-subtitle _wsp-pw",children:e("freelance-registration.join-us")})}),(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",id:"home-footer-apply-freelance","data-selenium":"home-footer-apply-freelance","aria-label":"home-footer-apply-freelance",href:"/start-selling",children:(0,l.jsx)("button",{type:"button",className:"tb-button _bgcl-bittersweet _cl-white-100 _tal-ct _mgt-12px",children:(0,l.jsx)("span",{children:e("freelance-registration.btn")})})})]})};var e_=t(69050);let ev=function(e){var a,t=e.popularProductItem,s=e.source,n=(0,i._)((0,o.Bd)(c.nd),1)[0];return w()(null==t?void 0:t.products)?null:(0,l.jsxs)("div",{className:"popular-product-item _pd-12px _bdbtw-4px _bdcl-neutral-200",children:[(0,l.jsx)("h6",{className:"_ffml-secondary _fs-400 _fw-600",children:null==t?void 0:t.title_subcat}),(0,l.jsx)("section",{className:"lo-product-card-container _mgv-12px",style:{"--column":1},children:null==t||null==(a=t.products)?void 0:a.slice(0,4).map(function(e,a){var t,n;return(0,l.jsx)(r.Fragment,{children:(0,l.jsx)(e_.c,{tabIndex:a%35,page:Math.ceil((a+1)/35)||1,category:e.category,subcategory:e.subcategory,titleSubCate:e.subcategory.title,productId:e.objectID,purchaseCount:null==e?void 0:e.purchase_count,title:e.title,coverPhoto:e.image||"",basePrice:e.base_price,slug:e.slug,rating:e.rating,badges:e.badges,user:e.user,reviewCount:e.review_count,responseTime:null==e||null==(n=e.user)||null==(t=n.stats)?void 0:t.response_time,productCardDecor:null==e?void 0:e.product_card_decor,fallbackSource:s},e.objectID)},"".concat(e.objectID).concat(a))})}),(0,l.jsx)("a",{"data-selenium":"home-more-product-button","aria-label":"home-more-product-button",className:"trb-button is-variant-secondary is-fluid",href:"/".concat(t.subcat_slug,"?source=").concat(s),children:n("category-panel.view-more")})]})},ej=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0],a=(0,i._)((0,o.Bd)(c.ZX),1)[0],t=(0,M.$S)().data,s=(0,C.Ke)({categories:void 0===t?[]:t}),n=(0,r.useMemo)(function(){var e,a;return null==s||null==(a=s.data)||null==(e=a.mappedSubcategories)?void 0:e.slice(0,8)},[s]);return(null==n?void 0:n.length)?(0,l.jsx)("div",{className:"popular-subcategory",children:(0,l.jsxs)("div",{className:"_pd-12px _bdbtw-4px _bdcl-neutral-200",children:[(0,l.jsx)("div",{className:"_mgbt-12px",children:(0,l.jsx)("h6",{children:(0,l.jsx)("strong",{className:"_ffml-secondary _fs-400",children:a("popular-subcategory.label")})})}),(0,l.jsx)("div",{className:"subcategory-container _mgt-16px _mgbt-12px",children:(0,l.jsx)("div",{className:"lo-6 _gg-8px _ffml-secondary",children:null==n?void 0:n.map(function(e){return(0,l.jsx)(P(
1),{href:{pathname:"/".concat(e.slug),query:{source:"web_marketplace_home_popular-subcategory-section"}},"data-selenium":"category-panel.link.subcategory","data-name":e.title,children:(0,l.jsxs)("div",{className:"subcategory-item",children:[(0,l.jsx)(f(),{src:e.image,priority:!0,alt:"".concat(e.slug,"-cover"),fill:!0,sizes:"100vw",style:{objectFit:"cover"}}),(0,l.jsx)("div",{className:"content",children:(0,l.jsx)("span",{className:"_fs-200",children:e.title})})]})},e.slug)})})}),(0,l.jsx)(P(),{href:"/category","data-selenium":"home-more-subcategory-button","aria-label":"home-more-subcategory-button",children:(0,l.jsx)(T.$n,{variant:"secondary",isFluid:!0,children:e("popular-categories.view-more")})})]})}):null};var eb=["product-compare.freelancer.list-1","product-compare.freelancer.list-2"],eN=["product-compare.specialist.list-1","product-compare.specialist.list-2","product-compare.specialist.list-3","product-compare.specialist.list-4"],ey=["product-compare.professional.list-1","product-compare.professional.list-2","product-compare.professional.list-3","product-compare.professional.list-4","product-compare.professional.list-5","product-compare.professional.list-6"],ew={background:"white",boxShadow:"0 10px 40px -4px rgba(19, 55, 109, 0.08), 0 8px 22px -6px rgba(19, 55, 109, 0.1)",borderRadius:"8px"};let eA=function(e){var a=e.disclosure,t=(0,o.Bd)(c.nd).t;return(0,l.jsxs)("div",{id:"freelance-type",className:"product-comparison-container lo-container-desktop _grg-32px _pdt-48px",children:[(0,l.jsx)("h2",{className:"_cl-primary-700 _tal-ct",children:t("product-compare.title")}),(0,l.jsxs)("div",{className:"lo-4 _gg-32px",children:[(0,l.jsxs)("div",{style:ew,className:"_dp-f _fdrt-cl",children:[(0,l.jsxs)("div",{className:"_pd-24px _f-1",children:[(0,l.jsx)("div",{style:{height:"32px"}}),(0,l.jsx)("div",{className:"_mgt-32px _dp-f _jtfct-ct",children:(0,l.jsx)("img",{src:"/static-v4/images/compare/compare1.svg",alt:"Freelancer",decoding:"async",loading:"lazy"})}),(0,l.jsx)("div",{className:"_fs-600 _fw-600 _tal-ct _mgt-24px _ffml-secondary",children:t("product-compare.freelancer.title")}),(0,l.jsx)("div",{className:"_mgt-16px",children:(0,l.jsx)("ul",{className:"lo-12 _gg-4px _fs-300",children:eb.map(function(e){return(0,l.jsxs)("li",{className:"_dp-f",children:[(0,l.jsx)("div",{className:"_w-24px _mgt-4px",children:(0,l.jsx)("i",{className:"far fa-check _cl-primary-500"})}),(0,l.jsx)("div",{className:"_f-1 _opct-70",children:(0,l.jsx)("p",{className:"_fs-300",children:t(e)})})]},e)})})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("hr",{}),(0,l.jsx)("div",{className:"_pdh-24px _dp-f _jtfct-fe _alit-ct",style:{height:"60px"},children:(0,l.jsx)("div",{onClick:a.onOpen,"data-selenium":"product-compare.freelancer",children:(0,l.jsxs)("div",{className:"_ffml-secondary _opct-70 _fs-300 _cs-pt",children:[t("product-compare.view-all")," ",(0,l.jsx)("i",{className:"far fa-arrow-right _mgl-8px"})]})})})]})]}),(0,l.jsxs)("div",{style:ew,className:"_dp-f _fdrt-cl",children:[(0,l.jsxs)("div",{className:"_pd-24px _f-1",children:[(0,l.jsx)("div",{className:"_dp-f _jtfct-fe",style:{height:"32px"},children:(0,l.jsx)("img",{src:G.kU.switch({default:"/static-v4/images/compare/compare-badge1.png",en:"/static-v4/images/compare/compare-badge1-en.png"}),alt:"Specialist",height:32,decoding:"async",loading:"lazy"})}),(0,l.jsx)("div",{className:"_mgt-32px _dp-f _jtfct-ct",children:(0,l.jsx)("img",{src:"/static-v4/images/compare/compare2.svg",alt:"Specialist",decoding:"async",loading:"lazy"})}),(0,l.jsx)("div",{className:"_fs-600 _fw-600 _tal-ct _mgt-24px _ffml-secondary",children:t("product-compare.specialist.title")}),(0,l.jsx)("div",{className:"_mgt-16px",children:(0,l.jsx)("ul",{className:"lo-12 _gg-4px _fs-300",children:eN.map(function(e){return(0,l.jsxs)("li",{className:"_dp-f",children:[(0,l.jsx)("div",{className:"_w-24px _mgt-4px",children:(0,l.jsx)("i",{className:"far fa-check _cl-primary-500"})}),(0,l.jsx)("div",{className:"_f-1 _opct-70",children:(0,l.jsx)("p",{className:"_fs-300",children:t(e)})})]},e)})})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("hr",{}),(0,l.jsx)("div",{className:"_pdh-24px _dp-f _jtfct-fe _alit-ct",style:{height:"60px"},children:(0,l.jsx)(A.Gr,{href:B.stringifyUrl({url:"".concat((0,S.$)().DESKTOP_URL,"/search"),query:{badges:":specialist",filter_used:!0,source:"home_specialist-section",q:"specialist"}}),"data-selenium":"product-compare.specialist",children:(0,l.jsxs)("div",{className:"_ffml-secondary _opct-70 _fs-300 _cs-pt",children:[t("product-compare.view-all")," ",(0,l.jsx)("i",{className:"far fa-arrow-right _mgl-8px"})]})})})]})]}),(0,l.jsxs)("div",{style:ew,className:"_dp-f _fdrt-cl",children:[(0,l.jsxs)("div",{className:"_pd-24px _f-1",children:[(0,l.jsx)("div",{className:"_dp-f _jtfct-fe",style:{height:"32px"},children:(0,l.jsx)("img",{src:"/static-v4/images/compare/compare-badge2.png",alt:"Professional",height:32})}),(0,l.jsx)("div",{className:"_mgt-32px _dp-f _jtfct-ct",children:(0,l.jsx)("img",{src:"/static-v4/images/compare/compare3.svg",alt:"Professional"})}),(0,l.jsx)("div",{className:"_fs-600 _fw-600 _tal-ct _mgt-24px _ffml-secondary",children:t("product-compare.professional.title")}),(0,l.jsx)("div",{className:"_mgt-16px",children:(0,l.jsx)("ul",{className:"lo-12 _gg-4px _fs-300",children:ey.map(function(e){return(0,l.jsxs)("li",{className:"_dp-f",children:[(0,l.jsx)("div",{className:"_w-24px _mgt-4px",children:(0,l.jsx)("i",{className:"far fa-check _cl-primary-500"})}),(0,l.jsx)("div",{className:"_f-1 _opct-70",children:(0,l.jsx)("p",{className:"_fs-300",children:t(e)})})]},e)})})})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("hr",{}),(0,l.jsx)("div",{className:"_pdh-24px _dp-f _jtfct-fe _alit-ct",style:{height:"60px"},children:(0,l.jsx)("a",{href:D.aO,target:"_blank","data-selenium":"product-compare.professional",rel:"noreferrer",children:(0,l.jsxs)("div",{className:"_ffml-secondary _opct-70 _fs-300 _cs-pt",children:[t("product-compare.view-all")," ",(0,l.jsx)("i",{className:"far fa-arrow-right _mgl-8px"})]})})})]})]})]})]})},ek=function(e){var a=e.disclosure,t=(0,o.Bd)(c.nd).t,s=[{logo:null,title:t("product-compare.freelancer.title"),subTitle:t
1("product-compare.freelancer.sub-title"),image:"/static-v4/images/compare/compare1.svg",checkList:[t("product-compare.freelancer.list-1"),t("product-compare.freelancer.list-2")],action:(0,l.jsx)("div",{style:{height:"46px"},className:"_dp-f _jtfct-fe _alit-ct _pdh-16px",children:(0,l.jsx)("div",{"data-selenium":"product-compare.freelancer",onClick:a.onOpen,children:(0,l.jsxs)("div",{className:"_ffml-secondary _opct-70 _fs-300 _cs-pt",children:[t("product-compare.view-all")," ",(0,l.jsx)("i",{className:"far fa-arrow-right _mgl-8px"})]})})})},{logo:el.kU.switch({default:"/static-v4/images/compare/compare-badge1.png",en:"/static-v4/images/compare/compare-badge1-en.png"}),title:"".concat((0,S.$)().APP_NAME," Specialist"),subTitle:t("product-compare.specialist.sub-title"),image:"/static-v4/images/compare/compare2.svg",checkList:[t("product-compare.specialist.list-1"),t("product-compare.specialist.list-2"),t("product-compare.specialist.list-3"),t("product-compare.specialist.list-4")],action:(0,l.jsx)("div",{style:{height:"46px"},className:"_dp-f _jtfct-fe _alit-ct _pdh-16px",children:(0,l.jsx)("a",{"data-selenium":"product-compare.specialist",target:"_blank",href:"".concat((0,S.$)().DESKTOP_URL,'/search?badges=%3Aspecialist&filter_used=true&q=""&source=home_specialist-section'),rel:"noreferrer",children:(0,l.jsxs)("div",{className:"_ffml-secondary _opct-70 _fs-300 _cs-pt",children:[t("product-compare.view-all")," ",(0,l.jsx)("i",{className:"far fa-arrow-right _mgl-8px"})]})})})},{logo:"/static-v4/images/compare/compare-badge2.png",title:"".concat((0,S.$)().APP_NAME," Professional"),subTitle:t("product-compare.professional.sub-title"),image:"/static-v4/images/compare/compare3.svg",checkList:[t("product-compare.professional.list-1"),t("product-compare.professional.list-2"),t("product-compare.professional.list-3"),t("product-compare.professional.list-4"),t("product-compare.professional.list-5"),t("product-compare.professional.list-6")],action:(0,l.jsx)("div",{style:{height:"46px"},className:"_dp-f _jtfct-fe _alit-ct _pdh-16px",children:(0,l.jsx)("a",{"data-selenium":"product-compare.professional",href:D.aO,target:"_blank",rel:"noreferrer",children:(0,l.jsxs)("div",{className:"_ffml-secondary _opct-70 _fs-300 _cs-pt",children:[t("product-compare.view-all")," ",(0,l.jsx)("i",{className:"far fa-arrow-right _mgl-8px"})]})})})}];return(0,l.jsxs)("div",{className:"product-compare-mobile _pdh-12px _pdv-24px",children:[(0,l.jsx)("div",{className:"_mgbt-12px",children:(0,l.jsx)("h6",{className:"_tal-ct",children:(0,l.jsx)("strong",{className:"_ffml-secondary _fs-500 _tal-ct _cl-primary-700",children:t("product-compare.title")})})}),(0,l.jsx)("div",{className:"product-compare-wrapper lo-12 _gg-16px",children:s.filter(function(e){return e&&e.title}).map(function(e){return(0,l.jsx)(eS,{product:e},e.title)})}),(0,l.jsx)("div",{className:"_mgt-32px",children:(0,l.jsx)("a",{href:"".concat(D.VB,"/?utm_source=fastwork&utm_medium=organic&utm_campaign=homepage_banner&source=fastwork_hompage_banner"),target:"_blank","data-selenium":"product-compare.business",rel:"noreferrer",children:(0,l.jsx)("div",{style:{backgroundImage:"url(/static-v4/images/compare/banner-02-mobile.png)",boxShadow:"0 10px 40px -4px rgba(19, 55, 109, 0.08), 0 8px 22px -6px rgba(19, 55, 109, 0.1)",borderRadius:"8px",backgroundPosition:"bottom right"},className:"_cs-pt _bgs-cv _dp-f _jtfct-ct _alit-ct _pd-24px",children:(0,l.jsxs)("div",{className:"lo-12",children:[(0,l.jsx)("div",{children:(0,l.jsx)("img",{src:"/static-v4/images/compare/logo-business.png",alt:"business",height:20})}),(0,l.jsxs)("div",{className:"_mgt-16px",children:[(0,l.jsx)("div",{className:"_ffml-secondary _fs-500 _fw-600 _cl-primary-700",children:t("product-compare.business-banner.title")}),(0,l.jsx)("div",{className:"_fs-200 _opct-80 _mgt-4px _mgt-8px",children:t("product-compare.business-banner.description")})]}),(0,l.jsx)("div",{children:(0,l.jsxs)("button",{type:"button",className:"tb-button -small _mgt-16px",children:[t("product-compare.business-banner.action")," ",(0,l.jsx)("i",{className:"_mgl-8px far fa-arrow-right"})]})})]})})})})]})};var eS=function(e){var a=e.product,t=(0,i._)((0,r.useState)(!1),2),s=t[0],n=t[1],c=function(){n(!s)};return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{role:"presentation",style:{borderRadius:"8px",boxShadow:"0 8px 24px -4px rgba(19, 55, 109, 0.04), 0 7px 12px -6px rgba(19, 55, 109, 0.06)",border:"solid 1px rgba(235, 239, 244, 0.95)",backgroundColor:"#fcfcfc"},className:"product",onClick:function(){return c()},children:[(0,l.jsx)("div",{className:"_pd-16px",children:(0,l.jsxs)("div",{className:"main",children:[(0,l.jsx)(f(),{src:a.image,alt:"".concat(a.title," icon"),width:64,height:64}),(0,l.jsxs)("div",{className:"content _pdl-12px",children:[a.logo&&(0,l.jsx)("div",{className:"img-wrapper",children:(0,l.jsx)("img",{className:"logo _mgbt-8px",src:a.logo,height:"24",alt:"".concat(a.title," badge")})}),(0,l.jsx)("h2",{className:"_fs-400",children:(0,l.jsx)("strong",{children:a.title})}),(0,l.jsx)("span",{className:"_cl-neutral-600 _fs-200 _ffml-secondary",children:a.subTitle})]}),(0,l.jsx)("i",{className:N()("_als-ct _cl-neutral-600 fas fa-chevron-down icon-chevron _mgr-4px _mgl-8px",{"-expand":s})})]})}),(0,l.jsxs)("div",{className:N()("collapse",{"-expand _pdt-16px":s}),children:[(0,l.jsx)("div",{className:"check-list lo-12 _gg-8px _pdh-16px _pdbt-16px",children:a.checkList.map(function(e){return(0,l.jsxs)("div",{className:"_dp-f",children:[(0,l.jsx)("i",{className:"_mgr-8px fas fa-check _cl-primary-600 checkmark"}),(0,l.jsx)("span",{className:"_cl-neutral-700 _f-1 _fs-200",children:e})]},e)})}),(0,l.jsx)("hr",{}),a.action]})]})})},eC=t(1260),eE=t.n(eC);let eL=function(){return(0,l.jsx)("div",{id:"search-box",className:N()(eE()["search-link"],eE()["-active"]),children:(0,l.jsx)(P(
1),{href:"/search",children:(0,l.jsx)("div",{children:(0,l.jsx)(A.Rq,{disabled:!0,isFluid:!0,variant:"instant"})})})})},eI=function(){var e=(0,el.uN)({th:12,id:5,default:0}),a=(0,i._)((0,o.Bd)(c.nd),1)[0],t=(0,i._)((0,r.useState)(!1),2),s=t[0],n=t[1];if(e>0)return(0,l.jsxs)("div",{className:"testimonial _pst-rlt _pd-12px _bdbtw-4px _bdcl-neutral-200",children:[(0,l.jsx)("div",{className:"_mgbt-12px",children:(0,l.jsx)("h6",{children:(0,l.jsx)("strong",{className:"_ffml-secondary _fs-400",children:a("clients.h6")})})}),(0,l.jsx)("div",{className:"lo-6 _gg-16px _jtfit-ct _pdv-32px","data-selenium":"home-testimonial",children:Array.from(Array(e)).filter(function(e,a){return!!s||a<4}).map(function(e,a){return(0,l.jsx)("img",{src:"/static-v4/images/customer/".concat("vn","/").concat(a+1,".png"),alt:"trusted by company",style:{aspectRatio:(0,el.uN)({th:"384 / 230",default:"184 / 87"})},height:80},"trusted-by-company-".concat(a+1))})}),!s&&(0,l.jsx)("a",{"data-selenium":"home-more-subcategory-button","aria-label":"home-more-subcategory-button",className:"tb-button -secondary _w-100pct _bdrd-4px _mnh-32px",onClick:function(){n(!0)},children:a("clients.see-more")})]})};var eT=function(){return(0,el.uN)({th:12,default:5}),(0,i._)((0,o.Bd)(c.nd),1)[0],null},eR=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0],a=(0,C.JQ)().data,t=void 0===a?[]:a;return t.length?!!t&&(0,l.jsxs)("div",{className:"feedback lo-container-desktop _grg-24px",children:[(0,l.jsx)("h2",{className:"_cl-primary-700",children:e("customer-review")}),(0,l.jsx)("div",{className:"carousel-cards _gclg-12px",children:(0,l.jsx)(A.FN,{settings:{slidesToShow:3,slidesToScroll:3,infinite:!1,arrows:!0,adaptiveHeight:!1},itemPadding:"1.5rem",itemPaddingBottom:"32px",children:t.map(function(e){var a=e.attributes,t=a.avatar,s=a.businessName,n=a.testimonial,i=a.businessType,r=(0,_.n$)(t.data.attributes.url);return(0,l.jsxs)("div",{className:"carousel-card _pd-24px",children:[(0,l.jsxs)("div",{className:"quote lo-2-10 _gclg-16px",children:[(0,l.jsx)("i",{className:"fas fa-quote-left _fs-900 _pdt-12px _cl-primary-100"}),(0,l.jsx)("p",{className:"paragraph _cl-neutral-600",children:n})]}),(0,l.jsx)("div",{className:"item _mgt-12px",children:(0,l.jsxs)("div",{className:"slot-image lo-2-10 _gclg-16px",children:[(0,l.jsx)(f(),{alt:"Avatar",className:"tb-avatar",src:r,height:"48",width:"48",style:{maxWidth:"100%",height:"auto"}}),(0,l.jsxs)("div",{className:"_lh-default _als-ct",children:[(0,l.jsx)("div",{className:"_cl-primary-600",children:(0,l.jsx)("strong",{children:s})}),(0,l.jsx)("div",{className:"_mgt-4px _cl-neutral-500 _fs-300",children:i})]})]})})]},s)})})})]}):null},eP=[{title:"why-fastwork.quality.title",img:"/static-v4/images/icons/group-people.svg",content:"why-fastwork.quality.body"},{title:"why-fastwork.guarantee.title",img:"/static-v4/images/icons/shield.svg",content:"why-fastwork.guarantee.body"},{title:"why-fastwork.success.title",img:"/static-v4/images/icons/paper.svg",content:"why-fastwork.success.body"}],eB=function(){var e=(0,i._)((0,o.Bd)(c.nd),1)[0];return(0,l.jsxs)("div",{className:"why-fastwork lo-container-desktop _grg-48px",children:[(0,l.jsxs)("div",{className:"title",children:[(0,l.jsx)("h4",{className:"_cl-neutral-800",children:e("why-fastwork.subtitle")}),(0,l.jsx)("h2",{className:"_cl-primary-700",children:e("why-fastwork.title")})]}),(0,l.jsx)("div",{className:"items col lo-4 _gclg-24px _jtfit-ct",children:eP.map(function(a){var t=a.content,s=a.img,n=a.title;return(0,l.jsx)("div",{className:"item",children:(0,l.jsxs)("div",{className:"slot-image",children:[(0,l.jsx)(f(),{src:s,alt:n,height:62,width:62,quality:100,style:{maxWidth:"100%",height:"auto"}}),(0,l.jsxs)("div",{className:"lo-12 _grg-4px _mgt-16px",children:[(0,l.jsx)("h5",{children:e(n)}),(0,l.jsx)("p",{className:"paragraph",children:e(t)})]})]})},"".concat(t,"-").concat(s,"-").concat(n))})})]})}},46374:e=>{e.exports={"line-clamp":"UserPointWidget_line-clamp__sI4wf","point-widget-button":"UserPointWidget_point-widget-button__wV8Zf","point-tooltip":"UserPointWidget_point-tooltip__0R7ph"}},47931:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>k});var s=t(37876),n=t(14232),i=t(88202),l=t(80481),r=t(17907),c=t(50075),o=t(66523),d=t(75786),u=t(48162),m=t(10997),p=t(79514),h=t(40123),g=t.n(h),f=t(69050),x=function(e){var a=e.source,t=e.titleSubCate,l=(0,d.PI)().data,r={slidesToShow:5,slidesToScroll:5,infinite:!1,arrows:!0,adaptiveHeight:!1};return(0,s.jsx)(s.Fragment,{children:(void 0===l?[]:l).map(function(e){var l=e.title_prefix,c=e.products,o=e.title_subcat,d=e.subcat_slug;return(0,s.jsx)(n.Fragment,{children:!g()(c)&&(0,s.jsxs)("div",{className:"lo-container-desktop _grg-24px _pdt-48px",children:[(0,s.jsxs)("h2",{className:"_cl-primary-700",children:[l," ",(0,s.jsx)("span",{className:"_cl-primary-500",children:(0,s.jsx)("a",{href:"".concat((0,i.$)().HOSTNAME,"/").concat(d,"?source=").concat(a),children:o})})]}),(0,s.jsx)(m.FN,{settings:r,itemPadding:"10px",itemPaddingBottom:"28px",children:c.map(function(e,n){var i,l;return(0,s.jsx)(f.c,{tabIndex:n,category:e.category,subcategory:e.subcategory,titleSubCate:t,productId:e.objectID,className:"card-product",purchaseCount:null==e?void 0:e.purchase_count,title:e.title,coverPhoto:e.image||"",basePrice:e.base_price,slug:e.slug,rating:e.rating,badges:e.badges,user:e.user,reviewCount:e.review_count,responseTime:null==e||null==(l=e.user)||null==(i=l.stats)?void 0:i.response_time,productCardDecor:null==e?void 0:e.product_card_decor,fallbackSource:a,style:{minHeight:"360px"}},e.objectID)})})]})},"".concat(l,"-").concat(o))})})},_=t(36018),v=function(){var e=(0,d.nz)().data,a=void 0===e?null:e;return a?(0,s.jsx)("a",{href:a.attributes.link,target:"_blank",rel:"noreferrer",style:{borderRadius:"16px",overflow:"hidden"},children:(0,s.jsx)("img",{src:a.attributes.image.data.attributes.url,alt:"featured-banner",style:{height:"160px",objectFit:"cover"}})}):null},j=t(20294),b=t(54587),N=t.n(b),y=t(93996),w=t(50113),A=function(){var e=(0,j._)((0,c.Bd)(l.nd),1)[0],a=(0,y.u)().user,t=(0,d.lZ)({state:(0,w.oj)(a),isMobile:!1}).data,n=void 0===t?[]:t;return n.length?(0,s.jsxs)("div",{className:"coupon-banners lo-container-desktop _grg-16px",children:[(0,s.jsx)("h2",{className:"_cl-primary-700",children:e("recommended-banner")}),(0,s.jsx)(m.FN,{settings:{slidesToShow:3,slidesToScroll:3,infinite:!1,arrows:!0,adaptiveHeight:!1},itemPadding:"12px",isFluid:!0,children:n.map(function(e){var a,t,n,i,l,r,c=(0,w.n$)(null==e||null==(i=e.attributes)||null==(n=i.image)||null==(t=n.data)||null==(a=t.attributes)?void 0:a.url);return(0,s.jsx)("a",{className:"discount-banner-card",href:null==e||null==(l=e.attributes)?void 0:l.link,children:(0,s.jsx)(m.gl,{ratio:393/98,style:{height:"98px"}
1,children:(0,s.jsx)(N(),{src:c,quality:90,fill:!0,sizes:"100vw",style:{objectFit:"cover"},alt:"recommended banner"})})},null==e||null==(r=e.attributes)?void 0:r.title)})})]}):null};let k=function(e){var a=e.user,t=e.isLoggedIn,n=(0,c.Bd)(l.nd).t,h=(0,c.j1)(),g=(0,d.p_)(!t).data;return(0,s.jsxs)(p.Al,{className:"layout-home",children:[(0,s.jsx)(m.W8,{canonical:"".concat((0,i.$)().HOSTNAME),alternateLink:"".concat((0,i.$)().HOSTNAME)}),(0,s.jsx)(_.lq,{}),(0,s.jsx)(_.xI,{}),(0,s.jsx)("div",{className:"lo-container-desktop feature-banner-container",children:(0,s.jsx)(v,{})}),!t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_.AW,{}),(0,s.jsx)(_.m0,{})]}),(0,s.jsx)(_.Hu,{}),(0,s.jsx)(A,{}),(0,s.jsx)("div",{className:"_bg-blue-gradient",children:(0,o.uN)({th:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_.bH,{disclosure:h}),(0,s.jsx)(u.Ay,{disclosure:h,source:"home_find-freelance-bottom-section"}),(0,s.jsx)("div",{className:"lo-container-desktop _pdv-32px",children:(0,s.jsx)("a",{href:"".concat(r.VB,"/?utm_source=fastwork&utm_medium=organic&utm_campaign=homepage_banner&source=fastwork_hompage_banner"),target:"_blank","data-selenium":"product-compare.business",rel:"noreferrer",children:(0,s.jsx)("div",{style:{height:"145px",backgroundImage:"url(/static-v4/images/compare/banner-02.png)",boxShadow:"0 10px 40px -4px rgba(19, 55, 109, 0.08), 0 8px 22px -6px rgba(19, 55, 109, 0.1)",borderRadius:"8px"},className:"_cs-pt _bgs-cv _dp-f _jtfct-ct _alit-ct",children:(0,s.jsxs)("div",{className:"_dp-f _jtfct-spbtw _alit-ct",style:{width:"800px"},children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:"/static-v4/images/compare/logo-business.png",alt:"business",height:24,decoding:"async",loading:"lazy"})}),(0,s.jsxs)("div",{className:"_mgt-16px",children:[(0,s.jsx)("div",{className:"_ffml-secondary _fs-600 _fw-600 _cl-primary-700",children:n("product-compare.business-banner.title")}),(0,s.jsx)("div",{className:"_fs-300 _opct-70 _mgt-4px",children:n("product-compare.business-banner.description")})]})]}),(0,s.jsx)("div",{children:(0,s.jsxs)("button",{type:"button",className:"tb-button",children:[n("product-compare.business-banner.action")," ",(0,s.jsx)("i",{className:"_mgl-8px far fa-arrow-right"})]})})]})})})})]})})}),(0,s.jsx)(x,{source:"home_popular-freelance-section"}),!t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_.o1,{freelanceRecommends:void 0===g?[]:g}),(0,s.jsx)(_.NE,{}),(0,s.jsx)(_.qk,{})]}),(0,s.jsx)(_.Jq,{}),(0,s.jsx)(_.SV,{}),(0,s.jsx)(_.Cs,{}),(0,s.jsx)(m.Co,{isMobile:!1,user:a})]})}},48162:(e,a,t)=>{"use strict";t.d(a,{Ay:()=>T});var s=t(67684),n=t(20294),i=t(37876),l=t(14232),r=t(80481),c=t(50075),o=t(31267),d=function(e){var a=e.title,t=e.subtitle,s=e.icon_url,n=e.isGroup,l=e.onClick;return(0,i.jsxs)("div",{onClick:l,className:"category-card lo-12 _grg-4px","data-selenium":"buyer-onboarding.card.".concat(n?"subcategory-group":"category"),"data-name":a,children:[(0,i.jsxs)("div",{className:"row lo-11-1",children:[(0,i.jsx)("img",{src:s,alt:"icon",className:"tb-image _w-32px _h-32px"}),(0,i.jsx)("i",{className:"fal fa-chevron-right"})]}),(0,i.jsxs)("div",{className:"row lo-12 _grg-4px",children:[(0,i.jsx)("div",{className:"_ffml-secondary _fw-600",children:a}),(0,i.jsx)("p",{className:"_mgt-4px _cl-neutral-500 _fs-200 _wb-bw",children:t})]})]})},u=function(e){var a=e.onClickCategory,t=e.onClickGroupSubcategory,l=e.nextStep,u=e.moveTo,m=(0,n._)((0,c.Bd)(r.Lo),1)[0],p=(0,o.a)().data;return(0,i.jsxs)("div",{className:"categories-page",children:[(0,i.jsxs)("div",{className:"lo-12 title _mgbt-8px _grg-8px",children:[(0,i.jsx)("h5",{children:m("looking-for")}),(0,i.jsx)("span",{className:"_cl-neutral-500 _fs-300",children:m("description")})]}),(0,i.jsx)("div",{className:"scrollable u-scrollbar _mgt-24px",children:(0,i.jsx)("div",{className:"lo-6 _gg-8px",children:(void 0===p?[]:p).map(function(e){return(0,i.jsx)(d,(0,s._)({onClick:function(){"subcategory_group"===e.type?(t(e),u(3)):(a(e),l())}},e),"".concat(e.title,"-").concat(e.id))})})})]})},m=t(62701),p=t(16927),h=t(4902),g=t(89099),f=t.n(g),x=t(28341),_=t
1(84367),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=(0,n._)((0,l.useState)([]),2),t=a[0],s=a[1];return(0,l.useEffect)(function(){""!==e&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";(0,p._)(function(){return(0,h.YH)(this,function(a){switch(a.label){case 0:return[4,_.qK.getProductsById(e)];case 1:return s(a.sent()),[2]}})})()}(e)},[e]),t},j=function(e,a,t){(0,l.useEffect)(function(){a&&(0,p._)(function(){return(0,h.YH)(this,function(a){switch(a.label){case 0:return[4,(0,x.cb)(2e3)];case 1:return a.sent(),f().push({pathname:"/".concat(e),query:{source:t}}),[2]}})})()},[a])},b=function(e){var a=e.title,t=e.categoryId,l=e.nextStep,o=e.onClickCategory,u=(0,n._)((0,c.Bd)(r.Lo),1)[0],p=v(t);return(0,i.jsxs)("div",{className:"group-subcategories-page",children:[(0,i.jsxs)("div",{className:"lo-1-11 title _mgbt-8px _grg-4px",children:[(0,i.jsx)("div",{children:(0,i.jsx)("i",{className:"fal fa-arrow-left _als-t _cl-primary-500 _pdt-4px _cs-pt",onClick:function(){(0,e.prevStep)()},"data-selenium":"buyer-onboarding.button.back"})}),(0,i.jsxs)("div",{className:"lo-12 _grg-4px _mgbt-16px",children:[(0,i.jsx)("h6",{children:u("group-subcat.title")}),(0,i.jsx)("span",{className:"_cl-neutral-500 _fs-300",children:u("group-subcat.subtitle",{title:a})})]})]}),(0,i.jsx)("div",{className:"scrollable",children:(0,i.jsx)("div",{className:"lo-6 _gg-8px",children:p.map(function(e){return(0,i.jsx)(d,(0,m._)((0,s._)({onClick:function(){o(e),l()}},e),{isGroup:!0}),e.title)})})})]})},N=function(){var e=(0,n._)((0,c.Bd)(r.Lo),1)[0];return(0,i.jsx)("div",{className:"loading-page",children:(0,i.jsxs)("div",{className:"content _tal-ct",children:[(0,i.jsx)("div",{className:"loading-icon _mgbt-32px",children:(0,i.jsx)("i",{className:"far fa-spinner fa-pulse fa-5x _cl-primary-500"})}),(0,i.jsx)("h5",{className:"_lh-paragraph",children:e("seeking.title")}),(0,i.jsx)("p",{className:"paragraph",children:e("seeking.description")})]})})},y=t(10997),w=t(89688),A=t(3711),k=t(63321),S=function(e){function a(e){(0,A._)(this,a),(t=(0,w._)(this,a,[e])).isOverflow=function(){var e=t.props.children,a=t.state.activeStep;return l.Children.count(e)<a},t.setActiveStep=function(e){var a=t.state.activeStep,s=t.props,n=s.onStepChange,i=s.children;a!==e&&(t.isOverflow()||t.setState({activeStep:e},function(){return n({activeStep:e,isLastPage:l.Children.count(i)-1===e,previousStep:a})}))},t.nextStep=function(){var e=t.state.activeStep;t.setActiveStep(e+1)},t.prevStep=function(){var e=t.state.activeStep;t.setActiveStep(e-1)},t.firstStep=function(){return t.moveTo(1)},t.lastStep=function(){var e=t.props.children,a=l.Children.count(e);t.moveTo(a)},t.moveTo=function(e){return t.setActiveStep(e-1)};var t,s=t.props.initStep;return t.state={activeStep:s},t}return(0,k._)(a,e),a.prototype.render=function(){var e=this.props.children,a=this.state.activeStep;return l.cloneElement(e[a],{nextStep:this.nextStep,prevStep:this.prevStep,moveTo:this.moveTo,lastStep:this.lastStep,firstStep:this.firstStep,activeStep:a})},a}(l.PureComponent),C=t(15039),E=t.n(C),L=function(e){var a=e.icon_url,t=e.title,s=e.onClick,n=e.hasSelected,l=E()("subcategory-card lo-1-11 _gclg-4px",{"-active":n});return(0,i.jsxs)("div",{onClick:s,className:l,"data-selenium":"buyer-onboarding.card.subcategory","data-name":t,children:[(0,i.jsx)("img",{src:a,alt:"icon",className:"_als-ct _w-32px _h-32px"}),(0,i.jsx)("span",{className:"_fw-600 _als-ct _ffml-secondary _mgl-8px",children:t})]})},I=function(e){var a=e.title,t=e.groupSubCategoryId,s=e.lastStep,o=e.onClickCategory,d=(0,n._)((0,c.Bd)(r.Lo),1)[0],u=v(t),m=(0,n._)((0,l.useState)(null),2),p=m[0],h=m[1];return(0,i.jsxs)("div",{className:"subcategories-page",children:[(0,i.jsxs)("div",{className:"lo-1-11 title _mgbt-8px _grg-4px",children:[(0,i.jsx)("div",{children:(0,i.jsx)("i",{className:"fal fa-arrow-left _als-t _cl-primary-500 _pdt-4px _cs-pt",onClick:function(){var a=e.prevStep,t=e.fromStep,s=e.activeStep,n=e.moveTo;s-t>1?n(1):a()},"data-selenium":"buyer-onboarding.button.back"})}),(0,i.jsxs)("div",{className:"lo-12 _grg-4px _mgbt-16px",children:[(0,i.jsx)("h6",{children:d("subcat.title")}),(0,i.jsx)("span",{className:"_cl-neutral-500 _fs-300",children:d("subcat.subtitle",{title:a})})]})]}),(0,i.jsxs)("div",{className:"lo-12 _gg-16px",children:[(0,i.jsx)("div",{className:"scrollable",children:(0,i.jsx)("div",{className:"lo-6 _gg-8px",children:u.map(function(e){return(0,i.jsx)(L,{onClick:function(){h(e.id),o(e)},hasSelected:p===e.id,icon_url:e.icon_url,title:e.title},e.id)})})}),(0,i.jsx)("button",{type:"button",className:"tb-button ".concat(!p&&"-disabled"),onClick:s,"data-selenium":"buyer-onboarding.button.start-search",disabled:!p,children:d("start-seeking")})]})]})},T=function(e){var a=e.disclosure,t=e.source,s=(0,n._)((0,l.useState)({id:"",icon_url:"",title:"",type:"category",parent_id:"",slug:"",sort_order:0,subtitle:""}),2),r=s[0],c=s[1],o=(0,n._)((0,l.useState)({id:null,title:null,type:"category"}
1),2),d=o[0],m=o[1],p=(0,n._)((0,l.useState)(""),2),h=p[0],g=p[1],f=(0,n._)((0,l.useState)({activeStep:null,isLastPage:!1,previousStep:null}),2),x=f[0],_=f[1],v=a.isOpen,w=a.onClose;return j(h,x.isLastPage,void 0===t?"":t),(0,i.jsx)(y.aF,{className:"modal-buyer-onboarding",onClickToClose:w,isShown:v,children:(0,i.jsxs)(S,{initStep:0,onStepChange:_,children:[(0,i.jsx)(u,{onClickCategory:c,onClickGroupSubcategory:m}),(0,i.jsx)(b,{categoryId:r.id,onClickCategory:m,title:r.title}),(0,i.jsx)(I,{groupSubCategoryId:d.id,onClickCategory:function(e){return g(e.slug)},title:d.title,fromStep:x.previousStep}),(0,i.jsx)(N,{})]})})}},59841:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>j});var s=t(37876),n=t(14232),i=t(50075),l=t(66523),r=t(75786),c=t(88202),o=t(48162),d=t(10997),u=t(79514),m=t(36018),p=t(20294),h=t(54587),g=t.n(h),f=t(93996),x=t(80481),_=t(50113),v=function(){var e=(0,p._)((0,i.Bd)(x.nd),1)[0],a=(0,f.u)().user,t=(0,r.lZ)({state:(0,_.oj)(a),isMobile:!0}).data,n=void 0===t?[]:t,l=n.length;return l?(0,s.jsxs)("div",{className:"_pdbt-16px",children:[(0,s.jsx)("div",{className:"_fw-600 _ffml-secondary _pd-12px",style:{color:"rgba(75, 85, 102, 0.95)"},children:e("recommended-banner")}),(0,s.jsx)("div",{className:"section-promotion _dp-f",children:l?(0,s.jsx)("div",{className:"_pst-rlt _bdrd-4px _ovf-hd _bgcl-neutral-200",style:{width:"100%",height:"93px"},children:(0,s.jsx)(d.FN,{settings:{slidesToShow:1,slidesToScroll:1,infinite:!1,dots:!0,arrows:!0},paginationPosition:"inner",itemPaddingBottom:"4px",arrowType:"no-bg",children:n.map(function(e,a){var t,n,i,l,r,c,o=(0,_.n$)(null==e||null==(l=e.attributes)||null==(i=l.imageMobile)||null==(n=i.data)||null==(t=n.attributes)?void 0:t.url),d=null==e||null==(r=e.attributes)?void 0:r.title;return(0,s.jsx)("a",{href:null==e||null==(c=e.attributes)?void 0:c.link,target:"_blank",rel:"noopener noreferrer",className:"_pst-rlt",style:{display:"block",height:"93px"},children:(0,s.jsx)("div",{className:"_pst-rlt",style:{background:"black",height:"93px"},"data-selenium":"home.promotion-banner.".concat(d),children:(0,s.jsx)(g(),{src:o,alt:d||"",className:"_ojpst-ct",fill:!0,sizes:"100vw",style:{objectFit:"cover"}})})},a)})})}):(0,s.jsx)("div",{style:{height:"93px",backgroundColor:"#D6DAE1",width:"100%"}})})]}):null};let j=function(e){var a=e.user,t=e.isCloseAppBar,p=(0,r.P1)(a).data,h=void 0===p?[]:p,g=(0,r.PI)().data,f=(0,i.j1)(),x=function(){var e=window.pageYOffset;window.onscroll=function(){var a,t,s,n,i,l,r,c,o,d,u,m,p=window.pageYOffset;e>p&&p>1e3?(null==(t=document.getElementById("button-to-top"))||null==(a=t.classList)||a.add("is-active"),null==(n=document.getElementById("customer-support-button-search"))||null==(s=n.classList)||s.add("is-active")):(null==(l=document.getElementById("button-to-top"))||null==(i=l.classList)||i.remove("is-active"),null==(c=document.getElementById("customer-support-button-search"))||null==(r=c.classList)||r.remove("is-active")),e>p?null==(d=document.getElementById("customer-support-button-search"))||null==(o=d.classList)||o.add("is-active"):null==(m=document.getElementById("customer-support-button-search"))||null==(u=m.classList)||u.remove("is-active"),e=p}};return(0,n.useEffect)(function(){return x(),function(){}},[]),(0,s.jsxs)(u.wW,{activeMenu:"HOME",isCloseAppBar:t,enableSearchHelper:!0,children:[(0,s.jsx)(d.W8,{canonical:"".concat((0,c.$)().HOSTNAME),alternateLink:"".concat((0,c.$)().HOSTNAME)}),h.length?(0,s.jsx)(m.lZ,{banners:h}):(0,s.jsx)("svg",{width:"100%",viewBox:"0 0 375 187.5",version:"1.1",children:(0,s.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,s.jsx)("rect",{fill:"#E6E6E6",x:"0",y:"0",width:"375",height:"187.5"})})}),(0,s.jsx)(m.W1,{}),(0,s.jsx)(m.Ed,{}),(0,l.uN)({th:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.$K,{disclosure:f}),(0,s.jsx)(o.Ay,{disclosure:f,source:"home_find-freelance-mobile-section"})]})}),(0,s.jsx)(v,{}),(void 0===g?[]:g).map(function(e){return(0,s.jsx)(m.E9,{popularProductItem:e,source:"home_popular-freelance-section"},e.subcat_slug)}),(0,s.jsx)(m.Sj,{}),(0,s.jsx)(m.Gm,{}),(0,s.jsx)(m.sh,{}),(0,s.jsx)(d.Co,{isMobile:!0,user:a}),(0,s.jsx)("div",{className:"_pst-f _w-100pct _bt-0px search-mobile-footer",style:{maxWidth:"420px"},children:(0,s.jsx)("span",{onClick:function(){window.scrollTo(0,0),setTimeout(function(){document.getElementById("button-to-top").classList.remove("is-active")},250)},id:"button-to-top",className:"button-to-top _pst-asl",style:{bottom:90},children:(0,s.jsx)("i",{className:"far fa-arrow-to-top _mgt-2px"})})}),(0,s.jsx)("div",{id:"customer-support-button-search",className:"customer-support-button is-active",children:(0,s.jsx)(d.fp,{})})]})}},60975:e=>{e.exports={"line-clamp":"MobileNavbar_line-clamp__EaJJ1","choice-container":"MobileNavbar_choice-container__u1Drf",choices:"MobileNavbar_choices__6_MlQ",choice:"MobileNavbar_choice__Cxor7",selected:"MobileNavbar_selected__9IWzc"}},61306:(e,a,t)=>{"use strict";t.d(a,{a:()=>u});var s=t(16927),n=t(67684),i=t(4902),l=t(42252),r=t(88202),c=t(66002),o=t(26616),d=(0,r.$)().REWARD_API_URL;function u(e){return(0,l.I)((0,n._)({queryKey:[c.Cy],queryFn:function(){return(0,s._)(function(){return(0,i.YH)(this,function(e){switch(e.label){case 0:return[4,o.A.postV2("".concat(d,"/api/points.getByUser"),{})];case 1:return[2,e.sent().data]}})})()},staleTime:6e5},e))}},64532:(e,a,t)=>{"use strict";t.d(a,{a:()=>n,g:()=>s});var s={url:(0,t(66523).uN)({default:"https://fastwork.onelink.me",vn:"https://fastlance.onelink.me"}),pid:"MobileApp"},n="-active_navbar"},69050:(e,a,t)=>{"use strict";t.d(a,{c:()=>T});var s=t(67684),n=t(65699),i=t(29454),l=t(88202),r=t(39913),c=t(39721),o=t(70022),d=t(81779),u=t
1(93661),m=t(84367),p=m.Pw.getInstance(),h=function(e){var a=e.user,t=e.titleSubCate,h=(0,n._)(e,["user","titleSubCate"]);return{dataLayerTracking:function(e){var s=e.currentTarget.tabIndex;new Promise(function(e){var n,i,l,r;p.trackProductClick({id:null==h?void 0:h.productId,name:null==h?void 0:h.title,category:null==h||null==(n=h.subcategory)?void 0:n.title,category_slug:null==h||null==(i=h.subcategory)?void 0:i.slug,category_group:null==h||null==(l=h.category)?void 0:l.title,category_group_slug:null==h||null==(r=h.category)?void 0:r.slug,price:null==h?void 0:h.basePrice,position:s,brand:null==a?void 0:a.username,badges:null==h?void 0:h.badges,is_filter_used:null==h?void 0:h.is_filter_used,filter:null==h?void 0:h.filter},t),e(null)})},adsClickTracking:function(e){if((0,l.$)().FEATURES.ADS_CLIENT_TRACKING){var a=navigator.userAgent,t=(0,o.Xb)(a);m.O8.trackProductClick({events:[{request_id:(0,d.Z)().toString(),event_action:"CLICK",identity:{reference_id:(0,u.Tv)()||"",user_id:e.userId,device_id:localStorage.getItem(r.Lr),user_agent:navigator.userAgent},source:{domain_name:(0,l.$)().APP_NAME.toLowerCase(),type:t?"MWEB":"WEB",page:e.adsPageType,section:e.adsSectionType,app_version:(0,l.$)().APP_VERSION,url:window.location.href},detail:(0,s._)({item:{id:e.productId,category:"PRODUCT_CARD",search_result_id:e.adsSearchResultId}},e.adsInfo&&{ad:{id:e.adsInfo.id,position:e.adsInfo.position.toString(),slot_id:e.adsInfo.slot_id,campaign_id:e.adsInfo.campaign_id,ad_group_id:e.adsInfo.ad_group_id}}),cookie:{is_marketing_accepted:"y"===i.A.get(c.cZ.MKT),is_analytic_accepted:"y"===i.A.get(c.cZ.PERF)}}]})}}}},g=t(62701),f=t(20294),x=t(37876),_=t(4758),v=t(14678),j=t(15039),b=t.n(j),N=t(56557),y=t.n(N),w=t(35527),A=t.n(w),k=t(89099),S=t(76757);t(14232);var C=t(80481),E=t(28341),L=t(50075),I=t(65143);y().extend(A());var T=function(e){var a=e.ads,t=e.tabIndex,n=void 0===t?0:t,i=e.page,l=e.productId,r=e.coverPhoto,c=e.title,o=e.category,d=e.basePrice,u=e.slug,m=e.className,p=e.rating,j=e.reviewCount,N=e.badges,y=void 0===N?[]:N,w=e.user,A=e.titleSubCate,T=e.subcategory,R=e.responseTime,P=e.purchaseCount,B=e.fallbackSource,M=void 0===B?"":B,U=e.productImageAlt,O=e.productCardDecor,q=e.variant,F=e.overrideSource,D=void 0===F?"":F,G=e.dataSelenium,z=e.style,$=(0,f._)((0,L.Bd)("common"),1)[0],H=(0,f._)((0,L.Bd)(C.gr),1)[0],W=(0,k.useRouter)(),V=(0,I.ur)(),K=V.isLoggedIn,X=V.user,J=h({productId:l,slug:u,user:w,title:c,basePrice:d,category:o,titleSubCate:A,subcategory:T,badges:y,page:i,is_filter_used:!!W.query.filter_used,filter:(0,E.Tw)(W.asPath.split("?")[1]||"")}),Y=J.dataLayerTracking,Z=J.adsClickTracking,Q=(0,s._)({},(D||W.query.source||M)&&{source:D||W.query.source||M||""}),ee=(0,g._)((0,s._)({},W.query,Q,i&&{page:i},W.query.filter_used&&{filter_used:W.query.filter_used||""}),{navbarCategories:void 0,position:Number(n)+1||1,badges:null==y?void 0:y.toString()}),ea="/user/".concat(null==w?void 0:w.username,"/").concat(u,"?").concat(S.stringify(ee)),et=R?"".concat($("product-card.response-within")," ").concat(_.GP.responseTime(R)):"",es=H("product-card.purchase-count"),en=P>0?"".concat(es," ").concat(_.GP.count(P,{compact:!0})):"",ei=p?"".concat(_.GP.rating(p)," (").concat(_.GP.count(j,{compact:!0}),")"):"";return(0,x.jsx)("a",{href:ea,target:"_blank",rel:"noopener noreferrer",tabIndex:n,"data-selenium":G||"product-card-".concat(u),className:b()("_dp-f",m),onClick:function(e){Y(e),Z({userId:K?X.id:null,productId:l,adsInfo:null==a?void 0:a.info,adsPageType:null==a?void 0:a.pageType,adsSectionType:null==a?void 0:a.sectionType,adsSearchResultId:null==a?void 0:a.searchResultId})},style:z,children:(0,x.jsx)(v.AA,(0,g._)((0,s._)({userImage:w.image,displayName:w.display_name},(null==a?void 0:a.info)&&{adsBadge:{label:"Sponsored",iconClass:"fa-regular fa-megaphone"}}),{price:_.GP.price(d,{symbol:!0}),priceTitle:$("card-product.start-at"),productCardDecor:O,productImage:r,productImageAlt:void 0===U?null:U,ratingInformation:ei,responseTime:et,title:c,sellingInformation:en,variant:q,onClickSeller:function(e){e.stopPropagation(),e.preventDefault(),window.open("/user/".concat(null==w?void 0:w.username))}}))})}},69284:e=>{e.exports={"line-clamp":"MegaMenu_line-clamp__stVZv","mega-menu":"MegaMenu_mega-menu__VLegI","-active":"MegaMenu_-active__0oYXz","menu-list":"MegaMenu_menu-list__7mX_0","menu-group":"MegaMenu_menu-group__liJOT","menu-items":"MegaMenu_menu-items__tnMxF","menu-item":"MegaMenu_menu-item__Am4H1",title:"MegaMenu_title__VaGWN","arrow-icon":"MegaMenu_arrow-icon__HaFpy","menu-info":"MegaMenu_menu-info__j4kzA","popular-subcategory-container":"MegaMenu_popular-subcategory-container__XeWeo",items:"MegaMenu_items__KhwAI",item:"MegaMenu_item__wyHHa","menu-image":"MegaMenu_menu-image__9mMBt"}},79514:(e,a,t)=>{"use strict";t.d(a,{w7:()=>eb,wW:()=>eE,Al:()=>eP,cK:()=>eB,bQ:()=>eM,Xu:()=>eU});var s=t(37876),n=t(15039),i=t.n(n),l=t(16927),r=t(67684),c=t(62701),o=t(20294),d=t(85993),u=t(4902),m=t(48230),p=t.n(m),h=t(89099),g=t.n(h),f=t(14232),x=t(80481),_=t(28341),v=t(50075),j=t(61859),b=t(75786),N="popular-subcat";let y=function(){var e,a,t=function(){U(0);
1var e,a,t,s,n=null!=(t=null==(e=document.querySelector(".category-bar"))?void 0:e.clientWidth)?t:0,i=null!=(s=null==(a=document.querySelector(".category-bar .items"))?void 0:a.clientWidth)?s:0;P(n<i),F(n-i-64)},n=function(){U(Math.max(q,M-400))},m=function(){U(Math.min(0,M+400))},g=(0,o._)((0,f.useState)(),2),y=g[0],w=g[1],A=(0,o._)((0,v.Bd)(x.gr),1)[0],k=(0,o._)((0,v.Bd)(x.ZX),1)[0],S=(0,j.ap)().data,C=void 0===S?[]:S,E=(0,b.Ke)({categories:C}),L=(0,b._h)(),I=(0,h.useRouter)().locale,T=(0,o._)((0,f.useState)(!1),2),R=T[0],P=T[1],B=(0,o._)((0,f.useState)(0),2),M=B[0],U=B[1],O=(0,o._)((0,f.useState)(0),2),q=O[0],F=O[1],D=function(){w(void 0)},G=(0,f.useMemo)(function(){var e=(0,d._)(C);if((null==L?void 0:L.data)&&C.length>0){var a,t=(0,c._)((0,r._)({},L.data),{title_translated:(null==(a=L.data.slug)?void 0:a.replace(/-/g," "))||L.data.title});e.push(t)}return e},[C,L]);(0,f.useEffect)(function(){var e,a;if((null==C?void 0:C.length)>0||(null==E||null==(a=E.data)||null==(e=a.mappedSubcategories)?void 0:e.length)>0)return(0,l._)(function(){return(0,u.YH)(this,function(e){switch(e.label){case 0:if("en"!==I)return[3,2];return[4,(0,_.cb)(3e3)];case 1:e.sent(),e.label=2;case 2:return t(),[2]}})})(),window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}},[C,null==E||null==(e=E.data)?void 0:e.mappedSubcategories,I]);var z=function(e,a){return null==e?void 0:e.map(function(e,t){var n;return(0,s.jsxs)("div",{onMouseEnter:function(){return w(e.id)},onMouseLeave:function(){return D()},className:i()("item-container",{"-active":y===e.id}),children:[(0,s.jsx)(p(),{href:"/".concat(e.slug),className:"label u-align-middle _h-100pct _wsp-nw","data-selenium":"nav-category.".concat(e.slug),children:e.title}),(0,s.jsx)("div",{className:i()("panel category-list-container _gg-16px",{"-right":t>C.length/2}),children:null==(n=e.subcategory_groups)?void 0:n.map(function(t,n){var i;return(0,s.jsxs)("div",{className:"groups",children:[(0,s.jsx)("div",{className:"title",children:t.title}),(0,s.jsx)("ul",{className:"subcategories",children:null==(i=t.subcategories)?void 0:i.map(function(e){return(0,s.jsx)("li",{"data-selenium":"nav-subcat.".concat(e.slug),onClick:function(){return D()},children:(0,s.jsxs)(p(),{href:"/".concat(e.slug,"?source=").concat(a),children:[(0,s.jsx)("span",{children:e.title}),e.is_new&&(0,s.jsx)("div",{className:"tb-label _ttf-cptl _pdv-2px _pdh-4px _mgl-4px",children:A("category-bar.is-new")})]})},e.id)})})]},"".concat(e.id,"-group-").concat(t.id||n))})})]},"".concat(e.id,"-").concat(t))})};return(0,s.jsxs)("div",{className:i()("category-bar-container",{"is-slidable":R}),children:[(0,s.jsx)("nav",{className:"category-bar",style:{transform:"translateX(".concat(M,"px)")},children:(0,s.jsxs)("div",{className:"items",children:[(null==E?void 0:E.isFetched)&&(null==C?void 0:C.length)>0&&z([{id:N,slug:N,title:k("popular-subcategory.label"),subcategory_groups:[{title:A("category-bar.category"),subcategories:null==E||null==(a=E.data)?void 0:a.mappedSubcategories}]}],"web_marketplace_nav-bar_popular-subcategory-section"),z(G,"navigation-bar")]})}),R&&(0,s.jsxs)(s.Fragment,{children:[M<0&&(0,s.jsx)("div",{className:"left-arrow",onClick:function(){return m()},children:(0,s.jsx)("div",{className:"arrow-button",children:(0,s.jsx)("i",{className:"fa-light fa-chevron-left _fs-400 _cl-text-default-100"})})}),M>q&&(0,s.jsx)("div",{className:"right-arrow",onClick:function(){return n()},children:(0,s.jsx)("div",{className:"arrow-button",children:(0,s.jsx)("i",{className:"fa-light fa-chevron-right _fs-400 _cl-text-default-100"})})})]})]})};var w=t(99342),A=t.n(w),k=t(76757),S=t(93996),C=t(88202),E=t(17907),L=t(70930),I=t(66523),T=t(10997),R=t(19533),P=function(e){var a;return a=[{link:"mailto:".concat(e("contact-us.email")),text:e("contact-us.email"),iconClass:"fas fa-envelope-open _mgr-4px"},(0,I.uN)({id:{link:e("social.commu.url"),text:"WhatsApp",iconClass:"fab fa-whatsapp _mgr-4px"}}),{link:e("contact-us.fb-messenger"),text:"Facebook Messenger",iconClass:"fab fa-facebook-messenger _mgr-4px"}],a.filter(function(e){return e})},B=function(e,a){var t=a?E.gj:E.gu,s=a?E.BR:E.pk;return[{link:e("about-us.feedback.url"),text:e("about-us.feedback"),isS
1how:(0,I.uN)({th:!0,id:!1,vn:!1})},{link:E.zX,text:e("about-us.join-us"),isShow:(0,I.uN)({th:!0,id:!0,vn:!1})},{link:t,text:e("about-us.terms")},{link:s,text:e("about-us.policy")}]};let M=function(){var e=(0,S.u)(),a=e.user,t=e.isLoggedIn&&(0,L.eT)(a),n=(0,o._)((0,v.Bd)(x.$l),1)[0],i=(0,j.ap)().data;return(0,s.jsxs)("footer",{children:[(0,s.jsx)("div",{className:"default-footer _bgcl-primary-700 _cl-text-invert-100 lo-container-desktop _grg-24px",children:(0,s.jsxs)("div",{className:"_dp-f _gclg-48px _grg-24px",children:[(0,s.jsxs)("div",{className:"block-small",children:[(0,s.jsx)("strong",{className:"title _ffml-secondary _mgbt-12px",children:n("category.title")}),(0,s.jsx)(U,{list:(void 0===i?[]:i).map(function(e){return{text:e.title,link:"/".concat(e.slug)}})})]}),(0,s.jsxs)("div",{className:"block-small notranslate",children:[(0,s.jsx)("strong",{className:"title _ffml-secondary _mgbt-12px",children:n("how-to.title")}),(0,s.jsx)(U,{list:[{link:"/start-selling",text:n("how-to.apply-freelance")},{link:E.$,text:n("how-to.how")},{link:E.M$,text:n("how-to.payment")},{link:E.pB,text:n("how-to.guarantee")},{link:n("how-to.blog.url"),text:n("how-to.blog")},{link:(0,E.r9)(),text:n("how-to.faq")},{link:"/consent-management",text:n("how-to.consent")}]})]}),(0,s.jsxs)("div",{className:"block-small",children:[(0,s.jsx)("strong",{className:"title _ffml-secondary _mgbt-12px",children:n("product.title")}),(0,s.jsx)(U,{list:[{link:"/",text:(0,C.$)().APP_NAME},{link:n("product.enterprise.url"),text:"".concat((0,C.$)().APP_NAME," for Business"),isShow:(0,I.uN)({th:!0,id:!1,vn:!1})}]})]}),(0,s.jsxs)("div",{className:"block-small",children:[(0,s.jsx)("strong",{className:"title _ffml-secondary _mgbt-12px",children:n("about-us.title")}),(0,s.jsx)(U,{list:B(n,t)})]}),(0,s.jsxs)("div",{className:"block-large",children:[(0,s.jsx)("a",{href:E.gy,target:"_blank",rel:"noreferrer",className:"_mgbt-12px",children:(0,s.jsx)("strong",{className:"title _ffml-secondary",children:n("contact-us.title")})}),(0,s.jsx)(U,{list:P(n)}),(0,s.jsx)("div",{className:"_mgbt-8px _mgt-12px",style:{fontSize:12},children:n("contact-us.weekday")}),(0,s.jsx)("div",{className:"_mgbt-8px",style:{fontSize:12},children:n("contact-us.weekend")})]})]})}),(0,s.jsx)("div",{className:"bottom-footer lo-container-desktop _bgcl-neutral-900 _cl-text-invert-100 _fs-300 _pdv-16px",children:(0,s.jsxs)("div",{className:"_dp-f _jtfct-spbtw _alit-ct",children:[(0,s.jsxs)("div",{className:"lo-grid-span-horizontal _gg-8px",children:[(0,s.jsx)("div",{className:"social",children:(0,s.jsx)(U,{list:[{link:n("social.commu.url"),iconClass:n("social.commu.
1icon")},{link:n("social.ig"),iconClass:"fab fa-instagram"},{link:n("social.fb"),iconClass:"fab fa-facebook-square"},{link:n("social.twitter"),iconClass:"fab fa-twitter"},{link:n("social.youtube"),iconClass:"fab fa-youtube",isShow:(0,I.uN)({th:!0,id:!1,vn:!1})},{link:n("social.linkedin"),iconClass:"fab fa-linkedin"},{link:n("social.tiktok"),iconClass:"fab fa-tiktok"},{link:n("social.blockdit"),img:"/static-v4/images/icons/blockdit.svg",isShow:(0,I.uN)({th:!0,id:!1,vn:!1})},{link:n("social.pinterest"),iconClass:"fab fa-pinterest"}]})}),(0,s.jsx)("div",{className:"_w-1px _bgcl-white-100 _opct-60"}),(0,s.jsx)("a",{href:"/categories",children:"Sitemaps"}),(0,s.jsx)("div",{className:"_w-1px _bgcl-white-100 _opct-60"}),(0,s.jsx)("div",{className:"_dp-f _g-8px",children:null===R.k||void 0===R.k?void 0:R.k.map(function(e){return(0,s.jsx)(T.Gr,{href:k.stringifyUrl({url:null==e?void 0:e.url,query:{source:"footer_".concat(null==e?void 0:e.country)}}),children:(0,s.jsx)("img",{src:"/static-v4/images/layout/footer/".concat(null==e?void 0:e.country,".svg"),alt:"".concat(null==e?void 0:e.country," site")})},null==e?void 0:e.country)})})]}),(0,s.jsx)("div",{className:"_dp-f _alit-ct",children:(0,s.jsx)("div",{children:n("copyright",{year:new Date().getFullYear()})})})]})})]})};var U=function(e){var a=e.list;return(0,s.jsx)(f.Fragment,{children:a.filter(function(e){return!!e.link}).map(function(e,a){var t=e.link,n=e.text,i=e.iconClass,l=e.isShow,r=e.img;return(A()(l)||l)&&(0,s.jsxs)(T.Gr,{href:t,className:"_fs-300 _mgbt-8px","aria-label":"social ".concat(i),children:[i&&(0,s.jsx)("i",{className:i}),r&&(0,s.jsx)("img",{src:r,alt:"social ".concat(i),style:{width:"14px",height:"16px"},decoding:"async",loading:"lazy"}),n]},"".concat(n,"-").concat(a))})})},O=t(14678),q=t(56557),F=t.n(q),D=t(83629),G=t(45526),z=t(54587),$=t.n(z),H=t(93193),W=function(){var e,a,t=(0,v.Bd)(x.gr).t,s=(0,C.$)().FEATURES.ADS_MANAGER_ENTRY_POINT;return e=[{label:t("mega-menu.marketplace.label"),icon:"fa-stars",displayType:"none-seller",menuItems:(a=[{icon:"search.svg",slug:"search",title:t("mega-menu.marketplace.search.title"),isComingSoon:!1,subTitle:t("mega-menu.marketplace.search.sub-title"),descriptionTitle:t("mega-menu.marketplace.search.description.title"),descriptionInfo:t("mega-menu.marketplace.search.description.info"),link:{label:"",value:(0,H.tv)("/popular-subcat")},isShowPopularSubcategory:!0,banner:_.kU.switch({default:"search-".concat("vn",".jpg"),en:"search-en.jpg"})},{icon:"job-board.svg",slug:"buyer-job-board",title:t("mega-menu.marketplace.buyer-jobboard.title"),isComingSoon:!1,subTitle:t("mega-menu.marketplace.buyer-jobboard.sub-title"),descriptionTitle:t("mega-menu.marketplace.buyer-jobboard.description.title"),descriptionInfo:t("mega-menu.marketplace.buyer-jobboard.description.info"),link:{label:t("mega-menu.marketplace.buyer-jobboard.link"),value:(0,H.tv)((0,C.$)().JOBBOARD_URL||"/")},isShowPopularSubcategory:!1,banner:_.kU.switch({default:"buyer-job-board-".concat("vn",".jpg"),en:"buyer-job-board-en.jpg"})}],a.filter(function(e){return null==e?void 0:e.slug}))},(0,I.uN)({th:{label:t("mega-menu.company.label"),icon:"fa-building",displayType:"none-seller",menuItems:[{icon:"company.svg",slug:"company",title:t("mega-menu.company.hiring.title"),isComingSoon:!1,subTitle:t("mega-menu.company.hiring.sub-title"),descriptionTitle:t("mega-menu.company.hiring.description.title"),descriptionInfo:t("mega-menu.company.hiring.description.info"),link:{label:t("mega-menu.company.hiring.link"),value:(0,H.tv)("/account-setting/company-info")},isShowPopularSubcategory:!1,banner:_.kU.switch({default:"company-".concat("vn",".jpg"),en:"company-en.jpg"})},{icon:"business.svg",slug:"business",title:t("mega-menu.company.business.title"),isComingSoon:!1,subTitle:t("mega-menu.company.business.sub-title"),descriptionTitle:t("mega-menu.company.business.description.title"),descriptionInfo:t("mega-menu.company.business.description.info"),link:{label:t("mega-menu.company.business.link"),value:E.VB},isShowPopularSubcategory:!1,banner:"b2b.jpg"}]}}),{label:t("mega-menu.seller-opportunity.label"),icon:"fa-stars",displayType:"seller",menuItems:[{icon:"job-board.svg",slug:"seller-job-board",title:t("mega-menu.seller-opportunity.jobboard.title"),isComingSoon:!1,subTitle:t
1("mega-menu.seller-opportunity.jobboard.sub-title"),descriptionTitle:t("mega-menu.seller-opportunity.jobboard.description.title"),descriptionInfo:t("mega-menu.seller-opportunity.jobboard.description.info"),link:{label:t("mega-menu.seller-opportunity.jobboard.link"),value:(0,H.tv)((0,C.$)().JOBBOARD_URL||"/")},isShowPopularSubcategory:!1,banner:_.kU.switch({default:"seller-jobboard-".concat("vn",".jpg"),en:"seller-jobboard-en.jpg"})},{icon:"ads.svg",slug:"ads",title:t(s?"mega-menu.seller-opportunity.ads.title-enable":"mega-menu.seller-opportunity.ads.title"),isComingSoon:!s,subTitle:t("mega-menu.seller-opportunity.ads.sub-title"),descriptionTitle:t(s?"mega-menu.seller-opportunity.ads.description.title-enable":"mega-menu.seller-opportunity.ads.description.title"),descriptionInfo:t(s?"mega-menu.seller-opportunity.ads.description.info-enable":"mega-menu.seller-opportunity.ads.description.info"),link:{label:t(s?"mega-menu.seller-opportunity.ads.link-enable":"mega-menu.seller-opportunity.ads.link"),value:s?"".concat((0,H.tv)(E.Lo||"/"),"/ads?source=web_marketplace_top-nav-bar_mega-menu"):E.Lo},isShowPopularSubcategory:!1,banner:_.kU.switch({default:"seller-ads-".concat("vn",".jpg"),en:"seller-ads-en.jpg"})}]}],e.filter(function(e){return e})},V=t(84367),K=t(69284),X=t.n(K),J=V.Pw.getInstance(),Y="web_marketplace_top-nav-bar_mega-menu",Z=(0,f.forwardRef)(function(e,a){var t,n,l,r,c,d=e.type,u=(0,h.useRouter)().locale,m=(0,v.Bd)(x.ZX).t,p=(0,v.j1)({defaultIsOpen:!1}),g=W(),_=(0,v.K$)(),N=_.lock,y=_.unlock,w=(0,j.ap)().data,A=(0,b.Ke)({categories:void 0===w?[]:w}),S="none-seller"===d?"search":"seller-job-board",E=(0,o._)((0,f.useState)(S),2),L=E[0],I=E[1];(0,f.useEffect)(function(){p.isOpen?N():y()},[p.isOpen]),(0,f.useEffect)(function(){(p.isOpen||d)&&I(S)},[p.isOpen,d]),(0,f.useImperativeHandle)(a,function(){return{open:function(){p.onOpen(),J.trackHoverMegaMenu(d)},close:function(){p.onClose()},isOpen:function(){return p.isOpen}}});var R=(0,f.useMemo)(function(){return g.flatMap(function(e){return e.menuItems}).find(function(e){return e.slug===L})},[L,g,u]);return(0,s.jsx)("div",{className:i()(X()["mega-menu"],(0,G._)({},X()["-active"],p.isOpen)),children:(0,s.jsx)("div",{className:"lo-container-desktop",children:(0,s.jsxs)("div",{className:"_dp-f",children:[(0,s.jsx)("div",{className:X()["menu-list"],children:null==g?void 0:g.filter(function(e){return e.displayType===d}).map(function(e,a){var t;return(0,s.jsxs)("div",{className:X()["menu-group"],children:[(0,s.jsxs)("div",{className:"_dp-f _alit-bl _g-8px _mgbt-8px",children:[(0,s.jsx)(T.hh,{size:16,children:(0,s.jsx)("i",{className:i()("fa-regular",e.icon)})}),(0,s.jsx)("span",{className:"_fw-600 _fs-300 _cl-text-default-200",children:e.label})]}),(0,s.jsx)("div",{className:X()["menu-items"],children:null==e||null==(t=e.menuItems)?void 0:t.map(function(e,a){var t;return(0,s.jsxs)(T.Gr,{href:k.stringifyUrl({url:null==e||null==(t=e.link)?void 0:t.value,query:{source:Y}}),className:i()(X()["menu-item"],"_dp-f _g-24px _alit-ct",(0,G._)({},X()["-active"],L===e.slug)),onMouseEnter:function(){return I(e.slug)},children:[(0,s.jsx)($(),{src:"/static-v4/images/mega-menu/icon/".concat(e.icon),alt:e.subTitle,width:36,height:36}),(0,s.jsxs)("div",{className:"_dp-f _fdrt-cl _g-4px _jtfct-spar _f-1",children:[(0,s.jsxs)("span",{className:i()(X().title),children:[e.title," ",(null==e?void 0:e.isComingSoon)&&"(Coming soon...)"]}),(0,s.jsx)("span",{className:"_fw-400 _fs-200 _ffml-primary _cl-text-default-200",children:e.subTitle})]}),(0,s.jsx)(T.hh,{size:16,className:X().icon,children:(0,s.jsx)("i",{className:i()("fa-regular fa-chevron-right",X()["arrow-icon"])})})]},e.slug+a)})})]},e.label+a)})}),(0,s.jsx)("div",{className:X().divider,children:(0,s.jsx)(T.cG,{className:"_mgh-32px",orientation:"vertical"})}),(0,s.jsxs)("div",{className:X()["menu-info"],children:[(0,s.jsx)("span",{className:"_fw-600 _fs-400 _cl-primary-500",children:null==R?void 0:R.descriptionTitle}),(0,s.jsx)("p",{className:"_fs-300 _ffml-primary _cl-text-default-200 _mgt-12px _wsp-pl",children:null==R?void 0:R.descriptionInfo}),(null==R?void 0:R.isShowPopularSubcategory)&&(0,s.jsxs)("div",{className:X()["popular-subcategory-container"],children:[(0,s.jsx)("span",{className:"_fw-600 _fs-300",children:m("popular-subcategory.label")}),(0,s.jsx)("div",{className:X().items,children:null==A||null==(n=A.data)||null==(t=n.mappedSubcategories)?void 0:t.map(function(e,a){return(0,s.jsxs)(T.Gr,{href:k.stringifyUrl({url:"".concat((0,C.$)().DESKTOP_URL,"/").concat(null==e?void 0:e.slug),query:{source:Y}}),className:X().item,children:[null==e?void 0:e.title,(0,s.jsx)("i",{className:"fa-regular fa-arrow-right"})]},(null==e?void 0:e.id)+a)})})]}
1),(null==R||null==(l=R.link)?void 0:l.label)&&(0,s.jsxs)(T.Gr,{href:k.stringifyUrl({url:null==R||null==(r=R.link)?void 0:r.value,query:{source:Y}}),className:"tb-link -primary _fw-600 _mgt-24px _fs-300",children:[null==R||null==(c=R.link)?void 0:c.label," ",(0,s.jsx)("i",{className:"fa-regular fa-arrow-right-long _mgl-8px"})]})]}),(0,s.jsx)("div",{className:X()["menu-image"],children:(0,s.jsx)($(),{src:"/static-v4/images/mega-menu/banner/".concat(null==R?void 0:R.banner),alt:null==R?void 0:R.subTitle,width:395,height:238,quality:100},null==R?void 0:R.banner)})]})})})}),Q=t(55730),ee=t(77599);let ea=function(e){var a=e.currentLanguageData,t=e.languages,n=e.changeLanguageCallback,i=(0,ee.zM)();return(0,s.jsx)("div",{className:"panel-language",children:(0,s.jsx)("ul",{className:"menu-container notranslate",children:t.map(function(e){return(0,s.jsx)("li",{children:(0,s.jsxs)("div",{"data-selenium":"language-panel.link.".concat(null==e?void 0:e.code),className:"menu",onClick:function(){var a;return a=e.code,(0,l._)(function(){return(0,u.YH)(this,function(e){switch(e.label){case 0:return[4,i.changeLanguage(a)];case 1:return e.sent(),null==n||n(a),[2]}})})()},children:[(0,s.jsx)("img",{src:e.image||"/static-v4/images/icons/language/th.svg",alt:e.title,width:"26",height:"26",className:"slot-image ".concat(a.code===e.code&&"selected")}),(0,s.jsxs)("div",{className:"slot-text _dp-f _fdrt-cl _g-4px",children:[(0,s.jsx)("div",{className:"_als-fst",children:e.title}),"en-US"===e.code&&(0,s.jsx)("span",{className:"_als-fst _fw-400 _fs-100 _cl-text-default-300 _ffml-primary",children:"Translated by Google"})]})]})},e.code)})})})};var et=t(4758),es=t(39985);let en=function(e){var a=(0,o._)((0,v.Bd)(x.gr),1)[0],t=e.list;return(0,s.jsxs)("div",{className:"panel-system-notification",children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"_fw-600 _ffml-secondary _mgv-16px _cl-text-default-100 _pdh-12px _fs-400",children:a("notification.title")})}),(0,s.jsx)("hr",{}),(0,s.jsx)("div",{className:"notification-container",children:(0,s.jsx)("ul",{className:"menu-container",children:t.map(function(e,t){var n;return(0,s.jsxs)(f.Fragment,{children:[(0,s.jsx)("li",{"data-selenium":"system-notification-panel.link.notification",children:(0,s.jsx)(O.Ow,{date:et.GP.fromNow(e.createdAt),title:e.header,imageURL:e.image1,url:e.url,tags:(n=[],es.Zf.includes(e.event)&&n.push({label:a("notification.tag.important"),iconClass:"fal fa-star"}),n),isRead:!e.unread})}),(0,s.jsx)("hr",{})]},"".concat(e.resourceId).concat(e.createdAt).concat(e.url).concat(t))})})})]})};var ei=t(84194),el=t(71260),er=(0,C.$)().SELLER_CENTER_URL;let ec=function(){var e,a,t=(0,S.u)(),n=t.isLoggedIn,i=t.user,r=t.logout,c=t.isSeller,d=(0,o._)((0,v.Bd)(x.gr),1)[0],m=(0,o._)((0,v.Bd)(x.ZX),1)[0],h=(0,ei.UW)(n).data,g=(0,el.SJ)({enabled:c}).data,_=null==i||null==(e=i.commission_tier_detail)?void 0:e.current_tier,j=(void 0===g?[]:g).filter(function(e){return!0===e.should_show_location_migration_badge}).length;return(0,s.jsxs)("div",{className:"panel-user-menu",children:[(0,s.jsxs)(p(),{href:"/user/".concat(null==i?void 0:i.username,"?source=web_marketplace_profile-menu_profile  "),className:"header-menu lo-grid-span-horizontal _pst-rlt","data-selenium":"user-menu-panel.link.user-profile",children:[(0,s.jsx)("img",{src:null==i?void 0:i.image,alt:null==i?void 0:i.display_name,className:"tb-avatar"}),(0,s.jsxs)("div",{className:"lo-12 _gg-8px _alct-ct _pst-rlt _zid-1",children:[(0,s.jsx)("div",{className:"_fw-600",children:null==i?void 0:i.display_name}),(0,s.jsx)("div",{className:"_fs-300 _tdcrt-udl _ffml-primary _cl-text-default-200",children:m("profile-menu-page.menu.view-profile")})]}),(0,s.jsx)("div",{className:"_pst-asl _t-0px _r-0px _bt-0px _opct-40 _zid-0",children:(0,s.jsx)("img",{src:"/static-v4/images/commission-tier/decal.svg",alt:"decal",width:"100%",height:"100%"})})]}),(0,C.$)().FEATURES.COMMISSION_TIER_PROMOTER&&_&&(0,s.jsx)(T.Gr,{href:"".concat((0,C.$)().SELLER_CENTER_URL,"?source=web_marketplace_profile-menu_tier"),"data-selenium":"user-menu-panel.link.tier-seller-center",children:(0,s.jsxs)("div",{className:"commission-tier-bar _pst-rlt",children:[(0,s.jsxs)("div",{className:"_pdh-24px _pdv-12px _cl-white _fs-200 _pst-rlt _zid-1",children:[d("commission-tier")," ",(0,s.jsx)("span",{className:"_fs-300 _fw-600 _ffml-tertiary",children:null==_?void 0:_.label})," ",(0,s.jsx)("i",{className:"fas fa-chevron-right _mgl-4px _fs-300"})]}),(0,s.jsx)("div",{className:"_pst-asl",style:{background:"var(--color-grad-fastwork-commission-tier-".concat(_.name.toLowerCase(),")"),inset:0}})]})}),(0,s.jsxs)("ul",{className:"menu-container",children:[(0,I.uN)({th:(0,s.jsx)(f.Fragment,{children:(0,s.jsx)("li",{children:(0,s.jsx)(p(),{href:"/coin","data-selenium":"user-menu-panel.link.coin",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-coins _fs-300"}),(0,s.jsxs)("div",{children:["Coins: ",et.GP.currency(Number(null!=(a=null==h?void 0:h.coin)?a:0))]})]})})})})}),(0,s.jsx)("li",{children:c?(0,s.jsx)(T.Gr,{"data-selenium":"user-menu-panel.link.setting",href:(0,H.tv)("".concat(er,"/account-setting/freelance-profile?source=web_marketplace_profile-menu_account-setting")),children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-gear"}),(0,s.jsx)("div",{children:d("user-menu.setting")})]})}):(0,s.jsx)(p(),{href:"/account-setting/basic-info?source=web_marketplace_profile-menu_account-setting","data-selenium":"user-menu-panel.link.setting",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-gear"}),(0,s.jsx)("div",{children:d("user-menu.setting")})]})})}),(0,s.jsx)("li",{children:(0,s.jsx)("a",{href:(0,H.tv)((0,C.$)().CHAT_DESKTOP_URL),"data-selenium":"user-menu-panel.link.chat",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-comment"}),(0,s.jsx)("div",{children:d("user-menu.order")})]})})}),(0,s.jsx)("li",{children:(0,s.jsx)(p(),{href:"/promotion","data-selenium":"user-menu-panel.link.promotion",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-ticket"}),(0,s.jsx)("div",{children:d("user-menu.discount-coupon")})]})})}),(0,s.jsx)("li",{children:(0,s.jsx)(p(),{href:"/me/favorites","data-selenium":"user-menu-panel.link.favorite",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-heart"}),(0,s.jsx)("div",{children:d("user-menu.favorite")})]})})}),(0,s.jsx)("hr",{}),(0,C.$)().SELLER_CENTER_URL&&c&&(0,s.jsx)("li",{children:(0,s.jsx)(T.Gr,{href:(0,H.tv)((0,C.$)().SELLER_CENTER_URL),"data-selenium":"user-menu-panel.link.seller-center",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fa-light fa-chart-user"}),(0,s.jsx)("div",{className:"u-valign-center",children:"Seller Center"})]})})}),(0,C.$)().FEATURES.ADS_MANAGER_ENTRY_POINT&&c&&(0,s.jsx)("li",{children:(0,s.jsx)(T.Gr,{href:(0,H.tv)("".concat((0,C.$)().SELLER_CENTER_URL,"/ads")),"data-selenium":"user-menu-panel.link.ads",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fa-light fa-megaphone"}),(0,s.jsxs)("div",{className:"u-valign-center",children:[d("user-menu.ads"),(0,s.jsx)(O.Ex,{variant:"primary-solid",className:"_fs-200 _mgl-8px",children:"New"})]})]})})}),!!(0,C.$)().JOBBOARD_URL&&(0,s.jsx)("li",{children:(0,s.jsx)(T.Gr,{href:(0,H.tv)(k.stringifyUrl({url:(0,C.$)().JOBBOARD_URL,query:{source:"web_marketplace_profile-menu"}})),"data-selenium":"user-menu-panel.link.jobboard",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fa-light fa-bullhorn"}),(0,s.jsx)("div",{children:d("user-menu.jobboard")})]})})}),!!(0,C.$)().REWARDS_URL&&n&&(0,s.jsx)("li",{children:(0,s.jsx)(T.Gr,{"data-selenium":"user-menu-panel.link.fastwork-reward",href:k.stringifyUrl({url:(0,C.$)().REWARDS_URL,query:{source:"web_marketplace_profile-menu_rewards"}}),children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-gift"}),(0,s.jsxs)("div",{className:"u-valign-center",children:["Rewards",(0,s.jsx)(O.Ex,{variant:"primary-solid",className:"_fs-200 _mgl-8px",children:"New"})]})]})})}),c&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("li",{children:(0,s.jsx)(T.Gr,{href:(0,H.tv)(E.y2),"data-selenium":"user-menu-panel.link.my-product",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsxs)("div",{className:"_pst-rlt _dp-f _alit-ct",children:[(0,s.jsx)("i",{className:"tb-icon fa-light fa-briefcase"}),(0,s.jsx)(T.vd,{count:j})]}),(0,s.jsx)("div",{children:d("user-menu.my-product")})]})})}),(0,s.jsx)("li",{children:(0,s.jsx)(T.Gr,{href:(0,H.tv)(E.i5),"data-selenium":"user-menu-panel.link.withdrawal",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-money-bill-1-wave"}),(0,s.jsx)("div",{children:d("user-menu.withdrawal")})]})})}),(0,s.jsx)("hr",{})]}),!c&&(null==i?void 0:i.seller_verification_status)===0&&(0,s.jsx)("li",{children:(0,s.jsx)(p(),{href:"/start-selling","data-selenium":"user-menu-panel.link.freelance-register",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-toolbox"}),(0,s.jsx)("div",{children:d("navigation-bar.menu.apply-freelance")})]})})}),(0,s.jsx)("hr",{}),(0,s.jsx)("li",{children:(0,s.jsx)(p(),{href:"/consent-management","data-selenium":"user-menu-panel.link.consent-management",children:(0,s.jsxs)("div",{className:"menu _gg-12px u-valign-center",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-square-sliders"}),(0,s.jsx)("div",{children:d("user-menu.cookie-management")})]})})}),(0,s.jsx)("li",{children:(0,s.jsxs)("div",{onClick:function(){return(0,l._)(function(){return(0,u.YH)(this,function(e){switch(e.label){case 0:return[4,r()];case 1:return e.sent(),[2]}})})()},role:"button",tabIndex:0,className:"menu _gg-12px u-valign-center","data-selenium":"user-menu-panel.link.sign-out",children:[(0,s.jsx)("i",{className:"tb-icon fal fa-arrow-right-from-bracket"}),(0,s.jsx)("div",{children:d("user-menu.sign-out")})]})})]})]})};var eo=t(24243),ed=t.n(eo);let eu=function(){var e=function(e){clearTimeout(a.current),a.current=setTimeout(function(){if(e.target.scrollingElement.scrollTop>750)u(!0);else{var a,s;u(!1),null==t||null==(s=t.current)||null==(a=s.blurInput)||a.call(s)}},150)},a=(0,f.useRef)(null),t=(0,f.useRef)(null),n=(0,h.useRouter)(),l=n.query,r=(null==n?void 0:n.pathname)==="/",c=(0,o._)((0,f.useState)(!r),2),d=c[0],u=c[1];return(0,f.useEffect)(function(){return r&&document.addEventListener("scroll",e),function(){window.removeEventListener("scroll",e)}},[d,r]),(0,f.useEffect)(function(){var e,a;(null==l?void 0:l.q)?null==(e=t.current)||e.setDefaultInputValue(null==l?void 0:l.q):null==(a=t.current)||a.setDefaultInputValue("")},[l]),(0,s.jsx)("div",{className:i()(ed()["search-container"],(0,G._)({},ed()["-expanded"],d),"_dp-f _alit-ct"),style:{width:"clamp(280px, 320px, 320px)"},children:(0,s.jsx)(T.Rq,{isFluid:!0,withPortalOverlay:!0,ref:t,overlayStyle:{zIndex:"calc(var(--header-z-index) - 1)"},classNames:"_w-100pct"})})};var em=t(65143),ep=t(61306),eh=t(46374),eg=t.n(eh),ef=(0,C.$)().REWARDS_URL;let ex=function(){var e=(0,em.ur)().isLoggedIn,a=(0,o._)((0,v.Bd)(x.ZX),1
1)[0],t=es.Y5.rewardPointIcon.svg,n=(0,ep.a)({enabled:e}).data;return n&&(null==n?void 0:n.points)!=null?(0,s.jsx)("div",{className:"_dp-f _alit-ct _pdh-8px",children:(0,s.jsxs)("div",{className:"_pst-rlt _ffml-primary",children:[(0,s.jsx)("div",{className:i()(eg()["point-widget-button"],"_dp-f _alit-ct"),children:(0,s.jsx)(T.Gr,{href:"".concat(ef,"?source=web_marketplace_top-nav-bar_points"),children:(0,s.jsxs)("div",{className:"_dp-f _alit-ct _h-32px _bgcl-white _bdrd-max _cl-primary-500 _pdl-16px _pdr-32px _pst-rlt",children:[(0,s.jsx)("div",{className:"_fs-100 _fw-600 _mgr-8px",children:et.GP.point(n.points||0)}),(0,s.jsx)("img",{src:t,alt:"points",width:32,height:32,className:"_pst-asl _t-0px _r-0px"})]})})}),(0,s.jsxs)("div",{className:i()(eg()["point-tooltip"],"_fw-600 _cl-text-default-100 _wsp-nw _tal-l _fs-200 _lh-150pct"),children:[(0,s.jsxs)("div",{children:[et.GP.point(n.points||0)," ",a("points-unit")]}),(0,s.jsxs)("div",{className:"_cl-primary-500",children:["≈ ",et.GP.currency(n.points_value||0,{unit:!0})]})]})]})}):null};var e_=function(e){return"chat"!==e.event},ev=function(e,a){return a<99};let ej=function(){var e=function(){V.lY.updateUserLastSeenTimestamp()},a=(0,C.$)(),t=(0,h.useRouter)(),n=t.query,d=t.locale,m=(0,S.u)(),j=m.isLoggedIn,b=m.user,N=(0,D.v)().unreadMessagesCount,y=(0,o._)((0,v.Bd)(x.gr),1)[0],w=(0,f.useRef)(null),A=(0,f.useRef)(null),k=(0,f.useRef)(null),E=(0,f.useRef)(null),L=(0,f.useRef)(null),I=(0,f.useRef)(null),R=(0,o._)((0,f.useState)(""),2),P=R[0],B=R[1],M=(0,o._)((0,f.useState)(0),2),U=M[0],q=M[1],G=(0,o._)((0,f.useState)([]),2),z=G[0],$=G[1],H=function(){B(V.y1.getAuthLink(g().router.asPath))},W=function(){return(0,l._)(function(){var e,a,t,s,n;return(0,u.YH)(this,function(i){switch(i.label){case 0:if(!j)return[3,2];return[4,Promise.all([V.lY.getUserLastSeenTimestamp(b),V.lY.fetch()])];case 1:a=(e=o._.apply(void 0,[i.sent(),2]))[0],t=e[1],s=[],t.list&&(s=t.list.filter(e_).map(function(e){return(0,c._)((0,r._)({},e),{unread:F()(a).isBefore(F()(e.createdAt))})})),n=s.filter(function(e){return F()(a)<F()(e.createdAt)}),$(s.reverse().filter(e_).filter(ev)),q(n.length),i.label=2;case 2:return[2]}})})()};(0,f.useEffect)(function(){H()},[]),(0,f.useEffect)(function(){j&&(V.lY.onNotificationUpdated(b,W),V.lY.onUserLastSeenTimestampUpdated(b,W))},[j]);var K=Q.eo&&Q.eo.find(function(e){return e.code.includes(d)});return(0,s.jsxs)("nav",{className:"navigation-bar",children:[(0,s.jsxs)("div",{className:"lo-grid-span-horizontal _gg-4px",children:[(0,s.jsx)(p(),{href:"/",className:"logo u-align-middle","data-selenium":"navigation-bar.link.logo",children:(0,s.jsx)(T.Zo,{})}),(0,s.jsx)(eu,{})]}),(0,s.jsxs)("div",{className:"lo-grid-span-horizontal _gg-0px",children:[(0,s.jsxs)("ul",{className:"menu-container",children:[(0,s.jsx)("li",{className:"menu-text menu-text-".concat("vn"),children:(0,s.jsx)(T.Gr,{href:a.JOBBOARD_URL,"data-selenium":"navigation-bar.link.jobboard",className:"_fw-600",children:(0,s.jsx)(O.$n,{variant:"ghost",children:"Jobboard"})})}),(null==b?void 0:b.is_selling)&&(0,s.jsxs)("li",{className:"menu-text menu-text-".concat("vn"),onMouseEnter:function(){I.current.open()},onMouseLeave:function(){I.current.close()},onClick:function(){I.current.isOpen()?I.current.close():I.current.open()},role:"button",children:[(0,s.jsx)(O.$n,{variant:"ghost",endIconClass:"fa-regular fa-chevron-down _fs-200",children:y("mega-menu.seller-opportunity.label")}),(0,s.jsx)(Z,{type:"seller",ref:I})]}),(0,s.jsxs)("li",{className:"menu-text menu-text-".concat("vn"),onMouseEnter:function(){L.current.open()},onMouseLeave:function(){L.current.close()},onClick:function(){L.current.isOpen()?L.current.close():L.current.open()},role:"button",children:[(0,s.jsx)(O.$n,{variant:"ghost",endIconClass:"fa-regular fa-chevron-down _fs-200",children:y("mega-menu.marketplace.label")}),(0,s.jsx)(Z,{type:"none-seller",ref:L})]}),a.SELLER_CENTER_URL&&(null==b?void 0:b.is_selling)&&(0,s.jsx)("li",{className:"menu-text menu-text-".concat("vn"),children:(0,s.jsx)(T.Gr,{href:a.SELLER_CENTER_URL,"data-selenium":"profile-menu.seller-center",className:"_fw-600",children:(0,s.jsx)(O.$n,{variant:"primary",children:"Seller Center"})})}),!(null==b?void 0:b.is_selling)&&(null==b?void 0:b.seller_verification_status)===0&&(0,s.jsx)("li",{className:"menu-text menu-text-".concat("vn"),children:(0,s.jsx)(p(),{href:"/start-selling","data-selenium":"navigation-bar.link.start-selling",children:(0,s.jsx)(O.$n,{variant:"primary",children:y("navigation-bar.menu.apply-freelance")})})}),(0,s.jsx)("li",{children:(0,s.jsx)("div",{className:"_dp-f _alit-ct _pdh-8px",style:{height:"var(--navigation-bar-height)"},children:(0,s.jsx)("div",{className:"_w-1px _bgcl-neutral-200",style:{height:"50%"}})})}),j&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("li",{children:(0,s.jsxs)("a",{href:a.CHAT_DESKTOP_URL,className:"menu-icon","data-selenium":"navigation-bar.button.chat-notification",children:[(0,s.jsx)("i",{className:"tb-icon fa-light fa-comment _cl-primary-500"}),N>0&&(0,s.jsx)("span",{className:"notification _ffml-primary _fw-600 _fs-100",children:N})]})}),(0,s.jsxs)("li",{children:[(0,s.jsxs)("div",{onClick:function(){k.current.open()},className:"menu-icon","data-selenium":"navigation-bar.button.system-notification",children:[(0,s.jsx)("i",{className:"tb-icon fa-light fa-bell _cl-primary-500 _fs-200"}),0!==U&&(0,s.jsx)("span",{className:"notification _ffml-primary _fw-600 _fs-100",children:U})]}),(0,s.jsx)(T.zD,{ref:k,className:"popup-panel-system-notification-position",onClose:function(){return e()},children:(0,s.jsx)(en,{list:z})})]})]}),a.FEATURES.ENABLE_GLOBALIZATION&&(0,s.jsx)("li",{children:(0,s.jsx)("div",{children:!!K&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{onClick:function(){E.current.open()},className:"menu-icon","data-selenium":"navigation-bar.button.language",children:(0,s.jsx)("img",{src:K.image||"/static-v4/images/icons/language/th.svg",alt:K.title,width:"24",height:"24"})}),(0,s.jsx)(T.zD,{ref:E,className:"popup-panel-system-notification-position",children:(0,s.jsx)(ea,{languages:Q.eo,currentLanguageData:K,changeLanguageCallback:function(e){var a;null==E||null==(a=E.current)||a.close(),V.Pw.getInstance().trackUser({isLoggedIn:j,user_id:null==b?void 0:b.id,is_selling:null==b?void 0:b.is_selling,seller_verification_status:null==b?void 0:b.seller_verification_status,lang:(0,_.Io)(e)})}})})]})})}),(0,s.jsx)(ex,{}),!j&&(0,s.jsx)("li",{className:i()({"_ptev-n":!P}),children:(0,s.jsx)(p(),{href:(0,_.GC)(P,n),id:"login-link",rel:"noopener noreferrer","data-selenium":"navigation-bar.link.signin",children:(0,s.jsx)("div",{className:"menu-text menu-text-".concat("vn"),children:(0,s.jsx)(O.$n,{variant:"white",children:y("navigation-bar.menu.sign-in")})})})})]}),j&&(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{ref:w,onClick:function(){w.current.blur(),A.current.open()},role:"button",tabIndex:0,className:"user-button","data-selenium":"navigation-bar.button.user-menu",children:[(0,s.jsx)("img",{src:null==b?void 0:b.image,alt:null==b?void 0:b.first_name,className:"tb-avatar",style:{width:"32px",height:"32px"}}),(0,s.jsx)(T.zD,{ref:A,className:"popup-panel-user-menu-position",children:(0,s.jsx)(ec,{})})]})})]})]})},eb=function(e){var a=e.children,t=e.className;return(0,s.jsxs)("div",{className:i()("layout-default",t),children:[(0,s.jsxs)("header",{children:[(0,s.jsx)(ej,{}),(0,s.jsx)("div",{className:"u-raised-2",children:(0,s.jsx)(y,{})})]}),(0,s.jsx)("main",{children:a}),(0,s.jsx)(M,{})]})};
1var eN=t(29454),ey=t(36018),ew=t(60975),eA=t.n(ew);let ek=function(e){var a=e.activeMenu,t=e.isStaticPage,n=function(e){f.changeLanguage(e),V.Pw.getInstance().trackUser({isLoggedIn:m,user_id:null==u?void 0:u.id,is_selling:null==u?void 0:u.is_selling,seller_verification_status:null==u?void 0:u.seller_verification_status,lang:(0,_.Io)(e)}),null===O.Xn||void 0===O.Xn||O.Xn.close()},l=(0,C.$)(),r=(0,h.useRouter)(),c=r.query,o=r.locale,d=(0,S.u)(),u=d.user,m=d.isLoggedIn,g=(0,D.v)().unreadMessagesCount,f=(0,ee.zM)(),x=Q.eo&&(null===Q.eo||void 0===Q.eo?void 0:Q.eo.find(function(e){return e.code.includes(o)}));return(0,s.jsxs)("nav",{className:"mobile-navigation-bar",children:[(0,s.jsx)(T.po,{wrapper:function(e){return t?(0,s.jsx)(s.Fragment,{children:e}):(0,s.jsx)(p(),{href:"/",legacyBehavior:!0,children:e})},children:(0,s.jsx)("a",{href:"/",className:i()("menu",{"is-active":"HOME"===a}),"data-selenium":"mobile-navbar.menu.home","aria-label":"mobile-navbar.menu.home",children:(0,s.jsx)("i",{className:"fal fa-house"})})}),(0,s.jsx)(T.po,{wrapper:function(e){return t?(0,s.jsx)(s.Fragment,{children:e}):(0,s.jsx)(p(),{href:"/search",legacyBehavior:!0,children:e})},children:(0,s.jsx)("a",{href:"/search",className:i()("menu",{"is-active":"SEARCH"===a}),"data-selenium":"mobile-navbar.menu.search","aria-label":"mobile-navbar.menu.search",children:(0,s.jsx)("i",{className:"fal fa-magnifying-glass"})})}),l.JOBBOARD_URL?(0,s.jsx)(T.Gr,{href:k.stringifyUrl({url:l.JOBBOARD_URL,query:{source:"web_marketplace_top-navbar"}}),className:"menu","data-selenium":"mobile-navbar.menu.jobboard","aria-label":"mobile-navbar.menu.jobboard",children:(0,s.jsx)("i",{className:"fal fa-bullhorn"})}):(0,s.jsx)("a",{href:"/me/favorites",className:i()("menu",{"is-active":"FAVORITE"===a}),"data-selenium":"mobile-navbar.menu.favorite","aria-label":"mobile-navbar.menu.favorite",children:(0,s.jsx)("i",{className:"fal fa-heart"})}),(0,s.jsxs)("a",{href:l.CHAT_DESKTOP_URL,className:i()("menu"),"data-selenium":"mobile-navbar.menu.chat","aria-label":"mobile-navbar.menu.chat",children:[(0,s.jsx)("i",{className:"fal fa-comment"}),g>0&&(0,s.jsx)("span",{className:"notification-badge",children:g})]}),l.FEATURES.ENABLE_GLOBALIZATION?(0,s.jsx)("div",{className:"menu",role:"button","data-selenium":"mobile-navbar.menu.language",onClick:function(){O.Xn.fire({title:"Language",html:(0,s.jsx)("div",{className:i()(eA()["choice-container"],eA()["-mobile"]),children:(0,s.jsx)("div",{className:i()(eA().choices),children:null===Q.eo||void 0===Q.eo?void 0:Q.eo.map(function(e){var a=(0,_.Io)(null==e?void 0:e.code)===o;return(0,s.jsxs)("div",{className:i()(eA().choice,(0,G._)({},eA().selected,a)),onClick:function(a){a.stopPropagation(),n(null==e?void 0:e.code)},children:[(0,s.jsxs)("div",{className:"_dp-f _gg-12px _alit-ct _f-1",children:[(0,s.jsx)("img",{src:null==e?void 0:e.image,alt:e.title,width:"24",height:"24"}),(0,s.jsxs)("div",{className:"_dp-f _gg-4px _f-1 _jtfct-spbtw",children:[(0,s.jsx)("span",{className:i()("_ffml-secondary",{"_cl-text-default-200":!a,"_cl-text-default-100 _fw-600":a}),children:null==e?void 0:e.title}),"en-US"===e.code&&(0,s.jsx)("span",{className:"_als-ct _fw-400 _fs-100 _cl-text-default-300 _ffml-primary",children:'by "Google Translate"'})]})]}),a&&(0,s.jsx)("i",{className:"fa fa-check _fs-500"})]},e.code)})})})})},children:(null===Q.eo||void 0===Q.eo?void 0:Q.eo.length)?(0,s.jsx)("img",{src:x.image||"/static-v4/images/icons/language/th.svg",alt:x.title,width:"24",height:"24"}):null}):null,(0,s.jsx)(T.po,{wrapper:function(e){return t?(0,s.jsx)(s.Fragment,{children:e}):(0,s.jsx)(p(),{href:k.stringifyUrl({url:"/profile",query:c}),legacyBehavior:!0,children:e})},children:(0,s.jsxs)("a",{href:k.stringifyUrl({url:"/profile",query:c}),className:i()("menu",{"is-active":"PROFILE"===a}),"data-selenium":"mobile-navbar.menu.profile","aria-label":"mobile-navbar.menu.profile",children:[m&&(0,s.jsx)("img",{src:null==u?void 0:u.image,alt:null==u?void 0:u.first_name,width:"30",height:"30",className:"_bdrd-max"}),!m&&(0,s.jsx)("i",{className:"fal fa-circle-user"})]})})]})};var eS=t(64532),eC=t(81873);let eE=function(e){var a=e.children,t=e.activeMenu,n=e.containerId,l=e.isCloseAppBar,d=e.className,u=e.isStaticPage,m=e.enableSearchHelper,p=(0,f.useRef)(null),h=(0,o._)((0,f.useState)(!0),2),g=h[0],x=h[1],v=(0,o._)((0,f.useState)(64),2),j=v[0],b=v[1],N=function(){var e=(0,_.fB)();return e.init(".layout-default-mobile, .header-container",{offset:100,className:eS.a}),function(){e.cleanup()}},y=function(){var e;b((null==p||null==(e=p.current)?void 0:e.clientHeight)||0)},w=(0,f.useMemo)(function(){return!l&&g},[l,g]);return(0,f.useEffect)(function(){window.sessionStorage.getItem("close_app_bar")||x(!0)},[]),(0,f.useLayoutEffect)(function(){return N()},[]),(0,f.useLayoutEffect)(function(){y()},[w]),(0,s.jsx)("div",(0,c._)((0,r._)({},n&&{id:n}),{className:i()("layout-default-mobile-container mobile _pst-rlt",d),children:(0,s.jsxs)("div",{className:"layout-default-mobile ".concat(eS.a),style:{"--header-container-height":"".concat(j,"px")},children:[(0,s.jsxs)("div",{className:"header-container",ref:p,children:[w&&!u&&(0,s.jsx)(eL,{onClose:function(){eN.A.set("close_app_bar","".concat(Date.now()),{expires:1}),x(!1)}}),(0,s.jsx)("header",{children:(0,s.jsx)(ek,{activeMenu:t,isStaticPage:u})}),m&&(0,s.jsx)(ey.pC,{})]}),(0,s.jsx)("main",{children:a})]})}))};var eL=function(e){var a=e.onClose,t=(0,o._)((0,v.Bd)(x.gr),1)[0],n=(0,eC.K)().deepLink,i=(0,h.useRouter)().route;return(0,s.jsxs)("div",{className:"app-download-bar _dp-f _jtfct-spbtw _alit-ct _pdr-12px",children:[(0,s.jsxs)("div",{className:"_dp-f _alit-ct",children:[(0,s.jsx)("div",{onClick:function(){return a()},className:"_w-48px _h-48px u-align-middle",children:(0,s.jsx)("i",{className:"far fa-xmark _fs-600"})}),(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 0 55.899 55.899",width:"40",children:[(0,s.jsx)("rect",{fill:"#0b4697",height:"55.899",rx:"13",width:"55.899"}),(0,s.jsxs)("g",{fill:"#fff",children:[(0,s.jsx)("path",{d:"m87.425 74.424-8.606-6.624.759 4.556 5.906 4.556a2.8 2.8 0 0 1 .716 3.588 2.754 2.754 0 0 1 -3.417 1.139h-.083l-6.961-2.869a9.77 9.77 0 0 1 -1.6.886l-2.236.97 9.619 3.966a5.191 5.191 0 0 0 2.236.464 6.481 6.481 0 0 0 1.941-.337 5.959 5.959 0 0 0 3.201-2.619 6.027 6.027 0 0 0 .717-4.092 5.806 5.806 0 0 0 -2.192-3.584z",transform:"translate(-41.567 -39.196)"}),(0,s.jsx)("path",{d:"m46.648 43.358-2.193-16.411a6.269 6.269 0 0 0 -1.941-3.67 5.763 5.763 0 0 0 -3.839-1.477 5.608 5.608 0 0 0 -3.839 1.477 5.548 5.548 0 0 0 -1.941 3.67l-1.73 12.953-10.42 7.93a5.753 5.753 0 0 0 -2.194 3.544 5.623 5.623 0 0 0 .717 4.092 5.781 5.781 0 0 0 3.206 2.616 6.055 6.055 0 0 0 1.941.338 5.191 5.191 0 0 0 2.236-.464l15.314-6.328a7.992 7.992 0 0 0 4.683-8.27zm-10.8-16.032a2.8 2.8 0 0 1 2.742-2.363 2.771 2.771 0 0 1 2.742 2.363l1.393 9.874a7.77 7.77 0 0 0 -8.1 0zm-10.505 27.674a2.875 2.875 0 0 1 -3.459-1.139 2.762 2.762 0 0 1 .717-3.586l13.163-10.123a4.746 4.746 0 0 1 5.7 0l1.814 1.35.338 2.236a4.65 4.65 0 0 1 -2.869 4.936l-2.067.886-2.067-.844a4.572 4.572 0 0 1 -2.869-4.43l-2.874 2.194a7.981 7.981 0 0 0 3.8 4.725z",transform:"translate(-10.662 -12.603)"})]})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"_cl-primary-700 _ffml-secondary _fw-600",children:t("app-bar.title")}),(0,s.jsx)("div",{className:"_fs-300 _cl-text-default-200",children:t("app-bar.description")})]}),(0,s.jsx)("div",{children:(0,s.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"tb-button -secondary -small _bdcl-primary-500 _pdh-8px","data-selenium":"download-app-mobile-".concat("/"===i?"home":null==i?void 0:i.substring(1)),children:t("app-bar.button")})})]})},eI=t(89688),eT=t(3711),eR=t(63321);let eP=function(e){function a(){var e;return(0,eT._)(this,a),e=(0,eI._)(this,a,arguments),e.refStickyContainer=f.createRef(),e.checkCategorybarSticky=function(a){setTimeout(function(){e.refStickyContainer&&e.refStickyContainer.current&&a.target.scrollingElement.scrollTop>750?e.refStickyContainer.current.classList.add("-sticky"):e.refStickyContainer&&e.refStickyContainer.current&&e.refStickyContainer.current.classList.remove("-sticky")},1e3)},e}(0,eR._)(a,e);var t=a.prototype;return t.componentDidMount=function(){document.addEventListener("scroll",this.checkCategorybarSticky)},t.render=function(){var e=this.props,a=e.children,t=e.className;return(0,s.jsxs)("div",{className:t,children:[(0,s.jsxs)("header",{children:[(0,s.jsx)(ej,{}),(0,s.jsx)("div",{ref:this.refStickyContainer,className:"sticky-bar",children:(0,s.jsx)(y,{})})]}),(0,s.jsx)("main",{children:a}),(0,s.jsx)(M,{})]})},a}(f.PureComponent),eB=function(e){var a=e.children;return(0,s.jsxs)("div",{className:"layout-default",children:[(0,s.jsx)("header",{children:(0,s.jsx)(ej,{})}),(0,s.jsx)("main",{children:a}),(0,s.jsx)(M,{})]})};f.PureComponent;let eM=function(e){function a(){return(0,eT._)(this,a),(0,eI._)(this,a,arguments)}return(0,eR._)(a,e),a.prototype.render=function(){var e=this.props.children;return(0,s.jsxs)("div",{className:"layout-default",children:[(0,s.jsx)("header",{children:(0,s.jsx)(ej,{})}),(0,s.jsx)("main",{children:e})]})},a}(f.PureComponent),eU=function(e){var a=e.children;return(0,s.jsxs)("div",{className:"layout-default",children:[(0,s.jsx)("header",{children:(0,s.jsx)("nav",{className:"navigation-bar",children:(0,s.jsx)("div",{className:"lo-grid-span-horizontal",children:(0,s.jsx)("a",{href:"/",className:"logo u-align-middle","data-selenium":"navigation-bar.link.logo",children:(0,s.jsx)("img",{src:(0,_.MQ)(),alt:(0,C.$)().APP_NAME,draggable:!1,height:46})})})})}),(0,s.jsx)("main",{children:a})]})}},81873:(e,a,t)=>{"use strict";t.d(a,{K:()=>o});var s=t(67684),n=t(65699),i=t(89099),l=t(76757),r=t(88202),c=t(64532),o=function(){var e=(0,r.$)(),a=e.MOBILE_APP_DEEPLINK_FLAVOR,t=e.HOSTNAME,o=(0,i.useRouter)(),d=o.pathname,u=o.asPath,m=["/","/industry/[slug]","/partnership/[slug]","/campaign/[slug]","/user/[username]","/user/[username]/[productSlug]"];return{deepLink:function(){var e=c.g.url,i=(0,n._)(c.g,["url"]),r="".concat(e,"/").concat(a);if(m.includes(d)){var o=(0,s._)({fastwork_link:"".concat(t).concat(u)},i);return l.stringifyUrl({url:r,query:o})}return r}()}}}}]);

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.