1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4034,7309],{42812:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var r=n(20294),i=n(37876);n(14232);var u=n(93996),a=n(17907),c=n(70930),o=n(56472),s=n(10867),l=n(37127),d=n(30821);let p=function(){var e=(0,r._)((0,o.Bd)("common"),1)[0],t=(0,u.u)(),n=t.isLoggedIn,p=t.user,f=n&&(0,c.eT)(p),_=f?a.gj:a.gu,h=f?a.BR:a.pk;return(0,i.jsx)(l.bQ,{children:(0,i.jsx)("div",{className:"cookie-management notranslate lo-container-desktop _pdt-64px _pdbt-128px",children:(0,i.jsxs)("div",{style:{maxWidth:"800px"},children:[(0,i.jsx)("h2",{children:e("cookie-manage-page.title")}),(0,i.jsxs)("div",{className:"_mgbt-32px _mgt-8px",children:[e("pdpa-setting.term.read")," ",(0,i.jsx)(s.Gr,{href:_,className:"tb-link -primary _tdcrt-udl",children:e("pdpa-setting.top.terms-and-conditions")})," ",e("pdpa-setting.term.and")," ",(0,i.jsx)(s.Gr,{href:h,className:"tb-link -primary _tdcrt-udl",children:e("pdpa-setting.top.privacy-policy")})]}),(0,i.jsx)("h4",{children:e("pdpa-setting.manage-cookie.title")}),(0,i.jsxs)("p",{className:"_mgt-12px _mgbt-16px",children:[e("pdpa-setting.manage-cookie.description")," ",(0,i.jsx)("a",{href:a.Q9,target:"_blank",rel:"noopener noreferrer",className:"tb-link -primary _tdcrt-udl",children:e("pdpa-setting.manage-cookie.description-link.title")})]}),(0,i.jsx)(d.W,{})]})})})}},57010:(e,t,n)=>{n.d(t,{V:()=>l,y:()=>d});var r=n(16927),i=n(67684),u=n(62701),a=n(85993),c=n(4902),o=n(76757),s=n(78735),l=function(e){return(0,r._)(function(){var t;return(0,c.YH)(this,function(n){return t=[],e.sections.forEach(function(e){t=(0,a._)(t).concat((0,a._)(e.product_ids))}),[2,(0,s.zh)(t)]})})()},d=function(e,t){var n=new URL(e),r=o.parse(n.search),a=o.stringify((0,u._)((0,i._)({},r),{source:t}));return"".concat(n.origin).concat(n.pathname,"?").concat(a)}},70967:(e,t,n)=>{n.d(t,{Gl:()=>f,Hv:()=>o,M8:()=>s,VS:()=>a,XI:()=>l,aZ:()=>c,nG:()=>d,pN:()=>p});var r=n(37876),i=n(10867),u=n(17907),a=Array(10).fill(new Date().getFullYear()).map(function(e,t){return e-t}),c="coin_topup_history",o="coin_topup",s="user_coin",l=["5000","10000","50000","100000"],d=10,p="web_coin_topup",f=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:u.gy,className:"_cl-primary-600 _tdcrt-udl",children:"Support Center"})]},"4")]}},71260:(e,t,n)=>{n.d(t,{DS:()=>h,K7:()=>v,Rq:()=>y,SJ:()=>b,_3:()=>g,pU:()=>_,qf:()=>m});var r=n(16927),i=n(67684),u=n(62701),a=n(65699),c=n(4902),o=n(42252),s=n(79819),l=n(15526),d=n(66002),p=n(93298),f=n(93661),_=function(){var e=(0,l.n)(function(e){return(0,r._)(function(){return(0,c.YH)(this,function(t){switch(t.label){case 0:return[4,p.jU.createProductActionLog(e)];case 1:return[2,t.sent().createProductActionLog]}})})()});return(0,i._)({referenceUserId:(0,f.Tv)()},e)},h=function(e){var t=[d.g1,e],n=(0,o.I)({queryKey:t,queryFn:function(){return(0,r._)(function(){var t,n;return(0,c.YH)(this,function(r){switch(r.label){case 0:return[4,p.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)},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=arguments.length>2?arguments[2]:void 0,a={id:e,page:1,limit:t};return(0,s.q)((0,i._)({queryKey:[d.QV,e,t],queryFn:function(e){var t=e.pageParam,n=void 0===t?a:t;return(0,r._)(function(){return(0,c.YH)(this,function(e){switch(e.label){case 0:return[4,p.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,u._)((0,i._)({},a),{page:(null==e?void 0:e.page)+1})}},n))},g=function(){return(0,l.n)(function(e){return p.jU.setFavoriteById(e)})},m=function(e,t){var n=t.isMobile,s=(0,a._)(t,["isMobile"]),l=[d.sj,e],f=(0,o.I)((0,i._)({queryKey:l,queryFn:function(){return(0,r._)(function(){return(0,c.YH)(this,function(t){switch(t.label){case 0:return[4,p.jU.getProductDetailV2("".concat(e),{isMobile:n})];case 1:return[2,t.sent()]}})})()}},s));return(0,u._)((0,i._)({},f),{queryKey:l})},v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.isMobile,c=void 0!==r&&r,s=n.reviewsLimit,l=void 0===s?5:s,f=(0,a._)(n,["isMobile","reviewsLimit"]),_=[d.ny,e,t,c,l],h=(0,o.I)((0,i._)({queryKey:_,queryFn:function(){return p.jU.getProductDetailWithSellerReviews({productId:e,slug:t,isMobile:c,reviewsLimit:l})}},f));return(0,u._)((0,i._)({},h),{queryKey:_})},b=function(e){return(0,o.I)((0,i._)({queryKey:[d._],queryFn:p.jU.getMyServices},e))}},84194:(e,t,n)=>{n.d(t,{AR:()=>g,PD:()=>q,RD:()=>j,UW:()=>b,hb:()=>m,nw:()=>v});var r=n(16927),i=n(67684),u=n(62701),a=n(4902),c=n(42252),o=n(79819),s=n(15526),l=n(88202),d=n(66002),p=n(10415),f=n(93298),_=n(57010),h=n(70967),y=(0,l.$)().API_URL,g=function(e){return(0,c.I)({queryKey:[h.Hv,e],queryFn:function(){return(0,r._)(function(){return(0,a.YH)(this,function(t){switch(t.label){case 0:return[4,f.BZ.getCoinTopUp(e)];case 1:return[2,t.sent().getCoinTopUp]}})})()},enabled:!!e})},m=function(e,t){return(0,c.I)({queryKey:[h.aZ,e],queryFn:function(){return(0,r._)(function(){return(0,a.YH)(this,function(t){switch(t.label){case 0:return[4,f.BZ.getTopUpHistory((0,u._)((0,i._)({},e),{limit:10,order_by:"",dir:""}))];case 1:return[2,t.sent()]}})})()},keepPreviousData:!0,enabled:t})},v=function(e,t){return(0,o.q)({queryKey:[h.aZ,{year:e.year}],queryFn:function(t){var n=t.pageParam,i=void 0===n?e:n;return(0,r._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return[4,f.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,u._)((0,i._)({},e),{page:t.metadata.page+1})},enabled:t})},b=function(e){return(0,c.I)({queryKey:[h.M8],queryFn:function(){return(0,r._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return[4,f.BZ.getUserCoin()];case 1:return[2,e.sent().user]}})})()},enabled:e,staleTime:1/0,cacheTime:1/0})},q=function(){return(0,s.n)(function(e){var t=e.data.amount;return(0,r._)(function(){var e;return(0,a.YH)(this,function(n){switch(n.label){case 0:if(!(0,l.$)().FEATURES.FASTPAY)return[3,2];return[4,f.BZ.topUpWithFastpay(t)];case 1:return e=n.sent(),[2,(0,_.y)(e.redirect_url,h.pN)];case 2:return[4,f.BZ.topUp(t)];case 3:return[2,n.sent().coinTopUp];case 4:return[2]}})})()})},x=function(){return(0,r._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return[4,(0,p.A)("".concat(y,"/api/payment/available-method"))];case 1:return[2,e.sent().parsedBody]}})})()},j=function(){return(0,c.I)({queryKey:[d.C0],queryFn:x})}}}]);
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.