window.__require=function o(t,n,e){function c(r,i){if(!n[r]){if(!t[r]){var a=r.split("/");if(a=a[a.length-1],!t[a]){var s="function"==typeof __require&&__require;if(!i&&s)return s(a,!0);if(l)return l(a,!0);throw new Error("Cannot find module '"+r+"'")}}var u=n[r]={exports:{}};t[r][0].call(u.exports,function(o){return c(t[r][1][o]||o)},u,u.exports,o,t,n,e)}return n[r].exports}for(var l="function"==typeof __require&&__require,r=0;r<e.length;r++)c(e[r]);return c}({common:[function(o,t,n){"use strict";cc._RF.push(t,"70465Q4Pq1HCoMHiF2Q6VdR","common");var e=cc.Class({properties:{poolAmount:0,prefab:cc.Prefab}}),c=cc.Class({extends:e,name:"rankListBlock",properties:{name:"rankListBlock"}});cc.Class({extends:cc.Component,properties:{rankListBlock:{default:null,type:c,tooltips:"\u6392\u884c\u699c"}},onLoad:function(){F.loaded||(F.loaded=!0,F.common=this,F.commonState.poolObj={},F.prefab={rankListBlock:this.rankListBlock})},batchInitNodePool:function(o,t){for(var n=0;n<t.length;n++){var e=t[n];this.initNodePool(o,e)}},initNodePool:function(o,t){var n=t.name+"Pool";o[n]=new cc.NodePool,F.commonState.poolObj[n]=o[n];for(var e=0;e<t.poolAmount;e++){var c=cc.instantiate(t.prefab);o[n].put(c)}},genNewNode:function(o,t,n){var e=null;return e=o.size()>0?o.get():cc.instantiate(t),n.addChild(e),e},putBackPool:function(o,t){o[t.name+"Pool"].put(t)},clearAllPool:function(){_.forEach(F.commonState.poolObj,function(o){o.clear()})}}),cc._RF.pop()},{}],global:[function(o,t,n){"use strict";cc._RF.push(t,"a9a5fGwwRVC07LCbtV55cpM","global"),window.F={loaded:!1,common:null,commonState:{},prefab:{},userInfo:null},cc._RF.pop()},{}],lanuch:[function(o,t,n){"use strict";cc._RF.push(t,"20e21rQL55IvouNdawHXzSk","lanuch"),cc.Class({extends:cc.Component,properties:{listBlock:{type:cc.Node,default:null},myList:{type:cc.Node,default:null},listController:{type:cc.ScrollView,default:null}},onLoad:function(){F.common.initNodePool(this,F.prefab.rankListBlock),this.loadList(),this.loadMySelf()},loadList:function(){this[F.prefab.rankListBlock.name+"Pool"];for(var o=0;o<100;o++){var t=this.genListBlock(this.listBlock);0==o?t.getComponent("listBlock").first():t.getComponent("listBlock").setNumber(o+1)}},genListBlock:function(o){var t=this[F.prefab.rankListBlock.name+"Pool"];return F.common.genNewNode(t,F.prefab.rankListBlock.prefab,o)},loadMySelf:function(){this.genListBlock(this.myList).getComponent("listBlock").setNumber("100+")},start:function(){this.listController.scrollToTop(0)}}),cc._RF.pop()},{}],listBlock:[function(o,t,n){"use strict";cc._RF.push(t,"d3c799Zx8dLBrLFPByn86R1","listBlock"),cc.Class({extends:cc.Component,properties:{rankNumber:{type:cc.Node,default:null},topIcon:{type:cc.Node,default:null},avatar:{type:cc.Node,default:null}},onLoad:function(){},first:function(){this.rankNumber.active=!1,this.topIcon.active=!0},setAvatar:function(o){var t=this;cc.loader.load({url:o,type:"png"},function(o,n){o&&console.error(o),t.avatar.spriteFrame=new cc.SpriteFrame(n)})},setNumber:function(o){this.rankNumber.getComponent(cc.Label).string=o},start:function(){}}),cc._RF.pop()},{}]},{},["common","global","lanuch","listBlock"]);