1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49911],{596638:function(t,e,n){"use strict";var i=n(667294),o=n(592770);e.Z=t=>{const[e,n]=(0,i.useState)(t);return[e,(0,i.useCallback)((t=>{n((e=>{const n=(0,o.mf)(t)?t(e):t;return n?Object.assign(Object.assign({},e),n):e}))}),[])]}},2787:function(t,e,n){"use strict";n.d(e,{Z:function(){return P}});var i=n(667294),o=n(646799),a=n(945196);function c(){return(0,a.v_)("1448a10/f_exa_d/68fdd05c17660916019feb94678b0cf1",{body:JSON.stringify({clientType:3})})}var s=n(884374),r=n(698130),l=n(727484),_=n.n(l),u=n(759499),d=n(217674),p=n(884999);function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(Object(n),!0).forEach((function(e){(0,u.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v,y=function(t){var e=t.isLogin,n=(0,i.useState)(),o=(0,d.Z)(n,2),a=o[0],c=o[1];(0,i.useEffect)((function(){return function(){delete p.Z.onMessageMap.speedy}}),[]),(0,i.useEffect)((function(){e&&(p.Z.onMessageMap=f(f({},p.Z.onMessageMap),{},{speedy:s}),p.Z.init())}),[e]);var s=function(t){var e=r(t);e&&c(e)},r=function(t){try{var e,n,i=JSON.parse(t.data);if(6e3===(null===i||void 0===i||null===(e=i.msgData)||void 0===e?void 0:e.status_code)&&20001===(null===i||void 0===i?void 0:i.msgId))return null===i||void 0===i||null===(n=i.msgData)||void 0===n?void 0:n.data}catch(o){}};return{socketData:a,connectWsUrl:function(){}}},g=n(811163),h=n(201585),A=n(412314),T=n.n(A),w=n(161833),b=n(146670),S=n(558673),E=n(301922),D=n(785893),j=0;var P=(0,w.q)(b.Pi)((function(t){var e=(0,E.useTranslation)("entry").t;(0,S.Pc)({ready:!1});var n=!!(0,s.r)(),a=t.id,l=(0,i.useState)(!1),u=l[0],d=l[1],p=(0,i.useState)(""),m=p[0],f=p[1],A=y({isLogin:n}).socketData,w=1==(null===A||void 0===A?void 0:A.isSpite),b=w?null===A||void 0===A?void 0:A.expireTimeNew:null===A||void 0===A?void 0:A.expireTime,P=(0,o.Z)(c,{manual:!0,onSuccess:function(t){var e=t&&t.length?t:[];I(e)}}).run;(0,i.useEffect)((function(){return function(){clearInterval(v)}}),[]),(0,i.useEffect)((function(){n&&P()}),[n]),(0,i.useEffect)((function(){j=0,clearInterval(v),v=setInterval((function(){if(20===++j)return clearInterval(v),void d(!1)}),1e3),1===(null===A||void 0===A?void 0:A.status)&&m?d(!0):d(!1)}),[A]);var I=function(t){var e=t.find((function(t){return a===t.id}));f(e)};return(0,D.jsx)("div",{children:u&&(0,D.jsx)("div",{className:T().floatWrap,children:(0,D.jsxs)("div",{className:T().content,style:{width:w?"156px":"144px"},onClick:function(){1===(null===A||void 0===A?void 0:A.orderType)?g.default.push(h.Z.withdrawal):g.default.push("".concat(h.Z.deposit,"?type=1"))},children:[(0,D.jsx)("div",{className:T()["floatIcon".concat(null===A||void 0===A?void 0:A.orderType)]}),(0,D.jsxs)("div",{className:T().floatText,children:[w?(0,D.jsxs)("p",{className:T().tips,children:[e("common.speedy"),1===(null===A||void 0===A?void 0:A.orderType)?e("common.withdrawMoney"):e("common.deposit"),null===A||void 0===A?void 0:A.subCount,e("common.penToBeConfirmed")]}):(0,D.jsxs)("p",{className:T().tips,children:[e("common.speedy"),1===(null===A||void 0===A?void 0:A.orderType)?e("common.withdrawMoney"):e("common.deposit"),e("common.toBeConfirmed")]}),(0,D.jsxs)("p",{className:T().time,children:[(0,D.jsxs)("p",{children:[(0,D.jsx)("div",{children:e("common.remaining")}),b?(0,D.jsx)(r.ZP,{date:_()().add(b,"s").valueOf(),renderer:function(t){var e=t.hours,n=t.minutes,i=t.seconds;return(0,D.jsxs)("div",{children:[1===String(e).length&&e>0?"0".concat(e):e||"",e>0?":":"",1===String(n).length?"0".concat(n):n||"00",":",1===String(i).length?"0".concat(i):i||"00"]})}},Math.random().toString()):"00:00"]}),(0,D.jsx)("span",{className:T().progress})]})]})]})})})}))},783393:function(t,e,n){"use strict";var i=n(951736),o=n.n(i),a=n(787308),c=n(785893);e.Z=function(){var t=(0,a.j)("activity").t;return(0,c.jsxs)("div",{className:o().modalError,children:[(0,c.jsx)("div",{className:o().bg}),(0,c.jsx)("div",{className:o().modalErrorItem,children:t("components.deactivated")})]})}},450039:function(t,e,n){"use strict";n.d(e,{UX:function(){return m}});var i=n(759499),o=n(667294),a=n(973935),c=n(545578),s=n(561672),r=n.n(s),l=n(208026),_=n(787308),u=n(785893);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}var p=function(t){var e=t.noDescPadding,n=void 0!==e&&e,i=t.title,a=t.hideTitle,s=t.width,d=t.className,p=t.closeIcon,m=t.centerTitle,v=void 0===m||m,y=t.content,g=t.onCancel,h=t.cancelText,A=t.okText,T=t.onOk,w=t.hideFooter,b=t.confirmLoading,S=t.maskClosable,E=t.receiveModal,D=t.footerBtn,j=t.tip,P=(0,o.useState)(!1),I=P[0],O=P[1],N=(0,_.j)("activity").t;(0,o.useEffect)((function(){return document.body.style.overflow="hidden",function(){document.body.style.overflow="auto"}}),[]);var x=function(t,e,n){e?-1!==t()&&(O(!0),setTimeout((function(){f(),n&&n()}),300)):(O(!0),setTimeout((function(){f(),t&&t()}),300))};return(0,u.jsxs)("div",{className:(0,l.z)(r().container,I&&r().animation),children:[(0,u.jsxs)("div",{className:(0,l.z)(r().content,d),style:{width:s},children:[a?"":(0,u.jsxs)("div",{className:(0,l.z)(r().head,v?r().centerHead:"","head"),children:[i||N("taskList.kindTips"),p&&(0,u.jsx)("span",{className:r().closeIcon,onClick:function(){return x(g)}})]}),(0,u.jsx)("div",{className:E?r().receiveModal:n?r().descNoPadding:r().desc,children:y}),w?null:(0,u.jsx)("div",{className:r().footer,children:D&&D.length?null===D||void 0===D?void 0:D.map((function(t,e){return(0,u.jsx)(c.Z,{style:{marginLeft:e>0?16:0},loading:t.loading||!1,onClick:function(){return x(t.onClick,null===t||void 0===t?void 0:t.isAsync,null===t||void 0===t?void 0:t.onCancel)},className:E?"".concat(r().receiveBtn," ").concat(r().receiveBtn+e):"".concat(r().btn," ").concat(r().btn+e),children:t.text||t.title})})):(0,u.jsxs)(u.Fragment,{children:[h&&(0,u.jsx)(c.Z,{onClick:function(){return x(g)},className:"".concat(r().btn," ").concat(r().secondary),type:"hoverCancel",style:{marginRight:16},children:h}),(0,u.jsx)(c.Z,{loading:b,onClick:function(){return x(T)},className:(0,l.z)(r().btn,(null===t||void 0===t?void 0:t.disabled)&&r().disabled||"",h?r().withCancel:""),type:"confirm",children:A||N("taskList.sure")}
1)]})}),j?(0,u.jsx)("div",{className:r().tip,children:j}):""]}),(0,u.jsx)("div",{className:r().mask,onClick:function(){S&&setTimeout((function(){f(),g&&g()}),300)}})]})};function m(t){document.body.style.overflow="hidden";var e=document.createElement("div");return e.setAttribute("id","activityModal"),document.body.appendChild(e),a.render((0,u.jsx)(p,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){(0,i.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t)),e)}function f(){document.body.style.overflow="auto";var t=document.getElementById("activityModal");t&&document.body.removeChild(t)}e.ZP=p},367174:function(t,e,n){"use strict";n.d(e,{y3:function(){return o},T8:function(){return i},PS:function(){return a}});var i,o=function(t){return[{type:"0",value:t("list.allDiscounts"),activityTag:""},{type:"7",value:t("list.favourable"),activityTag:"10"},{type:"1",value:t("list.limited"),activityTag:"5"},{type:"2",value:t("list.deposit"),activityTag:"3"},{type:"3",value:t("list.daily"),activityTag:"2"},{type:"8",value:"".concat(t("list.discounts")),activityTag:"9"},{type:"5",value:t("list.water"),activityTag:"7"},{type:"6",value:t("list.privileges"),activityTag:"4"}]};!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.GIFT=9]="GIFT",t[t.MONTH=10]="MONTH",t[t.DEPOSITFIRST=1]="DEPOSITFIRST",t[t.DEPOSITAGAIN=2]="DEPOSITAGAIN",t[t.REDRAIN=12]="REDRAIN",t[t.SIGNGIFT=13]="SIGNGIFT",t[t.DRAWGIFT=16]="DRAWGIFT",t[t.RAFFLE=14]="RAFFLE",t[t.RACEPAGE=15]="RACEPAGE",t[t.NEWTASK=17]="NEWTASK",t[t.EUROPEAN=18]="EUROPEAN",t[t.C_LANDPAGE=88]="C_LANDPAGE",t[t.C_PUREDISPLAY=8]="C_PUREDISPLAY",t[t.DEPOSITVIRTUAL=99]="DEPOSITVIRTUAL",t[t.KINGRETURN=22]="KINGRETURN",t[t.LUCKYFLIP=25]="LUCKYFLIP",t[t.THEMEDLOTTERY=26]="THEMEDLOTTERY",t[t.GET_CARD=29]="GET_CARD",t[t.SIGNINGIFT2=27]="SIGNINGIFT2",t[t.CALENDAR=30]="CALENDAR",t[t.EVENTTOPIC=32]="EVENTTOPIC",t[t.MATCHQUIZ=31]="MATCHQUIZ",t[t.CDMONEY=8]="CDMONEY",t[t.KEEPDEPOSITAGAIN=35]="KEEPDEPOSITAGAIN"}(i||(i={}));var a=function(t){return{1:{name:t("list.latest")},2:{name:t("taskList.daily")},3:{name:t("taskList.newcomer")},4:{name:"VIP"},5:{name:t("taskList.limitedTime")},6:{name:t("taskList.lavishGift")},7:{name:t("taskList.rebate")},8:{name:t("list.hottest")},9:{name:t("taskList.physicalEducation")},10:{name:t("list.withdrawal")},11:{name:t("taskList.chessCards")},12:{name:t("taskList.lottery")}}}},166137:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return q},default:function(){return $}});var i=n(759499),o=n(217674),a=n(667294),c=n(596638),s=n(646799),r=n(811163),l=n(208026),_=n(227361),u=n.n(_),d=n(27929),p=n(873126),m=n.n(p),f=n(367174),v=n(545578),y=n(301922),g=n(298352),h=n(785893),A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY/MM/DD";return(0,g.K0)(t&&String(t),e)},T=(0,a.memo)((function(t){var e=(0,y.useTranslation)("activity").t,i=(0,y.useTranslation)("main").t,o=t.activityList,c=void 0===o?[]:o,s=t.onClick,r=t.isDefault,_=t.isLoading;return(0,h.jsx)("div",{className:m().list_wrap,children:null!==c&&void 0!==c&&c.length?(0,h.jsx)(a.Fragment,{children:c.map((function(t,n){var i=u()((0,f.PS)(e),"".concat(t.activityTag,".name")),o=t.isDisplay,a=void 0!==o&&o,c=t.displayStartTime,_=void 0===c?"":c,p=t.activityStartTime,y=void 0===p?"":p,g=t.displayEndTime,T=void 0===g?"":g,w=t.activityEndTime,b=void 0===w?"":w;return(0,h.jsx)("li",{onClick:function(){return s(t)},children:(0,h.jsxs)("div",{className:m().box,children:[(0,h.jsxs)("p",{children:[null!==t&&void 0!==t&&t.activityTag?(0,h.jsx)("div",{className:(0,l.z)(m().activity_tag,m()["activity_tag".concat(t.activityTag)]),children:(0,h.jsx)("span",{children:i})}):null,(0,h.jsx)("span",{children:t.isPermanent?e("againDeposit.longTerm"):(0,h.jsxs)(h.Fragment,{children:[A(a?_:y),(0,h.jsxs)("span",{children:[" ",e("againDeposit.to")," "]}),A(a?T:b)]})})]}),(0,h.jsx)("div",{className:m().activity_img,children:(0,h.jsx)(d.Z,{src:u()(t,r?"webListPicture":"darkWebListPicture"),width:453,sizes:"453px",objectFit:"cover",priority:0===n||1===n,height:625}
1)}),(0,h.jsx)(v.Z,{className:m().btn_detail,buttonStyle:{fontSize:"14px"},onClick:function(){return s(t)},isHover:!0,children:e("components.checkDetails")})]})},"".concat(n))}))}):(0,h.jsxs)("div",{className:m().empty,children:[(0,h.jsx)(d.Z,{src:n(724089)("./recordDefaultIcon".concat(r?"":"_night",".png")),width:200,height:160}),(0,h.jsx)("span",{children:_?i("download.loading"):e("components.nowNoactivity")})]})})})),w=n(406254),b=n(667004),S=n.n(b),E=function(t){var e=t.isTransited,n=void 0!==e&&e,i=t.children,o=t.callback,a=t.size,c="small"===(void 0===a?"small":a)?"YBTransition":"YBTransitionLarge";return(0,h.jsx)("div",{className:S().container,children:(0,h.jsx)(w.Z,{in:n,timeout:200,unmountOnExit:!1,classNames:c,onEnter:function(){setTimeout((function(){o()}),200)},children:(0,h.jsx)("div",{className:"YBTransition",children:i()})})})},D=n(469188),j=n(689147),P=n.n(j);var I=function(t){var e=t.onTabClick,n=t.tabIndex,o=(0,y.useTranslation)("activity").t,c=(0,a.useState)(0),s=c[0],r=c[1];return(0,h.jsx)("div",{className:(0,l.z)(P().nav_wrap),children:(0,h.jsxs)("div",{className:P().nav_warp_view,children:[(0,h.jsx)("ul",{children:(0,f.y3)(o).map((function(t,a){return(0,h.jsx)("li",{className:n===a?P().active:"",onClick:function(){(0,D.j)(o("taskList.activitySort"),(0,i.Z)({},o("taskList.discountCategories"),t.value)),function(){try{(0==document.body.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)>500&&window.scrollTo({top:470,behavior:"smooth"})}catch(t){}}(),e(t.activityTag,a),r(a)},children:(0,h.jsx)("div",{children:(0,h.jsx)("span",{className:P().nav_item_name,children:t.value})})},a)}))}),(0,h.jsx)("div",{style:{left:"".concat(120*s,"px"),width:"108px"},className:P().line})]})})},O=n(641713),N=n(994878),x=n(277),k=n(701049),C=n(778719),L=n(702338),M=n(374942),Q=n.n(M),R=n(146670),G=n(2787),U=n(380364),Z=n(925090),B=n(505152),F=n(450039),Y=n(201585),z=n(783393),H=n(555129),X=n(567471),J=(0,B.default)((function(){return Promise.all([n.e(46954),n.e(78222),n.e(8145),n.e(55709),n.e(92345),n.e(16793),n.e(63578),n.e(58928),n.e(35865),n.e(4879),n.e(53544),n.e(42739),n.e(59021),n.e(65234),n.e(28332),n.e(94700),n.e(32312),n.e(53400),n.e(87226),n.e(77953),n.e(11984),n.e(61503)]).then(n.bind(n,861503))}),{ssr:!1,loadableGenerated:{webpack:function(){return[861503]}}}),W=(0,B.default)((function(){return Promise.all([n.e(46954),n.e(78222),n.e(8145),n.e(55709),n.e(92345),n.e(16793),n.e(63578),n.e(58928),n.e(35865),n.e(4879),n.e(53544),n.e(52101),n.e(42739),n.e(59021),n.e(65234),n.e(28332),n.e(94700),n.e(32312),n.e(53400),n.e(87226),n.e(77953),n.e(11984),n.e(74568)]).then(n.bind(n,690569))}),{ssr:!1,loadableGenerated:{webpack:function(){return[690569]}}}),V=(0,B.default)((function(){return n.e(51319).then(n.bind(n,851319))}),{ssr:!1,loadableGenerated:{webpack:function(){return[851319]}}}),K=(0,B.default)((function(){return Promise.all([n.e(46954),n.e(78222),n.e(8145),n.e(55709),n.e(92345),n.e(16793),n.e(63578),n.e(58928),n.e(35865),n.e(4879),n.e(53544),n.e(42739),n.e(59021),n.e(65234),n.e(28332),n.e(94700),n.e(32312),n.e(87226),n.e(77953),n.e(11984),n.e(36428)]).then(n.bind(n,236428))}),{ssr:!1,loadableGenerated:{webpack:function(){return[236428]}}}),q=!0,$=a.memo((0,R.Pi)((function(t){var e,_,u=(0,H.Z)(),d=(0,y.useTranslation)("activity").t,p=(0,r.useRouter)(),m=(null===p||void 0===p||null===(e=p.query)||void 0===e?void 0:e.tab)||"",v=(0,a.useState)(!1),g=v[0],A=v[1],w=(0,a.useState)((null===t||void 0===t||null===(_=t.activityListInfo)||void 0===_?void 0:_.list)||[]),b=w[0],S=w[1],j=(0,a.useState)(0),P=j[0],M=j[1],R=(0,a.useState)(""),B=R[0],q=R[1],$=(0,c.Z)({modalType:"",activityId:""}),tt=(0,o.Z)($,2),et=tt[0],nt=tt[1],it=(0,a.useState)(!1),ot=it[0],at=it[1],ct=(0,a.useState)({}),st=ct[0],rt=ct[1],lt=U.Z.maketingModalStatus,_t=U.Z.setMaketingModalVisible,ut=(0,c.Z)({isShowMore:!1,page:0,total:0,actList:[],scrollHeight:0,currentList:[]}),dt=(0,o.Z)(ut,2),pt=dt[0],mt=dt[1],ft=(0,s.Z)(L.n,{cacheKey:"bannerList",onSuccess:function(t){var e=t&&t.length>0;A(e)}}).data,vt=void 0===ft?null===t||void 0===t?void 0:t.initBannerList:ft,yt=(0,s.Z)(C.O,{defaultParams:[{pageNum:1,pageSize:0}],onSuccess:function(t){S((null===t||void 0===t?void 0:t.list)||[]),St(null===t||void 0===t?void 0:t.list)}}),gt=yt.data,ht=void 0===gt?t.activityListInfo:gt,At=yt.loading;(0,a.useEffect)((function(){var t=Number(m)||0;t&&(bt((0,f.y3)(d)[t].activityTag,t),M(t))}),[m]),(0,a.useEffect)((function(){return document.body.style.overflowX="hidden",
1window.addEventListener("scroll",Tt),function(){document.body.style.overflowX="",window.removeEventListener("scroll",Tt)}}),[]),(0,a.useEffect)((function(){1===lt&&_t(!0)}),[lt]),(0,a.useEffect)((function(){St()}),[P]),(0,a.useEffect)((function(){mt({isShowMore:pt.total&&pt.page+1<pt.total})}),[pt.page,pt.total]),(0,X.l)();var Tt=function(){var t=document.documentElement.scrollTop,e=document.documentElement.scrollHeight-t-document.documentElement.clientHeight;mt({scrollHeight:e})},wt=function(t){if(0==t.status)return(0,F.UX)({width:440,closeIcon:!0,hideFooter:!0,onCancel:function(){p.replace(Y.Z.home)},content:(0,z.Z)()});switch((0,D.j)(d("components.clickDetails"),(0,i.Z)({},d("european.discountName"),t.title)),t.type==f.T8.DEPOSITFIRST&&1===t.rechargeType&&(t.type=f.T8.DEPOSITVIRTUAL),t.type){case f.T8.GIFT:return void(0,Z.nA)("/activity/bettingGift/".concat(t.id));case f.T8.REDRAIN:return void(0,Z.nA)("/activity/redPackRain/".concat(t.id));case f.T8.MONTH:return void(0,Z.nA)("/activity/monthMoney/".concat(t.id));case f.T8.SIGNGIFT:return void(0,Z.nA)("/activity/signGift/".concat(t.id));case f.T8.DRAWGIFT:return void(0,Z.nA)("/activity/drawGift/".concat(t.id));case f.T8.DEPOSITFIRST:return void(1===t.contentForm?nt({activityId:t.id,modalType:"deposit-first"}):0===t.contentForm&&(0,Z.nA)("/activity/firstDeposit/".concat(t.id)));case f.T8.DEPOSITVIRTUAL:return void(1===t.contentForm?nt({activityId:t.id,modalType:"deposit-virtual"}):0===t.contentForm&&(0,Z.nA)("/activity/virtualDeposit/".concat(t.id)));case f.T8.DEPOSITAGAIN:return void(1===t.contentDisplayForm?(0,Z.nA)("/activity/againDeposit/".concat(t.id)):nt({activityId:t.id,modalType:"deposit-again"}));case f.T8.KEEPDEPOSITAGAIN:return void(0,Z.nA)("/activity/continuousDeposit/".concat(t.id));case f.T8.RACEPAGE:return void(0,Z.nA)("/activity/racePage/".concat(t.id));case f.T8.MATCHQUIZ:return void(0,Z.nA)("/activity/matchquiz/".concat(t.id));case f.T8.NEWTASK:return void p.push("/activity/newTask/".concat(t.id));case f.T8.EUROPEAN:return void p.push("/activity/european/".concat(t.id));case f.T8.KINGRETURN:return void p.push("/activity/kingReturn/".concat(t.id));case f.T8.LUCKYFLIP:return void p.push("/activity/luckyFlip/".concat(t.id));case f.T8.THEMEDLOTTERY:return void p.push("/activity/themedLottery/".concat(t.id));case f.T8.GET_CARD:return void p.push("/activity/happyCard/".concat(t.id));case f.T8.SIGNINGIFT2:return void p.push("/activity/signingift2/".concat(t.id));case f.T8.CALENDAR:return void p.push("/activity/calendar/".concat(t.id));case f.T8.EVENTTOPIC:return void p.push("/activity/eventTopic/".concat(t.id));default:return void function(t){0===t.contentForm||1===t.contentForm&&1===t.type?t.webBackgroundPicture||t.webMainPicture?(0,Z.nA)("/activity/activityLandPage/".concat(t.id)):(rt({title:t.title,rule_content:t.webDetail}),at(!0)):1===t.contentForm?t.webTopicLink&&(t.webTopicLink.includes("/page/")||t.webTopicLink.includes("https://")||t.webTopicLink.includes("http://")?(0,Z.nA)("".concat(t.webTopicLink)):p.push(t.webTopicLink)):(0,Z.nA)("/activity/pureDisplay/".concat(t.id))}(t)}},bt=function(t,e){M(e),mt({page:0}),q(t)},St=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b,e=B?null===t||void 0===t?void 0:t.filter((function(t){return"11"===B?"11"===t.activityTag||"12"===t.activityTag:t.activityTag===B})):null===t||void 0===t?void 0:t.filter((function(t){return!["21","22","23"].includes(t.activityTag)}));if(null!==e&&void 0!==e&&e.length){var n=Array.from({length:Math.ceil(e.length/6)},(function(t,n){return e.slice(6*n,6*(n+1))}))||[];mt({actList:n,currentList:null===n||void 0===n?void 0:n[pt.page],total:(null===n||void 0===n?void 0:n.length)||0,isShowMore:(null===n||void 0===n?void 0:n.length)&&pt.page+1<(null===n||void 0===n?void 0:n.length)})}else mt({actList:[],currentList:[],total:0,isShowMore:!1})},Et=et.activityId,Dt=et.modalType,jt=pt.isShowMore;return(0,h.jsxs)(O.Z,{children:[(0,h.jsxs)("div",{className:Q().preferentialActivity_container,children:[(0,h.jsxs)("div",{className:(0,l.z)(Q().activityBox,g?Q().bannerBoxSty:""),children:[g&&(0,h.jsx)("div",{className:Q().topView,children:(0,h.jsx)(N.Z,{list:vt})}),(0,h.jsxs)("div",{className:(0,l.z)(Q().preferentialActivity_content),children:[(0,h.jsx)(I,{onTabClick:bt,tabIndex:P}),(0,h.jsx)("div",{style:{flex:1},children:(0,h.jsx)(E,{isTransited:!1,callback:function(){},children:function(){return(0,h.jsx)("ul",{className:Q().acitvity_list,children:(0,h.jsx)(T,{activityList:pt.currentList,isDisplay:ht.isDisplay,onClick:wt,isDefault:u,isLoading:At})})},size:"large"})}),jt?(0,h.jsxs)("div",{className:Q().loadMore,onClick:function(){return function(){var t=pt.page,e=pt.currentList,n=pt.actList;mt({page:t+1,currentList:e.concat(n[t+1])})}()}
1,children:[d("taskList.loadMore"),(0,h.jsx)("img",{src:n(433865)("./Union".concat(u?"":"_night",".png"))})]}):null]})]}),function(){if(ot)return(0,h.jsx)("div",{className:Q().mask,children:(0,h.jsx)(V,{title:(null===st||void 0===st?void 0:st.title)||"",rule:(null===st||void 0===st?void 0:st.rule_content)||"",handleFunction:function(t){!function(t){at(t)}(t)},doNotPost:!0})})}()]}),Et&&"deposit-first"===Dt?(0,h.jsx)(J,{id:Et,modalType:k.a.Modal,closeDepositModal:function(){nt({activityId:"",modalType:""})}}):null,Et&&"deposit-virtual"===Dt?(0,h.jsx)(W,{id:Et,modalType:k.a.Modal,closeDepositModal:function(){nt({activityId:"",modalType:""})}}):null,Et&&"deposit-again"===Dt?(0,h.jsx)(K,{id:Et,modalType:k.a.Modal,closeDepositModal:function(){nt({activityId:"",modalType:""})}}):null,(0,h.jsx)(G.Z,{id:13}),(0,h.jsx)(x.Z,{position:"2",routePath:"discount"})]})})))},701049:function(t,e,n){"use strict";var i;n.d(e,{a:function(){return i}}),function(t){t[t.Modal=0]="Modal",t[t.Preview=1]="Preview"}(i||(i={}))},567471:function(t,e,n){"use strict";n.d(e,{l:function(){return o}});var i=n(667294),o=(n(184441),function(){(0,i.useEffect)((function(){0}),[])})},895041:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/activity/discount",function(){return n(166137)}])},412314:function(t){t.exports={_global_opacity_5:"LB2pd1H62rfH_coWsR_4DA__",_global_opacity_8:"i21UgqbjGgzXTYXoxEkDuw__","ant-select":"Mr_T22gOD9eSg2Zjy5X8GA__","ant-select-customize-input":"KcMUeVHrEaAgWNNE1uT6Hw__","ant-select-selector":"LbWCmZTAZGFiYfit3qtbqQ__","ant-select-selection-search":"jF_gA9dLCSya_kpFQs_OYQ__","ant-select-selection-search-input":"ggP9rR1gDRzzOsoav8jR3g__","ant-select-selection-item":"t0C39rH6WDQuNGloeUr8Iw__","ant-select-selection-placeholder":"tiTr4yRqjeC6D_dtvgtR8w__","ant-select-arrow":"jWczlLCPFUFuoK79O3wucA__","ant-select-focused":"qGzNtshnj5XUCHl_c6t2uA__","ant-select-sm":"lCJFysLe8gfHZ_Xyc5X_sw__","ant-select-lg":"cw0zTtlIjqjGDt6YqG_dFw__","ant-select-dropdown":"htZEMW1uQUfLuJJAoWbF4w__","rc-virtual-list":"dNkrXYHOfMptiCefRJ6LLg__","ant-select-item-empty":"inIvXn0YPe49belXzZXgfw__","ant-empty":"Z5KYSrpA5p5lEbCdByha2A__","ant-empty-image":"z2ahIPa8nij7_PiinGM3QA__","ant-empty-description":"PF_9XUDvOB1ZBeVrMoi8oA__","ant-select-item-option":"KpyIH3W4Bw6va_1AR5dVDA__","ant-select-item-option-selected":"__7ZAiK7vsbKTZ6wuI7O9_Ag__","ant-select-item-option-state":"EO2H98jOS_DmyEKg1oA0OA__","ant-select-item-option-active":"noOc2GvYPSyGTGyoQ5l7hA__","ant-spin-nested-loading":"__3rE0ZTRwO1Xor3WD1y50uA__","ant-spin-spinning":"oNUMvtY9j7yFH3pD2XdUjw__","ant-spin-dot":"Ph9k_QTSsZoTosfhpXqV6A__","ant-spin-blur":"UZakesamJpXu_vCn_fIoKg__",commonSpin:"__8bm_2dd8x6_bOAtSWk4iag__",floatWrap:"_bQwRO1vH2bE21cy8BR7Og__",content:"hzx6uBbfy4A2DpzDD8v27A__",floatIcon1:"JByQBvPAiTwjuPLNR_wTdQ__",floatIcon2:"mtvFYMTrdwJ2NI7XEaj39g__",floatText:"AlXLjZL3bJJncSiFI8xt7Q__",tips:"o_R0jx0wMjSTEhfwzqJRkQ__",time:"PZtwZGC5fVoYtAPqWZpWyA__",progress:"hzSHFij2RzpC8h7hkykgZQ__"}},951736:function(t){t.exports={_global_opacity_5:"yiaFFaInJMXRuZrTXb7CfQ__",_global_opacity_8:"dA27zPgGyOEzM3keUTlwkA__","ant-select":"__8_8X0gIc1Iy3bdkxlFRJMQ__","ant-select-customize-input":"lpcJzjNy_znBcnoLJPkobw__","ant-select-selector":"kNU2DpY7e_aJBRXRV9_NPQ__","ant-select-selection-search":"zuSJsSPjee9ClAPpLflkbg__","ant-select-selection-search-input":"EfQH41kDgexRMC3eaLM7jA__","ant-select-selection-item":"oju_LvCkryg1W8QBA13lhQ__","ant-select-selection-placeholder":"_NqM1tm_NW_Qd6wQHefd1A__","ant-select-arrow":"y1nLyJhx9UwjBFyXjBg5vw__","ant-select-focused":"__6sGOvZNC0iSpqV_Ya4NgKA__","ant-select-sm":"PnssDDjQV8szafKggRQPXw__","ant-select-lg":"C3byUnDmt_zijGyyytoOJQ__","ant-select-dropdown":"__3BjtCt_lDZ5YTHP_ezurYg__","rc-virtual-list":"wilFOWFCDFt3GQR67_QTjw__","ant-select-item-empty":"J2mcVrckRRIecIUU6QTm5w__","ant-empty":"a3_3pSMBUjyK9Ll_iIzdxw__","ant-empty-image":"bJS_9smYHT4ZGe4F4pFLgQ__","ant-empty-description":"NU__fMl8uJnS7sL81hhfDw__","ant-select-item-option":"xWTyldtRdIOZhRPQahBSHQ__","ant-select-item-option-selected":"__3VloRyFZRjLWzrXIwbPSTA__","ant-select-item-option-state":"__8k6GBL2VjazwonHpVoMQpg__","ant-select-item-option-active":"__6QZn4W7W4kZUq_uRj3b1ZA__","ant-spin-nested-loading":"hP3r0rjPMkrwynlf6cnpfA__","ant-spin-spinning":"vp8_jtYYbTuQoNjjMzdAZQ__","ant-spin-dot":"_atJJkhjDVXgKjDK7mFvQg__","ant-spin-blur":"W2N0dD9R00Ly4R_PMV29rA__",commonSpin:"OeTzCbA7U5_iv9t1x92e2g__",modalError:"W9loyCztpwRpjwhVONY23w__",bg:"H6W1dLQ5qU0su88RTs7Yzg__",modalErrorItem:"uFxKYRZG82b6XT4JDljlmw__"}},561672:function(t){t.exports={_global_opacity_5:"__9Z6qJcYgsBDCU8ZkGWwNTQ__",_global_opacity_8:"__6Z0TUrGGs7XNAHPpvyAH7A__","ant-select":"drNSO05BUcXxK3BcnCtzjQ__","ant-select-customize-input"
1:"__4wTxg6dH_MAEPah8NbP_mA__","ant-select-selector":"DbD7knD_NmOtLFPuE8t_Aw__","ant-select-selection-search":"HNjot8C_4xuVk004o8JiJg__","ant-select-selection-search-input":"cUQ1fap7bKB_5Xeaom2geA__","ant-select-selection-item":"PTFCtu5j3Kn9I60ygwjhWw__","ant-select-selection-placeholder":"x2Y0PA0DxtRbjePc_doNOw__","ant-select-arrow":"dyjAiBP7yUWytsdoWRPJ7Q__","ant-select-focused":"LJEBJ5JwG8yOXKckL1o4QQ__","ant-select-sm":"__1uu2QyH3NoWg_ODr2i4TYQ__","ant-select-lg":"__2XSkAoncj9Si32qv5X0gzg__","ant-select-dropdown":"mDrebHAuElXafUly34DeFg__","rc-virtual-list":"Lee8dAVipc8FdhrQG_pi_g__","ant-select-item-empty":"v8LkgGOWxINF_XDNU8vZ2Q__","ant-empty":"ntN_bt2koskDdWGxqH5Ksw__","ant-empty-image":"pGo_GBjYZGv34cH9mk7B5Q__","ant-empty-description":"WnWZ6jV4F4DbiaGsUx_QVQ__","ant-select-item-option":"kZapy9MJM87Yv_Lek09IxA__","ant-select-item-option-selected":"CKGE_FzqAcmKNKYEo7HyBw__","ant-select-item-option-state":"nI7YAIaV4JujxvJJ_IE5dw__","ant-select-item-option-active":"__7CoXRmKX_AKsu1Vkr9JpbQ__","ant-spin-nested-loading":"XS1qlU_27TyMo1zIxSgWKA__","ant-spin-spinning":"__4YW8D0I_oAeFE_a4Um_Inw__","ant-spin-dot":"PWziDtou6A9UdfPL_eLeEA__","ant-spin-blur":"mtiZSC716T6LxNqTxOkPXw__",commonSpin:"TdGucW4LWEUmYS4M8DawBw__",container:"Xehp0TyoEfm_5_TXLktqWA__",modalShow:"yheDfTUjhHYO53lrXclmaQ__",mask:"N9kNEhRhkZppMDmd_5duJg__",animation:"__2nNX2Iomc4I0gQkjgUu6SQ__",deleteShow:"A1bIfqgeifzyPeVscHypkA__",content:"__6S_oAdjq_Iv0VNn6nj4xYw__",tipFlower:"uxxfw_gKXl277pOUKlPBvg__",tip:"vTZWwTxzza9pBUZW9l9_Dw__",head:"heHOe5i0GDwcaOG8QSdGvQ__",closeIcon:"__118S8x1rLfmWf2MmIVUwew__",desc:"__68JgxShGJzJ0cnl4D4MM9Q__",descNoPadding:"SjcGp_4fk9dT7tU30L6rzQ__",receiveModal:"DchSnfhuHJOvaz8a9dBpTA__",footer:"A3HWBSvt04AZFYgdfF9Ugg__",receiveBtn:"__3P_tVesdQbKu2mky2vHR8A__",btn:"JMeRgsSQUER7cZ2PYG5jTg__"}},873126:function(t){t.exports={_global_opacity_5:"BbvpZDhHxbZk_Qg7gU9Bgg__",_global_opacity_8:"__9bElBe1gNn8m_G7Ku5E1uQ__","ant-select":"qzyG_yO_PwucjeZNHzsN_w__","ant-select-customize-input":"Tr641kHleDY1lEJERpcg2A__","ant-select-selector":"yLGZXPSWae_DipBfJe2H2A__","ant-select-selection-search":"AfSk2hZKYjwIXS6SMOgNfQ__","ant-select-selection-search-input":"PfVLTRBEOmlDj9DXisGVnQ__","ant-select-selection-item":"jkJgsX68hssZaatAhslyrw__","ant-select-selection-placeholder":"uXFAkVGSoGJG1g5IP3s8_w__","ant-select-arrow":"bwXOPlUBcKDr2eCA99GE7g__","ant-select-focused":"DHw1orZkyE_si2enVLBHIQ__","ant-select-sm":"nNW_TvaNTHv6kgYR_47cgA__","ant-select-lg":"WPqrGehcGBb3t9xoT_Y1VA__","ant-select-dropdown":"g8vA1HKLoqCmrAoFvMvZ6w__","rc-virtual-list":"__6rYroVH7VIXB6CAPPUHfCg__","ant-select-item-empty":"ZXiPONqlDzza0yYXiCZPbw__","ant-empty":"c2OTiN_4FFqvPbN19cx_Ig__","ant-empty-image":"_aiVC2ZVGq4ltIDWjK_goA__","ant-empty-description":"BYIsAS2RYw61e0rwakPFQA__","ant-select-item-option":"__5HVmKkV59FMiPpZhGBHkuQ__","ant-select-item-option-selected":"EZUrTu5GSq9xMJv4dvGU8Q__","ant-select-item-option-state":"EluXJZuI34t4J9QA5qiUzg__","ant-select-item-option-active":"WyEGAkMC93Jd2RP878CXhg__","ant-spin-nested-loading":"_RmYNlnxWSLn0R8Wj_Hr2Q__","ant-spin-spinning":"OBj6BK0nzXtLV__uKapIOA__","ant-spin-dot":"CE_Q9LiAyZwQMgpUIr0E4A__","ant-spin-blur":"qczGOQB_Hplmzbck4mAL3g__",commonSpin:"_TlEz4lOYwQLFuAic__rfg__",list_wrap:"X23hvyO8IboXCinffr_E7Q__",box:"CIAksqDBwIfeP7pHJ2SYWA__",activity_img:"rO_qjmlcfyPJQMtINi8i9g__",activity_tag:"JgEQoqNO4f2HSy_jbowleA__",activity_tag1:"Y5gDLLN4tc3X9cyw23Yfpw__",activity_tag2:"mslP2m_0jRNwfmz3AVRUHg__",activity_tag3:"fRMiDU2MGZpVwpGuQtIelQ__",activity_tag4:"__4t5FUOSNfsmHXy4a2rhn5w__",activity_tag5:"YJInYEgz0AgXze85Asi6sw__",activity_tag6:"uKP1vwC5pDiiZvfYUfSRpA__",activity_tag7:"zhsCQtqO7P1LBHLbvP3HUA__",activity_tag8:"mLiKUYSJbx8ETkpVt8nyUQ__",activity_tag9:"ST8VZMexqJxtUKQF0VtAAA__",activity_tag10:"__0vBpr36NycrBJhpSM2zgpw__",btn_detail:"__18lG_4QKbGLIkfjdZeCz_Q__",empty:"HB6brqOSVO6GBeAcANWXlA__"}},689147:function(t){t.exports={_global_opacity_5:"_G6yDejd1G6GM2GPAHYKKg__",_global_opacity_8:"AA_XmD0k5ZCvEMONVn5Q5g__","ant-select":"rlrUSP6wVSxnoWgmuCNKKg__","ant-select-customize-input":"tSsRaxNxm3j3_wEBWCh7oA__","ant-select-selector":"AGIUA4_zo5i0ux2oDq
1wypw__","ant-select-selection-search":"imCLLOgnz8XIxyHwQ5pjjw__","ant-select-selection-search-input":"__1Ze0tKIxXnCuYGd7IqlgLQ__","ant-select-selection-item":"UhYxTL_fy2zH875YQCNmog__","ant-select-selection-placeholder":"SEHY5m_wqU22fLIckn6_lg__","ant-select-arrow":"OdLHeauHBbmMyphxeCfZog__","ant-select-focused":"Vs7R4fsIITXOT5U06kYkXQ__","ant-select-sm":"WDNDRE3DgMXn8wo8wELJDg__","ant-select-lg":"EipdANhQ9rIp_e0Y0gai_w__","ant-select-dropdown":"I8gZqBNMBwIdn1gn_0SSSA__","rc-virtual-list":"kxw4WOtXfDKC5icIRyKW2g__","ant-select-item-empty":"zrwyWzo8oUqCEwGnIxv2rQ__","ant-empty":"CcV9zhYVOUIcqaVA_Y4fQQ__","ant-empty-image":"HVVBhcqDPaI_Ww0k1AYygw__","ant-empty-description":"FsCYt8LQkY_UEHZjPEfbBw__","ant-select-item-option":"__883vrydSdPASlupwbcSBuA__","ant-select-item-option-selected":"qvFYSGbQQd0ivikdQGnRoQ__","ant-select-item-option-state":"o8eL8NRNEHQa0AQCm3j40g__","ant-select-item-option-active":"D38eoe0Tgb7gFUU93xt0cw__","ant-spin-nested-loading":"EhPoUytNkeOir_phc1KRPg__","ant-spin-spinning":"AXwoH7DhgHAsM984tlIn1A__","ant-spin-dot":"RcaaFZZhjPriFdwx1g1O_A__","ant-spin-blur":"obuktRW2vJ6JrBwnso8h8g__",commonSpin:"__2Vc06o9wMf4crZ85LrEwIg__",nav_wrap:"__1td_1aKa2gGnwHhgk1zITA__",navTitle:"m4Ss9nOIe9K4sziSB5xdjQ__",nav_warp_view:"NpJikblYaivTlrjc4ZoLXg__",line:"__3YTwTwK4fS_05XKbLntKBw__",nav_item_name:"q19f5ugR1iUJ2sJK_6Pd8w__",active:"qFx18OyuvUs8T0QiuobYbA__"}},667004:function(t){t.exports={_global_opacity_5:"oc7xaZT9JTZ8y1y4t6ayzw__",_global_opacity_8:"qGH818g0OVK4_4uh0ROv6g__","ant-select":"X38GcnCBRkBPjlNreCkFWA__","ant-select-customize-input":"t9l7u_rLy1whw2J1OcSQWA__","ant-select-selector":"peunzgWWkweQqwyba2LEcA__","ant-select-selection-search":"L0pnpos6dh6_NYlRl1AyCQ__","ant-select-selection-search-input":"x6bJBBcH8UV1_to6rlBRqg__","ant-select-selection-item":"KzneHCe3qpdifxqjSXoyjg__","ant-select-selection-placeholder":"__5lUsa_0969_TCM_lWxJ40g__","ant-select-arrow":"lX2NLu9eB4yD9xv6wwOTAA__","ant-select-focused":"__20moNhKIjVdI2acgvp3cLA__","ant-select-sm":"ko1aJdCOliwe6kNaW1MLJw__","ant-select-lg":"KoaUp4jErh0jhXmusfbVaQ__","ant-select-dropdown":"U8D33Un5XWBxWqWEJQI6Ww__","rc-virtual-list":"__0QiC9HOo31ot_uV6_m5SYw__","ant-select-item-empty":"YscGOvnlHcVpgYBKKJTmqA__","ant-empty":"__21m9V8_Svs1dEz2uLiL9Eg__","ant-empty-image":"tJHOaG7_Hq_8GuJHsK_YgA__","ant-empty-description":"aN6fxgPmvZfP01Xw_KKR8Q__","ant-select-item-option":"ad6AhqTIZ0R_TxIlpDooMA__","ant-select-item-option-selected":"__0wM4v_KgEdTsRviJ_RWIeQ__","ant-select-item-option-state":"VWE6E5ll3on4uEDBsrFFvw__","ant-select-item-option-active":"bsyzoUc97eE7tfKXGLMVaA__","ant-spin-nested-loading":"oQeiQ7G9WpeOwhgOUpYizw__","ant-spin-spinning":"b23R3vnf1A6joQNpb_2BOg__","ant-spin-dot":"Vi4BZKIf12Pzmnkosm1Zqg__","ant-spin-blur":"WpqyD4otPteXoUY8B9oQvQ__",commonSpin:"FeaqjyCxpN_J7hG1bggNDg__",container:"KqX4i97pI4MUHBHHUC_7Rg__"}},374942:function(t){t.exports={_global_opacity_5:"MMPIzhx6IT5peepEEWcVSA__",_global_opacity_8:"MkHt50Vg0Q2yZ2VtcZVvXQ__","ant-select":"dBhzgTh622nwahFD_tu5Dw__","ant-select-customize-input":"nbZ1Pwy1m5Cke9i5jYpA5Q__","ant-select-selector":"__0WPnYKCzdHhpgTUcSQxQ5w__","ant-select-selection-search":"__1EiUBL_V3kc95gfmfJQ3lg__","ant-select-selection-search-input":"WalcDnAp8J1jco__Bdf0Ag__","ant-select-selection-item":"yPlmXNnM8a9fhSMoS3hCEg__","ant-select-selection-placeholder":"NnhOI1LI9QB06I_u_4BP3Q__","ant-select-arrow":"JhUmljT_TlkfltZzf_9ftQ__","ant-select-focused":"YBfLPTxZRV8RrCf5E3XINQ__","ant-select-sm":"__4i6W_Ul9GWaYElYHpV2trg__","ant-select-lg":"BLSvrgo53BJbAI5d9NCrFQ__","ant-select-dropdown":"meo6ihcjKpxmqlrheLnldQ__","rc-virtual-list":"aE1hO_8SeEwhgNMYJsex9g__","ant-select-item-empty":"kHY4aDU2MayJQWwvif0_tg__","ant-empty":"pOqejiENLLDqWDCTVR651w__","ant-empty-image":"OSuIkeoT6D4_oBL1nEx8Cw__","ant-empty-description":"KSQSDPwhPb3yilOJ6HGTWw__","ant-select-item-option":"sYh7STs32E9GMIpNYxeS_A__","ant-select-item-option-selected":"pGUJfH8mpThmlM0ddfL7ww__","ant-select-item-option-state":"SaXJ22GgNe78Vgl77aG2_g__","ant-select-item-option-active":"rFk7UBr7RBzY0J60Drvj7Q__","ant-spin-nested-loading":"aKppifcYXzLnDn6A_bkLag__","ant-spin-spinning":"pQbPFEsdGykaUwtyhJSVSg__","ant-spin-dot":"kczw3fIr6AZmm0NYSYMocQ__","ant-spin-blur":"baWCOybP6UsLR_JsXdoZXg__",commonSpin:"iPwGTg1fNvSjQrF4hzu0rA__",preferentialActivity_container:"yjQAaujzuGPBBZAaOwRBsg__",activityBox:"__4AmadcvWH4DeI4rpt_NFSg__",bannerBoxSty:"ZCNQqT6p4RaFXye02ywvag__",topView:"Lh_d2G0Rg5yzGtFWDEDUlQ__",pinkIcon1:"tMf3Gvy6CxY9pZNsafMpeg__",pinkIcon2:"__0IeGpV3xvJPOuFvlJUYo_Q__",latest:"MfMiuKZ1foGtGvCYq5rkDQ__",daily:"__0mRJtL9W6bCiaQRLgQZUQA__","new-people":"HtcYhJaiYMtE0ny0oTBw_w__",vip:"__3JYFTmVqKXuUXVDJs0Dz3g__",mask:"b5BR28AGfZPaffaIZnpXSw__",preferentialActivity_content:"INpR_mNtwsU1gTBkJHXuVQ__",acitvity_list:"Kcq561tXDuciIksXQN4c6g__",loadMore:"E2pAxKZGp1GU7nipBt9r6A__"}},12653:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABlBMVEVMaXE/Pz9b0wSxAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAACVJREFUeJxjYBh0gJGRkXFUAQPZ4cCIA9BTAQKMxiYEUB4OAwIAby8AsSgETdMAAAAASUVORK5CYII="},380882:function(t){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABlBMVEX///9MaXG/fzaeAAAAAnRSTlPlAFWaypEAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAqSURBVHicY2AkABjoroCBgQFdZFQBCeHAgAPQUwECjMYmBFAeDpiADgoA2XoDUWKOTjEAAAAASUVORK5CYII="},685332:function(t){t.exports="/_next/static/chunks/images/recordDefaultIcon-7763563d70031d8c6c8c18cfca8a0c58.png"},677579:function(t){t.exports="/_next/static/chunks/images/recordDefaultIcon_night-e27bf64fbfa131cd70a30448071f88b1.png"},698130:function(t,e,n){"use strict";var i=n(667294),o=n(45697);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}
1function _(t,e){return _=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},_(t,e)}function u(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=l(t);if(e){var o=l(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return u(this,n)}}function p(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=String(t);if(0===e)return n;var i=n.match(/(.*?)([0-9]+)(.*)/),o=i?i[1]:"",a=i?i[3]:"",c=i?i[2]:n,s=c.length>=e?c:(p(Array(e)).map((function(){return"0"})).join("")+c).slice(-1*e);return"".concat(o).concat(s).concat(a)}var v={daysInHours:!1,zeroPadTime:2};function y(t,e){var n=t.days,i=t.hours,o=t.minutes,a=t.seconds,c=Object.assign(Object.assign({},v),e),s=c.daysInHours,r=c.zeroPadTime,l=c.zeroPadDays,_=void 0===l?r:l,u=Math.min(2,r),d=s?f(i+24*n,r):f(i,u);return{days:s?"":f(n,_),hours:d,minutes:f(o,u),seconds:f(a,u)}}var g=function(t){r(n,t);var e=d(n);function n(){var t;return a(this,n),(t=e.apply(this,arguments)).state={count:t.props.count||3},t.startCountdown=function(){t.interval=window.setInterval((function(){0===t.state.count-1?(t.stopCountdown(),t.props.onComplete&&t.props.onComplete()):t.setState((function(t){return{count:t.count-1}}))}),1e3)},t.stopCountdown=function(){clearInterval(t.interval)},t.addTime=function(e){t.stopCountdown(),t.setState((function(t){return{count:t.count+e}}),t.startCountdown)},t}return s(n,[{key:"componentDidMount",value:function(){this.startCountdown()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"render",value:function(){return this.props.children?(0,i.cloneElement)(this.props.children,{count:this.state.count}):null}}]),n}(i.Component);g.propTypes={count:o.number,children:o.element,onComplete:o.func};var h=function(t){r(n,t);var e=d(n);function n(t){var o;if(a(this,n),(o=e.call(this,t)).mounted=!1,o.initialTimestamp=o.calcOffsetStartTimestamp(),o.offsetStartTimestamp=o.props.autoStart?0:o.initialTimestamp,o.offsetTime=0,o.legacyMode=!1,o.legacyCountdownRef=(0,i.createRef)(),o.tick=function(){var t=o.calcTimeDelta(),e=t.completed&&!o.props.overtime?void 0:o.props.onTick;o.setTimeDeltaState(t,void 0,e)},o.start=function(){if(!o.isStarted()){var t=o.offsetStartTimestamp;o.offsetStartTimestamp=0,o.offsetTime+=t?o.calcOffsetStartTimestamp()-t:0;var e=o.calcTimeDelta();o.setTimeDeltaState(e,"STARTED",o.props.onStart),o.props.controlled||e.completed&&!o.props.overtime||(o.clearTimer(),o.interval=window.setInterval(o.tick,o.props.intervalDelay))}},o.pause=function(){o.isPaused()||(o.clearTimer(),o.offsetStartTimestamp=o.calcOffsetStartTimestamp(),o.setTimeDeltaState(o.state.timeDelta,"PAUSED",o.props.onPause))},o.stop=function(){o.isStopped()||(o.clearTimer(),o.offsetStartTimestamp=o.calcOffsetStartTimestamp(),o.offsetTime=o.offsetStartTimestamp-o.initialTimestamp,o.setTimeDeltaState(o.calcTimeDelta(),"STOPPED",o.props.onStop))},o.isStarted=function(){return o.isStatus("STARTED")},o.isPaused=function(){return o.isStatus("PAUSED")},o.isStopped=function(){return o.isStatus("STOPPED")},o.isCompleted=function(){return o.isStatus("COMPLETED")},o.handleOnComplete=function(t){o.props.onComplete&&o.props.onComplete(t)},t.date){var c=o.calcTimeDelta();
1o.state={timeDelta:c,status:c.completed?"COMPLETED":"STOPPED"}}else o.legacyMode=!0;return o}return s(n,[{key:"componentDidMount",value:function(){this.legacyMode||(this.mounted=!0,this.props.onMount&&this.props.onMount(this.calcTimeDelta()),this.props.autoStart&&this.start())}},{key:"componentDidUpdate",value:function(t){this.legacyMode||this.props.date!==t.date&&(this.initialTimestamp=this.calcOffsetStartTimestamp(),this.offsetStartTimestamp=this.initialTimestamp,this.offsetTime=0,this.setTimeDeltaState(this.calcTimeDelta()))}},{key:"componentWillUnmount",value:function(){this.legacyMode||(this.mounted=!1,this.clearTimer())}},{key:"calcTimeDelta",value:function(){var t=this.props,e=t.date,n=t.now,i=t.precision,o=t.controlled,a=t.overtime;return function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.now,o=void 0===i?Date.now:i,a=n.precision,c=void 0===a?0:a,s=n.controlled,r=n.offsetTime,l=void 0===r?0:r,_=n.overtime;e="string"===typeof t?new Date(t).getTime():t instanceof Date?t.getTime():t,s||(e+=l);var u=s?e:e-o(),d=Math.min(20,Math.max(0,c)),p=Math.round(1e3*parseFloat(((_?u:Math.max(0,u))/1e3).toFixed(d))),m=Math.abs(p)/1e3;return{total:p,days:Math.floor(m/86400),hours:Math.floor(m/3600%24),minutes:Math.floor(m/60%60),seconds:Math.floor(m%60),milliseconds:Number((m%1*1e3).toFixed()),completed:p<=0}}(e,{now:n,precision:i,controlled:o,offsetTime:this.offsetTime,overtime:a})}},{key:"calcOffsetStartTimestamp",value:function(){return Date.now()}},{key:"addTime",value:function(t){this.legacyCountdownRef.current.addTime(t)}},{key:"clearTimer",value:function(){window.clearInterval(this.interval)}},{key:"isStatus",value:function(t){return this.state.status===t}},{key:"setTimeDeltaState",value:function(t,e,n){var i=this;if(this.mounted){var o;!this.state.timeDelta.completed&&t.completed&&(this.props.overtime||this.clearTimer(),o=this.handleOnComplete);return this.setState((function(n){var o=e||n.status;return t.completed&&!i.props.overtime?o="COMPLETED":e||"COMPLETED"!==o||(o="STOPPED"),{timeDelta:t,status:o}}),(function(){n&&n(i.state.timeDelta),o&&o(i.state.timeDelta)}))}}},{key:"getApi",value:function(){return this.api=this.api||{start:this.start,pause:this.pause,stop:this.stop,isStarted:this.isStarted,isPaused:this.isPaused,isStopped:this.isStopped,isCompleted:this.isCompleted}}},{key:"getRenderProps",value:function(){var t=this.props,e=t.daysInHours,n=t.zeroPadTime,i=t.zeroPadDays,o=this.state.timeDelta;return Object.assign(Object.assign({},o),{api:this.getApi(),props:this.props,formatted:y(o,{daysInHours:e,zeroPadTime:n,zeroPadDays:i})})}},{key:"render",value:function(){if(this.legacyMode){var t=this.props,e=t.count,n=t.children,o=t.onComplete;return(0,i.createElement)(g,{ref:this.legacyCountdownRef,count:e,onComplete:o},n)}var a=this.props,c=a.className,s=a.overtime,r=a.children,l=a.renderer,_=this.getRenderProps();if(l)return l(_);if(r&&this.state.timeDelta.completed&&!s)return(0,i.cloneElement)(r,{countdown:_});var u=_.formatted,d=u.days,p=u.hours,m=u.minutes,f=u.seconds;return(0,i.createElement)("span",{className:c},_.total<0?"-":"",d,d?":":"",p,":",m,":",f)}}]),n}(i.Component);h.defaultProps=Object.assign(Object.assign({},v),{controlled:!1,intervalDelay:1e3,precision:0,autoStart:!0}),h.propTypes={date:(0,o.oneOfType)([(0,o.instanceOf)(Date),o.string,o.number]),daysInHours:o.bool,zeroPadTime:o.number,zeroPadDays:o.number,controlled:o.bool,intervalDelay:o.number,precision:o.number,autoStart:o.bool,overtime:o.bool,className:o.string,children:o.element,renderer:o.func,now:o.func,onMount:o.func,onStart:o.func,onPause:o.func,onStop:o.func,onTick:o.func,onComplete:o.func},e.ZP=h},433865:function(t,e,n){var i={"./Union.png":12653,"./Union_night.png":380882};function o(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=a,t.exports=o,o.id=433865},724089:function(t,e,n){var i={"./recordDefaultIcon.png":685332,"./recordDefaultIcon_night.png":677579};function o(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=a,t.exports=o,o.id=724089}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[69586,53211,70547,28343,51169,50115,69677,90939,34296,10462,22917,47637,6254,87643,53637,27929,13073,3
10996,41713,277,5879,96381,74147,92888,40179],(function(){return e(233505),e(895041)}));var n=t.O();_N_E=n}]);
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.