Like protein, fiber slows the rate at which your body plows through carb calories so you feel full for longer and maintain steadier blood sugar levels, one reason why research consistently links fiber intake to weight loss. That means fibrous whole grain bread tends to be a better choice than white bread and also explains why fruits, which contain fiber and valuable vitamins in addition to sugar, beat straight-up candy every time.
“There are many diet plans on the market today that promote good health,” says Emily Kyle, RDN, who is in private practice in Rochester, New York. “The key is finding one that does not cause you stress or agony.” Ask yourself questions such as: Would the diet guidelines make you happy? Anxious? Stressed? Are you able to follow them long term? “Factors such as enjoyment, flexibility, and longevity should be strongly considered,” adds Kyle.
Who is this class for: The example learner for this course is interested in improving their diet and is open to adopting new behaviors around cooking, grocery shopping, eating, and exercise. The learner should be over the age of 18 and should be in good health without any chronic diseases (such as diabetes, heart disease, high blood pressure, cancer, or food allergies.) Prior knowledge of nutrition principles for a healthy diet would be useful to the learner but is not required. Learners are required to seek approval from their primary care physician before starting the course.
!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"))}});

“Stop focusing on calories and start focusing on the quality of the foods you eat. High-quality diet options are natural, whole, minimally processed foods, like vegetables, fruits, nuts or seeds that offer a lot more nutritional value in the form of vitamins, minerals, healthy fats and fiber. These foods help tame hunger naturally and nourish our cells at the deepest level so that we aren’t left with constant cravings. — Michelle Loy, MPH, MS, CSSD, Registered Dietitian Nutritionist and owner of Go Wellness in Orange County, California


Invest in a pedometer and track your steps each day. The goal is to walk at least 10,000 steps -- the equivalent of 5 miles -- daily to thwart weight gain (and promote weight loss). Challenge yourself to increase your steps each day, even if you can't get up to 10,000. Every step counts; remember that your goal is simply to improve your fitness level.
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.
“The alkaline diet often has a focus on eating lots of fresh produce and unprocessed foods, which could be a good thing,” says Hultin. “However, keep in mind that this is not an evidence-based therapeutic diet.  When people take it too far — for instance, drinking baking soda — or become too restrictive or obsessive over food choices, it can definitely turn negative.”
At the end of the common mistakes section is a "watch this" section that tells you to watch an AMAZING video. Don't waste your time on it, I watched it for you and it's not worth it. It's a great big sales pitch. It spends a great deal of time talking about fluff saying, this video isn't this it isn't that, I'm going to tell you something awesome in just a few minutes, let me tell you about people who have been successful with this amazing tip I'm going to eventually share with you, but I'm not going to tell you about what it actually is until you watch all of this fluff that provides absolutely no value to the video. It also is another body shaming reminder that "people can't be sexy if they have any fat on their body at all" I am so sick of that message. If you want to know more about this, just search for the term leptin and learn more about it. This is nothing but a great big sales pitch that will waste a part of your day you'll never get back. This is a great big sales pitch for a product called the VenusFactor. The AMAZING video won't actually teach you anything you can't learn on your own by researching leptin and it's just there to sell you VenusFactor. So, as I expected, this is just a waste of time sales pitch video that isn't worth your time.
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.)
To start with, green tea is much more than just a mere hot flavoured water. The bioactive elements in this tea leaf, blend in the water to convert it into a final drink. When you sip a cup of tea made from premium quality green tea leaves, you're actually consuming a large amount of nutritious substances. Caffeine is the best-known substance which aids in weight loss. A cup of green tea contains caffeine (24-40 mg) thus keeping a check on calories, especially when you combine it with daily workout sessions.
Blood samples (5 mL) were collected at the beginning and at end of the study during the 12-hour fasting condition. The samples were centrifuged at a low level and serum was separated. Biochemical measurements were performed immediately after sampling. Fasting blood sugar (FBS), high-density lipoprotein (HDL), very low-density lipoprotein (VLDL), triglycerides (TG), and TC were measured by an auto-analyzer (Hitachi, USA). The Friedewald formula was used to calculate LDL levels. Fasting serum insulin concentration was measured by enzyme linked immunosorbent assay (ELISA) kits (Mercodia). The homeostatic model assessment (HOMA) was calculated with the formula: HOMA-IR = [FBS (mg/dL)*FINS (μU/mL)] / 405. (23). Quantitative insulin sensitivity check index (QUICKI) was calculated on the basis of suggested formulas: 1 / [log (Insulin μU/mL) + log (Glucose mg/dL)]. (24). The HOMA-B (pancreatic beta cell function) was computed as follow: 20 × FINS (μIU/mL)/fasting glucose (mmol/mL)-3.5. Insulin sensitivity was derived using the formula: HOMA-S (insulin sensitivity) = 22.5/(insulin (mU/L) × glucose (mmol/L)). All biochemical assays were performed in duplicates and the mean was calculated for each subject.
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.

Trying to lose weight is a lot like cleaning out the basement: It’s overwhelming and near impossible to know where to start—even when you don’t have a ton of weight to lose. But getting the body you’ve always wanted doesn’t have to be a source of stress. If the scale won’t budge and you’re looking to shed the last 10 pounds, there are plenty of ways to reach your goal. To help you get there, we spoke with a handful of celebs that have successfully slimmed down (and kept it off) and dozens of the fitness and diet industries top experts.
There's a pretty dizzying amount of research backing up this regime as a solid option to enhance your health, lower cholesterol, and encourage healthy, lasting weight loss. DASH (the acronym stands for Dietary Approaches to Stop Hypertension) has you loading up on fruits, vegetables, and whole grains (surprise!) and removing foods high in saturated fat from your diet. Research also shows that this diet may even ward off the onset of type 2 diabetes.

Keep hunger levels steady. Hard workouts often increase hunger levels. And sometimes they even increase your sense of entitlement to food. For example, you might feel that you deserve a high-calorie meal or treat after hard exercise because you earned it with your effort. But easy workouts are less likely to leave you starving. The result is that you may eat less with an easy fitness program.
Download Related Publications: Download "The Truth About Sex in Your 20s 30s and 40s (Booklet)" Download "Fast Facts for Your Health: Understanding Sexual Health Disorders" Download "Fast Facts for Your Health: Painful Sex: What You Need to Know" Download "HPV: Facts to Know" Download "National Women's Health Report: Women: Living Well & Aging Well - December 2008"
Starchy veggies (like potatoes) and processed whole grains (like whole-wheat bread) are foods I’d normally recommend eating in moderation, since they provide plenty of nutrients, fiber, and healthy carbs. However, high-carb foods aren’t your best friend when you’re looking to drop water weight. Essentially, when your body stores excess carbs, it stores them with water. So replacing carb-heavy foods with non-starchy veggies that still provide filling fiber without as much water retention is the way to go. For a week before your event, you can swap out the starchy carbs for more non-starchy vegetables to lose some water weight. (These are 10 things experts wish you knew about water weight.)
The efficacy of Nutrisystem boils down to portion control. A tiny tray of frozen tuna casserole doesn’t provide a lot of nutrients or satisfaction, but if that’s all you have for dinner, you’re keeping calorie count low. We entered in a couple Nutrisystem meals and found their point count to be mid-high, between 7 and 9. Ultimately, tiny amounts of not-wholesome foods doesn’t teach you to eat well.
Like protein, fiber slows the rate at which your body plows through carb calories so you feel full for longer and maintain steadier blood sugar levels, one reason why research consistently links fiber intake to weight loss. That means fibrous whole grain bread tends to be a better choice than white bread and also explains why fruits, which contain fiber and valuable vitamins in addition to sugar, beat straight-up candy every time.
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”
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.
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
Caffeine itself may play a synergistic role in increasing metabolic rate. A meta-analysis of 15 studies showed that shows that green tea catechins given with caffeine was able to decrease body weight compared to catechins given alone. I will note that green tea does in fact contain some caffeine, whereas green tea extracts are may or may not contain it. Some studies sugges that regular and high caffeine usage may blunt the benefits of the GTE. In one study, using more than 300 mg/day of caffeine daily negated much of the benefits (a cup of brewed green tea only has 30 mg caffeine). Caucasian population typically drink more coffee and perhaps higher doses of catechins are necessary for benefits.

Milk may be the perfect drink to pair with your meal if you're looking to get leaner, according to a study out of Ireland in 2017. Eating a greater amount of dairy was found to be associated with a lower BMI, less body fat and a smaller waistline—particularly when it came to milk and yogurt. Beyond weight loss, researchers uncovered some surprising health benefits. Milk drinking was associated with improved blood pressure, lower biomarkers of inflammation, better insulin sensitivity and higher levels of a protein called adiponectin, which helps regulate blood sugar and break down fats. What's more, if you're running low on calcium, consuming more of the bone-strengthening mineral may also help you burn belly fat. Skip the chocolate milk and flavored lattes to cut back on added sugars.
As long as this popular crunchy treat isn't doused in movie-theater butter, it makes an excellent weight-loss snack. Not only is popcorn high in fiber, it even delivers some protein. A 1-ounce serving of air-popped corn (about 3½ cups) has 4 grams of fiber, almost 4 grams of protein and clocks in at 110 calories. This combination makes it a snack with staying power. Popcorn is filled with air, so you get a pretty large portion without a lot of calories. You can eat 3 whole cups of popcorn for only 100 calories.
Why this easy fitness plan works: The duration of the workout makes it easier to tolerate and more likely that you'll stick to the plan. And even though the workouts are short, you are still burning substantial calories in a short period of time. Done properly three times per day, you can burn up to 300 - 500 calories. If you do this easy workout around mealtime, you'll probably also shorten the amount of time you spend eating which will help you to decrease the amount of food you want to consume.
If you’re a guy, you can thank the testosterone you have -- and the extra estrogen you don’t -- for your weight-loss edge. On average, women have between six and 11 percent more body fat than men, an assumed evolutionary adaptation to help during pregnancy. From puberty to menopause, women maintain more average body fat than men -- even when they take in fewer calories.
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
Another frontrunner on the U.S. News and World Report 2016 list (it came in at number two in the weight loss category), the HMR Weight Management program is used in over 200 medical facilities around the U.S. Dieters embark on two phases, the first centered around HMR's products (meals, shakes, snacks) and the second transitioning towards a sustainable plan emphasizing fruits, vegetables, lean proteins, and whole grains.

If you’re trying to shed excess weight, use all three calorie-density-reduction strategies. While this study showed that cutting the amount of fat added to foods was the single most effective way to reduce ad libitum calorie intake, it is clear that all three methods were effective. Furthermore, they are not mutually exclusive, so it is likely that using all three in combination would work even better than each one used alone.

If you’ve been eating fast food for years, get real about your approach: You’re probably not going to stick to an organic, gluten-free, paleo overhaul for very long. “You want to change as little as possible to create calorie deficit,” says Dr. Seltzer, who insists the best way to support sustainable weight loss is to incorporate small changes into existing habits. So instead of giving up your daily BLT bagels in favor of an egg-white wrap, try ordering your sandwich on a lighter English muffin. Or say you eat a snack bar every afternoon: Swap your 300-calorie bar for a 150-calorie alternative. “Your brain will feel the same way about it, so you won’t feel deprived,” he says.


Can’t carve out a full 30 minutes or an hour of exercise time in one go? Opt for shorter bouts of exercise throughout the day instead. The latest science suggests that several short exercise bursts provide the same health and fitness benefits as a similar amount of exercise done in one longer workout — and, in some cases, reap even more rewards. (1)
One easy trick if you're a pasta fan is to swap out white pasta for the wonderfully named courgetti (spaghetti made from spiralizing courgette). You’ll hardly notice the difference when you’re eating it, but you’ll be fuller for longer despite consuming fewer calories. When you consume fewer calories, your body can go to your fat reserves for energy, rather than just burning off the food you’ve eaten.  
Recent studies have also shown that garlic supports blood-sugar metabolism, and helps control lipid levels in the blood. What’s more? Eating garlic can help boost your immune system, help ward off heart disease, fight inflammation, increase memory retention, and lower blood pressure, so consider adding some to your next meal. At the very least, it is preferable over salt, which can lead to water weight gain and bloating.
Now the book is talking about how being overweight perpetuates even more weight gain because your perception of what you should be gets skewed the more weight you gain. Um, I'd like to see the research that supports this statement. I'm not saying it's not true, but it almost seems like the author's opinion rather than research. I could be wrong, just requesting some supporting documentation, which I haven't found in this book yet on any of the claims.
Samantha reportedly first tried a few quick-fix diet pills to help her lose weight that summer, but after getting unsatisfactory results, she decided to overhaul her diet and drastically cut out all the cookies and fast food she had been eating last August. But Samantha says she still wasn't shedding a lot of weight until she replaced her five cups of sugary tea for unsweetened green tea.
Download Related Publications: Download "The Truth About Sex in Your 20s 30s and 40s (Booklet)" Download "Fast Facts for Your Health: Understanding Sexual Health Disorders" Download "Fast Facts for Your Health: Painful Sex: What You Need to Know" Download "HPV: Facts to Know" Download "National Women's Health Report: Women: Living Well & Aging Well - December 2008"
There’s a large spectrum of where people can fall on a vegetarian diet: For example, vegans consume no animal products, whereas ovo-lacto vegetarians eat both dairy and eggs. The eating style may help with weight loss, suggests a review published in August 2017 in Nutrients, but some vegans and vegetarians may become deficient in specific nutrients, such as calcium, iron, zinc, and vitamin B12, according to an article published in December 2017 in Nutrition, Metabolism and Cardiovascular Diseases. (23, 24)
Yogurt is protein-packed and full of probiotics, which are good for gut health and may help your weight-loss efforts. Your gut health can impact your weight, and eating more fiber and probiotics helps keep your gut bacteria happy, which can be good for your metabolism (read more about your gut-weight connection). Go Greek for more protein; plus, research from Appetite found that consumption of Greek yogurt was associated with reduced appetite and increased satiety. Just keep an eye on added sugars in flavored yogurts, which only add calories. Instead, use fresh fruit to sweeten plain yogurt.
!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"))}});
×