PageSourceSearch

https://fastwork.id/_next/static/chunks/4910.9345f0baca6132e1.js

js fastwork.id collected 2026-09-25 23:55:05 UTC 13,454 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4910,7309],{1602:(e,t,n)=>{var r=n(19031);e.exports=function(){return r.Date.now()}},4917:(e,t,n)=>{var r=n(98825),i=n(1602),c=n(52782),o=Math.max,a=Math.min;e.exports=function(e,t,n){var s,u,l,d,f,p,_=0,v=!1,h=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=s,r=u;return s=u=void 0,_=t,d=e.apply(r,n)}function x(e){var n=e-p,r=e-_;return void 0===p||n>=t||n<0||h&&r>=l}function y(){var e,n,r,c=i();if(x(c))return b(c);f=setTimeout(y,(e=c-p,n=c-_,r=t-e,h?a(r,l-n):r))}function b(e){return(f=void 0,m&&s)?g(e):(s=u=void 0,d)}function j(){var e,n=i(),r=x(n);if(s=arguments,u=this,p=n,r){if(void 0===f)return _=e=p,f=setTimeout(y,t),v?g(e):d;if(h)return clearTimeout(f),f=setTimeout(y,t),g(p)}return void 0===f&&(f=setTimeout(y,t)),d}return t=c(t)||0,r(n)&&(v=!!n.leading,l=(h="maxWait"in n)?o(c(n.maxWait)||0,t):l,m="trailing"in n?!!n.trailing:m),j.cancel=function(){void 0!==f&&clearTimeout(f),_=0,s=p=u=f=void 0},j.flush=function(){return void 0===f?d:b(i())},j}},39824:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},52782:(e,t,n)=>{var r=n(88046),i=n(98825),c=n(76014),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(c(e))return o;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?o:+e}},57010:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,y:()=>d});var r=n(16927),i=n(67684),c=n(62701),o=n(85993),a=n(4902),s=n(76757),u=n(78735),l=function(e){return(0,r._)(function(){var t;return(0,a.YH)(this,function(n){return t=[],e.sections.forEach(function(e){t=(0,o._)(t).concat((0,o._)(e.product_ids))}),[2,(0,u.zh)(t)]})})()},d=function(e,t){var n=new URL(e),r=s.parse(n.search),o=s.stringify((0,c._)((0,i._)({},r),{source:t}));return"".concat(n.origin).concat(n.pathname,"?").concat(o)}},70967:(e,t,n)=>{"use strict";n.d(t,{Gl:()=>p,Hv:()=>s,M8:()=>u,VS:()=>o,XI:()=>l,aZ:()=>a,nG:()=>d,pN:()=>f});var r=n(37876),i=n(10867),c=n(17907),o=Array(10).fill(new Date().getFullYear()).map(function(e,t){return e-t}),a="coin_topup_history",s="coin_topup",u="user_coin",l=["5000","10000","50000","100000"],d=10,f="web_coin_topup",p=function(e){return[(0,r.jsx)("li",{children:e("top-up.coin-note.1")},"1"),(0,r.jsx)("li",{children:e("top-up.coin-note.2")},"2"),(0,r.jsx)("li",{children:e("top-up.coin-note.3")},"3"),(0,r.jsxs)("li",{children:[e("top-up.coin-note.4"),"\xa0",(0,r.jsx)(i.Gr,{href:c.gy,className:"_cl-primary-600 _tdcrt-udl",children:"Support Center"})]},"4")]}},71260:(e,t,n)=>{"use strict";n.d(t,{DS:()=>v,K7:()=>x,Rq:()=>h,SJ:()=>y,_3:()=>m,pU:()=>_,qf:()=>g});var r=n(16927),i=n(67684),c=n(62701),o=n(65699),a=n(4902),s=n(42252),u=n(79819),l=n(15526),d=n(66002),f=n(93298),p=n(93661),_=function(){var e=(0,l.n)(function(e){return(0,r._)(function(){return(0,a.YH)(this,function(t){switch(t.label){case 0:return[4,f.jU.createProductActionLog(e)];case 1:return[2,t.sent().createProductActionLog]}})})()});return(0,i._)({referenceUserId:(0,p.Tv)()},e)},v=function(e){var t=[d.g1,e],n=(0,s.I)({queryKey:t,queryFn:function(){return(0,r._)(function(){var t,n;return(0,a.YH)(this,function(r){switch(r.label){case 0:return[4,f.jU.getRelatedProduct(e)];case 1:return[2,(null==(n=r.sent())||null==(t=n.getRelatedProducts)?void 0:t.related_products)||[]]}})})()},cacheTime:1/0,staleTime:1/0,enabled:!!e});return(0,i._)({queryKey:t},n)},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=arguments.length>2?arguments[2]:void 0,o={id:e,page:1,limit:t};return(0,u.q)((0,i._)({queryKey:[d.QV,e,t],queryFn:function(e){var t=e.pageParam,n=void 0===t?o:t;return(0,r._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return[4,f.jU.getSellerReviews(n)];case 1:return[2,e.sent().getSellerReviews]}})})()},getNextPageParam:function(e){if((null==e?void 0:e.page)!==(null==e?void 0:e.total_pages))return(0,c._)((0,i._)({},o),{page:(null==e?void 0:e.page)+1})}},n))},m=function(){return(0,l.n)(function(e){return f.jU.setFavoriteById(e)})},g=function(e,t){var n=t.isMobile,u=(0,o._)(t,["isMobile"]),l=[d.sj,e],p=(0,s.I)((0,i._)({queryKey:l,queryFn:function(){return(0,r._)(function(){return(0,a.YH)(this,function(t){switch(t.label){case 0:return[4,f.jU.getProductDetailV2("".concat(e),{isMobile:n})];case 1:return[2,t.sent()]}})})()}},u));return(0,c._)((0,i._)({},p),{queryKey:l})},x=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.isMobile,a=void 0!==r&&r,u=n.reviewsLimit,l=void 0===u?5:u,p=(0,o._)(n,["isMobile","reviewsLimit"]),_=[d.ny,e,t,a,l],v=(0,s.I)((0,i._)({queryKey:_,queryFn:function(){return f.jU.getProductDetailWithSellerReviews({productId:e,slug:t,isMobile:a,reviewsLimit:l})}},p));return(0,c._)((0,i._)({},v),{queryKey:_})},y=function(e){return(0,s.I)((0,i._)({queryKey:[d._],queryFn:f.jU.getMyServices},e))}},80782:(e,t,n)=>{var r=n(4917),i=n(98825);e.exports=function(e,t,n){var c=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return i(n)&&(c="leading"in n?!!n.leading:c,o="trailing"in n?!!n.trailing:o),r(e,t,{leading:c,maxWait:t,trailing:o})}},84194:(e,t,n)=>{"use strict";n.d(t,{AR:()=>m,PD:()=>b,RD:()=>w,UW:()=>y,hb:()=>g,nw:()=>x});var r=n(16927),i=n(67684),c=n(62701),o=n(4902),a=n(42252),s=n(79819),u=n(15526),l=n(88202),d=n(66002),f=n(10415),p=n(93298),_=n(57010),v=n(70967),h=(0,l.$)().API_URL,m=function(e){return(0,a.I)({queryKey:[v.Hv,e],queryFn:function(){return(0,r._)(function(){return(0,o.YH)(this,function(t){switch(t.label){case 0:return[4,p.BZ.getCoinTopUp(e)];case 1:return[2,t.sent().getCoinTopUp]}})})()},enabled:!!e})}
1,g=function(e,t){return(0,a.I)({queryKey:[v.aZ,e],queryFn:function(){return(0,r._)(function(){return(0,o.YH)(this,function(t){switch(t.label){case 0:return[4,p.BZ.getTopUpHistory((0,c._)((0,i._)({},e),{limit:10,order_by:"",dir:""}))];case 1:return[2,t.sent()]}})})()},keepPreviousData:!0,enabled:t})},x=function(e,t){return(0,s.q)({queryKey:[v.aZ,{year:e.year}],queryFn:function(t){var n=t.pageParam,i=void 0===n?e:n;return(0,r._)(function(){return(0,o.YH)(this,function(e){switch(e.label){case 0:return[4,p.BZ.getTopUpHistory(i)];case 1:return[2,e.sent()]}})})()},getNextPageParam:function(t){if(!(t.metadata.total_count<t.metadata.limit*t.metadata.page))return(0,c._)((0,i._)({},e),{page:t.metadata.page+1})},enabled:t})},y=function(e){return(0,a.I)({queryKey:[v.M8],queryFn:function(){return(0,r._)(function(){return(0,o.YH)(this,function(e){switch(e.label){case 0:return[4,p.BZ.getUserCoin()];case 1:return[2,e.sent().user]}})})()},enabled:e,staleTime:1/0,cacheTime:1/0})},b=function(){return(0,u.n)(function(e){var t=e.data.amount;return(0,r._)(function(){var e;return(0,o.YH)(this,function(n){switch(n.label){case 0:if(!(0,l.$)().FEATURES.FASTPAY)return[3,2];return[4,p.BZ.topUpWithFastpay(t)];case 1:return e=n.sent(),[2,(0,_.y)(e.redirect_url,v.pN)];case 2:return[4,p.BZ.topUp(t)];case 3:return[2,n.sent().coinTopUp];case 4:return[2]}})})()})},j=function(){return(0,r._)(function(){return(0,o.YH)(this,function(e){switch(e.label){case 0:return[4,(0,f.A)("".concat(h,"/api/payment/available-method"))];case 1:return[2,e.sent().parsedBody]}})})()},w=function(){return(0,a.I)({queryKey:[d.C0],queryFn:j})}},88046:(e,t,n)=>{var r=n(39824),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},97826:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(20294),i=n(37876),c=n(14678),o=n(15039),a=n.n(o),s=n(80782),u=n.n(s),l=n(89099),d=n(14232),f=n(69050),p=n(10867),_=n(37127),v=n(4188),h=n(56472),m=n(57010);let g=function(e){var t,n,o,s=e.intention,g=(0,l.useRouter)().query,x=(0,r._)((0,h.Bd)("common"),1)[0],y=(0,r._)((0,d.useState)([]),2),b=y[0],j=y[1],w=(0,r._)((0,d.useState)(""),2),N=w[0],q=w[1],k=(0,r._)((0,d.useState)(!1),2),T=k[0],I=k[1],S=function(){var e=s.sections.map(function(e){return{top:document.querySelector('[id="'.concat(e.sort_order,'"]')).offsetTop,id:"".concat(e.sort_order)}}),t=function(){var t,n,r=e.filter(function(e){return(0,v.$V)('[id="'.concat(e.id,'"]'),300)}).slice(-1);(null==r?void 0:r.length)&&((null==r?void 0:r.length)&&N!==(null==(t=r[0])?void 0:t.id)?q(null==(n=r[0])?void 0:n.id):""!==N&&q(""))};return window.addEventListener("scroll",u()(t,300)),function(){window.removeEventListener("scroll",t)}};(0,d.useLayoutEffect)(function(){return S()},[]),(0,d.useEffect)(function(){(0,m.V)(s).then(j).finally(function(){I(!0)})},[]);var P={slidesToShow:4,slidesToScroll:4,infinite:!1,arrows:!0};return(0,i.jsx)(_.w7,{children:(0,i.jsxs)("div",{className:"intention-page _pdbt-48px",children:[(0,i.jsx)("section",{className:"_dp-f _jtfct-ct _alit-ct _bgcl-neutral-500 _bgs-cv",style:{height:"200px",backgroundImage:"url(".concat(s.banner_background,")"),backgroundPosition:"right"},children:(0,i.jsxs)("div",{style:{color:"white"},children:[(0,i.jsx)("div",{className:"_fs-600 _fw-600 _tal-ct _ffml-secondary",children:s.banner_title}),(0,i.jsx)("div",{className:"_tal-ct _mgt-12px",children:s.banner_description})]})}),(0,i.jsx)("section",{className:"_pdt-32px _pdh-48px",children:(0,i.jsxs)("div",{className:"_dp-f",children:[(0,i.jsx)("div",{style:{width:"240px",minWidth:"240px",maxWidth:"240px"},children:(0,i.jsxs)("div",{className:"sticky _fs-300",children:[(0,i.jsx)("div",{className:"_ffml-secondary _fw-600",children:s.intention_title}),(0,i.jsx)("div",{className:"section-link-intentions _mgt-12px",children:null==s||null==(t=s.sections)?void 0:t.map(function(e){return(0,i.jsx)("a",{href:"#".concat(e.sort_order),"data-selenium":"intention-section.".concat(null==e?void 0:e.link_title,".link"),rel:"noreferrer",children:(0,i.jsx)("div",{className:a()("section-link-intention _cs-pt",{"-active":N==="".concat(e.sort_order)}),children:e.link_title},e.sort_order)},e.sort_order)})})]})}),(0,i.jsx)("div",{className:"_f-1 _dp-f _jtfct-ct _pdr-48px",children:(0,i.jsx)("div",{className:"_pdr-48px lo-12 _gg-48px",style:{width:"940px"},children:s.sections.map(function(e,t){var n;return(0,i.jsxs)("div",{id:"".concat(e.sort_order),children:[0!==t&&(0,i.jsx)("hr",{className:"_mgbt-48px"}),(0,i.jsxs)("div",{className:"_pdh-12px _dp-f",children:[(0,i.jsxs)("div",{className:"_f-1 _jtfct-spbtw",children:[(0,i.jsxs)("div",{className:"_fs-600 _fw-600 _ffml-secondary",children:[(0,i.jsx)("span",{children:e.title})," ",(0,i.jsx)("a",{href:"".concat(e.url,"?source=intention_").concat(null==g?void 0:g.intentionSlug),target:"_blank","data-selenium":"intention-section.".concat(null==e?void 0:e.link_title,".link"),className:"_cs-pt _cl-primary-500",rel:"noreferrer",children:e.link_title})]}),(0,i.jsx)("p",{className:"_mgt-32px",children:e.description})]}),(0,i.jsx)("div",{children:(0,i.jsx)("a",{href:"".concat(e.url,"?source=intention_").concat(null==g?void 0:g.intentionSlug),target:"_blank","data-selenium":"intention-section.".concat(null==e?void 0:e.link_title,".see-more"),rel:"noreferrer",children:(0,i.jsx)("div",{className:"tb-button -secondary -small",children:x("intention.see-more")})})})]}),(0,i.jsx)("div",{className:"_mgt-32px",style:{width:940},children:T?(0,i.jsx)(p.FN,{settings:P,itemPadding:"8px",itemPaddingBottom:"28px",containerClassName:"_w-100pct glider-container food-slider",isFluid:!0,children:null==(n=e.product_ids)?void 0:n.map(function(n,r){var c,o,a=b&&b.find(function(e){return e.objectID===n})||null;return a?(0,i.jsx)("div",{children:(0,i.jsx)("div",{style:{width:"220px"},children:(0,i.jsx)(f.c,{tabIndex:r,category:a.category,subcategory:a.subcategory,titleSubCate:null==g?void 0:g.intentionSlug,productId:a.objectID,className:"card-product",purchaseCount:null==a?void 0:a.purchase_count,title:a.title,coverPhoto:a.image||"",basePrice:a.base_price,slug:a.slug,rating:a.rating,badges:a.badges,user:a.user,fallbackSource:"intention_".concat(null==g?void 0:g.intentionSlug),reviewCount:a.review_count,responseTime:null==a||null==(o=a.user)||null==(c=o.stats)?void 0:c.response_time,productCardDecor:null==a?void 0:a.product_card_decor,productImageAlt:"".concat(null==e?void 0:e.title," ").concat(null==e?void 0:e.link_title," - ").concat(t+1),style:{minHeight:"360px"}},a.objectID)})},r):(0,i.jsx)(i.Fragment,{})})}):(0,i.jsx)("div",{className:"_dp-f",children:[1,2,3,4].map(function(e){return(0,i.jsx)("div",{className:"_pdh-12px _pdv-12px",children:(0,i.jsx)("div",{style:{width:"200px"},children:(0,i.jsx)(c.Rl,{})})},e)})})}),t===s.sections.length-1&&(0,i.jsx)("hr",{className:"_mgv-48px"})]},e.sort_order)})})})]})}),(0,i.jsx)("section",{className:"lo-container-desktop",children:(0,i.jsxs)("div",{className:"lo-2 _gg-16px",children:[(0,i.jsx)("div",{style:{height:"96px",color:"white",background:"#0045aa"},className:"_cl-white-100 _pd-12px _bdrd-8px _dp-f _alit-fe _ffml-secondary _fw-600",children:x("intention.related.title")}),null==s||null==(o=s.related_intentions)||null==(n=o.filter(function(e,t){return t<5}))?void 0:n.map(function(e,t){return(0,i.jsx)("a",{href:e.link,"data-selenium":"intention.related.".concat(e.title),target:"_blank",rel:"noreferrer",children:(0,i.jsx)("div",{style:{height:"96px",color:"white",backgroundImage:"url(".concat(e.image,")")},className:"_bgcl-neutral-300 _cl-white-100 _pd-12px _bdrd-8px _dp-f _alit-fe _ffml-secondary _fs-300 _fw-600 _bgs-cv _bgpst-ct",children:e.title},t)},t)})]})})]})})}}}]);

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.