That said, carrying extra weight around the middle is also tied to increased heart risks, making it arguably unhealthier to be an overweight man than a plus-size woman. Big bellies, it turns out, are a sort of a double-edged sword when it comes to weight loss: They're an extra health risk for men, but give guys the edge when it comes to dropping pounds.
Real talk: It could take weeks or months to see the metabolic effects of exercise on the scale, and even then, building muscle, which is denser than body fat, could lead to weight gain. “Do what you like because it’s good for you,” Dr. Seltzer says, noting the way exercise is awesome for your heart, mental health, and more—and that not all measure of progress can be seen on the scale.
“Nuts are a superior weight loss food in my book. They offer plenty of protein, healthy fat, and fiber that can really take the edge off hunger at any meal or snack. Nuts are also so versatile and convenient. They can be mixed into oatmeal or yogurt at breakfast, paired with fruit as a snack, or tossed into a hearty salad for a little satisfying crunch at lunch. — Michelle Loy, MPH, MS, CSSD, Registered Dietitian Nutritionist and owner of Go Wellness in Orange County, California
Even listening to music while you eat can lead to weight gain, according to a study published in the journal Appetite. Research showed that people who listened to music ate more food, and it didn’t matter the pace or volume of the music playing. It’s best to focus on the food you’re eating while you’re chowing down, which help you tune in to signals of feeling full.
Green tea’s health benefits stem from its high antioxidant content. Antioxidants are chemical compounds that can protect our cells from damage and may help protect us against cancer and heart disease. Green tea contains a variety of antioxidants including catechins, theaflavins and the flavanol quercitin. Green tea also contains caffeine, about 25 mg per 8 oz. cup, which is about one-third the caffeine in an 8 oz. cup of coffee.
Second, take a few photos of yourself to keep your motivation up. "Most of the people who come to me are doing it for a reason," he explains. "They're going on vacation, competing in a bodybuilding show, or maybe going to a reunion. I always have them strive for that goal. I take front, side, and back pictures of them at the beginning and have them post the photos on their mirror at home. I tell them, just keep looking at that picture and think of what you're going to look like in a few weeks."
No, I’m not talking about fast food … in fact, please cut out ANY fast food, which relies on terrible ingredients and excessive sodium, from your diet. But simply speaking, there are going to be times that you are in a situation where you are in a position to eat something that is usually “off-the-menu” for healthy eating. So, instead of binging on these foods, keep your goals in mind and nibble on smaller amounts.

“Research published in the Journal of Nutrition in 2006 found that the type of DHA omega-3 oil found in salmon may have an ‘anti-obesity effect’ by preventing an increase in fat cells, causing death of pre-fat cells, and promoting the breakdown of fat in the body,” says Maleeff. Not sure how to prepare it? Try any (or all) of these five tasty salmon recipes. 

While there is a link between high caffeine intake and weight loss, a cup of green tea has only about 40mg of caffeine, that's about one-third the amount that's in a cup of coffee. Similarly, it takes at least five cups of green tea to get enough EGCG to impact your metabolism. Even if you did manage to get a significant dose of caffeine and EGCG by chugging green tea all day long, you'd probably wind up with a massive case of the jitters.
Anaerobic exercise, on the other hand, primarily uses sugar as its fuel. This doesn’t mean that it’s not good for weight loss, though. Anaerobic exercise helps build muscle, and as we explained above, this will help you burn calories even when you’re resting. Anaerobic exercises are generally high intensity, for example sprinting and weight lifting. 
Listen up: Skipping meals will not make you lose weight faster. If a hectic day makes a sit-down meal impossible, stash an energy bar or a piece of fruit in your car or tote, keep snacks in your office desk drawer, and make a point of getting up to grab a nosh — anything that will keep you from going hungry! Going long periods of time without food does double-duty harm on our healthy eating efforts by both slowing down your metabolism, and priming you for another binge later in the day. (Think: You've skipped breakfast and lunch, so you're ready to takedown a whole turkey by dinner!) Make it your mission to eat three meals and two snacks every day, and don't wait longer than three to four hours without eating. Set a "snack alarm" on your phone if needed.
But fear not, you are not destined to a steady diet of carrot sticks and bird food. In fact, a wide assortment of the right “thin” foods can help you lose weight. The key things to look for: Foods with high water content, high-fiber foods, and calcium. All of these will help you feel full longer and thus eat fewer calories in the long run. Sorry, until Godiva starts filling their truffles with water instead of chocolate cream, they don’t make the list. But lots of other luscious foods do.
Both protocols of rapid WL and slow WL caused reduction in waist circumference, hip circumference, total body water, body fat mass, lean body mass, and resting metabolic rate (RMR). Further reduction in waist circumference, hip circumference, fat mass, and percentage of body fat was observed in slow WL and decreased total body water, lean body mass, fat free mass, and RMR was observed in rapid WL. Improvement in lipid and glycemic profiles was observed in both groups. Reduction of low-density lipoprotein and fasting blood sugar, improvement of insulin resistance, and sensitivity were more significant in rapid WL in comparison to slow WL.
Rounding out the top three for best weight loss programs on the U.S. News and World Report 2016 rankings, the Biggest Loser meal plan uses a pyramid system with fruits and veggies setting the foundation. Simple tenets back the plan: for example, being mindful of portion control, keeping a food diary, and exercising regularly. So, yes, work will be involved, but the plan is sustainable in the long-term and a likely way to shed pounds.
“Anytime you’re stressed, you probably go for food,” Dr. Seltzer says. (Have we met?!) That’s because cortisol, the stress hormone, stokes your appetite for sugary, fatty foods. No wonder it’s associated with higher body weight, according to a 2007 Obesity study that quantified chronic stress exposure by looking at cortisol concentrations in more than 2,000 adults’ hair.
Losing weight through exercising and eating a healthy diet may be effective. A balanced and low-calorie diet up your chances of getting a slimmer waist considerably. These foods either help boost metabolism or help ease the process of digestion; both of which are key to healthy weight loss. But to make your weight loss journey more effective, it is important to include natural stimulators that can speed up weight loss. One of the most efficient weight loss stimulators is green tea.
How much fiber should I eat per day? Most Americans eat less fiber than the USDA daily recommendations suggest. This article looks at the guidelines for fiber intake in men, women, and children. We also talk about how fiber can help with weight loss, and discuss how much fiber is too much. Learn about good sources of dietary fiber and a handy meal plan. Read now
Drinking enough water can help you stay slim, too. Research from the American Chemical Society in Boston found that having two 8-ounce glasses of water before a meal while also reducing portion sizes could help you lose weight and keep it off. Not to mention, water fills you up, curbing your appetite: "In addition to slightly boosting your metabolism, drinking water before meals has been shown to help you eat less without trying," says Sass.
OnlinePlus provides tracking as well as community through WW Mobile’s clean and sophisticated Connect news feed, and it costs you just under $36 a month. If you like the idea of getting together IRL, Meetings+OnlinePlus costs about $77 a month. Our tester found the meetings genuinely nice, if a little cheesy. And if you need extra help, there’s a Personal Coaching option for about $107 a month. At every level of membership, you have access to a live coach via Expert Chat.
Weight Watchers, which not only champions a sustainable diet but has sustained itself for over fifty years, is a favorite amongst nutritionists. Its practical, flexible philosophy of saving and splurging SmartPoints boils down to balancing out food choices. You can get tips, tools, and motivation by attending the traditional weekly meetings, or get the same resources through its user-friendly app. Either way, research proves that Weight Watchers’ social element supports weight loss. At about $4 a week, OnlinePlus costs about half as much as Meetings+OnlinePlus, which runs around $8 (your fees vary depending on the length of your commitment).
C is for calories. They do count. Get into the habit of reading food labels to help you make healthy choices. And keep in mind that all the information listed there is based on the portion size the label specifies (which may not be the size of the portion you usually eat). Monitoring your portions and learning more about the calories in the foods you enjoy will help you meet your goals.
Noom: To help you figure out how to prioritize or limit food items, Noom offers color coding. Green means go for it — “green” foods include veggies and grains, and these should make up a solid 30% of your diet. “Yellow” foods include lean meats and starches, and these can account for a touch more — 45%. “Red” foods (red meats and sweets) should appear less than both green and yellow, around 25%. When you log meals, the app lets you know how well you’re aligning with these proportions.
Studies on green tea’s impact on cancer have been mixed. But green tea is known to aid healthy cells in all stages of growth. There are some clues that green tea may help destroy cancer cells, but that research is still in its early stages, so you shouldn’t count on green tea to prevent cancer. In fact, the National Cancer Institute's web site says it "does not recommend for or against the use of tea to reduce the risk of any type of cancer."
A new player in the weight loss program space, Noom packs a lot of behavioral psychology into one sophisticated app. It aims to help you identify and break bad habits, and have some fun doing it. The powerful app echoes Weight Watchers’ successful community approach, but outleagues that program in terms of learning resources. While it’s the more expensive of our two favorite programs, it’s the richer when it comes to virtual experience — with personalized lessons, tasks, and support that made us look forward to opening up the app.
How would you like to take all the great weight-loss results you’ve just read about—and double them? That’s what happens when you supplement your diet with a combination of vitamin D and calcium, according to a Nutrition Journal study. Just four weeks into the 12-week experiment, subjects who had taken these two nutrients—found in abundance in some yogurts—lost two times more fat than the other group! To get similar results at home, start your day with one of these Best Brand-Name Yogurts for Weight Loss.
Green or white teas make great bases for smoothies. In a study presented at the North American Association of the Study of Obesity, researchers found that regularly drinking smoothies in place of meals increased a person’s chances of losing weight and keeping it off longer than a year. Add your favorite tea to one of these 56 Smoothie Recipes for Weight Loss!

Most importantly, these findings defy the myth that gradual weight loss is more effective in the long run compared to fast-track weight loss programs. Not only did more individuals achieve their weight loss goals on the rapid vs. gradual diets, researchers found that adults were less likely to drop out when seeing weight loss results faster. Rather than promoting only slow and steady weight loss to patients, authors encourage clinicians to determine which type of weight loss is most appropriate for different patients. Rapid weight loss over three months may work for some individuals, but not for others. The key is finding the right kind of diet for each individual and providing the support needed to achieve long-term weight loss goals.


Yes, nuts are high in calories, but they are also a great source of protein, fiber, and the “good” (monounsaturated) fat -- all of which can help in weight loss. A small handful (10-to-12 nuts) of walnuts or almonds can actually help you “lower your risk of heart disease, cancer, and diabetes,” says Somer. Try some in your salad, with a piece of fruit, or sprinkled in your cereal – oatmeal, of course.
Ghrelin is often referred to as the ‘hunger hormone’. If ghrelin is high, then you are hungrier. Anecdotal studies and personal experience have hinted at the appetite suppressing effect of green tea but this provides some rational basis for explaining how high dose catechin suppresses hunger. Adiponectin was also increased significantly, which is good although the exact significance is unknown. It has known anti-atherogenic and anti-diabetic properties, but this effect is not consistently seen in the literature.
Diets don't work. There are hundreds of diets that will help you lose weight, but what good is losing weight if you gain it right back? Eating crazy food combinations or eliminating food groups is not the way to keep weight off. Instead, choose a nutritionally balanced plan with enough calories to keep you from feeling famished (like the WebMD Weight Loss Clinic eating plans).
The other part of this plan is resistance exercise. This is important because it’s the part that focuses on building muscle. During weight loss, not all the weight lost is fat, some of it is muscle. Resistance training will ensure that you avoid the loss of muscle that usually occurs and will actually help you build muscle. You’ll be doing 3 resistance workouts per week:
Although they're best known for containing potassium, bananas are also a great source of resistant starch, a type of starch that's important for weight loss. Your body digests resistant starch slowly—helping you feel full for longer—while simultaneously encouraging your liver to switch to fat-burning mode. And no need to wait for them to become completely ripe; bananas actually contain more of this calorie-torching ingredient when they're still a little green.
When I decided to lose weight my friend advised me to start treatment with Tibetan herbs ( not Tibetan tea ) and since then I became a fan of traditional natural medicine. Highly recommended for anyone who never tried natural weight loss boosters before. You can find lots of info about Tibetan medicine and these herbs, just Google Tibetan herbs for weight loss.
But fear not, you are not destined to a steady diet of carrot sticks and bird food. In fact, a wide assortment of the right “thin” foods can help you lose weight. The key things to look for: Foods with high water content, high-fiber foods, and calcium. All of these will help you feel full longer and thus eat fewer calories in the long run. Sorry, until Godiva starts filling their truffles with water instead of chocolate cream, they don’t make the list. But lots of other luscious foods do.

Grains get a bad rap when it comes to weight loss, but that's because refined grains (read: processed foods!) are linked to wider waists. 100% whole grains are bloat-busting superstars, however, as they're packed with minerals and de-puff by counter-balancing salt. Stick to brown rice, quinoa, wheat, barley, millet, farro, sorghum, and amaranth for the biggest benefits.


Research considers have appeared, as per Consumer Reports, that green tea raises metabolic rates. These rates are what individuals allude to when they say somebody can eat a great deal of nourishment without putting on weight, since they have "an elevated ability to burn calories." The rate alludes to what number of calories are scorched by your body as opposed to put away as fat cells. Green tea is said to raise these rates through a mix of caffeine and catechins, which are cell reinforcements that are likewise found in follow amounts in red wine and dim chocolate.
THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for general informational purposes only and does not address individual circumstances. It is not a substitute for professional medical advice, diagnosis or treatment and should not be relied on to make decisions about your health. Never ignore professional medical advice in seeking treatment because of something you have read on the WebMD Site. If you think you may have a medical emergency, immediately call your doctor or dial 911.
If you’re eating a diet rich in fresh fruits and vegetables, odds are you are getting the necessary vitamins and minerals you need to help boost weight-loss and lose weight fast. But it’s also a good idea to take vitamins that can supplement your diet; B vitamins (especially B2 and B12) can boost energy, vitamin D can regulate appetite and aid in weight loss, and magnesium can trigger lipolysis, a process where your body releases fat from where it’s stored. 

The difference in body composition (muscle loss and dehydration), metabolic effects, and the return of weight has been reported (9, 10). In a meta-analysis study, weight return had been reported in most participants (77%), who followed WL diets (11). In a classification of diets based on calorie restrictions and speed of WL, diets are divided to rapid WL, moderate WL, and slow WL.
If the diet is a quick fix rather than one that promotes lasting lifestyle changes, this could pose a problem. In particular, extreme diets that promise big weight loss up front aren’t always sustainable — and you may end up overeating or even binge eating if you feel deprived. “Consider if the diet’s habits are ones you can continue throughout your lifetime, not just 21 or 30 days,” says Angie Asche, RD, a sports dietitian in Lincoln, Nebraska.
However, this approach must be discussed and accompanied by a professional medical team and there are currently a series of medically supervised weight loss programs. Behavioral alterations combining a healthy diet and exercise are crucial for accomplishing weight loss, but there are also other methods, including pre-packaged meal replacement plans, pharmacotherapy and surgical weight loss.
No significant changes were observed in systolic and diastolic blood pressure in any of these 2 diets, although a non-significant reduction in average blood pressure at the end of the study was observed in both groups. It seems that the effects of weight-loss diets on the decrease of blood pressure was more concrete in people with hypertension (27). Consistent with the current study, several studies did not support the impact of WL on blood pressure in people, who had normal blood pressure (16, 28).
Morbid obesity is associated with a series of diseases, or comorbidities, including coronary heart disease (CHD), high blood pressure, stroke, type 2 diabetes, abnormal blood fats, metabolic syndrome, cancer, osteoarthritis, sleep apnea, obesity hypoventilation syndrome (OHS), reproductive problems, and gallstones. In order to reduce the risk of developing or aggravating one of these conditions and improving the patients’ quality of life, rapid weight loss may be medically advised.
Speaking of standout breakfast foods, Greek yogurt is another option worthy of the spotlight thanks to its high-protein content. Per study in the journal Appetite, researchers from the University of Missouri compared the satiety effects of high-, moderate-, and low-protein yogurts on women aged 24-28, and found Greek yogurt, with the highest protein content, to have the greatest effect. What’s more? Probiotics in items such as yogurt and fermented foods, like pickles and sauerkraut, help good bacteria in the gut process food more efficiently. Hello, weight loss! If you want to get even more protein in your yogurt, check out Icelandic yogurts, which can have two to three more grams of protein per serving compared to Greek.
Men tend to have more lean muscle tissue, which burns more calories than body fat, even during rest. And when men and women cut the same number of calories, men usually do lose more weight -- but it’s short-term. “Over the long-term, the playing field is more equal,” says dietician David Grotto, RDN, self-proclaimed “guyatician” and author of The Best Things You Can Eat. “It’s not a race to see who can lose weight the fastest. The important thing is that you’re both going in the same direction.”
Compared to other nut varieties, pine nuts tend to be on the pricier side, but adding them to your shopping cart could be a good investment for your health. Research suggests that the fatty acids in these little nuts could increase satiety hormones, helping you feel full. They're also packed with vitamin B1 and manganese, a mineral that helps your body metabolize carbohydrates and protein.

Samantha reportedly first tried a few quick-fix diet pills to help her lose weight that summer, but after getting unsatisfactory results, she decided to overhaul her diet and drastically cut out all the cookies and fast food she had been eating last August. But Samantha says she still wasn't shedding a lot of weight until she replaced her five cups of sugary tea for unsweetened green tea.
Finally, some chapters I have no problems with! Chapter 6 has some good advice on how to create and use a food diary, and not just to record what you're eating, but to find out what your bad habits are so you can start to recognize them and fix them. I'll be honest, I'm not even aware of the bad habits I have related to how I eat (not just what I eat) and this method is actually good advice on how to achieve it without shaming anyone or making assumptions and generalizations! Chapter 7 is all about stopping food cravings with some great advice. Chapter 8 provides some great advice of creating a physical activity habit (throwing the entire without working out part out the window, but hey, what's a little misleading advertising to get you to open the book. I mean, we already discovered that the whole title was a scam when the author promised to help you lose weight fast yet tells you not to lose weight fast). Chapter 9 provides some decent information about nutrition, though I think this is a far bigger topic than what could be covered in a short chapter of a book.
I think the fact that I made gradual changes was part of my success. I didn't dive in head-first and get overwhelmed with my new habits. And now that I've hit my goal weight and I'm super active, I do eat out with friends occasionally. It's not realistic to cut going to dinner with friends and family out of my life altogether. Today, I'm so proud to say that I've successfully maintained my weight for five years!
The other part of this plan is resistance exercise. This is important because it’s the part that focuses on building muscle. During weight loss, not all the weight lost is fat, some of it is muscle. Resistance training will ensure that you avoid the loss of muscle that usually occurs and will actually help you build muscle. You’ll be doing 3 resistance workouts per week:
When you need a little something sweet after lunch, grab an apple. These crisp fruits contain nondigestible fiber and plant compounds called polyphenols that help buoy good bacteria in the gut, possibly protecting against obesity, animal research in Food Chemistry discovered. If you're choosing between apple varieties, you may want to grab a Granny Smith, which was found to have more of these obesity-fighting qualities. Besides, eating a daily apple or pear was linked to a 1.25-pound weight loss over a four-year period, according to the PLOS Medicine study previously mentioned. Adding to the evidence: previous research indicated that eating an apple three times a day over a 12-week period prompted a 2.7-pound weight loss. Thinly sliced apples also make great salad toppings and add a naturally sweet crunch to wraps and sandwiches.
In 2004, the FDA banned a popular diet-pill ingredient known as ephedra after it was found to increase the risk of strokes and heart attacks. However, some ephedra-containing products may still make their way illegally into the market. Many other diet pill ingredients are as yet untested. For that reason, the best way to avoid the possible dangers of diet pills is simply to steer clear.
Blood samples (5 mL) were collected at the beginning and at end of the study during the 12-hour fasting condition. The samples were centrifuged at a low level and serum was separated. Biochemical measurements were performed immediately after sampling. Fasting blood sugar (FBS), high-density lipoprotein (HDL), very low-density lipoprotein (VLDL), triglycerides (TG), and TC were measured by an auto-analyzer (Hitachi, USA). The Friedewald formula was used to calculate LDL levels. Fasting serum insulin concentration was measured by enzyme linked immunosorbent assay (ELISA) kits (Mercodia). The homeostatic model assessment (HOMA) was calculated with the formula: HOMA-IR = [FBS (mg/dL)*FINS (μU/mL)] / 405. (23). Quantitative insulin sensitivity check index (QUICKI) was calculated on the basis of suggested formulas: 1 / [log (Insulin μU/mL) + log (Glucose mg/dL)]. (24). The HOMA-B (pancreatic beta cell function) was computed as follow: 20 × FINS (μIU/mL)/fasting glucose (mmol/mL)-3.5. Insulin sensitivity was derived using the formula: HOMA-S (insulin sensitivity) = 22.5/(insulin (mU/L) × glucose (mmol/L)). All biochemical assays were performed in duplicates and the mean was calculated for each subject.
Set (and write down) reasonable expectations for what you plan to achieve during your challenge. “You can absolutely make a difference in 10 days,” says Brooke Alpert, RD, a dietitian in New York City and the author of The Diet Detox, but don’t expect to shed 20 pounds a la The Biggest Loser. “While actual weight loss will be around three to four pounds, you can really notice the difference in the way your body feels in about a week.”
The video promises a surprise at the end. I can buy the program for only $47….No, now I can get the $27 he charges his good friends and his family. It got as low as $7 but they will charge me $40 after a week. I decided to go back to reading the book. After learning all this neat stuff about fast weight loss is better the book is now telling me that the video they wanted me to watch is all wrong. Further reading is telling me that I must exercise and diet. I wish it would make up its mind.
The point at which unexplained weight loss becomes a medical concern is not exact. But many doctors agree that a medical evaluation is called for if you lose more than 5 percent of your weight in six months to a year, especially if you're an older adult. For example, a 5 percent weight loss in someone who is 160 pounds (72 kilograms) is 8 pounds (3.6 kilograms). In someone who is 200 pounds (90 kilograms), it's 10 pounds (4.5 kilograms).
Keep your muscles guessing by cross training and trying different workouts or tweaking your usual routine. You’ll work new muscles and beat boredom while trying something new. Also, studies show that you’re more likely to stick with your daily exercise routine if you switch up your workouts. Are you a CrossFit junkie? Stretch out at a yoga class. Is running more your style? Try adding some speed intervals throughout your usual route.

Second, take a few photos of yourself to keep your motivation up. "Most of the people who come to me are doing it for a reason," he explains. "They're going on vacation, competing in a bodybuilding show, or maybe going to a reunion. I always have them strive for that goal. I take front, side, and back pictures of them at the beginning and have them post the photos on their mirror at home. I tell them, just keep looking at that picture and think of what you're going to look like in a few weeks."
HCG, or Human Chorionic Gonadotropin, is a hormone produced during pregnancy by the placenta after implantation, and doctors sometimes prescribe it for fertility issues. But this hormone has also gained popularity as a weight-loss supplement — and using it as such can be dangerous. In fact, the Food and Drug Administration (FDA) warns against purchasing over-the-counter hCG, as these supplement products are illegal. (34)
Consistent with the current study, recent findings indicate that slow weight loss, as recommended by current guidelines, worldwide, is not a priority over rapid weight loss. Purcell et al. in a clinical trial studied the effect of weight loss rate and weight management. Their results showed that in the long-term, with rapid weight loss (450 to 800 Kcal/day) than gradual weight loss (500 kcal less than the daily requirement), the weight loss is faster and more stable. The researchers suggested that the limited carbohydrate intake of very-low-calorie diets might promote greater satiety and less food intake by inducing ketosis. Losing weight quickly may also motivate participants to persist with their diet and achieve better results (29).
Beans can help boost feelings of fullness and manage blood sugar levels, making them an excellent ally in your weight loss battle. In fact, a recent study published in The American Journal of Clinical Nutrition found eating one serving a day of beans, peas, chickpeas or lentils could contribute to modest weight loss. And if you need another reason to bulk up on beans, remember that the fiber and protein-rich legumes are other excellent sources of genistein—the same compound found in peanuts and lentils that aids weight loss.
Did you know turnips could help you shed belly fat? Their high vitamin C and phytochemical levels help detoxify your body—and too many toxins in the body can lead to fat accumulation around your waist, says Maleeff. At only 34 calories and 8 grams of carbohydrates per cup (vs. a potato’s 113 calories and 26 grams of carbohydrates), try making mashed turnips instead of mashed potatoes for a nutrient-dense, low-calorie alternative, suggests Maleeff.
!function(n,t){function r(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function i(e){return void 0===e}if(n){var o={},s=n.TraceKit,a=[].slice,l="?";o.noConflict=function(){return n.TraceKit=s,o},o.wrap=function(e){function n(){try{return e.apply(this,arguments)}catch(e){throw o.report(e),e}}return n},o.report=function(){function e(e){l(),h.push(e)}function t(e){for(var n=h.length-1;n>=0;--n)h[n]===e&&h.splice(n,1)}function i(e,n){var t=null;if(!n||o.collectWindowErrors){for(var i in h)if(r(h,i))try{h[i].apply(null,[e].concat(a.call(arguments,2)))}catch(e){t=e}if(t)throw t}}function s(e,n,t,r,s){var a=null;if(w)o.computeStackTrace.augmentStackTraceWithInitialElement(w,n,t,e),u();else if(s)a=o.computeStackTrace(s),i(a,!0);else{var l={url:n,line:t,column:r};l.func=o.computeStackTrace.guessFunctionName(l.url,l.line),l.context=o.computeStackTrace.gatherContext(l.url,l.line),a={mode:"onerror",message:e,stack:[l]},i(a,!0)}return!!f&&f.apply(this,arguments)}function l(){!0!==d&&(f=n.onerror,n.onerror=s,d=!0)}function u(){var e=w,n=p;p=null,w=null,m=null,i.apply(null,[e,!1].concat(n))}function c(e){if(w){if(m===e)return;u()}var t=o.computeStackTrace(e);throw w=t,m=e,p=a.call(arguments,1),n.setTimeout(function(){m===e&&u()},t.incomplete?2e3:0),e}var f,d,h=[],p=null,m=null,w=null;return c.subscribe=e,c.unsubscribe=t,c}(),o.computeStackTrace=function(){function e(e){if(!o.remoteFetching)return"";try{var t=function(){try{return new n.XMLHttpRequest}catch(e){return new n.ActiveXObject("Microsoft.XMLHTTP")}},r=t();return r.open("GET",e,!1),r.send(""),r.responseText}catch(e){return""}}function t(t){if("string"!=typeof t)return[];if(!r(j,t)){var i="",o="";try{o=n.document.domain}catch(e){}var s=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);s&&s[2]===o&&(i=e(t)),j[t]=i?i.split("\n"):[]}return j[t]}function s(e,n){var r,o=/function ([^(]*)\(([^)]*)\)/,s=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,a="",u=10,c=t(e);if(!c.length)return l;for(var f=0;f0?s:null}function u(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function c(e){return u(e).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function f(e,n){for(var r,i,o=0,s=n.length;or&&(i=s.exec(o[r]))?i.index:null}function h(e){if(!i(n&&n.document)){for(var t,r,o,s,a=[n.location.href],l=n.document.getElementsByTagName("script"),d=""+e,h=/^function(?:\s+([\w$]+))?\s*\(([\w\s,]*)\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,p=/^function on([\w$]+)\s*\(event\)\s*\{\s*(\S[\s\S]*\S)\s*\}\s*$/,m=0;m]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=n.split("\n"),l=[],u=0;u=0&&(g.line=v+x.substring(0,j).split("\n").length)}}}else if(o=d.exec(i[y])){var _=n.location.href.replace(/#.*$/,""),T=new RegExp(c(i[y+1])),E=f(T,[_]);g={url:_,func:"",args:[],line:E?E.line:o[1],column:null}}if(g){g.func||(g.func=s(g.url,g.line));var k=a(g.url,g.line),A=k?k[Math.floor(k.length/2)]:null;k&&A.replace(/^\s*/,"")===i[y+1].replace(/^\s*/,"")?g.context=k:g.context=[i[y+1]],h.push(g)}}return h.length?{mode:"multiline",name:e.name,message:i[0],stack:h}:null}function y(e,n,t,r){var i={url:n,line:t};if(i.url&&i.line){e.incomplete=!1,i.func||(i.func=s(i.url,i.line)),i.context||(i.context=a(i.url,i.line));var o=/ '([^']+)' /.exec(r);if(o&&(i.column=d(o[1],i.url,i.line)),e.stack.length>0&&e.stack[0].url===i.url){if(e.stack[0].line===i.line)return!1;if(!e.stack[0].line&&e.stack[0].func===i.func)return e.stack[0].line=i.line,e.stack[0].context=i.context,!1}return e.stack.unshift(i),e.partial=!0,!0}return e.incomplete=!0,!1}function g(e,n){for(var t,r,i,a=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,u=[],c={},f=!1,p=g.caller;p&&!f;p=p.caller)if(p!==v&&p!==o.report){if(r={url:null,func:l,args:[],line:null,column:null},p.name?r.func=p.name:(t=a.exec(p.toString()))&&(r.func=t[1]),"undefined"==typeof r.func)try{r.func=t.input.substring(0,t.input.indexOf("{"))}catch(e){}if(i=h(p)){r.url=i.url,r.line=i.line,r.func===l&&(r.func=s(r.url,r.line));var m=/ '([^']+)' /.exec(e.message||e.description);m&&(r.column=d(m[1],i.url,i.line))}c[""+p]?f=!0:c[""+p]=!0,u.push(r)}n&&u.splice(0,n);var w={mode:"callers",name:e.name,message:e.message,stack:u};return y(w,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),w}function v(e,n){var t=null;n=null==n?0:+n;try{if(t=m(e))return t}catch(e){if(x)throw e}try{if(t=p(e))return t}catch(e){if(x)throw e}try{if(t=w(e))return t}catch(e){if(x)throw e}try{if(t=g(e,n+1))return t}catch(e){if(x)throw e}return{mode:"failed"}}function b(e){e=1+(null==e?0:+e);try{throw new Error}catch(n){return v(n,e+1)}}var x=!1,j={};return v.augmentStackTraceWithInitialElement=y,v.guessFunctionName=s,v.gatherContext=a,v.ofCaller=b,v.getSource=t,v}(),o.extendToAsynchronousCallbacks=function(){var e=function(e){var t=n[e];n[e]=function(){var e=a.call(arguments),n=e[0];return"function"==typeof n&&(e[0]=o.wrap(n)),t.apply?t.apply(this,e):t(e[0],e[1])}};e("setTimeout"),e("setInterval")},o.remoteFetching||(o.remoteFetching=!0),o.collectWindowErrors||(o.collectWindowErrors=!0),(!o.linesOfContext||o.linesOfContext<1)&&(o.linesOfContext=11),void 0!==e&&e.exports&&n.module!==e?e.exports=o:"function"==typeof define&&define.amd?define("TraceKit",[],o):n.TraceKit=o}}("undefined"!=typeof window?window:global)},"./webpack-loaders/expose-loader/index.js?require!./shared/require-global.js":function(e,n,t){(function(n){e.exports=n.require=t("./shared/require-global.js")}).call(n,t("../../../lib/node_modules/webpack/buildin/global.js"))}});
×