“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. 

There was also weight loss supplements that wouldn’t kill you, but didn’t really work either. Green coffee, raspberry ketones and grapefruit extract all come to mind. They sound great, but they all turned out to be pure hype. One substance, though seems to have stood the test of time — green tea, with traditional Asian medicine touting the weight loss effects for thousands of years.
“A study by David Jenkins, MD, PhD—the University of Toronto pioneer in low-glycemic eating — demonstrates that eating small portions at frequent intervals is good for your health in a number of remarkable ways. Within the study, they found that people who ate every three hours reduced their blood cholesterol by over 15% and their blood insulin by almost 28%. That’s key, because in addition to regulating your blood sugar level, insulin plays a pivotal role in fat metabolism, inflammation and the progression to metabolic syndrome. When your body produces less insulin, you’re much less likely to convert dietary calories into body fat. 

When it comes to cravings, protein drinks and bars may also help cure your need for sugar, says Juge. He recommends mixing a flavored protein powder in a blender with as much ice as possible, so it'll taste more like a milkshake. Day Five's protein shake includes a cup of berries, which will also help with sugar cravings. Once or twice per week, Juge adds, you can have a low-sugar, high-protein bar. The newest varieties taste more like candy bars, with state-of-the-art sweetening techniques.
Whatever you choose for lunch—a salad, sandwich, grain bowl—top it with some avocado (or guac!). The creamy green 'cado offers some serious health perks. In a review published in 2017 in Phytotherapy Research, researchers looked at the effect avocado-eating can have on reducing metabolic syndrome, a group of risk factors that raises your risk of heart disease, diabetes and stroke. They concluded that eating avocado daily can play a role in reducing blood pressure, lessening diabetes risk, keeping arteries clear and, yes, helping with weight loss. Avocados contain antioxidants like carotenoids, vitamins and fatty acids, as well as other plant compounds that may affect the hunger hormone leptin to help keep you satiated and help curb your appetite to sidestep over-snacking.
Notes: Chop the sweet potatoes and halve the Brussels sprouts, and place on a sheet pan. Drizzle with 2 teaspoons olive oil, season with salt and pepper, and toss to coat. Roast at 450°F (230°C) until tender, about 15 minutes. Season the steak with salt and pepper. In a frying pan over medium-high heat, warm 1 teaspoon olive oil. Cook the steak until done to your liking, about 3 minutes per side for medium-rare. (Consuming raw or undercooked meats may increase your risk of foodborne illness.)
If you’re not drinking green tea with your workouts, you might be wasting your time at that barre class. A study published in The Journal of Nutrition found that after just two weeks, exercisers who sipped four to five cups of green tea each day and logged 25-minutes at the gym lost more belly fat than their non-tea-drinking counterparts. What makes the drink so powerful? It contains catechins, an antioxidant that hinders the storage of belly fat and aids rapid weight loss. And that’s not the only weight loss elixir out there: Discover more details and drop two sizes with these 4 Teas That Melt Fat Fast.
Health.com is part of the Meredith Health Group. All rights reserved. The material in this site is intended to be of general informational use and is not intended to constitute medical advice, probable diagnosis, or recommended treatments. All products and services featured are selected by our editors. Health.com may receive compensation for some links to products and services on this website. Offers may be subject to change without notice. See the Terms of Service and Privacy Policy (Your California Rights)for more information. Ad Choices | EU Data Subject Requests
Instead of constantly refilling the same throw-away bottle over and over, grab a BPA-free bottle, preferably one made of glass or aluminum. Not only is this better for your waistline, but carrying a bottle around with you will prompt you to drink more H2O throughout the day. Drinking more water means you’ll be less hungry, and you’ll give your metabolism a boost. For more hydrating health benefits to help you lose weight fast, check out What Happens to Your Body When You Drink Water.

“There are many foods that aid weight loss, but one that I often recommend to my clients and eat myself is grapefruit. Researchers at Scripps Clinic in San Diego found that when obese people ate half a grapefruit before each meal, they dropped an average of 3.5 pounds over 12 weeks. Apparently, the tangy fruit can lower insulin, a fat-storage hormone, and that can lead to weight loss. Plus, since it’s at least 90% water, it can fill you up so you eat less. However, if you are on certain medications you should not have grapefruit or grapefruit juice, so check the label on all your prescriptions, or ask your pharmacist or doctor. — Patricia Bannan, MS, RDN, author of  Eat Right When Time is Tight.


Rich in vitamin C and phytochemicals with antioxidant and anti-inflammatory properties, grapes may also protect against Type 2 diabetes, says Kara Ellis, a registered dietitian in New York City. “Grapes also have a high water content, making them a refreshing summer snack that helps you feel full and satisfied (1 cup of fresh grapes contain only 100 calories).”
Both Weight Watchers and Noom provide lots of guidance. If you’re more of a self-starter — someone who just needs to be pointed in the right direction — The Mayo Clinic Diet provides pure resources. Picking up the entertaining, densely informative book is the only associated cost. You can also get the app for about half the cost of WW Mobile, but we didn’t find it as useful.
“The American Heart Association recommends that men eat less than 36 grams of added sugar and that women consume less than 24 grams. However, for optimal weight loss, I tell my male clients to consume less than 20 grams of sugar per day and I tell the women to consume less than 15 grams.The easiest way to cut back on the sweet stuff is by consuming less sugary drinks and dressings. Cut the sugar, lose the fat, regain your health and life.” — Dr. Sean M. Wells, DPT, PT, OCS, ATC/L, CSCS
Spirulina is a high-protein seaweed supplement that’s typically dried and sold in powdered form. The dried stuff is about 60 percent protein, and, like quinoa, it’s a complete protein, meaning it can be converted directly into muscle in the body and is thus a great weight loss tool. A tablespoon of the blue-green algae delivers 8 grams of metabolism-boosting protein for just 43 calories, plus half a day’s allotment of vitamin B12, which in and of itself can give you more energy and boost your metabolism. Try tossing some spirulina into a smoothie and watching the pounds melt off. For more skinny smoothie ideas, check out this list of 56 Smoothies for Weight Loss!
“I always start [my day] with ginger tea, which is black tea with milk, honey, ginger, and cardamom. Then I’ll have a green juice with kale, beets, mint, apple, carrots, and ginger or a three-egg-white, one-yolk scramble. If I’m hungry, I’ll add half a cup of 1 percent cottage cheese to the eggs.” — Padma Lakshmi, who drops 10 to 15 pounds after every season of Top Chef
Made of mostly vegetables and spices, gazpacho is full of water, fiber, and antioxidants, making it a low-calorie, filling option that can replace more caloric and fattening foods in your diet, says Maleeff. Plus, a recent Penn State study found that eating a low-calorie soup (like Gazpacho) before a meal could help you consume 20 percent fewer calories at mealtimes.
HIIT stands for high intensity interval training, and it’s a great way to build muscle without spending hours in the gym. The idea is to go all out for a short period of time, followed by a slower pace that allows you to recover. Think of jogging or sprinting all out for 30 seconds, followed by a minute or two of rest, then repeat. Short bursts of high-intensity exercises keep your heart rate up while adding lean muscle. More muscle mass equals calories burned on a daily basis. Also, the more lean muscle you have, the higher your metabolism is. 

“Before you begin to change your diet, spend a week recording everything you eat—and I mean everything. Before I made any changes to my diet, I journaled everything I ate each day for a week, including little things like gum or breath mints. If you have a piece of candy from your coworker’s desk, snag a few spoonfuls of your boyfriend’s ice cream, or finish the few bits of grilled cheese your kid left on her plate, write it down! It all adds up, and you just don’t realize how much you’re eating until you actually see it all on paper in front of you. I, for one, was stunned.” — Maria Menounos, author of  The Everygirl’s Guide to Diet and Fitness, on how she lost 40 pounds
You already know that a perfect diet doesn't exist, but many of us still can't resist the urge to kick ourselves when we indulge, eat too much, or get thrown off course from restrictive diets. The problem: This only makes it more difficult, stressful, and downright impossible to lose weight. So rather than beating yourself up for eating foods you think you shouldn't, let it go. Treating yourself to about 200 calories worth of deliciousness each day — something that feels indulgent to you — can help you stay on track for the long-haul, so allow yourself to eat, breathe, and indulge. Food should be joyful, not agonizing!
What's more trustworthy than a diet built by experts from the Mayo Clinic? Created by doctors, nutritionists, and all-star chefs, the plan has a few phases: In the first, you should lose 6 to 10 pounds in two weeks. After that, you can expect to lose 1 to 2 pounds a week until you reach your goal weight. You're also given plenty of resources and advice to help you keep the weight off.
The results suggest that WL could improve anthropometric status and lipid and glycemic profiles regardless of calorie restriction and the speed of WL. However, there could be some differences between the 2 protocol types of WL in terms of impact. The WL regardless of its severity could improve anthropometric indicators, although body composition is more favorable following a slow WL. Both diets improved lipid and glycemic profiles. In this context, rapid WL was more effective.
A significant reduction in body fat (fat mass (FM), Body fat percentage, Arm fat percentage, feet FM, feet fat percentage) was observed in the slow WL group compared to the rapid WL group. In addition, a significant reduction in lean mass (lean body mass (LBM), fat free mass (FFM), Trunk lean) and total body water and RMR was seen in the rapid WL group compared to the slow WL group.
Wouldn’t it be great if life came with a magic remote control that made the bad parts speed up and the good parts slow down? You could hit FF at the beginning of every workday, and RWD at the end of awesome date. All the vacations, holidays and parties could move at the pace of a Kenny G song, and all the endless conference calls could spin by faster than Nicki Minaj’s hairstyles.
Once again, a popular weight loss myth has been exploded. It has been widely believed that weight loss, which is nearly always difficult to maintain, is even less likely to stay lost if it is the product of a rapid weight loss. The belief is even enshrined in current guidelines. Now a study published in The Lancet Diabetes & Endocrinology provides no support for this belief. Instead, the study suggests that although long-term weight loss remains elusive regardless of the diet, short-term weight loss is actually more likely with rapid weight loss.
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. 

We use cookies and similar technologies to improve your browsing experience, personalize content and offers, show targeted ads, analyze traffic, and better understand you. We may share your information with third-party partners for marketing purposes. To learn more and make choices about data use, visit our Advertising Policy and Privacy Policy. By clicking “Accept and Continue” below, (1) you consent to these activities unless and until you withdraw your consent using our rights request form, and (2) you consent to allow your data to be transferred, processed, and stored in the United States.
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."

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. 

Why this easy fitness plan works: It's common for people who exercise regularly to do the same routine week after week. If you do the same exercises at the same intensity all the time you'll get the same results. Your body hits a plateau. This plan increases your activity level without added stress or strain to your joints. So you burn more calories without taxing your body.
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.
I just read your piece on weight loss rated rapid vs slow and steady. I am a veteran with decades of experience. I have successfully lost 143 pounds in 2001 with what is known as the vlcd program. I spent from March 31,2001 until November of 2001 with 700 calories average daily intake. I came out at a healthy weight but not mentally prepared to deal with the aftermath of a completely morphed body image. I could not wrap my brain around what had transpired in 6 short months. I still saw the 333 pound woman when I looked in the mirror. I still caught myself looking in the plus sized clothing section. There are as many factors that cause morbid obesity as there are programs offering the “cure”
Everyone’s body is different when it comes to digesting some gas-forming foods, but there are a few you should be wary of: It’s best to avoid beans and cruciferous veggies (think cabbage, Brussels sprouts, cauliflower, and broccoli) for a couple of days if you want to look slimmer. Choose lean proteins like chicken and fish or, if you’re vegetarian, go for small amounts of nuts and seeds for protein. Pair with non-gassy vegetables like asparagus, spinach, and cucumber to help prevent bloat.
Sleeping for more than five hours a night might seem like a luxury for some, but it can have a serious impact on your overall health. Not getting the recommended 7-8 hours of shut-eye a night puts you at risk for fatigue the next day, which means you’re more likely to crave and snack on high-calorie comfort food. Try to go to bed sooner so you can get a little more sleep, which will help you eat less. And to blast fat even faster, don’t miss these essential 55 Ways to Boost Your Metabolism.
All of our RD experts agree: H2O is crucial. “Water is so important when trying to lose weight since it helps to you feel full between meals,” says Amy Shapiro, RD, founder of Real Nutrition NYC in New York City. Here’s a simple hydration rule of thumb: Shoot to consume half as many ounces of water as your total body weight in pounds. (So if you weigh 180, sip on 90 ounces of water each day.)
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.
Chapter 10 talks all about self love, and I agree it is extremely important to have. I lost a lot of respect though because it starts off saying how people who are overweight have a lack of self esteem and look down on themselves viewing themselves as inferior...um, you spent a portion of this book shaming obese people and making generalizations. You treated obese people differently and shamed them then wonder why they have low self esteem or don't feel like they fit in. This chapter meant a whole lot less to me coming from you after reading the rest of book. In this chapter while talking about self love, you spend the whole time blaming the person for their own low self esteem. Telling them that everyone has flaws (so you just told this person they are flawed, with the assumption you're talking about being overweight as a flaw because that's what the book is about and it's already obvious you look down on obese people based on your language throughout the book.)
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.
Many variations of this eating style exist — ranging from fasting for a number of hours each day up to an entire 24-hour fasting period one or two times a week. “If you're trying to kick a habit like eating late into the night, then stopping eating earlier in the evening and fasting overnight could be beneficial for you,” says Hultin. “There are many types of intermittent fasting, so ensuring you pick one that works for you and your lifestyle is important.”

Good news, wine drinkers. Thanks to resveratrol, an antioxidant found in grape skin, drinking red wine in moderation can be part of a healthy diet. Some studies suggest that people who drink wine have smaller waists and less abdominal fat than those who drink mainly liquor. And having one glass of red wine can increase your body's calorie burn for up to 90 minutes afterwards. The antioxidants in wine might even help your body prevent cancer and improve heart health. Just be sure to stick to no more than a glass a day—the calories can add up fast.
Catechins are also credited for green tea’s cancer-fighting potential. These antioxidants have the ability to block the action of molecules called free radicals, which can cause changes in healthy cells that sometimes lead to cancer. But there’s no solid proof yet that the catechins in green tea help to prevent cancer in humans, despite some promising studies in test tubes and animals.
All of our RD experts agree: H2O is crucial. “Water is so important when trying to lose weight since it helps to you feel full between meals,” says Amy Shapiro, RD, founder of Real Nutrition NYC in New York City. Here’s a simple hydration rule of thumb: Shoot to consume half as many ounces of water as your total body weight in pounds. (So if you weigh 180, sip on 90 ounces of water each day.) 

One small 2018 study published in the International Journal of Sport Nutrition and Exercise Metabolism found that matcha green tea drinks can enhance exercise-induced fat oxidation in women following a 30-minute walk. But, the authors were also quick to point out that "the metabolic effects of matcha should not be overstated" when related to weight loss. 

We're now into a section about attitude. Yes! The right attitude can help you lose weight, however all of the generalizations about "most obese people." I'm really getting sick of being lumped into this arbitrary generalization. Really, again, where is the research that shows that most obese people think this and do this. Is it really most? Sorry, but everyone I know knows how freaking hard it is and we're sick of people telling us what we think. Really, it's not the problem. We know it's hard, we know we're eating the wrong stuff, we know we don't exercise enough. Stop putting words in our mouths, your assumptions are just another reason we're not motivated to lose weight...again completely counter to what the book promises when it says this book will motivate you. Um, no shaming and putting words in my mouth doesn't really motivate. 

Italiano: Perdere Peso Bevendo il Tè, Español: bajar de peso tomando té, Deutsch: Mit Teetrinken Gewicht verlieren, Português: Perder Peso Tomando Chá, Français: perdre du poids en buvant du thé, Nederlands: Afvallen door thee te drinken, 中文: 喝茶减肥, Русский: пить чай, чтобы похудеть, Bahasa Indonesia: Meminum Teh untuk Menurunkan Berat Badan, Čeština: Jak zhubnout pitím čaje, हिन्दी: वज़न कम करने के लिए चाय पियें, ไทย: ดื่มชาเพื่อลดน้ำหนัก, Tiếng Việt: Uống Trà Giảm Cân, العربية: خسارة الوزن من خلال شرب الشاي, 한국어: 차를 마셔 체중 감량하기
Make sure that the diet has been studied extensively for safety — and discuss any changes with your physician or registered dietitian before beginning a new diet. (If you don’t have a dietitian, find one in your area at the Academy of Nutrition and Dietetics website.) And do a self-check to ensure the diet fits with your own values and preferences.
Green tea is widely consumed and associated with a number of health benefits, including decreasing risk of heart disease and certain types of cancer. It's also used to help reduce inflammation for those with inflammatory bowel disease and may aid in blood sugar control in people who suffer from diabetes. And when consumed as a beverage, green tea is considered safe.
Kale gets all the love (and it's a fantastic option, too), but if you prefer milder romaine lettuce as your salad base and it helps you eat more of it, go for it. When fruits and veggies were examined for their weight-loss potential, one that came out on top was leafy greens, per 2015 research in PLOS Medicine. Over a four-year period, eating a serving per day (that's two cups) was linked to about a half pound of additional weight lost. The veggies that helped with weight loss, like lettuce, tended to offer fiber and have a low glycemic load, which aids fullness, controls blood sugar and discourages your body to store fat, the study points out. Spinach, kale or head lettuce are other good options.
It comes on suddenly: One minute you’re feeling great and the next you’re starving for a snack. Skip the vending machine and prepare your own healthy snacks to take to work, school or whenever you’re out and about. Why? In part, because most processed snacks are purely carbs and are the definition of empty calories, jacking your blood sugar and leaving you hungrier afterwards.
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.
At just 27 calories a cup, cauliflower is a diet-friendly food. It’s also low on the glycemic index (GI), a measure of how much a food raises your blood sugar. One study showed that low-GI vegetables led to more weight loss than starchier ones, such as peas and corn. Drizzle chopped cauliflower with olive oil and roast it -- this brings out the flavor, and olive oil’s fats can curb your appetite by making you feel full.
To prep his patients for success, Dr. Seltzer tells them to plan around a large evening meal by eating a lighter breakfast and lunch—NBD since most people who eat a meal before bed tend to wake up feeling relatively full, he says. Research suggests balanced bedtime meals may also promote steady next-day blood sugar levels, which also helps with appetite regulation.
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.
If you’re not drinking green tea with your workouts, you might be wasting your time at that barre class. A study published in The Journal of Nutrition found that after just two weeks, exercisers who sipped four to five cups of green tea each day and logged 25-minutes at the gym lost more belly fat than their non-tea-drinking counterparts. What makes the drink so powerful? It contains catechins, an antioxidant that hinders the storage of belly fat and aids rapid weight loss. And that’s not the only weight loss elixir out there: Discover more details and drop two sizes with these 4 Teas That Melt Fat Fast.
“A study by David Jenkins, MD, PhD—the University of Toronto pioneer in low-glycemic eating — demonstrates that eating small portions at frequent intervals is good for your health in a number of remarkable ways. Within the study, they found that people who ate every three hours reduced their blood cholesterol by over 15% and their blood insulin by almost 28%. That’s key, because in addition to regulating your blood sugar level, insulin plays a pivotal role in fat metabolism, inflammation and the progression to metabolic syndrome. When your body produces less insulin, you’re much less likely to convert dietary calories into body fat.
!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"))}});
×