Processed, packaged foods are often loaded with more salt, sugar, and refined carbs than you’d put in the foods you cook for yourself. When you’re looking to drop weight fast, avoid foods that come in packages and stick to whole, unprocessed foods. (Here are the four most harmful ingredients in processed food.) Build your plates with non-starchy veggies, unprocessed whole grains, lean proteins, and healthy fats, and season with spices, not salt.
Identifying and resolving typical weight loss hurdles — like flagging enthusiasm — is something Noom excels at. The initial questions that set up your profile, match you with a coach, and place you with a group, all intend to diagnose your learning style and what flavor of support you need. What kicks you into high gear, tough love or words of affirmation? How do you like to show support? How do you feel about goal setting?

”But science actually tells us the opposite,” says the professor. “Regardless of whether you pick a sensible diet, exercise, behavioural therapy or a drug, our analysis of the literature shows that it’s those who experience the greatest weight loss in the first 2-4 weeks who have the greatest weight loss the following year. So if you’ve lost a lot of weight after one month, you’re more likely to have lost a lot of weight after a year or two.”


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.
“Mushrooms’ meaty flavor and texture make them great additions to ground meat dishes such as hamburgers, meatloaf, meatballs, and the like,” Zeratsky says. Because they hold up to cooking, mushrooms can even serve as beef substitutes for vegans and vegetarians. Research has even found subbing out meat with mushrooms for one meal a day can prompt significant weight loss because you’re consuming less fat and fewer calories. “They add flavor and moisture as well as fiber—stretching recipes to make them more economic, lower in calories, and more nutritious,” she adds. 
Green tea is the world’s healthiest drink. And Lipton green tea is one of the most trusted green tea brands in the world. Catechins in green tea are strong antioxidants that help prevent weight gain, cardiovascular diseases, cancer, etc. (1). So, you must drink at least 2 cups of green tea per day. But, the taste can put you off. On top of that, the best brands of green tea come with a high price tag. Fortunately, Lipton is a well-known company that offers pure green tea as well as a wide range of flavored green teas that are priced at a reasonable rate. Read on to find out how to use Lipton green tea to lose weight.
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).

Christy is a spokesperson, nutrition and food writer and blogger for Huffington Post and others, a recipe developer and YouTube video producer. She is regularly interviewed by CTV National News, CBC, The Globe and Mail and many more on nutrition and health. She has her finger on the pulse of the latest nutrition and food science and trends, and synthesizes and prioritizes it just for you. 

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.
Many diets, including Atkins and the keto diet, fit into this umbrella. A typical low-carb diet limits carbs to less than 60 g daily, but this can vary, according to the Mayo Clinic. (15) In a September 2015 review published in PLOS One, people following low-carb diets saw modest weight loss — although study authors note that long-term effects of the diet require further research. (16)
”But science actually tells us the opposite,” says the professor. “Regardless of whether you pick a sensible diet, exercise, behavioural therapy or a drug, our analysis of the literature shows that it’s those who experience the greatest weight loss in the first 2-4 weeks who have the greatest weight loss the following year. So if you’ve lost a lot of weight after one month, you’re more likely to have lost a lot of weight after a year or two.”
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).
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.

“Don't like eating meat?” says Ginger Hultin, RDN, a dietitian in private practice in Seattle and a spokesperson for the Academy of Nutrition and Dietetics. “Then don't be paleo! Travel a lot and rely on eating out? The DASH diet may end in frustration for you.” The bottom line: The diet that you choose needs to be safe and effective, while taking into account your lifestyle.

"Researchers around the world say what really works is not just cutting calories but satisfying your hunger with the right kinds of foods," says Health’s Frances Largeman-Roth, RD. In fact, women following a low-fat diet who were allowed to fill up on all the fruit and vegetables they wanted lost 23% more weight than women on a low-fat diet alone, a new study from the United Kingdom reports.

Green tea with lemon for weight loss: Drink THIS detox tea twice daily to burn belly fat & 100 calories a day Description: Green tea has been consumed for centuries for its immense health benefits, including weight loss. A growing number of studies have shown that the flavonoids and caffeine in green tea can boost metabolism, enabling the body to break down and process fat much faster. Drink this detox drink twice on a daily basis to burn up to 100 calories a day and get rid of belly fat quickly. Times Now

Plain and simple: We just don't feel full by liquid calories in quite the same way as we do real food. Drinking a juice or caramel coffee drink, for instance, won't make you feel full the way eating a bowl of veggie- and protein-packed stir-fry will. So monitor your intake of juice, soda, sweetened coffee and tea, and alcoholic beverages. If you consume each of those beverages during the day, you'll have taken in at least 800 extra calories by nighttime — and you'll still be hungry. (Incidentally, alcohol may suppress the metabolism of fat, making it tougher for you to burn those calories.) Some other ways to skip sugar? Check 'em out here.
"Researchers around the world say what really works is not just cutting calories but satisfying your hunger with the right kinds of foods," says Health’s Frances Largeman-Roth, RD. In fact, women following a low-fat diet who were allowed to fill up on all the fruit and vegetables they wanted lost 23% more weight than women on a low-fat diet alone, a new study from the United Kingdom reports.
“To lose weight you should primarily eat whole foods, but don’t eliminate your favorites. Consistently eating nutrient-dense food on a day-to-day basis will improve the chances of upregulating metabolism and of eliminating nutritional deficiencies. That may mean tracking what you eat in some way at first, but it doesn’t mean ruling out entire food groups or foods you love. Consistent quality nutrition while learning to enjoy treats in moderation will set you up for long-term sustainable success. — Victoria Viola, PN Certified Nutrition Coach, NSCA CPT, Co-Founder, Excelerate Wellness, LLC
“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 are countless ways to enjoy the fruit (yes, technically it is one), but you can't beat the classic combination of whole-wheat toast with mashed avocado, lemon juice, and sunflower seeds. Sass also recommends whipping avocado into a smoothie, pureeing it with herbs and citrus juice to make a creamy salad dressing, or adding it to a veggie omelet.

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.
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.
The prevalence of obesity is increasing and according to the latest statistics of the world health organization, 13% of adults worldwide are obese and 39% are overweight (1). Obesity increases the risk of metabolic diseases, cancer, and cataract (2, 3). Statistics have shown that obesity and its consequences have high costs for communities (4). There is a positive association between body mass index (BMI) and direct and indirect (due to premature deaths) health care costs. Indirect costs of obesity (54% to 59%) have been reported more than the direct costs (5). In the last century, due to the increasing prevalence of obesity and its hidden costs, control and treatment of obesity requires more attention.
It isn't really possible to say which is the "best" because this is truly personal and requires tasting a range of them to decide which you like the most. Moreover, it can even vary between different harvests of the same variety. You might like to try Japanese green tea (sencha) and Chinese green tea to decide which you prefer. And for what it's worth, "sencha hatzekura" tastes lovely!

“I tell all of my celebrity and professional-athlete clients to get between 6 and 8 hours of sleep per night. Everyone is overly focused on food, water and exercise, all of which are extremely imperative to weight loss and optimal health. However, without proper sleep, all of these the other factors are null and void. When you don’t get enough sleep, levels of the hormone leptin drop, which increases appetite. This surge in appetite makes comfort food more appealing, which can derail weight loss efforts.” — Jay Cardiello, celebrity fitness and nutrition expert
Almonds are a great source of mono- and polyunsaturated fats, which can help lower your cholesterol and keep you slim. They also contain fewer calories than most other varieties of nuts (just 163 calories for 23), as well as plenty of fiber and vitamin E. According to a study in the International Journal of Obesity, people who added a daily serving of almonds to a low-calorie diet lost more weight than those who followed the same diet but ate a carb-heavy snack such as crackers instead.

Weight-loss programs often accentuate the difference. When sedentary men and women both start exercise programs, men tend to lose body fat, while many women don’t. In one study out of England, men and women were each put on commercial weight-loss programs such as Atkins, Slim-Fast and Weight Watchers. Two months in, the men had lost twice as much weight as the women -- and three times as much body fat. But by six months, the rate of weight loss had evened out between the genders.
“Oolong, or ‘black dragon,’ is a kind of Chinese tea that’s packed with catechins, nutrients that help promote weight loss by boosting your body’s ability to metabolize fat. A study in the Chinese Journal of Integrative Medicine found that participants who regularly sipped oolong tea lost a pound a week, without doing anything else to change their diet or exercise habits.” — Kelly Choi, author of  The 7-Day Flat-Belly Tea Cleanse

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.
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.
Greek yogurt is an extremely satiating breakfast or snack, thanks to its thick, creamy texture and a whopping 17 grams of protein (nearly three times more than is in an egg, in fact). A study from the journal Appetite found that people who ate a high-protein yogurt snack three hours after lunch felt fuller and ate dinner later than the other participants. And on top of that, other studies suggest that the acids produced during yogurt fermentation might help increase feelings of fullness.

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."
Does forskolin work? Uses, risks, and benefits Forskolin is a plant-based product that is used as a weight loss supplement. It is thought to help people lose weight by creating certain enzymes, and it may also have a range of medicinal uses. It has recently experienced a surge in popularity, but does it really work? We look at the benefits and risks of forskolin. Read now
“When you’re anxious, your body feels like it’s under a tremendous amount of stress all the time. This is why anxiety is a powerful trigger for weight gain. Two of the most proven cures for anxiety are exercise and spending time in nature. Combine both with an outdoor run or bike ride and race away from the anxiousness. Making this habit part of your lifestyle can help you stay lean for life.” — David Zinczenko, author of the  Zero Belly Cookbook
“Although available year–round, celery is best in the summer,” says Ellis. This super low-calorie food is also an excellent source of vitamins K and C, and a good source of many other essential nutrients such as dietary fiber, folate, potassium, and thiamine. “Crunching on celery is one of the oldest diet tricks because it may help decrease overall calorie consumption and aid in healthy digestion.”
Can someone remind Treason May, her cabinet, Oily rag and the civil servants that they are negotiating for the UK not the EU. Also that we voted to LEAVE not stay. The EU does not move so progress is when May surrenders more. She is playing a version of statues with the British public, creeping ever close to BINO hoping we will not notice her moves until it is too late. Time for the vote of no confidence. Get someone who knows what they are doing!
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.
Is there anything avocados can't do? This creamy superfood (loaded with monounsaturated fats, potassium, magnesium, folate, and vitamins C and E) has been linked to improved vision, good heart health, and a reduced risk of certain cancers. And avocados can also help whittle your middle: according to one study, people who regularly consume them weigh less and have smaller waists than those who do not. Another study found that women who eat half an avocado at lunchtime might experience reduced food cravings later in the day.
Ranging from just-juice to just-tea cleanses, these typically short-term plans can be dangerous. “Detoxes and cleanses are usually low in calories, protein, and fiber, all nutrients that our bodies need to function,” says Alissa Rumsey, RD, who is in private practice in New York City. “These plans leave you feeling hungry and cranky, causing a rebound food binge once you stop the detox.”
One basic reason may be on account of caffeine is a stimulant. This implies it will give more sharpness and can expand your stamina, both of which can help the power and length of exercises. A portion of the investigations, notwithstanding, demonstrate that the green tea helps consume calories while very still too, which implies that notwithstanding when you are not sweating at the rec center, green tea may enable you to get in shape.
Do you know what to eat to lose weight? You might be relieved to know that you don't have to spend a lot of money or go to fancy boutique grocery stores to fill your fridge when you're trying to slim down. In fact, most products on the best weight loss foods list are common items that you can find in any supermarket.  Smart dieters eat these cheap and easy foods and slim down faster.
There are so many protein powders on the market, and sometimes it can be hard to decide which one is best for your weight-loss goals. But by swapping out a whey or creatine powder for something plant-based, you could cut down on belly fat. Although whey powder is chock-full of muscle-boosting protein, it can also cause a belly bloat. Instead, try one of the 100+ recipes in Zero Belly Smoothies, made with vegan protein that will still have the same muscle-building, fat-burning, and satiating effects, just without the bloat.
Drinking herbal teas such as green tea, white tea, black tea and rooibos tea can amp up your metabolism. According to a study in the American Journal of Clinical Nutrition, green tea is more effective than other teas like oolong at promoting weight loss because of it’s high levels of catechins. (6) So if you want to lose weight fast, I recommend drinking 1–3 cups of green tea daily.
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.

If you can keep up motivation and accountability without the assistance of an app or a like-minded community, the book should give you all necessary tools. While we weren’t floored by Mayo’s online offerings, the app does have one cool feature (if you can get it to work): Enable your camera to eyeball the correct size of any food item in comparison to a virtual baseball, hockey puck, set of dice.

Eating regular meals is essential. Experts agree that you should go no longer than 4 to 5 hours between meals. Otherwise, intense hunger can trigger a binge. Some experts believe dieters have better control if they eat several mini-meals throughout the day. Choose the meal pattern that works best in your lifestyle, but make sure to eat at least three meals per day.

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. 

Make sure that everything you're eating is whole — as in nothing processed or packaged. Since salt is a preservative, these are the foods that are highest in sodium — something to keep in mind when planning your meals. Plan on making sure that all items you choose are fresh. That means filling up on fresh fruits and veggies, whole grains, low-fat dairy, and lean protein.
Weight loss (WL) in obese patients, in addition to improving clinical conditions, will increase the recognition and quality of life (6, 7). In order to lose weight, various methods, such as diet, physical activity, drug therapy, and surgery have been suggested. Given the potential side effects of drug therapy and surgery, dietary interventions for WL have always been the first priority for the subjects (8). However, a variety of diets for WL have been suggested.
This is the type of tea that's often served in Chinese restaurants and used to make iced tea. It’s fermented -- a process that allows it to change chemically and often increases its caffeine content. The tea has a strong, rich flavor. Whether it helps with weight loss isn't certain. But research done on rats suggests substances called polyphenols in black tea might help block fat from being absorbed in the intestines.
Delicious, full of antioxidants, AND they help you to lose weight? Tomatoes are definitely among our favourite fat-fighting foods. Tomatoes have been found to reduce inflammation and water retention in the body, as well as reversing leptin resistance. Leptin is a type of protein which helps to regulate metabolic rate and appetite, so our bodies rely on it to shed those extra pounds. 

Every tea has its own special weight-loss powers, but if your boat is sinking and you can only grab one package of tea before swimming to the deserted island, make it green tea. Green tea is the bandit that picks the lock on your fat cells and drains them away, even when we’re not making the smartest dietary choices. Chinese researchers found that green tea significantly lowers triglyceride concentrations (potentially dangerous fat found in the blood) and belly fat in subjects who eat fatty diets. Follow these steps to Make the Perfect Cup of Green Tea!

But it's important to remember that "fat" doesn't mean "unhealthy." Yes, women have larger fat stores, but it's part of their physiology, meaning it's not extra weight. So if a woman has 11 percent more body fat than a man, it doesn't mean she's 11 percent "fatter." A perfectly fit woman will still hold six to 11 percent more body fat than a perfectly fit man.
This popular plan recently underwent a rebranding to create a more balanced program, changing its four-phase approach with the help of a science advisory board. The Atkins Diet is still low-carb, but you won't be chowing down on steak and eggs all the time to promote weight loss. Lean protein is still key, but there's more of a spotlight on fiber, fruit, vegetables, and healthy fats.
While 1,200 may be the right number for some, it can be super restrictive for others, says Jaclyn London, MS, RD, CDN, Nutrition Director at the Good Housekeeping Institute. Try basing your meals and snacks off this plan and double up on veggies at any opportunity — more fruit at snack time works too! You can also add an extra ounce or two of protein at all meals if you find yourself feeling hungry. The combo of fiber from produce and lean protein makes this an adaptable strategy that’ll help you lose weight safely — one meal (and snack) at a time!
“When clients come to me, many of them have been through the diet wringer. They’ve tried every fad and gimmick and, of course, they’ve failed to maintain long-term success. The key to weight loss is to never feel like you’re on a diet, because diets don’t work. If you feel deprived, you will never make it past a few weeks. The only way to achieve long-term weight loss is to learn to appreciate food as fuel and slowly replaced processed food that cannot properly energize the body with real food that can. After a while this will become second nature and won’t feel like a daily struggle.” — Laura Burak, MS, RD, CDN
Peppermint is known for its potent healing and calming digestive properties, so if you’re looking to slim down your stomach, it makes sense to start including it in your diet. The easiest way to do this is to drink it in tea form, so pick up a box from your local supermarket (organic if possible) and try drinking three cups a day. Great for clearing the skin, too!
Calories in One Cup of Tea How Many Calories in a Cup of Black Tea? How Many Calories Are in Pearl Milk & Tea? How Many Calories Are in Tapioca Bubble Tea? Teas that Help Burn Fat & Boost Metabolism Tea vs. Coffee for Melting Belly Fat Which Tea Is Good for the Bladder & Kidneys? Tips to Lose Weight Fast With a Coffee Diet Tetley Tea Nutrition Caffeine in Green Tea Vs. Black Tea What Are the Health Benefits of Darjeeling Tea? Calories in Tea & Coffee Can Drinking Tea Dehydrate You? Does Rooibos Tea Affect Iron in the Blood? Lipton Tea Health Benefits Digestive Side Effects of Black Tea How Does Drinking Black Coffee Help You Lose Weight? Matcha Tea for Weight Loss Does Adding Cream & Sugar Cancel the Health Benefits of Tea? Elderberry Tea Benefits
Habits and cravings are the devil when it comes to dieting. Let's first deal with habits. Juge explains that it takes a good week or two to ease into dieting. "Fast food is so easy and there's a McDonald's on every corner. The hardest thing is to develop the new habit of preparing your meals and taking them with you." The first week is the most difficult, so prepare yourself for some challenges as you abandon your usual routine. For example, you might usually go out for a sub sandwich or burger at lunch. You'll now have to bring your food with you and resist the temptation of spicing up your meal with the Doritos in the vending machine or your usual can of Coke. It can be a real mental battle to stick to your food plan.
!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"))}});
×