"use strict";(self.webpackChunk_client_app_store=self.webpackChunk_client_app_store||[]).push([[5966],{29397:function(t,e,n){n.d(e,{Z:function(){return a}});var r=function(){var t=this;return(0,t._self._c)("ListItemImpl",{attrs:{logo:t.item.img_url,name:t.item.head,desc:t.item.subhead,button:t.btn},on:{click:t.onClick,"btn-click":function(e){return t.$emit("btn-click",e)}}})};r._withStripped=!0;var o=n(11379),i={components:{ListItemImpl:n(48365).Z},mixins:[o.Z]},a=(0,n(6080).Z)(i,r,[],!1,null,null,null).exports},42068:function(t,e,n){n.d(e,{Z:function(){return c}});var r=function(){var t=this,e=t._self._c;return t.data?e(t.data.component,{tag:"component",attrs:{item:t.data.data,"auth-report-task":t.authReportTask},on:{click:function(e){return t.$emit("click",e)},"btn-click":function(e){return t.$emit("btn-click",e)}}}):t._e()};r._withStripped=!0;var o=n(46009),i=n(29397),a=n(35837),c=(0,n(6080).Z)({props:{item:{type:Object,required:!0},authReportTask:{type:Object,default:null}},computed:{data:function(){return this.item.app_data?{component:o.Z,data:this.item.app_data}:this.item.promotioncase_data?{component:a.Z,data:this.item.promotioncase_data}:this.item.hardware_data?{component:i.Z,data:this.item.hardware_data}:void 0}}},r,[],!1,null,null,null).exports},35837:function(t,e,n){n.d(e,{Z:function(){return a}});var r=function(){var t=this;return(0,t._self._c)("ListItemImpl",{attrs:{logo:t.item.logo,name:t.item.title,desc:t.desc,button:t.btn},on:{click:t.onClick,"btn-click":function(e){return t.$emit("btn-click",e)}}})};r._withStripped=!0;var o=n(96464),i={components:{ListItemImpl:n(48365).Z},mixins:[o.Z],props:{authReportTask:{type:Object,default:null}},methods:{getAuthReportTasks:function(){if(this.authReportTask)return[this.authReportTask]}}},a=(0,n(6080).Z)(i,r,[],!1,null,null,null).exports},14995:function(t,e,n){n.r(e),n.d(e,{default:function(){return d}});var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"category_stage",class:{category_Web:t.isWeb,category_Mng:t.isMng}},[t._l(t.category.product_type,function(n){return[t.productAppMap[n.product_id]?e("div",{key:n.product_id,staticClass:"sect"},[e("div",{staticClass:"title"},[t._v("\n        "+t._s(n.product_name)+"\n      ")]),t._v(" "),e("div",{staticClass:"cnt"},[t._l(t.productAppMap[n.product_id],function(r,o){return e("ExposureObserverForOnce",{key:o,on:{exposure:function(e){return t.onExposureItem(n,r,o)}}},[e("ListItem",{staticClass:"item",attrs:{item:r,"auth-report-task":t.getAuthReportTask(n,r,o)},on:{click:function(e){return t.onClickItem(n,r,o)},"btn-click":function(e){return t.onClickItemBtn(n,r,e,o)}}})],1)}),t._v(" "),t._l(10,function(t){return e("div",{key:"placeholder-".concat(t),staticClass:"placeholder"})})],2)]):t._e()]})],2)};r._withStripped=!0;var o=n(97161),i=n(63097),a=n(9084),c=n(42068),u=n(62133);function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s={components:{ListItem:c.Z,ExposureObserverForOnce:i.Z},computed:{isWeb:function(){return this.$clientEnv.web},isMng:function(){return this.$clientEnv.mng},state:function(){return this.$ctrl.home.state},data:function(){return this.state.data},categoryId:function(){return Number(this.$route.query.id)},category:function(){var t=this;return this.data.recommend_item_list.find(function(e){return Number(e.category_id)===t.categoryId})},productAppMap:function(){return o.mapValues(o.groupBy(this.category.item,"product_id"),function(t){return o.sortBy(t,"order")})}},methods:{onClickItem:function(t,e,n){this.reportClick(t,u.$8.detail,e,n)},onClickItemBtn:function(t,e,n,r){var o,i=(p(o={},a.Us.add,u.$8.add),p(o,a.Us.recommend,u.$8.recommend),o);i[n.type]&&this.reportClick(t,i[n.type],e,r)},reportClick:function(t,e,n,r){(0,u.UH)(this,{scene:e,pageindex:u.UK.TAB_SECOND,categoryname:t.product_name,hasAddAppPrivilege:this.state.hasAddAppPrivilege,item:n,appnumber:r})},onExposureItem:function(t,e,n){(0,u.RP)(this,{scene:u.$8.NONE,pageindex:u.UK.TAB_SECOND,categoryname:t.product_name,hasAddAppPrivilege:this.state.hasAddAppPrivilege,item:e,appnumber:n},{maxReportTimes:1,tokenPrefix:"".concat(t.product_id)})},getAuthReportTask:function(t,e,n){return(0,u.nF)(this,{scene:u.$8.NONE,pageindex:u.UK.TAB_SECOND,categoryname:t.product_name,hasAddAppPrivilege:this.state.hasAddAppPrivilege,item:e,appnumber:n})}}},d=(0,n(6080).Z)(s,r,[],!1,null,"300db5d4",null).exports},62133:function(t,e,n){n.d(e,{$8:function(){return i},RP:function(){return y},UH:function(){return f},UK:function(){return a},nF:function(){return h}});var r,o,i,a,c=n(86055),u=n(34176),p=n(23034);function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r,o;r=t,o=n[e],e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o})}return t}function d(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):(function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n.push.apply(n,r)}return n})(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function l(t){return t==="".concat(c.NJ.RECOMMEND_AD_FLAG_HOME_PAGE)?1:2}function m(t,e){var n,r,o,i,a=e.scene,c=e.pageindex,p=e.categoryname,s=e.appnumber,d=e.item,m=e.hasAddAppPrivilege,f=e.clickType,y=function(t){var e,n,r=(null==t?void 0:t.promotioncase_data)||t.open_case_id&&t;if(r)return{targetType:2,opencaseid:null==r?void 0:r.open_case_id,adsType:l(null==r?void 0:r.ad_flag)};if(t.hardware_data)return{targetType:3,hardwareid:null===(e=t.hardware_data)||void 0===e?void 0:e.good_id,adsType:l(null===(n=t.hardware_data)||void 0===n?void 0:n.ad_flag)};if(t.category_id)return{targetType:4,categoryname:t.category_name};var o=(null==t?void 0:t.app_data)||t.thirdapp_id&&t;return{targetType:1,thirdappid:(null==o?void 0:o.thirdapp_id)||0,adsType:l(null==o?void 0:o.ad_flag)}}(d);return{key:80001409,value:["%Vid","%Platform","%OS","%Version","%ClientIP","%ClientTime","%corpid","%gid",m?1:0,y.targetType,a,c,null!==(n=y.thirdappid)&&void 0!==n?n:0,null!==(r=y.opencaseid)&&void 0!==r?r:0,null!==(o=y.hardwareid)&&void 0!==o?o:0,null!=p?p:0,(0,u.pL)(t),null!==(i=y.adsType)&&void 0!==i?i:2,s,f]}}function f(t,e){t.$reportOsslog(m(t,d(s({},e),{clickType:2})))}function y(t,e,n){(0,p.kn)(t,n,m(t,d(s({},e),{clickType:1})))}function h(t,e){return{type:"osslog",data:m(t,d(s({},e),{clickType:3}))}}(r=i||(i={}))[r.NONE=0]="NONE",r[r.detail=1]="detail",r[r.add=2]="add",r[r.recommend=3]="recommend",r[r.more=4]="more",(o=a||(a={}))[o.TAB_HOME=1]="TAB_HOME",o[o.TAB_SECOND=2]="TAB_SECOND"},92021:function(t){t.exports=function(t,n,r,o){n=n||"&",r=r||"=";var i={};if("string"!=typeof t||0===t.length)return i;var a=/\+/g;t=t.split(n);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var u=t.length;c>0&&u>c&&(u=c);for(var p=0;p<u;++p){var s,d,l,m,f=t[p].replace(a,"%20"),y=f.indexOf(r);(y>=0?(s=f.substr(0,y),d=f.substr(y+1)):(s=f,d=""),l=decodeURIComponent(s),m=decodeURIComponent(d),Object.prototype.hasOwnProperty.call(i,l))?e(i[l])?i[l].push(m):i[l]=[i[l],m]:i[l]=m}return i};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},95268:function(t){var e=function(t){switch(void 0===t?"undefined":t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,i,a,c){return(i=i||"&",a=a||"=",null===t&&(t=void 0),"object"==typeof t)?r(o(t),function(o){var c=encodeURIComponent(e(o))+a;return n(t[o])?r(t[o],function(t){return c+encodeURIComponent(e(t))}).join(i):c+encodeURIComponent(e(t[o]))}).join(i):c?encodeURIComponent(e(c))+a+encodeURIComponent(e(t)):""};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function r(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var o=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},55517:function(t,e,n){e.decode=e.parse=n(92021),e.encode=e.stringify=n(95268)}}]);