(window.webpackJsonp=window.webpackJsonp||[]).push([[105],{1490:function(t,e,n){"use strict";n(9);var r=n(1518),o={methods:{formatDate(time){var t=Date.now()-new Date(time),e=t/31536e6;if(e>=1)return this.$VformatDatetext("[t1]2[/t_444e","[t1]2[/t1]年前").replaceI18n("t1",Math.round(e));var n=t/2592e6;if(n>=1)return this.$VformatDatetext("[t1]2[/t_a15c","[t1]2[/t1]个月前").replaceI18n("t1",Math.round(n));var r=t/864e5;if(r>=1)return this.$VformatDatetext("[t1]2[/t_de25","[t1]2[/t1]天前").replaceI18n("t1",Math.round(r));var o=t/36e5;if(o>=1)return this.$VformatDatetext("[t1]2[/t_212c","[t1]2[/t1]小时前").replaceI18n("t1",Math.round(o));var c=t/6e4;return this.$VformatDatetext("[t1]2[/t_e746","[t1]2[/t1]分钟前").replaceI18n("t1",Math.round(c)||1)}}};o.methods?Object.assign(o.methods,{$VformatDatetext(t,e){var n=r;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var o=n[this.$lang]||n.zh_Hans_CN||{};return void 0===o[t]?e||t:o[t]}}):o.methods={$VformatDatetext(t,e){var n=r;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var o=n[this.$lang]||n.zh_Hans_CN||{};return void 0===o[t]?e||t:o[t]}},e.a=o},1518:function(t){t.exports=JSON.parse('{"ach_UG":{"[t1]2[/t_212c":"[t1]2[/t1]小时前","[t1]2[/t_444e":"[t1]2[/t1]年前","[t1]2[/t_a15c":"[t1]2[/t1]个月前","[t1]2[/t_de25":"[t1]2[/t1]天前","[t1]2[/t_e746":"[t1]2[/t1]分钟前"},"ar_AE":{"[t1]2[/t_212c":"قبل[t1]2[/t1] ساعتين","[t1]2[/t_444e":"[t1]2[/t1]قبل سنتين","[t1]2[/t_a15c":"[t1]2[/t1]قبل شهر","[t1]2[/t_de25":"قبل[t1]2[/t1] يومين","[t1]2[/t_e746":"قبل[t1]2[/t1] دقيقتين"},"de_DE":{"[t1]2[/t_212c":"Vor [t1]2[/t1] Stunde(n)","[t1]2[/t_444e":"Vor [t1]2[/t1] Jahr(en)","[t1]2[/t_a15c":"Vor [t1]2[/t1] Monat(en)","[t1]2[/t_de25":"Vor [t1]2[/t1] Tag(en)","[t1]2[/t_e746":"Vor [t1]2[/t1] Minute(n)"},"en_US":{"[t1]2[/t_212c":"[t1]2[/t1] hour(s) ago","[t1]2[/t_444e":"[t1]2[/t1] year(s) ago","[t1]2[/t_a15c":"[t1]2[/t1] month(s) ago","[t1]2[/t_de25":"[t1]2[/t1] day(s) ago","[t1]2[/t_e746":"[t1]2[/t1] minute(s) ago"},"es_ES":{"[t1]2[/t_212c":"Hace [t1]2[/t1] hora(s)","[t1]2[/t_444e":"Hace [t1]2[/t1] año(s)","[t1]2[/t_a15c":"Hace [t1]2[/t1] mes(es)","[t1]2[/t_de25":"Hace [t1]2[/t1] día(s)","[t1]2[/t_e746":"Hace [t1]2[/t1] minuto(s)"},"fa_IR":{"[t1]2[/t_212c":"[t1]2[/t1] ساعت گذشته","[t1]2[/t_444e":"[t1]2[/t1] سال گذشته","[t1]2[/t_a15c":"[t1]2[/t1] ماه گذشته","[t1]2[/t_de25":"[t1]2[/t1] روز گذشته","[t1]2[/t_e746":"[t1]2[/t1] دقیقه گذشته"},"fr_FR":{"[t1]2[/t_212c":"[t1]2 il y a[/t1]heure","[t1]2[/t_444e":"[t1]2 il y a[/t1]ans","[t1]2[/t_a15c":"[t1]2 il y a[/t1]mois","[t1]2[/t_de25":"[t1]2 il y a[/t1]jour","[t1]2[/t_e746":"[t1]2 il y a[/t1]minute"},"id_ID":{"[t1]2[/t_212c":"[t1]2[/t1] jam yang lalu","[t1]2[/t_444e":"[t1]2[/t1] tahun yang lalu","[t1]2[/t_a15c":"[t1]2[/t1] bulan yang lalu","[t1]2[/t_de25":"[t1]2[/t1] hari yang lalu","[t1]2[/t_e746":"[t1]2[/t1] menit yang lalu"},"it_IT":{"[t1]2[/t_212c":"[t1]2[/t1] ore fa","[t1]2[/t_444e":"[t1]2[/t1] anni fa","[t1]2[/t_a15c":"[t1]2[/t1] mesi fa","[t1]2[/t_de25":"[t1]2[/t1] giorni fa","[t1]2[/t_e746":"[t1]2[/t1] minuti fa"},"ja_JP":{"[t1]2[/t_212c":"[t1]2[/t1]時間前","[t1]2[/t_444e":"[t1]2[/t1]年前","[t1]2[/t_a15c":"[t1]2[/t1]ヶ月前","[t1]2[/t_de25":"[t1]2[/t1]日前","[t1]2[/t_e746":"[t1]2[/t1]分前"},"ko_KP":{"[t1]2[/t_212c":"[t1]2[/t1]시간 전","[t1]2[/t_444e":"[t1]2[/t1]년 전","[t1]2[/t_a15c":"[t1]2[/t1]개월 전","[t1]2[/t_de25":"[t1]2[/t1]일 전","[t1]2[/t_e746":"[t1]2[/t1]분 전"},"pl_PL":{"[t1]2[/t_212c":"[t1]2[/t1] godz. temu","[t1]2[/t_444e":"[t1]2[/t1] lat(a) temu","[t1]2[/t_a15c":"[t1]2[/t1] mies. temu","[t1]2[/t_de25":"[t1]2[/t1] dni temu","[t1]2[/t_e746":"[t1]2[/t1] min temu"},"pt_PT":{"[t1]2[/t_212c":"[t1]2[/t1]hora atrás","[t1]2[/t_444e":"[t1]2[/t1]anos atrás","[t1]2[/t_a15c":"[t1]2[/t1]mês atrás","[t1]2[/t_de25":"[t1]2[/t1]dia atrás","[t1]2[/t_e746":"[t1]2[/t1]minuto atrás"},"ru_KZ":{"[t1]2[/t_212c":"[t1]2[/t1] ч. назад","[t1]2[/t_444e":"[t1]2[/t1] г. (лет) назад","[t1]2[/t_a15c":"[t1]2[/t1] мес. назад","[t1]2[/t_de25":"[t1]2[/t1] д. назад","[t1]2[/t_e746":"[t1]2[/t1] мин. назад"},"th_TH":{"[t1]2[/t_212c":"[t1]2[/t1] ชั่วโมงก่อน","[t1]2[/t_444e":"[t1]2[/t1]ปีที่แล้ว","[t1]2[/t_a15c":"[t1]2[/t1]เดือนที่แล้ว","[t1]2[/t_de25":"[t1]2[/t1] วันก่อน","[t1]2[/t_e746":"[t1]2[/t1]นาทีก่อน"},"tr_TR":{"[t1]2[/t_212c":"[t1]2[/t1] saat önce","[t1]2[/t_444e":"[t1]2[/t1] yıl önce","[t1]2[/t_a15c":"[t1]2[/t1] ay önce","[t1]2[/t_de25":"[t1]2[/t1] gün önce","[t1]2[/t_e746":"[t1]2[/t1] dakika önce"},"vi_VN":{"[t1]2[/t_212c":"[t1]2[/t1] giờ trước","[t1]2[/t_444e":"[t1]2[/t1] năm trước","[t1]2[/t_a15c":"[t1]2[/t1] tháng trước","[t1]2[/t_de25":"[t1]2[/t1] ngày trước","[t1]2[/t_e746":"[t1]2[/t1] phút trước"},"zh_Hans_CN":{"[t1]2[/t_212c":"[t1]2[/t1]小时前","[t1]2[/t_444e":"[t1]2[/t1]年前","[t1]2[/t_a15c":"[t1]2[/t1]个月前","[t1]2[/t_de25":"[t1]2[/t1]天前","[t1]2[/t_e746":"[t1]2[/t1]分钟前"},"zh_Hant_HK":{"[t1]2[/t_212c":"[t1]2[/t1]小時前","[t1]2[/t_444e":"[t1]2[/t1]年前","[t1]2[/t_a15c":"[t1]2[/t1]個月前","[t1]2[/t_de25":"[t1]2[/t1]天前","[t1]2[/t_e746":"[t1]2[/t1]分鐘前"}}')},1892:function(t,e,n){var content=n(2401);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("6c8d6fe2",content,!0,{sourceMap:!1})},1893:function(t,e,n){var content=n(2404);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("7cb6d96c",content,!0,{sourceMap:!1})},2399:function(t){t.exports=JSON.parse('{"ach_UG":{"[r1]Coin_9757":"[r1]CoinEx[/r1]公告中心","搜索":"搜索","搜索公告关键词,_33a2":"搜索公告关键词,如:活动、升级"},"ar_AE":{"[r1]Coin_9757":"[r1]إعلانات CoinEx[/r1]","搜索":"بحث","搜索公告关键词,_33a2":"البحث عن طريق الكلمات الرئيسية، مثل الحدث والترقيات"},"de_DE":{"[r1]Coin_9757":"[r1]CoinEx[/r1] Ankündigungen","搜索":"Suche","搜索公告关键词,_33a2":"Suche nach Keywörtern, wie Events, Upgrades etc."},"en_US":{"[r1]Coin_9757":"[r1]CoinEx[/r1] Announcements","搜索":"Search","搜索公告关键词,_33a2":"Search by keywords, such as event, upgrades"},"es_ES":{"[r1]Coin_9757":"Anuncios de [r1]CoinEx[/r1]","搜索":"Buscar","搜索公告关键词,_33a2":"Buscar por palabras clave, como evento, actualizaciones"},"fa_IR":{"[r1]Coin_9757":"مرکز اطلاعیه [r1]کوینکس[/r1] ","搜索":"جستجو","搜索公告关键词,_33a2":"جستجو بر اساس کلمات کلیدی، مانند رویداد، ارتقاء"},"fr_FR":{"[r1]Coin_9757":"[r1]CoinEx[/r1] Annonces","搜索":"Rechercher","搜索公告关键词,_33a2":"Rechercher par mots-clés, tels qu\'événement, mises à niveau"},"id_ID":{"[r1]Coin_9757":"Pengumuman [r1]CoinEx[/r1]","搜索":"Cari","搜索公告关键词,_33a2":"Cari dengan kata kunci, seperti acara, peningkatan"},"it_IT":{"[r1]Coin_9757":"Annunci di [r1]CoinEx[/r1]","搜索":"Cerca","搜索公告关键词,_33a2":"Cerca per parole chiave, come eventi e aggiornamenti"},"ja_JP":{"[r1]Coin_9757":"[r1]CoinEx[/r1] アナウンス","搜索":"検索する","搜索公告关键词,_33a2":"イベント、アップグレードなどのキーワードで検索"},"ko_KP":{"[r1]Coin_9757":"[r1]CoinEx[/r1] 알림 센터","搜索":"검색","搜索公告关键词,_33a2":"키워드, 이벤트, 업그레이드 등으로 검색"},"pl_PL":{"[r1]Coin_9757":"Ogłoszenia [r1]CoinEx[/r1]","搜索":"Szukaj","搜索公告关键词,_33a2":"Szukaj według słów kluczowych, takich jak wydarzenie, aktualizacje"},"pt_PT":{"[r1]Coin_9757":"[r1]CoinEx[/r1] Anúncios","搜索":"Pesquisar","搜索公告关键词,_33a2":"Pesquise palavras-chave de anúncio, como:atividades, atualizações"},"ru_KZ":{"[r1]Coin_9757":"[r1]CoinEx[/r1] объявления","搜索":"Поиск","搜索公告关键词,_33a2":"Поиск по ключевым словам, например акция, обновление"},"th_TH":{"[r1]Coin_9757":"[r1]CoinEx[/r1]ศูนย์ประกาศ","搜索":"ค้นหา","搜索公告关键词,_33a2":"ค้นหาคำสำคัญประกาศ เช่น:กิจกรรม อัปเกรด"},"tr_TR":{"[r1]Coin_9757":"[r1]CoinEx[/r1] Duyuru Merkezi","搜索":"Ara","搜索公告关键词,_33a2":"Etkinlik, yükseltme gibi anahtar kelimelerle arayın"},"vi_VN":{"[r1]Coin_9757":"[r1]CoinEx[/r1] Thông báo","搜索":"Tìm","搜索公告关键词,_33a2":"Tìm kiếm theo từ khóa, chẳng hạn như: sự kiện, nâng cấp"},"zh_Hans_CN":{"[r1]Coin_9757":"[r1]CoinEx[/r1]公告中心","搜索":"搜索","搜索公告关键词,_33a2":"搜索公告关键词,如:活动、升级"},"zh_Hant_HK":{"[r1]Coin_9757":"[r1]CoinEx[/r1]公告中心","搜索":"搜尋","搜索公告关键词,_33a2":"搜尋公告關鍵字,如:活動、升級"}}')},2400:function(t,e,n){"use strict";n(1892)},2401:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,".c-announcement-header{padding-top:48px;text-align:center}.c-announcement-header .title{color:var(--text-27282c);font-size:42px;font-weight:700;margin-bottom:20px}@media (max-width:768px){.c-announcement-header .title{font-size:24px;font-weight:600}}.c-announcement-header .c-announcement-search-input{background-color:var(--bg-ffffff)!important;border-radius:30px!important;margin:0 auto;max-width:588px;padding-inline-start:25px}.c-announcement-header .c-announcement-search-input .via-btn{min-width:105px}@media (max-width:768px){.c-announcement-header .c-announcement-search-input .via-btn{min-width:74px}}",""]),r.locals={},t.exports=r},2402:function(t){t.exports=JSON.parse('{"ach_UG":{"更新于:":"更新于:","置顶":"置顶"},"ar_AE":{"更新于:":"آخر تحديث:","置顶":"مثبّت"},"de_DE":{"更新于:":"Letztes Update:","置顶":"Oben anpinnen"},"en_US":{"更新于:":"Last update: ","置顶":"Pinned"},"es_ES":{"更新于:":"Última actualización: ","置顶":"Pegar en la parte superior"},"fa_IR":{"更新于:":"آخرین به روز رسانی:","置顶":"همیشه بالاترین"},"fr_FR":{"更新于:":"Mis à jour à:","置顶":"En haut"},"id_ID":{"更新于:":"Update terakhir: ","置顶":"Disematkan"},"it_IT":{"更新于:":"Ultimo aggiornamento:","置顶":"Fissato"},"ja_JP":{"更新于:":"最近の更新情報: ","置顶":"一番上に表示する"},"ko_KP":{"更新于:":"최신 업데이트:","置顶":"상단에 고정"},"pl_PL":{"更新于:":"Ostatnia aktualizacja:","置顶":"Przypięte"},"pt_PT":{"更新于:":"Atualizado em:","置顶":"Coloque em acima"},"ru_KZ":{"更新于:":"Обновлено: ","置顶":"Закреплено"},"th_TH":{"更新于:":"อัปเดตเมื่อ:","置顶":"สูงสุด"},"tr_TR":{"更新于:":"Son güncelleme:","置顶":"Yukarıya sabiltendi"},"vi_VN":{"更新于:":"Cập nhật lần cuối:","置顶":"Ghim"},"zh_Hans_CN":{"更新于:":"更新于:","置顶":"置顶"},"zh_Hant_HK":{"更新于:":"更新於:","置顶":"置頂"}}')},2403:function(t,e,n){"use strict";n(1893)},2404:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,".c-announcements-list{position:relative}.c-announcements-list .skeleton-screen .item .box{border-radius:4px}.c-announcements-list .skeleton-screen .item .title-box{height:30px;margin-bottom:12px;width:50%}.c-announcements-list .skeleton-screen .item .desc-box{height:40px;margin-bottom:12px;width:100%}.c-announcements-list .skeleton-screen .item .time-box{height:21px;width:182px}@media (max-width:768px){.c-announcements-list .skeleton-screen{overflow:hidden}}.c-announcements-list .item{margin-bottom:32px}.c-announcements-list .item .title{color:var(--text-27282c);cursor:pointer;display:inline;font-size:20px;font-weight:700;line-height:24px;transition:color .3s}.c-announcements-list .item .title .search-keywords{color:var(--text-0ead98)}@media (max-width:768px){.c-announcements-list .item .title{display:inline;font-size:14px;line-height:20px}}.c-announcements-list .item .title:hover{color:var(--text-0ead98)}.c-announcements-list .item .top-tag{background-color:rgba(243,139,44,.1);border-radius:6px 6px 6px 0;color:var(--text-f38b2c);display:inline-block;font-size:12px;font-weight:400;margin-inline-end:4px;min-width:32px;padding:2px 7px;vertical-align:3px}@media (max-width:768px){.c-announcements-list .item .top-tag{vertical-align:1px}}.c-announcements-list .item .time{color:var(--text-b4b7bd);font-size:12px;line-height:16px}.c-announcements-list .item .desc{color:var(--text-707580);font-size:14px;line-height:20px;margin-bottom:12px;word-break:break-word}.c-announcements-list .item .desc em{color:var(--text-0ead98)}.c-announcements-list .c-common-empty{background-color:transparent}.c-announcements-list .via-pagination{margin-inline-start:-14px}.c-announcements-list .via-pagination .via-pagination-select-limit{display:none}",""]),r.locals={},t.exports=r},2860:function(t,e,n){"use strict";n(10),n(111),n(108),n(9);var r=n(35),o=n(2399),c={components:{Language:r.a},data:()=>({search:""}),mounted(){this.$route.query.key&&(this.search=this.$route.query.key)},methods:{handleClick(){var t=this.search.trim();if(t)if("announcements"===this.$route.name)this.$router.push("/announcements/search?key=".concat(t));else{if(this.$route.query.key===t)return;this.$emit("search",t)}}}};c.methods?Object.assign(c.methods,{$VHeader(t,e){var n=o;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}}):c.methods={$VHeader(t,e){var n=o;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}};var l=c,m=(n(2400),n(0)),component=Object(m.a)(l,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"c-announcement-header md:pt-30"},[e("Language",{staticClass:"title",attrs:{text:t.$VHeader("[r1]Coin_9757")},scopedSlots:t._u([{key:"r1",fn:function(data){return[e("font",{staticClass:"text-0ead98"},[t._v(t._s(data.value))])]}}])}),t._v(" "),e("via-input",{staticClass:"c-announcement-search-input",attrs:{size:"big",placeholder:t.$VHeader("搜索公告关键词,_33a2"),"style-type":"area",clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleClick.apply(null,arguments)}},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},[e("template",{slot:"prefix"},[e("i",{staticClass:"iconfont icon-search1 text-aeb0b3"})]),t._v(" "),e("template",{slot:"suffix"},[e("via-button",{attrs:{type:"area",size:"small",round:""},on:{click:t.handleClick}},[t._v(t._s(t.$VHeader("搜索")))])],1)],2)],1)}),[],!1,null,null,null);e.a=component.exports},2861:function(t,e,n){"use strict";n(10),n(13),n(88),n(21),n(9);var r=n(393),o=n(1490),c=n(2402),l={components:{Empty:r.a},mixins:[o.a],props:{list:{type:Array,default:()=>[]},page:{type:Object,default:()=>{}},showDesc:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},searchKey:{type:String,default:""}},computed:{pageInfo:{get(){return this.page},set(t){this.$emit("update:page",t)}}},methods:{handlePageChange(t){this.$emit("changePage",t)},formatTitle(title){return this.searchKey?title.replace(new RegExp(this.searchKey,"ig"),(content=>'<span class="search-keywords">'.concat(content,"</span>"))):title}}};l.methods?Object.assign(l.methods,{$VList(t,e){var n=c;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}}):l.methods={$VList(t,e){var n=c;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}};var m=l,d=(n(2403),n(0)),component=Object(d.a)(m,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"c-announcements-list"},[0!==t.list.length||t.loading?t.loading&&0===t.list.length?e("ul",{staticClass:"skeleton-screen"},t._l(5,(function(i){return e("li",{key:i,staticClass:"item"},[e("div",{staticClass:"title-box box skeleton-animation"}),t._v(" "),e("div",{staticClass:"desc-box box skeleton-animation"}),t._v(" "),e("div",{staticClass:"time-box box skeleton-animation"})])})),0):[t._l(t.list,(function(n){return e("div",{key:n.id,staticClass:"item"},[e("div",{staticClass:"mb-8"},[n.is_top?e("span",{staticClass:"top-tag"},[t._v(t._s(t.$VList("置顶")))]):t._e(),t._v(" "),e("via-link",{staticClass:"title",attrs:{to:{path:"/announcements/detail/".concat(n.id)}},domProps:{innerHTML:t._s(t.$utils.filterXSS(t.formatTitle(n.title)))}})],1),t._v(" "),t.showDesc?e("div",{staticClass:"desc",domProps:{innerHTML:t._s(t.$utils.filterXSS(n.snippet))}}):t._e(),t._v(" "),e("div",{staticClass:"time"},[t._v(t._s(t.$VList("更新于:"))+t._s(t.formatDate(1e3*n.updated_at)))])])})),t._v(" "),e("via-pagination",{attrs:{"select-limit-visible":!1,"current-page":t.pageInfo.current,"hide-on-single-page":!0,total:t.pageInfo.total,"page-size":t.pageInfo.limit},on:{"current-change":t.handlePageChange}})]:e("Empty")],2)}),[],!1,null,null,null);e.a=component.exports},2927:function(t,e,n){var content=n(4081);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("56b813cd",content,!0,{sourceMap:!1})},2928:function(t,e,n){var content=n(4084);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(6).default)("a1808706",content,!0,{sourceMap:!1})},4079:function(t){t.exports=JSON.parse('{"ach_UG":{"推荐文章":"推荐文章","最新公告":"最新公告"},"ar_AE":{"推荐文章":"موصى به","最新公告":"أحدث الإعلانات"},"de_DE":{"推荐文章":"Empfohlene Artikel","最新公告":"Aktuelles"},"en_US":{"推荐文章":"Recommended","最新公告":"What\'s New"},"es_ES":{"推荐文章":"Recomendado","最新公告":"Últimos anuncios"},"fa_IR":{"推荐文章":"توصیه شده","最新公告":"آخرین اطلاعیه"},"fr_FR":{"推荐文章":"Recommandé","最新公告":"Dernière annonce"},"id_ID":{"推荐文章":"Direkomendasikan","最新公告":"Apa yang Baru"},"it_IT":{"推荐文章":"Consigliati","最新公告":"Novità"},"ja_JP":{"推荐文章":"お勧め記事","最新公告":"最新のお知らせ"},"ko_KP":{"推荐文章":"추천 기사","最新公告":"최신 공지"},"pl_PL":{"推荐文章":"Polecane","最新公告":"Najnowsze ogłoszenia"},"pt_PT":{"推荐文章":"Recomendado","最新公告":"Último anúncio"},"ru_KZ":{"推荐文章":"Рекомендации","最新公告":"Что нового"},"th_TH":{"推荐文章":"บทความที่แนะนำ","最新公告":"ประกาศล่าสุด"},"tr_TR":{"推荐文章":"Önerilen","最新公告":"Son Duyurular"},"vi_VN":{"推荐文章":"Bài viết đề xuất","最新公告":"Thông báo mới nhất"},"zh_Hans_CN":{"推荐文章":"推荐文章","最新公告":"最新公告"},"zh_Hant_HK":{"推荐文章":"推薦文章","最新公告":"最新公告"}}')},4080:function(t,e,n){"use strict";n(2927)},4081:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,".c-announcements-menu{margin-inline-end:60px;width:295px}.c-announcements-menu .menu-icon-prefix{color:var(--text-b4b7bd);font-size:20px}.c-announcements-menu .via-collapse.category-menu .via-collapse-item{-webkit-user-select:none;-moz-user-select:none;user-select:none}.c-announcements-menu .via-collapse.category-menu .via-collapse-item.is-active .via-collapse-item__header{color:var(--text-3a3d42)}.c-announcements-menu .via-collapse.category-menu .via-collapse-item.is-active .via-collapse-item__header .via-collapse-item__arrow i.iconfont{color:var(--text-aeb0b3)}.c-announcements-menu .via-collapse.category-menu .via-collapse-item.is-current .via-collapse-item__header{background:var(--bg-0ead98-5);color:var(--text-0ead98)}.c-announcements-menu .via-collapse.category-menu .via-collapse-item.is-current .via-collapse-item__header .menu-icon-prefix,.c-announcements-menu .via-collapse.category-menu .via-collapse-item.is-current .via-collapse-item__header .via-collapse-item__arrow i.iconfont{color:var(--text-0ead98)}.c-announcements-menu .via-collapse.category-menu .via-collapse-item .via-collapse-item__header{background-color:transparent;border-bottom:0;border-radius:10px;height:42px;line-height:42px}.c-announcements-menu .via-collapse.category-menu .via-collapse-item .via-collapse-item__header:hover{background:var(--bg-0ead98-5);color:var(--text-0ead98)}.c-announcements-menu .via-collapse.category-menu .via-collapse-item .via-collapse-item__header:hover .menu-icon-prefix{color:var(--text-0ead98)}.c-announcements-menu .via-collapse.category-menu .via-collapse-item .via-collapse-item__wrap{background-color:transparent;border-bottom:0}.c-announcements-menu .via-collapse.category-menu .via-collapse-item .via-collapse-item__wrap .via-collapse-item__content{background-color:transparent;padding-inline-start:0}.c-announcements-menu .link{align-items:center;border-radius:10px;color:var(--text-707580);cursor:pointer;display:flex;font-size:14px;font-weight:500;height:42px;padding-inline-start:42px}.c-announcements-menu .link.nuxt-link-exact-active,.c-announcements-menu .link:hover{background:var(--bg-0ead98-5);color:var(--text-0ead98)}.c-announcements-menu .link.nuxt-link-exact-active i.iconfont,.c-announcements-menu .link:hover i.iconfont{color:var(--text-0ead98)}.c-announcements-menu .main-menu{color:var(--text-3a3d42);font-size:16px;padding-inline-start:12px}.c-announcements-menu .menu-item{color:var(--text-707580);font-size:14px;font-weight:500;line-height:20px}.c-announcements-menu .menu-item+.menu-item{margin-inline-end:20px}.c-announcements-menu .menu-item.active,.c-announcements-menu .menu-item.nuxt-link-exact-active{color:var(--text-0ead98);font-weight:700}.c-announcements-menu .sub-menu-item{background-color:var(--bg-ffffff);border-radius:4px;color:var(--text-707580);display:inline-block;font-size:12px;margin-bottom:4px;margin-inline-end:8px;padding:5px 10px;text-align:center}.c-announcements-menu .sub-menu-item.nuxt-link-exact-active{background-color:rgba(14,173,152,.05);color:var(--text-0ead98)}",""]),r.locals={},t.exports=r},4082:function(t){t.exports=JSON.parse('{"ach_UG":{"公告中心":"公告中心","推荐文章":"推荐文章","最新公告":"最新公告"},"ar_AE":{"公告中心":"مركز الإعلانات","推荐文章":"موصى به","最新公告":"أحدث الإعلانات"},"de_DE":{"公告中心":"Ankündigungen","推荐文章":"Empfohlener Artikel","最新公告":"Aktuelles"},"en_US":{"公告中心":"Announcements","推荐文章":"Recommended","最新公告":"What\'s New"},"es_ES":{"公告中心":"Anuncios","推荐文章":"Recomendado","最新公告":"Últimos anuncios"},"fa_IR":{"公告中心":"اطلاعیه‌","推荐文章":"توصیه شده","最新公告":"آخرین اطلاعیه"},"fr_FR":{"公告中心":"Centre d\'annonces","推荐文章":"Recommandé","最新公告":"Dernière annonce"},"id_ID":{"公告中心":"Pengumuman","推荐文章":"Direkomendasikan","最新公告":"Apa yang Baru"},"it_IT":{"公告中心":"Annunci","推荐文章":"Consigliati","最新公告":"Novità"},"ja_JP":{"公告中心":"お知らせセンター","推荐文章":"お勧め記事","最新公告":"最新のお知らせ"},"ko_KP":{"公告中心":"알림 센터","推荐文章":"추천 기사","最新公告":"최신 공지"},"pl_PL":{"公告中心":"Ogłoszenia","推荐文章":"Polecane","最新公告":"Najnowsze ogłoszenia"},"pt_PT":{"公告中心":"Centro de Anúncio","推荐文章":"Recomendado","最新公告":"Último anúncio"},"ru_KZ":{"公告中心":"Объявления","推荐文章":"Рекомендации","最新公告":"Что нового"},"th_TH":{"公告中心":"ศูนย์ประกาศ","推荐文章":"บทความที่แนะนำ","最新公告":"ประกาศล่าสุด"},"tr_TR":{"公告中心":"Duyuru Merkezi","推荐文章":"Önerilen","最新公告":"Son Duyurular"},"vi_VN":{"公告中心":"Trung tâm thông báo","推荐文章":"Bài viết đề xuất","最新公告":"Thông báo mới nhất"},"zh_Hans_CN":{"公告中心":"公告中心","推荐文章":"推荐文章","最新公告":"最新公告"},"zh_Hant_HK":{"公告中心":"公告中心","推荐文章":"推薦文章","最新公告":"最新公告"}}')},4083:function(t,e,n){"use strict";n(2928)},4084:function(t,e,n){var r=n(5)((function(i){return i[1]}));r.push([t.i,".p-announcements .content{margin:0 auto;max-width:1280px;padding-bottom:114px}.p-announcements .content .announcements-breadcrumb{margin-top:40px}.p-announcements .content .announcements-breadcrumb.via-breadcrumb .via-breadcrumb-item .via-breadcrumb-item-inner{color:var(--text-3a3d42);font-size:14px}.p-announcements .content .announcements-breadcrumb.via-breadcrumb .via-breadcrumb-item .via-breadcrumb-item-inner.is-link:hover{color:var(--text-0ead98)}.p-announcements .content .c-announcements-list{border-inline-start:1px solid var(--border-e6e7eb);flex:1;padding-inline-start:60px}@media (max-width:768px){.p-announcements .content .c-announcements-list{border-inline-start:0;padding-inline-start:0}}",""]),r.locals={},t.exports=r},7503:function(t,e,n){"use strict";n.r(e);var r=n(3),o=n(1),c=(n(21),n(9),n(2860)),l=n(2861),m=(n(10),n(13),n(8)),d=n(4079);function _(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var v={props:{value:{type:Array,default:()=>[]},menuList:{type:Array,default:()=>[]}},data:()=>({subMenuId:""}),computed:h(h({},Object(m.d)(["responsive"])),{},{menu:{get(){return this.value},set(t){this.$emit("input",t)}},subMenuList(){var t=this.menuList.find((t=>t.id===this.subMenuId));return t?t.sections:[]}}),methods:{handleSelect(t){this.subMenuId=t.id,this.$router.replace({query:h(h({},this.$route.query),{},{category:t.sections[0].id})})},getIconName:t=>({360003368512:"icon-asset1",14108316661140:"icon-dongtai",14108305136532:"icon-huodong"}[t])}};v.methods?Object.assign(v.methods,{$VMenu(t,e){var n=d;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}}):v.methods={$VMenu(t,e){var n=d;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}};var f=v,x=(n(4080),n(0)),y=Object(x.a)(f,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"c-announcements-menu md:me-0 md:w-full"},[t.responsive.screens.md?[e("div",{staticClass:"mb-8"},[e("via-link",{staticClass:"menu-item me-20",attrs:{to:{path:"/announcements"}},nativeOn:{click:function(e){t.subMenuId=""}}},[t._v(t._s(t.$VMenu("最新公告")))]),t._v(" "),t._l(t.menuList,(function(n){return e("span",{key:n.name,staticClass:"menu-item",class:{active:n.id===t.subMenuId},on:{click:function(e){return t.handleSelect(n)}}},[t._v(" "+t._s(n.name))])})),t._v(" "),e("via-link",{staticClass:"menu-item me-0",attrs:{replace:"",to:{path:"/announcements?category=recommended"}},nativeOn:{click:function(e){t.subMenuId=""}}},[t._v(t._s(t.$VMenu("推荐文章")))])],2),t._v(" "),e("div",t._l(t.subMenuList,(function(n){return e("via-link",{key:n.id,staticClass:"sub-menu-item",attrs:{to:{path:"/announcements?category=".concat(n.id)}}},[t._v(" "+t._s(n.name))])})),1)]:[e("via-link",{staticClass:"link main-menu",attrs:{replace:"",to:{path:"/announcements"}}},[e("i",{staticClass:"iconfont icon-gonggao menu-icon-prefix"}),t._v(" "),e("span",{staticClass:"ms-7"},[t._v(t._s(t.$VMenu("最新公告")))])]),t._v(" "),e("via-collapse",{staticClass:"md:hidden category-menu",model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},t._l(t.menuList,(function(n){return e("via-collapse-item",{key:n.id,class:{"is-current":n.sections.some((e=>e.id==t.$route.query.category))},attrs:{name:n.id}},[e("template",{slot:"title"},[e("i",{staticClass:"iconfont me-8 menu-icon-prefix",class:t.getIconName(n.id)}),e("span",[t._v(t._s(n.name))])]),t._v(" "),t._l(n.sections,(function(n){return e("via-link",{key:n.id,staticClass:"link",attrs:{to:{path:"/announcements?category=".concat(n.id)}}},[t._v("\n          "+t._s(n.name)+"\n        ")])}))],2)})),1),t._v(" "),e("via-link",{staticClass:"link ps-12 main-menu",attrs:{replace:"",to:{path:"/announcements?category=recommended"}}},[e("i",{staticClass:"iconfont icon-tuijian menu-icon-prefix"}),t._v(" "),e("span",{staticClass:"ms-7"},[t._v(t._s(t.$VMenu("推荐文章")))])])]],2)}),[],!1,null,null,null).exports,k=n(4082);function C(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?C(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var z={meta:{container:{bgType:"blue"}},darkEnable:!0,newTheme:!0,components:{Header:c.a,List:l.a,Menu:y},asyncData:t=>Object(o.a)((function*(){var{store:e}=t;return yield e.dispatch("zendesk/getCategory"),{}}))(),data:()=>({page:{total:0,limit:15,current:1},loading:!1,menu:[],list:[],breadList:["",""]}),computed:w(w({},Object(m.d)(["zendesk"])),{},{menuList(){return this.zendesk.announcementsCategory||[]},category(){var{category:t}=this.$route.query;return t||"new"},isNewOrRecommended(){return"new"===this.category||"recommended"===this.category}}),watch:{"$route.query"(){this.page.current=1,this.init(),this.setBreadName()}},mounted(){this.setBreadName(!0),this.init(),this.menu=this.menuList.map((t=>t.id))},methods:{init(){this.getList()},getList(){var t=this;return Object(o.a)((function*(){try{t.loading=!0;var e=t.isNewOrRecommended?void 0:t.category,n="recommended"===t.category?t.$api.support.zendesk.getRecommendArticles:t.$api.support.zendesk.getNewArticles,{data:data}=yield n({limit:t.page.limit,page:t.page.current,section_id:e,order_by:"recommended"===t.category?void 0:"new"===t.category?"created_at":"is_top"});0===data.code?(t.page.total=data.data.total,t.list=data.data.data):t.$viaTip.error(data.message)}catch(e){console.error(e),t.$viaTip.error({message:t.$globalT("busy"),showId:"busy"})}finally{t.loading=!1}}))()},handleChangePage(t){this.page.current=t,this.init()},setBreadName(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],menu={new:this.$Vindex("最新公告","最新公告"),recommended:this.$Vindex("推荐文章","推荐文章")};if(this.isNewOrRecommended)this.breadList=[menu[this.category]||"",""];else{var e=this.menuList.find((t=>t.sections.some((t=>t.id.toString()===this.category))));if(e){var n=e.sections.find((t=>t.id.toString()===this.category));t&&(this.$refs.menu.subMenuId=e.id),this.breadList=[e.name,n?n.name:""]}}}},head(){return this.$createMetaInfo("all",{title:this.$Vindex("公告中心","公告中心")})}};z.methods?Object.assign(z.methods,{$Vindex(t,e){var n=k;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}}):z.methods={$Vindex(t,e){var n=k;if(!this.$lang&&!n.zh_Hans_CN)return e||t;var r=n[this.$lang]||n.zh_Hans_CN||{};return void 0===r[t]?e||t:r[t]}};var $=z,O=(n(4083),Object(x.a)($,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"p-announcements"},[e("div",{staticClass:"content md:px-20"},[e("Header"),t._v(" "),e("via-breadcrumb",{staticClass:"announcements-breadcrumb"},[e("via-breadcrumb-item",{attrs:{replace:"",to:{path:"/announcements"}}},[t._v(t._s(t.$Vindex("公告中心")))]),t._v(" "),e("via-breadcrumb-item",[t._v(t._s(t.breadList[0]))]),t._v(" "),t.isNewOrRecommended?t._e():e("via-breadcrumb-item",[t._v(t._s(t.breadList[1]))])],1),t._v(" "),e("div",{staticClass:"flex mt-18 md:block"},[e("Menu",{ref:"menu",attrs:{"menu-list":t.menuList},model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}}),t._v(" "),e("List",{staticClass:"md:pt-20",attrs:{loading:t.loading,list:t.list,page:t.page},on:{changePage:t.handleChangePage}})],1)],1)])}),[],!1,null,null,null));e.default=O.exports}}]);