| 1 |
- let[o,t]=[window.location.protocol,window.location.host],s=/^\d+\.\d+\.\d+\.\d+:\d+$/.test(t),[a,d]=s?["cwgvu","club"]:t.split(".").slice(-2),e="http:"==o?"https:":o;console.log(a,d,e,1009);const n={HostWs:"wss://ws."+a+"."+d,Host80:e+"//secure."+a+"."+d,Host00:e+"//ucard."+a+"."+d,Host85:e+"//ucard."+a+"."+d,Host04:e+"//pay."+a+"."+d,Host90:e+"//data."+a+"."+d,HostShop:e+"//shopcustom."+a+"."+d,HostShopImg:e+"//shopmanager."+a+"."+d,Host87:e+"//followup."+a+"."+d,Host05:e+"//file."+a+"."+d,HostEnter:e+"//ad."+a+"."+d,ho:a,host:a,Code:{StatusOK:200,StatusFail:400,StatusSessionExpire:600,StatusSNotFound:404},Pattern:{Email:/^[\w.%+-]+@[a-z0-9.-]+\.[a-z]{2,}$/i,Phone:/^1[3-9]\d{9}$/,Pin:/^(?!(\d)\1{5})(?!012345)(?!123456)(?!234567)(?!345678)(?!456789)(?!987654)(?!876543)(?!765432)(?!654321)(?!543210)\d{6}$/,Password:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[a-zA-Z\d]{8,16}$/,Tel:/^0[1-9]{2,3}-\d{5,10}$/,Num:/\d/,NonNegInt:/^\d+$/,PosInt:/^[1-9]\d*$/,nonnegative:/^\d+(\.\d{1,2})?$/,englishName:/^[^\u4E00-\u9FA5]+$/}};export{n as c};
|