<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{l as i}from"./lottery.ccadc724.js";const u={menu:i.menu,footer:i.footer,txtstr:["ws1.servers01.com","ws2.servers01.com","ws3.servers01.com","ws4.servers01.com","ws5.servers01.com"],xiaos:Array(),fives:Array(),addYear:function(e){var t=this.xiaos.findIndex(f=&gt;f.year==e);if(!(t&gt;-1)){var n={year:e,xiao:[]},r=this.xiaos.push(n),o=this.xiaos[r-1].year-i.year_start+48,a=this.xiaos[r-1].year-i.year_start-1;this.xiaos[r-1].xiao.push("");for(var s=o;s&gt;a;s--)this.xiaos[r-1].xiao.push(i.animals[s%12]);this.fives.push({year:e,five:this.getAllWxArr(e),class:this.getAllWxArrClass(e)})}},getYearLunar(e,t,n){const r=i.lunar[e-i.min_year],o=[e,t,n];return this.getDaysBetweenSolar(o,r)&lt;=0||(e=e-1),e},getDaysBetweenSolar(e,t){const n=this.mktime(e[1],e[2],e[0]),r=this.mktime(t[1],t[2],e[0]);return Math.ceil((r-n)/24/3600)},mktime(e,t,n){return new Date(n,e-1,t,0,0,0).getTime()/1e3},getAllWxArr:function(e){for(var t=[],n=1;n&lt;=49;n++)t[n]=this.getGanZhiwx(e),e--;return t},getAllWxArrClass:function(e){for(var t=[],n=1;n&lt;=49;n++){var r=this.getGanZhiwx(e);r=="é‡‘"&amp;&amp;(t[n]="wx-jin"),r=="æœ¨"&amp;&amp;(t[n]="wx-mu"),r=="æ°´"&amp;&amp;(t[n]="wx-shui"),r=="ç«"&amp;&amp;(t[n]="wx-huo"),r=="åœŸ"&amp;&amp;(t[n]="wx-tu"),e--}return t},getGanZhiwx:function(e){var t=this.getGanZhi(e);for(var n in i.five_element)if(i.five_element[n].destiny.indexOf(t)!=-1)return i.five_element[n].name;return""},getGanZhi:function(e){var t=e-1900+36;return i.gan[t%10]+i.zhi[t%12]},getYear:function(e){return e.slice(0,4)},getMonth:function(e){return e.slice(5,7)},getDay:function(e){return e.slice(8)},getColor:function(e,t=!0){return typeof e&gt;"u"||Number(e)==0?"":i.colors.red.indexOf(e.toString().padStart(2,"0"))!=-1?t?"çº¢":"red":i.colors.blue.indexOf(e.toString().padStart(2,"0"))!=-1?t?"è“":"blue":t?"ç»¿":"green"},getBall:function(e){return typeof e&gt;"u"||Number(e)==0?"":e.toString().padStart(2,"0")},getLungHu:function(e,t=24){return e&gt;t?"é¾™":"è™Ž"},getDaXiao:function(e){return e&gt;24?"å¤§":"å°"},getWeiDaXiao:function(e){return e%10&gt;4?"å°¾å¤§":"å°¾å°"},getUnitDaXiao:function(e){return e%10&gt;4?"å¤§":"å°"},getDanShuang:function(e){return e%2==0?"åŒ":"å•"},getDanShuangFull:function(e){return e%2==0?"é›™":"å–®"},getHeDanShuang:function(e){return(e%10+Math.floor(e/10))%2==0?"åˆåŒ":"åˆå•"},getHeDanShuangFull:function(e){return(e%10+Math.floor(e/10))%2==0?"é›™":"å–®"},getSumDanShuang:function(e){var t=[e.p1,e.p2,e.p3,e.p4,e.p5,e.p6,e.t].reduce((n,r)=&gt;Number(n)+Number(r),0);return t%2==0?"é›™":"å–®"},getSumDaXiao:function(e){var t=[e.p1,e.p2,e.p3,e.p4,e.p5,e.p6,e.t].reduce((n,r)=&gt;Number(n)+Number(r),0);return t&gt;175?"å¤§":"å°"},getGroupNumber:function(e){return e&lt;11?"1-10":e&lt;21?"11-20":e&lt;31?"21-30":e&lt;41?"31-40":"41-49"},getUnit:function(e){return e%10},getDozen:function(e){return Math.floor(e/10)},getDozenDanShuang:function(e){return this.getDozen(e)%2==0?"å¤´åŒ":"å¤´å•"},getUnitDanShuang:function(e){return u.getUnit(e)%2==0?"å’ŒåŒ":"å’Œå•"},getQiDuan:function(e){return e--,Math.floor(e/7)+1+"æ®µ"},getXiao:function(e,t){this.addYear(t);var n=this.xiaos.findIndex(r=&gt;r.year==t);return n==-1&amp;&amp;n++,this.xiaos[n].xiao[e]},getWumen:function(e){return i.wumen_cn[i.wumen[e]]},getBanBo:function(e){return this.getColor(e,!0)+this.getDaXiao(e)},getHe:function(e){return"åˆ"+this.getBall(e%10+Math.floor(e/10))},getFive:function(e,t){this.addYear(t);var n=this.fives.findIndex(r=&gt;r.year==t);return n==-1&amp;&amp;n++,this.fives[n].five[e]},getFiveClass:function(e,t){this.addYear(t);var n=this.fives.findIndex(r=&gt;r.year==t);return n==-1&amp;&amp;n++,this.fives[n].class[e]},getPoultry:function(e,t){var n=i.animals.indexOf(u.getXiao(e,t));return i.zodiacs.poultry_beast.cn[i.zodiacs.poultry_beast.code[n]]},getJiaYe:function(e,t){var n=i.animals.indexOf(u.getXiao(e,t));return i.zodiacs.poultry_beast.cn1[i.zodiacs.poultry_beast.code[n]]},getNamNu:function(e,t){var n=i.animals.indexOf(u.getXiao(e,t));return i.gender.cn1[i.gender.code[n]]},getTianDe:function(e,t){var n=i.animals.indexOf(u.getXiao(e,t));return i.zodiacs.sky_land_code.cn1[i.zodiacs.sky_land_code.code[n]]},getXiaoToBall(e,t=2023){this.xiaos.length==0&amp;&amp;this.addYear(t);let n=Array();return this.xiaos[0].xiao.forEach((r,o)=&gt;{r==e&amp;&amp;n.push(o)}),n},goUrl:function(e){window.open(e,"_blank")},generateCombinationsRecursive:function(e,t=2,n=[],r=[],o=0){if(r.length==t){n.push(r);return}for(let a=o;a&lt;e.length;a++){const s=[...r,e[a]];u.generateCombinationsRecursive(e,t,n,s,a+1)}}};export{u as x};
</pre></body></html>