1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[317],{51276:function(e,t,n){var r,l,a=n(4410);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}t.Z=e=>a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"#B3BCC9",viewBox:"0 0 12 12"},e),r||(r=a.createElement("g",{clipPath:"url(#icon_close_svg__a)"},a.createElement("path",{d:"M11.266 9.866 7.4 6l3.866-3.866a.995.995 0 0 0 0-1.401.995.995 0 0 0-1.401 0L5.999 4.599 2.134.733a.995.995 0 0 0-1.401 0 .995.995 0 0 0 0 1.4L4.598 6 .733 9.866a.995.995 0 0 0 0 1.401.995.995 0 0 0 1.4 0L6 7.401l3.866 3.866a.995.995 0 0 0 1.4 0 .99.99 0 0 0 0-1.4"}))),l||(l=a.createElement("defs",null,a.createElement("clipPath",{id:"icon_close_svg__a"},a.createElement("path",{fill:"#fff",d:"M0 0h12v12H0z"})))))},30596:function(e,t,n){var r,l,a=n(4410);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}t.Z=e=>a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 140 140"},e),r||(r=a.createElement("path",{fill:"url(#icon_corner_br_svg__a)",d:"M140 280c77.32 0 140-62.68 140-140S217.32 0 140 0 0 62.68 0 140s62.68 140 140 140"})),l||(l=a.createElement("defs",null,a.createElement("radialGradient",{id:"icon_corner_br_svg__a",cx:0,cy:0,r:1,gradientTransform:"rotate(90 0 140)scale(140)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#FFD400",stopOpacity:.4}),a.createElement("stop",{offset:.4,stopColor:"#FFB500",stopOpacity:.15}),a.createElement("stop",{offset:1,stopColor:"#FF9500",stopOpacity:0})))))},10391:function(e,t,n){var r,l,a=n(4410);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}t.Z=e=>a.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 140 140"},e),r||(r=a.createElement("path",{fill:"url(#icon_corner_tl_svg__a)",d:"M140 0c0 77.32-62.68 140-140 140S-140 77.32-140 0-77.32-140 0-140 140-77.32 140 0"})),l||(l=a.createElement("defs",null,a.createElement("radialGradient",{id:"icon_corner_tl_svg__a",cx:0,cy:0,r:1,gradientTransform:"rotate(90)scale(140)",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#FFD400",stopOpacity:.4}),a.createElement("stop",{offset:.4,stopColor:"#FFB500",stopOpacity:.15}),a.createElement("stop",{offset:1,stopColor:"#FF9500",stopOpacity:0})))))},10317:function(e,t,n){n.r(t),n.d(t,{default:function(){return A}});var r=n(57437),l=n(2265),a=n(79522),s=n(90837),i=n(8590),o=n(22161),c=n(14292),u=n(45816),_=n(51276),d=n(45931),f=n(85367),p=n(31725),g=n(18087),h=n(35429);function m(e){let{isOpen:t,setIsOpen:n}=e,m=(0,g.useTranslations)(),{handleLinkClick:w,locale:E}=(0,o.Z)(),{isLogin:v,userData:x}=(0,c.Z)(!1),O=(0,l.useCallback)(()=>{n(!1)},[]),b=(0,l.useCallback)(()=>{var e;h.k.aliLog("FRONT_NOTICE_WITHDRAW",{event_name:"front_notice_withdraw_click",user_id:null==x?void 0:null===(e=x.userId)||void 0===e?void 0:e.toString()}),v==f.Tu.LOGGED_IN?w("/wallet?isWithdraw=true"):w("/user/login?key=register"),O()},[v]);return(0,l.useEffect)(()=>{if(t){var e;h.k.aliLog("FRONT_NOTICE_WITHDRAW",{event_name:"front_notice_withdraw_open",user_id:null==x?void 0:null===(e=x.userId)||void 0===e?void 0:e.toString()})}},[t]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(s.Vq,{open:t,onOpenChange:n,children:(0,r.jsxs)(s.cZ,{onPointerDownOutside:e=>e.preventDefault(),className:(0,u.cn)("flex w-96 items-center justify-center rounded-lg border-none bg-square_bg p-0 text-center"),children:[(0,r.jsx)(p.TX,{children:(0,r.jsxs)(s.fK,{children:[(0,r.jsx)(s.$N,{}),(0,r.jsx)(s.Be,{})]})}),(0,r.jsx)(a.default,{src:"/images/bell.png",width:90,height:90,alt:"img_bell",priority:!0,className:"absolute left-1/2 top-0 z-50 h-22.5 w-22.5 -translate-x-1/2 -translate-y-1/2"}),(0,r.jsx)(d.F,{width:140,height:140,className:"absolute left-0 top-0 h-35 w-35 rounded-tl-lg"}),(0,r.jsx)(d.L,{width:140,height:140,className:"absolute bottom-0 right-0 h-35 w-35 rounded-br-lg"}),(0,r.jsx)("button",{className:"absolute right-3 top-3 z-50 rounded-sm bg-bg4 p-2.5",onClick:O,children:(0,r.jsx)(_.Z,{width:12,height:12,className:"h-3 w-3"})}),(0,r.jsxs)("div",{className:"z-10 flex w-full flex-col items-center justify-center",children:[(0,r.jsx)("span",{className:"mt-11.5 w-full font-ali-bold text-xl text-image1",children:m("WITHDRAWAL_GUIDE_CONGRATULATIONS")}),(0,r.jsx)("span",{className:"mt-3 px-4 font-ali-bold text-sm text-primary1",children:m("WITHDRAWAL_GUIDE_YOU_HAVE_MET_THE_WITHDRAWAL_REQUIREMENTS")}),(0,r.jsx)("span",{className:"mt-2 w-64 font-ali-med text-sm text-image1",children:m("WITHDRAWAL_GUIDE_GO_TO_THE_WITHDRAWAL_PAGE_NOW_AND_APPLY_FOR_YOUR_FIRST_WITHDRAWAL")}),(0,r.jsx)(i.Z,{onClick:b,className:"my-6 w-64",children:(0,r.jsx)("span",{children:m("WITHDRAWAL_GUIDE_GO_TO_WITHDRAWAL")})})]})]})})})}var w=n(45500),E=n(93770),v=n(52938),x=n(67054),O=n(99329),b=n(4089),T=n(53670),I=n(71410),N=n(8226);let j=e=>{let t=(0,N.M)(),{isLogin:n,userData:r}
1=(0,c.Z)(!1),{showFirstWithdrawalGuideDialog:a}=(0,E.CG)(e=>e.features.firstWithdrawalGuideSlice),s=async()=>{try{let e=await (0,T.rQ)({url:"user/v1/common/web/setting",method:"GET",bindUserId:!1,keepPreviousData:!1,forceLogin:!1,cacheTime:0},null);if((null==e?void 0:e.result)===0)return e.data;return null}catch(e){return console.error("Error fetching web setting :",e),null}},i=(0,l.useCallback)(()=>!1,[]),o=(0,l.useCallback)(e=>{},[]),u=(0,l.useCallback)(e=>{},[]),_=(0,l.useCallback)(()=>!0,[]),{handleOpenDialog:d,handleCloseDialog:p}=(0,v.Xu)({dialogType:w.N.FIRST_WITHDRAWAL_GUIDE,priority:e,setShowDialog:b.fv,shouldAutoOpen:i,onDialogShow:o,onDialogBeforeOpen:_,onDialogHide:u,dependsOnRequest:I.P.MESSAGE_GET_COMMON_WEB_SETTING});(0,l.useEffect)(()=>{t&&n==f.Tu.LOGGED_IN&&s().then(e=>{if(null==e?void 0:e.withdrawNoticeStatus){let e=new Date().toDateString(),t="first_withdrawal_guide_"+r.userId,[n,l]=((0,O.getStoreValue)(t)||"").split("|"),a=Number(l||0);n!==e&&(0,O.setStoreValue)(t,e+"|0"),a<1&&((0,O.setStoreValue)(t,e+"|"+(a+1)),g(!0))}})},[t,n,r]);let g=e=>{x.j.logWithPrefix("FIRST_WITHDRAWAL_GUIDE: Manual dialog control called:",e),e?d():p()};return{showFirstWithdrawalGuideDialog:a,setShowFirstWithdrawalGuideDialogFun:g}};function A(e){let{priority:t}=e,{showFirstWithdrawalGuideDialog:n,setShowFirstWithdrawalGuideDialogFun:l}=j(t);return(0,r.jsx)(r.Fragment,{children:n&&(0,r.jsx)(m,{isOpen:n,setIsOpen:l})})}},45931:function(e,t,n){n.d(t,{F:function(){return l.Z},L:function(){return r.Z}});var r=n(30596),l=n(10391)}}]);
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.