Files
lifeRestart/public/assets/index-BdjflUip.js

3 lines
188 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var ao=Object.defineProperty;var It=n=>{throw TypeError(n)};var ho=(n,e,t)=>e in n?ao(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var be=(n,e,t)=>ho(n,typeof e!="symbol"?e+"":e,t),Ct=(n,e,t)=>e.has(n)||It("Cannot "+t);var o=(n,e,t)=>(Ct(n,e,"read from private field"),t?t.call(n):e.get(n)),s=(n,e,t)=>e.has(n)?It("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,t),c=(n,e,t,i)=>(Ct(n,e,"write to private field"),i?i.call(n,t):e.set(n,t),t),y=(n,e,t)=>(Ct(n,e,"access private method"),t);var E=(n,e,t,i)=>({set _(r){c(n,e,r,t)},get _(){return o(n,e,i)}});(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const l of r)if(l.type==="childList")for(const a of l.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function t(r){const l={};return r.integrity&&(l.integrity=r.integrity),r.referrerPolicy&&(l.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?l.credentials="include":r.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function i(r){if(r.ep)return;r.ep=!0;const l=t(r);fetch(r.href,l)}})();const fo="modulepreload",so=function(n,e){return new URL(n,e).href},kt={},L=function(e,t,i){let r=Promise.resolve();if(t&&t.length>0){const a=document.getElementsByTagName("link"),h=document.querySelector("meta[property=csp-nonce]"),f=(h==null?void 0:h.nonce)||(h==null?void 0:h.getAttribute("nonce"));r=Promise.allSettled(t.map(u=>{if(u=so(u,i),u in kt)return;kt[u]=!0;const m=u.endsWith(".css"),S=m?'[rel="stylesheet"]':"";if(!!i)for(let v=a.length-1;v>=0;v--){const A=a[v];if(A.href===u&&(!m||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${S}`))return;const _=document.createElement("link");if(_.rel=m?"stylesheet":fo,m||(_.as="script"),_.crossOrigin="",_.href=u,f&&_.setAttribute("nonce",f),document.head.appendChild(_),m)return new Promise((v,A)=>{_.addEventListener("load",v),_.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${u}`)))})}))}function l(a){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=a,window.dispatchEvent(h),!h.defaultPrevented)throw a}return r.then(a=>{for(const h of a||[])h.status==="rejected"&&l(h.reason);return e().catch(l)})},po=(n,e,t)=>{const i=n[e];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((r,l)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(l.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},co=30;Laya.ScrollBar.prototype.loop=function(){var n=Laya.stage.mouseY,e=Laya.stage.mouseX;if(this._lastOffset=this.isVertical?n-this._lastPoint.y:e-this._lastPoint.x,this._clickOnly)if(Math.abs(this._lastOffset*(this.isVertical?Laya.stage._canvasTransform.getScaleY():Laya.stage._canvasTransform.getScaleX()))>co)this._clickOnly=!1,this._offsets||(this._offsets=[]),this._offsets.length=0,this._target.mouseEnabled=!1,!this.hide&&this.autoHide&&(this.alpha=1,this.visible=!0),this.event("start");else return;this._offsets.push(this._lastOffset),this._lastPoint.x=e,this._lastPoint.y=n,this._lastOffset!==0&&(this._checkElastic||(this.elasticDistance>0?!this._checkElastic&&this._lastOffset!=0&&(this._lastOffset>0&&this._value<=this.min||this._lastOffset<0&&this._value>=this.max?(this._isElastic=!0,this._checkElastic=!0):this._isElastic=!1):this._checkElastic=!0),this._isElastic?this._value<=this.min?this.value-=this._lastOffset*Math.max(0,1-(this.min-this._value)/this.elasticDistance):this._value>=this.max&&(this.value-=this._lastOffset*Math.max(0,1-(this._value-this.max)/this.elasticDistance)):this.value-=this._lastOffset)};const k=Laya.runtime={};var mt,gt,Xt;k.ColorFilterItem=(Xt=class extends Laya.Image{constructor(){super();s(this,mt,t=>{const i=[];return t=t.replace("#",""),t=t.match(new RegExp("(.{2})(.{2})(.{2})(.{2})","i")),t.forEach((r,l)=>{i[l]=parseInt(r,16)}),i.shift(),i});s(this,gt,t=>{let i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];return i[0]=t[0]/255,i[6]=t[1]/255,i[12]=t[2]/255,i[18]=t[3]/255,i})}get colorFilter(){return this._colorFilter}set colorFilter(t){if(this._colorFilter=t,t){const i=o(this,mt).call(this,this.colorFilter),r=o(this,gt).call(this,i),l=new Laya.ColorFilter(r);this.filters=[l]}else this.filters=[]}},mt=new WeakMap,gt=new WeakMap,Xt);k.UIBase=class extends Laya.View{constructor(){super()}};k.ViewBase=class extends k.UIBase{constructor(){super()}};k.DialogBase=class extends k.UIBase{constructor(){super()}};k.ScaleButton=class extends Laya.Button{constructor(){super(),this.on(Laya.Event.MOUSE_DOWN,this,this.onMouse,[Laya.Event.MOUSE_DOWN]),this.on(Laya.Event.MOUSE_OUT,this,this.onMouse,[Laya.Event.MOUSE_OUT]),this.on(Laya.Event.MOUSE_UP,this,this.onMouse,[Laya.Event.MOUSE_UP])}onMouse(e){switch(Laya.Tween.clearAll(this),e){case Laya.Event.MOUSE_DOWN:Laya.Tween.to(this,{scaleX:.9,scaleY:.9},100);break;case Laya.Event.MOUSE_OUT:case Laya.Event.MOUSE_UP:Laya.Tween.to(this,{scaleX:1,scaleY:1},100);break}}};var K,Q,Z,Ae,Se,g,$,Ge,St,le,ae,At;k.RGBAItem=(At=class{constructor(e={}){s(this,g);s(this,K);s(this,Q);s(this,Z);s(this,Ae);s(this,Se,new Set);for(const t in e)switch(t){case"r":case"g":case"b":case"a":case"hex":case"hexa":case"rgb":case"rgba":this[t]=e[t];break;case"on":this.on(e[t]);break}}on(e){o(this,Se).add(e)}off(e){o(this,Se).delete(e)}clear(){o(this,Se).clear()}get hex(){return`#${y(this,g,le).call(this,this.r)}${y(this,g,le).call(this,this.g)}${y(this,g,le).call(this,this.b)}`}set hex(e){[E(this,K)._,E(this,Q)._,E(this,Z)._]=y(this,g,Ge).call(this,e),y(this,g,$).call(this)}get hexa(){return`#${y(this,g,le).call(this,this.r)}${y(this,g,le).call(this,this.g)}${y(this,g,le).call(this,this.b)}${y(this,g,le).call(this,this.a)}`}set hexa(e){[E(this,K)._,E(this,Q)._,E(this,Z)._]=y(this,g,St).call(this,e),y(this,g,$).call(this)}get rgb(){return[this.r,this.g,this.b]}set rgb(e){[E(this,K)._,E(this,Q)._,E(this,Z)._]=e,y(this,g,$).call(this)}get rgba(){return[this.r,this.g,this.b,this.a]}set rgba(e){[E(this,K)._,E(this,Q)._,E(this,Z)._,E(this,Ae)._]=e,y(this,g,$).call(this)}get r(){return o(this,K)||0}set r(e){c(this,K,e),y(this,g,$).call(this)}get g(){return o(this,Q)||0}set g(e){c(this,Q,e),y(this,g,$).call(this)}get b(){return o(this,Z)||0}set b(e){c(this,Z,e),y(this,g,$).call(this)}get a(){return o(this,Ae)||0}set a(e){c(this,Ae,e),y(this,g,$).call(this)}cRgb(e){const[t,i,r]=y(this,g,Ge).call(this,e);return{r:t,g:i,b:r}}cRgba(e){const[t,i,r,l]=y(this,g,St).call(this,e);return{r:t,g:i,b:r,a:l}}distance(e,t){const[i,r,l]=y(this,g,Ge).call(this,e),[a,h,f]=y(this,g,Ge).call(this,t),{r:u,g:m,b:S}=this,R=Math.abs(u-i),_=Math.abs(m-r),v=Math.abs(S-l),A=(st,no,lo)=>st/Math.abs(lo-no)||0;switch(Math.max(R,_,v)){case R:return A(R,i,a);case _:return A(_,r,h);case v:return A(v,l,f);default:return 1}}},K=new WeakMap,Q=new WeakMap,Z=new WeakMap,Ae=new WeakMap,Se=new WeakMap,g=new WeakSet,$=function(){o(this,Se).forEach(e=>e(this))},Ge=function(e){return[y(this,g,ae).call(this,e.slice(1,3)),y(this,g,ae).call(this,e.slice(3,5)),y(this,g,ae).call(this,e.slice(5,7))]},St=function(e){return[y(this,g,ae).call(this,e.slice(1,3)),y(this,g,ae).call(this,e.slice(3,5)),y(this,g,ae).call(this,e.slice(5,7)),y(this,g,ae).call(this,e.slice(7,9))]},le=function(e){return e=parseInt(e).toString(16),e.length==1?"0"+e:e},ae=function(e){return parseInt(e,16)},At);var se,_e,pe,Le,ce,we,G,J,de,je,We,Ue,ve,F,he,Wt;k.ColorfulBox=(Wt=class extends Laya.Box{constructor(){super();s(this,F);s(this,se,"#ffffff");s(this,_e,"#ffffff");s(this,pe,"#ffffff");s(this,Le,"#ffffff");s(this,ce,"#000000");s(this,we,"#000000");s(this,G,new k.RGBAItem({hex:o(this,se),on:()=>y(this,F,he).call(this)}));s(this,J,new k.RGBAItem({hex:o(this,pe),on:()=>y(this,F,he).call(this)}));s(this,de,new k.RGBAItem({hex:o(this,ce),on:({hex:t})=>{const i=this.getChildByName("label");i&&(i.color=t)}}));s(this,je,0);s(this,We,0);s(this,Ue,200);s(this,ve,1);this.on(Laya.Event.MOUSE_OVER,this,this.onMouse,[Laya.Event.MOUSE_DOWN]),this.on(Laya.Event.MOUSE_OUT,this,this.onMouse,[Laya.Event.MOUSE_OUT]),y(this,F,he).call(this)}onMouse(t){const i=this.getChildByName("label"),r=(l,a,h)=>{Laya.Tween.clearAll(l);const f=l.distance(a,h);if(!isFinite(f)){l.hex=a;return}Laya.Tween.to(l,l.cRgb(a),l.distance(a,h)*o(this,Ue))};switch(t){case Laya.Event.MOUSE_OVER:case Laya.Event.MOUSE_DOWN:if(o(this,ve)==2)return;c(this,ve,2),r(o(this,G),o(this,_e),o(this,se)),r(o(this,J),o(this,Le),o(this,pe)),i&&r(o(this,de),o(this,we),o(this,ce));break;case Laya.Event.MOUSE_OUT:case Laya.Event.MOUSE_UP:if(o(this,ve)==1)return;c(this,ve,1),r(o(this,G),o(this,se),o(this,_e)),r(o(this,J),o(this,pe),o(this,Le)),i&&r(o(this,de),o(this,ce),o(this,we));break}}get width(){return super.width}set width(t){super.width=t,y(this,F,he).call(this)}get height(){return super.height}set height(t){super.height=t,y(this,F,he).call(this)}get defaultColor(){return o(this,se)}set defaultColor(t){c(this,se,t),Laya.Tween.clearAll(o(this,G)),Laya.Tween.clearAll(o(this,J)),Laya.Tween.clearAll(o(this,de)),o(this,G).hex=t}get hoverColor(){return o(this,_e)}set hoverColor(t){c(this,_e,t)}get defaultStroke(){return o(this,pe)}set defaultStroke(t){c(this,pe,t),Laya.Tween.clearAll(o(this,G)),Laya.Tween.clearAll(o(this,J)),Laya.Tween.clearAll(o(this,de)),o(this,J).hex=t}get hoverStroke(){return o(this,Le)}set hoverStroke(t){c(this,Le,t)}get defaultLabel(){return o(this,ce)}set defaultLabel(t){c(this,ce,t);const i=this.getChildByName("label");i&&(Laya.Tween.clearAll(o(this,G)),Laya.Tween.clearAll(o(this,J)),Laya.Tween.clearAll(o(this,de)),i.color=t)}get hoverLabel(){return o(this,we)}set hoverLabel(t){c(this,we,t)}get animationTime(){return o(this,Ue)}set animationTime(t){c(this,Ue,t)}get radius(){return o(this,We)||0}set radius(t){c(this,We,t),y(this,F,he).call(this)}get lineWidth(){return o(this,je)||0}set lineWidth(t){c(this,je,t),y(this,F,he).call(this)}get label(){var t;return(t=this.getChildByName("label"))==null?void 0:t.text}set label(t){const i=this.getChildByName("label");i&&(i.text=t)}get cacheAs(){return super.cacheAs}set cacheAs(t){if(t=="bitmap")debugger;super.cacheAs=t}},se=new WeakMap,_e=new WeakMap,pe=new WeakMap,Le=new WeakMap,ce=new WeakMap,we=new WeakMap,G=new WeakMap,J=new WeakMap,de=new WeakMap,je=new WeakMap,We=new WeakMap,Ue=new WeakMap,ve=new WeakMap,F=new WeakSet,he=function(){this.graphics.clear();const t=this.width,i=this.height,r=Math.min(o(this,We),t/2,i/2),l=o(this,G).hex,a=o(this,J).hex,h=this.lineWidth;if(r<=0){this.graphics.drawRect(0,0,t,i,l,a,h);return}const f=t+h,u=i+h,m=r+h,S=f-r,R=u-r,_=-h;this.graphics.drawPath(0,0,[["moveTo",m,_],["arcTo",f,_,f,m,m],["arcTo",f,u,S,u,m],["arcTo",_,u,_,R,m],["arcTo",_,_,m,_,m],["closePath"]],{fillStyle:a});const v=t-r,A=i-r;this.graphics.drawPath(0,0,[["moveTo",r,0],["arcTo",t,0,t,r,r],["arcTo",t,i,v,i,r],["arcTo",0,i,0,A,r],["arcTo",0,0,r,0,r],["closePath"]],{fillStyle:l})},Wt);var z,N,Te,$e,_t,Ut;k.BlankBox=(Ut=class extends Laya.Box{constructor(){super();s(this,$e);s(this,z);s(this,N);s(this,Te,!0);this.mask=new Laya.Sprite,c(this,z,new Laya.Sprite),this.addChild(o(this,z))}get pause(){return o(this,Te)}set pause(t){o(this,Te)!=t&&(c(this,Te,t),o(this,z).visible=!t,t?o(this,N).pause():o(this,N).resume())}destroy(t){o(this,N).destroy(!0),super.destroy(t)}get width(){return super.width}set width(t){super.width=t,o(this,z).x=-this.width,y(this,$e,_t).call(this)}get height(){return super.height}set height(t){super.height=t,y(this,$e,_t).call(this)}},z=new WeakMap,N=new WeakMap,Te=new WeakMap,$e=new WeakSet,_t=function(){this.mask.graphics.clear(),o(this,z).graphics.clear(),this.mask.graphics.drawRect(0,0,this.width,this.height,"#000000"),o(this,z).graphics.drawRect(0,0,this.width,this.height,"#000000"),o(this,N)&&o(this,N).destroy(),c(this,N,new Laya.TimeLine().to(o(this,z),{x:this.width},2e3).to(o(this,z),{x:-this.width},0)),o(this,N).play(0,!0),o(this,Te)&&o(this,N).pause()},Ut);var bt,Vt,Mt;k.ColorAgentLabel=(Mt=class extends Laya.Label{constructor(...t){super(...t);s(this,bt)}get color(){return this.super.color}set color(t){super.color=t,o(this,bt,Vt).forEach(i=>i.color=t)}},bt=new WeakSet,Vt=function(){const t=[];if(!this.parent)return t;const i=r=>{if(r._childs)for(const l of r._childs)l!=this&&(l instanceof Laya.Label&&t.push(l),i(l))};return i(this.parent),t},Mt);const uo=Laya.plugin={};uo.extractComponents=function(n,e){const t={},i=(r,l)=>{if(r.child)for(let a=r.child.length-1;a>=0;a--){const h=r.child[a];if(l.includes(h==null?void 0:h.props.name)){t[h.props.name]=h,r.child.splice(a,1);continue}i(h,l)}};return i(n,e),r=>t[r]?Laya.View.createComp(t[r]):null};Laya.promises={Tween:{from:async function(n,e,t,i,r,l){return new Promise(function(a,h){try{Laya.Tween.from(n,e,t,i,Laya.Handler.create(null,()=>a(),null,!0),r,l)}catch(f){h(f)}})},to:async function(n,e,t,i,r,l){return new Promise(function(a,h){try{Laya.Tween.to(n,e,t,i,Laya.Handler.create(null,()=>a(),null,!0),r,l)}catch(f){h(f)}})}},loader:{load:async function(n,e,t){return new Promise(function(i,r){try{Laya.loader.load(n,Laya.Handler.create(null,l=>i(l),null,!0),e,t)}catch(l){r(l)}})}}};var w=Laya.class;Laya.static;var p=laya.ui.View,zt=laya.ui.Dialog;(function(n){function e(){this.panelCharacter=null,this.vboxCharacter=null,this.btnRetry=null,this.btnNext=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CelebrityUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,height:2436},child:[{type:"Box",props:{top:40,right:0,name:"title",left:0},child:[{type:"Image",props:{skin:"images/accessories/titlebar@3x.png",right:0,left:0,sizeGrid:"0,348,116,348"}},{type:"HBox",props:{y:160,x:563,space:30,height:70,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{y:10,x:1,skin:"images/accessories/title_left@3x.png",name:"left"}},{type:"Label",props:{y:0,x:2,text:"UI_Title_Celebrity",fontSize:60,font:"方正像素12",color:"#ffffff"}},{type:"Image",props:{y:10,x:3,skin:"images/accessories/title_right@3x.png",name:"right"}}]}]},{type:"Panel",props:{var:"panelCharacter",vScrollBarSkin:" ",top:300,right:0,name:"panelCharacter",left:0,bottom:700},child:[{type:"VBox",props:{y:10,width:1e3,var:"vboxCharacter",space:20,name:"vboxCharacter",centerX:0},child:[{type:"Box",props:{right:0,name:"boxCharacter",left:0},child:[{type:"Box",props:{y:0,right:0,name:"boxName",left:0,height:100},child:[{type:"Image",props:{top:0,skin:"images/border/border_1@3x.png",sizeGrid:"15,130,15,130",right:0,left:0,bottom:0}},{type:"Label",props:{valign:"middle",text:"颜值10 智力10 体质10 家境Π",name:"label",fontSize:55,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,align:"center"}}]},{type:"VBox",props:{top:100,space:20,right:25,name:"vboxStates",left:25},child:[{type:"Label",props:{valign:"middle",text:"颜值10 智力10 体质10 家境Π",name:"label",height:100,fontSize:55,font:"方正像素12",color:"#ffffff",centerX:0,align:"center"}}]}]},{type:"Box",props:{right:25,name:"boxTalent",left:25,height:100},child:[{type:"Image",props:{y:-220,x:-25,top:0,skin:"images/border/up@3x.png",right:0,left:0,bottom:0,sizeGrid:"4,4,4,4"}},{type:"Label",props:{valign:"middle",text:"颜值10 智力10 体质10 家境Π",name:"label",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,align:"center"}},{type:"Box",props:{y:0,x:0,width:15,visible:!1,name:"grade1",height:100},child:[{type:"Rect",props:{width:15,lineWidth:1,height:100,fillColor:"#55fffe"}}]},{type:"Box",props:{y:0,x:0,width:15,visible:!1,name:"grade2",height:100},child:[{type:"Rect",props:{width:15,lineWidth:1,height:100,fillColor:"#b17cff"}}]},{type:"Box",props:{y:0,x:0,width:15,visible:!1,name:"grade3",height:100},child:[{type:"Rect",props:{width:15,lineWidth:1,height:100,fillColor:"#ffce45"}}]}]},{type:"Box",props:{y:10,x:10,right:0,name:"boxUniqueUnGenerate",left:0},child:[{type:"Box",props:{y:0,right:0,name:"boxName",left:0,height:100},child:[{type:"Image",props:{top:0,skin:"images/border/border_1@3x.png",sizeGrid:"15,130,15,130",right:0,left:0,bottom:0}},{type:"Label",props:{valign:"middle",text:"UI_UniqueWaTaShi",name:"label",fontSize:55,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,align:"center"}}]},{type:"VBox",props:{top:100,space:20,right:25,name:"vboxStates",left:25},child:[{type:"Label",props:{valign:"middle",text:"UI_UniqueWaTaShiContent",right:0,name:"label",left:0,leading:30,fontSize:55,font:"方正像素12",color:"#ffffff",align:"center"}},{type:"Box",props:{y:12,x:10,right:0,name:"boxBtn",left:0,height:200},child:[{type:"Button",props:{width:500,skin:"images/button/button_main@3x.png",name:"btn",label:"UI_GenerateNow",centerY:0,centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",labelSize:50,runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:96,x:250,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:4,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:470,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:414,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:160,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:337,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:331,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:458,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:477,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:464,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,147,0,153,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:520,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:6,blendMode:"lighter",autoPlay:!0}}]}]}]}]}]}]}]},{type:"Box",props:{right:0,left:0,height:0,bottom:0},child:[{type:"Button",props:{y:-450,width:500,var:"btnRetry",skin:"images/button/button_main@3x.png",name:"btnRetry",label:"UI_AllNot",centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",labelSize:50,runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:96,x:250,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:4,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:470,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:414,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:160,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:337,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:331,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:458,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:477,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:464,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,147,0,153,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:520,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:6,blendMode:"lighter",autoPlay:!0}}]}]},{type:"Button",props:{y:-200,width:500,var:"btnNext",skin:"images/button/button_main@3x.png",name:"btnNext",label:"UI_Make_New_Life",centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",labelSize:50,runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:96,x:250,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:4,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:470,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:414,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:160,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:337,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:331,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:458,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:477,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:464,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,147,0,153,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:520,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:6,blendMode:"lighter",autoPlay:!0}}]}]}]}]},e})(p);(function(n){function e(){this.btnBack=null,this.btnRank=null,this.btnStatistics=null,this.btnAchievement=null,this.boxPage=null,this.boxA=null,this.labRemakeTimes=null,this.labRemakeTimesJudge=null,this.labAchievementCount=null,this.labAchievementCountJudge=null,this.prgEventRate=null,this.labEventRate=null,this.prgTalentRate=null,this.labTalentRate=null,this.boxB=null,this.listAchievements=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CyberAchievementUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),p.regComponent("Laya.runtime.ColorFilterItem",Laya.runtime.ColorFilterItem),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Button",props:{y:200,var:"btnBack",skin:"images/button/button_back@3x.png",name:"btnBack",left:30,stateNum:1,label:" ",anchorX:0,anchorY:.5,runtime:"Laya.runtime.ScaleButton"}},{type:"Box",props:{width:1,top:0,right:0,height:1},child:[{type:"Box",props:{y:200,x:-170,width:260,var:"btnRank",runtime:"Laya.runtime.ScaleButton",height:90,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{top:0,skin:"images/button/button_small@3x.png",right:0,left:0,bottom:0,sizeGrid:"8,8,8,8",stateNum:1,label:" ",runtime:"Laya.runtime.ScaleButton"}},{type:"Box",props:{width:90,left:8,height:90},child:[{type:"Image",props:{skin:"images/icons/icon_rank@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Rank",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:40,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{y:310,x:0,top:310,right:0,left:0,height:120},child:[{type:"Label",props:{y:110,x:140,var:"btnStatistics",text:"UI_Statistics",name:"btnStatistics",fontSize:100,font:"方正像素12",color:"#ffffff",anchorY:1,anchorX:.5}},{type:"Label",props:{y:110,x:360,var:"btnAchievement",text:"UI_Achievement",name:"btnAchievement",fontSize:60,font:"方正像素12",color:"#ffffff",anchorY:1,anchorX:.5}}]},{type:"Box",props:{x:0,width:2250,var:"boxPage",top:450,name:"boxPage",bottom:80},child:[{type:"Box",props:{width:1125,var:"boxA",top:0,name:"boxA",left:0,bottom:0},child:[{type:"Box",props:{width:1125,top:0,height:1125,centerX:0},child:[{type:"Image",props:{top:40,skin:"images/border/border_2@3x.png",right:30,left:30,bottom:30,sizeGrid:"75,155,75,155"}},{type:"Sprite",props:{y:150,x:100,width:920,height:380},child:[{type:"Rect",props:{y:-1,x:460,width:4,lineWidth:1,lineColor:"#1a5459",height:320,fillColor:"#1a5459"}},{type:"Rect",props:{y:370,x:0,width:920,lineWidth:1,lineColor:"#1a5459",height:5,fillColor:"#1a5459"}}]},{type:"Box",props:{width:400,top:150,left:100,height:320},child:[{type:"HBox",props:{y:130,x:0},child:[{type:"Label",props:{var:"labRemakeTimes",text:"1",name:"labRemakeTimes",fontSize:70,font:"方正像素12",color:"#55fffe",bold:!0,anchorY:1,anchorX:0}},{type:"Label",props:{text:"UI_Times",fontSize:70,font:"方正像素12",color:"#55fffe",bold:!0,anchorY:1,anchorX:0}}]},{type:"Label",props:{y:210,x:0,text:"UI_Remake_Times",fontSize:62,font:"方正像素12",color:"#ffffff",bold:!1,anchorY:1,anchorX:0}},{type:"Label",props:{y:240,var:"labRemakeTimesJudge",text:"抽到紫色几率不变",name:"labRemakeTimesJudge",fontSize:42,font:"方正像素12",color:"#93aaae",bold:!1,anchorY:0,anchorX:0}}]},{type:"Box",props:{width:400,top:150,right:100,height:320},child:[{type:"HBox",props:{y:130},child:[{type:"Label",props:{var:"labAchievementCount",text:"1",name:"labAchievementCount",fontSize:70,font:"方正像素12",color:"#55fffe",bold:!0,anchorY:1,anchorX:0}},{type:"Label",props:{text:"UI_Count",fontSize:70,font:"方正像素12",color:"#55fffe",bold:!0,anchorY:1,anchorX:0}}]},{type:"Label",props:{y:210,x:0,text:"UI_Achievement_Count",fontSize:62,font:"方正像素12",color:"#ffffff",bold:!1,anchorY:1,anchorX:0}},{type:"Label",props:{y:240,x:0,var:"labAchievementCountJudge",text:"抽到橙色几率不变",name:"labAchievementCountJudge",fontSize:42,font:"方正像素12",color:"#93aaae",bold:!1,anchorY:0,anchorX:0}}]},{type:"Box",props:{right:100,left:100,height:450,bottom:100},child:[{type:"Box",props:{top:25,right:0,left:0,height:180},child:[{type:"Label",props:{y:85,x:0,text:"UI_Event_Collection_Rate",fontSize:62,font:"方正像素12",color:"#ffffff",bold:!1,anchorY:1,anchorX:0}},{type:"ProgressBar",props:{y:135,var:"prgEventRate",value:1,skin:"images/progress/progress_1@3x.png",right:240,name:"prgEventRate",left:0,anchorY:.5,anchorX:0,sizeGrid:"24,24,24,24,1"}},{type:"Label",props:{var:"labEventRate",text:"100%",right:0,name:"labEventRate",fontSize:110,font:"方正像素12",color:"#55fffe",centerY:0,bold:!1,anchorY:.5,anchorX:1}}]},{type:"Box",props:{right:0,left:0,height:180,bottom:30},child:[{type:"Label",props:{y:85,x:0,text:"UI_Talent_Collection_Rate",fontSize:62,font:"方正像素12",color:"#ffffff",bold:!1,anchorY:1,anchorX:0}},{type:"ProgressBar",props:{y:135,var:"prgTalentRate",value:.73,skin:"images/progress/progress_1@3x.png",right:240,name:"prgTalentRate",left:0,anchorY:.5,anchorX:0,sizeGrid:"24,24,24,24,1"}},{type:"Label",props:{var:"labTalentRate",text:"73%",right:0,name:"labTalentRate",fontSize:110,font:"方正像素12",color:"#55fffe",centerY:0,bold:!1,anchorY:.5,anchorX:1}}]}]}]}]},{type:"Box",props:{width:1125,var:"boxB",top:0,right:0,name:"boxB",bottom:0},child:[{type:"List",props:{y:35,width:1080,var:"listAchievements",vScrollBarSkin:"images/slider/vslider_1@3x.png",top:35,name:"listAchievements",centerX:0,bottom:35},child:[{type:"Box",props:{y:0,x:0,width:530,runtime:"Laya.runtime.ColorFilterItem",renderType:"render",height:460},child:[{type:"Image",props:{top:20,skin:"images/border/achievement@3x.png",right:20,name:"uncomplete",left:20,bottom:20,sizeGrid:"16,16,16,16"}},{type:"Image",props:{top:0,skin:"images/border/achievement_complete@3x.png",right:0,name:"completed",left:0,bottom:0,sizeGrid:"74,80,74,80"}},{type:"Label",props:{text:"霹雳霹雳",name:"name",fontSize:80,font:"方正像素12",color:"#ffffff",centerY:-30,centerX:0}},{type:"Label",props:{wordWrap:!0,text:"被第九重雷劫劈死",right:40,name:"description",left:40,height:95,fontSize:42,font:"方正像素12",color:"#9ca5a9",bottom:25,align:"center"}}]}]}]}]}]},e})(p);(function(n){function e(){this.boxBg=null,this.labName=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CyberAchievementPopupUI",n);var t=e.prototype;return t.createChildren=function(){laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{y:50,width:570,mouseThrough:!0,mouseEnabled:!1,height:150,alpha:.75},child:[{type:"Box",props:{},child:[{type:"Rect",props:{width:570,lineWidth:1,height:150,fillColor:"#55fffe"}}]},{type:"Box",props:{x:0,var:"boxBg",name:"boxBg"},child:[{type:"Rect",props:{width:560,lineWidth:1,height:150,fillColor:"#272727"}}]},{type:"Box",props:{width:560,height:150},child:[{type:"Image",props:{x:70,skin:"images/icons/icon_achievement@3x.png",centerY:0,anchorY:.5,anchorX:.5}},{type:"Label",props:{x:150,var:"labName",text:"所有人都是我",name:"labName",fontSize:60,font:"方正像素12",color:"#cccccc",centerY:0}}]}]},e})(p);(function(n){function e(){this.imgBg=null,this.imgTitle=null,this.btnRemake=null,this.btnThanks=null,this.btnAchievement=null,this.btnGithub=null,this.btnDiscord=null,this.btnSaveLoad=null,this.btnThemes=null,this.banner=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CyberMainUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorFilterItem",Laya.runtime.ColorFilterItem),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{y:1218,x:562,width:1125,runtime:"Laya.runtime.ViewBase",height:2436,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{var:"imgBg",skin:"images/background/background_1@3x.png",name:"imgBg",centerY:0,centerX:0},child:[{type:"Animation",props:{y:0,x:0,width:1125,source:"view/CyberTheme/animation/jumpBackground.ani",interval:80,height:2436,blendMode:"lighter",autoPlay:!0,alpha:.3}}]},{type:"Image",props:{var:"imgTitle",skin:"images/accessories/title@3x.png",runtime:"Laya.runtime.ColorFilterItem",name:"imgTitle",centerY:-350,centerX:0},child:[{type:"Box",props:{y:0,x:0},child:[{type:"Image",props:{y:8,x:8,skin:"images/accessories/title_neon@3x.png",renderType:"mask"}},{type:"Animation",props:{y:286,x:436,source:"view/CyberTheme/animation/bottomBreath.ani",scaleY:1.5,scaleX:5,blendMode:"lighter",autoPlay:!0}}]}]},{type:"Image",props:{skin:"images/accessories/insert_coin@3x.png",centerY:540,centerX:0,anchorY:.5,anchorX:.5}},{type:"Label",props:{text:"UI_Title_Remake",fontSize:80,font:"方正像素12",color:"#ffffff",centerY:-135,centerX:0,anchorY:.5,anchorX:.5}},{type:"Label",props:{wordWrap:!0,text:"UI_Title_Subsequent",right:0,left:0,fontSize:48,font:"方正像素12",color:"#828c95",centerY:-20,anchorY:.5,anchorX:.5,align:"center"}},{type:"Label",props:{text:"UI_Cyber_Theme_Art_Design",right:50,fontSize:48,font:"方正像素12",color:"#00fffd",bottom:30,anchorY:.5,anchorX:.5}},{type:"Button",props:{var:"btnRemake",skin:"images/button/button_main@3x.png",pivotY:96,pivotX:329,name:"btnRemake",labelSize:60,label:"UI_Remake",centerY:720,centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:93,x:330,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:5,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:625,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:569,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:316,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:493,width:120,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:487,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:613,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:632,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:621,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,305,0,311,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:330,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:4,blendMode:"lighter",autoPlay:!0}}]}]},{type:"Box",props:{y:200,x:200,width:225,var:"btnThanks",runtime:"Laya.runtime.ScaleButton",name:"btnThanks",height:90,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{top:0,skin:"images/button/button_small@3x.png",right:0,left:0,bottom:0,sizeGrid:"8,8,8,8",stateNum:1,label:" ",runtime:"Laya.runtime.ScaleButton"}},{type:"Box",props:{width:90,left:8,height:90},child:[{type:"Image",props:{skin:"images/icons/icon_thanks@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Thanks",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:40,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{y:0,x:1100,width:1,top:0,right:0,height:1},child:[{type:"Box",props:{y:200,x:-200,width:225,var:"btnAchievement",runtime:"Laya.runtime.ScaleButton",name:"btnAchievement",height:90,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{top:0,skin:"images/button/button_small@3x.png",right:0,left:0,bottom:0,sizeGrid:"8,8,8,8",stateNum:1,label:" ",runtime:"Laya.runtime.ScaleButton"}},{type:"Box",props:{width:90,left:8,height:90},child:[{type:"Image",props:{skin:"images/icons/icon_achievement@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Achievement",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:40,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{width:1,left:0,height:1,bottom:0},child:[{type:"Box",props:{y:-175,x:100,width:160,var:"btnGithub",runtime:"Laya.runtime.ScaleButton",name:"btnGithub",height:160,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{top:0,skin:"images/icons/icon_github.png",right:0,left:0,bottom:0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{y:-355,x:100,width:160,var:"btnDiscord",runtime:"Laya.runtime.ScaleButton",name:"btnDiscord",height:160,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{top:0,skin:"images/icons/icon_discord.png",right:0,left:0,bottom:0,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{right:0,bottom:0},child:[{type:"Box",props:{y:-300,x:-100,width:110,runtime:"Laya.runtime.ScaleButton",height:110,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:110,var:"btnSaveLoad",runtime:"Laya.runtime.ColorfulBox",name:"btnSmall",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{width:80,skin:"images/icons/icon_save.png",height:80,centerY:0,centerX:0}}]}]},{type:"Box",props:{y:-175,x:-100,width:110,runtime:"Laya.runtime.ScaleButton",height:110,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:110,var:"btnThemes",runtime:"Laya.runtime.ColorfulBox",name:"btnThemes",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{width:90,skin:"images/icons/icon_themes.png",height:90,centerY:0,centerX:0}}]}]}]},{type:"Box",props:{x:572,var:"banner",centerX:0,bottom:100,anchorY:1,anchorX:.5},child:[{type:"Label",props:{text:"UI_Banner",fontSize:40,font:"方正像素12",color:"#00fffd"}}]}]},e})(p);(function(n){function e(){this.labLeftPropertyPoint=null,this.boxCharm=null,this.boxCharmAllocate=null,this.btnCharmReduce=null,this.inputCharm=null,this.btnCharmIncrease=null,this.boxIntelligence=null,this.boxIntelligenceAllocate=null,this.btnIntelligenceReduce=null,this.inputIntelligence=null,this.btnIntelligenceIncrease=null,this.boxStrength=null,this.boxStrengthAllocate=null,this.btnStrengthReduce=null,this.inputStrength=null,this.btnStrengthIncrease=null,this.boxMoney=null,this.boxMoneyAllocate=null,this.btnMoneyReduce=null,this.inputMoney=null,this.btnMoneyIncrease=null,this.listSelectedTalents=null,this.btnRandomAllocate=null,this.btnNext=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CyberPropertyUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),p.regComponent("Laya.runtime.ColorFilterItem",Laya.runtime.ColorFilterItem),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Box",props:{top:40,right:0,name:"title",left:0},child:[{type:"Image",props:{skin:"images/accessories/titlebar@3x.png",right:0,left:0,sizeGrid:"0,348,116,348"}},{type:"HBox",props:{y:160,x:563,space:30,height:70,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{y:10,x:1,skin:"images/accessories/title_left@3x.png",name:"left"}},{type:"Label",props:{y:0,x:2,text:"UI_Title_Property",fontSize:60,font:"方正像素12",color:"#ffffff"}},{type:"Image",props:{y:10,x:3,skin:"images/accessories/title_right@3x.png",name:"right"}}]}]},{type:"Box",props:{top:340,right:40,name:"propertyAllocate",left:40,height:840},child:[{type:"Image",props:{top:-15,skin:"images/border/border_2@3x.png",right:-15,left:-15,bottom:-15,sizeGrid:"75,155,75,155"}},{type:"HBox",props:{top:680,right:80,height:100},child:[{type:"Label",props:{x:0,text:"UI_Left_Property_Point",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0}},{type:"Label",props:{x:1,text:"UI_Colon",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0}},{type:"Label",props:{x:2,var:"labLeftPropertyPoint",text:"0",name:"labLeftPropertyPoint",fontSize:80,font:"方正像素12",color:"#ffffff",centerY:0}}]},{type:"VBox",props:{top:90,space:22,right:50,left:50,height:600},child:[{type:"Box",props:{y:0,var:"boxCharm",right:0,name:"boxCharm",left:0,height:130},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_chr@3x.png",scaleY:1.4,scaleX:1.4,centerY:0,centerX:0}}]},{type:"Label",props:{x:183,text:"UI_Property_Charm",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxCharmAllocate",right:30,name:"boxCharmAllocate",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnCharmReduce",name:"btnCharmReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputCharm",type:"number",top:0,text:"0",skin:"images/border/up@3x.png",right:0,promptColor:"#828282",prompt:0,name:"inputCharm",maxChars:1,left:0,fontSize:80,font:"方正像素12",color:"#ffffff",bottom:0,align:"center",sizeGrid:"4,4,4,4"}},{type:"Box",props:{y:0,x:0,top:0,right:0,mouseThrough:!0,mouseEnabled:!1,left:0,bottom:0,alpha:.2},child:[{type:"Rect",props:{width:370,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#55fffe"}}]}]},{type:"Box",props:{width:110,var:"btnCharmIncrease",right:0,name:"btnCharmIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]}]}]},{type:"Box",props:{y:1,var:"boxIntelligence",right:0,name:"boxIntelligence",left:0,height:130},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_int@3x.png",scaleY:1.4,scaleX:1.4,centerY:0,centerX:0}}]},{type:"Label",props:{x:183,text:"UI_Property_Intelligence",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxIntelligenceAllocate",right:30,name:"boxIntelligenceAllocate",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnIntelligenceReduce",name:"btnIntelligenceReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputIntelligence",type:"number",top:0,text:"0",skin:"images/border/up@3x.png",right:0,promptColor:"#828282",prompt:0,name:"inputIntelligence",maxChars:1,left:0,fontSize:80,font:"方正像素12",color:"#ffffff",bottom:0,align:"center",sizeGrid:"4,4,4,4"}},{type:"Box",props:{y:0,x:0,top:0,right:0,mouseThrough:!0,mouseEnabled:!1,left:0,bottom:0,alpha:.2},child:[{type:"Rect",props:{width:370,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#55fffe"}}]}]},{type:"Box",props:{width:110,var:"btnIntelligenceIncrease",right:0,name:"btnIntelligenceIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]}]}]},{type:"Box",props:{y:2,var:"boxStrength",right:0,name:"boxStrength",left:0,height:130},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_str@3x.png",scaleY:1.4,scaleX:1.4,centerY:0,centerX:0}}]},{type:"Label",props:{x:183,text:"UI_Property_Strength",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxStrengthAllocate",right:30,name:"boxStrengthAllocate",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnStrengthReduce",name:"btnStrengthReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputStrength",type:"number",top:0,text:"0",skin:"images/border/up@3x.png",right:0,promptColor:"#828282",prompt:0,name:"inputStrength",maxChars:1,left:0,fontSize:80,font:"方正像素12",color:"#ffffff",bottom:0,align:"center",sizeGrid:"4,4,4,4"}},{type:"Box",props:{y:0,x:0,top:0,right:0,mouseThrough:!0,mouseEnabled:!1,left:0,bottom:0,alpha:.2},child:[{type:"Rect",props:{width:370,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#55fffe"}}]}]},{type:"Box",props:{width:110,var:"btnStrengthIncrease",right:0,name:"btnStrengthIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]}]}]},{type:"Box",props:{y:3,var:"boxMoney",right:0,name:"boxMoney",left:0,height:130},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_mny@3x.png",scaleY:1.4,scaleX:1.4,centerY:0,centerX:0}}]},{type:"Label",props:{x:183,text:"UI_Property_Money",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxMoneyAllocate",right:30,name:"boxMoneyAllocate",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnMoneyReduce",name:"btnMoneyReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputMoney",type:"number",top:0,text:"0",skin:"images/border/up@3x.png",right:0,promptColor:"#828282",prompt:0,name:"inputMoney",maxChars:1,left:0,fontSize:80,font:"方正像素12",color:"#ffffff",bottom:0,align:"center",sizeGrid:"4,4,4,4"}},{type:"Box",props:{y:0,x:0,top:0,right:0,mouseThrough:!0,mouseEnabled:!1,left:0,bottom:0,alpha:.2},child:[{type:"Rect",props:{width:370,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#55fffe"}}]}]},{type:"Box",props:{width:110,var:"btnMoneyIncrease",right:0,name:"btnMoneyIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#55fffe"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#55fffe"}}]}]}]}]}]}]}]},{type:"Box",props:{right:40,name:"selectedTalents",left:40,height:700,bottom:500},child:[{type:"Label",props:{top:20,text:"UI_Selected_Talent",left:20,fontSize:50,font:"方正像素12",color:"#ffffff"}},{type:"List",props:{var:"listSelectedTalents",vScrollBarSkin:" ",top:110,spaceY:30,right:10,repeatY:3,name:"listSelectedTalents",left:10,bottom:10},child:[{type:"Box",props:{y:20,right:10,renderType:"render",left:10,height:160},child:[{type:"Image",props:{top:0,skin:"images/border/up@3x.png",right:0,left:0,bottom:0,sizeGrid:"4,4,4,4"}},{type:"Box",props:{width:15,name:"grade1",height:160},child:[{type:"Rect",props:{width:15,lineWidth:1,height:160,fillColor:"#55fffe"}}]},{type:"Box",props:{width:15,name:"grade2",height:160},child:[{type:"Rect",props:{width:15,lineWidth:1,height:160,fillColor:"#b17cff"}}]},{type:"Box",props:{width:15,name:"grade3",height:160},child:[{type:"Rect",props:{width:15,lineWidth:1,height:160,fillColor:"#ffce45"}}]},{type:"Label",props:{text:"Title",name:"labTitle",left:52,fontSize:55,font:"方正像素12",color:"#ffffff",centerY:0}},{type:"Label",props:{y:10,text:"descriptipn",right:33,name:"labDescription",fontSize:44,font:"方正像素12",color:"#76979d",centerY:0}}]}]}]},{type:"Box",props:{width:1e3,name:"buttonGroup",height:200,centerX:0,bottom:90},child:[{type:"Box",props:{width:500,top:0,left:0,bottom:0},child:[{type:"Button",props:{width:500,var:"btnRandomAllocate",skin:"images/button/button_main@3x.png",name:"btnRandomAllocate",label:"UI_Random_Allocate",centerY:0,centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",labelSize:50,runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:96,x:250,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:4,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:470,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:414,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:160,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:337,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:331,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:458,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:477,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:464,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,147,0,153,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:520,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:6,blendMode:"lighter",autoPlay:!0}}]}]}]},{type:"Box",props:{width:500,top:0,right:0,bottom:0},child:[{type:"Button",props:{width:500,var:"btnNext",skin:"images/button/button_main@3x.png",name:"btnNext",label:"UI_Make_New_Life",centerY:0,centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",labelSize:50,runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{runtime:"Laya.runtime.ColorFilterItem",colorFilter:"#ffce45ff",blendMode:"lighter"},child:[{type:"Animation",props:{y:96,x:250,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:4,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:470,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:414,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:160,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:337,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:331,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:458,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:477,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{runtime:"Laya.runtime.ColorFilterItem",colorFilter:"#ffce45ff",blendMode:"lighter"},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:464,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,147,0,153,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:250,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:4,blendMode:"lighter",autoPlay:!0}}]}]}]}]}]},e})(p);(function(n){function e(){this.labAge=null,this.labAgeJudge=null,this.labTotal=null,this.labTotalJudge=null,this.boxCharmGrade=null,this.prgCharm=null,this.labCharm=null,this.labCharmJudge=null,this.boxIntelligenceGrade=null,this.prgIntelligence=null,this.labIntelligence=null,this.labIntelligenceJudge=null,this.boxStrengthGrade=null,this.prgStrength=null,this.labStrength=null,this.labStrengthJudge=null,this.boxMoneyGrade=null,this.prgMoney=null,this.labMoney=null,this.labMoneyJudge=null,this.boxSpiritGrade=null,this.prgSpirit=null,this.labSpirit=null,this.labSpiritJudge=null,this.listSelectedTalents=null,this.btnAgain=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CyberSummaryUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorFilterItem",Laya.runtime.ColorFilterItem),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Box",props:{top:40,right:0,name:"title",left:0},child:[{type:"Image",props:{skin:"images/accessories/titlebar@3x.png",right:0,left:0,sizeGrid:"0,348,116,348"}},{type:"HBox",props:{y:160,x:563,space:30,height:70,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{y:10,x:1,skin:"images/accessories/title_left@3x.png",name:"left"}},{type:"Label",props:{y:0,x:2,text:"UI_Title_Summary",fontSize:60,font:"方正像素12",color:"#ffffff"}},{type:"Image",props:{y:10,x:3,skin:"images/accessories/title_right@3x.png",name:"right"}}]}]},{type:"Box",props:{y:340,x:40,top:340,right:40,name:"summary",left:40,height:870},child:[{type:"Image",props:{top:-15,skin:"images/border/border_2@3x.png",right:-15,left:-15,bottom:-15,sizeGrid:"75,155,75,155"}},{type:"Box",props:{top:60,right:50,left:50,height:220},child:[{type:"Box",props:{width:220,left:20,height:220,centerY:0}},{type:"Box",props:{top:0,right:0,left:250,height:100},child:[{type:"Box",props:{width:320,top:5,left:5,bottom:5},child:[{type:"Image",props:{top:0,skin:"images/border/property@3x.png",right:0,left:0,bottom:0,sizeGrid:"15,15,15,15"}},{type:"HBox",props:{left:20,centerY:0},child:[{type:"Label",props:{x:0,text:"UI_Final_Age",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,align:"center"}},{type:"Label",props:{x:1,text:"UI_Colon",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,align:"center"}}]},{type:"Label",props:{var:"labAge",text:"0",right:40,name:"labAge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,align:"center"}}]},{type:"Label",props:{width:220,var:"labAgeJudge",text:"Judge",right:0,name:"labAgeJudge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Box",props:{right:0,left:250,height:100,bottom:0},child:[{type:"Box",props:{width:320,top:5,left:5,bottom:5},child:[{type:"Image",props:{top:0,skin:"images/border/property@3x.png",right:0,left:0,bottom:0,sizeGrid:"15,15,15,15"}},{type:"HBox",props:{left:20,centerY:0},child:[{type:"Label",props:{x:0,text:"UI_Total_Judge",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,align:"center"}},{type:"Label",props:{x:1,text:"UI_Colon",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,align:"center"}}]},{type:"Label",props:{var:"labTotal",text:"0",right:40,name:"labTotal",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,align:"center"}}]},{type:"Label",props:{width:220,var:"labTotalJudge",text:"Judge",right:0,name:"labTotalJudge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,anchorY:.5,anchorX:.5,align:"center"}}]}]},{type:"VBox",props:{top:340,space:5,right:50,left:50},child:[{type:"Box",props:{y:0,right:0,name:"boxCharm",left:0,height:90},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_chr@3x.png",scaleY:1.1,scaleX:1.1,centerY:0,centerX:0}}]},{type:"Label",props:{x:170,text:"UI_Property_Charm",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{var:"boxCharmGrade",top:20,runtime:"Laya.runtime.ColorFilterItem",right:240,name:"boxCharmGrade",left:255,bottom:20},child:[{type:"ProgressBar",props:{var:"prgCharm",value:.91,top:0,skin:"images/progress/progress_2.png",right:0,name:"prgCharm",left:0,bottom:0}},{type:"Label",props:{var:"labCharm",text:"100",strokeColor:"#323232",stroke:8,name:"labCharm",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Label",props:{width:220,var:"labCharmJudge",text:"Judge",right:0,name:"labCharmJudge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Box",props:{y:1,right:0,name:"boxIntelligence",left:0,height:90},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_int@3x.png",scaleY:1.1,scaleX:1.1,centerY:0,centerX:0}}]},{type:"Label",props:{x:170,text:"UI_Property_Intelligence",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{var:"boxIntelligenceGrade",top:20,runtime:"Laya.runtime.ColorFilterItem",right:240,name:"boxIntelligenceGrade",left:255,bottom:20},child:[{type:"ProgressBar",props:{var:"prgIntelligence",value:.57,top:0,skin:"images/progress/progress_2.png",right:0,name:"prgIntelligence",left:0,bottom:0}},{type:"Label",props:{var:"labIntelligence",text:"100",strokeColor:"#323232",stroke:8,name:"labIntelligence",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Label",props:{width:220,var:"labIntelligenceJudge",text:"Judge",right:0,name:"labIntelligenceJudge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Box",props:{y:2,right:0,name:"boxStrength",left:0,height:90},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_str@3x.png",scaleY:1.1,scaleX:1.1,centerY:0,centerX:0}}]},{type:"Label",props:{x:170,text:"UI_Property_Strength",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{var:"boxStrengthGrade",top:20,runtime:"Laya.runtime.ColorFilterItem",right:240,name:"boxStrengthGrade",left:255,bottom:20},child:[{type:"ProgressBar",props:{var:"prgStrength",value:.235,top:0,skin:"images/progress/progress_2.png",right:0,name:"prgStrength",left:0,bottom:0}},{type:"Label",props:{var:"labStrength",text:"100",strokeColor:"#323232",stroke:8,name:"labStrength",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Label",props:{width:220,var:"labStrengthJudge",text:"Judge",right:0,name:"labStrengthJudge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Box",props:{y:3,right:0,name:"boxMoney",left:0,height:90},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_mny@3x.png",scaleY:1.1,scaleX:1.1,centerY:0,centerX:0}}]},{type:"Label",props:{x:170,text:"UI_Property_Money",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{var:"boxMoneyGrade",top:20,runtime:"Laya.runtime.ColorFilterItem",right:240,name:"boxMoneyGrade",left:255,bottom:20},child:[{type:"ProgressBar",props:{var:"prgMoney",value:.8,top:0,skin:"images/progress/progress_2.png",right:0,name:"prgMoney",left:0,bottom:0}},{type:"Label",props:{var:"labMoney",text:"100",strokeColor:"#323232",stroke:8,name:"labMoney",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Label",props:{width:220,var:"labMoneyJudge",text:"Judge",right:0,name:"labMoneyJudge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Box",props:{y:4,right:0,name:"boxSpirit",left:0,height:90},child:[{type:"Box",props:{width:120,left:0,height:120,centerY:0},child:[{type:"Image",props:{skin:"images/icons/icon_spr@3x.png",scaleY:1.1,scaleX:1.1,centerY:0,centerX:0}}]},{type:"Label",props:{x:170,text:"UI_Property_Spirit",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{var:"boxSpiritGrade",top:20,runtime:"Laya.runtime.ColorFilterItem",right:240,name:"boxSpiritGrade",left:255,bottom:20},child:[{type:"ProgressBar",props:{var:"prgSpirit",value:.37,top:0,skin:"images/progress/progress_2.png",right:0,name:"prgSpirit",left:0,bottom:0}},{type:"Label",props:{var:"labSpirit",text:"100",strokeColor:"#323232",stroke:8,name:"labSpirit",fontSize:50,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5,align:"center"}}]},{type:"Label",props:{width:220,var:"labSpiritJudge",text:"Judge",right:0,name:"labSpiritJudge",fontSize:50,font:"方正像素12",color:"#5cc8dc",centerY:0,anchorY:.5,anchorX:.5,align:"center"}}]}]}]},{type:"Box",props:{right:40,name:"selectedTalents",left:40,height:700,bottom:410},child:[{type:"Label",props:{top:20,text:"UI_Talent_Extend",left:20,fontSize:50,font:"方正像素12",color:"#ffffff"}},{type:"List",props:{var:"listSelectedTalents",vScrollBarSkin:" ",top:110,spaceY:30,right:10,repeatY:3,name:"listSelectedTalents",left:10,bottom:10},child:[{type:"Box",props:{y:20,right:10,renderType:"render",left:10,height:160},child:[{type:"Image",props:{top:0,skin:"images/border/up@3x.png",right:0,name:"unselected",left:0,bottom:0,sizeGrid:"4,4,4,4"}},{type:"Box",props:{top:0,right:0,name:"selected",left:0,bottom:0},child:[{type:"Box",props:{y:-22,x:0,renderType:"mask"},child:[{type:"Rect",props:{width:1800,lineWidth:1,height:204,fillColor:"#ff0000"}}]},{type:"Image",props:{top:-19,skin:"images/border/achievement_complete@3x.png",right:-19,left:-80,bottom:-19,sizeGrid:"74,80,74,80"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:160,fillColor:"#55fffe"}}]},{type:"Box",props:{width:15,name:"grade1",height:160},child:[{type:"Rect",props:{width:15,lineWidth:1,height:160,fillColor:"#55fffe"}}]},{type:"Box",props:{width:15,name:"grade2",height:160},child:[{type:"Rect",props:{width:15,lineWidth:1,height:160,fillColor:"#b17cff"}}]},{type:"Box",props:{width:15,name:"grade3",height:160},child:[{type:"Rect",props:{width:15,lineWidth:1,height:160,fillColor:"#ffce45"}}]},{type:"Label",props:{text:"Title",name:"labTitle",left:52,fontSize:55,font:"方正像素12",color:"#ffffff",centerY:0}},{type:"Label",props:{y:10,text:"descriptipn",right:33,name:"labDescription",fontSize:44,font:"方正像素12",color:"#76979d",centerY:0}}]}]}]},{type:"Box",props:{x:10,width:1e3,name:"buttonGroup",height:200,centerX:0,bottom:70},child:[{type:"Button",props:{y:100,x:250,width:500,var:"btnAgain",skin:"images/button/button_main@3x.png",name:"btnAgain",label:"UI_Remake_Again",centerY:0,centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",labelSize:50,runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:96,x:250,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:4,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:470,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:414,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:160,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:337,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:331,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:458,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:477,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:464,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,147,0,153,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:520,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:6,blendMode:"lighter",autoPlay:!0}}]}]}]}]},e})(p);(function(n){function e(){this.pageDrawCard=null,this.btnDrawCard=null,this.pageResult=null,this.listTalents=null,this.btnNext=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CyberTalentUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Box",props:{var:"pageDrawCard",top:0,right:0,name:"pageDrawCard",left:0,bottom:0},child:[{type:"Box",props:{y:1117,x:562,width:2,height:2,centerY:-100,centerX:0},child:[{type:"Animation",props:{y:1,x:1,width:100,source:"view/CyberTheme/animation/lightRotation.ani",height:100,autoPlay:!0}},{type:"Image",props:{y:585,skin:"images/border/card@3x.png",scaleY:.9,scaleX:.9,rotation:15,centerY:-50,centerX:0,anchorY:1.2,anchorX:.5,alpha:.8}},{type:"Image",props:{y:634,skin:"images/border/card@3x.png",scaleY:.9,scaleX:.9,rotation:-15,centerY:-50,centerX:0,anchorY:1.2,anchorX:.5,alpha:.8}},{type:"Image",props:{y:634,skin:"images/border/card@3x.png",centerY:-50,centerX:0,anchorY:1.2,anchorX:.5,alpha:.8}},{type:"Image",props:{skin:"images/accessories/cardicon@3x.png",centerY:-30,centerX:0,anchorY:.5,anchorX:.5}}]},{type:"Button",props:{y:1930,x:563,width:657,var:"btnDrawCard",skin:"images/button/button_main@3x.png",name:"btnDrawCard",labelSize:60,label:"UI_Talent_Draw",height:192,centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:93,x:330,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:5,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:625,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:569,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:316,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:493,width:120,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:487,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:613,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:632,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:621,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,305,0,311,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:330,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:4,blendMode:"lighter",autoPlay:!0}}]}]}]},{type:"Box",props:{y:0,x:0,var:"pageResult",top:0,right:0,name:"pageResult",left:0,bottom:0},child:[{type:"List",props:{width:1085,var:"listTalents",vScrollBarSkin:" ",top:310,name:"listTalents",centerX:0,bottom:370},child:[{type:"Box",props:{width:537,renderType:"render",height:352},child:[{type:"Image",props:{top:0,skin:"images/border/talent_item@3x.png",right:0,name:"unselected",left:0,bottom:0}},{type:"Image",props:{top:0,skin:"images/border/talent_item_selected@3x.png",right:0,name:"selected",left:0,bottom:3,sizeGrid:"106,150,74,150"}},{type:"HBox",props:{top:104,space:15,name:"hboxTitle",left:66,height:58},child:[{type:"Box",props:{y:0,x:0,width:15,name:"grades",height:58},child:[{type:"Box",props:{width:15,name:"grade1",height:58},child:[{type:"Sprite",props:{},child:[{type:"Rect",props:{width:15,lineWidth:1,height:58,fillColor:"#55fffe"}}]}]},{type:"Box",props:{width:15,name:"grade2",height:58},child:[{type:"Sprite",props:{},child:[{type:"Rect",props:{width:15,lineWidth:1,height:58,fillColor:"#b17cff"}}]}]},{type:"Box",props:{width:15,name:"grade3",height:58},child:[{type:"Sprite",props:{},child:[{type:"Rect",props:{width:15,lineWidth:1,height:58,fillColor:"#ffce45"}}]}]}]},{type:"Label",props:{x:1,text:"Title",name:"labTitle",fontSize:58,font:"方正像素12",color:"#ffffff"}}]},{type:"Label",props:{y:205,wordWrap:!0,text:"description",right:66,name:"labDescription",left:66,leading:8,fontSize:44,font:"方正像素12",color:"#9dacaf"}}]}]},{type:"Box",props:{right:0,left:0,height:1,bottom:0},child:[{type:"Button",props:{width:1040,var:"btnNext",skin:"images/button/button_main@3x.png",name:"btnNext",labelSize:60,label:"UI_Next",height:192,centerY:-180,centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:96,x:520,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:7,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:1010,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:954,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:700,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:877,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:871,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:998,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:1017,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:1004,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,687,0,693,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:520,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:6,blendMode:"lighter",autoPlay:!0}}]}]}]}]},{type:"Box",props:{top:40,right:0,name:"title",left:0},child:[{type:"Image",props:{skin:"images/accessories/titlebar@3x.png",right:0,left:0,sizeGrid:"0,348,116,348"}},{type:"HBox",props:{y:160,x:563,space:30,height:70,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{y:10,x:1,skin:"images/accessories/title_left@3x.png",name:"left"}},{type:"Label",props:{y:0,x:2,text:"UI_Title_Talent",fontSize:60,font:"方正像素12",color:"#ffffff"}},{type:"Image",props:{y:10,x:3,skin:"images/accessories/title_right@3x.png",name:"right"}}]}]}]},e})(p);(function(n){function e(){this.labCharm=null,this.labMoney=null,this.labIntelligence=null,this.labStrength=null,this.labSpirit=null,this.btnSummary=null,this.boxSpeed=null,this.prgSpeed=null,this.scbSpeed=null,this.panelTrajectory=null,this.vboxTrajectory=null,this.btnUp=null,this.btnDown=null,this.boxParticle=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.CyberTrajectoryUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),p.regComponent("Particle2D",laya.particle.Particle2D),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Sprite",props:{y:0,x:0},child:[{type:"Rect",props:{width:1125,lineWidth:1,height:2436,fillColor:"#04131f"}}]},{type:"Box",props:{top:126,right:20,left:20,height:275},child:[{type:"Image",props:{top:-13,skin:"images/border/border_2@3x.png",right:-13,left:-13,bottom:-13,sizeGrid:"75,155,75,155"}},{type:"Box",props:{width:192,left:36,height:192,centerY:0}},{type:"VBox",props:{space:13,right:45,left:242,centerY:0,align:"left"},child:[{type:"HBox",props:{y:1,space:13,align:"middle"},child:[{type:"Box",props:{x:1,width:260,name:"boxCharm",height:82},child:[{type:"Image",props:{y:-10,x:-5,top:0,skin:"images/border/property@3x.png",right:0,left:0,bottom:0,sizeGrid:"15,15,15,15"}},{type:"Box",props:{width:82,left:5,height:82},child:[{type:"Image",props:{skin:"images/icons/icon_chr@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Property_Charm",fontSize:40,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:5,anchorX:.5}},{type:"Box",props:{y:0,width:82,right:5,height:82},child:[{type:"Label",props:{var:"labCharm",text:"10",name:"labCharm",fontSize:55,font:"方正像素12",color:"#55fffe",centerY:0,centerX:0,anchorY:5,anchorX:.5}}]}]},{type:"Box",props:{y:0,x:2,width:260,name:"boxMoney",height:82},child:[{type:"Image",props:{y:-10,x:-5,top:0,skin:"images/border/property@3x.png",right:0,left:0,bottom:0,sizeGrid:"15,15,15,15"}},{type:"Box",props:{width:82,left:5,height:82},child:[{type:"Image",props:{skin:"images/icons/icon_mny@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Property_Money",fontSize:40,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:5,anchorX:.5}},{type:"Box",props:{y:0,width:82,right:5,height:82},child:[{type:"Label",props:{var:"labMoney",text:"10",name:"labMoney",fontSize:55,font:"方正像素12",color:"#55fffe",centerY:0,centerX:0,anchorY:5,anchorX:.5}}]}]},{type:"Box",props:{x:3,width:260,name:"boxIntelligence",height:82},child:[{type:"Image",props:{y:-10,x:-5,top:0,skin:"images/border/property@3x.png",right:0,left:0,bottom:0,sizeGrid:"15,15,15,15"}},{type:"Box",props:{width:82,left:5,height:82},child:[{type:"Image",props:{skin:"images/icons/icon_int@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Property_Intelligence",fontSize:40,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:5,anchorX:.5}},{type:"Box",props:{y:0,width:82,right:5,height:82},child:[{type:"Label",props:{var:"labIntelligence",text:"10",name:"labIntelligence",fontSize:55,font:"方正像素12",color:"#55fffe",centerY:0,centerX:0,anchorY:5,anchorX:.5}}]}]}]},{type:"HBox",props:{y:2,space:13,align:"middle"},child:[{type:"Box",props:{y:0,x:0,width:260,name:"boxStrength",height:82},child:[{type:"Image",props:{y:-10,x:-5,top:0,skin:"images/border/property@3x.png",right:0,left:0,bottom:0,sizeGrid:"15,15,15,15"}},{type:"Box",props:{width:82,left:5,height:82},child:[{type:"Image",props:{skin:"images/icons/icon_str@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Property_Strength",fontSize:40,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:5,anchorX:.5}},{type:"Box",props:{y:0,width:82,right:5,height:82},child:[{type:"Label",props:{var:"labStrength",text:"10",name:"labStrength",fontSize:55,font:"方正像素12",color:"#55fffe",centerY:0,centerX:0,anchorY:5,anchorX:.5}}]}]},{type:"Box",props:{width:260,name:"boxSpirit",height:82},child:[{type:"Image",props:{y:-10,x:-5,top:0,skin:"images/border/property@3x.png",right:0,left:0,bottom:0,sizeGrid:"15,15,15,15"}},{type:"Box",props:{width:82,left:5,height:82},child:[{type:"Image",props:{skin:"images/icons/icon_spr@3x.png",centerY:0,centerX:0}}]},{type:"Label",props:{text:"UI_Property_Spirit",fontSize:40,font:"方正像素12",color:"#ffffff",centerY:0,centerX:0,anchorY:5,anchorX:.5}},{type:"Box",props:{y:0,width:82,right:5,height:82},child:[{type:"Label",props:{var:"labSpirit",text:"10",name:"labSpirit",fontSize:55,font:"方正像素12",color:"#55fffe",centerY:0,centerX:0,anchorY:5,anchorX:.5}}]}]}]}]}]},{type:"Box",props:{right:0,left:0,height:1,bottom:-1},child:[{type:"Button",props:{y:-155,width:500,var:"btnSummary",skin:"images/button/button_main@3x.png",name:"btnSummary",label:"UI_Goto_Summary",centerX:0,stateNum:1,anchorX:.5,anchorY:.5,sizeGrid:"45,200,45,200",labelFont:"方正像素12",labelColors:"#00fffc,#00fffc,#00fffc",labelSize:50,runtime:"Laya.runtime.ScaleButton"},child:[{type:"Box",props:{},child:[{type:"Animation",props:{y:96,x:250,width:0,source:"view/CyberTheme/animation/circleFlash.ani",scaleX:4,height:0,blendMode:"lighter",autoPlay:!0}},{type:"Box",props:{renderType:"mask"},child:[{type:"Rect",props:{y:37,x:25,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:37,x:470,width:7,lineWidth:1,height:116,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:44,width:414,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:171,width:160,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:44,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:163,x:337,width:121,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:148,x:29,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:150,x:331,width:19,rotation:55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:166,x:160,width:19,rotation:-55,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:21,x:458,width:25,rotation:40,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:26,x:48,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}},{type:"Rect",props:{y:153,x:477,width:25,rotation:140,lineWidth:1,height:6,fillColor:"#ff0000"}}]}]},{type:"Box",props:{},child:[{type:"Box",props:{renderType:"mask"},child:[{type:"Poly",props:{y:41,x:35,points:"0,0,8,-6,8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:41,x:464,points:"0,0,-8,-6,-8,113,0,107",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}},{type:"Poly",props:{y:160,x:177,points:"0,0,147,0,153,10,-6,10",lineWidth:1,lineColor:"#ff0000",fillColor:"#00ffff"}}]},{type:"Animation",props:{y:172,x:520,source:"view/CyberTheme/animation/bottomBreath.ani",scaleX:6,blendMode:"lighter",autoPlay:!0}}]}]},{type:"Box",props:{y:-155,var:"boxSpeed",right:100,name:"boxSpeed",left:100,height:150,anchorY:.5,anchorX:.5},child:[{type:"ProgressBar",props:{var:"prgSpeed",skin:"images/progress/progress_s.png",right:0,name:"prgSpeed",left:0,bottom:0}},{type:"HScrollBar",props:{var:"scbSpeed",skin:"images/slider/hslider_s.png",right:0,name:"scbSpeed",min:0,max:1e3,left:0,height:60,bottom:0}},{type:"Label",props:{text:"UI_Manual",fontSize:50,font:"方正像素12",color:"#55fffe",bottom:70}},{type:"Label",props:{text:"UI_Auto",right:0,fontSize:50,font:"方正像素12",color:"#55fffe",bottom:70}}]}]},{type:"Box",props:{top:440,right:20,left:20,bottom:250},child:[{type:"Image",props:{top:0,skin:"images/border/border_1@3x.png",right:0,left:0,bottom:0,sizeGrid:"130,130,130,130"}},{type:"Panel",props:{var:"panelTrajectory",vScrollBarSkin:"images/slider/vslider_1@3x.png",top:80,right:20,name:"panelTrajectory",left:0,bottom:80},child:[{type:"VBox",props:{var:"vboxTrajectory",top:0,right:40,name:"vboxTrajectory",left:20},child:[{type:"Box",props:{right:0,name:"boxTrajectoryItem",left:0},child:[{type:"Box",props:{y:0,width:10,top:0,runtime:"Laya.runtime.ColorfulBox",name:"boxGrade",left:0,height:50}},{type:"HBox",props:{y:0,x:220,name:"hboxAge",anchorX:1,align:"middle"},child:[{type:"Label",props:{x:0,text:"3000",name:"labAge",fontSize:50,font:"方正像素12",color:"#cfea5c",anchorX:0}},{type:"Label",props:{x:1,text:"岁",fontSize:50,font:"方正像素12",color:"#cfea5c",anchorX:0}},{type:"Label",props:{x:2,text:"",fontSize:50,font:"方正像素12",color:"#cfea5c",anchorX:0}}]},{type:"Label",props:{wordWrap:!0,text:"你的父母开始辅导你数学和英语,智力+1",right:0,name:"labContent",left:240,leading:44,fontSize:50,font:"方正像素12",color:"#ffffff"}}]}]}]},{type:"Box",props:{y:20,x:20,var:"btnUp",top:20,right:20,name:"btnUp",left:20,height:50},child:[{type:"Image",props:{top:0,skin:"images/border/up@3x.png",right:0,left:0,bottom:0,sizeGrid:"4,4,4,4"}},{type:"Box",props:{width:60,height:60,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{skin:"images/icons/icon_up@3x.png",centerY:0,centerX:0}}]}]},{type:"Box",props:{y:1676,x:20,var:"btnDown",right:20,name:"btnDown",left:20,height:50,bottom:20},child:[{type:"Image",props:{top:0,skin:"images/border/up@3x.png",right:0,left:0,bottom:0,sizeGrid:"4,4,4,4"}},{type:"Box",props:{width:60,rotation:180,height:60,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{skin:"images/icons/icon_up@3x.png",centerY:0,centerX:0}}]}]}]},{type:"Box",props:{width:10,var:"boxParticle",name:"boxParticle",height:10,centerY:0,centerX:0},child:[{type:"Particle2D",props:{y:5,x:5,url:"particle/fly.part",autoPlay:!0}}]}]},e})(p);(function(n){function e(){this.btnCustom=null,this.btnCelebrity=null,e.__super.call(this)}w(e,"ui.view.CyberTheme.ModeUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,height:2436},child:[{type:"Box",props:{y:10,x:10,width:600,var:"btnCustom",runtime:"Laya.runtime.ScaleButton",name:"btn",height:400,centerY:-400,centerX:0},child:[{type:"Image",props:{top:-15,skin:"images/border/achievement_complete@3x.png",right:-15,left:-15,bottom:-15,sizeGrid:"74,80,74,80"}},{type:"Label",props:{top:50,text:"UI_CustomMode",fontSize:80,font:"方正像素12",color:"#ffffff",centerX:0,bold:!0}},{type:"Label",props:{top:200,text:"UI_CustomModeDescription",right:0,left:0,leading:20,fontSize:40,font:"方正像素12",color:"#bcbcbc",bottom:0,align:"center"}}]},{type:"Box",props:{y:10,x:20,width:600,var:"btnCelebrity",runtime:"Laya.runtime.ScaleButton",name:"btn",height:400,centerY:400,centerX:0},child:[{type:"Image",props:{y:-15,x:-15,top:-15,skin:"images/border/achievement_complete@3x.png",right:-15,left:-15,bottom:-15,sizeGrid:"74,80,74,80"}},{type:"Label",props:{top:50,text:"UI_CelebrityMode",fontSize:80,font:"方正像素12",color:"#ffffff",centerX:0,bold:!0}},{type:"Label",props:{top:200,text:"UI_CelebrityModeDescription",right:0,left:0,leading:20,fontSize:40,font:"方正像素12",color:"#bcbcbc",bottom:0,align:"center"}}]}]},e})(p);(function(n){function e(){this.btnBack=null,this.boxRemakeTimes=null,this.labRemakeTimes=null,this.labRemakeTimesJudge=null,this.boxAchievementCount=null,this.labAchievementCount=null,this.labAchievementCountJudge=null,this.boxEventRate=null,this.prgEventRate=null,this.labEventRate=null,this.boxTalentRate=null,this.prgTalentRate=null,this.labTalentRate=null,this.btnRank=null,this.listAchievements=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.AchievementUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Label",props:{y:80,text:"UI_Statistics",name:"title",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0}},{type:"Box",props:{width:260,var:"btnBack",top:50,runtime:"Laya.runtime.ColorfulBox",right:50,name:"btnBack",height:90,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{y:1028,x:332,text:"UI_Back",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]},{type:"Box",props:{x:33,width:1060,top:230,height:540,centerX:0},child:[{type:"Box",props:{width:500,var:"boxRemakeTimes",top:0,runtime:"Laya.runtime.ColorfulBox",name:"boxRemakeTimes",left:0,height:240},child:[{type:"Label",props:{var:"labRemakeTimes",text:"label",right:0,name:"font_default",left:0,fontSize:60,font:"SimHei",color:"#ffffff",centerY:-60,bold:!0,align:"center"}},{type:"Label",props:{var:"labRemakeTimesJudge",text:"label",right:0,name:"font_default",left:0,fontSize:45,font:"SimHei",color:"#ffffff",centerY:60,bold:!1,align:"center"}}]},{type:"Box",props:{width:500,var:"boxAchievementCount",top:0,runtime:"Laya.runtime.ColorfulBox",right:0,name:"boxAchievementCount",height:240},child:[{type:"Label",props:{var:"labAchievementCount",text:"label",right:0,name:"font_default",left:0,fontSize:60,font:"SimHei",color:"#ffffff",centerY:-60,bold:!0,align:"center"}},{type:"Label",props:{var:"labAchievementCountJudge",text:"label",right:0,name:"font_default",left:0,fontSize:45,font:"SimHei",color:"#ffffff",centerY:60,bold:!1,align:"center"}}]},{type:"Box",props:{width:500,var:"boxEventRate",runtime:"Laya.runtime.ColorfulBox",name:"boxEventRate",left:0,height:240,bottom:0},child:[{type:"Box",props:{y:0,x:0,width:500,var:"prgEventRate",height:240,blendMode:"lighter",alpha:.1},child:[{type:"Rect",props:{width:500,lineWidth:1,height:240,fillColor:"#ffffff"}}]},{type:"Label",props:{text:"UI_Event_Collection_Rate",right:0,name:"font_default",left:0,fontSize:60,font:"SimHei",color:"#ffffff",centerY:-60,bold:!0,align:"center"}},{type:"Label",props:{var:"labEventRate",text:"label",right:0,name:"font_default",left:0,fontSize:45,font:"SimHei",color:"#ffffff",centerY:60,bold:!1,align:"center"}}]},{type:"Box",props:{width:500,var:"boxTalentRate",runtime:"Laya.runtime.ColorfulBox",right:0,name:"boxTalentRate",height:240,bottom:0},child:[{type:"Box",props:{y:0,x:0,width:500,var:"prgTalentRate",height:240,blendMode:"lighter",alpha:.1},child:[{type:"Rect",props:{width:500,lineWidth:1,height:240,fillColor:"#ffffff"}}]},{type:"Label",props:{text:"UI_Talent_Collection_Rate",right:0,name:"font_default",left:0,fontSize:60,font:"SimHei",color:"#ffffff",centerY:-60,bold:!0,align:"center"}},{type:"Label",props:{var:"labTalentRate",text:"label",right:0,name:"font_default",left:0,fontSize:45,font:"SimHei",color:"#ffffff",centerY:60,bold:!1,align:"center"}}]}]},{type:"Box",props:{width:1060,top:800,runtime:"Laya.runtime.ColorfulBox",name:"hr",height:10,centerX:0}},{type:"Label",props:{top:870,text:"UI_Achievement",name:"title",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0}},{type:"Box",props:{x:945,width:260,var:"btnRank",top:870,runtime:"Laya.runtime.ColorfulBox",right:50,name:"btnRank",height:90,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Rank",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]},{type:"List",props:{width:1080,var:"listAchievements",vScrollBarSkin:" ",top:1e3,spaceY:60,spaceX:60,repeatX:2,name:"listAchievements",centerX:0,bottom:35},child:[{type:"Box",props:{y:10,x:10,width:500,runtime:"Laya.runtime.ColorfulBox",renderType:"render",height:320},child:[{type:"Label",props:{text:"label",right:0,name:"name",left:0,fontSize:60,font:"SimHei",color:"#ffffff",centerY:-80,bold:!0,align:"center"}},{type:"Label",props:{text:"label",right:0,name:"description",left:0,fontSize:45,font:"SimHei",color:"#ffffff",centerY:80,bold:!1,anchorY:0,anchorX:0,align:"center"}},{type:"Box",props:{width:500,name:"boxMask",height:320,alpha:.5},child:[{type:"Rect",props:{width:500,lineWidth:1,height:320,fillColor:"#000000"}}]}]}]}]},e})(p);(function(n){function e(){this.boxBg=null,this.bg1=null,this.labName=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.AchievementPopupUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{y:50,width:570,mouseThrough:!0,mouseEnabled:!1,height:150,alpha:.75},child:[{type:"Box",props:{var:"boxBg",top:0,right:0,name:"boxBg",left:0,bottom:0},child:[{type:"Rect",props:{y:0,x:560,width:10,lineWidth:1,height:150,fillColor:"#84ff55"}},{type:"Box",props:{var:"bg1",top:0,runtime:"Laya.runtime.ColorfulBox",right:10,left:0,bottom:0}}]},{type:"Label",props:{y:10,text:"UI_Achievement_Achieve",left:40,fontSize:40,font:"SimHei",color:"#84ff55",bold:!0}},{type:"Label",props:{var:"labName",text:"Achievement",name:"labName",left:40,fontSize:60,font:"SimHei",color:"#cccccc",centerY:30}}]},e})(p);(function(n){function e(){this.panelCharacter=null,this.vboxCharacter=null,this.btnRetry=null,this.btnNext=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.CelebrityUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,height:2436},child:[{type:"Label",props:{y:80,text:"UI_Title_Celebrity",name:"title",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0}},{type:"Panel",props:{var:"panelCharacter",vScrollBarSkin:" ",top:200,right:0,name:"panelCharacter",left:0,bottom:700},child:[{type:"VBox",props:{y:10,width:1e3,var:"vboxCharacter",space:20,name:"vboxCharacter",centerX:0},child:[{type:"Box",props:{right:0,name:"boxCharacter",left:0},child:[{type:"Box",props:{y:0,runtime:"Laya.runtime.ColorfulBox",right:0,name:"boxName",left:0,height:100},child:[{type:"Label",props:{valign:"middle",text:"颜值10 智力10 体质10 家境Π",name:"label",fontSize:55,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,align:"center"}}]},{type:"VBox",props:{top:100,space:20,runtime:"Laya.runtime.ColorfulBox",right:25,name:"vboxStates",left:25},child:[{type:"Label",props:{valign:"middle",text:"颜值10 智力10 体质10 家境Π",name:"label",height:100,fontSize:55,font:"SimHei",color:"#ffffff",centerX:0,align:"center"}}]}]},{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:25,name:"boxTalent",left:25,height:100},child:[{type:"Label",props:{valign:"middle",text:"颜值10 智力10 体质10 家境Π",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,align:"center"}}]},{type:"Box",props:{y:10,x:10,right:0,name:"boxUniqueUnGenerate",left:0},child:[{type:"Box",props:{y:0,runtime:"Laya.runtime.ColorfulBox",right:0,name:"boxName",left:0,height:100},child:[{type:"Label",props:{valign:"middle",text:"UI_UniqueWaTaShi",name:"label",fontSize:55,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,align:"center"}}]},{type:"VBox",props:{top:100,space:20,runtime:"Laya.runtime.ColorfulBox",right:25,name:"vboxStates",left:25},child:[{type:"Label",props:{y:1,valign:"middle",text:"UI_UniqueWaTaShiContent",right:0,name:"label",left:0,leading:30,fontSize:55,font:"SimHei",color:"#ffffff",align:"center"}},{type:"Box",props:{y:2,right:0,name:"boxBtn",left:0,height:150},child:[{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:50,name:"btn",left:50,height:120,centerY:0},child:[{type:"Label",props:{y:30,x:290,text:"UI_GenerateNow",name:"label",fontSize:60,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]}]}]}]}]},{type:"Box",props:{width:480,var:"btnRetry",runtime:"Laya.runtime.ColorfulBox",name:"btnRetry",height:150,centerX:0,bottom:400},child:[{type:"Label",props:{text:"UI_AllNot",name:"label",fontSize:60,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]},{type:"Box",props:{width:480,var:"btnNext",runtime:"Laya.runtime.ColorfulBox",name:"btnNext",height:150,centerX:0,bottom:150},child:[{type:"Label",props:{text:"UI_Make_New_Life",name:"label",fontSize:60,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]},e})(p);(function(n){function e(){this.labSubTitle=null,this.btnRemake=null,this.btnThanks=null,this.btnAchievement=null,this.btnGithub=null,this.btnDiscord=null,this.btnSaveLoad=null,this.btnThemes=null,this.banner=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.MainUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{y:1218,x:562,width:1125,runtime:"Laya.runtime.ViewBase",height:2436,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Title_Remake",name:"title",fontSize:130,font:"SimHei",color:"#ffffff",centerY:-260,centerX:0,bold:!0,anchorY:.5,anchorX:.5}},{type:"Label",props:{wordWrap:!0,var:"labSubTitle",text:"UI_Title_Subsequent",right:0,name:"title",left:0,fontSize:70,font:"SimHei",color:"#999999",centerY:-120,anchorY:.5,anchorX:.5,align:"center"}},{type:"Box",props:{width:600,var:"btnRemake",runtime:"Laya.runtime.ColorfulBox",name:"btnRemake",height:150,centerY:600,centerX:0},child:[{type:"Label",props:{text:"UI_Remake",name:"label",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]},{type:"Box",props:{width:260,var:"btnThanks",top:50,runtime:"Laya.runtime.ColorfulBox",right:50,name:"btnSmall",height:90,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Thanks",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{width:260,var:"btnAchievement",top:180,runtime:"Laya.runtime.ColorfulBox",right:50,name:"btnSmall",height:90,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Achievement",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{y:0,x:0,width:160,var:"btnGithub",runtime:"Laya.runtime.ScaleButton",rotation:-45,name:"btnGithub",height:160,anchorY:0,anchorX:.5},child:[{type:"Rect",props:{y:0,x:-70,width:300,lineWidth:1,height:140,fillColor:"#000000"}},{type:"Image",props:{top:0,skin:"images/icons/icon_github.png",rotation:0,right:0,left:0,bottom:0,anchorY:.5,anchorX:.5}},{type:"Rect",props:{y:0,x:-70,width:300,renderType:"hit",lineWidth:1,height:140,fillColor:"#000000"}},{type:"Box",props:{y:0,x:-70,renderType:"mask"},child:[{type:"Rect",props:{width:300,lineWidth:1,height:140,fillColor:"#000000"}}]}]},{type:"Box",props:{width:160,left:50,height:160,bottom:50},child:[{type:"Box",props:{width:160,var:"btnDiscord",runtime:"Laya.runtime.ScaleButton",name:"btnDiscord",height:160,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{top:0,skin:"images/icons/icon_discord.png",right:0,left:0,bottom:0,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{y:2201,x:1020,width:110,var:"btnSaveLoad",runtime:"Laya.runtime.ColorfulBox",right:50,name:"btnSmall",height:110,bottom:180,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{width:80,skin:"images/icons/icon_save.png",height:80,centerY:0,centerX:0}}]},{type:"Box",props:{width:110,var:"btnThemes",runtime:"Laya.runtime.ColorfulBox",right:50,name:"btnThemes",height:110,bottom:50,anchorY:.5,anchorX:.5},child:[{type:"Image",props:{width:90,skin:"images/icons/icon_themes.png",height:90,centerY:0,centerX:0}}]},{type:"Box",props:{x:562,var:"banner",centerX:0,bottom:100,anchorY:1,anchorX:.5},child:[{type:"Label",props:{text:"UI_Banner",name:"title",fontSize:40,font:"SimHei",color:"#ffffff"}}]}]},e})(p);(function(n){function e(){this.btnCustom=null,this.btnCelebrity=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.ModeUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),p.regComponent("Laya.runtime.ColorAgentLabel",Laya.runtime.ColorAgentLabel),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,height:2436},child:[{type:"Box",props:{width:600,var:"btnCustom",runtime:"Laya.runtime.ColorfulBox",name:"btn",height:400,centerY:-400,centerX:0},child:[{type:"Label",props:{top:50,text:"UI_CustomMode",name:"font_default",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0,bold:!0}},{type:"Label",props:{top:200,text:"UI_CustomModeDescription",right:0,name:"font_default",left:0,leading:20,fontSize:40,font:"SimHei",color:"#ffffff",bottom:0,align:"center"}},{type:"Label",props:{runtime:"Laya.runtime.ColorAgentLabel",name:"label"}}]},{type:"Box",props:{x:10,width:600,var:"btnCelebrity",runtime:"Laya.runtime.ColorfulBox",name:"btn",height:400,centerY:400,centerX:0},child:[{type:"Label",props:{top:50,text:"UI_CelebrityMode",name:"font_default",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0,bold:!0}},{type:"Label",props:{top:200,text:"UI_CelebrityModeDescription",right:0,name:"font_default",left:0,leading:20,fontSize:40,font:"SimHei",color:"#ffffff",bottom:0,align:"center"}},{type:"Label",props:{y:10,x:10,runtime:"Laya.runtime.ColorAgentLabel",name:"label"}}]}]},e})(p);(function(n){function e(){this.title=null,this.labLeftPropertyPoint=null,this.boxCharm=null,this.boxCharmAllocate=null,this.btnCharmReduce=null,this.inputCharm=null,this.btnCharmIncrease=null,this.boxIntelligence=null,this.boxIntelligenceAllocate=null,this.btnIntelligenceReduce=null,this.inputIntelligence=null,this.btnIntelligenceIncrease=null,this.boxStrength=null,this.boxStrengthAllocate=null,this.btnStrengthReduce=null,this.inputStrength=null,this.btnStrengthIncrease=null,this.boxMoney=null,this.boxMoneyAllocate=null,this.btnMoneyReduce=null,this.inputMoney=null,this.btnMoneyIncrease=null,this.listSelectedTalents=null,this.btnRandomAllocate=null,this.btnNext=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.PropertyUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorFilterItem",Laya.runtime.ColorFilterItem),p.regComponent("Laya.runtime.ScaleButton",Laya.runtime.ScaleButton),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Label",props:{y:80,var:"title",text:"UI_Title_Property",name:"title",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0}},{type:"Box",props:{top:230,right:40,name:"propertyAllocate",left:40,height:1100},child:[{type:"HBox",props:{top:0,height:100,centerX:0},child:[{type:"Label",props:{x:0,text:"UI_Left_Property_Point",name:"font_default",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0}},{type:"Label",props:{x:1,text:"UI_Colon",name:"font_default",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0}},{type:"Label",props:{x:2,var:"labLeftPropertyPoint",text:"0",name:"font_default",fontSize:70,color:"#ffffff",centerY:0}}]},{type:"VBox",props:{top:200,space:100,right:50,left:50},child:[{type:"Box",props:{y:0,var:"boxCharm",right:0,left:0,height:130},child:[{type:"Label",props:{x:183,text:"UI_Property_Charm",name:"font_default",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxCharmAllocate",runtime:"Laya.runtime.ColorFilterItem",right:30,name:"property",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnCharmReduce",name:"btnCharmReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputCharm",type:"number",top:0,text:"0",right:0,promptColor:"#828282",prompt:0,name:"inputCharm",maxChars:1,left:0,fontSize:80,font:"SimHei",color:"#ffffff",bottom:0,align:"center"}},{type:"Rect",props:{y:0,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,var:"btnCharmIncrease",right:0,name:"btnCharmIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]}]}]},{type:"Box",props:{y:1,var:"boxIntelligence",right:0,left:0,height:130},child:[{type:"Label",props:{x:183,text:"UI_Property_Intelligence",name:"font_default",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxIntelligenceAllocate",runtime:"Laya.runtime.ColorFilterItem",right:30,name:"property",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnIntelligenceReduce",name:"btnIntelligenceReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputIntelligence",type:"number",top:0,text:"0",right:0,promptColor:"#828282",prompt:0,name:"inputIntelligence",maxChars:1,left:0,fontSize:80,font:"SimHei",color:"#ffffff",bottom:0,align:"center"}},{type:"Rect",props:{y:0,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,var:"btnIntelligenceIncrease",right:0,name:"btnIntelligenceIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]}]}]},{type:"Box",props:{y:2,var:"boxStrength",right:0,left:0,height:130},child:[{type:"Label",props:{x:183,text:"UI_Property_Strength",name:"font_default",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxStrengthAllocate",runtime:"Laya.runtime.ColorFilterItem",right:30,name:"property",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnStrengthReduce",name:"btnStrengthReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputStrength",type:"number",top:0,text:"0",right:0,promptColor:"#828282",prompt:0,name:"inputStrength",maxChars:1,left:0,fontSize:80,font:"SimHei",color:"#ffffff",bottom:0,align:"center"}},{type:"Rect",props:{y:0,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,var:"btnStrengthIncrease",right:0,name:"btnStrengthIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]}]}]},{type:"Box",props:{y:3,var:"boxMoney",right:0,left:0,height:130},child:[{type:"Label",props:{x:183,text:"UI_Property_Money",name:"font_default",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{width:590,var:"boxMoneyAllocate",runtime:"Laya.runtime.ColorFilterItem",right:30,name:"property",height:110,centerY:0},child:[{type:"Box",props:{width:110,var:"btnMoneyReduce",name:"btnMoneyReduce",left:0,height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]},{type:"Box",props:{y:0,x:110,top:0,right:110,left:110,bottom:0},child:[{type:"TextInput",props:{var:"inputMoney",type:"number",top:0,text:"0",right:0,promptColor:"#828282",prompt:0,name:"inputMoney",maxChars:1,left:0,fontSize:80,font:"SimHei",color:"#ffffff",bottom:0,align:"center"}},{type:"Rect",props:{y:0,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:370,lineWidth:1,height:4,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,var:"btnMoneyIncrease",right:0,name:"btnMoneyIncrease",height:110,centerY:0},child:[{type:"Box",props:{width:110,height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:106,x:0,width:110,lineWidth:1,height:4,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:0,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}},{type:"Rect",props:{y:0,x:106,width:4,lineWidth:1,height:110,fillColor:"#ffffff"}}]},{type:"Box",props:{width:110,runtime:"Laya.runtime.ScaleButton",height:110,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Box",props:{width:48,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]},{type:"Box",props:{width:48,rotation:90,height:12,centerY:0,centerX:0,anchorY:.5,anchorX:.5},child:[{type:"Rect",props:{y:0,x:0,width:48,lineWidth:1,height:12,fillColor:"#ffffff"}}]}]}]}]}]}]}]},{type:"Box",props:{right:40,name:"selectedTalents",left:40,height:450,bottom:300},child:[{type:"Label",props:{top:20,text:"UI_Selected_Talent",name:"font_default",left:20,fontSize:50,font:"SimHei",color:"#ffffff"}},{type:"List",props:{var:"listSelectedTalents",vScrollBarSkin:" ",top:110,spaceY:20,right:10,repeatY:3,repeatX:1,name:"listSelectedTalents",left:10,bottom:10},child:[{type:"Box",props:{y:15,runtime:"Laya.runtime.ColorfulBox",right:15,renderType:"render",left:15,height:80},child:[{type:"Label",props:{y:20,text:"Title",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]}]},{type:"HBox",props:{space:40,name:"buttonGroup",height:150,centerX:0,bottom:90},child:[{type:"Box",props:{y:0,x:0,width:480,var:"btnRandomAllocate",top:0,runtime:"Laya.runtime.ColorfulBox",name:"btnRandomAllocate",bottom:0},child:[{type:"Label",props:{text:"UI_Random_Allocate",name:"label",fontSize:60,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]},{type:"Box",props:{x:1,width:480,var:"btnNext",top:0,runtime:"Laya.runtime.ColorfulBox",name:"btnNext",bottom:0},child:[{type:"Label",props:{text:"UI_Make_New_Life",name:"label",fontSize:60,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]}]},e})(p);(function(n){function e(){this.title=null,this.listSummary=null,this.listSelectedTalents=null,this.btnAgain=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.SummaryUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),p.regComponent("Laya.runtime.BlankBox",Laya.runtime.BlankBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Label",props:{y:80,var:"title",text:"UI_Title_Summary",name:"title",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0}},{type:"Box",props:{top:230,right:40,name:"summary",left:40,bottom:800},child:[{type:"List",props:{var:"listSummary",top:0,spaceY:20,right:0,repeatY:7,repeatX:1,name:"listSummary",left:0,bottom:0},child:[{type:"Box",props:{y:15,runtime:"Laya.runtime.ColorfulBox",right:15,renderType:"render",left:15,height:160},child:[{type:"Label",props:{y:20,text:"Title",name:"label",left:100,fontSize:70,font:"SimHei",color:"#ffffff",centerY:0}}]}]}]},{type:"Box",props:{right:40,name:"selectedTalents",left:40,height:450,bottom:300},child:[{type:"Label",props:{top:20,text:"UI_Talent_Extend",name:"font_default",left:20,fontSize:50,color:"#ffffff"}},{type:"List",props:{var:"listSelectedTalents",vScrollBarSkin:" ",top:110,spaceY:20,right:0,repeatY:3,repeatX:1,name:"listSelectedTalents",left:0,bottom:10},child:[{type:"Box",props:{y:15,runtime:"Laya.runtime.ColorfulBox",right:15,renderType:"render",left:15,height:80},child:[{type:"Label",props:{y:20,text:"Title",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}},{type:"Box",props:{top:0,runtime:"Laya.runtime.BlankBox",right:0,name:"blank",left:0,bottom:0,alpha:.3}}]}]}]},{type:"Box",props:{right:1,name:"buttonGroup",left:1,bottom:0},child:[{type:"Box",props:{width:600,var:"btnAgain",runtime:"Laya.runtime.ColorfulBox",name:"btnAgain",height:150,centerX:0,bottom:100},child:[{type:"Label",props:{text:"UI_Remake_Again",name:"label",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]}]},e})(p);(function(n){function e(){this.title=null,this.pageDrawCard=null,this.btnDrawCard=null,this.pageResult=null,this.listTalents=null,this.btnNext=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.TalentUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),p.regComponent("Laya.runtime.BlankBox",Laya.runtime.BlankBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Label",props:{y:80,var:"title",text:"UI_Title_Talent",name:"title",fontSize:80,font:"SimHei",color:"#ffffff",centerX:0}},{type:"Box",props:{var:"pageDrawCard",top:0,right:0,name:"pageDrawCard",left:0,bottom:0},child:[{type:"Box",props:{width:600,var:"btnDrawCard",runtime:"Laya.runtime.ColorfulBox",name:"btnDrawCard",height:150,centerY:0,centerX:0},child:[{type:"Label",props:{text:"UI_Talent_Draw",name:"label",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]},{type:"Box",props:{y:0,x:0,var:"pageResult",top:0,right:0,name:"pageResult",left:0,bottom:0},child:[{type:"List",props:{width:1085,var:"listTalents",vScrollBarSkin:" ",top:230,spaceY:20,repeatX:1,name:"listTalents",centerX:0,bottom:250},child:[{type:"Box",props:{y:15,runtime:"Laya.runtime.ColorfulBox",right:15,renderType:"render",left:15,height:80},child:[{type:"Label",props:{y:20,text:"Title",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}},{type:"Box",props:{top:0,runtime:"Laya.runtime.BlankBox",right:0,name:"blank",left:0,bottom:0,alpha:.3}}]}]},{type:"Box",props:{x:263,width:1085,var:"btnNext",runtime:"Laya.runtime.ColorfulBox",name:"btnNext",height:150,centerX:0,bottom:30},child:[{type:"Label",props:{text:"UI_Next",name:"label",fontSize:70,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]}]},e})(p);(function(n){function e(){this.btnBack=null,this.panelTopSupports=null,this.vboxTopSupports=null,this.listSupports=null,this.btnDDF=null,this.btnAFD=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.ThanksUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Box",props:{y:95,x:945,width:260,var:"btnBack",top:50,runtime:"Laya.runtime.ColorfulBox",right:50,name:"btnBack",height:90,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{y:1028,x:332,text:"UI_Back",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]},{type:"Panel",props:{width:1100,var:"panelTopSupports",vScrollBarSkin:" ",top:170,name:"panelTopSupports",height:400,centerX:0},child:[{type:"VBox",props:{y:15,var:"vboxTopSupports",space:30,right:-6,name:"vboxTopSupports",left:-6},child:[{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:0,name:"boxTopSupport",left:0},child:[{type:"Label",props:{y:25,wordWrap:!0,width:250,text:"Sombody",name:"name",left:50,leading:25,fontSize:50,font:"SimHei",color:"#000000",align:"center"}},{type:"Label",props:{y:25,wordWrap:!0,text:"This is he say",right:20,name:"comment",left:350,leading:25,fontSize:50,font:"SimHei",color:"#000000",align:"center"}}]}]}]},{type:"List",props:{width:1100,var:"listSupports",vScrollBarSkin:" ",top:600,spaceY:50,spaceX:50,name:"listSupports",centerX:0,bottom:200},child:[{type:"Label",props:{y:30,x:25,width:500,text:"label",renderType:"render",fontSize:50,font:"SimHei",color:"#ffffff",align:"center"}}]},{type:"Box",props:{width:400,var:"btnDDF",runtime:"Laya.runtime.ColorfulBox",name:"btnDDF",height:100,centerX:300,bottom:50,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{y:1028,x:332,text:"UI_Support_Programmer",name:"label",fontSize:45,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]},{type:"Box",props:{width:400,var:"btnAFD",runtime:"Laya.runtime.ColorfulBox",name:"btnAFD",height:100,centerX:-300,bottom:50,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{y:1028,x:332,text:"UI_Support_Designer",name:"label",fontSize:45,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]}]},e})(p);(function(n){function e(){this.labCharm=null,this.labIntelligence=null,this.labStrength=null,this.labMoney=null,this.labSpirit=null,this.boxTrajectory=null,this.panelTrajectory=null,this.vboxTrajectory=null,this.btnSummary=null,this.boxSpeed=null,this.prgSpeed=null,this.scbSpeed=null,this.boxParticle=null,e.__super.call(this)}w(e,"ui.view.DefaultTheme.TrajectoryUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),p.regComponent("Laya.runtime.ColorFilterItem",Laya.runtime.ColorFilterItem),p.regComponent("Particle2D",laya.particle.Particle2D),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Box",props:{top:80,right:20,left:20,height:120},child:[{type:"HBox",props:{space:15,centerY:0,centerX:0,align:"middle"},child:[{type:"Box",props:{x:0,width:200,runtime:"Laya.runtime.ColorfulBox",name:"propertyBox",height:120,centerY:0},child:[{type:"Label",props:{y:30,text:"UI_Property_Charm",name:"label",fontSize:45,font:"SimHei",color:"#ffffff",centerX:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:0,name:"propertyValue",left:0,height:60,bottom:0},child:[{type:"Label",props:{var:"labCharm",text:"10",name:"label",fontSize:55,font:"SimHei",color:"#55fffe",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{x:1,width:200,runtime:"Laya.runtime.ColorfulBox",name:"propertyBox",height:120,centerY:0},child:[{type:"Label",props:{y:30,text:"UI_Property_Intelligence",name:"label",fontSize:45,font:"SimHei",color:"#ffffff",centerX:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:0,name:"propertyValue",left:0,height:60,bottom:0},child:[{type:"Label",props:{var:"labIntelligence",text:"10",name:"label",fontSize:55,font:"SimHei",color:"#55fffe",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{x:2,width:200,runtime:"Laya.runtime.ColorfulBox",name:"propertyBox",height:120,centerY:0},child:[{type:"Label",props:{y:30,text:"UI_Property_Strength",name:"label",fontSize:45,font:"SimHei",color:"#ffffff",centerX:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:0,name:"propertyValue",left:0,height:60,bottom:0},child:[{type:"Label",props:{var:"labStrength",text:"10",name:"label",fontSize:55,font:"SimHei",color:"#55fffe",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{x:3,width:200,runtime:"Laya.runtime.ColorfulBox",name:"propertyBox",height:120,centerY:0},child:[{type:"Label",props:{y:30,text:"UI_Property_Money",name:"label",fontSize:45,font:"SimHei",color:"#ffffff",centerX:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:0,name:"propertyValue",left:0,height:60,bottom:0},child:[{type:"Label",props:{var:"labMoney",text:"10",name:"label",fontSize:55,font:"SimHei",color:"#55fffe",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]}]},{type:"Box",props:{x:4,width:200,runtime:"Laya.runtime.ColorfulBox",name:"propertyBox",height:120,centerY:0},child:[{type:"Label",props:{y:30,text:"UI_Property_Spirit",name:"label",fontSize:45,font:"SimHei",color:"#ffffff",centerX:0,anchorY:.5,anchorX:.5}},{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:0,name:"propertyValue",left:0,height:60,bottom:0},child:[{type:"Label",props:{var:"labSpirit",text:"10",name:"label",fontSize:55,font:"SimHei",color:"#55fffe",centerY:0,centerX:0,anchorY:.5,anchorX:.5}}]}]}]}]},{type:"Box",props:{x:20,var:"boxTrajectory",top:240,runtime:"Laya.runtime.ColorfulBox",right:20,name:"boxTrajectory",left:20,bottom:250},child:[{type:"Panel",props:{var:"panelTrajectory",vScrollBarSkin:" ",top:0,right:0,name:"panelTrajectory",left:0,bottom:0},child:[{type:"VBox",props:{y:15,var:"vboxTrajectory",space:20,right:-6,name:"vboxTrajectory",left:-6},child:[{type:"Box",props:{runtime:"Laya.runtime.ColorfulBox",right:0,name:"boxTrajectoryItem",left:0},child:[{type:"HBox",props:{y:25,x:200,name:"hboxAge",anchorX:1,align:"middle"},child:[{type:"Label",props:{x:0,text:"3000",name:"labAge",fontSize:50,font:"SimHei",color:"#cfea5c",anchorX:0}},{type:"Label",props:{x:1,text:"岁",fontSize:50,font:"SimHei",color:"#cfea5c",anchorX:0}},{type:"Label",props:{x:2,text:"",fontSize:50,font:"SimHei",color:"#cfea5c",anchorX:0}}]},{type:"Label",props:{y:25,wordWrap:!0,text:"你的父母开始辅导你数学和英语,智力+1",right:0,name:"labContent",left:220,leading:25,fontSize:50,font:"SimHei",color:"#ffffff"}}]}]}]}]},{type:"Box",props:{right:0,left:0,height:1,bottom:-1},child:[{type:"Box",props:{width:600,var:"btnSummary",runtime:"Laya.runtime.ColorfulBox",name:"btnSummary",height:150,centerX:0,bottom:80},child:[{type:"Label",props:{text:"UI_Goto_Summary",name:"label",fontSize:60,font:"SimHei",color:"#ffffff",centerY:0,centerX:0}}]},{type:"Box",props:{y:-155,var:"boxSpeed",runtime:"Laya.runtime.ColorFilterItem",right:100,name:"boxSpeed",left:100,height:150,anchorY:.5,anchorX:.5},child:[{type:"ProgressBar",props:{var:"prgSpeed",skin:"images/progress/progress_s.png",right:0,name:"prgSpeed",left:0,bottom:0}},{type:"HScrollBar",props:{var:"scbSpeed",skin:"images/slider/hslider_s.png",right:0,name:"scbSpeed",min:0,max:1e3,left:0,height:60,bottom:0}},{type:"Label",props:{text:"UI_Manual",fontSize:50,color:"#ffffff",bottom:70}},{type:"Label",props:{text:"UI_Auto",right:0,fontSize:50,font:"SimHei",color:"#ffffff",bottom:70}}]}]},{type:"Box",props:{width:10,var:"boxParticle",name:"boxParticle",height:10,centerY:0,centerX:0},child:[{type:"Particle2D",props:{y:5,x:5,url:"particle/fly.part",autoPlay:!0}}]}]},e})(p);(function(n){function e(){e.__super.call(this)}w(e,"ui.view.LoadingUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ViewBase",Laya.runtime.ViewBase),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1125,runtime:"Laya.runtime.ViewBase",height:2436},child:[{type:"Sprite",props:{y:0,x:0,alpha:.3},child:[{type:"Rect",props:{width:2e3,lineWidth:1,height:3e3,fillColor:"#000000"}}]},{type:"Box",props:{width:200,scaleY:2,scaleX:2,height:200,centerY:0,centerX:0},child:[{type:"Animation",props:{y:100,x:100,source:"view/CyberTheme/animation/circleFlash.ani",autoPlay:!0}},{type:"Image",props:{skin:"images/resource/circle.png",renderType:"mask"}}]},{type:"Label",props:{text:"UI_Loading",fontSize:80,font:"Impact",color:"#ffffff",centerY:400,centerX:0}}]},e})(p);(function(n){function e(){this.boxBg=null,this.message=null,e.__super.call(this)}w(e,"ui.view.MessagePopupUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"View",props:{width:1100,mouseThrough:!0,mouseEnabled:!1,height:230},child:[{type:"Box",props:{var:"boxBg",top:10,runtime:"Laya.runtime.ColorfulBox",right:10,name:"boxBg",left:10,bottom:10,alpha:.75}},{type:"Label",props:{wordWrap:!0,var:"message",text:"消息",right:50,name:"message",left:50,fontSize:60,font:"SimHei",color:"#ffffff",centerY:0,align:"center"}}]},e})(p);(function(n){function e(){this.input=null,this.btnSave=null,this.btnLoad=null,this.btnRead=null,this.btnWrite=null,this.btnClose=null,this.btnBackup=null,e.__super.call(this)}w(e,"ui.view.SaveLoadUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"Dialog",props:{width:645,height:400},child:[{type:"Box",props:{top:0,right:0,left:0,bottom:300},child:[{type:"Box",props:{y:0,x:0,width:645,height:2},child:[{type:"Rect",props:{width:645,lineWidth:1,height:2,fillColor:"#97ffe6"}}]},{type:"Box",props:{width:645,height:2,centerX:0,bottom:0},child:[{type:"Rect",props:{width:645,lineWidth:1,height:2,fillColor:"#97ffe6"}}]},{type:"Box",props:{width:645,height:100,centerY:0,centerX:0,alpha:.2},child:[{type:"Rect",props:{width:645,lineWidth:1,height:100,fillColor:"#000000"}}]}]},{type:"TextInput",props:{wordWrap:!1,var:"input",valign:"middle",top:0,text:"content",right:0,overflow:"scroll",left:0,fontSize:35,font:"SimHei",color:"#ffffff",bottom:300}},{type:"Box",props:{width:120,var:"btnSave",runtime:"Laya.runtime.ColorfulBox",name:"btnSmall",left:5,height:120,bottom:155,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Save",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{width:120,var:"btnLoad",runtime:"Laya.runtime.ColorfulBox",name:"btnSmall",left:130,height:120,bottom:155,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Load",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{width:120,var:"btnRead",runtime:"Laya.runtime.ColorfulBox",name:"btnSmall",left:260,height:120,bottom:155,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Read",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{width:120,var:"btnWrite",runtime:"Laya.runtime.ColorfulBox",name:"btnSmall",left:390,height:120,bottom:155,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_Write",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{x:10,width:120,var:"btnClose",runtime:"Laya.runtime.ColorfulBox",right:5,name:"btnSmall",height:120,bottom:155,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"×",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{y:20,var:"btnBackup",runtime:"Laya.runtime.ColorfulBox",right:5,name:"btnBackup",left:5,height:120,bottom:5,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"UI_BackupBtn",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]}]},e})(zt);(function(n){function e(){this.radioTheme=null,this.btnOK=null,this.btnClose=null,e.__super.call(this)}w(e,"ui.view.ThemesUI",n);var t=e.prototype;return t.createChildren=function(){p.regComponent("Laya.runtime.ColorfulBox",Laya.runtime.ColorfulBox),laya.ui.Component.prototype.createChildren.call(this),this.createView(e.uiView)},e.uiView={type:"Dialog",props:{width:350,height:550},child:[{type:"Box",props:{top:20,right:20,left:20,bottom:130},child:[{type:"RadioGroup",props:{var:"radioTheme",name:"radioTheme",height:380,centerY:0,centerX:0},child:[{type:"Radio",props:{width:300,top:0,skin:"images/radio/radio_cyber.png",name:"item0",height:100}},{type:"Radio",props:{width:300,skin:"images/radio/radio_dark.png",name:"item1",height:100,centerY:0}},{type:"Radio",props:{width:300,skin:"images/radio/radio_light.png",name:"item2",height:100,bottom:0}}]}]},{type:"Box",props:{width:90,var:"btnOK",runtime:"Laya.runtime.ColorfulBox",name:"btnSmall",left:20,height:90,bottom:20,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"√",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]},{type:"Box",props:{width:90,var:"btnClose",runtime:"Laya.runtime.ColorfulBox",right:20,name:"btnSmall",height:90,bottom:20,anchorY:.5,anchorX:.5},child:[{type:"Label",props:{text:"×",name:"label",fontSize:50,font:"SimHei",color:"#ffffff",centerY:0,centerX:0,bold:!0,anchorY:.5,anchorX:.5}}]}]},e})(zt);const d={LOADING:"LOADING",MAIN:"MAIN",TALENT:"TALENT",PROPERTY:"PROPERTY",TRAJECTORY:"TRAJECTORY",SUMMARY:"SUMMARY",ACHIEVEMENT:"ACHIEVEMENT",THANKS:"THANKS",THEMES:"THEMES",SAVELOAD:"SAVELOAD",MODE:"MODE",CELEBRITY:"CELEBRITY"},ne={ACHIEVEMENT:"POPUP_ACHIEVEMENT",MESSAGE:"POPUP_MESSAGE"},yo={pages:{[d.LOADING]:"loading",[d.MAIN]:"cyber/main",[d.TALENT]:"cyber/talent",[d.PROPERTY]:"cyber/property",[d.TRAJECTORY]:"cyber/trajectory",[d.SUMMARY]:"cyber/summary",[d.ACHIEVEMENT]:"cyber/achievement",[d.THANKS]:"default/thanks",[d.THEMES]:"themes",[d.SAVELOAD]:"saveload",[d.MODE]:"cyber/mode",[d.CELEBRITY]:"cyber/celebrity"},popups:{[ne.ACHIEVEMENT]:"cyber/popup/achievementPopup",[ne.MESSAGE]:"message"},configs:{bgColor:"#04131f",common:{topSupportItem:{defaultColor:"#ffa500",defaultStroke:"#ffa500",hoverColor:"#ffc500",hoverStroke:"#ffa500"},defaultFontColor:"#cccccc",grade:["#cccccc","#55fffe","#b17cff","#ffce45"],filter:["#ccccccff","#55fffeff","#b17cffff","#ffce45ff"],gradeBlk:[{visible:!1},{defaultColor:"#55fffe",hoverColor:"#55fffe",visible:!0},{defaultColor:"#b17cff",hoverColor:"#b17cff",visible:!0},{defaultColor:"#ffce45",hoverColor:"#ffce45",visible:!0}]},pages:{[d.MAIN]:{vars:{btnThemes:{defaultColor:"#cccccc",radius:100},btnSaveLoad:{defaultColor:"#5865f2",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#1160b0",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:0,radius:100}}},[d.THANKS]:{vars:{btnBack:{defaultColor:"#5865f2",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#1160b0",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:0,radius:4},btnAFD:{defaultColor:"#8764de",defaultStroke:"#8764de",defaultLabel:"#ffffff",hoverColor:"#9774ee",hoverStroke:"#9774ee",hoverLabel:"#ffffff",radius:4},btnDDF:{defaultColor:"#cc6699",defaultStroke:"#cc6699",defaultLabel:"#ffffff",hoverColor:"#dc76a9",hoverStroke:"#dc76a9",hoverLabel:"#ffffff",radius:4}}},[d.THEMES]:{vars:{btnOK:{defaultColor:"#28b070",defaultLabel:"#ffffff",hoverColor:"#00ff00",hoverLabel:"#ffffff",radius:80},btnClose:{defaultColor:"#eb3941",defaultLabel:"#ffffff",hoverColor:"#ff0000",hoverLabel:"#ffffff",radius:80}}},[d.SAVELOAD]:{vars:{btnClose:{defaultColor:"#eb3941",hoverColor:"#ff0000"},btnSave:{defaultColor:"#007046",hoverColor:"#76f190"},btnRead:{defaultColor:"#007046",hoverColor:"#76f190"},btnLoad:{defaultColor:"#fc5531",hoverColor:"#f28b54"},btnWrite:{defaultColor:"#fc5531",hoverColor:"#f28b54"},btnBackup:{defaultColor:"#9c30cd",hoverColor:"#bf50fd",radius:8,defaultLabel:"#ffffff",hoverLabel:"#ffffff"}},names:{btnSmall:{radius:80,defaultLabel:"#ffffff",hoverLabel:"#ffffff"}}}}}},Pt={pages:{[d.LOADING]:"loading",[d.MAIN]:"default/main",[d.TALENT]:"default/talent",[d.PROPERTY]:"default/property",[d.TRAJECTORY]:"default/trajectory",[d.SUMMARY]:"default/summary",[d.ACHIEVEMENT]:"default/achievement",[d.THANKS]:"default/thanks",[d.THEMES]:"themes",[d.SAVELOAD]:"saveload",[d.MODE]:"default/mode",[d.CELEBRITY]:"default/celebrity"},popups:{[ne.ACHIEVEMENT]:"default/popup/achievementPopup",[ne.MESSAGE]:"message"},configs:{bgColor:"#222831",common:{defaultFontColor:"#eeeeee",trajectoryItem:{box:{defaultStroke:"#eeeeee",hoverStroke:"#eeeeee",lineWidth:2},grade:[{defaultColor:"#464646",hoverColor:"#4a5361"},{defaultColor:"#6495ed",hoverColor:"#87cefa"},{defaultColor:"#e2a7ff",hoverColor:"#e7beff"},{defaultColor:"#ffa07a",hoverColor:"#f7a989"}],ageColor:"#ffffee",contentColor:"#eeeeee"},topSupportItem:{defaultColor:"#ffa500",defaultStroke:"#ffa500",hoverColor:"#ffc500",hoverStroke:"#ffa500"},grade:["#cccccc","#55fffe","#b17cff","#ffce45"],filter:["#ccccccff","#55fffeff","#b17cffff","#ffce45ff"],card:[{normal:{defaultColor:"#464646",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#c0c0c0",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:4},selected:{defaultColor:"#c0c0c0",defaultStroke:"#a5ff88",defaultLabel:"#3b3b3b",hoverColor:"#c0c0c0",hoverStroke:"#a5ff88",hoverLabel:"#3b3b3b",lineWidth:4,radius:4}},{normal:{defaultColor:"#6495ed",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#87cefa",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:4},selected:{defaultColor:"#87cefa",defaultStroke:"#a5ff88",defaultLabel:"#3b3b3b",hoverColor:"#87cefa",hoverStroke:"#a5ff88",hoverLabel:"#3b3b3b",lineWidth:4,radius:4}},{normal:{defaultColor:"#e2a7ff",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#e7beff",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:4},selected:{defaultColor:"#e7beff",defaultStroke:"#a5ff88",defaultLabel:"#3b3b3b",hoverColor:"#e7beff",hoverStroke:"#a5ff88",hoverLabel:"#3b3b3b",lineWidth:4,radius:4}},{normal:{defaultColor:"#ffa07a",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#f7a989",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:4},selected:{defaultColor:"#f7a989",defaultStroke:"#f8f8f8",defaultLabel:"#3b3b3b",hoverColor:"#f7a989",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:4}}],summary:[{defaultColor:"#464646",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#c0c0c0",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:2,radius:0},{defaultColor:"#6495ed",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#87cefa",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:2,radius:0},{defaultColor:"#e2a7ff",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#e7beff",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:2,radius:0},{defaultColor:"#ffa07a",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#f7a989",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:2,radius:0}],achievement:[{defaultColor:"#464646",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#c0c0c0",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:0},{defaultColor:"#6495ed",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#87cefa",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:0},{defaultColor:"#e2a7ff",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#e7beff",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:0},{defaultColor:"#ffa07a",defaultStroke:"#f8f8f8",defaultLabel:"#eeeeee",hoverColor:"#f7a989",hoverStroke:"#f8f8f8",hoverLabel:"#3b3b3b",lineWidth:4,radius:0}],characterItem:{name:{defaultColor:"#393e46",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#ff7878",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:2},state:{defaultColor:"#393e46",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#393e46",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:2},propertyColor:"#000000"}},class:{btn_main:{defaultColor:"#393e46",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#ff7878",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:2,radius:4},btn_main2:{defaultColor:"#ffa07a",defaultStroke:"#f8f8f8",defaultLabel:"#3b3b3b",hoverColor:"#ff7878",hoverStroke:"#f8f8f8",hoverLabel:"#eeeeee",lineWidth:2,radius:4},btn_small:{defaultColor:"#5865f2",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#1160b0",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:0,radius:4},title:{color:"#ffffff"},font_default:{color:"#eeeeee"}},pages:{[d.MAIN]:{vars:{btnRemake:"btn_main",btnThemes:{defaultColor:"#cccccc",radius:100},btnSaveLoad:{defaultColor:"#5865f2",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#1160b0",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:0,radius:100}},names:{title:"title",btnSmall:"btn_small"}},[d.TALENT]:{vars:{btnDrawCard:"btn_main",btnNext:"btn_main",title:"title"}},[d.PROPERTY]:{vars:{btnRandomAllocate:"btn_main",btnNext:"btn_main2",title:"title"},names:{font_default:"font_default",property:{colorFilter:"#eeeeeeff"}}},[d.TRAJECTORY]:{vars:{btnSummary:"btn_main",boxTrajectory:{defaultColor:"#393e46",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#393e46",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:2,radius:4},boxSpeed:{colorFilter:"#ffffffff"}},names:{propertyBox:{defaultColor:"#222831",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#222831",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:2,radius:4},propertyValue:{defaultColor:"#eeeeee",defaultStroke:"#eeeeee",defaultLabel:"#222831",hoverColor:"#eeeeee",hoverStroke:"#eeeeee",hoverLabel:"#222831",lineWidth:0,radius:4}}},[d.SUMMARY]:{vars:{btnAgain:"btn_main",title:"title"},names:{font_default:"font_default"}},[d.ACHIEVEMENT]:{vars:{btnBack:"btn_small",btnRank:"btn_small"},names:{font_default:"font_default",title:"title"}},[d.THANKS]:{vars:{btnBack:"btn_small",btnAFD:{defaultColor:"#8764de",defaultStroke:"#8764de",defaultLabel:"#ffffff",hoverColor:"#9774ee",hoverStroke:"#9774ee",hoverLabel:"#ffffff",radius:4},btnDDF:{defaultColor:"#cc6699",defaultStroke:"#cc6699",defaultLabel:"#ffffff",hoverColor:"#dc76a9",hoverStroke:"#dc76a9",hoverLabel:"#ffffff",radius:4}}},[d.THEMES]:{vars:{btnOK:{defaultColor:"#28b070",defaultLabel:"#ffffff",hoverColor:"#00ff00",hoverLabel:"#ffffff",radius:80},btnClose:{defaultColor:"#eb3941",defaultLabel:"#ffffff",hoverColor:"#ff0000",hoverLabel:"#ffffff",radius:80}}},[d.SAVELOAD]:{vars:{btnClose:{defaultColor:"#eb3941",hoverColor:"#ff0000"},btnSave:{defaultColor:"#007046",hoverColor:"#76f190"},btnRead:{defaultColor:"#007046",hoverColor:"#76f190"},btnLoad:{defaultColor:"#fc5531",hoverColor:"#f28b54"},btnWrite:{defaultColor:"#fc5531",hoverColor:"#f28b54"},btnBackup:{defaultColor:"#9c30cd",hoverColor:"#bf50fd",radius:8,defaultLabel:"#ffffff",hoverLabel:"#ffffff"}},names:{btnSmall:{radius:80,defaultLabel:"#ffffff",hoverLabel:"#ffffff"}}},[d.MODE]:{names:{font_default:"font_default",btn:"btn_main"}},[d.CELEBRITY]:{vars:{btnRetry:"btn_main",btnNext:"btn_main2"}}},popups:{[ne.ACHIEVEMENT]:{vars:{bg1:{defaultColor:"#292a28",defaultStroke:"#84ff55",hoverColor:"#292a28",hoverStroke:"#84ff55"}}}}}},mo={pages:{[d.LOADING]:"loading",[d.MAIN]:"default/main",[d.TALENT]:"default/talent",[d.PROPERTY]:"default/property",[d.TRAJECTORY]:"default/trajectory",[d.SUMMARY]:"default/summary",[d.ACHIEVEMENT]:"default/achievement",[d.THANKS]:"default/thanks",[d.THEMES]:"themes",[d.SAVELOAD]:"saveload",[d.MODE]:"default/mode",[d.CELEBRITY]:"default/celebrity"},popups:{[ne.ACHIEVEMENT]:"default/popup/achievementPopup",[ne.MESSAGE]:"message"},configs:{bgColor:"#ffffff",common:{defaultFontColor:"#000000",trajectoryItem:{box:{defaultStroke:"#b1b1b1",hoverStroke:"#b1b1b1",lineWidth:2},grade:[{defaultColor:"#ffffff",hoverColor:"#ededed"},{defaultColor:"#87cefa",hoverColor:"#6495ed"},{defaultColor:"#e7beff",hoverColor:"#e2a7ff"},{defaultColor:"#f7a989",hoverColor:"#ffa07a"}],ageColor:"#000000",contentColor:"#000000"},topSupportItem:{defaultColor:"#ffa500",defaultStroke:"#ffa500",hoverColor:"#ffc500",hoverStroke:"#ffa500"},grade:["#000000","#55fffe","#b17cff","#ffce45"],filter:["#000000ff","#55fffeff","#b17cffff","#ffce45ff"],card:[{normal:{defaultColor:"#ededed",defaultStroke:"#f8f8f8",defaultLabel:"#666666",hoverColor:"#666666",hoverStroke:"#f8f8f8",hoverLabel:"#ffffff",lineWidth:4,radius:4},selected:{defaultColor:"#666666",defaultStroke:"#a5ff88",defaultLabel:"#ffffff",hoverColor:"#666666",hoverStroke:"#a5ff88",hoverLabel:"#ffffff",lineWidth:4,radius:4}},{normal:{defaultColor:"#87cefa",defaultStroke:"#f8f8f8",defaultLabel:"#666666",hoverColor:"#6495ed",hoverStroke:"#f8f8f8",hoverLabel:"#ffffff",lineWidth:4,radius:4},selected:{defaultColor:"#6495ed",defaultStroke:"#a5ff88",defaultLabel:"#ffffff",hoverColor:"#6495ed",hoverStroke:"#a5ff88",hoverLabel:"#ffffff",lineWidth:4,radius:4}},{normal:{defaultColor:"#e7beff",defaultStroke:"#f8f8f8",defaultLabel:"#666666",hoverColor:"#e2a7ff",hoverStroke:"#f8f8f8",hoverLabel:"#ffffff",lineWidth:4,radius:4},selected:{defaultColor:"#e2a7ff",defaultStroke:"#a5ff88",defaultLabel:"#ffffff",hoverColor:"#e2a7ff",hoverStroke:"#a5ff88",hoverLabel:"#ffffff",lineWidth:4,radius:4}},{normal:{defaultColor:"#f7a989",defaultStroke:"#f8f8f8",defaultLabel:"#666666",hoverColor:"#ffa07a",hoverStroke:"#f8f8f8",hoverLabel:"#ffffff",lineWidth:4,radius:4},selected:{defaultColor:"#ffa07a",defaultStroke:"#f8f8f8",defaultLabel:"#ffffff",hoverColor:"#ffa07a",hoverStroke:"#f8f8f8",hoverLabel:"#ffffff",lineWidth:4,radius:4}}],summary:[{defaultColor:"#ededed",defaultStroke:"#f8f8f8",defaultLabel:"#666666",hoverColor:"#666666",hoverStroke:"#f8f8f8",hoverLabel:"#ffffff",lineWidth:4,radius:4},{defaultColor:"#6495ed",defaultStroke:"#f8f8f8",defaultLabel:"#ffffff",hoverColor:"#87cefa",hoverStroke:"#f8f8f8",hoverLabel:"#666666",lineWidth:4,radius:4},{defaultColor:"#e2a7ff",defaultStroke:"#f8f8f8",defaultLabel:"#ffffff",hoverColor:"#e7beff",hoverStroke:"#f8f8f8",hoverLabel:"#666666",lineWidth:4,radius:4},{defaultColor:"#ffa07a",defaultStroke:"#f8f8f8",defaultLabel:"#ffffff",hoverColor:"#f7a989",hoverStroke:"#f8f8f8",hoverLabel:"#666666",lineWidth:4,radius:4}],achievement:[{defaultColor:"#ededed",defaultStroke:"#cccccc",defaultLabel:"#000000",hoverColor:"#eeeeee",hoverStroke:"#cccccc",hoverLabel:"#efefef",lineWidth:4,radius:0},{defaultColor:"#6495ed",defaultStroke:"#cccccc",defaultLabel:"#eeeeee",hoverColor:"#87cefa",hoverStroke:"#cccccc",hoverLabel:"#3b3b3b",lineWidth:4,radius:0},{defaultColor:"#e2a7ff",defaultStroke:"#cccccc",defaultLabel:"#eeeeee",hoverColor:"#e7beff",hoverStroke:"#cccccc",hoverLabel:"#3b3b3b",lineWidth:4,radius:0},{defaultColor:"#ffa07a",defaultStroke:"#cccccc",defaultLabel:"#eeeeee",hoverColor:"#f7a989",hoverStroke:"#cccccc",hoverLabel:"#3b3b3b",lineWidth:4,radius:0}],characterItem:{name:{defaultColor:"#ffffff",defaultStroke:"#cccccc",defaultLabel:"#000000",hoverColor:"#ff7878",hoverStroke:"#cccccc",hoverLabel:"#ffffff",lineWidth:2},state:{defaultColor:"#ffffff",defaultStroke:"#cccccc",defaultLabel:"#000000",hoverColor:"#ffffff",hoverStroke:"#cccccc",hoverLabel:"#000000",lineWidth:2},propertyColor:"#000000"}},class:{btn_main:{defaultColor:"#ffffff",defaultStroke:"#cccccc",defaultLabel:"#000000",hoverColor:"#ff7878",hoverStroke:"#cccccc",hoverLabel:"#ffffff",lineWidth:2,radius:4},btn_main2:{defaultColor:"#f7a989",defaultStroke:"#f8f8f8",defaultLabel:"#ffffff",hoverColor:"#ff7878",hoverStroke:"#f8f8f8",hoverLabel:"#ffffff",lineWidth:2,radius:4},btn_small:{defaultColor:"#5865f2",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#1160b0",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:0,radius:4},title:{color:"#000000"},font_default:{color:"#000000"}},pages:{[d.MAIN]:{vars:{btnRemake:"btn_main",btnThemes:{defaultColor:"#cccccc",radius:100},btnSaveLoad:{defaultColor:"#5865f2",defaultStroke:"#eeeeee",defaultLabel:"#eeeeee",hoverColor:"#1160b0",hoverStroke:"#eeeeee",hoverLabel:"#eeeeee",lineWidth:0,radius:100}},names:{title:"title",btnSmall:"btn_small"}},[d.TALENT]:{vars:{btnDrawCard:"btn_main",btnNext:"btn_main",title:"title"}},[d.PROPERTY]:{vars:{btnRandomAllocate:"btn_main",btnNext:"btn_main2",title:"title"},names:{font_default:"font_default",property:{colorFilter:"#000000ff"}}},[d.TRAJECTORY]:{vars:{btnSummary:"btn_main",boxTrajectory:{defaultColor:"#ffffff",defaultStroke:"#9b9b9b",defaultLabel:"#eeeeee",hoverColor:"#ffffff",hoverStroke:"#9b9b9b",hoverLabel:"#eeeeee",lineWidth:1,radius:4},boxSpeed:{colorFilter:"#666666ff"}},names:{propertyBox:{defaultColor:"#8d8d8d",defaultStroke:"#eeeeee",defaultLabel:"#ffffff",hoverColor:"#8d8d8d",hoverStroke:"#eeeeee",hoverLabel:"#ffffff",lineWidth:2,radius:4},propertyValue:{defaultColor:"#ffffff",defaultStroke:"#eeeeee",defaultLabel:"#222831",hoverColor:"#ffffff",hoverStroke:"#eeeeee",hoverLabel:"#222831",lineWidth:0,radius:4}}},[d.SUMMARY]:{vars:{btnAgain:"btn_main",title:"title"},names:{font_default:"font_default"}},[d.ACHIEVEMENT]:{vars:{btnBack:"btn_small",btnRank:"btn_small"},names:{font_default:"font_default",title:"title"}},[d.THANKS]:{vars:{btnBack:"btn_small",btnAFD:{defaultColor:"#8764de",defaultStroke:"#8764de",defaultLabel:"#ffffff",hoverColor:"#9774ee",hoverStroke:"#9774ee",hoverLabel:"#ffffff",radius:4},btnDDF:{defaultColor:"#cc6699",defaultStroke:"#cc6699",defaultLabel:"#ffffff",hoverColor:"#dc76a9",hoverStroke:"#dc76a9",hoverLabel:"#ffffff",radius:4}}},[d.THEMES]:{vars:{btnOK:{defaultColor:"#28b070",defaultLabel:"#ffffff",hoverColor:"#00ff00",hoverLabel:"#ffffff",radius:80},btnClose:{defaultColor:"#eb3941",defaultLabel:"#ffffff",hoverColor:"#ff0000",hoverLabel:"#ffffff",radius:80}}},[d.SAVELOAD]:{vars:{btnClose:{defaultColor:"#eb3941",hoverColor:"#ff0000"},btnSave:{defaultColor:"#007046",hoverColor:"#76f190"},btnRead:{defaultColor:"#007046",hoverColor:"#76f190"},btnLoad:{defaultColor:"#fc5531",hoverColor:"#f28b54"},btnWrite:{defaultColor:"#fc5531",hoverColor:"#f28b54"},btnBackup:{defaultColor:"#9c30cd",hoverColor:"#bf50fd",radius:8,defaultLabel:"#ffffff",hoverLabel:"#ffffff"}},names:{btnSmall:{radius:80,defaultLabel:"#ffffff",hoverLabel:"#ffffff"}}},[d.MODE]:{names:{font_default:"font_default",btn:"btn_main"}},[d.CELEBRITY]:{vars:{btnRetry:"btn_main",btnNext:"btn_main2"}}},popups:{[ne.ACHIEVEMENT]:{vars:{bg1:{defaultColor:"#ffffff",defaultStroke:"#84ff55",hoverColor:"#ffffff",hoverStroke:"#84ff55",lineWidth:1}}}}}},go={default:Pt,cyber:yo,dark:Pt,light:mo},bo={themes:go,pages:d,popups:ne};var qe,Ye,Me,ee,Be,O,I,W,U,Ke,He,T,b,pt,Nt,Lt,wt,ct,Ot,Dt,dt,Gt,Xe;const q=class q{constructor(e){s(this,b);s(this,Me);s(this,ee);s(this,Be);s(this,O,new Laya.Panel);s(this,I,new Laya.Panel);s(this,W,new Laya.Panel);s(this,U,new Laya.Sprite);s(this,Ke,new Map);s(this,He,new Map);s(this,T,[]);c(q,Ye,bo),e||(e=Laya.stage),c(this,Me,e),e.addChild(o(this,O)),o(this,O).zOrder=1,e.addChild(o(this,I)),o(this,I).zOrder=2,e.addChild(o(this,W)),o(this,W).zOrder=3,o(this,O).top=o(this,O).bottom=o(this,O).left=o(this,O).right=o(this,I).top=o(this,I).bottom=o(this,I).left=o(this,I).right=o(this,W).top=o(this,W).bottom=o(this,W).left=o(this,W).right=o(this,U).top=o(this,U).bottom=o(this,U).left=o(this,U).right=0,o(this,U).graphics.drawRect(0,0,5e3,5e3,"#000000"),o(this,U).alpha=.4,o(this,U).on(Laya.Event.CLICK,this,()=>{var t,i;(i=(t=o(this,T)[o(this,T).length-1])==null?void 0:t.close)==null||i.call(t)})}static get inst(){return this.getInstance()}static getInstance(e="default"){return o(this,qe)[e]||(o(this,qe)[e]=new q)}static get pages(){return o(this,Ye).pages}static get popups(){return o(this,Ye).popups}static theme(e,t){return o(this,Ye).themes[e][t]}async setLoading(e){const t=o(this,b,dt)[e],i=await this.getView(t,null,null,e);i.top=i.bottom=i.left=i.right=0,i.zOrder=4,c(this,ee,i)}async switchView(e,t,i){var a,h,f,u,m,S,R;const r=o(this,b,dt)[e],l=await this.getView(r,t,i==null?void 0:i.load,e,"pages");l.top=l.bottom=l.left=l.right=0,this.clearAllDialog(),await((h=(a=o(this,Be))==null?void 0:a.__close)==null?void 0:h.call(a,l)),await((u=(f=o(this,Be))==null?void 0:f.close)==null?void 0:u.call(f,l)),o(this,O).removeChildren(),await((m=l.init)==null?void 0:m.call(l,t)),c(this,Be,l),o(this,O).addChild(l),l.__close=i==null?void 0:i.close,await((S=i==null?void 0:i.open)==null?void 0:S.call(i,l)),await((R=l.show)==null?void 0:R.call(l))}async getView(e,t,i,r,l){var u,m,S,R,_;let a=await o(this,Ke).get(e),h;o(this,ee)&&(h=setTimeout(()=>o(this,Me).addChild(o(this,ee)),3e3));const f=(u=o(this,ee))==null?void 0:u.onProgress;if(a){const v=await((R=(S=a.constructor).load)==null?void 0:R.call(S,t));await this.loadRes(v,i,f)}else{const v=await this.loadView(e),A=await((m=v.load)==null?void 0:m.call(v,t)),st=o(this,ee)?this.scanResource(v.uiView):[];i?i=[].concat(i).concat(st):i=st,await this.loadRes(A,i,f),a=new v,o(this,Ke).set(e,a)}return h&&clearTimeout(h),(_=o(this,ee))==null||_.removeSelf(),y(this,b,Nt).call(this,a,r,l),a}async loadView(e){if(o(this,He).has(e))return o(this,He).get(e);const i=(await Object.assign({"./themes/cyber/achievement.js":()=>L(()=>import("./achievement-DYA4TFOT.js"),[],import.meta.url),"./themes/cyber/celebrity.js":()=>L(()=>import("./celebrity-D-R1Qk-4.js"),[],import.meta.url),"./themes/cyber/main.js":()=>L(()=>import("./main-Co789crn.js"),[],import.meta.url),"./themes/cyber/mode.js":()=>L(()=>import("./mode-BKkP3na3.js"),[],import.meta.url),"./themes/cyber/popup/achievementPopup.js":()=>L(()=>import("./achievementPopup-rL2kjvDo.js"),[],import.meta.url),"./themes/cyber/property.js":()=>L(()=>import("./property-D0NFxR2A.js"),[],import.meta.url),"./themes/cyber/summary.js":()=>L(()=>import("./summary--hmU_JPx.js"),[],import.meta.url),"./themes/cyber/talent.js":()=>L(()=>import("./talent-Dvo8UDek.js"),[],import.meta.url),"./themes/cyber/trajectory.js":()=>L(()=>import("./trajectory-BQAemv1w.js"),[],import.meta.url),"./themes/default/achievement.js":()=>L(()=>import("./achievement-BRXe5Bg5.js"),[],import.meta.url),"./themes/default/celebrity.js":()=>L(()=>import("./celebrity-DFexlACB.js"),[],import.meta.url),"./themes/default/main.js":()=>L(()=>import("./main-8AhNzuSj.js"),[],import.meta.url),"./themes/default/mode.js":()=>L(()=>import("./mode-stBj-QIY.js"),[],import.meta.url),"./themes/default/popup/achievementPopup.js":()=>L(()=>import("./achievementPopup-uN7V_JWx.js"),[],import.meta.url),"./themes/default/property.js":()=>L(()=>import("./property-BmzzLSoX.js"),[],import.meta.url),"./themes/default/summary.js":()=>L(()=>import("./summary-B7Qrp_Rb.js"),[],import.meta.url),"./themes/default/talent.js":()=>L(()=>import("./talent-ClLgjhDN.js"),[],import.meta.url),"./themes/default/thanks.js":()=>L(()=>import("./thanks-nQsy0npU.js"),[],import.meta.url),"./themes/default/trajectory.js":()=>L(()=>import("./trajectory-CNIGuB-o.js"),[],import.meta.url),"./themes/loading.js":()=>L(()=>import("./loading-BDd9Or4P.js"),[],import.meta.url),"./themes/message.js":()=>L(()=>import("./message-CJ5ppE4h.js"),[],import.meta.url),"./themes/saveload.js":()=>L(()=>import("./saveload-tenlSL13.js"),[],import.meta.url),"./themes/themes.js":()=>L(()=>import("./themes-UgHWmOmS.js"),[],import.meta.url)})[`./themes/${e}.js`]()).default;return o(this,He).set(e,i),i}async loadRes(e,t,i){const r=((e==null?void 0:e.length)||0)+((t==null?void 0:t.length)||0);if(e&&e.length){const l=e.length/r;await Laya.promises.loader.load(e,Laya.Handler.create(null,a=>i==null?void 0:i(a*l)))}if(t&&t.length){const l=1-t.length/r,a=t.length/r;await Laya.promises.loader.load(t,Laya.Handler.create(null,h=>i==null?void 0:i(h*a+l)))}}async showDialog(e,t,i){var f;const r=o(this,b,dt)[e],l=await this.getView(r,t,i==null?void 0:i.load,e,"pages"),a=o(this,T).indexOf(l);a!=-1&&o(this,T).splice(a,1),o(this,T).push(l),(f=l.init)==null||f.call(l,t),l.centerX=l.centerY=0,y(this,b,pt).call(this),await((i==null?void 0:i.open)||(async()=>{l.scaleX=0,l.scaleY=0,await Laya.promises.Tween.to(l,{scaleX:1,scaleY:1},300,Laya.Ease.backOut)}))(l),l.mouseThrough=!0,l.mouseEnabled=!0,l.close=async()=>{i!=null&&i.close?await i.close():await Laya.promises.Tween.to(l,{scaleX:0,scaleY:0},300,Laya.Ease.strongIn);const u=o(this,T).indexOf(l);u!=-1&&o(this,T).splice(u,1),y(this,b,pt).call(this)},o(this,I).addChild(l)}async popup(e,t){const i=o(this,b,Gt)[e],r=await this.getView(i,t,null,e,"popups");o(this,W).addChild(r),await r.popup(t,o(this,W)),o(this,W).removeChild(r)}clearAllDialog(){c(this,T,[]),y(this,b,pt).call(this)}scanResource(e){var i,r,l,a;if(!e)return[];const t=[];return t.push(...y(this,b,ct).call(this,(i=e.props)==null?void 0:i.skin,e.type)),t.push(...y(this,b,ct).call(this,(r=e.props)==null?void 0:r.hScrollBarSkin,"ScrollBar")),t.push(...y(this,b,ct).call(this,(l=e.props)==null?void 0:l.vScrollBarSkin,"ScrollBar")),(a=e.child)==null||a.forEach(h=>{t.push(...this.scanResource(h))}),t}get currentView(){return o(this,Be)}get currentDialog(){return o(this,T)[o(this,T).length-1]}get theme(){return localStorage.getItem("theme")}set theme(e){var t,i,r;localStorage.setItem("theme",e),o(this,Me).bgColor=o(this,b,Xe).bgColor,(r=(i=(t=document==null?void 0:document.querySelector)==null?void 0:t.call(document,'meta[name="theme-color"]'))==null?void 0:i.setAttribute)==null||r.call(i,"content",o(this,b,Xe).bgColor)}get common(){return o(this,b,Xe).common}gradeColor(e){return this.common.grade[e]}gradeFilter(e){return this.common.filter[e]}};qe=new WeakMap,Ye=new WeakMap,Me=new WeakMap,ee=new WeakMap,Be=new WeakMap,O=new WeakMap,I=new WeakMap,W=new WeakMap,U=new WeakMap,Ke=new WeakMap,He=new WeakMap,T=new WeakMap,b=new WeakSet,pt=function(){if(o(this,T).length==0){o(this,I).visible=!1;return}o(this,I).visible=!0,o(this,T).forEach((t,i)=>{o(this,I).addChild(t),t.zOrder=i}),o(this,I).addChild(o(this,U));const e=o(this,T).length;o(this,U).zOrder=e-1,o(this,T)[e-1].zOrder=e},Nt=function(e,t,i){var a,h;const r=(h=(a=o(this,b,Xe))==null?void 0:a[i])==null?void 0:h[t];if(!r||e.config&&e.config(r))return;const l=(f,u)=>{var m,S;f&&(typeof u=="string"&&(u=(S=(m=o(this,b,Xe))==null?void 0:m.class)==null?void 0:S[u]),$_.deepMapSet(f,u))};if(r.names)for(const f in r.names)y(this,b,Lt).call(this,e,f).forEach(u=>l(u,r.names[f]));if(r.vars)for(const f in r.vars)l(e[f],r.vars[f])},Lt=function(e,t){const i=[];if(!e||!e._childs)return i;for(const r of e._childs)r.name==t&&i.push(r),r._childs&&i.push(...y(this,b,Lt).call(this,r,t));return i},wt=function(e){e=""+e;let t=e.length;do if(t--,e[t]==".")break;while(t>0);return[e.substring(0,t),e.substring(t,e.length)]},ct=function(e,t){if(!e||!e.replace(/\s/g,""))return[];switch(t){case"ProgressBar":return[e,...y(this,b,Ot).call(this,e)];case"ScrollBar":return[e,...y(this,b,Dt).call(this,e)];default:return[e]}},Ot=function(e){if(!e.replace(/\s/g,""))return[];let t=y(this,b,wt).call(this,e);return[`${t[0]}$bar${t[1]}`]},Dt=function(e){if(!e.replace(/\s/g,""))return[];let t=y(this,b,wt).call(this,e);return[`${t[0]}$bar${t[1]}`,`${t[0]}$up${t[1]}`,`${t[0]}$down${t[1]}`]},dt=function(){return q.theme(this.theme,"pages")},Gt=function(){return q.theme(this.theme,"popups")},Xe=function(){return q.theme(this.theme,"configs")},s(q,qe,{}),s(q,Ye);let yt=q;function fe(n){switch(typeof n){case"object":if(n===null)return null;if(Array.isArray(n))return n.map(t=>fe(t));const e={};for(const t in n)e[t]=fe(n[t]);return e;default:return n}}function xo(...n){return Math.max(...n.flat())}function Co(...n){return Math.min(...n.flat())}function Jt(...n){let e=0;return n.flat().forEach(t=>e+=t),e}function So(...n){return Jt(...n)/n.flat().length}function Ft(n){let e=0;for(const[,i]of n)e+=i;let t=Math.random()*e;for(const[i,r]of n)if((t-=r)<0)return i;return n[n.length-1]}function _o(n){return n[Math.floor(Math.random()*n.length)]}function vt(n,e){const t={};return n.forEach(i=>t[i]=e(i)),t}function Lo(n,e){for(const t in n)n[t]=e(t,n[t])}function wo(n,e){const t={};for(const i in n)t[i]=e(i,n[i]);return t}function vo(n,e){for(const t in e)n[t]=e[t]}function jt(n,e){for(const t in e){let i=e[t];switch(typeof i){case"function":i=i();case"object":if(!Array.isArray(i)){jt(n[t],i);break}default:n[t]=i}}return n}function To(n,e){for(const t of e.split(".")){if(!(t in n))return;n=n[t]}return n}function Yo(n,...e){const t=i=>(r,l)=>{var h;const a=To(i,l);switch(typeof a){case"object":return JSON.stringify(a);case"boolean":case"number":case"string":return a;default:return((h=a==null?void 0:a.toString)==null?void 0:h.call(a))||r}};switch(e.length){case 0:return n;case 1:if(typeof e[0]!="object")break;return n.replace(/{(.+?)}/g,t(e[0]))}return n.replace(/{(\d+)}/g,t(e))}const $t=Object.freeze(Object.defineProperty({__proto__:null,average:So,clone:fe,deepMapSet:jt,format:Yo,getConvertedMap:wo,getListValuesMap:vt,listRandom:_o,mapConvert:Lo,mapSet:vo,max:xo,min:Co,sum:Jt,weightRandom:Ft},Symbol.toStringTag,{value:"Module"}));globalThis.UIManager=globalThis.UI=yt;globalThis.$_=$t;globalThis.goto=async n=>{let e;switch(n){case"github":e="https://github.com/VickScarlet/lifeRestart";break;case"discord":e="https://discord.gg/U3qrf49NMQ";break;case"sponsor_afd":e="https://afdian.com/a/LifeRestart";break;case"sponsor_ddf":e="https://dun.mianbaoduo.com/@vickscarlet";break}try{Laya.Browser.onIOS?window.location.href=e:window.open(e,"_blank")}catch(t){console.error(t)}};var Re,j,qt,Yt,Bt;const Ce=class Ce{constructor(){s(this,j);s(this,Re);this.name="lifeRestart",this.version="2.0.0",console.log(`${this.name} ${this.version}`)}async setLanguage(e){return y(this,j,Bt).call(this,e)}resigterEvent(){$$on("achievement",e=>{$ui.popup(UI.popups.ACHIEVEMENT,{achievement:e})}),$$on("message",([e,...t])=>{Array.isArray(e)?e=e.map(([i,...r])=>$_.format($lang[i],...r)).join(`
`):e=$_.format($lang[e],...t),$ui.popup(UI.popups.MESSAGE,{message:e})})}async start({language:e=Ce.languages["zh-cn"],theme:t="default"}){this.resigterEvent(),y(this,j,qt).call(this),globalThis.$ui=yt.getInstance(),t=="default"&&(t=localStorage.getItem("theme")||"default"),$ui.theme=t,await y(this,j,Bt).call(this,e),await $ui.setLoading(UI.pages.LOADING),await $ui.switchView(UI.pages.LOADING),await core.initial(i=>Laya.promises.loader.load(`data/${o(this,Re)}/${i}.json`,null,Laya.Loader.JSON),i=>Laya.promises.loader.load(`data/${i}.json`,null,Laya.Loader.JSON)),await $ui.switchView(UI.pages.MAIN)}};Re=new WeakMap,j=new WeakSet,qt=function(){class e{constructor(){this._sourceStr=null}textToSpit(i){this._sourceStr=i;var r=i.length,l=-1;for(this._words=[];++l<r;){var a=i.charAt(l),h=i.charCodeAt(l);h>=55296&&h<=56319?this._words.push(a+i.charAt(++l)):this._words.push(a)}}getChar(i){return this._words}getCharCode(i){return this._words[i].codePointAt(0)}length(){return this._words.length}}Laya.class(e,"laya.webgl.text.CharSegment"),Laya.imps(e.prototype,{"laya.webgl.text.ICharSegment":!0}),Laya.Config.isAntialias=!0,Laya.init(...o(this,j,Yt),Laya.WebGL),Laya.stage.alignV=Laya.Stage.ALIGN_MIDDLE,Laya.stage.alignH=Laya.Stage.ALIGN_CENTER,Laya.stage.scaleMode="showall",Laya.stage.bgColor="#000000",window.onresize=()=>Laya.stage.size(...o(this,j,Yt))},Yt=function(){const l=.4618226600985222,a=window.innerWidth,h=window.innerHeight;return a/h>l?[Math.min(a*2436/h,1827),2436]:[1125,Math.min(h*1125/a,3e3)]},Bt=async function(e){switch(e){case Ce.languages["en-us"]:case Ce.languages["zh-cn"]:c(this,Re,e);break;default:c(this,Re,Ce.languages["zh-cn"]);break}globalThis.$lang=Laya.Text.langPacks=(await po(Object.assign({"./i18n/en-us.js":()=>L(()=>import("./en-us-aCJCMstq.js"),[],import.meta.url),"./i18n/zh-cn.js":()=>L(()=>import("./zh-cn-DJ9MvHFr.js"),[],import.meta.url)}),`./i18n/${o(this,Re)}.js`,3)).default},be(Ce,"languages",{"zh-cn":"zh-cn","en-us":"en-us"});let Tt=Ce;function Bo(n){const e=[],t=n.length,i=[];i.unshift(e);let r=0;const l=a=>{const h=n.substring(r,a).trim();r=a,h&&i[0].push(h)};for(let a=0;a<t;a++)switch(n[a]){case" ":continue;case"(":l(a),r++;const h=[];i[0].push(h),i.unshift(h);break;case")":l(a),r++,i.shift();break;case"|":case"&":l(a),l(a+1);break;default:continue}return l(t),e}function Kt(n,e){const t=Bo(e);return Je(n,t)}function Je(n,e){if(!Array.isArray(e))return Ro(n,e);if(e.length==0)return!0;if(e.length==1)return Je(n,e[0]);let t=Je(n,e[0]);for(let i=1;i<e.length;i+=2)switch(e[i]){case"&":t&&(t=Je(n,e[i+1]));break;case"|":if(t)return!0;t=Je(n,e[i+1]);break;default:return!1}return t}function Ro(n,e){const t=e.length;let i=e.search(/[><\!\?=]/);const r=e.substring(0,i),l=e.substring(i,i+=e[i+1]=="="?2:1),a=e.substring(i,t),h=n.get(r),f=a[0]=="["?JSON.parse(a):Number(a);switch(l){case">":return h>f;case"<":return h<f;case">=":return h>=f;case"<=":return h<=f;case"=":return Array.isArray(h)?h.includes(f):h==f;case"!=":return Array.isArray(h)?!h.includes(f):h!=f;case"?":if(Array.isArray(h)){for(const u of h)if(f.includes(u))return!0;return!1}return f.includes(h);case"!":if(Array.isArray(h)){for(const u of h)if(f.includes(u))return!1;return!0}return!f.includes(h);default:return!1}}function Eo(n){const t=/AGE\?\[([0-9\,]+)\]/.exec(n);return t==null?1:t[1].split(",").length}const Io=Object.freeze(Object.defineProperty({__proto__:null,checkCondition:Kt,extractMaxTriggers:Eo},Symbol.toStringTag,{value:"Module"}));var te,Qe,C,Ze,et,Ee,Fe;class ko{constructor(e){s(this,Ee);be(this,"TYPES",{AGE:"AGE",CHR:"CHR",INT:"INT",STR:"STR",MNY:"MNY",SPR:"SPR",LIF:"LIF",TLT:"TLT",EVT:"EVT",TMS:"TMS",LAGE:"LAGE",HAGE:"HAGE",LCHR:"LCHR",HCHR:"HCHR",LINT:"LINT",HINT:"HINT",LSTR:"LSTR",HSTR:"HSTR",LMNY:"LMNY",HMNY:"HMNY",LSPR:"LSPR",HSPR:"HSPR",SUM:"SUM",EXT:"EXT",ATLT:"ATLT",AEVT:"AEVT",ACHV:"ACHV",CTLT:"CTLT",CEVT:"CEVT",CACHV:"CACHV",TTLT:"TTLT",TEVT:"TEVT",TACHV:"TACHV",REVT:"REVT",RTLT:"RTLT",RACHV:"RACHV",RDM:"RDM"});be(this,"SPECIAL",{RDM:[this.TYPES.CHR,this.TYPES.INT,this.TYPES.STR,this.TYPES.MNY,this.TYPES.SPR]});s(this,te);s(this,Qe);s(this,C,{});s(this,Ze);s(this,et);c(this,te,e)}initial({age:e,total:t}){c(this,Qe,e);for(const i in e){let{event:r,talent:l}=e[i];Array.isArray(r)||(r=(r==null?void 0:r.split(","))||[]),r=r.map(a=>{const h=`${a}`.split("*").map(f=>Number(f));return h.length==1&&h.push(1),h}),Array.isArray(l)||(l=(l==null?void 0:l.split(","))||[]),l=l.map(a=>Number(a)),e[i]={event:r,talent:l}}c(this,Ze,t)}config({judge:e={}}){c(this,et,e)}restart(e){c(this,C,{[this.TYPES.AGE]:-1,[this.TYPES.CHR]:0,[this.TYPES.INT]:0,[this.TYPES.STR]:0,[this.TYPES.MNY]:0,[this.TYPES.SPR]:0,[this.TYPES.LIF]:1,[this.TYPES.TLT]:[],[this.TYPES.EVT]:[],[this.TYPES.LAGE]:1/0,[this.TYPES.LCHR]:1/0,[this.TYPES.LINT]:1/0,[this.TYPES.LSTR]:1/0,[this.TYPES.LSPR]:1/0,[this.TYPES.LMNY]:1/0,[this.TYPES.HAGE]:-1/0,[this.TYPES.HCHR]:-1/0,[this.TYPES.HINT]:-1/0,[this.TYPES.HSTR]:-1/0,[this.TYPES.HMNY]:-1/0,[this.TYPES.HSPR]:-1/0});for(const t in e)this.change(t,e[t])}restartLastStep(){o(this,C)[this.TYPES.LAGE]=this.get(this.TYPES.AGE),o(this,C)[this.TYPES.LCHR]=this.get(this.TYPES.CHR),o(this,C)[this.TYPES.LINT]=this.get(this.TYPES.INT),o(this,C)[this.TYPES.LSTR]=this.get(this.TYPES.STR),o(this,C)[this.TYPES.LSPR]=this.get(this.TYPES.SPR),o(this,C)[this.TYPES.LMNY]=this.get(this.TYPES.MNY),o(this,C)[this.TYPES.HAGE]=this.get(this.TYPES.AGE),o(this,C)[this.TYPES.HCHR]=this.get(this.TYPES.CHR),o(this,C)[this.TYPES.HINT]=this.get(this.TYPES.INT),o(this,C)[this.TYPES.HSTR]=this.get(this.TYPES.STR),o(this,C)[this.TYPES.HMNY]=this.get(this.TYPES.MNY),o(this,C)[this.TYPES.HSPR]=this.get(this.TYPES.SPR)}get(e){const t=o(this,Ee,Fe);switch(e){case this.TYPES.AGE:case this.TYPES.CHR:case this.TYPES.INT:case this.TYPES.STR:case this.TYPES.MNY:case this.TYPES.SPR:case this.TYPES.LIF:case this.TYPES.TLT:case this.TYPES.EVT:return t.clone(o(this,C)[e]);case this.TYPES.LAGE:case this.TYPES.LCHR:case this.TYPES.LINT:case this.TYPES.LSTR:case this.TYPES.LMNY:case this.TYPES.LSPR:return t.min(o(this,C)[e],this.get(this.fallback(e)));case this.TYPES.HAGE:case this.TYPES.HCHR:case this.TYPES.HINT:case this.TYPES.HSTR:case this.TYPES.HMNY:case this.TYPES.HSPR:return t.max(o(this,C)[e],this.get(this.fallback(e)));case this.TYPES.SUM:const i=this.get(this.TYPES.HAGE),r=this.get(this.TYPES.HCHR),l=this.get(this.TYPES.HINT),a=this.get(this.TYPES.HSTR),h=this.get(this.TYPES.HMNY),f=this.get(this.TYPES.HSPR);return Math.floor(t.sum(r,l,a,h,f)*2+i/2);case this.TYPES.TMS:return this.lsget("times")||0;case this.TYPES.EXT:return this.lsget("extendTalent")||null;case this.TYPES.ATLT:case this.TYPES.AEVT:case this.TYPES.ACHV:return this.lsget(e)||[];case this.TYPES.CTLT:case this.TYPES.CEVT:case this.TYPES.CACHV:return this.get(this.fallback(e)).length;case this.TYPES.TTLT:case this.TYPES.TEVT:case this.TYPES.TACHV:return o(this,Ze)[e];case this.TYPES.RTLT:case this.TYPES.REVT:case this.TYPES.RACHV:const u=this.fallback(e);return this.get(u[0])/this.get(u[1]);default:return 0}}fallback(e){switch(e){case this.TYPES.LAGE:case this.TYPES.HAGE:return this.TYPES.AGE;case this.TYPES.LCHR:case this.TYPES.HCHR:return this.TYPES.CHR;case this.TYPES.LINT:case this.TYPES.HINT:return this.TYPES.INT;case this.TYPES.LSTR:case this.TYPES.HSTR:return this.TYPES.STR;case this.TYPES.LMNY:case this.TYPES.HMNY:return this.TYPES.MNY;case this.TYPES.LSPR:case this.TYPES.HSPR:return this.TYPES.SPR;case this.TYPES.CTLT:return this.TYPES.ATLT;case this.TYPES.CEVT:return this.TYPES.AEVT;case this.TYPES.CACHV:return this.TYPES.ACHV;case this.TYPES.LIF:return this.TYPES.LIF;case this.TYPES.RTLT:return[this.TYPES.CTLT,this.TYPES.TTLT];case this.TYPES.REVT:return[this.TYPES.CEVT,this.TYPES.TEVT];case this.TYPES.RACHV:return[this.TYPES.CACHV,this.TYPES.TACHV];default:return}}set(e,t){switch(e){case this.TYPES.AGE:case this.TYPES.CHR:case this.TYPES.INT:case this.TYPES.STR:case this.TYPES.MNY:case this.TYPES.SPR:case this.TYPES.LIF:case this.TYPES.TLT:case this.TYPES.EVT:this.hl(e,o(this,C)[e]=o(this,te).clone(t)),this.achieve(e,t);return;case this.TYPES.TMS:this.lsset("times",parseInt(t)||0);return;case this.TYPES.EXT:this.lsset("extendTalent",t);return;default:return}}getPropertys(){return o(this,te).clone({[this.TYPES.AGE]:this.get(this.TYPES.AGE),[this.TYPES.CHR]:this.get(this.TYPES.CHR),[this.TYPES.INT]:this.get(this.TYPES.INT),[this.TYPES.STR]:this.get(this.TYPES.STR),[this.TYPES.MNY]:this.get(this.TYPES.MNY),[this.TYPES.SPR]:this.get(this.TYPES.SPR)})}change(e,t){if(Array.isArray(t)){for(const i of t)this.change(e,Number(i));return}switch(e){case this.TYPES.AGE:case this.TYPES.CHR:case this.TYPES.INT:case this.TYPES.STR:case this.TYPES.MNY:case this.TYPES.SPR:case this.TYPES.LIF:this.hl(e,o(this,C)[e]+=Number(t));return;case this.TYPES.TLT:case this.TYPES.EVT:const i=o(this,C)[e];if(t<0){const r=i.indexOf(t);r!=-1&&i.splice(r,1)}i.includes(t)||i.push(t),this.achieve(e,t);return;case this.TYPES.TMS:this.set(e,this.get(e)+parseInt(t));return;default:return}}hookSpecial(e){switch(e){case this.TYPES.RDM:return o(this,Ee,Fe).listRandom(this.SPECIAL.RDM);default:return e}}effect(e){for(let t in e)this.change(this.hookSpecial(t),Number(e[t]))}judge(e){const t=this.get(e),i=o(this,et)[e];let r=i.length;const l=()=>Math.max(Math.min(t,10),0)/10;for(;r--;){const[a,h,f]=i[r];if(!r||a==null||t>=a)return{prop:e,value:t,judge:f,grade:h,progress:l()}}}isEnd(){return this.get(this.TYPES.LIF)<1}ageNext(){this.change(this.TYPES.AGE,1);const e=this.get(this.TYPES.AGE),{event:t,talent:i}=this.getAgeData(e);return{age:e,event:t,talent:i}}getAgeData(e){return o(this,te).clone(o(this,Qe)[e])}hl(e,t){let i;switch(e){case this.TYPES.AGE:i=[this.TYPES.LAGE,this.TYPES.HAGE];break;case this.TYPES.CHR:i=[this.TYPES.LCHR,this.TYPES.HCHR];break;case this.TYPES.INT:i=[this.TYPES.LINT,this.TYPES.HINT];break;case this.TYPES.STR:i=[this.TYPES.LSTR,this.TYPES.HSTR];break;case this.TYPES.MNY:i=[this.TYPES.LMNY,this.TYPES.HMNY];break;case this.TYPES.SPR:i=[this.TYPES.LSPR,this.TYPES.HSPR];break;default:return}const[r,l]=i;o(this,C)[r]=o(this,Ee,Fe).min(o(this,C)[r],t),o(this,C)[l]=o(this,Ee,Fe).max(o(this,C)[l],t)}achieve(e,t){let i;switch(e){case this.TYPES.ACHV:const l=this.lsget(e);this.lsset(e,(l||[]).concat([[t,Date.now()]]));return;case this.TYPES.TLT:i=this.TYPES.ATLT;break;case this.TYPES.EVT:i=this.TYPES.AEVT;break;default:return}const r=this.lsget(i)||[];this.lsset(i,Array.from(new Set(r.concat(t||[]).flat())))}lsget(e){const t=localStorage.getItem(e);if(!(t===null||t==="undefined"))return JSON.parse(t)}lsset(e,t){localStorage.setItem(e,JSON.stringify(t))}}te=new WeakMap,Qe=new WeakMap,C=new WeakMap,Ze=new WeakMap,et=new WeakMap,Ee=new WeakSet,Fe=function(){return o(this,te).function(o(this,te).Function.UTIL)};var ue,Ve,Ht;let Po=(Ht=class{constructor(e){s(this,ue);s(this,Ve);c(this,ue,e)}initial({events:e}){c(this,Ve,e);for(const t in e){const i=e[t];i.branch&&(i.branch=i.branch.map(r=>(r=r.split(":"),r[1]=Number(r[1]),r)))}return this.count}get count(){return Object.keys(o(this,Ve)).length}check(e){const{include:t,exclude:i,NoRandom:r}=this.get(e);return r||i&&o(this,ue).check(i)?!1:t?o(this,ue).check(t):!0}get(e){const t=o(this,Ve)[e];if(!t)throw new Error(`[ERROR] No Event[${e}]`);return o(this,ue).clone(t)}information(e){const{event:t}=this.get(e);return{description:t}}do(e){const{effect:t,branch:i,event:r,postEvent:l,grade:a}=this.get(e);if(i){for(const[h,f]of i)if(o(this,ue).check(h))return{effect:t,next:f,description:r,grade:a}}return{effect:t,postEvent:l,description:r,grade:a}}},ue=new WeakMap,Ve=new WeakMap,Ht);var Y,M,tt,ot,ze,xt,Qt;class Xo{constructor(e){s(this,xt);s(this,Y);s(this,M);s(this,tt);s(this,ot);s(this,ze);c(this,Y,e)}initial({talents:e}){c(this,M,e);const t=o(this,Y).function(o(this,Y).Function.CONDITION).extractMaxTriggers;for(const i in e){const r=e[i];if(r.id=Number(i),r.grade=Number(r.grade),r.max_triggers=t(r.condition),r.replacement)for(let l in r.replacement){const a={};for(let h of r.replacement[l])h=`${h}`.split("*"),a[h[0]||0]=Number(h[1])||1;r.replacement[l]=a}}return this.count}get count(){return Object.keys(o(this,M)).length}config({talentPullCount:e=10,talentRate:t={1:100,2:10,3:1,total:1e3},additions:i={}}={}){c(this,tt,e),c(this,ot,t),c(this,ze,i)}check(e){const{condition:t}=this.get(e);return o(this,Y).check(o(this,xt,Qt),t)}get(e){const t=o(this,M)[e];if(!t)throw new Error(`[ERROR] No Talent[${e}]`);return o(this,Y).clone(t)}information(e){const{grade:t,name:i,description:r}=this.get(e);return{grade:t,name:i,description:r}}exclude(e,t){const{exclude:i}=this.get(t);if(!i)return null;for(const r of e){for(const l of i)if(r==l)return r;for(const l of this.get(r).exclude)if(t==l)return r}return null}getAddition(e,t){if(!o(this,ze)[e])return{};for(const[i,r]of o(this,ze)[e])if(t>=i)return r;return{}}getRate(e={}){const t=o(this,Y).clone(o(this,ot)),i={1:1,2:1,3:1};Object.keys(e).forEach(r=>{const l=this.getAddition(r,e[r]);for(const a in l)i[a]+=l[a]});for(const r in i)t[r]*=i[r];return t}talentRandom(e,t){const i=this.getRate(t),r=()=>{let a=Math.floor(Math.random()*i.total);return(a-=i[3])<0?3:(a-=i[2])<0?2:a-i[1]<0?1:0},l={};for(const a in o(this,M)){const{id:h,grade:f,name:u,description:m,exclusive:S}=o(this,M)[a];if(!S){if(h==e){e={grade:f,name:u,description:m,id:h};continue}l[f]?l[f].push({grade:f,name:u,description:m,id:h}):l[f]=[{grade:f,name:u,description:m,id:h}]}}return new Array(o(this,tt)).fill(1).map((a,h)=>{if(!h&&e)return e;let f=r();for(;l[f].length==0;)f--;const u=l[f].length,m=Math.floor(Math.random()*u)%u;return l[f].splice(m,1)[0]})}random(e){const t=Object.keys(o(this,M)).filter(i=>!o(this,M)[i].exclusive);return new Array(e).fill(1).map(()=>t.splice(Math.floor(Math.random()*t.length)%t.length,1)[0])}allocationAddition(e){if(Array.isArray(e)){let t=0;for(const i of e)t+=this.allocationAddition(i);return t}return Number(this.get(e).status)||0}do(e){const{effect:t,condition:i,grade:r,name:l,description:a}=this.get(e);return i&&!o(this,Y).check(i)?null:{effect:t,grade:r,name:l,description:a}}replace(e){const t=(h,f)=>{const{replacement:u}=this.get(h);if(!u)return null;const m=[];if(u.grade&&this.forEach(({id:S,grade:R,exclusive:_})=>{_||u.grade[R]&&(this.exclude(f,S)||m.push([S,u.grade[R]]))}),u.talent)for(let S in u.talent)S=Number(S),!this.exclude(f,S)&&m.push([S,u.talent[S]]);return m},i=o(this,Y).function(o(this,Y).Function.UTIL).weightRandom,r=(h,f)=>{const u=t(h,f);if(!u)return h;const m=i(u);return r(m,f.concat(m))},l=o(this,Y).clone(e),a={};for(const h of e){const f=r(h,l);f!=h&&(a[h]=f,l.push(f))}return a}forEach(e){if(typeof e=="function")for(const t in o(this,M))e(o(this,Y).clone(o(this,M)[t]),t)}}Y=new WeakMap,M=new WeakMap,tt=new WeakMap,ot=new WeakMap,ze=new WeakMap,xt=new WeakSet,Qt=function(){return o(this,Y).request(o(this,Y).Module.PROPERTY)};var ye,Ie,oe,xe;class Ao{constructor(e){s(this,oe);be(this,"Opportunity",{START:"START",TRAJECTORY:"TRAJECTORY",SUMMARY:"SUMMARY",END:"END"});s(this,ye);s(this,Ie);c(this,ye,e)}initial({achievements:e}){return c(this,Ie,e),this.count}get count(){return Object.keys(o(this,Ie)).length}list(){return Object.values(o(this,Ie)).map(({id:e,name:t,opportunity:i,description:r,hide:l,grade:a})=>({id:e,name:t,opportunity:i,description:r,hide:l,grade:a,isAchieved:this.isAchieved(e,o(this,oe,xe))}))}get(e){const t=o(this,Ie)[e];if(!t)throw new Error(`[ERROR] No Achievement[${e}]`);return o(this,ye).clone(t)}check(e){const{condition:t}=this.get(e);return o(this,ye).check(t)}isAchieved(e){for(const[t]of o(this,oe,xe).get(o(this,oe,xe).TYPES.ACHV)||[])if(t==e)return!0;return!1}achieve(e){this.list().filter(({isAchieved:t})=>!t).filter(({opportunity:t})=>t==e).filter(({id:t})=>this.check(t,o(this,oe,xe))).forEach(({id:t})=>{o(this,oe,xe).achieve(o(this,oe,xe).TYPES.ACHV,t),$$event("achievement",this.get(t))})}}ye=new WeakMap,Ie=new WeakMap,oe=new WeakSet,xe=function(){return o(this,ye).request(o(this,ye).Module.PROPERTY)};var H,ke,it,Ne,P,Oe,D,me,rt,X,ut,Zt,Rt,eo;class Wo{constructor(e){s(this,X);s(this,H);s(this,ke);s(this,it);s(this,Ne);s(this,P);s(this,Oe,[]);s(this,D);s(this,me);s(this,rt);c(this,H,e)}initial({characters:e}){c(this,ke,e);const t=localStorage.getItem("uniqueWaTaShi");return(t!=null||t!="undefined")&&c(this,D,JSON.parse(t)),this.count}get count(){return Object.keys(o(this,ke)).length}config({characterPullCount:e=3,rateableKnife:t=10,propertyWeight:i,talentWeight:r}={}){c(this,it,e),c(this,Ne,t),c(this,me,i),c(this,rt,r)}generateUnique(){if(o(this,D))return o(this,X,ut);const e=o(this,X,Rt),{CHR:t,INT:i,STR:r,MNY:l}=o(this,H).PropertyTypes;return c(this,X,{property:{[t]:e(o(this,me)),[i]:e(o(this,me)),[r]:e(o(this,me)),[l]:e(o(this,me))},talent:o(this,H).request(o(this,H).Module.TALENT).random(e(o(this,rt)))},Zt),o(this,X,ut)}random(){return{unique:o(this,X,ut),normal:y(this,X,eo).call(this)}}}H=new WeakMap,ke=new WeakMap,it=new WeakMap,Ne=new WeakMap,P=new WeakMap,Oe=new WeakMap,D=new WeakMap,me=new WeakMap,rt=new WeakMap,X=new WeakSet,ut=function(){if(o(this,D))return o(this,H).clone(o(this,D));const e=Date.now();if(o(this,Oe).push(e),o(this,Oe).length<10)return null;const t=o(this,Oe).shift();return e-t>1e4?null:{unique:!0,generate:!1}},Zt=function(e){c(this,D,o(this,H).clone(e)),o(this,D).unique=!0,o(this,D).generate=!0,localStorage.setItem("uniqueWaTaShi",JSON.stringify(o(this,D)))},Rt=function(){return o(this,H).function(o(this,H).Function.UTIL).weightRandom},eo=function(){if(!o(this,P)){c(this,P,{});for(const r in o(this,ke))o(this,P)[r]=1}const e=[],t=o(this,X,Rt);new Array(o(this,it)).fill(0).forEach(()=>{e.push(t(Object.keys(o(this,P)).filter(r=>!e.includes(r)).map(r=>[r,o(this,P)[r]])))});let i=1/0;for(const r in o(this,P)){if(e.includes(r)){i=Math.min(i,o(this,P)[r]);continue}i=Math.min(i,++o(this,P)[r])}if(i>o(this,Ne))for(const r in o(this,P))o(this,P)[r]-=o(this,Ne);return e.map(r=>o(this,H).clone(o(this,ke)[r]))};var x,ge,B,V,ie,De,nt,lt,at,ht,ft,re,Pe,Et,to;class Uo{constructor(){s(this,Pe);be(this,"Module",{PROPERTY:"PROPERTY",TALENT:"TALENT",EVENT:"EVENT",ACHIEVEMENT:"ACHIEVEMENT",CHARACTER:"CHARACTER"});be(this,"Function",{CONDITION:"CONDITION",UTIL:"UTIL"});s(this,x);s(this,ge);s(this,B);s(this,V);s(this,ie);s(this,De);s(this,nt);s(this,lt);s(this,at);s(this,ht);s(this,ft);s(this,re);c(this,x,new ko(this)),c(this,ge,new Po(this)),c(this,B,new Xo(this)),c(this,V,new Ao(this)),c(this,ie,new Wo(this))}async initial(e,t){const[i,r,l,a,h,f]=await Promise.all([e("age"),e("talents"),e("events"),e("achievement"),e("character"),t("specialthanks")]);c(this,ft,f);const u={[this.PropertyTypes.TACHV]:o(this,V).initial({achievements:a}),[this.PropertyTypes.TEVT]:o(this,ge).initial({events:l}),[this.PropertyTypes.TTLT]:o(this,B).initial({talents:r})};o(this,x).initial({age:i,total:u}),o(this,ie).initial({characters:h})}config({defaultPropertyPoints:e=20,talentSelectLimit:t=3,propertyAllocateLimit:i=[0,10],defaultPropertys:r={},talentConfig:l,propertyConfig:a,characterConfig:h}={}){c(this,nt,e),c(this,lt,t),c(this,at,i),c(this,ht,r),o(this,B).config(l),o(this,x).config(a),o(this,ie).config(h)}request(e){switch(e){case this.Module.ACHIEVEMENT:return o(this,V);case this.Module.CHARACTER:return o(this,ie);case this.Module.EVENT:return o(this,ge);case this.Module.PROPERTY:return o(this,x);case this.Module.TALENT:return o(this,B);default:return null}}function(e){switch(e){case this.Function.CONDITION:return Io;case this.Function.UTIL:return $t}}check(e){return Kt(o(this,x),e)}clone(...e){return fe(...e)}remake(e){return c(this,re,fe(o(this,ht))),o(this,re).TLT=fe(e),c(this,De,{}),this.talentReplace(o(this,re).TLT)}start(e){for(const t in e)o(this,re)[t]=fe(e[t]);o(this,x).restart(o(this,re)),this.doTalent(),o(this,x).restartLastStep(),o(this,V).achieve(this.AchievementOpportunity.START)}getPropertyPoints(){return o(this,nt)+o(this,B).allocationAddition(o(this,re).TLT)}getTalentCurrentTriggerCount(e){return o(this,De)[e]||0}next(){const{age:e,event:t,talent:i}=o(this,x).ageNext(),r=this.doTalent(i),l=this.doEvent(this.random(t)),a=o(this,x).isEnd(),h=[r,l].flat();return o(this,V).achieve(this.AchievementOpportunity.TRAJECTORY),{age:e,content:h,isEnd:a}}talentReplace(e){const t=o(this,B).replace(e),i=[];for(const r in t){e.push(t[r]);const l=o(this,B).get(r),a=o(this,B).get(t[r]);i.push({type:"talentReplace",source:l,target:a})}return i}doTalent(e){e&&o(this,x).change(this.PropertyTypes.TLT,e),e=o(this,x).get(this.PropertyTypes.TLT).filter(i=>this.getTalentCurrentTriggerCount(i)<o(this,B).get(i).max_triggers);const t=[];for(const i of e){const r=o(this,B).do(i);if(!r)continue;o(this,De)[i]=this.getTalentCurrentTriggerCount(i)+1;const{effect:l,name:a,description:h,grade:f}=r;t.push({type:this.PropertyTypes.TLT,name:a,grade:f,description:h}),l&&o(this,x).effect(l)}return t}doEvent(e){const{effect:t,next:i,description:r,postEvent:l,grade:a}=o(this,ge).do(e);o(this,x).change(this.PropertyTypes.EVT,e),o(this,x).effect(t);const h={type:this.PropertyTypes.EVT,description:r,postEvent:l,grade:a};return i?[h,this.doEvent(i)].flat():[h]}random(e){return Ft(e.filter(([t])=>o(this,ge).check(t,o(this,x))))}talentRandom(){return o(this,B).talentRandom(this.lastExtendTalent,y(this,Pe,to).call(this,this.PropertyTypes.TMS,this.PropertyTypes.CACHV))}characterRandom(){const e=o(this,ie).random(),t=i=>i.talent=i.talent.map(r=>o(this,B).get(r));return e.normal.forEach(t),e.unique&&e.unique.talent&&t(e.unique),e}talentExtend(e){o(this,x).set(this.PropertyTypes.EXT,e)}exclude(e,t){return o(this,B).exclude(e,t)}generateUnique(){o(this,ie).generateUnique()}get lastExtendTalent(){return o(this,x).get(this.PropertyTypes.EXT)}get summary(){o(this,V).achieve(this.AchievementOpportunity.SUMMARY);const e=this.PropertyTypes;return y(this,Pe,Et).call(this,e.SUM,e.HAGE,e.HCHR,e.HINT,e.HSTR,e.HMNY,e.HSPR)}get statistics(){const e=this.PropertyTypes;return y(this,Pe,Et).call(this,e.TMS,e.CACHV,e.RTLT,e.REVT)}get achievements(){const e={};return o(this,x).get(this.PropertyTypes.ACHV).forEach(([t,i])=>e[t]=i),o(this,V).list(o(this,x)).sort(({id:t,grade:i,hide:r},{id:l,grade:a,hide:h})=>{if(t=e[t],l=e[l],t&&l)return l-t;if(!t&&!l)return r&&h?a-i:r?1:h?-1:a-i;if(!t)return 1;if(!l)return-1})}get PropertyTypes(){return o(this,x).TYPES}get AchievementOpportunity(){return o(this,V).Opportunity}get talentSelectLimit(){return o(this,lt)}get propertyAllocateLimit(){return fe(o(this,at))}get propertys(){return o(this,x).getPropertys()}get times(){return o(this,x).get(this.PropertyTypes.TMS)||0}set times(e){o(this,x).set(this.PropertyTypes.TMS,e),o(this,V).achieve(this.AchievementOpportunity.END)}get specialThanks(){return o(this,ft)}}x=new WeakMap,ge=new WeakMap,B=new WeakMap,V=new WeakMap,ie=new WeakMap,De=new WeakMap,nt=new WeakMap,lt=new WeakMap,at=new WeakMap,ht=new WeakMap,ft=new WeakMap,re=new WeakMap,Pe=new WeakSet,Et=function(...e){return vt(e.flat(),t=>o(this,x).judge(t))},to=function(...e){return vt(e.flat(),t=>o(this,x).get(t))};globalThis.$$eventMap=new Map;globalThis.$$event=(n,e)=>{const t=$$eventMap.get(n);t&&t.forEach(i=>i(e))};globalThis.$$on=(n,e)=>{let t=$$eventMap.get(n);t||(t=new Set,$$eventMap.set(n,t)),t.add(e)};globalThis.$$off=(n,e)=>{const t=$$eventMap.get(n);t&&t.delete(e)};globalThis.$$copy=async n=>{const e=await navigator.permissions.query({name:"clipboard-write"});if(e.state=="granted"||e.state=="prompt")return navigator.clipboard.writeText(n),!0;const t=document.createElement("input");t.setAttribute("style","opacity: 0;"),document.body.appendChild(t),t.value=n,t.select();const i=document.execCommand("copy");return document.body.removeChild(t),i};globalThis.$$read=async()=>{const n=await navigator.permissions.query({name:"clipboard-read"});if(n.state=="granted"||n.state=="prompt")return await navigator.clipboard.readText();const e=document.createElement("input");e.setAttribute("style","opacity: 0;"),document.body.appendChild(e),e.focus();const t=document.execCommand("paste"),i=e.value;return document.body.removeChild(e),t&&i};const oo=new Uo,io=new Tt;globalThis.core=oo;globalThis.game=io;const ro={};location.search.substr(1).split("&").forEach(n=>{const e=n.split("=");ro[e[0]]=e[1]});oo.config({defaultPropertyPoints:20,talentSelectLimit:3,propertyAllocateLimit:[0,10],defaultPropertys:{SPR:5},talentConfig:{talentPullCount:10,talentRate:{1:100,2:10,3:1,total:1e3},additions:{TMS:[[10,{2:1}],[30,{2:2}],[50,{2:3}],[70,{2:4}],[100,{2:5}]],CACHV:[[10,{2:1}],[30,{2:2}],[50,{2:3}],[70,{2:4}],[100,{2:5}]]}},propertyConfig:{judge:{RTLT:[[0,0],[.3,1],[.6,2],[.9,3]],REVT:[[0,0],[.2,1],[.4,2],[.6,3]],TMS:[[0,0,"UI_Remake_Times_Judge_Level_0"],[10,1,"UI_Remake_Times_Judge_Level_1"],[30,1,"UI_Remake_Times_Judge_Level_2"],[50,2,"UI_Remake_Times_Judge_Level_3"],[70,2,"UI_Remake_Times_Judge_Level_4"],[100,3,"UI_Remake_Times_Judge_Level_5"]],CACHV:[[0,0,"UI_Achievement_Count_Judge_Level_0"],[10,1,"UI_Achievement_Count_Judge_Level_1"],[30,1,"UI_Achievement_Count_Judge_Level_2"],[50,2,"UI_Achievement_Count_Judge_Level_3"],[70,2,"UI_Achievement_Count_Judge_Level_4"],[100,3,"UI_Achievement_Count_Judge_Level_5"]],HCHR:[[0,0,"UI_Judge_Level_0"],[1,0,"UI_Judge_Level_1"],[2,0,"UI_Judge_Level_2"],[4,0,"UI_Judge_Level_3"],[7,1,"UI_Judge_Level_4"],[9,2,"UI_Judge_Level_5"],[11,3,"UI_Judge_Level_6"]],HMNY:[[0,0,"UI_Judge_Level_0"],[1,0,"UI_Judge_Level_1"],[2,0,"UI_Judge_Level_2"],[4,0,"UI_Judge_Level_3"],[7,1,"UI_Judge_Level_4"],[9,2,"UI_Judge_Level_5"],[11,3,"UI_Judge_Level_6"]],HSPR:[[0,0,"UI_Spirit_Judge_Level_0"],[1,0,"UI_Spirit_Judge_Level_1"],[2,0,"UI_Spirit_Judge_Level_2"],[4,0,"UI_Spirit_Judge_Level_3"],[7,1,"UI_Spirit_Judge_Level_4"],[9,2,"UI_Spirit_Judge_Level_5"],[11,3,"UI_Spirit_Judge_Level_6"]],HINT:[[0,0,"UI_Judge_Level_0"],[1,0,"UI_Judge_Level_1"],[2,0,"UI_Judge_Level_2"],[4,0,"UI_Judge_Level_3"],[7,1,"UI_Judge_Level_4"],[9,2,"UI_Judge_Level_5"],[11,3,"UI_Judge_Level_6"],[21,3,"UI_Intelligence_Judge_Level_7"],[131,3,"UI_Intelligence_Judge_Level_8"],[501,3,"UI_Intelligence_Judge_Level_9"]],HSTR:[[0,0,"UI_Judge_Level_0"],[1,0,"UI_Judge_Level_1"],[2,0,"UI_Judge_Level_2"],[4,0,"UI_Judge_Level_3"],[7,1,"UI_Judge_Level_4"],[9,2,"UI_Judge_Level_5"],[11,3,"UI_Judge_Level_6"],[21,3,"UI_Strength_Judge_Level_7"],[101,3,"UI_Strength_Judge_Level_8"],[401,3,"UI_Strength_Judge_Level_9"],[1001,3,"UI_Strength_Judge_Level_10"],[2001,3,"UI_Strength_Judge_Level_11"]],HAGE:[[0,0,"UI_AGE_Judge_Level_0"],[1,0,"UI_AGE_Judge_Level_1"],[10,0,"UI_AGE_Judge_Level_2"],[18,0,"UI_AGE_Judge_Level_3"],[40,0,"UI_AGE_Judge_Level_4"],[60,1,"UI_AGE_Judge_Level_5"],[70,1,"UI_AGE_Judge_Level_6"],[80,2,"UI_AGE_Judge_Level_7"],[90,2,"UI_AGE_Judge_Level_8"],[95,3,"UI_AGE_Judge_Level_9"],[100,3,"UI_AGE_Judge_Level_10"],[500,3,"UI_AGE_Judge_Level_11"]],SUM:[[0,0,"UI_Judge_Level_0"],[41,0,"UI_Judge_Level_1"],[50,0,"UI_Judge_Level_2"],[60,0,"UI_Judge_Level_3"],[80,1,"UI_Judge_Level_4"],[100,2,"UI_Judge_Level_5"],[110,3,"UI_Judge_Level_6"],[120,3,"UI_Judge_Level_7"]]}},characterConfig:{characterPullCount:3,rateableKnife:10,propertyWeight:[[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],[6,5],[7,4],[8,3],[9,2],[10,1]],talentWeight:[[1,1],[2,2],[3,3],[4,2],[5,1]]}});io.start(ro);