(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0adebd80"],{"0503":function(e,t,i){"use strict";i("64a4")},"115f":function(e,t,i){"use strict";i("bbff")},1852:function(e,t,i){},"1a39":function(e,t,i){"use strict";i("a5d7")},2928:function(e,t,i){},"2a70":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAB4BAMAAABV8CxBAAAAElBMVEVHcEyddv+cdv+cd/+dd/+ddv+cbCcNAAAABnRSTlMAmYgbQ2Frz929AAAApklEQVRIx+3QMQ6CUBCE4QnoARah5xkP8DChhxh7SLz/WTSIFur+JtQ77ZfsTFZ6pbwe7SNv65OZh72Ziz9txb35WCbAs/m4M8AO0GtcsDDAGbA0wIJwJEyAUGnez59YEHaEI+G8GROhBQYGBgYGBgb+wep20VdWq7Pk4UlysZaPVQac5KN3dMEBsBFgS5gB/TkPbAkHwApMDeGBkPZoIqSxyptxc+7ESrfvYbI3cQAAAABJRU5ErkJggg=="},"2d0d":function(e,t,i){"use strict";i("dc32")},3369:function(e,t,i){"use strict";i("2928")},3546:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAB4BAMAAABV8CxBAAAAElBMVEVHcEz8heP8heP9h+X8heT8huSP3RdvAAAABnRSTlMAmYgbQ2Frz929AAAApklEQVRIx+3QMQ6CUBCE4QnoARah5xkP8DChhxh7SLz/WTSIFur+JtQ77ZfsTFZ6pbwe7SNv65OZh72Ziz9txb35WCbAs/m4M8AO0GtcsDDAGbA0wIJwJEyAUGnez59YEHaEI+G8GROhBQYGBgYGBgb+wep20VdWq7Pk4UlysZaPVQac5KN3dMEBsBFgS5gB/TkPbAkHwApMDeGBkPZoIqSxyptxc+7ESrfvYbI3cQAAAABJRU5ErkJggg=="},3727:function(e,t,i){},3735:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAB4BAMAAABV8CxBAAAAElBMVEVHcExddvVddvVed/Zed/VddvbtdwLcAAAABnRSTlMAmYgdSWYLydwmAAAAp0lEQVRIx+3QPQ6CYBCE4QnoARal5zMc4MOfHgp7TLz/WTQIFuq+JtQ77ZPsTFZaUl4P9pG3nZOZhxczF3/ajFvzsUyAR/NxY4AdoNc4YWGAA2BpgAXhQJgAodK8n7+wIOwIh9V4I0yEFhgYGBgYGBj4B6v7SV+Zrc2Sh63k4l4+VhlwlI/e0Ql7wFqADWEG9Oc8sSHsASsw1YQ7QtqjkZDGKq/G1XkAPGm3zmdwdrsAAAAASUVORK5CYII="},"55e9":function(e,t,i){"use strict";i("3727")},"64a4":function(e,t,i){},"9a75":function(e,t,i){},a5d7:function(e,t,i){},bbff:function(e,t,i){},c37f:function(e,t,i){"use strict";i("9a75")},d241:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e._self._c;return t("div",{staticClass:"warm-up",class:{"warm-up-with-banner":e.finalShowAdsBanner},style:e.getBgStyle},[t("page-header",{attrs:{"show-back":!!e.$route.query.back_c}}),t("welcome",{attrs:{"route-name":"vote"}}),t("div",{staticClass:"content"},[t("div",{staticClass:"content-main"},[t("vote",{attrs:{totalLikeData:e.votingData}}),t("top",{attrs:{newbieList:e.newbieList,topList:e.topList},on:{newbieChange:e.onNewbieChange,topChange:e.onTopChange,newbieLoadMore:e.onNewbieLoadMore,topLoadMore:e.onTopLoadMore}}),t("category",{attrs:{"world-list":e.worldList,"feature-list":e.featureList,"ai-list":e.aiList}})],1)]),t("back-to-top"),t("page-footer")],1)},o=[],a=(i("c2d8"),i("6d29")),s=i.n(a),r=i("2f62"),c=function(){var e=this,t=e._self._c;return t("div",{ref:"header",class:{header:!0,open:this.isMenuOpen,"white-bg":this.noBackdrop||"welcome"!==this.activeName}},[t("div",{staticClass:"toolbar"},[e.showBack?t("button",{staticClass:"back-btn",on:{click:e.goBack}}):t("img",{staticClass:"logo",attrs:{src:i("9d64")}}),e.isShowLanguages?t("div",{staticClass:"lang-select",on:{click:function(t){e.isLangOpen=!e.isLangOpen}}},[t("div",{staticClass:"current-lang"},[e._v(e._s(e.lang))]),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isLangOpen,expression:"isLangOpen"}]},e._l(e.langList,(function(i){return t("li",{key:i,on:{click:function(t){return e.changeLang(i)}}},[e._v(e._s(i))])})),0)]):e._e(),t("div",{staticClass:"right"},[t("div",{staticClass:"share-icon",on:{click:e.handleShareClick}}),t("div",{staticClass:"menu-icon",on:{click:e.handleMenuClick}})])]),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isMenuOpen,expression:"isMenuOpen"}],staticClass:"menu-list"},e._l(e.menus,(function(i){return t("li",{key:i.name,class:{active:i.name===e.activeName,"menu-item":!0},on:{click:function(t){return e.moveTo(i.name)}}},[e._v(" "+e._s(i.text)+" ")])})),0)])},l=[],d=i("ed08"),u=i("dd29"),p=i("12cb"),f=i("9cbb");const h=()=>{let e=localStorage.getItem("lang");return p["a"].includes(e)||(e="en"),e};var m={name:"PageHeader",props:{showBack:{type:Boolean,default:!1}},data(){return{lang:h(),langList:p["a"],isShowLanguages:!1,isLangOpen:!1,isMenuOpen:!1,activeName:"welcome",noBackdrop:!1,menus:[{name:"welcome",text:this.$t("voteSectionHome")},{name:"vote",text:this.$t("voteSectionVote")},{name:"category",text:this.$t("voteSectionCategory")}],checkActiveFunc:()=>{}}},mounted(){this.checkActiveFunc=Object(d["g"])(()=>{this.activeName=this.getCurrentPosition()},200),document.addEventListener("touchstart",this.closeMenu),window.addEventListener("scroll",this.checkActiveFunc);const e=document.querySelector(".header");void 0===e.style.backdropFilter&&(this.noBackdrop=!0)},beforeDestroy(){document.removeEventListener("touchstart",this.closeMenu),window.removeEventListener("scroll",this.checkActiveFunc)},methods:{goBack(){this.$router.go(-1)},closeMenu(e){e.target.matches(".menu-list, li.menu-item")||e.target.matches(".menu-icon")||(this.isMenuOpen=!1)},changeLang(e){this.lang=e,localStorage.setItem("lang",e),window.location.reload()},handleShareClick(){const{protocol:e,host:t}=location,i=`${e}//${t}/theme-competition/2025/go-theme.html?srouce=THEME®ion=${f["l"]}`;Object(d["b"])(i),s()({message:this.$t("copyLinkToClipbord"),duration:3e3})},handleMenuClick(){this.isMenuOpen=!this.isMenuOpen,this.$emit("open")},moveTo(e){this.isMenuOpen=!1,Object(d["e"])(e,{offsetTop:document.querySelector(".header").clientHeight||0})},getCurrentPosition(){const{scrollTop:e,scrollHeight:t,clientHeight:i}=document.documentElement;for(let n=this.menus.length-1;n>=0;n--){const{name:o}=this.menus[n],a=Object(u["b"])(document.querySelector("."+o)),s=e-a+(this.$refs.header.clientHeight||0);if(s>-1||e+i-t>=-1)return o}return this.menus[0].name}}},g=m,v=(i("2d0d"),i("2877")),b=Object(v["a"])(g,c,l,!1,null,"eb4ed5fe",null),y=b.exports,w=i("f505"),A=function(){var e=this,t=e._self._c;return t("div",{staticClass:"vote-container",class:"vote-"+e.$i18n.locale},[t("div",{staticClass:"introduction"},[e._v(e._s(e.$t("introduction")))]),t("div",{staticClass:"view-prize-container"},[t("router-link",{attrs:{to:{path:"/warm-up",query:{back_c:1,from:e.PAGE_REF.PUBLIC_VOTING_HOME}},tag:"a"}},[e._v(" "+e._s(e.$t("viewPrizesAndFeaturedThemes"))+" ")])],1),t("section-title",{staticClass:"vote"},[e._v(e._s(e.$t("voteSectionVote")))]),t("div",{staticClass:"vote-count-container"},[t("div",{staticClass:"vote-count-box"},[e._v(e._s(e.formattedLikeCount))]),t("div",{staticClass:"vote-tip-suffix"},[e._v(e._s(e.$t("votePeopelInfo")))]),t("div",{staticClass:"vote-tip-container"},[t("div",{staticClass:"vote-tip-text"},[e._v(e._s(e.$t("voteEveryDayTip")))]),t("div",{staticClass:"vote-tip-sub-text"},[e._v(e._s(e.$t("voteEveryDaySubTip")))])])])],1)},L=[],x=i("fa2b"),E={name:"Vote",components:{SectionTitle:x["a"]},props:{totalLikeData:{type:Object,default:()=>({})}},data(){return{PAGE_REF:f["j"]}},computed:{formattedLikeCount(){return this.totalLikeData.authorCount?String(this.totalLikeData.authorCount).replace(/(.)(?=(\d{3})+$)/g,"$1,"):"0"}},methods:{}},C=E,O=(i("1a39"),Object(v["a"])(C,A,L,!1,null,"21f006f0",null)),k=O.exports,T=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"topic-wrapper"},[t("top-list",{attrs:{title:e.$t("themeTitle1"),data:e.newbieList,options:e.allOptions,type:e.newbieType},on:{more:t=>{e.handleMore("newpieList",{title:e.$t("themeTitle1"),type:e.newbieList.type,...t})},like:e.onLike,unlike:e.onUnlike,change:e.handleNewbieChange,loadMore:e.handleNewbieLoadMore}})],1),t("div",{staticClass:"top-wrapper"},[t("top-list",{attrs:{title:e.$t("themeTitle2"),data:e.topList,options:e.allOptions,type:e.topType},on:{more:t=>{e.handleMore("topList",{title:e.$t("themeTitle2"),type:e.topList.type,...t})},like:e.onLike,unlike:e.onUnlike,change:e.handleTopChange,loadMore:e.handleTopLoadMore}})],1)])},_=[],S=(i("14d9"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"topic"},[t("div",{staticClass:"header"},[t("div",{staticClass:"title"},[e._v(e._s(e.title))]),t("div",{staticClass:"extra"},[t("Select",{attrs:{options:e.options},on:{change:e.handleChange},model:{value:e.themeType,callback:function(t){e.themeType=t},expression:"themeType"}}),t("div",{staticClass:"more-btn",on:{click:e.handleMore}},[e._v(e._s(e.$t("more")))])],1)]),t("div",{ref:"scroller",staticClass:"list"},[e._l(e.themeList,(function(i,n){return t("div",{key:`${i.productId}-${n}`,staticClass:"list-item"},[t("theme-item",{attrs:{data:i,size:"medium"},on:{like:e.onLike,unlike:e.onUnlike}})],1)})),e._l(e.emptyData,(function(i,n){return t("div",{key:`${i.productId}-${n}`,staticClass:"list-item"},[t("empty-item",{attrs:{info:e.$t("emptyInfo"),size:"medium"}})],1)}))],2)])}),M=[],I=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.handleClose,expression:"handleClose"}],staticClass:"m-select",on:{click:e.handleToggle}},[t("div",{ref:"reference",staticClass:"m-input"},[t("div",{staticClass:"m-input__inner"},[e._v(e._s(e.selectedLabel))]),t("input",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticClass:"m-input__inner",attrs:{type:"text",readonly:"readonly",autocomplete:"off"},domProps:{value:e.selectedLabel}}),t("span",{staticClass:"m-icon"},[t("span",{staticClass:"m-icon__inner"},[t("svg",{staticClass:"icon-arrow",attrs:{viewBox:"0 0 24 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M12.7776 14.0378C12.3774 14.533 11.6224 14.533 11.2222 14.0378L1.19195 1.62862C0.663379 0.974679 1.12882 -1.02978e-07 1.96967 -2.94682e-08L22.0302 1.72428e-06C22.871 1.79779e-06 23.3364 0.97468 22.8079 1.62862L12.7776 14.0378Z",fill:"#515151"}})])])])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"tooltip",staticClass:"m-popper"},[t("div",{staticClass:"m-popper__inner"},[t("ul",{staticClass:"m-select__list"},e._l(e.options,(function(i){return t("li",{key:i.value,class:{"m-select__list-item--active":i.value===e.innerValue},on:{click:function(t){return t.stopPropagation(),e.handleOptionClick(i)}}},[e._v(" "+e._s(i.label)+" ")])})),0)])])])},j=[];function B(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function D(e){var t=B(e).Element;return e instanceof t||e instanceof Element}function $(e){var t=B(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P(e){if("undefined"===typeof ShadowRoot)return!1;var t=B(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var N=Math.max,H=Math.min,R=Math.round;function V(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function G(){return!/^((?!chrome|android).)*safari/i.test(V())}function U(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&$(e)&&(o=e.offsetWidth>0&&R(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&R(n.height)/e.offsetHeight||1);var s=D(e)?B(e):window,r=s.visualViewport,c=!G()&&i,l=(n.left+(c&&r?r.offsetLeft:0))/o,d=(n.top+(c&&r?r.offsetTop:0))/a,u=n.width/o,p=n.height/a;return{width:u,height:p,top:d,right:l+u,bottom:d+p,left:l,x:l,y:d}}function F(e){var t=B(e),i=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:i,scrollTop:n}}function z(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function W(e){return e!==B(e)&&$(e)?z(e):F(e)}function q(e){return e?(e.nodeName||"").toLowerCase():null}function Q(e){return((D(e)?e.ownerDocument:e.document)||window.document).documentElement}function Y(e){return U(Q(e)).left+F(e).scrollLeft}function Z(e){return B(e).getComputedStyle(e)}function J(e){var t=Z(e),i=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function K(e){var t=e.getBoundingClientRect(),i=R(t.width)/e.offsetWidth||1,n=R(t.height)/e.offsetHeight||1;return 1!==i||1!==n}function X(e,t,i){void 0===i&&(i=!1);var n=$(t),o=$(t)&&K(t),a=Q(t),s=U(e,o,i),r={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!i)&&(("body"!==q(t)||J(a))&&(r=W(t)),$(t)?(c=U(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Y(a))),{x:s.left+r.scrollLeft-c.x,y:s.top+r.scrollTop-c.y,width:s.width,height:s.height}}function ee(e){var t=U(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function te(e){return"html"===q(e)?e:e.assignedSlot||e.parentNode||(P(e)?e.host:null)||Q(e)}function ie(e){return["html","body","#document"].indexOf(q(e))>=0?e.ownerDocument.body:$(e)&&J(e)?e:ie(te(e))}function ne(e,t){var i;void 0===t&&(t=[]);var n=ie(e),o=n===(null==(i=e.ownerDocument)?void 0:i.body),a=B(n),s=o?[a].concat(a.visualViewport||[],J(n)?n:[]):n,r=t.concat(s);return o?r:r.concat(ne(te(s)))}function oe(e){return["table","td","th"].indexOf(q(e))>=0}function ae(e){return $(e)&&"fixed"!==Z(e).position?e.offsetParent:null}function se(e){var t=/firefox/i.test(V()),i=/Trident/i.test(V());if(i&&$(e)){var n=Z(e);if("fixed"===n.position)return null}var o=te(e);P(o)&&(o=o.host);while($(o)&&["html","body"].indexOf(q(o))<0){var a=Z(o);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||t&&"filter"===a.willChange||t&&a.filter&&"none"!==a.filter)return o;o=o.parentNode}return null}function re(e){var t=B(e),i=ae(e);while(i&&oe(i)&&"static"===Z(i).position)i=ae(i);return i&&("html"===q(i)||"body"===q(i)&&"static"===Z(i).position)?t:i||se(e)||t}var ce="top",le="bottom",de="right",ue="left",pe="auto",fe=[ce,le,de,ue],he="start",me="end",ge="clippingParents",ve="viewport",be="popper",ye="reference",we=fe.reduce((function(e,t){return e.concat([t+"-"+he,t+"-"+me])}),[]),Ae=[].concat(fe,[pe]).reduce((function(e,t){return e.concat([t,t+"-"+he,t+"-"+me])}),[]),Le="beforeRead",xe="read",Ee="afterRead",Ce="beforeMain",Oe="main",ke="afterMain",Te="beforeWrite",_e="write",Se="afterWrite",Me=[Le,xe,Ee,Ce,Oe,ke,Te,_e,Se];function Ie(e){var t=new Map,i=new Set,n=[];function o(e){i.add(e.name);var a=[].concat(e.requires||[],e.requiresIfExists||[]);a.forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||o(e)})),n}function je(e){var t=Ie(e);return Me.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}function Be(e){var t;return function(){return t||(t=new Promise((function(i){Promise.resolve().then((function(){t=void 0,i(e())}))}))),t}}function De(e){var t=e.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}var $e={placement:"bottom",modifiers:[],strategy:"absolute"};function Pe(){for(var e=arguments.length,t=new Array(e),i=0;i=0?"x":"y"}function ze(e){var t,i=e.reference,n=e.element,o=e.placement,a=o?Ge(o):null,s=o?Ue(o):null,r=i.x+i.width/2-n.width/2,c=i.y+i.height/2-n.height/2;switch(a){case ce:t={x:r,y:i.y-n.height};break;case le:t={x:r,y:i.y+i.height};break;case de:t={x:i.x+i.width,y:c};break;case ue:t={x:i.x-n.width,y:c};break;default:t={x:i.x,y:i.y}}var l=a?Fe(a):null;if(null!=l){var d="y"===l?"height":"width";switch(s){case he:t[l]=t[l]-(i[d]/2-n[d]/2);break;case me:t[l]=t[l]+(i[d]/2-n[d]/2);break;default:}}return t}function We(e){var t=e.state,i=e.name;t.modifiersData[i]=ze({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var qe={name:"popperOffsets",enabled:!0,phase:"read",fn:We,data:{}},Qe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ye(e,t){var i=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:R(i*o)/o||0,y:R(n*o)/o||0}}function Ze(e){var t,i=e.popper,n=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,r=e.position,c=e.gpuAcceleration,l=e.adaptive,d=e.roundOffsets,u=e.isFixed,p=s.x,f=void 0===p?0:p,h=s.y,m=void 0===h?0:h,g="function"===typeof d?d({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=ue,w=ce,A=window;if(l){var L=re(i),x="clientHeight",E="clientWidth";if(L===B(i)&&(L=Q(i),"static"!==Z(L).position&&"absolute"===r&&(x="scrollHeight",E="scrollWidth")),L=L,o===ce||(o===ue||o===de)&&a===me){w=le;var C=u&&L===A&&A.visualViewport?A.visualViewport.height:L[x];m-=C-n.height,m*=c?1:-1}if(o===ue||(o===ce||o===le)&&a===me){y=de;var O=u&&L===A&&A.visualViewport?A.visualViewport.width:L[E];f-=O-n.width,f*=c?1:-1}}var k,T=Object.assign({position:r},l&&Qe),_=!0===d?Ye({x:f,y:m},B(i)):{x:f,y:m};return f=_.x,m=_.y,c?Object.assign({},T,(k={},k[w]=b?"0":"",k[y]=v?"0":"",k.transform=(A.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",k)):Object.assign({},T,(t={},t[w]=b?m+"px":"",t[y]=v?f+"px":"",t.transform="",t))}function Je(e){var t=e.state,i=e.options,n=i.gpuAcceleration,o=void 0===n||n,a=i.adaptive,s=void 0===a||a,r=i.roundOffsets,c=void 0===r||r,l={placement:Ge(t.placement),variation:Ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ze(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ze(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ke={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Je,data:{}};function Xe(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];$(o)&&q(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))}function et(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]),s=a.reduce((function(e,t){return e[t]="",e}),{});$(n)&&q(n)&&(Object.assign(n.style,s),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}}var tt={name:"applyStyles",enabled:!0,phase:"write",fn:Xe,effect:et,requires:["computeStyles"]};function it(e,t,i){var n=Ge(e),o=[ue,ce].indexOf(n)>=0?-1:1,a="function"===typeof i?i(Object.assign({},t,{placement:e})):i,s=a[0],r=a[1];return s=s||0,r=(r||0)*o,[ue,de].indexOf(n)>=0?{x:r,y:s}:{x:s,y:r}}function nt(e){var t=e.state,i=e.options,n=e.name,o=i.offset,a=void 0===o?[0,0]:o,s=Ae.reduce((function(e,i){return e[i]=it(i,t.rects,a),e}),{}),r=s[t.placement],c=r.x,l=r.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=s}var ot={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nt},at={left:"right",right:"left",bottom:"top",top:"bottom"};function st(e){return e.replace(/left|right|bottom|top/g,(function(e){return at[e]}))}var rt={start:"end",end:"start"};function ct(e){return e.replace(/start|end/g,(function(e){return rt[e]}))}function lt(e,t){var i=B(e),n=Q(e),o=i.visualViewport,a=n.clientWidth,s=n.clientHeight,r=0,c=0;if(o){a=o.width,s=o.height;var l=G();(l||!l&&"fixed"===t)&&(r=o.offsetLeft,c=o.offsetTop)}return{width:a,height:s,x:r+Y(e),y:c}}function dt(e){var t,i=Q(e),n=F(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=N(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=N(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),r=-n.scrollLeft+Y(e),c=-n.scrollTop;return"rtl"===Z(o||i).direction&&(r+=N(i.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:r,y:c}}function ut(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&P(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ft(e,t){var i=U(e,!1,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}function ht(e,t,i){return t===ve?pt(lt(e,i)):D(t)?ft(t,i):pt(dt(Q(e)))}function mt(e){var t=ne(te(e)),i=["absolute","fixed"].indexOf(Z(e).position)>=0,n=i&&$(e)?re(e):e;return D(n)?t.filter((function(e){return D(e)&&ut(e,n)&&"body"!==q(e)})):[]}function gt(e,t,i,n){var o="clippingParents"===t?mt(e):[].concat(t),a=[].concat(o,[i]),s=a[0],r=a.reduce((function(t,i){var o=ht(e,i,n);return t.top=N(o.top,t.top),t.right=H(o.right,t.right),t.bottom=H(o.bottom,t.bottom),t.left=N(o.left,t.left),t}),ht(e,s,n));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function vt(){return{top:0,right:0,bottom:0,left:0}}function bt(e){return Object.assign({},vt(),e)}function yt(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}function wt(e,t){void 0===t&&(t={});var i=t,n=i.placement,o=void 0===n?e.placement:n,a=i.strategy,s=void 0===a?e.strategy:a,r=i.boundary,c=void 0===r?ge:r,l=i.rootBoundary,d=void 0===l?ve:l,u=i.elementContext,p=void 0===u?be:u,f=i.altBoundary,h=void 0!==f&&f,m=i.padding,g=void 0===m?0:m,v=bt("number"!==typeof g?g:yt(g,fe)),b=p===be?ye:be,y=e.rects.popper,w=e.elements[h?b:p],A=gt(D(w)?w:w.contextElement||Q(e.elements.popper),c,d,s),L=U(e.elements.reference),x=ze({reference:L,element:y,strategy:"absolute",placement:o}),E=pt(Object.assign({},y,x)),C=p===be?E:L,O={top:A.top-C.top+v.top,bottom:C.bottom-A.bottom+v.bottom,left:A.left-C.left+v.left,right:C.right-A.right+v.right},k=e.modifiersData.offset;if(p===be&&k){var T=k[o];Object.keys(O).forEach((function(e){var t=[de,le].indexOf(e)>=0?1:-1,i=[ce,le].indexOf(e)>=0?"y":"x";O[e]+=T[i]*t}))}return O}function At(e,t){void 0===t&&(t={});var i=t,n=i.placement,o=i.boundary,a=i.rootBoundary,s=i.padding,r=i.flipVariations,c=i.allowedAutoPlacements,l=void 0===c?Ae:c,d=Ue(n),u=d?r?we:we.filter((function(e){return Ue(e)===d})):fe,p=u.filter((function(e){return l.indexOf(e)>=0}));0===p.length&&(p=u);var f=p.reduce((function(t,i){return t[i]=wt(e,{placement:i,boundary:o,rootBoundary:a,padding:s})[Ge(i)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}function Lt(e){if(Ge(e)===pe)return[];var t=st(e);return[ct(e),t,ct(t)]}function xt(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=i.mainAxis,a=void 0===o||o,s=i.altAxis,r=void 0===s||s,c=i.fallbackPlacements,l=i.padding,d=i.boundary,u=i.rootBoundary,p=i.altBoundary,f=i.flipVariations,h=void 0===f||f,m=i.allowedAutoPlacements,g=t.options.placement,v=Ge(g),b=v===g,y=c||(b||!h?[st(g)]:Lt(g)),w=[g].concat(y).reduce((function(e,i){return e.concat(Ge(i)===pe?At(t,{placement:i,boundary:d,rootBoundary:u,padding:l,flipVariations:h,allowedAutoPlacements:m}):i)}),[]),A=t.rects.reference,L=t.rects.popper,x=new Map,E=!0,C=w[0],O=0;O=0,M=S?"width":"height",I=wt(t,{placement:k,boundary:d,rootBoundary:u,altBoundary:p,padding:l}),j=S?_?de:ue:_?le:ce;A[M]>L[M]&&(j=st(j));var B=st(j),D=[];if(a&&D.push(I[T]<=0),r&&D.push(I[j]<=0,I[B]<=0),D.every((function(e){return e}))){C=k,E=!1;break}x.set(k,D)}if(E)for(var $=h?3:1,P=function(e){var t=w.find((function(t){var i=x.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},N=$;N>0;N--){var H=P(N);if("break"===H)break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}}var Et={name:"flip",enabled:!0,phase:"main",fn:xt,requiresIfExists:["offset"],data:{_skip:!1}};function Ct(e){return"x"===e?"y":"x"}function Ot(e,t,i){return N(e,H(t,i))}function kt(e,t,i){var n=Ot(e,t,i);return n>i?i:n}function Tt(e){var t=e.state,i=e.options,n=e.name,o=i.mainAxis,a=void 0===o||o,s=i.altAxis,r=void 0!==s&&s,c=i.boundary,l=i.rootBoundary,d=i.altBoundary,u=i.padding,p=i.tether,f=void 0===p||p,h=i.tetherOffset,m=void 0===h?0:h,g=wt(t,{boundary:c,rootBoundary:l,padding:u,altBoundary:d}),v=Ge(t.placement),b=Ue(t.placement),y=!b,w=Fe(v),A=Ct(w),L=t.modifiersData.popperOffsets,x=t.rects.reference,E=t.rects.popper,C="function"===typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"===typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(L){if(a){var _,S="y"===w?ce:ue,M="y"===w?le:de,I="y"===w?"height":"width",j=L[w],B=j+g[S],D=j-g[M],$=f?-E[I]/2:0,P=b===he?x[I]:E[I],R=b===he?-E[I]:-x[I],V=t.elements.arrow,G=f&&V?ee(V):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:vt(),F=U[S],z=U[M],W=Ot(0,x[I],G[I]),q=y?x[I]/2-$-W-F-O.mainAxis:P-W-F-O.mainAxis,Q=y?-x[I]/2+$+W+z+O.mainAxis:R+W+z+O.mainAxis,Y=t.elements.arrow&&re(t.elements.arrow),Z=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,J=null!=(_=null==k?void 0:k[w])?_:0,K=j+q-J-Z,X=j+Q-J,te=Ot(f?H(B,K):B,j,f?N(D,X):D);L[w]=te,T[w]=te-j}if(r){var ie,ne="x"===w?ce:ue,oe="x"===w?le:de,ae=L[A],se="y"===A?"height":"width",pe=ae+g[ne],fe=ae-g[oe],me=-1!==[ce,ue].indexOf(v),ge=null!=(ie=null==k?void 0:k[A])?ie:0,ve=me?pe:ae-x[se]-E[se]-ge+O.altAxis,be=me?ae+x[se]+E[se]-ge-O.altAxis:fe,ye=f&&me?kt(ve,ae,be):Ot(f?ve:pe,ae,f?be:fe);L[A]=ye,T[A]=ye-ae}t.modifiersData[n]=T}}var _t={name:"preventOverflow",enabled:!0,phase:"main",fn:Tt,requiresIfExists:["offset"]},St=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,bt("number"!==typeof e?e:yt(e,fe))};function Mt(e){var t,i=e.state,n=e.name,o=e.options,a=i.elements.arrow,s=i.modifiersData.popperOffsets,r=Ge(i.placement),c=Fe(r),l=[ue,de].indexOf(r)>=0,d=l?"height":"width";if(a&&s){var u=St(o.padding,i),p=ee(a),f="y"===c?ce:ue,h="y"===c?le:de,m=i.rects.reference[d]+i.rects.reference[c]-s[c]-i.rects.popper[d],g=s[c]-i.rects.reference[c],v=re(a),b=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,w=u[f],A=b-p[d]-u[h],L=b/2-p[d]/2+y,x=Ot(w,L,A),E=c;i.modifiersData[n]=(t={},t[E]=x,t.centerOffset=x-L,t)}}function It(e){var t=e.state,i=e.options,n=i.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!==typeof o||(o=t.elements.popper.querySelector(o),o))&&ut(t.elements.popper,o)&&(t.elements.arrow=o)}var jt={name:"arrow",enabled:!0,phase:"main",fn:Mt,effect:It,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Bt(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Dt(e){return[ce,de,le,ue].some((function(t){return e[t]>=0}))}function $t(e){var t=e.state,i=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=wt(t,{elementContext:"reference"}),r=wt(t,{altBoundary:!0}),c=Bt(s,n),l=Bt(r,o,a),d=Dt(c),u=Dt(l);t.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}var Pt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$t},Nt=[Ve,qe,Ke,tt,ot,Et,_t,jt,Pt],Ht=Ne({defaultModifiers:Nt});const Rt=[],Vt="@@clickoutsideContext";let Gt,Ut=0;function Ft(e,t,i){return function(n={},o={}){!(i&&i.context&&n.target&&o.target)||e.contains(n.target)||e.contains(o.target)||e===n.target||i.context.popperElm&&(i.context.popperElm.contains(n.target)||i.context.popperElm.contains(o.target))||(t.expression&&e[Vt].methodName&&i.context[e[Vt].methodName]?i.context[e[Vt].methodName]():e[Vt].bindingFn&&e[Vt].bindingFn())}}document.addEventListener("mousedown",e=>Gt=e),document.addEventListener("mouseup",e=>{Rt.forEach(t=>t[Vt].documentHandler(e,Gt))});var zt={bind(e,t,i){Rt.push(e);const n=Ut++;e[Vt]={id:n,documentHandler:Ft(e,t,i),methodName:t.expression,bindingFn:t.value}},update(e,t,i){e[Vt].documentHandler=Ft(e,t,i),e[Vt].methodName=t.expression,e[Vt].bindingFn=t.value},unbind(e){let t=Rt.length;for(let i=0;i[]}},data(){return{visible:!1,selectedLabel:"",innerValue:""}},watch:{value:{handler(e){this.innerValue=e;const t=this.options.find(t=>t.value===e);t&&(this.selectedLabel=t.label)},immediate:!0}},methods:{handleClose(){this.visible=!1},handleToggle(){this.visible=!this.visible,this.visible&&this.$nextTick(()=>{this.popper.update()})},handleOptionClick(e){this.selectedLabel=e.label,this.innerValue=e.value,this.$emit("input",e.value),this.$emit("change",e.value),this.visible=!1}},mounted(){this.popper=Ht(this.$refs.reference,this.$refs.tooltip,{placement:"bottom-start"})},beforeDestroy(){this.popper&&this.popper.destroy()}},qt=Wt,Qt=(i("3369"),Object(v["a"])(qt,I,j,!1,null,"bdf537b2",null)),Yt=Qt.exports,Zt=i("46da"),Jt=i("76cb"),Kt={name:"Topic",components:{Select:Yt,ThemeItem:Zt["a"],EmptyItem:Jt["a"]},props:{title:{type:String,default:""},data:{type:Object,default:()=>({})},options:{type:Array,default:()=>[]},type:{type:String,default:""}},data(){return{themeType:""}},computed:{themeList(){return this.data.products||[]},emptyData(){const e=this.data.products.length;return e<=3?f["b"].slice(0,3-e):[]}},watch:{type:{handler(e){this.themeType=e,this.themeType!==e&&this.handleChange(e)},immediate:!0}},mounted(){const e=this.$refs.scroller;e.addEventListener("scroll",this.loadMore,!1)},beforeDestroy(){const e=this.$refs.scroller;e.removeEventListener("scroll",this.loadMore,!1)},methods:{handleMore(){this.$emit("more",{title:this.title,id:this.themeType})},onLike(){this.$emit("like")},onUnlike(){this.$emit("unlike")},handleChange(e){this.$emit("change",e)},loadMore(){const e=this.$refs.scroller,t=e.scrollWidth-e.scrollLeft-e.clientHeight;t<100&&this.$emit("loadMore",{title:this.title,id:this.themeType})}}},Xt=Kt,ei=(i("c37f"),Object(v["a"])(Xt,S,M,!1,null,"f248f55e",null)),ti=ei.exports,ii={name:"Topic",components:{TopList:ti},props:{title:{type:String,default:""},newbieList:{type:Object,default:()=>({products:[]})},topList:{type:Object,default:()=>({products:[]})}},data(){return{allOptions:[{label:this.$t("lockscreenCategorySelect"),value:f["a"].FEATURE_THEME},{label:this.$t("mainCategory"),value:f["a"].WORLD_WALLPAPER},{label:this.$t("gameCategory"),value:f["a"].AI_VIDEO}],newbieType:sessionStorage.getItem("newbieListType")||f["a"].FEATURE_THEME,topType:sessionStorage.getItem("topListType")||f["a"].FEATURE_THEME}},computed:{options(){return this.allOptions.filter(e=>!f["f"]||"TEST-COMMON"!==e.value)}},mounted(){this.handleNewbieChange(this.newbieType),this.handleTopChange(this.topType)},methods:{handleMore(e,t={},i=!0){i&&this.$router.push({name:e,query:{...t,back_c:1,from:f["j"].PUBLIC_VOTING_HOME}})},onLike(e){this.$emit("updateItem",e)},onUnlike(e){this.$emit("updateItem",e)},handleNewbieChange(e){sessionStorage.setItem("newbieListType",e),this.$emit("newbieChange",e)},handleTopChange(e){sessionStorage.setItem("topListType",e),this.$emit("topChange",e)},handleNewbieLoadMore(e){this.$emit("newbieLoadMore",e)},handleTopLoadMore(e){this.$emit("topLoadMore",e)}}},ni=ii,oi=(i("115f"),Object(v["a"])(ni,T,_,!1,null,"40fac8d2",null)),ai=oi.exports,si=function(){var e=this,t=e._self._c;return t("div",{staticClass:"category"},[t("section-title",{staticClass:"section-title"},[e._v(e._s(e.$t("voteSectionCategory")))]),t("category-block",{attrs:{title:e.$t("mainCategory"),subtitle:e.$t("mainCategorySubtitle"),"title-color":"rgba(251, 134, 226, 0.6)",name:e.$t("mainCategoryName"),desc:e.$t("mainCategoryDesc"),data:e.worldList},on:{"more-click":function(t){var i,n;e.goPage("ThemeList",{title:e.$t("mainCategory"),type:null===(i=e.worldList)||void 0===i?void 0:i.type,id:null===(n=e.worldList)||void 0===n?void 0:n.subType})}}}),t("category-block",{attrs:{title:e.$t("lockscreenCategory"),subtitle:e.$t("lockscreenCategorySubtitle"),"title-color":"rgba(156, 118, 255, 0.6)","title-bg-type":1,name:e.$t("lockscreenCategoryName"),desc:e.$t("lockscreenCategoryDesc"),data:e.featureList},on:{"more-click":function(t){var i,n;e.goPage("ThemeList",{title:e.$t("lockscreenCategory"),type:null===(i=e.featureList)||void 0===i?void 0:i.type,id:null===(n=e.featureList)||void 0===n?void 0:n.subType})}}}),t("category-block",{attrs:{title:e.$t("gameCategory"),subtitle:e.$t("gameCategorySubtitle"),"title-color":"rgba(93, 119, 245, 0.6)","title-bg-type":2,name:e.$t("gameCategoryName"),desc:e.$t("gameCategoryDesc"),data:e.aiList},on:{"more-click":function(t){var i,n;e.goPage("ThemeList",{title:e.$t("gameCategoryName"),type:null===(i=e.aiList)||void 0===i?void 0:i.type,id:null===(n=e.aiList)||void 0===n?void 0:n.subType})}}})],1)},ri=[],ci=function(){var e=this,t=e._self._c;return t("div",{staticClass:"category-block"},[t("div",{staticClass:"category-title-container"},[t("img",{staticClass:"category-title-bg",attrs:{src:e.titleBgSrc,alt:""}}),t("div",{staticClass:"category-title",style:{background:e.titleColor}},[e._v(" "+e._s(e.title)+" ")])]),t("div",{staticClass:"subject-info"},[t("div",{staticClass:"subject-title"},[e._v(e._s(e.subtitle))]),t("div",{staticClass:"subject-box"},[t("div",{staticClass:"subject-desc"},[e._v(e._s(e.desc))]),t("div",{staticClass:"more-btn",on:{click:e.moreClick}},[e._v(e._s(e.$t("more")))])])]),t("div",{class:["category-theme-list",{"not-full":e.themeList.length<3}]},[e._l(e.themeList,(function(i,n){return t("div",{key:`${i.productId}-${n}`,staticClass:"category-theme-item",on:{click:e.moreClick}},[t("theme-item",{attrs:{data:i,size:"small",isDetail:!1,type:e.data.type,"sub-type":e.data.subType}})],1)})),e._l(e.emptyData,(function(i,n){return t("div",{key:`${i.productId}-${n}`,staticClass:"category-theme-item",on:{click:e.moreClick}},[t("empty-item",{attrs:{info:e.$t("emptyInfo"),size:"small"}})],1)}))],2)])},li=[],di=i("3546"),ui=i.n(di),pi=i("2a70"),fi=i.n(pi),hi=i("3735"),mi=i.n(hi),gi=i("6039"),vi={name:"CategoryBlock",components:{ThemeItem:Zt["a"],EmptyItem:Jt["a"]},props:{title:{required:!0,default:""},subtitle:{default:""},titleColor:{default:"rgba(93, 119, 245, 0.6)"},titleBgType:{type:Number,default:0},name:{required:!0,default:""},desc:{required:!0,default:""},data:{default:()=>({})}},data(){return{LIKE_TYPE:f["i"],LIKE_STATUS:f["h"],imgBg:[ui.a,fi.a,mi.a]}},computed:{themeList(){return this.data.products||[]},emptyData(){const e=this.data.products.length;return e<=3?f["b"].slice(0,3-e):[]},titleBgSrc(){return this.imgBg[this.titleBgType||0]},isCategoryNameTooLong(){return this.name.length>=14}},methods:{moreClick(){this.$emit("more-click")},goThemeDetail(e){const t={clientInfo:Object(d["c"])(),contentType:"THEME",action:"CLICK",pageId:this.pageId,source:this.$route.query.source||"",trackIds:[e.trackId]};Object(gi["a"])(t),window.location.href=this.formatThemeLink(e.link)}}},bi=vi,yi=(i("dfc6"),Object(v["a"])(bi,ci,li,!1,null,"a189a58a",null)),wi=yi.exports,Ai={name:"Category",components:{CategoryBlock:wi,SectionTitle:x["a"]},props:{worldList:{type:Object,default:()=>({products:[]})},featureList:{type:Object,default:()=>({products:[]})},aiList:{type:Object,default:()=>({products:[]})}},methods:{goPage(e,t={},i=!0){i&&this.$router.push({name:e,query:{...t,back_c:1,from:f["j"].PUBLIC_VOTING_HOME,id:null===t||void 0===t?void 0:t.id}})}}},Li=Ai,xi=(i("0503"),Object(v["a"])(Li,si,ri,!1,null,"180b6b4c",null)),Ei=xi.exports,Ci=i("fd2d"),Oi=i("205c"),ki=i("c69e"),Ti={name:"Index",components:{PageHeader:y,Welcome:w["a"],Vote:k,Top:ai,Category:Ei,PageFooter:Ci["a"],BackToTop:Oi["a"]},provide(){return{pageId:f["k"].HOME_PAGE}},data(){var e,t,n,o,a;return{bgUrl:f["u"]?i("0baa"):i("74eb"),isBack:!1,PAGE_REF:f["j"],votingData:{totalLikeCount:0,authorCount:0},newbieList:{type:f["k"].SUBJECT_PAGE_1,subjectId:(null===(e=f["s"][f["p"]])||void 0===e?void 0:e[f["a"].FEATURE_THEME])||f["s"].SG[f["a"].FEATURE_THEME],products:[],pageSize:10,page:1,hasMore:!0},topList:{type:f["k"].SUBJECT_PAGE_2,subjectId:(null===(t=f["s"][f["p"]])||void 0===t?void 0:t[f["a"].FEATURE_THEME])||f["s"].SG[f["a"].FEATURE_THEME],products:[],pageSize:10,page:1,hasMore:!0},worldList:{type:f["k"].IP_PAGE,subType:f["a"].WORLD_WALLPAPER,subjectId:(null===(n=f["s"][f["p"]])||void 0===n?void 0:n[f["a"].WORLD_WALLPAPER])||f["s"].SG[f["a"].WORLD_WALLPAPER],products:[],pageSize:3,page:1,hasMore:!0},featureList:{type:f["k"].IP_PAGE,subType:f["a"].FEATURE_THEME,subjectId:(null===(o=f["s"][f["p"]])||void 0===o?void 0:o[f["a"].FEATURE_THEME])||f["s"].SG[f["a"].FEATURE_THEME],products:[],pageSize:3,page:1,hasMore:!0},aiList:{type:f["k"].IP_PAGE,subType:f["a"].AI_VIDEO,subjectId:(null===(a=f["s"][f["p"]])||void 0===a?void 0:a[f["a"].AI_VIDEO])||f["s"].SG[f["a"].AI_VIDEO],products:[],pageSize:3,page:1,hasMore:!0}}},computed:{...Object(r["c"])(["finalShowAdsBanner"]),...Object(r["e"])({currentStep:e=>e.currentStep}),getBgStyle(){return{background:`url(${this.bgUrl}) no-repeat`,backgroundSize:"cover",backgroundPosition:"center 0"}}},beforeRouteEnter(e,t,i){t.query.from===f["j"].PUBLIC_VOTING_HOME?i(e=>e.isBack=!0):i()},beforeRouteLeave(e,t,i){try{window.sessionStorage.setItem(f["m"].VOTING_HOME_SCROLL_Y,""+window.scrollY)}catch(n){}i()},created(){this.getCountdownData(),this.getInitData(),this.$bus.$on(f["c"].LOGIN,this.getInitData)},mounted(){this.height=window.innerHeight,this.trackAdsExposure(f["k"].HOME_PAGE);const e={clientInfo:Object(d["c"])(),contentType:"PAGE",pageId:f["k"].HOME_PAGE,source:this.$route.query.source||f["n"]||"",trackIds:["home_page_exposure"]};Object(gi["b"])(e)},methods:{...Object(r["b"])(["getCountdownData"]),async getInitData(){try{await Promise.all([this.getVotingData(),this.getThemeListWorld({pageSize:3,pageIndex:1}),this.getThemeListFeature({pageSize:3,pageIndex:1}),this.getThemeListAI({pageSize:3,pageIndex:1})]);const e=Number(window.sessionStorage.getItem(f["m"].VOTING_HOME_SCROLL_Y));e&&this.isBack&&this.$nextTick(()=>{document.documentElement.scrollTop=e}),window.sessionStorage.removeItem(f["m"].VOTING_HOME_SCROLL_Y)}catch(e){}},async getVotingData(){try{const e=await Object(ki["c"])({year:"2025"}),{apiCode:t,apiData:i={},apiMessage:n}=e;"0"===t?(this.votingData.totalLikeCount=(null===i||void 0===i?void 0:i.totalLikeCount)||0,this.votingData.authorCount=(null===i||void 0===i?void 0:i.authorCount)||0):s()({message:n||"Network Error",duration:3e3})}catch(i){var e,t;s()({message:(null===(e=i.response)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.apiMessage)||i.message||"Network Error",duration:3e3})}},async getThemeListData(e,t){try{const i=await Object(ki["a"])(e),{apiCode:n,apiData:o,apiMessage:a}=i;if("0"===n){const e=this[t],i=(null===o||void 0===o?void 0:o.products)||[];e.products=1===e.page?i:e.products.concat(i),e.hasMore=i.length>=e.pageSize}else s()({message:a||"Network Error",duration:3e3})}catch(o){var i,n;s()({message:(null===(i=o.response)||void 0===i||null===(n=i.data)||void 0===n?void 0:n.apiMessage)||o.message||"Network Error",duration:3e3})}},setList(){},async getThemeListNewbie(e){return this.getThemeListData({order:3,...e},"newbieList")},async getThemeListTop(e){try{const t=await Object(ki["b"])(e),{apiCode:i,apiData:n,apiMessage:o}=t;if("0"===i){const e=this.topList,t=(null===n||void 0===n?void 0:n.products)||[];e.products=1===e.page?t:e.products.concat(t),e.hasMore=t.length>=e.pageSize}else s()({message:o||"Network Error",duration:3e3})}catch(n){var t,i;s()({message:(null===(t=n.response)||void 0===t||null===(i=t.data)||void 0===i?void 0:i.apiMessage)||n.message||"Network Error",duration:3e3})}},async getThemeListFeature(e){return this.getThemeListData({subjectId:this.featureList.subjectId,...e},"featureList")},async getThemeListWorld(e){return this.getThemeListData({subjectId:this.worldList.subjectId,...e},"worldList")},async getThemeListAI(e){return this.getThemeListData({subjectId:this.aiList.subjectId,...e},"aiList")},onNewbieChange(e){var t;this.newbieList.page=1,this.newbieList.products=[];const{page:i,pageSize:n}=this.newbieList,o=(null===(t=f["s"][f["p"]])||void 0===t?void 0:t[e])||f["s"].SG[e];this.getThemeListNewbie({subjectId:o,pageSize:n,pageIndex:i})},onTopChange(e){var t;this.topList.page=1,this.topList.products=[];const{page:i,pageSize:n}=this.topList,o=(null===(t=f["s"][f["p"]])||void 0===t?void 0:t[e])||f["s"].SG[e];this.getThemeListTop({subjectId:o,pageSize:n,pageIndex:i})},async onNewbieLoadMore({id:e}){const{page:t,pageSize:i,loading:n,hasMore:o}=this.newbieList;var a;!n&&o&&t<10&&(this.newbieList.page+=1,this.newbieList.loading=!0,await this.getThemeListNewbie({subjectId:(null===(a=f["s"][f["p"]])||void 0===a?void 0:a[e])||f["s"].SG[e],pageSize:i,pageIndex:t+1}),this.newbieList.loading=!1)},async onTopLoadMore({id:e}){const{page:t,pageSize:i,loading:n,hasMore:o}=this.topList;var a;!n&&o&&t<10&&(this.topList.page+=1,this.topList.loading=!0,await this.getThemeListTop({subjectId:(null===(a=f["s"][f["p"]])||void 0===a?void 0:a[e])||f["s"].SG[e],pageSize:i,pageIndex:t+1}),this.topList.loading=!1)}}},_i=Ti,Si=(i("55e9"),Object(v["a"])(_i,n,o,!1,null,"cd682fca",null));t["default"]=Si.exports},dc32:function(e,t,i){},dfc6:function(e,t,i){"use strict";i("1852")}}]);