Aim to get at least seven hours of sleep each night. Try going to bed and waking up at the same time each day. Get these seven tips for the best sleep ever! Why? Ever notice how you start to crave donuts and drive-thru breakfasts when you’re exhausted? When you don’t get enough sleep, your hormones are thrown out of balance. Running on no sleep can actually drive up the hormones that make you want to eat, while pushing down the hormones that signal for fullness—and that’s a recipe for weight gain. When you’re well-rested, it’s much easier to make healthy decisions and stay on track.
Not to be outdone, oolong tea—a Chinese beverage—can help those who drink it shed up to a pound per week. According to a study in the Chinese Journal of Integrative Medicine, participants who regularly sipped oolong tea lost six pounds over the course of six weeks. What’s more? The tea’s antioxidants are thought to remove harmful free radicals and improve bone health.
Although it’s tempting to look for a quick fix with a speedy weight loss scheme, many popular diets are unhealthy or produce only temporary results. You’ll have better luck with an eating plan that includes a variety of healthful foods and gives you enough calories and nutrients to meet your body’s needs. Taking it slow by making ongoing eating and exercise changes is the best way to reach and maintain your optimal weight.
Get on with the Mediterranean diet and include some seaweed or Kelp into your meals. Prized for its high levels of iodine, kelp helps to create the thyroid hormones in your body. These regulate your metabolic rate – the rate in which your body burns fat. It also contains several minerals which have been found to assist the breakdown of belly fat and relieve water retention. Seek it out in Japanese supermarkets or pick up from health food stores in a supplement form.

As it turns out, almonds aren’t the only superstar nuts around. Studies have shown pistachios aren’t bad to snack on either. UCLA Center for Human Nutrition researchers divided study participants into two groups, each of which were fed a nearly identical low-cal diet for three months. One group was given 220-calories of pretzels as an afternoon snack, while the other sect munched on 240-calories worth of pistachios. About a month into the study, the pistachio group had reduced their BMI by a point and improved their cholesterol and triglyceride levels, while the pretzel-eaters stayed the same.
This high-fat, adequate-protein, low-carb fad diet sends the body into a state of ketosis, in which the body uses stored fat for energy. Research published in Clinical Cardiology suggests the ketogenic, or “keto,” diet can be an effective weight-loss method, but to be successful, you must follow the plan consistently with no cheat days — otherwise, you’re just eating a high-fat diet that may be high in unhealthy fats for no reason. (1)

“Preliminary evidence suggests that if someone is already eating a low-fat, portion-controlled diet and then they get three servings of nonfat milk a day, they lose more weight than someone who eats the same number of calories but doesn’t have the milk,” Somer says. The theory is that calcium may inhibit the storage of fat, and it seems that the weight loss comes largely from the midsection.
“A lot of people think the foundation of a paleo diet is high-fat meat, but I suggest that it’s vegetables,” says Hultin. The concept is to eat only foods — including meat, fish, poultry, eggs, fruits, and vegetables — that would have been available to our Paleolithic ancestors. This means grains, dairy, legumes, added sugar, and salt are all no-no’s.

“Use a VersaClimber or take a VersaClimber class. These machines are still not that common, but in my opinion they are far more effective for weight loss than other forms of cardio. They require you to use a large portion of your muscles and it’s functionally better for you than other forms of cardio like spinning. Everyone is talking about Rise Nation in LA at the moment as they are the first dedicated VersaClimbing studio. There’s no harder cardio workout I have tried. To lose fat you have to put in the work. — Dan Roberts, celebrity trainer and creator of Methodology X
Similar to Greek yogurt, research has shown eating eggs for breakfast can make you feel more full and help you eat fewer calories throughout the day, meaning they’re quite the secret weapon for weight loss. Nutritionally speaking, one large hard-boiled egg (about 50 grams) contains less than one gram of carbs and remains an excellent source of protein. Eggs are also loaded with amino acids, antioxidants, and healthy fats.
Getting enough protein every day, whether you’re in a quick-fix or long-term mindset is important for keeping your muscles and metabolism healthy throughout weight loss. Make sure you’re having some chicken breast, lean ground turkey, fish, seafood or tempeh that’s the size of a deck of cards at every meal. When snacking, have 2 eggs, 1/4 cup of nuts, or 3/4 cup of Greek yogurt or cottage cheese to meet your protein needs and stay full and feel slim.
Prior to WL, an ambulatory run-in period was imposed for each subject to insure stabilization of body weight (± 2 kg during 4 weeks). During the body weight stabilization, a three-day food dietary record was used to determine an individual’s daily food and beverage consumption to estimate their total daily caloric intake (2 weekdays and 1 weekend day). The subjects were randomly divided (according to age, gender and BMI) into two groups (rapid WL and slow WL). Rapid WL and slow WL, based on the lost weight (at least 5 %), were defined over a period of 5 weeks and 15 weeks, respectively (18). The prescribed calorie-restricted diet contained 15% protein, 30% to 35% fat, and 50% to 55% carbohydrate, on average, in order to provide WL. In general, the meal plans included 3 main meals (breakfast, lunch, and dinner) and three snacks (mid-morning, mid-afternoon, and bedtime), and low saturation and trans fats, cholesterol, salt (sodium), and added sugars. All diets were designed according to Dietary Guidelines for Americans, 2010 (21). Low-calorie diets produced an energy deficit of 500 to 750 and 1000 to 1500 kcal per day for slow and rapid WL, respectively. At the end of the study, anthropometric and biochemical assessments were conducted on the individuals (18 individuals in rapid WL and 18 individuals in slow WL), who reached the desired WL. All subjects provided their written informed consent, and the study protocol was approved by the ethics committee of Jundishapur University of Medical Sciences (Act No. IR.AJUMS.REC.1394.212).
“If a client has come to me looking to lose 10 pounds, I would tell them to simply move. Move more, and more often. Walk or bike ride to class or work, even park further away from your location in the parking lot. Take the stairs or take a walk during lunch. You don’t have to spend hours every day in the gym sweating, but you do have to make a conscious effort to move more, and sit less. This works great because it doesn’t feel like work and you’re burning more and more calories throughout the day.” — Ajia Cherry, personal trainer and Founder at Functional Innovative Training
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.
Moreover, the ritual involved in making tea (as opposed to shoving coins into a vending machine) gives you a welcome break from your chores or work -- and you can reflect on good thoughts, as well as making conscious choices to put good things into your body instead of empty calories from candy bars. Take a moment to chat to someone else who is in the tearoom with you. And it's a great way to unwind, stretch and socialize in the space of five minutes!
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.

Becky Duffett is a contributing nutrition editor for Fitbit and a lifestyle writer with a passion for eating well. A former Williams-Sonoma cookbook editor and graduate of San Francisco Cooking School, she’s edited dozens of cookbooks and countless recipes. City living has turned her into a spin addict—but she’d still rather be riding a horse. She lives in the cutest neighborhood in San Francisco, spending weekends at the farmers’ market, trying to read at the bakery, and roasting big dinners for friends.


Abazarfard, Z., Salehi, M., & Keshavarzi, S. (2014, May). The effect of almonds on anthropometric measurements and lipid profile in overweight and obese females in a weight reduction program: A randomized controlled clinical trial. Journal of Research in Medical Sciences: The Official Journal of Isfahan University of Medical Sciences, 19(5), 457–464. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4116579/
Not to be outdone, oolong tea—a Chinese beverage—can help those who drink it shed up to a pound per week. According to a study in the Chinese Journal of Integrative Medicine, participants who regularly sipped oolong tea lost six pounds over the course of six weeks. What’s more? The tea’s antioxidants are thought to remove harmful free radicals and improve bone health.
Another danger of losing weight too quickly, as Dr. Hensrud points out, is that you are probably not losing just fat. A normal, healthy rate of weight loss is one to two pounds per week. Because it's difficult for your body to burn large numbers of fat calories in a short amount of time, the weight you lose could be made up of water or muscle (lean tissue).

Blending green tea and avocado makes for an excellent combination of protein, essential fatty acids, and antioxidants. Just combine a tablespoon of green tea, half an avocado, one banana, and enough hot water for everything to blend well (about half a cup). Seep the green tea in the heated water for half an hour, and process everything together in the blender to create a subtly sweet breakfast smoothie. 


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.
Consequently, researchers have widely discredited the hCG diet, which involves using hCG injections, pellets, sprays, or drops, and consuming  as few as 500 calories daily. The diet is problematic not only because there’s a lack of research on hCG supplements, but also because  the calorie requirement is dangerously low, potentially leading to nutrient deficiencies, fatigue, hormone imbalances, blood clots, and other issues. Thus, most experts agree the hCG Diet is not safe for anyone, the Mayo Clinic notes. (35)
If you’re constantly sleeping less than seven or eight hours a night, your health — and waistline — will suffer. In fact, in a 2013 study, researchers found that sleep-deprived subjects were much more likely to choose larger portions of snacks than those who slept at least eight hours at night. The lack of sleep also affected their food choices. (8)

The latest nutritional research proves what you eat AND when you eat both contribute to weight loss. †† We created Rapid Results based on this revolutionary research. With Rapid Results we provide you with a plan that takes maximum advantage of your body’s natural fat-burning ability, so you lose weight faster, plus our consultants have completed new comprehensive training to deliver excellent weight loss guidance for results.
Of course, ladies also lose abdominal weight quickly -- they just tend to have less of it. "Women with excess fat around the middle will lose it more or less as readily as men," says upwave review-board member David Katz, MD, MPH, the founding director of the Yale-Griffin Prevention Research Center at the Yale University School of Medicine. "Men are more prone to gain weight around the middle."
Harder et al. reported that rapid WL could significantly decrease weight, triglycerides, total cholesterol (TC), low-density lipoprotein (LDL) cholesterol, fasting blood glucose (FBS), hemoglobin A1c, and fasting serum insulin (FINS) (16). Also, Wahlroos et al. reported that a significant decrease in waist circumference, body mass index (BMI), subcutaneous abdominal fat volume, and insulin resistance occurred after rapid WL (17).
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.
A simple way to slim down: Eat the rough stuff. Simply adding more fiber to your diet can lead to weight loss. That’s because your body can’t break down fiber, so it slows down digestion and takes up space in your stomach. With 4 grams of fiber per cup, oatmeal can be a good source. Walnuts can add about another 2 grams, plus satisfying protein and crunch.
Kefir is a yogurt-like substance, but it actually contains less sugar and more protein than conventional yogurt while remaining packed with gut-friendly probiotics that can help you lose weight by aiding digestion. In one study, kefir displayed weight loss properties similar to those of milk and other dairy-rich products. Other probiotic-rich foods include kombucha, bone broth, and fermented items such as sauerkraut and kimchi.
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.
Similarly, lemons are a rich source of vitamin C and other nutrients good for weight loss. The health benefits of lemons also include lowering the risk of stroke, preventing asthma, combating cancer. Studies have also suggested that daily consumption of plant foods like lemons reduces your chances of developing diabetes, obesity, heart disease, etc. So, replace your aerated drinks with this delicious detox drink to stay healthy and slim down your waistline.
The number of calories you need on a daily basis to lose weight depends on an array of factors, including age, gender, height, genetics, and level of physical activity. Generally, your daily calorie intake shouldn’t fall below 1,200 calories; any less than that threshold can be dangerous in the long-term. Plus, since we get about 20 percent of our fluids from food, this can also increase your risk for dehydration.
Did you know that, when she wants to get into shape for a shoot fast, Kate Moss eats quinoa instead of cereal for breakfast? That’s because it’s what is known as a complete grain, combining protein, fibre, B vitamins and complex carbohydrates all in one. Eating grains like quinoa will help to boost your metabolism, and burn belly fat faster, as will…
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. 

Also known as yam or yambean, this Mexican turnip is a great source of fiber, says Dr. Jaime Schehr, a registered dietitian in New York City. “This plant is great for weight loss due to its high fiber to sugar ratio (a whopping 32g of fiber per medium jimaca—that’s almost an entire day’s worth). They are also a good source of potassium, an essential mineral in maintaining water balance in our body.”
Even green tea’s caffeine level contributes to weight loss. Drinking green tea every day makes weight loss simple because the caffeine it contains acts as a stimulant that improves exercise performance and aids fat burning in the process. While each cup contains just a quarter of the caffeine of a cup of coffee, it is still enough to give you a boost. It does not take much to begin feeling the benefits, as most people start noticing results after about three cups a day.
Recently, Indonesia’s island of Sulawesi was hit by a tsunami following a series of devastating earthquakes, affecting more than 1.5 million people. Our partner, Direct Relief, is working hard to supply Indonesia with much needed medical aid and supplies in response. If you click below to let us know you read this article, wikiHow will donate to Direct Relief on your behalf to support the relief effort for Indonesia.
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).

Coconut oil is having a moment right now: it can be used as a butter or olive oil substitute in everything from baked goods to salad dressing, and can even be used as an alternative to milk in lattes (yes, really). Sass is a fan of the heart-healthy oil whipped into smoothies, and you can also use it to sauté veggies, sear fish, or as an olive oil replacement in soups and stews. (It's also a must-add to your beauty routine, and makes a wonderful natural moisturizer for skin and hair.)
Even if you manage to meet your goal, it probably won’t be sustainable: “The amount of restriction required will make you so hungry that you’ll eat everything in sight—it’s survival instinct,” Dr. Seltzer says. What’s more, your body will be less prepared to burn the foods you binge on, since calorie restriction gradually slows your metabolism, he adds.
You don’t need to bust out the measuring cups to properly portion out your food: A serving size of meat is roughly the size of a deck of cards or the size of the palm of your hand. Your entire fist should be the size of a serving of veggies (although the more, the better!). A serving of fat, such as butter or coconut oil, should be the size of your thumb. Your carb serving should be no bigger than what can fit in your cupped hand. For other ways to eyeball your proper serving sizes, check out What the Perfect Food Portion Sizes Actually Look Like.
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.
The plan is simple: Commit to two weeks of restricted dieting, then transfer to a sustainable regime. Phase one: Cut out restaurant food, added sugar, eating while watching TV, snacking on anything other than fruits and veggies, and limit meat and dairy. You’re also asked to add four healthy habits, simple tweaks like having a good breakfast every morning.
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.
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.
This workout plan has a lot of variety and gets progressively harder. Why? Not just to make you stronger and more fit, but to make sure you keep losing weight. When you do a workout over and over again, it eventually gets easier, which means your body doesn’t have to work as hard and therefore burns fewer calories. So your motto is always better. Every week you want to be better than the previous week.
“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.
“At a tiny 20 calories for every 3 cups, arugula provides an excellent source of folate, vitamins A and C, and more than 100 percent of your daily vitamin K needs,” says Rey. Not only is it a great weight-loss food, arugula can also help reduce your risk of bone fractures this summer: A recent Framingham Heart study found that people who consumed approximately 250 micrograms per day of vitamin K had a 35-percent lower risk of hip fractures compared to those who consumed just 50 micrograms per day, says Rey.
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.

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”
Because you’re consuming whole leaves in matcha, you may get three times as much caffeine than a cup of steeped tea, about the amount in a cup of brewed coffee. Matcha aficionados say that compared to the caffeine buzz from coffee, matcha creates an “alert calm” due to a natural substance it contains called l-theanine, which induces relaxation without drowsiness. Still, we do believe it’s best to nix all forms of caffeine (including matcha) at least six hours before bedtime, to ensure a good night’s sleep.
Don't get me wrong — exercising at any time is good for you. But evening activity may be particularly beneficial because many people's metabolism slows down toward the end of the day. Thirty minutes of aerobic activity before dinner increases your metabolic rate and may keep it elevated for another two or three hours, even after you've stopped moving. What that means for you: You're less likely to go back for seconds or thirds. Plus, it'll help you relax post meal so you won't be tempted by stress-induced grazing that can rack up calories, quickly.
At first, Samantha says she hated the bitter taste and had to force herself to drink it. But soon, Samantha was sipping on green tea and lemon every morning. She then began drinking one cup each hour at work and finished off the day with one while watching TV—a total of nine cups of green tea every day. After just one month of this regimen, Samantha dropped nearly 15 pounds.
I first discovered the weight-loss powers of tea when my mother, suffering from a terrible battle with diabetes, asked me to help design a tea cleanse for her. As a former nurse in Korea, she already knew the power of this lifesaving drink. Sure enough, with the plan she and I designed together, she dropped an amazing 9 pounds in just a week, and brought her blood sugar under control.
B is for breakfast. It really is the most important meal of the day. Don't leave home without eating something nutritious to get your metabolism perking and give you energy for the day ahead. It can be a banana, low-fat yogurt, cereal, last night's leftovers, etc. A small meal that contains both fiber and protein can keep you feeling satisfied until lunchtime.
Acai berries are well known for their anti-oxidant properties, but did you know they're are also rich in essential fatty acids and dietary fibre? The tiny purple fruits can help to speed up digestion and provide more energy – something we all need if we want any hope of hitting the gym after work. Add them to your porridge in the morning or whip up a smoothie bowl for a nutritious snack. Delish!
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.”
"Kibbeh" describes dishes made with bulgur, onions and spices. That mixture is combined with everything from tomatoes to goat. It's layered and baked, shaped into balls or footballs, stuffed, deep-fried or eaten raw. This vegetarian kibbeh recipe is made with pumpkin and stuffed with seasoned greens. Sorrel adds a lemony flavor, but you can use chard or kale and add 1 tablespoon of lemon juice to the filling. Use fine bulgur or the texture of the dough will be gritty.
Stavrou, S., Nicolaides, N. C., Papageorgiou, I., Papadopoulou, P., Terzioglou, E., Chrousos, G. P., … Charmandari, E. (2016, July 31). The effectiveness of a stress-management intervention program in the management of overweight and obesity in childhood and adolescence. Journal of Molecular Biochemistry, 5(2), 63–70. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4996635/
Obesity News Today is strictly a news and information website about the disease. It does not provide medical advice, diagnosis or treatment. This content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this website.
If you dislike cooking, abhor making food choices, or simply want low-calorie options shipped to your door, Nutrisystem might slot into your life. But it can get expensive, and food selection and flavor are hit-or-miss. Mostly miss. “It’s enough substance to call it a meal, but the texture of every ingredient was lacking,” our tester reported without enthusiasm.
Created in 2003 by cardiologist Arthur Agatston, this low-carb diet features three phases. The first phase is the most restrictive, limiting carbs such as potatoes and rice. Each subsequent phase becomes more lenient, and the diet emphasizes lean protein, unsaturated fats, and low-glycemic carbs such as non-starchy vegetables. South Beach promotes lasting lifestyle changes, according to the Mayo Clinic. (21)
!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"))}});
×