using AllBase; using CefSharp; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.IO; using System.IO.Compression; using System.Linq; using System.Net; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using Work.Api; namespace Work.CollectClass { public class WhiteBaseMap { public static string Name; public int threadCount = 10; public static List ShopTemp = new List(); public static List whiteMapObjectList = new List(); public static Dictionary ShopToken = new Dictionary(); public static Dictionary ShopFixedImage = new Dictionary(); public static Dictionary ShopCount = new Dictionary(); public static string cboSetModel = "自动抠图"; public WhiteBaseMap(string name) { Name = name; } public void SetWhiteBaseMap() { List ts = new List(); for (int i = 0; i < GetShopLoginInfo.Shops.Count; i++) { var shop = GetShopLoginInfo.Shops[i]; if (shop == null || !shop.SelectWhite) continue; Threadx.ThreadListWait(ref ts, new Thread(new WhiteBaseMapInstance(shop, Name).SetWhiteBaseMap), threadCount); Thread.Sleep(2000); } LogSave.Add(Name, "设置白底图完成"); } public void SetFalseWhiteBaseMap() { List ts = new List(); for (int i = 0; i < GetShopLoginInfo.Shops.Count; i++) { var shop = GetShopLoginInfo.Shops[i]; if (shop == null || !shop.SelectWhite) continue; Threadx.ThreadListWait(ref ts, new Thread(new WhiteBaseMapInstance(shop, Name).SetFalseWhiteBaseMap), threadCount); Thread.Sleep(2000); } LogSave.Add(Name, "设置白底图完成"); } } public class WhiteBaseMapInstance { public ShopChatBase Shop; public string Name; public static bool isOnSale = true; public static bool isOffSale = true; public static bool isWait = false; public static bool isStop = false; public static bool isInvald = false; public static int Count = 0; public List goodsList = new List(); public delegate void delegateView(); public static delegateView code; public int GetGoodsCount = 0; public bool isFinish = false; public WhiteBaseMapInstance(ShopChatBase shop, string name) { Shop = shop; Name = name; } /// /// 获取白底图商品 /// /// public void GetWhiteBaseMapGoods() { string url = "https://mms.pinduoduo.com/giraffe/mms/material/queryByGoods"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = ""; if (isOnSale) { data = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\",\"is_onsale\":1,\"sold_out\":0}"; } if (isOffSale) { data = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\",\"is_onsale\":0}"; } if (isOnSale && isOffSale) { data = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\"}"; } string html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data.Replace("#page#", "1"), Shop.Cookies); if (string.IsNullOrEmpty(html)) return; int allCount = BaseRegex.GetIntJson(ref html, "total"); int page = allCount / 50 + (allCount % 50 > 0 ? 1 : 0); for (int i = 0; i < page; i++) { if (Count > 0 && GetGoodsCount >= Count) break; if (i != 0) { html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data.Replace("#page#", (i + 1).ToString()), Shop.Cookies); if (string.IsNullOrEmpty(html) || !html.Contains("total")) { Thread.Sleep(10 * 1000); html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data.Replace("#page#", (i + 1).ToString()), Shop.Cookies); } } var m = BaseRegex.GetMatchRegex(ref html, @"""goods_search_info_vo""[\w\W]+?""is_forbid_edit_long_graph"""); for (int j = 0; m != null && j < m.Count; j++) { if (Count > 0 && goodsList.Count >= Count) break; var item = m[j].Groups[0].Value; string goods_id = BaseRegex.GetStringJson(ref item, "goods_id"); int status = BaseRegex.GetIntJson(ref item, "check_status"); string type_name = BaseRegex.GetStringJson(ref item, "type_name"); if ((status == 2 && type_name == "白底图") || status == 3)//上传过白底图 continue; GetGoodsCount = GetGoodsCount + 1; goodsList.Add(goods_id); LogSave.Add(Name, "店铺" + Shop.ShopName + "获取白底图商品" + goods_id); } Thread.Sleep(1000); } } /// /// 获取店铺token到文本文件 /// /// public void SaveWhiteBaseMap(string pjtoken) { try { string temp = ""; foreach (KeyValuePair kv in WhiteBaseMap.ShopToken) { temp += kv.Key + "," + kv.Value + "\r\n"; } FileBase.WriteAllText("temp/WhiteBaseMap.txt", temp, Encoding.UTF8); } catch { } } /// /// 获取店铺token /// /// public string GetWhiteBaseMap() { //string urlxm = "https://mms.pinduoduo.com/janus/api/subSystem/generateAccessToken"; //string referem = "https://mms.pinduoduo.com/login?redirectUrl=https%3A%2F%2Faid.pinduoduo.com%2Fauth%3FredirectUrl%3Dhttps%253A%252F%252Faid.pinduoduo.com%252Ftools%252Fmatting%253Forigin%253Dgoods_material"; //string dataxm = "{\"redirectUrl\":\"https://aid.pinduoduo.com/auth?redirectUrl=https%3A%2F%2Faid.pinduoduo.com%2Ftools%2Fmatting%3Forigin%3Dgoods_material\"}"; // htmlxm = GetJsonPostURL("https://aid.pinduoduo.com/auth?redirectUrl=https%3A%2F%2Faid.pinduoduo.com%2Ftools%2Fmatting%3Forigin%3Dgoods_material&accessToken=" + accessToken + "&username="+Shop.ShopName, "", true, "", cookies); string urlxm = "https://mms.pinduoduo.com/janus/api/subSystem/generateAccessToken"; string referem = "https://mms.pinduoduo.com/goods/goods_materials?tab=0"; string dataxm = "{\"mallId\":" + Shop.MallId + ",\"redirectUrl\":\"https://aid.pinduoduo.com\"}"; string htmlxm = Request_mms_pinduoduo_com(urlxm, urlxm, Shop.Cookies, dataxm, getAnti0aon()); //GetPostTaobaoHtml.GetJsonPost(urlxm, referem, true, dataxm, Shop.Cookies); string accessToken = BaseRegex.GetStringJson(ref htmlxm, "accessToken"); string cookies = "ptj_token=" + accessToken + ";"; htmlxm = GetJsonPostURL("https://aid.pinduoduo.com/auth?redirectUrl=https%3A%2F%2Faid.pinduoduo.com%2Ftools%2Fmatting%3Forigin%3Dgoods_material&accessToken=" + accessToken, "", true, "", cookies); string pjtoken = BaseRegex.GetMatchRegexString(ref htmlxm, "ptj_token=([^;]+?);"); if (WhiteBaseMap.ShopToken.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopToken[Shop.ShopName] = pjtoken; } else { WhiteBaseMap.ShopToken.Add(Shop.ShopName, pjtoken); } SaveWhiteBaseMap(pjtoken); return pjtoken; } /// /// 获取token request方法 /// /// /// /// /// /// /// public static string GetJsonPostURL(string url, string refere, bool isUtf8, string data, string cookies) { string userAgent = string.IsNullOrEmpty(BaseClass.ChromeUserAgent) ? BaseClass.UserAgent : BaseClass.ChromeUserAgent; WebClientx wb = new WebClientx(); wb.Timeout = 10; wb.AllowAutoRedirect = false; wb.Headers.Add("Accept-Encoding", "gzip,deflate"); wb.Headers.Add("Accept-Language", "zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3"); wb.Headers.Add("User-Agent", userAgent); wb.Headers.Add("Upgrade-Insecure-Requests", @"1"); refere = "https://mms.pinduoduo.com/login?redirectUrl=https%3A%2F%2Faid.pinduoduo.com%2Fauth%3FredirectUrl%3Dhttps%253A%252F%252Faid.pinduoduo.com%252Ftools%252Fmatting%253Forigin%253Dgoods_material"; if (!string.IsNullOrEmpty(refere)) wb.Headers.Add("Referer", refere); if (!string.IsNullOrEmpty(cookies)) wb.Headers.Add("Cookie", cookies); string pdd = ""; if (!string.IsNullOrEmpty(cookies)) pdd = BaseRegex.GetMatchRegexString(ref cookies, "PDDAccessToken=([^;]+?);"); string pddx = ""; if (!string.IsNullOrEmpty(cookies)) pddx = BaseRegex.GetMatchRegexString(ref cookies, "PASS_ID=([^;]+)"); else if (!string.IsNullOrEmpty(pddx)) wb.Headers.Add("PASSID", pddx); string rehead = wb.Headers.ToString(); var encode = isUtf8 ? Encoding.UTF8 : Encoding.GetEncoding("gbk"); byte[] b, postData = encode.GetBytes(data); string html, head; try { wb.Headers.Add("Accept", "text/html"); wb.Headers.Add("Content-Type", "text/html; charset=UTF-8"); if (string.IsNullOrEmpty(data)) { b = wb.DownloadData(url); } else { wb.Headers.Add("ContentLength", postData.Length.ToString()); rehead = wb.Headers.ToString(); b = wb.UploadData(url, "POST", postData); } html = encode.GetString(b); head = wb.ResponseHeaders.ToString(); html = wb.ResponseHeaders["Set-Cookie"]; } catch (Exception ee) { html = "提交错误:" + ee.Message; head = ""; } return html; } public void SaveWhiteFixedImage() { try { string temp = ""; foreach (KeyValuePair kv in WhiteBaseMap.ShopFixedImage) { temp += kv.Key + "," + kv.Value + "\r\n"; } FileBase.WriteAllText("temp/FixedWhiteBaseMap.txt", temp, Encoding.UTF8); } catch { } } public void GetFixeImage() { if (WhiteBaseMap.ShopFixedImage.ContainsKey(Shop.ShopName)) { fixedImageUrlAndId = WhiteBaseMap.ShopFixedImage[Shop.ShopName]; } } /// /// 设置白底图方法 /// public void SetWhiteBaseMap() { if (WhiteBaseMap.cboSetModel == "固定白底图") { GetFixeImage(); SetWhiteBaseMapModel(); return; } while (isWait) { Thread.Sleep(3000); } if (isStop) { return; } //new Thread(GetCheck).Start(); string pjtoken = ""; string verifyAuthToken = ""; string cookies = ""; string api_uid = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "api_uid=([^;]+?);"); string _nano_fp = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "_nano_fp=([^;]+?);"); if (!string.IsNullOrEmpty(Shop.pjtToken)) { pjtoken = BaseRegex.GetMatchRegexString(ref Shop.pjtToken, "ptj_token=([^;]+?);"); verifyAuthToken = BaseRegex.GetMatchRegexString(ref Shop.pjtToken, "VerifyAuthToken=([^;]+?);"); WhiteBaseMap.ShopToken[Shop.ShopName] = pjtoken; } if (WhiteBaseMap.ShopToken.ContainsKey(Shop.ShopName)) { pjtoken = WhiteBaseMap.ShopToken[Shop.ShopName]; } else { pjtoken = GetWhiteBaseMap(); } CheckDic.Clear(); isFinish = false; int page = 1; while (true) { goodsList.Clear(); string urlMa = "https://mms.pinduoduo.com/giraffe/mms/material/queryByGoods"; string dataMa = ""; if (isOnSale) { dataMa = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\",\"is_onsale\":1,\"sold_out\":0}"; } if (isOffSale) { dataMa = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\",\"is_onsale\":0}"; } if (isOnSale && isOffSale) { dataMa = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\"}"; } string htmlMa = GetPostTaobaoHtml.GetJsonPost(urlMa, urlMa, true, dataMa.Replace("#page#", "" + page + ""), Shop.Cookies); if (string.IsNullOrEmpty(htmlMa)) return; if (Count > 0 && GetGoodsCount >= Count) break; var m = BaseRegex.GetMatchRegex(ref htmlMa, @"""goods_search_info_vo""[\w\W]+?""is_forbid_edit_long_graph"""); for (int j = 0; m != null && j < m.Count; j++) { if (Count > 0 && goodsList.Count >= Count) break; var item = m[j].Groups[0].Value; string goods_id = BaseRegex.GetStringJson(ref item, "goods_id"); int status = BaseRegex.GetIntJson(ref item, "check_status"); string type_name = BaseRegex.GetStringJson(ref item, "type_name"); if ((status == 2 && type_name == "白底图") || status == 3)//上传过白底图 continue; GetGoodsCount = GetGoodsCount + 1; goodsList.Add(goods_id); LogSave.Add(Name, "店铺" + Shop.ShopName + "获取白底图商品" + goods_id); } if (m == null || m.Count == 0) break; cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; Dictionary items = new Dictionary(); for (int i = 0; i < goodsList.Count; i++) { while (isWait) { Thread.Sleep(3000); } if (isStop) return; var good = goodsList[i]; string url = "https://aid.pinduoduo.com/api/banner-intelligent/image/list"; string refere = "https://aid.pinduoduo.com/tools/matting?origin=goods_material"; string data = "{\"keyword\":\"" + good + "\",\"filterWhiteImage\":false,\"pageNum\":1,\"pageSize\":20}"; string html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN") || html.Contains("NO_TOKEN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN") || html.Contains("NO_TOKEN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); } } var mc = BaseRegex.GetMatchRegex(ref html, @"""imageUrl"":""([\w\W]+?)"""); if (mc != null && mc.Count > 1) { //int randx = new Random(Guid.NewGuid().GetHashCode()).Next(0, m.Count - 1); var item = mc[0].Groups[1].Value; items.Add(good, item); if (items.Count == 10)//网页默认抠图最大值20个,测试可以上传200个抠图,但上传到图片空间接口,会发生500错误。 { GetItems(items, cookies); if (isInvald) break; setShopWhiteBase(items); items.Clear(); } } } if (items.Count > 0) { GetItems(items, cookies); if (isInvald) return; setShopWhiteBase(items); items.Clear(); } page++; } isFinish = true; GetCheck(); } string upUrl = "https://img.pddpic.com/mms-material-img/2020-08-18/24c63bf2-fdfe-4e93-a6ad-d9e7fecc6514.jpeg.a.jpeg"; string fixedImageUrl = ""; string fixedImageUrlAndId = ""; long fixedId = 0; public void SetWhiteBaseMapModel() { while (isWait) { Thread.Sleep(3000); } if (isStop) { return; } isFinish = false; int page = 1; while (true) { goodsList.Clear(); string urlMa = "https://mms.pinduoduo.com/giraffe/mms/material/queryByGoods"; string dataMa = ""; if (isOnSale) { dataMa = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\",\"is_onsale\":1,\"sold_out\":0}"; } if (isOffSale) { dataMa = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\",\"is_onsale\":0}"; } if (isOnSale && isOffSale) { dataMa = "{\"page\":#page#,\"page_size\":50,\"type_list\":[1,3,4,5,7,6],\"order_by\":\"id: desc\"}"; } string htmlMa = GetPostTaobaoHtml.GetJsonPost(urlMa, urlMa, true, dataMa.Replace("#page#", "" + page + ""), Shop.Cookies); if (string.IsNullOrEmpty(htmlMa)) return; if (Count > 0 && GetGoodsCount >= Count) break; var m = BaseRegex.GetMatchRegex(ref htmlMa, @"""goods_search_info_vo""[\w\W]+?""is_forbid_edit_long_graph"""); for (int j = 0; m != null && j < m.Count; j++) { if (Count > 0 && goodsList.Count >= Count) break; var item = m[j].Groups[0].Value; string goods_id = BaseRegex.GetStringJson(ref item, "goods_id"); int status = BaseRegex.GetIntJson(ref item, "check_status"); string type_name = BaseRegex.GetStringJson(ref item, "type_name"); if ((status == 2 && type_name == "白底图") || status == 3)//上传过白底图 continue; GetGoodsCount = GetGoodsCount + 1; goodsList.Add(goods_id); LogSave.Add(Name, "店铺" + Shop.ShopName + "获取白底图商品" + goods_id); } if (m == null || m.Count == 0) break; for (int i = 0; i < goodsList.Count; i++) { while (isWait) { Thread.Sleep(3000); } if (isStop) return; var good = goodsList[i]; if (string.IsNullOrEmpty(fixedImageUrlAndId)) { byte[] img; GetPostTaobaoHtml.DownLoadImage(upUrl, out img); string url = "https://mms.pinduoduo.com/galerie/business/get_signature"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = "{\"bucket_tag\":\"mms-material-img\"}"; string html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, data, Shop.Cookies);//"{\"bucket_tag\":\"pdd_goods\"}" {\"bucket_tag\":\"pdd_mms\"} if (html.Contains("非法请求")) { LogSave.Add(Name, "店铺" + Shop.ShopName + ",上传图片出现非法请求限制。"); WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.message = "上传图片出现非法请求限制。"; WhiteBaseMap.whiteMapObjectList.Add(white); return; } string sign = BaseRegex.GetStringJson(ref html, "signature"); url = "https://file.pinduoduo.com/v3/store_image"; refere = "https://mms.pinduoduo.com/goods/goods_materials"; try { string fileName = Randomx.GetId(100000) + ".jpg"; html = HttpPostData(url, 30000, "image", fileName, img, sign, refere); string imgUrl = BaseRegex.GetStringJson(ref html, "url"); if (imgUrl.Contains("null")) imgUrl = ""; bool falg = true; Again: string fmageUrl = Randomx.GetId(100000).ToString(); DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1)); long time = (long)(DateTime.Now - startTime).TotalMilliseconds; url = "https://mms.pinduoduo.com/garner/mms/file/create"; data = "{\"url\":\"" + imgUrl + "\",\"name\":\"" + fmageUrl + "\",\"extension\":\"jpeg\",\"create_time\":" + time + "}"; string code = GetAntiContent0ao_v2(); html = Request_mms_pinduoduo_com(url, refere, Shop.Cookies, data, code); url = "https://mms.pinduoduo.com/garner/mms/file/list"; data = "{\"order_by\":\"create_time desc\",\"page\":1,\"page_size\":10,\"file_name\":\"" + fmageUrl + "\",\"file_type_desc\":\"pic\",\"check_status_list\":[2]}"; html = Request_mms_pinduoduo_com(url, refere, Shop.Cookies, data, getAnti0aon()); fixedImageUrl = BaseRegex.GetStringJson(ref html, "url"); fixedId = BaseRegex.GetLongJson(ref html, "id"); if (string.IsNullOrEmpty(fixedImageUrl)) { Thread.Sleep(1000); html = Request_mms_pinduoduo_com(url, refere, Shop.Cookies, data, getAnti0aon()); fixedImageUrl = BaseRegex.GetStringJson(ref html, "url"); fixedId = BaseRegex.GetLongJson(ref html, "id"); } if (string.IsNullOrEmpty(fixedImageUrl) && falg) { Thread.Sleep(2000); falg = false; goto Again; } if (!WhiteBaseMap.ShopFixedImage.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopFixedImage.Add(Shop.ShopName, fixedImageUrl + "@" + fixedId); } else { WhiteBaseMap.ShopFixedImage[Shop.ShopName] = fixedImageUrl + "@" + fixedId; } fixedImageUrlAndId = WhiteBaseMap.ShopFixedImage[Shop.ShopName]; SaveWhiteFixedImage(); } catch { } } else { fixedId = long.Parse(fixedImageUrlAndId.Split('@')[1]); fixedImageUrl = fixedImageUrlAndId.Split('@')[0]; } string urlx = "https://mms.pinduoduo.com/giraffe/mms/material/create"; string datax = "{\"content\":\"" + fixedImageUrl + "\",\"goods_id\":" + good + ",\"type\":1,\"mall_file_id\":" + fixedId + ",\"source\":4}"; string htmlx = Request_mms_pinduoduo_com(urlx, urlx, Shop.Cookies, datax, getAnti0aon()); if (htmlx.Contains("图片已被图片空间删除")) { fixedImageUrlAndId = ""; } if (htmlx.Contains("\"success\":true")) { if (!WhiteBaseMap.ShopCount.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopCount.Add(Shop.ShopName, 1); } else { WhiteBaseMap.ShopCount[Shop.ShopName] = WhiteBaseMap.ShopCount[Shop.ShopName] + 1; } WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.setWhiteCount = WhiteBaseMap.ShopCount[Shop.ShopName]; white.message = "设置商品" + good + "白底图成功。"; WhiteBaseMap.whiteMapObjectList.Add(white); LogSave.Add(Name, "店铺" + Shop.ShopName + "后台上传商品" + good + "白底图成功。"); } //LogSave.Add(Name, "店铺" + Shop.ShopName + "后台上传商品" + good + "白底图成功。"); Thread.Sleep(2000); } page++; } isFinish = true; } private string HttpPostData(string url, int timeOut, string fileKeyName, string fileName, byte[] file, string sign, string referer) { string responseContent = ""; string cookie = Shop.Cookies; if (string.IsNullOrEmpty(cookie)) { return ""; } var memStream = new MemoryStream(); var webRequest = (HttpWebRequest)WebRequest.Create(url); // 边界符 var boundary = "----WebKitFormBoundary2yjyehYBjxWIyeiH"; // 边界符 var beginBoundary = Encoding.ASCII.GetBytes("--" + boundary + "\r\n"); // 边界符 var secondBoundary = Encoding.ASCII.GetBytes("\r\n--" + boundary + "\r\n"); // 最后的结束符 var endBoundary = Encoding.ASCII.GetBytes("--" + boundary + "--"); // 设置属性 webRequest.Method = "POST"; webRequest.KeepAlive = true; webRequest.ContentType = "multipart/form-data; boundary=" + boundary; webRequest.Referer = referer; webRequest.Accept = "*/*"; webRequest.UserAgent = BaseClass.ChromeUserAgent; webRequest.Headers.Add("Cookie", cookie); webRequest.Headers.Add("Origin", @"https://mms.pinduoduo.com"); webRequest.Headers.Add("Sec-Fetch-Site", @"same-site"); webRequest.Headers.Add("Sec-Fetch-Mode", @"cors"); webRequest.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br"); webRequest.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9"); webRequest.Headers.Set(HttpRequestHeader.Cookie, cookie); webRequest.ServicePoint.Expect100Continue = false; // string body = @"------WebKitFormBoundaryN0ix8G4iCKjoGTK4 //Content-Disposition: form-data; name=""upload_sign"" //42603fb77f343e88cb8b6423bfceb93e1b7e0974 //------WebKitFormBoundaryN0ix8G4iCKjoGTK4 //Content-Disposition: form-data; name=""image""; filename=""333333.png"" //Content-Type: image/png //C:\Users\Administrator\AppData\Local\Temp\1\kaluzf1x\333333.png //------WebKitFormBoundaryN0ix8G4iCKjoGTK4 //Content-Disposition: form-data; name=""pic_operations"" //{""rules"":[{""rule"":""imageMogr2/format/jpeg/quality/90|imageView2/2/w/2000/h/2000""}]} //------WebKitFormBoundaryN0ix8G4iCKjoGTK4-- //"; string first = "Content-Disposition: form-data; name=\"{0}\";\r\n\r\n" + sign + "\r\n"; var firstheader = string.Format(first, "upload_sign"); var firstheaderbytes = Encoding.UTF8.GetBytes(firstheader); string filePartHeader = "Content-Disposition: form-data; name=\"{0}\"; filename=\"{1}\"\r\n" + "Content-Type: image/jpeg\r\n\r\n"; var header = string.Format(filePartHeader, fileKeyName, fileName); //string temp = "--" + boundary+"\r\n"+ firstheader +"--" + boundary + "\r\n"+ header; var headerbytes = Encoding.UTF8.GetBytes(header); memStream.Write(beginBoundary, 0, beginBoundary.Length); memStream.Write(firstheaderbytes, 0, firstheaderbytes.Length); memStream.Write(beginBoundary, 0, beginBoundary.Length); memStream.Write(headerbytes, 0, headerbytes.Length); // 写入文件 memStream.Write(file, 0, file.Length); // 写入文件 string endPartHeader = "Content-Disposition: form-data; name=\"pic_operations\"\r\n\r\n"; var endheaderbytes = Encoding.UTF8.GetBytes(endPartHeader); memStream.Write(secondBoundary, 0, secondBoundary.Length); memStream.Write(endheaderbytes, 0, endheaderbytes.Length); var stringKeyHeader2 = "{\"rules\":[{\"rule\":\"imageMogr2/format/jpeg/quality/80|imageView2/2/w/2000/h/2000\"}]}\r\n"; byte[] formbytes = Encoding.UTF8.GetBytes(stringKeyHeader2); memStream.Write(formbytes, 0, formbytes.Length); // 写入最后的结束边界符 memStream.Write(endBoundary, 0, endBoundary.Length); webRequest.ContentLength = memStream.Length; using (Stream stream = webRequest.GetRequestStream()) { memStream.WriteTo(stream); } var httpWebResponse = (HttpWebResponse)webRequest.GetResponse(); if (httpWebResponse != null) { if (string.IsNullOrEmpty(responseContent)) responseContent = ReadResponsex(httpWebResponse); httpWebResponse.Close(); } return responseContent; } public void SetFalseWhiteBaseMap() { CheckDic.Clear(); string url = "https://mms.pinduoduo.com/giraffe/mms/material/queryList"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = "{\"page\":#page#,\"page_size\":50,\"check_status\":3,\"type\":1}"; string html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, data.Replace("#page#", "1"), Shop.Cookies); if (string.IsNullOrEmpty(html)) return; int allCount = BaseRegex.GetIntJson(ref html, "total"); int page = allCount / 50 + (allCount % 50 > 0 ? 1 : 0); for (int i = 0; i < page; i++) { while (isWait) { Thread.Sleep(3000); } if (isStop) { return; } if (i != 0) { html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data.Replace("#page#", (i + 1).ToString()), Shop.Cookies); if (string.IsNullOrEmpty(html) || !html.Contains("total")) { Thread.Sleep(10 * 1000); html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data.Replace("#page#", (i + 1).ToString()), Shop.Cookies); } } var m = BaseRegex.GetMatchRegex(ref html, @"\{[^}]+?\}"); for (int j = 0; m != null && j < m.Count; j++) { var item = m[j].Groups[0].Value; string goods_id = BaseRegex.GetStringJson(ref item, "goods_id"); CheckDic.Add(goods_id, 1); LogSave.Add(Name, "店铺" + Shop.ShopName + "获取驳回白底图商品" + goods_id); } Thread.Sleep(1000); } GetCheck(); } public void setShopWhiteBase(Dictionary items) { var goods = items.ToList(); //上传白底图成功后,到店铺后台对每个商品设置白底图 for (int i = 0; i < goods.Count; i++) { var good = goods[i].Key; //后台店铺 string url = "https://mms.pinduoduo.com/garner/mms/file/list"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = "{\"file_type_desc\":\"pic\",\"file_name\":\"" + good + "\",\"order_by\":\"create_time desc\",\"page\":1,\"page_size\":10,\"check_status_list\":[2]}"; string html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, Shop.Cookies); var mc = BaseRegex.GetMatchRegex(ref html, @"\{[^}]+?""extra_info"""); if (mc != null && mc.Count >= 1) { string imgUrl = BaseRegex.GetStringJson(ref html, "url"); long id = BaseRegex.GetLongJson(ref html, "id"); string urlx = "https://mms.pinduoduo.com/giraffe/mms/material/create"; string datax = "{\"content\":\"" + imgUrl + "\",\"goods_id\":" + good + ",\"type\":1,\"mall_file_id\":" + id + ",\"source\":4}"; html = Request_mms_pinduoduo_com(urlx, urlx, Shop.Cookies, datax, getAnti0aon());// GetPostTaobaoHtml.GetJsonPost(urlx, urlx, true, datax, Shop.Cookies); //datax = "{\"content\":\"" + imgUrl + "\",\"goods_id\":" + good + ",\"type\":3,\"mall_file_id\":" + id + ",\"source\":4}"; //string htmlx = Request_mms_pinduoduo_com(urlx, urlx, Shop.Cookies, datax, getAnti0aon()); if (html.Contains("操作太过频繁,请稍后再试!")) { Thread.Sleep(2000); html = Request_mms_pinduoduo_com(urlx, urlx, Shop.Cookies, datax, getAnti0aon()); } if (html.Contains("\"success\":true")) { if (!WhiteBaseMap.ShopCount.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopCount.Add(Shop.ShopName, 1); } else { WhiteBaseMap.ShopCount[Shop.ShopName] = WhiteBaseMap.ShopCount[Shop.ShopName] + 1; } WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.setWhiteCount = WhiteBaseMap.ShopCount[Shop.ShopName]; white.message = "设置商品" + good + "白底图成功。"; WhiteBaseMap.whiteMapObjectList.Add(white); LogSave.Add(Name, "店铺" + Shop.ShopName + "后台上传商品" + good + "白底图成功。"); } else { WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.message = "设置商品" + good + "白底图失败。"; WhiteBaseMap.whiteMapObjectList.Add(white); LogSave.Add(Name, "店铺" + Shop.ShopName + "后台上传商品" + good + "白底图失败。"); } Thread.Sleep(2000); } } Thread.Sleep(3000); for (int i = 0; i < goods.Count; i++) { string url = "https://mms.pinduoduo.com/giraffe/mms/material/queryList"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = "{\"page\":1,\"page_size\":9,\"goods_id\":" + goods[i].Key + ",\"check_status\":3,\"type\":1}"; string html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, data, Shop.Cookies); string check_comment = BaseRegex.GetStringJson(ref html, "check_comment"); if (!string.IsNullOrEmpty(check_comment)) { if (CheckDic.ContainsKey(goods[i].Key)) { CheckDic[goods[i].Key] = CheckDic[goods[i].Key] + 1; } else { CheckDic.Add(goods[i].Key, 1); } } } } public static string getAnti0aon() { string anti = ""; //using (IJsEngine jsEngine = new V8JsEngine()) //{ // jsEngine.Execute(GetProductOnlineClass.PinDuoDUo_0ao); // anti = jsEngine.CallFunction("get_anti", "").ToString(); // try // { anti = "0ao" + anti.Substring(3); } // catch { } //} return anti; } public static string Request_mms_pinduoduo_com(string url, string referer, string cookie, string data, string antiContent, IWebProxy proxy = null) { string responseText = ""; HttpWebResponse response = null; try { //HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://mms.pinduoduo.com/cps/api/coupon/createCommonCoupon"); HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.KeepAlive = true; request.Accept = "application/json"; //request.Headers.Add("Anti-Content", @"0aoAfxnUgOQoU9dVEHIuLKYezEfQ51QpOcKVg_S0aww9S8dseM_tTxYptgFssmH7wfRCpRvfISyXp-bZ8hcq7ux0Z1kvhFUkfIMk7EsEefUAZS7Jv1vYHm1Cplb4GZ43dSFtKu19dO7snIyL-VRj0JFy0ETKDkf1EdaPbWEu22sZ4s1duGD6WO9lgeS-oTsEwwa9ohcX2E_DG2PggPHqIuxcN_tIthAewaqklSPvPmFwzYxrlo256wd2i74SMvTzGTB--UkZ3gPl5t6K-6IVCz1MDD7WDS9HeoGm4RBmyd0LIpXG400lOfKBvPh-z09PL3_hjiL1KiBCENrs1ANosN35LJ8zhlCRi0YrDxphd8LGJFWDG0LrARGRuMW7d3d4IlWlEKFFMiucGGNlIZqDyExDIMny-8T-KY8fJ8BnNuzWyr"); request.Headers.Add("Anti-Content", antiContent); //request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36"; request.UserAgent = BaseClass.ChromeUserAgent; request.ContentType = "application/json;charset=UTF-8"; request.Headers.Add("Origin", @"https://mms.pinduoduo.com"); request.Headers.Add("Sec-Fetch-Site", @"same-origin"); request.Headers.Add("Sec-Fetch-Mode", @"cors"); request.Headers.Add("Sec-Fetch-Dest", @"empty"); request.Referer = referer; request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br"); request.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9"); request.Headers.Set(HttpRequestHeader.Cookie, cookie); if (proxy != null) request.Proxy = proxy; request.Method = "POST"; request.ServicePoint.Expect100Continue = false; string body = data; byte[] postBytes = System.Text.Encoding.UTF8.GetBytes(body); request.ContentLength = postBytes.Length; Stream stream = request.GetRequestStream(); stream.Write(postBytes, 0, postBytes.Length); stream.Close(); response = (HttpWebResponse)request.GetResponse(); } catch (WebException e) { if (e.Status == WebExceptionStatus.ProtocolError) response = (HttpWebResponse)e.Response; else responseText = "error," + e.Message; } catch (Exception ex) { responseText = "error," + ex.Message; } if (response != null) { if (string.IsNullOrEmpty(responseText)) responseText = ReadResponsex(response); response.Close(); } Thread.Sleep(50 + Randomx.GetId(100)); return responseText; } public static string Request_mms_pinduoduo_com(string url, string referer, string cookie, string data, string antiContent, string userAgent, IWebProxy proxy = null) { string responseText = ""; HttpWebResponse response = null; try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.KeepAlive = true; request.Accept = "application/json"; request.Headers.Add("Anti-Content", antiContent); request.UserAgent = userAgent; request.ContentType = "application/json;charset=UTF-8"; request.Headers.Add("Origin", @"https://mms.pinduoduo.com"); request.Headers.Add("Sec-Fetch-Site", @"same-origin"); request.Headers.Add("Sec-Fetch-Mode", @"cors"); request.Headers.Add("Sec-Fetch-Dest", @"empty"); request.Referer = referer; request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br"); request.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9"); request.Headers.Set(HttpRequestHeader.Cookie, cookie); if (proxy != null) request.Proxy = proxy; request.Method = "POST"; request.ServicePoint.Expect100Continue = false; byte[] postBytes = System.Text.Encoding.UTF8.GetBytes(data); request.ContentLength = postBytes.Length; Stream stream = request.GetRequestStream(); stream.Write(postBytes, 0, postBytes.Length); stream.Close(); response = (HttpWebResponse)request.GetResponse(); } catch (WebException e) { if (e.Status == WebExceptionStatus.ProtocolError) response = (HttpWebResponse)e.Response; else responseText = "error," + e.Message; } catch (Exception ex) { responseText = "error," + ex.Message; } if (response != null) { if (string.IsNullOrEmpty(responseText)) responseText = ReadResponsex(response); response.Close(); } Thread.Sleep(50 + Randomx.GetId(100)); return responseText; } /// /// 读取返回值 /// /// /// public static string ReadResponsex(HttpWebResponse response) { using (Stream responseStream = response.GetResponseStream()) { Stream streamToRead = responseStream; if (response.ContentEncoding.ToLower().Contains("gzip")) { streamToRead = new GZipStream(streamToRead, CompressionMode.Decompress); } else if (response.ContentEncoding.ToLower().Contains("deflate")) { streamToRead = new DeflateStream(streamToRead, CompressionMode.Decompress); } using (StreamReader streamReader = new StreamReader(streamToRead, Encoding.UTF8)) { return streamReader.ReadToEnd(); } } } public void setShopWhiteBase2(Dictionary items) { var goods = items.ToList(); //上传白底图成功后,到店铺后台对每个商品设置白底图 for (int i = 0; i < goods.Count; i++) { var good = goods[i].Key; //后台店铺 string url = "https://mms.pinduoduo.com/garner/mms/file/list"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = "{\"file_type_desc\":\"pic\",\"file_name\":\"" + good + "\",\"order_by\":\"create_time desc\",\"page\":1,\"page_size\":10,\"check_status_list\":[2]}"; string html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, Shop.Cookies); var mc = BaseRegex.GetMatchRegex(ref html, @"\{[^}]+?""extra_info"""); if (mc != null && mc.Count >= 1) { string imgUrl = BaseRegex.GetStringJson(ref html, "url"); long id = BaseRegex.GetLongJson(ref html, "id"); string urlx = "https://mms.pinduoduo.com/giraffe/mms/material/create"; string datax = "{\"content\":\"" + imgUrl + "\",\"goods_id\":" + good + ",\"type\":1,\"mall_file_id\":" + id + ",\"source\":4}"; html = GetPostTaobaoHtml.GetJsonPost(urlx, urlx, true, datax, Shop.Cookies); datax = "{\"content\":\"" + imgUrl + "\",\"goods_id\":" + good + ",\"type\":6,\"mall_file_id\":" + id + ",\"source\":4}"; string htmlx = GetPostTaobaoHtml.GetJsonPost(urlx, urlx, true, datax, Shop.Cookies); if (html.Contains("\"success\":true")) { if (!WhiteBaseMap.ShopCount.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopCount.Add(Shop.ShopName, 1); } else { WhiteBaseMap.ShopCount[Shop.ShopName] = WhiteBaseMap.ShopCount[Shop.ShopName] + 1; } WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.setWhiteCount = WhiteBaseMap.ShopCount[Shop.ShopName]; white.message = "设置商品" + good + "白底图成功。"; WhiteBaseMap.whiteMapObjectList.Add(white); LogSave.Add(Name, "店铺" + Shop.ShopName + "后台上传商品" + good + "白底图成功。"); } else { WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.message = "设置商品" + good + "白底图失败。"; WhiteBaseMap.whiteMapObjectList.Add(white); LogSave.Add(Name, "店铺" + Shop.ShopName + "后台上传商品" + good + "白底图失败。"); } Thread.Sleep(2000); } } Thread.Sleep(3000); for (int i = 0; i < goods.Count; i++) { string url = "https://mms.pinduoduo.com/giraffe/mms/material/queryList"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = "{\"page\":1,\"page_size\":9,\"goods_id\":" + goods[i].Key + ",\"check_status\":3,\"type\":1}"; string html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, data, Shop.Cookies); string check_comment = BaseRegex.GetStringJson(ref html, "check_comment"); if (!string.IsNullOrEmpty(check_comment)) { if (CheckDic.ContainsKey(goods[i].Key)) { CheckDic[goods[i].Key] = CheckDic[goods[i].Key] + 1; } else { CheckDic.Add(goods[i].Key, 1); } } } } public void UpdateWhiteBaseMapModel() { while (isWait) { Thread.Sleep(3000); } if (isStop) { return; } isFinish = false; var clist = CheckDic.ToList(); for (int i = 0; i < clist.Count; i++) { while (isWait) { Thread.Sleep(3000); } if (isStop) return; var good = clist[i].Key; if (string.IsNullOrEmpty(fixedImageUrlAndId)) { byte[] img; GetPostTaobaoHtml.DownLoadImage(upUrl, out img); string url = "https://mms.pinduoduo.com/galerie/business/get_signature"; string refere = "https://mms.pinduoduo.com/goods/goods_materials"; string data = "{\"bucket_tag\":\"mms-material-img\"}"; string html = GetPostTaobaoHtml.GetJsonPost(url, refere, true, data, Shop.Cookies);//"{\"bucket_tag\":\"pdd_goods\"}" {\"bucket_tag\":\"pdd_mms\"} if (html.Contains("非法请求")) { LogSave.Add(Name, "店铺" + Shop.ShopName + ",上传图片出现非法请求限制。"); WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.message = "上传图片出现非法请求限制。"; WhiteBaseMap.whiteMapObjectList.Add(white); return; } string sign = BaseRegex.GetStringJson(ref html, "signature"); url = "https://file.pinduoduo.com/v3/store_image"; refere = "https://mms.pinduoduo.com/goods/goods_materials"; try { string fileName = Randomx.GetId(100000) + ".jpg"; html = HttpPostData(url, 30000, "image", fileName, img, sign, refere); string imgUrl = BaseRegex.GetStringJson(ref html, "url"); if (imgUrl.Contains("null")) imgUrl = ""; bool falg = true; Again: string fmageUrl = Randomx.GetId(100000).ToString(); DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1)); long time = (long)(DateTime.Now - startTime).TotalMilliseconds; url = "https://mms.pinduoduo.com/garner/mms/file/create"; data = "{\"url\":\"" + imgUrl + "\",\"name\":\"" + fmageUrl + "\",\"extension\":\"jpeg\",\"create_time\":" + time + "}"; string code = GetAntiContent0ao_v2(); html = Request_mms_pinduoduo_com(url, refere, Shop.Cookies, data, code); url = "https://mms.pinduoduo.com/garner/mms/file/list"; data = "{\"order_by\":\"create_time desc\",\"page\":1,\"page_size\":10,\"file_name\":\"" + fmageUrl + "\",\"file_type_desc\":\"pic\",\"check_status_list\":[2]}"; html = Request_mms_pinduoduo_com(url, refere, Shop.Cookies, data, getAnti0aon()); fixedImageUrl = BaseRegex.GetStringJson(ref html, "url"); fixedId = BaseRegex.GetLongJson(ref html, "id"); if (string.IsNullOrEmpty(fixedImageUrl)) { Thread.Sleep(1000); html = Request_mms_pinduoduo_com(url, refere, Shop.Cookies, data, getAnti0aon()); fixedImageUrl = BaseRegex.GetStringJson(ref html, "url"); fixedId = BaseRegex.GetLongJson(ref html, "id"); } if (string.IsNullOrEmpty(fixedImageUrl) && falg) { Thread.Sleep(2000); falg = false; goto Again; } if (!WhiteBaseMap.ShopFixedImage.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopFixedImage.Add(Shop.ShopName, fixedImageUrl + "@" + fixedId); } else { WhiteBaseMap.ShopFixedImage[Shop.ShopName] = fixedImageUrl + "@" + fixedId; } fixedImageUrlAndId = WhiteBaseMap.ShopFixedImage[Shop.ShopName]; SaveWhiteFixedImage(); } catch { } } else { fixedId = long.Parse(fixedImageUrlAndId.Split('@')[1]); fixedImageUrl = fixedImageUrlAndId.Split('@')[0]; } string urlx = "https://mms.pinduoduo.com/giraffe/mms/material/create"; string datax = "{\"content\":\"" + fixedImageUrl + "\",\"goods_id\":" + good + ",\"type\":1,\"mall_file_id\":" + fixedId + ",\"source\":4}"; string htmlx = Request_mms_pinduoduo_com(urlx, urlx, Shop.Cookies, datax, getAnti0aon()); if (htmlx.Contains("图片已被图片空间删除")) { fixedImageUrlAndId = ""; } if (htmlx.Contains("\"success\":true")) { if (!WhiteBaseMap.ShopCount.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopCount.Add(Shop.ShopName, 1); } else { WhiteBaseMap.ShopCount[Shop.ShopName] = WhiteBaseMap.ShopCount[Shop.ShopName] + 1; } WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.setWhiteCount = WhiteBaseMap.ShopCount[Shop.ShopName]; white.message = "设置商品" + good + "白底图成功。"; WhiteBaseMap.whiteMapObjectList.Add(white); LogSave.Add(Name, "店铺" + Shop.ShopName + "后台上传商品" + good + "白底图成功。"); } Thread.Sleep(2000); } isFinish = true; } public void GetCheck() { if (WhiteBaseMap.cboSetModel == "固定白底图") { GetFixeImage(); UpdateWhiteBaseMapModel(); return; } Dictionary items = new Dictionary(); string pjtoken = ""; string cookies = ""; string api_uid = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "api_uid=([^;]+?);"); string _nano_fp = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "_nano_fp=([^;]+?);"); if (WhiteBaseMap.ShopToken.ContainsKey(Shop.ShopName)) { pjtoken = WhiteBaseMap.ShopToken[Shop.ShopName]; } else { GetWhiteBaseMap(); } for (int i = 1; i < 4; i++) { var clist = CheckDic.ToList(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; for (int j = 0; j < clist.Count; j++) { var good = clist[j]; string url = "https://aid.pinduoduo.com/api/banner-intelligent/image/list"; string refere = "https://aid.pinduoduo.com/tools/matting?origin=goods_material"; string data = "{\"keyword\":\"" + good.Key + "\",\"pageNum\":1,\"pageSize\":20}"; string html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN") || html.Contains("NO_TOKEN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN") || html.Contains("NO_TOKEN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); } } var m = BaseRegex.GetMatchRegex(ref html, @"""imageUrl"":""([\w\W]+?)"""); if (m != null && m.Count > 1) { int randx = good.Value; if (randx > m.Count - 1 || randx > 3) { continue; } if (randx != i) continue; var item = m[randx].Groups[1].Value; if (items.ContainsKey(good.Key)) continue; items.Add(good.Key, item); if (items.Count == 20)//网页默认抠图最大值20个,测试可以上传200个抠图,但上传到图片空间接口,会发生500错误。 { GetItems(items, cookies); if (isInvald) break; setShopWhiteBase2(items); items.Clear(); } } Thread.Sleep(200); } if (items.Count > 0) { GetItems(items, cookies); if (isInvald) return; setShopWhiteBase2(items); items.Clear(); } } } public Dictionary CheckDic = new Dictionary(); public static string codex = ""; public int codeCount = 0; /// /// 制作及上传白底图到图片空间 /// /// /// public void GetItems(Dictionary items, string cookies) { string api_uid = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "api_uid=([^;]+?);"); string _nano_fp = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "_nano_fp=([^;]+?);"); string refere = "https://aid.pinduoduo.com/tools/matting?origin=goods_material"; StringBuilder pids = new StringBuilder(); var itemlist = items.ToList(); for (int i = 0; i < itemlist.Count; i++) { pids.Append(",\"" + itemlist[i].Value + "\""); } if (string.IsNullOrEmpty(codex) || codeCount == 2) { codeCount++; code(); } string VerifyAuthToken = ""; if (!string.IsNullOrEmpty(Shop.pjtToken)) VerifyAuthToken = BaseRegex.GetMatchRegexString(ref Shop.pjtToken, "VerifyAuthToken=([^;]+?);"); //白底图制作抠图 string url = "https://aid.pinduoduo.com/api/banner-intelligent/matting/batch"; string data = "[" + pids.ToString(1, pids.Length - 1) + "]"; string html = ""; if (!string.IsNullOrEmpty(VerifyAuthToken)) html = GetPostTaobaoHtml.UploadTaobaoPostWhite(url, refere, true, data, cookies + ";VerifyAuthToken=" + VerifyAuthToken, codex, VerifyAuthToken);//GetPostTaobaoHtml.GetJsonPost(url, url, true, data, Shop.Cookies); else html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies, codex);//GetPostTaobaoHtml.GetJsonPost(url, url, true, data, Shop.Cookies); if (html.Contains("UNVALID") || html.Contains("SIGN")) { string pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies, codex); } if (html.Contains("请滑动验证码进行验证!")) { isInvald = true; WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.message = "出现滑动验证码,请手动点击店铺列跳转,到店铺后台处理。"; WhiteBaseMap.whiteMapObjectList.Add(white); return; } if (html.Contains("INVALID_REQUEST")) { codeCount = 1; code(); html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies, codex); } if (html.Contains("INVALID_REQUEST")) { items.Clear(); isInvald = true; LogSave.Add(Name, "店铺" + Shop.ShopName + "今日制作白底图已达到上限,请明日重试"); WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.message = "店铺今日制作白底图已达到上限,请明日重试。"; WhiteBaseMap.whiteMapObjectList.Add(white); return; } string temp = ""; var m = BaseRegex.GetMatchRegex(ref html, @"\{[^}]+?\}"); for (int i = 0; i < m.Count; i++) { string list = m[i].Groups[0].Value; string oldUrl = BaseRegex.GetStringJson(ref list, "originUrl"); string image = BaseRegex.GetStringJson(ref list, "url"); for (int j = 0; j < itemlist.Count; j++) { if (itemlist[j].Value == oldUrl) { temp += ",{\"imageUrl\":\"" + image + "\",\"goodsId\":\"" + itemlist[j].Key + "\"}"; } } } long requestAt = GetUnixSecondTimeStamp(DateTime.Now) + BaseClass.TimeDifferent; url = "https://aid.pinduoduo.com/api/banner-intelligent/log/tracker"; data = "{\"platform\":\"aid\",\"requestAt\":" + requestAt + ",\"requestTab\":\"14_mms-白底图制作\",\"requestOperation\":\"click\",\"requestUser\":" + Shop.MallId + ",\"requestParams\":" + m.Count + ",\"memo\":\"生成\"}"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); Thread.Sleep(3 * 1000); LogSave.Add(Name, "店铺" + Shop.ShopName + "正在上传白底图,请等待"); url = "https://aid.pinduoduo.com/api/banner-intelligent/matting/save"; data = "{\"images\":[" + temp.Substring(1, temp.Length - 1) + "],\"white\":true}"; //html = GetPostTaobaoHtml.UploadTaobaoPostWhite(url, refere, true, data, cookies + ";VerifyAuthToken=" + VerifyAuthToken, codex, VerifyAuthToken); html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN")) { string pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); } if (html.Contains("\"success\":true,")) { LogSave.Add(Name, "店铺" + Shop.ShopName + "上传白底图成功"); } else { Thread.Sleep(5000); html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); } requestAt = GetUnixSecondTimeStamp(DateTime.Now) + BaseClass.TimeDifferent; url = "https://aid.pinduoduo.com/api/banner-intelligent/log/tracker"; data = "{\"platform\":\"aid\",\"requestAt\":" + requestAt + ",\"requestTab\":\"14_mms-白底图制作_白底图\",\"requestOperation\":\"click\",\"requestUser\":" + Shop.MallId + ",\"requestParams\":" + m.Count + ",\"memo\":\"提交\"}"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); Thread.Sleep(6 * 1000); } public void SetWhiteBaseMap2() { while (isWait) { Thread.Sleep(3000); } if (isStop) { return; } string pjtoken = ""; string cookies = ""; string api_uid = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "api_uid=([^;]+?);"); string _nano_fp = BaseRegex.GetMatchRegexString(ref Shop.Cookies, "_nano_fp=([^;]+?);"); if (WhiteBaseMap.ShopToken.ContainsKey(Shop.ShopName)) { pjtoken = WhiteBaseMap.ShopToken[Shop.ShopName]; } else { GetWhiteBaseMap(); } goodsList.Clear(); GetWhiteBaseMapGoods(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; for (int i = 0; i < goodsList.Count; i++) { while (isWait) { Thread.Sleep(3000); } if (isStop) { return; } var good = goodsList[i]; string url = "https://aid.pinduoduo.com/api/banner-intelligent/image/list"; string refere = "https://aid.pinduoduo.com/tools/matting?origin=goods_material"; string data = "{\"keyword\":\"" + good + "\",\"pageNum\":1,\"pageSize\":20}"; string html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); } } var m = BaseRegex.GetMatchRegex(ref html, @"""imageUrl"":""([\w\W]+?)"""); if (m != null && m.Count > 1) { int randx = new Random(Guid.NewGuid().GetHashCode()).Next(0, m.Count - 1); var item = m[randx].Groups[1].Value; url = "https://aid.pinduoduo.com/api/banner-intelligent/matting/batch"; data = "[\"" + item + "\"]"; html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies, UploadPinduoduoMain.AntiContent);//GetPostTaobaoHtml.GetJsonPost(url, url, true, data, Shop.Cookies); if (html.Contains("UNVALID") || html.Contains("SIGN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.UploadTaobaoPost(url, refere, true, data, cookies, UploadPinduoduoMain.AntiContent); } if (html.Contains("INVALID_REQUEST")) { } string imageUrl = BaseRegex.GetStringJson(ref html, "url"); url = "https://aid.pinduoduo.com/api/banner-intelligent/matting/save"; data = "{\"images\":[{\"imageUrl\":\"" + imageUrl + "\",\"goodsId\":\"" + good + "\"}],\"white\":true}"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); if (html.Contains("UNVALID") || html.Contains("SIGN")) { pjtoken = GetWhiteBaseMap(); cookies = "ptj_token=" + pjtoken + ";api_uid=" + api_uid + ";_nano_fp=" + _nano_fp + ";"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, cookies); } //后台店铺 url = "https://mms.pinduoduo.com/garner/mms/file/list"; refere = "https://mms.pinduoduo.com/goods/goods_materials"; data = "{\"file_type_desc\":\"pic\",\"file_name\":\"" + good + "\",\"order_by\":\"create_time desc\",\"page\":1,\"page_size\":10,\"check_status_list\":[2]}"; html = GetPostTaobaoHtml.GetJsonPost(url, url, true, data, Shop.Cookies); var mc = BaseRegex.GetMatchRegex(ref html, @"\{[^}]+?""extra_info"""); if (mc != null && mc.Count >= 1) { string imgUrl = BaseRegex.GetStringJson(ref html, "url"); long id = BaseRegex.GetLongJson(ref html, "id"); string urlx = "https://mms.pinduoduo.com/giraffe/mms/material/create"; string datax = "{\"content\":\"" + imgUrl + "\",\"goods_id\":" + good + ",\"type\":1,\"mall_file_id\":" + id + ",\"source\":4}"; html = GetPostTaobaoHtml.GetJsonPost(urlx, urlx, true, datax, Shop.Cookies); datax = "{\"content\":\"" + imgUrl + "\",\"goods_id\":" + good + ",\"type\":6,\"mall_file_id\":" + id + ",\"source\":4}"; string htmlx = GetPostTaobaoHtml.GetJsonPost(urlx, urlx, true, datax, Shop.Cookies); if (html.Contains("\"success\":true")) { if (!WhiteBaseMap.ShopCount.ContainsKey(Shop.ShopName)) { WhiteBaseMap.ShopCount.Add(Shop.ShopName, 1); } else { WhiteBaseMap.ShopCount[Shop.ShopName] = WhiteBaseMap.ShopCount[Shop.ShopName] + 1; } WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.setWhiteCount = WhiteBaseMap.ShopCount[Shop.ShopName]; white.message = "设置白底图成功。"; WhiteBaseMap.whiteMapObjectList.Add(white); } else { WhiteMapObject white = new WhiteMapObject(); white.shopName = Shop.ShopName; white.message = "设置白底图失败。"; WhiteBaseMap.whiteMapObjectList.Add(white); } Thread.Sleep(2000); } } } } private static string ReadResponse(HttpWebResponse response) { using (Stream responseStream = response.GetResponseStream()) { Stream streamToRead = responseStream; if (response.ContentEncoding.ToLower().Contains("gzip")) { streamToRead = new GZipStream(streamToRead, CompressionMode.Decompress); } else if (response.ContentEncoding.ToLower().Contains("deflate")) { streamToRead = new DeflateStream(streamToRead, CompressionMode.Decompress); } using (StreamReader streamReader = new StreamReader(streamToRead, Encoding.UTF8)) { return streamReader.ReadToEnd(); } } } private bool Request_aid_pinduoduo_com(out HttpWebResponse response, string body, string cookies) { response = null; try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://aid.pinduoduo.com/api/banner-intelligent/matting/batch"); //Set request headers. request.KeepAlive = true; request.Headers.Add("Origin", @"https://aid.pinduoduo.com"); request.Headers.Add("anti-content", UploadPinduoduoMain.AntiContent); request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"; request.ContentType = "application/json"; request.Accept = "*/*"; request.Referer = "https://aid.pinduoduo.com/tools/matting?origin=goods_material"; request.Headers.Set(HttpRequestHeader.AcceptEncoding, "gzip, deflate, br"); request.Headers.Set(HttpRequestHeader.AcceptLanguage, "zh-CN,zh;q=0.9"); request.Headers.Set(HttpRequestHeader.Cookie, cookies); request.Method = "POST"; request.ServicePoint.Expect100Continue = false; //request.ContinueTimeout = 5000; byte[] postBytes = System.Text.Encoding.UTF8.GetBytes(body); request.ContentLength = postBytes.Length; Stream stream = request.GetRequestStream(); stream.Write(postBytes, 0, postBytes.Length); stream.Close(); response = (HttpWebResponse)request.GetResponse(); } catch (WebException e) { if (e.Status == WebExceptionStatus.ProtocolError) response = (HttpWebResponse)e.Response; else return false; } catch (Exception ex) { if (response != null) response.Close(); return false; } return true; } public static int GetUnixSecondTimeStamp(DateTime dt) { DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1)); return (int)(dt - startTime).TotalSeconds; } public static string GetAntiContent0ao_v2(string sUserAgent = "") { string sAntiContent = string.Empty; //using (V8JsEngine v8JsEngine = new V8JsEngine()) //{ // v8JsEngine.Execute(PinDuoDuo_0aoNew); // sAntiContent = (string)v8JsEngine.CallFunction("getAntiContent", sUserAgent); //} return sAntiContent; } #region 定义 public static string PinDuoDuo_0aoNew = @"(function () { /*说明在之前已经定义了*/ if (this.document) return; var fun = function () { return window.canvas; }, url = ""https://www.baidu.com""; //这边可以改成自己的网址 window = self = this; /*定义部分window常量*/ window.screen = { availHeight: 693, availLeft: 0, availTop: 0, availWidth: 1291, colorDepth: 24, height: 727, orientation: { angle: 0, type: ""landscape-primary"", onchange: null, angle: fun, lock: fun, onchange: fun, type: fun, unlock: fun }, pixelDepth: 24, width: 1291 }; window.navigator = { appCodeName: ""Mozilla"", appName: ""Netscape"", appVersion: ""5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"", bluetooth: {}, clipboard: {}, connection: { onchange: null, effectiveType: ""4g"", rtt: 100, downlink: 10, saveData: false, addEventListener: fun, dispatchEvent: fun, removeEventListener: fun }, cookieEnabled: true, credentials: {}, deviceMemory: 8, doNotTrack: null, geolocation: {}, hardwareConcurrency: 12, keyboard: {}, language: ""en-US"", languages: [""en-US"", ""en"", ""zh"", ""zh-CN""], locks: {}, maxTouchPoints: 0, mediaCapabilities: {}, mediaDevices: { ondevicechange: null }, mediaSession: { metadata: null, playbackState: ""none"" }, mimeTypes: {}, onLine: true, permissions: {}, platform: ""Win32"", plugins: [{}, {}, {}], presentation: { receiver: null, defaultRequest: null }, product: ""Gecko"", productSub: ""20030107"", serviceWorker: { ready: {}, controller: null, oncontrollerchange: null, onmessage: null }, storage: {}, usb: { onconnect: null, ondisconnect: null }, userActivation: { hasBeenActive: true, isActive: true }, userAgent: ""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"", vendor: ""Google Inc."", vendorSub: """", webkitPersistentStorage: {}, webkitTemporaryStorage: {}, ancestorOrigins: [], bluetooth: fun, clipboard: fun, connection: fun, cookieEnabled: fun, credentials: fun, deviceMemory: fun, doNotTrack: fun, geolocation: fun, getBattery: fun, getGamepads: fun, getUserMedia: fun, hardwareConcurrency: fun, javaEnabled: fun, keyboard: fun, locks: fun, maxTouchPoints: fun, mediaCapabilities: fun, mediaDevices: fun, mediaSession: fun, mimeTypes: fun, onLine: fun, permissions: fun, presentation: fun, registerProtocolHandler: fun, requestMIDIAccess: fun, requestMediaKeySystemAccess: fun, sendBeacon: fun, serviceWorker: fun, storage: fun, unregisterProtocolHandler: fun, usb: fun, userActivation: fun, vibrate: fun, webkitGetUserMedia: fun, webkitPersistentStorage: fun, webkitTemporaryStorage: fun }; window.style = {}; window.screenLeft = 0; window.screenTop = 0; window.outerWidth = 1549; window.outerHeight = 831; window.innerWidth = 1550; window.innerHeight = 729; /*定义部分document常量*/ (function () { var i; for (i = 0; i < 2; i++) window.document = { createElement: function (e) { return window.canvas }, addEventListener: function () { log(""[addEventListener]被调用"") }, removeEventListener: function () { log(""[removeEventListener]被调用"") }, append: function () { log(""[append]被调用"") }, appendChild: function () { log(""[appendChild]被调用"") }, removeChild: function () { log(""[removeChild]被调用"") }, replaceChild: function () { }, getElementById: function () { }, getElementsByClassName: function () { }, getElementsByName: function () { }, getElementsByTagName: function () { }, getElementsByTagNameNS: function () { }, dispatchEvent: function () { }, getRootNode: function () { return window.document }, body: window.document, hidden: false, fonts: { onloading: null, onloadingdone: null, onloadingerror: null }, head: {}, URL: url, alinkColor: """", all: new Array(17), anchors: [], applets: [], baseURI: url, bgColor: """", characterSet: ""GBK"", charset: ""GBK"", childElementCount: 1, childNodes: [ [], [] ], children: [], compatMode: ""CSS1Compat"", contentType: ""text/html"", cookie: """", designMode: ""off"", dir: """", documentURI: url, domain: """", documentElement: { clientHeight: 952, clientWidth: 1937, getAttribute: function () { return null } }, referrer: url }; })(); window.addEventListener = document.addEventListener; window.removeEventListener = document.removeEventListener; window.location = { ancestorOrigins: { length: 0, contains: fun, item: fun }, assign: fun, hash: """", host: url, hostname: url, href: url, origin: url, pathname: url, port: """", protocol: ""https:"", reload: fun, replace: fun, search: url, toString: fun } /*使对象无法被修改*/ Object.defineProperty && Object.defineProperty(this, ""document"", { value: this.document, writable: false }); Object.defineProperty && Object.defineProperty(window, ""navigator"", { value: window.navigator, writable: false }); /*定义canvas元素对象*/ try { window.canvas = { accessKey: """", assignedSlot: null, attributeStyleMap: { size: 0, append: fun, clear: fun, 'delete': fun, 'set': fun }, attributes: { length: 0 }, autocapitalize: """", baseURI: location.href, childElementCount: 0, childNodes: [], children: [], classList: [], className: """", clientHeight: 0, clientLeft: 0, clientTop: 0, clientWidth: 0, contentEditable: ""inherit"", dataset: {}, dir: """", draggable: false, elementTiming: """", enterKeyHint: """", firstChild: null, firstElementChild: null, height: 150, hidden: false, id: """", innerHTML: """", innerText: """", inputMode: """", isConnected: false, isContentEditable: false, lang: """", lastChild: null, lastElementChild: null, localName: ""canvas"", namespaceURI: ""http://www.w3.org/1999/xhtml"", nextElementSibling: null, nextSibling: null, nodeName: ""CANVAS"", nodeType: 1, nodeValue: null, nonce: """", offsetHeight: 0, offsetLeft: 0, offsetParent: null, offsetTop: 0, offsetWidth: 0, onabort: null, onauxclick: null, onbeforecopy: null, onbeforecut: null, onbeforepaste: null, onblur: null, oncancel: null, oncanplay: null, oncanplaythrough: null, onchange: null, onclick: null, onclose: null, oncontextmenu: null, oncopy: null, oncuechange: null, oncut: null, ondblclick: null, ondrag: null, ondragend: null, ondragenter: null, ondragleave: null, ondragover: null, ondragstart: null, ondrop: null, ondurationchange: null, onemptied: null, onended: null, onerror: null, onfocus: null, onformdata: null, onfullscreenchange: null, onfullscreenerror: null, ongotpointercapture: null, oninput: null, oninvalid: null, onkeydown: null, onkeypress: null, onkeyup: null, onload: null, onloadeddata: null, onloadedmetadata: null, onloadstart: null, onlostpointercapture: null, onmousedown: null, onmouseenter: null, onmouseleave: null, onmousemove: null, onmouseout: null, onmouseover: null, onmouseup: null, onmousewheel: null, onpaste: null, onpause: null, onplay: null, onplaying: null, onpointercancel: null, onpointerdown: null, onpointerenter: null, onpointerleave: null, onpointermove: null, onpointerout: null, onpointerover: null, onpointerrawupdate: null, onpointerup: null, onprogress: null, onratechange: null, onreset: null, onresize: null, onscroll: null, onsearch: null, onseeked: null, onseeking: null, onselect: null, onselectionchange: null, onselectstart: null, onstalled: null, onsubmit: null, onsuspend: null, ontimeupdate: null, ontoggle: null, onvolumechange: null, onwaiting: null, onwebkitfullscreenchange: null, onwebkitfullscreenerror: null, onwheel: null, outerHTML: """", outerText: """", ownerDocument: document, parentElement: null, parentNode: null, part: [], prefix: null, previousElementSibling: null, previousSibling: null, scrollHeight: 0, scrollLeft: 0, scrollTop: 0, scrollWidth: 0, shadowRoot: null, slot: """", spellcheck: true, alignContent: """", alignItems: """", alignSelf: """", alignmentBaseline: """", all: """", tabIndex: -1, tagName: ""CANVAS"", textContent: """", title: """", translate: true, width: 300, getContext: function () { fun(); return { canvas: canvas, direction: ""ltr"", fillStyle: ""#000000"", filter: ""none"", font: ""10px sans-serif"", globalAlpha: 1, globalCompositeOperation: ""source-over"", imageSmoothingEnabled: true, imageSmoothingQuality: ""low"", lineCap: ""butt"", lineDashOffset: 0, lineJoin: ""miter"", lineWidth: 1, miterLimit: 10, shadowBlur: 0, shadowColor: ""rgba(0, 0, 0, 0)"", shadowOffsetX: 0, shadowOffsetY: 0, strokeStyle: ""#000000"", textAlign: ""start"", textBaseline: ""alphabetic"", arc: fun, arcTo: fun, beginPath: fun, bezierCurveTo: fun, clearRect: fun, clip: fun, closePath: fun, createImageData: fun, createLinearGradient: fun, createPattern: fun, createRadialGradient: fun, drawFocusIfNeeded: fun, drawImage: fun, ellipse: fun, fill: fun, fillRect: fun, fillText: fun, getContextAttributes: fun, getImageData: fun, getLineDash: fun, getTransform: fun, isPointInPath: fun, isPointInStroke: fun, lineTo: fun, measureText: fun, moveTo: fun, putImageData: fun, quadraticCurveTo: fun, rect: fun, resetTransform: fun, restore: fun, rotate: fun, save: fun, scale: fun, setLineDash: fun, setTransform: fun, stroke: fun, strokeRect: fun, strokeText: fun, transform: fun, translate: fun, toBlob: fun, toDataURL: function () { debugger; /*根据需要返回*/ return ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAEYklEQVR4Xu3UAQkAAAwCwdm/9HI83BLIOdw5AgQIRAQWySkmAQIEzmB5AgIEMgIGK1OVoAQIGCw/QIBARsBgZaoSlAABg"" }, transferControlToOffscreen: function () { return { height: 150, width: 300, convertToBlob: fun, getContext: canvas.getContext, transferToImageBitmap: fun } } } } }; } catch (e) { log(""[canvas]创建类canvas出现了点问题 "" + e); } /*定义localStorage sessionStorage函数*/ ; (function () { var cache = {}; function e() { this.length = 0 } e.prototype = { clear: function () { cache = {}; }, getItem: function (e) { return cache[e] }, key: function (e) { var o = 0; for (var i in cache) { if (o++ == e) return i } return undefined }, removeItem: function (e) { delete cache[e] }, setItem: function (e, t) { cache[e] = t } } Object.prototype.__defineGetter__ && e.prototype.__defineGetter__(""length"", function () { var o = 0; for (var i in cache) o++; return o }); this.localStorage = this.localStorage || new e; this.sessionStorage = this.sessionStorage || new e })(); function log() { this.console && this.console.log && console.log.apply(this, arguments); } })(); this.setTimeout || (this.setTimeout = this.setInterval = function (fun) { if (this.Promise) { /*有Promise对象 那么可以实现异步*/ new Promise(function (r) { r(fun) }).then(function (fun) { fun(); }) } else { /*只能同步执行了*/ fun() } }, this.setImmediate = this.clearTimeout = this.clearImmediate = this.clearInterval = function () { }); ! function(e) { function t(t) { for (var n, o, u = t[0], i = t[1], f = t[2], l = 0, s = []; l < u.length; l++) o = u[l], a[o] && s.push(a[o][0]), a[o] = 0; for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]); for (d && d(t); s.length;) s.shift()(); return c.push.apply(c, f || []), r() } function r() { for (var e, t = 0; t < c.length; t++) { for (var r = c[t], n = !0, o = 1; o < r.length; o++) { var i = r[o]; 0 !== a[i] && (n = !1) } n && (c.splice(t--, 1), e = u(u.s = r[0])) } return e } var n = {}, o = { 1: 0 }, a = { 1: 0 }, c = []; function u(t) { if (n[t]) return n[t].exports; var r = n[t] = { i: t, l: !1, exports: {} }; return e[t].call(r.exports, r, r.exports, u), r.l = !0, r.exports } __webpack_require__ = u; u.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, u.p = ""https://static.yangkeduo.com/"", u.oe = function(e) { throw console.error(e), e }; var i = window.webpackJsonpForReact = window.webpackJsonpForReact || [], f = i.push.bind(i); i.push = t, i = i.slice(); for (var l = 0; l < i.length; l++) t(i[l]); var d = f; r() }([]);; (window.webpackJsonpForReact = window.webpackJsonpForReact || []).push([ [0], { ""+8Fq"": function(e, t, n) { ""use strict""; var r = n(""kk8N""), a = n(""xnWZ""), i = n(""jo6Y""), o = n.n(i), s = n(""QbLZ""), c = n.n(s), u = n(""iCc5""), l = n.n(u), p = n(""FYw3""), d = n.n(p), h = n(""mRg0""), f = n.n(h), m = n(""q1tI""), g = n.n(m), v = n(""i8i4""), _ = n.n(v), b = n(""TSYQ""), y = n.n(b), w = n(""weMy""), S = function(e) { function t() { var n, r, a; l()(this, t); for (var i = arguments.length, o = Array(i), s = 0; s < i; s++) o[s] = arguments[s]; return n = r = d()(this, e.call.apply(e, [this].concat(o))), r.close = function() { r.clearCloseTimer(), r.props.onClose && r.props.onClose() }, r.startCloseTimer = function() { r.props.duration && (r.closeTimer = setTimeout(function() { r.close() }, 1e3 * r.props.duration)) }, r.clearCloseTimer = function() { r.closeTimer && (clearTimeout(r.closeTimer), r.closeTimer = null) }, a = n, d()(r, a) } return f()(t, e), t.prototype.componentDidMount = function() { this.startCloseTimer() }, t.prototype.componentDidUpdate = function(e) { this.props.duration !== e.duration && this.restartCloseTimer() }, t.prototype.componentWillUnmount = function() { this.clearCloseTimer() }, t.prototype.restartCloseTimer = function() { this.clearCloseTimer(), this.startCloseTimer() }, t.prototype.render = function() { var e = this.props, t = e.msg, n = e.iconType, r = (e.prefixCls, e.containerClass), a = e.textClass, i = e.html, o = y()(r, ""content"", { ""content-icon"": n }), s = y()(a, { ""content-info"": n, ""content-info-text"": !n }); return g.a.createElement(""div"", { className: ""wrap"" }, g.a.createElement(""div"", { className: o }, n && g.a.createElement(w.a, { type: n, className: ""toast-icon"" }), i ? g.a.createElement(""div"", { className: s, dangerouslySetInnerHTML: { __html: t } }) : g.a.createElement(""div"", { className: s }, t))) }, t }(m.Component), C = 0, A = Date.now(); var I = function(e) { function t(n) { l()(this, t); var r = d()(this, e.call(this, n)); return r.add = function(e) { var t = e.key = e.key || ""pdd_toast_"" + A + ""_"" + C++; r.setState(function(n) { var r = n.notices, a = r.map(function(e) { return e.key }).indexOf(t), i = void 0; return -1 === a ? i = r.concat(e) : (i = r.concat()).splice(a, 1, e), { notices: i } }) }, r.remove = function(e) { r.setState(function(t) { return { notices: t.notices.filter(function(t) { return t.key !== e }) } }) }, r.state = { notices: [] }, r } return f()(t, e), t.prototype.render = function() { var e, t = this, n = this.props, r = this, a = this.state.notices.map(function(e) { var a = r.createChainedFunction(t.remove.bind(t, e.key), e.onClose); return g.a.createElement(S, c()({ prefixCls: n.prefixCls }, e, { onClose: a }), e.msg) }), i = y()(((e = {})[n.prefixCls] = 1, e[n.className] = !!n.className, e)); return g.a.createElement(""div"", { className: i, style: n.style }, a) }, t.prototype.createChainedFunction = function() { var e = [].slice.call(arguments, 0); return 1 === e.length ? e[0] : function() { for (var t = 0; t < e.length; t++) e[t] && e[t].apply && e[t].apply(this, arguments) } }, t }(m.Component); I.newInstance = function(e, t) { var n = e || {}, r = o()(n, []), a = document.createElement(""div""); document.body.appendChild(a); var i = !1; _.a.render(g.a.createElement(I, c()({}, r, { ref: function(e) { i || (i = !0, t({ notice: function(t) { e.add(t) }, removeNotice: function(t) { e.remove(t) }, component: e, destroy: function() { _.a.unmountComponentAtNode(a), a.parentNode.removeChild(a) } })) } })), a) }; var k = I, E = (n(""8V/m""), void 0), T = ""dui-toast""; function N(e, t) { if (!e) return !1; var n = t.iconType, r = t.duration, a = void 0 === r ? 2 : r, i = t.onClose, o = t.mask, s = void 0 !== o && o, c = t.containerClass, u = void 0 === c ? """" : c, l = t.textClass, p = void 0 === l ? """" : l, d = t.html, h = void 0 !== d && d; ! function(e, t) { E && (E.destroy(), E = null); var n = e ? ""mask"" : ""nomask""; k.newInstance({ prefixCls: T, style: {}, className: n }, function(e) { t && t(e) }) }(s, function(t) { E = t, t.notice({ duration: a, msg: e, iconType: n, containerClass: u, textClass: p, html: h, onClose: function() { i && i(), t.destroy(), t = null, E = null } }) }) } var x = {}; x = { info: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; if (!a.b.isCallNativeNotification()) return N(e, t); r.a.callNative(""JSAlert"", ""toast"", { message: e }, function() { setTimeout(function() { t.onClose && t.onClose() }, 2e3) }, function() { return N(e, t) }) }, success: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return t.iconType = ""icon-success"", N(e, t) }, fail: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return t.iconType = ""icon-icon_refresh_failed"", N(e, t) }, show: function(e) { return N(e, arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}) }, html: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return t.html = !0, N(e, t) }, hide: function() { E && (E.destroy(), E = null) } }; t.a = x }, ""+aNZ"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return c }), n.d(t, ""b"", function() { return u }); var r = n(""cDf5""), a = n.n(r), i = n(""F19C""), o = n(""uSI5""); function s(e) { Object(i.a)(!!e, ""nullJson""), Object(i.a)(""string"" == typeof e.salt && e.salt.startsWith(""cp""), ""abFormatInvalidSalt""), Object(i.a)(""number"" == typeof e.bucketCount, ""abFormatInvalidBucketCount""), Object(i.a)(!!e.models && ""object"" === a()(e.models), ""abFormatInvalidModels"") } var c = { Default: function(e) { return e }, ABTest: { normal: function(e, t) { var n = (t = t || {}).identity ? t.identity.uid : 0, r = null; try { r = ""string"" == typeof e ? JSON.parse(e) : e } catch (e) { throw new Error(""invalidJsonFormat1"") } return s(r), o.a.getTestStrategy(r, n, !1) }, fallback: function(e) { var t = null; if (""string"" == typeof e) try { t = JSON.parse(e) } catch (e) { throw new Error(""invalidJsonFormat2"") } else t = e; return s(t), Object.keys(t.models).forEach(function(e) { t.models[e] = { blackList: [], whiteList: [], buckets: t.models[e].buckets } }), t } } }; function u(e) { var t = e.leoKey, n = e.formatter, r = e.csrFallback, o = c.Default; if (""object"" === a()(n) && n) { var s = ""function"" == typeof n.normal, u = ""function"" == typeof n.fallback; Object(i.a)(s && u, ""[leoKey="".concat(t, ""'] both normal and fallback methods needed"")), o = r ? n.fallback : n.normal } else ""function"" == typeof n && (o = n); return o } }, ""+zrp"": function(e, t, n) { ""use strict""; var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = n(""b5fu""), g = function(e) { function t(e) { var n; return a()(this, t), (n = c()(this, l()(t).call(this, e))).checkboxSelected = !1, n.state = { display: ""none"" }, n } return d()(t, e), o()(t, [{ key: ""clickConfirm"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()), this.props.notHide || this.setState({ display: ""none"" }), this.ui.enableScroll(), m.a.call(this.props.confirmCallback, this.state.checkboxSelected) } }, { key: ""clickCancel"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()), this.props.notHide || this.setState({ display: ""none"" }), this.ui.enableScroll(), m.a.call(this.props.cancelCallback, this.state.checkboxSelected) } }, { key: ""closeDialog"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()), this.props.notHide || this.setState({ display: ""none"" }), this.ui.enableScroll() } }, { key: ""clickHide"", value: function(e, t) { t && (t.stopPropagation(), t.preventDefault()), ""bg"" === e && this.props.clickBgDisabled || (this.setState({ display: ""none"" }), this.ui.enableScroll(), m.a.call(this.props.hideCallback, this.state.checkboxSelected)) } }, { key: ""clickCheckbox"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()); var t = this.state.checkboxSelected; this.setState({ checkboxSelected: !t }) } }, { key: ""componentDidMount"", value: function() { this.setState({ display: """" }), this.ui = n(""u/J7""), this.ui.disableScroll() } }, { key: ""render"", value: function() { return f.a.createElement(""div"", null) } }, { key: ""show"", value: function() { this.setState({ display: ""none"" }), this.ui.enableScroll() } }]), t }(f.a.Component); t.a = g }, ""/O6k"": function(e, t, n) { ""use strict""; var r = n(""n2/S""), a = n(""b5fu""), i = n(""ouH+""), o = n(""ii9O""); t.a = { apiRequest: function(e, t, n, s, c, u, l, p, d, h) { var f = arguments.length > 10 && void 0 !== arguments[10] ? arguments[10] : {}; a.a.call(r.a.apiRequest, e, t, n, s, c, u, l, p, d, h, f), document.eventList || (document.eventList = {}), document.eventList.FORCE_LOGIN || (document.eventList.FORCE_LOGIN = !0, document.addEventListener(""FORCE_LOGIN"", function(e) { i.a.login(null, null, null, function() { o.a.back() }) })), document.eventList.RISK_CONTROL || (document.eventList.RISK_CONTROL = !0, document.addEventListener(""RISK_CONTROL"", function(e) { var t = (e.detail || {}).verifyAuthToken || 0; o.a.forward(""psnl_verification.html?VerifyAuthToken="" + t) })) } } }, ""/vAr"": function(e, t, n) { var r = n(""204Y""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, ""003K"": function(e, t, n) { ""use strict""; var r = n(""MVZn""), a = n.n(r), i = n(""lwsE""), o = n.n(i), s = n(""W8MJ""), c = n.n(s), u = n(""hCBO""), l = n(""Fcpp""), p = n(""mj+i""), d = n(""0P1e""), h = [""118.25.117.206"", ""118.25.118.225""]; function f(e, t) { return h.indexOf(t) > -1 ? e : function(e, t) { var n = e ? Object(p.e)(e) : {}; return ""?"".concat(Object(p.b)(a()({}, n, {}, t))) }(e, { host: t }) } function m() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """", t = document.createElement(""a""); return t.href = e, t.protocol = ""http:"", t.search = f(t.search, t.host), t.host = function(e) { var t = h.filter(function(t) { return t !== e }); return t[Math.floor(Math.random() * t.length)] }(t.host), t.href } function g(e) { return parseInt(e.dataset.retryCount, 10) || 0 } function v(e) { var t = e.src; ! function(e) { var t = e.errorMsg, n = e.payload, r = { op: ""real_error"", page_url: location.href, error_msg: t, payload: n }; Object(d.a)().then(function(e) { r.network = e, l.a.trackingRecord(r) }) }({ errorMsg: function(e) { var t = g(e); return t ? ""lazy_image_error_retry_"".concat(t) : ""lazy_image_error"" }(e), payload: { src: t } }) } n.d(t, ""a"", function() { return b }), n(""Wr5T""); var _ = ""data-was-processed""; var b = function() { function e() { var t = this, r = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; o()(this, e); var i = n(""HToz""), s = a()({}, u.b, { thresholds: r.thresholds || u.b.thresholds, callback_error: function(e) { v(e), t._retry(e) } }); r.container && (s.container = r.container), this._lazyLoad = new i(s, []) } return c()(e, [{ key: ""start"", value: function(e) { var t = e.el, n = e.src; this._start({ el: t, src: n, retryCount: 0 }) } }, { key: ""destroy"", value: function() { this._lazyLoad && function(e) { e._observer && (e._elements.forEach(function(t) { e._observer.unobserve(t) }), e._observer = null) }(this._lazyLoad) } }, { key: ""_start"", value: function(e) { var t = e.el, n = e.src, r = e.retryCount; ! function(e) { e.classList.remove(""error""), e.removeAttribute(_) }(t), t.dataset.src = n, t.dataset.retryCount = r, this._lazyLoad && this._lazyLoad.update([t]) } }, { key: ""_retry"", value: function(e) { var t = this, n = g(e); n >= 3 || setTimeout(function() { t._start({ el: e, src: m(e.src), retryCount: n + 1 }) }, 400 * n) } }]), e }() }, ""0Dta"": function(e, t, n) { ""use strict""; n.d(t, ""c"", function() { return g }), n.d(t, ""a"", function() { return _ }), n.d(t, ""b"", function() { return b }); var r = n(""MVZn""), a = n.n(r), i = n(""8wto""), o = n(""GoyQ""), s = n.n(o), c = n(""Znm+""), u = n.n(c), l = /\/\/([\w+.]+)\//; var p = /(t\d+img|testimg|img1|pinduoduoimg)\.yangkeduo\.com|images.pinduoduo.com/; function d(e) { return function(e) { return (e.match(l) || [])[1] || """" }(e).match(p) } var h = /\/image\/(.+?)\//; var f = function(e) { var t = e.watermark, n = e.width; if (!n) return t; var r = function(e) { var t = h.exec(e); return t && t[1] }(t); if (!r) return t; var a = Object(i.a)(r) + ""?imageMogr2/thumbnail/"".concat(n, ""x""), o = Object(i.b)(a); return t.replace(r, o) }; function m(e) { var t = e.strip, n = e.sharpen, r = e.thumbnail, a = e.radius, i = e.sigma, o = []; return n && o.push(""/sharpen/"".concat(n)), t && o.push(""/strip""), a && i && o.push(""/blur/"".concat(a, ""x"").concat(i)), r && r.width && o.push(""/thumbnail/"".concat(r.width, ""x"")), o.length ? ""imageMogr2"".concat(o.join("""")) : """" } function g(e) { return e.replace(/^http:\/\//, ""https://"") } var v = { resizeWidth: 1300, quality: 80, strip: !0 }, _ = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v; e = e || """"; var n = a()({}, t, { sharpen: function(e) { return u()(e) ? 70 : e }(t.sharpen), prefitWidth: function(e) { return u()(e) && e ? 400 : e }(t.prefitWidth), watermark: function(e) { var t = s()(e) ? e : { image: e }; return a()({}, t, { blogo: 2 }) }(t.watermark), blur: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.radius, n = e.sigma; return (t || n) && (n = n || 1, t = t || 1), { radius: t, sigma: n } }(t.blur) }); return d(e) ? (e.indexOf("".gif"") >= 0 && (n.sharpen = !1), n.webpEnable && (n.quality = n.quality || 70, n.sharpen = n.sharpen || 50), g(function(e) { return e.split(""?"")[0] }(e)) + function(e) { var t = e.webpEnable, n = e.quality, r = e.resizeWidth, a = e.strip, i = e.plainWatermark, o = e.sharpen, s = e.prefitWidth, c = e.watermark, u = e.blur, l = u.radius, p = u.sigma, d = []; d.push(m({ thumbnail: { width: s } })); var h = i || function(e) { var t = e.image, n = e.gravity, r = e.dx, a = e.dy, i = e.blogo, o = []; return t ? (i && o.push(""/blogo/"".concat(i)), t && o.push(""/image/"".concat(t)), n && o.push(""/gravity/"".concat(n)), r && o.push(""/dx/"".concat(r)), a && o.push(""/dy/"".concat(a)), o.length ? ""watermark/1"".concat(o.join("""")) : """") : """" }(c); return s && (h = f({ watermark: h, width: s })), d.push(h), d.push(m({ sharpen: o, strip: a, radius: l, sigma: p })), d.push(function(e) { var t = e.mode, n = e.width, r = e.height, a = e.format, i = e.quality, o = e.rQuality, s = e.lQuality, c = []; return t && (n || r) && (c.push(""/"".concat(t)), n && c.push(""/w/"".concat(n)), r && c.push(""/h/"".concat(r))), a && c.push(""/format/"".concat(a)), i && c.push(""/q/"".concat(i)), o && c.push(""/rq/"".concat(o)), s && c.push(""/lq/"".concat(s)), c.length ? ""imageView2"".concat(c.join("""")) : """" }({ mode: ""2"", width: r, quality: n, format: t ? ""webp"" : """" })), (d = d.filter(function(e) { return !!e })).length ? ""?"" + d.join(""%7C"") : """" }(n)) : e }; function b(e, t) { return _(e, a()({}, v, { webpEnable: t })) } }, ""0P1e"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return u }); var r = n(""cDf5""), a = n.n(r), i = { unknown: 0, wifi: 1, ""2g"": 2, ""3g"": 3, ""4g"": 4 }, o = ""unknown"", s = i[o]; function c() { return new Promise(function(e) { if (""object"" === (""undefined"" == typeof window ? ""undefined"" : a()(window)) && window.WeixinJSBridge && window.wx && window.wx.getNetworkType) return e(new Promise(function(e) { window.wx.ready(function() { window.wx.getNetworkType({ success: function(t) { e(t && t.networkType) }, fail: function() { e(o) } }) }) })); e(""object"" === (""undefined"" == typeof navigator ? ""undefined"" : a()(navigator)) && navigator.connection && navigator.connection.effectiveType) }) } function u() { return c().then(function(e) { return i[e] || s }) } }, ""1/kQ"": function(e, t, n) { ""use strict""; var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""h3qu""), c = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; a()(this, e), this.cache = {}, this.ua = t } return o()(e, [{ key: ""platform"", get: function() { return Object(s.f)(this.ua) } }, { key: ""system"", get: function() { return Object(s.g)(this.ua) } }, { key: ""systemVersion"", get: function() { return Object(s.h)(this.ua) } }, { key: ""version"", get: function() { return """" } }, { key: ""isNativePlatform"", get: function() { return !1 } }, { key: ""isLiteNativePlatform"", get: function() { return !1 } }, { key: ""isTinyNativePlatform"", get: function() { return !1 } }, { key: ""isMecoCore"", get: function() { return !1 } }, { key: ""isMajiabaoNativePlatform"", get: function() { return !1 } }, { key: ""wechatVersion"", get: function() { return """" } }, { key: ""wechatPlatform"", get: function() { return """" } }, { key: ""isSupportHistoryAPI"", get: function() { return !1 } }, { key: ""isPureWeChatPlatform"", get: function() { return !1 } }, { key: ""isWeChatMiniProgram"", get: function() { return !1 } }, { key: ""isWeChatPlatform"", get: function() { return !1 } }, { key: ""isAndroidWeChatPlatform"", get: function() { return !1 } }, { key: ""isIOSWeChatPlatform"", get: function() { return !1 } }, { key: ""isEmbeddedBrowser"", get: function() { return !1 } }, { key: ""isSupportWechatFloatingWindow"", get: function() { return !1 } }, { key: ""isShowSMAlertPlatform"", get: function() { return !1 } }, { key: ""isQQPlatform"", get: function() { return !1 } }, { key: ""isPureQQPlatform"", get: function() { return !1 } }, { key: ""isQQMiniProgram"", get: function() { return !1 } }, { key: ""isWeiboPlatform"", get: function() { return !1 } }]), e }(); t.a = c }, ""19V+"": function(e, t, n) { ""use strict""; var r = n(""EJiy""), a = n.n(r), i = n(""kk8N""), o = n(""xnWZ""), s = n(""b9VB""); n(""xT7C""); var c = {}; c = function() { var e = { SpinnerStyle: { Default: 0, NewStyle: 1 } }; return e.currentStyle = e.SpinnerStyle.NewStyle, e.init = function(t) { var r = document.querySelector(""#pin-spinner""); if (r) return r; switch (r = document.createElement(""div""), e.currentStyle) { case e.SpinnerStyle.Default: r.innerHTML = n(""tf5S""); break; case e.SpinnerStyle.NewStyle: r.innerHTML = n(""SmUH""); break; default: r.innerHTML = n(""tf5S"") } var a = r.firstChild; return document.body.appendChild(a), e.currentStyle == e.SpinnerStyle.NewStyle && (document.getElementById(""imgInit"").src = ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAYAAAA6oTAqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAGwElEQVRo3u2af4wdVRXHP2/XLm1BTMCCtGNLEQS6nUoVEiIwUEkMDTGZBqq0JOrQSBSE4sMKhEMW5aQCtg0W6w9Qp4Gm/AGUMRL5IabJiKSgQnWEVi1gy0CXrcJCIuiybPnjztvO3jfv7XvPNwYSvskme879ce537o9z7rmvQskQkRnACcBOVd1Xpq2ekoksBXYDMbBHRJa/Z8kAa4Fp2f9TM/ndRUZEjhSRD7VQ9aOW/JEW+p4uIrNKJ5MZug/YCwyJyMpOjDbpfwkwCKQiEovIEaWRAS4HfKAC9AFrRWR+l4jMAELgg5nqDGB1mWSOseReYH03yGQDt5fu3DLJ3FugW5Qtj44hIicBFxUU3VMaGVV9CHiwoGitiEz9H/isLxjLM8DtpZHJ8A3gLUs3F7iiExaZLzqjyI6qjpZKRlV3AhsKiq4VkaPaJDIVWFNQ9EtVfbjdsXXqNL8N2KHJIcB3Ld1uS37JklcBsy3df4ErOxlUxfpS04GNwBJgBzCgqvcVNRSRrwI/stT7gY+p6vNZnaXAncBBwAhwoarek5UdjPEph1h9rFHVVQ1sngrcDHwaEyJdoKpDtXJ7Zq4GlgIfAFxgi4g8ICLzCvq+HfhTwceZUxNU9W5MFHA6MLNGJMNhBUQGgRsKSMwWkc3AY5j91QssAm5pNjNbgbMKBj4K3AZcp6qv5OqfCfwm6xzg78ACVf0PLaDA3pdU9Y5c+TSgClzLgRgvjxdUdXyZ9uZLPM87DvAKGvUApwArPM/7t+d5T8VxPBbH8W7P8x7PPsrDwApVfb0VIpm9ezF7ZAi4UVU3ZSQqnuctAyLMkp/SoItfxXE87vvsmekDvgdcgllqjfA0sExVk1YH3ipEZCawGTizSbX9wF3Apao6XFNOGLCqjgArReQnmHD9nAad9WO88/HdJgP8bBIiTwGXqerv7IJKk0a1KPZm4NgGVQ5W1Te6yURE9lJ8VdgLCLBRVceK2jb1M9mx3A98E7D3wm+7TSTDA5Y8glklx6vqzxsRgeb7okZoBBN7bQYGgMWYuOniEoiACZemAadhjmJR1V0l2Xof/xdUAETkEuAawGlSdwyzvL6mqo+WPbB169YtwlwN5tF8bw8CA9Vq9baKiJyI8RuVFmwAvAjMUdW3SyQyJbMzo8UmbwP9PcD8NogAzGrDSKc4sk0bvcD8Hkyw2M5X3qOqgyWTeQkzM61iFHiyR1X/BqwAngVeneTvj8D5JROhWq2OAedl9iYb0x4gqFarz5c9rvfRKVre+Gma9gGXAudijmhxHKflcL9VhGHYh7m/nAZsA9YEQTDcNTJpmhYFnFscxzmvBDI3Ad/KqYYwPnBjEARjzdo2DTTTNJ2XpukjwBbqI2c/TdNpdB8XWvIRmGvBH8IwbHY1KCaTpumH0zTdgDm2z27Qdgho6XrcJl5ooF8IbA3DcHMYhrOLKkxYZmmaVjDR8GpMwqER/gksdxzn191mEobhAuAXwNFNqr2JybfdEATBeELSJrMSK+NhYRT4ITDgOM4wQJIkJwJfAFJgk+u6Lc9WFEU9GL+1ALjf9/1tGaFaIuNq6jM4eawPgmD8WcUm0yg7AybHfKXjOM/UFEmS9ANPANMz1aPAWa7rthRRRFG0iQN7ZAw4x/f98dkOw3AWJidxAcWH1e4gCI6uCfae+UtBg13A5xzHWZwnkuHWHBEw+bFT7Q7iOK7LrkRRdBQTN3sPsCGKor6aIgiCF4MgWI5J+j1eMLYdWB3k8R1ge/b/q5jrcr/jOPfbvSRJsgSTiLMx7nviOP5UHMc7gJE4jp+O4/iTuXpvYK7EeRwHXGZ3GATBtozQCg6keP+BWYrjqJu67BCYA7zsOM6bBYMlSZKpGMdpPwY96Lru4hyZ3wMn58q3e563MDc7twJfL/gYH/d9/+Ui22EYTsFkSfcEQTDhlaAuB+A4zv6MdTNcUUDkLcz9PY+FlrzAkq8HlgGH53SHAgp8pchwdno9V1TW9itAkiQzMeGGjQ2u6+60dL2WPMGe7/v/ygjZuCiKopNpE508aaym/rjch3nm6AQ/pv7g6QHWRVHUzqWxPTJJkpwCfLGg6DrXdYc7YeL7/ij1yxNMtv/zpZEBvkz9obEd+GknRHKEHsEkyYvslUZmuEBXbdVJToJVmBeBPF4rk8wtHPBDAOtd193aBSL4vr8LuAqT4QdzHR4ojYzruvswfuN04BOu63b15ya+738f83Ouz2B8zV/bad/WadEu4jgexKSNanjF87zDO+1vMpT9Ey37AfcHZRordWYA4jj+LMbz/9nzvLbf9tvBO0XbJi+MSyc4AAAAAElFTkSuQmCC""), document.getElementById(""pin-spinner"") }, e.show = function(t) { if (t = t || """", o.b.isModuleVersion) e.currentStyle == e.SpinnerStyle.NewStyle ? i.a.callNative(""JSUIControl"", ""showLoading"", { loading_style: ""2"", message: t }) : i.a.callNative(""JSUIControl"", ""showLoading""); else { var n = e.init(t), r = document.getElementById(""ps-background""), a = document.getElementById(""msgInit""), s = document.getElementById(""pin-spinner""); a.innerHTML = t, n.style.display = ""block"", e.currentStyle == e.SpinnerStyle.NewStyle && (r.style.display = ""block""), s.className = t ? ""hasMessageText pin-spinner-2"" : ""pin-spinner-2"" } }, e.showH5 = function() { (e.init().style.display = ""block"", e.currentStyle == e.SpinnerStyle.NewStyle) && (document.getElementById(""ps-background"").style.display = ""none"") }, e.showWithoutBg = function() { o.b.isModuleVersion ? i.a.callNative(""JSUIControl"", ""showLoading"") : e.showH5() }, e.hideH5 = function() { e.init().style.display = ""none"" }, e.hide = function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; if (o.b.isModuleVersion ? i.a.callNative(""JSUIControl"", ""hideLoading"") : e.hideH5(), s.ssrDetect && !Object(s.ssrDetect)() && ""object"" === (""undefined"" == typeof window ? ""undefined"" : a()(window)) && !window.__fmp) { window.__fmp = Date.now(); var n = window.performance; if (n && n.timing && n.timing.loadEventStart) new s.a(t).send() } }, e }(); t.a = c }, ""1Irm"": function(e, t, n) { ""use strict""; var r, a = n(""o0o1""), i = n.n(a), o = n(""yXPU""), s = n.n(o), c = n(""MpJ2""), u = function() { var e = {}; return { register: function(t, n) { return n ? e[t] ? (e[t].add(n), Promise.resolve()) : (e[t] = new Set, Object(c.c)(""JSNotification"", ""register"", { name: t }).then(function() { e[t].add(n) })) : Promise.reject(new Error(""pinnotification register lack callback param"")) }, unregister: function(t, n) { var r = e[t]; r.delete(n), r.size || Object(c.c)(""JSNotification"", ""unregister"", { name: t }) }, message: function(t, n) { var r = e[t]; null != r && r.forEach(function(e) { try { e(n) } catch (e) { return Promise.reject(e) } }) } } }(); function l(e, t) { return p.apply(this, arguments) } function p() { return (p = s()(i.a.mark(function e(t, n) { return i.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, u.register(t, n); case 2: return e.abrupt(""return"", function() { u.unregister(t, n) }); case 3: case ""end"": return e.stop() } }, e) }))).apply(this, arguments) } function d(e) { return l(""onSceneLeave"", e) } function h(e) { return l(""onSceneReturn"", e) } function f(e, t) { return Object(c.c)(""JSNotification"", ""send"", { name: e, payload: t }) } n.d(t, ""a"", function() { return l }), n.d(t, ""b"", function() { return d }), n.d(t, ""c"", function() { return h }), n.d(t, ""d"", function() { return f }), window.pinnotification && (r = window.pinnotification, console.warn(""存在其他版本的pinnotification对象,请检查是否多版本或者存在其他notification包"")), window.pinnotification = {}, Object.defineProperty(window.pinnotification, ""message"", { value: function(e, t) { r && ""function"" == typeof r.message && r.message(e, t), u.message(e, t) }, writable: !1 }) }, ""204Y"": function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, '.pdd-go-to-app {\n position: fixed;\n top: 0;\n right: 0;\n width: .9rem;\n height: .32rem;\n line-height: .32rem;\n padding-right: .08rem;\n margin-top: 0.12rem;\n font-size: .13rem;\n text-align: right;\n color: #fff;\n background-color: #E02E24;\n border-bottom-left-radius: .04rem;\n border-top-left-radius: .04rem;\n z-index: 10001;\n}\n\n.pdd-go-to-app:active {\n color: #EDBBB8;\n background-color: #C51E14;\n}\n\n@supports not (-webkit-overflow-scrolling: touch) {\n .pdd-go-to-app {\n line-height: .33rem;\n }\n}\n\n.pdd-go-to-app-icon {\n margin-left: -.03rem;\n}\n\n.pdd-go-to-app-icon::before {\n content: ""\\E777"";\n}', """"]) }, ""20zl"": function(e, t, n) { var r = n(""9PFF""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, ""2aGa"": function(e, t, n) { var r = n(""jK0q""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, ""2phM"": function(e, t, n) { ""use strict""; (function(e) { n.d(t, ""a"", function() { return l }); var r = n(""MVZn""), a = n.n(r), i = n(""0P1e""), o = n(""KoDT""), s = n(""h3qu""), c = n(""MpJ2""), u = Object(o.a)(); function l() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; Object(i.a)().then(function(n) { var r = t.mutipleKvList || []; r.forEach(function(e) { e.tags = a()({ networkType: n }, e.tags) }); var i = { mutipleKvList: r }, o = { method: ""POST"", body: JSON.stringify(i), data: JSON.stringify(i), headers: { ""Content-Type"": ""application/json;charset=UTF-8"" }, credentials: ""include"" }, l = ""https://cmta.yangkeduo.com"".concat(""/api/cmt/cmtc_h5""); u.isNativePlatform ? (Object.assign(o, { url: l }), Object(c.c)(""JSNetwork"", ""request"", o).catch(function(e) { if (u.platform === s.a.PddAndroid && Object(s.c)(u.version, ""4.78.0"") >= 0) throw e })) : e(l, o).catch(function(e) {}) }) } }).call(this, n(""BlQd"")) }, ""2z+c"": function(e, t, n) { ""use strict""; var r = n(""xnWZ""), a = n(""kk8N""), i = { showRetryPage: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 ? arguments[2] : void 0, i = arguments.length > 3 ? arguments[3] : void 0, o = arguments.length > 4 ? arguments[4] : void 0; if (r.b.isModuleRequestTimeout) { var s = { style: e, errorType: t, params: { title: n, message: i, iconType: o } }; a.a.callNative(""WebScene"", ""showRetryPage"", s, function() {}, function() { a.a.callNative(""WebScene"", ""showRetryPage"", s) }) } }, checkRequestTimeout: function(e) { var t = this; r.b.isModuleVersion && (this.requestTimeId || e || (this.requestTimeId = setTimeout(function() { t.showRetryPage(0, ""networkError"", ""手机网络有问题"", ""请检查网络"", ""e779""), clearTimeout(t.requestTimeId), t.requestTimeId = void 0 }, 1e4))) }, clearRequestTimeout: function() { clearTimeout(this.requestTimeId) } }; t.a = i }, ""3I1p"": function(e, t, n) { ! function(t) { ""use strict""; var r, a = t.Base64; if (e.exports) try { r = n(""tjlA"").Buffer } catch (e) {} var i = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"", o = function(e) { for (var t = {}, n = 0, r = e.length; n < r; n++) t[e.charAt(n)] = n; return t }(i), s = String.fromCharCode, c = function(e) { if (e.length < 2) return (t = e.charCodeAt(0)) < 128 ? e : t < 2048 ? s(192 | t >>> 6) + s(128 | 63 & t) : s(224 | t >>> 12 & 15) + s(128 | t >>> 6 & 63) + s(128 | 63 & t); var t = 65536 + 1024 * (e.charCodeAt(0) - 55296) + (e.charCodeAt(1) - 56320); return s(240 | t >>> 18 & 7) + s(128 | t >>> 12 & 63) + s(128 | t >>> 6 & 63) + s(128 | 63 & t) }, u = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, l = function(e) { return e.replace(u, c) }, p = function(e) { var t = [0, 2, 1][e.length % 3], n = e.charCodeAt(0) << 16 | (e.length > 1 ? e.charCodeAt(1) : 0) << 8 | (e.length > 2 ? e.charCodeAt(2) : 0); return [i.charAt(n >>> 18), i.charAt(n >>> 12 & 63), t >= 2 ? ""="" : i.charAt(n >>> 6 & 63), t >= 1 ? ""="" : i.charAt(63 & n)].join("""") }, d = t.btoa ? function(e) { return t.btoa(e) } : function(e) { return e.replace(/[\s\S]{1,3}/g, p) }, h = r ? function(e) { return (e.constructor === r.constructor ? e : new r(e)).toString(""base64"") } : function(e) { return d(l(e)) }, f = function(e, t) { return t ? h(String(e)).replace(/[+\/]/g, function(e) { return ""+"" == e ? ""-"" : ""_"" }).replace(/=/g, """") : h(String(e)) }, m = new RegExp([""[à-?][?-?]"", ""[à-?][?-?]{2}"", ""[e-÷][?-?]{3}""].join(""|""), ""g""), g = function(e) { switch (e.length) { case 4: var t = ((7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3)) - 65536; return s(55296 + (t >>> 10)) + s(56320 + (1023 & t)); case 3: return s((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2)); default: return s((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1)) } }, v = function(e) { return e.replace(m, g) }, _ = function(e) { var t = e.length, n = t % 4, r = (t > 0 ? o[e.charAt(0)] << 18 : 0) | (t > 1 ? o[e.charAt(1)] << 12 : 0) | (t > 2 ? o[e.charAt(2)] << 6 : 0) | (t > 3 ? o[e.charAt(3)] : 0), a = [s(r >>> 16), s(r >>> 8 & 255), s(255 & r)]; return a.length -= [0, 0, 2, 1][n], a.join("""") }, b = t.atob ? function(e) { return t.atob(e) } : function(e) { return e.replace(/[\s\S]{1,4}/g, _) }, y = r ? function(e) { return (e.constructor === r.constructor ? e : new r(e, ""base64"")).toString() } : function(e) { return v(b(e)) }, w = function(e) { return y(String(e).replace(/[-_]/g, function(e) { return ""-"" == e ? ""+"" : ""/"" }).replace(/[^A-Za-z0-9\+\/]/g, """")) }; if (t.Base64 = { VERSION: ""2.1.9"", atob: b, btoa: d, fromBase64: w, toBase64: f, utob: l, encode: f, encodeURI: function(e) { return f(e, !0) }, btou: v, decode: w, noConflict: function() { var e = t.Base64; return t.Base64 = a, e } }, ""function"" == typeof Object.defineProperty) { var S = function(e) { return { value: e, enumerable: !1, writable: !0, configurable: !0 } }; t.Base64.extendString = function() { Object.defineProperty(String.prototype, ""fromBase64"", S(function() { return w(this) })), Object.defineProperty(String.prototype, ""toBase64"", S(function(e) { return f(this, e) })), Object.defineProperty(String.prototype, ""toBase64URI"", S(function() { return f(this, !0) })) } } t.Meteor && (Base64 = t.Base64) }(""undefined"" != typeof window ? window : {}) }, ""3INx"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return f }); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""h3qu""), f = { greaterThan: ""greaterThan"", greaterThanEqual: ""greaterThanEqual"", contains: ""contains"" }, m = function(e) { function t() { return a()(this, t), c()(this, l()(t).apply(this, arguments)) } return d()(t, e), o()(t, [{ key: ""isVersionGreater"", value: function(e) { return !!e && Object(h.c)(this.version, e) > 0 } }, { key: ""isVersionGreaterThanEqual"", value: function(e) { return !!e && Object(h.c)(this.version, e) >= 0 } }, { key: ""statisfy"", value: function(e, t, n) { return n === f.greaterThan ? this.platform === h.a.PddAndroid ? this.isVersionGreater(e) : this.isVersionGreater(t) : n === f.greaterThanEqual ? this.platform === h.a.PddAndroid ? this.isVersionGreaterThanEqual(e) : this.isVersionGreaterThanEqual(t) : n === f.contains && (this.platform === h.a.PddAndroid ? e.includes(this.version) : t.includes(this.version)) } }, { key: ""version"", get: function() { return Object(h.d)(this.cache, ""version"", Object(h.e)(this.ua, this.platform)) } }, { key: ""isNativePlatform"", get: function() { return this.platform === h.a.PddIOS || this.platform === h.a.PddAndroid } }, { key: ""isLiteNativePlatform"", get: function() { return this.isNativePlatform && this.ua.includes(""app_type/lite"") } }, { key: ""isMecoCore"", get: function() { return Object(h.d)(this.cache, ""isMecoCore"", this.isNativePlatform && Object(h.i)(this.ua)) } }]), t }(n(""1/kQ"").a); t.b = m }, ""3OdE"": function(e, t, n) { ""use strict""; var r = { WeChatSession: 1, WeChatTimeline: 2, Weibo: 3, QQChatSession: 4, QQZone: 5, TencentWeibo: 6, WeChatSessionApp: 7, WeChatTimelineImage: 8, WeChatTimelineImageWithNoSDK: 9, WeChatSessionImage: 10, QQChatSessionImage: 11, QQZoneImage: 12, WeiboImage: 13, Friends: 14, WechatBigImage: 15 }, a = { goodsList: ""v2/goods"", groupOrder: ""group_order"", wtGroupOrder: ""virtual_group_order"", login: ""login"", ipLocation: ""region_info"", lotteryList: ""lucky_draw_result"", categoryGoodsList: ""operation"", categoryGoodsListV2: ""v2/operation"", categoryGoodsListV3: ""v3/operation"", directPaySettings: ""api/qogir/payment/agreement/query"", subjectInfo: ""subject"", rankHotList: ""v2/ranklist"", rankNewList: ""v3/newlist"", goodsListV3: ""v3/goods"", goodsListV4: ""v4/goods"", goodsListV5: ""v5/goods"", homeShow: ""home_show"", userAB: ""user/is_ab"", portalOperations: ""home_operations"", goods: ""v5/goods/{0}"", userEvent: ""goods/{0}/user_event"", localGroup: ""goods/{0}/local_group"", localGroupV2: ""v2/goods/{0}/local_group"", mall: ""mall/{0}/info"", lisbon: ""api/lisbon/query_events"", luckyDraw: ""lucky_draw/{0}"", reviews: ""reviews/{0}"", personalRedpoint: ""api/philo/red_dot?query_order=1&query_coupon=1&query_fullback=1"", queryShowFullback: ""api/lisbon/fullback/query_show_fullback"", queryTodayFullback: ""api/lisbon/fullback/query_today_fullback"", queryFullbackCouponRecord: ""api/lisbon/fullback/query_fullback_coupon_record"", queryMallFullback: ""/api/lisbon/fullback/query_today_mall_fullback"", promotionActivityImages: ""carnival_images"", portalRecommendEntrance: ""icon/list"", portalQuickEntranceAttendance: ""api/promotion/show_sign_in_entry"", subjectsInfo: ""subject_collection/{0}"", economicalBrand: ""luxury/list"", brandGoodsList: ""famous_brand/{0}"", brandInfo: ""famous_brand/{0}/brand"", famousBrand: ""famous_brand"", famousBrandList: ""famous_brand/{0}/v2/list"", freeVoucher: ""api/activity/barrett/free_coupon_goods_list"", timelineShareDomain: ""audience/sharable/init"", qqSubjectGoodsList: ""v2/subject/{0}/goods"", userProfile: ""user/profile"", spikeGoods: ""spike/{0}/goods"", subSubjectSummary: ""sub_subject_summary/{0}"", subSubjectCollection: ""sub_subject_collection/{0}"", groupOrders: ""order/group_orders"", favoriteGoods: ""v2/favorite/goods"", favoriteGoodsV2: ""api/zenon/goods/list_v3"", favoriteMall: ""favorite/mall/list"", footprint: ""footprint/goods/listall"", mylottery: ""ordersv2/lucky"", inviteUserQualification: ""meteor/qualified"", marketMeteorQualified: ""api/market/meteor/v2/qualified"", inviteUserCheck: ""meteor/invited"", couponsAvailable: ""query_validity_coupons"", couponsExpired: ""query_expired_and_used_coupons"", couponsUsedNew: ""api/lisbon/query_used_coupons"", couponsExpiredNew: ""api/lisbon/query_expired_coupons"", couponsExpiredV2: ""api/lisbon/query_expired_coupons"", couponsExpiredV3: ""api/lisbon/query_user_expired_coupons"", order: ""order/"", orders: ""ordersv2/"", orderResult: ""ordersv2/search"", ordersCount: ""orders/count"", goodsExpress: ""order/"", userMe: ""user/me"", addressList: ""addresses"", address: ""address/{0}"", afterSaleList: ""after_sales/list"", afterSaleMarkRead: ""after_sales/mark_read"", couponCheck: ""api/asm/coupon/check"", afterSalesDdetail: ""after_sales/detail"", afterSalesPayType: ""after_sales/pay_type"", actGroupOrder: ""api/coldplay/activity/detail"" }, i = n(""nx6v""), o = function(e) { var t = {}; return Object.keys(e).forEach(function(n) { t[n] = { code: n, message: e[n] } }), t }({ 1101: ""手机网络繁忙,请稍后再试"", 30400: ""没有安装QQ客户端"", 40000: ""错误的请求地址或方法"", 40001: ""登录已过期,请重新登录"", 40002: ""手机网络繁忙,请稍后再试"", 40003: ""错误的请求参数"", 40004: ""微信登录失败"", 40005: ""请求还在处理中"", 40006: ""手机登录验证码错误"", 40100: ""暂未开通该开放平台"", 40015: ""验证码重复请求"", 40016: ""验证码超出当天限制"", 40017: ""今日可发送次数已达上限"", 40018: ""验证码填写错误"", 40019: ""验证码填写超时"", 40020: ""登录失败"", 40031: ""微信登录失败!"", 40032: ""QQ登录失败!"", 40033: ""登录重试失败,请稍后再试"", 43058: """", 41001: ""商品不存在"", 41002: ""商品已下架"", 41003: ""商品已售罄"", 41004: ""商品不在同一商店"", 41005: ""该商品当前不在抽奖活动时间"", 41006: ""商品不在可售区域"", 41101: ""抽奖活动暂不支持单独购买"", 41102: ""卡券可使用的时间已过期,请选购其他商品"", 42001: ""拼单已满"", 42002: ""该拼单不存在"", 42003: ""拼单已过期"", 42004: ""您购买此商品次数达到上限,去看看其他商品吧~"", 42005: ""该商品开团数已达上限"", 42006: ""拼单已满"", 42007: ""此拼单已满,正在发起新拼单..."", 42501: ""订单已成团,暂不支持修改收货地址,请与商家客服联系"", 42502: ""该订单已拼单成功,请刷新页面"", 43001: ""用户不存在"", 43002: ""地址错误"", 43004: ""身份证号不存在"", 43005: ""姓名和身份证号不一致"", 43006: ""对不起,您无法获取或更新身份证号"", 43007: ""对不起,您已用完当前最大验证次数,请24小时后再试"", 43008: ""姓名和身份证不匹配,请重新认证"", 43009: ""您今日认证过于频繁,请明天再试"", 43010: ""该地址已存在"", 43011: ""该地址无法导入"", 43013: ""一小时内不能重复提交"", 43015: ""只允许微信用户够买"", 43016: ""创建地址失败"", 43017: ""最多只能添加100个收货地址哦~"", 43098: ""您在店铺没有拼单成功记录,请勿发红包!拼多多不支持通过发红包购买商品!"", 43099: ""该商品仅限新用户购买一件哦~"", 44001: ""优惠券不存在"", 44002: ""优惠券已使用"", 44003: ""优惠券没有达到最小使用金额"", 44004: ""优惠券已过期"", 44005: ""优惠券不属于用户"", 44006: ""优惠券已废弃"", 44007: ""优惠券暂未到使用时间"", 44008: ""优惠券不能在该分类使用"", 44010: ""优惠券已经抢完了,下次早点来哦"", 44011: ""您已经领过该优惠券"", 44012: ""优惠券领取失败"", 44015: ""不是团长不能使用团长免单优惠券"", 44016: ""优惠券批次不存在"", 44020: ""正在处理中,请稍后再试!"", 44026: ""该券太火爆,全部已被领完"", 44027: ""活动已结束!"", 44033: ""优惠券使用失败"", 44035: ""批次类型错误"", 44036: ""团免券已被领完"", 44037: ""用户已达团免券日领取上限"", 44038: ""您已领取该券"", 44039: ""未找到符合条件的团免券批次"", 44041: ""领取失败"", 44042: ""领取链接已失效,下次早点哦"", 44043: ""不符合领取条件哦"", 44044: ""该优惠券活动不存在"", 44045: ""不在活动时间"", 44046: ""只有无订单的新用户可领取哦"", 44047: ""红包券数量不够"", 44061: ""多件优惠活动结束"", 44063: ""多件优惠已经享受过了"", 44064: ""多件优惠活动暂未开始"", 44065: ""多件优惠活动暂未开始"", 44066: ""多件优惠活动结束"", 44067: ""商家券和多件优惠活动不能同时使用"", 44072: ""分享码已过期"", 44073: ""免拼卡不足"", 44076: ""不符合免拼卡的使用条件"", 44090: ""商品活动未开始"", 44091: ""商品活动已结束"", 44092: ""商品活动不存在"", 44093: ""活动商品已售罄"", 44095: ""商品活动已结束"", 44096: ""商品活动不存在"", 44097: ""您购买的该活动商品数量已达上限"", 44098: ""商品订单已创建"", 44099: ""商品活动有误"", 44100: ""您未获取抢购资格,不可购买该商品"", 44200: ""已达红包使用数量上限"", 44201: ""每满{0}元可用{1}个红包"", 45001: ""订单不存在"", 45002: ""订单不属于该用户"", 45003: ""订单不能取消"", 45004: ""订单商品不一致"", 45005: ""订单已经收货"", 45006: ""订单还未发货"", 45007: ""海淘订单没有提交身份证"", 45008: ""订单已支付"", 45009: ""支付繁忙,请重试"", 45010: ""订单正在支付中"", 45012: ""手机充值号码为空"", 45013: ""手机充值号码不支持"", 45014: ""手机充值商品不存在"", 45015: ""确认收货失败"", 45023: ""正在处理您的退款/售后申诉,无法主动确认收货"", 45026: ""超过购买商品限制"", 45030: ""订单正在处理中,请刷新页面"", 45031: ""单次购买金额不得高于9.5万元"", 45033: ""超过每个手机号码购买次数限制"", 45034: ""抱歉,秒杀尚未开始,请稍候"", 45035: ""该商品为App新人专享秒杀,非首次下载App24小时内的用户无法发起拼单"", 45036: ""每名用户只能购买一次哦"", 45037: ""你的当前登录帐号有些风险哦,建议先直接去充值吧"", 45038: ""包月套餐订单购买免密校验失败"", 45039: ""包月套餐功能升级中,当前只支持微信帐号登录的用户哦"", 45040: ""限购商品暂时无法购买哦~"", 45041: ""本次活动期间已抢到过一张神券,不能再抢了~"", 45042: ""手机网络繁忙,请稍后再试"", 45043: ""该类型商品本次活动期间您已抢过,不能再抢了~"", 45044: ""您好,该商品仅可购买一次哦~"", 45045: ""该商品仅能在拼多多App中购买!"", 45046: ""该商品仅允许微信登录用户购买!"", 45047: ""超过该商品每次购买件数限制"", 45050: ""您已经在本场下过单了,去看看其他商品吧~"", 45051: ""已购买过此类优惠商品,看看其他商品吧"", 45052: ""您最近购买此商品次数达到上限,去看看其他商品吧~"", 45053: ""手机网络繁忙,请稍后再试"", 45054: ""需验证码校验!"", 45055: ""手机网络繁忙,请稍后再试"", 45104: ""不是定金类型订单"", 45105: ""订单已取消"", 45106: ""订单已确认"", 45107: ""定金未成团"", 45206: ""创建订单存在风险"", 45207: ""创建订单验证码非法"", 45208: ""价格有变动,请返回上一页查看"", 45209: ""请更换支付方式,花呗分期暂不可用"", 45210: ""手机网络繁忙,请稍后再试"", 45301: ""店铺补差价金额达到上限!"", 45320: ""未获取活动资格!"", 45321: ""该活动必须是微信APP用户参加!"", 45322: ""该活动同一用户不可重复参加!"", 45323: ""该活动同一设备不可重复参加!"", 45324: ""该活动用户微信置信度较低!"", 45325: ""非APP新用户"", 45326: ""手机网络繁忙,请稍后再试"", 45327: ""账户存在风险,无法下单"", 45402: ""该商品秒杀活动已结束"", 45403: ""该商品免单活动已结束"", 45404: ""该商品买二送一活动已结束"", 45405: ""该商品秒杀活动已结束"", 45406: ""该活动已结束"", 45407: ""该活动已结束"", 45110: ""未到尾款支付时间"", 45111: ""超过尾款支付时间"", 45112: ""未到定金支付时间"", 45113: ""超过定金支付时间"", 45412: ""该商品多件优惠活动已结束"", 45413: ""该商品限时免单活动已结"", 45416: ""该商品优惠活动已结束"", 45417: ""该活动已结束"", 45418: ""该优惠商品已被抢空"", 45420: ""该活动已结束"", 45422: ""该活动已结束"", 45423: ""该活动已结束"", 45424: ""该包月活动已结束"", 45425: ""您向商家补的差价已经超过上限"", 45428: ""该商品属于活动商品,无法正常购买"", 45429: ""该地区暂时无货"", 45450: ""此海淘商品仅支持微信支付"", 45500: ""商品信息和充值号码不匹配"", 45501: ""新地址暂不支持,请重新选择"", 45511: ""您不是专属用户,不能以特惠价开团哦~"", 45514: ""库存不足"", 45515: ""低于最低起售件数"", 45516: ""该商品有更低价的优惠活动,请刷新购买"", 46001: ""团订单不存在"", 46002: ""无法重复参团"", 46012: ""商品售罄,免拼失败,拼单到期后将退款"", 46013: ""秒杀活动结束,免拼失败,拼单到期后将退款"", 46014: ""插队拼单已满"", 47003: ""限量件数已被抢光,请重新选购"", 47101: ""支付失败,限时折扣活动已结束"", 47102: ""支付失败,限量折扣活动已结束,请重新购买"", 47010: ""折扣活动检查失败"", 47011: ""限时折扣活动已经使用"", 47012: ""限时折扣活动未开启"", 47013: ""限时折扣活动未到开始时间"", 47014: ""限时折扣活动已经结束"", 47015: ""商家券和限时折扣活动不能同时使用"", 47030: ""已经催过了,正在尽快发货"", 47031: ""催发货请求异常,请稍后重试"", 48001: ""图片格式错误"", 48002: ""图片大小超过限制"", 49001: ""商品不存在"", 50000: ""当前访问人数较多,请稍后再试"", 50001: ""今天票数已用完,明天再来吧"", 50002: ""当前有未完成的团"", 80001: ""投票活动已结束"", 60000: """", 60001: ""该团已经结束"", 60002: ""确认收货失败"", 60003: ""参数错误"", 60004: ""您已退款成功,无须确认收货"", 60005: ""用户拒绝"", 60006: ""用户取消"", 60007: ""确认收货失败,请稍后重试"", 60100: ""未安装微信客户端"", 60110: ""未安装微博客户端"", 60120: ""未安装手机QQ"", 60200: ""录制失败"", 60201: ""录音没有权限"", 60205: ""录音时间过短"", 60210: ""上传失败"", 60220: ""播放失败"", 71001: ""获取售后列表失败"", 71002: ""申请售后失败"", 71003: ""获取售后单详情失败"", 71004: ""售后单添加售后信息失败"", 71005: ""售后单修改失败"", 71006: ""撤销售后失败"", 71007: ""售后单用户确认发货失败"", 71008: ""售后单重新申请失败"", 71009: ""售后单申请平台介入失败"", 71010: ""钱款去向查询失败"", 71011: ""留言标记失败"", 71012: ""售后用户待处理未读数量获取失败"", 71013: ""售后未读留言数目获取失败"", 71014: ""获取付款类型失败"", 71015: ""获取售后原因失败"", 71016: ""获取我要发货列表失败"", 71017: ""获取是否使用平台优惠券失败"", 71018: ""售后单用户确认完成失败"", 71019: ""获取小额打款详情失败"", 71020: ""填写账户信息失败"", 450130: ""商品信息和充值号码不匹配"", 450131: ""该商品每个号码每月限充一次"", 530001: ""团不存在"", 530002: ""团已失效"", 530003: ""团已满"", 530004: ""助力单不存在"", 530005: ""不支持该支付方式"", 530006: ""助力单已支付"", 530007: ""助力单已退款"", 530008: ""不在活动时间"", 530009: ""您已经拿过该商品了,不要贪心哦"", 530010: ""已达到今日帮忙付款次数上限,明日再来吧"", 530011: ""已达到今日帮助该好友次数上限,明日再来吧~"", 530012: ""已经达到帮助该好友支付次数上限,赶紧去帮助其他人吧~"", 530013: ""不符合免费帮忙条件"", 530014: ""您不是拼多多App新人,不能开团哦"", 144073: ""您没有免拼卡,请返回重新下单"", 144076: ""不符合免拼卡的使用条件"", 144078: ""请求失败,请重新发起支付"", 152001: ""限量折扣活动已经使用"", 152002: ""限量折扣活动未开启"", 152003: ""限量折扣活动未到开始时间"", 152004: ""限量折扣活动已经结束"", 152005: ""商家券和限量折扣活动不能同时使用"", 152006: ""限量件数已被抢光,请重新选购"", 152010: ""已达到该商品活动期内的最多购买件数,不能再抢了~"", 3000001: ""充值失败,请稍后重试"", 3000002: ""话费充值失败,请稍后重试"", 3000003: ""话费充值下单失败,请稍后重试"", 400001: ""微信零钱不足,且未绑定银行卡,请绑定银行卡再试,或邀请好友代付"", 400002: ""银行卡余额不足,请绑定其他银行卡再试,或邀请好友代付"", 400003: ""银行卡预留手机号不符,请核对后再试,或邀请好友代付"", 400004: ""银行卡已失效,请核对后再试,或邀请好友代付"", 400005: ""银行拒绝交易,请核对后再试,或邀请好友代付"", 400099: ""支付未完成,请更换支付方式"", 4000004: ""手机网络繁忙,请稍后再试"", 4000005: ""手机网络繁忙,请稍后再试"", 4000006: """", 20504101: ""团订单不存在"", 20504005: ""手机网络繁忙,请稍后再试"", 12960005: ""商品不存在"", 12960006: ""活动未开始"", 12960007: ""商品已售罄"", 12960008: ""拼单人数已满"", 12960009: ""只有App新人才能参团哦"", 12960010: ""帐号信息异常"", 12960012: ""该商品一次只能购买1件哦"", 12960014: ""请使用微信登录再下单"", 12960016: ""你已经开过团了,请勿重复开团"", 12960017: ""今日开团次数已用完,明天再来吧"", 12960018: ""今日参团次数已用完,明天再来吧"", 12960019: ""该商品你今日已经参过团了"" }), s = { AuthenticationFailed: o[40001], APIServiceBusy: o[40002], GraphicalCodeForPhoneCode: o[40017], LoginFailed: o[40020], NeedAuthenticationLogin: o[43058], ItemRemoved: o[41002], OutOfStock: o[41003], NotInLuckyTime: o[41005], AddressUnreachable: o[41006], NoCouponLeft: o[44010], CouponTaken: o[44011], CouponTakeFailed: o[44012], CouponTakenOut: o[44026], PersonalInfoNoID: o[45007], OrderPayed: o[45008], NeedVerfication: o[45054], GroupInvalid: o[46001], GroupFailed: o[42003], OverBuyLimit: o[42004], GroupOverflow: o[42005], GroupAutoOpenFailed: o[42006], GroupAutoOpenSuccess: o[42007], IDCardEmpty: o[43004], NoNameIDBefore: o[43006], IDCardFake: o[43008], IDCardFailTooMuch: o[43009], InsufficientCoupon: o[44047], AvailableCouponsPerUnit: o[44201], NoSuchOrder: o[45001], PrepayBusy: o[45009], OrderPaying: o[45010], PaymentDisabled: o[45210], SpikeComing: o[45034], OrderPayRisk: o[45206], OrderPayVerificationInvalid: o[45207], OrderAlreadyUrged: o[47030], OrderUrgeError: o[47031], NativeNormalError: o[6e4], NativeParamsError: o[60003], NativeUserRefuse: o[60005], NativeUserCancel: o[60006], NativeAudioRecordFailed: o[60200], NativeAudioRecordUndetermined: o[60201], NativeAudioTooShort: o[60205], NativeAudioUploadFailed: o[60210], NativeAudioPlayFailed: o[60220], SuccessiveMobileFeeOnlyOnce: o[45036], SuccessiveMobileFeeRisk: o[45037], SuccessiveMobileFeeUnsigned: o[45038], SuccessiveMobileFeeOnlyWechat: o[45039], OverBuyVirtualGoodsLimit: o[45033], AvailableActivityChanged: o[45516], GroupCompleted: o[42001], InvalidAddress: o[43002], CouponDailyLimit: o[44037], CouponBatchLimit: o[44038], CouponTokenInvalid: o[44041], CouponTokenExpired: o[44042], CouponPushNotIn: o[44043], CouponActivityAbsent: o[44044], MultiplyDiscountPause: o[44064], MultiplyDiscountEnd: o[44066], CouponMaxNumReached: o[44200], HistoryGroupOpenFailed: o[46014], GoodsNotExist: o[49001], NativePaymentCancel: o[60006], WithoutWeChatClient: o[60100], QQPayFailed: o[60120], OrderLimitedSalesEnd: o[152004], OrderLimitedSalesOut: o[152006], PayLimitedSalesEnd: o[47102], PayLimitedSalesOut: o[47003], ServerBusy: o[4000004], OrderSpikeMsgError: o[4000006], WxDirectPayWxBalanceError: o[400001], WxDirectPayCardBalanceError: o[400002], WxDirectPayTelephoneError: o[400003], WxDirectPayCardInvalidError: o[400004], WxDirectPayRefusedError: o[400005], WxDirectPayUnknownError: o[400099], ACT_GROUP_NOT_EXISTS: o[530001], ACT_GROUP_FAILED: o[530002], ACT_GROUP_SUCCESS: o[530003], ACT_RECORD_NOT_EXISTS: o[530004], PAY_CHANNEL_NOT_SUPPORT: o[530005], ACT_RECORD_PAID: o[530006], ACT_RECORD_REFUND: o[530007], ASSIST_FOR_ONE_DAILY_LIMIT: o[530011], ASSIST_FOR_ONE_LIMIT: o[530012], getMsgFromCode: function(e) { var t = o[e]; return t ? t.message : """" } }, c = n(""cDf5""), u = n.n(c), l = n(""MVZn""), p = n.n(l), d = {}, h = ""https://th.yangkeduo.com/t.gif"", f = { perf: ""https://tp.yangkeduo.com/p.gif"", error: ""https://te.yangkeduo.com/e.gif"", chat_error: ""https://te.yangkeduo.com/e.gif"", real_error: ""https://tne.yangkeduo.com/tne.gif"", ad: ""https://ta.yangkeduo.com/t.gif"", tracking: ""https://tldas.yangkeduo.com/e.gif"" }, m = { shop: { shopID: 2, name: ""拼多多"", logo: ""https://pinduoduoimg.yangkeduo.com/base/logo.jpg"", weChatTimelineShareDisabled: !1, qqTimelineShareDisabled: !0 }, loggingURL: h, httpsLoggingURL: h, wxAppLoggingURL: ""https://wxapp.yangkeduo.com/t.gif"", qqAppLoggingURL: ""https://wxapp.yangkeduo.com/qqt.gif"", logRoutes: p()({ download: ""https://at.pinduoduo.com/p"" }, f), httpsLogRoutes: p()({}, f), cmtURL: ""http://cmta.yangkeduo.com/api/ajax"", httpsCmtURL: ""https://cmta.yangkeduo.com/api/ajax"", pushDomain: ""ws://push.yangkeduo.com/"", chatDomain: ""ws://ws.yangkeduo.com/"", wssDomain: ""wss://ws.pinduoduo.com/"", fileDomain: ""http://file.yangkeduo.com/"", httpsFileDomain: ""https://file.yangkeduo.com/"", qqFollowTip: ""感谢关注拼多多"", AppID: { FriendPay: -1, WeChat: 2, WeChatWAPPay: 20, SMS: 5, AliPay: 6, QQ: 12, Weibo: 11, AliPayWeb: 9, QQConnect: 13, QQPublicOld: 27, QQPublic: 30, ApplePay: 31, AliPayDirectDebit: 35, WeChatH5Pay: 38, HBInstallmentPay: 52, UnionPay: 78, UnionPayWeb: 79 }, ApiKey: { WeChat: ""wx839691cce7c102bb"", Weibo: ""3907421985"", QQConnect: ""101273489"", QQPublicOld: ""200633114"", QQPublic: ""200675334"", QQUIN: ""1419183687"", QQPublicTrack: ""10000096"", QQPublicMid: ""1316857601"", BaiduStatistics: ""865a6952adbb55a10d86810cdcc6864a"" }, RedirectURI: { AliPayDirectDebit: ""pinduoduoalipays://"", Weibo: ""http://mobile.yangkeduo.com/wboauth_callback.html"", QQConnect: ""http://mobile.yangkeduo.com/qqoauth_callback.html"" }, imgShareDomain: ""http://m.pin3pin.com/"", ContactUrl: ""http://mp.weixin.qq.com/s?__biz=MzIxNzA1NDEyNQ==&mid=649170962&idx=1&sn=8763710a673d7b76f418a7ae76cff86c#rd"", ForceContactUrl: ""http://mp.weixin.qq.com/s?__biz=MzIxNzA1NDEyNQ==&mid=649170998&idx=1&sn=684606e474788e7f191f6f6c68d0dfe4#rd"", QQContactUrl: ""http://post.mp.qq.com/material/show/31343139313833363837-1472733830-1464276288782813-0.html?_wv=2281701505&v=3&sig=73182fcdc7ed1c0b6aeb3ce78501d00b&_bid=2321"", thirdLevelLoginPath: ""jkr_report.html"" }, g = { hutaojie: 1, mobile: 2, weipin: 3, app: 4, huabei: 17, xibei: 18, dongbei: 19, huazhong: 21, huadong: 22, dongnan: 23, xinan: 24, panduoduo: 25, sc: 26, hybrid: ""hybrid"", hybridTest: ""hybridTest"", huanan: 40, hzsc: 41, dnsc: 42, dbsc: 43, xbsc: 44, xnsc: 45, hnsc: 46, hbsc: 47, pddpt: 48, m: 49, mm: 66, mQQ275: 67, myqxgs: 68, ppolosa: 69, dbncyr2: 70, wuaijd: 71, mobpinduoduo: 72, mmpinduoduo: 73, njjjsa: 74, m2gj234g: 75, cbasnd: 76, pmoremore: 77, dasihjf: 78, iyrejug: 79, imfghngg: 80, moremorep: 81 }, v = ""http://fw.yangkeduo.com/"", _ = ""https://mobile.yangkeduo.com/""; d[g.hutaojie] = {}, d[g.mobile] = { domain: ""https://mobile.yangkeduo.com/"", BeiTaiShareDomains: [""http://mobile.pinduoduo.net/""] }, d[g.weipin] = { domain: ""https://weipin.yangkeduo.com/"", AppID: { WeChat: g.weipin }, ApiKey: { WeChat: ""wx51e5fe8c95f71b20"" } }, d[g.huabei] = { domain: ""https://huabei.yangkeduo.com/"", AppID: { WeChat: g.huabei }, ApiKey: { WeChat: ""wx4044e9709b7188ea"" } }, d[g.xibei] = { domain: ""https://xibei.yangkeduo.com/"", AppID: { WeChat: g.xibei }, ApiKey: { WeChat: ""wxbc80866520cc300d"" } }, d[g.dongbei] = { domain: ""https://dongbei.yangkeduo.com/"", AppID: { WeChat: g.dongbei }, ApiKey: { WeChat: ""wx27901e8ab752ed35"" } }, d[g.huazhong] = { domain: ""https://huazhong.yangkeduo.com/"", AppID: { WeChat: g.huazhong }, ApiKey: { WeChat: ""wx95c952f67a727090"" } }, d[g.huadong] = { domain: ""https://huadong.yangkeduo.com/"", AppID: { WeChat: g.huadong }, ApiKey: { WeChat: ""wx03908118b84f285a"" } }, d[g.dongnan] = { domain: ""https://dongnan.yangkeduo.com/"", AppID: { WeChat: g.dongnan }, ApiKey: { WeChat: ""wxff2e8dc2762c5b92"" } }, d[g.xinan] = { domain: ""https://xinan.yangkeduo.com/"", AppID: { WeChat: g.xinan }, ApiKey: { WeChat: ""wx20392b0342c8af91"" } }, d[g.panduoduo] = {}, d[g.sc] = { domain: ""https://sc.yangkeduo.com/"", AppID: { WeChat: g.sc }, ApiKey: { WeChat: ""wx32b0d9cdd390ebf0"" } }, d[g.app] = { domain: ""https://app.yangkeduo.com/"", AppID: { WeChat: 4 }, ApiKey: { WeChat: ""wx77d53b84434b9d9a"" } }, d[g.hybrid] = { shareDomain: ""https://mobile.yangkeduo.com/"", AppID: { WeChat: 4 }, ApiKey: { WeChat: ""wx77d53b84434b9d9a"" } }, d[g.hybridTest] = {}; var b = ""http://mp.weixin.qq.com/s?__biz=MzAxMjcyMTkwOA==&mid=401487202&idx=1&sn=37de9db39432edc32e1eb90d885d7a23#rd""; function y(e, t, n) { n && (n.apiV2 && !t.apiDomain && (t.apiDomain = n.apiV2), n.apiV2 && !t.apiDomainNew && (t.apiDomainNew = n.apiV2), n.apiV3 && !t.apiDomainV3 && (t.apiDomainV3 = n.apiV3)); var r = t.domain || t.shareDomain || v; for (var a in t.shareDomain || (t.shareDomain = r), t.shareDomains = {}, e) if (e.hasOwnProperty(a)) { var i = e[a]; [e.QQChatSession, e.QQZone].indexOf(i) >= 0 ? t.domain && t.domain.indexOf(""m.hutaojie.com"") >= 0 ? t.shareDomains[i] = t.shareDomain : t.shareDomains[i] = _ : t.shareDomains[i] = t.shareDomain } return function() { for (var e = {}, t = 0; t < arguments.length; t++) ""object"" === u()(arguments[t]) && w(e, arguments[t]); return e }(m, t) } function w(e, t) { for (var n in t) if (t.hasOwnProperty(n)) { var r = t[n], a = u()(r); ""number"" === a || ""string"" === a || ""boolean"" === a ? e[n] = r : ""object"" === a ? (e[n] = e[n] || {}, w(e[n], r)) : S(r) && (e[n] = e[n] || [], w(e[n], r)) } } function S(e) { return ""[object Array]"" === Object.prototype.toString.call(e) } d[g.huanan] = { shareDomain: ""https://huanan.yangkeduo.com/"", AppID: { WeChat: 40 }, ApiKey: { WeChat: ""wxaffd94b821032481"" }, ContactUrl: b }, d[g.hzsc] = { shareDomain: ""https://hzsc.yangkeduo.com/"", AppID: { WeChat: 41 }, ApiKey: { WeChat: ""wx7bca1a27af0a31ed"" }, ContactUrl: b }, d[g.dnsc] = { shareDomain: ""https://dnsc.yangkeduo.com/"", AppID: { WeChat: 42 }, ApiKey: { WeChat: ""wxb79645ae502205d9"" }, ContactUrl: b }, d[g.dbsc] = { shareDomain: ""https://dbsc.yangkeduo.com/"", AppID: { WeChat: 43 }, ApiKey: { WeChat: ""wx01e7a1f91b8c43d3"" }, ContactUrl: b }, d[g.xbsc] = { shareDomain: ""https://xbsc.yangkeduo.com"", AppID: { WeChat: 44 }, ApiKey: { WeChat: ""wxc50a66d9b6d566ed"" }, ContactUrl: b }, d[g.xnsc] = { shareDomain: ""https://xnsc.yangkeduo.com"", AppID: { WeChat: 45 }, ApiKey: { WeChat: ""wx52457b6561fcd804"" }, ContactUrl: b }, d[g.hnsc] = { shareDomain: ""https://hnsc.yangkeduo.com"", AppID: { WeChat: 46 }, ApiKey: { WeChat: ""wx8e75952076e03567"" }, ContactUrl: b }, d[g.hbsc] = { shareDomain: ""https://hbsc.yangkeduo.com"", AppID: { WeChat: 47 }, ApiKey: { WeChat: ""wx7388833e69aafd89"" }, ContactUrl: b }, d[g.pddpt] = { shareDomain: ""https://pddpt.yangkeduo.com"", AppID: { WeChat: 48 }, ApiKey: { WeChat: ""wxe1b0f22089fadce1"" }, ContactUrl: b }, d[g.m] = { domain: ""https://m.ishangtong.com"", shareDomain: ""https://m.ishangtong.com"", AppID: { WeChat: 48 }, ApiKey: { WeChat: ""wxe1b0f22089fadce1"" }, ContactUrl: b }, d[g.mm] = { shareDomain: ""https://mm.ishangtong.com"", AppID: { WeChat: 66 }, ApiKey: { WeChat: ""wxf05b577296a1b6ec"" }, ContactUrl: b }, d[g.mQQ275] = { shareDomain: ""http://m.qq275.com"", AppID: { WeChat: 66 }, ApiKey: { WeChat: ""wxf05b577296a1b6ec"" }, ContactUrl: b }, d[g.myqxgs] = { domain: ""https://m.yiqixiegushi.com"", shareDomain: ""https://m.yiqixiegushi.com"", AppID: { WeChat: 66 }, ApiKey: { WeChat: ""wxf05b577296a1b6ec"" }, ContactUrl: b }, d[g.ppolosa] = { shareDomain: ""https://m.ppolosa.com"", AppID: { WeChat: 53 }, ApiKey: { WeChat: ""wx77dc7ecb31f8753f"" }, ContactUrl: b }, d[g.dbncyr2] = { shareDomain: ""https://m.dbncyr2.com"", AppID: { WeChat: 54 }, ApiKey: { WeChat: ""wxc554da0443f11df6"" }, ContactUrl: b }, d[g.wuaijd] = { shareDomain: ""https://m.wuaijd.com"", AppID: { WeChat: 55 }, ApiKey: { WeChat: ""wx3aaf0d6350efffdd"" }, ContactUrl: b }, d[g.mobpinduoduo] = { shareDomain: ""https://mob.pinduoduo.com"", AppID: { WeChat: 56 }, ApiKey: { WeChat: ""wx1e2715638762a51b"" }, ContactUrl: b }, d[g.mmpinduoduo] = { shareDomain: ""https://mm.pinduoduo.com"", AppID: { WeChat: 57 }, ApiKey: { WeChat: ""wxa19650a24138625a"" }, ContactUrl: b }, d[g.njjjsa] = { shareDomain: ""https://m.njjjsa.com"", AppID: { WeChat: 58 }, ApiKey: { WeChat: ""wx0860041d5083277f"" }, ContactUrl: b }, d[g.m2gj234g] = { shareDomain: ""https://m.2gj234g.com"", AppID: { WeChat: 59 }, ApiKey: { WeChat: ""wx866b03419b5b145d"" }, ContactUrl: b }, d[g.cbasnd] = { shareDomain: ""https://m.cbasnd.com"", AppID: { WeChat: 60 }, ApiKey: { WeChat: ""wxc0ac452b68b390c6"" }, ContactUrl: b }, d[g.moremorep] = { shareDomain: ""https://m.moremorep.com"", AppID: { WeChat: 60 }, ApiKey: { WeChat: ""wxc0ac452b68b390c6"" }, ContactUrl: b }, d[g.pmoremore] = { shareDomain: ""https://m.pmoremore.com"", AppID: { WeChat: 61 }, ApiKey: { WeChat: ""wx0912208ebefd2129"" }, ContactUrl: b }, d[g.dasihjf] = { shareDomain: ""https://m.dasihjf.com"", AppID: { WeChat: 62 }, ApiKey: { WeChat: ""wxead675b7b2738326"" }, ContactUrl: b }, d[g.iyrejug] = { shareDomain: ""https://m.iyrejug.com"", AppID: { WeChat: 61 }, ApiKey: { WeChat: ""wx0912208ebefd2129"" }, ContactUrl: b }, d[g.imfghngg] = { shareDomain: ""https://m.imfghngg.com"", AppID: { WeChat: 56 }, ApiKey: { WeChat: ""wx1e2715638762a51b"" }, ContactUrl: b }; var C = { hutaojie: { m: ""hutaojie"", app: ""apptest"" }, yangkeduo: { mobile: ""mobile"", app: ""app"", huabei: ""huabei"", xibei: ""xibei"", dongbei: ""dongbei"", xinan: ""xinan"", huazhong: ""huazhong"", dongnan: ""dongnan"", huadong: ""huadong"", panduoduo: ""panduoduo"", sc: ""sc"", huanan: ""huanan"", hzsc: ""hzsc"", dnsc: ""dnsc"", dbsc: ""dbsc"", xbsc: ""xbsc"", xnsc: ""xnsc"", hnsc: ""hnsc"", hbsc: ""hbsc"", pddpt: ""pddpt"", weipin: ""weipin"" }, ishangtong: { m: ""m"", mm: ""mm"" }, qq275: { m: ""mQQ275"" }, yiqixiegushi: { m: ""myqxgs"" }, ppolosa: { m: ""ppolosa"" }, dbncyr2: { m: ""dbncyr2"" }, wuaijd: { m: ""wuaijd"" }, pinduoduo: { mob: ""mobpinduoduo"", mm: ""mmpinduoduo"" }, njjjsa: { m: ""njjjsa"" }, ""2gj234g"": { m: ""m2gj234g"" }, cbasnd: { m: ""cbasnd"" }, pmoremore: { m: ""pmoremore"" }, dasihjf: { m: ""dasihjf"" }, iyrejug: { m: ""iyrejug"" }, imfghngg: { m: ""imfghngg"" }, moremorep: { m: ""moremorep"" } }; var A, I = function(e) { var t, n = function(e) { var t = { hostName: e || """", hasThirdLevelDomain: !1 }; if (!e) return t.hostName = ""."", t; var n = [""m.ishangtong.com"", ""m.yiqixiegushi.com"", ""m.hutaojie.com""], r = e.split("".""), a = r.length; if (a <= 3) return t; for (var i = r[a - 2], o = 0; o < n.length; o++) { var s = n[o]; if (s.indexOf(i) > 0) return t.hostName = s, t.hasThirdLevelDomain = !0, t } return t }((e = e || {}).hostName), r = n.hostName || ""."", a = r.split("".""); if (e.isModuleVersion) { var i = ""undefined"" != typeof window ? location.href.indexOf(""hutaojie"") >= 0 : r.indexOf(""hutaojie"") >= 0; t = d[i ? g.hybridTest : g.hybrid] } else a.length >= 2 && C[a[1]] && (t = d[g[C[a[1]][a[0]]]]); return t || (t = d[g.mobile]), t.hasThirdLevelDomain = n.hasThirdLevelDomain || !1, y(e.shareType, t, e.defaultApiDomains) }, k = { defaultApiDomains: {} }, E = k.defaultApiDomains.apiV2, T = k.defaultApiDomains.apiV3, N = ""http://apiv5.yangkeduo.com/""; ""undefined"" != typeof window && (E = ""http://apiv3.yangkeduo.com/"", window.location && ""https:"" === window.location.protocol && (A = !0, E = ""https://api.pinduoduo.com/"", N = ""https://apiv5.yangkeduo.com/"")); t.a = { get: function(e, t) { t || (t = ""undefined"" != typeof window && (window.navigator.userAgent || window.navigator.vendor || window.opera) || """"); var n = I({ isModuleVersion: !!t && !(!t.match(/phh_ios_version/i) && !t.match(/phh_android_version/i)), hostName: e, shareType: r, defaultApiDomains: { apiV2: E, apiV3: T } }); return n.api = a, n.shareType = i.a.ShareType, n.apiDomainV5 = N, (window.isUseHttps || A) && (n.apiDomain = n.apiHttpsDomain || ""https://api.pinduoduo.com/"", n.chatDomain = n.wssDomain || n.chatDomain, n.cmtURL = n.httpsCmtURL || n.cmtURL), n }, constant: i.a, error: s, shareType: i.a.ShareType } }, ""3yit"": function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""render"", value: function() { var e, t = this; this.props.title && (e = f.a.createElement(""p"", { className: ""title"" }, this.props.title)); var n = []; return this.props.desc && this.props.desc.forEach(function(e, t) { n.push(f.a.createElement(""p"", { className: ""desc"", key: t }, e)) }), f.a.createElement(""div"", { style: { display: this.state.display }, className: ""bg-fill app-bg-fill"" }, f.a.createElement(""div"", { id: ""confirm-app-download"", className: ""confirm-app-download-v2"" }, f.a.createElement(""div"", { className: ""detail"" }, e, n, f.a.createElement(""div"", { className: ""buttons"" }, f.a.createElement(""div"", { className: ""cancel-button"", onClick: function(e) { t.clickCancel(e) } }, this.props.cancel), f.a.createElement(""div"", { className: ""confirm-button"", onClick: function(e) { t.clickConfirm(e) } }, this.props.confirm))))) } }]), t }(n(""+zrp"").a); m.defaultProps = { desc: [""你还未安装拼多多App,是否前往拼多多App分享这个团?""], confirm: ""前往安装"", cancel: ""取消"" }, t.default = m }, ""41y+"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return w }); var r = n(""MVZn""), a = n.n(r), i = n(""QILm""), o = n.n(i), s = n(""q1tI""), c = n.n(s), u = n(""7xme""), l = n(""i8i4""), p = n.n(l), d = n(""kMSe""), h = n(""2vnA""), f = n(""Pn5d""), m = n(""3OsT""), g = n.n(m), v = n(""uf4C""), _ = function() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; var r = t.map(function(e) { return e._insertCss() }); return function() { return r.forEach(function(e) { return e() }) } }, b = function() { return v.a ? v.a.getInstance().getPageID() : Object(v.b)() }, y = { forceWKWebviewBackRefresh: !0, useStrict: !1 }; function w(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = t.useStrict, r = void 0 === n ? y.useStrict : n, i = t.forceWKWebviewBackRefresh, s = void 0 === i ? y.forceWKWebviewBackRefresh : i, l = o()(t, [""useStrict"", ""forceWKWebviewBackRefresh""]); r && (h.useStrict ? Object(h.useStrict)(!0) : Object(h.f)({ enforceActions: !0 })), u.a.prepare(a()({ requireLogin: e.appConfig.requireLogin, shareInfo: { disableShare: !0 } }, l), function() { return function(e) { var t = e.createStores(), n = b(); Object.keys(t).forEach(function(e) { return t[e].fromJS((window.rawData || {})[e], { pageId: n }) }), 0; p.a.hydrate(c.a.createElement(g.a.Provider, { value: { insertCss: _ } }, c.a.createElement(d.a, t, c.a.createElement(e, { stores: Object.values(t), pageInfo: { pageId: n } }))), document.getElementById(""main"")) }(e) }), s && f.a.isWKWebView && window.addEventListener(""pageshow"", function(e) { e.persisted && location.reload() }), document.body.addEventListener(""touchstart"", function() {}) } }, ""4Agm"": function(e, t) { e.exports = '
\r\n
\r\n
\r\n' }, ""4Mtu"": function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, "".scroll-mask {\n background: #fff;\n opacity: 0;\n height: 100%;\n width: 100%;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 999;\n}\n\n.scroll-container-hidden {\n display: none;\n}"", """"]) }, ""4x4s"": function(e, t, n) { ""use strict""; var r = n(""RIqP""), a = n.n(r), i = n(""b5fu""), o = n(""tWR7""); function s(e, t) { return [].concat(e).filter(function(e) { return 0 === t.indexOf(e) }).length } var c = function() { for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n]; var r = i.a.extend.apply(i.a, t.concat([{ page_el_sn: null, page_id: null, page_sn: null, is_back: null, msgid: null }])), a = {}; for (var o in r) !r.hasOwnProperty(o) || !s([""refer_share""], o) && s([""refer"", ""_x_"", ""_ex_""], o) || (a[o] = r[o]); return a }, u = n(""ouH+""), l = n(""xnWZ""), p = n(""uf4C""), d = n(""3OdE""), h = function() { var e = d.a.get(location.host); return l.b.Current === l.b.WeChat ? e.AppID.WeChat : l.b.Current === l.b.Weibo ? e.AppID.Weibo : l.b.Current === l.b.QQ ? l.b.isNativePlatform() ? e.AppID.QQ : e.AppID.QQConnect : """" }; var f = function() { return [Date.now(), i.a.getRandomString(16)].join("""") }; var m = function() { var e = d.a.constant; return localStorage.getItem(e.LocalStorageKey.UIN) || i.a.getCookieByName(e.CookieKey.UIN) }; var g = function() { var e = localStorage.getItem(""WxCheckPdd""); return null != e ? parseInt(e, 10) || 0 : e }; var v = function(e) { var t = e || {}, n = f(), r = p.a.getInstance(), a = { log_id: n, user_id: u.a.userID, uin: m(), app_id: h(), platform: l.b.Current, app_version: l.b.getAppVersion(), time: n.substring(0, 13), refer_page_name: r.getPageName(), refer_page_id: r.getPageID(), refer_page_sn: r.getPageSN(), wx_check_pdd: g() }; a = i.a.extend(r.getKeyParams(), a), i.a.merge(r.getExtendTransferParameters(!0), a), [""from""].forEach(function(e) { var n = ""refer_channel_"" + e, r = t[e] || o.a.getParameter(e); r && (a[n] = r) }), [""src"", ""campaign"", ""cid"", ""msgid"", ""scene""].forEach(function(e) { var n = ""refer_"" + e, r = t[e] || o.a.getParameter(e); r && (a[n] = r) }), [""refer_share_id"", ""refer_share_uid"", ""refer_share_channel"", ""refer_share_form""].forEach(function(e) { var t = o.a.getParameter(e) || o.a.getParameter(e.slice(6)); t && (a[e] = t) }); var s = { _sid: ""refer_share_id"", _suid: ""refer_share_uid"", _sc: ""refer_share_channel"", _sf: ""refer_share_form"" }; for (var c in s) { var d = o.a.getParameter(c); d && (a[s[c]] = d) } return a }; t.a = function() { for (var e = { api_uid: i.a.getCookieByName(""api_uid"") }, t = arguments.length, n = new Array(t), r = 0; r < t; r++) n[r] = arguments[r]; var s = v(n[0]), u = [].concat(e, n); return o.a.buildQuery(c.apply(void 0, a()(u)), s) } }, ""6qKh"": function(e, t, n) { ""use strict""; n.r(t); var r = n(""q1tI""), a = n.n(r), i = n(""i8i4""), o = n.n(i), s = n(""b5fu""), c = n(""3OdE"").a.constant.PromptType, u = {}; u[c.Default] = n(""K4Ed"").default, ""undefined"" != typeof window && n(""cz+l""); var l = null; t.default = function() { var e = {}, t = function(t, n) { var r = u[t.type]; if (e[n] || !r) l.show(); else { var i = document.createElement(""DIV""); document.body.appendChild(i), l = o.a.render(a.a.createElement(r, { opts: t.options, confirmCallback: t.confirmCallback, cancelCallback: t.cancelCallback, hideCallback: t.hideCallback }), i), e[n] = !0 } }; return { load: function(e) { if (u[(e = e || {}).type]) { var n = ""js-prompt"" + e.type; e.isUnique || (n += Date.now()); var r = function() { t(e, n), e.options && s.a.call(e.options.showCallback) }; e.options.delayLoad ? e.options.delayLoad(r, n) : r() } }, show: t, hide: function() {} } }() }, ""7xme"": function(e, t, n) { ""use strict""; var r = n(""xnWZ""), a = n(""tWR7""), i = n(""ii9O""), o = n(""b5fu""), s = n(""ouH+""), c = n(""Fcpp""), u = n(""uf4C""), l = n(""kk8N""), p = n(""qiMe""), d = n(""IgcI""), h = n(""u/J7""), f = n(""iCc5""), m = n.n(f), g = n(""FYw3""), v = n.n(g), _ = n(""mRg0""), b = n.n(_), y = n(""q1tI""), w = n.n(y), S = n(""i8i4""), C = n.n(S); n(""CdBe""); var A = !1, I = function(e) { function t(n) { m()(this, t); var a = v()(this, e.call(this, n)); return a.componentDidMount = function() { a.isAndroidPlatform() && window.addEventListener(""scroll"", a.disableClickWhenScrolling) }, a.isAndroidPlatform = function() { return ""Android"" === (r.b.isMobile ? r.b.isMobile[0] : null) }, a.componentWillUnmount = function() { window.removeEventListener(""scroll"", a.disableClickWhenScrolling) }, a.disableClickWhenScrolling = function() { var e = a.props.interval || 200; a.setState({ isScrolling: !0 }), clearTimeout(a.scrollTimer), a.scrollTimer = setTimeout(function() { a.setState({ isScrolling: !1 }) }, e) }, a.clickMask = function(e) { e && (e.stopPropagation(), e.preventDefault()) }, a.scrollTimer = null, a.state = { isScrolling: !1 }, a } return b()(t, e), t.prototype.render = function() { var e = this.state.isScrolling; return w.a.createElement(""div"", { className: e ? """" : ""scroll-container-hidden"" }, e && w.a.createElement(""div"", { className: ""scroll-mask"", onClick: this.clickMask })) }, t }(y.Component); I.initGlobal = function() { if (!A) { A = !0; var e = document.createElement(""div""); return e.id = ""global-disable-click"", document.body.appendChild(e), C.a.render(w.a.createElement(I, null), e) } }; var k = I, E = n(""3OdE""), T = E.a.get(location.host), N = { changeTitleWithPararms: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.title || T.shop.name + ""商城""; if (document.title = t, r.b.isNativePlatform() && r.b.isModuleVersion) l.a.callNative(""JSUIControl"", ""setTitle"", Object.assign({}, e, { title: t })); else if (r.b.isEmbeddedBrowser()) { var n = document.createElement(""iframe""); n.setAttribute(""src"", ""/favicon.ico""), n.style.display = ""none"", n.onload = function() { setTimeout(function() { document.body.removeChild(n) }, 0) }, document.body.appendChild(n) } }, changeTitle: function(e) { this.changeTitleWithPararms({ title: e }) } }, x = n(""/O6k""), O = n(""u16y""), D = { Default: ""base/qrcode/v2/force_contact_touch_code_{0}.png"", Resubscribe: ""base/qrcode/v2/re_force_contact_touch_code_{0}.png"", GroupBanner: ""http://pddmaimg.pinduoduo.com/prod/2017-11-06/e087e969-eff7-4858-b0f2-5d6d6d0f9bb5.png"", LuckyDraw: ""base/qrcode/v2/ld_force_contact_touch_code_{0}.png"", FreeTrial: ""base/qrcode/v2/ft_force_contact_touch_code_{0}.png"", NewUserGroup: ""base/qrcode/v2/nb_force_contact_touch_code_{0}.png"", CapitalGift: ""base/qrcode/v2/cg_force_contact_touch_code_{0}.png"", ABAlert: ""base/qrcode/v2/ab_force_contact_touch_code_{0}.png"", GZH: ""base/qrcode/v2/gzh_force_contact_touch_code_{0}.png"", LuckyWheel: ""base/qrcode/v2/lw_force_contact_touch_code_{0}.png"", GPAlert: ""base/qrcode/v2/gp_force_contact_touch_code_{0}.png"", SMAlert: ""base/qrcode/v2/sm_force_contact_touch_code_2.png"", PPAlert: ""base/qrcode/v2/pp_force_contact_touch_code_{0}.png"", PortalSubscribeTopBanner: ""base/qrcode/stb/portal_force_contact_touch_code_{0}.png"", GoodsSubscribeTopBanner: ""base/qrcode/stb/goods_force_contact_touch_code_{0}.png"", NewYearSubscribeTopBanner: ""base/qrcode/stb/new_year_force_contact_touch_code_{0}.png"", CouponShareSubscribeTopBanner: ""base/qrcode/stb/coupon_share_force_contact_touch_code_{0}.png"", BirthpetJoinGame: ""base/qrcode/birthpet/fc_join_game_{0}.png"", BirthpetShareCard: ""base/qrcode/birthpet/fc_share_card_{0}.png"", GroupShareForceContact: ""http://pddmaimg.pinduoduo.com/prod/2017-11-06/d9a1a301-678a-491f-a4e0-b6c0d4eb4fe2.png"", ReceiveRedPacket: ""base/qrcode/v2/receive_red_packet_touch_code_{0}.png"", FreeGroupForceContact: ""base/qrcode/v2/help_free_group.png"" }, P = { Default: ""为了接收发货通知,请先关注{0}"", LuckyWheel: ""为了接收中奖通知,请先关注{0}"", Portal: ""关注{0},尽享特价优惠"" }, R = n(""fhzG""), M = n.n(R); n(""UUTy""); var L = D, U = P, W = E.a.constant, B = E.a.get(location.host), G = M()({ getInitialState: function() { return { style: { display: """" }, imgUrl: """", shopName: B.shop.name, userId: """", html: function() {} } }, getDefaultProps: function() { return { type: """", eventType: """", pageName: """", abTest: !1, abTestForceContactSubTitle: !1 } }, componentWillMount: function() { var e = this.props, t = O.a.getCDNImgURL(o.a.format(L.Default, B.AppID.WeChat + """")), n = parseInt(e.eventType, 10) || 0; e.type === W.QRCodeType.SMAlert ? t = e.smAlertUrl || O.a.getCDNImgURL(L.SMAlert) : e.qrCodeUrl ? t = e.qrCodeUrl : r.b.isWeChatPlatform() && 2 === B.AppID.WeChat ? e.type === W.QRCodeType.Resubscribe ? (t = o.a.format(L.Resubscribe, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : e.type === W.QRCodeType.GroupBanner ? t = L.GroupBanner : e.type === W.QRCodeType.ABAlert ? (t = o.a.format(L.ABAlert, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : e.type === W.QRCodeType.NewUserGroup ? (t = o.a.format(L.NewUserGroup, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : e.type === W.QRCodeType.AfterpayAlert ? (t = o.a.format(L.ABAlert, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : e.type === W.QRCodeType.GPAlert ? (t = o.a.format(L.GPAlert, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : e.type === W.QRCodeType.PPAlert ? (t = o.a.format(L.PPAlert, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : e.type === W.QRCodeType.GroupShareForceContact ? t = L.GroupShareForceContact : [W.QRCodeType.PortalSubscribeTopBanner, W.QRCodeType.GoodsSubscribeTopBanner, W.QRCodeType.NewYearSubscribeTopBanner, W.QRCodeType.CouponShareSubscribeTopBanner].indexOf(e.type) >= 0 ? (t = o.a.format(L[e.type], B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : n === W.EVENT_TYPE.LUCKY_DRAW ? (t = o.a.format(L.LuckyDraw, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : n === W.EVENT_TYPE.FREE_TRIAL ? (t = o.a.format(L.FreeTrial, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : [W.EVENT_TYPE.CAPITAL_GIFT, W.EVENT_TYPE.CAPITAL_GIFT_LOTTERY].indexOf(n) >= 0 && (t = o.a.format(L.CapitalGift, B.AppID.WeChat + """"), t = O.a.getCDNImgURL(t)) : r.b.isQQPlatform() && (t = o.a.format(L.Default, B.AppID.QQPublic + """"), t = O.a.getCDNImgURL(t)), r.b.isWeChatPlatform() && (e.type === W.QRCodeType.GroupBanner ? t = L.GroupBanner : e.type === W.QRCodeType.GroupShareForceContact ? t = L.GroupShareForceContact : e.type === W.QRCodeType.FreeGroupForceContact && (t = O.a.getCDNImgURL(L.FreeGroupForceContact))), this.setState({ imgUrl: t, userId: o.a.getSelfUID() }) }, hide: function() { d.default.enableScroll(), this.props.closeCallback && o.a.call(this.props.closeCallback), this.setState({ style: { display: ""none"" } }) }, forwardDownloadAPP: function() { i.a.forward(""download.html?"" + a.a.buildQuery({ src: ""weixin"", campaign: ""gzh"", cid: ""after_pay_force_contact"" })) }, showTemplate: function() { var e = this.props.pageName, t = this.props.eventType, n = (this.props.abTest, t === W.EventType.FreeTrial || W.EventType.Lottery, this.props.abTestForceContactSubTitle, this.props.type), r = this.state, a = n === W.QRCodeType.PPAlert, i = a || n === W.QRCodeType.GroupShareForceContact, s = o.a.format(U[a ? ""Portal"" : ""Default""], B.shop.name), c = a ? ""长按指纹"" : ""请长按此处指纹"", u = ""长按指纹识别二维码, 关注"" + B.shop.name, l = w.a.createElement(""p"", { className: ""force-contact-desc"" }, ""关注后继续购买, 才能接收发货通知""), p = w.a.createElement(""div"", { className: ""force-contact-main"", style: r.style }, w.a.createElement(""p"", { className: ""user-id"" }, r.userId), w.a.createElement(""div"", { className: ""force-contact-banner"" }, w.a.createElement(""div"", { className: ""icon icon-close force-contact-close-button"", onClick: this.hide, style: { display: i ? """" : ""none"" } })), w.a.createElement(""div"", { className: ""force-contact-content"" }, w.a.createElement(""p"", { className: ""force-contact-tips"" }, s), w.a.createElement(""p"", { className: ""force-contact-desc"" }, w.a.createElement(""b"", null, c), a || "","", ""识别二维码并关注""), w.a.createElement(""div"", { className: ""force-contact-touch"" }, w.a.createElement(""img"", { src: r.imgUrl })), w.a.createElement(""div"", { className: ""force-contact-arrow-new"" }))); if (""group_detail"" === e) { var d = this.props.data || {}, h = d.avatars || {}, f = (h.className || """") + "" "" + (d.className || """"), m = d.tipContent || w.a.createElement(""p"", { className: ""force-contact-tips"" }, d.tip || u); p = ""function"" == typeof d.resetUiForce ? d.resetUiForce(d, scope, { subContent: l, canClosed: i, tipContent: m }) : w.a.createElement(""div"", { className: ""force-contact-main "" + f, style: r.style }, w.a.createElement(""p"", { className: ""user-id"" }, r.userId), d.fullContent || null, w.a.createElement(""div"", { className: ""force-contact-content_new"" }, i && w.a.createElement(""div"", { className: ""fc-close-btn"", onClick: this.hide }), h.content, m, d.subContent || l, d.imgContent || w.a.createElement(""img"", { className: ""receive-red-packet-contact-touch"", src: r.imgUrl }), w.a.createElement(""div"", { className: ""scan-line"" }))) } if (""goods_comments"" === e) { var g = this.props.data || {}, v = g.tipContent || w.a.createElement(""p"", { className: ""force-contact-tips"" }, g.tip || u); p = w.a.createElement(""div"", { className: ""force-contact-main"", style: r.style }, w.a.createElement(""p"", { className: ""user-id"" }, r.userId), w.a.createElement(""div"", { className: ""force-contact-content_new"" }, i && w.a.createElement(""div"", { className: ""fc-close-btn"", onClick: this.hide }), v, l, w.a.createElement(""img"", { className: ""receive-red-packet-contact-touch"", src: r.imgUrl }), w.a.createElement(""div"", { className: ""scan-line"" }))) } return n === W.QRCodeType.ABAlert ? p = w.a.createElement(""div"", { className: ""force-contact-main"", style: r.style }, w.a.createElement(""div"", { className: ""ab-force-contact-content"" }, w.a.createElement(""div"", { className: ""ab-close-button"", onClick: this.hide }), w.a.createElement(""div"", { className: ""ab-tick"" }), w.a.createElement(""p"", { className: ""ab-after-pay"" }, ""支付成功""), w.a.createElement(""div"", { className: ""ab-line"" }), w.a.createElement(""div"", { className: ""ab-force-contact-download"", onClick: this.forwardDownloadAPP }, w.a.createElement(""span"", null, ""前往"", r.shopName, "" App 跟踪物流"")))) : n === W.QRCodeType.AfterpayAlert && (p = w.a.createElement(""div"", { className: ""force-contact-main"", style: r.style }, w.a.createElement(""div"", { className: ""afterpay-contact-content"" }, w.a.createElement(""div"", { className: ""ab-tick"" }), w.a.createElement(""p"", { className: ""ab-after-pay"" }, ""支付成功""), w.a.createElement(""p"", { className: ""ab-force-contact-tips"" }, ""建议关注"", r.shopName), w.a.createElement(""p"", { className: ""ab-force-contact-desc"" }, ""关注后才能收到发货通知哦~""), w.a.createElement(""img"", { className: ""ab-force-contact-touch"", src: r.imgUrl }), w.a.createElement(""div"", { className: ""ab-force-contact-arrow-new"" }), w.a.createElement(""div"", { className: ""extra-hint"" }, w.a.createElement(""b"", null, ""长按指纹""), ""识别二维码来关注"")))), p }, render: function() { return this.showTemplate() } }), Q = { Title: ""请回到QQ首页搜索关注拼多多"", GifUrl: ""base/qq/fc_search.gif"" }, j = { Title: ""请回到微信首页搜索关注拼多多"", GifUrl: ""base/wechat/fc_search_v3.gif"" }, q = ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAYAAAA6oTAqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAGwElEQVRo3u2af4wdVRXHP2/XLm1BTMCCtGNLEQS6nUoVEiIwUEkMDTGZBqq0JOrQSBSE4sMKhEMW5aQCtg0W6w9Qp4Gm/AGUMRL5IabJiKSgQnWEVi1gy0CXrcJCIuiybPnjztvO3jfv7XvPNwYSvskme879ce537o9z7rmvQskQkRnACcBOVd1Xpq2ekoksBXYDMbBHRJa/Z8kAa4Fp2f9TM/ndRUZEjhSRD7VQ9aOW/JEW+p4uIrNKJ5MZug/YCwyJyMpOjDbpfwkwCKQiEovIEaWRAS4HfKAC9AFrRWR+l4jMAELgg5nqDGB1mWSOseReYH03yGQDt5fu3DLJ3FugW5Qtj44hIicBFxUU3VMaGVV9CHiwoGitiEz9H/isLxjLM8DtpZHJ8A3gLUs3F7iiExaZLzqjyI6qjpZKRlV3AhsKiq4VkaPaJDIVWFNQ9EtVfbjdsXXqNL8N2KHJIcB3Ld1uS37JklcBsy3df4ErOxlUxfpS04GNwBJgBzCgqvcVNRSRrwI/stT7gY+p6vNZnaXAncBBwAhwoarek5UdjPEph1h9rFHVVQ1sngrcDHwaEyJdoKpDtXJ7Zq4GlgIfAFxgi4g8ICLzCvq+HfhTwceZUxNU9W5MFHA6MLNGJMNhBUQGgRsKSMwWkc3AY5j91QssAm5pNjNbgbMKBj4K3AZcp6qv5OqfCfwm6xzg78ACVf0PLaDA3pdU9Y5c+TSgClzLgRgvjxdUdXyZ9uZLPM87DvAKGvUApwArPM/7t+d5T8VxPBbH8W7P8x7PPsrDwApVfb0VIpm9ezF7ZAi4UVU3ZSQqnuctAyLMkp/SoItfxXE87vvsmekDvgdcgllqjfA0sExVk1YH3ipEZCawGTizSbX9wF3Apao6XFNOGLCqjgArReQnmHD9nAad9WO88/HdJgP8bBIiTwGXqerv7IJKk0a1KPZm4NgGVQ5W1Te6yURE9lJ8VdgLCLBRVceK2jb1M9mx3A98E7D3wm+7TSTDA5Y8glklx6vqzxsRgeb7okZoBBN7bQYGgMWYuOniEoiACZemAadhjmJR1V0l2Xof/xdUAETkEuAawGlSdwyzvL6mqo+WPbB169YtwlwN5tF8bw8CA9Vq9baKiJyI8RuVFmwAvAjMUdW3SyQyJbMzo8UmbwP9PcD8NogAzGrDSKc4sk0bvcD8Hkyw2M5X3qOqgyWTeQkzM61iFHiyR1X/BqwAngVeneTvj8D5JROhWq2OAedl9iYb0x4gqFarz5c9rvfRKVre+Gma9gGXAudijmhxHKflcL9VhGHYh7m/nAZsA9YEQTDcNTJpmhYFnFscxzmvBDI3Ad/KqYYwPnBjEARjzdo2DTTTNJ2XpukjwBbqI2c/TdNpdB8XWvIRmGvBH8IwbHY1KCaTpumH0zTdgDm2z27Qdgho6XrcJl5ooF8IbA3DcHMYhrOLKkxYZmmaVjDR8GpMwqER/gksdxzn191mEobhAuAXwNFNqr2JybfdEATBeELSJrMSK+NhYRT4ITDgOM4wQJIkJwJfAFJgk+u6Lc9WFEU9GL+1ALjf9/1tGaFaIuNq6jM4eawPgmD8WcUm0yg7AybHfKXjOM/UFEmS9ANPANMz1aPAWa7rthRRRFG0iQN7ZAw4x/f98dkOw3AWJidxAcWH1e4gCI6uCfae+UtBg13A5xzHWZwnkuHWHBEw+bFT7Q7iOK7LrkRRdBQTN3sPsCGKor6aIgiCF4MgWI5J+j1eMLYdWB3k8R1ge/b/q5jrcr/jOPfbvSRJsgSTiLMx7nviOP5UHMc7gJE4jp+O4/iTuXpvYK7EeRwHXGZ3GATBtozQCg6keP+BWYrjqJu67BCYA7zsOM6bBYMlSZKpGMdpPwY96Lru4hyZ3wMn58q3e563MDc7twJfL/gYH/d9/+Ui22EYTsFkSfcEQTDhlaAuB+A4zv6MdTNcUUDkLcz9PY+FlrzAkq8HlgGH53SHAgp8pchwdno9V1TW9itAkiQzMeGGjQ2u6+60dL2WPMGe7/v/ygjZuCiKopNpE508aaym/rjch3nm6AQ/pv7g6QHWRVHUzqWxPTJJkpwCfLGg6DrXdYc7YeL7/ij1yxNMtv/zpZEBvkz9obEd+GknRHKEHsEkyYvslUZmuEBXbdVJToJVmBeBPF4rk8wtHPBDAOtd193aBSL4vr8LuAqT4QdzHR4ojYzruvswfuN04BOu63b15ya+738f83Ouz2B8zV/bad/WadEu4jgexKSNanjF87zDO+1vMpT9Ey37AfcHZRordWYA4jj+LMbz/9nzvLbf9tvBO0XbJi+MSyc4AAAAAElFTkSuQmCC"", V = M()({ getInitialState: function() { return { retryCnt: 0 } }, componentWillMount: function() { var e = r.b.isQQPlatform(); this.GifUrl = O.a.getCDNImgURL(e ? Q.GifUrl : j.GifUrl), this.setState({ title: e ? Q.Title : j.Title, gifUrl: this.GifUrl }), d.default.disableScroll() }, componentDidMount: function() { n(""o1JZ"") }, onGifLoadFailed: function() { this.setState({ retryCnt: this.state.retryCnt + 1, gifUrl: this.GifUrl + ""?retry="" + this.state.retryCnt }) }, render: function() { return w.a.createElement(""div"", { className: ""fc-search-popup"" }, w.a.createElement(""div"", { className: ""panel"" }, w.a.createElement(""p"", { className: ""title"" }, this.state.title), w.a.createElement(""p"", { className: ""hint"" }, ""为了接收发货通知,购买前需先关注""), w.a.createElement(""div"", { className: ""gif-area"" }, w.a.createElement(""img"", { className: ""loading-icon"", src: q }), w.a.createElement(""img"", { className: ""source"", src: this.state.gifUrl, onError: this.onGifLoadFailed })))) } }), F = E.a.constant, K = {}; K = E.a.get(location.host); var H, z = { prepareQQSDK: function(e, t) { var n = null, r = Math.random().toString().substring(2), i = Date.now().toString(), s = ""qq/jsapi/signature?"" + a.a.buildQuery({ noncestr: r, timestamp: i, url: location.href.split(""#"")[0], open_app_id: K.ApiKey.QQPublic }); x.a.apiRequest(""GET"", s, null, function(a) { n = a.signature, function() { if (null != window.mqq && null != n) { if (window.qqReady = !0, o.a.call(t, !0), ""function"" == typeof window.qqAfterReady) o.a.call(window.qqAfterReady); else if (o.a.isArray(window.qqAfterReady)) for (; window.qqAfterReady.length > 0;) o.a.call(window.qqAfterReady.pop()); window.qqAfterReady = null, mqq.config({ debug: !1, appId: K.ApiKey.QQPublic, timestamp: i, nonceStr: r, signature: n, jsApiList: [""showMenuItems"", ""hideMenuItems"", ""onMenuShareAppMessage"", ""onMenuShareTimeline"", ""onMenuShareQQ"", ""onMenuShareQZone"", ""previewImage"", ""chooseImage"", ""uploadImage"", ""getLocation""] }), mqq.ready(function() { var t = [""menuItem:share:appMessage"", ""menuItem:share:qq"", ""menuItem:share:QZone""], n = [""menuItem:favorite"", ""menuItem:openWithSafari"", ""menuItem:openWithQQBrowser"", ""menuItem:share:email""], r = K.shop.weChatTimelineShareDisabled; K.shop.qqTimelineShareDisabled ? n.push(""menuItem:share:timeline"") : null != r && r && !e ? n.push(""menuItem:share:timeline"") : t.push(""menuItem:share:timeline""), mqq.hideMenuItems({ menuList: n }), mqq.showMenuItems({ menuList: t }) }), mqq.error(function(e) { o.a.call(t, !1) }) } }() }) }, qqForwardContact: function(e) { e = e || K.QQContactUrl; var t = { link: location.href }; o.a.saveToLocalStorage(F.LocalStorageKey.LastVisitData, JSON.stringify(t)), setTimeout(function() { location.href = e }, 0) }, qqForwardForceContact: function(e, t, n) { e = e || {}; t = t || K.QQContactUrl, e.notTester ? e.isNormal && c.a.trackingRecord({ event_type: ""force_contact_normal_navigation"", url: location.href }) : c.a.trackingRecord({ event_type: ""force_contact_test_navigation"", url: location.href }); var r = F.QRCodeType.DefaultV2; e.resubscribe ? r = F.QRCodeType.Resubscribe : e.isNewUserGroup && (r = F.QRCodeType.NewUserGroup), this.setLastVisitData(), this.qqForceContactStrategy({ type: r, eventType: n, trackingParams: e.trackingParams, isShowButton: e.isShowButton, isServiceDataCard: e.isServiceDataCard, qrCodeUrl: e.qrCodeUrl, ABTest: e.ABTest }) }, qqForceContactStrategy: function(e) { var t = (e = e || {}).ABTest; if (e.ABTest) { var n = t.result(s.a.userID, !0, K.AppID.QQPublic), r = { op: ""impr"", page_section: ""subscribe_popup"", page_el_sn: e.isShowButton ? ""98997"" : ""99565"" }; n.isQRCode ? r.style = ""qrcode"" : n.isSearch ? r.style = ""search"" : n.isMP ? r.style = ""mp"" : n.isLink && (r.style = ""link""), c.a.trackingRecord(o.a.extend(e.trackingParams || {}, r, { page_name: e.pageName || """" })); var a = document.createElement(""DIV""); n.isQRCode ? (document.body.appendChild(a), C.a.render(w.a.createElement(G, { type: e.type, eventType: e.eventType }), a)) : n.isSearch ? (document.body.appendChild(a), C.a.render(w.a.createElement(V, null), a)) : n.isMP ? setTimeout(function() { location.href = e.mpUrl || n.mpUrl }, 0) : n.isLink && d.default.showJSAlert(F.AlertType.Alert.FCLink, function() { location.href = e.link || n.link }, null, null, {}) } }, qqContactTesterForward: function(e, t) { var n = K.QQContactUrl; !((parseInt(t, 10) || 0) === F.EVENT_TYPE.LUCKY_DRAW) && K.ForceContactUrl && (n = K.QQContactUrl); var r = { goods_id: e.goodsID }; e.groupID && (r.group_id = e.groupID), e.groupOrderID ? r.group_order_id = e.groupOrderID : e.wtID && (r.wt_id = e.wtID), this.qqForwardForceContact(e, n, t) }, qqForceContact: function(e, t) { if (r.b.isQQPlatform()) { t = t || {}; var n = F.ContactURLType.HighPrice, i = r.b.isMobile ? r.b.isMobile[0] : null, s = """"; ""iPhone"" === i ? s = ""ios"" : ""Android"" === i && (s = ""android""); var c = { contact_url_type: n, check_is_active: ""1"", check_app_login: t.checkAppLogin ? ""1"" : null, check_app_login_contain_mobile: ""1"", check_new_app: ""1"", check_sub_content: ""1"", platform: s }; x.a.apiRequest(""GET"", ""user/me?"" + a.a.buildQuery(c), null, function(t) { var n = parseInt(t.uid, 10); localStorage.getItem(F.LocalStorageKey.UID) || o.a.saveToLocalStorage(F.LocalStorageKey.UID, n.toString(36)), t.is_subscribed ? o.a.call(e, t) : o.a.call(e, t, !0, !0, n) }, function(t) { o.a.call(e, t) }) } else o.a.call(e) }, doAfterQQReady: function(e) { window.qqAfterReady || !r.b.isQQPlatform() ? o.a.call(e) : (window.qqAfterReady = window.qqAfterReady || [], window.qqAfterReady.push(e)) } }, J = E.a.constant, Y = E.a.get(location.host), Z = [""addDownloadTask"", ""showMenuItems"", ""hideMenuItems"", ""onMenuShareAppMessage"", ""onMenuShareTimeline"", ""onMenuShareQQ"", ""onMenuShareQZone"", ""onMenuShareWeibo"", ""addCard"", ""chooseCard"", ""openCard"", ""previewImage"", ""editAddress"", ""chooseImage"", ""uploadImage"", ""getLocation"", ""openAddress"", ""getInstallState"", ""launch3rdApp"", ""launchApplication"", ""startRecord"", ""stopRecord"", ""uploadVoice""], X = { SHARE_SESSION: ""menuItem:share:appMessage"", SHARE_QQ: ""menuItem:share:qq"", SHARE_QZONE: ""menuItem:share:QZone"", SHARE_QQ_WEIBO: ""menuItem:share:weiboApp"", FAVORITE: ""menuItem:favorite"", OPEN_WITH_SAFARI: ""menuItem:openWithSafari"", SHARE_EMAIL: ""menuItem:share:email"", SHARE_TIMELINE: ""menuItem:share:timeline"", COPY_URL: ""menuItem:copyUrl"" }, $ = [X.OPEN_WITH_SAFARI, X.SHARE_EMAIL], ee = { WECHAT_SESSION: 1, WECHAT_TIMELINE: 2, QQ_CHAT_SESSION: 4, QQ_ZONE: 5 }, te = ((H = {})[ee.WECHAT_SESSION] = X.SHARE_SESSION, H[ee.WECHAT_TIMELINE] = X.SHARE_TIMELINE, H[ee.QQ_CHAT_SESSION] = X.SHARE_QQ, H[ee.QQ_ZONE] = X.SHARE_QZONE, H), ne = Object.keys(ee).reduce(function(e, t) { return e[ee[t]] = 0, e }, {}), re = { prepareWeChatSDK: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1], n = e.marketActivityID || """", r = Math.random().toString().substring(2), i = Date.now().toString(), s = (window.rawData && window.rawData.wechatShareDomain || {}).wechatKey || Y.ApiKey.WeChat, l = function(n) { var a = n.signature, u = n.shareDomain, l = n.openAppID, p = n.share, d = n.mirror, h = n.shareTypeEnable, f = n.magicTrace; if (window.wx && a) { var m = { mirror: d, share: p, shareDomain: u, openAppID: l, magicTrace: f }; d ? s = l : p && l && (s = l, a = "" ""), location.hostname.indexOf("".ishangtong.com"") > -1 && (/^\/group\d+/.test(location.pathname) || /act_group/.test(location.pathname)) && window.rawData && window.rawData.showShareTimeline && (a = "" ""), m.wechatAppID = s, wx.config({ debug: !1, beta: !0, appId: s, timestamp: i, nonceStr: r, signature: a, jsApiList: Z }), wx.ready(function() { var n = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1]; return e = Object.assign({}, ne, e), Object.keys(e).reduce(function(n, r) { r = parseInt(r, 10); var a = te[r]; if (t && [ee.WECHAT_SESSION, ee.WECHAT_TIMELINE].indexOf(r) < 0) a && n.menuShareItemsToHide.push(a); else { var i = e[r] ? n.menuShareItemsToShow : n.menuShareItemsToHide; a && i.push(a) } return n }, { menuShareItemsToShow: [], menuShareItemsToHide: [] }) }(h, e.onlyWeChat), r = n.menuShareItemsToShow, a = n.menuShareItemsToHide, i = [], s = $.concat(a); if (e.disableShare ? s = s.concat(r) : i = i.concat(r), e.disableCopyUrl && s.push(X.COPY_URL), e.enableBroswerOpen && s.splice(0, 1), wx.hideMenuItems({ menuList: s }), wx.showMenuItems({ menuList: i }), window.wxReady = !0, o.a.call(t, !0, m), ""function"" == typeof window.wxAfterReady) o.a.call(window.wxAfterReady); else if (o.a.isArray(window.wxAfterReady)) for (; window.wxAfterReady.length > 0;) o.a.call(window.wxAfterReady.pop()); window.wxAfterReady = null }), wx.error(function(e) { c.a.trackingRecord({ op: ""error"", event: ""wx_error"", signature: a, res: JSON.stringify(e) }), o.a.call(t, !1, m) }) } }, p = ""weixin/jsapi/signature?"" + a.a.buildQuery({ page_sn: u.a.getInstance().getPageSN(), noncestr: r, timestamp: i, open_app_id: s, url: location.href.split(""#"")[0], activity: n }); return new Promise(function(e, t) { x.a.apiRequest(""GET"", p, null, function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; e({ signature: t.signature, openAppID: t.open_app_id, shareDomain: t.share_domain, share: !!parseInt(t.share, 10), mirror: !!parseInt(t.mirror, 10), shareTypeEnable: t.share_type_enable, magicTrace: t.magic_trace }) }, function() { e({}) }, !0, !1, !0) }).then(function(e) { l(e) }) }, doAfterWxReady: function(e) { window.wxReady || !r.b.isWeChatPlatform() ? o.a.call(e) : (window.wxAfterReady = window.wxAfterReady || [], window.wxAfterReady.push(e)) }, setLastVisitData: function() { var e = { link: location.href }; o.a.saveToLocalStorage(J.LocalStorageKey.LastVisitData, JSON.stringify(e)) }, weChatForwardForceContact: function(e, t, n) { t = t || Y.ContactUrl, e.isNormal && c.a.trackingRecord({ event_type: ""force_contact_normal_navigation"", url: location.href }), this.setLastVisitData(); var r = J.QRCodeType.Default; e.resubscribe ? r = J.QRCodeType.Resubscribe : e.isNewUserGroup ? r = J.QRCodeType.NewUserGroup : e.groupPageForceContact ? r = J.QRCodeType.GPAlert : e.portalPageForceContact ? r = J.QRCodeType.PPAlert : e.freeGroupForceContact && (r = J.QRCodeType.FreeGroupForceContact), r === J.QRCodeType.ABAlert && x.a.apiRequest(""post"", ""subscriber/track"", { src: ""ab"", goods_id: e.goodsID, group_order_id: e.groupOrderID, wt_id: e.wtID }, null, null, null, null, !0), this.weChatForceContactStrategy({ type: r, eventType: n, pageName: e.pageName, ABTest: e.ABTest, trackingParams: e.trackingParams, abTestForceContactSubTitle: e.abTestForceContactSubTitle, options: e }) }, weChatForceContactStrategy: function(e) { var t = (e = e || {}).ABTest, n = sessionStorage.getItem(J.SessionStorageKey.SubscribeContent), a = null; if (n) try { a = JSON.parse(n) } catch (e) { a = null } var i = {}; if (a && a.type) switch (c.a.trackingRecord(o.a.extend({ op: ""impr"", page_section: ""subscribe_popup"" }, e.trackingParams || {}, { page_name: e.pageName || """", style: { q: ""qrcode"", p: ""mp"", s: ""search"", h: ""link"", qs: ""qrcodeSecond"" }[a.type] })), a.type) { case ""q"": i.isQRCode = !0, i.qrCodeUrl = a.content; break; case ""qs"": i.isQRCode = !0, i.qrCodeUrl = a.content, i.abTest = !0; break; case ""p"": i.isMP = !0, i.mpUrl = a.content; break; case ""s"": i.isSearch = !0; break; case ""h"": i.isLink = !0, r.b.isShowSMAlertPlatform() ? i.smAlertUrl = a.content : i.link = a.content } else i = t.result(s.a.userID, !1, Y.AppID.WeChat); var u = document.createElement(""DIV""); i.isQRCode ? (document.body.appendChild(u), C.a.render(w.a.createElement(G, { type: e.type, eventType: e.eventType, qrCodeUrl: i.qrCodeUrl, pageName: e.pageName, abTest: i.abTest || !1, abTestForceContactSubTitle: e.abTestForceContactSubTitle || !1, data: e.options }), u)) : i.isSearch ? (document.body.appendChild(u), C.a.render(w.a.createElement(V, null), u)) : i.isMP ? setTimeout(function() { location.href = e.mpUrl || i.mpUrl }, 0) : i.isLink && (r.b.isShowSMAlertPlatform() ? (document.body.appendChild(u), C.a.render(w.a.createElement(G, { type: J.QRCodeType.SMAlert, smAlertUrl: i.smAlertUrl, pageName: e.pageName, eventType: e.eventType, data: e.options }), u)) : d.default.showJSAlert(J.AlertType.Alert.FCLink, function() { location.href = e.link || i.link }, null, null, {})) }, weChatContactTesterForward: function(e, t) { var n = this, r = Y.ContactUrl; !((parseInt(t, 10) || 0) === J.EVENT_TYPE.LUCKY_DRAW) && Y.ForceContactUrl && (r = Y.ForceContactUrl); var a = { goods_id: e.goodsID }; e.groupID && (a.group_id = e.groupID), e.groupOrderID && (a.group_order_id = e.groupOrderID), x.a.apiRequest(""post"", ""subscriber/track"", a, function(a) { n.weChatForwardForceContact(e, r, t) }, function(a) { n.weChatForwardForceContact(e, r, t) }) }, weChatForceContact: function(e, t, n, a, i) { if (r.b.isWeChatPlatform()) { var c = {}; (i = i || {}).notTester = !0; var u = t ? J.ContactURLType.LowPrice : J.ContactURLType.HighPrice, l = r.b.isMobile ? r.b.isMobile[0] : null, p = """"; ""iPhone"" === l ? p = ""ios"" : ""Android"" === l && (p = ""android""); var d = { contact_url_type: u, check_app_login: i.checkAppLogin ? ""1"" : null, check_app_login_contain_mobile: ""1"", check_is_active: ""1"", check_is_ten_yuan: ""1"", check_new_app: ""1"", check_weixin_sp: J.ForceContactAppIDs.indexOf(Y.AppID.WeChat) >= 0 ? ""1"" : null, check_sub_content: r.b.isShowSMAlertPlatform() ? ""1"" : ""2"", get_url: ""1"", platform: p }; i.checkUserSharable && (d.check_user_sharable = ""1""), void 0 != i.eventType && (d.event_type = i.eventType); var h = function() { c.grade && (c.userInfo || c.userInfoFailed) && (c.userInfoFailed ? o.a.call(e) : function() { var t = c.userInfo; t.contact_url && (a && Y.ContactUrl ? Y.ContactUrl = t.contact_url : !a && n && Y.ForceContactUrl && (Y.ForceContactUrl = t.contact_url)); var r = s.a.selfInfo.getInstance(c.grade), i = r.getCreateOrderContact(), u = parseInt(t.uid, 10), l = t.app_download || {}; if (o.a.isArray(l) && (l = {}), l.gender = t.gender, l.isNewAppUser = t.is_new_app_user, l.isSubscribed = t.is_subscribed, l.hasAppLogin = t.has_app, l.hasAppContainMobile = t.has_app_contain_mobile, l.orderForceContact = i, l.groupBannerForceContact = r.getGroupBannerContact(), l.groupPageForceContact = r.getGroupPageContact(), l.monthActive = t.user_tags && t.user_tags.active || ""0"", l.tenYuan = t.user_tags && t.user_tags.ten_yuan || ""0"", s.a.userID = u, !t.is_subscribed) { var p = t.sub_content ? JSON.stringify(t.sub_content) : null; return o.a.saveToSessionStorage(J.SessionStorageKey.SubscribeContent, p), void(t.cancel_subscribe ? o.a.call(e, i, !0, u, l) : n || ""0"" !== l.tenYuan ? o.a.call(e, i, !1, u, l) : o.a.call(e, !1, !1, u, l)) } o.a.call(e, !1, !1, u, l) }()) }; s.a.requestSelfInfo(d, function(e) { c.userInfo = e, h() }, function() { c.userInfoFailed = !0, h() }), c.grade = 2 } else o.a.call(e) }, hideTimelineInWeChatMenu: function() { r.b.isWeChatPlatform() && this.doAfterWxReady(function() { window.wx && wx.hideMenuItems({ menuList: [""menuItem:share:timeline""] }) }) }, weChatGetAPPInstallState: function() { var e = { installed: !1, version: """", ready: !1 }; return new Promise(function(t, n) { window.WeixinJSBridge && window.WeixinJSBridge.invoke ? window.WeixinJSBridge.invoke(""getInstallState"", { packageName: ""com.xunmeng.pinduoduo"" }, function(r) { e.ready = !0, r.versionName ? (e.installed = !0, e.version = r.versionName, t(e)) : n(e) }) : n(e) }) }, wechatLaunchPDDApp: function(e, t, n, i) { var s = this, c = u.a.getInstance().getExtendTransferParameters(!0), l = document.createElement(""a""); if (l.href = a.a.buildURL(c, e), e = (l.pathname + l.search).slice(1), r.b.WeChatCurrent === r.b.WeChatAndroid) this.doAfterWxReady(function() { s.weChatGetAPPInstallState().then(function(a) { o.a.compareVersion(a.version, r.b.launchAppVersion) > 0 ? s.wechatLaunchApplication(e, t, n) : o.a.call(n) }, n).catch(n) }); else if (r.b.WeChatCurrent === r.b.WeChatIOS) { r.b.IOSSystemVersion.split("".""); this.doAfterWxReady(function() { s.wechatLaunchApplication(""pinduoduo://com.xunmeng.pinduoduo/"" + e, t, n) }) } else o.a.call(n) }, wechatLaunch3rdApp: function(e, t, n) { var r = ""from=wx_webview&forward_url="" + encodeURIComponent(e); this.doAfterWxReady(function() { wx && wx.invoke ? wx.invoke(""launch3rdApp"", { appID: ""wx77d53b84434b9d9a"", extInfo: r, messageExt: e }, function(e) { ""launch_3rdApp:ok"" === e.err_msg ? ""function"" == typeof t && t(e) : ""function"" == typeof n && n(e) }) : ""function"" == typeof n && n() }) }, wechatLaunchApplication: function(e, t, n) { var r = ""from=wx_webview&forward_url="" + encodeURIComponent(e); this.doAfterWxReady(function() { wx && wx.invoke ? wx.invoke(""launchApplication"", { appID: ""wx77d53b84434b9d9a"", extInfo: r, messageExt: e }, function(e) { ""launchApplication:ok"" === e.err_msg ? ""function"" == typeof t && t(e) : ""function"" == typeof n && n(e) }) : ""function"" == typeof n && n() }) }, weChatGetAPPInstallStateAfterWxReady: function(e) { var t = { installed: !1, version: """", ready: !1, wxCheckPdd: 2 }; this.doAfterWxReady(function() { window.WeixinJSBridge && window.WeixinJSBridge.invoke ? window.WeixinJSBridge.invoke(""getInstallState"", { packageName: ""com.xunmeng.pinduoduo"", packageUrl: ""pinduoduo://"" }, function(n) { t.ready = !0, n.versionName || n.err_msg && n.err_msg.match(/get_install_state:yes/) ? (t.installed = !0, t.version = n.versionName, t.wxCheckPdd = 1, e(t)) : n.err_msg && n.err_msg.match(/get_install_state:no/) ? (t.wxCheckPdd = 0, e(t)) : e(t) }) : e(t) }) }, weChatOpenAddress: function(e, t) { var n = c.a.getLogID(); if (r.b.isWeChatPlatform() && window.wx && window.wx.openAddress) { c.a.trackingRecord({ log_id: n, event: ""open_address"", status: ""start"" }); var a = function() { wx.openAddress({ trigger: function(e) {}, success: function(t) { ""openAddress:ok"" === t.errMsg ? (o.a.call(e, t), c.a.trackingRecord({ log_id: n, event: ""open_address"", status: ""success"" })) : c.a.trackingRecord({ log_id: n, event: ""open_address"", status: ""error"", msg: t.errMsg }) }, cancel: function(e) { c.a.trackingRecord({ log_id: n, event: ""open_address"", status: ""cancel"" }) }, fail: function(e) { o.a.call(t), c.a.trackingRecord({ log_id: n, event: ""open_address"", status: ""fail"" }) } }) }; window.wxReady ? o.a.call(a) : (d.default.showToast(""正在从微信获取""), this.doAfterWxReady(a)) } } }, ae = n(""MCLT""), ie = n.n(ae), oe = { ShareChannel: { Unknown: ""unknown"", AppMessage: ""message"", Timeline: ""timeline"", QQ: ""qq"", QQZone: ""qzone"", QQWeibo: ""qq_weibo"", SinaWeibo: ""weibo"" }, ShareResult: { Success: ""success"", Fail: ""fail"", Cancel: ""cancel"", Complete: ""complete"" }, ShareFakeUrl: { domain: ""http://hz.pin18pin.com/"", start: ""https://open.weixin.qq.com/connect/oauth2/authorize?response_type=code&scope=snsapi_base&appid={0}&redirect_uri={1}"" }, ImgCDNDomain: ""http://pinduoduoimg.yangkeduo.com/"", WaterMark: { Default: ""!share_v2"", WeChatMsg: ""!share_v3"", Share: ""!share"", Transparent: ""!transparent"", None: """", NoLogo: ""!share_v4"" }, ReferPageKeys: [""refer_page_name"", ""refer_page_section"", ""refer_page_element"", ""refer_page_id"", ""refer_page_sn"", ""refer_page_el_sn"", ""refer_mid"", ""refer_adg"", ""refer_cam"", ""refer_ced""] }, se = E.a.shareType, ce = oe.ShareChannel, ue = oe.ShareResult, le = function() { var e = {}; return e[ce.AppMessage] = ""appMessage"", e[ce.Timeline] = ""timeline"", e[ce.QQ] = ""qq"", e[ce.QQZone] = ""qqZone"", e[ce.QQWeibo] = ""qqWeibo"", e[ce.SinaWeibo] = ""sinaWeibo"", e }(), pe = function() { var e = []; for (var t in ce) if (ce.hasOwnProperty(t)) { var n = ce[t]; for (var r in ue) if (ue.hasOwnProperty(r)) { var a = ue[r]; e.push(he(n, a)) } } return e }(), de = function() { var e = {}; return e[se.WeChatSession] = ce.AppMessage, e[se.WeChatTimeline] = ce.Timeline, e[se.Weibo] = ce.SinaWeibo, e[se.QQChatSession] = ce.QQ, e[se.QQZone] = ce.QQZone, e[se.TencentWeibo] = ce.QQWeibo, e }(); function he(e, t) { return [le[e], ""Share"", t.slice(0, 1).toUpperCase() + t.slice(1)].join("""") } var fe = { createShareID: function(e) { e = e || 32; for (var t = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"", n = t.length, r = """", a = 0; a < e; a++) r += t.charAt(Math.floor(Math.random() * n)); return r }, getShareCallbackName: he, getShareChannelByType: function(e) { return de[e] }, ShareCallbackNames: pe, ChanelByTypeMap: de }, me = E.a.shareType, ge = oe.ShareChannel, ve = function(e) { this.updateShareID(), e = e || {}, this.dealWithOpts(e), this.shareCallbacks = {}, this.shareURLs = {} }, _e = E.a.get(location.host), be = [""unionShareCallback"", ""forceShareToWeChatTimeline"", ""revertHardCodeFor161024"", ""onlyWeChat"", ""pageName"", ""extra"", ""keyParams"", ""disableShareWeibo"", ""cid""], ye = [""shareID"", ""title"", ""message"", ""timelineMessage"", ""thumbnailURL"", ""thumbnailURL4WeChatMsg"", ""shareURL"", ""shareURLs"", ""waterMark"", ""mini_object_path""].concat(be), we = function() { var e = { code: null, from: null, isappinstalled: null, at: null, share_id: null, is_back: null, page_id: null, list_id: null }; return oe.ReferPageKeys.forEach(function(t) { e[t] = null }), e }(); ve.prototype.dealWithOpts = function(e) { this.setupDefaultShareInfo(e), this.userID = e.userID, this.trackingRecord = e.trackingRecord, this.shareDomain = e.shareDomain, this.shareDomains = e.shareDomains, this.beiTaiShareDomains = e.beiTaiShareDomains, this.timelineDomain = e.timelineDomain, this.timelineAppId = e.timelineAppId }, ve.prototype.updateShareID = function(e) { this.shareID = fe.createShareID(), e && this.refreshShareURL() }, ve.prototype.updateShareUrl = function(e) { var t = this.shareDomain; return this.shareURL.match(/group\d+.html/) && (t = this.getShareDomain(e)), this.shareURL = a.a.buildURL(null, this.shareURL, t), this.shareURL }, ve.prototype.prepare = function(e, t) { this.prepareShareInfo(e, t) }, ve.prototype.prepareShareInfoCommon = function(e, t) { var n = this, r = u.a.getInstance(); if (this.pageName = this.pageName || r.getPageName(), this.keyParams = this.keyParams || r.getKeyParams(), this.passQuery = this.passQuery || r.getExtendTransferParameters(!0), this.title = e.title || this.DEFAULT_SHARE_TITLE, this.message = e.message || this.DEFAULT_SHARE_DESCRIPTION, this.timelineMessage = e.timelineMessage || this.message, this.waterMark = e.waterMark, this.timelineDomain = e.timelineDomain || this.timelineDomain, this.timelineAppId = e.timelineAppId || this.timelineAppId, e.wechatAppID && (this.wechatAppID = e.wechatAppID), null == this.waterMark && (this.waterMark = oe.WaterMark.Default), e.thumbnailURL) { var i = e.thumbnailURL; this.thumbnailURL = O.a.addWaterMark(i, this.waterMark), this.waterMark === oe.WaterMark.Default && (this.thumbnailURL4WeChatMsg = O.a.addWaterMark(i, oe.WaterMark.WeChatMsg, !0)), this.waterMark === oe.WaterMark.NoLogo && (this.thumbnailURL4WeChatMsg = this.thumbnailURL) } else this.thumbnailURL = this.DEFAULT_SHARE_THUMBNAIL_URL; e.mini_object_path && (this.mini_object_path = e.mini_object_path), this.thumbnailURL4WeChatMsg = this.thumbnailURL4WeChatMsg || this.thumbnailURL, this.thumbnailURL = this.thumbnailURL.replace(/^\/\//, ""http://""), this.thumbnailURL4WeChatMsg = this.thumbnailURL4WeChatMsg.replace(/^\/\//, ""http://""); var s = e.shareURL || this.DEFAULT_SHARE_URL, c = o.a.extend(a.a.parseQuery(s.split(""?"")[1]), { _wv: 41729, _wvx: 10, refer_share_id: this.shareID, refer_share_uid: this.userID, refer_share_channel: ge.AppMessage }, we, this.passQuery); for (var l in this.shareURL = a.a.buildURL(c, a.a.fullURL(s)), this.updateShareUrl(), fe.ChanelByTypeMap) if (fe.ChanelByTypeMap.hasOwnProperty(l)) { var p = fe.ChanelByTypeMap[l]; this.shareURLs[l] = a.a.buildURL({ refer_share_channel: p }, this.shareURL, this.shareDomains[l]) } this.shareURLs[me.WeChatTimeline] = e.timelineShortURL || this.shareURLs[me.WeChatTimeline], this.shareURLs[me.Weibo] = a.a.buildURL({ refer_share_uid: null, refer_share_channel: null }, this.shareURLs[me.Weibo]), fe.ShareCallbackNames.forEach(function(t) { o.a.isFunc(e[t]) && (n.shareCallbacks[t] = e[t]) }), be.forEach(function(t) { null != e[t] && (n[t] = e[t]) }); var d = this.preparePlatformShare(); o.a.isFunc(t) && t(d) }, ve.prototype.prepareShareInfo = function(e, t) { var n = this; r.b.isNativePlatform() && ""function"" == typeof n.getAppID ? n.getAppID().then(function(r) { n.wechatAppID = r, n.prepareShareInfoCommon(e, t) }).catch(function() { n.prepareShareInfoCommon(e, t) }) : n.prepareShareInfoCommon(e, t) }, ve.prototype.preparePlatformShare = function() { return !0 }, ve.prototype.onShareClick = function(e, t) { var n = (t = t || {}).cid || this.cid, r = t.shareForm || ""url"", a = t.campaign || r, i = { op: ""event"", sub_op: ""share"", share_id: this.shareID, share_channel: e, share_url: this.shareURLs[t.shareType], share_form: r, share_domain: this.getShareDomain(t.shareType), cid: n, campaign: a }; this.wechatAppID && (i.share_app_id = this.wechatAppID), this.trackingRecord(i) }, ve.prototype.shareCallback = function(e, t, n) { if (n = n || {}, o.a.isFunc(this.unionShareCallback)) this.unionShareCallback(0, { shareType: n.shareType, isSuccess: n.isSuccess ? 1 : 0, share_id: this.shareID, share_channel: e, share_result: t, timeline_domain: this.timelineDomain }); else { var r = { op: ""event"", sub_op: ""share_result"", event: ""share_result"", share_id: this.shareID, share_channel: e, share_result: t, timeline_domain: this.timelineDomain }; this.pageName && (r.useExistsParams = !0, r.page_name = this.pageName), this.trackingRecord(r); var a = fe.getShareCallbackName(e, t); o.a.isFunc(this.shareCallbacks[a]) && this.shareCallbacks[a]() } this.updateShareID(!0) }, ve.prototype.getShareInfo = function() { var e = {}, t = this, n = this.getUsefulKeys(); for (var r in n.forEach(function(n) { null != t[n] && (e[n] = t[n]) }), t.shareCallbacks) t.shareCallbacks.hasOwnProperty(r) && (e[r] = t.shareCallbacks[r]); return e }, ve.prototype.setupDefaultShareInfo = function(e) { var t = e.shop || _e.shop; this.DEFAULT_SHARE_TITLE = t.name + ""商城"", this.DEFAULT_SHARE_DESCRIPTION = ""风靡全国的拼单商城,优质商品新鲜直供,快来一起"" + t.name + ""吧"", this.DEFAULT_SHARE_THUMBNAIL_URL = t.logo, this.DEFAULT_SHARE_URL = ""/index.html"" }, ve.prototype.getShareDomain = function(e) { if (e === me.WeChatTimeline) return this.getTimeLineShareDomain(); var t = [this.shareDomain].concat(this.beiTaiShareDomains || []); return t[Math.floor(Math.random() * t.length)] }, ve.prototype.getTimeLineShareDomain = function() { var e = this.shareDomains[me.WeChatTimeline] || this.shareDomain; return ""string"" == typeof e ? e : e[Math.floor(Math.random() * e.length)] }, ve.prototype.refreshShareURL = function() { var e = { refer_share_id: this.shareID }; for (var t in this.shareURL = a.a.buildURL(e, this.shareURL), this.shareURLs) this.shareURLs.hasOwnProperty(t) && (this.shareURLs[t] = a.a.buildURL(e, this.shareURLs[t])); this.preparePlatformShare() }, ve.prototype.getUsefulKeys = function() { return ye }; var Se = ve, Ce = n(""J66h""), Ae = function(e) { Se.call(this, e) }, Ie = E.a.shareType, ke = oe.ShareResult, Ee = oe.ShareFakeUrl, Te = [{ name: ""onMenuShareAppMessage"", imgKey: ""thumbnailURL4WeChatMsg"", shareType: Ie.WeChatSession }, { name: ""onMenuShareTimeline"", titleKey: ""timelineMessage"", shareType: Ie.WeChatTimeline }, { name: ""onMenuShareQQ"", shareType: Ie.QQChatSession }, { name: ""onMenuShareQZone"", shareType: Ie.QQZone }, { name: ""onMenuShareWeibo"", shareType: Ie.TencentWeibo }]; ie.a.inherits(Ae, Se), Ae.prototype.preparePlatformShare = function() { if (""undefined"" == typeof wx) return !1; var e = this; return Te.forEach(function(t) { if (o.a.isFunc(window.wx[t.name])) { var n = fe.getShareChannelByType(t.shareType), r = e.shareURLs[t.shareType] || e.shareURL; if (t.shareType === Ie.WeChatTimeline && e.keyParams.needTimeline) { var i = (window.rawData && window.rawData.wechatShareDomain || {}).domain; if (i) { var s = o.a.getRandomString(10), c = r.replace(e.shareDomain, """"); r = ""http://"" + i + ""/"" + (c = (c = Ce.Base64.encode(s + ""/"" + c)).replace(/\+/g, ""-"").replace(/\//g, ""_"").replace(/=/g, "","")) } else { var u = r.replace(e.shareDomain, """"), l = e.timelineDomain || ""m.qdlsgg.cn""; r = o.a.format(Ee.start, e.timelineAppId || ""wxa19650a24138625a"", encodeURIComponent(""http://"" + l + u + ""&xxx_state=123"")) } } t.shareType !== Ie.QQChatSession && t.shareType !== Ie.QQZone || (r += r.split(""?"").length <= 1 ? ""?"" : ""&"", r += a.a.buildQuery({ sf_tag: ""wechat"" })), window.wx[t.name]({ title: e[t.titleKey] || e.title, desc: e[t.descKey] || e.message, imgUrl: e[t.imgKey] || e.thumbnailURL, link: r, trigger: function() { e.onShareClick(n, { shareType: t.shareType }) }, success: function() { e.shareCallback(n, ke.Success) }, fail: function() { e.shareCallback(n, ke.Fail) }, cancel: function() { e.shareCallback(n, ke.Cancel) } }) } }), !0 }; var Ne = { instance: null, getInstance: function(e) { return this.instance || (this.instance = new Ae(e)), this.instance } }, xe = function(e) { Se.call(this, e), this.DEFAULT_SHARE_THUMBNAIL_URL = O.a.getCDNImgURL(Pe) }, Oe = E.a.shareType, De = oe.ShareResult, Pe = ""base/logo200.jpg"", Re = [{ shareType: Oe.QQChatSession }, { shareType: Oe.QQZone }, { imgKey: ""thumbnailURL4WeChatMsg"", shareType: Oe.WeChatSession }, { titleKey: ""timelineMessage"", shareType: Oe.WeChatTimeline }]; ie.a.inherits(xe, Se), xe.prototype.preparePlatformShare = function() { var e = this; if (""undefined"" == typeof mqq || !mqq.ui) return !1; mqq.ui.setOnShareHandler(function(t) { var n = Re[parseInt(t, 10)], r = { title: e[n.titleKey] || e.title, desc: e[n.descKey] || e.message, share_type: t, share_url: e.shareURLs[n.shareType] || e.shareURL, image_url: e[n.imgKey] || e.thumbnailURL, back: !0 }, a = fe.getShareChannelByType(n.shareType); e.onShareClick(a, { shareType: n.shareType }), mqq.ui.shareMessage(r, function(t) { switch (parseInt(t.retCode, 10)) { case 0: e.shareCallback(a, De.Success); break; case 1: case -2: e.shareCallback(a, De.Cancel); break; default: e.shareCallback(a, De.Fail) } }) }) }; var Me = { instance: null, getInstance: function(e) { return this.instance || (this.instance = new xe(e)), this.instance } }, Le = [""shareToWeChatTimelineInAppDisabled"", ""template"", ""infoVisibleFlag"", ""subscribedTip"", ""subscribedDesc"", ""newUserGroupInfo"", ""imageURL"", ""complete"", ""timelineDomain"", ""timelineAppId"", ""useSubDirectoryURL"", ""imgShareInfo"", ""imgShareCallback"", ""imgShareFailCallback""], Ue = 1; function We(e) { Se.call(this, e) } ie.a.inherits(We, Se), We.prototype.prepareShareInfo = function(e, t) { Se.prototype.prepareShareInfo.call(this, e, t); var n = this; Le.forEach(function(t) { null != e[t] && (n[t] = e[t]) }) }, We.prototype.getAppID = function() { return new Promise(function(e, t) { p.a.venderAppIds({ channels: [Ue] }, function(t) { e(t["""" + Ue]) }, function() { t("""") }) }) }, We.prototype.getUsefulKeys = function() { return Se.prototype.getUsefulKeys.call(this).concat(Le) }; var Be = { WeChat: Ne, QQ: Me, Native: { instance: null, getInstance: function(e) { return this.instance || (this.instance = new We(e)), this.instance } } }, Ge = ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAMAAAArteDzAAAAP1BMVEUAAADgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISjgISikM4n4AAAAFHRSTlMAl8xnGKvX5fG5djMsWYYiC05DPAOsuhIAAAF3SURBVFjD7dfbbsMgDAZgEyhncmjy/s+6mbZaOrNuMp40afyXVvQFEhslMDLyB5PhF6IvQLOo6fvEF+hB1eyPH0S9Qqkajm6Uqu8l17l9qtZldEVVVRiFmahclD4BYRS2qgqjsHtUhVHIDlVhFIxFVRgFE1AVRc2y7BZVCXTZogr2dH70ojkGd6eE0DRXUBIt08lxU1BzjBprlo0W+/Cs0mk9DaszTHR/kEGb853eKz4DD53va4yGjv8VWOhib2T5VL9itQALTfWVe03q2KkRWOju0QyGrN9VhoWmakY6o2gGYKHGoVnaB9S08tCA5kbKa216AyxUt/cO4db0LNT49qX61vQ8dMYFrW30CjzUfEwMQQsw0bl2TRONwEWxnVITVcBFd2xFaCUDG8Xda2iGj2KDG2m07l4YzXiZNLrhIxVA6dhIo2WapvzlsKWUGmj/R/9ABzrQgQ50oAP9r6g/JOKf0YsIeiH/gP2xBp6zatUbvcLICOYNV6ZDhtuqsSkAAAAASUVORK5CYII="", Qe = ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAMAAADUivDaAAAAM1BMVEUAAABmZmZmZmZlZWVmZmZmZmZlZWVlZWVoaGhlZWVkZGRmZmZlZWVlZWVlZWVmZmZmZmauFdI/AAAAEHRSTlMAhnjzbtHHEBrfJrGXRzZXUNTSwgAAAPRJREFUWMPt1+sKgzAMBWC71NbLLuf9n3a6sxFYN2vq/gxyEBSFz9pGaLpdOYucuyPJCUtSbheGHo/0Q6swjXhmnNqEqwCYHwfk2iJcFkEuJyDwyi7c+O6V4HhuViFyBkhwVqJNCFwHEq+1CTaB1UCCFWI0BJiXkxJLZkAso2BVK8FaD509SjB/QcQkWBO2iYA1kuLHn5KRbQKvFL8vhT2jUKOs55j3z0WORcUnvVEj9EF6/8JsIzKAd8K6qE444cTviNNBYhrHqZnQOOGEE0444USdyDYhA1Lsfs1dRqrtwTXVPTjTw5y+6EfMwvCtK6pHu6I7B+8m1re+k3UAAAAASUVORK5CYII="", je = n(""EhKJ""), qe = u.a.getInstance(), Ve = { Success: ""success"", Fail: ""fail"", Cancel: ""cancel"", Complete: ""complete"" }, Fe = { domain: ""http://hz.pin18pin.com/"", start: ""https://open.weixin.qq.com/connect/oauth2/authorize?response_type=code&scope=snsapi_base&appid={0}&redirect_uri={1}"" }, Ke = O.a.getCDNImgURL(""base/share_icons/share_sprite.png""), He = E.a.constant, ze = E.a.shareType, Je = {}; Je = E.a.get(location.host), n(""Rr5R""); var Ye = function() { var e = !Je.shop.weChatTimelineShareDisabled, t = !0, i = !0, u = {}, p = null, d = null, h = function() { return Be.Native.getInstance().getShareInfo() }, f = ["""", ""message"", ""timeline"", ""weibo"", ""qq"", ""qzone"", ""qq_weibo"", ""message"", ""timeline""]; var m = n(""fhzG"")({ getInitialState: function() { return { visible: !1, animating: !1, showIcons: !0, canShareToWeChatTimeline: e, canShareToQQ: t, canShareToWeibo: i, html: function() {} } }, share: function(e) { var t = this, n = o.a.extend(h(), t.props.shareInfo || {}); if (n.title && n.message) { Be.Native.getInstance().onShareClick(f[e], { shareType: e }), ""anniversary"" !== n.page || s.a.hasAccessToken() || s.a.ensureLogin(null, null, ""anniversary.html?inner_from=login4share""), e = parseInt(e, 10); var i = qe.getPageInfoByUrl(n.shareURL); if (i && i.tkShareClick) { var u = { useExistsParams: !0, op: ""click"", event: ""share_btn_clk"", page_name: i.getPageName(), page_section: ""icon_list"", page_element: f[e] }; n.extra && (u = o.a.extend(u, n.extra.tkShareClickParams)), c.a.trackingRecord(u) } var p = function() { if (e == ze.Weibo) return Je.RedirectURI.Weibo }(), m = n.shareURLs[e] || n.shareURL; e === ze.WeChatTimelineImage && (m = a.a.buildURL({ from: ""qrImg"" }, m, Je.shareDomain)); var g = n.thumbnailURL; [ze.WeChatSession, ze.WeChatSessionApp].indexOf(e) >= 0 && (g = n.thumbnailURL4WeChatMsg || n.thumbnailURL); var v = ""JSShare""; if (r.b.isModuleVersion && r.b.Current === r.b.Android && (v = ""AMShare""), ze.WeChatTimeline === e) { var _ = n.timelineDomain.indexOf(""http"") > -1 ? n.timelineDomain : ""http://"" + n.timelineDomain; if (m = a.a.buildURL({}, m, _), n.useSubDirectoryURL) { var b = m.match(/(?:http|https):\/\/(?:[\w\-]+(?:\.[\w\-]+)+)(?:\/?)(?:((?:[\w\-\.]+\/)*[\w\-\.]+)\.html)?\??/), y = """"; if (b && b[1]) { y = b[1]; var w = m.indexOf(y); if (w) { var S = o.a.getRandomString(8) + ""/""; m = m.slice(0, w) + S + m.slice(w) } } } m = o.a.format(Fe.start, n.timelineAppId, encodeURIComponent(m)) } var C = { title: n.title, desc: n.message, image: n.imageURL, thumbnail: g, share_url: m, options: n.template }; n.mini_object_path && (C.mini_object_path = n.mini_object_path), l.a.callNative(v, ""callNativeShare"", { type: e, redirect_uri: p, share_params: C }, function() { ""anniversary"" !== n.page && t.shareCallback(e, !0), o.a.call(d) }, function(n) { var r = E.a.error; n = parseInt(n, 10); var a = !1; r && r.NativeUserCancel && n === r.NativeUserCancel.code && (a = !0), t.shareCallback(e, !1, a) }), ""anniversary"" === n.page && t.shareCallback(e, !0) } }, shareCallback: function(e, t, n) { Be.Native.getInstance().shareCallback(f[e], t ? Ve.Success : n ? Ve.Cancel : Ve.Fail, { shareType: e, isSuccess: t }) }, appear: function() { var e = this; if (!this.state.animating) { u.isAnnv && (u.isAnnv = !s.a.isAB()); var t = document.getElementById(""share-mask""), n = document.getElementById(""share-content""), r = this.state.visible; this.setState({ visible: !0, animating: !0 }); var a = function() { e.setState({ animating: !1 }) }; t && o.a.animate(t, { start: { x: t.style.opacity || 0 }, dest: { x: u && u.opacity || 1 }, transFunc: function(e) { this.style.opacity = e } }, 300, a), n && o.a.animate(n, { start: { x: r ? 0 : n.offsetHeight }, dest: { x: 0 }, transFunc: function(e) { this.style.webkitTransform = ""translateY("" + Math.round(e) + ""px)"" } }, 300, a) } }, componentDidMount: function() { this.show() }, show: function(n) { var a = this, o = this; if (r.b.Current, r.b.Android, r.b.isModuleVersion) if (r.b.Current === r.b.IOS) l.a.check(""AMNavigator"", ""mask"", function(e) { e ? l.a.callNative(""AMNavigator"", ""mask"", { type: ""web"", props: { url: ""app_share.html"", opaque: !1, extra: { share_info: h(), directExpose: n } } }) : o.appear() }); else { var s = { backgroundImage: ""url("" + Ke + "")"" }; o.setState({ canShareToWeChatTimeline: e, canShareToQQ: t, canShareToWeibo: i, html: function(e) { var t = (h() || {}).extra || {}, n = null; t.isRouletteAssist && t.assistLackPeople && (n = w.a.createElement(""div"", { className: ""commercial-bargain-group-tip"" }, w.a.createElement(""p"", null, ""还差"", w.a.createElement(""b"", null, t.assistLackPeople), ""位好友助力,即可获得1次抽奖机会""), w.a.createElement(""p"", null, ""快去邀请好友助力吧""))); var r = t.isKnotClct ? w.a.createElement(""div"", { className: ""knot-clct-hint"" }, t.hint) : null, i = t.isActFreeGroup ? w.a.createElement(""div"", { className: ""act-free-group"" }, w.a.createElement(""p"", null, ""邀请"", w.a.createElement(""b"", null, "" "", t.remainPayAmount, "" ""), ""位好友支付"", t.actMemberPrice, ""元即可免费领取"")) : null; return w.a.createElement(""div"", { style: { display: a.state.visible } }, w.a.createElement(""div"", { id: ""share-mask"", onClick: function(e) { return a.hide(!0, !0) } }, n, r, i), w.a.createElement(""div"", { id: ""share-content"", style: { display: a.state.showIcons } }, w.a.createElement(""ul"", null, w.a.createElement(""li"", { className: ""wechat-share"", onClick: function(e) { return a.share(1) } }, w.a.createElement(""i"", { className: ""share-icon-base share-icon-wechat"", style: s }), w.a.createElement(""span"", null, ""微信好友"")), w.a.createElement(""li"", { className: ""wechattimeline-share"", onClick: function(e) { return a.share(2) }, style: { display: a.state.canShareToWeChatTimeline ? """" : ""none"" } }, w.a.createElement(""i"", { className: ""share-icon-base share-icon-moments"", style: s }), w.a.createElement(""span"", null, ""朋友圈"")), w.a.createElement(""li"", { className: ""qq-share"", onClick: function(e) { return a.share(4) }, style: { display: a.state.canShareToQQ ? """" : ""none"" } }, w.a.createElement(""i"", { className: ""share-icon-base share-icon-qq"", style: s }), w.a.createElement(""span"", null, ""QQ"")), w.a.createElement(""li"", { className: ""qqzone-share"", onClick: function(e) { return a.share(5) }, style: { display: a.state.canShareToQQ ? """" : ""none"" } }, w.a.createElement(""i"", { className: ""share-icon-base share-icon-qqzone"", style: s }), w.a.createElement(""span"", null, ""QQ空间"")), w.a.createElement(""li"", { onClick: function(e) { return a.share(3) }, style: { display: a.state.canShareToWeibo ? """" : ""none"" } }, w.a.createElement(""i"", { className: ""share-icon-base share-icon-sina"", style: s }), w.a.createElement(""span"", null, ""微博""))), w.a.createElement(""p"", { className: ""share-btn"", onClick: function(e) { return a.hide(!0, !0) } }, ""取消""))) } }, function(e) { o.appear() }) } else this.appear() }, hide: function(e, t) { var n = this; if (this.setState({ html: function(e) {} }), !this.state.animating) { var a = e ? 300 : 0, i = document.getElementById(""share-mask""), s = document.getElementById(""share-content""); this.setState({ animating: !0 }); var c = function() { n.setState({ animating: !1, visible: !1 }), t && r.b.isModuleVersion && l.a.callNative(""AMNavigator"", ""dismissMask"") }; i && o.a.animate(i, { start: { x: 1 }, dest: { x: 0 }, transFunc: function(e) { this.style.opacity = e } }, a, c), s && o.a.animate(s, { start: { x: parseInt(function(e) { var t = {}; return e && (t = window.getComputedStyle(e) || t), t }(s).bottom, 10) || 0 }, dest: { x: s.offsetHeight }, transFunc: function(e) { this.style.webkitTransform = ""translateY("" + Math.round(e) + ""px)"" } }, a, c) } }, render: function() { return w.a.createElement(""div"", null, this.state.html()) } }); return window.share = { getTimeLineShareDomain: function() { var e = Je.shareDomains[ze.WeChatTimeline]; return ""string"" == typeof e ? e : e[o.a.getSelfUID() % e.length] }, getShareDomain: function(e) { if (e === ze.WeChatTimeline) return this.getTimeLineShareDomain(); var t = [Je.shareDomain].concat(Je.BeiTaiShareDomains || []); return t[o.a.getSelfUID() % t.length] }, getShareUrl: function(e, t) { var n = Je.shareDomain; return e.match(/group\d+.html/) && (n = this.getShareDomain(t)), e = a.a.buildURL(null, e, n) }, prepareShare_: function(e, t) { var n = Je.shop.name + ""商城"", i = ""风靡全国的拼单商城,优质商品新鲜直供,快来一起"" + Je.shop.name + ""吧"", s = Je.shop.logo; if ((null == (e = e || {}).title || e.title.length <= 0) && (e.title = n), (null == e.message || e.message.length <= 0) && (e.message = i), null == e.thumbnailURL || e.thumbnailURL.length <= 0) e.thumbnailURL = s; else { var c = He.WaterMark.Default; null != e.waterMark && e.waterMark.length >= 0 && (c = e.waterMark); var u = e.thumbnailURL; e.thumbnailURL = O.a.addWaterMark(u, c), c === He.WaterMark.Default && (e.thumbnailURL4WeChatMsg = O.a.addWaterMark(u, He.WaterMark.WeChatMsg)), e.thumbnailURL = O.a.addWaterMark(e.thumbnailURL, c) } e.thumbnailURL4WeChatMsg = e.thumbnailURL4WeChatMsg || e.thumbnailURL, (null == e.shareURL || e.shareURL.length <= 0) && (e.shareURL = ""index.html""), (null == e.timelineMessage || e.timelineMessage.length <= 0) && (e.timelineMessage = e.message), e.shareURL = a.a.buildURL({ code: null, from: null, isappinstalled: null, at: null }, a.a.fullURL(e.shareURL)), e.shareURL = this.getShareUrl(e.shareURL); var l = e.timelineShortURL || """"; if (l.length <= 0 && (l = a.a.buildURL({ _wv: 1, _wvx: 10 }, e.shareURL, this.getTimeLineShareDomain())), r.b.isWeChatPlatform()) { if (null == window.wx) return o.a.call(t, !1); wx.onMenuShareAppMessage({ title: e.title, desc: e.message, imgUrl: e.thumbnailURL4WeChatMsg, link: a.a.buildURL({ _wv: 1, _wvx: 10 }, e.shareURL), type: ""link"", success: function(t) { o.a.call(e.appMessageShareSuccess) }, cancel: function(t) { o.a.call(e.appMessageShareCancel) } }), wx.onMenuShareTimeline({ title: e.timelineMessage, imgUrl: e.thumbnailURL, link: l, success: function(t) { o.a.call(e.timelineShareSuccess) }, cancel: function(t) { o.a.call(e.timelineShareCancel) } }), wx.onMenuShareQQ({ title: e.title, desc: e.message, imgUrl: e.thumbnailURL, link: a.a.buildURL({ _wv: 1, sf_tag: ""wechat"", _wvx: 10 }, e.shareURL, Je.shareDomains[ze.QQChatSession]), success: function(t) { o.a.call(e.qqShareSuccess) }, cancel: function(t) { o.a.call(e.qqShareCancel) } }), wx.onMenuShareQZone({ title: e.title, desc: e.message, imgUrl: e.thumbnailURL, link: a.a.buildURL({ _wv: 1, sf_tag: ""wechat"", _wvx: 10 }, e.shareURL, Je.shareDomains[ze.QQZone]), success: function(t) { o.a.call(e.qqZoneShareSuccess) }, cancel: function(t) { o.a.call(e.qqZoneShareCancel) } }), wx.onMenuShareWeibo({ title: e.title, desc: e.message, imgUrl: e.thumbnailURL, link: e.shareURL, success: function(t) { o.a.call(e.qqWeiboShareSuccess) }, cancel: function(t) { o.a.call(e.qqWeiboShareCancel) } }), o.a.call(t, !0) } else if (r.b.isQQPlatform()) { if (null == window.mqq) return o.a.call(t, !1); mqq.onMenuShareAppMessage({ title: e.title, desc: e.message, imgUrl: e.thumbnailURL4WeChatMsg, link: e.shareURL, type: ""link"", success: function(t) { o.a.call(e.appMessageShareSuccess) }, cancel: function(t) { o.a.call(e.appMessageShareCancel) } }), mqq.onMenuShareTimeline({ title: e.timelineMessage, imgUrl: e.thumbnailURL, link: l, success: function(t) { o.a.call(e.timelineShareSuccess) }, cancel: function(t) { o.a.call(e.timelineShareCancel) } }), mqq.onMenuShareQQ({ title: e.title, desc: e.message, imgUrl: e.thumbnailURL, link: a.a.buildURL({ _wv: 1, _wvx: 10 }, e.shareURL, Je.shareDomains[ze.QQChatSession]), success: function(t) { o.a.call(e.qqShareSuccess) }, cancel: function(t) { o.a.call(e.qqShareCancel) } }), mqq.onMenuShareQzone({ title: e.title, desc: e.message, imgUrl: e.thumbnailURL, link: a.a.buildURL({ _wv: 1, _wvx: 10 }, e.shareURL, Je.shareDomains[ze.QQZone]), success: function(t) { o.a.call(e.qqZoneShareSuccess) }, cancel: function(t) { o.a.call(e.qqZoneShareCancel) } }) } else r.b.isWeiboPlatform() ? (N.changeTitle(e.title), o.a.call(t, !0)) : r.b.isNativePlatform() || o.a.call(t, !0) }, prepareShare: function(e, t) { var n = this; r.b.isWeChatPlatform() && !window.wxReady ? (window.wxAfterReady = window.wxAfterReady || [], window.wxAfterReady.unshift(function() { n.prepareShare__(e, t) })) : r.b.isQQPlatform() && !window.qqReady ? (window.qqAfterReady = window.qqAfterReady || [], window.qqAfterReady.unshift(function() { n.prepareShare__(e, t) })) : n.prepareShare__(e, t) }, prepareShare___: function(n, a) { var s = h(); e = s.forceShareToWeChatTimeline || !Je.shop.weChatTimelineShareDisabled, r.b.isNativePlatform() && s.shareToWeChatTimelineInAppDisabled && (e = !1), e = r.b.isNativePlatform() && (s.shareURL.match(/group\d+.html/) || s.shareURL.match(/act_group.html/)) && ""1"" === (s.extra || {}).showShareTimeline, t = function() { if (h().onlyWeChat) return !1; var e = r.b.getAppVersion(); return (r.b.Current !== r.b.IOS || 0 !== o.a.compareVersion(e, ""2.0.8"")) && (r.b.Current == r.b.IOS && o.a.compareVersion(e, ""1.1.0"") >= 0 || r.b.Current == r.b.Android && o.a.compareVersion(e, ""1.1.0"") >= 0) }(), i = !1, u = s.extra || {}, a && o.a.call(a) }, prepareShare__: function(e, t) { var n = this, a = { userID: s.a.userID, trackingRecord: c.a.trackingRecord, shareDomain: Je.shareDomain, shareDomains: Je.shareDomains, imgShareDomain: Je.imgShareDomain, beiTaiShareDomains: Je.BeiTaiShareDomains, shop: Je.shop }; r.b.isWeChatPlatform() ? Be.WeChat.getInstance(a).prepare(e, t) : r.b.isQQPlatform() ? Be.QQ.getInstance(a).prepare(e, t) : r.b.isWeiboPlatform() ? (N.changeTitle(e.title), o.a.call(t, !0)) : r.b.isNativePlatform() ? Be.Native.getInstance(a).prepare(e, function(e) { n.prepareShare___(Be.Native.getInstance().getShareInfo(), function() { o.a.call(t, e) }) }) : o.a.call(t, !0) }, setupNativeShareButton: function() { var e = document.createElement(""div""); document.body.appendChild(e), this.manuallyShowShareInstance = function() { p ? p.show() : p = C.a.render(w.a.createElement(m, null), e) }, r.b.isNativeTabBarVersion ? l.a.callNative(""JSUIControl"", ""setRightBarButtons"", { buttons: [{ icons: { normal: r.b.isShareButtonV2 ? Qe : Ge }, callback: function() { p ? p.show() : p = C.a.render(w.a.createElement(m, null), e) }, size: r.b.isShareButtonV2 ? 22 : null }] }) : ! function() { var e = r.b.getAppVersion(); return r.b.Current == r.b.IOS && o.a.compareVersion(e, ""2.0.0"") >= 0 }() ? l.a.callNative(""JSShare"", ""registerShareCommand"", { command: ""Share.appear()"" }) : l.a.callNative(""JSUIControl"", ""setRightBarButtons"", { buttons: [{ icons: { normal: r.b.isShareButtonV2 ? Qe : Ge }, size: r.b.isShareButtonV2 ? 22 : null }] }, function() { je.a.register(""onRightBarButtonPress"", function() { p ? p.show() : p = C.a.render(w.a.createElement(m, null), e) }) }) }, setSuccessFunc: function(e) { d = e }, canShareToQQ: t, canShareToWeibo: i, canShareToWeChatTimeline: e, showAppShare: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; share.prepareShare(e, function() {}); var t = document.createElement(""div""); document.body.appendChild(t), p ? p.show() : p = C.a.render(w.a.createElement(m, { shareInfo: e }), t) }, canShareWeChatTimelineNoSDK: function() { var e = r.b.getAppVersion(); return r.b.Current !== r.b.IOS && (r.b.Current === r.b.Android ? o.a.compareVersion(e, ""3.12.0"") >= 0 : void 0) } } }(), Ze = n(""+qE3""), Xe = n(""Pn5d""), $e = { SHOW: 0, HIDE: 1 }, et = { WK_TRY_FRESH: 0 }, tt = null; function nt() { this.pageStatus = $e.SHOW, this.maxSize = 0 } ie.a.inherits(nt, Ze.EventEmitter), nt.PageStatus = $e, nt.EventType = et, nt.prototype.init = function(e) { var t = this; e = e || {}, this.maxSize = e.maxSize || this.maxSize, this.setMaxListeners(this.maxSize), window && window.addEventListener(""pageshow"", function() { t.onPageShow() }) }, nt.prototype.onPageShow = function() { this.pageStatus = $e.SHOW, Xe.a.isWKWebView && this.emit(et.WK_TRY_FRESH) }, nt.prototype.onPageHide = function() { this.pageStatus = $e.HIDE }, nt.getInstance = function() { return tt || (tt = new nt), tt }; var rt = nt, at = function() { function e(t) { m()(this, e), t = t || {}, this.schemeURL = t.schemeURL || """", this.universalLink = t.universalLink || """", this.launchType = t.launchType || 0, this.defaultTagID = ""pdd-launch-node"", this.env = {}, this.checkBrowserEnv(), this.lock = !1 } return e.prototype.checkBrowserEnv = function() { var e = this.env; e.ua = (navigator.userAgent || navigator.vendor || window.opera || """").toLowerCase(), e.isIOS = !!r.b.IOSSystemVersion, e.isAndroid = /android|adr/.test(e.ua) && !/windows phone/.test(e.ua), e.isIOS9Above = r.b.compareVersion(r.b.IOSSystemVersion, ""9.0.0"") >= 0, e.hasIntentTest = /chrome|samsung/.test(e.ua), e.noIntentTest = /360 aphone|weibo|windvane|ucbrowser/.test(e.ua), e.canIntent = e.hasIntentTest && e.isAndroid && !e.noIntentTest, e.isChrome = /(?:chrome|crios)\/([\d\.]+)/.test(e.ua), e.isQQ = /qq\/|mqqbrowser\/[\d\.]+/.test(e.ua), e.isChrome && (e.isWebView = /version\/[\d\.]+\s*chrome/.test(e.ua)), e.isOriginalChrome = e.isAndroid && e.isChrome && e.isWebView, this.show(JSON.stringify(e)) }, e.prototype.open = function(e) { var t = this; return new Promise(function(n, r) { t.lock = !0, t.tryOpen(e), t.poll(function(e) { e ? n() : r() }) }) }, e.prototype.poll = function(e) { var t = function(t, n) { if (t > 2500 || document.hidden || document.webkitHidden) { var r = e; e = null, r && r(!0) } else n && e && e(!1) }, n = new Date, r = 0, a = setInterval(function() { var e = new Date - n; ++r >= 100 || e > 2500 ? (clearInterval(a), t(e, !0)) : t(e, !1) }, 20) }, e.prototype.tryOpen = function(e) { e = e || this.schemeURL; var t = this.env || {}; if (this.show(""url is "" + e), this.launchType) switch (this.launchType) { case 1: this.tryOpenByTag(e); break; case 2: this.tryOpenDirectly(e); break; case 3: this.tryOpenByIframe(e) } else t.isIOS ? this.tryOpenByTag(e) : t.isQQ ? this.tryOpenByTag(e) : t.isOriginalChrome ? this.tryOpenDirectly(e) : this.tryOpenByIframe(e) }, e.prototype.tryOpenDirectly = function(e) { this.show(""tryOpenDirectly""), window.location.href = e }, e.prototype.tryOpenByIframe = function(e) { this.show(""tryOpenByIframe""); var t = document.createElement(""iframe""); t.src = e, t.style.display = ""none"", document.body.appendChild(t) }, e.prototype.tryOpenByTag = function(e) { var t = this; this.show(""tryOpenByTag""); var n = document.getElementById(this.defaultTagID); n || ((n = document.createElement(""a"")).id = this.defaultTagID, n.style.display = ""none"", document.body.appendChild(n), n.onclick = function() { t.show(""clicked""), window.location.href = e } ), n.dispatchEvent(this.getCustomClickEvent()) }, e.prototype.getCustomClickEvent = function() { var e = null; return window.CustomEvent ? e = new window.CustomEvent(""click"", { canBubble: !0, cancelable: !0 }) : (e = document.createEvent(""Event"")).initEvent(""click"", !0, !0), e }, e.prototype.show = function(e) { ""development"" === Object({ BROWSER: !0, ISAVALON: !1, BUNDLE_PLATFORM: ""production"" }) && alert(e) }, e }(), it = n(""zRS3""), ot = u.a.getInstance(), st = E.a.constant, ct = E.a.error, ut = (E.a.get(""undefined"" != typeof location ? location.host : """"), { guard: !1, hasPageScrolled: !1, setPageScrollPosition: function(e, t) { if ((e = e || {}).queries = e.queries || {}, r.b.isModuleVersion || e.queries.sp || (e.queries.sp = h.default.getScrollTop(e.div)), ""undefined"" != typeof document) { var n = document.querySelector(""#nav-bar""); n && (e.queries.nbsl = n.scrollLeft) } a.a.buildURL(e.queries); i.a.replaceQuery(e.queries, t) }, getPageScrollData: function() { return { sp: parseInt(a.a.getParameter(""sp""), 10) || 0, itemIndex: parseInt(a.a.getParameter(""item_index""), 10) || 0, subjectScroll: a.a.getParameter(""subject_scroll"") } }, initLogger: function() { var e = location.pathname, t = e.indexOf("".html""), n = e.substring(1, t); n.length <= 1 && (n = ""index""), c.a.init(n) }, prepare_: function(e, t, n) { this.initLogger(); var u = s.a.hasAccessToken(); null == e && (e = {}); var l = e.usePDDShare || !1, p = e.pddShareConfig || {}, h = it.b.getInstance(o.a.extend({ shareManagerConfig: { disableShare: e.disableShare, noDefaultShare: e.noDefaultShare } }, p)); l && h.setup(); var f = function(e, t) { t.isSDKPrepare = !0, e && h.prepareShare(t) }, m = function() { o.a.call(t) }, g = function() { var t = e.shareInfo || {}; r.b.isWeChatPlatform() ? (m(), re.prepareWeChatSDK(t, function(e) { var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; it.b.FLAG_WECHAT_SHARE_TIMELINE = n.share, t.wechatAppID = n.wechatAppID, t.magicTrace = n.magicTrace, l ? (n.share && n.shareDomain && n.openAppID && (t.timelineDomain = n.shareDomain, t.timelineAppId = n.openAppID), f(e, t)) : e && !t.noDefaultShare && Ye.prepareShare(t), ut.weChatGetAPPInstallStateAfterWxReady(function(e) { var t = (e = e || {}).wxCheckPdd, n = localStorage.getItem(st.LocalStorageKey.WxCheckPdd); parseInt(n, 10) !== parseInt(t, 10) && c.a.trackingRecord({ op: ""event"", sub_op: ""app_check"", uninstall_status: t }), localStorage.setItem(st.LocalStorageKey.WxCheckPdd, t) }) })) : r.b.isQQPlatform() ? (m(), z.prepareQQSDK(t.forceShareToWeChatTimeline, function(e) { l ? f(e, t) : e && !t.noDefaultShare && Ye.prepareShare(t) })) : r.b.isNativePlatform() ? (l ? f(!0, t) : t.disableShare || Ye.prepareShare(t), m()) : (l && f(!0, t), m()) }; if (e.requireLogin || !r.b.isWeChatPlatform() && !r.b.isQQPlatform() || (e.requireLogin = !0), u || !e.requireLogin) r.b.isEmbeddedBrowser() && a.a.getParameter(""code"") && i.a.replaceURL(a.a.buildURL({ code: null })), g(); else if (r.b.isEmbeddedBrowser()) { var v = r.b.isWeChatPlatform() ? st.AuthorizationType.WeChat : r.b.isWeiboPlatform() ? st.AuthorizationType.Weibo : r.b.isQQPlatform() ? st.AuthorizationType.QQ : void 0; s.a.login(v, null, g, function(e) { d.default.showToast(ct.getMsgFromCode(e)), ""function"" == typeof n && n() }) } else { var _ = e.loginParams ? e.loginParams : {}; s.a.login(null, null, null, function() { i.a.back() }, null, !1, !1, _) } }, loadMeta: function(e) { if (r.b.isNativePlatform()) { var t = function(t) { var n = t || {}; p.a.init(n), p.a.checkAndShowAppUpdate({ checkPasteboard: !0 }), o.a.call(e) }; l.a.callNative(""JSMeta"", ""get"", null, function(e) { t(e) }, function() { t() }, !0) } else o.a.call(e) }, prepare: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1], n = arguments[2], s = this; if (!s.guard) { s.guard = !0; var c = o.a.getCookieByName(st.CookieKey.AccessToken), u = document.querySelector(""#access-token-save""); if (u) { var l = {}; c = u.dataset.at || """", l[st.CookieKey.AccessToken] = c.length > 0 ? c : null, o.a.setCookie(l) } var d = localStorage.getItem(""AccessToken"") || """"; c.length > 0 && d !== c && o.a.saveToLocalStorage(""AccessToken"", c), 0 === c.length && o.a.saveToLocalStorage(""AccessToken"", null), a.a.pageParseQuery(), ot.init(null, { isModuleVersion: r.b.isModuleVersion, AppUtils: p.a, pageProperty: e.pageProperty, callback: function() { i.a.replaceQuery({ page_id: ot.getPageID() }), s.loadMeta(function() { s.setKeyParams({ component_info: p.a.getHybridPackVersion(e && e.hybridPackName) }), (!ot.hasIndividualPV() && !ot.isAppModal() || e && e.isSkipPv) && s.setKeyParams(ot.getKeyParamsFromQuery(), !0) }) } }), e.noDefaultTitle && !e.title || N.changeTitle(e.title || ot.getPageInfo().title || document.title), r.b.isModuleVersion ? (p.a.loadUserInfo(function() { s.prepare_(e, t, n) }), p.a.registerSceneNotification(e.regEvents), p.a.setupPullReload(e.disablePullReload)) : s.prepare_(e, t, n), k.initGlobal() } }, doAfterJSApiReady: function(e) { r.b.isQQPlatform() ? window.qqAfterReady ? o.a.call(e) : (window.qqAfterReady = window.qqAfterReady || [], window.qqAfterReady.push(e)) : r.b.isWeChatPlatform() ? window.wxReady ? o.a.call(e) : (window.wxAfterReady = window.wxAfterReady || [], window.wxAfterReady.push(e)) : o.a.call(e) }, setKeyParams: function(e, t) { ot.setKeyParams(e), t && c.a && c.a.trackingRecord({ op: ""pv"" }) }, setBackButton: function(e, t, n) { r.b.isModuleVersion ? p.a.setBackButton(e, t, n) : o.a.call(n) }, forwardForceContact: function(e, t, n) { r.b.isQQPlatform() ? z.qqForwardForceContact(e, t, n) : r.b.isWeChatPlatform() && re.weChatForwardForceContact(e, t, n) }, checkInstalledApp: function(e, t, n) { var a = r.b.isAndroidWeChatPlatform(), i = r.b.isIOSWeChatPlatform(); a ? ut.weChatGetAPPInstallStateAfterWxReady(function(n) { n.installed ? e() : t() }, function() { t() }) : i && n && n.hasAppLogin ? e() : t() }, checkInstalledAppV2: function(e, t, n) { var a = r.b.isWeChatPlatform(), i = r.b.isQQPlatform(); (a || i) && n && ""1"" === n.monthActive ? e() : t() }, checkInstalledAppV3: function(e, t, n, r) { var a = n && n.hasAppContainMobile; n && n.isNewAppUser && a ? ""function"" == typeof e && e() : a && r ? ""function"" == typeof e && e() : ""function"" == typeof t && t() }, launchPDDApp: function(e, t, n, a) { var i = ""pinduoduo://com.xunmeng.pinduoduo/""; if (r.b.Current === r.b.WeChat) this.wechatLaunchPDDApp(e, t, n, a); else if (r.b.Current === r.b.Unknown || r.b.Current === r.b.QQ || r.b.Current === r.b.Weibo) { var o = """"; if (e = e.replace(/^https?:\/\/[^\/]*\//, """"), a) { var s = encodeURIComponent(i + e); o = ""http://app.yangkeduo.com/universal-link?originalUrl="" + (encodeURIComponent(""http://mobile.yangkeduo.com/"") + a) + ""&scheme="" + s } new at({ schemeURL: """" + i + e, universalLink: o }).open().then(function() { t && t() }, function() { n && n() }) } else n && n() } }); ut = o.a.extend(ut, N), ut = o.a.extend(ut, z), ut = o.a.extend(ut, Ye), ut = o.a.extend(ut, re); var lt = {}; lt = ut = o.a.extend(ut, rt); t.a = lt }, ""8V/m"": function(e, t, n) {}, ""8Zyp"": function(e, t, n) { ""use strict""; var r = n(""J4zp""), a = n.n(r), i = n(""o0o1""), o = n.n(i), s = n(""yXPU""), c = n.n(s), u = n(""yG8O""), l = n.n(u), p = n(""lwsE""), d = n.n(p), h = n(""W8MJ""), f = n.n(h), m = n(""U+yc""), g = n.n(m), v = (n(""1ABj""), n(""2vnA"")), _ = n(""mG/U""), b = (n(""q1tI""), n(""17x9"")), y = n.n(b), w = n(""fhzG""), S = n.n(w), C = n(""b5fu""), A = n(""xnWZ""), I = n(""KbSy"").default, k = { requestContext: y.a.instanceOf(I).isRequired, platform: y.a.object.isRequired }, E = S()({ propTypes: C.a.extend({ children: y.a.element.isRequired, context: y.a.shape(k) }, null), childContextTypes: k, getChildContext: function() { if (!this._childContext) { var e = this.props, t = e.req, n = e.res, r = e.context; this._childContext = r || E.buildContext(t, n) } return this._childContext }, render: function() { return this.props.children } }); E.buildContext = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null, n = new I(e, t); return { requestContext: n, platform: Object(A.a)(n.userAgent, n.hostname) } }; var T, N, x, O, D, P = E, R = n(""CyzL""), M = n(""rIj9""); n.d(t, ""a"", function() { return L }); var L = (T = function() { function e() { d()(this, e), this.$http = null, this.$axiosHttp = null, l()(this, ""isServerRendered"", N, this), l()(this, ""isFinishInitLoading"", x, this), l()(this, ""accessToken"", O, this), l()(this, ""errorRedirectUrl"", D, this) } return f()(e, [{ key: ""finishServerRender"", value: function() { this.finishInitLoading(), this.isServerRendered = !0 } }, { key: ""finishInitLoading"", value: function() { this.isFinishInitLoading = !0 } }, { key: ""prepareClientData"", value: function() {} }, { key: ""dealError"", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; if (e.handled) return Promise.reject(e); if (""string"" == typeof e) return console.warn(""current error '"".concat(e, ""' is a string, please use Error instance"")), Promise.reject({ errorCode: e, handled: !0 }); var t = e.error && (e.error.errorCode || e.error.error_code) || e.errorCode; return Promise.reject({ handled: !0, errorCode: void 0 === t ? ""unknown"" : t, error: e, alertText: Object(_.b)(t), redirectUrl: this.errorRedirectUrl }) } }, { key: ""initDataCallback"", value: function(e) { this.initServices(this.$http); var t = this.getDatasource(); return this.loadDatasource(t, e) } }, { key: ""initClientData"", value: function() { var e = c()(o.a.mark(function e(t) { var n, r; return o.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.prev = 0, n = P.buildContext(), r = n.requestContext, e.next = 4, r.fetchAccessToken(); case 4: return this.accessToken = e.sent, this.$http = new R.a, this.$axiosHttp = Object(M.a)({ pageInfo: t }), e.next = 9, this.initDataCallback(r); case 9: this.prepareClientData(), e.next = 15; break; case 12: return e.prev = 12, e.t0 = e.catch(0), e.abrupt(""return"", this.dealError(e.t0)); case 15: case ""end"": return e.stop() } }, e, this, [ [0, 12] ]) })); return function(t) { return e.apply(this, arguments) } }() }, { key: ""initServerData"", value: function() { var e = c()(o.a.mark(function e(t, n) { return o.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.prev = 0, this.accessToken = n, this.$http = new R.a({ req: t.__req, res: t.__res, accessToken: this.accessToken }), this.$axiosHttp = Object(M.a)({ req: t.__req, res: t.__res, accessToken: this.accessToken }), e.next = 6, this.initDataCallback(t); case 6: this.finishServerRender(), e.next = 12; break; case 9: return e.prev = 9, e.t0 = e.catch(0), e.abrupt(""return"", this.dealError(e.t0)); case 12: case ""end"": return e.stop() } }, e, this, [ [0, 9] ]) })); return function(t, n) { return e.apply(this, arguments) } }() }, { key: ""fromJS"", value: function(e, t) { e && e.isServerRendered && (Object.assign(this, e), this.$http = new R.a, this.$axiosHttp = Object(M.a)({ pageInfo: t }), this.initServices(this.$http)) } }, { key: ""loadDatasource"", value: function() { var e = c()(o.a.mark(function e(t, n) { var r = this; return o.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!Array.isArray(t)) { e.next = 2; break } return e.abrupt(""return"", t.reduce(function(e, t) { return e.then(function() { return U(t, n, r) }) }, Promise.resolve())); case 2: return e.abrupt(""return"", U(t, n, this)); case 3: case ""end"": return e.stop() } }, e, this) })); return function(t, n) { return e.apply(this, arguments) } }() }, { key: ""getDatasource"", value: function() { return [] } }, { key: ""initServices"", value: function(e) {} }, { key: ""toJSON"", value: function() { return Object(v.r)(this) } }]), e }(), N = g()(T.prototype, ""isServerRendered"", [v.n], { configurable: !0, enumerable: !0, writable: !0, initializer: function() { return !1 } }), x = g()(T.prototype, ""isFinishInitLoading"", [v.n], { configurable: !0, enumerable: !0, writable: !0, initializer: function() { return !1 } }), O = g()(T.prototype, ""accessToken"", [v.n], { configurable: !0, enumerable: !0, writable: !0, initializer: function() { return """" } }), D = g()(T.prototype, ""errorRedirectUrl"", [v.n], { configurable: !0, enumerable: !0, writable: !0, initializer: function() { return ""/"" } }), g()(T.prototype, ""finishServerRender"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""finishServerRender""), T.prototype), g()(T.prototype, ""finishInitLoading"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""finishInitLoading""), T.prototype), g()(T.prototype, ""prepareClientData"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""prepareClientData""), T.prototype), g()(T.prototype, ""dealError"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""dealError""), T.prototype), g()(T.prototype, ""initDataCallback"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""initDataCallback""), T.prototype), g()(T.prototype, ""initClientData"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""initClientData""), T.prototype), g()(T.prototype, ""initServerData"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""initServerData""), T.prototype), g()(T.prototype, ""fromJS"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""fromJS""), T.prototype), g()(T.prototype, ""loadDatasource"", [v.d], Object.getOwnPropertyDescriptor(T.prototype, ""loadDatasource""), T.prototype), T); function U(e, t, n) { return W.apply(this, arguments) } function W() { return (W = c()(o.a.mark(function e(t, n, r) { var i, s; return o.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: if (i = { req: n.__req, res: n.__res, accessToken: r.accessToken }, ""function"" != typeof t) { e.next = 7; break } return e.next = 4, t(n, i, r); case 4: return s = e.sent, Object(v.p)(function() { return Object.assign(r, s) }), e.abrupt(""return""); case 7: return e.abrupt(""return"", Promise.all(Object.entries(t).map(function() { var e = c()(o.a.mark(function e(t) { var s, c, u, l, p; return o.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: return s = a()(t, 2), c = s[0], ""function"" == typeof(u = s[1]) && (u = { dump: !1, loader: u }), l = u.loader, e.next = 5, Promise.resolve(l(n, i, r)); case 5: p = e.sent, Object(v.p)(function() { u.dump ? Object.assign(r, p) : r[c] = p }); case 7: case ""end"": return e.stop() } }, e) })); return function(t) { return e.apply(this, arguments) } }()))); case 8: case ""end"": return e.stop() } }, e) }))).apply(this, arguments) } }, ""8wto"": function(e, t, n) { ""use strict""; (function(e) { function r(e) { return !(arguments.length > 1 && void 0 !== arguments[1] && arguments[1]) && /[^\x00-\x7F]/.test(e) ? function(e) { return window.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g, function(e, t) { return String.fromCharCode(""0x"" + t) })) }(e) : function(e) { return window.btoa(e) }(e) } function a(e) { return arguments.length > 1 && void 0 !== arguments[1] && arguments[1] ? function(e) { return window.atob(e) }(e) : function(e) { return decodeURIComponent(window.atob(e).split("""").map(function(e) { return ""%"" + (""00"" + e.charCodeAt(0).toString(16)).slice(-2) }).join("""")) }(e) } n.d(t, ""b"", function() { return r }), n.d(t, ""a"", function() { return a }) }).call(this, n(""tjlA"").Buffer) }, ""9/CJ"": function(e, t, n) { ""use strict""; var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""MVZn""), f = n.n(h), m = n(""q1tI""), g = n.n(m), v = n(""ii9O""), _ = n(""mj+i""), b = n(""jtE3""), y = n(""Fcpp""), w = n(""KoDT""), S = n(""h3qu""), C = n(""fkZF""), A = n(""uf4C""); var I = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ""index.html"", t = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]; if (e.indexOf(""_p_launch_id"") >= 0) return e; var n = A.a.getInstance(), r = {}; t && (r = n.getExtendTransferParameters(!0)); var a = [n.getPageSN() || """", Date.now(), Object(C.a)(10)].join(""_""), i = document.createElement(""a""); i.href = e; var o = Object.assign({}, Object(_.e)(i.search), r, { _p_launch_id: a }), s = (i.pathname + ""?"" + Object(_.b)(o) + i.hash).slice(1); return y.a.trackingRecord({ op: ""event"", sub_op: ""market_launch"", origin_url: e, launch_id: a, launch_url: s }), s }, k = n(""ctu6""); n(""/vAr""); n.d(t, ""a"", function() { return N }); var E = {}; E = Object(w.b)(navigator.userAgent); var T = null; var N = function(e) { function t() { var e, n; a()(this, t); for (var r = arguments.length, i = new Array(r), o = 0; o < r; o++) i[o] = arguments[o]; return (n = c()(this, (e = l()(t)).call.apply(e, [this].concat(i)))).state = { hide: !0 }, n.topGotoApp = function() { n.props.appUrl && function(e) { var t = e.marketDownloadParams, n = e.appUrl, r = e.trackingParams, a = void 0 === r ? {} : r, i = function() { var e = ""/market_download.html?"" + Object(_.b)(f()({ src: E.isWeChatPlatform ? ""weixin"" : E.platform, add_download_task: 1, task_apk_tag: 3 }, t || {})); v.a.forward(e) }, o = function() { var e = I(n); Object(b.a)(e).catch(i) }; a = Object.assign({}, { op: ""click"", page_el_sn: 426522 }, a), y.a.trackingRecord(a), Object(k.a)({ downloadParams: t }).then(o).catch(o) }({ appUrl: n.props.appUrl, trackingParams: n.props.trackingParams, marketDownloadParams: n.props.marketDownloadParams }) }, n.handleClick = function() { T || (n.props.onClick && n.props.onClick(), n.topGotoApp()), T && clearTimeout(T), T = setTimeout(function() { T = null }, n.props.throttleTime) }, n } return d()(t, e), o()(t, [{ key: ""componentDidMount"", value: function() { this.setState({ hide: !1 }) } }, { key: ""isSupport"", value: function() { return E.isPureWeChatPlatform || E.isWeiboPlatform || E.platform === S.a.Unknown } }, { key: ""render"", value: function() { return this.state.hide || !this.isSupport() ? null : g.a.createElement(""div"", { className: ""pdd-go-to-app"", onClick: this.handleClick, style: this.props.style }, ""在App打开"", g.a.createElement(""span"", { className: ""icon pdd-go-to-app-icon"" })) } }]), t }(g.a.Component); N.defaultProps = { throttleTime: 400 } }, ""9PFF"": function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, ""@charset \""UTF-8\"";\n\n/**\r\n * base.scss, 一些公共的代码\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * base variable\r\n */\n\n/**\r\n * function 区域\r\n */\n\n/**\r\n * mixin 区域\r\n */\n\n/**\r\n * 父元素必须是position: relative\r\n */\n\n/**\r\n * 字体icon\r\n */\n\n/**\r\n * flex 布局\r\n */\n\n/**\r\n * extend区域\r\n */\n\n/**\r\n * @file variables.scss, 相关的变量\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * @file border1px.scss, 1px在devicePixelRatio>2的方案\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/*原来的逻辑*/\n\n/*\n* 注意:需要按钮是position(absolute,relative)定位的,按钮没有宽高的,可能会出bug.\n* 按钮before已经有样式的就用data-active=after-{type},after同理。\n* eg:
button
\n* https://jira2.corp.yiran.com/browse/PDD-10191\n* 红色按钮 highlight状态增加 #000000 15%\n* 白色按钮 highlight状态增加 #000000 5%\n* 红色线框按钮 highlight状态增加 #E02E24 5%\n*/\n\n.default-confirm-bg-fill,\n.default-alert-bg-fill {\n background-color: rgba(0, 0, 0, 0.8);\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n position: absolute;\n z-index: -1;\n}\n\n.default-confirm-content-wrapper,\n.default-alert-content-wrapper {\n z-index: 2;\n position: relative;\n display: block;\n height: auto;\n width: 2.9rem;\n max-height: 100vh;\n max-width: 768px;\n margin: auto;\n background: white;\n border-radius: 0.08rem;\n overflow-y: hidden;\n text-align: center;\n}\n\n.default-confirm-content-wrapper .detail,\n.default-alert-content-wrapper .detail {\n padding: 0.26rem 0.16rem;\n overflow-y: auto;\n border-bottom: 1px solid #ededed;\n max-height: 3.75rem;\n word-wrap: break-word;\n word-break: normal;\n cursor: default;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n user-select: none;\n}\n\n.default-confirm-content-wrapper .detail .title,\n.default-alert-content-wrapper .detail .title {\n text-align: center;\n font-size: 0.17rem;\n line-height: 1.4;\n color: #151516;\n}\n\n.default-confirm-content-wrapper .detail .desc,\n.default-alert-content-wrapper .detail .desc {\n font-size: 0.14rem;\n line-height: 1.4;\n color: #585958;\n}\n\n.default-confirm-content-wrapper .detail > *:not(:first-child),\n.default-alert-content-wrapper .detail > *:not(:first-child) {\n margin-top: 0.09rem;\n}\n\n.default-confirm-content-wrapper .buttons,\n.default-alert-content-wrapper .buttons {\n width: 100%;\n overflow: hidden;\n display: -webkit-box;\n display: flex;\n display: -webkit-flex;\n -webkit-box-pack: center;\n justify-content: center;\n -webkit-justify-content: center;\n -webkit-box-align: center;\n align-items: center;\n -webkit-align-items: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n flex-direction: row;\n -webkit-flex-direction: row;\n}\n\n.default-confirm-content-wrapper .buttons .button,\n.default-alert-content-wrapper .buttons .button {\n overflow: hidden;\n font-size: 0.17rem;\n line-height: 1;\n color: #e02e24;\n width: 100%;\n padding: 0.155rem;\n white-space: nowrap;\n text-overflow: ellipsis;\n cursor: default;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n user-select: none;\n}\n\n.default-confirm-content-wrapper .buttons .button:active,\n.default-alert-content-wrapper .buttons .button:active {\n background-color: rgba(0, 0, 0, 0.16);\n}\n\n.default-confirm-content-wrapper .buttons.buttons-confirm .button,\n.default-alert-content-wrapper .buttons.buttons-confirm .button {\n width: 50%;\n}\n\n.default-confirm-content-wrapper .buttons.buttons-confirm .button:first-child,\n.default-alert-content-wrapper .buttons.buttons-confirm .button:first-child {\n color: #9c9c9c;\n}\n\n.default-confirm-content-wrapper .buttons.buttons-confirm .button:not(:first-child),\n.default-alert-content-wrapper .buttons.buttons-confirm .button:not(:first-child) {\n border-left: 1px solid #ededed;\n}"", """"]) }, ""9vQ7"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return a }); var r = function() { for (var e, t = [], n = 0; n < 256; n++) { e = n; for (var r = 0; r < 8; r++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1; t[n] = e } return t }(), a = function(e, t) { e = function(e) { e = e.replace(/\r\n/g, ""\n""); for (var t = """", n = 0; n < e.length; n++) { var r = e.charCodeAt(n); r < 128 ? t += String.fromCharCode(r) : r > 127 && r < 2048 ? (t += String.fromCharCode(r >> 6 | 192), t += String.fromCharCode(63 & r | 128)) : (t += String.fromCharCode(r >> 12 | 224), t += String.fromCharCode(r >> 6 & 63 | 128), t += String.fromCharCode(63 & r | 128)) } return t }(e.toString()), ""undefined"" !== t && null !== t || (t = 0), t ^= -1; for (var n = 0; n < e.length; n++) t = t >>> 8 ^ r[255 & (t ^ e.charCodeAt(n))]; return (-1 ^ t) >>> 0 } }, AGSb: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return o }), n.d(t, ""b"", function() { return s }); var r = n(""J4zp""), a = n.n(r); function i(e) { return e.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent) } function o(e) { var t = {}; return (document.cookie ? document.cookie.split(""; "") : []).some(function(n) { var r = n.split(""=""), a = r.slice(1).join(""=""), o = i(r[0]); return a = i(a), t[o] = a, e === o }), e ? t[e] || """" : t } function s(e, t, n) { if (void 0 === t) return """"; ""number"" == typeof(n = Object.assign({ path: ""/"" }, n)).maxAge && (n[""max-age""] = String(n.maxAge), n.maxAge = !1), t = encodeURIComponent(t), e = encodeURIComponent(e); var r = Object.entries(n).reduce(function(e, t) { var n = a()(t, 2), r = n[0], i = n[1]; return i ? (e += ""; "" + r, !0 === i ? e : e += ""="" + i.split("";"")[0]) : e }, """"); return document.cookie = e + ""="" + t + r } }, BAOl: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, '@charset ""UTF-8"";\n\n/**\r\n * base.scss, 一些公共的代码\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * base variable\r\n */\n\n/**\r\n * function 区域\r\n */\n\n/**\r\n * mixin 区域\r\n */\n\n/**\r\n * 父元素必须是position: relative\r\n */\n\n/**\r\n * 字体icon\r\n */\n\n/**\r\n * flex 布局\r\n */\n\n/**\r\n * extend区域\r\n */\n\n/**\r\n * @file variables.scss, 相关的变量\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * @file border1px.scss, 1px在devicePixelRatio>2的方案\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/*原来的逻辑*/\n\n/*\n* 注意:需要按钮是position(absolute,relative)定位的,按钮没有宽高的,可能会出bug.\n* 按钮before已经有样式的就用data-active=after-{type},after同理。\n* eg:
button
\n* https://jira2.corp.yiran.com/browse/PDD-10191\n* 红色按钮 highlight状态增加 #000000 15%\n* 白色按钮 highlight状态增加 #000000 5%\n* 红色线框按钮 highlight状态增加 #E02E24 5%\n*/\n\n#share-mask {\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.8);\n z-index: 99999;\n}\n\n#share-mask .native_info {\n position: absolute;\n top: 10%;\n left: 10%;\n width: 80%;\n text-align: center;\n font-size: 16px;\n color: white;\n}\n\n#share-mask .native_info .native_info_title {\n font-size: 32px;\n color: white;\n}\n\n#share-mask .native_info .native_info_desc {\n font-size: 19px;\n line-height: 1;\n}\n\n#share-mask .commercial-bargain-group-tip {\n color: #fff;\n text-align: center;\n font-size: 0.18rem;\n line-height: 1.5;\n font-weight: bold;\n position: absolute;\n bottom: 200px;\n left: 0;\n width: 100%;\n}\n\n#share-mask .commercial-bargain-group-tip b {\n color: #ee2e3a;\n font-weight: 700;\n}\n\n#share-mask .knot-clct-hint {\n color: white;\n text-align: center;\n font-size: .18rem;\n line-height: .24rem;\n position: absolute;\n bottom: 165px;\n left: 0;\n width: 100%;\n}\n\n#share-mask .act-free-group {\n color: #fff;\n text-align: center;\n font-size: 0.18rem;\n line-height: 1.5;\n font-weight: bold;\n position: absolute;\n bottom: 180px;\n left: 0;\n width: 100%;\n}\n\n#share-mask .act-free-group b {\n color: #ee2e3a;\n font-weight: 700;\n}\n\n#share-content {\n position: fixed;\n bottom: 0;\n z-index: 9999999;\n width: 100%;\n max-width: 640px;\n height: 150px;\n background: white;\n}\n\n#share-content ul {\n margin-top: 15px;\n width: 100%;\n height: 70px;\n line-height: 70px;\n text-align: center;\n overflow: hidden;\n display: -webkit-box;\n display: flex;\n display: -webkit-flex;\n justify-content: space-around;\n -webkit-justify-content: space-around;\n -webkit-box-align: center;\n align-items: center;\n -webkit-align-items: center;\n padding: 0 0.1rem;\n}\n\n#share-content ul li {\n width: 0.7rem;\n}\n\n#share-content ul li i {\n display: block;\n width: 44px;\n height: 44px;\n margin: auto;\n}\n\n#share-content ul li .share-icon-base {\n background-size: 100% auto;\n background-repeat: no-repeat;\n background-size: 220px 44px;\n}\n\n#share-content ul li .share-icon-wechat {\n background-position: 0 0;\n}\n\n#share-content ul li .share-icon-moments {\n background-position: -44px 0;\n}\n\n#share-content ul li .share-icon-qq {\n background-position: -88px 0;\n}\n\n#share-content ul li .share-icon-qqzone {\n background-position: -132px 0;\n}\n\n#share-content ul li .share-icon-sina {\n background-position: -176px 0;\n}\n\n#share-content ul li span {\n display: block;\n font-size: 10pt;\n width: 100%;\n height: 20px;\n line-height: 20px;\n text-align: center;\n color: #b2b1b7;\n}\n\n#share-content p {\n position: absolute;\n bottom: 0;\n left: 0;\n z-index: 999999;\n width: 100%;\n height: 50px;\n line-height: 50px;\n text-align: center;\n font-size: 20px;\n border-top: 1px solid #ccc;\n color: #232323;\n}\n\n.app-new-user-group {\n position: relative;\n text-align: center;\n}\n\n#share-group-pop {\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n background-color: #fff;\n border-radius: 8px;\n z-index: 999999;\n height: auto;\n overflow: hidden;\n width: 2.9rem;\n padding: 0 .1rem;\n}\n\n#share-group-pop .share-group-pop-title {\n border-bottom: 1px solid #e0e0e0;\n height: .5rem;\n line-height: .5rem;\n font-size: .16rem;\n}\n\n#share-group-pop .share-group-pop-content {\n margin: .1rem .1rem 0;\n}\n\n#share-group-pop .share-group-pop-btn {\n margin: .1rem auto .15rem;\n width: 2.62rem;\n font-size: .16rem;\n}\n\n#share-group-pop .share-group-pop-title {\n color: #151516;\n text-align: center;\n}\n\n#share-group-pop .share-group-pop-cancel {\n background: url(""https://t13img.yangkeduo.com/cart/2018-07-12/80f9080f007cb0da9575b91b7cd00a18.png"") 0 0 no-repeat;\n background-size: contain;\n position: absolute;\n right: -0.11rem;\n top: -0.12rem;\n width: .23rem;\n height: .23rem;\n}\n\n#share-group-pop .share-group-pop-content {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n font-size: .14rem;\n word-break: break-all;\n color: #58595b;\n position: relative;\n}\n\n#share-group-pop .share-group-pop-btn {\n height: .43rem;\n line-height: .42rem;\n color: #fff;\n border-radius: .05rem;\n background-color: #e02e24;\n text-align: center;\n}\n\n@media only screen and (min-height: 270px) and (min-width: 319px) {\n .app-new-user-group {\n padding-top: 10%;\n }\n}\n\n@media only screen and (min-height: 330px) and (min-width: 319px) {\n .app-new-user-group {\n padding-top: 25%;\n }\n}', """"]) }, BNiH: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""render"", value: function() { var e = this, t = e.props.opts.icon; return f.a.createElement(""div"", { style: { display: this.state.display }, className: ""bg-fill app-bg-fill"", onClick: e.clickCancel.bind(e) }, f.a.createElement(""div"", { id: ""confirm-shipment"" }, f.a.createElement(""img"", { className: ""close-button"", src: ""//static.yangkeduo.com/assets/img/quit_button.png"" }), f.a.createElement(""img"", { className: ""head-icon"", src: t }), f.a.createElement(""div"", { className: ""title"" }), f.a.createElement(""div"", { className: ""desc"" }, ""APP里确认收货就有红包哦~""), f.a.createElement(""div"", { className: ""button"" }, f.a.createElement(""div"", { className: ""confirm-button"", onClick: e.props.confirmCallback }, ""去APP里确认收货""), f.a.createElement(""div"", { className: ""cancel-button"", onClick: e.props.hideCallback }, ""不了,现在就确认"")))) } }]), t }(n(""+zrp"").a); t.default = m }, BTIB: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""render"", value: function() { var e, t = this; this.props.opts.title && (e = f.a.createElement(""span"", { className: ""title"" }, this.props.opts.title)); var n = []; return this.props.opts.desc && this.props.opts.desc.forEach(function(e, t) { n.push(f.a.createElement(""span"", { className: ""desc"", key: t }, e)) }), f.a.createElement(""div"", { className: ""jsalert-confirm_default_v3"", style: { display: this.state.display } }, f.a.createElement(""div"", { className: ""bg-fill bg-fill2"" }), f.a.createElement(""div"", { id: ""confirm-default-v3"" }, f.a.createElement(""div"", { className: ""content-wrapper"" }, f.a.createElement(""div"", { className: ""detail"", id: ""confirm-default-v3-detail"" }, f.a.createElement(""div"", { className: ""title"" }, e), f.a.createElement(""div"", { className: ""desc"" }, n)), f.a.createElement(""div"", { className: ""buttons buttons-confirm"" }, f.a.createElement(""div"", { className: ""button"", onClick: function(e) { t.clickCancel(e) } }, this.props.opts.cancel || ""取消""), f.a.createElement(""div"", { className: ""button"", onClick: function(e) { t.clickConfirm(e) } }, this.props.opts.confirm || ""确定""))))) } }]), t }(n(""+zrp"").a); t.default = m }, Bb3D: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = n(""+zrp""), g = n(""u16y""), v = n(""b5fu""), _ = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""clickConfirm"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()), v.a.call(this.props.confirmCallback, this.state.checkboxSelected) } }, { key: ""render"", value: function() { var e = this, t = this.props, n = []; return t.desc && t.desc.forEach(function(e, t) { n.push(f.a.createElement(""li"", { className: ""desc"", key: t }, e)) }), f.a.createElement(""div"", { className: ""bg-fill"", style: { display: this.state.display } }, f.a.createElement(""div"", { className: ""alert-coupon-send"" }, f.a.createElement(""div"", { className: ""alert-close"", onClick: function(t) { return e.clickHide() } }), f.a.createElement(""ul"", { className: ""alert-coupon-send-desc"" }, n), f.a.createElement(""p"", { className: ""alert-coupon-send-confirm"", onClick: function(t) { return e.clickConfirm() } }))) } }]), t }(m.a); _.defaultProps = { img: g.a.getCDNImgURL(""coupons/coupon_send_bg_v2.png""), desc: [""快给小伙伴们发红包"", ""自己也可以领取哦~""], confirm: ""发红包"" }, t.default = _ }, CdBe: function(e, t, n) { var r = n(""4Mtu""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, CyzL: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return S }); var r = n(""MVZn""), a = n.n(r), i = n(""J4zp""), o = n.n(i), s = n(""cDf5""), c = n.n(s), u = n(""lwsE""), l = n.n(u), p = n(""W8MJ""), d = n.n(p), h = n(""a1gu""), f = n.n(h), m = n(""Nsbk""), g = n.n(m), v = n(""iWIM""), _ = n.n(v), b = n(""7W2i""), y = n.n(b), w = function(e) { function t(e) { var n; l()(this, t), (n = f()(this, g()(t).call(this, e))).url = e.url; var r = n.url.indexOf(""?""); return n.name = e.name || n.url.substring(0, -1 === r ? n.url.length : r), n.accessToken = e.accessToken, n.headers = Object.assign({}, e.headers || {}), n } return y()(t, e), d()(t, [{ key: ""dealPath"", value: function() { _()(g()(t.prototype), ""dealPath"", this).call(this), this.path = this.url } }, { key: ""dealHeaders"", value: function() { _()(g()(t.prototype), ""dealHeaders"", this).call(this); var e = this.req && this.req.cookies && this.req.cookies.ETag; e && (this.headers.ETag = e) } }]), t }(n(""Hxbd"").a), S = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; l()(this, e), this.auth = t } return d()(e, [{ key: ""processParams"", value: function(e) { return ""object"" !== c()(e) || null === e ? e : Object.entries(e).reduce(function(e, t) { var n = o()(t, 2), r = n[0], a = n[1]; return void 0 !== a && (e[r] = a), e }, {}) } }, { key: ""get"", value: function(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; return console.warn(""HttpService has been deprecated, and will be removed in the next version! Use $axiosHttp instead""), t = this.processParams(t), new w(a()({}, this.auth, { url: e, params: t }, n)).get() } }, { key: ""post"", value: function(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; return console.warn(""HttpService has been deprecated, and will be removed in the next version! Use $axiosHttp instead""), t = this.processParams(t), new w(a()({}, this.auth, { url: e, params: t }, n)).post() } }, { key: ""toJSON"", value: function() { return this.auth.req ? this.auth.req.reqId : """" } }]), e }() }, EhKJ: function(e, t, n) { ""use strict""; var r = n(""kk8N""), a = {}; a = window.pinnotification = function() { var e = {}, t = {}, n = 1; return { register: function(a, i, o, s) { var c = function() { null != o && o() }; if (null == i) return c(); var u = n++, l = function() { e[a][u] = i, t[u] = a, c() }; return e[a] ? l() : (e[a] = {}, r.a.callNative(""JSNotification"", ""register"", { name: a }, function() { l() }, s)), u }, unregister: function(n, a, i) { var o = t[n], s = e[o]; if (null != s) { delete s[n], delete t[n]; var c = 0; for (var u in s) s.hasOwnProperty(u) && c++; c <= 0 && (delete e[o], r.a.callNative(""JSNotification"", ""unregister"", { name: o }, a, i)) } else null != a && a() }, send: function(e, t, n, a) { r.a.callNative(""JSNotification"", ""send"", { name: e, payload: t }, n, a) }, message: function(t, n) { var r = e[t]; null != r && setTimeout(function() { for (var e in r) r[e](n) }, 0) } } }(), t.a = a }, EhXv: function(e, t, n) { ""use strict""; var r = n(""tl7A""), a = n(""lwsE""), i = n.n(a), o = n(""W8MJ""), s = n.n(o), c = n(""a1gu""), u = n.n(c), l = n(""Nsbk""), p = n.n(l), d = n(""7W2i""), h = n.n(d), f = n(""q1tI""), m = n.n(f), g = function(e) { function t() { return i()(this, t), u()(this, p()(t).apply(this, arguments)) } return h()(t, e), s()(t, [{ key: ""render"", value: function() { return m.a.createElement(""script"", { dangerouslySetInnerHTML: { __html: '!function(e,t){var n=e._plt=e._plt||[];n.fs=n.fs||!0;var r=+new Date;n.push([""tm"",""fsn"",r]);var i=t.getElementsByTagName(""img""),a=t.documentElement.clientHeight,o=[],m=""complete""===t.readyState,s=function(){for(var e=0;e0&&a>i&&(r=Math.max(t.time,r))}n.push([""tm"",""fs"",r])};function v(){for(var e=!0,t=0;t 0 && i > a && (r = Math.max(t.time, r)) } n.push([""tm"", ""fs"", r]) }; function u() { for (var e = !0, t = 0; t < o.length; t++) if (!(e = e && o[t].time)) return; c() } for (var l = 0; l < a.length; l++) { var p = a[l]; !p.complete && p.src && function() { var e = { img: p }, t = function t(n) { this.removeEventListener(""load"", t, !1), this.removeEventListener(""error"", t, !1), e.time = +new Date, s && u() }; p.addEventListener(""load"", t, !1), p.addEventListener(""error"", t, !1), o.push(e) }() } s ? u() : e.addEventListener(""load"", c) }(window, document) } }]), t }(f.PureComponent); n.d(t, ""a"", function() { return r.a }), n.d(t, ""b"", function() { return g }); var v = {}; v = { init: function(e) { function t() { setTimeout(function() { return new r.a(e) }, 0) } ""complete"" === document.readyState ? t() : window.addEventListener(""load"", t) } }; t.c = v }, F19C: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return a }), n.d(t, ""b"", function() { return i }); var r = n(""Fcpp""); function a(e, t) { if (!e) throw new Error(t || ""leoAssertError"") } function i(e, t, n) { r.a.trackingRecord({ op: ""real_error"", error_message: ""6011Error_"" + t, page: JSON.stringify(n), page_url: location.href }) } }, Fcpp: function(e, t, n) { ""use strict""; var r = n(""cDf5""), a = n.n(r), i = n(""3OdE""), o = n(""h3qu""), s = n(""KoDT""), c = n(""fkZF""), u = n(""xJ31""), l = n(""AGSb""), p = n(""mj+i""), d = n(""MpJ2""), h = { TrackingChannels: [""src"", ""from"", ""campaign"", ""cid"", ""msgid""], TrackingEvent: { OpenAddress: ""open_address"", SkipAppGroup: ""skip_app_group"", AlertAppDownload: { Show: ""a_a_d_s"", Download: ""a_a_d_d"", Close: ""a_a_d_c"" } }, ReferPageKeys: [""refer_page_name"", ""refer_page_section"", ""refer_page_element"", ""refer_page_id""], ReferShareKeys: [""refer_share_id"", ""refer_share_uid"", ""refer_share_channel"", ""refer_share_form""], ReferShareMapShort: { _sid: ""refer_share_id"", _suid: ""refer_share_uid"", _sc: ""refer_share_channel"", _sf: ""refer_share_form"" } }, f = n(""b9VB""), m = n(""m7/H""), g = n.n(m), v = n(""uf4C""), _ = n(""hQH6""), b = n(""YO3V""), y = n.n(b), w = n(""lSCD""), S = n.n(w), C = n(""Z0cm""), A = n.n(C), I = n(""3OWR""), k = n.n(I), E = n(""QkVN""), T = n.n(E), N = v.a.getInstance(), x = i.a.constant; function O(e) { var t = e.stack.replace(/\n/gi, """").split(/\bat\b/).slice(0, 5).join(""@"").replace(/\?[^:]+/gi, """"), n = e.toString(); return t.indexOf(n) < 0 && (t = n + ""@"" + t), t } function D() { var e = []; return function(t, n) { if (null != n && ""object"" === a()(n)) { if (e.indexOf(n) >= 0) return; e.push(n) } return n } } function P(e) { return e && e.replace(/(PDDAccessToken=|AccessToken=|""AccessToken"":)\s*""?([^;,""]+)""?([;,]?\s*)/gi, function(e, t, n, r) { return """".concat(t).concat(n.length).concat(r) }) } function R(e) { var t, n; return e instanceof Error && (t = e.message, n = e.stack ? O(e) : """"), { error_msg: t, error_stack: n, Error: e } } g.a.remoteFetching = !1, g.a.extendToAsynchronousCallbacks(); var M = function() { return [Date.now(), Object(c.a)(16)].join("""") }, L = function() { H.isCached || U() }, U = function() { var e = N.getReferPageQuery(); H.refer = e || {}, H.hasReferQuery = !!e && ""{}"" !== JSON.stringify(e), H.isCached = H.hasReferQuery }, W = function(e, t) { var n = N.getPageName() || location.pathname; F.statisfy && F.statisfy(""4.23.0"", ""4.22.0"", ""greaterThanEqual"") && Object(d.c)(""JSLogger"", ""log"", { module: n, message: t, level: e }) }, B = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0; if (!(window.__ERROR_SAMPLE_RATE__ && -1 !== [""chat_error"", ""error"", ""real_error""].indexOf(e.op) && Math.random() > window.__ERROR_SAMPLE_RATE__)) { var n = Object(p.e)(window.location.search); e = k()({}, e, N.getKeyParams()), L(), e.log_id = e.log_id || M(), e.user_id = e.user_id || function() { var e = localStorage.getItem(x.LocalStorageKey.UID) || """"; return e.toString().match(/[0-9]{10}/) ? e : (e ? parseInt(e, 36) : Object(l.a)(x.CookieKey.UID)) || 0 }(), e.rk_tag = function() { var e = Date.now(), t = Object(c.a)(16), n = Object(u.a)("""".concat(e).concat(t)); return """".concat(e).concat(t).concat(n) }(), e.uin = e.uin || localStorage.getItem(x.LocalStorageKey.UIN) || Object(l.a)(x.CookieKey.UIN), e.cookie_fp = Object(l.a)(""_nano_fp""), e.storage_fp = localStorage.getItem(""_nano_fp""), e.app_id = e.app_id || (F.platform === o.a.WeChat ? K.AppID.WeChat : F.platform === o.a.Weibo ? K.AppID.Weibo : F.platform === o.a.QQ ? F.isNativePlatform ? K.AppID.QQ : K.AppID.QQConnect : """") || """", e.time = e.time || e.log_id.substring(0, 13), e.page_name = e.useExistsParams && e.page_name ? e.page_name : N.getPageName(), e.page_id = N.getPageID(), e.page_sn = N.getPageSN(); var r = localStorage.getItem(""WxCheckPdd""); null !== r && (e.wx_check_pdd = parseInt(r, 10) || 0), T()(e, H.refer); var a = N.getExtendTransferParameters(); if (T()(e, a), [""pv"", ""click"", ""impr""].indexOf(e.op) >= 0) { h.TrackingChannels.forEach(function(t) { var r = ""refer_channel_"" + t; e[r] = e[r] || n[t] }), h.ReferShareKeys.forEach(function(t) { var r = e[t] || n[t] || n[t.slice(6)]; r && (e[t] = r) }); var i = h.ReferShareMapShort; for (var s in i) { var d = e[s] || n[s]; d && (e[i[s]] = d) } } if (""pv"" === e.op) { for (var f in n) n.hasOwnProperty(f) && f && 0 === f.indexOf(""_p_"") && (e[f] = n[f]); e.event = ""page_show"", e.page_url = location.href } ""1"" === n.is_back && (e.is_back = ""1""), e.refer_channel_msgid = e.refer_channel_msgid || n.msgid, delete e.useExistsParams, J && J.length > 0 && (e = J.reduce(function(e, t, n, r) { return t(e, n, r) }, e)), z.push(e), G(t) } }, G = function(e) { if (0 !== z.length) { for (var t = function() { var e = z.pop(); ""epv"" === e.op ? n(e) : setTimeout(function() { n(e) }, 0) }; z.length > 0;) t(); e && (F.isNativePlatform || F.isTinyNativePlatform ? Promise.resolve().then(function() { e() }) : setTimeout(e, 100)) } else e && e(); function n(e) { var t = K.loggingURL, n = K.logRoutes || {}; if (window.location && ""https:"" === window.location.protocol && (n = K.httpsLogRoutes, t = K.httpsLoggingURL), [""chat_error"", ""error"", ""real_error""].indexOf(e.op) < 0 ? (F.isWeChatMiniProgram && !_.a.isGrey({ name: ""nologMiniProgram"" }) && (n = {}, t = K.wxAppLoggingURL), F.isQQMiniProgram && !_.a.isGrey({ name: ""nologMiniProgram"" }) && (n = {}, t = K.qqAppLoggingURL)) : e.platform = F.platform, null == e.impr_id) { var r = n[((e = k()({}, X, e || {})).ad || ""ad"" === e.routeKey) && [""click"", ""impr""].indexOf(e.op) >= 0 ? ""ad"" : e.op] || t; delete e.routeKey, window.navigator.sendBeacon && !F.isNativePlatform && (e.support_beacon = 1); var a = Q(e), i = a.q, o = a.entries; if (""real_error"" == e.op && (e.status_code && (e.payload ? e.payload.status_code = e.status_code : e.payload = { status_code: e.status_code }, delete e.status_code), e.error_message && (e.error_msg = e.error_message, delete e.error_message), e.params && (e.payload ? e.payload.params = e.params : e.payload = { params: e.params }, delete e.params), e.sub_op && (e.payload ? e.payload.sub_op = e.sub_op : e.payload = { sub_op: e.sub_op }, delete e.sub_op), e.debug_url && (e.payload ? e.payload.debug_url = e.debug_url : e.payload = { debug_url: e.debug_url }, delete e.debug_url), e.log_version = ""1.0.0"", i = JSON.stringify(e)), F.isNativePlatform || F.isTinyNativePlatform) { var s = F.statisfy && F.statisfy(""4.45.0"", ""4.33.0"", ""greaterThanEqual"") || F.isTinyNativePlatform; if (s && o.length > 0) return void o.forEach(function(e) { Object(d.c)(""AMAnalytics"", ""send"", { url: r, value: e }).catch(function(e) { var t = R(e); console.error(P(JSON.stringify(t, D()))) }) }); if ([""chat_error"", ""error"", ""real_error""].indexOf(e.op) < 0 && s && a.oriParams) return a.oriParams.use_AMAnalytics = 1, void Object(d.c)(""AMAnalytics"", ""send"", { url: r, value: a.oriParams }).catch(function(e) { var t = R(e); console.error(P(JSON.stringify(t, D()))) }); Object(d.c)(""JSNetwork"", ""request"", { method: ""POST"", url: r, headers: { ""Content-Type"": ""text/plain;charset=UTF-8"" }, data: i }).catch(function(e) { var t = R(e); console.error(P(JSON.stringify(t, D()))) }) } else { if (window.navigator.sendBeacon && _.a.isGrey({ name: ""UseBeaconReport"" }) && [""pv"", ""click"", ""impr""].indexOf(e.op) >= 0 && window.navigator.sendBeacon(r, i)) return; try { var c; if (!window.XMLHttpRequest) return; (c = new XMLHttpRequest).open(""POST"", r, !0), c.setRequestHeader(""Content-Type"", ""text/plain;charset=UTF-8""), c.withCredentials = !0, c.send(i) } catch (e) {} } } } }, Q = function(e) { var t = (e = e || {}).items; if (""string"" == typeof t) try { t = JSON.parse(t) } catch (e) { console.log(e) } if (A()(e.items) && e.items.length > 0) { t = e.items, delete e.items; var n = t.map(function(t, n) { t && !t.log_id && (t.log_id = M()); var r = k()({}, e, t); return [""ad"", ""p_rec""].forEach(function(e, t) { r[e] && (r[e] = q(r[e])) }), r }), r = n.reduce(function(e, t) { var n = Object(p.b)(t); return """".concat(e).concat(n, ""$"") }, """"); return { q: r = r.slice(0, r.length - 1), entries: n } } return e.items = q(e.items), { q: Object(p.b)(e), oriParams: j(e), entries: [] } }, j = function(e) { if (y()(e)) { var t = {}; for (var n in e) ""object"" === a()(e[n]) ? t[n] = JSON.stringify(e[n]) : t[n] = e[n]; return t } return null }, q = function(e) { return e && ""string"" != typeof e ? JSON.stringify(e) : e }, V = function() { var e = Date.now(); window.addEventListener(""load"", function() { try { var e = JSON.stringify($() || {}); if (B({ op: ""perf"", sub_op: ""page_load"", value: e }), window.parent !== window) { var t = document.referrer; B({ op: ""real_error"", page: ""page been iframed by "" + t, error_message: ""iframe_injected"", page_url: location.href }) } } catch (e) { console.log(e) } setTimeout(function() { (new f.a).send() }, 0) }), F.isNativePlatform || (void 0 !== document.hidden && window.addEventListener(""visibilitychange"", function() { document.hidden ? B({ op: ""epv"", sub_op: ""leave"", enter_time: e, time: Date.now() }) : e = Date.now() }), window.addEventListener(""unload"", function() { B({ op: ""epv"", sub_op: ""leave"", enter_time: e, close_time: Date.now() }) })) }, F = Object(s.a)(), K = i.a.get(location.host), H = { isCached: !1, hasReferQuery: !1, refer: { refer_page_id: null, refer_page_name: null, refer_page_section: null, refer_page_element: null } }, z = [], J = [], Y = window.onerror; if (window.onerror = function(e, t, n, r, a) { if (""function"" == typeof Y && !Y._raw) { var i = e; a && a.stack && (i = O(a)), function(e, t) { return Object.prototype.toString.call(e) === ""[object "" + (t || ""Object"") + ""]"" }(i, ""Event"") && (i += i.type ? ""--"" + i.type + ""--"" + (i.target ? i.target.tagName + ""::"" + i.target.src : """") : """"), Y(i, t, n, r, a) } }, g.a.report.subscribe(function(e) { var t = """"; if (e && (t = e.name + "":"" + e.message, e.stack && e.stack.length)) for (var n = 0; n < e.stack.length; n++) t += ""@ "".concat(e.stack[n].func, ""("").concat(e.stack[n].url, "":"").concat(e.stack[n].line, "":"").concat(e.stack[n].column, "")""); var r = location.search ? location.href + ""&"" + Object(p.b)({ JS_ERROR: t }) : location.href + ""?"" + Object(p.b)({ JS_ERROR: t }); B({ page: e ? e.name + "" "" + e.message + "" "" + JSON.stringify(e.stack) : ""no info"", op: ""real_error"", page_url: location.href, debug_url: r }) }), window.addEventListener(""unhandledrejection"", function(e) { var t = R(e.reason); B({ page: ""unhandledrejection reason:"" + P(JSON.stringify(t, D())), error_msg: t.error_msg, op: ""real_error"", page_url: location.href }) }), location.search) { var Z = Object(p.e)(location.search); Z.JS_ERROR && console.error(Z.JS_ERROR.replace(/\)@/g, ""\n)@"")) } var X = { screen_width: window.screen.width, screen_height: window.screen.height, dpr: window.devicePixelRatio, app_version: """", platform: """" }, $ = function() { var e = window.performance, t = { page: {}, api: [] }; if (e && e.timing) { var n = e.timing, r = t.page; r.loadTime = n.loadEventStart - n.fetchStart, r.domReadyTime = n.domComplete - n.domInteractive, r.readyStart = n.fetchStart - n.navigationStart, r.lookupDomainTime = n.domainLookupEnd - n.domainLookupStart, r.requestTime = n.responseEnd - n.requestStart, r.initDomTreeTime = n.domInteractive - n.responseEnd } return t }; X.app_version = F.version, X.platform = F.isTinyNativePlatform ? o.a.PddAndroid : F.platform === o.a.MaJiaBaoAndroid ? o.a.Unknown : F.platform; var ee = {}; ee = { init: V, send: B, info: function(e) { W(2, e) }, warn: function(e) { W(3, e) }, error: function(e) { W(4, e) }, sendPv: function(e, t) { e = k()({}, e, { op: ""pv"" }), B(e) }, addDefaultParams: function(e) { X = k()({}, X, e) }, getLogID: M, isImprTester: function() { return !0 }, getImprID: function(e) { return M() }, getImprTime: function() { return 1e3 }, initLogger: function() { V() }, trackingRecord: function(e, t) { null == K.loggingURL || K.loggingURL.length <= 0 || B(e, t) }, hasReferQuery: function() { return H.isCached || L(), H.hasReferQuery }, updateCacheContextInfo: U, isAdTrackingTester: function(e) { e }, addMiddleware: function(e) { S()(e) ? J.push(e) : A()(e) && e.forEach(function(e) { J.push(e) }) } }; t.a = ee }, GTJB: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return s }); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = function() { function e(t, n) { a()(this, e), this.code = t, this.msg = n } return o()(e, [{ key: ""toString"", value: function() { return ""code="" + this.code + "",msg="" + this.msg } }]), e }(); s.DefaultCodeMsg = { code: 500, msg: ""未定义异常!"" } }, GdyA: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, "".pin-toast-container {\n display: block;\n position: fixed;\n width: 100%;\n max-width: 768px;\n height: auto;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n z-index: 999999999;\n text-align: center;\n pointer-events: none;\n}\n\n.pin-toast {\n display: none;\n position: relative;\n bottom: 32px;\n max-width: 2.5rem;\n min-width: 1rem;\n height: auto;\n margin: 0 auto;\n background-color: rgba(0, 0, 0, 0.8);\n color: #F0F0F0;\n font-size: .16rem;\n line-height: 1.5;\n padding: .12rem .14rem;\n text-align: center;\n border-radius: .06rem;\n}"", """"]) }, HT1o: function(e, t, n) { var r = n(""mKaX""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, Hxbd: function(e, t, n) { ""use strict""; var r = void 0; r = n(""KshE"").default, t.a = r }, ""ICD/"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return a }); var r = n(""x+5E""); function a(e, t) { if (!Object(r.a)(e)) return t; var n; try { n = JSON.parse(e) || t } catch (e) { n = t } return n } }, IgcI: function(e, t, n) { ""use strict""; n.r(t); var r = n(""u/J7""), a = n(""q1tI""), i = n.n(a), o = n(""kk8N""), s = n(""xnWZ""); n(""vMW4""); var c = {}, u = document.createElement(""div""); u.innerHTML = n(""4Agm""); var l = u.firstChild; document.body.appendChild(l), c = { show: function(e, t) { var n = this, r = document.querySelector("".pin-toast""); if (null != r) { void 0 !== t && null != t || (t = {}); var a = t.showDuration || 2e3; r.innerHTML = e.replace(/\n/g, ""
""), r.style.display = ""inline-block"", r.style.opacity = 0, p.fadeIn(r, { duration: 300, complete: function() { a >= 0 && setTimeout(function() { n.hide(function() { null != t.complete && t.complete() }) }, a) } }) } }, hide: function(e) { var t = document.querySelector("".pin-toast""); null != t && p.fadeOut(t, { duration: 300, complete: function() { t.style.display = ""none"", null != e && e() } }) } }; var p = { fadeIn: function(e, t) { void 0 !== t && null != t || (t = {}); var n = 0; this.animate_({ duration: t.duration, step: function(t) { n += t, e.style.opacity = n }, complete: t.complete }) }, fadeOut: function(e, t) { void 0 !== t && null != t || (t = {}); var n = 1; this.animate_({ duration: t.duration, step: function(t) { n -= t, e.style.opacity = n }, complete: t.complete }) }, animate_: function(e) { var t = this; void 0 !== e && null != e || (e = {}), null == e.duration && (e.duration = 300), null == e.easing && (e.easing = function(e) { return t.easing_.linear(e) }), e.lastProgress = e.easing(0); var n = Date.now(), r = setInterval(function() { var t = Date.now() - n, a = e.easing(Math.min(1, t / e.duration)), i = a - e.lastProgress; null != e.step && e.step(i), a >= 1 && (clearInterval(r), null != e.complete && e.complete()), e.lastProgress = a }, 1e3 / 24) }, easing_: { linear: function(e) { return e } } }, d = c, h = n(""b5fu""), f = n(""3OdE""), m = n(""i8i4""), g = n.n(m), v = n(""u16y""), _ = n(""ii9O""), b = n(""19V+""), y = n(""fhzG""), w = n.n(y), S = ""refresh"", C = ""wait"", A = ""刷新"", I = ""{0} s""; n(""2aGa""); var k = w()({ getInitialState: function() { return { style: { display: ""none"" }, buttonLabel: """", imgUrl: v.a.getCDNImgURL(""jsalert/delay_load_icon.png""), defaultButtonStyle: ""button"", buttonStyle: ""button"", seconds: 0 } }, getDefaultProps: function() { return { seconds: 0, visible: !1 } }, componentWillMount: function() { this.init() }, componentDidMount: function() { this.countDown() }, init: function() { var e = this.props; this.setState({ desc: ""多多体力还没有恢复,请稍后重试"", seconds: e.seconds, buttonLabel: e.seconds <= 0 ? A : h.a.format(I, e.seconds), buttonStyle: e.seconds <= 0 ? S : C }), e.visible && this.show() }, show: function() { this.setState({ style: { display: ""block"" } }) }, hide: function() { this.setState({ style: { display: ""none"" } }), _.a.reload() }, componentWillReceiveProps: function(e) { !1 === e.visible && this.hide(), !0 === e.visible && this.show() }, countDown: function() { var e; --this.state.seconds <= 0 ? e = A : (e = h.a.format(I, this.state.seconds), setTimeout(this.countDown, 1e3)); var t = this.state.seconds <= 0 ? S : C; t = [this.state.defaultButtonStyle, t].join("" ""), b.a.hide(), this.setState({ buttonStyle: t, buttonLabel: e }) }, clickRefresh: function(e) { e.stopPropagation(), this.state.seconds > 0 || (this.hide(), _.a.reload()) }, render: function() { return i.a.createElement(""div"", { style: this.state.style }, i.a.createElement(""div"", { className: ""bg-fill"" }), i.a.createElement(""div"", { id: ""delay-load"" }, i.a.createElement(""img"", { className: ""head-icon"", src: this.state.imgUrl }), i.a.createElement(""div"", { className: ""desc"" }, this.state.desc), i.a.createElement(""div"", { className: this.state.buttonStyle, onClick: this.clickRefresh }, this.state.buttonLabel))) } }), E = { viewLoaded: !1, seconds: 0, visible: !1, show: function() { this.visible = !0 }, hide: function() { this.visible = !1 }, load: function(e) { e = e || {}, this.seconds = e.seconds, this.visible = !0, this.viewLoaded || (g.a.render(i.a.createElement(k, { seconds: this.seconds, visible: this.visible }), document.body), this.viewLoaded = !0) } }, T = n(""lwsE""), N = n.n(T), x = n(""W8MJ""), O = n.n(x), D = n(""a1gu""), P = n.n(D), R = n(""Nsbk""), M = n.n(R), L = n(""PJYZ""), U = n.n(L), W = n(""7W2i""), B = n.n(W); n(""17x9""); ""undefined"" != typeof window && n(""q0Ap""); var G = r.default, Q = function(e) { function t(e) { var n; return N()(this, t), (n = P()(this, M()(t).call(this, e))).state = { isVisible: !0 }, n.close = n.close.bind(U()(n)), n } return B()(t, e), O()(t, [{ key: ""componentDidMount"", value: function() { !this.props.noDisablePullReload && s.b.isNativePlatform() && o.a.callNative(""JSUIControl"", ""disablePullReload""), this.props.noDisableScroll || G.disableScroll(this.props.disableScrollExceptionId) } }, { key: ""close"", value: function() { !this.props.noDisablePullReload && s.b.isNativePlatform() && o.a.callNative(""JSUIControl"", ""enablePullReload""), this.props.noDisableScroll || G.enableScroll(), this.setState({ isVisible: !1 }), this.props.onClose && this.props.onClose() } }, { key: ""render"", value: function() { var e = this, t = { display: this.state.isVisible ? """" : ""none"", zIndex: this.props.fixedContainerZIndex || """" }, n = i.a.Children.map(this.props.children, function(t) { return i.a.cloneElement(t, { close: e.close }) }); return i.a.createElement(""div"", { className: ""modal-popup"", style: t }, i.a.createElement(""div"", { className: ""modal-popup-content "" + this.props.verticalAlignClass }, n), i.a.cloneElement(this.props.backdropElement, { close: this.close })) } }]), t }(i.a.Component); ""undefined"" != typeof window && n(""20zl""); var j = function(e) { function t(e) { var n; return N()(this, t), (n = P()(this, M()(t).call(this, e))).state = {}, n.onOkButtonClick = n.onOkButtonClick.bind(U()(n)), n } return B()(t, e), O()(t, [{ key: ""onOkButtonClick"", value: function() { var e = this.props.onOk; this.props.close && this.props.close(), e && e() } }, { key: ""render"", value: function() { var e = this.props, t = e.okButtonLabel, n = void 0 === t ? ""确定"" : t, r = e.title, a = void 0 === r ? """" : r, o = e.text, s = void 0 === o ? """" : o; return i.a.createElement(""div"", { className: ""default-alert-content-wrapper"" }, i.a.createElement(""div"", { className: ""detail"", id: ""alert-default-v3-detail"" }, !!a && i.a.createElement(""div"", { className: ""title"" }, a), !!s && i.a.createElement(""div"", { className: ""desc"" }, s)), i.a.createElement(""div"", { className: ""buttons"" }, i.a.createElement(""div"", { className: ""button"", onClick: this.onOkButtonClick }, n))) } }]), t }(i.a.Component); function q(e) { return i.a.createElement(""div"", { className: ""default-alert-bg-fill"" }) } var V = function(e) { return i.a.createElement(Q, { onClose: e.onClose, fixedContainerZIndex: 10002, disableScrollExceptionId: ""alert-default-v3-detail"", backdropElement: i.a.createElement(q, null) }, i.a.createElement(j, e)) }; ""undefined"" != typeof window && n(""20zl""); var F = function(e) { function t(e) { var n; return N()(this, t), (n = P()(this, M()(t).call(this, e))).state = {}, n.onConfirmButtonClick = n.onConfirmButtonClick.bind(U()(n)), n.onCancelButtonClick = n.onCancelButtonClick.bind(U()(n)), n } return B()(t, e), O()(t, [{ key: ""onConfirmButtonClick"", value: function() { var e = this.props.onConfirm; this.props.close && this.props.close(), e && e() } }, { key: ""onCancelButtonClick"", value: function() { var e = this.props.onCancel; this.props.close && this.props.close(), e && e() } }, { key: ""render"", value: function() { var e = this.props, t = e.confirmButtonLabel, n = void 0 === t ? ""确定"" : t, r = e.cancelButtonLabel, a = void 0 === r ? ""取消"" : r, o = e.title, s = void 0 === o ? """" : o, c = e.text, u = void 0 === c ? """" : c; return i.a.createElement(""div"", { className: ""default-confirm-content-wrapper"" }, i.a.createElement(""div"", { className: ""detail"", id: ""confirm-default-v3-detail"" }, !!s && i.a.createElement(""div"", { className: ""title"" }, s), !!u && i.a.createElement(""div"", { className: ""desc"" }, u)), i.a.createElement(""div"", { className: ""buttons buttons-confirm"" }, i.a.createElement(""div"", { className: ""button"", onClick: this.onCancelButtonClick }, a), i.a.createElement(""div"", { className: ""button"", onClick: this.onConfirmButtonClick }, n))) } }]), t }(i.a.Component); function K(e) { return i.a.createElement(""div"", { className: ""default-confirm-bg-fill"" }) } var H = function(e) { return i.a.createElement(Q, { onClose: e.onClose, fixedContainerZIndex: 10002, disableScrollExceptionId: ""confirm-default-v3-detail"", backdropElement: i.a.createElement(K, null) }, i.a.createElement(F, e)) }; function z(e) { var t = e, n = (t.type, t.props); var r = document.createElement(""div""), a = null; return document.body.appendChild(r), e = i.a.cloneElement(e, { onClose: function() { n.onClose && n.onClose(), a || (a = setTimeout(function() { g.a.unmountComponentAtNode(r), document.body.removeChild(r), r = null }, 0)) } }), { componentReference: g.a.render(e, r) } } var J = f.a.constant, Y = { showToast: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """", t = arguments.length > 1 ? arguments[1] : void 0; e.length <= 0 || (s.b.isNativePlatform() ? o.a.callNative(""JSAlert"", ""toast"", { message: e }) : d.show(e, { showDuration: t })) }, showAlert: function(e, t, n, r, a) { s.b.isModuleVersion ? o.a.callNative(""JSAlert"", ""showAlert"", { text: e, title: r || """", ok_label: n || ""确定"" }, t) : setTimeout(function() { alert(e), h.a.call(t) }, 0) }, showAlert2: function(e) { var t = e.text, n = e.title, r = e.onOk, a = e.okButtonLabel; s.b.isModuleVersion ? o.a.callNative(""JSAlert"", ""showAlert"", { text: t, title: n || """", ok_label: a || ""确定"" }, r) : this.showAlertPopup({ title: n, text: t, onOk: r, okButtonLabel: a }) }, showConfirm: function(e, t, n, r, a, i) { s.b.isModuleVersion ? o.a.callNative(""JSAlert"", ""showAlert"", { text: e, title: i || """", ok_label: r || ""确定"", cancel_label: a || ""取消"" }, function(e) { 0 == e.index ? h.a.call(t) : h.a.call(n) }) : setTimeout(function() { confirm(e) ? h.a.call(t) : h.a.call(n) }, 0) }, showConfirm2: function(e) { var t = e.title, n = e.text, r = e.onConfirm, a = e.onCancel, i = e.confirmButtonLabel, c = e.cancelButtonLabel; s.b.isModuleVersion ? o.a.callNative(""JSAlert"", ""showAlert"", { title: t || """", text: n || """", ok_label: i || ""确定"", cancel_label: c || ""取消"" }, function(e) { 0 == e.index ? h.a.call(r) : h.a.call(a) }) : this.showConfirmPopup({ title: t, text: n, onConfirm: r, onCancel: a, confirmButtonLabel: i, cancelButtonLabel: c }) }, showAlertPopup: function(e) { var t = e.title, n = e.text, r = e.onOk, a = e.okButtonLabel; z(i.a.createElement(V, { title: t, text: n, onOk: r, okButtonLabel: a })) }, showConfirmPopup: function(e) { var t = e.title, n = e.text, r = e.onConfirm, a = e.onCancel, o = e.confirmButtonLabel, s = e.cancelButtonLabel; z(i.a.createElement(H, { title: t, text: n, onConfirm: r, onCancel: a, confirmButtonLabel: o, cancelButtonLabel: s })) }, delayLoad: function(e) { var t = Date.now(); if (null == e) { var n = localStorage.getItem(J.LocalStorageKey.DelayLoadTimestamp); null != n && (n = parseInt(n, 10)) > t && (e = parseInt((n - t) / 1e3, 10)) } return null != e && (h.a.saveToLocalStorage(J.LocalStorageKey.DelayLoadTimestamp, Math.floor(t + 1e3 * e).toString()), this.showDelayLoad(e), !0) }, showDelayLoad: function(e) { E.load({ seconds: e }) }, showJSAlert: function(e, t, r, a, i, o) { var s = n(""VdQI""); setTimeout(function() { s.load({ type: e, confirmCallback: t, cancelCallback: r, hideCallback: a, options: i || {}, isUnique: o }) }, 0) }, showJSPrompt: function(e, t, r, a, i, o) { n(""6qKh"").load({ type: e, confirmCallback: t, cancelCallback: r, hideCallback: a, options: i || {}, isUnique: o }) } }; ""undefined"" != typeof window && n(""HT1o""); var Z = function(e) { function t(e) { var n; return N()(this, t), (n = P()(this, M()(t).call(this, e))).close = n.close.bind(U()(n)), n } return B()(t, e), O()(t, [{ key: ""close"", value: function() { this.props.doClickClose && this.props.close && this.props.close() } }, { key: ""render"", value: function() { return i.a.createElement(""div"", { className: ""modal-popup-backdrop"", onClick: this.close }) } }]), t }(i.a.Component), X = {}; X = { disableScroll: r.default.disableScroll, enableScroll: r.default.enableScroll, disableScrollNew: r.default.disableScrollNew, enableScrollNew: r.default.enableScrollNew, onWindowResize: r.default.onWindowResize, delayLoad: Y.delayLoad.bind(Y), showToast: Y.showToast, showAlert: Y.showAlert, showAlert2: Y.showAlert2, showAlertPopup: Y.showAlertPopup, showConfirm: Y.showConfirm, showConfirm2: Y.showConfirm2.bind(Y), showConfirmPopup: Y.showConfirmPopup, showJSAlert: Y.showJSAlert, showJSPrompt: Y.showJSPrompt, renderPopup: z, toast: d, ModalPopup: Q, ModalPopupBackdrop: Z }; t.default = X }, IsSU: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, ""#prompt-default {\n position: fixed;\n width: 87.2%;\n height: 2.23rem;\n z-index: 2;\n top: 30%;\n left: 0;\n right: 0;\n margin: auto;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n\n#prompt-default .close-button {\n position: absolute;\n top: -.03rem;\n right: -.145rem;\n width: .29rem;\n height: .29rem;\n z-index: 1;\n}\n\n#prompt-default .content-wrapper {\n position: relative;\n display: block;\n height: auto;\n max-height: 100vh;\n max-width: 768px;\n padding-bottom: .16rem;\n background: #fff;\n border-radius: .08rem;\n overflow-y: hidden;\n text-align: center;\n}\n\n#prompt-default .content-wrapper .detail {\n padding: .24rem .14rem .27rem;\n max-height: 3.75rem;\n word-wrap: break-word;\n word-break: normal;\n cursor: default;\n -webkit-user-select: none;\n user-select: none;\n}\n\n#prompt-default .content-wrapper .detail .title {\n font-size: .15rem;\n line-height: 1.4;\n width: 2.7rem;\n display: inline-block;\n text-align: center;\n color: #151516;\n margin-bottom: .18rem;\n}\n\n#prompt-default .content-wrapper .detail input {\n width: 2.99rem;\n height: .53rem;\n color: #151516;\n border-radius: 5px;\n border: 1px solid #e0e0e0;\n padding: 0 .1rem;\n font-size: .23rem;\n -webkit-appearance: none;\n}\n\n#prompt-default .content-wrapper .detail ::-webkit-input-placeholder {\n color: #ccc;\n font-size: .19rem;\n}\n\n#prompt-default .content-wrapper .detail ::-moz-placeholder {\n color: #ccc;\n font-size: .19rem;\n}\n\n#prompt-default .content-wrapper .detail :-ms-input-placeholder {\n color: #ccc;\n font-size: .19rem;\n}\n\n#prompt-default .content-wrapper .detail input:-moz-placeholder {\n color: #ccc;\n font-size: .19rem;\n}\n\n#prompt-default .content-wrapper .buttons {\n width: 100%;\n overflow: hidden;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n\n#prompt-default .content-wrapper .buttons .button {\n width: 2.69rem;\n margin: auto;\n height: .43rem;\n line-height: .43rem;\n background: #e02e24;\n border-radius: 5px;\n color: #ffffff;\n font-size: .16rem;\n}\n\n.app-bg-fill {\n background-color: rgba(0, 0, 0, 0.8);\n}\n\n.f-pf {\n position: fixed;\n}\n\n.f-btm0 {\n bottom: 0;\n}"", """"]) }, JH3l: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""render"", value: function() { var e, t = this, n = 0 !== Object.keys(t.props.opts).length ? t.props.opts : t.props; n.title && (e = f.a.createElement(""p"", { className: ""title"" }, n.title)); var r = []; n.desc && n.desc.forEach(function(e, t) { r.push(f.a.createElement(""p"", { className: ""desc"", key: t }, e)) }); var a = f.a.createElement(""div"", null); return ""none"" !== this.state.display && (a = f.a.createElement(""div"", { style: { display: this.state.display }, className: ""bg-fill app-bg-fill"" }, f.a.createElement(""div"", { id: ""confirm-default-v3"" }, f.a.createElement(""div"", { className: ""content-wrapper"" }, f.a.createElement(""div"", { className: ""detail"", id: ""confirm-default-v3-detail"" }, e, r), f.a.createElement(""div"", { className: ""buttons buttons-confirm"" }, f.a.createElement(""div"", { className: ""button"", onClick: function(e) { t.clickCancel(e) } }, n.cancel), f.a.createElement(""div"", { className: ""button"", onClick: function(e) { t.clickConfirm(e) } }, n.confirm)))))), a } }]), t }(n(""+zrp"").a); m.defaultProps = { desc: [""您未关注拼多多公众号,无法更新资料哦~""], confirm: ""我知道了"", cancel: ""取消"" }, t.default = m }, K4Ed: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""PJYZ""), d = n.n(p), h = n(""7W2i""), f = n.n(h), m = n(""q1tI""), g = n.n(m), v = n(""b5fu""), _ = function(e) { function t(e) { var n; return a()(this, t), (n = c()(this, l()(t).call(this, e))).state = { display: """", inputValue: """" }, n.show = n.show.bind(d()(n)), n.close = n.close.bind(d()(n)), n.confirm = n.confirm.bind(d()(n)), n.handleChange = n.handleChange.bind(d()(n)), n } return f()(t, e), o()(t, [{ key: ""confirm"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()), this.ui.enableScroll(); var t = this.props.opts && this.props.opts.validator || null, n = this.state.inputValue.replace(/\s+/g, """"); t && t(n) && (this.close(), v.a.call(this.props.confirmCallback, n)) } }, { key: ""departMobile"", value: function(e) { var t = e; return (t = t.split("""")).length > 3 && "" "" !== t[3] && t.splice(3, 0, "" ""), t.length > 8 && "" "" !== t[8] && t.splice(8, 0, "" ""), t.join("""") } }, { key: ""close"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()), this.setState({ display: ""none"" }), this.ui.enableScroll(), v.a.call(this.props.hideCallback) } }, { key: ""componentDidMount"", value: function() { this.ui = n(""IgcI""), this.ui.disableScroll() } }, { key: ""render"", value: function() { return null } }, { key: ""handleChange"", value: function(e) { this.setState({ inputValue: this.departMobile(e.target.value) }) } }, { key: ""show"", value: function() { this.setState({ display: """" }), this.ui.disableScroll() } }]), t }(g.a.Component), b = n(""u16y""), y = n(""xnWZ""), w = function(e) { function t(e) { var n; return a()(this, t), (n = c()(this, l()(t).call(this, e))).handleFocus = n.handleFocus.bind(d()(n)), n.handleBlur = n.handleBlur.bind(d()(n)), n } return f()(t, e), o()(t, [{ key: ""render"", value: function() { var e = this.props, t = e.opts, n = t.title ? g.a.createElement(""p"", { className: ""title"" }, t.title) : """", r = null; return ""none"" !== this.state.display && (r = g.a.createElement(""div"", { style: { display: this.state.display }, className: ""bg-fill app-bg-fill"" }, g.a.createElement(""div"", { id: ""prompt-default"" }, g.a.createElement(""div"", { className: ""close-button"", onClick: this.close }, g.a.createElement(""img"", { src: e.closeButton })), g.a.createElement(""div"", { className: ""content-wrapper"" }, g.a.createElement(""div"", { className: ""detail"", id: ""prompt-default-detail"" }, n, g.a.createElement(""input"", { type: ""tel"", maxLength: ""13"", placeholder: t.placeholder, value: this.state.inputValue, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur })), g.a.createElement(""div"", { className: ""buttons buttons-confirm"" }, g.a.createElement(""div"", { className: ""button"", onClick: this.confirm }, e.confirm)))))), r } }, { key: ""handleFocus"", value: function() { document.body.classList.add(""f-pf""), y.b.IOSSystemVersion && v.a.compareVersion(y.b.IOSSystemVersion, ""10.0.2"") <= 0 && document.getElementById(""prompt-default"").classList.add(""f-btm0"") } }, { key: ""handleBlur"", value: function() { document.body.classList.remove(""f-pf""), y.b.IOSSystemVersion && v.a.compareVersion(y.b.IOSSystemVersion, ""10.0.2"") <= 0 && document.getElementById(""prompt-default"").classList.remove(""f-btm0""), y.b.IOSSystemVersion && this.confirm() } }]), t }(_); w.defaultProps = { confirm: ""确认"", closeButton: b.a.getCDNImgURL(""jsalert/alert_app_download_close_v2.png"") }; t.default = w }, KbSy: function(e, t, n) { ""use strict""; n.r(t); var r = n(""iCc5""), a = n.n(r), i = n(""V7oC""), o = n.n(i), s = n(""tWR7""), c = n(""b5fu""), u = n(""ouH+""), l = function() { function e() { a()(this, e) } return e.prototype.fetchAccessToken = function() { return Promise.resolve(u.a.getAccessToken()) }, e.prototype.tryFetchAccessToken = function() { return Promise.resolve(u.a.getAccessToken()) }, e.prototype.setCookie = function(e, t, n) { var r; c.a.setCookie(((r = {})[e] = { value: t, msec: n }, r)) }, o()(e, [{ key: ""pathname"", get: function() { return location.pathname } }, { key: ""queries"", get: function() { return s.a.pageParseQuery() } }, { key: ""userAgent"", get: function() { return navigator.userAgent } }, { key: ""hostname"", get: function() { return location.hostname } }, { key: ""cookies"", get: function() { var e = c.a.getCookies(); for (var t in e) e[t] instanceof Array && (e[t] = e[t][0]); return e } }]), e }(); t.default = l }, KoDT: function(e, t, n) { ""use strict""; var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""h3qu""), f = n(""1/kQ""), m = /micromessenger\/([^\s]+)\s*/i, g = { WeChatAndroid: ""wechat_android"", WeChatIOS: ""wechat_ios"", WeChatUnknown: ""wechat_unknown"" }; var v = function(e) { function t() { return a()(this, t), c()(this, l()(t).apply(this, arguments)) } return d()(t, e), o()(t, [{ key: ""wechatVersion"", get: function() { return Object(h.d)(this.cache, ""wechatVersion"", function() { var e = (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """").match(m); return e && e[1] || """" }(this.ua)) } }, { key: ""wechatPlatform"", get: function() { return Object(h.d)(this.cache, ""wechatPlatform"", function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; return -1 !== (e = e.toUpperCase()).indexOf(""ANDROID"") ? g.WeChatAndroid : -1 !== e.indexOf(""IPHONE"") || -1 !== e.indexOf(""IPAD"") || -1 !== e.indexOf(""ITOUCH"") ? g.WeChatIOS : g.WeChatUnknown }(this.ua)) } }, { key: ""isSupportHistoryAPI"", get: function() { return Object(h.d)(this.cache, ""isSupportHistoryAPI"", Object(h.c)(this.wechatVersion, ""6.5.1"") > 0) } }, { key: ""isPureWeChatPlatform"", get: function() { return this.platform === h.a.WeChat } }, { key: ""isWeChatMiniProgram"", get: function() { return this.platform === h.a.WxApp } }, { key: ""isWeChatPlatform"", get: function() { return this.platform === h.a.WeChat || this.platform === h.a.WxApp } }, { key: ""isAndroidWeChatPlatform"", get: function() { return this.isWeChatPlatform && this.wechatPlatform === g.WeChatAndroid } }, { key: ""isIOSWeChatPlatform"", get: function() { return this.isWeChatPlatform && this.wechatPlatform === g.WeChatIOS } }, { key: ""isEmbeddedBrowser"", get: function() { return this.isWeChatPlatform } }, { key: ""isWeChatPayAvailable"", get: function() { return this.isWeChatPlatform } }, { key: ""isSupportWechatFloatingWindow"", get: function() { return Object(h.d)(this.cache, ""isSupportWechatFloatingWindow"", Object(h.c)(this.wechatVersion, ""6.6.7"") > 0) } }, { key: ""isShowSMAlertPlatform"", get: function() { var e = this; return Object(h.d)(this.cache, ""isShowSMAlertPlatform"", !!e.isIOSWeChatPlatform || !!(e.isAndroidWeChatPlatform && Object(h.c)(e.wechatVersion, ""6.5.6"") >= 0)) } }]), t }(f.a), _ = n(""3INx""), b = function(e) { function t() { return a()(this, t), c()(this, l()(t).apply(this, arguments)) } return d()(t, e), o()(t, [{ key: ""isQQPlatform"", get: function() { return this.platform === h.a.QQ || this.platform === h.a.QQApp } }, { key: ""isPureQQPlatform"", get: function() { return this.platform === h.a.QQ } }, { key: ""isQQMiniProgram"", get: function() { return this.platform === h.a.QQApp } }, { key: ""isEmbeddedBrowser"", get: function() { return this.isQQPlatform } }, { key: ""isQQPayAvailable"", get: function() { return this.isQQPlatform } }, { key: ""isWeChatPayAvailable"", get: function() { return this.isQQPlatform } }]), t }(f.a), y = function(e) { function t() { return a()(this, t), c()(this, l()(t).apply(this, arguments)) } return d()(t, e), o()(t, [{ key: ""isWeiboPlatform"", get: function() { return this.platform === h.a.Weibo } }, { key: ""isEmbeddedBrowser"", get: function() { return this.isWeiboPlatform } }, { key: ""isAliPayAvailable"", get: function() { return !0 } }]), t }(f.a), w = function(e) { function t() { return a()(this, t), c()(this, l()(t).apply(this, arguments)) } return d()(t, e), o()(t, [{ key: ""isWeChatPayAvailable"", get: function() { return Object(h.d)(this.cache, ""isWeChatPayAvailable"", Object(h.j)(this.ua)) } }, { key: ""isAliPayAvailable"", get: function() { return !0 } }]), t }(f.a), S = function(e) { function t() { return a()(this, t), c()(this, l()(t).apply(this, arguments)) } return d()(t, e), o()(t, [{ key: ""isMajiabaoNativePlatform"", get: function() { return this.platform === h.a.MaJiaBaoAndroid } }]), t }(w), C = function(e) { function t() { return a()(this, t), c()(this, l()(t).apply(this, arguments)) } return d()(t, e), o()(t, [{ key: ""isTinyNativePlatform"", get: function() { return this.platform === h.a.PDDTinyAndorid } }, { key: ""version"", get: function() { return Object(h.d)(this.cache, ""version"", Object(h.e)(this.ua, h.a.PddAndroid)) } }]), t }(w); n.d(t, ""b"", function() { return k }), n.d(t, ""a"", function() { return E }); var A = [], I = new Map; function k() { var e, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; if (I.has(t)) return I.get(t); switch (Object(h.f)(t)) { case h.a.PddAndroid: case h.a.PddIOS: e = new _.b(t); break; case h.a.QQ: case h.a.QQApp: e = new b(t); break; case h.a.Weibo: e = new y(t); break; case h.a.WxApp: case h.a.WeChat: e = new v(t); break; case h.a.MaJiaBaoAndroid: e = new S(t); break; case h.a.PDDTinyAndorid: e = new C(t); break; default: e = new w(t) } return function(e, t) { if (A.push(e), I.set(e, t), A.length > 10) { var n = A.shift(); I.delete(n) } }(t, e), e } function E() { return k(window.navigator.userAgent) } }, KshE: function(e, t, n) { ""use strict""; n.r(t); var r = n(""iCc5""), a = n.n(r), i = n(""FYw3""), o = n.n(i), s = n(""mRg0""), c = n.n(s), u = n(""3OdE""), l = function() { function e(t) { a()(this, e) } return e.prototype.get = function() { return this.requestData(""GET"") }, e.prototype.post = function() { return this.requestData(""POST"") }, e.prototype.requestData = function() { this.dealPath(), this.dealParams(), this.dealCookies(), this.dealHeaders() }, e.prototype.process = function(e) { return e }, e.prototype.dealPath = function() {}, e.prototype.dealHeaders = function() {}, e.prototype.dealParams = function() {}, e.prototype.dealCookies = function() {}, e }(), p = n(""Ec79""), d = n.n(p), h = n(""/O6k""), f = h.a.apiRequest.bind(h.a), m = function(e) { function t(n) { a()(this, t); var r = o()(this, e.call(this, n)); return r.params = n.params || {}, r.noAuthentication = n.noAuthentication || !1, r.useNewAPI = n.useNewAPI || !1, r.skipDefaultErrorHandling = n.skipDefaultErrorHandling || !1, r.retryDisabled = n.retryDisabled || !1, r.staticDisabled = n.staticDisabled || !1, r.host = window.location.hostname, r } return c()(t, e), t.prototype.requestData = function(e) { this.dealPath(), this.dealParams(); var t = this; if (""GET"" === e) { var n = []; for (var r in t.params) t.params.hasOwnProperty(r) && n.push([r, t.params[r]].join(""="")); n.length && (t.path.indexOf(""?"") > -1 ? t.path = [t.path, n.join(""&"")].join(""&"") : t.path = [t.path, n.join(""&"")].join(""?"")), t.params = null } return new d.a(function(n, r) { f(e, t.path, t.params, function(e) { var r = t.process(e); n(r) }, function(e, t) { r({ errorCode: e, data: t }) }, t.noAuthentication, t.useNewAPI, t.skipDefaultErrorHandling, t.retryDisabled, t.staticDisabled) }) }, t.prototype.dealPath = function() { e.prototype.dealPath.call(this); var t = u.a.get(location.hostname); this.apiHost = t.apiDomain, this.path = t.api[this.name] }, t }(l); t.default = m }, MpJ2: function(e, t, n) { ""use strict""; n.d(t, ""c"", function() { return p }), n.d(t, ""e"", function() { return d }), n.d(t, ""d"", function() { return h }), n.d(t, ""a"", function() { return f }), n.d(t, ""b"", function() { return m }); var r, a, i, o, s = n(""KoDT""), c = n(""h3qu""), u = n(""kk8N""); r = Object(s.b)(window.navigator.userAgent), a = r.version, i = c.a.PddIOS === r.platform, o = c.a.PddAndroid === r.platform || c.a.PDDTinyAndorid === r.platform; var l = { env: ""请检查当前环境,该接口需要在原生App环境中使用。"" }; function p(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null, r = arguments.length > 3 ? arguments[3] : void 0, s = arguments.length > 4 ? arguments[4] : void 0; if (i || o) { var p = o && r ? r : i && s ? s : """"; if (p && Object(c.c)(a, p) < 0) { var d = ""请检查App版本号,该接口最小支持版本号:"".concat(p, ""。""); return console.warn(d), Promise.reject(new Error(d)) } return new Promise(function(r, a) { u.a.callNative(e, t, n, r, function(r, i) { var o = new Error(""callNative "".concat(e, "" "").concat(t, "" error: "").concat(i)); o.errorCode = i, o.params = n, o.data = r, o.toJSON = function() { return { errorCode: this.errorCode, params: this.params, data: this.data } }, a(o) }) }) } return console.warn(l.env), Promise.reject(new Error(l.env)) } function d(e) { return p(""JSUIControl"", ""setTitle"", e) } function h(e) { return p(""JSUIControl"", ""setRichTitle"", e) } function f() { return p(""AMNavigator"", ""referPageContext"") } function m() { return p(""AMUser"", ""info"") } }, Pn5d: function(e, t, n) { ""use strict""; var r = ""undefined"" != typeof window, a = { IOS_DEVICE_WEBVIEW_TYPES: { SAFARI: ""SAFARI"", UIWEBVIEW_LIKE_SAFARI: ""UIWEBVIEW_LIKE_SAFARI"", WKWEBVIEW_LIKE_SAFARI: ""WKWEBVIEW_LIKE_SAFARI"", UIWEBVIEW: ""UIWEBVIEW"", WKWEBVIEW: ""WKWEBVIEW"" }, getIOSDeviceWebviewType: function() { if (!r) return !1; if (""iP"" === navigator.platform.substr(0, 2)) { var e = /constructor/i.test(window.HTMLElement), t = window.navigator, n = t.userAgent, a = !!window.indexedDB; if (-1 !== n.indexOf(""Safari"") && -1 !== n.indexOf(""Version"") && !t.standalone) return !a && e || !window.statusbar.visible ? this.IOS_DEVICE_WEBVIEW_TYPES.UIWEBVIEW_LIKE_SAFARI : window.webkit && window.webkit.messageHandlers || !e || a ? this.IOS_DEVICE_WEBVIEW_TYPES.WKWEBVIEW_LIKE_SAFARI : this.IOS_DEVICE_WEBVIEW_TYPES.SAFARI; if (!a && e || !window.statusbar.visible) return this.IOS_DEVICE_WEBVIEW_TYPES.UIWEBVIEW; if (window.webkit && window.webkit.messageHandlers || !e || a) return this.IOS_DEVICE_WEBVIEW_TYPES.WKWEBVIEW } return !1 } }; a.doHackOfIOSWkWebViewPositionFixedFailureByKeyboard = function() { var e = a.getIOSDeviceWebviewType(); return e === a.IOS_DEVICE_WEBVIEW_TYPES.WKWEBVIEW || e === a.IOS_DEVICE_WEBVIEW_TYPES.WKWEBVIEW_LIKE_SAFARI }(), a.isWKWebView = r && (window.__wxjs_is_wkwebview || function() { var e = a.getIOSDeviceWebviewType(); return e === a.IOS_DEVICE_WEBVIEW_TYPES.WKWEBVIEW || e === a.IOS_DEVICE_WEBVIEW_TYPES.WKWEBVIEW_LIKE_SAFARI }()), t.a = a }, R8Tx: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lSNA""), a = n.n(r); ! function(e, t) { ""function"" == typeof define && n(""PDX0"") ? define(function() { return t(e) }) : t(e, !0) }(window, function(e, t) { function n(t, n, r) { e.WeixinJSBridge ? WeixinJSBridge.invoke(t, i(n), function(e) { s(t, e, r) }) : u(t, r) } function r(t, n, r) { e.WeixinJSBridge ? WeixinJSBridge.on(t, function(e) { r && r.trigger && r.trigger(e), s(t, e, n) }) : u(t, r || n) } function i(e) { return (e = e || {}).appId = T.appId, e.verifyAppId = T.appId, e.verifySignType = ""sha1"", e.verifyTimestamp = T.timestamp + """", e.verifyNonceStr = T.nonceStr, e.verifySignature = T.signature, e } function o(e) { return { timeStamp: e.timestamp + """", nonceStr: e.nonceStr, package: e.package, paySign: e.paySign, signType: e.signType || ""SHA1"" } } function s(e, t, n) { ""openEnterpriseChat"" == e && (t.errCode = t.err_code), delete t.err_code, delete t.err_desc, delete t.err_detail; var r = t.errMsg; r || (r = t.err_msg, delete t.err_msg, r = function(e, t) { var n = e, r = m[n]; r && (n = r); var a = ""ok""; if (t) { var i = t.indexOf("":""); ""confirm"" == (a = t.substring(i + 1)) && (a = ""ok""), ""failed"" == a && (a = ""fail""), -1 != a.indexOf(""failed_"") && (a = a.substring(7)), -1 != a.indexOf(""fail_"") && (a = a.substring(5)), ""access denied"" != (a = (a = a.replace(/_/g, "" "")).toLowerCase()) && ""no permission to execute"" != a || (a = ""permission denied""), ""config"" == n && ""function not exist"" == a && (a = ""ok""), """" == a && (a = ""fail"") } return t = n + "":"" + a }(e, r), t.errMsg = r), (n = n || {})._complete && (n._complete(t), delete n._complete), r = t.errMsg || """", T.debug && !n.isInnerInvoke && alert(JSON.stringify(t)); var a = r.indexOf("":""); switch (r.substring(a + 1)) { case ""ok"": n.success && n.success(t); break; case ""cancel"": n.cancel && n.cancel(t); break; default: n.fail && n.fail(t) } n.complete && n.complete(t) } function c(e) { if (e) { for (var t = 0, n = e.length; t < n; ++t) { var r = e[t], a = f[r]; a && (e[t] = a) } return e } } function u(e, t) { if (!(!T.debug || t && t.isInnerInvoke)) { var n = m[e]; n && (e = n), t && t._complete && delete t._complete, console.log('""' + e + '"",', t || """") } } function l() { return (new Date).getTime() } function p(t) { S && (e.WeixinJSBridge ? t() : g.addEventListener && g.addEventListener(""WeixinJSBridgeReady"", t, !1) && g.addEventListener(""QQJSBridgeReady"", t, !1)) } function d() { P.invoke || (P.invoke = function(t, n, r) { e.WeixinJSBridge && WeixinJSBridge.invoke(t, i(n), r) }, P.on = function(t, n) { e.WeixinJSBridge && WeixinJSBridge.on(t, n) } ) } if (!e.jWeixin) { var h, f = { config: ""preVerifyJSAPI"", onMenuShareTimeline: ""menu:share:timeline"", onMenuShareAppMessage: ""menu:share:appmessage"", onMenuShareQQ: ""menu:share:qq"", onMenuShareWeibo: ""menu:share:weiboApp"", onMenuShareQZone: ""menu:share:QZone"", previewImage: ""imagePreview"", getLocation: ""geoLocation"", openProductSpecificView: ""openProductViewWithPid"", addCard: ""batchAddCard"", openCard: ""batchViewCard"", chooseWXPay: ""getBrandWCPayRequest"", openEnterpriseRedPacket: ""getRecevieBizHongBaoRequest"", startSearchBeacons: ""startMonitoringBeacons"", stopSearchBeacons: ""stopMonitoringBeacons"", onSearchBeacons: ""onBeaconsInRange"", consumeAndShareCard: ""consumedShareCard"", openAddress: ""editAddress"" }, m = function() { var e = {}; for (var t in f) e[f[t]] = t; return e }(), g = e.document, v = g.title, _ = navigator.userAgent.toLowerCase(), b = navigator.platform.toLowerCase(), y = !(!b.match(""mac"") && !b.match(""win"")), w = -1 != _.indexOf(""wxdebugger""), S = !0, C = -1 != _.indexOf(""android""), A = -1 != _.indexOf(""iphone"") || -1 != _.indexOf(""ipad""), I = function() { var e = _.match(/micromessenger\/(\d+\.\d+\.\d+)/) || _.match(/micromessenger\/(\d+\.\d+)/); return e ? e[1] : """" }(), k = { initStartTime: l(), initEndTime: 0, preVerifyStartTime: 0, preVerifyEndTime: 0 }, E = { version: 1, appId: """", initTime: 0, preVerifyTime: 0, networkType: """", isPreVerifyOk: 1, systemType: A ? 1 : C ? 2 : -1, clientVersion: I, url: encodeURIComponent(location.href) }, T = {}, N = { _completes: [] }, x = { state: 0, data: {} }; p(function() { k.initEndTime = l() }); var O = !1, D = [], P = (h = { config: function(e) { T = e, u(""config"", e); var t = !1 !== T.check; p(function() { if (t) n(f.config, { verifyJsApiList: c(T.jsApiList) }, function() { N._complete = function(e) { k.preVerifyEndTime = l(), x.state = 1, x.data = e }, N.success = function(e) { E.isPreVerifyOk = 0 }, N.fail = function(e) { N._fail ? N._fail(e) : x.state = -1 }; var e = N._completes; return e.push(function() { ! function(e) { if (!(y || w || T.debug || I < ""6.0.2"" || E.systemType < 0)) { var t = new Image; E.appId = T.appId, E.initTime = k.initEndTime - k.initStartTime, E.preVerifyTime = k.preVerifyEndTime - k.preVerifyStartTime, P.getNetworkType({ isInnerInvoke: !0, success: function(e) { E.networkType = e.networkType; var n = ""https://open.weixin.qq.com/sdk/report?v="" + E.version + ""&o="" + E.isPreVerifyOk + ""&s="" + E.systemType + ""&c="" + E.clientVersion + ""&a="" + E.appId + ""&n="" + E.networkType + ""&i="" + E.initTime + ""&p="" + E.preVerifyTime + ""&u="" + E.url; t.src = n } }) } }() }), N.complete = function(t) { for (var n = 0, r = e.length; n < r; ++n) e[n](); N._completes = [] }, N }()), k.preVerifyStartTime = l(); else { x.state = 1; for (var e = N._completes, r = 0, a = e.length; r < a; ++r) e[r](); N._completes = [] } }), d() }, ready: function(e) { 0 != x.state ? e() : (N._completes.push(e), !S && T.debug && e()) }, error: function(e) { I < ""6.0.2"" || (-1 == x.state ? e(x.data) : N._fail = e) }, checkJsApi: function(e) { n(""checkJsApi"", { jsApiList: c(e.jsApiList) }, (e._complete = function(e) { if (C) { var t = e.checkResult; t && (e.checkResult = JSON.parse(t)) } e = function(e) { var t = e.checkResult; for (var n in t) { var r = m[n]; r && (t[r] = t[n], delete t[n]) } return e }(e) }, e)) }, onMenuShareTimeline: function(e) { r(f.onMenuShareTimeline, { complete: function() { n(""shareTimeline"", { title: e.title || v, desc: e.title || v, img_url: e.imgUrl || """", link: e.link || location.href, type: e.type || ""link"", data_url: e.dataUrl || """" }, e) } }, e) }, onMenuShareAppMessage: function(e) { r(f.onMenuShareAppMessage, { complete: function(t) { ""favorite"" === t.scene ? n(""sendAppMessage"", { title: e.title || v, desc: e.desc || """", link: e.link || location.href, img_url: e.imgUrl || """", type: e.type || ""link"", data_url: e.dataUrl || """" }) : n(""sendAppMessage"", { title: e.title || v, desc: e.desc || """", link: e.link || location.href, img_url: e.imgUrl || """", type: e.type || ""link"", data_url: e.dataUrl || """" }, e) } }, e) }, onMenuShareQQ: function(e) { r(f.onMenuShareQQ, { complete: function() { n(""shareQQ"", { title: e.title || v, desc: e.desc || """", img_url: e.imgUrl || """", link: e.link || location.href }, e) } }, e) }, onMenuShareWeibo: function(e) { r(f.onMenuShareWeibo, { complete: function() { n(""shareWeiboApp"", { title: e.title || v, desc: e.desc || """", img_url: e.imgUrl || """", link: e.link || location.href }, e) } }, e) }, onMenuShareQZone: function(e) { r(f.onMenuShareQZone, { complete: function() { n(""shareQZone"", { title: e.title || v, desc: e.desc || """", img_url: e.imgUrl || """", link: e.link || location.href }, e) } }, e) }, updateTimelineShareData: function(e) { n(""updateTimelineShareData"", { title: e.title, link: e.link, imgUrl: e.imgUrl }, e) }, updateAppMessageShareData: function(e) { n(""updateAppMessageShareData"", { title: e.title, desc: e.desc, link: e.link, imgUrl: e.imgUrl }, e) }, startRecord: function(e) { n(""startRecord"", {}, e) }, stopRecord: function(e) { n(""stopRecord"", {}, e) }, onVoiceRecordEnd: function(e) { r(""onVoiceRecordEnd"", e) }, playVoice: function(e) { n(""playVoice"", { localId: e.localId }, e) }, pauseVoice: function(e) { n(""pauseVoice"", { localId: e.localId }, e) }, stopVoice: function(e) { n(""stopVoice"", { localId: e.localId }, e) }, onVoicePlayEnd: function(e) { r(""onVoicePlayEnd"", e) }, uploadVoice: function(e) { n(""uploadVoice"", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, downloadVoice: function(e) { n(""downloadVoice"", { serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, translateVoice: function(e) { n(""translateVoice"", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, chooseImage: function(e) { n(""chooseImage"", { scene: ""1|2"", count: e.count || 9, sizeType: e.sizeType || [""original"", ""compressed""], sourceType: e.sourceType || [""album"", ""camera""] }, (e._complete = function(e) { if (C) { var t = e.localIds; try { t && (e.localIds = JSON.parse(t)) } catch (e) {} } }, e)) }, getLocation: function(e) {}, previewImage: function(e) { n(f.previewImage, { current: e.current, urls: e.urls }, e) }, uploadImage: function(e) { n(""uploadImage"", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, downloadImage: function(e) { n(""downloadImage"", { serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, getLocalImgData: function(e) { !1 === O ? (O = !0, n(""getLocalImgData"", { localId: e.localId }, (e._complete = function(e) { if (O = !1, D.length > 0) { var t = D.shift(); wx.getLocalImgData(t) } }, e))) : D.push(e) }, getNetworkType: function(e) { n(""getNetworkType"", {}, (e._complete = function(e) { e = function(e) { var t = e.errMsg; e.errMsg = ""getNetworkType:ok""; e.subtype; if (e.networkType) return e; var n = t.indexOf("":""), r = t.substring(n + 1); switch (r) { case ""wifi"": case ""edge"": case ""wwan"": e.networkType = r; break; default: e.errMsg = ""getNetworkType:fail"" } return e }(e) }, e)) }, openLocation: function(e) { n(""openLocation"", { latitude: e.latitude, longitude: e.longitude, name: e.name || """", address: e.address || """", scale: e.scale || 28, infoUrl: e.infoUrl || """" }, e) } }, a()(h, ""getLocation"", function(e) { e = e || {}, n(f.getLocation, { type: e.type || ""wgs84"" }, (e._complete = function(e) { delete e.type }, e)) }), a()(h, ""hideOptionMenu"", function(e) { n(""hideOptionMenu"", {}, e) }), a()(h, ""showOptionMenu"", function(e) { n(""showOptionMenu"", {}, e) }), a()(h, ""closeWindow"", function(e) { n(""closeWindow"", {}, e = e || {}) }), a()(h, ""hideMenuItems"", function(e) { n(""hideMenuItems"", { menuList: e.menuList }, e) }), a()(h, ""showMenuItems"", function(e) { n(""showMenuItems"", { menuList: e.menuList }, e) }), a()(h, ""hideAllNonBaseMenuItem"", function(e) { n(""hideAllNonBaseMenuItem"", {}, e) }), a()(h, ""showAllNonBaseMenuItem"", function(e) { n(""showAllNonBaseMenuItem"", {}, e) }), a()(h, ""scanQRCode"", function(e) { n(""scanQRCode"", { needResult: (e = e || {}).needResult || 0, scanType: e.scanType || [""qrCode"", ""barCode""] }, (e._complete = function(e) { if (A) { var t = e.resultStr; if (t) { var n = JSON.parse(t); e.resultStr = n && n.scan_code && n.scan_code.scan_result } } }, e)) }), a()(h, ""openAddress"", function(e) { n(f.openAddress, {}, (e._complete = function(e) { e = function(e) { return e.postalCode = e.addressPostalCode, delete e.addressPostalCode, e.provinceName = e.proviceFirstStageName, delete e.proviceFirstStageName, e.cityName = e.addressCitySecondStageName, delete e.addressCitySecondStageName, e.countryName = e.addressCountiesThirdStageName, delete e.addressCountiesThirdStageName, e.detailInfo = e.addressDetailInfo, delete e.addressDetailInfo, e }(e) }, e)) }), a()(h, ""openProductSpecificView"", function(e) { n(f.openProductSpecificView, { pid: e.productId, view_type: e.viewType || 0, ext_info: e.extInfo }, e) }), a()(h, ""addCard"", function(e) { for (var t = e.cardList, r = [], a = 0, i = t.length; a < i; ++a) { var o = t[a], s = { card_id: o.cardId, card_ext: o.cardExt }; r.push(s) } n(f.addCard, { card_list: r }, (e._complete = function(e) { var t = e.card_list; if (t) { for (var n = 0, r = (t = JSON.parse(t)).length; n < r; ++n) { var a = t[n]; a.cardId = a.card_id, a.cardExt = a.card_ext, a.isSuccess = !!a.is_succ, delete a.card_id, delete a.card_ext, delete a.is_succ } e.cardList = t, delete e.card_list } }, e)) }), a()(h, ""chooseCard"", function(e) { n(""chooseCard"", { app_id: T.appId, location_id: e.shopId || """", sign_type: e.signType || ""SHA1"", card_id: e.cardId || """", card_type: e.cardType || """", card_sign: e.cardSign, time_stamp: e.timestamp + """", nonce_str: e.nonceStr }, (e._complete = function(e) { e.cardList = e.choose_card_info, delete e.choose_card_info }, e)) }), a()(h, ""openCard"", function(e) { for (var t = e.cardList, r = [], a = 0, i = t.length; a < i; ++a) { var o = t[a], s = { card_id: o.cardId, code: o.code }; r.push(s) } n(f.openCard, { card_list: r }, e) }), a()(h, ""consumeAndShareCard"", function(e) { n(f.consumeAndShareCard, { consumedCardId: e.cardId, consumedCode: e.code }, e) }), a()(h, ""chooseWXPay"", function(e) { n(f.chooseWXPay, o(e), e) }), a()(h, ""openEnterpriseRedPacket"", function(e) { n(f.openEnterpriseRedPacket, o(e), e) }), a()(h, ""startSearchBeacons"", function(e) { n(f.startSearchBeacons, { ticket: e.ticket }, e) }), a()(h, ""stopSearchBeacons"", function(e) { n(f.stopSearchBeacons, {}, e) }), a()(h, ""onSearchBeacons"", function(e) { r(f.onSearchBeacons, e) }), a()(h, ""openEnterpriseChat"", function(e) { n(""openEnterpriseChat"", { useridlist: e.userIds, chatname: e.groupName }, e) }), a()(h, ""launchMiniProgram"", function(e) { n(""launchMiniProgram"", { targetAppId: e.targetAppId, path: function(e) { if (""string"" == typeof e && e.length > 0) { var t = e.split(""?"")[0], n = e.split(""?"")[1]; return t += "".html"", void 0 !== n ? t + ""?"" + n : t } }(e.path), envVersion: e.envVersion }, e) }), a()(h, ""miniProgram"", { navigateBack: function(e) { e = e || {}, p(function() { n(""invokeMiniProgramAPI"", { name: ""navigateBack"", arg: { delta: e.delta || 1 } }, e) }) }, navigateTo: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""navigateTo"", arg: { url: e.url } }, e) }) }, redirectTo: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""redirectTo"", arg: { url: e.url } }, e) }) }, switchTab: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""switchTab"", arg: { url: e.url } }, e) }) }, reLaunch: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""reLaunch"", arg: { url: e.url } }, e) }) }, postMessage: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""postMessage"", arg: e.data || {} }, e) }) }, getEnv: function(t) { p(function() { t({ miniprogram: ""miniprogram"" === e.__wxjs_environment }) }) } }), h), R = 1, M = {}; return g.addEventListener(""error"", function(e) { if (!C) { var t = e.target, n = t.tagName, r = t.src; if ((""IMG"" == n || ""VIDEO"" == n || ""AUDIO"" == n || ""SOURCE"" == n) && -1 != r.indexOf(""wxlocalresource://"")) { e.preventDefault(), e.stopPropagation(); var a = t[""wx-id""]; if (a || (a = R++, t[""wx-id""] = a), M[a]) return; M[a] = !0, wx.ready(function() { wx.getLocalImgData({ localId: r, success: function(e) { t.src = e.localData } }) }) } } }, !0), g.addEventListener(""load"", function(e) { if (!C) { var t = e.target, n = t.tagName; if (t.src, ""IMG"" == n || ""VIDEO"" == n || ""AUDIO"" == n || ""SOURCE"" == n) { var r = t[""wx-id""]; r && (M[r] = !1) } } }, !0), P && (e.qq = e.wx = e.jWeixin = P), P } }) }, Rr5R: function(e, t, n) { var r = n(""BAOl""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, SXY3: function(e, t, n) { ""use strict""; var r = n(""iCc5""), a = n.n(r), i = n(""FYw3""), o = n.n(i), s = n(""mRg0""), c = n.n(s), u = n(""q1tI""), l = n.n(u), p = n(""i8i4""), d = n(""14Xm""), h = n.n(d), f = n(""D3Ub""), m = n.n(f), g = n(""Fcpp""), v = n(""xnWZ""), _ = n(""kk8N""), b = function(e) { _.a.callNative(""WebScene"", ""getPageVisibility"", null, function() { e && e() }) }, y = (n(""kVsE""), { rootMargin: ""0px"", threshold: [.75] }), w = new function e() { var t = this; a()(this, e), this.init = m()(h.a.mark(function e() { var n; return h.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: e.next = 2; break; case 2: if (v.b.isNativePlatform() && v.b.isSupportCheckWebviewInTab && v.b.isSupportCheckWebviewInScreen) { e.next = 6; break } return t.createOberver(), e.abrupt(""return""); case 6: return e.prev = 6, e.next = 9, new Promise(function(e, t) { _.a.callNative(""WebScene"", ""getPageShownType"", null, function(t) { e(t) }, function(e) { t(e) }) }); case 9: if (e.t0 = e.sent, e.t0) { e.next = 12; break } e.t0 = {}; case 12: n = e.t0, parseInt(n.shown_type, 10) ? b(function() { t.createOberver() }) : t.createOberver(), e.next = 20; break; case 17: e.prev = 17, e.t1 = e.catch(6), t.createOberver(); case 20: case ""end"": return e.stop() } }, e, t, [ [6, 17] ]) })), this.createOberver = function() { t.oberver = new IntersectionObserver(t.observerCallBack, y), Array.isArray(t.stashQuene) && t.stashQuene.forEach(function(e) { e && e() }), t.stashQuene = null }, this.observerCallBack = function(e) { e.forEach(function(e) { var n = parseInt(e.target.dataset.uniqid, 10); n && (e.isIntersecting && e.intersectionRatio >= .75 ? t.entryQuene[n] = e : t.entryQuene[n] && (e.time - t.entryQuene[n].time >= 300 && t.log(n), delete t.entryQuene[n]), t.lastTimer && clearTimeout(t.lastTimer), t.lastTimer = setTimeout(function() { Object.keys(t.entryQuene).forEach(function(e) { t.log(e) }) }, 300)) }) }, this.log = function(e) { if (t.elStore[e]) { var n = t.elStore[e] || {}, r = n.info, a = n.once, i = n.el, o = n.handleCustomTracking, s = Object.assign({ op: ""impr"" }, r || {}); a && t.unRegister(i, e), o ? o() : g.a.trackingRecord(s) } }, this.register = function(e) { var n = e.el, r = e.info, a = e.handleCustomTracking, i = e.once, o = void 0 === i || i; if (n && r) { var s = t._uniqid; t._uniqid++, n.dataset.uniqid = s, t.elStore[s] = a ? { el: n, info: r, once: o, handleCustomTracking: a } : { el: n, info: r, once: o }, t.oberver ? t.oberver.observe(n) : t.stashQuene.push(function() { t.oberver.observe(n) }) } }, this.unRegister = function(e, n) { t.oberver && t.oberver.unobserve(e), delete t.elStore[n], delete t.entryQuene[n] }, this._uniqid = 1, this.oberver = null, this.entryQuene = {}, this.elStore = {}, this.stashQuene = [], this.init() }, S = n(""17x9""), C = n.n(S), A = function(e) { function t() { var n, r, i; a()(this, t); for (var s = arguments.length, c = Array(s), u = 0; u < s; u++) c[u] = arguments[u]; return n = r = o()(this, e.call.apply(e, [this].concat(c))), r.componentDidMount = function() { var e = r.props, t = e.id, n = e.doImpr; r.el = Object(p.findDOMNode)(r) || document.getElementById(t), n && r.registerImpr() }, r.componentDidUpdate = function(e) { r.lock || !e.doImpr && r.props.doImpr && (r.registerImpr(), r.lock = !0) }, r.componentWillUnmount = function() { if (r.el && r.isRegistered) { var e = parseInt(r.el.dataset.uniqid, 10) || 0; w.unRegister(r.el, e) } }, r.registerImpr = function() { var e = r.props, t = e.trackingInfo, n = e.once, a = e.handleCustomTracking; w.register({ el: r.el, info: t, once: n, handleCustomTracking: a }), r.isRegistered = !0 }, i = n, o()(r, i) } return c()(t, e), t.prototype.render = function() { return l.a.Children.only(this.props.children) }, t }(u.Component); A.defaultProps = { doImpr: !0, id: """", once: !0, trackingInfo: {} }, A.propTypes = { doImpr: C.a.bool, id: C.a.string, once: C.a.bool, trackingInfo: C.a.object.isRequired }; var I = A; t.a = I }, SmUH: function(e, t) { e.exports = '
\n\n
\n
\n
\n \n
\n
\n\n
\n
\n' }, UUTy: function(e, t, n) { var r = n(""V4Zx""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, UbGT: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = n(""+zrp""), g = n(""u16y""), v = n(""b5fu""), _ = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""clickConfirm"", value: function(e) { e && (e.stopPropagation(), e.preventDefault()), v.a.call(this.props.confirmCallback, this.state.checkboxSelected) } }, { key: ""render"", value: function() { var e = this, t = this.props, n = []; return t.desc && t.desc.forEach(function(e, t) { n.push(f.a.createElement(""li"", { className: ""desc"", key: t }, e)) }), f.a.createElement(""div"", { className: ""bg-fill"", style: { display: this.state.display } }, f.a.createElement(""div"", { className: ""alert-coupon-send"" }, f.a.createElement(""div"", { className: ""alert-close"", onClick: function(t) { return e.clickHide() } }), f.a.createElement(""ul"", { className: ""alert-coupon-send-desc"" }, n), f.a.createElement(""p"", { className: ""alert-coupon-send-confirm"", onClick: function(t) { return e.clickConfirm() } }))) } }]), t }(m.a); _.defaultProps = { img: g.a.getCDNImgURL(""coupons/coupon_send_bg_v2.png""), desc: [""快邀请4位好友一起拆红包"", ""最高可领20元红包哦!~""], confirm: ""发红包"" }, t.default = _ }, UxpZ: function(e, t, n) { ""use strict""; (function(e) { var r = n(""xJ31""), a = n(""AGSb""), i = n(""0P1e""), o = n(""Fcpp""), s = n(""iTkx""), c = function() { var e = location.protocol + ""//cmta.yangkeduo.com/api/ajax""; return Object(s.a)(location.hostname) ? """" : e }(); t.a = { tracking: function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = { 1: 1, 2: .5, 4: .25, 5: .2, 10: .1 }, s = 1, u = 1; if (window.__CMT_AMPLIFY_RATE__) { var l = window.__CMT_AMPLIFY_RATE__; if (n[l]) s = +l, u = n[l]; else { var p = { op: ""real_error"", page_url: location.href, error_message: ""cmt放大倍数"".concat(l, ""不合法支持1,2,4,5,10"") }; o.a.trackingRecord(p) } } if (!(Math.random() > u)) { var d = t.requestTime, h = t.resTimeConsume, f = t.reqData, m = t.resData, g = t.apiUrl, v = t.statusCode, _ = t.pageId, b = 0, y = 0; f && (b = JSON.stringify(f).length), m && (y = JSON.stringify(m).length); var w = Math.pow(10, 5) + Math.floor(Math.random() * (Math.pow(10, 6) - Math.pow(10, 5))); Object(i.a)().then(function(t) { var n = { v: 1, t: d, r: w, c: Object(r.a)(d + ""-"" + w), d: { t: Date.now(), tu: g, n: t, c: v, r: s, rt: h, q: b, p: y, e: { uid: Object(a.a)(""pdd_user_id""), page_id: _, model: navigator.userAgent } } }, i = { method: ""POST"", body: JSON.stringify(n), headers: { ""Content-Type"": ""application/json;charset=UTF-8"" }, credentials: ""include"" }; return e(c, i) }) } } } }).call(this, n(""BlQd"")) }, V4Zx: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, '@charset ""UTF-8"";\n\n/**\r\n * base.scss, 一些公共的代码\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * base variable\r\n */\n\n/**\r\n * function 区域\r\n */\n\n/**\r\n * mixin 区域\r\n */\n\n/**\r\n * 父元素必须是position: relative\r\n */\n\n/**\r\n * 字体icon\r\n */\n\n/**\r\n * flex 布局\r\n */\n\n/**\r\n * extend区域\r\n */\n\n/**\r\n * @file variables.scss, 相关的变量\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * @file border1px.scss, 1px在devicePixelRatio>2的方案\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/*原来的逻辑*/\n\n/*\n* 注意:需要按钮是position(absolute,relative)定位的,按钮没有宽高的,可能会出bug.\n* 按钮before已经有样式的就用data-active=after-{type},after同理。\n* eg:
button
\n* https://jira2.corp.yiran.com/browse/PDD-10191\n* 红色按钮 highlight状态增加 #000000 15%\n* 白色按钮 highlight状态增加 #000000 5%\n* 红色线框按钮 highlight状态增加 #E02E24 5%\n*/\n\n.force-contact-banner,\n.force-contact-arrow,\n.force-contact-arrow-new,\n.ab-force-contact-arrow-new,\n.ab-tick,\n.ab-close-button {\n background-image: url(""https://t13img.yangkeduo.com/cart/2018-07-12/0d6161cab30b0c91d9ee37c49fcf61e4.png"");\n background-repeat: no-repeat;\n background-size: 3.07rem 3.05rem;\n}\n\n.force-contact-main {\n position: fixed;\n width: 100%;\n max-width: 640px;\n height: 100%;\n position: fixed;\n right: 0;\n left: 0;\n top: 0;\n margin: 0 auto;\n -webkit-user-select: none;\n user-select: none;\n background-color: rgba(0, 0, 0, 0.75);\n z-index: 99999;\n line-height: 1;\n}\n\n.force-contact-banner {\n position: relative;\n width: 3.07rem;\n height: 1.03rem;\n background-position: 0 -2rem;\n margin: 1.2rem auto 0 auto;\n}\n\n.force-contact-content {\n position: relative;\n width: 3.07rem;\n height: 2.3rem;\n padding-top: 0.24rem;\n text-align: center;\n background-color: white;\n margin: 0 auto;\n border-radius: 0 0 0.1rem 0.1rem;\n line-height: 1;\n}\n\n.force-contact-content .force-contact-tips {\n font-size: 0.15rem;\n color: #333;\n margin-bottom: 0.11rem;\n}\n\n.force-contact-content .force-contact-desc {\n font-size: 0.13rem;\n color: #9d9d9d;\n margin-bottom: 0.32rem;\n}\n\n.force-contact-content .force-contact-desc b {\n color: #ee2e3a;\n margin-right: 0.04rem;\n font-weight: 900;\n}\n\n.force-contact-content_new {\n position: absolute;\n width: 2.90rem;\n height: 2.56rem;\n padding-top: 0.3rem;\n text-align: center;\n background-color: white;\n margin: 0 auto;\n border-radius: 0.08rem 0.08rem 0.08rem 0.08rem;\n line-height: 1;\n left: 50%;\n top: 50%;\n margin-left: -1.45rem;\n margin-top: -1.28rem;\n}\n\n.force-contact-content_new .fc-close-btn {\n position: absolute;\n right: 0.1rem;\n top: 0.1rem;\n}\n\n.force-contact-content_new .fc-close-btn:before {\n content: ""\\E61D"";\n font-size: 0.1rem;\n color: #d2d2d2;\n font-family: ""icomoon"";\n line-height: 1;\n font-weight: normal;\n -webkit-font-smoothing: antialiased;\n}\n\n.force-contact-content_new .force-contact-tips {\n font-size: 0.17rem;\n color: #151516;\n margin-bottom: 0.21rem;\n font-weight: bold;\n}\n\n.force-contact-content_new .force-contact-desc {\n font-size: 0.15rem;\n color: #58595b;\n margin-bottom: 0.38rem;\n margin-right: 0.04rem;\n}\n\n.force-contact-content_new .force-contact-desc-free {\n color: #e02e24;\n font-size: 0.15rem;\n width: 100%;\n text-align: center;\n}\n\n.force-contact-content_new .force-contact-desc-free .red-packet-icon {\n display: inline-block;\n width: 0.16rem;\n height: 0.18rem;\n margin-right: 0.065rem;\n background: url(""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAkCAMAAADfNcjQAAAAqFBMVEX/UVH1MzP/UlL1NDT/UFD1MjL/+DOrfhH36y/1ODLBnRn6Pz368DHKrB26kxb8RUX/nUL/tz7/6DSughL+Skr/kUT/xjv/zjr/2Tj/8DP8ujLs2yvn1inl0SfizSfcxSWziRP/V0//c0r/e0j/g0f/pkH/3zf9yTP91zL5hjL1QjLx4y3v4Czq2CrQsx/GpBz/YU3/a0v/rkD/rz/9uTj4fTP6lTLXvSP9Jg1AAAAABHRSTlPm5k5OEnbacAAAAQNJREFUOMvtkMluwjAQQA2YGZKQFUggO1sLtED3/v+f1R4sWSNF4dYT72Jr3tPIshgNxj0MRoJ8TyHGd/jv4HTMD8kh/3a6A+dnBTeSox2K0DP96RksuaOlF86lkIp56Hme9pYv5QghDXuA6ctEKXMsJA/eVsq0M61crPQ71jyIQNHgBaBAFzQ7HmQ0DNQKF1/pHvPgiYYVXs7oA5HxwHyBO9NLiGXHhvM1QGyvvxSkPEj1bFKWAVbl7Q0fPFhQUNcBNnVBwZYH60TNCt9v0fcb+wQK7Ar6pSkQWxsYYhZEkgXEJxDMs0DulkZnG8kCy2Yfp3H0TncecB5BRyDu+aHo9cM/3cMfWxg5Z+AAAAAASUVORK5CYII="") no-repeat;\n background-size: contain;\n position: relative;\n top: 0.03rem;\n}\n\n.force-contact-content_new .receive-red-packet-contact-touch {\n position: absolute;\n width: 2.50rem;\n height: 1.30rem;\n bottom: 0.20rem;\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n}\n\n.force-contact-content_new .scan-line {\n position: absolute;\n height: 0.24rem;\n width: 0.98rem;\n right: 0.36rem;\n bottom: 0.37rem;\n background-image: -webkit-linear-gradient(bottom, rgba(255, 255, 24, 0), rgba(255, 255, 24, 0.9));\n background-image: linear-gradient(to top, rgba(255, 255, 24, 0), rgba(255, 255, 24, 0.9));\n -webkit-animation: scanLineMoved 2s ease-in-out infinite normal;\n animation: scanLineMoved 2s ease-in-out infinite normal;\n opacity: 0.4;\n -webkit-user-select: none;\n user-select: none;\n pointer-events: none;\n}\n\n@-webkit-keyframes scanLineMoved {\n 0% {\n height: 0;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n\n 50% {\n height: 0.24rem;\n }\n\n 100% {\n height: 0;\n -webkit-transform: translateY(-0.97rem);\n transform: translateY(-0.97rem);\n }\n}\n\n@keyframes scanLineMoved {\n 0% {\n height: 0;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n\n 50% {\n height: 0.24rem;\n }\n\n 100% {\n height: 0;\n -webkit-transform: translateY(-0.97rem);\n transform: translateY(-0.97rem);\n }\n}\n\n.force-contact-touch {\n position: relative;\n width: 2.3rem;\n height: 1.15rem;\n}\n\n.force-contact-arrow {\n width: 0.21rem;\n height: 0.41rem;\n background-position: -2.35rem -0.95rem;\n position: absolute;\n left: 0.61rem;\n top: 0.59rem;\n z-index: 1;\n}\n\n.force-contact-arrow-new {\n width: 0.185rem;\n height: 0.375rem;\n background-position: -2.6rem -0.95rem;\n position: absolute;\n left: 0.9rem;\n top: 0.68rem;\n z-index: 1;\n}\n\n.ab-force-contact-content {\n position: relative;\n width: 3.07rem;\n height: 2.25rem;\n padding: 0.4rem 0.35rem 0 0.35rem;\n text-align: center;\n background-color: white;\n margin: 1.89rem auto 0 auto;\n border-radius: 0.1rem;\n line-height: 1;\n}\n\n.ab-force-contact-content .ab-tick {\n width: 0.42rem;\n height: 0.42rem;\n background-position: -2.34rem -1.4rem;\n margin: 0 auto 0.11rem auto;\n}\n\n.ab-force-contact-content .ab-after-pay {\n color: #333;\n font-size: 0.18rem;\n margin-bottom: 0.19rem;\n}\n\n.ab-force-contact-content .ab-force-contact-tips {\n padding-top: 0.14rem;\n font-size: 0.13rem;\n color: #333;\n margin-bottom: 0.06rem;\n border-top: 1px solid #eaeaea;\n}\n\n.ab-force-contact-content .ab-force-contact-tips u {\n color: #ff2e3a;\n}\n\n.ab-force-contact-content .ab-force-contact-desc {\n font-size: 0.13rem;\n color: #333;\n margin-bottom: 0.15rem;\n}\n\n.ab-force-contact-content .extra-hint {\n font-size: 0.13rem;\n color: #9d9d9d;\n}\n\n.ab-force-contact-content .extra-hint b {\n color: #ef2e3a;\n margin-right: 0.04rem;\n font-weight: 900;\n}\n\n.ab-force-contact-touch {\n position: relative;\n width: 2.37rem;\n height: 1.11rem;\n margin: 0 auto 0.17rem auto;\n}\n\n.ab-force-contact-arrow-new {\n width: 0.125rem;\n height: 0.25rem;\n background-position: -2.8rem -0.95rem;\n position: absolute;\n left: 0.92rem;\n top: 2.64rem;\n z-index: 1;\n}\n\n.ab-close-button {\n position: absolute;\n right: -0.12rem;\n top: -0.12rem;\n width: 0.24rem;\n height: 0.24rem;\n background-position: -0.9rem -1.6rem;\n}\n\n.force-contact-close-button {\n color: #fff;\n position: absolute;\n right: .12rem;\n top: .24rem;\n}\n\n.ab-line {\n border-top: 1px solid #eaeaea;\n height: 0.2rem;\n}\n\n.ab-force-contact-download {\n background-color: #ee2e3a;\n width: 2.12rem;\n height: 0.39rem;\n text-align: center;\n margin: 0 auto;\n border-radius: 3px;\n display: -webkit-box;\n display: -webkit-flex;\n display: flex;\n -webkit-box-pack: center;\n -webkit-justify-content: center;\n justify-content: center;\n -webkit-box-align: center;\n -webkit-align-items: center;\n align-items: center;\n}\n\n.ab-force-contact-download span {\n font-size: 0.14rem;\n line-height: 1;\n color: white;\n}\n\n.afterpay-contact-content {\n position: relative;\n width: 3.07rem;\n height: 3.25rem;\n padding: 0.19rem 0.35rem 0 0.35rem;\n text-align: center;\n background-color: white;\n margin: 1.2rem auto 0 auto;\n border-radius: 0.1rem;\n line-height: 1;\n}\n\n.afterpay-contact-content .ab-tick {\n width: 0.42rem;\n height: 0.42rem;\n background-position: -2.34rem -1.4rem;\n margin: 0 auto 0.11rem auto;\n}\n\n.afterpay-contact-content .ab-after-pay {\n color: #333;\n font-size: 0.18rem;\n margin-bottom: 0.19rem;\n}\n\n.afterpay-contact-content .ab-force-contact-tips {\n padding-top: 0.14rem;\n font-size: 0.13rem;\n color: #333;\n margin-bottom: 0.06rem;\n border-top: 1px solid #eaeaea;\n}\n\n.afterpay-contact-content .ab-force-contact-desc {\n font-size: 0.13rem;\n color: #333;\n margin-bottom: 0.15rem;\n}\n\n.afterpay-contact-content .extra-hint {\n font-size: 0.13rem;\n color: #9d9d9d;\n}\n\n.afterpay-contact-content .extra-hint b {\n color: #ef2e3a;\n margin-right: 0.04rem;\n font-weight: 900;\n}\n\n.fcm-coupon-share .force-contact-content {\n height: 2.63rem;\n padding-top: 0.16rem;\n}\n\n.fcm-coupon-share .force-contact-content .force-contact-tips {\n line-height: 1.5;\n text-align: center;\n}\n\n.fcm-coupon-share .force-contact-content .force-contact-arrow-new {\n top: 0.95rem;\n}\n\n.force-contact-main .user-id {\n position: absolute;\n top: 5px;\n left: 60px;\n font-size: 10px;\n color: #3f191c !important;\n}\n\n.force-contact-main .force-contact-touch {\n margin: 0 auto;\n background: #f2f2f2;\n}', """"]) }, VdQI: function(e, t, n) { ""use strict""; n.r(t); var r = n(""q1tI""), a = n.n(r), i = n(""i8i4""), o = n.n(i), s = n(""b5fu""), c = n(""lSNA""), u = { Default: ""alert_default_v3"", AlertNewUserGroup: ""alert_new_user_group"", AlertAppDownload: ""alert_app_download"", AlertOpenAppNotification: ""alert_open_app_notification"", AlertCouponSend: ""alert_coupon_send"", AlertCouponSendV2: ""alert_coupon_send_v2"", AlertFreeTrial: ""alert_free_trial"", IDCardHint: ""ID_card_hint"", FCLink: ""fc_link"", FlashGroupsRules: ""flash_groups_rules"", AlertFriendPayExplain: ""alert_friend_pay_explain"", AssistFreeCouponRules: ""assist_free_coupon_rules"" }, l = n.n(c)()({ Default: ""confirm_default_v3"", ConfirmShipment: ""confirm_shipment"", ConfirmAppGroup: ""confirm_app_group"", ConfirmWeChatWapPay: ""confirm_wechat_wap_pay"", ConfirmWeChatH5Pay: ""confirm_wechat_h5_pay"", ConfirmAppUpdate: ""confirm_app_udpate"", ConfirmAppUpdateV2: ""confirm_app_udpate_v2"", ConfirmAppDownload: ""confirm_app_download"", ConfirmAppDownloadV2: ""confirm_app_download_v2"", ConfirmJSPhotoAppUpdate: ""confirm_jsphoto_app_update"", ConfirmAfterGroupShare: ""confirm_after_group_share"", ConfirmDefaultV2: ""confirm_default_v2"", UnpayedAlarm: ""unpayed_alarm"", AttendanceDownload: ""attendance_download"", AttendanceSignResult: ""attendance_sign_result"" }, ""ConfirmShipment"", ""confirm_shipment""), p = {}; p[u.FCLink] = n(""pfHJ""), p[u.AlertAppDownload] = n(""c5EO""), p[u.AlertCouponSend] = n(""UbGT""), p[u.AlertCouponSendV2] = n(""Bb3D""), p[l.ConfirmAppDownload] = n(""X3gk""), p[l.ConfirmAppDownloadV2] = n(""3yit""), p[l.ConfirmAppUpdate] = n(""mKPX""), p[l.DefaultV2] = n(""BTIB""), p[l.ConfirmShipment] = n(""BNiH""), p[l.Default] = n(""JH3l""); var d = null; t.default = function() { var e = {}, t = function(t, n) { var r = p[t.type]; !e[n] && r || d.show(); var i = document.createElement(""DIV""); document.body.appendChild(i), d = o.a.render(a.a.createElement(r.default, { opts: t.opts || t.options, confirmCallback: t.confirmCallback, cancelCallback: t.cancelCallback, hideCallback: t.hideCallback }), i), e[n] = !0 }; return { load: function(e) { if (p[(e = e || {}).type]) { var n = ""jsalert-"" + e.type; e.isUnique || (n += Date.now()); var r = function() { t(e, n), e.options && s.a.call(e.options.showCallback) }; e.options.delayLoad ? e.options.delayLoad(r, n) : r() } }, show: t, hide: function() {} } }() }, Vkgz: function(e, t, n) { ""use strict""; var r = { Cent: 100, Yuan: 1 }, a = ""YYYY-M-d h:m""; function i(e, t) { for (var n = (t = t || 2) - (e = (e || """").toString()).length, r = 0; r < n; r++) e = ""0"" + e; return e } var o = i; function s(e) { e = parseInt(e, 10) || 0; var t = new Date(1e3 * e); return { year: t.getFullYear().toString(), month: (t.getMonth() + 1).toString(), date: t.getDate().toString(), hours: t.getHours().toString(), minutes: t.getMinutes().toString(), seconds: t.getSeconds().toString(), day: t.getDay().toString() } } function c(e, t) { return void 0 === t || 0 == +t ? Math.round(e) : (e = +e, t = +t, isNaN(e) || ""number"" != typeof t || t % 1 != 0 ? NaN : (e = e.toString().split(""e""), +((e = (e = Math.round(+(e[0] + ""e"" + (e[1] ? +e[1] + t : t)))).toString().split(""e""))[0] + ""e"" + (e[1] ? +e[1] - t : -t)))) } t.a = { leftPad: i, leftPadZero: o, price: function(e, t) { e = parseFloat(e, 10) || 0, (t = t || r.Yuan) === r.Cent && (e /= 100); var n = (e = e.toString()).indexOf("".""); if (n >= 0) { for (var a = (e = e.slice(0, n + 3)).length - 1; ""0"" === e.charAt(a) && a > 0;) a--; ""."" === (e = e.slice(0, a + 1)).charAt(e.length - 1) && (e = e.slice(0, e.length - 1)) } return e }, sales: function(e) { if ((e = parseInt(e, 10) || 0) < 9999) return e.toString(); if (e <= 99999) { var t = parseInt(e / 1e3, 10); return parseInt(t / 10, 10) + ""."" + t % 10 + ""万"" } return parseInt(e / 1e4, 10).toString() + ""万"" }, discount: function(e) { return ""0.0"" === (e = (e = parseFloat(e, 10) || 0).toFixed(1)) && (e = ""0.1""), e }, timeParams: s, formatTime: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ""YYYY-MM-dd hh:mm:ss""; e = parseInt(e, 10); var n = parseInt(Date.now() / 1e3, 10); e || (e = n), e.toString().length - n.toString().length == 3 && (e = parseInt(e / 1e3, 10)); var r = s(e), a = { ""Y+"": r.year, ""M+"": r.month, ""d+"": r.date, ""h+"": r.hours, ""m+"": r.minutes, ""s+"": r.seconds }; for (var i in a) if (new RegExp(""("".concat(i, "")"")).test(t)) { var o = """".concat(a[i]); RegExp.$1 && (""Y+"" === i ? o = o.substr(o.length - RegExp.$1.length) : RegExp.$1.length > 1 && 1 === o.length && (o = ""0"".concat(o)), t = t.replace(RegExp.$1, o)) } return t }, time: function(e, t) { e || (e = parseInt(Date.now() / 1e3, 10)), t = t || a; var n = s(e); return ""YYYY-MM-dd"" === t ? [n.year, i(n.month), i(n.date)].join(""-"") : ""YYYY.M.d"" === t ? [n.year, n.month, n.date].join(""."") : ""YYYY.MM.dd"" === t ? [n.year, i(n.month), i(n.date)].join(""."") : ""hh:mm"" === t ? [i(n.hours), i(n.minutes)].join("":"") : ""hh"" === t ? i(n.hours) : ""MM-dd hh:mm"" === t ? [ [i(n.month), i(n.date)].join(""-""), [i(n.hours), i(n.minutes)].join("":"") ].join("" "") : ""M.d hh:mm"" === t ? [ [n.month, n.date].join("".""), [i(n.hours), i(n.minutes)].join("":"") ].join("" "") : ""M月d日"" === t ? n.month + ""月"" + n.date + ""日"" : ""M月d日 hh:mm"" === t ? [i(n.month) + ""月"" + i(n.date) + ""日"", [i(n.hours), i(n.minutes)].join("":"")].join("" "") : ""Y年M月d日 hh:mm"" === t ? [n.year + ""年"" + i(n.month) + ""月"" + i(n.date) + ""日"", [i(n.hours), i(n.minutes)].join("":"")].join("" "") : ""YYYY-MM-dd hh:mm"" === t ? [ [n.year, i(n.month), i(n.date)].join(""-""), [i(n.hours), i(n.minutes)].join("":"") ].join("" "") : ""YYYY-MM-dd hh:mm:ss"" === t ? [ [n.year, i(n.month), i(n.date)].join(""-""), [i(n.hours), i(n.minutes), i(n.seconds)].join("":"") ].join("" "") : ""YYYY-M-d"" === t ? [n.year, i(n.month), i(n.date)].join(""-"") : ""hh:mm:ss"" === t ? [i(n.hours), i(n.minutes), i(n.seconds)].join("":"") : ""YYYY/M/d"" === t ? [n.year, i(n.month), i(n.date)].join(""/"") : ""MM.dd"" === t ? [i(n.month), i(n.date)].join(""."") : ""Y年M月d日"" === t ? [n.year + ""年"" + n.month + ""月"" + n.date + ""日""].join("""") : ""MM月dd日"" === t ? i(n.month) + ""月"" + i(n.date) + ""日"" : ""YYYY年MM月dd日"" === t ? n.year + ""年"" + i(n.month) + ""月"" + i(n.date) + ""日"" : ""MM月dd日hh:mm:ss"" === t ? i(n.month) + ""月"" + i(n.date) + ""日"" + [i(n.hours), i(n.minutes), i(n.seconds)].join("":"") : [ [n.year, n.month, n.date].join(""-""), [n.hours, i(n.minutes)].join("":"") ].join("" "") }, timeSpan: function(e, t) { var n = Math.max(parseInt(t, 10) - parseInt(e, 10), 0); return n >= 86400 ? Math.floor(n / 86400) + ""天"" : n >= 3600 ? Math.floor(n / 3600) + ""小时"" : n >= 60 ? Math.floor(n / 60) + ""分钟"" : n + ""秒"" }, goodsNameWithPrice: function(e, t, n) { return n ? e : t + ""元 "" + e }, toCamel: function(e, t, n) { e = e || {}, t = t || Object.keys(e); var r = ""function"" == typeof n; return (t || []).forEach(function(t) { if (e.hasOwnProperty(t)) { var a = e[t], i = t.replace(/\_./g, function(e) { return e.replace(/\_/g, """").toUpperCase() }); i !== t && (e[i] = r ? n(a) : a, delete e[t]) } }), e }, round: c, roundToFixed: function(e, t) { return c(e, t).toFixed(t) }, stringWithEmoji: function(e, t, n) { if ((t = parseInt(t || 0, 10) || 0) <= 0) return e; if (""string"" != typeof e || e.length <= 0) return """"; var r = /[\uD800-\uDBFF][\uDC00-\uDFFF]/; return function e(t) { if (t.length <= 0) return []; var n = t.match(r); if (!n) return t.split(""""); var a = t.slice(0, n.index), i = n[0], o = t.slice(n.index).replace(r, """"); return a.split("""").concat([i], e(o)) }(e).slice(0, t).join("""") } } }, X0J6: function(e, t, n) { ""use strict""; var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""PJYZ""), d = n.n(p), h = n(""7W2i""), f = n.n(h), m = n(""q1tI""), g = n.n(m), v = n(""i8i4""), _ = n(""Fcpp""), b = -200, y = 800, w = function(e) { function t(e) { var n; return a()(this, t), (n = c()(this, l()(t).call(this, e))).provideOptions = function() { n.DomNode = Object(v.findDOMNode)(d()(n)), n.DomNode && n.registerImprToComponent() }, n.registerImprToComponent = function() { var e = n.props, t = { threshold: e.threshold, rootMargin: e.rootMargin, root: e.root }; n.observer = new IntersectionObserver(n.observerCallBack, t), n.observer.observe(n.DomNode) }, n.observerCallBack = function(e, t) { e.forEach(function(e) { n.singleTracking(e) }) }, n.singleTracking = function(e) { var t = n.props, r = t.onEnter, a = t.onLeave, i = t.doImpr; n.isItemIn(e) ? (i && n.trackingAction(), r(e)) : a(e) }, n.trackingAction = function() { n.timer && clearTimeout(n.timer), n.timer = setTimeout(function() { var e = n.DomNode.getBoundingClientRect().top; if (!(e < b || e > y)) { var t = n.props.trackingInfo || {}, r = n.props.once, a = Object.assign({ op: ""impr"" }, t); (n.props.logger || _.a).trackingRecord(a, function() { n.observer && n.DomNode && r && n.observer.unobserve(n.DomNode) }) } }, 300) }, n.isItemIn = function(e) { var t = n.props.threshold; return e.isIntersecting && e.intersectionRatio >= t }, n.observer = null, n.DomNode = null, n.timer = null, n } return f()(t, e), o()(t, [{ key: ""componentDidMount"", value: function() { n(""Wr5T""), this.provideOptions() } }, { key: ""componentWillUnmount"", value: function() { this.observer && this.DomNode && this.observer.unobserve(this.DomNode) } }, { key: ""render"", value: function() { return g.a.Children.only(this.props.children) } }]), t }(m.Component); w.defaultProps = { root: null, doImpr: !0, isCombined: !1, threshold: 1, rootMargin: ""0px"", gap: 300, imprItem: {}, once: !0, onEnter: function() {}, onLeave: function() {} }, t.a = w }, X3gk: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""render"", value: function() { var e, t = this; this.props.title && (e = f.a.createElement(""p"", { className: ""title"" }, this.props.title)); var n = []; return this.props.desc && this.props.desc.forEach(function(e, t) { n.push(f.a.createElement(""p"", { className: ""desc"", key: t }, e)) }), f.a.createElement(""div"", { style: { display: this.state.display }, className: ""bg-fill app-bg-fill"" }, f.a.createElement(""div"", { id: ""confirm-app-download"" }, f.a.createElement(""div"", { className: ""detail"" }, e, n, f.a.createElement(""div"", { className: ""buttons"" }, f.a.createElement(""div"", { className: ""cancel-button"", onClick: function(e) { t.clickCancel(e) } }, this.props.cancel), f.a.createElement(""div"", { className: ""confirm-button"", onClick: function(e) { t.clickConfirm(e) } }, this.props.confirm))))) } }]), t }(n(""+zrp"").a); m.defaultProps = { desc: [""只能在App中使用哦""], confirm: ""去使用"", cancel: ""取消"" }, t.default = m }, XUo1: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lSNA""), a = n.n(r); ! function(e, t) { ""function"" == typeof define && n(""PDX0"") ? define(function() { return t(e) }) : t(e, !0) }(window, function(e, t) { function n(t, n, r) { e.WeixinJSBridge ? WeixinJSBridge.invoke(t, i(n), function(e) { s(t, e, r) }) : u(t, r) } function r(t, n, r) { e.WeixinJSBridge ? WeixinJSBridge.on(t, function(e) { r && r.trigger && r.trigger(e), s(t, e, n) }) : u(t, r || n) } function i(e) { return (e = e || {}).appId = T.appId, e.verifyAppId = T.appId, e.verifySignType = ""sha1"", e.verifyTimestamp = T.timestamp + """", e.verifyNonceStr = T.nonceStr, e.verifySignature = T.signature, e } function o(e) { return { timeStamp: e.timestamp + """", nonceStr: e.nonceStr, package: e.package, paySign: e.paySign, signType: e.signType || ""SHA1"" } } function s(e, t, n) { ""openEnterpriseChat"" == e && (t.errCode = t.err_code), delete t.err_code, delete t.err_desc, delete t.err_detail; var r = t.errMsg; r || (r = t.err_msg, delete t.err_msg, r = function(e, t) { var n = e, r = m[n]; r && (n = r); var a = ""ok""; if (t) { var i = t.indexOf("":""); ""confirm"" == (a = t.substring(i + 1)) && (a = ""ok""), ""failed"" == a && (a = ""fail""), -1 != a.indexOf(""failed_"") && (a = a.substring(7)), -1 != a.indexOf(""fail_"") && (a = a.substring(5)), ""access denied"" != (a = (a = a.replace(/_/g, "" "")).toLowerCase()) && ""no permission to execute"" != a || (a = ""permission denied""), ""config"" == n && ""function not exist"" == a && (a = ""ok""), """" == a && (a = ""fail"") } return t = n + "":"" + a }(e, r), t.errMsg = r), (n = n || {})._complete && (n._complete(t), delete n._complete), r = t.errMsg || """", T.debug && !n.isInnerInvoke && alert(JSON.stringify(t)); var a = r.indexOf("":""); switch (r.substring(a + 1)) { case ""ok"": n.success && n.success(t); break; case ""cancel"": n.cancel && n.cancel(t); break; default: n.fail && n.fail(t) } n.complete && n.complete(t) } function c(e) { if (e) { for (var t = 0, n = e.length; t < n; ++t) { var r = e[t], a = f[r]; a && (e[t] = a) } return e } } function u(e, t) { if (!(!T.debug || t && t.isInnerInvoke)) { var n = m[e]; n && (e = n), t && t._complete && delete t._complete, console.log('""' + e + '"",', t || """") } } function l() { return (new Date).getTime() } function p(t) { S && (e.WeixinJSBridge ? t() : g.addEventListener && g.addEventListener(""WeixinJSBridgeReady"", t, !1)) } function d() { P.invoke || (P.invoke = function(t, n, r) { e.WeixinJSBridge && WeixinJSBridge.invoke(t, i(n), r) }, P.on = function(t, n) { e.WeixinJSBridge && WeixinJSBridge.on(t, n) } ) } if (!e.jWeixin) { var h, f = { config: ""preVerifyJSAPI"", onMenuShareTimeline: ""menu:share:timeline"", onMenuShareAppMessage: ""menu:share:appmessage"", onMenuShareQQ: ""menu:share:qq"", onMenuShareWeibo: ""menu:share:weiboApp"", onMenuShareQZone: ""menu:share:QZone"", previewImage: ""imagePreview"", getLocation: ""geoLocation"", openProductSpecificView: ""openProductViewWithPid"", addCard: ""batchAddCard"", openCard: ""batchViewCard"", chooseWXPay: ""getBrandWCPayRequest"", openEnterpriseRedPacket: ""getRecevieBizHongBaoRequest"", startSearchBeacons: ""startMonitoringBeacons"", stopSearchBeacons: ""stopMonitoringBeacons"", onSearchBeacons: ""onBeaconsInRange"", consumeAndShareCard: ""consumedShareCard"", openAddress: ""editAddress"" }, m = function() { var e = {}; for (var t in f) e[f[t]] = t; return e }(), g = e.document, v = g ? g.title : ""拼多多"", _ = navigator.userAgent.toLowerCase(), b = navigator.platform.toLowerCase(), y = !(!b.match(""mac"") && !b.match(""win"")), w = -1 != _.indexOf(""wxdebugger""), S = -1 != _.indexOf(""micromessenger""), C = -1 != _.indexOf(""android""), A = -1 != _.indexOf(""iphone"") || -1 != _.indexOf(""ipad""), I = function() { var e = _.match(/micromessenger\/(\d+\.\d+\.\d+)/) || _.match(/micromessenger\/(\d+\.\d+)/); return e ? e[1] : """" }(), k = { initStartTime: l(), initEndTime: 0, preVerifyStartTime: 0, preVerifyEndTime: 0 }, E = { version: 1, appId: """", initTime: 0, preVerifyTime: 0, networkType: """", isPreVerifyOk: 1, systemType: A ? 1 : C ? 2 : -1, clientVersion: I, url: encodeURIComponent(location.href) }, T = {}, N = { _completes: [] }, x = { state: 0, data: {} }; p(function() { k.initEndTime = l() }); var O = !1, D = [], P = (h = { config: function(e) { T = e, u(""config"", e); var t = !1 !== T.check; p(function() { if (t) n(f.config, { verifyJsApiList: c(T.jsApiList) }, function() { N._complete = function(e) { k.preVerifyEndTime = l(), x.state = 1, x.data = e }, N.success = function(e) { E.isPreVerifyOk = 0 }, N.fail = function(e) { N._fail ? N._fail(e) : x.state = -1 }; var e = N._completes; return e.push(function() { ! function(e) { if (!(y || w || T.debug || I < ""6.0.2"" || E.systemType < 0)) { var t = new Image; E.appId = T.appId, E.initTime = k.initEndTime - k.initStartTime, E.preVerifyTime = k.preVerifyEndTime - k.preVerifyStartTime, P.getNetworkType({ isInnerInvoke: !0, success: function(e) { E.networkType = e.networkType; var n = ""https://open.weixin.qq.com/sdk/report?v="" + E.version + ""&o="" + E.isPreVerifyOk + ""&s="" + E.systemType + ""&c="" + E.clientVersion + ""&a="" + E.appId + ""&n="" + E.networkType + ""&i="" + E.initTime + ""&p="" + E.preVerifyTime + ""&u="" + E.url; t.src = n } }) } }() }), N.complete = function(t) { for (var n = 0, r = e.length; n < r; ++n) e[n](); N._completes = [] }, N }()), k.preVerifyStartTime = l(); else { x.state = 1; for (var e = N._completes, r = 0, a = e.length; r < a; ++r) e[r](); N._completes = [] } }), d() }, ready: function(e) { 0 != x.state ? e() : (N._completes.push(e), !S && T.debug && e()) }, error: function(e) { I < ""6.0.2"" || (-1 == x.state ? e(x.data) : N._fail = e) }, checkJsApi: function(e) { n(""checkJsApi"", { jsApiList: c(e.jsApiList) }, (e._complete = function(e) { if (C) { var t = e.checkResult; t && (e.checkResult = JSON.parse(t)) } e = function(e) { var t = e.checkResult; for (var n in t) { var r = m[n]; r && (t[r] = t[n], delete t[n]) } return e }(e) }, e)) }, onMenuShareTimeline: function(e) { r(f.onMenuShareTimeline, { complete: function() { n(""shareTimeline"", { title: e.title || v, desc: e.title || v, img_url: e.imgUrl || """", link: e.link || location.href, type: e.type || ""link"", data_url: e.dataUrl || """" }, e) } }, e) }, onMenuShareAppMessage: function(e) { r(f.onMenuShareAppMessage, { complete: function(t) { ""favorite"" === t.scene ? n(""sendAppMessage"", { title: e.title || v, desc: e.desc || """", link: e.link || location.href, img_url: e.imgUrl || """", type: e.type || ""link"", data_url: e.dataUrl || """" }) : n(""sendAppMessage"", { title: e.title || v, desc: e.desc || """", link: e.link || location.href, img_url: e.imgUrl || """", type: e.type || ""link"", data_url: e.dataUrl || """" }, e) } }, e) }, onMenuShareQQ: function(e) { r(f.onMenuShareQQ, { complete: function() { n(""shareQQ"", { title: e.title || v, desc: e.desc || """", img_url: e.imgUrl || """", link: e.link || location.href }, e) } }, e) }, onMenuShareWeibo: function(e) { r(f.onMenuShareWeibo, { complete: function() { n(""shareWeiboApp"", { title: e.title || v, desc: e.desc || """", img_url: e.imgUrl || """", link: e.link || location.href }, e) } }, e) }, onMenuShareQZone: function(e) { r(f.onMenuShareQZone, { complete: function() { n(""shareQZone"", { title: e.title || v, desc: e.desc || """", img_url: e.imgUrl || """", link: e.link || location.href }, e) } }, e) }, startRecord: function(e) { n(""startRecord"", {}, e) }, stopRecord: function(e) { n(""stopRecord"", {}, e) }, onVoiceRecordEnd: function(e) { r(""onVoiceRecordEnd"", e) }, playVoice: function(e) { n(""playVoice"", { localId: e.localId }, e) }, pauseVoice: function(e) { n(""pauseVoice"", { localId: e.localId }, e) }, stopVoice: function(e) { n(""stopVoice"", { localId: e.localId }, e) }, onVoicePlayEnd: function(e) { r(""onVoicePlayEnd"", e) }, uploadVoice: function(e) { n(""uploadVoice"", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, downloadVoice: function(e) { n(""downloadVoice"", { serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, translateVoice: function(e) { n(""translateVoice"", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, chooseImage: function(e) { n(""chooseImage"", { scene: ""1|2"", count: e.count || 9, sizeType: e.sizeType || [""original"", ""compressed""], sourceType: e.sourceType || [""album"", ""camera""] }, (e._complete = function(e) { if (C) { var t = e.localIds; t && (e.localIds = JSON.parse(t)) } }, e)) }, getLocation: function(e) {}, previewImage: function(e) { n(f.previewImage, { current: e.current, urls: e.urls }, e) }, uploadImage: function(e) { n(""uploadImage"", { localId: e.localId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, downloadImage: function(e) { n(""downloadImage"", { serverId: e.serverId, isShowProgressTips: 0 == e.isShowProgressTips ? 0 : 1 }, e) }, getLocalImgData: function(e) { !1 === O ? (O = !0, n(""getLocalImgData"", { localId: e.localId }, (e._complete = function(e) { if (O = !1, D.length > 0) { var t = D.shift(); wx.getLocalImgData(t) } }, e))) : D.push(e) }, getNetworkType: function(e) { n(""getNetworkType"", {}, (e._complete = function(e) { e = function(e) { var t = e.errMsg; e.errMsg = ""getNetworkType:ok""; var n = e.subtype; if (delete e.subtype, n) e.networkType = n; else { var r = t.indexOf("":""), a = t.substring(r + 1); switch (a) { case ""wifi"": case ""edge"": case ""wwan"": e.networkType = a; break; default: e.errMsg = ""getNetworkType:fail"" } } return e }(e) }, e)) }, openLocation: function(e) { n(""openLocation"", { latitude: e.latitude, longitude: e.longitude, name: e.name || """", address: e.address || """", scale: e.scale || 28, infoUrl: e.infoUrl || """" }, e) } }, a()(h, ""getLocation"", function(e) { e = e || {}, n(f.getLocation, { type: e.type || ""wgs84"" }, (e._complete = function(e) { delete e.type }, e)) }), a()(h, ""hideOptionMenu"", function(e) { n(""hideOptionMenu"", {}, e) }), a()(h, ""showOptionMenu"", function(e) { n(""showOptionMenu"", {}, e) }), a()(h, ""closeWindow"", function(e) { n(""closeWindow"", {}, e = e || {}) }), a()(h, ""hideMenuItems"", function(e) { n(""hideMenuItems"", { menuList: e.menuList }, e) }), a()(h, ""showMenuItems"", function(e) { n(""showMenuItems"", { menuList: e.menuList }, e) }), a()(h, ""hideAllNonBaseMenuItem"", function(e) { n(""hideAllNonBaseMenuItem"", {}, e) }), a()(h, ""showAllNonBaseMenuItem"", function(e) { n(""showAllNonBaseMenuItem"", {}, e) }), a()(h, ""scanQRCode"", function(e) { n(""scanQRCode"", { needResult: (e = e || {}).needResult || 0, scanType: e.scanType || [""qrCode"", ""barCode""] }, (e._complete = function(e) { if (A) { var t = e.resultStr; if (t) { var n = JSON.parse(t); e.resultStr = n && n.scan_code && n.scan_code.scan_result } } }, e)) }), a()(h, ""openAddress"", function(e) { n(f.openAddress, {}, (e._complete = function(e) { e = function(e) { return e.postalCode = e.addressPostalCode, delete e.addressPostalCode, e.provinceName = e.proviceFirstStageName, delete e.proviceFirstStageName, e.cityName = e.addressCitySecondStageName, delete e.addressCitySecondStageName, e.countryName = e.addressCountiesThirdStageName, delete e.addressCountiesThirdStageName, e.detailInfo = e.addressDetailInfo, delete e.addressDetailInfo, e }(e) }, e)) }), a()(h, ""openProductSpecificView"", function(e) { n(f.openProductSpecificView, { pid: e.productId, view_type: e.viewType || 0, ext_info: e.extInfo }, e) }), a()(h, ""addCard"", function(e) { for (var t = e.cardList, r = [], a = 0, i = t.length; a < i; ++a) { var o = t[a], s = { card_id: o.cardId, card_ext: o.cardExt }; r.push(s) } n(f.addCard, { card_list: r }, (e._complete = function(e) { var t = e.card_list; if (t) { for (var n = 0, r = (t = JSON.parse(t)).length; n < r; ++n) { var a = t[n]; a.cardId = a.card_id, a.cardExt = a.card_ext, a.isSuccess = !!a.is_succ, delete a.card_id, delete a.card_ext, delete a.is_succ } e.cardList = t, delete e.card_list } }, e)) }), a()(h, ""chooseCard"", function(e) { n(""chooseCard"", { app_id: T.appId, location_id: e.shopId || """", sign_type: e.signType || ""SHA1"", card_id: e.cardId || """", card_type: e.cardType || """", card_sign: e.cardSign, time_stamp: e.timestamp + """", nonce_str: e.nonceStr }, (e._complete = function(e) { e.cardList = e.choose_card_info, delete e.choose_card_info }, e)) }), a()(h, ""openCard"", function(e) { for (var t = e.cardList, r = [], a = 0, i = t.length; a < i; ++a) { var o = t[a], s = { card_id: o.cardId, code: o.code }; r.push(s) } n(f.openCard, { card_list: r }, e) }), a()(h, ""consumeAndShareCard"", function(e) { n(f.consumeAndShareCard, { consumedCardId: e.cardId, consumedCode: e.code }, e) }), a()(h, ""chooseWXPay"", function(e) { n(f.chooseWXPay, o(e), e) }), a()(h, ""openEnterpriseRedPacket"", function(e) { n(f.openEnterpriseRedPacket, o(e), e) }), a()(h, ""startSearchBeacons"", function(e) { n(f.startSearchBeacons, { ticket: e.ticket }, e) }), a()(h, ""stopSearchBeacons"", function(e) { n(f.stopSearchBeacons, {}, e) }), a()(h, ""onSearchBeacons"", function(e) { r(f.onSearchBeacons, e) }), a()(h, ""openEnterpriseChat"", function(e) { n(""openEnterpriseChat"", { useridlist: e.userIds, chatname: e.groupName }, e) }), a()(h, ""launchMiniProgram"", function(e) { n(""launchMiniProgram"", { targetAppId: e.targetAppId, path: function(e) { if (""string"" == typeof e && e.length > 0) { var t = e.split(""?"")[0], n = e.split(""?"")[1]; return t += "".html"", void 0 !== n ? t + ""?"" + n : t } }(e.path), envVersion: e.envVersion }, e) }), a()(h, ""miniProgram"", { navigateBack: function(e) { e = e || {}, p(function() { n(""invokeMiniProgramAPI"", { name: ""navigateBack"", arg: { delta: e.delta || 1 } }, e) }) }, navigateTo: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""navigateTo"", arg: { url: e.url } }, e) }) }, redirectTo: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""redirectTo"", arg: { url: e.url } }, e) }) }, switchTab: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""switchTab"", arg: { url: e.url } }, e) }) }, reLaunch: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""reLaunch"", arg: { url: e.url } }, e) }) }, postMessage: function(e) { p(function() { n(""invokeMiniProgramAPI"", { name: ""postMessage"", arg: e.data || {} }, e) }) }, getEnv: function(t) { p(function() { t({ miniprogram: ""miniprogram"" === e.__wxjs_environment }) }) } }), h), R = 1, M = {}; return g.addEventListener(""error"", function(e) { if (!C) { var t = e.target, n = t.tagName, r = t.src; if ((""IMG"" == n || ""VIDEO"" == n || ""AUDIO"" == n || ""SOURCE"" == n) && -1 != r.indexOf(""wxlocalresource://"")) { e.preventDefault(), e.stopPropagation(); var a = t[""wx-id""]; if (a || (a = R++, t[""wx-id""] = a), M[a]) return; M[a] = !0, wx.ready(function() { wx.getLocalImgData({ localId: r, success: function(e) { t.src = e.localData } }) }) } } }, !0), g.addEventListener(""load"", function(e) { if (!C) { var t = e.target, n = t.tagName; if (t.src, ""IMG"" == n || ""VIDEO"" == n || ""AUDIO"" == n || ""SOURCE"" == n) { var r = t[""wx-id""]; r && (M[r] = !1) } } }, !0), P && (e.wx = e.jWeixin = P), P } }) }, YjY0: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, ""@charset \""UTF-8\"";\n\n/**\r\n * base.scss, 一些公共的代码\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * base variable\r\n */\n\n/**\r\n * function 区域\r\n */\n\n/**\r\n * mixin 区域\r\n */\n\n/**\r\n * 父元素必须是position: relative\r\n */\n\n/**\r\n * 字体icon\r\n */\n\n/**\r\n * flex 布局\r\n */\n\n/**\r\n * extend区域\r\n */\n\n/**\r\n * @file variables.scss, 相关的变量\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * @file border1px.scss, 1px在devicePixelRatio>2的方案\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/*原来的逻辑*/\n\n/*\n* 注意:需要按钮是position(absolute,relative)定位的,按钮没有宽高的,可能会出bug.\n* 按钮before已经有样式的就用data-active=after-{type},after同理。\n* eg:
button
\n* https://jira2.corp.yiran.com/browse/PDD-10191\n* 红色按钮 highlight状态增加 #000000 15%\n* 白色按钮 highlight状态增加 #000000 5%\n* 红色线框按钮 highlight状态增加 #E02E24 5%\n*/\n\n.modal-popup {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 10000;\n}\n\n.modal-popup .modal-popup-content {\n position: absolute;\n z-index: 10;\n top: 0;\n left: 0;\n right: 0;\n bottom: 64px;\n display: -webkit-box;\n display: flex;\n display: -webkit-flex;\n -webkit-box-pack: center;\n justify-content: center;\n -webkit-justify-content: center;\n -webkit-box-align: center;\n align-items: center;\n -webkit-align-items: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n flex-direction: row;\n -webkit-flex-direction: row;\n pointer-events: none;\n}\n\n.modal-popup .modal-popup-content > * {\n pointer-events: auto;\n}\n\n.modal-popup .modal-popup-content.content-wechat-bottom {\n display: -webkit-box;\n display: flex;\n display: -webkit-flex;\n -webkit-box-pack: center;\n justify-content: center;\n -webkit-justify-content: center;\n -webkit-box-align: end;\n align-items: flex-end;\n -webkit-align-items: flex-end;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n flex-direction: row;\n -webkit-flex-direction: row;\n}\n\n.modal-popup .modal-popup-content.content-top {\n display: -webkit-box;\n display: flex;\n display: -webkit-flex;\n -webkit-box-pack: center;\n justify-content: center;\n -webkit-justify-content: center;\n -webkit-box-align: start;\n align-items: flex-start;\n -webkit-align-items: flex-start;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n flex-direction: row;\n -webkit-flex-direction: row;\n}\n\n.modal-popup .modal-popup-content.content-bottom {\n bottom: 0;\n display: -webkit-box;\n display: flex;\n display: -webkit-flex;\n -webkit-box-pack: center;\n justify-content: center;\n -webkit-justify-content: center;\n -webkit-box-align: end;\n align-items: flex-end;\n -webkit-align-items: flex-end;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n flex-direction: row;\n -webkit-flex-direction: row;\n}"", """"]) }, ZNKI: function(e, t, n) {}, ZVxM: function(e, t, n) { ""use strict""; function r() { var e = { 1: 1, 2: .5, 4: .25, 5: .2, 10: .1 }, t = 1, n = 1; if (window.__CMT_AMPLIFY_RATE__) { var r = window.__CMT_AMPLIFY_RATE__; e[r] ? (t = +r, n = e[r]) : console.warn(""cmt放大倍数${rate}不合法支持1,2,4,5,10"") } return { amplifyRate: t, sampleRate: n } } function a(e) { return ""https://cmta.yangkeduo.com"".concat(e) } function i() { return (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """").split(""."").reverse().reduce(function(e, t, n) { return +e + t * Math.pow(100, n) }) } n.d(t, ""b"", function() { return r }), n.d(t, ""c"", function() { return a }), n.d(t, ""a"", function() { return i }) }, b5fu: function(e, t, n) { ""use strict""; var r = n(""EJiy""), a = n.n(r), i = n(""3OdE"").a.constant, o = i.ShareChannel, s = { call: function(e) { if (e) { for (var t = [], n = 1; n < arguments.length; ++n) t.push(arguments[n]); e.apply(this, t) } }, format: function(e) { for (var t = [], n = 1; n < arguments.length; ++n) t.push(arguments[n]); return e.replace(/{(\d+)}/g, function(e, n) { return 0 === t[n] ? 0 : t[n] || """" }) }, removeArrayItem: function(e, t) { if (this.isArray(t)) for (var n = 0; n < t.length; n++) { var r = e.indexOf(t[n]); r >= 0 && e.splice(r, 1) } else { var a = e.indexOf(t); a >= 0 && e.splice(a, 1) } return e }, isArray: function(e) { return ""[object Array]"" === Object.prototype.toString.call(e) }, saveToLocalStorage: function(e, t) { null != e && ""undefined"" != typeof localStorage && (null == t ? localStorage.removeItem(e) : localStorage.setItem(e, t)) }, saveToSessionStorage: function(e, t) { null != e && ""undefined"" != typeof sessionStorage && (null == t ? sessionStorage.removeItem(e) : sessionStorage.setItem(e, t)) }, loadFromSessionStorage: function(e) { if (null != e && ""undefined"" != typeof sessionStorage) return sessionStorage.getItem(e) }, httpsSafe: function(e) { if (!e) return e; var t = !1; return t = !(location || {}).href.match(/^https?:/), e.replace(/^https?:\/\//, t ? ""http://"" : ""//"") }, getCookies: function() { for (var e = (document.cookie || """").split(""; ""), t = {}, n = 0; n < e.length; n++) { var r = e[n].indexOf(""=""), a = e[n].substring(0, r), i = e[n].substring(r + 1); t[a] || (t[a] = []), t[a].push(i) } return t }, getCookieByName: function(e) { var t = """", n = this.getCookies(); for (var r in n) if (r == e) { t = n[r][0]; break } return t }, setCookie: function(e) { var t = this.getCookies(); for (var n in e) { var r = e[n], i = n + ""="", o = new Date; if (r) { var s = 864e7, c = ""/""; ""object"" === (void 0 === r ? ""undefined"" : a()(r)) && (s = r.msec || s, c = r.path || c, r = r.value), o.setTime(o.getTime() + s), i += r + ""; path="" + c + ""; expires="" + o.toGMTString(), document.cookie = i } else { o.setTime(o.getTime() - 1); var u = ""; path=/; expires="" + o.toGMTString(); if (t[n]) for (var l = 0; l < t[n].length; l++) document.cookie = i + t[n][l] + u; else document.cookie = i + u } } }, deleteCookie: function(e) { ""undefined"" != typeof window && (document.cookie = e + ""=; Max-Age=-99999999;"") }, isAscii: function(e) { if (!e) return !1; for (var t = !0, n = 0; n < e.length; n++) e.charCodeAt(n) > 127 && (t = !1); return t }, clearInvaildCookie: function() { var e = this; if (""undefined"" != typeof window) { var t = []; document.cookie.split("";"").forEach(function(n) { var r = n.split(""=""); e.isAscii(n) || t.push(r[0]) }), t.forEach(function(t) { e.deleteCookie(t.trim()) }) } }, getRandomString: function(e) { e = e || 32; for (var t = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"", n = t.length, r = """", a = 0; a < e; a++) r += t.charAt(Math.floor(Math.random() * n)); return r }, getRandomInteger: function(e) { var t = 0, n = 0; if (""number"" == typeof e) { if (e < 1) return 0; t = Math.pow(10, e - 1), n = Math.pow(10, e) - 1 } else t = (e = e || {}).min || 0, n = e.max || 0; return Math.floor(Math.random() * (n - t + 1) + t) }, getUIDback_: function(e) { var t = ""0123456789abcdefghijklmnopqrstuvwxyz"", n = t.length, r = 0, a = 1; if ((e = e || """").length > 0) for (var i = e.length - 1; i >= 0; i--) r += t.indexOf(e[i]) * a, a *= n; return r }, getSelfUID: function() { if (""undefined"" != typeof localStorage) { var e = localStorage.getItem(i.LocalStorageKey.UID); return (e || """").toString().match(/[0-9]{10}/) ? (localStorage.setItem(i.LocalStorageKey.UID, parseInt(e, 10).toString(36)), e) : this.getUIDback_(e) } }, getValueFromUserAgent: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : """"; t || ""undefined"" == typeof navigator || (t = navigator.userAgent); var n = (t = t.toLowerCase()).indexOf(e); if (n < 0) return null; var r = t.indexOf("" "", n); return r < 0 && (r = t.length), t.substring(n + e.length, r) }, pick: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : []; return e = e || {}, t.reduce(function(t, n) { var r = e[n]; return void 0 !== r && (t[n] = r), t }, {}) }, isEmptyObject: function(e) { return 0 === Object.keys(e).length }, getAvatarURL: function(e, t, n) { return e = this.httpsSafe(e || """"), n = n || 100, 0 === e.length ? this.httpsSafe(t) : e.indexOf(""avatar.yangkeduo.com"") >= 0 ? [e.split(""?"")[0], ""x-oss-process=image/resize,w_"" + n].join(""?"") : ""/0"" === e.substr(-2, 2) ? e.substring(0, e.length - 1) + ""132"" : e }, extend: function() { for (var e = {}, t = 0; t < arguments.length; t++) if (""object"" === a()(arguments[t])) for (var n in arguments[t]) null != n && arguments[t].hasOwnProperty(n) && (e[n] = arguments[t][n]); return e }, merge: function(e, t) { if (""undefined"" == e || null == e || ""undefined"" == t || null == t) return t; for (var n in e) this.isArray(e[n]) ? t[n] = e[n].concat() : ""object"" === a()(e[n]) ? (""undefined"" != t[n] && null != t[n] || (t[n] = {}), this.merge(e[n], t[n])) : ""function"" == typeof e[n] || (t[n] = e[n]); return t }, bindShareCallback: function(e, t, n, r, a, i) { var s = e || {}, c = function(e) { t ? t(e) : n && n(e) }, u = function(e) { t ? t(e) : r && r(e) }, l = a || {}, p = { appMessageShareSuccess: o.AppMessage, timelineShareSuccess: o.Timeline, qqShareSuccess: o.QQ, qqZoneShareSuccess: o.QQZone, qqWeiboShareSuccess: o.QQWeibo, sinaWeiboShareSuccess: o.SinaWeibo }, d = { appMessageShareCancel: o.AppMessage, timelineShareCancel: o.Timeline, qqShareCancel: o.QQ, qqZoneShareCancel: o.QQZone, qqWeiboShareCancel: o.QQWeibo, sinaWeiboShareCancel: o.SinaWeibo }; if (t || n) for (var h in p) s[h] = function(e) { return function() { c(l[e] || p[e]) } }(h); if (t || r) for (var f in d) s[f] = function(e) { return function() { u(l[e] || d[e]) } }(f); if (i) for (var m in i) s[m] = i[m]; return s }, joinObjKeyAndValue: function(e, t, n) { if (!e || !t || !n) return null; var r = []; for (var a in e) ""string"" != typeof e[a] && ""number"" != typeof e[a] || r.push(a.toString() + t + e[a]); return r.join(n) }, isFunc: function(e) { return ""function"" == typeof e }, isFunction: function(e) { return this.isFunc(e) }, getStringCharLength: function(e) { for (var t = 0, n = 0; n < e.length; n++) e.charCodeAt(n) < 0 || e.charCodeAt(n) > 255 ? t += 2 : t += 1; return t }, utfStrTruncation: function(e, t, n) { if (n = n || ""..."", this.getStringCharLength(e) <= t) return e; for (var r = e, a = 0, i = 0; a < e.length; a++) if (e.charCodeAt(a) < 0 || e.charCodeAt(a) > 255 ? i += 2 : i += 1, i > t) { r = e.slice(0, a) + n; break } return r }, compareVersion: function(e, t) { for (var n = function(e) { var t = []; return null == e || e.length <= 0 ? t : (e.split(""."").forEach(function(e) { t.push(parseInt(e)) }), t) }, r = n(e), a = n(t), i = Math.max(r.length, a.length), o = 0; o < i; ++o) { var s = parseInt(r[o] || ""0""), c = parseInt(a[o] || ""0""); if (s != c) return s - c } return 0 }, getWechatVersion: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; e || ""undefined"" == typeof navigator || (e = navigator.userAgent); var t = this.getValueFromUserAgent(""micromessenger/"", e); return null === t && (t = """"), t }, animate: function(e, t, n, r) { var a = this, i = 0; e.length || (e = [e]); for (var o = function(e, t, n, r, a, i, o) { if (""undefined"" != typeof window) { var s = n.x, c = n.y, u = r.x, l = r.y, p = Date.now(), d = p + a; o = o || function(e) { return e * (2 - e) }; var h = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function(e) { window.setTimeout(e, 1e3 / 60) }, f = function(n, r) { t.call(e, n, r) }; ! function e() { var t = Date.now(); if (t >= d) return f(u, l), void i(); var n = o(t = (t - p) / a); f((u - s) * n + s, (l - c) * n + c), h(e) }() } }, s = function() { ++i >= e.length && a.call(r) }, c = 0; c < e.length; ++c) o(e[c], t.transFunc, t.start, t.dest, n, s, t.easingFn) }, getCompleteLotteryHostname: function(e) { return [""m.hutaojie.com"", ""panduoduo.yangkeduo.com""].indexOf(e) >= 0 ? e : i.CompleteLotteryHostname } }; t.a = s }, b9VB: function(e, t, n) { ""use strict""; (function(e) { var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""fkZF""), c = n(""xJ31""), u = n(""0P1e""), l = n(""KoDT""), p = n(""h3qu""), d = n(""MpJ2""), h = Object(l.a)(), f = { unknown: 0, ios: 1, android: 2, wechat: 3, weibo: 4, qq: 5 }, m = function() { function t() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, t); var n = Date.now(), r = Object(s.a)(6); this.data = { v: 1, t: n, r: r, c: Object(c.a)(n + ""-"" + r), d: { t: Date.now(), pn: e.pn || this.getPageName(), n: 0, pl: f[h.platform] || 0, rts: this.getRts(), e: {} } } } return o()(t, [{ key: ""getPageName"", value: function() { return window.location.origin + window.location.pathname } }, { key: ""getRts"", value: function() { var e = window.performance; if (!e || !e.timing) return []; var t = e.timing; return [t.navigationStart, t.redirectStart, t.redirectEnd, t.fetchStart, t.domainLookupStart, t.domainLookupEnd, t.connectStart, t.secureConnectionStart, t.connectEnd, t.requestStart, t.responseStart, t.unloadEventStart, t.unloadEventEnd, t.responseEnd, t.domLoading, t.domInteractive, t.domContentLoadedEventStart, t.domContentLoadedEventEnd, t.domComplete, t.loadEventStart, t.loadEventEnd] } }, { key: ""send"", value: function() { var t = this; Object(u.a)().then(function(n) { t.data.d.n = n; var r = { method: ""POST"", body: JSON.stringify(t.data), data: JSON.stringify(t.data), headers: { ""Content-Type"": ""application/json;charset=UTF-8"" }, credentials: ""include"" }, a = ""https://cmta.yangkeduo.com/api/page""; h.isNativePlatform ? (Object.assign(r, { url: a }), Object(d.c)(""JSNetwork"", ""request"", r).catch(function(e) { if (h.platform === p.a.PddAndroid && Object(p.c)(h.version, ""4.78.0"") >= 0) throw e })) : e(a, r).catch(function(e) { throw new Error(""cmt report error "" + JSON.stringify(e.message ? e.message : null)) }) }) } }]), t }(); t.a = m }).call(this, n(""BlQd"")) }, c5EO: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = n(""+zrp""), g = n(""u16y""), v = n(""tWR7""), _ = n(""ii9O""), b = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""gotoApp"", value: function() { var e = { src: ""weixin"", campaign: ""gzh"", cid: ""grzx"" }; v.a.buildQuery(e), v.a.buildQuery(e); _.a.forward(""download.html?"" + v.a.buildQuery(e)) } }, { key: ""render"", value: function() { var e = this, t = this.props, n = []; return t.desc && t.desc.forEach(function(e, t) { n.push(f.a.createElement(""li"", { key: t, dangerouslySetInnerHTML: { __html: e } })) }), f.a.createElement(""div"", { style: { display: this.state.display } }, f.a.createElement(""div"", { className: ""bg-fill"" }), f.a.createElement(""div"", { className: ""alert-app-download-head"" }, f.a.createElement(""img"", { id: ""alert-app-download-img"", src: t.img }), f.a.createElement(""div"", { id: ""alert-app-download"" }, f.a.createElement(""div"", { className: ""alert-goto-app-text"" }, f.a.createElement(""div"", { className: ""alert-goto-app-desc"" }, ""前往拼多多App,领888元新人红包""), f.a.createElement(""div"", { className: ""alert-goto-app-tips"" }, ""App内确认收货还有红包可领取哦"")), f.a.createElement(""div"", { className: ""alert-goto-app-btnContainer"" }, f.a.createElement(""div"", { className: ""alert-goto-app-cancel"", onClick: function(t) { return e.clickHide() } }, ""收起""), f.a.createElement(""div"", { className: ""alert-goto-app-confirm"", onClick: this.gotoApp }, ""前往App""))))) } }]), t }(m.a); b.defaultProps = { desc: [""下载 APP"", '立即领取 888 元新人红包'], confirm: ""立即前往"", checkbox: ""不再提示"", closeButton: g.a.getCDNImgURL(""jsalert/alert_app_download_close_v2.png""), img: g.a.getCDNImgURL(""base/alert_go_to_app.png""), clickBgDisabled: !0 }, t.default = b }, ctu6: function(e, t, n) { ""use strict""; (function(e) { var r = n(""Fcpp""), a = n(""eBA5""), i = n(""iZ5V""), o = n(""4x4s""); t.a = function(t) { var n = t.downloadParams, s = void 0 === n ? {} : n, c = """".concat(Object(a.a)()).concat(Object(i.a)(), ""?"").concat(Object(o.a)(s)); return e(c).then(function() { r.a.trackingRecord({ op: ""error"", sub_op: ""p_pre"", error_message: ""onload_success"" }) }).catch(function(e) { r.a.trackingRecord({ op: ""error"", sub_op: ""p_pre"", error_message: ""onerror"", error_detail: JSON.stringify(e) }) }) } }).call(this, n(""BlQd"")) }, ""cz+l"": function(e, t, n) { var r = n(""IsSU""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, dDoh: function(e, t, n) { ""use strict""; var r = ""__$leo_keys"", a = n(""F19C""), i = n(""+aNZ""), o = n(""ouH+""); function s(e) { return function(t) { if (t[r]) throw new Error("""".concat(t.name, "" duplicate declare"")); if (!Array.isArray(e)) throw new Error(""needs an array for its 1st param""); return t[r] = e || [], function(e) { e = e || [], window.leo = window.leo || {}, window.leo.data = window.leo.data || {}, window.leo.csrFallback && window.leo.fallbackData && e.length && e.map(function(e) { var t = window.leo.fallbackData[e.leoKey]; if (t) { var n = Object(i.b)(e); try { window.leo.data[e.leoKey] = n(t, { identity: { uid: parseInt(o.a.userID, 10) || 0 } }) } catch (e) { Object(a.b)(null, ""csrFormatLeoFailed"", e) } } else Object(a.b)(null, ""csrLeoFallbackDataNotFound"") }) }(e), t } } function c(e, t) { var n; t = t || {}; try { n = window.leo.data[e] } catch (n) { Object(a.b)(t.__req, ""BusinessOrFrameworkError_"".concat(e), n) } return void 0 === n && Object(a.b)(t.__req, ""leoDataNotFoundForKey_"".concat(e)), n } n.d(t, ""b"", function() { return s }), n.d(t, ""a"", function() { return c }) }, eBA5: function(e, t, n) { ""use strict""; t.a = function() { return location && ""m.hutaojie.com"" === location.hostname ? ""https://at.hutaojie.com"" : ""https://at.pinduoduo.com"" } }, fbeZ: function(e, t, n) { ""undefined"" != typeof self && self, e.exports = function(e) { var t = {}; function n(r) { if (t[r]) return t[r].exports; var a = t[r] = { i: r, l: !1, exports: {} }; return e[r].call(a.exports, a, a.exports, n), a.l = !0, a.exports } return n.m = e, n.c = t, n.d = function(e, t, r) { n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r }) }, n.r = function(e) { ""undefined"" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: ""Module"" }), Object.defineProperty(e, ""__esModule"", { value: !0 }) }, n.t = function(e, t) { if (1 & t && (e = n(e)), 8 & t) return e; if (4 & t && ""object"" == typeof e && e && e.__esModule) return e; var r = Object.create(null); if (n.r(r), Object.defineProperty(r, ""default"", { enumerable: !0, value: e }), 2 & t && ""string"" != typeof e) for (var a in e) n.d(r, a, function(t) { return e[t] } .bind(null, a)); return r }, n.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return n.d(t, ""a"", t), t }, n.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, n.p = """", n(n.s = 6) }([ function(e, t) { e.exports = function(e) { return e.webpackPolyfill || (e.deprecate = function() {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, ""loaded"", { enumerable: !0, get: function() { return e.l } }), Object.defineProperty(e, ""id"", { enumerable: !0, get: function() { return e.i } }), e.webpackPolyfill = 1), e } }, function(e, t, n) { ""use strict""; var r = ""function"" == typeof Symbol && ""symbol"" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && ""function"" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? ""symbol"" : typeof e }, a = ""undefined"" != typeof Uint8Array && ""undefined"" != typeof Uint16Array && ""undefined"" != typeof Int32Array; function i(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } t.assign = function(e) { for (var t = Array.prototype.slice.call(arguments, 1); t.length;) { var n = t.shift(); if (n) { if (""object"" !== (void 0 === n ? ""undefined"" : r(n))) throw new TypeError(n + ""must be non-object""); for (var a in n) i(n, a) && (e[a] = n[a]) } } return e }, t.shrinkBuf = function(e, t) { return e.length === t ? e : e.subarray ? e.subarray(0, t) : (e.length = t, e) }; var o = { arraySet: function(e, t, n, r, a) { if (t.subarray && e.subarray) e.set(t.subarray(n, n + r), a); else for (var i = 0; i < r; i++) e[a + i] = t[n + i] }, flattenChunks: function(e) { var t, n, r, a, i, o; for (r = 0, t = 0, n = e.length; t < n; t++) r += e[t].length; for (o = new Uint8Array(r), a = 0, t = 0, n = e.length; t < n; t++) i = e[t], o.set(i, a), a += i.length; return o } }, s = { arraySet: function(e, t, n, r, a) { for (var i = 0; i < r; i++) e[a + i] = t[n + i] }, flattenChunks: function(e) { return [].concat.apply([], e) } }; t.setTyped = function(e) { e ? (t.Buf8 = Uint8Array, t.Buf16 = Uint16Array, t.Buf32 = Int32Array, t.assign(t, o)) : (t.Buf8 = Array, t.Buf16 = Array, t.Buf32 = Array, t.assign(t, s)) }, t.setTyped(a) }, function(e, t, n) { (function(e) { var t, r, a = ""function"" == typeof Symbol && ""symbol"" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && ""function"" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? ""symbol"" : typeof e }, i = n(17), o = [""UcOPwpvCvHnDo8KyEWnCkA=="", ""w6JWw5QWCG0="", ""w7zDvcKgwozCqyU="", ""w4UxGDQ="", ""YgZfw4MPacKPcSLCtj5Pw7bClFjDp8Kow6BVHcKILWHCs1cXwoHCt8Oiw4FUG8O2wqgQwpk4ARvClU3CiVw3w61rwqMQw4TDtkpxw57DusKheiUeS8KRwo7DpH4M"", ""HMOYwp0Pwrw="", ""F8Otw43CvMKDCsOr"", ""w75pHcO3w5U3wqTDqn4="", ""wrpdw5UefmA="", ""w61bw5sDP2rCqXY="", ""D3zDrg=="", ""Gy3Dk1QDckw2woIlEMKHwphc"", ""wpnDjcOUJywt"", ""w6gIw7tWIsKI"", ""AcK4FA=="", ""wofDi0g="", ""XB9HwqUiSQ=="", ""w5/CiB3CvTTDtHw8PMKNYhTCkMOPw4NFTMKNVQ=="", ""BsORGG5HXW/Co8KJw6g+wrABe8KrHxlGKg=="", ""w53DtMKpeDB3HDTCpMONwo8/JcOjwqrCkcOsM8OPwqYxw77Di1kVw5RdwpNDbR3CoMOUV8KTD3vCkGvCncOgwrfCuk4CUcKOw78Hfnh+KsOGw7HDhcKQFcKLw5JlwpAJdw=="", ""RCXDkcKjDsKUw54="", ""UjHDiMKvGQ=="", ""cmfCnW/CjmpF"", ""RcOndyltw47CjA4="", ""MCPDg00DWFZi"", ""wqtJw4QIPCYwLcKP""]; t = o, r = 307, function(e) { for (; --e;) t.push(t.shift()) }(++r); var s = function e(t, n) { var r = o[t -= 0]; void 0 === e.IFywfX && (function() { var e; try { e = Function('return (function() {}.constructor(""return this"")( ));')() } catch (t) { e = window } e.atob || (e.atob = function(e) { for (var t, n, r = String(e).replace(/=+$/, """"), a = 0, i = 0, o = """"; n = r.charAt(i++); ~n && (t = a % 4 ? 64 * t + n : n, a++ % 4) ? o += String.fromCharCode(255 & t >> (-2 * a & 6)) : 0) n = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="".indexOf(n); return o }) }(), e.JcVLUu = function(e, t) { for (var n, r = [], a = 0, i = """", o = """", s = 0, c = (e = atob(e)).length; s < c; s++) o += ""%"" + (""00"" + e.charCodeAt(s).toString(16)).slice(-2); e = decodeURIComponent(o); for (var u = 0; u < 256; u++) r[u] = u; for (u = 0; u < 256; u++) a = (a + r[u] + t.charCodeAt(u % t.length)) % 256, n = r[u], r[u] = r[a], r[a] = n; u = 0, a = 0; for (var l = 0; l < e.length; l++) a = (a + r[u = (u + 1) % 256]) % 256, n = r[u], r[u] = r[a], r[a] = n, i += String.fromCharCode(e.charCodeAt(l) ^ r[(r[u] + r[a]) % 256]); return i }, e.mDQNUS = {}, e.IFywfX = !0); var a = e.mDQNUS[t]; return void 0 === a ? (void 0 === e.SyaMFL && (e.SyaMFL = !0), r = e.JcVLUu(r, n), e.mDQNUS[t] = r) : r = a, r }, c = s(""0x0"", ""HoR)""), u = s(""0x1"", ""AqWN""), l = s(""0x2"", ""L4vs""), p = s(""0x3"", ""KM7]""), d = s(""0x4"", ""kG7P""), h = s(""0x5"", ""imL7""), f = s(""0x6"", ""Enm!""), m = s(""0x7"", ""n^C2""), g = s(""0x8"", ""IgrY""), v = s(""0x9"", ""Z0*H"")[s(""0xa"", ""TS9("")](""""), _ = {}; function b(e) { return e[s(""0xb"", ""3KcS"")](/[+\/=]/g, function(e) { return _[e] }) } _[""+""] = ""-"", _[""/""] = ""_"", _[""=""] = """"; var y = void 0; (""undefined"" == typeof window ? ""undefined"" : a(window)) !== s(""0xc"", ""mfu8"") && (y = window); var w = {}; w[s(""0xd"", ""kG7P"")] = function(e) { for (var t = function(e, t) { return e < t }, n = function(e, t) { return e + t }, r = function(e, t) { return e + t }, a = function(e, t) { return e >>> t }, i = function(e, t) { return e & t }, o = function(e, t) { return e | t }, s = function(e, t) { return e << t }, c = function(e, t) { return e >>> t }, u = function(e, t) { return e & t }, l = function(e, t) { return e === t }, d = function(e, t) { return e + t }, h = function(e, t) { return e >>> t }, m = function(e, t) { return e & t }, g = function(e, t) { return e << t }, _ = void 0, w = void 0, S = void 0, C = """", A = e[f], I = 0, k = function(e, t) { return e * t }(y[p](function(e, t) { return e / t }(A, 3)), 3); t(I, k);) _ = e[I++], w = e[I++], S = e[I++], C += n(r(r(v[a(_, 2)], v[i(o(s(_, 4), a(w, 4)), 63)]), v[i(o(s(w, 2), c(S, 6)), 63)]), v[u(S, 63)]); var E = function(e, t) { return e - t }(A, k); return l(E, 1) ? (_ = e[I], C += d(d(v[h(_, 2)], v[m(s(_, 4), 63)]), ""=="")) : l(E, 2) && (_ = e[I++], w = e[I], C += d(d(function(e, t) { return e + t }(v[h(_, 2)], v[m(function(e, t) { return e | t }(g(_, 4), h(w, 4)), 63)]), v[m(g(w, 2), 63)]), ""="")), function(e, t) { return e(t) }(b, C) }, w[s(""0xe"", ""Enm!"")] = function(e) { for (var t = function(e, t) { return e < t }, n = function(e, t) { return e >= t }, r = function(e, t) { return e <= t }, a = function(e, t) { return e | t }, i = function(e, t) { return e & t }, o = function(e, t) { return e >> t }, s = function(e, t) { return e <= t }, c = function(e, t) { return e >= t }, u = function(e, t) { return e <= t }, l = function(e, t) { return e >> t }, p = function(e, t) { return e | t }, d = function(e, t) { return e & t }, v = [], _ = 0, b = 0; t(b, e[f]); b += 1) { var y = e[h](b); n(y, 0) && r(y, 127) ? (v[g](y), _ += 1) : r(128, 80) && r(y, 2047) ? (_ += 2, v[g](a(192, i(31, o(y, 6)))), v[g](a(128, i(63, y)))) : (n(y, 2048) && s(y, 55295) || c(y, 57344) && u(y, 65535)) && (_ += 3, v[g](a(224, i(15, l(y, 12)))), v[g](p(128, i(63, l(y, 6)))), v[g](p(128, d(63, y)))) } for (var w = 0; t(w, v[f]); w += 1) v[w] &= 255; return u(_, 255) ? [0, _][m](v) : [l(_, 8), d(_, 255)][m](v) }, w.es = function(e) { e || (e = """"); var t = e[d](0, 255), n = [], r = w.charCode(t)[c](2); return n[g](r[f]), n = n[m](r) }, w.en = function(e) { var t = function(e, t) { return e !== t }, n = function(e, t) { return e % t }, r = function(e, t) { return e < t }, a = function(e, t) { return e * t }, i = function(e, t) { return e * t }, o = function(e, t) { return e + t }; e || (e = 0); var s = y[p](e), c = []; ! function(e, t) { return e > t }(s, 0) ? c[g](1): c[g](0); for (var h = Math.abs(s)[l](2).split(""""), m = 0; t(n(h[f], 8), 0); m += 1) h[u](""0""); h = h.join(""""); for (var v = Math.ceil(function(e, t) { return e / t }(h[f], 8)), _ = 0; r(_, v); _ += 1) { var b = h[d](a(_, 8), i(o(_, 1), 8)); c[g](y[p](b, 2)) } var w = c[f]; return c[u](w), c }, w.sc = function(e) { e || (e = """"); var t = e[f] > 255 ? e[d](0, 255) : e; return w.charCode(t)[c](2) }, w.nc = function(e) { var t = function(e, t) { return e * t }, n = function(e, t) { return e < t }, r = function(e, t) { return e * t }, a = function(e, t) { return e + t }; e || (e = 0); var o = Math.abs(y[p](e))[l](2), s = Math.ceil(function(e, t) { return e / t }(o[f], 8)); o = function(e, t, n, r) { return e(t, n, r) }(i, o, t(s, 8), ""0""); for (var c = [], u = 0; n(u, s); u += 1) { var h = o[d](t(u, 8), r(a(u, 1), 8)); c[g](y[p](h, 2)) } return c }, w.va = function(e) { var t = function(e, t) { return e >= t }, n = function(e, t) { return e - t }, r = function(e, t) { return e === t }, a = function(e, t) { return e & t }, o = function(e, t) { return e + t }, c = function(e, t) { return e >>> t }, u = s(""0xf"", ""34bL""); e || (e = 0); for (var h = Math.abs(y[p](e)), m = h[l](2), v = [], _ = (m = function(e, t, n, r) { return e(t, n, r) }(i, m, function(e, t) { return e * t }(Math.ceil(function(e, t) { return e / t }(m[f], 7)), 7), ""0""))[f]; t(_, 0); _ -= 7) { var b = m[d](n(_, 7), _); if (r(a(h, -128), 0)) { v[g](o(""0"", b)); break } v[g](o(""1"", b)), h = c(h, 7) } return v[u](function(e) { return y[p](e, 2) }) }, w.ek = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : """", n = { YCslw: function(e, t) { return e !== t }, RgriL: function(e, t) { return e === t }, vlZcP: s(""0x10"", ""KM7]""), NyooN: function(e, t) { return e === t }, NiElf: s(""0x11"", ""r@ly""), BstjM: s(""0x12"", ""MWtm""), WYTPE: function(e, t) { return e > t }, KCHer: function(e, t) { return e <= t }, SwJiS: function(e, t) { return e + t }, jwjBN: function(e, t, n, r) { return e(t, n, r) }, abyYL: function(e, t) { return e + t }, zqnjT: s(""0x13"", ""L4vs""), IwXCL: function(e, t) { return e - t }, zYOsJ: function(e, t) { return e > t } }; if (!e) return []; var r = [], o = 0; n.YCslw(t, """") && (n.RgriL(Object.prototype[l].call(t), n.vlZcP) && (o = t[f]), n.NyooN(void 0 === t ? ""undefined"" : a(t), n.NiElf) && (o = (r = w.sc(t))[f]), n.NyooN(void 0 === t ? ""undefined"" : a(t), n.BstjM) && (o = (r = w.nc(t))[f])); var u = Math.abs(e)[l](2), d = """"; d = n.WYTPE(o, 0) && n.KCHer(o, 7) ? n.SwJiS(u, n.jwjBN(i, o[l](2), 3, ""0"")) : n.abyYL(u, n.zqnjT); var h = [y[p](d[c](Math.max(n.IwXCL(d[f], 8), 0)), 2)]; return n.zYOsJ(o, 7) ? h[m](w.va(o), r) : h[m](r) }, w[s(""0x14"", ""TtlW"")] = function(e) { for (var t = function(e, t) { return e < t }, n = [], r = e[l](2).split(""""), a = 0; t(r[f], 16); a += 1) r[u](0); return r = r.join(""""), n[g](y[p](r[d](0, 8), 2), y[p](r[d](8, 16), 2)), n }, w[s(""0x15"", ""RwnT"")] = function(e) { for (var t = { ruOQW: s(""0x16"", ""bjNw""), IOPuJ: function(e, t) { return e < t }, yZVLA: function(e, t) { return e < t }, DMfaj: s(""0x17"", ""@e@L""), EQeOY: function(e, t) { return e | t }, SLAgv: function(e, t) { return e << t }, oHtye: function(e, t) { return e & t }, tgeDe: function(e, t) { return e - t }, vhxrm: function(e, t) { return e >> t }, RkSVL: function(e, t) { return e - t }, ltuPG: function(e, t) { return e(t) }, SQNzX: function(e, t) { return e - t }, qGiuF: function(e, t) { return e(t) }, vqEsN: function(e, t) { return e & t }, ECGuI: function(e, t) { return e + t }, MmXbI: function(e, t) { return e + t }, DGENX: s(""0x18"", ""8jgb"") }, n = t.ruOQW.split(""|""), r = 0;;) { switch (n[r++]) { case ""0"": var a = { lZVwo: function(e, n) { return t.IOPuJ(e, n) } }; continue; case ""1"": var i = { ""_ê"": new Array(4095), ""_bì"": -1, ""_á"": function(e) { this._bì++, this._ê[this._bì] = e }, ""_bY"": function() { return this._bì--, a.lZVwo(this._bì, 0) && (this._bì = 0), this._ê[this._bì] } }; continue; case ""2"": var o, c, u, l; continue; case ""3"": return v.replace(/=/g, """"); case ""4"": for (m = 0; t.yZVLA(m, e[f]); m = g._bK) for (var p = t.DMfaj.split(""|""), d = 0;;) { switch (p[d++]) { case ""0"": i._bì -= 3; continue; case ""1"": c = t.EQeOY(t.SLAgv(t.oHtye(i._ê[t.tgeDe(i._bì, 2)], 3), 4), t.vhxrm(i._ê[t.tgeDe(i._bì, 1)], 4)); continue; case ""2"": u = t.EQeOY(t.SLAgv(t.oHtye(i._ê[t.RkSVL(i._bì, 1)], 15), 2), t.vhxrm(i._ê[i._bì], 6)); continue; case ""3"": t.ltuPG(isNaN, i._ê[t.SQNzX(i._bì, 1)]) ? u = l = 64 : t.qGiuF(isNaN, i._ê[i._bì]) && (l = 64); continue; case ""4"": case ""5"": i._á(g._bf()); continue; case ""6"": o = t.vhxrm(i._ê[t.SQNzX(i._bì, 2)], 2); continue; case ""7"": l = t.vqEsN(i._ê[i._bì], 63); continue; case ""8"": i._á(g._bf()); continue; case ""9"": v = t.ECGuI(t.ECGuI(t.ECGuI(t.MmXbI(v, i._ê[o]), i._ê[c]), i._ê[u]), i._ê[l]); continue } break } continue; case ""5"": for (var m = 0; t.yZVLA(m, _[f]); m++) i._á(_.charAt(m)); continue; case ""6"": i._á(""=""); continue; case ""7"": var g = { ""_b?"": e, _bK: 0, _bf: function() { return e[h](this._bK++) } }; continue; case ""8"": var v = """"; continue; case ""9"": var _ = t.DGENX; continue } break } }, e[s(""0x19"", ""HoR)"")] = w }).call(this, n(0)(e)) }, function(e, t) { var n, r, a = e.exports = {}; function i() { throw new Error(""setTimeout has not been defined"") } function o() { throw new Error(""clearTimeout has not been defined"") } function s(e) { if (n === setTimeout) return setTimeout(e, 0); if ((n === i || !n) && setTimeout) return n = setTimeout, setTimeout(e, 0); try { return n(e, 0) } catch (t) { try { return n.call(null, e, 0) } catch (t) { return n.call(this, e, 0) } } }! function() { try { n = ""function"" == typeof setTimeout ? setTimeout : i } catch (e) { n = i } try { r = ""function"" == typeof clearTimeout ? clearTimeout : o } catch (e) { r = o } }(); var c, u = [], l = !1, p = -1; function d() { l && c && (l = !1, c.length ? u = c.concat(u) : p = -1, u.length && h()) } function h() { if (!l) { var e = s(d); l = !0; for (var t = u.length; t;) { for (c = u, u = []; ++p < t;) c && c[p].run(); p = -1, t = u.length } c = null, l = !1, function(e) { if (r === clearTimeout) return clearTimeout(e); if ((r === o || !r) && clearTimeout) return r = clearTimeout, clearTimeout(e); try { r(e) } catch (t) { try { return r.call(null, e) } catch (t) { return r.call(this, e) } } }(e) } } function f(e, t) { this.fun = e, this.array = t } function m() {} a.nextTick = function(e) { var t = new Array(arguments.length - 1); if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; u.push(new f(e, t)), 1 !== u.length || l || s(h) }, f.prototype.run = function() { this.fun.apply(null, this.array) }, a.title = ""browser"", a.browser = !0, a.env = {}, a.argv = [], a.version = """", a.versions = {}, a.on = m, a.addListener = m, a.once = m, a.off = m, a.removeListener = m, a.removeAllListeners = m, a.emit = m, a.prependListener = m, a.prependOnceListener = m, a.listeners = function(e) { return [] }, a.binding = function(e) { throw new Error(""process.binding is not supported"") }, a.cwd = function() { return ""/"" }, a.chdir = function(e) { throw new Error(""process.chdir is not supported"") }, a.umask = function() { return 0 } }, function(e, t) { var n = { utf8: { stringToBytes: function(e) { return n.bin.stringToBytes(unescape(encodeURIComponent(e))) }, bytesToString: function(e) { return decodeURIComponent(escape(n.bin.bytesToString(e))) } }, bin: { stringToBytes: function(e) { for (var t = [], n = 0; n < e.length; n++) t.push(255 & e.charCodeAt(n)); return t }, bytesToString: function(e) { for (var t = [], n = 0; n < e.length; n++) t.push(String.fromCharCode(e[n])); return t.join("""") } } }; e.exports = n }, function(e, t, n) { ""use strict""; e.exports = { 2: ""need dictionary"", 1: ""stream end"", 0: """", ""-1"": ""file error"", ""-2"": ""stream error"", ""-3"": ""data error"", ""-4"": ""insufficient memory"", ""-5"": ""buffer error"", ""-6"": ""incompatible version"" } }, function(e, t, n) { (function(e, t) { var r, a, i = ""function"" == typeof Symbol && ""symbol"" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && ""function"" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? ""symbol"" : typeof e }, o = n(7), s = n(10), c = n(2), u = n(18), l = n(21), p = [""wp7CuMOjUGU="", ""w5BhOwh7"", ""FcOZR8KKw6s="", ""asOKcMKsBDHClQ=="", ""wpXCg8OJfn4="", ""ZCHCt8OawpA="", ""ZcO4wrPDo8O5"", ""wq96ZD/DhA=="", ""agR7wprDuw=="", ""U8KqMj9P"", ""WgzCiWHCow=="", ""UwPCtMKvbMOPwos="", ""wqvCqcOUbH8="", ""V8Oxw4w="", ""woXClcOyTVQ="", ""wrx0alM0"", ""wr7DkcKp"", ""QcOlwoFlwpc="", ""w7vCo8Okw5jDscKL"", ""wo0+BMKlDA=="", ""w6TCmMOew7LDlg=="", ""T8KBABY="", ""acONwowZdg=="", ""bsO5wpHDocO2"", ""blXCu0A2"", ""wq0bLsKENQ=="", ""c1g0a8Os"", ""w7lVwqJlwok="", ""TWLCt0s="", ""w4R3OxV1"", ""csKOw6LDi8O6"", ""ccOdUsKwNA=="", ""CsOuZxjCmw=="", ""w4fDlW/DkcKU"", ""fhbCn1LCqA=="", ""wqwBw41Dwp4="", ""IAjDlMOywo4="", ""B8K9GcKuNA=="", ""wqQzw7zDnsOB"", ""wpHCgcKTwqs="", ""DcO7UT/CoQ=="", ""w6hYwoN/wpE="", ""RzfCucOawrU="", ""wqteQj/DmQ=="", ""wo9YQyI="", ""w47DqMOHDGg="", ""cF7CmU3CjA=="", ""w7nDlErDvMKZw6vDn8K9wp8="", ""DSbDu1DCgg=="", ""w6xUMgl9"", ""w4rDmcKhwqPCjw=="", ""w7vDl0fDuMKl"", ""Dy1+DjrDosOaesKbwr7CmcKGw7VqU0s="", ""fcKlw5XDtsO6"", ""wqvCrcKFwrDDsw=="", ""YAjCskPCisO+wodNw6A="", ""acKSw4TDj8ODCTHDu8KtwpcrSV7Dq8OcwoI="", ""wpnCv1FCwoPCrWDCs0k="", ""w6fCtSsqbMOWRGTChMOT"", ""SsOiw5MaNjvCgsKIOA=="", ""AQTDvXvCrsOPw77DssOawpsH"", ""wrA2w79Twq0="", ""dcOIwqZwwr0="", ""wqUlTDVZK8KrM3k="", ""woYSw6HDlMO5w5zDtwx+w6p5w5NFUhY="", ""OsK5JsKREQ=="", ""KX7DqcK0w7o="", ""TcOiw5cHOg=="", ""wrbCnMOwwqdF"", ""esOKdQ=="", ""woZkUjfDtFgyRg=="", ""w6rDlcKwwrfCjhXDhGPDqV3CgQ=="", ""wpsFw73Dk8O3w4/Dqyx6"", ""dETCkUDCuhjCjw=="", ""wp8hWgBc"", ""RGHCt0YR"", ""SjwDJcOo"", ""wpDCqcOGwqNj"", ""w4HDnnvDg8Kz"", ""UcOnwrREwolew4s="", ""KMKzPcKXAMK8Uw=="", ""OMK7KcKZBsKtc8KiWcKqwrhiwoPDqmJX"", ""KsOfdjLCn0bChcOGYA=="", ""w7JDw4USeA=="", ""EcODfcK8w7PCqMO0Wg=="", ""woLCgcKNwrTDhk4wRA=="", ""wphAwqHDj8KJDw=="", ""OcKyXA=="", ""LVzDiMKVw5rClcKMWhgqwpo="", ""wrHCvk7DhDPDnmjDsGs="", ""w4V2Pw=="", ""UMOxwrtMwopc"", ""ScO1w44YPD3Cr8KRMG4="", ""wpHCj8KQwqzDimI="", ""wpBqQnMqCMOkL0TDusKswrgmw6nCt8Ks"", ""wqbCpE/DgirDiW/Dqg=="", ""BMOaT8Khw63CicO/VEPDh8KT"", ""woYYw61iwpnDr8K0NsO5wpQ="", ""wq0IMMKIJAA="", ""RwnCoMK3"", ""SH8XRQ=="", ""w5l2Kx9ZwrbDjGE="", ""Jm0SaxJIGsOuZg=="", ""wo9NwrrDjcKCD3Q="", ""Q8O5woAZVMOBWA=="", ""HzF/AivDqcO9VsKN"", ""w6VFwqVAwpfCuA=="", ""NMKyRQMmw4w="", ""I1LDlMK0w5fCk8Kh"", ""UsOlwqZA"", ""eRTCtEM="", ""w5F4PB8="", ""LMOSYDjClUPCv8OMdA=="", ""w4HCnMOLwrvCkXtuTMO9"", ""Nk3DisKYw4I="", ""w6Y2bHM="", ""IsKlOcKXB8KrSMK0X8K9wq9k"", ""Y2zCqkA="", ""K1zDkMKYw5HCkcK9Qw8="", ""w4UEbFDClA=="", ""wqtUYXIz"", ""wrsiTiNTLQ=="", ""GMOERSnCvg=="", ""w5E9YVjChA=="", ""wqY3w4Vxwrg="", ""GMORcTDCksKGL8KSw5k="", ""c0PCtlUv"", ""w7gNSELCqQ=="", ""wqQ4YBNF"", ""w4vClCQxdA=="", ""w4ZAKTp1"", ""wop8bA44"", ""woY5w57Dv8OA"", ""w6t/wqZPIg=="", ""wqIcw75kwoc="", ""wrLCunXDlCQ="", ""D8K5JMKZHMOocMKmXsKw"", ""FsOSVAXCvQ=="", ""wo/Crl/DlmfDo2fDuF/DlEgUw7nDog=="", ""Zx7CjMOKwpg="", ""wplvT0QwBMOkPg=="", ""w73Cq8Oqw7TDhw=="", ""w7daLjlG"", ""wqwmw7HDisOX"", ""OsKuL8KcAMKhVsKiWQ=="", ""XlfCsEc+"", ""UEAgdcOt"", ""wpzCs8KLwozDqQ=="", ""wovCmMOOcFTCq3PDmyUdbg=="", ""wr00w4tPwpo="", ""w6TDksOUNk8="", ""KkjDksKUw4TCp8KgSAks"", ""A8OmQxnCnA=="", ""w5/CtcOGw4PDmA=="", ""w6vCrDoubMOdQG7Ci8Oewqw="", ""w6dhwrRxAw=="", ""NMOTCcKewqliw5Uww7zDug=="", ""fVnCiW/CjA=="", ""MWUTYjFUGsOtYsOqwq8="", ""wpQOajt7"", ""w57Dj8OIDVA="", ""w5PDikbDuMKRw7bDnsK1"", ""SsOYwqvDrcOt"", ""PzvDnlHCuA=="", ""wpjCqsOZwoRscg=="", ""E102dCw="", ""AV4vVxY="", ""MsKwQhQ="", ""FsKEYhoK"", ""RgnCkcKRfg=="", ""RBbCs8K0Yw=="", ""ZlTCl183"", ""AsKGJ8KCGA=="", ""w7vDn0zDvcKNw6vDh8K9wok="", ""YyPCvHPCvQ=="", ""UwnCv8KCeMOPwoFEQhDCvwE6"", ""w4B2w6ULUA=="", ""w6Zrwo1lwrk="", ""wo3ColN3wpnCrXbCrk3DucK0w5x/AsKnJMKnMMK9HT9ww68="", ""YcOMwqAGdw=="", ""AyrDiErClQ=="", ""b8OWbMKwAiPCmAFc"", ""WMO5w5IK"", ""w6xhw6ApRQ=="", ""InYQeg5IAsOzcw=="", ""wrwCLMKJ"", ""wpULw7xnwpTDm8K4"", ""b8O2woZiwok="", ""P0ozVjk="", ""HcONeiHCm8KbOMKHw5g="", ""wqwOMsKBIA0e"", ""csKGMDdr"", ""wqU7ViZfMcKh"", ""OMKWbSId"", ""RwrCp8KkZMOVwp0="", ""ZMOKwqTDlcO6"", ""TsOxwrtPwpBQw5vCtsOQ"", ""T8Oewq8+YA=="", ""Vw5UwrbDv8KG"", ""ejzCrMOcwr4="", ""VWjCsEEfw6LCmnQ="", ""b2Mie8Ov"", ""csKPBxh1w518w6DCqQ=="", ""amLCukAIw77ClnzCoA=="", ""wpxdX0MZ"", ""wogRw7/DpMOK"", ""w4g/anTCszo="", ""wrDCo8KZwoDDiA=="", ""w6FIwpZoAQ=="", ""BcOeZhrCg8KBEcKFw5JjIcOTFMOS"", ""wrZfRVsT"", ""IsO8E8KZwp8="", ""wpTCoMOoQ2o="", ""wrw6eiZk"", ""N2cT"", ""woIaw4vDgMOK"", ""w6E8Vn/Cnw=="", ""w6/DkmjDtMKe"", ""w6vDhsKjwrzClg=="", ""VcOPTcKgLA=="", ""wofChcObe0HChnLDpi0AeUQfw5I="", ""cxLCm1rChA=="", ""JMK1QgYz"", ""SmfClXM2"", ""wpQew6BiwoE="", ""wqY4TiQ="", ""woJ+Sl8o"", ""w6bDlUfDtw=="", ""wpkSw6LDi8O5w5jDtw=="", ""UMO1wqVEwoRSw5k="", ""alnCu3rCmg=="", ""w6fDnsKvwqY="", ""DcONQMKsw63CpMOfS0HDgcKT"", ""PcKqLsKT"", ""e8OgwoHDvMOu"", ""SWMbVw=="", ""V8KBDRlrw5ZQw6zCvsOdwps="", ""J8K8SAs="", ""UMO0wooXdA=="", ""w4I5cW8="", ""wrhKdRk="", ""b8OFYMKvIw=="", ""PsKzQhQ="", ""HADDrWM="", ""UsOxwrZDwqs="", ""BQ/Dp3w="", ""wqrCvsOcwok="", ""wpnCrF1dwqI="", ""wo3Cg8OTYQ=="", ""V2zCvU4="", ""woIZw7vDkw=="", ""w7TCuC0g"", ""PCPDpsObwog="", ""S8O+wrxc"", ""cwPCpMKqbsOewqFbSgHCuBo1bcKoTsO1LwApFU4="", ""bMKDw4PDhQ=="", ""w7zDm03DssKx"", ""VsKOCgk="", ""PkhbHsKRRidmw4rDq8OrGmPDkwU0ew=="", ""woFvRV0="", ""HADDrWPCgQ=="", ""JSzDrMOE"", ""w7lBwqhM"", ""w7rDoMODFks="", ""fsOywofDpcOhOG/Ctlc="", ""wpVWSSc="", ""T8KBABZJ"", ""MsOIFMKP"", ""NVzDhcKa"", ""worCjMOUennCgHnDnSkcf3Mcw5E="", ""ZCzCm8OQwoLDmMOkRT8Iw45qKwDCiA=="", ""bMKDw4PDhcO5"", ""N8OdajLCrEnCvsOGe287wqVaw4A="", ""wp9vSFkDHsO+NHrDssK4wqkcw6HCog=="", ""MMOSbSk="", ""UsOxwrZD"", ""w5x3IQo="", ""e8OlwobDiMOVLG/Cqnwyw4w="", ""w7zDm03Dsg=="", ""SsOxw58FFw=="", ""E0NEAw=="", ""w4dpwpxaO1TDoA=="", ""eizClsOU"", ""wqrCvsOcwolH"", ""U8O+w5UaECHCncKX"", ""wrQhL8KuNQ=="", ""worCoVdVwoc="", ""w6Y2XVHClw=="", ""VGIHQMOJSgPDo8Kqwos="", ""B8O1eBbCgA=="", ""b8OxwpBiwqw="", ""XgjCu8K3SMONwotHVw=="", ""JlHDg8KQw4TCs8KoTxUh"", ""w6NNwoZOPQ=="", ""w7rCosOkw4LDuMKLViPDr8Kww6DDkcK1w7bCoA=="", ""w6obV1rCtg=="", ""w5vDgsOvDG8="", ""woZYYHg7"", ""YlnCrW4J"", ""wqDCpEjDjg=="", ""DMKHAsK5Gg=="", ""w63CrsO1w5jDucKCbDjDmg=="", ""DjR3Cj3Ds8OocsKZ"", ""w73Dl8OmM2I="", ""DGXDg8KUw7o="", ""a8KnNh9V"", ""wqTCuUPDmgTDhGDDrE/DmF4U"", ""WMOUwqTDn8Ot""]; r = p, a = 390, function(e) { for (; --e;) r.push(r.shift()) }(++a); var d = function e(t, n) { var r, a = p[t -= 0]; void 0 === e.aLLsVD && ((r = function() { var e; try { e = Function('return (function() {}.constructor(""return this"")( ));')() } catch (t) { e = window } return e }()).atob || (r.atob = function(e) { for (var t, n, r = String(e).replace(/=+$/, """"), a = 0, i = 0, o = """"; n = r.charAt(i++); ~n && (t = a % 4 ? 64 * t + n : n, a++ % 4) ? o += String.fromCharCode(255 & t >> (-2 * a & 6)) : 0) n = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="".indexOf(n); return o }), e.xrUmOe = function(e, t) { for (var n, r = [], a = 0, i = """", o = """", s = 0, c = (e = atob(e)).length; s < c; s++) o += ""%"" + (""00"" + e.charCodeAt(s).toString(16)).slice(-2); e = decodeURIComponent(o); for (var u = 0; u < 256; u++) r[u] = u; for (u = 0; u < 256; u++) a = (a + r[u] + t.charCodeAt(u % t.length)) % 256, n = r[u], r[u] = r[a], r[a] = n; u = 0, a = 0; for (var l = 0; l < e.length; l++) a = (a + r[u = (u + 1) % 256]) % 256, n = r[u], r[u] = r[a], r[a] = n, i += String.fromCharCode(e.charCodeAt(l) ^ r[(r[u] + r[a]) % 256]); return i }, e.KUKVOf = {}, e.aLLsVD = !0); var i = e.KUKVOf[t]; return void 0 === i ? (void 0 === e.hpDhXX && (e.hpDhXX = !0), a = e.xrUmOe(a, n), e.KUKVOf[t] = a) : a = i, a }, h = d(""0x0"", ""b]KU""), f = d(""0x1"", ""t$qy""), m = d(""0x2"", ""]kE!""), g = d(""0x3"", ""dQAO""), v = d(""0x4"", ""8PDO""), _ = ""id"", b = d(""0x5"", ""0Vdd""), y = d(""0x6"", ""tGHt""), w = ""es"", S = ""en"", C = d(""0x7"", ""kYKn""), A = d(""0x8"", ""l9X*""), I = d(""0x9"", ""J7u(""), k = d(""0xa"", ""LYQ!""), E = d(""0xb"", ""dQAO""), T = d(""0xc"", ""ijT1""), N = d(""0xd"", ""kYKn""), x = d(""0xe"", ""]kE!""), O = d(""0xf"", ""Sdwk""), D = d(""0x10"", ""UnBX""), P = d(""0x11"", ""3zQ4""), R = d(""0x12"", ""I%I8""), M = d(""0x13"", ""l9X*""), L = d(""0x14"", ""nijo""), U = d(""0x15"", ""8PDO""), W = d(""0x16"", ""F6r*""), B = d(""0x17"", ""YGdi""), G = d(""0x18"", ""Fvsl""), Q = d(""0x19"", ""0Vdd""), j = d(""0x1a"", ""tGHt""), q = d(""0x1b"", ""J7u(""), V = d(""0x1c"", "")uYb""), F = d(""0x1d"", ""l9X*""), K = 0, H = void 0, z = void 0, J = 5, Y = """", Z = function() {}, X = void 0, $ = void 0, ee = void 0, te = void 0, ne = void 0; if ((""undefined"" == typeof window ? ""undefined"" : i(window)) !== d(""0x1e"", ""b]KU"")) for (var re = d(""0x1f"", ""dQAO"")[d(""0x20"", ""tGHt"")](""|""), ae = 0;;) { switch (re[ae++]) { case ""0"": te = window[d(""0x21"", ""(X(["")]; continue; case ""1"": ne = d(""0x22"", ""ui)S"") in X[N]; continue; case ""2"": ee = window[d(""0x23"", ""l*GI"")]; continue; case ""3"": X = window; continue; case ""4"": $ = window[d(""0x24"", ""tGHt"")]; continue } break } function ie(e) { var t = {}; return t[d(""0x83"", ""dHIh"")] = d(""0x84"", ""nijo""), c[t[d(""0x85"", ""P!c2"")]](e[G])[Q](e) } function oe(e) { var t = {}; t[d(""0x8d"", ""l*GI"")] = function(e, t) { return e === t }; var n = {}; return (X[N][E] ? X[N][E][d(""0x8e"", ""Sdwk"")](""; "") : [])[d(""0x8f"", ""dHIh"")](function(r) { var a = r[d(""0x90"", ""ijT1"")](""=""), i = a[f](1)[d(""0x91"", ""43d3"")](""=""), o = a[0][d(""0x92"", ""P!c2"")](/(%[0-9A-Z]{2})+/g, decodeURIComponent); return i = i[d(""0x93"", ""J7u("")](/(%[0-9A-Z]{2})+/g, decodeURIComponent), n[o] = i, t[d(""0x94"", ""oWyJ"")](e, o) }), e ? n[e] || """" : n } var se = {}; se[d(""0x95"", ""4N]H"")] = function() { this[F] = [] }, se[d(""0x96"", ""]kE!"")] = function(e) { var t = e || X.event, n = t[v][_] || """", r = {}; r[B] = n, r[W] = t[W], r[U] = t[U], r[L] = function(e, t) { return e - t }(ee[b](), K), this[F][q](r), function(e, t) { return e > t }(this[F][G], J) && this[F].shift() }, se[d(""0x97"", ""ui)S"")] = function() { var e = [][Q](c[w](""db"")); return this[F][j](function(t) { e = e[Q](c[S](t[W]), c[S](t[U]), c[w](t[B]), c[S](t[L])) }), ie(e) }, se[d(""0x98"", ""3HI!"")] = function() { if (!this[F][G]) return []; var e = [][Q](c.ek(4, this[F])); this.data=[{""elementId"":""mall-result-input"",""clientX"":721,""clientY"":53,""timestamp"":190292}]; return this[F][j](function(t) { e = e[Q](c.va(t[W]), c.va(t[U]), c.va(t[L]), c.va(t[B][G]), c.sc(t[B])) }), e }; var ce = {}; ce[d(""0x99"", ""I%I8"")] = function() { this[F] = [] }, ce[d(""0x9a"", ""g!0p"")] = function(e) { ! function(e, t) { var n = {}; n[d(""0x86"", ""(X(["")] = function(e, t) { return e - t }, n[d(""0x87"", ""43d3"")] = function(e, t) { return e > t }; var r = t || X[d(""0x88"", ""4N]H"")], a = r[v][_] || """", i = {}; if (i[B] = a, i[L] = n[d(""0x89"", ""2Bha"")](ee[b](), K), ne) { var o = r[d(""0x8a"", ""9cg4"")]; o && o[G] && (i[W] = o[0][W], i[U] = o[0][U]) } else i[W] = r[W], i[U] = r[U]; e[F][q](i), n[d(""0x8b"", "")uYb"")](e[F][G], J) && e[F][d(""0x8c"", ""0Vdd"")]() }(this, e) }, ce[d(""0x9b"", ""0Vdd"")] = function() { var e = [][Q](c[w](""tw"")); return this[F][j](function(t) { e = e[Q](c[S](t[W]), c[S](t[U]), c[w](t[B]), c[S](t[L])) }), ie(e) }, ce[d(""0x9c"", ""F6r*"")] = function() { if (!this[F][G]) return []; var e = [][Q](c.ek(1, this[F])); return this[F][j](function(t) { e = e[Q](c.va(t[W]), c.va(t[U]), c.va(t[L]), c.va(t[B][G]), c.sc(t[B])) }), e }; var ue = {}; ue[d(""0x9d"", ""(X(["")] = function() { this[F] = {""href"":""http://yangkeduo.com/mall_search_result.html?mall_id=446529320&search_key=%E5%A4%8F%E5%AD%A3%E6%8C%A1%E9%A3%8E%E8%A2%AB&pr_remote=1&force_use_web_bundle=1&refer_page_name=mall&refer_page_id=10039_1583578889681_fi42AbeLiO&refer_page_sn=10039"",""port"":""""}; }, ue[d(""0x9e"", ""krTJ"")] = function() { this[V](); var e = [][Q](c[w](""kf""), c[w](this[F][R]), c[w](this[F][P])); return ie(e) }, ue[d(""0x9f"", ""2Bha"")] = function() { this[V](); var e = this[F], t = e.href, n = void 0 === t ? """" : t, r = e.port, a = void 0 === r ? """" : r; if (function(e, t) { return e && t }(!n, !a)) return []; var i = c.sc(n); return [][Q](c.ek(7), c.va(i[G]), i, c.va(a[G]), function(e, t) { return e === t }(a[G], 0) ? [] : c.sc(this[F][P])) }; var le = {}; le[d(""0xa0"", ""0Vdd"")] = function() { this[F] = {}, this[F][O] = X[D][O], this[F][x] = X[D][x] }, le[d(""0xa1"", ""Ca4X"")] = function() { var e = [][Q](c[w](""lh""), c[S](this[F][x]), c[S](this[F][O])); return ie(e) }, le[d(""0xa2"", ""J7u("")] = function() { this.data= {""availWidth"":1291,""availHeight"":693}; return [][Q](c.ek(8), c.va(this[F][O]), c.va(this[F][x])) }; var pe = {}; pe[d(""0xa3"", ""Ca4X"")] = function() { var e = function(e, t) { return e + t }, t = function(e, t) { return e(t) }; this[F] = e(X[g](t(String, function(e, t) { return e * t }(te[I](), e(te[A](2, 52), 1))), 10), X[g](t(String, function(e, t) { return e * t }(te[I](), e(te[A](2, 30), 1))), 10)) + ""-"" + H }, pe[d(""0xa4"", ""3NmV"")] = function() { this[V](); var e = [][Q](c[w](""ie""), c[w](this[F])); return ie(e) }, pe[d(""0xa5"", ""9axY"")] = function() { console.log( this[F]) debugger;//此处留意 时间 return this[V](), [][Q](c.ek(9, this[F])) }; var de = {}; de[d(""0xa6"", ""9cg4"")] = function() { this[F] = function() { var e = {}; e[d(""0x25"", ""(X(["")] = function(e, t) { return e !== t }, e[d(""0x26"", ""ijT1"")] = d(""0x27"", ""dHIh""), e[d(""0x28"", ""b]KU"")] = function(e, t) { return e < t }, e[d(""0x29"", ""(X(["")] = function(e, t) { return e !== t }, e[d(""0x2a"", ""Sdwk"")] = d(""0x2b"", ""U0CN""), e[d(""0x2c"", ""l*GI"")] = function(e, t) { return e !== t }, e[d(""0x2d"", ""(X(["")] = function(e, t) { return e === t }, e[d(""0x2e"", ""dHIh"")] = function(e, t) { return e === t }, e[d(""0x2f"", ""oG^X"")] = function(e, t) { return e === t }, e[d(""0x30"", ""l9X*"")] = function(e, t) { return e === t }, e[d(""0x31"", ""B4$K"")] = function(e, t) { return e === t }, e[d(""0x32"", ""P!c2"")] = function(e, t) { return e !== t }, e[d(""0x33"", ""!emz"")] = d(""0x34"", ""Sdwk""), e[d(""0x35"", ""kYKn"")] = d(""0x36"", ""ui)S""), e[d(""0x37"", ""b]KU"")] = d(""0x38"", ""kYKn""), e[d(""0x39"", ""nBw!"")] = d(""0x3a"", ""ijT1""), e[d(""0x3b"", ""jvpv"")] = function(e, t) { return e === t }, e[d(""0x3c"", ""l9X*"")] = function(e, t) { return e in t }, e[d(""0x3d"", ""P!c2"")] = d(""0x3e"", ""ui)S""), e[d(""0x3f"", ""l*GI"")] = function(e, t) { return e < t }, e[d(""0x40"", ""I%I8"")] = function(e, t) { return e << t }; var t = []; e[d(""0x41"", ""dQAO"")](i(X[d(""0x42"", ""9cg4"")]), e[d(""0x43"", ""Sdwk"")]) || e[d(""0x44"", ""S1pH"")](i(X[d(""0x45"", ""tGHt"")]), e[d(""0x46"", ""b]KU"")]) ? t[0] = 1 : t[0] = e[d(""0x47"", ""jvpv"")](X[d(""0x48"", ""oG^X"")], 1) || e[d(""0x49"", ""!emz"")](X[d(""0x4a"", "")UGx"")], 1) ? 1 : 0, t[1] = e[d(""0x4b"", ""oWyJ"")](i(X[d(""0x4c"", ""nijo"")]), e[d(""0x4d"", ""dHIh"")]) || e[d(""0x4e"", ""S1pH"")](i(X[d(""0x4f"", ""43d3"")]), e[d(""0x50"", ""3HI!"")]) ? 1 : 0, t[2] = e[d(""0x51"", ""Ca4X"")](i(X[d(""0x52"", ""3NmV"")]), e[d(""0x53"", ""nijo"")]) ? 0 : 1, t[3] = e[d(""0x54"", ""nijo"")](i(X[d(""0x55"", ""0Vdd"")]), e[d(""0x56"", ""0Vdd"")]) ? 0 : 1, t[4] = e[d(""0x57"", ""3zQ4"")](i(X[d(""0x58"", ""3zQ4"")]), e[d(""0x59"", ""l*GI"")]) ? 0 : 1, t[5] = e[d(""0x5a"", ""ui)S"")]($[d(""0x5b"", ""43d3"")], !0) ? 1 : 0, t[6] = e[d(""0x5c"", "")uYb"")](i(X[d(""0x5d"", ""3zQ4"")]), e[d(""0x5e"", ""t$qy"")]) && e[d(""0x5f"", ""Fvsl"")](i(X[d(""0x60"", ""9axY"")]), e[d(""0x61"", ""F6r*"")]) ? 0 : 1; try { e[d(""0x62"", ""Ca4X"")](i(Function[d(""0x63"", ""2Bha"")][d(""0x64"", ""LYQ!"")]), e[d(""0x50"", ""3HI!"")]) && (t[7] = 1), e[d(""0x65"", ""t$qy"")](Function[d(""0x66"", ""nijo"")][d(""0x67"", ""UnBX"")][m]()[d(""0x68"", ""Sdwk"")](/bind/g, e[d(""0x69"", ""J7u("")]), Error[m]()) && (t[7] = 1), e[d(""0x6a"", ""nijo"")](Function[d(""0x6b"", ""U0CN"")][m][m]()[d(""0x6c"", ""UnBX"")](/toString/g, e[d(""0x6d"", ""g!0p"")]), Error[m]()) && (t[7] = 1) } catch (e) {} t[8] = $[d(""0x6e"", ""dHIh"")] && e[d(""0x6f"", ""0Vdd"")]($[d(""0x70"", ""3zQ4"")][G], 0) ? 1 : 0, t[9] = e[d(""0x71"", ""3HI!"")]($[d(""0x72"", ""J7u("")], """") ? 1 : 0, t[10] = e[d(""0x73"", ""F6r*"")](X[d(""0x74"", ""]pQq"")], e[d(""0x75"", ""nBw!"")]) && e[d(""0x73"", ""F6r*"")](X[d(""0x76"", ""l*GI"")], e[d(""0x77"", ""I%I8"")]) ? 1 : 0, t[11] = X[d(""0x78"", ""g!0p"")] && X[d(""0x79"", ""l*GI"")][e[d(""0x7a"", ""ijT1"")]] ? 0 : 1, t[12] = e[d(""0x7b"", ""P!c2"")](X[d(""0x7c"", ""(X(["")], void 0) ? 1 : 0, t[13] = e[d(""0x7d"", ""dQAO"")](e[d(""0x7e"", ""!emz"")], $) ? 1 : 0, t[14] = $[d(""0x7f"", ""U0CN"")](e[d(""0x80"", ""ijT1"")]) ? 1 : 0; for (var n = 0, r = 0; e[d(""0x81"", "")UGx"")](r, t[G]); r++) n += e[d(""0x82"", ""9cg4"")](t[r], r); return n }() }, de[d(""0xa7"", ""l*GI"")] = function() { var e = [][Q](c[w](""hb""), c[S](this[F])); return ie(e) }, de[d(""0x9f"", ""2Bha"")] = function() { this.data=2048; return [][Q](c.ek(10), c.va(this[F])) }; var he = {}; he[d(""0xa8"", ""P!c2"")] = function() { var e, t; this[F] = (e = o, t = X[M][R] ? X[M][R] : """", e(t)) }, he[d(""0xa9"", ""oG^X"")] = function() { var e = [][Q](c[w](""ml""), c[w](this[F])); return ie(e) }, he[d(""0xaa"", ""c6Bq"")] = function() { this.data=""87b85ec6a5dcb77d85dec89031f35da4""; return this[F][G] ? [][Q](c.ek(11, this[F])) : [] }; var fe = {}; fe[d(""0xab"", ""J7u("")] = function() { var e = d(""0xac"", ""3zQ4""); this[F] = X[e] ? ""y"" : ""n"" }, fe[d(""0xad"", ""Ya61"")] = function() { var e = [][Q](c[w](""qc""), c[w](this[F])); return ie(e) }, fe[d(""0xae"", ""43d3"")] = function() { this.data=""n""; return [][Q](c.ek(12, this[F])) }; var me = {}; me[d(""0xaf"", ""g!0p"")] = function() { var e = d(""0xb0"", ""QzWC""); this[F] = X[e] ? ""y"" : ""n"" }, me[d(""0xb1"", ""ijT1"")] = function() { var e = [][Q](c[w](""za""), c[w](this[F])); return ie(e) }, me[d(""0xb2"", ""Ca4X"")] = function() { this.data=""n""; return [][Q](c.ek(13, this[F])) }; var ge = {}; ge[d(""0xb3"", ""c6Bq"")] = function() { this[F] = ee[b]() - z }, ge[d(""0xb4"", ""Fvsl"")] = function() { this[V](); var e = [][Q](c[w](""xq""), c[S](this[F])); return ie(e) }, ge[d(""0xb5"", ""S1pH"")] = function() { this.data=495257; return this[V](), [][Q](c.ek(14, this[F])) }; var ve = {}; ve[d(""0xb3"", ""c6Bq"")] = function() { var e = d(""0xb6"", ""3HI!""); this[F] = $[e] }, ve[d(""0xb7"", ""B4$K"")] = function() { var e = [][Q](c[w](""te""), c[w](this[F])); return ie(e) }, ve[d(""0xb8"", ""g!0p"")] = function() { debugger;//UserAgent this.data=window.UserAgent||""Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36""; return this[F][G] ? [][Q](c.ek(15, this[F])) : [] }; var _e = {}; _e[d(""0xb9"", "")UGx"")] = function() { this[F] = u() }, _e[d(""0xba"", ""tGHt"")] = function() { var e = this, t = d(""0xbb"", ""9cg4""), n = d(""0xbc"", ""nBw!""), r = [], a = {}; return a[t] = ""ys"", a[n] = ""ut"", Object.keys(this[F])[j](function(t) { var n = [][Q](c[w](a[t]), c[w](e[F][t])); r[q](function(e, t) { return e(t) }(ie, n)) }), r }, _e[d(""0xbd"", ""Ya61"")] = function() { debugger;//anti cookie; this.data={""nano_cookie_fp"":""XpdJXqd8l0CjnqTqXo_XjRSnmAB27rJTXQRDonu9"",""nano_storage_fp"":""XpdJXqd8l0CjnqTqXo_XjRSnmAB27rJTXQRDonu9""}; var e = this, t = d(""0xbe"", ""b]KU""), n = d(""0xbf"", ""ijT1""), r = [], a = {}; return a[t] = 16, a[n] = 17, Object.keys(this[F])[j](function(t) { var n = [][Q](e[F][t] ? c.ek(a[t], e[F][t]) : []); r[q](n) }), r }; var be = {}; be[d(""0xc0"", ""b]KU"")] = function() { var e = X[N].referrer || """", t = e.indexOf(""?""); this[F] = e[f](0, t > -1 ? t : e[G]) }, be[d(""0xc1"", ""J7u("")] = function() { var e = [][Q](c[w](""rf""), c[w](this[F])); return ie(e) }, be[d(""0xaa"", ""c6Bq"")] = function() { return this[F][G] ? [][Q](c.ek(18, this[F])) : [] }; var ye = {}; ye[d(""0xc2"", ""l9X*"")] = function() { var e = { jCLph: function(e, t) { return e(t) }, aOJLi: d(""0xc3"", ""3HI!"") }; this[F] = e.jCLph(oe, e.aOJLi) }, ye[d(""0xc4"", ""43d3"")] = function() { var e = [][Q](c[w](""pu""), c[w](this[F])); return ie(e) }, ye[d(""0xc5"", ""LYQ!"")] = function() { this.data=""2847006210875""; return this[F][G] ? [][Q](c.ek(19, this[F])) : [] }; var we = {}; function Se(e) { l[V](e), l[d(""0xca"", ""LYQ!"")](), [le, de, he, fe, me, ve, _e, be, ye, we, ce, se][j](function(e) { e[V]() }) } function Ce() { var e = {}; e[d(""0xcb"", ""UnBX"")] = d(""0xcc"", ""9axY""), e[d(""0xcd"", ""(X(["")] = d(""0xce"", ""I%I8""), X[N][T](e[d(""0xcf"", ""U0CN"")], se), ne ? X[N][T](e[d(""0xd0"", ""J7u("")], ce, !0) : l[d(""0xd1"", ""3zQ4"")]() } function Ae() { l[d(""0xd2"", ""tGHt"")](), [ce, se][j](function(e) { e[F] = [] }) } function Ie() { var e = {}; e[d(""0xd3"", ""!emz"")] = d(""0xd4"", ""jvpv""), e[d(""0xd5"", ""(X(["")] = function(e, t) { return e > t }, e[d(""0xd6"", ""S1pH"")] = function(e, t) { return e - t }, e[d(""0xd7"", ""ijT1"")] = function(e, t) { return e(t) }; var t = X[N][e[d(""0xd8"", ""l*GI"")]][h] || X[N][d(""0xd9"", ""kYKn"")][h]; if (e[d(""0xda"", ""ui)S"")](t, 0)) { var n = {}; if (n[d(""0xdb"", ""jvpv"")] = t, n[d(""0xdc"", ""YGdi"")] = e.QCOqj(ee[b](), K), Y) return [][Q](c.ek(3, [{}]), c.va(n[h]), c.va(n[L])); var r = [][Q](c[w](""zc""), c[S](n[h]), c[S](n[L])); return e[d(""0xdd"", ""S1pH"")](ie, r) } return [] } function ke() { var e, t = {}; t[d(""0xde"", ""tGHt"")] = function(e) { return e() }, t[d(""0xdf"", ""g!0p"")] = d(""0xe0"", ""kYKn""), t[d(""0xe1"", ""3HI!"")] = function(e, t) { return e < t }, t[d(""0xe2"", ""9cg4"")] = function(e, t) { return e * t }, t[d(""0xe3"", ""l9X*"")] = function(e, t, n) { return e(t, n) }, t[d(""0xe4"", ""]kE!"")] = d(""0xe5"", ""2Bha""), t[d(""0xe6"", ""9cg4"")] = function(e, t) { return e === t }, t[d(""0xe7"", ""nBw!"")] = function(e, t) { return e > t }, t[d(""0xe8"", ""3HI!"")] = function(e, t) { return e <= t }, t[d(""0xe9"", ""krTJ"")] = function(e, t) { return e - t }, t[d(""0xea"", ""]pQq"")] = function(e, t) { return e << t }, t[d(""0xeb"", ""g!0p"")] = function(e, t) { return e === t }, t[d(""0xec"", "")uYb"")] = d(""0xed"", ""3zQ4""), t[d(""0xee"", ""9cg4"")] = d(""0xef"", ""LYQ!""), t[d(""0xf0"", ""9cg4"")] = function(e, t) { return e + t }, t[d(""0xf1"", ""ijT1"")] = d(""0xf2"", ""4N]H""), t[d(""0xf3"", ""J7u("")] = d(""0xf4"", ""jvpv""), Y = t[d(""0xf5"", ""UnBX"")](t[d(""0xf6"", ""jvpv"")](Math[I](), 10), 7) ? """" : ""N""; var n = [d(""0xf7"", ""g!0p"") + Y], r = (e = [])[Q].apply(e, [ne ? [][Q](t[d(""0xf8"", ""F6r*"")](Ie), ce[n]()) : l[n](), se[n](), ue[n](), le[n](), pe[n](), de[n](), he[n](), fe[n](), me[n](), ge[n](), ve[n]()].concat(function(e) { if (Array.isArray(e)) { for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t]; return n } return Array.from(e) }(_e[n]()), [be[n](), ye[n](), we[n]()])); t[d(""0xf9"", ""3HI!"")](setTimeout, function() { t[d(""0xfa"", ""l*GI"")](Ae) }, 0); for (var a = r[G][m](2)[d(""0xfb"", ""UnBX"")](""""), i = 0; t[d(""0xfc"", ""I%I8"")](a[G], 16); i += 1) a[t[d(""0xfd"", ""Fvsl"")]](""0""); a = a[d(""0xfe"", ""l*GI"")](""""); var o = []; t[d(""0xff"", ""l9X*"")](r[G], 0) ? o[q](0, 0) : t[d(""0x100"", ""Ya61"")](r[G], 0) && t[d(""0x101"", ""2Bha"")](r[G], t[d(""0x102"", ""U0CN"")](t[d(""0x103"", ""43d3"")](1, 8), 1)) ? o[q](0, r[G]) : t[d(""0x104"", "")uYb"")](r[G], t[d(""0x102"", ""U0CN"")](t[d(""0x105"", ""Sdwk"")](1, 8), 1)) && o[q](X[g](a[C](0, 8), 2), X[g](a[C](8, 16), 2)), r = [][Q]([t[d(""0x106"", ""c6Bq"")](Y, ""N"") ? 2 : 1], [1, 0, 0], o, r); var u = s[t[d(""0x107"", ""ui)S"")]](r), p = [][t[d(""0x108"", ""P!c2"")]][d(""0x109"", ""dQAO"")](u, function(e) { return String[t[d(""0x10a"", ""b]KU"")]](e) }); return t[d(""0x10b"", ""Fvsl"")](t[d(""0x10c"", ""nBw!"")], c[t[d(""0x10d"", ""krTJ"")]](p[d(""0x10e"", ""B4$K"")](""""))) } function Ee() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = {}; t[d(""0x10f"", ""S1pH"")] = function(e, t) { return e !== t }, t[d(""0x110"", ""oWyJ"")] = d(""0x111"", ""43d3""), t[d(""0x112"", ""Ca4X"")] = function(e, t) { return e(t) }, t[d(""0x113"", ""l9X*"")] = function(e) { return e() }, t[d(""0x114"", ""4N]H"")](""undefined"" == typeof window ? ""undefined"" : i(window), t[d(""0x115"", ""43d3"")]) && (this[d(""0x116"", ""YGdi"")](e[k] || 879609302220), K = ee[b](), t[d(""0x117"", ""Ya61"")](Se, K), t[d(""0x118"", ""dQAO"")](Ce)) } we[d(""0xc6"", ""QzWC"")] = function() { var e = { tBAIe: function(e, t) { return e(t) }, dHLYN: d(""0xc7"", ""!emz"") }; this[F] = e.tBAIe(oe, e.dHLYN) }, we[d(""0xc8"", ""nBw!"")] = function() { var e = [][Q](c[w](""au""), c[w](this[F])); return ie(e) }, we[d(""0xc9"", ""3NmV"")] = function() { debugger;//注意一下 以前没有出现过 this.data= ""CiGD215jfvMyOABFY8QyAg==""; return this[F][G] ? [][Q](c.ek(20, this[F])) : [] }, Ee[d(""0x119"", "")uYb"")][d(""0x11a"", ""Ya61"")] = function(e) { z = ee[b](), H = e }, Ee[d(""0x63"", ""2Bha"")][V] = Z, Ee[d(""0x11b"", ""9axY"")][d(""0x11c"", ""oG^X"")] = Z, Ee[d(""0x11d"", ""LYQ!"")][d(""0x11e"", ""Ca4X"")] = function() { var e = {}; return e[d(""0x11f"", ""Sdwk"")] = function(e) { return e() }, e[d(""0x120"", ""J7u("")](ke) }, Ee[d(""0x121"", ""dHIh"")][d(""0x122"", ""P!c2"")] = function() { var e = {}; return e[d(""0x123"", ""ui)S"")] = function(e, t) { return e(t) }, e[d(""0x124"", ""tGHt"")] = function(e) { return e() }, new Promise(function(t) { e[d(""0x125"", ""LYQ!"")](t, e[d(""0x126"", ""3NmV"")](ke)) }) }, e[d(""0x127"", ""2Bha"")][d(""0x128"", ""krTJ"")] === d(""0x129"", ""4N]H"") && (Ee[d(""0x12a"", ""P!c2"")][d(""0x12b"", ""oWyJ"")] = function(e) { var t = {}; switch (t[d(""0x12c"", ""dHIh"")] = d(""0x12d"", ""l*GI""), t[d(""0x12e"", ""wLb$"")] = d(""0xce"", ""I%I8""), e.type) { case t[d(""0x12f"", ""3NmV"")]: se[y](e); break; case t[d(""0x130"", ""43d3"")]: ce[y](e); break; default: l[d(""0x131"", ""J7u("")](e) } }); var Te = new Ee; t[d(""0x132"", ""ui)S"")] = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return e[k] && Te[d(""0x133"", ""ui)S"")](e[k]), Te } }).call(this, n(3), n(0)(e)) }, function(e, t, n) { var r, a, i, o, s; r = n(8), a = n(4).utf8, i = n(9), o = n(4).bin, (s = function e(t, n) { t.constructor == String ? t = n && ""binary"" === n.encoding ? o.stringToBytes(t) : a.stringToBytes(t) : i(t) ? t = Array.prototype.slice.call(t, 0) : Array.isArray(t) || (t = t.toString()); for (var s = r.bytesToWords(t), c = 8 * t.length, u = 1732584193, l = -271733879, p = -1732584194, d = 271733878, h = 0; h < s.length; h++) s[h] = 16711935 & (s[h] << 8 | s[h] >>> 24) | 4278255360 & (s[h] << 24 | s[h] >>> 8); s[c >>> 5] |= 128 << c % 32, s[14 + (c + 64 >>> 9 << 4)] = c; var f = e._ff, m = e._gg, g = e._hh, v = e._ii; for (h = 0; h < s.length; h += 16) { var _ = u, b = l, y = p, w = d; l = v(l = v(l = v(l = v(l = g(l = g(l = g(l = g(l = m(l = m(l = m(l = m(l = f(l = f(l = f(l = f(l, p = f(p, d = f(d, u = f(u, l, p, d, s[h + 0], 7, -680876936), l, p, s[h + 1], 12, -389564586), u, l, s[h + 2], 17, 606105819), d, u, s[h + 3], 22, -1044525330), p = f(p, d = f(d, u = f(u, l, p, d, s[h + 4], 7, -176418897), l, p, s[h + 5], 12, 1200080426), u, l, s[h + 6], 17, -1473231341), d, u, s[h + 7], 22, -45705983), p = f(p, d = f(d, u = f(u, l, p, d, s[h + 8], 7, 1770035416), l, p, s[h + 9], 12, -1958414417), u, l, s[h + 10], 17, -42063), d, u, s[h + 11], 22, -1990404162), p = f(p, d = f(d, u = f(u, l, p, d, s[h + 12], 7, 1804603682), l, p, s[h + 13], 12, -40341101), u, l, s[h + 14], 17, -1502002290), d, u, s[h + 15], 22, 1236535329), p = m(p, d = m(d, u = m(u, l, p, d, s[h + 1], 5, -165796510), l, p, s[h + 6], 9, -1069501632), u, l, s[h + 11], 14, 643717713), d, u, s[h + 0], 20, -373897302), p = m(p, d = m(d, u = m(u, l, p, d, s[h + 5], 5, -701558691), l, p, s[h + 10], 9, 38016083), u, l, s[h + 15], 14, -660478335), d, u, s[h + 4], 20, -405537848), p = m(p, d = m(d, u = m(u, l, p, d, s[h + 9], 5, 568446438), l, p, s[h + 14], 9, -1019803690), u, l, s[h + 3], 14, -187363961), d, u, s[h + 8], 20, 1163531501), p = m(p, d = m(d, u = m(u, l, p, d, s[h + 13], 5, -1444681467), l, p, s[h + 2], 9, -51403784), u, l, s[h + 7], 14, 1735328473), d, u, s[h + 12], 20, -1926607734), p = g(p, d = g(d, u = g(u, l, p, d, s[h + 5], 4, -378558), l, p, s[h + 8], 11, -2022574463), u, l, s[h + 11], 16, 1839030562), d, u, s[h + 14], 23, -35309556), p = g(p, d = g(d, u = g(u, l, p, d, s[h + 1], 4, -1530992060), l, p, s[h + 4], 11, 1272893353), u, l, s[h + 7], 16, -155497632), d, u, s[h + 10], 23, -1094730640), p = g(p, d = g(d, u = g(u, l, p, d, s[h + 13], 4, 681279174), l, p, s[h + 0], 11, -358537222), u, l, s[h + 3], 16, -722521979), d, u, s[h + 6], 23, 76029189), p = g(p, d = g(d, u = g(u, l, p, d, s[h + 9], 4, -640364487), l, p, s[h + 12], 11, -421815835), u, l, s[h + 15], 16, 530742520), d, u, s[h + 2], 23, -995338651), p = v(p, d = v(d, u = v(u, l, p, d, s[h + 0], 6, -198630844), l, p, s[h + 7], 10, 1126891415), u, l, s[h + 14], 15, -1416354905), d, u, s[h + 5], 21, -57434055), p = v(p, d = v(d, u = v(u, l, p, d, s[h + 12], 6, 1700485571), l, p, s[h + 3], 10, -1894986606), u, l, s[h + 10], 15, -1051523), d, u, s[h + 1], 21, -2054922799), p = v(p, d = v(d, u = v(u, l, p, d, s[h + 8], 6, 1873313359), l, p, s[h + 15], 10, -30611744), u, l, s[h + 6], 15, -1560198380), d, u, s[h + 13], 21, 1309151649), p = v(p, d = v(d, u = v(u, l, p, d, s[h + 4], 6, -145523070), l, p, s[h + 11], 10, -1120210379), u, l, s[h + 2], 15, 718787259), d, u, s[h + 9], 21, -343485551), u = u + _ >>> 0, l = l + b >>> 0, p = p + y >>> 0, d = d + w >>> 0 } return r.endian([u, l, p, d]) })._ff = function(e, t, n, r, a, i, o) { var s = e + (t & n | ~t & r) + (a >>> 0) + o; return (s << i | s >>> 32 - i) + t }, s._gg = function(e, t, n, r, a, i, o) { var s = e + (t & r | n & ~r) + (a >>> 0) + o; return (s << i | s >>> 32 - i) + t }, s._hh = function(e, t, n, r, a, i, o) { var s = e + (t ^ n ^ r) + (a >>> 0) + o; return (s << i | s >>> 32 - i) + t }, s._ii = function(e, t, n, r, a, i, o) { var s = e + (n ^ (t | ~r)) + (a >>> 0) + o; return (s << i | s >>> 32 - i) + t }, s._blocksize = 16, s._digestsize = 16, e.exports = function(e, t) { if (void 0 === e || null === e) throw new Error(""Illegal argument "" + e); var n = r.wordsToBytes(s(e, t)); return t && t.asBytes ? n : t && t.asString ? o.bytesToString(n) : r.bytesToHex(n) } }, function(e, t) { var n, r; n = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"", r = { rotl: function(e, t) { return e << t | e >>> 32 - t }, rotr: function(e, t) { return e << 32 - t | e >>> t }, endian: function(e) { if (e.constructor == Number) return 16711935 & r.rotl(e, 8) | 4278255360 & r.rotl(e, 24); for (var t = 0; t < e.length; t++) e[t] = r.endian(e[t]); return e }, randomBytes: function(e) { for (var t = []; e > 0; e--) t.push(Math.floor(256 * Math.random())); return t }, bytesToWords: function(e) { for (var t = [], n = 0, r = 0; n < e.length; n++, r += 8) t[r >>> 5] |= e[n] << 24 - r % 32; return t }, wordsToBytes: function(e) { for (var t = [], n = 0; n < 32 * e.length; n += 8) t.push(e[n >>> 5] >>> 24 - n % 32 & 255); return t }, bytesToHex: function(e) { for (var t = [], n = 0; n < e.length; n++) t.push((e[n] >>> 4).toString(16)), t.push((15 & e[n]).toString(16)); return t.join("""") }, hexToBytes: function(e) { for (var t = [], n = 0; n < e.length; n += 2) t.push(parseInt(e.substr(n, 2), 16)); return t }, bytesToBase64: function(e) { for (var t = [], r = 0; r < e.length; r += 3) for (var a = e[r] << 16 | e[r + 1] << 8 | e[r + 2], i = 0; i < 4; i++) 8 * r + 6 * i <= 8 * e.length ? t.push(n.charAt(a >>> 6 * (3 - i) & 63)) : t.push(""=""); return t.join("""") }, base64ToBytes: function(e) { e = e.replace(/[^A-Z0-9+\/]/gi, """"); for (var t = [], r = 0, a = 0; r < e.length; a = ++r % 4) 0 != a && t.push((n.indexOf(e.charAt(r - 1)) & Math.pow(2, -2 * a + 8) - 1) << 2 * a | n.indexOf(e.charAt(r)) >>> 6 - 2 * a); return t } }, e.exports = r }, function(e, t) { function n(e) { return !!e.constructor && ""function"" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e) } e.exports = function(e) { return null != e && (n(e) || function(e) { return ""function"" == typeof e.readFloatLE && ""function"" == typeof e.slice && n(e.slice(0, 0)) }(e) || !!e._isBuffer) } }, function(e, t, n) { ""use strict""; var r = n(11), a = n(1), i = n(15), o = n(5), s = n(16), c = Object.prototype.toString, u = 0, l = -1, p = 0, d = 8; function h(e) { if (!(this instanceof h)) return new h(e); this.options = a.assign({ level: l, method: d, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: p, to: """" }, e || {}); var t = this.options; t.raw && t.windowBits > 0 ? t.windowBits = -t.windowBits : t.gzip && t.windowBits > 0 && t.windowBits < 16 && (t.windowBits += 16), this.err = 0, this.msg = """", this.ended = !1, this.chunks = [], this.strm = new s, this.strm.avail_out = 0; var n = r.deflateInit2(this.strm, t.level, t.method, t.windowBits, t.memLevel, t.strategy); if (n !== u) throw new Error(o[n]); if (t.header && r.deflateSetHeader(this.strm, t.header), t.dictionary) { var f; if (f = ""string"" == typeof t.dictionary ? i.string2buf(t.dictionary) : ""[object ArrayBuffer]"" === c.call(t.dictionary) ? new Uint8Array(t.dictionary) : t.dictionary, (n = r.deflateSetDictionary(this.strm, f)) !== u) throw new Error(o[n]); this._dict_set = !0 } } function f(e, t) { var n = new h(t); if (n.push(e, !0), n.err) throw n.msg || o[n.err]; return n.result } h.prototype.push = function(e, t) { var n, o, s = this.strm, l = this.options.chunkSize; if (this.ended) return !1; o = t === ~~t ? t : !0 === t ? 4 : 0, ""string"" == typeof e ? s.input = i.string2buf(e) : ""[object ArrayBuffer]"" === c.call(e) ? s.input = new Uint8Array(e) : s.input = e, s.next_in = 0, s.avail_in = s.input.length; do { if (0 === s.avail_out && (s.output = new a.Buf8(l), s.next_out = 0, s.avail_out = l), 1 !== (n = r.deflate(s, o)) && n !== u) return this.onEnd(n), this.ended = !0, !1; 0 !== s.avail_out && (0 !== s.avail_in || 4 !== o && 2 !== o) || (""string"" === this.options.to ? this.onData(i.buf2binstring(a.shrinkBuf(s.output, s.next_out))) : this.onData(a.shrinkBuf(s.output, s.next_out))) } while ((s.avail_in > 0 || 0 === s.avail_out) && 1 !== n); return 4 === o ? (n = r.deflateEnd(this.strm), this.onEnd(n), this.ended = !0, n === u) : 2 !== o || (this.onEnd(u), s.avail_out = 0, !0) }, h.prototype.onData = function(e) { this.chunks.push(e) }, h.prototype.onEnd = function(e) { e === u && (""string"" === this.options.to ? this.result = this.chunks.join("""") : this.result = a.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg }, t.Deflate = h, t.deflate = f, t.deflateRaw = function(e, t) { return (t = t || {}).raw = !0, f(e, t) }, t.gzip = function(e, t) { return (t = t || {}).gzip = !0, f(e, t) } }, function(e, t, n) { ""use strict""; var r, a = n(1), i = n(12), o = n(13), s = n(14), c = n(5), u = 0, l = 4, p = 0, d = -2, h = -1, f = 1, m = 4, g = 2, v = 8, _ = 9, b = 286, y = 30, w = 19, S = 2 * b + 1, C = 15, A = 3, I = 258, k = I + A + 1, E = 42, T = 103, N = 113, x = 666, O = 1, D = 2, P = 3, R = 4; function M(e, t) { return e.msg = c[t], t } function L(e) { return (e << 1) - (e > 4 ? 9 : 0) } function U(e) { for (var t = e.length; --t >= 0;) e[t] = 0 } function W(e) { var t = e.state, n = t.pending; n > e.avail_out && (n = e.avail_out), 0 !== n && (a.arraySet(e.output, t.pending_buf, t.pending_out, n, e.next_out), e.next_out += n, t.pending_out += n, e.total_out += n, e.avail_out -= n, t.pending -= n, 0 === t.pending && (t.pending_out = 0)) } function B(e, t) { i._tr_flush_block(e, e.block_start >= 0 ? e.block_start : -1, e.strstart - e.block_start, t), e.block_start = e.strstart, W(e.strm) } function G(e, t) { e.pending_buf[e.pending++] = t } function Q(e, t) { e.pending_buf[e.pending++] = t >>> 8 & 255, e.pending_buf[e.pending++] = 255 & t } function j(e, t) { var n, r, a = e.max_chain_length, i = e.strstart, o = e.prev_length, s = e.nice_match, c = e.strstart > e.w_size - k ? e.strstart - (e.w_size - k) : 0, u = e.window, l = e.w_mask, p = e.prev, d = e.strstart + I, h = u[i + o - 1], f = u[i + o]; e.prev_length >= e.good_match && (a >>= 2), s > e.lookahead && (s = e.lookahead); do { if (u[(n = t) + o] === f && u[n + o - 1] === h && u[n] === u[i] && u[++n] === u[i + 1]) { i += 2, n++; do {} while (u[++i] === u[++n] && u[++i] === u[++n] && u[++i] === u[++n] && u[++i] === u[++n] && u[++i] === u[++n] && u[++i] === u[++n] && u[++i] === u[++n] && u[++i] === u[++n] && i < d); if (r = I - (d - i), i = d - I, r > o) { if (e.match_start = t, o = r, r >= s) break; h = u[i + o - 1], f = u[i + o] } } } while ((t = p[t & l]) > c && 0 != --a); return o <= e.lookahead ? o : e.lookahead } function q(e) { var t, n, r, i, c, u, l, p, d, h, f = e.w_size; do { if (i = e.window_size - e.lookahead - e.strstart, e.strstart >= f + (f - k)) { a.arraySet(e.window, e.window, f, f, 0), e.match_start -= f, e.strstart -= f, e.block_start -= f, t = n = e.hash_size; do { r = e.head[--t], e.head[t] = r >= f ? r - f : 0 } while (--n); t = n = f; do { r = e.prev[--t], e.prev[t] = r >= f ? r - f : 0 } while (--n); i += f } if (0 === e.strm.avail_in) break; if (u = e.strm, l = e.window, p = e.strstart + e.lookahead, d = i, h = void 0, (h = u.avail_in) > d && (h = d), n = 0 === h ? 0 : (u.avail_in -= h, a.arraySet(l, u.input, u.next_in, h, p), 1 === u.state.wrap ? u.adler = o(u.adler, l, h, p) : 2 === u.state.wrap && (u.adler = s(u.adler, l, h, p)), u.next_in += h, u.total_in += h, h), e.lookahead += n, e.lookahead + e.insert >= A) for (c = e.strstart - e.insert, e.ins_h = e.window[c], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[c + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[c + A - 1]) & e.hash_mask, e.prev[c & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = c, c++, e.insert--, !(e.lookahead + e.insert < A));) ; } while (e.lookahead < k && 0 !== e.strm.avail_in) } function V(e, t) { for (var n, r;;) { if (e.lookahead < k) { if (q(e), e.lookahead < k && t === u) return O; if (0 === e.lookahead) break } if (n = 0, e.lookahead >= A && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + A - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), 0 !== n && e.strstart - n <= e.w_size - k && (e.match_length = j(e, n)), e.match_length >= A) if (r = i._tr_tally(e, e.strstart - e.match_start, e.match_length - A), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= A) { e.match_length--; do { e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + A - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart } while (0 != --e.match_length); e.strstart++ } else e.strstart += e.match_length, e.match_length = 0, e.ins_h = e.window[e.strstart], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 1]) & e.hash_mask; else r = i._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++; if (r && (B(e, !1), 0 === e.strm.avail_out)) return O } return e.insert = e.strstart < A - 1 ? e.strstart : A - 1, t === l ? (B(e, !0), 0 === e.strm.avail_out ? P : R) : e.last_lit && (B(e, !1), 0 === e.strm.avail_out) ? O : D } function F(e, t) { for (var n, r, a;;) { if (e.lookahead < k) { if (q(e), e.lookahead < k && t === u) return O; if (0 === e.lookahead) break } if (n = 0, e.lookahead >= A && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + A - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = A - 1, 0 !== n && e.prev_length < e.max_lazy_match && e.strstart - n <= e.w_size - k && (e.match_length = j(e, n), e.match_length <= 5 && (e.strategy === f || e.match_length === A && e.strstart - e.match_start > 4096) && (e.match_length = A - 1)), e.prev_length >= A && e.match_length <= e.prev_length) { a = e.strstart + e.lookahead - A, r = i._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - A), e.lookahead -= e.prev_length - 1, e.prev_length -= 2; do { ++e.strstart <= a && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + A - 1]) & e.hash_mask, n = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart) } while (0 != --e.prev_length); if (e.match_available = 0, e.match_length = A - 1, e.strstart++, r && (B(e, !1), 0 === e.strm.avail_out)) return O } else if (e.match_available) { if ((r = i._tr_tally(e, 0, e.window[e.strstart - 1])) && B(e, !1), e.strstart++, e.lookahead--, 0 === e.strm.avail_out) return O } else e.match_available = 1, e.strstart++, e.lookahead-- } return e.match_available && (r = i._tr_tally(e, 0, e.window[e.strstart - 1]), e.match_available = 0), e.insert = e.strstart < A - 1 ? e.strstart : A - 1, t === l ? (B(e, !0), 0 === e.strm.avail_out ? P : R) : e.last_lit && (B(e, !1), 0 === e.strm.avail_out) ? O : D } function K(e, t, n, r, a) { this.good_length = e, this.max_lazy = t, this.nice_length = n, this.max_chain = r, this.func = a } function H(e) { var t; return e && e.state ? (e.total_in = e.total_out = 0, e.data_type = g, (t = e.state).pending = 0, t.pending_out = 0, t.wrap < 0 && (t.wrap = -t.wrap), t.status = t.wrap ? E : N, e.adler = 2 === t.wrap ? 0 : 1, t.last_flush = u, i._tr_init(t), p) : M(e, d) } function z(e) { var t, n = H(e); return n === p && ((t = e.state).window_size = 2 * t.w_size, U(t.head), t.max_lazy_match = r[t.level].max_lazy, t.good_match = r[t.level].good_length, t.nice_match = r[t.level].nice_length, t.max_chain_length = r[t.level].max_chain, t.strstart = 0, t.block_start = 0, t.lookahead = 0, t.insert = 0, t.match_length = t.prev_length = A - 1, t.match_available = 0, t.ins_h = 0), n } function J(e, t, n, r, i, o) { if (!e) return d; var s = 1; if (t === h && (t = 6), r < 0 ? (s = 0, r = -r) : r > 15 && (s = 2, r -= 16), i < 1 || i > _ || n !== v || r < 8 || r > 15 || t < 0 || t > 9 || o < 0 || o > m) return M(e, d); 8 === r && (r = 9); var c = new function() { this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = v, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new a.Buf16(2 * S), this.dyn_dtree = new a.Buf16(2 * (2 * y + 1)), this.bl_tree = new a.Buf16(2 * (2 * w + 1)), U(this.dyn_ltree), U(this.dyn_dtree), U(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new a.Buf16(C + 1), this.heap = new a.Buf16(2 * b + 1), U(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new a.Buf16(2 * b + 1), U(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0 }; return e.state = c, c.strm = e, c.wrap = s, c.gzhead = null, c.w_bits = r, c.w_size = 1 << c.w_bits, c.w_mask = c.w_size - 1, c.hash_bits = i + 7, c.hash_size = 1 << c.hash_bits, c.hash_mask = c.hash_size - 1, c.hash_shift = ~~((c.hash_bits + A - 1) / A), c.window = new a.Buf8(2 * c.w_size), c.head = new a.Buf16(c.hash_size), c.prev = new a.Buf16(c.w_size), c.lit_bufsize = 1 << i + 6, c.pending_buf_size = 4 * c.lit_bufsize, c.pending_buf = new a.Buf8(c.pending_buf_size), c.d_buf = 1 * c.lit_bufsize, c.l_buf = 3 * c.lit_bufsize, c.level = t, c.strategy = o, c.method = n, z(e) } r = [new K(0, 0, 0, 0, function(e, t) { var n = 65535; for (n > e.pending_buf_size - 5 && (n = e.pending_buf_size - 5);;) { if (e.lookahead <= 1) { if (q(e), 0 === e.lookahead && t === u) return O; if (0 === e.lookahead) break } e.strstart += e.lookahead, e.lookahead = 0; var r = e.block_start + n; if ((0 === e.strstart || e.strstart >= r) && (e.lookahead = e.strstart - r, e.strstart = r, B(e, !1), 0 === e.strm.avail_out)) return O; if (e.strstart - e.block_start >= e.w_size - k && (B(e, !1), 0 === e.strm.avail_out)) return O } return e.insert = 0, t === l ? (B(e, !0), 0 === e.strm.avail_out ? P : R) : (e.strstart > e.block_start && (B(e, !1), e.strm.avail_out), O) }), new K(4, 4, 8, 4, V), new K(4, 5, 16, 8, V), new K(4, 6, 32, 32, V), new K(4, 4, 16, 16, F), new K(8, 16, 32, 32, F), new K(8, 16, 128, 128, F), new K(8, 32, 128, 256, F), new K(32, 128, 258, 1024, F), new K(32, 258, 258, 4096, F)], t.deflateInit = function(e, t) { return J(e, t, v, 15, 8, 0) }, t.deflateInit2 = J, t.deflateReset = z, t.deflateResetKeep = H, t.deflateSetHeader = function(e, t) { return e && e.state ? 2 !== e.state.wrap ? d : (e.state.gzhead = t, p) : d }, t.deflate = function(e, t) { var n, a, o, c; if (!e || !e.state || t > 5 || t < 0) return e ? M(e, d) : d; if (a = e.state, !e.output || !e.input && 0 !== e.avail_in || a.status === x && t !== l) return M(e, 0 === e.avail_out ? -5 : d); if (a.strm = e, n = a.last_flush, a.last_flush = t, a.status === E) if (2 === a.wrap) e.adler = 0, G(a, 31), G(a, 139), G(a, 8), a.gzhead ? (G(a, (a.gzhead.text ? 1 : 0) + (a.gzhead.hcrc ? 2 : 0) + (a.gzhead.extra ? 4 : 0) + (a.gzhead.name ? 8 : 0) + (a.gzhead.comment ? 16 : 0)), G(a, 255 & a.gzhead.time), G(a, a.gzhead.time >> 8 & 255), G(a, a.gzhead.time >> 16 & 255), G(a, a.gzhead.time >> 24 & 255), G(a, 9 === a.level ? 2 : a.strategy >= 2 || a.level < 2 ? 4 : 0), G(a, 255 & a.gzhead.os), a.gzhead.extra && a.gzhead.extra.length && (G(a, 255 & a.gzhead.extra.length), G(a, a.gzhead.extra.length >> 8 & 255)), a.gzhead.hcrc && (e.adler = s(e.adler, a.pending_buf, a.pending, 0)), a.gzindex = 0, a.status = 69) : (G(a, 0), G(a, 0), G(a, 0), G(a, 0), G(a, 0), G(a, 9 === a.level ? 2 : a.strategy >= 2 || a.level < 2 ? 4 : 0), G(a, 3), a.status = N); else { var h = v + (a.w_bits - 8 << 4) << 8; h |= (a.strategy >= 2 || a.level < 2 ? 0 : a.level < 6 ? 1 : 6 === a.level ? 2 : 3) << 6, 0 !== a.strstart && (h |= 32), h += 31 - h % 31, a.status = N, Q(a, h), 0 !== a.strstart && (Q(a, e.adler >>> 16), Q(a, 65535 & e.adler)), e.adler = 1 } if (69 === a.status) if (a.gzhead.extra) { for (o = a.pending; a.gzindex < (65535 & a.gzhead.extra.length) && (a.pending !== a.pending_buf_size || (a.gzhead.hcrc && a.pending > o && (e.adler = s(e.adler, a.pending_buf, a.pending - o, o)), W(e), o = a.pending, a.pending !== a.pending_buf_size));) G(a, 255 & a.gzhead.extra[a.gzindex]), a.gzindex++; a.gzhead.hcrc && a.pending > o && (e.adler = s(e.adler, a.pending_buf, a.pending - o, o)), a.gzindex === a.gzhead.extra.length && (a.gzindex = 0, a.status = 73) } else a.status = 73; if (73 === a.status) if (a.gzhead.name) { o = a.pending; do { if (a.pending === a.pending_buf_size && (a.gzhead.hcrc && a.pending > o && (e.adler = s(e.adler, a.pending_buf, a.pending - o, o)), W(e), o = a.pending, a.pending === a.pending_buf_size)) { c = 1; break } c = a.gzindex < a.gzhead.name.length ? 255 & a.gzhead.name.charCodeAt(a.gzindex++) : 0, G(a, c) } while (0 !== c); a.gzhead.hcrc && a.pending > o && (e.adler = s(e.adler, a.pending_buf, a.pending - o, o)), 0 === c && (a.gzindex = 0, a.status = 91) } else a.status = 91; if (91 === a.status) if (a.gzhead.comment) { o = a.pending; do { if (a.pending === a.pending_buf_size && (a.gzhead.hcrc && a.pending > o && (e.adler = s(e.adler, a.pending_buf, a.pending - o, o)), W(e), o = a.pending, a.pending === a.pending_buf_size)) { c = 1; break } c = a.gzindex < a.gzhead.comment.length ? 255 & a.gzhead.comment.charCodeAt(a.gzindex++) : 0, G(a, c) } while (0 !== c); a.gzhead.hcrc && a.pending > o && (e.adler = s(e.adler, a.pending_buf, a.pending - o, o)), 0 === c && (a.status = T) } else a.status = T; if (a.status === T && (a.gzhead.hcrc ? (a.pending + 2 > a.pending_buf_size && W(e), a.pending + 2 <= a.pending_buf_size && (G(a, 255 & e.adler), G(a, e.adler >> 8 & 255), e.adler = 0, a.status = N)) : a.status = N), 0 !== a.pending) { if (W(e), 0 === e.avail_out) return a.last_flush = -1, p } else if (0 === e.avail_in && L(t) <= L(n) && t !== l) return M(e, -5); if (a.status === x && 0 !== e.avail_in) return M(e, -5); if (0 !== e.avail_in || 0 !== a.lookahead || t !== u && a.status !== x) { var f = 2 === a.strategy ? function(e, t) { for (var n;;) { if (0 === e.lookahead && (q(e), 0 === e.lookahead)) { if (t === u) return O; break } if (e.match_length = 0, n = i._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++, n && (B(e, !1), 0 === e.strm.avail_out)) return O } return e.insert = 0, t === l ? (B(e, !0), 0 === e.strm.avail_out ? P : R) : e.last_lit && (B(e, !1), 0 === e.strm.avail_out) ? O : D }(a, t) : 3 === a.strategy ? function(e, t) { for (var n, r, a, o, s = e.window;;) { if (e.lookahead <= I) { if (q(e), e.lookahead <= I && t === u) return O; if (0 === e.lookahead) break } if (e.match_length = 0, e.lookahead >= A && e.strstart > 0 && (r = s[a = e.strstart - 1]) === s[++a] && r === s[++a] && r === s[++a]) { o = e.strstart + I; do {} while (r === s[++a] && r === s[++a] && r === s[++a] && r === s[++a] && r === s[++a] && r === s[++a] && r === s[++a] && r === s[++a] && a < o); e.match_length = I - (o - a), e.match_length > e.lookahead && (e.match_length = e.lookahead) } if (e.match_length >= A ? (n = i._tr_tally(e, 1, e.match_length - A), e.lookahead -= e.match_length, e.strstart += e.match_length, e.match_length = 0) : (n = i._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++), n && (B(e, !1), 0 === e.strm.avail_out)) return O } return e.insert = 0, t === l ? (B(e, !0), 0 === e.strm.avail_out ? P : R) : e.last_lit && (B(e, !1), 0 === e.strm.avail_out) ? O : D }(a, t) : r[a.level].func(a, t); if (f !== P && f !== R || (a.status = x), f === O || f === P) return 0 === e.avail_out && (a.last_flush = -1), p; if (f === D && (1 === t ? i._tr_align(a) : 5 !== t && (i._tr_stored_block(a, 0, 0, !1), 3 === t && (U(a.head), 0 === a.lookahead && (a.strstart = 0, a.block_start = 0, a.insert = 0))), W(e), 0 === e.avail_out)) return a.last_flush = -1, p } return t !== l ? p : a.wrap <= 0 ? 1 : (2 === a.wrap ? (G(a, 255 & e.adler), G(a, e.adler >> 8 & 255), G(a, e.adler >> 16 & 255), G(a, e.adler >> 24 & 255), G(a, 255 & e.total_in), G(a, e.total_in >> 8 & 255), G(a, e.total_in >> 16 & 255), G(a, e.total_in >> 24 & 255)) : (Q(a, e.adler >>> 16), Q(a, 65535 & e.adler)), W(e), a.wrap > 0 && (a.wrap = -a.wrap), 0 !== a.pending ? p : 1) }, t.deflateEnd = function(e) { var t; return e && e.state ? (t = e.state.status) !== E && 69 !== t && 73 !== t && 91 !== t && t !== T && t !== N && t !== x ? M(e, d) : (e.state = null, t === N ? M(e, -3) : p) : d }, t.deflateSetDictionary = function(e, t) { var n, r, i, s, c, u, l, h, f = t.length; if (!e || !e.state) return d; if (2 === (s = (n = e.state).wrap) || 1 === s && n.status !== E || n.lookahead) return d; for (1 === s && (e.adler = o(e.adler, t, f, 0)), n.wrap = 0, f >= n.w_size && (0 === s && (U(n.head), n.strstart = 0, n.block_start = 0, n.insert = 0), h = new a.Buf8(n.w_size), a.arraySet(h, t, f - n.w_size, n.w_size, 0), t = h, f = n.w_size), c = e.avail_in, u = e.next_in, l = e.input, e.avail_in = f, e.next_in = 0, e.input = t, q(n); n.lookahead >= A;) { r = n.strstart, i = n.lookahead - (A - 1); do { n.ins_h = (n.ins_h << n.hash_shift ^ n.window[r + A - 1]) & n.hash_mask, n.prev[r & n.w_mask] = n.head[n.ins_h], n.head[n.ins_h] = r, r++ } while (--i); n.strstart = r, n.lookahead = A - 1, q(n) } return n.strstart += n.lookahead, n.block_start = n.strstart, n.insert = n.lookahead, n.lookahead = 0, n.match_length = n.prev_length = A - 1, n.match_available = 0, e.next_in = u, e.input = l, e.avail_in = c, n.wrap = s, p }, t.deflateInfo = ""pako deflate (from Nodeca project)"" }, function(e, t, n) { ""use strict""; var r = n(1); function a(e) { for (var t = e.length; --t >= 0;) e[t] = 0 } var i = 0, o = 256, s = o + 1 + 29, c = 30, u = 19, l = 2 * s + 1, p = 15, d = 16, h = 256, f = 16, m = 17, g = 18, v = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], _ = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], b = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], y = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], w = new Array(2 * (s + 2)); a(w); var S = new Array(2 * c); a(S); var C = new Array(512); a(C); var A = new Array(256); a(A); var I = new Array(29); a(I); var k, E, T, N = new Array(c); function x(e, t, n, r, a) { this.static_tree = e, this.extra_bits = t, this.extra_base = n, this.elems = r, this.max_length = a, this.has_stree = e && e.length } function O(e, t) { this.dyn_tree = e, this.max_code = 0, this.stat_desc = t } function D(e) { return e < 256 ? C[e] : C[256 + (e >>> 7)] } function P(e, t) { e.pending_buf[e.pending++] = 255 & t, e.pending_buf[e.pending++] = t >>> 8 & 255 } function R(e, t, n) { e.bi_valid > d - n ? (e.bi_buf |= t << e.bi_valid & 65535, P(e, e.bi_buf), e.bi_buf = t >> d - e.bi_valid, e.bi_valid += n - d) : (e.bi_buf |= t << e.bi_valid & 65535, e.bi_valid += n) } function M(e, t, n) { R(e, n[2 * t], n[2 * t + 1]) } function L(e, t) { var n = 0; do { n |= 1 & e, e >>>= 1, n <<= 1 } while (--t > 0); return n >>> 1 } function U(e, t, n) { var r, a, i = new Array(p + 1), o = 0; for (r = 1; r <= p; r++) i[r] = o = o + n[r - 1] << 1; for (a = 0; a <= t; a++) { var s = e[2 * a + 1]; 0 !== s && (e[2 * a] = L(i[s]++, s)) } } function W(e) { var t; for (t = 0; t < s; t++) e.dyn_ltree[2 * t] = 0; for (t = 0; t < c; t++) e.dyn_dtree[2 * t] = 0; for (t = 0; t < u; t++) e.bl_tree[2 * t] = 0; e.dyn_ltree[2 * h] = 1, e.opt_len = e.static_len = 0, e.last_lit = e.matches = 0 } function B(e) { e.bi_valid > 8 ? P(e, e.bi_buf) : e.bi_valid > 0 && (e.pending_buf[e.pending++] = e.bi_buf), e.bi_buf = 0, e.bi_valid = 0 } function G(e, t, n, r) { var a = 2 * t, i = 2 * n; return e[a] < e[i] || e[a] === e[i] && r[t] <= r[n] } function Q(e, t, n) { for (var r = e.heap[n], a = n << 1; a <= e.heap_len && (a < e.heap_len && G(t, e.heap[a + 1], e.heap[a], e.depth) && a++, !G(t, r, e.heap[a], e.depth));) e.heap[n] = e.heap[a], n = a, a <<= 1; e.heap[n] = r } function j(e, t, n) { var r, a, i, s, c = 0; if (0 !== e.last_lit) do { r = e.pending_buf[e.d_buf + 2 * c] << 8 | e.pending_buf[e.d_buf + 2 * c + 1], a = e.pending_buf[e.l_buf + c], c++, 0 === r ? M(e, a, t) : (M(e, (i = A[a]) + o + 1, t), 0 !== (s = v[i]) && R(e, a -= I[i], s), M(e, i = D(--r), n), 0 !== (s = _[i]) && R(e, r -= N[i], s)) } while (c < e.last_lit); M(e, h, t) } function q(e, t) { var n, r, a, i = t.dyn_tree, o = t.stat_desc.static_tree, s = t.stat_desc.has_stree, c = t.stat_desc.elems, u = -1; for (e.heap_len = 0, e.heap_max = l, n = 0; n < c; n++) 0 !== i[2 * n] ? (e.heap[++e.heap_len] = u = n, e.depth[n] = 0) : i[2 * n + 1] = 0; for (; e.heap_len < 2;) i[2 * (a = e.heap[++e.heap_len] = u < 2 ? ++u : 0)] = 1, e.depth[a] = 0, e.opt_len--, s && (e.static_len -= o[2 * a + 1]); for (t.max_code = u, n = e.heap_len >> 1; n >= 1; n--) Q(e, i, n); a = c; do { n = e.heap[1], e.heap[1] = e.heap[e.heap_len--], Q(e, i, 1), r = e.heap[1], e.heap[--e.heap_max] = n, e.heap[--e.heap_max] = r, i[2 * a] = i[2 * n] + i[2 * r], e.depth[a] = (e.depth[n] >= e.depth[r] ? e.depth[n] : e.depth[r]) + 1, i[2 * n + 1] = i[2 * r + 1] = a, e.heap[1] = a++, Q(e, i, 1) } while (e.heap_len >= 2); e.heap[--e.heap_max] = e.heap[1], function(e, t) { var n, r, a, i, o, s, c = t.dyn_tree, u = t.max_code, d = t.stat_desc.static_tree, h = t.stat_desc.has_stree, f = t.stat_desc.extra_bits, m = t.stat_desc.extra_base, g = t.stat_desc.max_length, v = 0; for (i = 0; i <= p; i++) e.bl_count[i] = 0; for (c[2 * e.heap[e.heap_max] + 1] = 0, n = e.heap_max + 1; n < l; n++) (i = c[2 * c[2 * (r = e.heap[n]) + 1] + 1] + 1) > g && (i = g, v++), c[2 * r + 1] = i, r > u || (e.bl_count[i]++, o = 0, r >= m && (o = f[r - m]), s = c[2 * r], e.opt_len += s * (i + o), h && (e.static_len += s * (d[2 * r + 1] + o))); if (0 !== v) { do { for (i = g - 1; 0 === e.bl_count[i];) i--; e.bl_count[i]--, e.bl_count[i + 1] += 2, e.bl_count[g]--, v -= 2 } while (v > 0); for (i = g; 0 !== i; i--) for (r = e.bl_count[i]; 0 !== r;) (a = e.heap[--n]) > u || (c[2 * a + 1] !== i && (e.opt_len += (i - c[2 * a + 1]) * c[2 * a], c[2 * a + 1] = i), r--) } }(e, t), U(i, u, e.bl_count) } function V(e, t, n) { var r, a, i = -1, o = t[1], s = 0, c = 7, u = 4; for (0 === o && (c = 138, u = 3), t[2 * (n + 1) + 1] = 65535, r = 0; r <= n; r++) a = o, o = t[2 * (r + 1) + 1], ++s < c && a === o || (s < u ? e.bl_tree[2 * a] += s : 0 !== a ? (a !== i && e.bl_tree[2 * a]++, e.bl_tree[2 * f]++) : s <= 10 ? e.bl_tree[2 * m]++ : e.bl_tree[2 * g]++, s = 0, i = a, 0 === o ? (c = 138, u = 3) : a === o ? (c = 6, u = 3) : (c = 7, u = 4)) } function F(e, t, n) { var r, a, i = -1, o = t[1], s = 0, c = 7, u = 4; for (0 === o && (c = 138, u = 3), r = 0; r <= n; r++) if (a = o, o = t[2 * (r + 1) + 1], !(++s < c && a === o)) { if (s < u) do { M(e, a, e.bl_tree) } while (0 != --s); else 0 !== a ? (a !== i && (M(e, a, e.bl_tree), s--), M(e, f, e.bl_tree), R(e, s - 3, 2)) : s <= 10 ? (M(e, m, e.bl_tree), R(e, s - 3, 3)) : (M(e, g, e.bl_tree), R(e, s - 11, 7)); s = 0, i = a, 0 === o ? (c = 138, u = 3) : a === o ? (c = 6, u = 3) : (c = 7, u = 4) } } a(N); var K = !1; function H(e, t, n, a) { R(e, (i << 1) + (a ? 1 : 0), 3), function(e, t, n, a) { B(e), P(e, n), P(e, ~n), r.arraySet(e.pending_buf, e.window, t, n, e.pending), e.pending += n }(e, t, n) } t._tr_init = function(e) { K || (function() { var e, t, n, r, a, i = new Array(p + 1); for (n = 0, r = 0; r < 28; r++) for (I[r] = n, e = 0; e < 1 << v[r]; e++) A[n++] = r; for (A[n - 1] = r, a = 0, r = 0; r < 16; r++) for (N[r] = a, e = 0; e < 1 << _[r]; e++) C[a++] = r; for (a >>= 7; r < c; r++) for (N[r] = a << 7, e = 0; e < 1 << _[r] - 7; e++) C[256 + a++] = r; for (t = 0; t <= p; t++) i[t] = 0; for (e = 0; e <= 143;) w[2 * e + 1] = 8, e++, i[8]++; for (; e <= 255;) w[2 * e + 1] = 9, e++, i[9]++; for (; e <= 279;) w[2 * e + 1] = 7, e++, i[7]++; for (; e <= 287;) w[2 * e + 1] = 8, e++, i[8]++; for (U(w, s + 1, i), e = 0; e < c; e++) S[2 * e + 1] = 5, S[2 * e] = L(e, 5); k = new x(w, v, o + 1, s, p), E = new x(S, _, 0, c, p), T = new x(new Array(0), b, 0, u, 7) }(), K = !0), e.l_desc = new O(e.dyn_ltree, k), e.d_desc = new O(e.dyn_dtree, E), e.bl_desc = new O(e.bl_tree, T), e.bi_buf = 0, e.bi_valid = 0, W(e) }, t._tr_stored_block = H, t._tr_flush_block = function(e, t, n, r) { var a, i, s = 0; e.level > 0 ? (2 === e.strm.data_type && (e.strm.data_type = function(e) { var t, n = 4093624447; for (t = 0; t <= 31; t++, n >>>= 1) if (1 & n && 0 !== e.dyn_ltree[2 * t]) return 0; if (0 !== e.dyn_ltree[18] || 0 !== e.dyn_ltree[20] || 0 !== e.dyn_ltree[26]) return 1; for (t = 32; t < o; t++) if (0 !== e.dyn_ltree[2 * t]) return 1; return 0 }(e)), q(e, e.l_desc), q(e, e.d_desc), s = function(e) { var t; for (V(e, e.dyn_ltree, e.l_desc.max_code), V(e, e.dyn_dtree, e.d_desc.max_code), q(e, e.bl_desc), t = u - 1; t >= 3 && 0 === e.bl_tree[2 * y[t] + 1]; t--) ; return e.opt_len += 3 * (t + 1) + 5 + 5 + 4, t }(e), a = e.opt_len + 3 + 7 >>> 3, (i = e.static_len + 3 + 7 >>> 3) <= a && (a = i)) : a = i = n + 5, n + 4 <= a && -1 !== t ? H(e, t, n, r) : 4 === e.strategy || i === a ? (R(e, 2 + (r ? 1 : 0), 3), j(e, w, S)) : (R(e, 4 + (r ? 1 : 0), 3), function(e, t, n, r) { var a; for (R(e, t - 257, 5), R(e, n - 1, 5), R(e, r - 4, 4), a = 0; a < r; a++) R(e, e.bl_tree[2 * y[a] + 1], 3); F(e, e.dyn_ltree, t - 1), F(e, e.dyn_dtree, n - 1) }(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, s + 1), j(e, e.dyn_ltree, e.dyn_dtree)), W(e), r && B(e) }, t._tr_tally = function(e, t, n) { return e.pending_buf[e.d_buf + 2 * e.last_lit] = t >>> 8 & 255, e.pending_buf[e.d_buf + 2 * e.last_lit + 1] = 255 & t, e.pending_buf[e.l_buf + e.last_lit] = 255 & n, e.last_lit++, 0 === t ? e.dyn_ltree[2 * n]++ : (e.matches++, t--, e.dyn_ltree[2 * (A[n] + o + 1)]++, e.dyn_dtree[2 * D(t)]++), e.last_lit === e.lit_bufsize - 1 }, t._tr_align = function(e) { R(e, 2, 3), M(e, h, w), function(e) { 16 === e.bi_valid ? (P(e, e.bi_buf), e.bi_buf = 0, e.bi_valid = 0) : e.bi_valid >= 8 && (e.pending_buf[e.pending++] = 255 & e.bi_buf, e.bi_buf >>= 8, e.bi_valid -= 8) }(e) } }, function(e, t, n) { ""use strict""; e.exports = function(e, t, n, r) { for (var a = 65535 & e | 0, i = e >>> 16 & 65535 | 0, o = 0; 0 !== n;) { n -= o = n > 2e3 ? 2e3 : n; do { i = i + (a = a + t[r++] | 0) | 0 } while (--o); a %= 65521, i %= 65521 } return a | i << 16 | 0 } }, function(e, t, n) { ""use strict""; var r = function() { for (var e, t = [], n = 0; n < 256; n++) { e = n; for (var r = 0; r < 8; r++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1; t[n] = e } return t }(); e.exports = function(e, t, n, a) { var i = r, o = a + n; e ^= -1; for (var s = a; s < o; s++) e = e >>> 8 ^ i[255 & (e ^ t[s])]; return -1 ^ e } }, function(e, t, n) { ""use strict""; var r = n(1), a = !0, i = !0; try { String.fromCharCode.apply(null, [0]) } catch (e) { a = !1 } try { String.fromCharCode.apply(null, new Uint8Array(1)) } catch (e) { i = !1 } for (var o = new r.Buf8(256), s = 0; s < 256; s++) o[s] = s >= 252 ? 6 : s >= 248 ? 5 : s >= 240 ? 4 : s >= 224 ? 3 : s >= 192 ? 2 : 1; function c(e, t) { if (t < 65534 && (e.subarray && i || !e.subarray && a)) return String.fromCharCode.apply(null, r.shrinkBuf(e, t)); for (var n = """", o = 0; o < t; o++) n += String.fromCharCode(e[o]); return n } o[254] = o[254] = 1, t.string2buf = function(e) { var t, n, a, i, o, s = e.length, c = 0; for (i = 0; i < s; i++) 55296 == (64512 & (n = e.charCodeAt(i))) && i + 1 < s && 56320 == (64512 & (a = e.charCodeAt(i + 1))) && (n = 65536 + (n - 55296 << 10) + (a - 56320), i++), c += n < 128 ? 1 : n < 2048 ? 2 : n < 65536 ? 3 : 4; for (t = new r.Buf8(c), o = 0, i = 0; o < c; i++) 55296 == (64512 & (n = e.charCodeAt(i))) && i + 1 < s && 56320 == (64512 & (a = e.charCodeAt(i + 1))) && (n = 65536 + (n - 55296 << 10) + (a - 56320), i++), n < 128 ? t[o++] = n : n < 2048 ? (t[o++] = 192 | n >>> 6, t[o++] = 128 | 63 & n) : n < 65536 ? (t[o++] = 224 | n >>> 12, t[o++] = 128 | n >>> 6 & 63, t[o++] = 128 | 63 & n) : (t[o++] = 240 | n >>> 18, t[o++] = 128 | n >>> 12 & 63, t[o++] = 128 | n >>> 6 & 63, t[o++] = 128 | 63 & n); return t }, t.buf2binstring = function(e) { return c(e, e.length) }, t.binstring2buf = function(e) { for (var t = new r.Buf8(e.length), n = 0, a = t.length; n < a; n++) t[n] = e.charCodeAt(n); return t }, t.buf2string = function(e, t) { var n, r, a, i, s = t || e.length, u = new Array(2 * s); for (r = 0, n = 0; n < s;) if ((a = e[n++]) < 128) u[r++] = a; else if ((i = o[a]) > 4) u[r++] = 65533, n += i - 1; else { for (a &= 2 === i ? 31 : 3 === i ? 15 : 7; i > 1 && n < s;) a = a << 6 | 63 & e[n++], i--; i > 1 ? u[r++] = 65533 : a < 65536 ? u[r++] = a : (a -= 65536, u[r++] = 55296 | a >> 10 & 1023, u[r++] = 56320 | 1023 & a) } return c(u, r) }, t.utf8border = function(e, t) { var n; for ((t = t || e.length) > e.length && (t = e.length), n = t - 1; n >= 0 && 128 == (192 & e[n]);) n--; return n < 0 ? t : 0 === n ? t : n + o[e[n]] > t ? n : t } }, function(e, t, n) { ""use strict""; e.exports = function() { this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = """", this.state = null, this.data_type = 2, this.adler = 0 } }, function(e, t, n) { ""use strict""; e.exports = function(e, t, n) { if ((t -= (e += """").length) <= 0) return e; if (n || 0 === n || (n = "" ""), "" "" == (n += """") && t < 10) return r[t] + e; for (var a = """"; 1 & t && (a += n), t >>= 1;) n += n; return a + e }; var r = ["""", "" "", "" "", "" "", "" "", "" "", "" "", "" "", "" "", "" ""] }, function(e, t, n) { (function(e) { var t, r, a = ""function"" == typeof Symbol && ""symbol"" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && ""function"" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? ""symbol"" : typeof e }, i = n(2), o = n(19), s = n(20), c = [""V8KTwojCuhw="", ""woPCssOGwq0i"", ""wrhsCcOQUg=="", ""wocXQ1Eu"", ""MsKzGMOzwok="", ""VsOGXcKbHGM="", ""GHYPwrHDkA=="", ""dFIKwo9F"", ""wpfDpsOKdXs="", ""w5slwojCjsOY"", ""w4oJWGjCoUA="", ""dMOVIhdxMsKEwqsaYw=="", ""wpLClcKPSgY="", ""w4JEwrLDjUw="", ""d8OOw7LDjMO1"", ""wrfDpcOia03CvcOA"", ""w54GwrTCj8KZ"", ""MMO3wrXCsSc="", ""wrlJJMOudAU="", ""wrHDr8OHd1zCu8OXAcOyXsK/"", ""ChnCocO7woM="", ""KnLCimjDlQ=="", ""JsKra8O7wqEKw50="", ""wq4Uf2A+"", ""wq8pX1lC"", ""SsOmcHTDmsKZ"", ""w4LDo8OaPTE="", ""UHl3bMOPwqbCsw=="", ""fGwIPTo="", ""w6FvwrPDvGvDmsO2"", ""TyE8aX4="", ""w6w4w78KJg=="", ""Dh/ChcO7wpQ="", ""fcOvd8KfDw=="", ""w6s/wojChsOj"", ""w6TCr8O3SMOz"", ""W8K+wps="", ""WGMQ"", ""w6s/wqvCgMK5"", ""w4LCpw0="", ""woHCssKFbxA="", ""w6bCjcOKw6F2w7k1"", ""KHXDhnbDhA=="", ""w7/CtMOiwqrDkEDCusOPw5I="", ""SwIKW3TCrzvChcKIw4bCjw4="", ""cBYwLwHDnA=="", ""HxzChMOnwp99eTc="", ""XcOtw4jDrsOXwpU="", ""w5IKw5jDv14uwqnCoMKH"", ""woPCq2Ezw6cHwpQDWw=="", ""SUoKwrZLFBTDhcOsDA=="", ""worDvMKHKMKvw4wRwq0="", ""Y8K9wp/CozI3w7nCl8Kg"", ""MVvCq2jDh03CllfClig="", ""L8KvccOHwooDw58iw4QE"", ""wqw8Rw=="", ""TnMBCTY=""]; t = c, r = 384, function(e) { for (; --e;) t.push(t.shift()) }(++r); var u = function e(t, n) { var r, a = c[t -= 0]; void 0 === e.KCtMit && ((r = function() { var e; try { e = Function('return (function() {}.constructor(""return this"")( ));')() } catch (t) { e = window } return e }()).atob || (r.atob = function(e) { for (var t, n, r = String(e).replace(/=+$/, """"), a = 0, i = 0, o = """"; n = r.charAt(i++); ~n && (t = a % 4 ? 64 * t + n : n, a++ % 4) ? o += String.fromCharCode(255 & t >> (-2 * a & 6)) : 0) n = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="".indexOf(n); return o }), e.FZsOiB = function(e, t) { for (var n, r = [], a = 0, i = """", o = """", s = 0, c = (e = atob(e)).length; s < c; s++) o += ""%"" + (""00"" + e.charCodeAt(s).toString(16)).slice(-2); e = decodeURIComponent(o); for (var u = 0; u < 256; u++) r[u] = u; for (u = 0; u < 256; u++) a = (a + r[u] + t.charCodeAt(u % t.length)) % 256, n = r[u], r[u] = r[a], r[a] = n; u = 0, a = 0; for (var l = 0; l < e.length; l++) a = (a + r[u = (u + 1) % 256]) % 256, n = r[u], r[u] = r[a], r[a] = n, i += String.fromCharCode(e.charCodeAt(l) ^ r[(r[u] + r[a]) % 256]); return i }, e.cluYiQ = {}, e.KCtMit = !0); var i = e.cluYiQ[t]; return void 0 === i ? (void 0 === e.bCfgTb && (e.bCfgTb = !0), a = e.FZsOiB(a, n), e.cluYiQ[t] = a) : a = i, a }, l = u(""0x0"", ""ntY7""), p = u(""0x1"", ""JrsF""), d = u(""0x2"", ""Nb3z""), h = u(""0x3"", ""Rf!t""), f = u(""0x4"", ""mD42""), m = u(""0x5"", ""N)2u""), g = void 0; (""undefined"" == typeof window ? ""undefined"" : a(window)) !== u(""0x6"", ""r6Y5"") && (g = window); var v = {}; function _() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Date[u(""0xd"", ""^Woj"")](), t = {}; t[u(""0xe"", ""i4d$"")] = function(e, t) { return e(t) }, t[u(""0xf"", ""gr2A"")] = function(e) { return e() }, t[u(""0x10"", ""*zVW"")] = function(e, t) { return e % t }, t[u(""0x11"", ""&y$G"")] = function(e, t, n, r) { return e(t, n, r) }, t[u(""0x12"", ""^Woj"")] = function(e, t) { return e(t) }, t[u(""0x13"", ""u3k%"")] = u(""0x14"", ""a5aM""); var n = t[u(""0x15"", ""h8$#"")](String, e)[l](0, 10), r = t[u(""0x16"", ""O!*I"")](o), a = t[u(""0x17"", ""xEb*"")]((n + ""_"" + r)[u(""0x18"", ""@tpF"")]("""")[u(""0x19"", ""zy&1"")](function(e, t) { return e + t[u(""0x1a"", ""1Ot^"")](0) }, 0), 1e3), c = t[u(""0x1b"", ""MQjI"")](s, t[u(""0x1c"", ""h7#G"")](String, a), 3, ""0""); return i[t[u(""0x1d"", ""N)2u"")]]("""" + n + c)[u(""0x1e"", ""xEb*"")](/=/g, """") + ""_"" + r } function b(e) { var t = {}; return t[u(""0x1f"", ""kiyP"")] = function(e, t) { return e + t }, t[u(""0x20"", ""lMXs"")](e[u(""0x21"", ""&y$G"")](0)[u(""0x22"", ""xEb*"")](), e[l](1)) } v[u(""0x7"", ""4muE"")] = function(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 9999, r = { YPKgD: function(e, t) { return e + t }, Qobpb: function(e, t) { return e + t }, zYyvz: function(e, t) { return e * t }, CRlXS: function(e, t) { return e * t }, uaKBz: function(e, t) { return e * t }, uppDx: function(e, t) { return e * t }, tPqOx: u(""0x8"", ""t[c*""), TIWkm: function(e, t) { return e + t }, lWMjy: function(e, t) { return e + t }, pFeqw: function(e, t) { return e + t }, gEuJM: function(e, t) { return e + t }, EiVfR: function(e, t) { return e || t }, eghGf: u(""0x9"", ""OCqU"") }; e = r.YPKgD(""_"", e); var a = """"; if (n) { var i = new Date; i.setTime(r.Qobpb(i.getTime(), r.zYyvz(r.CRlXS(r.uaKBz(r.uppDx(n, 24), 60), 60), 1e3))), a = r.Qobpb(r.tPqOx, i.toUTCString()) } g[f][h] = r.TIWkm(r.lWMjy(r.pFeqw(r.gEuJM(e, ""=""), r.EiVfR(t, """")), a), r.eghGf) }, v[u(""0xa"", ""gr2A"")] = function(e) { for (var t = function(e, t) { return e + t }, n = function(e, t) { return e < t }, r = function(e, t) { return e === t }, a = t(e = t(""_"", e), ""=""), i = g[f][h].split("";""), o = 0; n(o, i[m]); o++) { for (var s = i[o]; r(s.charAt(0), "" "");) s = s[p](1, s[m]); if (r(s.indexOf(a), 0)) return s[p](a[m], s[m]) } return null }, v[u(""0xb"", ""Y0xB"")] = function(e, t) { e = ""_"" + e, g[d].setItem(e, t) }, v[u(""0xc"", ""p1*h"")] = function(e) { return e = ""_"" + e, g[d].getItem(e) }, e[u(""0x38"", ""0*oo"")] = function() { var e = {}; e[u(""0x23"", ""mD42"")] = function(e, t) { return e(t) }, e[u(""0x24"", ""Y0xB"")] = u(""0x25"", ""p1*h""), e[u(""0x26"", ""^Woj"")] = function(e) { return e() }, e[u(""0x27"", ""pbix"")] = u(""0x28"", ""iUoE""), e[u(""0x29"", ""!6Xj"")] = u(""0x2a"", ""irmM""), e[u(""0x2b"", ""i4d$"")] = u(""0x2c"", ""h7#G""); var t = e[u(""0x2d"", ""Nb3z"")], n = {}, r = e[u(""0x2e"", ""Ki)t"")](_); return [e[u(""0x2f"", ""mD42"")], e[u(""0x30"", ""a5aM"")]][e[u(""0x31"", ""@tpF"")]](function(a) { try { var i = u(""0x32"", ""bgUH"") + a + u(""0x33"", ""gr2A""); n[i] = v[u(""0x34"", ""i4d$"") + e[u(""0x35"", ""kiyP"")](b, a)](t), n[i] || (v[u(""0x36"", ""v1(V"") + e[u(""0x37"", ""MQjI"")](b, a)](t, r), n[i] = r) } catch (e) {} }), n } }).call(this, n(0)(e)) }, function(e, t) { e.exports = function(e) { e = e || 21; for (var t = """"; 0 < e--;) t += ""_~varfunctio0125634789bdegjhklmpqswxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"" [64 * Math.random() | 0]; return t } }, function(e, t, n) { ""use strict""; e.exports = function(e, t, n) { if (""string"" != typeof e) throw new Error(""The string parameter must be a string.""); if (e.length < 1) throw new Error(""The string parameter must be 1 character or longer.""); if (""number"" != typeof t) throw new Error(""The length parameter must be a number.""); if (""string"" != typeof n && n) throw new Error(""The character parameter must be a string.""); var r = -1; for (t -= e.length, n || 0 === n || (n = "" ""); ++r < t;) e += n; return e } }, function(e, t, n) { (function(e, t) { var r, a, i = ""function"" == typeof Symbol && ""symbol"" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && ""function"" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? ""symbol"" : typeof e }, o = n(2), s = [""csOmLcOXJX7DinE="", ""w6xbwoc7wqs="", ""aU56OljDoA=="", ""ZBDDoS7Dow=="", ""QQLDl3Bfw7vCn8OKwpw="", ""w5BGwrzDtRQ="", ""RwjDm3ZK"", ""aDzCl2kK"", ""wrXDlCIow4I="", ""w7Vxw5XDk8O1"", ""w5lhw48G"", ""w6lVHmQdwp0Lew=="", ""DlHCvzTDvykewp1N"", ""w4F+wocDwo7ChcKsZnbDsA=="", ""Txgow6A="", ""w4Buw4UZEA=="", ""I8O/wppXJsK+wos="", ""Y8KLAzBnw4XDgQ=="", ""worCqHk0w4NXwoYzOHjDhBAmE8Kz"", ""OBw+w5hwwpjCtcO7IQ=="", ""TyIV"", ""bEXCpsOOwqzDlw=="", ""wrjDjFZ2wpw="", ""SMOaScKXLMOmwpw0wpEIwqs="", ""wrHDogpQNxLCm20CdMOXw4cqGmXDug=="", ""wrTDqQ1gLBLCm20="", ""L3k5QxrDlVVvDg=="", ""dMOFw5ISw58jwoM="", ""X8OFAMO3FE/DnA=="", ""wrXDqgt4JBnCgVAq"", ""w5xqw4gVKhg="", ""XBYlw6h+bg=="", ""GBA7woRGwpXDgQ=="", ""VgDCgVg="", ""RwPCi8ON"", ""VgzCm8OJdhR7Tg8="", ""w4xFbcKo"", ""wqzDgW7DvVM="", ""w7XDrsO1"", ""S3ATcjI="", ""VcOHAMOm"", ""BsOZa25WwoxQw65tw5bDnQ=="", ""UMOaRMKY"", ""JMK3wqTChMOt"", ""wo7DvH3DjA=="", ""McO7w49Iwr7Do8KaUXnCqMO/"", ""w7FTw4nDs8O1Jg=="", ""w6MawptZ"", ""w7hFesKmCQ=="", ""ScOVTsKH"", ""T8K7GyVyw4BgwrdmwpJX"", ""cHUuw6U="", ""wpfDs3fDk0o="", ""HsOGwoVk"", ""NHMcwqnCkzx5w63Cqj8v"", ""B8OJwo97"", ""f8Kew4nDgMKX"", ""bMKAJSt7"", ""b8KdGis="", ""SsOIccKHLg=="", ""ayvDqCnDqQ=="", ""w5spw7xpwpXDoGoeFg=="", ""woV5wrzCu3g="", ""w4Ulw7t1wpzDqA=="", ""wqLCsF0Aw68="", ""TRDCi0Ut"", ""wqhsOy/DsA=="", ""bRfCj8O2Yw=="", ""w59hw4sdKwMRREM1wp3DpA=="", ""UhQ4fgk="", ""w6hdw47Dp8O1JQ54wpYq"", ""TxLCpsOqUg=="", ""H18ZawbDlEdnLcKXBm8yQQ=="", ""w5V3Bl4a"", ""wqvDh27Dn0E="", ""RFfClcOuwoQ="", ""e1XChMOlwoQ="", ""EmcCwpfCjA=="", ""w7EvworCqsKM"", ""e8OZw6Ixw7M="", ""DsOAwoDCpA=="", ""wp7Cpnkq"", ""akxrPg=="", ""w7VTw5jDv8Oe"", ""wp7Cpnkqw6A="", ""Dh4qwqpp"", ""wqDDpw1+Dw=="", ""w4d8wpQ=""]; r = s, a = 458, function(e) { for (; --e;) r.push(r.shift()) }(++a); var c = function e(t, n) { var r = s[t -= 0]; void 0 === e.tasYjU && (function() { var e; try { e = Function('return (function() {}.constructor(""return this"")( ));')() } catch (t) { e = window } e.atob || (e.atob = function(e) { for (var t, n, r = String(e).replace(/=+$/, """"), a = 0, i = 0, o = """"; n = r.charAt(i++); ~n && (t = a % 4 ? 64 * t + n : n, a++ % 4) ? o += String.fromCharCode(255 & t >> (-2 * a & 6)) : 0) n = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="".indexOf(n); return o }) }(), e.DuPSzy = function(e, t) { for (var n, r = [], a = 0, i = """", o = """", s = 0, c = (e = atob(e)).length; s < c; s++) o += ""%"" + (""00"" + e.charCodeAt(s).toString(16)).slice(-2); e = decodeURIComponent(o); for (var u = 0; u < 256; u++) r[u] = u; for (u = 0; u < 256; u++) a = (a + r[u] + t.charCodeAt(u % t.length)) % 256, n = r[u], r[u] = r[a], r[a] = n; u = 0, a = 0; for (var l = 0; l < e.length; l++) a = (a + r[u = (u + 1) % 256]) % 256, n = r[u], r[u] = r[a], r[a] = n, i += String.fromCharCode(e.charCodeAt(l) ^ r[(r[u] + r[a]) % 256]); return i }, e.JdsPIo = {}, e.tasYjU = !0); var a = e.JdsPIo[t]; return void 0 === a ? (void 0 === e.QsqjJN && (e.QsqjJN = !0), r = e.DuPSzy(r, n), e.JdsPIo[t] = r) : r = a, r }, u = c(""0x0"", ""7K)@""), l = c(""0x1"", ""7[gJ""), p = c(""0x2"", ""PF%U""), d = c(""0x3"", ""iSZC""), h = c(""0x4"", ""oAdc""), f = c(""0x5"", ""#Sbo""), m = c(""0x6"", ""ZuP7""), g = c(""0x7"", ""ZuP7""), v = c(""0x8"", ""sm(h""), _ = c(""0x9"", ""y2td""), b = c(""0xa"", ""izto""), y = c(""0xb"", ""ZuP7""), w = c(""0xc"", ""TH62""), S = c(""0xd"", ""I1ZG""), C = c(""0xe"", ""N3C4""), A = c(""0xf"", ""&ocm""), I = c(""0x10"", ""#CqR""), k = 0, E = void 0, T = void 0; function N(e) { var t = {}; return t[c(""0x13"", ""x%oX"")] = c(""0x14"", ""6@gH""), o[t[c(""0x15"", ""Vnfv"")]](e[w])[S](e) } (""undefined"" == typeof window ? ""undefined"" : i(window)) !== c(""0x11"", ""#CqR"") && (E = window, T = window[c(""0x12"", ""THQC"")]); var x = {}; x[c(""0x16"", ""izto"")] = function() { this[I] = [] }, x[c(""0x17"", ""Zpl4"")] = function() { var e = {}, t = E[g][u][l] || E[g].body[l]; (function(e, t) { return e > t })(t, 0) && (e[l] = t, e[v] = function(e, t) { return e - t }(T[p](), k), this[I][A](e)), function(e, t) { return e > t }(this[I][w], 5) && this[I].shift() }, x[c(""0x18"", ""#Sbo"")] = function() { var e = [][S](o.es(""zc"")); return this[I][C](function(t) { e = e[S](o.en(t[l]), o.en(t[v])) }), N(e) }, x[c(""0x19"", ""C44F"")] = function() { if (!this[I][w]) return []; var e = [][S](o.ek(3, this[I])); return this[I][C](function(t) { e = e[S](o.va(t[l]), o.va(t[v])) }), e }; var O = {}; O[c(""0x1a"", ""x%oX"")] = function() { this[I] = [] }, O[c(""0x1b"", ""upcv"")] = function(e) { var t = c(""0x1c"", ""]pyO""), n = e || E.event, r = n[t].id || """", a = {}; a[y] = r, a[b] = n[b], a[_] = n[_], a[v] = function(e, t) { return e - t }(T[p](), k), this[I][A](a), function(e, t) { return e > t }(this[I][w], 5) && this[I].shift() }, O[c(""0x1d"", ""z77Q"")] = function() { var e = [][S](o.es(""wt"")); return this[I][C](function(t) { e = e[S](o.en(t[b]), o.en(t[_]), o.es(t[y]), o.en(t[v])) }), N(e) }, O[c(""0x1e"", ""THQC"")] = function() { if (!this[I][w]) return []; var e = [][S](o.ek(2, this[I])); return this[I][C](function(t) { e = e[S](o.va(t[b]), o.va(t[_]), o.va(t[v]), o.va(t[y][w]), o.sc(t[y])) }), e }; var D = {}; D[c(""0x1f"", ""#Sbo"")] = function() { this[I] = [] }, D[c(""0x20"", ""*&23"")] = function(e) { var t = e || window.event, n = t.keyCode || t.which; switch (n) { case 49: case 65: case 66: case 67: n = ""P""; break; case 50: case 68: case 69: n = ""D""; break; case 51: case 70: case 71: case 72: n = ""E""; break; case 52: case 73: case 74: n = ""R""; break; case 53: case 75: case 76: case 77: n = ""2""; break; case 54: case 78: case 79: n = ""0""; break; case 55: case 80: case 81: n = ""1""; break; case 56: case 82: case 83: case 84: n = ""9""; break; case 57: case 85: case 86: case 87: n = ""G""; break; case 48: case 88: case 89: case 90: n = ""O""; break; case 37: case 38: case 39: case 40: case 45: case 46: case 33: case 34: case 35: case 36: n = ""F""; break; case 32: n = ""S""; break; default: n = """" } var r = {}; r[h] = n, r[v] = function(e, t) { return e - t }(T[p](), k), this[I][A](r), function(e, t) { return e > t }(this[I][w], 5) && this[I].shift() }, D[c(""0x21"", ""1i$n"")] = function() { var e = [][S](o.es(""mq"")); return this[I][C](function(t) { e = e[S](o.es(t[h]), o.en(t[v])) }), N(e) }, D[c(""0x22"", ""x%oX"")] = function() { if (!this[I][w]) return []; var e = [][S](o.ek(6, this[I])); return this[I][C](function(t) { e = e[S](o.va(t[h][w]), o.sc(t[h]), o.va(t[v])) }), e }; var P = {}; P[c(""0x23"", ""HcdT"")] = function() { this[I] = [] }, P[c(""0x24"", ""(SmD"")] = function(e) { var t = function(e, t) { return e > t }, n = e || E.event, r = {}, a = E[g][u][l] || E[g].body[l]; if (function(e, t) { return e > t }(a, 0)) { var i = n.wheelDelta ? function(e, t) { return e < t }(n.wheelDelta, 0) ? 0 : 1 : n[d] ? t(n[d], 0) ? 0 : 1 : 2; r[l] = a, r[b] = n[b], r[_] = n[_], r.direction = i, r[v] = function(e, t) { return e - t }(T[p](), k), this[I][A](r) } t(this[I][w], 5) && this[I].shift() }, P[c(""0x25"", ""HcdT"")] = function() { var e = [][S](o.es(""cz"")); return this[I][C](function(t) { e = e[S](o.en(t[l]), o.en(t[b]), o.en(t[_]), o.en(t.direction), o.en(t[v])) }), N(e) }, P[c(""0x26"", ""hKvJ"")] = function() { if (!this[I][w]) return []; var e = [][S](o.ek(5, this[I])); return this[I][C](function(t) { e = e[S](o.va(t[b]), o.va(t[_]), o.va(t.direction), o.va(t[l]), o.va(t[v])) }), e }; var R = function() {}; e[c(""0x45"", ""fdLo"")][c(""0x46"", ""izto"")] && (R = function(e) { var t = {}; switch (t[c(""0x47"", ""fdLo"")] = c(""0x48"", ""Jg!W""), t[c(""0x49"", ""NDm9"")] = c(""0x4a"", ""vjJa""), t[c(""0x4b"", ""Jnhc"")] = c(""0x4c"", ""vjJa""), e.type) { case t[c(""0x4d"", ""&ocm"")]: x[f](e); break; case t[c(""0x4e"", ""i&wl"")]: O[f](e); break; case t[c(""0x4f"", ""]pyO"")]: D[f](e) } }); var M = {}; M[c(""0x50"", ""TH62"")] = function(e) { k = e }, M[c(""0x51"", ""GMwY"")] = function() { var e = {}; e[c(""0x27"", ""AC2P"")] = c(""0x28"", ""AC2P""), [x, O, D, P][C](function(t) { t[e[c(""0x29"", ""#Sbo"")]]() }) }, M[c(""0x52"", ""^ReD"")] = function() { var e = {}; e[c(""0x2a"", ""NDm9"")] = c(""0x2b"", ""IKWj""), e[c(""0x2c"", ""tM)k"")] = c(""0x2d"", ""IKWj""), e[c(""0x2e"", ""7K)@"")] = c(""0x2f"", ""&ocm""), e[c(""0x30"", ""50VW"")] = function(e, t) { return e in t }, e[c(""0x31"", ""#CqR"")] = c(""0x32"", ""TH62""), e[c(""0x33"", ""PF%U"")] = c(""0x34"", ""]pyO""), e[c(""0x35"", ""#CqR"")] = c(""0x36"", ""sm(h""), E[g][m](e[c(""0x37"", ""GMwY"")], O, !0), E[g][m](e[c(""0x38"", ""x%oX"")], x, !0), E[g][m](e[c(""0x39"", ""iSZC"")], D, !0), e[c(""0x3a"", ""iSZC"")](e[c(""0x3b"", ""(SmD"")], E[g]) ? E[g][m](e[c(""0x3c"", ""d8n["")], P, !0) : E[g][m](e[c(""0x3d"", ""y2td"")], P, !0) }, M[c(""0x53"", ""fdLo"")] = function() { [x, O, D, P][C](function(e) { e[I] = [] }) }, M[c(""0x54"", ""I1ZG"")] = function() { return [][S](x[c(""0x3e"", ""jH2w"")](), O[c(""0x18"", ""#Sbo"")](), D[c(""0x3f"", ""7K)@"")](), P[c(""0x40"", ""Jg!W"")]()) }, M[c(""0x55"", ""TH62"")] = function() { return [][S](x[c(""0x41"", ""]pyO"")](), O[c(""0x42"", ""7K)@"")](), D[c(""0x43"", ""N3C4"")](), P[c(""0x44"", ""ZuP7"")]()) }, M[c(""0x56"", ""gVIU"")] = R, t[c(""0x57"", ""AC2P"")] = M }).call(this, n(3), n(0)(e)) } ]) }, fkZF: function(e, t, n) { ""use strict""; function r() { for (var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 21, t = """"; t.length < e;) t += Math.random().toString(36).slice(2); return t.slice(0, e) } n.d(t, ""a"", function() { return r }) }, h3qu: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return a }), n.d(t, ""b"", function() { return i }), n.d(t, ""e"", function() { return o }), n.d(t, ""i"", function() { return s }), n.d(t, ""c"", function() { return c }), n.d(t, ""k"", function() { return u }), n.d(t, ""d"", function() { return l }), n.d(t, ""f"", function() { return d }), n.d(t, ""g"", function() { return h }), n.d(t, ""h"", function() { return f }), n.d(t, ""j"", function() { return m }); var r = { MiniProgram: /miniprogram/i, WeChat: /MicroMessenger/i, QQ: /QQ\/[\d\.]+\s+/i, QQAndQzone: /(QQ\/[\d\.]+\s+)|Qzone/i, QQApp: /QQ\//i, Weibo: /Weibo/i, Ios: /iphone|ipad|ipod/i, IosVersion: /os (\d+)_(\d+)_?(\d+)?/i, Android: /Android/i, AndroidVersion: /Android (\d+).?(\d+)?.?(\d+)?/i, AndroidNative: /phh_android_version/i, IosNative: /phh_ios_version/i, Mobile: /Android|webOS|iPhone|iPad|iPod/i, MaJiaBaoAndroid: /mjt_version/i, AndroidNativeVersion: /phh_android_version\/([^\s]+)\s*/i, IosNativeVersion: /phh_ios_version\/([^\s]+)\s*/i, MecoWebViewCore: /MecoCore\/(\d)/i, MecoWebViewSdk: /MecoSDK\/(\d)/i }, a = { Unknown: ""unknown"", PddIOS: ""ios"", PddAndroid: ""android"", MaJiaBaoAndroid: ""mjtAndroid"", PDDTinyAndorid: ""tinyAndroid"", WeChat: ""wechat"", Weibo: ""weibo"", QQ: ""qq"", QQApp: ""qqapp"", WxApp: ""wxapp"" }, i = { Android: ""android"", IOS: ""ios"", Unknown: ""unknown"" }; function o(e, t) { var n = t === a.PddAndroid ? r.AndroidNativeVersion : r.IosNativeVersion, i = e.match(n); return i && i[1] || """" } function s(e) { return r.MecoWebViewCore.test(e) && r.MecoWebViewSdk.test(e) } function c(e, t) { [e, t].forEach(function(e) { if (""string"" != typeof e) throw new TypeError(""Invalid argument expected string"") }); for (var n = function(e) { return e.split(""."").map(function(e) { return parseInt(e, 10) || 0 }) }, r = n(e), a = n(t), i = Math.max(r.length, a.length), o = 0; o < i; ++o) { var s = r[o] || 0, c = a[o] || 0; if (s !== c) return s - c } return 0 } function u() { return ""amcomponent:"" === window.location.protocol } function l(e, t, n) { return void 0 === e[t] && (e[t] = n), e[t] } function p() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; return r.MiniProgram.test(e) } function d() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; return r.AndroidNative.test(e) ? e.includes(""app_type/tiny"") ? a.PDDTinyAndorid : a.PddAndroid : r.IosNative.test(e) ? a.PddIOS : r.WeChat.test(e) ? p(e) ? a.WxApp : a.WeChat : r.Weibo.test(e) ? a.Weibo : r.QQApp.test(e) && p(e) ? a.QQApp : r.QQAndQzone.test(e) ? a.QQ : r.MaJiaBaoAndroid.test(e) ? a.MaJiaBaoAndroid : a.Unknown } function h(e) { return r.Ios.test(e) ? i.IOS : r.Android.test(e) ? i.Android : i.Unknown } function f(e) { var t = h(e), n = """"; if (t === i.IOS && (n = r.IosVersion), t === i.Android && (n = r.AndroidVersion), n) { var a = e.match(n); return (a ? [a[1], a[2], a[3]].map(function(e) { return e ? parseInt(e, 10) : 0 }) : []).join(""."") } return """" } function m() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; return r.Mobile.test(e) } }, hCBO: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return r }), n.d(t, ""b"", function() { return a }); var r = { IMAGE: ""pdd-lazy-image"" }, a = { thresholds: ""100px"" } }, hQH6: function(e, t, n) { ""use strict""; var r = n(""J4zp""), a = n.n(r), i = n(""lwsE""), o = n.n(i), s = n(""W8MJ""), c = n.n(s), u = n(""cDf5""), l = n.n(u), p = n(""uSI5""); var d = new(function() { function e() { o()(this, e), this.data = {} } return c()(e, [{ key: ""register"", value: function(e, t) { this.data[e] ? Object.assign(this.data[e], t) : this.data[e] = t } }, { key: ""matchModel"", value: function(e) { var t = e.code, n = e.uid, r = e.model, i = r.whiteList, o = void 0 === i ? [] : i, s = r.blackList, c = void 0 === s ? [] : s, u = (r.key, r.range); if (o.indexOf(n) >= 0) return !0; if (c.indexOf(n) >= 0) return !1; if (function(e) { return ""number"" == typeof e }(u)) return t < u; var l = a()(u, 2), p = l[0], d = l[1]; return t >= p && t < d } }, { key: ""enabled"", value: function(e) { (this.data[e] || (this.data[e] = {})).enabled = !0 } }, { key: ""disabled"", value: function(e) { (this.data[e] || (this.data[e] = {})).enabled = !1 } }, { key: ""isGrey"", value: function(e) { var t = e.name, n = e.key, r = e.uid, a = this.data[t]; if (!a) return !1; if (a.enabled) return !0; r = r || function() { var e = 0; if (""undefined"" == typeof window) return e; var t = localStorage.getItem(""0e4f9612e0fbe579"") || """"; if (String(t).match(/[0-9]{10}/) ? e = t : t && (e = parseInt(t, 36)), !e) { var n = document.cookie.split("";"").reduce(function(e, t) { var n = t.split(""=""); return e[String(n[0]).trim()] = n[1], e }, {}).pdd_user_id; n && (e = parseInt(n, 10)) } return e }(); var i, o = a.salt, s = void 0 === o ? """" : o, c = a.bucketCount, u = void 0 === c ? 100 : c, d = a.defaultModel, h = a.mode, f = void 0 === h ? ""hash"" : h, m = a.models, g = void 0 === m ? [] : m; if (function(e) { if (""object"" !== l()(e) || null === e) return !1; for (var t = e; null !== Object.getPrototypeOf(t);) t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t }(g) && (g = [g]), !r) return !(!d || n !== d); i = ""num"" === f ? function(e, t) { return parseInt(e) % t }(r, u) : function(e, t, n) { return Object(p.b)(e, t, n) }(u, s, r); for (var v = 0; v < g.length; v++) { var _ = g[v], b = _.key, y = this.matchModel({ code: i, uid: r, model: _ }); if (n && y && b === n) return !0; if (!n && y) return !0; if (y && b !== n) return !1 } return !(!d || n !== d) } }]), e }()); t.a = d }, hfGb: function(e, t, n) { ""use strict""; (function(e) { var r = n(""b5fu""), a = n(""9vQ7""), i = n(""uf4C""), o = n(""Fcpp""), s = i.a.getInstance(), c = { unknown: 0, wifi: 1, ""2g"": 2, ""3g"": 3, ""4g"": 4 }, u = { getNetWorkType: function() { var e = ""unknown""; return new Promise(function(t, n) { window.WeixinJSBridge && window.wx && window.wx.getNetworkType ? window.wx.ready(function() { window.wx.getNetworkType({ success: function(n) { n && n.networkType && (e = n.networkType), t(e) }, fail: function() { t(e) } }) }) : (navigator && navigator.connection && (e = navigator.connection.type || ""unknown""), t(e)) }) }, tracking: function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = { 1: 1, 2: .5, 4: .25, 5: .2, 10: .1 }, i = 1, u = 1; if (window.__CMT_AMPLIFY_RATE__) { var l = window.__CMT_AMPLIFY_RATE__; if (n[l]) i = +l, u = n[l]; else { var p = { op: ""real_error"", page_url: location.href, error_message: ""cmt放大倍数"".concat(l, ""不合法支持1,2,4,5,10"") }; o.a.trackingRecord(p) } } if (!(Math.random() > u)) { var d = t.requestTime, h = t.resTimeConsume, f = t.reqData, m = t.resData, g = t.apiUrl, v = t.statusCode, _ = t.cmtURL, b = 0, y = 0; f && (b = JSON.stringify(f).length), m && (y = JSON.stringify(m).length); var w = r.a.getRandomInteger(6); this.getNetWorkType().then(function(t) { var n = { v: 1, t: d, r: w, c: Object(a.a)(d + ""-"" + w), d: { t: Date.now(), tu: g, n: c[t] || 0, c: v, r: i, rt: h, q: b, p: y, e: { uid: r.a.getSelfUID(), page_id: s.getPageID(), model: navigator.userAgent } } }, o = { method: ""POST"", body: JSON.stringify(n), headers: { ""Content-Type"": ""application/json;charset=UTF-8"" }, credentials: ""include"" }; e(_, o) }) } } }; t.a = u }).call(this, n(""BlQd"")) }, i5gM: function(e, t, n) { ""use strict""; var r = n(""MVZn""), a = n.n(r), i = n(""Fcpp""), o = (n(""IgcI""), n(""lwsE"")), s = n.n(o), c = n(""W8MJ""), u = n.n(c), l = n(""xnWZ""), p = n(""uf4C"").a.getInstance(), d = function() { function e(t) { var n = Object.assign({}, t); s()(this, e), this.is_server = ""undefined"" == typeof window, this.op = ""real_error"", this.error_code = n.code, this.error_msg = n.msg, this.platform = this.is_server ? ""server"" : l.b.Current, this.is_server || (this.page_url = window.location.href, this.sub_op = ""mobile_"".concat(p.getPageName(), ""_custom_error""), this.page = n.stack ? n.message + "","" + n.stack : n.message), Object.assign(this, n) } return u()(e, [{ key: ""errorCode"", set: function(e) { this.error_code = e }, get: function() { return this.error_code } }, { key: ""errorMsg"", set: function(e) { this.error_msg = e }, get: function() { return this.error_msg } }]), e }(), h = n(""GTJB""); n.d(t, ""a"", function() { return f }); function f() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : h.a.DefaultCodeMsg, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, r = ""undefined"" == typeof window, o = a()({}, e, {}, t, {}, { message: t.message, stack: t.stack && t.stack.replace(/[\r\n]/g, "" "") }), s = new d(o); r && function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; e.errorCode, e.errorMsg, e.stack, t.isCatLog, t.isNodeKibanaLog; 0 }(s, n), r || i.a.trackingRecord(a()({}, s)) } }, iTkx: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return r }); var r = function(e) { return e.indexOf(""hutaojie"") >= 0 } }, iZ5V: function(e, t, n) { ""use strict""; t.a = function() { return ""/p/pre"" } }, ii9O: function(e, t, n) { ""use strict""; n.d(t, ""b"", function() { return T }); var r = n(""cDf5""), a = n.n(r), i = n(""MpJ2""), o = n(""KoDT""), s = n(""h3qu""), c = n(""mj+i""), u = n(""jtE3""), l = n(""fkZF""), p = n(""nx6v""), d = n(""uf4C""), h = n(""Fcpp""), f = n(""xFnu""), m = n(""DzJC""), g = n.n(m), v = Object(o.b)(window.navigator.userAgent), _ = [""/goods.html"", ""/subject.html"", ""/subjects.html"", ""/spike.html"", ""/order.html"", ""/order_checkout.html"", ""/orders.html"", ""/personal.html"", ""chat_detail.html"", ""chat_detail_logistics"", ""commercial_bargain_list.html"", ""mkt_bargain_list.html"", ""coupons.html"", ""mall_page.html"", ""/comm_brand_page.html"", ""group7.html"", ""/index.html""], b = d.a.getInstance(), y = {}, w = 300, S = Object(c.e)(window.location.search); function C(e) { h.a.trackingRecord({ op: ""real_error"", page: e.message + "" "" + JSON.stringify(e.stack), page_url: location.href }) } y = window.Navigation = { GroupUrl: v.isNativePlatform || [""app.yangkeduo.com"", ""panduoduo.yangkeduo.com""].indexOf(location.hostname) >= 0 ? ""group7.html"" : ""group8.html"", GoodsUrl: ""goods2.html"", nextPageQuery: {}, setNextPageQuery: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0; if (e && ""object"" === a()(e)) for (var n in e) if (e.hasOwnProperty(n)) { var r = e[n]; ""page_el_sn"" === n ? window.Navigation.nextPageQuery.refer_page_el_sn = r : window.Navigation.nextPageQuery[n] = r } t && ""function"" == typeof t && t() }, getNextPageQuery: function() { return window.Navigation.nextPageQuery }, home: function(e) { v.statisfy && v.statisfy(""1.2.2"", ""2.0.8"", ""greaterThan"") || v.isTinyNativePlatform ? Object(i.c)(""JSNavigation"", ""selectTab"", { tab_index: 0 }) : this.reset(""index.html"", e) }, haitao: function(e) { this.forward(""haitao.html"", e) }, reset: function(e, t) { var n = this; if (v.isNativePlatform || v.isTinyNativePlatform) Object(i.c)(""JSNavigation"", ""reset"", { url: Object(c.g)(e) }).then(function() { n.reload(e, t) }, function() { n.reload(e, t) }); else { var r = e || """"; r.indexOf(""/index.html"") >= 0 ? r = e.replace(""/index.html"", ""/"") : r.indexOf(""index.html"") >= 0 && (r = e.replace(""index.html"", ""/"")), n.forward(r, t) } }, reload: function(e, t) { var n = M(e = e ? b.addPageTransferParameters(e) : D(Object.assign({}, S, window.Navigation.querySet))); e = n.url; try { history.replaceState(null, """", e) } catch (e) {} if (v.isNativePlatform || v.isTinyNativePlatform) { var r = !1; try { r = ""1"" === Object(c.f)(e).use_urm_navigation } catch (e) { r = !1 } var a = { url: e, type: ""web"", props: { url: e } }; v.statisfy && v.statisfy(""4.26.0"", ""4.40.0"", ""greaterThanEqual"") && r && (a.type = """"); var o = b.getPageInfoByUrl(e); if (v.isNativePlatform && o.checkNativePageVersion(v.platform, v.version)) { var s = Object.assign({}, o.getNativeQuery(v.platform), { url: e }, a.props); return void window.Navigation.nativeAppPage(""replace"", o.getNativePageName(v.platform), s, t) } var u = b.getTransientReferPageParams(e); u && (a.transient_refer_page_context = u), Object(i.c)(""JSNavigation"", ""replace"", a).then(t) } else ! function() { try { history.replaceState(null, """", e) } catch (e) {} setTimeout(function() { window && window.location ? window.location = e : location.href = e, ""function"" == typeof t && t() }, 0) }() }, back: function(e, t, n, r) { r = r || {}, v.isNativePlatform || v.isTinyNativePlatform ? null == e ? Object(i.c)(""JSNavigation"", ""back"", { props: r.props || {} }).then(t) : Object(i.c)(""JSNavigation"", ""back"", { url: Object(c.g)(e), props: r.props || {} }).then(t) : setTimeout(function() { null == e || n ? history.back() : location.href = e, ""function"" == typeof t && t() }, 0) }, forward: function(e, t, n) { var r = this, a = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, o = e, s = this.prepareForwardUrl(e), l = s.launchApp, p = s.url; e = p, (l ? Object(u.a)(e) : Promise.reject()).catch(function() { 0 === o.indexOf(""//"") && (o = e); var s = b.getPageInfoByUrl(e); if (v.isNativePlatform || v.isTinyNativePlatform) { !a.componentFirst && Object(c.d)(o) || (e = Object(c.c)(e)); var u = Object(c.f)(e); if (!(""1"" === u.navigation_force_use_web_bundle) && s.checkNativePageVersion(v.platform, v.version)) return r.forwardNativeByPageInfo(e, s, t, a); var l = ""1"" === u.use_urm_navigation, p = a.props, d = a.transient_refer_page_context, h = Object.assign({ url: e, type: ""web"", props: Object.assign({ url: e }, p) }, { transient_refer_page_context: d }); v.statisfy && v.statisfy(""4.26.0"", ""4.40.0"", ""greaterThanEqual"") && l && (h.type = """"), null != n && (h.tab_index = n); var f = b.getTransientReferPageParams(e); f && (h.transient_refer_page_context = f), Object(i.c)(""JSNavigation"", ""forward"", h).then(t) } else r.webForward(e, t) }) }, initWxAppNavigateWait: function(e) { w = e || w, this.throttleForwardWxAppPage = x(w) }, throttleForwardWxAppPage: x(), webForward: function(e, t) { setTimeout(function() { N && N(e) ? y.throttleForwardWxAppPage(e) : location.href = e, ""function"" == typeof t && t() }, 0) }, prepareForwardUrl: function(e) { return window.Navigation.querySet = Object.assign({}, S, window.Navigation.querySet, { is_back: v.isNativePlatform ? null : ""1"" }), v.isWeChatMiniProgram || v.isQQMiniProgram || window.Navigation.replaceURL(D(window.Navigation.querySet)), e = b.addPageTransferParameters(e), M(e = D(window.Navigation.nextPageQuery, e)) }, forwardNativeByPageInfo: function(e, t, n) { var r = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : {}, a = Object.assign({}, t.getNativeQuery(v.platform), { url: e }, r.props); window.Navigation.nativeAppPage(""forward"", t.getNativePageName(v.platform), a, n) }, uniformForward: function(e, t) { var n = this, r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, a = e, o = this.prepareForwardUrl(e), s = o.launchApp, l = o.url; e = l, (s ? Object(u.a)(e) : Promise.reject()).catch(function() { 0 === a.indexOf(""//"") && (a = e); var o = b.getPageInfoByUrl(e); if (v.isNativePlatform || v.isTinyNativePlatform) { Object(c.d)(a) || (e = Object(c.c)(e)); var s = r.props, u = r.transient_refer_page_context, l = Object.assign({ url: e, type: ""web"", props: Object.assign({ url: e }, s) }, { transient_refer_page_context: u }); if (v.statisfy && v.statisfy(""4.26.0"", ""4.40.0"", ""greaterThanEqual"")) l.type = """"; else if (!(""1"" === Object(c.f)(e).force_use_web_bundle) && o.checkNativePageVersion(v.platform, v.version)) return n.forwardNativeByPageInfo(e, o, t, r); null != r.tab_index && (l.tab_index = r.tab_index); var p = b.getTransientReferPageParams(e); p && (l.transient_refer_page_context = p), Object(i.c)(""JSNavigation"", ""forward"", l).then(t) } else n.webForward(e, t) }) }, forwardComponentFirst: function(e, t, n, r) { (r = r || {}).componentFirst = !0, this.forward(e, t, n, r) }, forwardMenuPage: function(e, t) { v.isNativePlatform && Object(i.c)(""JSNavigation"", ""forward"", { type: ""menuPage"", props: { pages: e } }).then(t) }, forwardChatPage: function(e, t) { v.statisfy && v.statisfy(""1.2.2"", ""2.0.5"", ""greaterThan"") && Object(i.c)(""JSNavigation"", ""forward"", { url: ""/chat_detail.html"", type: ""chat"", props: e }).then(t) }, forwardMallPage: function(e) { if (v.statisfy && v.statisfy(""1.3.0"", ""2.1.0"", ""greaterThan"")) window.Navigation.forwardAppPage(""pdd_mall"", { mall_id: e }); else { var t = Object.assign({}, S, { mall_id: e }); for (var n in t) t.hasOwnProperty(n) && n.indexOf(""refer"") >= 0 && delete t[n]; [""et"", ""sp"", ""from"", ""isappinstalled""].forEach(function(e) { delete t[e] }), window.Navigation.forward(D({ is_back: null }, ""mall_page.html?"" + Object(c.b)(t))) } }, forwardAddressPage: function(e, t) { v.statisfy && v.statisfy(""1.3.1"", ""2.1.4"", ""greaterThanEqual"") ? window.Navigation.forwardAppPage(""address"", { select: e.select || 0, sale_provinces: e.saleRegions || [], allow_shipping_provinces: e.allowShippingRegions || [], address_id: e.addressID || """", complete: t }) : window.Navigation.forward(""addresses.html?"" + Object(c.b)(S, { sel_address_id: e.addressID, allowed_regions: e.saleRegions, allow_shipping_provinces: e.allowShippingRegions })) }, forwardSubjectsPage: function(e, t) { v.statisfy && v.statisfy(""3.15.0"", ""3.15.0"", ""greaterThanEqual"") ? v.platform === s.a.PddIOS ? window.Navigation.forward(""subjects.html?"" + Object(c.b)(e)) : window.Navigation.forwardAppPage(""pdd_subjects"", e) : window.Navigation.forward(""subjects.html?"" + Object(c.b)(e)) }, forwardAppPage: function(e, t, n) { window.Navigation.nativeAppPage(""forward"", e, t, n) }, maskAppPage: function(e, t) { Object(i.c)(""JSNavigation"", ""mask"", { type: e, props: t }) }, replaceURL: function(e, t) { var n = function() { try { history.replaceState(null, """", e), S = Object(c.f)(e) } catch (e) {} ""function"" == typeof t && t() }; v.statisfy && v.statisfy(""1.2.5"", ""2.1.0"", ""greaterThan"") ? Object(i.c)(""WebScene"", ""replaceURL"", { url: e }).then(function() { window.Navigation.CurrentWebUrl = e, ""function"" == typeof t && t() }, n) : n() }, querySet: null, replaceQuery: function(e, t) { window.Navigation.querySet = Object.assign({}, window.Navigation.querySet, e), ""function"" == typeof t && t() }, nativeAppPage: function(e, t, n, r) { ""reload"" === (e = e || ""forward"") && (e = ""replace""), ""backAndReload"" === e && (e = ""back""); var a = { type: t, props: n, transient_refer_page_context: b.getTransientReferPageParams(n) }; n.url && (a.url = n.url), Object(i.c)(""JSNavigation"", e, a).then(r) }, blackFriday: function(e, t, n) { this[e] || (e = ""forward""), t = t || {}; var r = ""/black_friday.html?"" + Object(c.b)(t); this[e](r) }, orderPage: function(e, t, n) { this[e] || (e = ""forward""), t = t || {}; var r = ""/order.html?"" + Object(c.b)(t), a = S.last_host || """"; a && location.hostname !== a && (r = ""//"" + a + r), this[e](r) }, ordersPage: function(e, t, n) { this[e] || (e = ""forward""), t = t || {}; var r = ""/orders.html?"" + Object(c.b)(t); this[e](r) }, double12: function(e, t, n) { this[e] || (e = ""forward""), t = t || {}; var r = ""/double12.html?"" + Object(c.b)(t); this[e](r) }, newYear: function(e, t, n) { this[e] || (e = ""forward""), t = t || {}; var r = ""/new_year.html?"" + Object(c.b)(t); this[e](r) }, orderCheckoutPage: function(e, t) { this[e] || (e = ""forward""); var n = """"; (t = t || {}).user_id; delete t.user_id, v.isWeChatPlatform && [""mobile.yangkeduo.com"", ""m.hutaojie.com"", ""panduoduo.yangkeduo.com""].indexOf(location.hostname) < 0 ? (t.last_host = location.hostname, n = ""//mobile.yangkeduo.com/order_checkout.html?"" + Object(c.b)(t)) : n = ""/order_checkout.html?"" + Object(c.b)(t), this[e](n) }, getGroupUrl: function(e, t) { location.hostname; return v.isWeChatPlatform && t ? ""//"" + p.a.WechatGroupHostname + ""/"" + this.GroupUrl + ""?group_order_id="" + e : """" }, genGroupPageUrl: function() { var e, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = v.isNativePlatform, r = v.isWeChatPlatform, a = p.a.VnsConstant || {}, i = a.SpecGroupDomain, o = a.GoodsEventTypeWhiteList || [], s = parseInt(t.goodsEventType, 10), u = o.indexOf(s) >= 0, l = t.urlParams, d = t.useSpecDomain, h = void 0 === d || d; t.addRandomSuffix && 654 === (e = Math.floor(9e3 * Math.random()) + 1) && (e = Math.floor(653 * Math.random()) + 1); var f = n ? ""group7.html"" : ""group"".concat(e || 8, "".html""); (u && (f = n ? ""vns_group.html"" : ""vns_group"".concat(e || """", "".html"")), l && l.biz_type) && (2012 === parseInt(l.biz_type, 10) && (f = ""mhf_free_group.html"")); (l && (f = """".concat(f, ""?"").concat(Object(c.b)(l))), r) && (!([""m.hutaojie.com"", ""panduoduo.yangkeduo.com""].indexOf(location.hostname) >= 0) && h && i && (f = ""//"".concat(i, ""/"").concat(f))); return f }, forwardGroupPage: function(e) { location.hostname; e = e || {}; var t = this.GroupUrl, n = t + ""?"" + Object(c.b)(e); v.isWeChatPlatform && [""m.hutaojie.com""].indexOf(location.hostname) < 0 && (n = ""//m.ishangtong.com/"" + t + ""?"" + Object(c.b)(e)), this.forward(n) } }; var A, I = 5e3; function k(e) { return Promise.race([new Promise(function(e, t) { var n, r = new Date; r.setMinutes(0, 0, 0); var a, i = r.getTime(), o = localStorage.getItem(""wxaPageMap""); if (o && (a = JSON.parse(o)) && (n = a[i]), n) e(n); else { var s = ""https://xcxcdn.yangkeduo.com/mini_program/sdk/v2/pddminiprogram.js?"" + Object(l.a)(); Object(f.a)(s, { async: !0, crossOrigin: ""anonymous"" }).then(function() { n = window.pddMiniProgram.routeConfig; var t = {}; t[i] = n, localStorage.setItem(""wxaPageMap"", JSON.stringify(t)), e(n) }).catch(function(e) { t(e) }) } }), function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : I; return new Promise(function(t, n) { setTimeout(function() { n(new Error(""timeout after "".concat(e, ""ms""))) }, e) }) }(e) ]).catch(function(e) { C(e) }) } function E(e, t) { if (e) try { var n = Object.keys(e).find(function(e) { return new RegExp(e).test(t) }); if (!n) return {}; var r = e[n], a = r.path, i = r.params, o = r.query, s = t.split(""#"")[0].split(""?"")[1]; if (s) { if (i) { var u = Object(c.e)(s), l = {}; Object.keys(u).forEach(function(e) { e in i ? l[i[e]] = u[e] : l[e] = u[e] }), a = a + ""?"" + Object(c.b)(l) } else a = a + ""?"" + s; o && (a = a + ""&"" + o) } else o && (a = a + ""?"" + o); return { routeType: r.routeType || ""navigateTo"", miniProgramUrl: a } } catch (e) { C(e) } return _.some(function(e) { return -1 !== t.indexOf(e) }) ? { routeType: ""navigateTo"", miniProgramUrl: ""/pages/web_bridge/web_bridge?targetpage="" + t.replace(""?"", ""&"") } : {} } function T(e, t) { return k(t).then(function(t) { return E(t, e).miniProgramUrl }) } function N(e) { var t = !1; if (!e || ""string"" != typeof e || !v.isWeChatMiniProgram && !v.isQQMiniProgram || !window.wx || !window.wx.miniProgram) return !1; if (A) try { return Object.keys(A).some(function(t) { return new RegExp(t).test(e) }) } catch (e) { C(e) } return _.forEach(function(n) { -1 !== e.indexOf(n) && (t = !0) }), t } function x() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : w; return g()(O, e, { trailing: !1 }) } function O(e, t) { var n = E(A, e), r = window.wx.miniProgram[n.routeType]; r && r({ url: n.miniProgramUrl, success: t }) } function D(e, t) { return t = Object(c.a)(e, Object(c.g)(t || location.href)) } function P(e) { return Object(c.c)(e).split(""?"")[0] } function R(e) { return window.__NAVIGATION_MAP__[e] ? window.__NAVIGATION_MAP__[e] : window.__NAVIGATION_MAP__[e.slice(1)] } function M(e) { var t = P(e), n = function(e) { if (window.__NAVIGATION_MAP__ && v.isWeChatPlatform) { for (var t = P(e), n = {}, r = t, a = null; void 0 !== R(r);) { if (void 0 !== n[r]) { console.error(""circular navigation route "".concat(t)); break } var i = R(r); if (""APP"" === i.toUpperCase()) return { finalPathName: r, finalUrlQuery: a, launchApp: !0 }; - 1 !== i.indexOf(""?"") && (a = Object.assign({}, a, Object(c.f)(i))), r = n[r] = P(i) } return { finalPathName: r, finalUrlQuery: a, launchApp: !1 } } return { finalPathName: null, finalUrlQuery: null, launchApp: !1 } }(e); if (n.finalPathName && n.finalPathName !== t) { var r = new RegExp(""(.*)"".concat(t)); e = e.replace(r, ""$1"".concat(n.finalPathName)), n.finalUrlQuery && (e = Object(c.a)(n.finalUrlQuery, e)) } return { url: e, launchApp: n.launchApp } } (v.isWeChatMiniProgram || v.isQQMiniProgram) && k().then(function(e) { A = e }), t.a = y }, jK0q: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, ""#delay-load {\n position: fixed;\n max-width: 768px;\n width: 77.6%;\n left: 11.2%;\n background-color: white;\n border-radius: 6px;\n text-align: center;\n z-index: 10002;\n top: 25.5%;\n}\n\n#delay-load .head-icon {\n margin: 20px 0;\n width: 38%;\n height: auto;\n}\n\n#delay-load .desc {\n color: #343434;\n font-size: 15px;\n line-height: 21px;\n padding: 0 24px;\n text-align: left;\n}\n\n#delay-load .button {\n margin-left: 29%;\n margin-top: 24px;\n margin-bottom: 24px;\n width: 42%;\n height: 32px;\n line-height: 32px;\n border-radius: 2px;\n color: white;\n font-size: 14px;\n}\n\n#delay-load .wait {\n background-color: #CFCCCC;\n}\n\n#delay-load .refresh {\n background-color: #FF2742;\n}"", """"]) }, jtE3: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return _ }); var r, a = n(""KoDT""), i = n(""h3qu""), o = n(""mj+i""), s = n(""fkZF""), c = ""com.xunmeng.pinduoduo"", u = ""pinduoduo:"", l = ""3.13.0"", p = ""wx77d53b84434b9d9a"", d = 2e3, h = 2500, f = ""微信sdk还没有初始化"", m = ""唤起App失败"", g = { openDirectly: 1, openByTag: 2, openByIframe: 3 }, v = Object(a.b)(window.navigator.userAgent); function _(e, t) { if (v.isNativePlatform || v.isWeChatMiniProgram) { return Promise.reject(new Error(""Native环境,node环境,微信小程序环境无法唤起"")) } var n = """".concat(u, ""//"").concat(c); return e = Object(o.c)(e), v.isWeChatPlatform ? window.wx ? new Promise(function(t) { window.wx.ready(function() { t(v.isIOSWeChatPlatform ? C("""".concat(n).concat(e)) : (v.isAndroidWeChatPlatform ? window.wx ? new Promise(function(e, t) { window.wx.ready(function() { if (!window.WeixinJSBridge || !window.WeixinJSBridge.invoke) return t(new Error(f)); window.WeixinJSBridge.invoke(""getInstallState"", { packageName: c, packageUrl: ""pinduoduo://"" }, function(n) { var r = n.err_msg, a = void 0 === r ? """" : r, i = n.versionName, o = void 0 === i ? """" : i; return /get_install_state:yes/.test(a) ? e({ installed: !0, version: o }) : /get_install_state:no/.test(a) ? e({ installed: !1, version: o }) : void t(new Error(a)) }) }) }) : Promise.reject(f) : Promise.reject(new Error(""不支持iOS""))).then(function(t) { var n = t.installed, r = t.version; if (n && Object(i.c)(r, l) > 0) return C(e.slice(1)); throw new Error("""".concat(m, "",安装状态:"").concat(JSON.stringify({ installed: n, version: r }))) })) }) }) : Promise.reject(new Error(f)) : function(e, t) { var n, a; void 0 !== document.hidden ? (n = ""hidden"", a = ""visibilitychange"") : void 0 !== document.webkitHidden && (n = ""webkitHidden"", a = ""webkitvisibilitychange""); var o = Date.now(), s = function() { return new Promise(function(e, t) { function i(o) { if (document.removeEventListener(a, i), clearTimeout(r), document[n] || o.hidden || ""hidden"" === document.visibilityState) return e(); t(new Error(m)) } document.addEventListener(a, i, !1), r = setTimeout(function() { return document.removeEventListener(a, i), document[n] || ""hidden"" === document.visibilityState ? e() : Date.now() - o > h ? e() : void t(new Error(m)) }, d) }) }; if (t) { switch (t) { case g.openByIframe: y(e); break; case g.openByTag: S(e); break; case g.openDirectly: b(e) } return s() } var c = navigator.userAgent.toLowerCase(), u = { isIOS: v.system === i.b.IOS, isAndroid: /android|adr/.test(c) && !/windows phone/.test(c), isChrome: /(?:chrome|crios)\/([\d\.]+)/.test(c), isQQ: /qq\/|mqqbrowser\/[\d\.]+/.test(c) }; u.isOriginalChrome = u.isAndroid && u.isChrome, u.isIOS || u.isQQ ? S(e) : u.isOriginalChrome ? b(e) : y(e); return s() }("""".concat(n).concat(e), t) } function b(e) { window.location.href = e } function y(e) { var t = document.createElement(""iframe""); t.src = e, t.style.display = ""none"", document.body.appendChild(t), setTimeout(function() { document.body.removeChild(t) }, 200) } var w = ""pdd-launch-node-"".concat(Object(s.a)()); function S(e) { var t = document.getElementById(w); t || ((t = document.createElement(""a"")).id = w, t.style.display = ""none"", document.body.appendChild(t)), t.href = e, t.click() } function C(e) { var t = ""from=wx_webview&forward_url="" + encodeURIComponent(e); return window.wx && window.wx.invoke ? new Promise(function(n, r) { window.wx.invoke(""launchApplication"", { appID: p, extInfo: t, messageExt: e }, function(e) { return ""launchApplication:ok"" === e.err_msg ? n() : r(new Error(m)) }) }) : Promise.reject(f) } }, kVsE: function(e, t) { ""undefined"" != typeof window && function(e, t) { ""use strict""; if (""IntersectionObserver"" in e && ""IntersectionObserverEntry"" in e && ""intersectionRatio"" in e.IntersectionObserverEntry.prototype) ""isIntersecting"" in e.IntersectionObserverEntry.prototype || Object.defineProperty(e.IntersectionObserverEntry.prototype, ""isIntersecting"", { get: function() { return this.intersectionRatio > 0 } }); else { var n = []; a.prototype.THROTTLE_TIMEOUT = 100, a.prototype.POLL_INTERVAL = null, a.prototype.USE_MUTATION_OBSERVER = !0, a.prototype.observe = function(e) { if (!this._observationTargets.some(function(t) { return t.element == e })) { if (!e || 1 != e.nodeType) throw new Error(""target must be an Element""); this._registerInstance(), this._observationTargets.push({ element: e, entry: null }), this._monitorIntersections(), this._checkForIntersections() } }, a.prototype.unobserve = function(e) { this._observationTargets = this._observationTargets.filter(function(t) { return t.element != e }), this._observationTargets.length || (this._unmonitorIntersections(), this._unregisterInstance()) }, a.prototype.disconnect = function() { this._observationTargets = [], this._unmonitorIntersections(), this._unregisterInstance() }, a.prototype.takeRecords = function() { var e = this._queuedEntries.slice(); return this._queuedEntries = [], e }, a.prototype._initThresholds = function(e) { var t = e || [0]; return Array.isArray(t) || (t = [t]), t.sort().filter(function(e, t, n) { if (""number"" != typeof e || isNaN(e) || e < 0 || e > 1) throw new Error(""threshold must be a number between 0 and 1 inclusively""); return e !== n[t - 1] }) }, a.prototype._parseRootMargin = function(e) { var t = (e || ""0px"").split(/\s+/).map(function(e) { var t = /^(-?\d*\.?\d+)(px|%)$/.exec(e); if (!t) throw new Error(""rootMargin must be specified in pixels or percent""); return { value: parseFloat(t[1]), unit: t[2] } }); return t[1] = t[1] || t[0], t[2] = t[2] || t[0], t[3] = t[3] || t[1], t }, a.prototype._monitorIntersections = function() { this._monitoringIntersections || (this._monitoringIntersections = !0, this.POLL_INTERVAL ? this._monitoringInterval = setInterval(this._checkForIntersections, this.POLL_INTERVAL) : (i(e, ""resize"", this._checkForIntersections, !0), i(t, ""scroll"", this._checkForIntersections, !0), this.USE_MUTATION_OBSERVER && ""MutationObserver"" in e && (this._domObserver = new MutationObserver(this._checkForIntersections), this._domObserver.observe(t, { attributes: !0, childList: !0, characterData: !0, subtree: !0 })))) }, a.prototype._unmonitorIntersections = function() { this._monitoringIntersections && (this._monitoringIntersections = !1, clearInterval(this._monitoringInterval), this._monitoringInterval = null, o(e, ""resize"", this._checkForIntersections, !0), o(t, ""scroll"", this._checkForIntersections, !0), this._domObserver && (this._domObserver.disconnect(), this._domObserver = null)) }, a.prototype._checkForIntersections = function() { var t = this._rootIsInDom(), n = t ? this._getRootRect() : { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 }; this._observationTargets.forEach(function(a) { var i = a.element, o = c(i), s = this._rootContainsTarget(i), u = a.entry, l = t && s && this._computeTargetAndRootIntersection(i, n), p = a.entry = new r({ time: e.performance && performance.now && performance.now(), target: i, boundingClientRect: o, rootBounds: n, intersectionRect: l }); u ? t && s ? this._hasCrossedThreshold(u, p) && this._queuedEntries.push(p) : u && u.isIntersecting && this._queuedEntries.push(p) : this._queuedEntries.push(p) }, this), this._queuedEntries.length && this._callback(this.takeRecords(), this) }, a.prototype._computeTargetAndRootIntersection = function(n, r) { if (""none"" != e.getComputedStyle(n).display) { for (var a = c(n), i = l(n), o = !1; !o;) { var u = null, p = 1 == i.nodeType ? e.getComputedStyle(i) : {}; if (""none"" == p.display) return; if (i == this.root || i == t ? (o = !0, u = r) : i != t.body && i != t.documentElement && ""visible"" != p.overflow && (u = c(i)), u && !(a = s(u, a))) break; i = l(i) } return a } }, a.prototype._getRootRect = function() { var e; if (this.root) e = c(this.root); else { var n = t.documentElement, r = t.body; e = { top: 0, left: 0, right: n.clientWidth || r.clientWidth, width: n.clientWidth || r.clientWidth, bottom: n.clientHeight || r.clientHeight, height: n.clientHeight || r.clientHeight } } return this._expandRectByRootMargin(e) }, a.prototype._expandRectByRootMargin = function(e) { var t = this._rootMarginValues.map(function(t, n) { return ""px"" == t.unit ? t.value : t.value * (n % 2 ? e.width : e.height) / 100 }), n = { top: e.top - t[0], right: e.right + t[1], bottom: e.bottom + t[2], left: e.left - t[3] }; return n.width = n.right - n.left, n.height = n.bottom - n.top, n }, a.prototype._hasCrossedThreshold = function(e, t) { var n = e && e.isIntersecting ? e.intersectionRatio || 0 : -1, r = t.isIntersecting ? t.intersectionRatio || 0 : -1; if (n !== r) for (var a = 0; a < this.thresholds.length; a++) { var i = this.thresholds[a]; if (i == n || i == r || i < n != i < r) return !0 } }, a.prototype._rootIsInDom = function() { return !this.root || u(t, this.root) }, a.prototype._rootContainsTarget = function(e) { return u(this.root || t, e) }, a.prototype._registerInstance = function() { n.indexOf(this) < 0 && n.push(this) }, a.prototype._unregisterInstance = function() { var e = n.indexOf(this); - 1 != e && n.splice(e, 1) }, e.IntersectionObserver = a, e.IntersectionObserverEntry = r } function r(e) { this.time = e.time, this.target = e.target, this.rootBounds = e.rootBounds, this.boundingClientRect = e.boundingClientRect, this.intersectionRect = e.intersectionRect || { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 }, this.isIntersecting = !!e.intersectionRect; var t = this.boundingClientRect, n = t.width * t.height, r = this.intersectionRect, a = r.width * r.height; this.intersectionRatio = n ? a / n : this.isIntersecting ? 1 : 0 } function a(e, t) { var n = t || {}; if (""function"" != typeof e) throw new Error(""callback must be a function""); if (n.root && 1 != n.root.nodeType) throw new Error(""root must be an Element""); this._checkForIntersections = function(e, t) { var n = null; return function() { n || (n = setTimeout(function() { e(), n = null }, t)) } }(this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT), this._callback = e, this._observationTargets = [], this._queuedEntries = [], this._rootMarginValues = this._parseRootMargin(n.rootMargin), this.thresholds = this._initThresholds(n.threshold), this.root = n.root || null, this.rootMargin = this._rootMarginValues.map(function(e) { return e.value + e.unit }).join("" "") } function i(e, t, n, r) { ""function"" == typeof e.addEventListener ? e.addEventListener(t, n, r || !1) : ""function"" == typeof e.attachEvent && e.attachEvent(""on"" + t, n) } function o(e, t, n, r) { ""function"" == typeof e.removeEventListener ? e.removeEventListener(t, n, r || !1) : ""function"" == typeof e.detatchEvent && e.detatchEvent(""on"" + t, n) } function s(e, t) { var n = Math.max(e.top, t.top), r = Math.min(e.bottom, t.bottom), a = Math.max(e.left, t.left), i = Math.min(e.right, t.right), o = i - a, s = r - n; return o >= 0 && s >= 0 && { top: n, bottom: r, left: a, right: i, width: o, height: s } } function c(e) { var t; try { t = e.getBoundingClientRect() } catch (e) {} return t ? (t.width && t.height || (t = { top: t.top, right: t.right, bottom: t.bottom, left: t.left, width: t.right - t.left, height: t.bottom - t.top }), t) : { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 } } function u(e, t) { for (var n = t; n;) { if (n == e) return !0; n = l(n) } return !1 } function l(e) { var t = e.parentNode; return t && 11 == t.nodeType && t.host ? t.host : t } }(window, document) }, kk8N: function(e, t, n) { ""use strict""; var r = n(""cDf5""), a = n.n(r), i = {}; i = function() { if (window.pinbridge) return window.pinbridge; var e = 0, t = {}; return { check: function(e, t, n, r) { e && t || n && n(!1), this.callNative(""AMBridgeAPI"", ""check"", { module_name: e, method_name: t }, function(e) { n && n(e && e.exist) }, function() { r ? r() : n && n(!1) }) }, callNativeImpl: window._fastJsN ? function(e, t, n, r) { var a = ""function"" == typeof window._fastJsN.callNative && window._fastJsN.callNative(e, t, n ? JSON.stringify(n) : null, r); return (a = a ? JSON.parse(a) : null) && a.hasOwnProperty(""errorCode"") && (this.callback(a.callID, a.errorCode, a.data), this.removeCallback(a.callID)), a } : function(e, t, n, r) { var a = ""pinbridge:///request?t="" + e + ""&m="" + t + ""&p="" + encodeURIComponent(JSON.stringify(n)) + ""&c="" + r; ""undefined"" != typeof pinbridgeex ? alert(a) : this.loadURL(a, t) }, callNative: function(n, r, i, o, s) { i = i || {}; var c = ++e; return t[c] = { onSuccess: o, onError: s }, i = function n(r) { if (""object"" !== a()(r)) return r; var i = {}; for (var o in ""[object Array]"" === Object.prototype.toString.call(r) && (i = []), r) if (r.hasOwnProperty(o)) { var s = r[o]; if (""function"" == typeof s) { var c = ++e; t[c] = { func: s }, i[o] = ""__aimi_function_"" + c } else ""object"" === a()(s) && null !== s ? i[o] = n(s) : i[o] = s } return i }(i), this.callNativeImpl(n, r, i, c) }, loadURL: function(e, t) { if (window && window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.hybridAPIMessageHandler) window.webkit.messageHandlers.hybridAPIMessageHandler.postMessage({ url: e }); else { if (null != (navigator.userAgent || navigator.vendor || window.opera).match(/phh_android_version/i)) return void alert(e); var n = document.createElement(""iframe""); n.setAttribute(""src"", e), n.setAttribute(""style"", ""display:none;""), n.setAttribute(""height"", ""0px""), n.setAttribute(""width"", ""0px""), n.setAttribute(""frameborder"", ""0""), document.body.appendChild(n), n.parentNode.removeChild(n), n = null } }, callback: function(e, n, r) { r = r || {}; var a = t[e]; a && (a.func ? a.func(n, r) : 0 === n && a.onSuccess ? a.onSuccess(r) : 0 !== n && a.onError && a.onError(r, n)) }, callbackFromNative: function(e, t, n) { this.callback(e, t, n) }, removeCallback: function(e) { delete t[e] }, decodeFunctions: function(e) { if (""object"" === a()(e)) { var t = this; for (var n in e) if (e.hasOwnProperty(n)) { var r = e[n]; if (""string"" == typeof r && 0 === r.indexOf(""__aimi_function_"")) { var i = r.substring(""__aimi_function_"".length).split(""_""); 3 === i.length && function() { var r = parseInt(i[0]), a = parseInt(i[1]), o = parseInt(i[2]); isNaN(r) || isNaN(a) || isNaN(o) || (e[n] = function(e, n) { t.callNative(""AMBridgeAPI"", ""callback"", { bridge_id: a, context_id: o, call_id: r, error_code: e, response: n }) }) }() } else ""object"" === a()(r) && t.decodeFunctions(r) } } } } }(), window.pinbridge = i, t.a = i }, m3Hr: function(e, t, n) { ""use strict""; var r, a = n(""pVnL""), i = n.n(a), o = n(""QILm""), s = n.n(o), c = n(""lwsE""), u = n.n(c), l = n(""W8MJ""), p = n.n(l), d = n(""a1gu""), h = n.n(d), f = n(""Nsbk""), m = n.n(f), g = n(""7W2i""), v = n.n(g), _ = n(""q1tI""), b = n.n(_), y = (n(""17x9""), n(""hCBO"")), w = n(""yt/x""), S = n(""003K""); n(""yT0K""); n.d(t, ""a"", function() { return C }); var C = function(e) { function t() { var e, n; u()(this, t); for (var r = arguments.length, a = new Array(r), i = 0; i < r; i++) a[i] = arguments[i]; return (n = h()(this, (e = m()(t)).call.apply(e, [this].concat(a)))).myRef = b.a.createRef(), n } return v()(t, e), p()(t, [{ key: ""componentDidMount"", value: function() { this._startLazyLoad() } }, { key: ""componentDidUpdate"", value: function() { this._startLazyLoad() } }, { key: ""_startLazyLoad"", value: function() { var e = this.props.src; this._lastSrc !== e && this.lazyLoader && (this.lazyLoader.start({ el: this.myRef.current, src: e }), this._lastSrc = e) } }, { key: ""render"", value: function() { var e = this.props, t = (e.src, e.className), n = void 0 === t ? """" : t, r = s()(e, [""src"", ""className""]); return b.a.createElement(""img"", i()({ ref: this.myRef }, r, { className: """".concat(y.a.IMAGE, "" "").concat(n) })) } }, { key: ""lazyLoader"", get: function() { return Object(w.c)(this.context) ? this.context : (r || (r = new S.a), r) } }]), t }(b.a.Component); C.contextType = w.a }, ""mG/U"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return r }), n.d(t, ""b"", function() { return a }); var r = { AUTHENTICATION_FAILED: 40001, API_SERVICE_BUSY: 40002, GRAPHICAL_CODE_FOR_PHONE_CODE: 40017, LOGIN_FAILED: 40020, ITEM_REMOVED: 41002, OUT_OF_STOCK: 41003, NOT_IN_LUCKY_TIME: 41005, ADDRESS_UNREACHABLE: 41006, UPDATE_USER_PROFILE_FORBIDDEN: 43035, NO_COUPON_LEFT: 44010, COUPON_TAKEN: 44011, COUPON_TAKE_FAILED: 44012, COUPON_TAKEN_OUT: 44026, PERSONAL_INFO_NO_ID: 45007, ORDER_PAYED: 45008, NEED_VERFICATION: 45054, GROUP_INVALID: 46001, GROUP_FAILED: 42003, OVER_BUY_LIMIT: 42004, GROUP_OVERFLOW: 42005, GROUP_AUTO_OPEN_FAILED: 42006, GROUP_AUTO_OPEN_SUCCESS: 42007, ID_CARD_EMPTY: 43004, NO_NAME_ID_BEFORE: 43006, ID_CARD_FAKE: 43008, ID_CARD_FAIL_TOO_MUCH: 43009, INSUFFICIENT_COUPON: 44047, AVAILABLE_COUPONS_PER_UNIT: 44201, NO_SUCH_ORDER: 45001, PREPAY_BUSY: 45009, ORDER_PAYING: 45010, PAYMENT_DISABLED: 45210, SPIKE_COMING: 45034, ORDER_PAY_RISK: 45206, ORDER_PAY_VERIFICATION_INVALID: 45207, ORDER_ALREADY_URGED: 47030, ORDER_URGE_ERROR: 47031, NATIVE_NORMAL_ERROR: 6e4, NATIVE_PARAMS_ERROR: 60003, NATIVE_USER_REFUSE: 60005, NATIVE_USER_CANCEL: 60006, NATIVE_AUDIO_RECORD_FAILED: 60200, NATIVE_AUDIO_RECORD_UNDETERMINED: 60201, NATIVE_AUDIO_TOO_SHORT: 60205, NATIVE_AUDIO_UPLOAD_FAILED: 60210, NATIVE_AUDIO_PLAY_FAILED: 60220, SUCCESSIVE_MOBILE_FEE_ONLY_ONCE: 45036, SUCCESSIVE_MOBILE_FEE_RISK: 45037, SUCCESSIVE_MOBILE_FEE_UNSIGNED: 45038, SUCCESSIVE_MOBILE_FEE_ONLY_WECHAT: 45039, OVER_BUY_VIRTUAL_GOODS_LIMIT: 45033, AVAILABLE_ACTIVITY_CHANGED: 45516, GROUP_COMPLETED: 42001, INVALID_ADDRESS: 43002, COUPON_DAILY_LIMIT: 44037, COUPON_BATCH_LIMIT: 44038, COUPON_TOKEN_INVALID: 44041, COUPON_TOKEN_EXPIRED: 44042, COUPON_PUSH_NOT_IN: 44043, COUPON_ACTIVITY_ABSENT: 44044, MULTIPLY_DISCOUNT_PAUSE: 44064, MULTIPLY_DISCOUNT_END: 44066, COUPON_MAX_NUM_REACHED: 44200, HISTORY_GROUP_OPEN_FAILED: 46014, GOODS_NOT_EXIST: 49001, RISK_CONTROL: 54001, RISK_CONTROL_FORBIDDEN: 54003, NATIVE_PAYMENT_CANCEL: 60006, WITHOUT_WE_CHAT_CLIENT: 60100, QQ_PAY_FAILED: 60120, ORDER_LIMITED_SALES_END: 152004, ORDER_LIMITED_SALES_OUT: 152006, PAY_LIMITED_SALES_END: 47102, PAY_LIMITED_SALES_OUT: 47003, SERVER_BUSY: 4000004, ORDER_SPIKE_MSG_ERROR: 4000006, WX_DIRECT_PAY_WX_BALANCE_ERROR: 400001, WX_DIRECT_PAY_CARD_BALANCE_ERROR: 400002, WX_DIRECT_PAY_TELEPHONE_ERROR: 400003, WX_DIRECT_PAY_CARD_INVALID_ERROR: 400004, WX_DIRECT_PAY_REFUSED_ERROR: 400005, WX_DIRECT_PAY_UNKNOWN_ERROR: 400099, ACT_GROUP_NOT_EXISTS: 530001, ACT_GROUP_FAILED: 530002, ACT_GROUP_SUCCESS: 530003, ACT_RECORD_NOT_EXISTS: 530004, PAY_CHANNEL_NOT_SUPPORT: 530005, ACT_RECORD_PAID: 530006, ACT_RECORD_REFUND: 530007, ASSIST_FOR_ONE_DAILY_LIMIT: 530011, ASSIST_FOR_ONE_LIMIT: 530012, ""1101_MSG"": ""手机网络繁忙,请稍后再试"", ""30400_MSG"": ""没有安装QQ客户端"", ""40000_MSG"": ""错误的请求地址或方法"", ""40001_MSG"": ""登录已过期,请重新登录"", ""40002_MSG"": ""手机网络繁忙,请稍后再试"", ""40003_MSG"": ""错误的请求参数"", ""40004_MSG"": ""微信登录失败"", ""40005_MSG"": ""请求还在处理中"", ""40006_MSG"": ""手机登录验证码错误"", ""40015_MSG"": ""验证码重复请求"", ""40016_MSG"": ""验证码超出当天限制"", ""40017_MSG"": ""今日可发送次数已达上限"", ""40018_MSG"": ""验证码填写错误"", ""40019_MSG"": ""验证码填写超时"", ""40020_MSG"": ""登录失败"", ""40031_MSG"": ""微信登录失败!"", ""40032_MSG"": ""QQ登录失败!"", ""40033_MSG"": ""登录重试失败,请稍后再试"", ""40100_MSG"": ""暂未开通该开放平台"", ""41001_MSG"": ""商品不存在"", ""41002_MSG"": ""商品已下架"", ""41003_MSG"": ""商品已售罄"", ""41004_MSG"": ""商品不在同一商店"", ""41005_MSG"": ""该商品当前不在抽奖活动时间"", ""41006_MSG"": ""商品不在可售区域"", ""41101_MSG"": ""抽奖活动暂不支持单独购买"", ""41102_MSG"": ""卡券可使用的时间已过期,请选购其他商品"", ""42001_MSG"": ""拼单已满"", ""42002_MSG"": ""该拼单不存在"", ""42003_MSG"": ""拼单已过期"", ""42004_MSG"": ""您购买此商品次数达到上限,去看看其他商品吧~"", ""42005_MSG"": ""该商品开团数已达上限"", ""42006_MSG"": ""拼单已满"", ""42007_MSG"": ""此拼单已满,正在发起新拼单..."", ""42501_MSG"": ""订单已成团,暂不支持修改收货地址,请与商家客服联系"", ""42502_MSG"": ""该订单已拼单成功,请刷新页面"", ""43001_MSG"": ""用户不存在"", ""43002_MSG"": ""地址错误"", ""43004_MSG"": ""身份证号不存在"", ""43005_MSG"": ""姓名和身份证号不一致"", ""43006_MSG"": ""对不起,您无法获取或更新身份证号"", ""43007_MSG"": ""对不起,您已用完当前最大验证次数,请24小时后再试"", ""43008_MSG"": ""姓名和身份证不匹配,请重新认证"", ""43009_MSG"": ""您今日认证过于频繁,请明天再试"", ""43010_MSG"": ""该地址已存在"", ""43011_MSG"": ""该地址无法导入"", ""43013_MSG"": ""一小时内不能重复提交"", ""43015_MSG"": ""只允许微信用户够买"", ""43016_MSG"": ""创建地址失败"", ""43017_MSG"": ""最多只能添加100个收货地址哦~"", ""43035_MSG"": ""系统维护中,暂时无法修改"", ""43098_MSG"": ""您在店铺没有拼单成功记录,请勿发红包!拼多多不支持通过发红包购买商品!"", ""43099_MSG"": ""该商品仅限新用户购买一件哦~"", ""44001_MSG"": ""优惠券不存在"", ""44002_MSG"": ""优惠券已使用"", ""44003_MSG"": ""优惠券没有达到最小使用金额"", ""44004_MSG"": ""优惠券已过期"", ""44005_MSG"": ""优惠券不属于用户"", ""44006_MSG"": ""优惠券已废弃"", ""44007_MSG"": ""优惠券暂未到使用时间"", ""44008_MSG"": ""优惠券不能在该分类使用"", ""44010_MSG"": ""优惠券已经抢完了,下次早点来哦"", ""44011_MSG"": ""您已经领过该优惠券"", ""44012_MSG"": ""优惠券领取失败"", ""44015_MSG"": ""不是团长不能使用团长免单优惠券"", ""44016_MSG"": ""优惠券批次不存在"", ""44020_MSG"": ""正在处理中,请稍后再试!"", ""44026_MSG"": ""该券太火爆,全部已被领完"", ""44027_MSG"": ""活动已结束!"", ""44033_MSG"": ""优惠券使用失败"", ""44035_MSG"": ""批次类型错误"", ""44036_MSG"": ""团免券已被领完"", ""44037_MSG"": ""用户已达团免券日领取上限"", ""44038_MSG"": ""您已领取该券"", ""44039_MSG"": ""未找到符合条件的团免券批次"", ""44041_MSG"": ""领取失败"", ""44042_MSG"": ""领取链接已失效,下次早点哦"", ""44043_MSG"": ""不符合领取条件哦"", ""44044_MSG"": ""该优惠券活动不存在"", ""44045_MSG"": ""不在活动时间"", ""44046_MSG"": ""只有无订单的新用户可领取哦"", ""44047_MSG"": ""红包券数量不够"", ""44061_MSG"": ""多件优惠活动结束"", ""44063_MSG"": ""多件优惠已经享受过了"", ""44064_MSG"": ""多件优惠活动暂未开始"", ""44065_MSG"": ""多件优惠活动暂未开始"", ""44066_MSG"": ""多件优惠活动结束"", ""44067_MSG"": ""商家券和多件优惠活动不能同时使用"", ""44072_MSG"": ""分享码已过期"", ""44073_MSG"": ""免拼卡不足"", ""44076_MSG"": ""不符合免拼卡的使用条件"", ""44090_MSG"": ""商品活动未开始"", ""44091_MSG"": ""商品活动已结束"", ""44092_MSG"": ""商品活动不存在"", ""44093_MSG"": ""活动商品已售罄"", ""44095_MSG"": ""商品活动已结束"", ""44096_MSG"": ""商品活动不存在"", ""44097_MSG"": ""您购买的该活动商品数量已达上限"", ""44098_MSG"": ""商品订单已创建"", ""44099_MSG"": ""商品活动有误"", ""44100_MSG"": ""您未获取抢购资格,不可购买该商品"", ""44200_MSG"": ""已达红包使用数量上限"", ""44201_MSG"": ""每满{0}元可用{1}个红包"", ""45001_MSG"": ""订单不存在"", ""45002_MSG"": ""订单不属于该用户"", ""45003_MSG"": ""订单不能取消"", ""45004_MSG"": ""订单商品不一致"", ""45005_MSG"": ""订单已经收货"", ""45006_MSG"": ""订单还未发货"", ""45007_MSG"": ""海淘订单没有提交身份证"", ""45008_MSG"": ""订单已支付"", ""45009_MSG"": ""支付繁忙,请重试"", ""45010_MSG"": ""订单正在支付中"", ""45012_MSG"": ""手机充值号码为空"", ""45013_MSG"": ""手机充值号码不支持"", ""45014_MSG"": ""手机充值商品不存在"", ""45015_MSG"": ""确认收货失败"", ""45023_MSG"": ""正在处理您的退款/售后申诉,无法主动确认收货"", ""45026_MSG"": ""超过购买商品限制"", ""45030_MSG"": ""订单正在处理中,请刷新页面"", ""45031_MSG"": ""单次购买金额不得高于9.5万元"", ""45033_MSG"": ""超过每个手机号码购买次数限制"", ""45034_MSG"": ""抱歉,秒杀尚未开始,请稍候"", ""45035_MSG"": ""该商品为App新人专享秒杀,非首次下载App24小时内的用户无法发起拼单"", ""45036_MSG"": ""每名用户只能购买一次哦"", ""45037_MSG"": ""你的当前登录帐号有些风险哦,建议先直接去充值吧"", ""45038_MSG"": ""包月套餐订单购买免密校验失败"", ""45039_MSG"": ""包月套餐功能升级中,当前只支持微信帐号登录的用户哦"", ""45040_MSG"": ""限购商品暂时无法购买哦~"", ""45041_MSG"": ""本次活动期间已抢到过一张神券,不能再抢了~"", ""45042_MSG"": ""手机网络繁忙,请稍后再试"", ""45043_MSG"": ""该类型商品本次活动期间您已抢过,不能再抢了~"", ""45044_MSG"": ""您好,该商品仅可购买一次哦~"", ""45045_MSG"": ""该商品仅能在拼多多App中购买!"", ""45046_MSG"": ""该商品仅允许微信登录用户购买!"", ""45047_MSG"": ""超过该商品每次购买件数限制"", ""45050_MSG"": ""您已经在本场下过单了,去看看其他商品吧~"", ""45051_MSG"": ""已购买过此类优惠商品,看看其他商品吧"", ""45052_MSG"": ""您最近购买此商品次数达到上限,去看看其他商品吧~"", ""45053_MSG"": ""手机网络繁忙,请稍后再试"", ""45054_MSG"": ""需验证码校验!"", ""45055_MSG"": ""手机网络繁忙,请稍后再试"", ""45104_MSG"": ""不是定金类型订单"", ""45105_MSG"": ""订单已取消"", ""45106_MSG"": ""订单已确认"", ""45107_MSG"": ""定金未成团"", ""45110_MSG"": ""未到尾款支付时间"", ""45111_MSG"": ""超过尾款支付时间"", ""45112_MSG"": ""未到定金支付时间"", ""45113_MSG"": ""超过定金支付时间"", ""45206_MSG"": ""创建订单存在风险"", ""45207_MSG"": ""创建订单验证码非法"", ""45208_MSG"": ""价格有变动,请返回上一页查看"", ""45209_MSG"": ""请更换支付方式,花呗分期暂不可用"", ""45210_MSG"": ""手机网络繁忙,请稍后再试"", ""45301_MSG"": ""店铺补差价金额达到上限!"", ""45320_MSG"": ""未获取活动资格!"", ""45321_MSG"": ""该活动必须是微信APP用户参加!"", ""45322_MSG"": ""该活动同一用户不可重复参加!"", ""45323_MSG"": ""该活动同一设备不可重复参加!"", ""45324_MSG"": ""该活动用户微信置信度较低!"", ""45325_MSG"": ""非APP新用户"", ""45326_MSG"": ""手机网络繁忙,请稍后再试"", ""45327_MSG"": ""账户存在风险,无法下单"", ""45402_MSG"": ""该商品秒杀活动已结束"", ""45403_MSG"": ""该商品免单活动已结束"", ""45404_MSG"": ""该商品买二送一活动已结束"", ""45405_MSG"": ""该商品秒杀活动已结束"", ""45406_MSG"": ""该活动已结束"", ""45407_MSG"": ""该活动已结束"", ""45412_MSG"": ""该商品多件优惠活动已结束"", ""45413_MSG"": ""该商品限时免单活动已结"", ""45416_MSG"": ""该商品优惠活动已结束"", ""45417_MSG"": ""该活动已结束"", ""45418_MSG"": ""该优惠商品已被抢空"", ""45420_MSG"": ""该活动已结束"", ""45422_MSG"": ""该活动已结束"", ""45423_MSG"": ""该活动已结束"", ""45424_MSG"": ""该包月活动已结束"", ""45425_MSG"": ""您向商家补的差价已经超过上限"", ""45428_MSG"": ""该商品属于活动商品,无法正常购买"", ""45429_MSG"": ""该地区暂时无货"", ""45450_MSG"": ""此海淘商品仅支持微信支付"", ""45500_MSG"": ""商品信息和充值号码不匹配"", ""45501_MSG"": ""新地址暂不支持,请重新选择"", ""45511_MSG"": ""您不是专属用户,不能以特惠价开团哦~"", ""45514_MSG"": ""库存不足"", ""45515_MSG"": ""低于最低起售件数"", ""45516_MSG"": ""该商品有更低价的优惠活动,请刷新购买"", ""46001_MSG"": ""团订单不存在"", ""46002_MSG"": ""无法重复参团"", ""46012_MSG"": ""商品售罄,免拼失败,拼单到期后将退款"", ""46013_MSG"": ""秒杀活动结束,免拼失败,拼单到期后将退款"", ""46014_MSG"": ""插队拼单已满"", ""47003_MSG"": ""限量件数已被抢光,请重新选购"", ""47010_MSG"": ""折扣活动检查失败"", ""47011_MSG"": ""限时折扣活动已经使用"", ""47012_MSG"": ""限时折扣活动未开启"", ""47013_MSG"": ""限时折扣活动未到开始时间"", ""47014_MSG"": ""限时折扣活动已经结束"", ""47015_MSG"": ""商家券和限时折扣活动不能同时使用"", ""47030_MSG"": ""已经催过了,正在尽快发货"", ""47031_MSG"": ""催发货请求异常,请稍后重试"", ""47101_MSG"": ""支付失败,限时折扣活动已结束"", ""47102_MSG"": ""支付失败,限量折扣活动已结束,请重新购买"", ""48001_MSG"": ""图片格式错误"", ""48002_MSG"": ""图片大小超过限制"", ""49001_MSG"": ""商品不存在"", ""50000_MSG"": ""当前访问人数较多,请稍后再试"", ""50001_MSG"": ""今天票数已用完,明天再来吧"", ""50002_MSG"": ""当前有未完成的团"", ""54001_MSG"": ""该账户需要安全验证"", ""54003_MSG"": ""该账户安全验证未通过,暂时无法登录"", ""60000_MSG"": """", ""60001_MSG"": ""该团已经结束"", ""60002_MSG"": ""确认收货失败"", ""60003_MSG"": ""参数错误"", ""60004_MSG"": ""您已退款成功,无须确认收货"", ""60005_MSG"": ""用户拒绝"", ""60006_MSG"": ""用户取消"", ""60007_MSG"": ""确认收货失败,请稍后重试"", ""60100_MSG"": ""未安装微信客户端"", ""60110_MSG"": ""未安装微博客户端"", ""60120_MSG"": ""未安装手机QQ"", ""60200_MSG"": ""录制失败"", ""60201_MSG"": ""录音没有权限"", ""60205_MSG"": ""录音时间过短"", ""60210_MSG"": ""上传失败"", ""60220_MSG"": ""播放失败"", ""71001_MSG"": ""获取售后列表失败"", ""71002_MSG"": ""申请售后失败"", ""71003_MSG"": ""获取售后单详情失败"", ""71004_MSG"": ""售后单添加售后信息失败"", ""71005_MSG"": ""售后单修改失败"", ""71006_MSG"": ""撤销售后失败"", ""71007_MSG"": ""售后单用户确认发货失败"", ""71008_MSG"": ""售后单重新申请失败"", ""71009_MSG"": ""售后单申请平台介入失败"", ""71010_MSG"": ""钱款去向查询失败"", ""71011_MSG"": ""留言标记失败"", ""71012_MSG"": ""售后用户待处理未读数量获取失败"", ""71013_MSG"": ""售后未读留言数目获取失败"", ""71014_MSG"": ""获取付款类型失败"", ""71015_MSG"": ""获取售后原因失败"", ""71016_MSG"": ""获取我要发货列表失败"", ""71017_MSG"": ""获取是否使用平台优惠券失败"", ""71018_MSG"": ""售后单用户确认完成失败"", ""71019_MSG"": ""获取小额打款详情失败"", ""71020_MSG"": ""填写账户信息失败"", ""80001_MSG"": ""投票活动已结束"", ""144073_MSG"": ""您没有免拼卡,请返回重新下单"", ""144076_MSG"": ""不符合免拼卡的使用条件"", ""144078_MSG"": ""请求失败,请重新发起支付"", ""152001_MSG"": ""限量折扣活动已经使用"", ""152002_MSG"": ""限量折扣活动未开启"", ""152003_MSG"": ""限量折扣活动未到开始时间"", ""152004_MSG"": ""限量折扣活动已经结束"", ""152005_MSG"": ""商家券和限量折扣活动不能同时使用"", ""152006_MSG"": ""限量件数已被抢光,请重新选购"", ""152010_MSG"": ""已达到该商品活动期内的最多购买件数,不能再抢了~"", ""400001_MSG"": ""微信零钱不足,且未绑定银行卡,请绑定银行卡再试,或邀请好友代付"", ""400002_MSG"": ""银行卡余额不足,请绑定其他银行卡再试,或邀请好友代付"", ""400003_MSG"": ""银行卡预留手机号不符,请核对后再试,或邀请好友代付"", ""400004_MSG"": ""银行卡已失效,请核对后再试,或邀请好友代付"", ""400005_MSG"": ""银行拒绝交易,请核对后再试,或邀请好友代付"", ""400099_MSG"": ""支付未完成,请更换支付方式"", ""450130_MSG"": ""商品信息和充值号码不匹配"", ""450131_MSG"": ""该商品每个号码每月限充一次"", ""530001_MSG"": ""团不存在"", ""530002_MSG"": ""团已失效"", ""530003_MSG"": ""团已满"", ""530004_MSG"": ""助力单不存在"", ""530005_MSG"": ""不支持该支付方式"", ""530006_MSG"": ""助力单已支付"", ""530007_MSG"": ""助力单已退款"", ""530008_MSG"": ""不在活动时间"", ""530009_MSG"": ""您已经拿过该商品了,不要贪心哦"", ""530010_MSG"": ""已达到今日帮忙付款次数上限,明日再来吧"", ""530011_MSG"": ""已达到今日帮助该好友次数上限,明日再来吧~"", ""530012_MSG"": ""已经达到帮助该好友支付次数上限,赶紧去帮助其他人吧~"", ""530013_MSG"": ""不符合免费帮忙条件"", ""530014_MSG"": ""您不是拼多多App新人,不能开团哦"", ""3000001_MSG"": ""充值失败,请稍后重试"", ""3000002_MSG"": ""话费充值失败,请稍后重试"", ""3000003_MSG"": ""话费充值下单失败,请稍后重试"", ""4000004_MSG"": ""手机网络繁忙,请稍后再试"", ""4000005_MSG"": ""手机网络繁忙,请稍后再试"", ""4000006_MSG"": """", ""12960005_MSG"": ""商品不存在"", ""12960006_MSG"": ""活动未开始"", ""12960007_MSG"": ""商品已售罄"", ""12960008_MSG"": ""拼单人数已满"", ""12960009_MSG"": ""只有App新人才能参团哦"", ""12960010_MSG"": ""帐号信息异常"", ""12960012_MSG"": ""该商品一次只能购买1件哦"", ""12960014_MSG"": ""请使用微信登录再下单"", ""12960016_MSG"": ""你已经开过团了,请勿重复开团"", ""12960017_MSG"": ""今日开团次数已用完,明天再来吧"", ""12960018_MSG"": ""今日参团次数已用完,明天再来吧"", ""12960019_MSG"": ""该商品你今日已经参过团了"", ""20504005_MSG"": ""手机网络繁忙,请稍后再试"", ""20504101_MSG"": ""团订单不存在"" }, a = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : """"; return r["""".concat(e, ""_MSG"")] || t } }, mKPX: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""render"", value: function() { var e, t = this; this.props.title && (e = f.a.createElement(""p"", { className: ""title"" }, this.props.title)); var n = []; return this.props.desc && this.props.desc.forEach(function(e, t) { n.push(f.a.createElement(""p"", { className: ""desc"", key: t }, e)) }), f.a.createElement(""div"", { style: { display: this.state.display }, className: ""bg-fill app-bg-fill"" }, f.a.createElement(""div"", { id: ""confirm-app-download"", className: ""confirm-app-update"" }, f.a.createElement(""div"", { className: ""detail"" }, e, n, f.a.createElement(""div"", { className: ""buttons"" }, f.a.createElement(""div"", { className: ""cancel-button"", onClick: function(e) { t.clickCancel(e) } }, this.props.cancel), f.a.createElement(""div"", { className: ""confirm-button"", onClick: function(e) { t.clickConfirm(e) } }, this.props.confirm))))) } }]), t }(n(""+zrp"").a); m.defaultProps = { desc: [""你安装的拼多多App版本过低,请更新后分享这个团""], confirm: ""前往更新"", cancel: ""取消"" }, t.default = m }, mKaX: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, "".modal-popup-backdrop {\n background-color: rgba(0, 0, 0, 0.8);\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: -1;\n}"", """"]) }, ""mj+i"": function(e, t, n) { ""use strict""; n.d(t, ""d"", function() { return i }), n.d(t, ""b"", function() { return o }), n.d(t, ""e"", function() { return s }), n.d(t, ""c"", function() { return c }), n.d(t, ""a"", function() { return u }), n.d(t, ""f"", function() { return l }), n.d(t, ""g"", function() { return p }); var r = n(""J4zp""), a = n.n(r); function i(e) { return /^[a-z][a-z\d+.-]*:/.test(e) } function o(e) { return Object.entries(e).reduce(function(e, t) { var n = a()(t, 2), r = n[0], i = n[1]; return null == i ? e : e + ""&"" + encodeURIComponent(r) + ""="" + encodeURIComponent(String(i)) }, """").slice(1) } function s(e) { return (e = ""?"" === e[0] ? e.slice(1) : e).split(""&"").reduce(function(e, t) { if (t) { var n = function(e, t) { if ("""" === t) return [e]; var n = e.indexOf(t); return -1 === n ? [e] : [e.slice(0, n), e.slice(n + t.length)] }(t, ""=""), r = a()(n, 2), i = r[0], o = r[1], s = void 0 === o ? """" : o; e[decodeURIComponent(i)] = decodeURIComponent(s) } return e }, {}) } function c(e) { if (0 === e.indexOf(""amcomponent://"")) { var t = e.indexOf(""/"", ""amcomponent://"".length); return -1 === t ? ""/"" : e.slice(t) } return i(e) ? (e = function(e) { 0; var t = document.createElement(""a""); return t.href = e, t }(e)).pathname + e.search + e.hash : ""/"" === e.charAt(0) ? e : ""/"" + e } function u(e, t) { var n = l(t = t || """"), r = o(Object.assign({}, n, e)); return r ? [t.split(""?"")[0], r].join(""?"") : t } function l(e) { return s((e.split(""#"")[0] || """").split(""?"")[1] || """") } function p(e) { return function(e) { if (0 === window.location.href.indexOf(""amcomponent://"")) return c(e); var t = document.createElement(""a""); return t.href = e, t.href }(e) } }, ""n2/S"": function(e, t, n) { ""use strict""; (function(e) { var r = n(""b5fu""), a = n(""xnWZ""), i = n(""kk8N""), o = n(""hfGb""), s = n(""s1mm""), c = n(""tWR7""), u = n(""Fcpp""), l = n(""3OdE""), p = n(""wylq""), d = n(""hQH6""), h = n(""pTOB""), f = n(""rvpN""), m = l.a.error, g = l.a.constant, v = {}, _ = function(e, t, n, a, i, o, s, u, l) { var p = arguments.length > 9 && void 0 !== arguments[9] ? arguments[9] : {}; if ((l = parseInt(l, 10) || 0) >= 500) r.a.call(i); else { var d = t.indexOf(""?""), h = """"; d >= 0 && (h = t.substring(d + 1), t = t.substring(0, d)); var f = c.a.parseQuery(h), m = f.retry || 0; if (m < g.APIRetryLimit) { var v = 2e3 * ++m; l >= 500 && (v *= 10), setTimeout(function() { t = t + ""?"" + c.a.buildQuery(f, { retry: m }), b(e, t, n, a, i, o, s, u, null, null, p) }, v) } else r.a.call(i) } }, b = function(t, n, l, v, b, w, S, C, A, I) { var k = arguments.length > 10 && void 0 !== arguments[10] ? arguments[10] : {}; if (window.__512_BLOCK_DISABLED || !Object(h.b)({ url: n })) { try { t = t.toUpperCase() } catch (e) { throw new Error(""apiRequest method should be a string"") } var E = ""POST"" === t && !a.b.isModuleVersion && !a.b.isTinyNativePlatform() && d.a.isGrey({ name: ""no-options"" }), T = !a.b.isModuleVersion && !a.b.isTinyNativePlatform() && d.a.isGrey({ name: ""options"" }), N = { pdduid: r.a.getSelfUID() || parseInt(r.a.getCookieByName(g.CookieKey.UID), 10) || 0, is_back: ""1"" === c.a.getParameter(""is_back"") ? ""1"" : null }; E && (N.__json = 1); var x = !1; 0 === n.indexOf(""http"") && (x = !0); var O = n.split(""?""), D = """"; if (x) D = n; else { var P = function(e) { return !(!window.__THIRD_AREA && !Object({ BROWSER: !0, ISAVALON: !1, BUNDLE_PLATFORM: ""production"" }).THIRD_AREA) && Object(p.a)(e) }(O[0]) ? y.apiDomainV5 : y.apiDomain; D = P + [O[0], (O[1] ? O[1] + ""&"" : """") + c.a.buildQuery(N)].join(""?"") } if (!E && T) { var R = function(e, t) { for (var n = 0; n < t.length; n++) if (-1 !== e.indexOf(t[n])) { e = e.replace(t[n], location.host + ""/proxy/api""); break } return e }; switch (location.hostname) { case ""m.hutaojie.com"": D = R(D, [""apiv2.hutaojie.com"", ""api.pinduoduo.com""]); break; case ""panduoduo.yangkeduo.com"": case ""mobile.yangkeduo.com"": D = R(D, [""apiv3.yangkeduo.com"", ""api.pinduoduo.com""]) } } ""POST"" === t && (A = !0); var M = function(e) { if (null == e) return 0; var t = e.error_code; return null == t ? null : ""number"" == typeof t ? t : parseInt(t, 10) }, L = function(e, t) { var n = M(e); if (t && (n && (t.statusCode = n), void 0 !== t.statusCode && o.a.tracking(t)), null == n) r.a.call(v, e); else { var i = !0; if (a.b.isModuleVersion) { var c = a.b.getAppVersion(); i = a.b.Current === a.b.IOS && r.a.compareVersion(c, ""4.45.0"") < 0 || a.b.Current === a.b.Android && r.a.compareVersion(c, ""4.40.0"") < 0 } if (54001 === n && i) { var u = d.a.isGrey({ name: ""psnl_floating_captcha"" }), l = document.createEvent(""CustomEvent""), p = (e || {}).verify_auth_token; l.initCustomEvent && l.initCustomEvent(u ? ""FLOATING_CAPTCHA"" : ""RISK_CONTROL"", !0, !0, { verifyAuthToken: p }), localStorage.setItem(""VerifyAuthToken"", p), document.dispatchEvent(l) } null != C && C || !s.a || r.a.call(s.a, n, e), r.a.call(b, n, e) } }, U = localStorage.getItem(""AccessToken"") || """", W = localStorage.getItem(""VerifyAuthToken""); if (a.b.isModuleVersion || a.b.isTinyNativePlatform()) { var B = { method: t, url: D, headers: { ""Content-Type"": ""application/json;charset=UTF-8"", ""p-mode"": ""1"", Referer: ""file:///"" + c.a.fullURL(location.href) }, data: Object(f.a)(l) ? """" : JSON.stringify(l) }; B.headers.AccessToken = U, W && (B.headers.VerifyAuthToken = W); Date.now(); i.a.callNative(""JSNetwork"", ""request"", B, function(e) { var t = null; try { var n = decodeURIComponent(e.response); ""string"" == typeof n && (t = JSON.parse(n)) } catch (e) { t = { error_code: 0 } } L(t) }, function(e, o) { var s = e ? e.error_code : 0; u.a.trackingRecord({ op: ""real_error"", sub_op: ""api_error_app"", url: t + "":"" + n, params: JSON.stringify(l || {}), page_url: location.href, error_code: s }), a.b.isNativeLogVersion && i.a.callNative(""AMLog"", ""log"", { message: n + "" failed, "" + JSON.stringify(l) }), A ? r.a.call(b, e, o) : _(t, n, l, v, b, w, S, C) }) } else { var G = Object.assign({}, k.headers); E ? (l = l || {}, U && (l.AccessToken = U), W && (l.VerifyAuthToken = W), G[""Content-Type""] = ""text/plain;charset=UTF-8"") : (G.AccessToken = U, W && (G.VerifyAuthToken = W), G[""Content-Type""] = Object(f.a)(l) ? ""application/x-www-form-urlencoded;charset=UTF-8"" : ""application/json;charset=UTF-8""); var Q = { method: t, body: Object(f.a)(l) ? null : JSON.stringify(l), headers: G, credentials: ""include"" }, j = Date.now(); e(D, Q).then(function(e) { if (e.status < 500) return e.json().then(function(t) { return { status: e.status, responseJSON: t } }); var t = new Error(e.statusText); return t.status = e.status, e.json().then(function(e) { throw t.data = e, t.responseJSON = e, t }).catch(function() { throw t.data || (t.responseJSON = { error_code: 0 }), t }) }).then(function(e) { if (e.status >= 200 && e.status < 300) return e.responseJSON; var t = new Error(e.responseJSON.error_msg || ""error""); throw t.responseJSON = e.responseJSON, t.status = e.status, t }).then(function(e) { L(e, { requestTime: j, resTimeConsume: Date.now() - j, reqData: l, resData: e, apiUrl: D, statusCode: 200, cmtURL: y.cmtURL }) }).catch(function(e) { ! function(e, a) { e && 512 === e.status && e.data && e.data.time && e.data.uri && Object(h.a)(e.data); var i = null, c = 0, p = e && e.message; null != e && (i = e.responseJSON, c = M(i)), a && c && (a.statusCode = c, o.a.tracking(a)); var d = p ? e.message : JSON.stringify(e), f = { op: ""real_error"", sub_op: ""api_error"", url: t + "":"" + D, params: JSON.stringify(l || {}), page_url: location.href, error_message: d, status_code: e && e.status, error_code: c }, g = !1; if (0 !== c || (u.a.trackingRecord(f), g = !0, A || p)) { if (parseInt(c, 10) === parseInt(m.AuthenticationFailed.code, 10)) { var y = document.createEvent(""HTMLEvents""); y.initEvent(""FORCE_LOGIN"", !0, !0), document.dispatchEvent(y) } else g || u.a.trackingRecord(f); null != C && C || !s.a || r.a.call(s.a, c, i, f), r.a.call(b, c, i) } else _(t, n, l, v, b, w, S, C, e.status, k) }(e, { requestTime: j, resTimeConsume: Date.now() - j, reqData: l, resData: e.responseJSON, apiUrl: D, statusCode: e.status, cmtURL: y.cmtURL }) }) } } }, y = l.a.get(location.host); v = { apiRetry: _, apiRequest: b, failHandler: s.a }, t.a = v }).call(this, n(""BlQd"")) }, nGR4: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return k }); var r = n(""MVZn""), a = n.n(r), i = n(""o0o1""), o = n.n(i), s = n(""yXPU""), c = n.n(s), u = n(""lwsE""), l = n.n(u), p = n(""W8MJ""), d = n.n(p), h = n(""a1gu""), f = n.n(h), m = n(""Nsbk""), g = n.n(m), v = n(""7W2i""), _ = n.n(v), b = n(""q1tI""), y = n.n(b), w = n(""19V+""), S = n(""2z+c""), C = n(""mG/U""), A = (n(""17x9""), n(""kMSe"")), I = { redirectUrl: ""/"", requireLogin: !0, fallbackCSR: !1, beforeRender: function(e, t, n) { return !0 }, renderSpinner: function() { return y.a.createElement(E, null) } }; function k(e, t) { return function(n) { var r = function(t) { function r() { return l()(this, r), f()(this, g()(r).apply(this, arguments)) } return _()(r, t), d()(r, [{ key: ""componentDidMount"", value: function() { var e = c()(o.a.mark(function e() { var t = this; return o.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!this.props.stores.some(function(e) { return !e.isServerRendered })) { e.next = 6; break } return e.next = 4, Promise.all(this.props.stores.map(function(e) { return e.initClientData(t.props.pageInfo) })); case 4: e.next = 7; break; case 6: this.props.stores.forEach(function(e) { return e.prepareClientData() }); case 7: this.props.stores.forEach(function(e) { return e.finishInitLoading() }); case 8: case ""end"": return e.stop() } }, e, this) })); return function() { return e.apply(this, arguments) } }() }, { key: ""componentDidCatch"", value: function(e, t) { throw console.log(""renderError:"", e), console.log(""renderInfo:"", t), e } }, { key: ""render"", value: function() { return this.props.stores.every(function(e) { return e.isFinishInitLoading }) ? y.a.createElement(n, null) : r.appConfig.renderSpinner() } }], [{ key: ""createStores"", value: function() { return Object.keys(e).reduce(function(t, n) { return t[n] = new e[n], t }, {}) } }]), r }(y.a.Component); return r.displayName = ""appProvider("".concat(n.displayName || n.name, "")""), r.appConfig = a()({ dealServerError: function(e) { return ""needLogin"" === e.errorCode ? (console.warn(""string errorCode is deprecated, use number!""), null) : e.errorCode === C.a.AUTHENTICATION_FAILED || t.fallbackCSR ? null : e }, errorTemplateName: t.serverTemplateName }, I, {}, t), Object(A.c)(r) } } var E = function(e) { function t() { return l()(this, t), f()(this, g()(t).apply(this, arguments)) } return _()(t, e), d()(t, [{ key: ""componentDidMount"", value: function() { S.a.checkRequestTimeout(), w.a.showWithoutBg() } }, { key: ""componentWillUnmount"", value: function() { S.a.clearRequestTimeout(), w.a.hide() } }, { key: ""render"", value: function() { return null } }]), t }(b.Component) }, nx6v: function(e, t, n) { ""use strict""; var r = { CookieKey: { AccessToken: ""PDDAccessToken"", ApiUid: ""api_uid"", WebpEnable: ""webp"", UA: ""ua"", AB: ""ab"", SP: ""sp"", GP: ""gp"", UID: ""pdd_user_id"", UIN: ""pdd_user_uin"", UserGrade: ""egrp"", EnableFriendSys: ""grayscaleCheck"", EnableFriendSysV2: ""friendsGrayCheck"", EnableFriendSysBlock: ""enableFriendSys"" }, LocalStorageKey: { AccessToken: ""AccessToken"", ShowAlertDelayLoad: ""ShowAlertDelayLoad"", DelayLoadTimestamp: ""DelayLoadTimestamp"", UID: ""0e4f9612e0fbe579"", UIN: ""830d7c3797f9909d"", NewbeeGift: ""0a6afe66ccefef54"", FreeCouponsIndex: ""index_tz"", DailyBonusPopupIndex: ""7a5de4367f649a03"", CouponExpireIndex: ""f716c62e2e3288b1"", SpikePopupIndex: ""d0866c111048f54d"", CashCouponIndex: ""7653fa9ca40ead38"", LastGoodsID: ""LASTGOODSID"", LastVisitGoods: ""c3a4ac3acbffadc9"", LastGroupOrderID: ""LASTGROUPORDERID"", LastVisitGroup: ""72d02a9490f4271b"", GoodsLikeData: ""LIKEDATA"", MallCollection: ""mall_collection"", SuperSpike: ""e4429941e04239f6"", WeixinInfo: ""weixinInfo"", ReloadAddresses: ""reloadAddresses"", PartnerList: ""b493518d3aacfa04"", OrderInfoCaches: ""ORDER_INFO_CACHES"", CheckAppDownload: ""e1adaa118ffc8534"", AppDownloadUsers: ""618bf2394a0be09f"", InCacheOrderType: ""in_cache_order_type"", Speical99: ""speical99"", OnePurchase: ""onePurchase"", LastRankIndex: ""LAST_RANK_INDEX"", LastVisitData: ""lastVisitData"", SearchHistory: ""SEARCH_HISTORY"", FreeTrial: ""58b303885a50357c"", FreeTrialAlert: ""freeTrialAlert"", LastPaymentType: ""LastPaymentType"", AfterPayed: ""afterpayed"", IndexTopTab: ""indexTopTab"", LastPersonalMsg: ""LastPersonalMsg"", IphoneResultKey: ""LuckyWheelIphoneResult"", AB: ""ab"", SP: ""sp"", GP: ""gp"", UserGrade: ""egrp"", UnpayedAlarm: ""92ca653d1cf78902"", WeChatH5Pay: ""WeChatH5Pay"", SubscribeStatus: ""c6476b07198e8483"", ChatDetailErrorLog: ""chatDetailErrorLog"", FlashGroupsEntryGroupOrderId: ""9442b710cca5b1f0"", FriendsRecommendViewed: ""friendsRecommendViewed"", TabbarUnreadNum: ""tabbarUnreadNum"", TabbarTimelineUnread: ""TabbarTimelineUnread"", EnableFriendSys: ""grayscaleCheck"", EnableFriendSysV2: ""friendsGrayCheck"", EnableFriendSysBlock: ""enableFriendSys"", FlashGroupsCouponLimitHintExpire: ""63b3bfa7dfdf22f4"", ChatListFirstVisit: ""chatListFirstVisit"", ChatListBanner: ""C54EC9936654B0A7"", PincardMuseumVisited: ""93FBEFC3DF68056D"", TimelineReadStatus: ""55790604e73d05da"", TimelineMarkWelcome: ""TimelineMarkWelcome"", TimelineMarkRead: ""TimelineMarkRead"", ForceContactIndex: ""forceContactIndex"", GroupShareInfo: ""groupShareInfo"", DuoduoGroupCouponWindow: ""duoduoGroupCouponWindow"", DailyBonusSignTwiceSharedChannels: ""087F448C77D9F393"", WxCheckPdd: ""WxCheckPdd"", MissionInvitedMaskShownNo: ""723d889304ca174c"", OrderPaidTimes: ""order_paid_times"" }, SessionStorageKey: { PromotionActivitySpikeScrollLeft: ""pa_spike_scroll_left"", CollectionMallIDsCheck: ""mall_ids_check"", CollectionMallID: ""mall_id"", NewListVersion: ""305c866edaf1428c"", SubscribeContent: ""9d2fdf29802b5217"", DelayReloadURL: ""ff1c05658e2b717c"", ChatListIsRetry: ""chatListIsRetry"", GoodsDetailData: ""6DDF639E6DDD937E"", FlashGroupsPreviousData: ""1D4B94DE54811B5F"", UserIsContactTester: ""879B8CDE4DEC97C9"", UnpayedAlarmTime: ""unpayed_alarm_time"", MallNewArrivalsLikeMallsAction: ""mall_like_action"", DriftBottleInfo: ""driftBottleInfo"" }, ABTestSessionKey: { ApiV3: ""vpc"" } }, a = { EventType: { DEFAULT: 0, LUCKY_DRAW: 1, SPIKE: 2, TZMD: 3, GET_EXTRA_FOR_FREE: 4, SUPER_SPIKE: 5, NEW_USER_GROUP: 6, FREE_TRIAL: 7, CAPITAL_GIFT: 8, CAPITAL_GIFT_LOTTERY: 9, TZYY: 10, DEPOSITE_GROUP: 11, MULTIPLY_GOODS_DISCOUNT: 12, LIMITED_TIME_FREE: 13, THOUSAND_PEOPLE_GROUP: 14, DUODUO_JINBAO: 15, LIMITED_TIME_DISCOUNT: 16, APP_NEWER_JOIN_GROUP: 17, LIMITED_QUANTITY_DISCOUNT: 18, WELFARE: 19, LUCKY_DRAW_MUST_WIN: 20, ACT_FREE_GROUP: 21, SIGN_IN: 23, MONTHLY_MOBILE_FARE: 24 }, GoodsType: { DEFAULT: 1, IMPORTS: 2, OVERSEAS_TRANSSHIP: 3, OVERSEAS_DM: 4, MOBILE_DATA: 5, MOBILE_FARE: 6, TRADE_COUPON: 7, QQ: 8, GAS_CARD: 9, COMPENSATION: 10, WECHAT_RED_ENVELOPE: 11, SIGN_IN_BONUS: 12, AUDIO_VISUAL_MEMBER: 16 }, CategoriesType: { CHARGE_CENTER: 81, VIP_CHARGE: 3672 } }, i = { Default: 0, Resubscribe: 1, GroupBanner: 2, NewUserGroup: 3, ABAlert: 4, LuckyWheel: 5, AfterpayAlert: 6, GPAlert: 7, PPAlert: 8, DefaultV2: 9, SMAlert: ""SMAlert"", PortalSubscribeTopBanner: ""PortalSubscribeTopBanner"", GoodsSubscribeTopBanner: ""GoodsSubscribeTopBanner"", NewYearSubscribeTopBanner: ""NewYearSubscribeTopBanner"", CouponShareSubscribeTopBanner: ""CouponShareSubscribeTopBanner"", BirthpetJoinGame: ""BirthpetJoinGame"", BirthpetShareCard: ""BirthpetShareCard"", GroupShareForceContact: ""GroupShareForceContact"", FreeGroupForceContact: ""FreeGroupForceContact"" }, o = { CouponBatchType: { GroupFreeCoupon: 7, MallCoupon: 8, GoodsCoupon: 9, VirtualGoods: 13, TZYYCoupon: 16, CategoryCoupon: 17, RepeatedCoupon: 18 }, CouponDisplayType: { GroupFreeCoupon: 7, MallCoupon: 8, TradeCoupon: 9, GoodsTypeCoupon: 17, Category: 18, App: 19, AppMobileFare: 20, Cash: 21, PddCouponDisplayType: 23, Anniversary: 24, DoubleEleven: 25, Exclusive: 26, LittleCash: 27, Walfare: 28 }, CouponStatus: { Disabled: 0, Available: 1, Locked: 2, Used: 3 }, AppDownloadUrl: { CouponList: ""download.html?src=weixin&campaign=app_coupon&cid=appcoupon_list"", CouponListULink: ""download.html?src=weixin&campaign=app_coupon&cid=appcoupon_list"", QQCouponList: ""download.html?src=qq&campaign=qq_download&cid=appcoupon_list"", QQCouponListULink: ""download.html?src=qq&campaign=qq_download&cid=appcoupon_list"", IndexPopup: ""download.html?src=weixin&campaign=app_coupon&cid=appcoupon_popup"", CouponShare: ""download.html?src=weixin&campaign=app_coupon&cid=appcoupon_aoc"", Default: ""download.html?src=weixin&campaign=app_coupon&cid="" }, CouponPush: { API: ""coupon/take_coupon_use_token"", QUERY_DETAIL_API: ""api/promotion/query_user_batch_detail?batch_id={0}"", RECOMMEND_NEW_API: ""recommendation/coupon_push?offset={0}&count={1}"", LANG_TAKE_FAILED: ""不符合优惠券领取条件"" } }, s = { TrackingChannels: [""src"", ""from"", ""campaign"", ""cid"", ""msgid""], TrackingEvent: { OpenAddress: ""open_address"", SkipAppGroup: ""skip_app_group"", AlertAppDownload: { Show: ""a_a_d_s"", Download: ""a_a_d_d"", Close: ""a_a_d_c"" } }, ReferPageKeys: [""refer_page_name"", ""refer_page_section"", ""refer_page_element"", ""refer_page_id""], ReferShareKeys: [""refer_share_id"", ""refer_share_uid"", ""refer_share_channel"", ""refer_share_form""], ReferShareMapShort: { _sid: ""refer_share_id"", _suid: ""refer_share_uid"", _sc: ""refer_share_channel"", _sf: ""refer_share_form"" } }, c = { ShareChannel: { Unknown: ""unknown"", AppMessage: ""message"", Timeline: ""timeline"", QQ: ""qq"", QQZone: ""qzone"", QQWeibo: ""qq_weibo"", SinaWeibo: ""weibo"" }, ShareResult: { Success: ""success"", Fail: ""fail"", Cancel: ""cancel"", Complete: ""complete"" }, ShareFakeUrl: { domain: ""http://hz.pin18pin.com/"", start: ""https://open.weixin.qq.com/connect/oauth2/authorize?response_type=code&scope=snsapi_base&appid={0}&redirect_uri={1}"" } }, u = { WaterMark: { Default: ""!share_v2"", WeChatMsg: ""!share_v3"", Share: ""!share"", Transparent: ""!transparent"", None: """", NoLogo: ""!share_v4"", Safe: ""!share_safe"", Flagship: ""!share_flagship"" }, emotionImgCDNDomain: ""https://im-emoticon.pinduoduo.com/"", ImgCDNDomain: ""http://pinduoduoimg.yangkeduo.com/"", AliImageCDN: [""pddtestimg.yangkeduo.com"", ""omsproductionimg.yangkeduo.com"", ""img-cn-shanghai.aliyuncs.com"", ""avatar.yangkeduo.com""], TencentImageCDN: [""images.pinduoduo.com"", ""pinduoduoimg.yangkeduo.com"", ""testimg.yangkeduo.com"", ""img1.yangkeduo.com""], ImageCDNType: { DEFAULT: 0, ALI: 1, TENCENT: 2 }, TENCENT_COMPRESS_DEFAULT: ""imageMogr2/format/webp/quality/50"" }, l = { PromptType: { Default: ""prompt_default"" } }, p = { AlertType: { Alert: { Default: ""alert_default_v3"", AlertNewUserGroup: ""alert_new_user_group"", AlertAppDownload: ""alert_app_download"", AlertOpenAppNotification: ""alert_open_app_notification"", AlertCouponSend: ""alert_coupon_send"", AlertCouponSendV2: ""alert_coupon_send_v2"", AlertFreeTrial: ""alert_free_trial"", IDCardHint: ""ID_card_hint"", FCLink: ""fc_link"", FlashGroupsRules: ""flash_groups_rules"", AssistFreeCouponRules: ""assist_free_coupon_rules"" }, Confirm: { Default: ""confirm_default_v3"", ConfirmShipment: ""confirm_shipment"", ConfirmAppGroup: ""confirm_app_group"", ConfirmWeChatWapPay: ""confirm_wechat_wap_pay"", ConfirmWeChatH5Pay: ""confirm_wechat_h5_pay"", ConfirmAppUpdate: ""confirm_app_udpate"", ConfirmAppUpdateV2: ""confirm_app_udpate_v2"", ConfirmAppDownload: ""confirm_app_download"", ConfirmAppDownloadV2: ""confirm_app_download_v2"", ConfirmJSPhotoAppUpdate: ""confirm_jsphoto_app_update"", ConfirmAfterGroupShare: ""confirm_after_group_share"", ConfirmDefaultV2: ""confirm_default_v2"", UnshareCancel: ""unshare_cancel"", UnpayedAlarm: ""unpayed_alarm"", AttendanceDownload: ""attendance_download"", AttendanceSignResult: ""attendance_sign_result"" } } }, d = { SpecGroupDomain: ""m.ishangtong.com"", GoodsEventTypeWhiteList: [a.EventType.LUCKY_DRAW, a.EventType.FREE_TRIAL] }, h = u.ImgCDNDomain, f = { AuthorizationType: { SMS: 1, Weibo: 2, WeChat: 3, QQ: 4 }, PaymentType: { AliPay: 1, WeChat: 2, QQPay: 3, ApplePay: 4, AliPayDirectDebit: 5, FriendPay: 6, HBInstallmentPay: 7, AliPayV2: 8, UnionPay: 9 }, foldedPaymentTypes: [1, 5], GroupStatus: { OnGoing: 0, Success: 1, Failed: 2 }, GroupRole: { NotInGroup: 0, Member: 1, Lead: 2 }, RegionType: { Province: ""1"", City: ""2"", District: ""3"" }, Region: { China: ""1"" }, AddressClass: { Default: ""1"", Common: ""0"" }, Order: { SourceType: { Default: 0, Auto: 1 } }, OrderStatus: { Unconfirmed: ""0"", Confirmed: ""1"", Cancelled: ""2"" }, PaymentStatus: { Unpayed: ""0"", Payed: ""2"", RefundApplied: ""3"", Refunded: ""4"" }, ShipmentStatus: { Unshipped: ""0"", Shipping: ""1"", Received: ""2"" }, rateStatus: { rateEnable: ""1"", rateUnable: ""0"" }, CommentStatus: { NoComment: 0, ReevaluateEnable: 1, Reevaluated: 2, EvaluateUnable: 3, ReevaluatedUnable: 4 }, OrderCombinedStatus: { Unpayed: 0, Unconfirmed: 1, Confirmed: 2, Shipping: 3, Received: 4, Cancelled: 5, UnshippedRefunding: 6, UnshippedRefunded: 7, ShippingRefunding: 8, ShippingRefunded: 9, Expired: 10, UnconfirmedRefunding: 11, UnconfirmedRefunded: 12, ConfirmedRefunding: 13, ReceivedRefunded: 14, Deleted: 15 }, CompaintConstFlowType: { COMPLAINT_NULL_M1: -1, COMPLAINT_INIT_0: 0, COMPLAINT_SALES_DEALING_1: 1, COMPLAINT_SERVICE_INIT_2: 2, COMPLAINT_SERVICE_DEALING_3: 3, COMPLAINT_REFUNDING_4: 4, COMPLAINT_REFUNDED_SUCC_5: 5, COMPLAINT_CANCELED_6: 6, COMPLAINT_FAILED_7: 7, COMPLAINT_END_8: 8, COMPLAINT_WAIT_USER_DEAL_9: 9, COMPLAINT_WAIT_USER_SEND_10: 10, COMPLAINT_WAIT_SALES_SEND_COMFIRM_11: 11, COMPLAINT_FAIL_12: 12, COMPLAINT_FAIL_EXPIRE_13: 13, COMPLAINT_WAIT_SALES_SEND_DEAL_14: 14, COMPLAINT_WAIT_USER_DEAL_15: 15, COMPLAINT_EXCHANGE_FINISH_16: 16, COMPLAINT_EXCHANGE_CLOSE_17: 17, COMPLAINT_WAIT_USER_CONFIRM_18: 18 }, SkuStatus: { OnSale: ""ONSALE"", InStock: ""INSTOCK"", Unavailable: ""UNAVAILABLE"" }, WaterMark: u.WaterMark, CDNConstant: u, Mall: { NoCS: ""此商家暂未开启在线客服功能"", NoCSOnline: { NormalMall: ""当前没有在线客服,在线客服的服务时间是9:00~20:00。您的话将会变成留言"", DefaultMall: ""在线客服的服务时间是9:00~18:00。您的话将会变成留言"" }, PddMall: [1, 11], ServiceStart: 9, ServiceEnd: { NormalMall: 20, DefaultMall: 18 } }, GoodsType: a.GoodsType, EVENT_TYPE: a.EventType, OrderType: { All: 0, PendingPay: 1, Shipping: 2, Collecting: 3, Evaluating: 4 }, OrderSequence: [0, 1, 5, 2, 3, 4], OrderDesc: { Received: ""已签收"" }, ForceContactBound: 5, ForceContactHighBound: 10, OFFICIAL_MALL_ID: { Online: ""606"", Hutaojie: ""1"", Weipin: ""16"" }, PROBLEM_TYPE_DESC: { 1: ""未收到货"", 2: ""水果破损腐烂"", 3: ""商品少发漏发发错"", 4: ""商品与描述不一致"", 5: ""退款过程遇到问题"", 0: ""其他"" }, CookieKey: r.CookieKey, LocalStorageKey: r.LocalStorageKey, SessionStorageKey: r.SessionStorageKey, AlertType: p.AlertType, ShareChannel: c.ShareChannel, IPServer: { Host: """", RegionType: { Province: ""province"", Region: ""region"", RegionInfo: ""region_info"" }, BanRegions: [""广东 广州"", ""广东 ""], BanProvinces: [""广东""] }, BanRegions: [""广东 广州"", ""广东 ""], Platform: { WeChat: ""wechat"", IOS: ""ios"", Android: ""Android"", Weibo: ""weibo"", QQ: ""qq"", WP: ""wp"", Unknown: ""unknown"" }, Upaiyun: { DefaultImg: h + ""base/default.png"", DefaultImgSquare: h + ""base/default_square.png"", BaseAvatar: h + ""base/avatar_4_64.png"", ShareImg: h + ""base/share_logo.jpg"" }, Device: { Android: ""android"", IPad: ""ipad"", IPhone: ""iphone"", WP: ""windows phone"" }, APIRetryLimit: 3, CDNImgHostName: h, ImprTime: 1e3, ImprTimeTest: 700, CouponBatchType: o.CouponBatchType, CouponDisplayType: o.CouponDisplayType, CouponStatus: o.CouponStatus, ContactURLType: { LowPrice: 1, HighPrice: 2 }, TrackingChannels: s.TrackingChannels, TrackingEvent: s.TrackingEvent, TrackingKeys: s, LotteryStatus: { Start: 0, BeforeConfirm: 1, Confirm: 2, Complete: 3 }, NativeStorageKey: { CheckUpdateTime: ""check_update_time"" }, AppDownloadUrl: { Default: ""download.html"", IOS: ""https://itunes.apple.com/cn/app/pin-duo-duo/id1044283059?l=zh&mt=8"", Android: ""http://pinduoduo.oss-cn-shanghai.aliyuncs.com/android/pinduoduo_latest.apk"" }, AppCommentsUrl: { IOS: ""itms-apps://itunes.apple.com/us/app/apple-store/id1044283059"", Android: ""market://details?id=com.xunmeng.pinduoduo"" }, QueryTag: { Skip: { AppGroup: ""app_group"" } }, EventType: { Default: 0, Lottery: 1, Spike: 2, FreeGroup: 3, TwoForOne: 4, SuperSpike: 5, NewUserGroup: 6, FreeTrial: 7, CapitalGift: 8, CapitalGiftLottery: 9, Tzyy: 10, DepositeGroup: 11 }, LastVisitDuration: { Goods: 864e5, Group: 864e5 }, NoLongerPromptAppDownload: ""-1"", AppDownloadUsersMaxNum: 10, ForceContactUIDThreshold: { minNumber: 2, maxNumber: 4 }, GoodsCat: { Fruit: 84, Crab: 103 }, PromotionType: { SuperBrand: ""super_brand"", Event618: ""mid_year"" }, AuthorizeRequest: { Time: ""7200000"", Length: 32 }, GroupOrderType: { Default: 0, ZCJB: 1 }, GroupBannerV2AppID: [1, 2, 3, 25], QRCodeType: i, CompressPipe: { Default: ""750w_1l_50Q"", Notification: ""100w_1l_50Q"", GroupShare: ""434w_0l_90Q"" }, ApplePaySupportStatus: { Support: 0, NotSupport: 1, VersionTooLow: 2, NotBindChinaUnionPayCard: 3 }, BeiTaiRate: 60, ForceContactAppIDs: [1, 2, 3, 26], GalleryType: { Top: ""1"", Detail: ""2"", Video: ""6"" }, WechatAuthType: { Base: ""BASE"", UserInfo: ""USERINFO"" }, CompleteLotteryHostname: ""m.ishangtong.com"", PinSocket: { KEEP_ALIVE_INTERVAL: 3e4, REQUEST_ID_SEED: 1, NATIVE_NOTIFICATION_NAME: ""PDDReceiveSocketMessage"", HandlerType: { Open: 0, Close: 1, Authentication: 2, Message: 3 }, MinSupportVersion: { Android: ""4.3"" }, ClientType: { Android: ""android"", IOS: ""ios"", Web: ""web"" }, WebSocketType: { Push: 1, Chat: 2 }, doCmtCmd: [""latest_remain_mall_conversations"", ""mall_online_status"", ""unread_msg_count"", ""unread_friend_msg_count"", ""assign_cs_logic"", ""mark_read"", ""send_message"", ""send_friend_message""], NewPushDomainRate: 100 }, Express: { NotShowExpressOvertime: 7776e3, SelfLogisticsShippingID: 180, OverseaExpressShippingID: 149 }, ShareType: { WeChatSession: 1, WeChatTimeline: 2, Weibo: 3, QQChatSession: 4, QQZone: 5, TencentWeibo: 6, WeChatSessionApp: 7, WeChatTimelineImage: 8, WeChatTimelineImageWithNoSDK: 9, WeChatSessionImage: 10, QQChatSessionImage: 11, QQZoneImage: 12, WeiboImage: 13, Friends: 14, WechatBigImage: 15 }, PromptType: l.PromptType, VnsConstant: d }; t.a = f }, o1JZ: function(e, t, n) { var r = n(""wGyw""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, ""ouH+"": function(e, t, n) { ""use strict""; var r = n(""3OdE""), a = n(""ii9O""), i = n(""kk8N""), o = n(""xnWZ""), s = n(""b5fu""), c = n(""tWR7""), u = n(""IgcI""), l = n(""n2/S""), p = { BirthpetStrategy: ""BirthpetStrategy"", LotteryRule: 1, PortalLottery: 2, GroupBanner: 3, OrderContact: 4, Group: 5, GroupModal: 6, PortalFreeTrial: 7, PortalPromotionSlip: 8, ShowShareTimeline: 9, ShowGroupTitlePrefix: 10, GroupBuyButtonText: 11, LaunchAPPTimeLineShare: 12, Portal: 13, ShowGroupLotteryRecmmend: 14, ShowLeadAttentionImg: 15, ChatListBanner: 28 }, d = { BanList: 2, Eco: 3, ZJ: 4, SubEco: 5, Other: 6 }, h = { PortalLottery: { Goods: 1, Icon: 2 }, PortalFreeTrial: { Goods: 1, Icon: 2 } }, f = {}; f[d.BanList] = {}, f[d.BanList][p.LotteryRule] = 0, f[d.BanList][p.PortalLottery] = 0, f[d.BanList][p.GroupBanner] = 0, f[d.BanList][p.OrderContact] = 0, f[d.BanList][p.Group] = 0, f[d.BanList][p.GroupModal] = 0, f[d.BanList][p.PortalFreeTrial] = 0, f[d.BanList][p.PortalPromotionSlip] = 0, f[d.BanList][p.BirthpetStrategy] = 0, f[d.BanList][p.ShowShareTimeline] = 0, f[d.BanList][p.ShowGroupTitlePrefix] = 1, f[d.BanList][p.GroupBuyButtonText] = 0, f[d.BanList][p.LaunchAPPTimeLineShare] = 0, f[d.BanList][p.Portal] = 0, f[d.BanList][p.ShowGroupLotteryRecmmend] = 0, f[d.BanList][p.ShowLeadAttentionImg] = 0, f[d.BanList][p.ChatListBanner] = 0, f[d.Eco] = {}, f[d.Eco][p.LotteryRule] = 0, f[d.Eco][p.PortalLottery] = 0, f[d.Eco][p.GroupBanner] = 1, f[d.Eco][p.OrderContact] = 0, f[d.Eco][p.Group] = 0, f[d.Eco][p.GroupModal] = 0, f[d.Eco][p.PortalFreeTrial] = 0, f[d.Eco][p.PortalPromotionSlip] = 0, f[d.Eco][p.BirthpetStrategy] = 0, f[d.Eco][p.ShowShareTimeline] = 0, f[d.Eco][p.ShowGroupTitlePrefix] = 0, f[d.Eco][p.GroupBuyButtonText] = 0, f[d.Eco][p.LaunchAPPTimeLineShare] = 0, f[d.Eco][p.Portal] = 1, f[d.Eco][p.ShowGroupLotteryRecmmend] = 0, f[d.Eco][p.ShowLeadAttentionImg] = 1, f[d.Eco][p.ChatListBanner] = 1, f[d.ZJ] = {}, f[d.ZJ][p.LotteryRule] = 0, f[d.ZJ][p.PortalLottery] = 0, f[d.ZJ][p.GroupBanner] = 1, f[d.ZJ][p.OrderContact] = 0, f[d.ZJ][p.Group] = 0, f[d.ZJ][p.GroupModal] = 0, f[d.ZJ][p.PortalFreeTrial] = h.PortalFreeTrial.Goods, f[d.ZJ][p.PortalPromotionSlip] = 0, f[d.ZJ][p.BirthpetStrategy] = 0, f[d.ZJ][p.ShowShareTimeline] = 0, f[d.ZJ][p.ShowGroupTitlePrefix] = 0, f[d.ZJ][p.GroupBuyButtonText] = 0, f[d.ZJ][p.LaunchAPPTimeLineShare] = 0, f[d.ZJ][p.Portal] = 1, f[d.ZJ][p.ShowGroupLotteryRecmmend] = 0, f[d.ZJ][p.ShowLeadAttentionImg] = 1, f[d.ZJ][p.ChatListBanner] = 1, f[d.SubEco] = {}, f[d.SubEco][p.LotteryRule] = 1, f[d.SubEco][p.PortalLottery] = h.PortalLottery.Goods, f[d.SubEco][p.GroupBanner] = 1, f[d.SubEco][p.OrderContact] = 1, f[d.SubEco][p.Group] = 0, f[d.SubEco][p.GroupModal] = 0, f[d.SubEco][p.PortalFreeTrial] = h.PortalFreeTrial.Goods, f[d.SubEco][p.PortalPromotionSlip] = 1, f[d.SubEco][p.BirthpetStrategy] = 2, f[d.SubEco][p.ShowShareTimeline] = 1, f[d.SubEco][p.ShowGroupTitlePrefix] = 0, f[d.SubEco][p.GroupBuyButtonText] = 1, f[d.SubEco][p.LaunchAPPTimeLineShare] = 0, f[d.SubEco][p.Portal] = 1, f[d.SubEco][p.ShowGroupLotteryRecmmend] = 1, f[d.SubEco][p.ShowLeadAttentionImg] = 1, f[d.SubEco][p.ChatListBanner] = 1, f[d.Other] = {}, f[d.Other][p.LotteryRule] = 1, f[d.Other][p.PortalLottery] = h.PortalLottery.Goods, f[d.Other][p.GroupBanner] = 1, f[d.Other][p.OrderContact] = 1, f[d.Other][p.Group] = 1, f[d.Other][p.GroupModal] = 1, f[d.Other][p.PortalFreeTrial] = h.PortalFreeTrial.Goods, f[d.Other][p.PortalPromotionSlip] = 1, f[d.Other][p.BirthpetStrategy] = 2, f[d.Other][p.ShowShareTimeline] = 1, f[d.Other][p.ShowGroupTitlePrefix] = 0, f[d.Other][p.GroupBuyButtonText] = 1, f[d.Other][p.LaunchAPPTimeLineShare] = 1, f[d.Other][p.Portal] = 1, f[d.Other][p.ShowGroupLotteryRecmmend] = 1, f[d.Other][p.ShowLeadAttentionImg] = 1, f[d.Other][p.ChatListBanner] = 1; var m = { Grade: { Scene: p, Role: d, Result: f, ExtraField: h } }, g = m.Grade, v = g.ExtraField; function _(e) { e = e || {}, this.isMe = !0 === e.isMe || null == e.isMe, this.initGrade(e.grade), this.initUID(e.uid), this.initAccessToken(e.accessToken) } _.prototype = { isMe: !0, grade: g.Role.BanList, initGrade: function(e) { e = parseInt(e, 10), g.Result[e] ? this.grade = e : this.grade = g.Role.BanList }, getResultByScene: function(e) { return g.Result[this.grade][e] }, getLotteryRule: function(e) { return this.getResultByScene(g.Scene.LotteryRule) ? ""说明"" : """" }, getPromoteLotteryIcon: function() { return !!this.getResultByScene(g.Scene.LotteryRule) }, getShowPortalLotteryGoods: function() { return !!(this.getResultByScene(g.Scene.PortalLottery) & v.PortalLottery.Goods) }, getShowPortalLotteryIcon: function() { return !!(this.getResultByScene(g.Scene.PortalLottery) & v.PortalLottery.Icon) }, getGroupBannerContact: function() { return !!this.getResultByScene(g.Scene.GroupBanner) }, getCreateOrderContact: function() { return !!this.getResultByScene(g.Scene.OrderContact) }, getGroupPageContact: function() { return !!this.getResultByScene(g.Scene.Group) }, getPortalPageContact: function() { return !!this.getResultByScene(g.Scene.Portal) }, showSharePointer: function(e) { return (e = parseInt(e, 10) || this.grade) !== g.Role.BanList }, getGroupModal: function() { return !!this.getResultByScene(g.Scene.GroupModal) }, getShowPortalFreeTrialGoods: function() { return !!(this.getResultByScene(g.Scene.PortalFreeTrial) & v.PortalFreeTrial.Goods) }, getShowPortalFreeTrialIcon: function() { return !!(this.getResultByScene(g.Scene.PortalFreeTrial) & v.PortalFreeTrial.Icon) }, getShowPortalPromotionSlip: function() { return !!this.getResultByScene(g.Scene.PortalPromotionSlip) }, getTopBannerSubscribe: function() { return this.getGroupBannerContact() }, getBirthpetStrategy: function() { var e = this.getResultByScene(g.Scene.BirthpetStrategy); return { isForceContact: 2 === e, isAppDownload: e >= 1 } }, getPortalShowAssist: function() { return !!this.getResultByScene(g.Scene.PortalShowAssist) }, getChatListBanner: function() { return !!this.getResultByScene(g.Scene.ChatListBanner) }, getShowShareTimeline: function() { return !!this.getResultByScene(g.Scene.ShowShareTimeline) }, getShowGroupTitlePrefix: function() { return !!this.getResultByScene(g.Scene.ShowGroupTitlePrefix) }, getShowGroupLotteryRecmmend: function() { return !!this.getResultByScene(g.Scene.ShowGroupLotteryRecmmend) }, getShowLeadAttentionImg: function() { return !!this.getResultByScene(g.Scene.ShowLeadAttentionImg) }, getGroupBuyButtonText: function() { return !!this.getResultByScene(g.Scene.GroupBuyButtonText) }, getGroupDetailMainButtonText: function() { return !!this.getResultByScene(g.Scene.GroupDetailMainButtonText) }, getLaunchAPPTimeLineShare: function() { return !!this.getResultByScene(g.Scene.LaunchAPPTimeLineShare) }, uid: 0, initUID: function(e) { this.uid = parseInt(e, 10) || 0 }, accessToken: """", initAccessToken: function(e) { this.accessToken = e || """" } }; var b = _, y = n(""uf4C"").a.getInstance(), w = {}, S = r.a.constant, C = r.a.error, A = r.a.get(location.host), I = { Unknown: 0, Phone: 1, Weibo: 2, WeChat: 3, QQ: 4 }, k = { Base: ""snsapi_base"", Userinfo: ""snsapi_userinfo"" }, E = { LoginVerifyRisk: 54002, LoginForbidden: 54003, OtherForbiden: 54004 }; w = { selfInfo: { model: b, instance: null, getInstance: function(e) { return (!this.instance || e && this.instance.grade !== e) && (this.instance = new this.model({ grade: e || w.getGrade() || m.Grade.Role.BanList })), this.instance } }, getAccessToken: function() { return localStorage.getItem(""AccessToken"") }, hasLogin: function() { return this.hasAccessToken() }, hasAccessToken: function() { return null != this.getAccessToken() }, setAccessToken: function(e) { s.a.saveToLocalStorage(""AccessToken"", e); var t = {}; t[S.CookieKey.AccessToken] = e, s.a.setCookie(t) }, setAccessTokenOnNative: function(e) { o.b.isNativeLoginVersion ? i.a.callNative(""AMUser"", ""setAccessToken"", { access_token: e }) : o.b.isNativePlatform() && i.a.callNative(""JSStorage"", ""setSecure"", { key: ""__ACCESS_TOKEN__"", value: e }) }, setWeixinInfo: function(e) { s.a.saveToLocalStorage(""weixinInfo"", e) }, setCustomerUID: function(e) { s.a.saveToLocalStorage(""searchUID"", e) }, getAvatarURL: function(e, t) { return s.a.getAvatarURL(e, A.shop.logo, t) }, authenticate: function(e, t, n) { var r = function() { if (e == S.AuthorizationType.Weibo) return A.RedirectURI.Weibo }(); i.a.callNative(""JSLogin"", ""authenticate"", { type: e, redirect_uri: r }, t, n, !0) }, ensureLogin: function(e, t, n, r, a, i) { this.hasAccessToken() ? s.a.call(e) : this.login(null, null, e, t, n, r, a, i) }, login: function(e, t, n, r, p, d, h, f) { var m = this; if (!m.isLogin) { m.isLogin = !0; var g = function() { switch (e) { case S.AuthorizationType.SMS: return A.AppID.SMS; case S.AuthorizationType.Weibo: return A.AppID.Weibo; case S.AuthorizationType.WeChat: return A.AppID.WeChat; case S.AuthorizationType.QQ: return o.b.isNativePlatform() ? A.AppID.QQ : A.AppID.QQPublic; default: return o.b.isWeChatPlatform() ? A.AppID.WeChat : o.b.isWeiboPlatform() ? A.AppID.Weibo : o.b.isQQPlatform() ? o.b.isEmbeddedBrowser() ? A.AppID.QQPublic : A.AppID.QQ : 0 } }(), v = function(e, t) { var n = e || k.Base, r = t || (p || location.href).split(""#"")[0]; location.href = ""https://open.weixin.qq.com/connect/oauth2/authorize?"" + c.a.buildQuery({ response_type: ""code"", scope: n, appid: A.ApiKey.WeChat, redirect_uri: r, state: n === k.Userinfo ? S.WechatAuthType.UserInfo : S.WechatAuthType.Base }) + ""#wechat_redirect"" }, _ = function(e) { l.a.apiRequest(""POST"", ""login"", e, function(e) { if (m.onLoginSuccess(e), m.isLogin = !1, s.a.call(n), !o.b.isEmbeddedBrowser() || o.b.isWeiboPlatform()) return h ? a.a.back() : a.a.reload(p) }, function(e, t) { m.isLogin = !1; var n = t || {}, i = n.verify_auth_token, c = n.verify_ttl; return e === parseInt(C.NeedAuthenticationLogin.code, 10) && o.b.isWeChatPlatform() ? v(k.Userinfo) : e === E.LoginVerifyRisk ? a.a.reload(""psnl_verification.html?VerifyAuthToken="" + i + ""&from="" + encodeURIComponent(location.href)) : e === E.LoginForbidden ? a.a.reload(""login_error.html?ttl="" + c + ""&from="" + encodeURIComponent(location.href)) : e === E.OtherForbiden ? u.default.showToast(t.message || ""登录不成功,请稍后再试"") : void s.a.call(r, e) }, !0) }, b = function(t) { var n = { app_id: g }; return e == S.AuthorizationType.WeChat ? n.code = t.auth_code : e == S.AuthorizationType.Weibo ? (n.access_token = t.access_token, n.uid = t.uid) : e == S.AuthorizationType.QQ ? (n.access_token = t.access_token, n.open_id = t.open_id) : e == S.AuthorizationType.SMS && (n.mobile = t.mobile, n.code = t.code), n }, y = function() { var e = { from: p || location.href }; h && (e.should_back = ""1""); var t = ""/login.html?"" + c.a.buildQuery(e); return d ? a.a.forward(t) : a.a.reload(t) }; m.logout(function() { if (o.b.isEmbeddedBrowser()) { var e = c.a.getParameter(""code""), u = c.a.getParameter(""state""), l = (p || location.href).split(""#"")[0]; if (null == e || e.length <= 0) { if (o.b.isWeChatPlatform()) v(k.Base, l); else if (o.b.isWeiboPlatform()) { if (null == t) return y(); var d = b(t); _(d) } else o.b.isQQPlatform() && (location.href = ""https://open.mp.qq.com/connect/oauth2/authorize?"" + c.a.buildQuery({ response_type: ""code"", scope: ""snsapi_base"", appid: A.ApiKey.QQPublic, redirect_uri: A.RedirectURI.QQConnect + ""?"" + c.a.buildQuery({ refer: l }) }) + ""#qq_redirect""); return } l = c.a.buildURL({ code: null, state: null }, l), a.a.replaceURL(l); var h = { code: e, app_id: g }; u === S.WechatAuthType.UserInfo && (h.is_auth = 1); var w = c.a.getParameter(""partner_id""); w && (h.partner_id = w), o.b.isWeiboPlatform() && (h.redirect_uri = A.RedirectURI.Weibo), _(h) } else if (o.b.isNativeLoginVersion) { var I = f && f.appLoginType ? f.appLoginType : 0; i.a.callNative(""JSNavigation"", ""modal"", { type: ""login"", props: { login_type: I, complete: function(e, t) { 0 === e ? (m.onLoginSuccess(t), m.isLogin = !1, n || (n = function() { a.a.reload(p) }), s.a.call(n)) : e === parseInt(C.NativeUserCancel.code, 10) ? (m.isLogin = !1, f && f.handleNativeUserCancel ? f.handleNativeUserCancel() : s.a.call(r, e)) : (m.isLogin = !1, s.a.call(r, e)) } } }) } else { if (null == t) return y(); var E = b(t); _(E) } }) } }, onLoginSuccess: function(e) { e.uid && (this.userID = e.uid), e.uin && (this.userUIN = e.uin); var t = e.access_token, n = JSON.stringify(e.weixin); if (this.setWeixinInfo(n), this.setAccessToken(t), this.setAccessTokenOnNative(t), e.partner_id) { var r = []; try { var a = localStorage.getItem(S.LocalStorageKey.PartnerList); r = JSON.parse(a) || [] } catch (e) {} r.push(e.partner_id.toString()), s.a.saveToLocalStorage(S.LocalStorageKey.PartnerList, JSON.stringify(r)) } }, logout: function(e) { this.setAccessToken(null), this.setAccessTokenOnNative(null), this.setWeixinInfo(null), this.setCustomerUID(null), this.updateUserAB({ is_ab: null, spid: null, gpid: null }), this.updateGrade(), localStorage.removeItem(S.LocalStorageKey.GoodsLikeData), this.userID = null, s.a.saveToLocalStorage(S.LocalStorageKey.PartnerList), o.b.isNativePlatform() ? i.a.callNative(""JSLogin"", ""logout"", null, function() { s.a.call(e) }, function() { s.a.call(e) }) : s.a.call(e) }, setAppDownloadStatus: function(e) { s.a.saveToLocalStorage(S.LocalStorageKey.CheckAppDownload, e) }, clearUserStorage: function() { this.setAccessToken(null), this.setWeixinInfo(null), this.setCustomerUID(null), this.updateUserAB({ is_ab: null, spid: null, gpid: null }), this.updateGrade(), this.userID = null, s.a.saveToLocalStorage(S.LocalStorageKey.PartnerList), s.a.saveToLocalStorage(S.LocalStorageKey.SubscribeStatus) }, getDownloadSrc: function() { var e = ""browser""; return o.b.isWeChatPlatform() ? e = ""weixin"" : o.b.isWeiboPlatform() ? e = ""weibo"" : o.b.isQQPlatform() && (e = ""qq""), e }, getAppDownloadUsers: function() { var e = localStorage.getItem(S.LocalStorageKey.AppDownloadUsers) || """"; return e.length > 0 ? e.split(""|"") : [] }, checkMeAppDownload: function() { var e = s.a.getSelfUID().toString(); return (localStorage.getItem(S.LocalStorageKey.AppDownloadUsers) || """").indexOf(e) >= 0 }, saveMeAppDownload: function() { if (!this.checkMeAppDownload()) { var e = this.getAppDownloadUsers(), t = e.length; t >= S.AppDownloadUsersMaxNum && e.splice(0, t - S.AppDownloadUsersMaxNum + 1), e.push(s.a.getSelfUID().toString()), s.a.saveToLocalStorage(S.LocalStorageKey.AppDownloadUsers, e.join(""|"")) } }, isAppDownloadRecord: function() { return !!this.checkMeAppDownload() || (localStorage.getItem(S.LocalStorageKey.CheckAppDownload) || """") > Date.now() }, alarmAppDownload: function() {}, updateUserAB: function(e) { var t = this; [ [e.is_ab, ""AB""], [e.spid, ""SP""], [e.gpid, ""GP""] ].forEach(function(e) { void 0 !== e[0] && t.updateIsAB(e[0], e[1]) }) }, setAppLoginType: function(e) { this.loginType = parseInt(e, 10) || 0 }, getAppLoginType: function() { return this.loginType }, isAppPhoneLogin: function() { return this.loginType === I.Phone }, isAppWeiboLogin: function() { return this.loginType === I.Weibo }, isAppWeChatLogin: function() { return this.loginType === I.WeChat }, isAppQQLogin: function() { return this.loginType === I.QQ }, updateIsAB: function(e, t) { t = t || ""AB""; var n = S.CookieKey[t], r = S.LocalStorageKey[t], a = {}; if (null == e) return a[n] = null, s.a.setCookie(a), void localStorage.removeItem(r); var i = e ? ""1"" : ""0""; a[n] = { msec: 864e5, value: i }, s.a.setCookie(a), localStorage.setItem(r, JSON.stringify({ ttl: Date.now() + 864e5, value: i })) }, isAB: function(e, t) { t = t || ""AB""; var n = this, r = !1, a = S.CookieKey[t], i = S.LocalStorageKey[t], o = """"; try { var c = JSON.parse(localStorage.getItem(i)) || {}; c && c.value && c.ttl && parseInt(c.ttl, 10) > Date.now() && (o = c.value) } catch (e) {} var u = s.a.getCookieByName(a) || o; if (r = ""1"" === u, u.length <= 0) { if (n.requestAB) return s.a.call(e, r), r; n.requestAB = !0, l.a.apiRequest(""GET"", ""user/is_ab"", null, function(a) { switch (t) { case ""AB"": r = a.is_ab; break; case ""SP"": r = a.spid; break; case ""GP"": r = a.gpid } n.updateUserAB(a), s.a.call(e, r), n.requestAB = !1 }, function() { n.requestAB = !1, s.a.call(e, r) }, !1, !1, !0) } else s.a.call(e, r); return r }, setValue: function(e, t, n) { var r = {}, a = """", i = """"; if (""uid"" === e ? (a = S.LocalStorageKey.UID, i = S.CookieKey.UID) : ""uin"" === e && (a = S.LocalStorageKey.UIN, i = S.CookieKey.UIN), null == t) return this[e] = null, ""undefined"" != typeof localStorage && localStorage.removeItem(a), r[i] = null, void s.a.setCookie(r); this[e] = ""number"" === n ? parseInt(t, 10) || 0 : t, ""undefined"" != typeof localStorage && localStorage.setItem(a, this[e].toString(36)), r[i] = this[e], s.a.setCookie(r) }, set userID(e) { this.setValue(""uid"", e, ""number"") }, set userUIN(e) { this.setValue(""uin"", e) }, get userID() { return this.uid || (this.uid = s.a.getSelfUID() || parseInt(s.a.getCookieByName(S.CookieKey.UID), 10) || 0), this.uid }, updateGrade: function(e) { this.grade = e; var t = S.CookieKey.UserGrade, n = S.LocalStorageKey.UserGrade, r = {}; if (null == e) return r[t] = null, s.a.setCookie(r), void localStorage.removeItem(n); e = parseInt(e, 10), r[t] = { msec: 6e5, value: e }, s.a.setCookie(r), localStorage.setItem(n, JSON.stringify({ ttl: Date.now() + 6e5, value: e })) }, getGrade: function(e) { var t = this, n = S.CookieKey.UserGrade, r = S.LocalStorageKey.UserGrade, a = """"; try { var i = JSON.parse(localStorage.getItem(r)) || {}; i && i.value && i.ttl && parseInt(i.ttl, 10) > Date.now() && (a = i.value) } catch (e) {} var o = parseInt(s.a.getCookieByName(n) || a || t.grade, 10); if (o && (t.grade = o), !e) return t.grade || m.Grade.Role.BanList; if ((t.grade || t.requestGrade) && e(t.grade || m.Grade.Role.BanList), !o) { t.requestGrade = !0; var u = ""user/is_ab"", p = c.a.getParameter(""group_order_id""); p && (u += ""?group_order_id"" + p), l.a.apiRequest(""GET"", u, null, function(n) { t.updateUserAB(n), t.updateGrade(n.egrp), e(t.grade), t.requestAB = !1 }, function() { t.requestAB = !1, e(t.grade) }, !1, !1, !0) } }, requestSelfInfo: function(e, t, n) { var r = this, a = ""user/me?"" + c.a.buildQuery(e || {}); l.a.apiRequest(""GET"", a, null, function(e) { e.uid && (r.userID = e.uid), null != e.is_ab && r.updateIsAB(e.is_ab), null != e.is_subscribed && s.a.saveToLocalStorage(S.LocalStorageKey.SubscribeStatus, [r.userID, e.is_subscribed ? ""1"" : ""0""].join("":"")), null != e.has_app && e.has_app && r.saveMeAppDownload(), s.a.call(t, e) }, function(e) { s.a.call(n, e) }, !1, !1, !0) }, requestSelfInfoV2: function(e, t, n) { var r = this; r.commonSelfInfoQuery || (r.commonSelfInfoQuery = r.getCommonSelfInfoQuery(e)); var a = 0, i = 1, o = 2, c = 3, u = function(e) { s.a.isArray(e) && e.length > 0 && e.forEach(function(e) { s.a.call(e, r.requestSelfInfoData) }) }; if (r.containAllSelfInfoQuery(r.commonSelfInfoQuery, e || {})) { var l = r.requestSelfInfoState || a; l === a ? (r.requestSelfInfoState = i, r.requestSelfInfoSuccessCallback = [t], r.requestSelfInfoFailCallback = [n], r.requestSelfInfo(r.commonSelfInfoQuery, function(e) { r.requestSelfInfoState = o, r.requestSelfInfoData = e, u(r.requestSelfInfoSuccessCallback), r.requestSelfInfoSuccessCallback = [] }, function(e) { r.requestSelfInfoState = c, r.requestSelfInfoData = e, u(r.requestSelfInfoFailCallback), r.requestSelfInfoFailCallback = [] })) : l === i ? (r.requestSelfInfoSuccessCallback.push(t), r.requestSelfInfoFailCallback.push(n)) : l === o ? s.a.call(t, r.requestSelfInfoData) : l === c && s.a.call(n, r.requestSelfInfoData) } else r.requestSelfInfo(e, t, n) }, containAllSelfInfoQuery: function(e, t) { for (var n in t) if (t.hasOwnProperty(n) && !e.hasOwnProperty(n)) return !1; return !0 }, getCommonSelfInfoQuery: function(e) { var t = (navigator.userAgent || navigator.vendor || window.opera || """").match(/Android|webOS|iPhone|iPad|iPod/i), n = t ? t[0] : null, r = { iPhone: ""ios"", iPad: ""ios"", iPod: ""ios"", Android: ""android"", default: ""unknown"" }, a = e || {}, i = { check_app_login: 1, check_new_app: 1, check_is_active: ""1"", check_app_login_contain_mobile: 1, check_is_ten_yuan: ""1"", platform: r[n] || r.default, contact_url_type: S.ContactURLType.HighPrice, check_weixin_sp: S.ForceContactAppIDs.indexOf(A.AppID.WeChat) >= 0 ? ""1"" : null, check_sub_content: o.b.isShowSMAlertPlatform() ? ""1"" : ""2"", check_user_sharable: 1, get_url: ""1"" }, s = location.pathname.slice(1).split("".html"")[0], c = null; 0 === s.length || ""index"" === s ? c = ""index"" : /^goods\d*/.test(s) && (c = ""goods""); var u = { index: { normal: [""check_app_login"", ""check_new_app"", ""check_is_active"", ""check_app_login_contain_mobile"", ""platform""], weChatExtra: [""contact_url_type"", ""check_weixin_sp"", ""check_sub_content"", ""check_user_sharable"", ""get_url""] }, goods: { normal: [""check_is_active"", ""check_app_login""], weChatExtra: [""platform"", ""get_url"", ""check_sub_content"", ""check_new_app"", ""check_weixin_sp"", ""check_is_ten_yuan"", ""check_app_login_contain_mobile"", ""contact_url_type""] } }[c]; if (u) { var l = u.normal; o.b.isWeChatPlatform() && (l = l.concat(u.weChatExtra)), l.forEach(function(e) { a[e] = i[e] }) } return a }, requestActiveInfo: function(e) { var t = this; return new Promise(function(e, n) { l.a.apiRequest(""GET"", ""api/apollo/v3/user/active"", null, function(n) { n.uid && (t.userID = n.uid), e(n) }, function(e) { n(e) }) }) }, isSubscribed: function() { var e = (localStorage.getItem(S.LocalStorageKey.SubscribeStatus) || """").split("":""); return parseInt(e[0], 10) !== this.userID ? null : ""0"" !== e[1] && (""1"" === e[1] || null) }, getPaymentAppID: function(e) { return e === S.PaymentType.WeChat ? o.b.isNativePlatform() || o.b.isWeChatPlatform() ? A.AppID.WeChat : A.AppID.WeChatH5Pay : e === S.PaymentType.AliPay ? o.b.isNativePlatform() ? A.AppID.AliPay : A.AppID.AliPayWeb : e === S.PaymentType.QQPay ? o.b.isNativePlatform() ? A.AppID.QQ : A.AppID.QQPublicPayment || A.AppID.QQPublic : e === S.PaymentType.ApplePay ? A.AppID.ApplePay : e === S.PaymentType.AliPayDirectDebit ? A.AppID.AliPayDirectDebit : e === S.PaymentType.HBInstallmentPay ? A.AppID.HBInstallmentPay : A.AppID.WeChat }, subscriberTrack: function(e, t, n) { var r = JSON.parse(JSON.stringify(e)) || {}, a = y.getExtendTransferParameters(!0); r.extra = s.a.extend(r.extra, a), l.a.apiRequest(""POST"", ""subscriber/track"", r, function(e) { t && t(e) }, function(e) { n && n(e) }, !1, !1, !0) }, getSceneMap: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], t = arguments[1]; return new Promise(function(n, r) { l.a.apiRequest(""POST"", ""api/flow/ab/scene"", { busi_name: t, scene_ids: e }, function(e) { n(e.ab_map ? e.ab_map : {}) }, function(e) { r(e) }, !1, !1, !0) }) } }; t.a = w }, pTOB: function(e, t, n) { ""use strict""; var r = n(""x+5E""); var a = n(""ICD/""); var i = n(""cDf5""), o = n.n(i); function s(e, t) { return Object(r.a)(e) || function(e) { return e instanceof Array }(e) ? e.indexOf(t) >= 0 : !! function(e) { if (""object"" !== o()(e) || null === e) return !1; for (var t = e; null !== Object.getPrototypeOf(t);) t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t }(e) && Object.keys(e).indexOf(t) >= 0 } n.d(t, ""a"", function() { return u }), n.d(t, ""b"", function() { return l }); var c = ""request_blocker""; function u(e) { var t = e.uri, n = void 0 === t ? """" : t, i = e.time, o = void 0 === i ? 0 : i; if (Object(r.a)(n) && function(e) { return +e == e }(o)) { var s = Object(a.a)(localStorage.getItem(c)) || {}, u = (Date.now() / 1e3 | 0) + o; s[n] = u, localStorage.setItem(c, JSON.stringify(s)) } } function l(e) { var t, n = e.url; if (s(n, ""//"")) { var r = document.createElement(""a""); r.href = n, t = r.pathname } else { var i = n.split(""?""); t = ""/"".concat(i[0]) } var o = Object(a.a)(localStorage.getItem(c)) || {}, u = !1, l = {}, p = Date.now() / 1e3 | 0; return Object.keys(o).forEach(function(e) { var n = o[e]; p > n || (function(e) { var t = e.indexOf(""{""), n = e.indexOf(""}""); return n > t && t >= 0 && n >= 0 ? new RegExp(e) : new RegExp(""^"".concat(e, ""$"")) }(e).test(t) && (u = !0), l[e] = n) }), localStorage.setItem(c, JSON.stringify(l)), u } }, pfHJ: function(e, t, n) { ""use strict""; n.r(t); var r = n(""lwsE""), a = n.n(r), i = n(""W8MJ""), o = n.n(i), s = n(""a1gu""), c = n.n(s), u = n(""Nsbk""), l = n.n(u), p = n(""7W2i""), d = n.n(p), h = n(""q1tI""), f = n.n(h), m = function(e) { function t(e) { return a()(this, t), c()(this, l()(t).call(this, e)) } return d()(t, e), o()(t, [{ key: ""render"", value: function() { var e, t = this; this.props.title && (e = f.a.createElement(""p"", { className: ""title"" }, this.props.title)); var n = []; return this.props.desc && this.props.desc.forEach(function(e, t) { n.push(f.a.createElement(""p"", { className: ""desc"", key: t }, e)) }), f.a.createElement(""div"", { style: { display: this.state.display }, className: ""bg-fill"" }, f.a.createElement(""div"", { id: ""fc-link"" }, f.a.createElement(""div"", { className: ""fc-link-detail"" }, e, n, f.a.createElement(""div"", { className: ""confirm-button"", onClick: function(e) { t.clickConfirm(e) } }, f.a.createElement(""span"", null, this.props.confirm))), f.a.createElement(""div"", { className: ""fc-padding-bottom"" }))) } }]), t }(n(""+zrp"").a); m.defaultProps = { title: ""请先关注拼多多,以便通知发货"", desc: [""在新页面点击关注按钮或者点击拼多多图"", ""标,即可关注""], confirm: ""去关注"", notHide: !0 }, t.default = m }, phfm: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, "".pin-spinner {\n display: none;\n width: 0.34rem;\n height: 0.34rem;\n position: fixed;\n margin-left: -0.17rem;\n z-index: 999999999;\n left: 50%;\n top: 35%;\n}\n\n.pin-spinner-container1 > div,\n.pin-spinner-container2 > div,\n.pin-spinner-container3 > div {\n width: .1rem;\n height: .1rem;\n background-color: #DF2127;\n border-radius: 100%;\n position: absolute;\n -webkit-animation: bouncedelay 1.2s infinite ease-in-out;\n animation: bouncedelay 1.2s infinite ease-in-out;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n}\n\n.pin-spinner .pin-spinner-container {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n.pin-spinner-container2 {\n -webkit-transform: rotateZ(45deg);\n transform: rotateZ(45deg);\n}\n\n.pin-spinner-container3 {\n -webkit-transform: rotateZ(90deg);\n transform: rotateZ(90deg);\n}\n\n.pin-spinner-circle1 {\n top: 0;\n left: 0;\n}\n\n.pin-spinner-circle2 {\n top: 0;\n right: 0;\n}\n\n.pin-spinner-circle3 {\n right: 0;\n bottom: 0;\n}\n\n.pin-spinner-circle4 {\n left: 0;\n bottom: 0;\n}\n\n.pin-spinner-container2 .pin-spinner-circle1 {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s;\n}\n\n.pin-spinner-container3 .pin-spinner-circle1 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s;\n}\n\n.pin-spinner-container1 .pin-spinner-circle2 {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s;\n}\n\n.pin-spinner-container2 .pin-spinner-circle2 {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s;\n}\n\n.pin-spinner-container3 .pin-spinner-circle2 {\n -webkit-animation-delay: -0.7s;\n animation-delay: -0.7s;\n}\n\n.pin-spinner-container1 .pin-spinner-circle3 {\n -webkit-animation-delay: -0.6s;\n animation-delay: -0.6s;\n}\n\n.pin-spinner-container2 .pin-spinner-circle3 {\n -webkit-animation-delay: -0.5s;\n animation-delay: -0.5s;\n}\n\n.pin-spinner-container3 .pin-spinner-circle3 {\n -webkit-animation-delay: -0.4s;\n animation-delay: -0.4s;\n}\n\n.pin-spinner-container1 .pin-spinner-circle4 {\n -webkit-animation-delay: -0.3s;\n animation-delay: -0.3s;\n}\n\n.pin-spinner-container2 .pin-spinner-circle4 {\n -webkit-animation-delay: -0.2s;\n animation-delay: -0.2s;\n}\n\n.pin-spinner-container3 .pin-spinner-circle4 {\n -webkit-animation-delay: -0.1s;\n animation-delay: -0.1s;\n}\n\n@-webkit-keyframes bouncedelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n\n 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n\n@keyframes bouncedelay {\n 0%, 80%, 100% {\n -webkit-transform: scale(0);\n transform: scale(0);\n }\n\n 40% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}"", """"]) }, q0Ap: function(e, t, n) { var r = n(""YjY0""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, qiMe: function(e, t, n) { ""use strict""; var r = n(""cDf5""), a = n.n(r), i = n(""3OdE""), o = n(""xnWZ""), s = n(""kk8N""), c = n(""IgcI""), u = n(""Fcpp""), l = n(""ii9O""), p = n(""/O6k""), d = n(""EhKJ""), h = n(""ouH+""), f = n(""b5fu""), m = { ON_FOREGROUND: ""pdd_on_foreground"", ON_BACKGROUND: ""pdd_on_background"" }, g = i.a.constant, v = function() {}, _ = { meta: null, pddEvent: m, init: function(e) { this.meta = e }, getAppBuild: function() { var e = f.a.getValueFromUserAgent(""phh_"" + o.b.Current + ""_build/""); return null === e && (e = """"), e }, isCurrentVersionInReview: function() { if (!this.meta) return !1; var e = o.b.getAppVersion(), t = this.meta.in_review_version; return o.b.Current == o.b.IOS && 0 == this.compareVersion(e, t) }, getMinimumSupportedVersion: function(e) { if (!this.meta) throw new Error(""You need init appUtil before using method in it""); return this.meta.cur_version }, getHybridPackVersion: function(e) { if (e = e || ""pdd_web_version"", this.meta && this.meta[e]) { var t = e.split(""_""); return t.pop(), [t = t.join(""_""), this.meta[e]].join(""_"") } return null }, compareVersion: function(e, t) { for (var n = function(e) { var t = []; return null == e || e.length <= 0 ? t : (e.split(""."").forEach(function(e) { t.push(parseInt(e)) }), t) }, r = n(e), a = n(t), i = Math.max(r.length, a.length), o = 0; o < i; ++o) { var s = parseInt(r[o] || ""0""), c = parseInt(a[o] || ""0""); if (s != c) return s - c } return 0 }, getPasteboard: function(e) { s.a.callNative(""JSStorage"", ""getPasteboard"", null, function(t) { f.a.call(e, t) }, function() { f.a.call(e) }) }, setPasteboard: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : v; s.a.callNative(""JSStorage"", ""setPasteboard"", { text: e }, t, n) }, setPasteboardKL: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : v, r = o.b.getAppVersion(), a = this.compareVersion(r, ""4.53.0"") < 0 ? ""JSStorage"" : ""JSCipher""; s.a.callNative(a, ""setPasteboard"", { text: e }, t, n) }, showSharePage: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : v, r = o.b.getAppVersion(); if (this.compareVersion(r, ""4.52.0"") < 0) return n(); s.a.callNative(""AMShare"", ""showSharePage"", e, t, n) }, vibrateShort: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.29.0"") < 0) return t(); s.a.callNative(""AMDevice"", ""vibrateShort"", null, e, t) }, vibrateLong: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.29.0"") < 0) return t(); s.a.callNative(""AMDevice"", ""vibrateLong"", null, e, t) }, disableSwipeBack: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.30.0"") < 0) return t(); s.a.callNative(""JSUIControl"", ""disableSwipeBack"", null, e, t) }, enableSwipeBack: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.30.0"") < 0) return t(); s.a.callNative(""JSUIControl"", ""enableSwipeBack"", null, e, t) }, getLatestCoupon: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.31.0"") < 0) return t(); s.a.callNative(""PDDCouponStateService"", ""getLatestCoupon"", null, e, t) }, updateDDJBParams: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : v, r = o.b.getAppVersion(); if (this.compareVersion(r, ""4.47.0"") < 0) return n(); s.a.callNative(""PDDGoodsDetailConfig"", ""updateDDJBParams"", e, t, n) }, getDDJBParams: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : v, r = o.b.getAppVersion(); if (this.compareVersion(r, ""4.47.0"") < 0) return n(); s.a.callNative(""PDDGoodsDetailConfig"", ""getDDJBParams"", e, t, n) }, getBatteryInfo: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.48.0"") < 0) return t(); s.a.callNative(""AMDevice"", ""getBatteryInfo"", null, e, t) }, venderAppIds: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : v, r = o.b.getAppVersion(); if (this.compareVersion(r, ""4.49.0"") < 0) return n(); s.a.callNative(""AMShare"", ""venderAppIds"", e, t, n) }, getSourceApplication: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.52.0"") < 0) return t(); s.a.callNative(""PDDLaunchInfo"", ""getSourceApplication"", null, e, t) }, showKeyboard: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : v, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = o.b.getAppVersion(); if (this.compareVersion(n, ""4.56.0"") < 0) return t(); s.a.callNative(""JSKeyboard"", ""showKeyboard"", null, e, t) }, focusAndShowKeyboard: function(e) { var t = e.domObj, n = e.onSuccess, r = void 0 === n ? v : n, a = e.onError, i = void 0 === a ? v : a; if (!t || ""function"" != typeof t.focus) return i(); t.focus(), o.b.Current === o.b.Android && this.showKeyboard(r, i) } }, b = function(e, t) { var n = {}, r = function() { var t = 0, r = function() { c.default.showToast(""您的专享码有误!"") }, a = function() { if (0 !== t) { u.a.trackingRecord({ event: ""app_group_code"", detail: ""forward_"" + t }); var e = l.a.GroupUrl + ""?is_group_app=1&group_order_id="" + t; l.a.forward(e) } else r() }; if (4 !== e.length && 5 !== e.length) return t = function() { var t = parseInt(e, 16).toString(); if (15 !== t.length) return 0; var n = parseInt(t.substring(0, 6), 10); return n < 160119 || n > 160123 ? 0 : parseInt(t.substring(6, 11), 10) > 86400 ? 0 : t }(), void a(); p.a.apiRequest(""GET"", ""group_order/app/code?group_id="" + n.GroupID + ""&invite_code="" + e + ""&src=board"", null, function(e) { t = e.group_order_id || 0, a() }, function() { r() }, !0, !1, !0) }; p.a.apiRequest(""GET"", ""mobile_app_groups"", null, function(e) { var a = (e.mobile_app_groups || [])[0]; if (a) { var i = parseInt((new Date).getTime() / 1e3, 10); (n = { IsStart: i >= a.start_time && i <= a.end_time, GoodsID: a.goods_id, GroupID: a.group_id, GoodsImg: a.thumb_url, GoodsName: a.goods_name || ""APP专享团"" }).IsStart && c.default.showJSAlert(g.AlertType.Confirm.ConfirmAppGroup, r, null, null, { imgUrl: n.GoodsImg, descData: n.GoodsName, showCallback: t }) } }) }; _.joinAppGroup = b; var y = function() { o.b.isNativeIndexVersion || _.isCurrentVersionInReview() || _.getPasteboard(function(e) { var t = (e = e || {}).text || """"; if (t.length > 0) { var n = function(e) { return (e = (e || """").trim()).match(/^[a-z0-9]{4,5}$/) ? e : null }(t); n && (u.a.trackingRecord({ event: ""app_group_code"", detail: ""show_"" + n }), b(n, function() { _.setPasteboard("""") })) } }) }, w = function(e) { e = e || g.AlertType.Confirm.ConfirmAppUpdate; var t = { clickBgDisabled: !0, showCallback: function() { e === g.AlertType.Confirm.ConfirmAppUpdate && function(e, t, n) { s.a.callNative(""JSStorage"", ""set"", { key: e, value: JSON.stringify(t) }, function() { f.a.call(n) }) }(g.NativeStorageKey.CheckUpdateTime, (new Date).getDate().toString()) } }, n = function() { o.b.isModuleVersion && s.a.callNative(""AMNavigator"", ""dismissMask""), e === g.AlertType.Confirm.ConfirmAppUpdate && setTimeout(y, 500) }, r = function() { var e = _.getAppVersion(); if (o.b.Current === o.b.Android) { var t = { type: 0, content: g.AppDownloadUrl.Android }; _.compareVersion(e, ""1.2.2"") > 0 ? s.a.callNative(""AMLinking"", ""openURL"", t) : _.compareVersion(e, ""1.0.2"") > 0 ? s.a.callNative(""JSBrowser"", ""openUrl"", t) : l.a.forward(g.AppDownloadUrl.Default) } else if (o.b.Current === o.b.IOS) if (_.compareVersion(e, ""2.0.5"") > 0) s.a.callNative(""AMLinking"", ""openURL"", { url: g.AppDownloadUrl.IOS }); else { var r = document.createElement(""meta""); r.httpEquiv = ""Refresh"", r.content = ""0;URL="" + g.AppDownloadUrl.IOS, document.head.appendChild(r) } else l.a.forward(g.AppDownloadUrl.Default); n() }, a = function() { e === g.AlertType.Confirm.ConfirmJSPhotoAppUpdate ? (u.a.trackingRecord({ event: ""confirm_jsphoto"", action: ""show"" }), c.default.showConfirm(""上传凭证需要下载新版本才能支持,为保障您的售后权益,请先下载最新版本"", function() { u.a.trackingRecord({ event: ""confirm_jsphoto"", action: ""download"" }), r() }, function() { u.a.trackingRecord({ event: ""confirm_jsphoto"", action: ""cancel"" }) }, ""点击下载"", ""放弃更新"", ""温馨提示"")) : c.default.showJSAlert(e, r, n, null, t) }; o.b.isNativeIndexVersion && o.b.isNativeUpdateVersion ? s.a.callNative(""WebScene"", ""getExtra"", null, function(e) { a() }, function() { a() }) : a() }; _.setRightBarButtons = function(e) { o.b.isNativePlatform() && o.b.isModuleVersion && (e = e || { buttons: [{ icon: 1, action: ""Navigation.reload()"" }, { icon: 2, action: ""Share.show()"" }] }, s.a.callNative(""JSUIControl"", ""setRightBarButtons"", e)) }, _.loadAccessToken = function(e) { var t = function(t) { var n = (t = t || {}).value || ""null""; ""null"" !== n && 0 !== n.length || (n = null), h.a.setAccessToken(n), f.a.call(e) }; o.b.isNativeLoginVersion ? s.a.callNative(""AMUser"", ""getAccessToken"", null, function(e) { t({ value: (e = e || {}).access_token }) }, function() { t() }) : s.a.callNative(""JSStorage"", ""getSecure"", { key: ""__ACCESS_TOKEN__"" }, function(e) { t(e) }, function() { t() }) }, _.loadUserInfo = function(e) { var t = function(t) { var n = (t = t || {}).access_token || ""null""; ""null"" !== n && 0 !== n.length || (n = null); var r = parseInt(t.user_id, 10) || 0; n === h.a.getAccessToken() && r === h.a.userID || h.a.clearUserStorage(), h.a.setAccessToken(n), h.a.userID = r, t.uin && (h.a.userUIN = t.uin), t.type && h.a.setAppLoginType(t.type), f.a.call(e) }; o.b.isNativeLoginVersion ? s.a.callNative(""AMUser"", ""info"", null, function(e) { t(e) }, function() { _.loadAccessToken(e) }) : s.a.callNative(""JSStorage"", ""getSecure"", { key: ""__ACCESS_TOKEN__"" }, function(e) { t({ access_token: e.value }) }, function() { f.a.call(e) }) }, _.registerSceneNotification = function(e) { var t = this, n = function() { t.checkAndShowAppUpdate({ checkPasteboard: !0 }) }, r = d.a.register(""onApplicationResume"", n); for (var a in e = e || {}, d.a.register(""onSceneLeave"", function() { d.a.unregister(r); var t = document.createEvent(""CustomEvent""); t.initCustomEvent(m.ON_BACKGROUND, !1, !0, {}), window.dispatchEvent(t), f.a.call(e.onSceneLeave) }), d.a.register(""onSceneReturn"", function(t) { r = d.a.register(""onApplicationResume"", n), f.a.call(e.onSceneReturn, t); var a = document.createEvent(""CustomEvent""); a.initCustomEvent(m.ON_FOREGROUND, !1, !0, { payload: t }), window.dispatchEvent(a) }), e) if (a && e.hasOwnProperty(a) && -1 === [""onSceneLeave"", ""onSceneReturn""].indexOf(a)) { var i = e[a]; d.a.register(a, i) } }, _.setupPullReload = function(e) { s.a.callNative(""JSUIControl"", e ? ""disablePullReload"" : ""enablePullReload"") }, _.setHeaderRefresh = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : v, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : v, r = o.b.getAppVersion(); if (this.compareVersion(r, o.b.Current === o.b.IOS ? ""4.56.0"" : ""4.64.0"") < 0) return n(); s.a.callNative(""JSUIControl"", ""setHeaderRefresh"", e, t, n) }, _.checkNativeFriendsEnable = function(e, t) { s.a.check(""PDDABTest"", ""isFriendFeatureEnable"", function(n) { n ? s.a.callNative(""PDDABTest"", ""isFriendFeatureEnable"", null, e, t) : t && t() }, function() { t && t() }) }, _.checkNativeTimelineEnable = function(e, t) { s.a.check(""PDDABTest"", ""isTimelineFeatureEnable"", function(n) { n ? s.a.callNative(""PDDABTest"", ""isTimelineFeatureEnable"", null, e, t) : t && t() }, function() { t && t() }) }, _.registerFriendsGrayChange = function(e) { d.a.register(""PDDUpdateFriendFeaturesNotification"", function(t) { t && t.is_enabled && e && e() }) }, _.sendSharedNotification = function(e, t) { d.a.send(""PDDSentFriendGroupCardMessagesNotification"", e, t, t) }, _.checkAudioEnabled = function(e, t) { s.a.callNative(""PDDAudio"", ""check"", null, function(t) { e && f.a.call(e, t) }, function(e) { t && f.a.call(t, e) }) }, _.enableAudio = function(e, t) { s.a.callNative(""PDDAudio"", ""enable"", null, function(t) { e && f.a.call(e, t) }, function(e) { t && f.a.call(t, e) }) }, _.playAudio = function(e, t, n) { s.a.callNative(""PDDAudio"", ""play"", e, function(e) { t && f.a.call(t, e) }, function(e) { n && f.a.call(n, e) }) }, _.stopAudio = function(e, t) { s.a.callNative(""PDDAudio"", ""stop"", null, function(t) { e && f.a.call(e, t) }, function(e) { t && f.a.call(t, e) }) }, _.preloadAudio = function(e, t, n) { s.a.callNative(""PDDAudio"", ""preload"", e, function(e) { t && f.a.call(t, e) }, function(e) { n && f.a.call(n, e) }) }, _.startRecord = function(e, t, n) { s.a.callNative(""PDDAudio"", ""record"", e, function(e) { t && f.a.call(t, e) }, function(e) { n && f.a.call(n, e) }) }, _.stopRecord = function(e, t) { s.a.callNative(""PDDAudio"", ""stopRecord"", null, function(t) { e && f.a.call(e, t) }, function(e) { t && f.a.call(t, e) }) }, _.uploadAudio = function(e, t, n) { s.a.callNative(""PDDAudio"", ""upload"", e, function(e) { t && f.a.call(t, e) }, function(e) { n && f.a.call(n, e) }) }, _.checkAndShowAppUpdate = function(e) { if (e = e || {}, o.b.isNativeUpdateVersion) return f.a.call(e.callback, !1), void(e.checkPasteboard && y()); if (! function() { if (o.b.isNativeUpdateVersion) return !1; var e = _.getMinimumSupportedVersion(), t = o.b.getAppVersion(); return _.compareVersion(t, e) < 0 }()) return f.a.call(e.callback, !1), void(e.checkPasteboard && y()); var t = (new Date).getDate().toString(); ! function(e, t, n) { var r = function(e) { var r = n; if (void 0 !== (e = e || {}).value) try { r = JSON.parse(e.value) } catch (e) {} f.a.call(t, r) }; s.a.callNative(""JSStorage"", ""get"", { key: e }, function(e) { r(e) }, function() { r() }) }(g.NativeStorageKey.CheckUpdateTime, function(n) { var r = n !== t; r && w(), f.a.call(e.callback, r), !r && e.checkPasteboard && y() }, """") }, _.showJSPhotoAppUpdate = function() { w(g.AlertType.Confirm.ConfirmJSPhotoAppUpdate) }, _.showAppUpdate = function() { w() }, _.checkNotifyFromNative = function(e, t) { s.a.callNative(""AMUserNotification"", ""checkNotify"", {}, function(t) { f.a.call(e, t) }, function(e, n) { f.a.call(t, e, n) }) }, _.enableNotifyFromNative = function(e, t) { s.a.callNative(""AMUserNotification"", ""enableNotify"", {}, function(t) { f.a.call(e, t) }, function(e, n) { f.a.call(t, e, n) }) }, _.checkNativeABTest = function(e, t, n) { function r(e) { t && t(!!e.is_enabled) } function i() { n && n() } s.a.check(""PDDABTest"", ""check"", function(t) { t ? s.a.callNative(""PDDABTest"", ""check"", e, r, i) : n && n() }, function() { n && n() }), e = ""object"" !== a()(e) || null === e ? { name: e } : e }, _.updatePageContext = function(e) { s.a.callNative(""AMNavigator"", ""pageContext"", null, e) }, _.updateReferPageContext = function(e, t) { s.a.callNative(""AMNavigator"", ""referPageContext"", null, e, t) }, _.setPageContextForNative = function(e) { s.a.callNative(""AMNavigator"", ""setPageContext"", e, function() {}) }, _.addPageContextForNative = function(e) { s.a.callNative(""AMNavigator"", ""addPageContext"", e, function() {}) }, _.selectContact = function(e) { o.b.isNativeContactVersion ? s.a.callNative(o.b.isNativeNewContactVersion ? ""PDDContacts"" : ""AMContacts"", ""selectContact"", null, function(t) { e && e(t) }, function() { e && e({}) }) : e && e({}) }, _.checkContactsAuthority = function(e) { o.b.isNativeContactAuthorityVersion ? s.a.callNative(""PDDContacts"", ""check"", null, function(t) { e && e(t) }, function() { e && e() }) : e && e() }, _.searchContactsByMobiles = function(e, t) { o.b.isNativeContactVersion ? s.a.callNative(o.b.isNativeNewContactVersion ? ""PDDContacts"" : ""AMContacts"", ""searchContacts"", { mobiles: e || [] }, function(e) { t && t(e) }, function() { t && t() }) : t && t() }, _.canRenderInMask = function() { return new Promise(function(e, t) { o.b.isModuleVersion && o.b.Current === o.b.IOS ? s.a.check(""AMNavigator"", ""mask"", function(t) { e(!!t) }) : e(!1) }) }, _.setBackButton = function(e, t, n) { s.a.callNative(""JSUIControl"", ""setBackButton"", e, t, n) }, _.checkPDDTester = function(e, t, n) { var r = { name: e || """" }; s.a.callNative(""PDDABTest"", ""check"", r, t, n) }, _.openDirectPay = function(e, t, n, r) { var a = { type: e, params: { sign_url: t } }; s.a.callNative(""AMAgreement"", ""sign"", a, n, r) }; _.orderStatusChange = function(e, t) { d.a.send(""OrderStatusChangedNotification"", e, t, t) }; _.cardStatusChange = function(e, t) { d.a.send(""PDDCardStatusChangeNotification"", e, t, t) }; _.cardBrandCouponPageReady = function(e, t) { d.a.send(""PDDCardBrandCouponPageReady"", e, t, t) }, _.onWebMounted = function() { var e = o.b.getAppVersion(); f.a.compareVersion(e, ""4.27.0"") >= 0 && s.a.callNative(""WebScene"", ""onWebMounted"") }; var S = {}; S = _; t.a = S }, rIj9: function(e, t, n) { ""use strict""; var r = n(""MVZn""), a = n.n(r), i = n(""vDqi""), o = n.n(i), s = function(e, t) { return t.map(function(t) { return { request: e.interceptors.request.use(t.request, t.requestError), response: e.interceptors.response.use(t.response, t.responseError) } }) }, c = n(""KoDT""), u = n(""h3qu""), l = n(""Rn+g""), p = n.n(l), d = n(""MLWZ""), h = n.n(d), f = n(""kk8N""), m = Object(c.b)(window.navigator.userAgent).version, g = Object(u.c)(m, ""4.69.0"") >= 0; function v(e) { return new Promise(function(t, n) { var r = ""post"" === e.method && e.data ? e.data : """", i = { method: e.method.toUpperCase(), url: h()(e.url, e.params, e.paramsSerializer), headers: a()({}, e.headers, { Referer: location.href, ""p-mode"": ""1"" }), data: r }; g && (i.force_anti_token = !!e.useNativeAntiToken), i.encode_resp = void 0 === e.encodeNativeResponse || e.encodeNativeResponse; var o = { nativeParams: i, config: e }; function s(e) { return e.headers && e.headers.AccessToken && (e.headers.AccessToken = e.headers.AccessToken.length), e } f.a.callNative(""JSNetwork"", ""request"", i, function(r) { var a = r.status, i = r.response, s = r.response_encoded, c = void 0 === s || s, u = { data: null, status: a, statusText: """" + a, config: e, headers: {}, request: o }; try { u.data = JSON.parse(c ? decodeURIComponent(i) : i) } catch (e) { 0, u.data = { error_msg: e.message, error_code: 0 } } p()(t, n, u) }, function(t, r) { var a = new Error(""native request error: "".concat(r)); a.errorCode = r, a.nativeErrorCode = r, a.request = o, a.errorType = ""api_error_app"", a.config = e, a.toJSON = function() { return { message: this.message, nativeParams: s(this.request.nativeParams), config: s(this.config), errorCode: this.errorCode, nativeErrorCode: this.nativeErrorCode } }, Object(u.c)(m, ""4.0.0"") > 0 && f.a.callNative(""JSLogger"", ""log"", { module: ""h5-isomorphic-request"", message: e.url + "" failed, "" + JSON.stringify(s(i)), level: 4 }); n(a) }) }) } var _ = n(""tQ2B""), b = n.n(_); function y(e) { return b()(e).catch(function(t) { throw t.config = t.config || e, t }) } var w = n(""iTkx""), S = n(""AGSb""), C = n(""mj+i""), A = n(""Fcpp""), I = n(""UxpZ""), k = n(""mG/U""), E = n(""ouH+""), T = n(""ii9O""), N = n(""IgcI""), x = n(""MpJ2""), O = function() { var e = Object(c.a)(), t = e.platform, n = e.version, r = t === u.a.PddIOS && Object(u.c)(n, ""4.45.0"") >= 0, a = t === u.a.PddAndroid && Object(u.c)(n, ""4.40.0"") >= 0; return r || a }(), D = function() { return { responseError: function(e) { var t = parseInt(e.errorCode, 10); switch (t) { case k.a.AUTHENTICATION_FAILED: E.a.login(null, null, null, function() { return T.a.back() }); break; case 54001: ! function(e) { if (O) return; var t = e.verify_auth_token; localStorage.setItem(""VerifyAuthToken"", t), T.a.forward(""/psnl_verification.html?VerifyAuthToken="" + t) }(e.response.data || {}); break; default: e.config && e.config.defaultErrorHandler ? e.config.defaultErrorHandler(e) : function(e) { N.default ? N.default.showToast(e) : Object(N.showToast)(e) }(Object(k.b)(t)) } throw e } } }; var P = ""//apiv2.hutaojie.com/"", R = ""https://api.pinduoduo.com/""; n.d(t, ""a"", function() { return M }); var M = function(e, t) { var n = e.pageInfo, r = e.useGlbDomain, i = Object(c.a)(), l = i.isNativePlatform, p = i.isTinyNativePlatform, d = l || p, f = function(e) { var t = o.a.create(e); return { http: t, usePlugins: function(e) { return s(t, e) } } }(a()({ baseURL: function(e) { e = e || ""csr.yangkeduo.com"" === location.hostname; var t = Object(u.k)() ? ""https:"" : location.protocol, n = Object(w.a)(location.hostname) ? t + P : R, r = location.protocol + ""//"" + location.host + ""/proxy/api/""; return e ? n : r }(r || d), withCredentials: !0, adapter: d ? v : y, headers: {} }, t)), m = f.http; return (0, f.usePlugins)([{ response: function(e) { var t = e.data, n = e.config, r = e.request; if (t && t.error_code && !0 !== t.success) { var a = t.error_msg || ""unknown biz error"", i = new Error(a); throw i.errorType = ""api_biz_error"", i.errorCode = t.error_code, i.config = n, i.request = r, i.response = e, i } return e }, responseError: function(e) { if (!e.response) throw e.errorType = ""api_http_error"", e; var t = e.response.data; throw t && t.error_code && (e.message = t.error_msg || e.message, e.errorCode = t.error_code, e.errorType = ""api_biz_error""), e } }, function(e) { var t = Object(c.a)().isNativePlatform, n = function(n) { var r = n.response, a = n.config, i = { op: ""real_error"", sub_op: ""api_error"", url: a.method + "":"" + a.url, page_url: location.href, error_code: n.errorCode, error_message: n.message, error_type: n.errorType, params: JSON.stringify({ params: a.params, data: a.data }) }; if (!r) throw i.errorCode = i.errorCode || 0, A.a.trackingRecord(i), n; var o = r.status, s = r.statusText, c = r.data || { error_code: 0 }; throw n.errorCode = n.errorCode || c.error_code, i.http_code = o, i.statusText = s, i.resData = r.data, A.a.trackingRecord(i), t || I.a.tracking({ requestTime: a.requestTime, resTimeConsume: Date.now() - a.requestTime, reqData: { params: a.params, data: a.data }, resData: r.data, apiUrl: h()(a.url, a.params, a.paramsSerializer), statusCode: parseInt(c.error_code, 10) || o, errorCode: c.error_code, pageId: e.pageId }), n }; return t ? { responseError: n } : { request: function(e) { return e.requestTime = Date.now(), e }, response: function(t) { var n = t.data, r = t.config; return r.resTimeConsume = Date.now() - t.config.requestTime, I.a.tracking({ requestTime: r.requestTime, resTimeConsume: r.resTimeConsume, reqData: { params: r.params, data: r.data }, resData: n, apiUrl: h()(r.url, r.params, r.paramsSerializer), statusCode: 200, pageId: e.pageId }), t }, responseError: n } }(n), { request: function(e) { var t = e.headers; ""post"" === e.method && (t[""Content-Type""] = ""application/json;charset=UTF-8""); var n = localStorage.getItem(""AccessToken""); n && (t.AccessToken = n); var r = O ? null : localStorage.getItem(""VerifyAuthToken""); return r && (t.VerifyAuthToken = r), e } }, { request: function(e) { return (Object(u.k)() ? Object(x.b)().then(function(e) { return e.user_id }).catch(function() { return 0 }) : Promise.resolve(0)).then(function(t) { return e.params = a()({ pdduid: t || parseInt(Object(S.a)(""pdd_user_id""), 10) || 0, is_back: ""1"" === Object(C.e)(window.location.search).is_back ? ""1"" : null }, e.params), e }) } }, D(), { response: function(e) { return e.config.useRawResponse ? e : e.data } } ]), m } }, rvpN: function(e, t, n) { ""use strict""; function r(e) { return null == e } n.d(t, ""a"", function() { return r }) }, rx36: function(e, t, n) { ""use strict""; var r = n(""fbeZ""); t.a = r }, s1mm: function(e, t, n) { ""use strict""; var r = n(""3OdE""), a = n(""IgcI""), i = n(""Fcpp""), o = r.a.error; t.a = function(e, t) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}; e == o.AuthenticationFailed.code ? i.a.trackingRecord(n) : a.default.showToast(o.getMsgFromCode(e)) } }, tWR7: function(e, t, n) { ""use strict""; var r = n(""xnWZ""), a = { isAbsoluteUrl: function(e) { return /^http[s]?:\/\//i.test(e) }, getRelativeUrl: function(e) { if (""undefined"" != typeof window) { e = e || window.location.href; var t = document.createElement(""a""); t.href = e; var n = t.href, r = n.match(/\w\/.*/); return r ? n.substring(r.index + 1) : t.pathname + t.search + t.hash } }, getParameters: function() { var e = this.pageParseQuery(); return JSON.parse(JSON.stringify(e)) }, getParameter: function(e) { var t = this.pageParseQuery(); return t ? t[e] : null }, parseQuery: function(e) { if (null == e || e.length <= 0) return {}; ""?"" == e[0] && (e = e.substring(1)); for (var t = {}, n = e.split(""&""), r = 0; r < n.length; ++r) { var a = n[r].split(""=""); if (null != a[0] && a[0].length > 0) { var i = a[1] || """"; t[decodeURIComponent(a[0])] = decodeURIComponent(i) } } return t }, pageParseQuery: function() { return this.parseQuery(window.location.search) }, buildQuery: function() { for (var e = {}, t = 0; t < arguments.length; ++t) { var n = arguments[t]; for (var r in n) { var a = n[r]; null != r && null != a && (e[encodeURIComponent(r)] = encodeURIComponent(a)) } } var i = """"; for (var r in e) i.length > 0 && (i += ""&""), i += r + ""="" + e[r]; return i }, buildURL: function(e, t, n) { if (!document) return !1; var a = document.createElement(""a""); if (a.href = t || location.href, null != n) { var i = a; (a = document.createElement(""a"")).href = n, i.pathname.length > 0 && (a.pathname = i.pathname, r.b.isModuleVersion && [""http:"", ""https:""].indexOf(location.protocol) < 0 && (a.pathname = this.fullURL(i.pathname))), i.search.length > 0 && (a.search = i.search), i.hash.length > 0 && (a.hash = i.hash) } var o = this.parseQuery(a.search); for (var s in e) { var c = e[s]; null == c ? delete o[s] : o[s] = c } var u = this.buildQuery(o); return u.length > 0 ? a.search = ""?"" + u : a.search = """", a.href }, fullURL: function(e) { if (!document) return !1; if (r.b.isModuleVersion && [""http:"", ""https:""].indexOf(location.protocol) < 0) { for (var t = (e = e || location.href).indexOf("".html""); t >= 0 && ""/"" != e.substr(t, 1);) t--; return e.substring(t + (""/"" == e.substr(t, 1) ? 1 : 0)) } var n = document.createElement(""a""); return n.href = e, n.href }, addTimeStampForUrl: function(e) { var t = { ts: (new Date).getTime() }; return this.buildURL(t, e) }, httpsSafe: function(e) { if (!e) return e; var t = !1; return t = !(location || {}).href.match(/^https?:/), e.replace(/^https?:\/\//, t ? ""http://"" : ""//"") }, linking: function(e) { if (!document) return !1; if (e) { var t = ""id"" + (Math.random() + """").substr(2), n = document.createElement(""a""); n.setAttribute(""id"", t), n.setAttribute(""href"", e), n.setAttribute(""style"", ""display:none;""), n.setAttribute(""height"", ""0px""), n.setAttribute(""width"", ""0px""), document.body.appendChild(n); var r = document.getElementById(t); r && r.click ? r.click() : null != n && n.click(), n.parentNode.removeChild(n) } } }; t.a = a }, tf5S: function(e, t) { e.exports = '
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n' }, tl7A: function(e, t, n) { ""use strict""; (function(e) { n.d(t, ""a"", function() { return _ }); var r = n(""J4zp""), a = n.n(r), i = n(""lwsE""), o = n.n(i), s = n(""W8MJ""), c = n.n(s), u = n(""fkZF""), l = n(""xJ31""), p = n(""0P1e""), d = n(""KoDT""), h = n(""h3qu""), f = n(""MpJ2""), m = n(""ZVxM""), g = Object(d.a)(), v = Array.prototype.slice, _ = function() { function t(e) { var n = this; o()(this, t), this.url = e.url ? e.url : Object(m.c)(""/api/cmt/ua_performance""), this.skipNewVersionCheck = e.skipNewVersionCheck; var r = Date.now(), a = Object(u.a)(6); this.data = { v: 1, t: r, r: a, c: Object(l.a)(r + ""-"" + a), d: { t: Date.now(), n: 0, rts: this.getRts(), v: Object(m.a)(g.version) || ""-1"", pn: e.id, e: {} } }; var i = this.getNativePackageType(); i && (this.data.d.pt = i), this.isSend = !1; var s = window._plt || [], c = s.push; s.push = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; var a = c.apply(s, t); return n.checkReady(), a }, window._plt = s, this.checkReady() } return c()(t, [{ key: ""getNativePackageType"", value: function() { return g.isTinyNativePlatform ? 1 : g.isLiteNativePlatform ? 2 : g.isMecoCore ? 3 : void 0 } }, { key: ""checkReady"", value: function() { if (!this.isSend) { var e = this.getGlobalParams().tm; [""ps"", ""fp"", ""fs"", ""dr"", ""ld"", ""fsn""].reduce(function(t, n) { return t && e.hasOwnProperty(n) }) && (this.isSend = !0, this.send()) } } }, { key: ""getRts"", value: function() { var e = window.performance; if (!e || !e.timing) return []; var t = e.timing; return [t.navigationStart, t.redirectStart, t.redirectEnd, t.fetchStart, t.domainLookupStart, t.domainLookupEnd, t.connectStart, t.secureConnectionStart, t.connectEnd, t.requestStart, t.responseStart, t.unloadEventStart, t.unloadEventEnd, t.responseEnd, t.domLoading, t.domInteractive, t.domContentLoadedEventStart, t.domContentLoadedEventEnd, t.domComplete, t.loadEventStart, t.loadEventEnd] } }, { key: ""getGlobalParams"", value: function() { var e = { cfg: {}, tm: {} }; return (window._plt = window._plt || []).forEach(function(t) { var n = a()(t, 3), r = n[0], i = n[1], o = n[2], s = e[r]; s && !s[i] && (s[i] = o) }), e } }, { key: ""getWebviewRts"", value: function() { return Promise.all([new Promise(function(e, t) { if (!g.isNativePlatform || Object(h.c)(g.version, ""4.16.0"") < 0) return e([]); Object(f.c)(""WebScene"", ""getTiming"", {}).then(function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return e(t.webViewRefresh ? [] : [t.webviewInit || t.webViewInit, t.webviewSetUrl || t.webViewSetUrl, t.webviewLoadStart || t.webViewLoadStart, t.webviewLoadEnd || t.webViewLoadEnd, t.webviewFirstPaint || t.webViewFirstPaint].map(function(e) { return +e || 0 })) }, t) }), new Promise(function(e, t) { if (!g.isNativePlatform || Object(h.c)(g.version, ""4.61.0"") < 0) return e([]); Object(f.c)(""PDDLaunchInfo"", ""getInfo"", {}).then(function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return e([t.app_start_time]) }, t) })]).then(function(e) { var t = a()(e, 2), n = t[0], r = t[1]; return n.length && n.concat(r) || [] }).catch(function() { return [] }) } }, { key: ""getCustomizedRts"", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = 0, n = 0, r = window.performance, a = {}; if (r && r.timing && r.getEntriesByName && r.getEntriesByType) { var i = r.timing.navigationStart, o = r.getEntriesByName(""first-paint"")[0], s = r.getEntriesByName(""first-contentful-paint"")[0]; o && (t = o.startTime + i), s && (n = s.startTime + i); var c = v.apply(document.querySelectorAll(""script"")).filter(function(e) { return e.src && !e.async }).map(function(e) { return e.src }), u = v.apply(document.querySelectorAll('link[rel=""stylesheet""]')).map(function(e) { return e.href }), l = r.getEntriesByType(""resource""), p = l.filter(function(e) { return u.includes(e.name) }), d = l.filter(function(e) { return c.includes(e.name) }), h = function(e, t, n) { return (e.length && e.reduce(function(e, r) { return Math[t](e, r[n]) }, e[0][n]) || 0) + i }, f = function(e, t) { return h(e, ""min"", t) }, m = function(e, t) { return h(e, ""max"", t) }; a = { scriptStart: f(d, ""fetchStart""), scriptEnd: m(d, ""responseEnd""), styleStart: f(p, ""fetchStart""), styleEnd: m(p, ""responseEnd"") } } return [e.ps, e.fp, e.fs, e.dr, e.ld, e.fsn, t, n, a.styleStart, a.styleEnd, a.scriptStart, a.scriptEnd].map(function(e) { return +parseInt(e, 10) || 0 }) } }, { key: ""getAssetsId"", value: function() { var e = [ [""script"", function(e) { return e.src || """" } ], [""link"", function(e) { return ""stylesheet"" === e.rel && e.href || """" } ] ].map(function(e) { return v.apply(document.getElementsByTagName(e[0])).map(e[1]).join("""") }); return Object(l.a)(e.join("""")) } }, { key: ""isNewVersion"", value: function() { arguments.length > 0 && void 0 !== arguments[0] && arguments[0]; if (this.skipNewVersionCheck) return !1; var e = this.getAssetsId(); if (e) { var t = location.pathname, n = localStorage.getItem(""pdd_build_version""); try { n = JSON.parse(n) || {} } catch (e) { n = {} } var r = e === n[t]; return r || (n[t] = e, localStorage.setItem(""pdd_build_version"", JSON.stringify(n))), !r } return !1 } }, { key: ""send"", value: function() { var t = this; if (this.data.d.pn) { var n = Object(m.b)(); if (!(Math.random() > n.sampleRate)) { var r = this, i = this.getGlobalParams(); Promise.all([Object(p.a)(), r.getWebviewRts()]).then(function(o) { var s = a()(o, 2), c = s[0], u = s[1], l = r.data.d; l.r = n.amplifyRate, l.n = c, l.wrts = u, l.crts = t.getCustomizedRts(i.tm), l.nv = t.isNewVersion(); var p = { method: ""POST"", body: JSON.stringify(r.data), data: JSON.stringify(r.data), headers: { ""Content-Type"": ""application/json;charset=UTF-8"" }, credentials: ""include"" }, d = r.url; g.isNativePlatform ? (Object.assign(p, { url: d }), Object(f.c)(""JSNetwork"", ""request"", p).catch(function(e) { if (g.platform === h.a.PddAndroid && Object(h.c)(g.version, ""4.78.0"") >= 0) throw e })) : e(d, p).catch(function(e) {}) }) } } } }]), t }() }).call(this, n(""BlQd"")) }, ""u/J7"": function(e, t, n) { ""use strict""; n.r(t); var r = n(""EJiy""), a = n.n(r), i = function(e) { m && e && (m.push(e), m.push(e.style.overflow), e.style.overflow = ""hidden"", e.scrollYMax = e.scrollHeight - e.offsetHeight) }, o = function(e, t, n) { var r = e.scrollHeight - e.offsetHeight, a = Math.round(e.scrollTop - n); return a < 0 ? a = 0 : a > r && (a = r), a != e.scrollTop && (e.scrollTop = a, !0) }, s = function(e) { e.preventDefault && e.preventDefault(), e.returnValue = !1 }, c = function(e) { var t = 0; if (e && e.changedTouches && e.changedTouches.length) { if (""touchstart"" == e.type) { if (e.touches && -1 != f) { for (var n = !1, r = 0; r < e.touches.length; r++) if (f == e.touches[r].identifier) { n = !0; break } n || (f = -1) } if (-1 != f) return void s(e); var a = Date.now(); if (a - g < 500 && v == e.target) return void s(e); g = a, v = e.target, f = e.changedTouches[0].identifier, d = e.changedTouches[0].screenX, h = e.changedTouches[0].screenY } else if (""touchmove"" == e.type) { if (f != e.changedTouches[0].identifier) return void s(e); var i = e.changedTouches[0].screenX, c = e.changedTouches[0].screenY; i - d, t = c - h, d = i, h = c } else if (""touchend"" == e.type) { if (f != e.changedTouches[0].identifier) return void s(e); f = -1, d = -1, h = -1 } return ""touchmove"" == e.type ? (function(e, t, n) { if (p && p.length && e) for (; e;) { if (e.id && -1 != p.indexOf(e.id)) return o(e, 0, n); e = e.parentNode } }(e.target, 0, t), s(e), !1) : void 0 } s(e) }, u = function e(t) { if (p && t) if (""string"" == typeof t) p.push(t), i(document.getElementById(t)); else if (""object"" === (void 0 === t ? ""undefined"" : a()(t))) { if (function(e) { return ""function"" == typeof Array.isArray ? Array.isArray(e) : ""[object Array]"" === Object.prototype.toString.call(e) }(t)) for (var n = 0; n < t.length; n++) e(t[n]); else t.id && ""string"" == typeof t.id && (p.push(t.id), i(t)) } }, l = function(e) { e._isScroller || e.preventDefault() }, p = null, d = void 0, h = void 0, f = -1, m = [], g = 0, v = null; ! function() { if (!((document.getElementsByTagName(""footer"") || []).length > 0)) { var e = document.getElementsByClassName(""container"")[0]; e && e.classList && e.classList.add(""no-footer"") } }(); var _ = !1; try { var b = Object.defineProperty({}, ""passive"", { get: function() { _ = !0 } }); window.addEventListener(""passivesupport"", null, b) } catch (e) {} var y = { disableScroll: function() { p = [], 0 === m.length && (i(document.body), i(document.querySelector("".container"")), window.addEventListener(""touchmove"", c, !0), window.addEventListener(""touchstart"", c, !0), window.addEventListener(""touchend"", c, !0)); for (var e = 0; e < arguments.length; e++) u(arguments[e]) }, enableScroll: function() { m.length && (function() { if (m && m.length) { for (var e = m.length - 2; e >= 0; e -= 2) m[e].style.overflow = m[e + 1]; m = [] } }(), window.removeEventListener(""touchmove"", c, !0), window.removeEventListener(""touchstart"", c, !0), window.removeEventListener(""touchend"", c, !0)) }, onWindowResize: function(e) { ""function"" == typeof e && (window.onresize = function(e, t) { return function() { null !== e && e(), t() } }(""function"" == typeof window.onresize ? window.onresize : null, e)) }, disableScrollNew: function(e) { var t = !!_ && { passive: !0 }, n = !!_ && { passive: !1 }, r = function(e) { e.addEventListener(""touchstart"", function() { var t = e.scrollTop, n = e.scrollHeight, r = t + e.offsetHeight; 0 === t ? e.scrollTop = 1 : r === n && (e.scrollTop = t - 1) }, t), e.addEventListener(""touchmove"", function(t) { e.offsetHeight < e.scrollHeight && (t._isScroller = !0) }, t) }; if ((e = e || []).nodeType) r(e); else for (var a in e) { if (!e[a].nodeType) return void console.error(""disableEventNew方法参数错误""); r(e[a]) } document.body.addEventListener(""touchmove"", l, n), document.documentElement.addEventListener(""touchmove"", l, n) }, disableBodyScroll: l, enableScrollNew: function() { document.body.removeEventListener(""touchmove"", l), document.documentElement.removeEventListener(""touchmove"", l) } }, w = {}; w = function() { var e = {}, t = {}, n = void 0; return n = ""undefined"" != typeof window && window ? window.requestAnimationFrame || window.webkitRequestAnimationFrame || function(e) { window.setTimeout(e, 1e3 / 60) } : function() {}, e.Animation = {}, e.getWindowWidth = function() { t.width; var e = void 0; return window ? e = window.innerWidth : document && document.body && (e = document.body.offsetWidth), t.width = Math.min(e || 0, 640), t.width }, e.getWindowHeight = function() { t.height; var e = void 0; return window ? e = window.innerHeight : document && document.body && (e = document.body.offsetHeight), t.height = e || 0, t.height }, e.getOffsetLeftOnBody = function(t) { return e.getOffsetLeft(t, document.body) }, e.getOffsetTopOnBody = function(t) { return e.getOffsetTop(t, document.body) }, e.getOffsetTop = function(e, t) { for (var n = 0; e && e != t;) n += e.offsetTop, e = e.offsetParent; return n }, e.getOffsetFromParent = function(e, t) { for (var n = 0, r = 0, a = 0; e && t && e !== t;) if (n += e.offsetTop, r += e.offsetLeft, e = e.offsetParent, ++a >= 100) return; return { offsetTop: n, offsetLeft: r } }, e.getOffsetLeft = function(e, t) { for (var n = 0; e && e != t;) n += e.offsetLeft, e = e.offsetParent; return n }, e.setScrollTop = function(e, t) { return t && t !== document.body ? (t.scrollTop = e, t) : 0 === e ? (document.body.scrollTop = 0, (document.documentElement || {}).scrollTop = 0, null) : (document.body.scrollTop = e, 0 !== document.body.scrollTop ? document.body : ((document.documentElement || {}).scrollTop = e, !(!document.documentElement || 0 === document.documentElement.scrollTop) && document.documentElement)) }, e.getScrollTop = function(e) { return e && e !== document.body ? e.scrollTop : document.body.scrollTop + ((document.documentElement || {}).scrollTop || 0) }, e.lazyLoadOnScroller = function(t, n, r, a) { var i = t; r = r || {}; var o = a || document.body; if (i) { var s = 1; ""number"" == typeof r.pageVerticalRatio && (s = r.pageVerticalRatio); var c = r.pageHorizontalRatio || 0, u = r.disableHorizontalCheck || !1, l = r.disableVerticalCheck || !1, p = e.getScrollTop(o) || 0, d = o.scrollLeft || 0, h = a ? o.offsetHeight : e.getWindowHeight(), f = a ? o.offsetWidth : e.getWindowWidth(), m = Math.max(((window ? window.innerWidth : document && document.documentElement && document.documentElement.offsetWidth ? document.documentElement.offsetWidth : e.getWindowWidth()) - f) / 2, 0); if (r.specwrapperHeight && (h = e.getWindowHeight()), r.onlyInScroller) { var g = e.getOffsetTop(i, o), v = e.getOffsetLeft(i, o); if (g <= p || g >= h + p || v <= d || v >= d + f) return } var _ = e.getScrollTop(o) || 0, b = o.scrollLeft || 0, y = h, w = f, S = Math.max(_ - y * s, 0), C = _ + y * (s + 1), A = Math.max(b - w * c, 0), I = b + w * (c + 1), k = !1, E = [], T = void 0; E = r ? r.byClassName ? t.getElementsByClassName(r.byClassName) : r.byTagName ? t.getElementsByTagName(r.byTagName) : r.querySelectorAll ? document.querySelectorAll(r.querySelectorAll) : t.getElementsByTagName(""img"") : t.getElementsByTagName(""img""); for (var N = n || E.length, x = 0; x < N; x++) { var O = (T = E[x] || {}).getAttribute(""data-url"") || T.getAttribute(""data-imgUrl""); if (T.dataset && O && T.src !== O) { var D = e.getOffsetTop(T, o), P = D + T.offsetHeight; if (l || D >= S && D <= C || P >= S && P <= C) { var R = e.getOffsetLeft(T, o), M = (R = Math.max(R - m, 0)) + T.offsetWidth; (u || R <= I && R >= A || M <= I && M >= A) && (T.src = O, k = !0) } else if (D > C) break } } return k } }, e.addGoTopButton = function(t, n, r) { t = t || document.body, n = n || document.body; var a = document.createElement(""div""); a.innerHTML = ""顶部"", a.className = ""go-top"", n.appendChild(a); var i = function() { e.getScrollTop(t) < e.getWindowHeight() ? a.className = ""go-top top-button-hide"" : a.className = ""go-top top-button-show"", r && ""function"" == typeof r && r() }; t.addEventListener(""scroll"", function() { i() }, !1), a.addEventListener(""click"", function() { e.setScrollTop(0, t), i() }, !1), i() }, e.Animation.Funcs = { Linear: function(e, t, n, r) { return n * e / r + t }, Cubic: { easeIn: function(e, t, n, r) { return n * (e /= r) * e * e + t }, easeOut: function(e, t, n, r) { return n * ((e = e / r - 1) * e * e + 1) + t }, easeInOut: function(e, t, n, r) { return (e /= r / 2) < 1 ? n / 2 * e * e * e + t : n / 2 * ((e -= 2) * e * e + 2) + t } }, Sine: { easeIn: function(e, t, n, r) { return -n * Math.cos(e / r * (Math.PI / 2)) + n + t }, easeOut: function(e, t, n, r) { return n * Math.sin(e / r * (Math.PI / 2)) + t }, easeInOut: function(e, t, n, r) { return -n / 2 * (Math.cos(Math.PI * e / r) - 1) + t } }, Quart: { easeIn: function(e, t, n, r) { return n * (e /= r) * e * e * e + t }, easeOut: function(e, t, n, r) { return -n * ((e = e / r - 1) * e * e * e - 1) + t }, easeInOut: function(e, t, n, r) { return (e /= r / 2) < 1 ? n / 2 * e * e * e * e + t : -n / 2 * ((e -= 2) * e * e * e - 2) + t } } }, e.Animation.scrollLeftTo = function(t, n, r, a) { (r = r || {}).attr = ""scrollLeft"", e.Animation.gradualChange(t, n, r, a) }, e.Animation.gradualChange = function(t, r, a, i) { if (t && void 0 !== r) { var o = (a = a || {}).fn || e.Animation.Funcs.Linear, s = a.wrapValueFn || null, c = a.getValueFn || null, u = a.during || 60, l = a.callbackTimeout || 0, p = a.inStyle || !1, d = a.stopAdvance || 0, h = a.attr; if (h) { var f = 0, m = 0, g = function() { l ? i && setTimeout(i, l) : i && i() }; ! function e() { f++; var a = 0; a = ""function"" == typeof c ? c(m) : t[h]; var i = m = o(f, a, r - a, u); ""function"" == typeof s && (i = s(m, f)), p ? t.style[h] = i : t[h] = i, f > u - d ? g() : f < u ? n(e) : g() }() } else i && i() } }, e.isNodeInPath = function(e, t, n, r) { var a = !1; if (!e || !t || !n) return a; r = r || {}; for (var i = t; i;) { if (i === e) { a = !0; break } r.lastMiddleNode = i, i = i.parentNode } return a }, e.disableScroll = y.disableScroll, e.enableScroll = y.enableScroll, e.onWindowResize = y.onWindowResize, e.disableScrollNew = y.disableScrollNew, e.disableBodyScroll = y.disableBodyScroll, e.enableScrollNew = y.enableScrollNew, e }(); t.default = w }, u16y: function(e, t, n) { ""use strict""; var r = n(""b5fu""), a = n(""xnWZ""), i = n(""kk8N""), o = n(""3OdE""), s = n(""lSNA""), c = n.n(s), u = n(""J4zp""), l = n.n(u), p = n(""q1tI""), d = n.n(p), h = n(""7VIw""), f = n.n(h), m = n(""0Dta""), g = n(""i8i4""), v = n.n(g), _ = n(""u/J7""), b = function(e) { var t, n = e.index, r = e.height, a = e.width, i = e.imageList, o = e.onClose, s = Object(p.useState)(+n || 0), u = l()(s, 2), h = u[0], g = u[1]; Object(p.useEffect)(function() { return _.default.disableScrollNew(), function() { _.default.enableScrollNew() } }, [i, n]); var v = i.map(function(e, t) { return d.a.createElement(""div"", { key: t, style: { background: 'center no-repeat url(""'.concat(Object(m.c)(e), '"")'), backgroundSize: ""contain"", height: r, width: a } }) }); return d.a.createElement(""div"", { style: (t = { position: ""fixed"", top: 0, bottom: 0, left: 0, right: 0, zIndex: 9999999, background: ""#000"", display: ""flex"" }, c()(t, ""display"", ""-webkit-flex""), c()(t, ""justifyContent"", ""center""), c()(t, ""WebkitJustifyContent"", ""center""), c()(t, ""WebkitAlignItems"", ""center""), c()(t, ""alignItems"", ""center""), t), onClick: o }, d.a.createElement(f.a, { enableMouseEvents: !0, index: h, onChangeIndex: function(e) { g(e) } }, v)) }, y = ""data:image/webp;base64,UklGRlAAAABXRUJQVlA4WAoAAAAQAAAADwAADwAAQUxQSBIAAAABBxAR/Q8ABOH/3EFE/1MDAABWUDggGAAAADABAJ0BKhAAEAACACYlpAADcAD+/PQAAA=="", w = o.a.constant, S = w.CDNConstant, C = S.AliImageCDN, A = S.TencentImageCDN, I = S.ImageCDNType, k = S.TENCENT_COMPRESS_DEFAULT, E = { getCDNImgURL: function(e) { return this.httpsSafe(w.CDNImgHostName + e) }, addWaterMark: function(e, t, n) { if ((e = e || """").indexOf(""!"") >= 0 && !n) return e; e = e.split(""!"")[0]; var r = this.getImageCDNType(e); return (e.indexOf(""upaiyun.com"") >= 0 || r === I.ALI || r === I.TENCENT) && (e += t), e }, upaiyunCompress: function(e, t, n) { if ((e = e || """").indexOf(""!"") >= 0 || e.indexOf(""@"") >= 0 || e.indexOf(""x-oss-process"") >= 0 || e.indexOf("".gif"") >= 0) return e; var r = this.getImageCDNType(e); return e.indexOf(""upaiyun.com"") > 0 ? (t = t || ""750"", e.indexOf(""weishoptest"") > 0 ? e += ""!640"" : e += ""!"" + t) : r === I.ALI ? (t = t || w.CompressPipe.Default, e += ""@"" + (t += n || this.webpEnable ? "".webp"" : "".src"")) : r === I.TENCENT && (e = e.split(""?"")[0], n || this.webpEnable ? e += ""?"".concat(k) : e += ""?imageMogr2/quality/70""), e }, cdnCompress: function(e, t, n) { return this.httpsSafe(this.upaiyunCompress(e, t, n)) }, httpsSafe: function(e) { if (!e) return e; var t = !1; return t = !(location || {}).href.match(/^https?:/), e.replace(/^https?:\/\//, t ? ""https://"" : ""//"") }, getImageCDNType: function(e) { var t = ((e || """").match(/\/\/([\w+\.]+)\//) || [])[1] || """"; return C.indexOf(t) >= 0 ? I.ALI : A.indexOf(t) >= 0 ? I.TENCENT : t.match(/t\d+img\.yangkeduo\.com/) ? I.TENCENT : t.match(/a\d+img\.yangkeduo\.com/) ? I.ALI : I.DEFAULT }, getSquareAvatar: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """", t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return this.getRoundAvatar(e, t) }, getRoundAvatar: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """", t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = this.getImageCDNType(e), r = t.size || 100, a = t.radius || 100; if (I.ALI === n) return this.xOssProcess(e, { processes: [""resize,w_"".concat(r), ""circle,r_"".concat(a), ""format,png""] }); if (I.TENCENT === n) { var i = encodeURIComponent(""|""); return this.imageMogr2(e, { processes: [""thumbnail/"".concat(r, ""x"").concat(i, ""imageMogr2/iradius/"").concat(a / 2, ""/format/png"")] }) } return e }, imageMogr2: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """", t = arguments.length > 1 ? arguments[1] : void 0; if (this.getImageCDNType(e) !== I.TENCENT) return e; var n = e.split(""?"")[0]; return t && t.processes && t.processes.length ? n + ""?imageMogr2"" + (t.processes || []).reduce(function(e, t) { return """".concat(e, ""/"").concat(t) }, """") : e }, xOssProcess: function(e, t) { if (this.getImageCDNType(e) !== I.ALI) return e; var n = e = e || """"; if (e.indexOf(""!"") >= 0 ? n = e.split(""!"")[0] : e.indexOf(""@"") >= 0 ? n = e.split(""@"")[0] : e.indexOf(""?"") >= 0 && (n = e.split(""?"")[0]), t && t.method) { var r = t.actions || {}, a = """"; for (var i in r) { a += "","" + i + ""_"" + r[i] } return n + (a ? """".concat(""?x-oss-process=image"", ""/"").concat(t.method).concat(a) : """") } return t && t.processes && t.processes.length ? n + ""?x-oss-process=image"" + (t.processes || []).reduce(function(e, t) { return """".concat(e, ""/"").concat(t) }, """") : n }, webpEnable: !1, viewImages: function(e, t, n) { if (n = n || {}, e = e.replace(/^\/\//, ""http://""), t && (t = t.map(function(e) { return e.replace(/^\/\//, ""http://"") })), a.b.isNativeImageViewerVersion) { var r = n, o = r.viewAttri, s = r.showIndexBar, c = void 0 === s || s, u = r.comeInAnim, l = r.exitOutAnim, p = r.hybridPhotoBrowser, h = r.longImageOptimizeInIphonex; null == t && (t = [e]); var f = t.indexOf(e); f < 0 && (f = 0); var m = t.map(function(e) { return { url: e } }); i.a.callNative(""JSNavigation"", ""modal"", { type: ""photo_browse"", props: { browse_items: m, view_attri: o, show_index_bar: c, current_index: f, come_in_anim: u, exit_out_anim: l, hybrid_photo_browser: p, long_image_optimize_in_iphonex: h }, navigation_bar: { hidden: !0 } }) } else { var g = n.ViewNotWechatInteraface || !1; t = t || [e], null != window.wx && a.b.isWeChatPlatform() && !g ? wx.previewImage({ urls: t, current: e }) : function(e, t) { var n = document.createElement(""div""); document.body.appendChild(n), v.a.render(d.a.createElement(b, { height: window.innerHeight + ""px"", width: window.innerWidth + ""px"", imageList: t, index: t.indexOf(e), onClose: function() { setTimeout(function() { v.a.unmountComponentAtNode(n), document.body.removeChild(n), n = null }, 0) } }), n) }(e, t) } } }; t.a = E; ! function() { var e = w.CookieKey.UA; if (""undefined"" != typeof navigator) { var t = navigator.userAgent || navigator.vendor; if (t = encodeURIComponent(t), r.a.getCookieByName(e) !== t) { var n = {}; n[e] = t, r.a.setCookie(n); var a = {}; a[w.CookieKey.WebpEnable] = null, r.a.setCookie(a) } } }(), function() { if (w && r.a && ""undefined"" != typeof document) { var e = w.CookieKey.WebpEnable, t = r.a.getCookieByName(e); if (t) E.webpEnable = ""1"" === t; else { var n = document.createElement(""img""); n.onload = function() { if (n.height && n.width) { E.webpEnable = !0; var t = {}; t[e] = ""1"", r.a.setCookie(t) } }, n.onerror = function() { var t = {}; t[e] = ""0"", r.a.setCookie(t) }, n.src = y } } }() }, uSI5: function(e, t, n) { ""use strict""; function r(e, t) { var n = (65535 & e) + (65535 & t); return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n } function a(e, t, n, a, i, o) { return r(function(e, t) { return e << t | e >>> 32 - t }(r(r(t, e), r(a, o)), i), n) } function i(e, t, n, r, i, o, s) { return a(t & n | ~t & r, e, t, i, o, s) } function o(e, t, n, r, i, o, s) { return a(t & r | n & ~r, e, t, i, o, s) } function s(e, t, n, r, i, o, s) { return a(t ^ n ^ r, e, t, i, o, s) } function c(e, t, n, r, i, o, s) { return a(n ^ (t | ~r), e, t, i, o, s) } function u(e, t) { var n, a, u, l, p; e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t; var d = 1732584193, h = -271733879, f = -1732584194, m = 271733878; for (n = 0; n < e.length; n += 16) a = d, u = h, l = f, p = m, h = c(h = c(h = c(h = c(h = s(h = s(h = s(h = s(h = o(h = o(h = o(h = o(h = i(h = i(h = i(h = i(h, f = i(f, m = i(m, d = i(d, h, f, m, e[n], 7, -680876936), h, f, e[n + 1], 12, -389564586), d, h, e[n + 2], 17, 606105819), m, d, e[n + 3], 22, -1044525330), f = i(f, m = i(m, d = i(d, h, f, m, e[n + 4], 7, -176418897), h, f, e[n + 5], 12, 1200080426), d, h, e[n + 6], 17, -1473231341), m, d, e[n + 7], 22, -45705983), f = i(f, m = i(m, d = i(d, h, f, m, e[n + 8], 7, 1770035416), h, f, e[n + 9], 12, -1958414417), d, h, e[n + 10], 17, -42063), m, d, e[n + 11], 22, -1990404162), f = i(f, m = i(m, d = i(d, h, f, m, e[n + 12], 7, 1804603682), h, f, e[n + 13], 12, -40341101), d, h, e[n + 14], 17, -1502002290), m, d, e[n + 15], 22, 1236535329), f = o(f, m = o(m, d = o(d, h, f, m, e[n + 1], 5, -165796510), h, f, e[n + 6], 9, -1069501632), d, h, e[n + 11], 14, 643717713), m, d, e[n], 20, -373897302), f = o(f, m = o(m, d = o(d, h, f, m, e[n + 5], 5, -701558691), h, f, e[n + 10], 9, 38016083), d, h, e[n + 15], 14, -660478335), m, d, e[n + 4], 20, -405537848), f = o(f, m = o(m, d = o(d, h, f, m, e[n + 9], 5, 568446438), h, f, e[n + 14], 9, -1019803690), d, h, e[n + 3], 14, -187363961), m, d, e[n + 8], 20, 1163531501), f = o(f, m = o(m, d = o(d, h, f, m, e[n + 13], 5, -1444681467), h, f, e[n + 2], 9, -51403784), d, h, e[n + 7], 14, 1735328473), m, d, e[n + 12], 20, -1926607734), f = s(f, m = s(m, d = s(d, h, f, m, e[n + 5], 4, -378558), h, f, e[n + 8], 11, -2022574463), d, h, e[n + 11], 16, 1839030562), m, d, e[n + 14], 23, -35309556), f = s(f, m = s(m, d = s(d, h, f, m, e[n + 1], 4, -1530992060), h, f, e[n + 4], 11, 1272893353), d, h, e[n + 7], 16, -155497632), m, d, e[n + 10], 23, -1094730640), f = s(f, m = s(m, d = s(d, h, f, m, e[n + 13], 4, 681279174), h, f, e[n], 11, -358537222), d, h, e[n + 3], 16, -722521979), m, d, e[n + 6], 23, 76029189), f = s(f, m = s(m, d = s(d, h, f, m, e[n + 9], 4, -640364487), h, f, e[n + 12], 11, -421815835), d, h, e[n + 15], 16, 530742520), m, d, e[n + 2], 23, -995338651), f = c(f, m = c(m, d = c(d, h, f, m, e[n], 6, -198630844), h, f, e[n + 7], 10, 1126891415), d, h, e[n + 14], 15, -1416354905), m, d, e[n + 5], 21, -57434055), f = c(f, m = c(m, d = c(d, h, f, m, e[n + 12], 6, 1700485571), h, f, e[n + 3], 10, -1894986606), d, h, e[n + 10], 15, -1051523), m, d, e[n + 1], 21, -2054922799), f = c(f, m = c(m, d = c(d, h, f, m, e[n + 8], 6, 1873313359), h, f, e[n + 15], 10, -30611744), d, h, e[n + 6], 15, -1560198380), m, d, e[n + 13], 21, 1309151649), f = c(f, m = c(m, d = c(d, h, f, m, e[n + 4], 6, -145523070), h, f, e[n + 11], 10, -1120210379), d, h, e[n + 2], 15, 718787259), m, d, e[n + 9], 21, -343485551), d = r(d, a), h = r(h, u), f = r(f, l), m = r(m, p); return [d, h, f, m] } function l(e) { var t, n = """", r = 32 * e.length; for (t = 0; t < r; t += 8) n += String.fromCharCode(e[t >> 5] >>> t % 32 & 255); return n } function p(e) { var t, n = []; for (n[(e.length >> 2) - 1] = void 0, t = 0; t < n.length; t += 1) n[t] = 0; var r = 8 * e.length; for (t = 0; t < r; t += 8) n[t >> 5] |= (255 & e.charCodeAt(t / 8)) << t % 32; return n } function d(e) { var t, n, r = """"; for (n = 0; n < e.length; n += 1) t = e.charCodeAt(n), r += ""0123456789abcdef"".charAt(t >>> 4 & 15) + ""0123456789abcdef"".charAt(15 & t); return r } function h(e) { return unescape(encodeURIComponent(e)) } function f(e) { return function(e) { return l(u(p(e), 8 * e.length)) }(h(e)) } function m(e, t) { return function(e, t) { var n, r = p(e), a = [], i = []; for (a[15] = i[15] = void 0, r.length > 16 && (r = u(r, 8 * e.length)), n = 0; n < 16; n += 1) a[n] = 909522486 ^ r[n], i[n] = 1549556828 ^ r[n]; var o = u(a.concat(p(t)), 512 + 8 * t.length); return l(u(i.concat(o), 640)) }(h(e), h(t)) } var g = function(e, t, n) { return t ? n ? m(t, e) : function(e, t) { return d(m(e, t)) }(t, e) : n ? f(e) : function(e) { return d(f(e)) }(e) }; var v = function(e) { var t = 0; e = e.toString(); for (var n = 0; n < e.length; n++) t = (t << 5) - t + e.charCodeAt(n) & 4294967295; return t }; var _ = function(e, t) { var n = g(e + t).toUpperCase(); return v(n) }; var b = function(e, t, n) { n = parseInt(n, 10) || 0, e = e || 100; var r = _(t = t || 0, n) % e; return r < 0 && (r += e), r }; var y = function(e, t, n) { if (e = e || {}, t = parseInt(t, 10) || 0, n = n || !1, 0 === t || n) return e.defaultModel; var r = b(e.bucketCount, e.salt, t), a = e.models || {}, i = []; i = e.modelKeyArr && e.modelKeyArr.length > 0 ? e.modelKeyArr : Object.keys(a); var o = function() { for (var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = Object.keys(e), r = 0; r < n.length; r++) { var a = n[r]; if ((e[a].whiteList || []).includes(t)) return a } return null }(a, t); if (o) return o; for (var s = 0; s < i.length; s++) { var c = i[s], u = a[c]; if (!u) break; if (!(u.blackList.indexOf(t) >= 0) && r < (u.buckets || 0)) return c } return e.defaultModel }; n.d(t, ""b"", function() { return b }); t.a = { getHashCode: _, getTriggerResult: b, getTestStrategy: y, hashCode: v } }, uWu0: function(e, t, n) { ""use strict""; var r = n(""pVnL""), a = n.n(r), i = n(""MVZn""), o = n.n(i), s = n(""QILm""), c = n.n(s), u = n(""q1tI""), l = n.n(u), p = (n(""17x9""), n(""0Dta"")); function d(e) { var t = e.src, n = e.processParam, r = c()(e, [""src"", ""processParam""]); return l.a.createElement(""img"", a()({}, r, { src: Object(p.a)(t, n) })) } var h = n(""m3Hr""), f = n(""u16y""); function m(e, t) { return Object(p.a)(e, o()({}, t, { webpEnable: f.a.getWebpEnableVariable ? f.a.getWebpEnableVariable() : f.a.webpEnable })) } function g(e) { var t = e.src, n = e.processParam, r = c()(e, [""src"", ""processParam""]); return l.a.createElement(h.a, a()({}, r, { src: m(t, n) })) } n.d(t, ""a"", function() { return _ }); var v = { resizeWidth: 1300, quality: 80, strip: !0 }; function _(e) { var t = e.lazy, n = e.processParam, r = c()(e, [""lazy"", ""processParam""]), i = t ? g : d; return l.a.createElement(i, a()({}, r, { processParam: o()({}, v, {}, n) })) } _.defaultProps = { lazy: !0 } }, uf4C: function(e, t, n) { ""use strict""; var r = n(""b5fu""), a = n(""EJiy""), i = n.n(a), o = { SpecialRegExp: [{ regExp: /(\/index.html)|(\/$)/, page: ""index"" }, { regExp: /\/goods\d*.html/, page: ""goods"" }, { regExp: /\/group\d*.html/, page: ""group"" }], PageInfo: { index: { pv: {}, pageSN: 10002 }, spike: { pv: {}, pageName: ""seckill"", pageSN: 10025, title: ""限时秒杀"" }, brand_spike: { pv: {}, pageSN: 10087, pageName: ""brand_spike"", title: ""品牌秒杀"" }, super_spike: { pv: {} }, subject: { pv: { keys: [""subject_id""] }, pageSN: 10026, native: { android: { name: ""pdd_subject"", version: ""1.3.2"" }, ios: { name: ""pdd_subject"", version: ""2.1.6"" } } }, spec99: { pageName: ""bargain"" }, free_trial_page: { pv: {}, pageName: ""free_try"", title: ""免费试用团"" }, lottery: { pv: {}, title: ""抽奖"" }, catgoods: { pv: { keys: [{ key: ""opt_id"", mapping: [""cat_id""] }, { key: ""opt_type"", mapping: [""cat_type""] }] }, pageSN: 10028, pageName: ""opt"", native: { android: { name: ""category"", version: ""1.4.0"" }, ios: { name: ""pdd_category"", version: ""2.1.8"", queryMap: { opt_id: ""category_id"", opt_type: ""category_type"", opt_name: ""category_name"" } } } }, category_recommend: { pv: { keys: [""top_cat_ids"", ""cat_ids""] }, title: ""拼多多热卖精选"" }, new_arrivals: { pv: {}, pageSN: 10017, pageName: ""shangxin"" }, rank_hot: { pv: {}, pageSN: 10029, pageName: ""hotcity"" }, prime_subjects: { pv: {}, pageSN: 10030, pageName: ""selected_subject"" }, haitao: { pv: {}, pageSN: 10082 }, classification: { pv: {}, pageName: ""search"", pageSN: 10031, native: { android: { name: ""classification"", version: ""3.0.0"" }, ios: { name: ""pdd_search"", version: ""3.0.0"" } } }, search_result: { pv: { keys: [{ key: ""query"", mapping: [""search_key""] }] }, pageSN: 10015 }, personal: { pv: {}, pageSN: 10001 }, pincard_museum: { pv: {}, pageSN: 10075, title: ""拼单卡收藏馆"", native: { android: { name: ""pdd_card_gallery"", version: ""3.39.0"" }, ios: { name: ""pdd_card_gallery"", version: ""3.39.0"" } } }, pincard_museum_guest: { pv: { keys: [""to_uid""] }, pageSN: 10097, title: ""拼单卡收藏馆"" }, pincard_reward: { pv: {}, pageSN: 10077, title: ""集卡奖励"", native: { android: { name: ""pdd_card_reward"", version: ""3.39.0"" }, ios: { name: ""pdd_card_reward"", version: ""3.39.0"" } } }, pincard_give: { pv: { keys: [""from_uid"", ""card_id"", ""type""] }, pageSN: 10078 }, pincard_ask: { pv: { keys: [""to_uid"", ""request_id"", ""type""] }, pageSN: 10079 }, pincard_mine: { native: { android: { name: ""pdd_card_main_frame"", version: ""4.33.0"" }, ios: { name: ""pdd_card_main_frame"", version: ""4.33.0"" } } }, pincard_brand_coupon: { native: { android: { name: ""pdd_card_brand_coupon"", version: ""4.23.0"" }, ios: { name: ""pdd_card_brand_coupon"", version: ""4.23.0"" } } }, pincard_brand_coupon_new: { native: { android: { name: ""pdd_card_brand_coupon_new"", version: ""4.34.0"" }, ios: { name: ""pdd_card_brand_coupon_new"", version: ""4.34.0"" } } }, timeline: { pv: {}, pageSN: 10104, title: ""拼小圈"", native: { android: { name: ""pdd_moments"", version: ""3.49.0"" }, ios: { name: ""pdd_moments"", version: ""3.49.0"" } } }, timeline_manual: { pv: {}, pageSN: 10165, title: ""拼小圈隐私保护说明"" }, timeline_notification: { pv: {}, pageSN: 10189, title: ""拼小圈提醒"" }, timeline_detail: { pv: {}, pageSN: 10190, title: ""动态详情"", native: { android: { name: ""pdd_moments_detail"", version: ""3.54.0"" }, ios: { name: ""pdd_moments_detail"", version: ""3.54.0"" } } }, profile: { pv: { keys: [""other_uin""] }, pageName: ""friend_profile"", title: ""个人主页"", pageSN: 10056, native: { android: { name: ""pdd_friend_home"", version: ""3.42.0"" }, ios: { name: ""pdd_friend_home"", version: ""3.42.0"" } } }, my_friends: { pv: {}, title: ""我的拼友"", pageSN: 10061, native: { android: { name: ""pdd_friends"", version: ""3.42.0"" }, ios: { name: ""pdd_friends"", version: ""3.42.0"" } } }, friends_requests: { pv: {}, title: ""拼友申请"", pageName: ""requesting_friends"", pageSN: 10060, native: { android: { name: ""pdd_requesting_friends"", version: ""3.42.0"" }, ios: { name: ""pdd_requesting_friends"", version: ""3.42.0"" } } }, friends_recommends: { pv: {}, title: ""推荐拼友"", pageName: ""recommended_friends"", pageSN: 10059, native: { android: { name: ""pdd_recommended_friends"", version: ""3.42.0"" }, ios: { name: ""pdd_recommended_friends"", version: ""3.42.0"" } } }, orders: { pv: { keys: [""type""] }, pageName: ""my_order"", pageSN: 10032, requireLogin: !0, title: ""我的订单"", native: { android: { name: ""pdd_orders"", version: ""2.6.0"" }, ios: { name: ""pdd_orders"", version: ""2.14.0"" } } }, personal_order_result: { pv: {}, pageSN: 10084 }, friend_pay: { pv: { keys: [""order_sn""] } }, groups: { pv: { indiv: !0 }, pageSN: 10072, pageName: ""my_group"", requireLogin: !0, title: ""我的拼单"" }, likes: { pv: { keys: [""favorite_type""] }, pageSN: 10034, requireLogin: !0, title: ""商品收藏"", native: { android: { name: ""pdd_favorite"", version: ""4.33.0"" }, ios: { name: ""pdd_favorite_goods_new_ui"", version: ""4.30.0"" } } }, mylottery: { pv: {}, pageSN: 10035, pageName: ""my_lottery"", requireLogin: !0, title: ""我的抽奖"" }, chat_list: { pv: {}, pageSN: 10051, pageName: ""new_chat_list"", requireLogin: !0, title: ""聊天"" }, recent_grouping: { pv: {}, requireLogin: !0, title: ""最近拼单的人"" }, coupons: { pv: {}, pageName: ""my_coupons"", pageSN: 10037, requireLogin: !0, title: ""我的优惠券"" }, coupon_group_share: { pv: { keys: [""share_code""] }, keyParams: { needTimeline: !0 }, pageName: ""coupon_group_share"", requireLogin: !0 }, complaint_list: { pv: {}, pageName: ""complaint"", requireLogin: !0, pageSN: 10132, title: ""退款/售后列表"" }, order: { pv: { keys: [""order_sn""] }, pageSN: 10038, pageName: ""order_detail"", requireLogin: !0 }, group: { pv: { indiv: !1, keys: [""group_order_id""] }, pageSN: 10024, pageName: ""group_detail"", requireLogin: !0, tkShareClick: !0 }, goods: { pv: { keys: [""goods_id""] }, pageSN: 10014, pageName: ""goods_detail"", tkShareClick: !0, native: { android: { name: ""pdd_goods_detail"", version: ""3.13.0"" }, ios: { name: ""pdd_goods_detail"", version: ""3.15.0"" } } }, order_checkout: { pv: { keys: [""goods_id"", ""sku_id"", ""group_id"", { key: ""goods_number"", default: 1 }] }, pageSN: 10004, requireLogin: !0 }, mall_page: { pv: { keys: [{ key: ""mall_id"", mapping: [""amp;mall_id""] }] }, pageName: ""mall"", native: { android: { name: ""pdd_mall"", version: ""2.1.0"" }, ios: { name: ""pdd_mall"", version: ""1.3.0"" } }, pageSN: 10039 }, mall_certificates: { pv: { keys: [""mall_id""] }, pageName: ""mall_certificates"", requireLogin: !0, title: ""经营证照"" }, mall_receipt_detail: { pv: {}, pageName: ""mall_receipt_detail"", pageSN: 10210, requireLogin: !0 }, tzfree_list: { pv: {}, pageSN: 10040, pageName: ""free_group_list"" }, free_voucher: { title: ""我的免单券"", pv: {}, pageSN: 10040, pageName: ""free_voucher"" }, coupon_resurgence: { title: ""可复活优惠券"", pv: {}, pageSN: 10206, pageName: ""coupon_resurgence"" }, coupon_activity: { title: ""获取更多红包"", pv: {}, pageSN: 10216, pageName: ""coupon_activity"" }, expiring_coupons: { pv: { keys: [""expire_batch_ids""] }, pageName: ""expired_coupon"", requireLogin: !0 }, coupon_push_someusers: { requireLogin: !0 }, coupon_event_v2: { pv: {}, pageName: ""red_packet"", requireLogin: !0 }, coupon_event_tmp: { pv: {}, pageName: ""red_packet"", requireLogin: !0 }, chat_detail: { pv: { keys: [""mall_id""] }, pageName: ""talk"", pageSN: 10041, requireLogin: !0, native: { android: { name: ""chat"", version: ""3.30.0"" }, ios: { name: ""chat"", version: ""3.30.0"" } } }, chat_detail_friends: { pv: { keys: [""other_uin""] }, pageSN: 10052, pageName: ""chat_detail_friends"", requireLogin: !0, native: { android: { name: ""pdd_friend_chat"", version: ""3.42.0"" }, ios: { name: ""pdd_friend_chat"", version: ""3.42.0"" } } }, chat_detail_logistics: { pv: {}, pageSN: 10935, pageName: ""chat_detail_logistics"", requireLogin: !0, native: { android: { name: ""logistics_chat"", version: ""4.19.0"" }, ios: { name: ""logistics_chat"", version: ""4.19.0"" } } }, additional_comments: { pv: {}, requireLogin: !0, pageSN: 10042, native: { android: { name: ""pdd_additional_comment"", version: ""3.20.0"" }, ios: { name: ""pdd_additional_comment"", version: ""3.20.0"" } } }, address: { pv: {}, requireLogin: !0 }, addresses: { pv: {}, pageSN: 10005, requireLogin: !0, title: ""收货地址"", native: { android: { name: ""address"", version: ""1.3.1"" }, ios: { name: ""address"", version: ""2.1.4"" } } }, alipay_callback: { pv: {} }, wechat_h5_pay_callback: { pv: {}, requireLogin: !0 }, anniversary: {}, app_about: { pv: {} }, app: {}, app_new_user_popup: { pv: { indiv: !0 } }, authorize: { pv: {}, requireLogin: !0 }, black_friday: {}, comments: { pv: { keys: [""order_sn""] }, pageSN: 10022, requireLogin: !0, native: { android: { name: ""pdd_comment"", version: ""3.20.0"" }, ios: { name: ""pdd_comment"", version: ""3.20.0"" } } }, complaint_guide: { pv: {} }, complaint_old: { pv: {}, requireLogin: !0 }, complaint_mall: { title: ""投诉商家"", pageSN: 10146 }, coupon_recommend: { pv: {}, requireLogin: !0 }, coupon_share: { pv: { keys: [""share_code"", ""ownerID""] }, pageSN: 10043, keyParams: { needTimeline: !0 }, pageName: ""coupon"", requireLogin: !0 }, deal_made: { pv: {}, requireLogin: !0 }, double11: {}, download: {}, android_download: { pv: { indiv: !0 } }, android_broswer_download: { pv: { indiv: !0 } }, faq: { pv: {} }, goods_comments: { pv: { keys: [""goods_id""] }, pageSN: 10058 }, goods_express: { pv: { keys: [""order_sn"", ""goods_id"", ""tracking_number"", ""shipping_id""] }, pageSN: 10007, requireLogin: !0, native: { android: { name: ""pdd_express"", version: ""3.0.0"" }, ios: { name: ""pdd_express"", version: ""2.18.0"" } } }, goods_skip: { pv: { keys: [""goods_id""] } }, login: { pv: {} }, lottery_list: { pv: { keys: [""lucky_id""] }, pageSN: 10057 }, free_group_list: { title: ""免单幸运儿名单"", pv: { keys: [""activity_id"", ""goods_id""] } }, setting: { pv: {}, pageSN: 10134 }, setting_privacy: { pv: {}, pageSN: 10166, title: ""拼小圈设置"" }, skip: { pv: {} }, suggestion: { pv: {}, title: ""常见问题"" }, terms: { pv: {} }, personal_feedback: { pv: {}, title: ""意见反馈"", pageSN: 10044, native: { android: { name: ""pdd_feedback_category"", version: ""3.4.0"" }, ios: { name: ""pdd_feedback_category"", version: ""3.4.0"" } } }, feedback_commit: { pv: { keys: [{ key: ""type"", default: 1 }] }, title: ""意见反馈"", requireLogin: !0 }, qqoauth_callback: {}, wboauth_callback: {}, complaint: { pv: { keys: [""order_sn""] }, pageName: ""complaint_make"", requireLogin: !0, pageSN: 10128 }, complaint_detail: { pv: { keys: [""after_sales_id"", ""order_sn""] }, pageSN: 10045, requireLogin: !0, title: ""退款/售后详情"" }, refund_trace: { pv: { keys: [""after_sales_id"", ""order_sn""] }, pageSN: 10139, title: ""钱款去向"" }, service_complaint: { pv: {}, title: ""服务投诉"" }, choose_orders: { pv: { keys: [""type_id"", ""type_desc""] }, requireLogin: !0, native: { android: { name: ""pdd_self_service_order_selection"", version: ""3.28.0"" }, ios: { name: ""pdd_self_service_order_selection"", version: ""3.28.0"" } }, pageSN: 10171 }, questions: { pv: {}, title: ""常见问题"", pageSN: 10145 }, sub_questions: { pv: {}, pageSN: 10138 }, solutions: { pv: {}, title: ""常见问题"", pageSN: 10143 }, self_service: { pv: {}, pageSN: 10016, title: ""自助服务"" }, self_message: { pv: { keys: [""type_id""] }, title: ""自助服务"", native: { android: { name: ""pdd_message_leaving"", version: ""3.28.0"" }, ios: { name: ""pdd_message_leaving"", version: ""3.28.0"" } }, pageSN: 10179 }, self_message_progress: { pv: {}, title: ""自助服务进度查询"", pageSN: 10152 }, self_message_progress_detail: { pv: { keys: [""ticket_id""] }, title: ""自助服务进度查询"", pageSN: 10147 }, red_packet_question: { pv: {}, pageSN: 10063, title: ""拼多多好友红包"" }, red_packet_answer: { pv: { keys: [""red_packet_sn""] }, pageSN: 10064, title: ""拼多多好友红包"" }, spike_sellout: { pv: {}, pageName: ""seckill_no"" }, haitao_spike: { pv: {}, pageName: ""haitao_seckill"" }, haitao_spike_sellout: { pv: {}, pageName: ""haitao_seckill_no"" }, app_coupon_popup: {}, subjects: { pv: { keys: [""subjects_id""] }, pageSN: 10046, native: { android: { name: ""pdd_subjects"", version: ""4.20.0"" }, ios: { name: ""pdd_subjects"", version: ""4.20.0"" } } }, fruit: { pv: {}, title: ""拼好货"" }, economical_brand: { pv: {}, title: ""名品折扣"", pageSN: 10020, native: { android: { name: ""pdd_economical_brand"", version: ""3.30.0"" }, ios: { name: ""pdd_economical_brand"", version: ""3.30.0"" } } }, brand: { pv: { keys: [""subject_id""] }, pageSN: 10021, native: { android: { name: ""pdd_brand"", version: ""3.30.0"" }, ios: { name: ""pdd_brand"", version: ""3.30.0"" } } }, flash_groups: { pageSN: 10069 }, attendance: { pageName: ""signin"", pageSN: 10019 }, daily_bonus: { pageName: ""daily_bonus"", pageSN: 10083 }, rate_your_voice: { pageName: ""test_voice"", pageSN: 10066 }, new_year_coupon_square: { title: ""年货节领券专区"" }, new_year: {}, express_complaint: { pv: {}, pageSN: 10047, title: ""物流投诉"", requireLogin: !0 }, one_yuan_purchase: { pv: {}, pageSN: 10055, title: ""一元团"" }, invite_user: { pv: {}, pageSN: ""10088"" }, jxtz_promo: { pv: {} }, jxtz_promo_venue: { pv: {} }, mid_year_promo_venue: { pv: {} }, april_new_home: { pv: {}, title: ""拼多多焕新家"" }, tuan_success_recommend: { pv: { keys: [""goods_id""] }, pageSN: 10070, title: ""猜你喜欢"" }, coupon_newbee: { pv: { keys: [""coupon_id""] }, title: ""优惠券适用商品"" }, personal_profile: { pv: {}, pageSN: 10006, title: ""我的资料"", native: { android: { name: ""pdd_personal_profile"", version: ""4.33.0"" }, ios: { name: ""pdd_personal_profile"", version: ""4.33.0"" } } }, coupon_download: { pv: {} }, coupon_tzfree: { pv: {} }, coupon_newuser: { pv: {}, pageSN: 10008 }, coupon_newuser_v2: { pv: { keys: [""event_sn""] }, pageSN: 10008 }, sing_china_vote: { pv: {}, pageSN: 10062 }, sing_china_vote_group: { pv: { keys: [""group_vote_id""] }, pageSN: 10065 }, assist_free_coupon: { pv: {}, pageSN: 10049 }, assist_free_coupon_orders: { pv: {} }, assist_free_coupon_download: { pv: { keys: [""share_uid"", ""goods_id"", ""token"", ""redirect""] } }, goods_push_recommend: { pv: { keys: [""goods_id"", ""plan""] }, pageSN: 10080 }, commercial_middle: { pv: { keys: [""goods_id""] }, pageSN: 10085 }, commercial_get_coupon: { pv: {}, pageSN: ""10099"" }, footprint: { pv: { keys: [] }, pageSN: 10048, title: ""历史浏览"", native: { android: { name: ""pdd_footprint"", version: ""4.0.0"" }, ios: { name: ""pdd_footprint"", version: ""4.20.0"" } } }, detail: { pv: {}, title: ""商品详情"" }, mall_new_arrivals: { pv: {}, title: ""收藏店铺上新"", pageSN: 10018 }, deposit: { pv: {}, title: ""充值中心"", pageSN: 10089 }, promotion: { pv: {}, pageSN: 10260, pageName: ""new_season"" }, promotion_subject: { pv: { keys: [""subject_id""] }, pageSN: 10261, pageName: ""new_season_venue"" }, promotion_treasure: { pv: {}, pageSN: 12133, pageName: ""treasure_box"" }, friends_batch_adds: { pv: {}, pageSN: 10360, pageName: ""first_friends"", native: { android: { name: ""pdd_first_time_recommendation"", version: ""4.14.0"" } } }, lottery_refund_track: { pv: { keys: [""lucky_id""] }, pageSN: 10107 }, express_complaint_submit: { pv: { keys: [""order_sn""] }, pageSN: 10172 }, express_complaint_v2: { pv: { keys: [""order_sn""] }, pageSN: 10127 }, transac_batch_checkout: { pageSN: 13411, pageName: ""transac_batch_checkout"" } } }; function s(e, t) { ""object"" === (void 0 === t ? ""undefined"" : i()(t)) && (this.pageProperty = t), ""string"" != typeof e ? e && ""object"" === (void 0 === e ? ""undefined"" : i()(e)) && this.initByOpts(e) : this.initByUrl(e) } function c(e) { var t = {}; return (e.split(""#"")[0].split(""?"")[1] || """").split(""&"").forEach(function(e) { var n = e.split(""=""), r = decodeURIComponent(n[0] || """"), a = decodeURIComponent(n[1] || """"); r && (t[r] = a || """") }), t } s.prototype.initByUrl = function(e, t) { if (e = e || (""undefined"" != typeof location ? location.href : """")) { var n = c(e); this.pageELSN = n.page_el_sn || null, this.query = r.a.extend(c(e), t); for (var a = function(e) { var t = e.split(""?"")[0].split(""/""); return ""/"" + t[t.length - 1] }(e), i = a.slice(1).split(""."")[0], s = 0; s < o.SpecialRegExp.length; s++) { var u = o.SpecialRegExp[s]; if (a.match(u.regExp)) { i = u.page; break } } ""subject"" === i && ""spec99"" === this.query.promotion_type && (i = ""spec99""), this.initWithPageKey(i) } }, s.prototype.initByOpts = function(e) { (e = e || {}).url ? this.initByUrl(e.url, e.query) : e.pageKey && this.initWithPageKey(e.pageKey) }, s.prototype.initWithPageKey = function(e) { e = e || this.pageKey, this.pageKey = e; var t = r.a.extend(o.PageInfo[e] || {}, this.pageProperty || {}); if (t || (t = {}), this.info = t, this.pageName = t.pageName || e, this.pageSN = t.pageSN || null, this.requireLogin = t.requireLogin || !1, this.title = t.title, this.tkShareClick = t.tkShareClick || !1, this.keyParams = t.keyParams || {}, this.native = t.native || {}, ""undefined"" != typeof window && window.rawData && window.rawData.pageID) this.pageID = window.rawData.pageID; else if (this.query && this.query.page_id) this.pageID = this.query.page_id; else { var n = this.pageName, a = this.pageSN; n.match(/app_\w+_popup/) && (n = ""index""), this.pageID = function(e, t, n) { return [t || e || n || """", Date.now(), r.a.getRandomString(10)].join(""_"") }(n, a, e) } this.pvInfo = t.pv || {}, e.match(/^app_\w+/) && (this.pvInfo.isAppModal = !0) }, s.prototype.getPageName = function() { return this.pageName }, s.prototype.getPageSN = function() { return this.pageSN }, s.prototype.getPageID = function() { return this.pageID }, s.prototype.updateQuery = function(e) {}, s.prototype.getQuery = function() { return this.query }, s.prototype.getAdQuery = function() { return { cid: this.query.cid, src: this.query.src, campaign: this.query.campaign } }, s.prototype.getNativeQuery = function(e) { var t = this.getNativeInfo(e); if (!t) return this.query; var n = r.a.extend(this.query); if (t.queryMap) for (var a in t.queryMap) if (t.queryMap.hasOwnProperty(a)) { var i = t.queryMap[a]; n[a] && (n[i] = n[a]) } return n }, s.prototype.setKeyParams = function(e) { for (var t in e) e.hasOwnProperty(t) && null == e[t] && delete e[t]; this.keyParams = r.a.extend(this.keyParams, e) }, s.prototype.getKeyParams = function() { return this.keyParams }, s.prototype.getNativeInfo = function(e) { return this.native[e.toLowerCase()] }, s.prototype.checkNativePageVersion = function(e, t) { var n = this.getNativeInfo(e); return !(!n || !n.version) && r.a.compareVersion(t, n.version) >= 0 }, s.prototype.getNativePageName = function(e) { var t = this.getNativeInfo(e); if (t) return t.name }, s.prototype.getKeyParamsFromQuery = function() { var e = this.pvInfo.keys || [], t = {}, n = this.getQuery(); return e.forEach(function(e) { var r = void 0, a = void 0; ""string"" == typeof e ? a = n[r = e] : ""object"" === (void 0 === e ? ""undefined"" : i()(e)) && (r = e.key, a = n[r], e.mapping && e.mapping.forEach(function(e) { null != n[e] && (a = n[e]) }), null == a && null != e.default && (a = e.default)), null != r && null != a && (t[r] = a) }), this.setKeyParams(t), this.getKeyParams() }, s.prototype.hasIndividualPV = function() { return this.pvInfo.indiv }, s.prototype.isAppModal = function() { return this.pvInfo.isAppModal }; var u = s, l = n(""3OdE""), p = n(""+qE3""), d = n(""MCLT""), h = n.n(d), f = n(""Pn5d""), m = { SHOW: 0, HIDE: 1 }, g = { WK_TRY_FRESH: 0 }, v = null; function _() { this.pageStatus = m.SHOW, this.maxSize = 0 } h.a.inherits(_, p.EventEmitter), _.PageStatus = m, _.EventType = g, _.prototype.init = function(e) { var t = this; e = e || {}, this.maxSize = e.maxSize || this.maxSize, this.setMaxListeners(this.maxSize), window && window.addEventListener(""pageshow"", function() { t.onPageShow() }) }, _.prototype.onPageShow = function() { this.pageStatus = m.SHOW, f.a.isWKWebView && this.emit(g.WK_TRY_FRESH) }, _.prototype.onPageHide = function() { this.pageStatus = m.HIDE }, _.getInstance = function() { return v || (v = new _), v }; var b = _; n.d(t, ""b"", function() { return I }); var y = l.a.constant.TrackingKeys; function w() {} function S(e) { e = e || {}; var t = {}, n = !1; for (var r in e) if (e.hasOwnProperty(r) && (0 === r.indexOf(""refer_"") || 0 === r.indexOf(""_ex_""))) { var a = e[r]; a && (t[r] = a, n = !0) } return n ? t : null } function C(e) { var t = []; for (var n in e = e || {}) if (e.hasOwnProperty(n)) { var r = e[n]; null != r && n && t.push([encodeURIComponent(n), encodeURIComponent(r)].join(""="")) } return t.join(""&"") } w.prototype.init = function(e, t) { if (t = t || {}, !this.pageInfo && (e = (""undefined"" != typeof location ? location.href : e) || """")) { this.pageInfo = new u(e, t.pageProperty); var n = void 0; if (this.pageInfo) { var a = S(n = this.pageInfo.getQuery()); a && this.updateReferInfo(a) } if (b.getInstance().init(), this.backRefresh = b.getInstance(), t.isModuleVersion) { var i = t.AppUtils; if (this.pageInfo) { var o = { page_name: this.getPageName(), page_id: this.getPageID(), page_sn: this.getPageSN() }; for (var s in n = n || {}) n.hasOwnProperty(s) && ""refer"" !== s.split(""_"")[0] && (o[s] = n[s]); i.setPageContextForNative(o) } var c = this; i.updateReferPageContext(function(e) { c.getReferPageContextFromNative(e), r.a.isFunc(t.callback) && t.callback() }, function() { r.a.isFunc(t.callback) && t.callback() }) } else r.a.isFunc(t.callback) && t.callback() } }, w.prototype.getPageInfo = function() { return this.pageInfo || this.init(), this.pageInfo }, w.prototype.getQuery = function() { return this.pageInfo || this.init(), this.pageInfo.getQuery() }, w.prototype.getParameters = function() { return this.getQuery() }, w.prototype.getParameter = function(e) { return (this.getQuery() || {})[e] }, w.prototype.getPageName = function() { return this.pageInfo ? this.pageInfo.getPageName() : """" }, w.prototype.getPageSN = function() { return this.pageInfo ? this.pageInfo.getPageSN() : """" }, w.prototype.getPageID = function() { return this.pageInfo ? this.pageInfo.getPageID() : """" }, w.prototype.setKeyParams = function(e) { this.pageInfo && this.pageInfo.setKeyParams(e) }, w.prototype.getKeyParams = function() { return this.pageInfo ? this.pageInfo.getKeyParams() : null }, w.prototype.getKeyParamsFromQuery = function() { if (this.pageInfo) return this.pageInfo.getKeyParamsFromQuery() }, w.prototype.updateReferInfo = function(e) { for (var t in e = e || {}, this.referInfo || (this.referInfo = {}), e) if (e.hasOwnProperty(t)) { var n = e[t]; t && n && (""refer"" !== t.split(""_"")[0] && t.indexOf(""_"") > 0 ? t = [""refer"", t].join(""_"") : 0 === t.indexOf(""_"") && (t = ""refer_"" + t.slice(4)), this.referInfo[t] = n) } }, w.prototype.getReferPageQuery = function() { if (!this.referInfo) return null; var e = {}, t = this; for (var n in y.ReferPageKeys.forEach(function(n) { t.referInfo[n] && (e[n] = t.referInfo[n]) }), t.referInfo) n.indexOf(""refer_"") > -1 && (e[n] = t.referInfo[n]); return e }, w.prototype.getReferPageID = function() { return this.referInfo ? this.referInfo.refer_page_id : null }, w.prototype.getReferPageName = function() { return this.referInfo ? this.referInfo.refer_page_name : null }, w.prototype.getReferPageSection = function() { return this.referInfo ? this.referInfo.refer_page_section : null }, w.prototype.getReferPageElement = function() { return this.referInfo ? this.referInfo.refer_page_element : null }, w.prototype.getReferPageQueryString = function() { return C(this.getReferPageQuery()) }, w.prototype.addReferPageQueryString = function(e) { var t = new u(e), n = r.a.extend(t.getQuery(), this.getReferPageQuery()); return [e.split(""?"")[0], C(n)].join(""?"") }, w.prototype.addPageNameAsRefer = function(e) { var t = new u(e), n = r.a.extend(t.getQuery(), { refer_page_name: this.getPageName() }); return [e.split(""?"")[0], C(n)].join(""?"") }, w.prototype.addPageAsRefer = function(e) { if (e) { var t = new u(e), n = { refer_page_name: this.getPageName(), refer_page_id: this.getPageID() }, a = this.getPageSN(); a && (n.refer_page_sn = a); var i = t.pageELSN || """"; i && (n.refer_page_el_sn = i); var o = r.a.extend(t.getQuery(), n); return [e.split(""?"")[0], C(o)].join(""?"") } }, w.prototype.addPageTransferParameters = function(e) { if (e) { var t = new u(e), n = { refer_page_name: this.getPageName(), refer_page_id: this.getPageID() }, a = this.getPageSN(); a && (n.refer_page_sn = a); var i = t.pageELSN || """"; i && (n.refer_page_el_sn = i); var o = this.getExtendTransferParameters(!0), s = r.a.extend(t.getQuery(), n, o); return [e.split(""?"")[0], C(s)].join(""?"") } }, w.prototype.getExtendTransferParameters = function(e) { var t = this.getQuery() || {}, n = {}; for (var r in t) if (t.hasOwnProperty(r) && !n[r]) { 0 === r.indexOf(""_x_"") ? n[r] = t[r] : ""xcx_trace_id"" === r || ""xcx_version"" === r ? n[r] = t[r] : e && 0 === r.indexOf(""_ex_"") ? n[r.replace(""_ex_"", ""_x_"")] = t[r] : e && ""msgid"" === r ? n[""_x_msgid""] = t[r] : e && ""refer_share_id"" === r && (n[""_x_share_id""] = t[r]) } return n }, w.prototype.hasIndividualPV = function() { return this.pageInfo ? this.pageInfo.hasIndividualPV() : null }, w.prototype.isAppModal = function() { return !!this.pageInfo && this.pageInfo.isAppModal() }, w.prototype.getAdQuery = function() { return this.pageInfo ? this.pageInfo.getAdQuery() : """" }, w.prototype.getPageInfoByUrl = function(e) { return e ? new u(e) : null }, w.prototype.getPageContextFromNative = function(e) {}, w.prototype.getReferPageContextFromNative = function(e) { this.setKeyParams(e), this.updateReferInfo(e) }, w.prototype.getTransientReferPageParams = function(e) { var t = void 0, n = void 0; (""string"" == typeof e ? n = e : e.url && (n = e.url), n) ? t = S(new u(n).getQuery()): t = S(e); if (!t) return null; var r = {}, a = !1; for (var i in t) if (t.hasOwnProperty(i)) { var o = t[i], s = i.slice(6); if (!o || !s) continue; r[s] = o, a = !0 } return a ? r : null }, w.prototype.getNativeInfo = function(e) { if (this.pageInfo) return this.pageInfo.getNativeInfo(e) }, w.prototype.checkNativePageVersion = function(e, t) { if (this.pageInfo) return this.pageInfo.checkNativePageVersion(t) }, w.prototype.getNativePageName = function(e) { if (this.pageInfo) return this.pageInfo.getNativePageName(e) }; var A = { instance: null, getInstance: function() { return this.instance || (this.instance = new w), this.instance } }; function I() { return A.getInstance().getPageID() } t.a = A }, vMW4: function(e, t, n) { var r = n(""GdyA""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, wGyw: function(e, t, n) { (e.exports = n(""I1BE"")(!1)).push([e.i, ""@charset \""UTF-8\"";\n\n/**\r\n * base.scss, 一些公共的代码\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * base variable\r\n */\n\n/**\r\n * function 区域\r\n */\n\n/**\r\n * mixin 区域\r\n */\n\n/**\r\n * 父元素必须是position: relative\r\n */\n\n/**\r\n * 字体icon\r\n */\n\n/**\r\n * flex 布局\r\n */\n\n/**\r\n * extend区域\r\n */\n\n/**\r\n * @file variables.scss, 相关的变量\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/**\r\n * @file border1px.scss, 1px在devicePixelRatio>2的方案\r\n * @author fushi(fushi@yiran.com)\r\n */\n\n/*原来的逻辑*/\n\n/*\n* 注意:需要按钮是position(absolute,relative)定位的,按钮没有宽高的,可能会出bug.\n* 按钮before已经有样式的就用data-active=after-{type},after同理。\n* eg:
button
\n* https://jira2.corp.yiran.com/browse/PDD-10191\n* 红色按钮 highlight状态增加 #000000 15%\n* 白色按钮 highlight状态增加 #000000 5%\n* 红色线框按钮 highlight状态增加 #E02E24 5%\n*/\n\n.fc-search-popup {\n position: fixed;\n top: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.7);\n z-index: 99999;\n text-align: center;\n line-height: 1;\n padding-bottom: 0.64rem;\n}\n\n.fc-search-popup .panel {\n position: relative;\n width: 2.9rem;\n height: 3.12rem;\n position: relative;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n margin: 0 auto;\n background-color: white;\n border-radius: 8px;\n padding-top: 0.22rem;\n}\n\n.fc-search-popup .panel .title {\n font-size: 0.16rem;\n color: #151516;\n margin: 0 auto 0.12rem auto;\n}\n\n.fc-search-popup .panel .hint {\n font-size: 0.15rem;\n color: #58595b;\n margin: 0 auto 0.19rem auto;\n}\n\n.fc-search-popup .panel .gif-area {\n position: relative;\n width: 2.52rem;\n height: 2.08rem;\n margin: 0 auto;\n}\n\n.fc-search-popup .panel .gif-area .loading-icon {\n position: relative;\n width: 0.3rem;\n height: 0.3rem;\n position: relative;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n margin: 0 auto;\n animation: rotateImg 2.5s linear infinite;\n -webkit-animation: rotateImg 2.5s linear infinite;\n}\n\n.fc-search-popup .panel .gif-area .source {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n}"", """"]) }, weMy: function(e, t, n) { ""use strict""; var r = n(""iCc5""), a = n.n(r), i = n(""FYw3""), o = n.n(i), s = n(""mRg0""), c = n.n(s), u = n(""q1tI""), l = n.n(u), p = n(""TSYQ""), d = n.n(p), h = (n(""ZNKI""), function(e) { function t(n) { return a()(this, t), o()(this, e.call(this, n)) } return c()(t, e), t.prototype.render = function() { var e, t = this.props, n = t.type, r = t.className, a = t.style, i = d()(""iconfont"", ((e = {})[n] = n, e[r] = r, e)); return l.a.createElement(""i"", { className: i, style: a }) }, t }(u.Component)); t.a = h }, wylq: function(e, t, n) { ""use strict""; var r = [].concat([/api\/tyrion\/.+/], [/api\/daenerys\/.+/], [""home_operations"", ""operations"", ""api/fiora/v2/home_operations"", /operation\/\d+\/groups/, /v2\/operation\/\d+\/groups/, /v3\/operation\/\d+\/groups/, /v4\/operation\/\d+\/groups/, ""search"", ""search_hotquery"", ""search_hotquery/hotquery_nearby"", ""search_suggest"", /api\/search\/.+/], [""v2/price_range_goods"", ""v2/above_price_lis"", ""recommendation/free_try_coupon"", ""recommendation/coupon"", ""recommendation/coupon_push"", ""recommendation/coupon_expire"", /api\/roewe\/.+/], [/api\/barrow\/.+/], [""recommendation"", ""rec_order_list"", ""recommendation/express"", ""recommendation/favorite"", ""recommendation/mall"", ""recommendation/industry_push"", ""recommendation/index_sign"", /api\/tesla\/.+/], [/api\/porsche\/.+/], [/api\/byd\/.+/], [/api\/targaryen\/.+/], [/api\/jade\/.+/]); function a(e) { return r.indexOf(e) > -1 || r.some(function(t) { if (t.test && t.test(e)) return !0 }) } n.d(t, ""a"", function() { return a }) }, ""x+5E"": function(e, t, n) { ""use strict""; var r = n(""cDf5""), a = n.n(r); function i(e) { return function(e) { return function(t) { return a()(t) === e } }(""string"")(e) } n.d(t, ""a"", function() { return i }) }, xFnu: function(e, t, n) { ""use strict""; function r(e, t) { return new Promise(function(n, r) { var a = document.createElement(""script""); a.type = ""text/javascript"", a.onload = function(e) { document.body.removeChild(a), n(e) }, a.onerror = function(e) { document.body.removeChild(a), r(e) }, t && Object.keys(t).forEach(function(e) { return a.setAttribute(e, t[e]) }), a.src = e, document.body.appendChild(a) }) } n.d(t, ""a"", function() { return r }) }, xJ31: function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return a }); var r = function() { for (var e, t = [], n = 0; n < 256; n++) { e = n; for (var r = 0; r < 8; r++) e = 1 & e ? 3988292384 ^ e >>> 1 : e >>> 1; t[n] = e } return t }(); function a(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0; e = function(e) { for (var t = """", n = 0; n < e.length; n++) { var r = e.charCodeAt(n); r < 128 ? t += String.fromCharCode(r) : r < 2048 ? t += String.fromCharCode(192 | r >> 6) + String.fromCharCode(128 | 63 & r) : r < 55296 || r >= 57344 ? t += String.fromCharCode(224 | r >> 12) + String.fromCharCode(128 | r >> 6 & 63) + String.fromCharCode(128 | 63 & r) : (r = 65536 + ((1023 & r) << 10 | 1023 & e.charCodeAt(++n)), t += String.fromCharCode(240 | r >> 18) + String.fromCharCode(128 | r >> 12 & 63) + String.fromCharCode(128 | r >> 6 & 63) + String.fromCharCode(128 | 63 & r)) } return t }(e), t ^= -1; for (var n = 0; n < e.length; n++) t = t >>> 8 ^ r[255 & (t ^ e.charCodeAt(n))]; return (-1 ^ t) >>> 0 } }, xT7C: function(e, t, n) { var r = n(""phfm""); ""string"" == typeof r && (r = [ [e.i, r, """"] ]); var a = { transform: void 0 }; n(""aET+"")(r, a); r.locals && (e.exports = r.locals) }, xnWZ: function(e, t, n) { ""use strict""; var r = n(""xFnu""), a = n(""b5fu""); function i(e, t) { var n = { Unknown: ""unknown"", IOS: ""ios"", MaJiaBaoAndroid: ""mjtAndroid"", Android: ""android"", PDDTinyAndorid: ""tinyAndroid"", WeChat: ""wechat"", Weibo: ""weibo"", QQ: ""qq"", WxApp: ""wxapp"", QQApp: ""qqapp"" }; function r(e, t) { for (var n = function(e) { var t = []; return null == e || e.length <= 0 ? t : (e.split(""."").forEach(function(e) { t.push(parseInt(e, 10) || 0) }), t) }, r = n(e), a = n(t), i = Math.max(r.length, a.length), o = 0; o < i; ++o) { var s = r[o] || 0, c = a[o] || 0; if (s !== c) return s - c } return 0 } function i(t) { var n = ""phh_"" + t + ""_version/"", r = e.toLowerCase(), a = r.indexOf(n); if (a < 0) return null; var i = r.indexOf("" "", a); return i < 0 && (i = r.length), r.substring(a + n.length, i) } return n.launchAppVersion = ""3.13.0"", n.isModuleVersion = !1, n.isNativeChatVersion = !1, n.isNativeLoginVersion = !1, n.isNativeTabBarVersion = !1, n.isNativeLogVersion = !1, n.isNativeIndexVersion = !1, n.isNativeUpdateVersion = !1, n.isNativeMallPageVersion = !1, n.isNativeImageViewerVersion = !1, n.isNativeQQPayVersion = !1, n.isNativeOrdersPageVersion = !1, n.isAliPayDirectDebitVersion = !1, n.isPddPushSocketVersion = !1, n.isNativeSubjectsPageVersion = !1, n.isPhotoDisabledVersion = !1, n.isNativeContactVersion = !1, n.isNativeNewContactVersion = !1, n.isNativeContactAuthorityVersion = !1, n.isGroupAudioRecordVersion = !1, n.isTakeCouponAfterCommentVersion = !1, n.isNativeFriendsVersion = !1, n.isIOSShareUninstallNotifition = !1, n.isSupportAudioMsgVersion = !1, n.isGroupFastBackVersion = !1, n.isUrgeShipmentVersion = !1, n.isGroupShareImageVersion = !1, n.isShowHUDVersion = !1, n.isIOSCompressShareImage = !1, n.isTakeCouponInCommentPage = !1, n.isCouponGroupShare = !1, n.isNewOrderStatusVersion = !1, n.isHBInstallmentPayVersion = !1, n.isNewGroupFastBackVersion = !1, n.isSupportSetTitleAnimation = !1, n.isUpdateTimelineOrderStatusNotification = !1, n.isPlayAudioWithSystemVol = !1, n.isNoHaitaoVersion = !1, n.isPlayAudioWithSettleVol = !1, n.isPDDTimelineFeedDeleteNotification = !1, n.isNativeSpikeRemindVersion = !1, n.isNativeSpikeCalendardVersion = !1, n.isSpikeNoticeUnionVersion = !1, n.isHorizontalScrollVersion = !1, n.isShowAddressCantReceiveVersion = !1, n.isEletricShowNativeTab = !1, n.isSupportNativeLog = !1, n.isSupportCheckWebviewInTab = !1, n.isSupportCheckWebviewInScreen = !1, n.isSupportCheckNotify = !1, n.isUrmFastbackVersion = !1, n.isMergeLogReport = !1, n.isUrmJSNavigationVersion = !1, n.IOSSystemVersion = function() { var t = e; return t.match(/iphone|ipad|ipod/i) ? function(e) { var n = t.match(/os (\d+)_(\d+)_?(\d+)?/i); return ""[object Array]"" !== Object.prototype.toString.call(n) || n.length < 4 ? """" : [n[1], n[2], n[3]].map(function(e) { return e ? parseInt(e, 10) : 0 }).join(""."") }() : """" }(), n.AndroidSystemVersion = function() { var t = e; return t.match(/Android/i) ? function(e) { var n = t.match(/Android (\d+).?(\d+)?.?(\d+)?/i); return ""[object Array]"" !== Object.prototype.toString.call(n) || n.length < 4 ? """" : [n[1], n[2], n[3]].map(function(e) { return e ? parseInt(e, 10) : 0 }).join(""."") }() : """" }(), n.Current = function() { var o = e; if (n.isMobile = o.match(/Android|webOS|iPhone|iPad|iPod/i), null != o.match(/phh_ios_version/i)) { var s = i(n.IOS); return n.isModuleVersion = r(s, ""1.1.2"") > 0, n.isNativeChatVersion = r(s, ""2.0.5"") > 0, n.isNativeLoginVersion = r(s, ""2.0.8"") > 0, n.isNativeTabBarVersion = r(s, ""2.0.8"") > 0, n.isNativeLogVersion = r(s, ""2.0.8"") > 0, n.isNativeUpdateVersion = r(s, ""2.0.9"") > 0, n.isNativeIndexVersion = r(s, ""2.1.0"") > 0, n.isNativeMallPageVersion = r(s, ""2.1.0"") > 0, n.isNativeImageViewerVersion = r(s, ""2.1.3"") > 0, n.isNativeAddressPageVersion = r(s, ""2.1.4"") >= 0, n.isNativeBridgeCallbackVersion = r(s, ""2.1.8"") >= 0, n.isNativeSubjectPageVersion = r(s, ""2.1.6"") >= 0, n.isNativeQQPayVersion = r(s, ""2.8.0"") > 0, n.isNativeOrdersPageVersion = r(s, ""2.14.0"") >= 0, n.isAliPayDirectDebitVersion = r(s, ""3.2.0"") >= 0, n.isShareButtonV2 = r(s, ""2.7.0"") >= 0, n.isPddPushSocketVersion = r(s, ""2.6.0"") >= 0, n.isNativeSubjectsPageVersion = r(s, ""3.15.0"") >= 0, n.isNativeContactVersion = r(s, ""3.17.0"") >= 0, n.isNativeNewContactVersion = r(s, ""4.14.0"") >= 0, n.isNativeContactAuthorityVersion = r(s, ""4.16.0"") >= 0, n.isGroupAudioRecordVersion = r(s, ""3.19.0"") >= 0, n.isNativeFriendsVersion = r(s, ""3.42.0"") >= 0, n.isTakeCouponAfterCommentVersion = r(s, ""3.20.0"") >= 0 && r(s, ""3.40.0"") < 0, n.isTakeCouponInCommentPage = r(s, ""3.23.0"") >= 0 && r(s, ""3.40.0"") < 0, n.isMergeLogReport = r(s, ""4.33.0"") >= 0, n.isIOSShareUninstallNotifition = r(s, ""3.28.0"") > 0, n.isNewOrderStatusVersion = r(s, ""3.34.0"") >= 0, n.isNoHaitaoVersion = r(s, ""3.38.0"") >= 0, n.isHBInstallmentPayVersion = r(s, ""3.65.0"") >= 0, n.isUrgeShipmentVersion = r(s, ""3.40.0"") >= 0, n.isSupportAudioMsgVersion = r(s, ""3.31.0"") >= 0, n.isIOSCompressShareImage = r(s, ""3.41.0"") >= 0, n.isCouponGroupShare = r(s, ""3.42.0"") >= 0, n.isSupportApplePay = r(s, ""3.43.0"") >= 0, n.isModifyAddressVersion = r(s, ""3.44.0"") >= 0, n.isGroupFastBackVersion = r(s, ""3.48.0"") >= 0, n.isShowHUDVersion = r(s, ""3.51.0"") >= 0, n.isGroupShareImageVersion = r(s, ""3.52.0"") >= 0, n.isModifyBackgroundVersion = r(s, ""3.52.0"") >= 0, n.isOrderNotWinLotteryVersion = r(s, ""3.46.0"") >= 0, n.isNewGroupFastBackVersion = r(s, ""3.61.0"") >= 0, n.isSupportSetTitleAnimation = r(s, ""4.4.0"") >= 0, n.isUpdateTimelineOrderStatusNotification = r(s, ""4.13.0"") >= 0, n.isPlayAudioWithSystemVol = r(s, ""4.8.0"") >= 0, n.isSettingPrivacyVersion = r(s, ""3.49.0"") >= 0, n.isTimelineDetailVersion = r(s, ""3.54.0"") >= 0, n.isBarrageVersion = r(s, ""3.57.0"") >= 0, n.isOrderCheckoutRefGroupVersion = r(s, ""4.2.0"") >= 0, n.isPlayAudioWithSettleVol = r(s, ""4.11.0"") >= 0, n.isPDDTimelineFeedDeleteNotification = r(s, ""4.12.0"") >= 0, n.isPayWechatDirectStatusVersion = r(s, ""4.14.0"") >= 0, n.isNativeSpikeRemindVersion = r(s, ""3.40.0"") >= 0, n.isSpikeNoticeUnionVersion = r(s, ""4.26.0"") >= 0, n.isNativeSpikeCalendardVersion = r(s, ""4.25.0"") >= 0, n.isModuleRequestTimeout = r(s, ""4.18.0"") >= 0, n.isShowAddressCantReceiveVersion = r(s, ""4.19.0"") >= 0, n.isEletricShowNativeTab = r(s, ""4.26.0"") >= 0, n.isSupportNativeLog = r(s, ""4.22.0"") >= 0, n.isSupportCheckWebviewInTab = r(s, ""4.26.0"") >= 0, n.isSupportCheckWebviewInScreen = r(s, ""4.27.0"") >= 0, n.isUrmFastbackVersion = r(s, ""4.39.0"") >= 0, n.isUrmJSNavigationVersion = r(s, ""4.40.0"") >= 0, n.IOS } if (null != o.match(/phh_android_version/i)) { if (o.indexOf(""app_type/tiny"") > -1) return n.PDDTinyAndorid; var c = i(n.Android); return n.isModuleVersion = r(c, ""1.1.2"") > 0, n.isNativeChatVersion = r(c, ""1.2.2"") > 0, n.isNativeLoginVersion = r(c, ""1.2.2"") > 0, n.isNativeTabBarVersion = r(c, ""1.2.2"") > 0, n.isNativeIndexVersion = r(c, ""1.2.5"") > 0, n.isNativeUpdateVersion = r(c, ""1.3.0"") > 0, n.isNativeMallPageVersion = r(c, ""1.3.0"") > 0, n.isNativeAddressPageVersion = r(c, ""1.3.1"") >= 0, n.isNativeImageViewerVersion = r(c, ""1.4.0"") >= 0, n.isNativeSubjectPageVersion = r(c, ""1.3.2"") >= 0, n.isNativeQQPayVersion = r(c, ""1.9.0"") > 0, n.isNativeOrdersPageVersion = r(c, ""2.6.0"") >= 0, n.isAliPayDirectDebitVersion = r(c, ""3.2.0"") >= 0, n.isShareButtonV2 = r(c, ""1.7.0"") >= 0, n.isNativeSubjectsPageVersion = r(c, ""3.15.0"") >= 0, n.isPhotoDisabledVersion = [""1.2.6"", ""1.2.7"", ""1.2.8""].indexOf(c) >= 0, n.isNativeContactVersion = r(c, ""3.17.0"") >= 0, n.isNativeNewContactVersion = r(c, ""4.14.0"") >= 0, n.isNativeContactAuthorityVersion = r(c, ""4.15.0"") >= 0, n.isGroupAudioRecordVersion = r(c, ""3.19.0"") >= 0, n.isTakeCouponInCommentPage = r(c, ""3.23.0"") >= 0 && r(c, ""3.40.0"") < 0, n.isNativeFriendsVersion = r(c, ""3.42.0"") >= 0, n.isTakeCouponAfterCommentVersion = r(c, ""3.20.0"") >= 0 && r(c, ""3.40.0"") < 0, n.isMergeLogReport = r(c, ""4.45.0"") >= 0, n.isNewOrderStatusVersion = r(c, ""3.34.0"") >= 0, n.isNoHaitaoVersion = r(c, ""3.38.0"") >= 0, n.isHBInstallmentPayVersion = r(c, ""3.65.0"") >= 0, n.isUrgeShipmentVersion = r(c, ""3.40.0"") >= 0, n.isSupportAudioMsgVersion = r(c, ""3.31.0"") >= 0, n.isCouponGroupShare = r(c, ""3.43.0"") >= 0, n.isModifyAddressVersion = r(c, ""3.44.0"") >= 0, n.isGroupFastBackVersion = r(c, ""3.48.0"") >= 0, n.isShowHUDVersion = r(c, ""3.51.0"") >= 0, n.isGroupShareImageVersion = r(c, ""3.52.0"") >= 0, n.isModifyBackgroundVersion = r(c, ""3.52.0"") >= 0, n.isOrderNotWinLotteryVersion = r(c, ""3.46.0"") >= 0, n.isNewGroupFastBackVersion = r(c, ""3.61.0"") >= 0, n.isSupportSetTitleAnimation = r(c, ""4.4.0"") >= 0, n.isUpdateTimelineOrderStatusNotification = r(c, ""4.13.0"") >= 0, n.isPlayAudioWithSystemVol = r(c, ""4.8.0"") >= 0, n.isSettingPrivacyVersion = r(c, ""3.49.0"") >= 0, n.isTimelineDetailVersion = r(c, ""3.54.0"") >= 0, n.isBarrageVersion = r(c, ""3.57.0"") >= 0, n.isOrderCheckoutRefGroupVersion = r(c, ""4.2.0"") >= 0, n.isPlayAudioWithSettleVol = r(c, ""4.11.0"") >= 0, n.isPDDTimelineFeedDeleteNotification = r(c, ""4.12.0"") >= 0, n.isPayWechatDirectStatusVersion = r(c, ""4.14.0"") >= 0, n.isNativeSpikeRemindVersion = r(c, ""3.2.0"") >= 0, n.isNativeSpikeCalendardVersion = !1, n.isSpikeNoticeUnionVersion = r(c, ""4.26.0"") >= 0, n.isHorizontalScrollVersion = r(c, ""4.18.0"") >= 0, n.isModuleRequestTimeout = r(c, ""4.18.0"") >= 0, n.isShowAddressCantReceiveVersion = r(c, ""4.19.0"") >= 0, n.isEletricShowNativeTab = r(c, ""4.26.0"") >= 0, n.isSupportNativeLog = r(c, ""4.23.0"") >= 0, n.isSupportCheckWebviewInTab = r(c, ""4.20.0"") >= 0, n.isSupportCheckWebviewInScreen = r(c, ""4.27.0"") >= 0, n.isSupportCheckNotify = r(c, ""4.27.1"") >= 0, n.isUrmFastbackVersion = r(c, ""4.39.0"") >= 0, n.isUrmJSNavigationVersion = r(c, ""4.26.0"") >= 0, n.Android } if (null != o.match(/MicroMessenger/i)) { var u = a.a.getWechatVersion(o); return n.wechatVersion = u, n.isSupportHistoryAPI = r(u, ""6.5.1"") > 0, ""app.yangkeduo.com"" === t ? void(t = ""mobile.yangkeduo.com"") : function(e) { return null != e.match(/miniprogram|miniProgram/i) || ""undefined"" != typeof window && ""miniprogram"" === window.__wxjs_environment }(o) ? n.WxApp : n.WeChat } return null != o.match(/Weibo/i) ? n.Weibo : function(e) { return null != e.match(/QQ\//i) && null != e.match(/miniprogram/i) }(o) ? n.QQApp : null != o.match(/(QQ\/[\d\.]+\s+)|Qzone/i) ? (""app.yangkeduo.com"" === t && (t = ""mobile.yangkeduo.com""), n.QQ) : null != o.match(/mjt_version/i) ? n.MaJiaBaoAndroid : n.Unknown }(), n.WeChatAndroid = ""wechat_android"", n.WeChatIOS = ""wechat_ios"", n.WeChatUnknown = ""wechat_unknown"", n.compareVersion = r, n.isMinVersionSatisfied = function(e) { var t = e.androidNativeMinVersion, a = e.iosNativeMinVersion; return { isSatisfied: n.Current === n.Android ? !t || r(i(n.Android), t) >= 0 : n.Current !== n.IOS || (!a || r(i(n.IOS), a) >= 0), platform: n.Current } }, n.WeChatCurrent = function() { if (n.Current !== n.WeChat) return null; var t = e; return -1 != (t = t.toUpperCase()).indexOf(""ANDROID"") ? n.WeChatAndroid : -1 != t.indexOf(""IPHONE"") || -1 != t.indexOf(""IPAD"") || -1 != t.indexOf(""ITOUCH"") ? n.WeChatIOS : n.WeChatUnknown }(), n } var o = i(window.navigator.userAgent); o.Current === o.QQ ? (Object(r.a)(""https://mp.gtimg.cn/open/js/openApi.js"", { crossOrigin: ""anonymous"" }), Object(r.a)(""https://open.mobile.qq.com/sdk/qqapi.wk.js?_bid=152"")) : o.Current === o.QQApp ? n(""R8Tx"") : n(""XUo1""); var s = o, c = n(""Pn5d""), u = n(""kk8N""); n.d(t, ""a"", function() { return p }); var l = {}; function p(e, t) { var n = (arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : null) || i(e, t); return n.isPureWeChatPlatform = function() { return n.Current === n.WeChat }, n.isWeChatMiniProgram = function() { return n.Current === n.WxApp }, n.isWeChatPlatform = function() { return n.Current === n.WeChat || n.Current === n.WxApp }, n.isWeiboPlatform = function() { return n.Current === n.Weibo }, n.isPureQQPlatform = function() { return n.Current === n.QQ }, n.isQQPlatform = function() { return n.Current === n.QQ || n.Current === n.QQApp }, n.isQQMiniProgram = function() { return n.Current === n.QQApp }, n.isNativePlatform = function() { return n.Current === n.IOS || n.Current === n.Android }, n.isTinyNativePlatform = function() { return n.Current === n.PDDTinyAndorid }, n.isEmbeddedBrowser = function() { return n.isWeChatPlatform() || n.isWeiboPlatform() || n.isQQPlatform() }, n.isMobileBrowser = function() { return n.isMobile }, n.isAndroidWeChatPlatform = function() { return n.isWeChatPlatform() && n.WeChatCurrent === n.WeChatAndroid }, n.isIOSWeChatPlatform = function() { return n.isWeChatPlatform() && n.WeChatCurrent === n.WeChatIOS }, n.isQQPayAvailable = function() { return n.isNativeQQPayVersion || n.isQQPlatform() }, n.isWeChatPayAvailable = function() { return n.isNativePlatform() || n.isWeChatPlatform() || n.isQQPlatform() || !n.isEmbeddedBrowser() && n.isMobileBrowser() }, n.isAliPayAvailable = function() { var e = n.getAppVersion(); return !n.isWeChatPlatform() && !n.isQQPlatform() && (!(n.Current === n.IOS && a.a.compareVersion(e, ""1.0.7"") < 0) && !(n.Current === n.Android && a.a.compareVersion(e, ""1.0.4"") < 0)) }, n.isAndroidSupportWeChatSessionImage = function() { var e = n.getAppVersion(); return n.Current === n.IOS || n.Current === n.Android && a.a.compareVersion(e, ""3.29.0"") > 0 }, n.isAndroidMaskSpinnerVersion = function() { var e = n.getAppVersion(); return n.Current === n.Android && a.a.compareVersion(e, ""3.38.0"") >= 0 }, n.getAppVersion = function() { var e = [n.Android, n.PDDTinyAndorid].indexOf(n.Current) > -1 ? n.Android : n.Current, t = a.a.getValueFromUserAgent(""phh_"" + e + ""_version/""); return null == t && (t = """"), t }, n.isShowSMAlertPlatform = function() { return !!this.isIOSWeChatPlatform() || !!(this.isAndroidWeChatPlatform() && a.a.compareVersion(a.a.getWechatVersion(), ""6.5.6"") >= 0) }, n.isSupportWechatFloatingWindow = function() { var e = n.wechatVersion; return !!e && a.a.compareVersion(e, ""6.6.7"") >= 0 }, n.isCallNativeNotification = function() { if (!n.isNativePlatform()) return !1; if (n.Current === n.IOS) return !0; if (!n.isSupportCheckNotify) return !1; var e = u.a.callNative && u.a.callNative(""AMUserNotification"", ""checkNotify"", {}); return !!(e && e.data && e.data.is_enabled) }, n } var d = p(window.navigator.userAgent, location.hostname, s); d.isIOSWeChatUIWebView = function() { return d.isIOSWeChatPlatform() && !c.a.isWKWebView }, d.isComponentPackageEnv = function() { return !(location.protocol.indexOf(""http"") > -1) }, l = d; t.b = l }, yT0K: function(e, t, n) {}, ""yt/x"": function(e, t, n) { ""use strict""; n.d(t, ""a"", function() { return _ }), n.d(t, ""c"", function() { return y }), n.d(t, ""b"", function() { return w }); var r = n(""pVnL""), a = n.n(r), i = n(""lwsE""), o = n.n(i), s = n(""W8MJ""), c = n.n(s), u = n(""a1gu""), l = n.n(u), p = n(""Nsbk""), d = n.n(p), h = n(""7W2i""), f = n.n(h), m = n(""q1tI""), g = n.n(m), v = (n(""17x9""), n(""003K"")), _ = g.a.createContext(), b = null; function y(e) { return e === b || e instanceof v.a } var w = function(e) { function t() { var e, n; o()(this, t); for (var r = arguments.length, a = new Array(r), i = 0; i < r; i++) a[i] = arguments[i]; return (n = l()(this, (e = d()(t)).call.apply(e, [this].concat(a))))._myRef = g.a.createRef(), n.state = { lazyLoader: b }, n } return f()(t, e), c()(t, [{ key: ""componentDidMount"", value: function() { this.setState({ lazyLoader: new v.a({ container: this._myRef.current, thresholds: this.props.thresholds }) }) } }, { key: ""componentWillUnmount"", value: function() { this.state.lazyLoader.destroy() } }, { key: ""render"", value: function() { return g.a.createElement(_.Provider, { value: this.state.lazyLoader }, g.a.createElement(""div"", a()({ ref: this._myRef }, this.props))) } }]), t }(m.PureComponent); w.defaultProps = { thresholds: ""300px"" } }, zRS3: function(e, t, n) { ""use strict""; var r = n(""iCc5""), a = n.n(r), i = n(""u16y""), o = n(""b5fu""), s = n(""tWR7""), c = { DEFAULT: 0, WECHAT_SESSION: 1, WECHAT_TIMELINE: 2, WEIBO: 3, QQ_CHAT_SESSION: 4, QQ_ZONE: 5, TENCENT_WEIBO: 6, WECHAT_SESSION_APP: 7, WECHAT_TIMELINE_IMAGE: 8, WECHAT_TIMELINE_IMAGE_WITH_NO_SDK: 9, WECHAT_SESSION_IMAGE: 10, QQ_CHAT_SESSION_IMAGE: 11, QQ_ZONE_IMAGE: 12, WEIBO_IMAGE: 13, WECHAT_TIMELINE_IMAGES: 15, WECHAT_SESSION_TEXT_WITH_NO_SDK: 16, WECHAT_SESSION_TEXT: 17, FRIENDS: 9998, WECHAT_BIG_IMAGE: 9999 }, u = { DEFAULT: 0, ON_SHARE_TRIGGER: 1, ON_SHARE_COMPLETED: 2, SDK_INIT_FAILED: 3, ON_SHARE_BUTTON_CLICKED: 4, ON_SHARE_PREPARE: 5, ON_SDK_READY: 6 }, l = n(""xnWZ""), p = n(""FYw3""), d = n.n(p), h = n(""mRg0""), f = n.n(h), m = n(""kk8N""), g = n(""EhKJ""), v = n(""+qE3""), _ = { DEFAULT: 0, SHARE_PARAMS_NOT_VALID: 1, SHARE_TYPE_DISABLED: 2, SHARE_TYPE_NOT_FOUND: 3, SHARE_ACTION_DISABLE: 4, SHARE_STATUS_ILLEGAL: 5, SHARE_NOT_SUPPORTED: 6 }, b = function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this.errorCode = t.errorCode || _.DEFAULT, this.message = t.message || """" }; b.create = function(e) { return new b({ errorCode: e }) }, b.ShareErrorCode = _; var y = b, w = n(""14Xm""), S = n.n(w), C = n(""D3Ub""), A = n.n(C), I = { DEFAULT: 0, REDIRECT: 1, SERVER_DOMAIN: 2, SERVER_CONTROL: 3, SERVER_SHORT_URL: 4, RAW: 5 }, k = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; a()(this, e), this.hostname = """", this.origin = """", this.pagename = """", this.pathname = """", this.port = 0, this.protocol = """", this.query = {}, this.search = """", this.hashTag = """", this.parseURL(t) } return e.prototype.parseURL = function(e) { var t = e.split(""#""), n = t[0] || """"; this.hashTag = t[1] || """"; var r = n.split(""?""), a = r[0] || """", i = r[1] || """"; this.search = ""?"" + i, this.query = (i.split(""&"") || []).reduce(function(e) { var t = (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : """").split(""=""), n = void 0, r = void 0; try { n = decodeURIComponent(t[0] || """"), r = decodeURIComponent(t[1] || """") } catch (e) { n = """" } return n && (e[n] = r), e }, {}); var o = a.match(/^([a-zA-Z]+\:)\/\//) || []; this.protocol = o[1] || """"; o[0] && (a = a.replace(o[0], """")); var s = a.match(/^((:?[a-zA-Z0-9](:?[a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,6})(\:\d+)?\//) || [], c = (s[0] || """").replace(/\//g, """").split("":""), u = c[0], l = c[1]; this.hostname = u, this.port = parseInt(l || 0, 10), s[0] && (a = a.replace(s[0], """")), this.protocol && this.hostname && (this.origin = this.protocol + ""//"" + this.hostname), this.pathname = ""/"" + a.replace(/^\//, """"); var p = a.match(/\/?(\w+\.html)$/) || []; this.pagename = p[1] || """" }, e }(), E = { WEIXIN_TINY_DOMAIN: ""weixin"", SHORT_LINK: ""link"" }, T = function(e) { function t(n) { a()(this, t); var r = d()(this, e.call(this, n)); return r.name = ""shareDomainModel"", r.shareURL = n.shareURL || """", r.marketActivityID = n.marketActivityID || 0, r.platform = n.platform || """", r.retryDisabled = !0, r.skipDefaultErrorHandling = !0, r.shareDomainType = n.shareDomainType || E.WEIXIN_TINY_DOMAIN, r } return f()(t, e), t.prototype.dealPath = function() { e.prototype.dealPath.call(this), this.path = ""api/flow/audience/activity/domain/weixin"", this.shareDomainType === E.SHORT_LINK && (this.path = ""api/flow/audience/activity/domain/short_url"") }, t.prototype.dealParams = function() { e.prototype.dealParams.call(this), this.params.url = this.shareURL, this.params.activity = this.marketActivityID, this.params.platform = this.platform }, t.prototype.requestData = function() { var t; return (t = e.prototype.requestData).call.apply(t, [this].concat(Array.prototype.slice.call(arguments))).then(function(e) { return e }, function() { return null }) }, t.prototype.process = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return { domain: e.domain, openAppID: e.open_app_id || """", shortURL: e.short_url || """" } }, t }(n(""Hxbd"").a); T.ShareDomainType = E, T.ShareDomainPlatform = { WECHAT: ""h5"", IOS: ""ios"", ANDROID: ""android"" }; var N = T, x = [c.QQ_CHAT_SESSION, c.QQ_ZONE, c.QQ_CHAT_SESSION_IMAGE, c.QQ_ZONE_IMAGE], O = function(e) { return x.indexOf(e) >= 0 }, D = ""undefined"" != typeof window ? n(""3I1p"") : {}, P = N.ShareDomainType, R = N.ShareDomainPlatform, M = [""mobile.yangkeduo.com"", ""m.hutaojie.com"", ""panduoduo.yangkeduo.com""], L = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this.title = t.title || """", this.message = t.message || """", this.shareURL = t.shareURL || """", this.targetShareURL = """", this.realShareURL = """", this.shareDomain = t.shareDomain || """", this.thumbnailURL = t.thumbnailURL || """", this.timelineDomain = t.timelineDomain || """", this.timelineAppId = t.timelineAppId || """", this.marketActivityID = t.marketActivityID || 0, this.urlWrapType = t.urlWrapType || I.DEFAULT } return e.prototype.normalize = function() { var e = A()(S.a.mark(function e(t) { return S.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.abrupt(""return"", Promise.resolve({})); case 1: case ""end"": return e.stop() } }, e, this) })); return function(t) { return e.apply(this, arguments) } }(), e.prototype.setShareURLQueries = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; this.urlWrapType !== I.RAW && (this.shareURL = s.a.buildURL(e, this.shareURL)) }, e }(); L.getWrappedShareURLInfo = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.shareURL || """", n = e.urlWrapType; if (n === I.DEFAULT || n === I.RAW) return Promise.resolve({ realShareURL: t, targetShareURL: t }); if (e.timelineDomain && e.timelineAppId && n === I.REDIRECT) return Promise.resolve(L.getRedirectURLInfo(t, e.timelineDomain, e.timelineAppId)); if (e.timelineDomain && n === I.SERVER_DOMAIN) return Promise.resolve(L.getEncodedURLInfo(t, e.timelineDomain)); if (e.marketActivityID && (n === I.SERVER_CONTROL || n === I.SERVER_SHORT_URL)) { var r = n === I.SERVER_CONTROL ? P.WEIXIN_TINY_DOMAIN : P.SHORT_LINK; return new Promise(function(n, a) { var i = t.replace(/^(\w+\:)?\/\//, """"); new N({ shareURL: encodeURIComponent(i), marketActivityID: e.marketActivityID, platform: L.getShareDomainPlatform(), shareDomainType: r }).get().then(function(e) { if (e) { if (r === P.WEIXIN_TINY_DOMAIN) { var a = e.domain, i = void 0 === a ? """" : a, o = e.openAppID, s = void 0 === o ? """" : o; return void n(L.getRedirectURLInfo(t, i, s)) } if (r === P.SHORT_LINK) return void n({ useShortURL: !0, realShareURL: e.shortURL || t, targetShareURL: t }) } n({ realShareURL: t, targetShareURL: t }) }) }) } return Promise.resolve({ realShareURL: t, targetShareURL: t }) }, L.getShortURL = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.shareURL || """"; e.urlWrapType; return new Promise(function(n, r) { var a = t.replace(/^(\w+\:)?\/\//, """"); new N({ shareURL: encodeURIComponent(a), marketActivityID: e.marketActivityID, platform: L.getShareDomainPlatform(), shareDomainType: P.SHORT_LINK }).get().then(function(e) { n(e ? { useShortURL: !0, realShareURL: e.shortURL || t, targetShareURL: t } : { realShareURL: t, targetShareURL: t }) }) }) }, L.getRedirectURLInfo = function(e, t, n) { var r = new k(e), a = ""http://"" + t + (r.pathname + r.search) + ""&xxx_state=123""; return { realShareURL: o.a.format(""https://open.weixin.qq.com/connect/oauth2/authorize?response_type=code&scope=snsapi_base&appid={0}&redirect_uri={1}"", n, encodeURIComponent(a)), targetShareURL: a } }, L.getEncodedURLInfo = function(e, t) { var n = o.a.getRandomString(10), r = new k(e), a = r.pathname + r.search, i = ""http://"" + t + ""/"" + (a = (a = D.Base64.encode(n + ""/"" + a)).replace(/\+/g, ""-"").replace(/\//g, ""_"").replace(/=/g, "","")); return { targetShareURL: i, realShareURL: i } }, L.getShareDomainPlatform = function() { return l.b.Current === l.b.Android ? R.ANDROID : l.b.Current === l.b.IOS ? R.IOS : R.WECHAT }, L.getQQShareURL = function(e, t) { if (!O(e)) return t; var n = new k(t).hostname; return M.indexOf(n) < 0 && (t = t.replace(""//"" + n, ""//mobile.yangkeduo.com"")), t }; var U = L, W = y.ShareErrorCode, B = function(e) { function t() { var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, t); var r = d()(this, e.call(this, n)); return r.ShareEntityClass = U, r._hasInited = !1, r.shareEntity = n.shareEntity, r.shareEntityMap = n.shareEntityMap || {}, r.disableShareTypes = n.disableShareTypes || [], r } return f()(t, e), t.prototype.initShare = function() { this._hasInited || (this._hasInited = !0, this.setMaxListeners(0), this._setupShareTypes(), this._setupPlatformShareSDK()) }, t.prototype.isInited = function() { return this._hasInited }, t.prototype.share = function(e) { return W.SHARE_ACTION_DISABLE }, t.prototype._setupShareTypes = function() { return !0 }, t.prototype._setupPlatformShareSDK = function() { return Promise.resolve() }, t.prototype.getShareEntityByShareType = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, t = arguments[1]; return e ? this.shareEntityMap[e] || (t ? null : this.shareEntity) : this.shareEntity }, t.prototype.refreshShare = function(e, t) { return e ? (t ? this.shareEntityMap[t] = e : this.shareEntity = e, this._setupPlatformShareSDK()) : Promise.resolve() }, t.prototype.disableShareTypes = function(e) { if (e && ""number"" == typeof e) this.disableShareTypes.push(e); else { if (""[object Array]"" !== Object.prototype.toString.call(e)) return; this.disableShareTypes = e }!this._setupShareTypes() && this._setupPlatformShareSDK() }, t.prototype.createShareEntity = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1], n = arguments[2], r = this.ShareEntityClass || U; if (n) return new r(e); var a = {}; if (t) { var i = this.shareEntityMap[t]; a = i ? Object.assign({}, i, e) : Object.assign({}, this.shareEntity, e) } else a = Object.assign({}, this.shareEntity, e); return new r(a) }, t.prototype.setupNativeShareButton = function(e) { return W.SHARE_NOT_SUPPORTED }, t }(v.EventEmitter), G = l.b.getAppVersion, Q = l.b.compareVersion, j = null, q = function e() { a()(this, e) }; q.NATIVE_SAHRE_ERRORS = { USER_REFUSE: 60005, USER_CANCEL: 60006 }, q.checkShareTypeSupport = function(e) { var t = !1; if (""number"" != typeof e) return !1; G(); switch (e) { case c.WECHAT_SESSION: case c.WECHAT_TIMELINE: case c.WECHAT_SESSION_APP: t = !0; break; case c.WEIBO: t = !1; break; case c.QQ_CHAT_SESSION: case c.QQ_ZONE: t = q.checkQQShare(); break; case c.TENCENT_WEIBO: t = !1; break; case c.WECHAT_TIMELINE_IMAGE: case c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK: t = q.checkWeChatTimelineShareImage(); break; case c.WECHAT_SESSION_IMAGE: t = q.checkWeChatSessionShareImage(); break; case c.QQ_CHAT_SESSION_IMAGE: case c.QQ_ZONE_IMAGE: t = q.checkQQShareImage(); break; case c.WEIBO_IMAGE: t = q.checkWeiboShareImage(); break; case c.WECHAT_SESSION_TEXT_WITH_NO_SDK: case c.WECHAT_SESSION_TEXT: t = q.checkWeChatSessionShareText(); break; case c.FRIENDS: case c.WECHAT_BIG_IMAGE: t = !0 } return t }, q.checkQQShare = function() { var e = G(); return (l.b.Current !== l.b.IOS || 0 !== Q(e, ""2.0.8"")) && (l.b.Current === l.b.IOS && Q(e, ""1.1.0"") >= 0 || l.b.Current === l.b.Android && Q(e, ""1.1.0"") >= 0) }, q.checkWeiboShare = function() { var e = G(); return l.b.Current === l.b.IOS && Q(e, ""1.1.0"") >= 0 || l.b.Current === l.b.Android && Q(e, ""1.0.8"") >= 0 }, q.checkWeChatTimelineShareImage = function() { var e = G(); return l.b.Current === l.b.IOS && Q(e, ""1.1.2"") >= 0 || l.b.Current === l.b.Android && Q(e, ""1.1.2"") >= 0 }, q.checkWeChatSessionShareImage = function() { var e = G(); return l.b.Current === l.b.IOS && Q(e, ""3.30.0"") >= 0 || l.b.Current === l.b.Android && Q(e, ""3.30.0"") >= 0 }, q.checkWeChatSessionShareText = function() { var e = G(); return l.b.Current === l.b.IOS && Q(e, ""3.53.0"") >= 0 || l.b.Current === l.b.Android && Q(e, ""3.53.0"") >= 0 }, q.checkQQShareImage = function() { var e = G(); return l.b.Current === l.b.IOS && Q(e, ""3.35.0"") >= 0 || l.b.Current === l.b.Android && Q(e, ""3.35.0"") >= 0 }, q.checkWeiboShareImage = function() { var e = G(); return l.b.Current === l.b.IOS && Q(e, ""3.35.0"") >= 0 || l.b.Current === l.b.Android && Q(e, ""3.35.0"") >= 0 }, q.hasNewShareAPI = function() { var e = G(); return l.b.Current === l.b.IOS && Q(e, ""2.0.0"") >= 0 }, q.getShareModuleName = function() { return ""AMShare"" }, q.DEFAULT_SHARE_ICON_SIZE = 22, q.DEFAULT_SHARE_ICON = ""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAMAAADUivDaAAAAM1BMVEUAAABmZmZmZmZlZWVmZmZmZmZlZWVlZWVoaGhlZWVkZGRmZmZlZWVlZWVlZWVmZmZmZmauFdI/AAAAEHRSTlMAhnjzbtHHEBrfJrGXRzZXUNTSwgAAAPRJREFUWMPt1+sKgzAMBWC71NbLLuf9n3a6sxFYN2vq/gxyEBSFz9pGaLpdOYucuyPJCUtSbheGHo/0Q6swjXhmnNqEqwCYHwfk2iJcFkEuJyDwyi7c+O6V4HhuViFyBkhwVqJNCFwHEq+1CTaB1UCCFWI0BJiXkxJLZkAso2BVK8FaD509SjB/QcQkWBO2iYA1kuLHn5KRbQKvFL8vhT2jUKOs55j3z0WORcUnvVEj9EF6/8JsIzKAd8K6qE444cTviNNBYhrHqZnQOOGEE0444USdyDYhA1Lsfs1dRqrtwTXVPTjTw5y+6EfMwvCtK6pHu6I7B+8m1re+k3UAAAAASUVORK5CYII="", q.getInstance = function() { return j || (j = new q), j }; var V = q, F = 0, K = 1, H = 2, z = 3, J = ""undefined"" != typeof window; function Y() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; return e.match(/^http\:?/) ? e : l.b.isModuleVersion || !J ? ""http://"" + e : location.protocol ? location.protocol + ""//"" + e : void 0 } var Z, X = n(""ii9O""), $ = function(e) { function t(n) { a()(this, t); var r = d()(this, e.call(this, n)); return r.drawImageOptions = n.drawImageOptions || {}, r.redirectURI = n.redirectURI || """", r.miniObjectPath = n.miniObjectPath || """", r.useWxAppShare = n.useWxAppShare || !1, r } return f()(t, e), t.prototype.normalize = function() { var e = A()(S.a.mark(function e(t) { var n, r, a, i, o = this; return S.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: n = Object.assign({}, this), r = { title: n.title, desc: n.message, thumbnail: n.thumbnailURL, share_url: n.shareURL }, a = !1, e.t0 = t, e.next = e.t0 === c.WECHAT_SESSION ? 6 : e.t0 === c.WECHAT_TIMELINE_IMAGE ? 15 : e.t0 === c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK ? 15 : e.t0 === c.WECHAT_SESSION_IMAGE ? 15 : e.t0 === c.QQ_CHAT_SESSION_IMAGE ? 15 : e.t0 === c.QQ_ZONE_IMAGE ? 15 : e.t0 === c.WEIBO_IMAGE ? 15 : 18; break; case 6: if (!n.miniObjectPath) { e.next = 10; break } r.mini_object_path = n.miniObjectPath, e.next = 14; break; case 10: if (!n.useWxAppShare || ""function"" != typeof X.b) { e.next = 14; break } return e.next = 13, Object(X.b)(n.shareURL, 1e3); case 13: r.mini_object_path = e.sent; case 14: return e.abrupt(""break"", 19); case 15: return a = !0, r.options = n.drawImageOptions, e.abrupt(""break"", 19); case 18: return e.abrupt(""break"", 19); case 19: if (this.targetShareURL = this.shareURL, this.realShareURL = this.shareURL, this.useShortURL = !1, O(t) && (i = U.getQQShareURL(t, this.shareURL), r.share_url = i, r.shareURL = i, this.realShareURL = i, this.targetShareURL = i), t !== c.WECHAT_TIMELINE) { e.next = 27; break } return e.abrupt(""return"", U.getWrappedShareURLInfo(n).then(function(e) { var t = e.realShareURL, n = e.targetShareURL, a = e.useShortURL; return o.useShortURL = a, o.realShareURL = t, o.targetShareURL = n, r.share_url = t, r })); case 27: if (!a || this.urlWrapType !== I.SERVER_SHORT_URL) { e.next = 31; break } return e.abrupt(""return"", U.getShortURL(n).then(function(e) { var t = e.realShareURL, n = e.targetShareURL, a = e.useShortURL; return o.useShortURL = a, o.realShareURL = t, o.targetShareURL = n, r.share_url = a ? Y(t) : t, r })); case 31: return e.abrupt(""return"", Promise.resolve(r)); case 32: case ""end"": return e.stop() } }, e, this) })); return function(t) { return e.apply(this, arguments) } }(), t }(U), ee = y.ShareErrorCode, te = V.checkShareTypeSupport, ne = V.getShareModuleName, re = V.NATIVE_SAHRE_ERRORS, ae = Object.keys(c).map(function(e) { return c[e] }).filter(function(e) { return [c.WECHAT_BIG_IMAGE].indexOf(e) <= 0 }), ie = function(e) { function t(n) { a()(this, t); var r = d()(this, e.call(this, n)); return r.ShareEntityClass = $, r._enableShareTypes = ae.concat(), r.nativeShareEnv = V.getInstance(), r } return f()(t, e), t.prototype.share = function(e) { var t = this.getShareEntityByShareType(e); return this.validateShareParams(e, t) ? !te(e) || this._enableShareTypes.indexOf(e) < 0 ? ee.SHARE_TYPE_DISABLED : e === c.WECHAT_BIG_IMAGE ? this._nativeShareBigImage(e) : [c.WECHAT_SESSION, c.WECHAT_TIMELINE, c.WEIBO, c.QQ_CHAT_SESSION, c.QQ_ZONE, c.TENCENT_WEIBO, c.WECHAT_SESSION_APP, c.FRIENDS].indexOf(e) >= 0 ? this._nativeShareCard(e) : [c.WECHAT_TIMELINE_IMAGE, c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK, c.WECHAT_SESSION_IMAGE, c.QQ_CHAT_SESSION_IMAGE, c.QQ_ZONE_IMAGE, c.WEIBO_IMAGE].indexOf(e) >= 0 ? this._nativeShareImage(e) : ee.SHARE_TYPE_NOT_FOUND : ee.SHARE_PARAMS_NOT_VALID }, t.prototype.validateShareParams = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return !(e === c.WEIBO && !t.redirectURI) }, t.prototype._setupShareTypes = function() {}, t.prototype.refreshShare = function(t, n) { var r = e.prototype.refreshShare.call(this, t, n); return this.emit(u.ON_SHARE_PREPARE, { shareType: n }), r }, t.prototype._setupPlatformShareSDK = function() { return Promise.resolve() }, t.prototype._nativeShareCard = function(e) { var t = this; this.emit(u.ON_SHARE_TRIGGER, { shareType: e }); var n = ne(), r = this.getShareEntityByShareType(e); return r.normalize(e).then(function(a) { var i = Object.assign({ type: e, redirect_uri: r.redirectURI || """", share_params: a }); m.a.callNative(n, ""callNativeShare"", i, function() { t.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: K }) }, function(e, n) { var r = (n = parseInt(n, 10) || 0) === re.USER_CANCEL ? z : H; t.emit(u.ON_SHARE_COMPLETED, { shareResultType: r, nativeShareErrorCode: n }) }) }), 0 }, t.prototype._nativeShareImage = function(e) { var t = this; this.emit(u.ON_SHARE_TRIGGER, { shareType: e }); var n = ne(), r = this.getShareEntityByShareType(e), a = e; return r.normalize(e).then(function(r) { var i = { type: a, share_params: r }, o = !1; a === c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK && (i.complete = function() { t.emit(u.ON_SHARE_COMPLETED, { shareType: e, useComplete: !0, shareResultType: K }) }, o = !0), m.a.check(n, ""share"", function() { m.a.callNative(n, ""share"", i, function() { !o && t.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: K }) }, function(n, r) { var a = (r = parseInt(r, 10)) === re.USER_CANCEL ? z : H; !o && t.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: a, nativeShareErrorCode: r }) }) }, function() { t.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: H }) }) }), 0 }, t.prototype._nativeShareBigImage = function(e) { return ee.SHARE_TYPE_DISABLED }, t.prototype.setupNativeShareButton = function() { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = t.shareIcon, r = void 0 === n ? V.DEFAULT_SHARE_ICON : n, a = t.shareIconSize, i = void 0 === a ? V.DEFAULT_SHARE_ICON_SIZE : a; return ""string"" != typeof r || ""number"" != typeof i ? ee.SHARE_PARAMS_NOT_VALID : l.b.isNativeTabBarVersion ? (m.a.callNative(""JSUIControl"", ""setRightBarButtons"", { buttons: [{ icons: { normal: r }, callback: function() { e.emit(u.ON_SHARE_BUTTON_CLICKED) }, size: i }] }), 0) : V.hasNewShareAPI() ? (m.a.callNative(""JSUIControl"", ""setRightBarButtons"", { buttons: [{ icons: { normal: r }, size: i }] }, function() { g.a.register(""onRightBarButtonPress"", function() { e.emit(u.ON_SHARE_BUTTON_CLICKED) }) }), 0) : ee.SHARE_NOT_SUPPORTED }, t }(B), oe = function(e) { function t() { a()(this, t); var n = d()(this, e.apply(this, arguments)); return n.urlWrapType === I.SERVER_CONTROL && (n.urlWrapType = I.REDIRECT), n } return f()(t, e), t.prototype.normalize = function(e) { var t = this; return new Promise(function(n, r) { var a = Object.assign({}, t), i = a.shareURL; t.targetShareURL = t.shareURL, t.realShareURL = t.shareURL, t.useShortURL = !1, e === c.WECHAT_TIMELINE ? U.getWrappedShareURLInfo(a).then(function(e) { var r = e.realShareURL, i = e.targetShareURL, o = e.useShortURL; t.useShortURL = o, t.targetShareURL = i, t.realShareURL = r, n({ title: a.title, desc: a.message, imgUrl: a.thumbnailURL, link: r }) }, function() {}) : O(e) ? (t.targetShareURL = U.getQQShareURL(e, i), t.realShareURL = t.targetShareURL, n({ title: a.title, desc: a.message, imgUrl: a.thumbnailURL, link: t.realShareURL })) : n({ title: a.title, desc: a.message, imgUrl: a.thumbnailURL, link: i }) }) }, t }(U), se = y.ShareErrorCode, ce = ((Z = {})[c.WECHAT_SESSION] = { name: ""onMenuShareAppMessage"" }, Z[c.WECHAT_TIMELINE] = { name: ""onMenuShareTimeline"" }, Z[c.QQ_CHAT_SESSION] = { name: ""onMenuShareQQ"" }, Z[c.QQ_ZONE] = { name: ""onMenuShareQZone"" }, Z[c.TENCENT_WEIBO] = { name: ""onMenuShareWeibo"" }, Z), ue = [c.WECHAT_SESSION, c.WECHAT_TIMELINE, c.QQ_CHAT_SESSION, c.QQ_ZONE, c.TENCENT_WEIBO], le = function(e) { function t(n) { a()(this, t); var r = d()(this, e.call(this, n)); return r.ShareEntityClass = oe, r._enableShareTypes = ue.concat(), r } return f()(t, e), t.prototype.share = function() { return se.SHARE_ACTION_DISABLE }, t.prototype.refreshShare = function(e, t) { var n = this; return e ? (t ? this.shareEntityMap[t] = e : (this.shareEntity = e, this._enableShareTypes.forEach(function(t) { n.shareEntityMap[t] = n.createShareEntity(e, t) })), this._setupPlatformShareSDK()) : Promise.resolve() }, t.prototype._setupShareTypes = function() { var e = this, t = this._enableShareTypes.length; return this._enableShareTypes = ue.filter(function(t) { return e.disableShareTypes.indexOf(t) < 0 }), t === this._enableShareTypes.length }, t.prototype._setupPlatformShareSDK = function() { var e = this; return ""undefined"" == typeof wx ? (this.emit(u.SDK_INIT_FAILED), Promise.resolve()) : Promise.all(this._enableShareTypes.map(function(t) { e.refreshWeChatChannelShare(t) })) }, t.prototype.refreshWeChatChannelShare = function(e) { var t = ce[e]; return t ? this._setupWeChatChannelShare(e, t.name) : null }, t.prototype._setupWeChatChannelShare = function(e) { var t = this, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : """"; if (!window.wx || ""function"" != typeof window.wx[n]) return Promise.resolve(); var r = this.shareEntityMap[e] || this.shareEntity; return r ? (this.emit(u.ON_SHARE_PREPARE, { shareType: e }), r.normalize(e).then(function(r) { var a = Object.assign({ trigger: function() { t.emit(u.ON_SHARE_TRIGGER, { shareType: e }) }, success: function() { t.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: K }), t.refreshWeChatChannelShare(e) }, fail: function() { t.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: H }), t.refreshWeChatChannelShare(e) }, cancel: function() { t.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: z }), t.refreshWeChatChannelShare(e) } }, r); window.wx[n](a) }, function() { return Promise.resolve() })) : Promise.resolve() }, t }(B); le.SUPPORTED_SHARE_TYPE = ue.concat(); var pe = le, de = function(e) { function t() { return a()(this, t), d()(this, e.apply(this, arguments)) } return f()(t, e), t.prototype.normalize = function(e) { var t = this; return new Promise(function(n, r) { var a = Object.assign({}, t); O(e) ? (t.targetShareURL = U.getQQShareURL(e, a.shareURL), t.realShareURL = t.targetShareURL, n({ title: a.title, desc: a.message, share_url: t.realShareURL, image_url: a.thumbnailURL, back: !0 })) : n({ title: a.title, desc: a.message, share_url: a.shareURL, image_url: a.thumbnailURL, back: !0 }) }) }, t }(U), he = y.ShareErrorCode, fe = [c.QQ_CHAT_SESSION, c.QQ_ZONE, c.WECHAT_SESSION, c.WECHAT_TIMELINE], me = function(e) { function t(n) { a()(this, t); var r = d()(this, e.call(this, n)); return r.ShareEntityClass = de, r._enableShareTypes = fe.concat(), r } return f()(t, e), t.prototype.share = function() { return he.SHARE_ACTION_DISABLE }, t.prototype._setupShareTypes = function() { return !0 }, t.prototype._setupPlatformShareSDK = function() { var e = this; return ""undefined"" == typeof mqq || void 0 === mqq.ui ? (this.emit(u.SDK_INIT_FAILED), Promise.resolve()) : (window.mqq.ui.setOnShareHandler(function(t) { var n = fe[parseInt(t, 10)], r = e.shareEntityMap[n] || e.shareEntity; r && (e.emit(u.ON_SHARE_TRIGGER, { shareType: n }), r.normalize(n).then(function() { var r = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; r.share_type = t, window.mqq.ui.shareMessage(r, function() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; switch (parseInt(t.retCode, 10)) { case 0: e.emit(u.ON_SHARE_COMPLETED, { shareType: n, shareResultType: K }); break; case 1: case -2: e.emit(u.ON_SHARE_COMPLETED, { shareType: n, shareResultType: z }); break; default: e.emit(u.ON_SHARE_COMPLETED, { shareType: n, shareResultType: H }) } }) })) }), Promise.resolve()) }, t }(B); me.SUPPORTED_SHARE_TYPE = fe; var ge = me, ve = n(""EJiy""), _e = n.n(ve), be = function(e) { function t() { return a()(this, t), d()(this, e.apply(this, arguments)) } return f()(t, e), t.prototype.normalize = function() { var e = A()(S.a.mark(function e(t) { var n; return S.a.wrap(function(e) { for (;;) switch (e.prev = e.next) { case 0: return n = Object.assign({}, this), e.abrupt(""return"", Promise.resolve({ title: n.title, thumbnail: n.thumbnailURL, share_url: n.shareURL })); case 2: case ""end"": return e.stop() } }, e, this) })); return function(t) { return e.apply(this, arguments) } }(), t }(U), ye = y.ShareErrorCode, we = [c.WECHAT_SESSION], Se = function(e) { function t(n) { a()(this, t); var r = d()(this, e.call(this, n)); return r.ShareEntityClass = be, r._enableShareTypes = we.concat(), r } return f()(t, e), t.prototype.share = function(e) { return ye.SHARE_ACTION_DISABLE }, t.prototype.refreshWxAppChannelShare = function(e) { return this._setupPlatformShareSDK() }, t.prototype.notifyWxAppShareComplete = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : K; this.emit(u.ON_SHARE_COMPLETED, { shareType: e, shareResultType: t }), this.refreshWxAppChannelShare(e) }, t.prototype._setupPlatformShareSDK = function() { var e = this; return ""object"" !== (""undefined"" == typeof wx ? ""undefined"" : _e()(wx)) || ""object"" !== _e()(wx.miniProgram) || ""function"" != typeof wx.miniProgram.postMessage ? (this.emit(u.SDK_INIT_FAILED), Promise.resolve()) : (this._enableShareTypes.forEach(function(t) { var n = e.getShareEntityByShareType(t); n && (e.emit(u.ON_SHARE_PREPARE, { shareType: t }), n.normalize(t).then(function(e) { try { wx.miniProgram.postMessage({ data: { message_type: ""share"", share_info: e } }) } catch (e) {} })) }), Promise.resolve()) }, t }(B), Ce = n(""Fcpp""), Ae = ""success"", Ie = ""fail"", ke = ""cancel"", Ee = ""complete"", Te = ""error"", Ne = ""event"", xe = { SHARE: ""share"", SHARE_RESULT: ""share_result"" }, Oe = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this.userID = t.userID || """", this.shareID = t.shareID || """", this.op = t.op || Ne, this.subOP = t.subOP || """", this.shareChannel = t.shareChannel || """", this.shareResult = t.shareResult || """", this.shareURL = t.shareURL || """", this.shareDomain = t.shareDomain || """", this.timelineDomain = t.timelineDomain || """" } return e.prototype.normalize = function(e) { if (this.subOP === xe.SHARE) return { op: this.op, sub_op: this.subOP, share_id: this.shareID, share_channel: this.shareChannel, share_url: this.shareURL, share_domain: this.shareDomain }; if (this.subOP === xe.SHARE_RESULT) { var t = { op: this.op, sub_op: this.subOP, event: ""share_result"", share_id: this.shareID, share_channel: this.shareChannel, share_url: this.shareURL, share_result: this.shareResult }; return e !== c.WECHAT_TIMELINE && e !== c.WECHAT_TIMELINE_IMAGE && e !== c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK || (t.timeline_domain = this.timelineDomain), t } return {} }, e.prototype.getShareURLTrackingQueries = function() { return e.getTrackingQueries(this) }, e }(); Oe.TRACKING_SUB_OP = xe, Oe.getTrackingQueries = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return { refer_share_id: e.shareID, refer_share_uid: e.userID, refer_share_channel: e.shareChannel } }; var De = Oe; function Pe(e) { e = e || 32; for (var t = ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"", n = t.length, r = """", a = 0; a < e; a++) r += t.charAt(Math.floor(Math.random() * n)); return r } var Re, Me = { UNKNOWN: ""unknown"", APP_MESSAGE: ""message"", TIMELINE: ""timeline"", QQ: ""qq"", QQ_ZONE: ""qzone"", QQ_WEIBO: ""qq_weibo"", SINA_WEIBO: ""weibo"" }, Le = ((Re = {})[c.WECHAT_SESSION] = Me.APP_MESSAGE, Re[c.WECHAT_TIMELINE] = Me.TIMELINE, Re[c.WEIBO] = Me.SINA_WEIBO, Re[c.QQ_CHAT_SESSION] = Me.QQ, Re[c.QQ_ZONE] = Me.QQ_ZONE, Re[c.TENCENT_WEIBO] = Me.QQ_WEIBO, Re[c.WECHAT_SESSION_APP] = Me.APP_MESSAGE, Re[c.WECHAT_TIMELINE_IMAGE] = Me.TIMELINE, Re[c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK] = Me.TIMELINE, Re[c.WECHAT_SESSION_IMAGE] = Me.APP_MESSAGE, Re[c.QQ_CHAT_SESSION_IMAGE] = Me.QQ, Re[c.QQ_ZONE_IMAGE] = Me.QQ_ZONE, Re[c.WEIBO_IMAGE] = Me.SINA_WEIBO, Re[c.FRIENDS] = Me.UNKNOWN, Re[c.WECHAT_BIG_IMAGE] = Me.APP_MESSAGE, Re); function Ue() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; return Le[e] || Me.UNKNOWN } var We = n(""3OdE""), Be = We.a.constant; function Ge() { return o.a.getSelfUID() || parseInt(o.a.getCookieByName(Be.CookieKey.UID), 10) || 0 } var Qe = y.ShareErrorCode, je = De.TRACKING_SUB_OP, qe = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this.transparentTransmission = t.transparentTransmission || {}, this._isSharing = !1, this.trackingEntity = null, this.onTriggerListener = null, this.onCompletedListener = null, this.shareController = null, this._cachePrepareInfo = {} } return e.prototype.listen = function(e) { e && e instanceof B && (this.shareController = e, this._setupDefaultTrackListener(e)) }, e.prototype.disconnect = function() { this.shareController && this._removeDefaultTrackListener(this.shareController) }, e.prototype.updateTrackerTrans = function(e) { this.transparentTransmission = o.a.extend(this.transparentTransmission, e) }, e.prototype._setupDefaultTrackListener = function(e) { this._removeDefaultTrackListener(e), this.onPrepareListener = this._onDefaultSharePrepare.bind(this), this.onTriggerListener = this._onDefaultShareTrigger.bind(this), this.onCompletedListener = this._onDefaultShareCompleted.bind(this), e.on(u.ON_SHARE_PREPARE, this.onPrepareListener), e.on(u.ON_SHARE_TRIGGER, this.onTriggerListener), e.on(u.ON_SHARE_COMPLETED, this.onCompletedListener) }, e.prototype._removeDefaultTrackListener = function(e) { this.onPrepareListener && e.removeListener(u.ON_SHARE_PREPARE, this.onPrepareListener), this.onTriggerListener && e.removeListener(u.ON_SHARE_TRIGGER, this.onTriggerListener), this.onCompletedListener && e.removeListener(u.ON_SHARE_COMPLETED, this.onCompletedListener) }, e.prototype._sendLog = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = Object.assign(e, this.transparentTransmission); Ce.a.trackingRecord(t) }, e.prototype._onDefaultSharePrepare = function(e) { var t = e.shareType; if (this._cachePrepareInfo[t]) { var n = this.shareController.getShareEntityByShareType(t) || {}, r = this._cachePrepareInfo[t]; n.setShareURLQueries(De.getTrackingQueries(r)) } else { var a = this.shareController.getShareEntityByShareType(t) || {}, i = { userID: Ge(), shareID: Pe(), shareChannel: Ue(t) }; a.setShareURLQueries(De.getTrackingQueries(i)), this._cachePrepareInfo[t] = i } }, e.prototype._onDefaultShareTrigger = function(e) { var t = e.shareType, n = this.shareController.getShareEntityByShareType(t) || {}, r = this._cachePrepareInfo[t]; this._cachePrepareInfo[t] = null, this.trackingEntity = new De(Object.assign({ userID: Ge(), shareID: Pe(), subOP: je.SHARE, shareChannel: Ue(t), timelineDomain: n.timelineDomain }, r)), !r && n.setShareURLQueries(De.getTrackingQueries(this.trackingEntity)); var a = n.targetShareURL || n.shareURL; this.trackingEntity.shareURL = a, this.trackingEntity.shareDomain = new k(a).origin, this._sendLog(this.trackingEntity.normalize(t)) }, e.prototype._onDefaultShareCompleted = function(e) { var t = e.shareType, n = e.shareResultType, r = e.useComplete; if (!this.trackingEntity) return Qe.SHARE_STATUS_ILLEGAL; var a = this.shareController.getShareEntityByShareType(t) || {}, i = this.getShareResultByType(n); r && (i = Ee); var o = a.targetShareURL || a.shareURL; if ([c.WECHAT_TIMELINE, c.WECHAT_TIMELINE_IMAGE, c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK].indexOf(t) >= 0) if (a.useShortURL) { var s = new k(a.realShareURL); this.trackingEntity.timelineDomain = s.hostname } else { var u = new k(o); this.trackingEntity.timelineDomain = u.hostname } this.trackingEntity.subOP = je.SHARE_RESULT, this.trackingEntity.shareResult = i, this._sendLog(this.trackingEntity.normalize(t)), this.trackingEntity = null }, e.prototype.getShareResultByType = function() { switch (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0) { case F: return Ee; case K: return Ae; case H: return Ie; case z: return ke; default: return Te } }, e }(), Ve = ""undefined"" != typeof window, Fe = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this.shareController = null, this.shareTracker = null, this.controllerOptions = t.controllerOptions || {}, this.disableTracker = t.disableTracker || !1, this.noDefaultShare = t.noDefaultShare || !1, this.disableShare = t.disableShare || !1 } return e.prototype.setup = function() { Ve && (this._setupController(), this._setupShareTracker()) }, e.prototype._setupController = function() { if (!this.shareController) { var e = this.controllerOptions; l.b.isWeChatMiniProgram() ? this.shareController = new Se(e) : l.b.isWeChatPlatform() ? (this.shareController = new pe(e), this.noDefaultShare || this._prepareShareController()) : l.b.isQQPlatform() ? (this.shareController = new ge(e), this.noDefaultShare || this._prepareShareController()) : l.b.isNativePlatform() && (this.shareController = new ie(e)) } }, e.prototype._prepareShareController = function() { this.shareController && !this.shareController.isInited() && this.shareController.initShare() }, e.prototype._setupShareTracker = function() { this.disableTracker || this.shareTracker || (this.shareTracker = new qe({ transparentTransmission: this.trackerTrans }), this.shareTracker.listen(this.shareController)) }, e.prototype.share = function(e) { var t = this; return !this.shareController || this.disableShare ? Promise.reject() : (this._prepareShareController(), new Promise(function(n, r) { var a = t, i = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.shareResultType; o(), K === t ? n(e) : r(e) }; function o() { a.shareController.removeListener(u.ON_SHARE_COMPLETED, i) } t.shareController.on(u.ON_SHARE_COMPLETED, i); var s = t.shareController.share(e); s && (o(), r({ shareType: e, shareErrorType: s })) })) }, e.prototype.prepareShare = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1]; if (!this.shareController) return Promise.resolve(); this._prepareShareController(); var n = e.entityConfig, r = void 0 === n ? {} : n, a = e.statisticsConfig, i = void 0 === a ? {} : a; this.shareTracker && this.shareTracker.updateTrackerTrans(i); var o = this.shareController.createShareEntity(r, t); return this.shareController.refreshShare(o, t) }, e.prototype.getShareController = function() { return this.shareController }, e.prototype.getShareTracker = function() { return this.shareTracker }, e.prototype.getShareEntity = function(e, t) { return this.shareController ? this.shareController.getShareEntityByShareType(e, t) : null }, e.prototype.setupNativeShareButton = function(e, t) { this.shareController && (this.shareController.removeAllListeners(u.ON_SHARE_BUTTON_CLICKED), ""function"" == typeof t && this.shareController.on(u.ON_SHARE_BUTTON_CLICKED, t), this.shareController.setupNativeShareButton(e)) }, e }(), Ke = { USELESS: -1, DEFAULT: 0, OUT_OF_DATE: 1, FORBIDDEN: 2, ABANDONED: 3 }, He = { title: Ke.DEFAULT, message: Ke.DEFAULT, timelineMessage: Ke.ABANDONED, thumbnailURL: Ke.DEFAULT, thumbnailURL4WeChatMsg: Ke.ABANDONED, shareURL: Ke.DEFAULT, shareDomain: Ke.DEFAULT, shareURLs: Ke.ABANDONED, waterMark: Ke.DEFAULT, imageURL: Ke.ABANDONED, imgShareInfo: Ke.ABANDONED, timelineDomain: Ke.DEFAULT, timelineAppId: Ke.DEFAULT, urlWrapType: Ke.DEFAULT, beiTaiShareDomains: Ke.ABANDONED, drawImageOptions: Ke.DEFAULT, marketActivityID: Ke.DEFAULT, addRandomPrefix: Ke.DEFAULT, miniObjectPath: Ke.DEFAULT, useWxAppShare: Ke.DEFAULT }, ze = { unionShareCallback: Ke.ABANDONED, complete: Ke.ABANDONED, imgShareCallback: Ke.ABANDONED, imgShareFailCallback: Ke.ABANDONED }, Je = { onlyWeChat: Ke.USELESS, noDefaultShare: Ke.DEFAULT, isSDKPrepare: Ke.DEFAULT, disableShare: Ke.DEFAULT, disableShareWeibo: Ke.ABANDONED, disableCopyUrl: Ke.USELESS, enableBroswerOpen: Ke.USELESS, forceShareToWeChatTimeline: Ke.ABANDONED, shareToWeChatTimelineInAppDisabled: Ke.ABANDONED, useSubDirectoryURL: Ke.ABANDONED }, Ye = { cid: Ke.DEFAULT, campaign: Ke.DEFAULT }, Ze = { template: Ke.ABANDONED, infoVisibleFlag: Ke.ABANDONED, subscribedTip: Ke.ABANDONED, subscribedDesc: Ke.ABANDONED, newUserGroupInfo: Ke.ABANDONED }, Xe = Ke, $e = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this.cacheRaw = t.cacheRaw || !1, this.deleteAfterCollect = t.deleteAfterCollect || !1 } return e.prototype.filter = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = this._filterShareEntity(e), n = this._filterShareCallbacks(e), r = this._filterStatistics(e), a = this._filterShareConfigFlag(e), i = this._filterShareOther(e); return { _rawShareInfo: this.cacheRaw ? e : null, entityConfig: t, callbackConfig: n, statisticsConfig: r, flowControllConfig: a, otherConfig: i, compatibleShareConfig: {} } }, e.prototype._filterByItems = function() { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = {}; return (Object.keys(n) || []).forEach(function(a, i) { var o = n[a]; o === Xe.FORBIDDEN ? delete t[a] : o === Xe.ABANDONED ? delete t[a] : void 0 !== t[a] && (r[a] = t[a], e.deleteAfterCollect && delete t[a]) }), r }, e.prototype._filterShareEntity = function(e) { return this._filterByItems(e, He) }, e.prototype._filterShareConfigFlag = function(e) { return this._filterByItems(e, Je) }, e.prototype._filterShareCallbacks = function(e) { return this._filterByItems(e, ze) }, e.prototype._filterStatistics = function(e) { return this._filterByItems(e, Ye) }, e.prototype._filterShareOther = function(e) { return this._filterByItems(e, Ze) }, e }(), et = ""!share_v2"", tt = ""!share_v3"", nt = n(""uf4C""), rt = (We.a.constants, {}); ""undefined"" != typeof window && (rt = We.a.get(location.host) || {}); var at = { code: null, from: null, isappinstalled: null, at: null, share_id: null, is_back: null, page_id: null, list_id: null }, it = [""refer_page_name"", ""refer_page_section"", ""refer_page_element"", ""refer_page_id"", ""refer_page_sn"", ""refer_page_el_sn"", ""refer_mid"", ""refer_adg"", ""refer_cam"", ""refer_ced""], ot = null, st = function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this._hasInited = !1, this.opts = t || {}, this.shopConfig = t.shopConfig, this.defaultShareEntityConfig = {}, this.shareManager = null, this.shareInfoFilter = null, this._sdkPrepared = !1 } return e.prototype.setup = function() { this._hasInited || (this._hasInited = !0, this._setupShareInfoFilter(), this._setupShareManager(), this._prepareDefaultShare()) }, e.prototype._setupShareInfoFilter = function() { this.shareInfoFilter || (this.shareInfoFilter = new $e(this.opts.shareInfoFilterConfig)) }, e.prototype._setupShareManager = function() { if (!this.shareManager) { var e = Object.assign({}, { noDefaultShare: !1, disableShare: !1, useNativeShareButton: !1 }, this.opts.shareManagerConfig); this.shareManager = new Fe(e), this.shareManager.setup() } }, e.prototype._prepareDefaultShare = function() { var e = this.shopConfig || rt.shop || {}, t = e.name || ""拼多多""; Object.assign(this.defaultShareEntityConfig, { title: t + ""商城"", message: ""风靡全国的拼单商城,优质商品新鲜直供,快一起来"" + t + ""吧"", thumbnailURL: e.logo, shareURL: ""/"" }), this.prepareShare(this.defaultShareEntityConfig) }, e.prototype._prepareShareByShareType = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1]; if (!this._hasInited) return Promise.reject(); var n = e.entityConfig, r = void 0 === n ? {} : n; e.flowControllConfig; return this._buildThumbnailURL(r, t), this._buildShareURL(r, t), this.shareManager.prepareShare(e, t) }, e.prototype.prepareShare = function(e, t) { if (!this._hasInited) return Promise.reject(); var n = this.shareInfoFilter.filter(e), r = this._prepareShareByShareType(n, t); return this._checkSDKPrepared(n), r }, e.prototype.prepareShareSafe = function() { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = arguments[1]; if (!this._hasInited) return Promise.reject(); var r = this.shareInfoFilter.filter(t), a = r.flowControllConfig, i = void 0 === a ? {} : a; if (!this._sdkPrepared && !i.isSDKPrepare) return this.waitSDKReady().then(function() { return e._prepareShareByShareType(r, n) }); var o = this._prepareShareByShareType(r, n); return this._checkSDKPrepared(r), o }, e.prototype.waitSDKReady = function() { if (this._sdkPrepared) return Promise.resolve(); if (this.sdkReadyPromise) return this.sdkReadyPromise; var e = this.shareManager.getShareController(); return e ? (this.sdkReadyPromise = new Promise(function(t, n) { e.once(u.ON_SDK_READY, function() { t() }) }), this.sdkReadyPromise) : Promise.resolve() }, e.prototype.share = function(e, t) { return this._hasInited ? (t && this.prepareShare(t, e), this.shareManager.share(e)) : Promise.reject() }, e.prototype._buildThumbnailURL = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1], n = e.thumbnailURL; if (void 0 !== n) { var r = e.waterMark, a = n || """"; void 0 !== r && null !== r || (r = et), a = i.a.addWaterMark(a, r), t === c.WECHAT_SESSION && r === et && (a = i.a.addWaterMark(a, tt, !0)), a = (a || """").replace(/^\/\//, ""http://""), e.thumbnailURL = a } }, e.prototype._buildShareURL = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1], n = (arguments.length > 2 && void 0 !== arguments[2] && arguments[2], e.shareURL); if (n) { if (e.urlWrapType !== I.RAW) { var r = new k(n), a = r.query || {}, i = Object.keys(a).reduce(function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : """"; return it.indexOf(t) >= 0 && (e[t] = null), e }, {}), u = nt.a.getInstance().getExtendTransferParameters(!0), p = { _wv: 41729, _wvx: 10 }; !l.b.isWeChatPlatform() || t !== c.QQ_CHAT_SESSION && t !== c.QQ_ZONE || (p.sf_tag = ""wechat""), t !== c.WECHAT_TIMELINE_IMAGE && t !== c.WECHAT_TIMELINE_IMAGE_WITH_NO_SDK || (p.from = ""qrImg""); var d = r.pathname || """"; e.addRandomPrefix && (d = d.replace(/(\w+)\.html/g, function(e) { return Math.floor(1e3 * Math.random()) + """" + e })); var h = o.a.extend(p, a, u, at, i), f = e.shareDomain || rt.shareDomain; e.shareURL = s.a.buildURL(h, s.a.fullURL(d), f) } } else delete e.shareURL }, e.prototype._checkSDKPrepared = function(e) { var t = e.flowControllConfig; if ((void 0 === t ? {} : t).isSDKPrepare && !this._sdkPrepared) { this._sdkPrepared = !0; var n = this.shareManager.getShareController(); n && n.emit(u.ON_SDK_READY) } }, e.prototype.getShareManager = function() { return this.shareManager ? this.shareManager : null }, e.prototype.setupNativeShareButton = function(e, t) { if (this.shareManager) return this.shareManager.setupNativeShareButton(e, t) }, e }(); st.getInstance = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; return ot || (ot = new st(e)), ot }; var ct = st, ut = { ALIGNMENT_CENTER: ""alignment_center"", BOLD_FONT: ""bold_font"", CORRECTION_LEVEL: ""correction_level"", DATA: ""data"", FILL: ""fill"", FONT_SIZE: ""font_size"", FONT_COLOR: ""font_color"", HEIGHT: ""height"", POS_X: ""x"", POS_Y: ""y"", SOURCE: ""source"", WIDTH: ""width"", KEY: ""key"" }; var lt = Object.keys(ut).reduce(function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments[1]; return e[ut[t]] = 1, e }, {}), pt = function() { function e() { arguments.length > 0 && void 0 !== arguments[0] && arguments[0]; var t = arguments[1], n = arguments[2], r = arguments[3], i = arguments[4], o = arguments[5]; a()(this, e), this.attributes = {}, this.setBounds(t, n, r, i), this.setData(o) } return e.prototype.setAttr = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """", t = arguments[1]; lt[e] && (this.attributes[e] = t) }, e.prototype.setLocation = function(e, t) { void 0 !== e && void 0 !== t && (this.setAttr(ut.POS_X, e), this.setAttr(ut.POS_Y, t)) }, e.prototype.setSize = function(e, t) { void 0 !== e && void 0 !== t && (this.setAttr(ut.WIDTH, e), this.setAttr(ut.HEIGHT, t)) }, e.prototype.setData = function(e) { void 0 !== e && this.setAttr(ut.DATA, e) }, e.prototype.setBounds = function(e, t, n, r) { this.setLocation(e, t), this.setSize(n, r) }, e.prototype.setKey = function(e) { this.setAttr(ut.KEY, e) }, e.prototype.getAttrs = function() { return this.attributes }, e }(); pt.SOURCE_TYPE = { RECTANGLE: ""rectangle"", IMAGE: ""image"", TEXT: ""text"", QRCODE: ""qrcode"" }, pt.ATTRIBUTES = ut, pt.ATTRIBUTES_VALUES = lt, pt.color = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : """"; return parseInt(e.slice(1), 16) }, pt.CorrectionLevel = { M: 0, L: 1, Q: 3, H: 2 }; var dt = pt, ht = dt.ATTRIBUTES, ft = dt.SOURCE_TYPE, mt = (function(e) { function t() { a()(this, t); var n = d()(this, e.apply(this, arguments)); return n.setAttr(ht.SOURCE, ft.IMAGE), n } f()(t, e) }(dt), dt.ATTRIBUTES), gt = dt.SOURCE_TYPE, vt = dt.CorrectionLevel, _t = Object.keys(vt).map(function(e) { return vt[e] }), bt = function(e) { function t() { a()(this, t); var n = d()(this, e.apply(this, arguments)); return n.setAttr(mt.SOURCE, gt.QRCODE), n } return f()(t, e), t.prototype.setCorrectionLevel = function(e) { _t.indexOf(e) < 0 || this.setAttr(mt.CORRECTION_LEVEL, e) }, t }(dt); bt.CorrectionLevel = vt; var yt = dt.ATTRIBUTES, wt = dt.SOURCE_TYPE, St = (function(e) { function t() { a()(this, t); var n = d()(this, e.apply(this, arguments)); return n.setAttr(yt.SOURCE, wt.TEXT), n } f()(t, e), t.prototype.setFontSize = function(e) { e && this.setAttr(yt.FONT_SIZE, e) }, t.prototype.setRemFontSize = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; this.setFontSize(45 * e) }, t.prototype.setColor = function(e) { var t = yt.FONT_COLOR; ""number"" == typeof e ? this.setAttr(t, e) : ""string"" == typeof e && this.setAttr(t, dt.color(e)) }, t.prototype.setAlignCenter = function() { this.setAttr(yt.ALIGNMENT_CENTER, !0) }, t.prototype.setBold = function() { this.setAttr(yt.BOLD_FONT, !0) } }(dt), dt.ATTRIBUTES), Ct = dt.SOURCE_TYPE, At = (function(e) { function t() { a()(this, t); var n = d()(this, e.apply(this, arguments)); return n.setAttr(St.SOURCE, Ct.RECTANGLE), n } f()(t, e), t.prototype.setFill = function(e) { this.setAttr(St.FILL, e) } }(dt), 2); ! function() { function e() { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; a()(this, e), this.shareImageWidth = t.shareImageWidth || 375, this.shareImageHeight = t.shareImageHeight || 500, this.maxSize = t.maxSize || 1e6, this.imageRatio = t.imageRatio || At, this.items = [] } e.prototype.w = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; return this.shareImageWidth ? e / this.shareImageWidth : 0 }, e.prototype.h = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; return this.shareImageHeight ? e / this.shareImageHeight : 0 }, e.prototype.paint = function() {}, e.prototype.add = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; e.source && this.items.push(e) }, e.prototype.addElem = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; e.getAttrs && ""function"" == typeof e.getAttrs && this.items.push(e.getAttrs()) }, e.prototype.process = function() { return this.paint(), { max_size: this.maxSize, width: this.shareImageWidth * this.imageRatio, height: this.shareImageHeight * this.imageRatio, items: this.items } } }(); n.d(t, ""a"", function() { return u }); var It = {}; It = ct; t.b = It } } ]); //# sourceMappingURL=http://vgunxpkt.com/sourcemaps/mobile-mall/js/react_pdd_d977a8c96bf9318aed61.js.map obj = __webpack_require__(""fbeZ""); function getAntiContent(e) { window.UserAgent = e; var riskControlCrawler = new obj({ serverTime: (new Date).getTime(), _2827c887a48a351a: !1 }); riskControlCrawler.init(); data = riskControlCrawler.messagePack({ touchEventData: !0, clickEventData: !0, focusblurEventData: !0, changeEventData: !0, locationInfo: !0, referrer: !0, browserSize: !0, browserInfo: !0, token: !0, fingerprint: !0 }); return (encodeURIComponent(data)); }"; #endregion } public class WhiteMapObject { public string shopName = ""; public int setWhiteCount = 0; public string message = ""; } }