PageSourceSearch

https://bcgame2.com/assets/Main-BBHR3n9S.js

js bcgame2.com collected 2026-09-30 21:08:45 UTC 23,499 bytes, 1 lines download raw bytes

1var Te=Object.defineProperty,De=Object.defineProperties;var Ee=Object.getOwnPropertyDescriptors;var ne=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable;var re=(a,e,n)=>e in a?Te(a,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[e]=n,q=(a,e)=>{for(var n in e||(e={}))je.call(e,n)&&re(a,n,e[n]);if(ne)for(var n of ne(e))Me.call(e,n)&&re(a,n,e[n]);return a},Z=(a,e)=>De(a,Ee(e));var K=(a,e,n)=>new Promise((l,s)=>{var c=u=>{try{o(n.next(u))}catch(f){s(f)}},p=u=>{try{o(n.throw(u))}catch(f){s(f)}},o=u=>u.done?l(u.value):Promise.resolve(u.value).then(c,p);o((n=n.apply(a,e)).next())});import{k as me,l as ge,t as m,o as r,f as t,bw as Ne,ap as Pe,S as $,a7 as B,n as w,G as fe,aF as A,N as F,c3 as ze,O as y,j as V,p as S,q as he,b5 as Re,bO as He,bm as Ue,D as Ae,e as j,aD as Fe,P as pe,aG as be,u as O,J as P,Y as N,g as Q,A as $e,a5 as Oe,cH as Be,b as Ve,X as ae,W as G,ae as qe,a as ve,ag as M,a0 as z,aQ as ye,ax as Ze,U as se,aL as le,bY as Je,aP as ie,ao as Ce,av as xe,b4 as Ge,aC as Ke,bd as J,bb as W}from"./index-D5gHkNn-.js";import{f as b,av as i,aw as _e,a9 as We,ax as Y,ay as Ye,az as Xe,aA as Qe,aB as ke,aC as et,aD as tt,aE as nt,aF as we,aG as rt}from"./index-CgokGjYA.js";import{I as at,a as st,b as lt,c as it,d as ot,e as ct,f as ut}from"./compact-O2o02qAc.js";import{I as dt}from"./IconEmojisports-BEJx1X2U.js";import{I as mt}from"./IconHistory-Dbq-GV7m.js";import{u as ee}from"./unescape-CusXsNqe.js";import{I as Le}from"./IconDelete-BFkTYLDO.js";import{c as oe}from"./cloneDeep-Bvix564P.js";import{C as gt}from"./ContentTrack-CbEI3md9.js";import"./toString-DalSYDCT.js";import"./_arrayMap-YS0pntYB.js";import"./isArray-nZdZwHOM.js";import"./_basePropertyOf-CprA8Whv.js";import"./_baseClone-B46dvzUj.js";import"./_Uint8Array-BppLmJZG.js";import"./keys-viFk6_Ky.js";import"./_getAllKeysIn-vGLz4xyq.js";import"./_baseAssignValue-o_ri7SY9.js";import"./_defineProperty-BmxFgRtx.js";import"./_copyArray-C6Z5pD25.js";(function(){try{var a=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};a.SENTRY_RELEASE={id:"8c3b9aa2b95acaad15d7da0cf7f36f5b8cfcd6d1"},a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[new a.Error().stack]=(function(e){for(var n=1;n<arguments.length;n++){var l=arguments[n];if(l!=null)for(var s in l)l.hasOwnProperty(s)&&(e[s]=l[s])}return e})({},a._sentryModuleMetadata[new a.Error().stack],{"_sentryBundlerPluginAppKey:playsmart-ai":!0})}catch(e){}})();var ft=m('<svg viewBox="0 0 32 32"><path d="M9.48133 20.4094L4.41019 14.8051C4.2735 14.6494 4.19824 14.4503 4.19824 14.2442C4.19824 14.0381 4.2735 13.839 4.41019 13.6833L5.43471 12.5631C5.49831 12.4905 5.57697 12.4323 5.66536 12.3924C5.75375 12.3525 5.84979 12.3318 5.94697 12.3318C6.04416 12.3318 6.1402 12.3525 6.22859 12.3924C6.31697 12.4323 6.39564 12.4905 6.45924 12.5631L9.99609 16.4862L17.8386 8.08086C17.9022 8.00828 17.9809 7.95006 18.0692 7.91016C18.1576 7.87026 18.2537 7.84961 18.3509 7.84961C18.448 7.84961 18.5441 7.87026 18.6325 7.91016C18.7209 7.95006 18.7995 8.00828 18.8631 8.08086L19.9992 8.96168C20.1356 9.11683 20.2108 9.31544 20.2108 9.52095C20.2108 9.72647 20.1356 9.92508 19.9992 10.0802L10.5059 20.4094C10.4423 20.4819 10.3636 20.5402 10.2752 20.5801C10.1868 20.62 10.0908 20.6406 9.99359 20.6406C9.89641 20.6406 9.80037 20.62 9.71198 20.5801C9.62359 20.5402 9.54493 20.4819 9.48133 20.4094ZM14.7192 18.8819L17.3254 21.7697C17.6077 22.078 18.0677 22.078 18.35 21.7697L28.1075 11.7595C28.244 11.6044 28.3191 11.4058 28.3191 11.2002C28.3191 10.9947 28.244 10.7961 28.1075 10.641L27.083 9.67258C27.0194 9.6 26.9408 9.54179 26.8524 9.50189C26.764 9.46199 26.6679 9.44133 26.5708 9.44133C26.4736 9.44133 26.3775 9.46199 26.2891 9.50189C26.2008 9.54179 26.1221 9.6 26.0585 9.67258L17.8385 17.8449L16.8505 16.7493L14.7192 18.8802V18.8819Z">');const ht=a=>{const e=me(a);return(()=>{var n=ft();return ge(n,e,!0,!0),n})()};var pt=m('<svg viewBox="0 0 32 32"><path d="M8.26264 25.6916H7.9746C6.93341 25.6916 6.08105 24.8421 6.08105 23.8046V15.3942C6.08105 14.3567 6.93341 13.5073 7.9746 13.5073H8.262
164C9.30383 13.5073 10.1562 14.3567 10.1562 15.3942V23.8024C10.1584 24.8421 9.30604 25.6923 8.26264 25.6923V25.6916ZM21.7629 25.9186H21.7335C20.8327 25.9091 19.9296 25.9091 19.0258 25.9091H17.6481C16.7281 25.9091 15.8074 25.9091 14.8853 25.8973C14.3746 25.8826 13.8705 25.7768 13.3959 25.5835C12.5898 25.2698 12.1291 24.5703 12.132 23.6599L12.1342 20.2475C12.1342 18.3584 12.1342 16.4663 12.1511 14.5764C12.1533 14.0621 12.4855 13.5801 12.7691 13.3266C13.8661 12.3272 15.058 11.0825 15.5561 9.40279C15.6943 8.93473 15.7472 8.41817 15.803 7.87296C15.9147 6.78694 16.6216 6.08008 17.5658 6.08008C17.9361 6.08008 18.3072 6.19103 18.6702 6.40559C19.3991 6.84205 19.8855 7.52761 20.1544 8.50488C20.5858 10.0567 20.3653 11.5623 20.1228 12.8534V12.8585C20.067 13.1605 20.2948 13.4404 20.6049 13.4404H23.7527C24.295 13.4404 25.0724 13.508 25.5522 14.0871C25.9012 14.5096 26.0004 15.079 25.8527 15.8322C25.4023 18.1468 24.8505 20.4797 24.3222 22.6547C24.1576 23.3329 23.8842 23.9604 23.6197 24.5681L23.5058 24.8289C23.2053 25.5336 22.5859 25.9201 21.7622 25.9201L21.7629 25.9186Z">');const bt=a=>{const e=me(a);return(()=>{var n=pt();return ge(n,e,!0,!0),n})()};var $t=m('<section class="flex items-center gap-1 sm:cursor-pointer"><label class="text-sm font-semibold text-brand sm:cursor-pointer">'),vt=m('<div class="sticky bottom-0 left-0 flex w-full items-center justify-between bg-layer4 p-4"style="box-shadow:0px -8px 20px 0px rgba(0, 0, 0, 0.14)"><section class="flex items-center gap-1"><label class="text-sm font-semibold text-primary">');const yt=function(){return(()=>{var e=vt(),n=e.firstChild,l=n.firstChild;return r(l,()=>b("Show unread")),r(n,t(Ne,{size:"small",get value(){return i.state.showUnread},get onChange(){return i.switchUnreadStatus}}),null),r(e,t($,{get when(){return _e(i.state.unreadCount)>0},get children(){var s=$t(),c=s.firstChild;return Pe(s,"click",i.readAll,!0),r(s,t(ht,{class:"size-5 fill-brand"}),c),r(c,()=>b("mark all as read")),s}}),null),e})()};B(["click"]);
1var Ct=m('<div class="flex flex-wrap justify-between pb-6"><div class=flex-1>'),xt=m('<div><div class="absolute bottom-0 flex h-9 justify-between rounded-md bg-layer5 leading-10">'),_t=m('<div class="h-9 w-9 cursor-pointer text-center text-2xl leading-8">');const kt=JSON.parse('{"people":["😀","😃","😄","😁","😆","😅","😂","🤣","😊","😇","🙂","🙃","😉","😌","😍","😘","😗","😙","😚","😋","😛","😝","😜","🤪","🤨","🧐","🤓","😎","🤩","😏","😒","😞","😔","😟","😕","🙁","😣","😖","😫","😩","😢","😭","😤","😠","😡","🤬","🤯","😳","😱","😨","😰","😥","😓","🤗","🤔","🤭","🤫","🤥","😶","😐","😑","😬","🙄","😯","😦","😧","😮","😲","😴","🤤","😪","😵","🤐","🤢","🤮","🤧","😷","🤒","🤕","🤑","🤠","😈","👿","👹","👺","🤡","💩","👻","💀","👽","👾","🤖","🎃","😺","😸","😹","😻","😼","😽","🙀","😿","😾"],"gesture":["🤲","👐","🙌","👏","🤝","👍","👎","👊","✊","🤛","🤜","🤞","🤟","🤘","👌","👈","👉","👆","👇","✋","🤚","🖖","👋","🤙","💪","🖕","🙏"],"nature":["🐶","🐱","🐭","🐹","🐰","🦊","🐻","🐼","🐨","🐯","🦁","🐮","🐷","🐽","🐸","🐵","🙈","🙉","🙊","🐒","🐔","🐳","🐋","🦈","🐊","💧","💦","☔","🌞","🌈","🌙"],"food":["🍏","🍎","🍐","🍊","🍋","🍌","🍉","🍇","🍓","🍈","🍒","🥐","🍞"],"activity":["⚽","🏀","🏈","⚾","🎾","🏐","🏉","🎱","🏓","🏸","🥅","🏒","🎳","🎮","🎰"],"symbols":["🧡","💔","🔞","📵","🚭","❗","❓","💤","🏧","🚾","🕐","🌹","🏴","🏁","🚩","☠"]}');function wt(){return Object.entries({history:mt,people:ot,gesture:it,activity:dt,nature:lt,food:st,symbols:at})}let E=Object.assign({history:[]},kt),ce=localStorage.getItem("emojiHistory");ce&&(E.history=ct(ce.split(",")));const Lt=a=>{const[e,n]=w("people"),[l,s]=w(E[e()]);fe(()=>{s(E[e()])});const c=o=>{let u=E.history.filter(f=>f!==o);E.history.length<60&&u.unshift(o),E.history=u,localStorage.setItem("emojiHistory",E.history.join(",")),a.onChange(o)},p=(o,u)=>{n(o),u.stopPropagation()};return(()=>{var o=xt(),u=o.firstChild,f=a.ref;return typeof f=="function"?A(f,o):a.ref=o,r(o,t(ze,{class:"h-full w-full",get children(){var v=Ct(),d=v.firstChild;return r(v,t(F,{get each(){return l()},children:g=>(()=>{var h=_t();return h.$$click=()=>c(g),r(h,g),h})()}),d),v}}),u),r(u,t(F,{get each(){return wt()},children:([v,d])=>t(y,{class:"center size-9 !p-0",onClick:g=>p(v,g),get children(){return t(d,{get class(){return V("size-5",e()===v?"fill-primary":"fill-quarterary")}})}})})),S(()=>he(o,`h-52 w-64 ${a.class||""}`)),o})()};B(["click"]);var It=m("<div class=relative>");function St(a){let e;const[n,l]=w(!1);function s(c){a.onChange(c),l(!1)}return(()=>{var c=It();return A(p=>Re(()=>p,()=>l(!1)),c),r(c,t(y,{ref(p){var o=e;typeof o=="function"?o(p):e=p},class:"!center size-8 !p-0 text-secondary",onClick:()=>l(!n()),get children(){return t(ut,{class:"size-6"})}}),null),r(c,t(He,{name:"fadeZoom",get children(){return t(Ue,{get when(){return n()},get children(){return t(Ae,{get component(){return a.layer},onChange:s,get class(){return V("absolute bottom-full z-10 h-36 rounded bg-layer2 pb-6 shadow-sm",j.mobile?"right-0":"left-0")}})}})}}),null),c})()}var Tt=m('<span class="absolute text-sm font-semibold text-brand left-4 top-4">@ '),Dt=m("<div>"),Et=m('<div class="relative mt-2"><textarea class="w-full rounded-xl border bg-layer3 p-4 text-primary h-36 resize-none border-third focus:outline-none focus:ring-1 focus:ring-brand"placeholder="Add a comment"rows=3 maxlength=500>'),jt=m('<div class="flex w-full items-center justify-between px-4"><span>'),Mt=m("<div class=text-center>");function Nt(a){const[e,n]=w(""),[l,s]=w(a.item.userName),[c,p]=w(a.item.userName?"60px":"");let o,u;Fe(()=>o,({width:d},g)=>{g===o&&p(`${o.offsetWidth+8}px`)});const f=d=>{if(!e()){N(b("Comment content is required"));return}
1Q().post("/comment/reply/add/",{commentId:d.commentId,content:e(),replyId:d.id,replyUserId:l()?d.userId:0}).then(g=>{N(b("Success"))}).catch(g=>N.error(g.message)).finally(()=>{P.pop()})},v=d=>{const g=d+" ";u&&(u.setRangeText(g),n(u.value),u.focus(),u.selectionStart=u.selectionEnd=(u.selectionStart||0)+g.length)};return t(pe,{get title(){return O(()=>!!j.mobile)()?(()=>{var d=jt(),g=d.firstChild;return r(d,t(y,{class:"text-brand",onClick:()=>{P.pop()},get children(){return b("Cancel")}}),g),r(g,()=>a.title),r(d,t(y,{type:"brand",class:"h-8",onClick:()=>f(a.item),get children(){return b("Post")}}),null),d})():(()=>{var d=Mt();return r(d,()=>a.title),d})()},get close(){return!j.mobile},get children(){var d=Et(),g=d.firstChild;return g.$$keydown=h=>{h.key==="Backspace"&&e()===""&&(s(""),p("0"))},g.$$input=h=>{n(h.target.value)},A(h=>u=h,g),r(d,t($,{get when(){return l()},get children(){var h=Tt();return h.firstChild,A(L=>o=L,h),r(h,l,null),h}}),null),r(d,t($,{get when(){return!j.mobile},get children(){var h=Dt();return r(h,t(St,{layer:Lt,onChange:v}),null),r(h,t(y,{type:"brand",class:"w-40",onClick:()=>f(a.item),get children(){return b("Post")}}),null),S(()=>he(h,V("mt-2 flex items-center",j.mobile?"justify-end":"justify-between"))),h}}),null),S(h=>be(g,"text-indent",c())),S(()=>g.value=e()),d}})}B(["input","keydown"]);var Pt=m('<div class="text-base font-semibold text-primary"><span class="whitespace-pre-line break-all">'),zt=m('<span class="text-base font-semibold text-primary whitespace-pre-line break-all">');function Rt({content:a}){const e=Ht(a);let n;if(e.length>1){const l=e[0].args[0]||0,s=e[0].args[1]||"";n=(()=>{var c=Pt(),p=c.firstChild;return r(c,t($e,{href:`#/user/profile/${l}`,get children(){return["@",s]}}),p),r(p,()=>ee(e[1])),c})()}else n=(()=>{var l=zt();return r(l,()=>ee(e[0])),l})();return[n," "]}function Ht(a){const e=/(\[\w+=.+?\])/,n=/(\[(\w+=.+?)\])/;let l=[];return ee(a).split(e).forEach(c=>{if(c==="")return;let p=c.match(n);if(p){let[o,u]=p[2].split("="),f=u.split(","),v={type:o,args:f};l.push(v)}else l.push(c)}),l}function Ut(a,e){const n=e.getTime()-a;return n<=60*1e3?"now":n<3600*1e3?Math.round(n/6e4)+" m":n<1440*60*1e3?Math.round(n/36e5)+" h":n<365*24*60*60*1e3?Math.round(n/864e5)+" d":Math.round(n/31536e6)+" y"}var At=m('<span class="ml-2 inline-block size-2.5 rounded-full bg-brand">'),Ft=m('<div class="comment-notice-item mb-3 rounded-xl bg-layer4 px-3 pb-3 pt-4"><div class="flex gap-3"><img class="h-9 w-9 rounded-full"alt="user avatar"><div class=flex-1><div class="user-info-title flex gap-1"><span></span></div><p class="text-sm font-semibold text-tertiary"></p><p class="text-sm font-semibold text-tertiary"></p><div class=mt-2></div></div><div class="h-28 w-20 flex-none cursor-pointer"><img alt=game-icon class=rounded-lg></div></div><div class="cni-footer mt-2 flex h-6 gap-5 ps-12">'),Ot=m("<span>");const Ie=function(e){let n=-1;const l=Oe(),s=o=>{if(n<0){n=1;let u,f=!1;u={contentId:o.id,contentType:2},o.isLike&&(f=!0),Q().post(`/comment/like/${f?"undo":"do"}/`,u).then(()=>{let v=f?-1:1;const d=i.state.commentData.list.findIndex(g=>g.id===e.id);if(d>=0){const g=oe(i.state.commentData);g.list[d].isLike+=v,g.list[d].likeCount+=v,i.setState({commentData:g})}Y(f?"unlike":"like")}).catch(N).finally(()=>n=-1)}},c=o=>K(null,null,function*(){ve.login||l("/login/signin"),P.push(()=>t(Nt,{get title(){return`${b("Reply to")} ${o.userName}`},item:o}),{close:!1}),Y("reply")}),p=o=>{o.readStatus!==1&&n<0&&(n=1,Q().get(`/comment/reply/read/${o.id}/`).then(()=>{const u=i.state.commentData.list.findIndex(f=>f.id===e.id);if(u>=0){const f=oe(i.state.commentData);f.list[u].readStatus=1,i.setState({commentData:f,unreadCount:Z(q({},i.state.unreadCount),{comment:Ye(i.state.unreadCount.comment-1)})}),qe("redDot","systemNotice",_e(i.state.unreadCount))}}).catch(N).finally(()=>n=-1))};return(()=>{var o=Ft(),u=o.firstChild,f=u.firstChild,v=f.nextSibling,d=v.firstChild,g=d.firstChild,h=d.nextSibling,L=h.nextSibling,R=L.nextSibling,C=v.nextSibling,T=C.firstChild,H=u.nextSibling;return o.$$click=()=>p(e),r(g,()=>
1e.userName),r(d,t(Be,{class:"user-title",get code(){return e.titles||[]},get desc(){return e.titleDesc||[]}}),null),r(h,()=>b("Replied to your comment")),r(L,()=>Ut(e.updateTime,j.serverTime),null),r(L,t($,{get when(){return e.readStatus===0},get children(){return At()}}),null),R.$$click=()=>{Ve.emit("openCommentReply",{commentId:e.commentId,gameUnique:e.gameUnique})},r(R,t(Rt,{get content(){return e.content}})),C.$$click=()=>l(`/game/${e.gameUnique}`),r(H,t(y,{get class(){return V("h-6 p-0",!!e.isLike&&"like")},onClick:()=>s(e),get children(){return[t(bt,{class:"size-5 fill-secondary"}),O(()=>O(()=>e.likeCount>0)()&&(()=>{var x=Ot();return r(x,()=>e.likeCount),x})())]}}),null),r(H,t(y,{class:"h-6 p-0",onClick:()=>c(e),get children(){return t(We,{class:"size-5 fill-secondary"})}}),null),r(H,t(y,{class:"ms-auto h-6 p-0",onClick:x=>{x.stopPropagation(),i.deleteCommentItem(e.id),Y("delete")},get children(){return t(Le,{class:"size-5 fill-secondary"})}}),null),S(x=>{var I=ae.avatar(e.userId),U=ae.img2(e.thumbnail);return I!==x.e&&G(f,"src",x.e=I),U!==x.t&&G(T,"src",x.t=U),x},{e:void 0,t:void 0}),o})()};B(["click"]);var Bt=m('<div class="my-4 flex justify-center text-base font-semibold text-primary">'),Vt=m("<span>");const ue=function(){const e=M(()=>i.state.commentData.list.filter(n=>!!i.state.unreadCommentList.find(l=>l.id===n.id)));return t($,{get when(){return e().length>0},get children(){return t(F,{get each(){return e()},children:n=>t(Ie,n)})}})},de=function(){const e=M(()=>i.state.commentData.totalPage===0||i.state.commentData.page===i.state.commentData.totalPage),n=M(()=>i.state.commentData.list.filter(s=>!i.state.unreadCommentList.find(c=>c.id===s.id))),l=()=>{ve.login&&(i.setState("commentMoreLoading",!0),Xe(i.state.commentData.page+1).then(s=>{const p=[...i.state.commentData.list].concat(s.list||[]),o=s.list.filter(u=>u.readStatus===0);i.setState({commentData:Z(q({},s),{list:p}),unreadCommentList:i.state.unreadCommentList.concat(o),unreadCount:Z(q({},i.state.unreadCount),{comment:Number(s.extra||"0")})})}).catch(N).finally(()=>{i.setState("commentMoreLoading",!1)}))};return[t($,{get when(){return n().length>0},get children(){return t(F,{get each(){return n()},children:s=>t(Ie,s)})}}),t($,{get when(){return!e()},get children(){var s=Bt();return r(s,t($,{get when(){return i.state.commentMoreLoading},get fallback(){return t(y,{class:"flex items-center gap-1",onClick:l,get children(){return[(()=>{var c=Vt();return r(c,()=>b("Load More")),c})(),t(ye,{class:"size-4 rotate-180"})]}})},get children(){return t(z,{})}})),s}})]};var qt=m('<p class="mt-4 text-center text-secondary">'),Zt=m('<div class="mt-8 flex w-full items-center justify-between gap-3">');function Jt(a){const e=()=>K(null,null,function*(){i.deleteNoticeItem(a.afficheId,a.deleteType),P.pop(),Qe(a.deleteType)});return t(pe,{get title(){return b("Confirm")},get children(){return[(()=>{var n=qt();return r(n,()=>b("Are you sure to delete this notice?")),n})(),(()=>{var n=Zt();return r(n,t(y,{type:"second",class:"h-12 flex-1 text-lg font-extrabold text-primary",onClick:()=>P.pop(),get children(){return b("Cancel")}}),null),r(n,t(y,{type:"brand",class:"h-12 flex-1 text-lg font-extrabold text-primary_brand",onClick:e,get children(){return b("Confirm")}}),null),n})()]}})}const Gt="/assets/top-drak-DlgididH.png",Kt="/assets/top-light-Bo57KVJd.png";var Wt=m('<span class="pointer-events-none absolute inset-0">'),Yt=m('<div class=mb-3><p></p><img class="absolute right-0 top-0 w-15"alt=image>'),Xt=m('<div class="ml-2 size-2.5 rounded-full bg-brand">'),Qt=m("<span>"),en=m('<div class="relative mb-3 rounded-lg bg-layer4 px-3 py-2"><div class="flex items-center text-secondary"><div></div></div><div class="mt-2 text-base font-extrabold"></div><div class="relative overflow-hidden"></div><div class="h-13 mt-2 flex items-center">'),tn=m('<img class="my-2 min-h-8"alt=image>'),nn=m('<div class="my-2 whitespace-pre-wrap text-secondary">');const rn=function(e){const n=M(()=>ke.includes(e.type)),[l,s]=w(!1),[c,p]=w(!0),[o,u]=w(""),[f,v]=w(""),[d,g]=w(e.isRead===0),h=M(()=>{var C;return(C=e.contentV3)==null?void 0:C[0]});let L=null;Ze(()=>{if(L){const C=j.remScale*L.offsetHeight;n()&&C>220&&(ie(()=>{}),p(!1),s(!0))}});const R=()=>{d()&&(i.readNoticeItem(e.afficheId,e.type),g(!1))};return t($,{get when(){return h()},get children(){var C=en(),T=C.firstChild,H=T.firstChild,x=T.nextSibling,I=x.nextSibling,U=I.nextSibling;return C.$$click=R,r(C,t(gt,{showEvent:et,showData:()=>tt(e.type),get children(){return Wt()}}),T),r(C,t($,{get when(){return e.isTop===1},get children(){var _=Yt(),k=_.firstChild,D=k.nextSibling;return r(k,()=>b("Exclusive Notification")),S(()=>G(D,"src",se.darken?Gt:Kt)),_}}),T),r(H,()=>
1new Date(e.createTime).toLocaleString()),r(T,t($,{get when(){return d()},get children(){return Xt()}}),null),r(x,()=>le(h().title)),A(_=>L=_,I),r(I,t(Je,{get each(){return h().content},children:_=>{const k=_();if(k.contentType===3)return(()=>{var D=tn();return S(()=>G(D,"src",`${k.content}?width=640`)),D})();if(k.contentType===1)return(()=>{var D=nn();return r(D,()=>le(k.content)),D})();k.contentType===2&&ie(()=>{u(k.content),v(k.desc)})}}),null),r(I,t($,{get when(){return l()},get children(){return t(y,{onClick:()=>p(_=>!_),class:"center absolute bottom-1 right-0 ml-auto h-8 rounded-md",get style(){return{background:se.darken?"rgba(58,65,66, 0.8)":"rgba(240,242,242, 0.8)"}},get children(){return[(()=>{var _=Qt();return r(_,(()=>{var k=O(()=>!!c());return()=>k()?b("Hide"):b("Show all")})()),_})(),t(ye,{get class(){return V("ml-1 size-6",c()?"rotate-90":"-rotate-90")}})]}})}}),null),r(U,t($,{get when(){return o()},get children(){return t($e,{class:"block",get href(){return o()},target:"_blank",onClick:R,get children(){return t(y,{type:"second",class:"button-brightBg h-10 bg-[#f2f2f2] px-5 text-brand dark:bg-[#464f50]",get children(){return f()||b("View More")}})}})}}),null),r(U,t(y,{onClick:()=>{P.push(()=>t(Jt,{get afficheId(){return e.afficheId},get deleteType(){return e.type}}))},class:"ml-auto text-secondary",get children(){return t(Le,{class:"size-6"})}}),null),S(_=>be(I,"max-height",c()?void 0:"200px")),C}})};B(["click"]);var an=m('<div class="center h-full flex-1">');const te=function(e){return t(xe,{get fallback(){return(()=>{var n=an();return r(n,t(z,{class:"mt-15"})),n})()},get children(){return t(F,{get each(){return e.list},get fallback(){return t(Ce,{get children(){return e.empty}})},children:n=>t(rn,n)})}})};var Se=m('<div class="center absolute bottom-0 left-0 right-0 top-0 flex">');const sn=function(){return t($,{get when(){return!i.state.httpLoading},get fallback(){return(()=>{var e=Se();return r(e,t(z,{})),e})()},get children(){return t(te,{get list(){return i.state.noticeList.filter(e=>ke.includes(e.type))}})}})},ln=function(){return t($,{get when(){return!i.state.httpLoading},get fallback(){return(()=>{var e=Se();return r(e,t(z,{})),e})()},get children(){return t(te,{get list(){return i.state.noticeList.filter(e=>e.type===nt)},get empty(){return b("Only the last 10 days of records are displayed.")}})}})},on=function(){const e=M(()=>i.state.noticeList.filter(n=>n.type===we));return t($,{get when(){return e().length>0},get children(){return t(te,{get list(){return e()}})}})};var cn=m('<div class="min-h-[100vh] px-4"><div class="sticky top-0 z-10 h-0"><div class="h-18 bg-layer2 sm:bg-layer1 dark:bg-layer2 sm:dark:bg-layer3">'),X=m('<div class="flex items-center justify-center gap-1"><span>'),un=m('<div class="center absolute bottom-0 left-0 right-0 top-0 flex">');const jn=function(){const e=Ge();fe(()=>{e()&&Ke(()=>i.initFn(!0))});const n=M(()=>i.state.noticeList.filter(l=>l.type===we));return[(()=>{var l=cn();return l.firstChild,r(l,t($,{get when(){return!0},get fallback(){return t(xe,{get fallback(){return t(z,{class:"absolute left-1/2 top-1/2"})},get children(){return[t(ue,{}),t(de,{})]}})},get children(){return t(J,{onChange:s=>{i.setState("currentType",s),rt(s)},get value(){return i.state.currentType},class:"sticky top-4 z-10 mt-4 rounded-xl",get children(){return[t(J.TabItem,{class:"mt-4 bg-transparent",get title(){return(()=>{var s=X(),c=s.firstChild;return r(c,()=>b("Promotions")),r(s,t(W,{get value(){return i.state.unreadCount.promotion}}),null),s})()},get children(){return t(sn,{})}}),t(J.TabItem,{class:"mt-4 bg-transparent",get title(){return(()=>{var s=X(),c=s.firstChild;return r(c,()=>b("Transactions")),r(s,t(W,{get value(){return i.state.unreadCount.transaction}}),null),s})()},get children(){return t(ln,{})}}),t(J.TabItem,{class:"mt-4 bg-transparent",get title(){return(()=>{var s=X(),c=s.firstChild;return r(c,()=>b("System")),r(s,t(W,{get value(){return i.state.unreadCount.system+i.state.unreadCount.comment}}),null),s})()},get children(){return t($,{get when(){return!i.state.httpLoading},get fallback(){return(()=>
1{var s=un();return r(s,t(z,{})),s})()},get children(){return t($,{get when(){return O(()=>n().length<=0)()&&i.state.commentData.list.length<=0},get fallback(){return[t(ue,{}),t(on,{}),t(de,{})]},get children(){return t(Ce,{})}})}})}})]}})}}),null),l})(),t(yt,{})]};export{jn as default};

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.