If you’ve ever thought to yourself, “I wish there was a product that did this,” then invent it! Create a product, medical or otherwise, and sell it as a company or get royalties for it. It’s not impossible to figure out, I have many friends who have taken a concept to market. Don’t overlook an invention as a fantastic means of attaining passive income.
Flynn, who blogs at Smart Passive Income and discusses his secrets at the Smart Passive Income podcast, defines passive income as “building online businesses that take advantage of systems of automations that allow transactions, cash flow and growth without requiring a real-time presence. We don’t have to trade our time for money one to one. Instead, we invest our time upfront, creating valuable products and experiences for people, and we reap the benefits of that time invested later,” he says, adding, “It’s not easy. I just want to make sure that’s clear.”

Bankrate.com is an independent, advertising-supported publisher and comparison service. Bankrate is compensated in exchange for featured placement of sponsored products and services, or your clicking on links posted on this website. This compensation may impact how, where and in what order products appear. Bankrate.com does not include all companies or all available products.


We’re currently at four and about to add a fifth. The more diverse the less risk. The less risk the lower the risk mitigation needs (ie insurance). We are high income but historically we’ve focused on the two w2 incomes and investment returns. At some early stages in your career focusing on your W-2 might yield better returns. Once you’ve got a certain level marginal gains from raises begins to decline. We’re at that stage where alternative income importance is increasing.
Overall income potential: Excellent – Although it’s very possible to make $0 with a niche site if it doesn’t receive traffic, you can also make a lot of money if you rank well for good keywords.  It’s not likely that you’ll make a living off one site, but they are generally easy to build.  If you can build one successfully, you can probably build several more.
Raviraj is the man behind moneyexcel.com. He is graduate in finance, engaged in blogging since 6 years. Moneyexcel blog is ranked as one of the Top 10 Personal Finance Blog in India. He is not affiliated with any financial product, service provider, agent or broker. The purpose of this blog is to spread financial awareness and help people in achieving excellence for money. Please note that the views expressed on this Blog/Comments are clarifications meant for reference and guidance of the readers to explore further on the topics. These should not be construed as investment advice or legal opinion.

I do remember you mentioning that & how it was your ticket to exit softly and give you time to build the passive income side. Most likely when I do exit it will either be through a sale of the business which would come along with a employment contract or if a worthy successor(s) can take it over, then the business is just another annuity throwing off income. Anyway, I’d enjoy writing a guest article after I survive the next few weeks of work and weddings.
This figure is based on purchasing power parity (PPP), which basically suggests that prices of goods in countries tend to equate under floating exchange rates and therefore people would be able to purchase the same quantity of goods in any country for a given sum of money. That is, the notion that a dollar should buy the same amount in all countries. Hence if a poor person in a poor country living on a dollar a day moved to the U.S. with no changes to their income, they would still be living on a dollar a day.

Inspired by you, I started a tax/personal finance a month ago. I figured if it works out, it will create a good side income for me. If not, at least I can use the blog to build my brand as a tax lawyer. Other than that, my current investment portfolio is heavily focused on index funds because of its historical performance and tax & cost efficiency. Right now my dividends income every year is about $14,000. I also have a good amount of unrealized capital gains every year from my investment, though I don’t count the capital gains as my passive income as they are paper gains, at least for now.


The first time I did affiliate marketing was way back in the day on my architecture exam website. I connected with a company that sold practice exams, which gave me $22 for every person who bought one of their exams via my site. Since then, I’ve generated over $250,000 simply by recommending that product alone. Again, this is a product that was not mine, but one that has still been helpful to my audience. This was all done with thousands of visitors a month. Not millions, or even hundreds of thousands.

There are many success stories you’ll run into of what it takes to generate multiple streams of income. However, one of the most important tips is to take on multiple clients. One client being your income source is bad news. They could voluntarily or involuntarily leave you high and dry. For instance, their business may begin to suffer and they no longer have the funds to pay you. Well, that is your income stream; gone without warning.
I found this to be a fascinating and most helpful book. It was so motivating I'm already working on three new streams of income, and about to start a fourth. Forget net worth! Cash flow is much more important, particularly if you're retired. Only one slight criticism of the book. It's a bit dated, but those few parts make little difference to its overall value. If you're currently struggling with how you're going to survive after you retire, try Allen's approach. It will open your eyes.
Because of safety concerns for the prospective applicant, as well as security and communication issues, the CIA Recruitment Center does not accept resumes, nor can we return phone calls, e-mails or other forms of communication, from US citizens living outside of the US. When you return permanently to the US (not on vacation or leave), please visit the CIA Careers page and apply online for the position of interest.
For economic growth and almost all of the other indicators, the last 20 years [of the current form of globalization, from 1980 - 2000] have shown a very clear decline in progress as compared with the previous two decades [1960 - 1980]. For each indicator, countries were divided into five roughly equal groups, according to what level the countries had achieved by the start of the period (1960 or 1980). Among the findings:
If you are unfortunate enough to find yourself no longer able to physically work in your chosen position, developing a skill set that will allow for a complete career change is a must. The passive income route as a second career is a great backup allowing you to hire out what you can’t physically do. Early on in my career I found I was unable to physically tolerate exposure to tobacco smoke. At that time, smoking was allowed in all offices, restaurants, etc. I was blindsided; who ever thought? It virtually removed me from most positions I had schooling for. As luck would have it, I had purchased a duplex while working and saved a small sum. When I had to leave my career, I made a down payment on another duplex doing any maintenance I could myself. If a physical setback of another sort should happen, I can hire.
Great breakout of some common items that are (mostly) accessible to individuals. My biggest issue with p2p is the ordinary interest it generates and the ordinary tax that we have to pay. That really takes a bite out of the returns. Fortunately, I opened an IRA with one of the providers to juice the return with zero additional risk. 6-8% nominal returns over a long period of time will make me very happy. It should end up as 5-7% of the portfolio anyway, so nothing too significant.
Portfolio income can come from multiple sources – interest/bond coupons, stock dividends, financial strategies including derivatives and capital growth.  Each offers some cash flow and some also offer potential capital gain with some risk from liquidity and volatile prices.  In this low-yield environment, many investors rely too heavily on cash flows and to pursue this are venturing further into riskier areas than they’d normally consider.
H&R Block has been approved by the California Tax Education Council to offer The H&R Block Income Tax Course, CTEC# 1040-QE-0889, which fulfills the 60-hour "qualifying education" requirement imposed by the State of California to become a tax preparer. A listing of additional requirements to register as a tax preparer may be obtained by contacting CTEC at P.O. Box 2890, Sacramento, CA 95812-2890; or at www.ctec.org. If you have issues enrolling in a class, please call 1-800-472-5625 for support.
The CPF is designed to assist Ethiopia in forging a more inclusive and sustainable growth path. Particularly, it supports a more spatially inclusive approach to development, one that leverages national programs to provide quality services to all areas. The CPF is helping to promote structural and economic transformation through increased productivity in rural and urban areas by focusing on basic education, access to markets, and job opportunities for youth. It is also helping to build resilience and inclusiveness (including gender equality) by improving safety nets, investing in productive landscapes, and focusing on the Early Years agenda.
Inspired by you, I started a tax/personal finance a month ago. I figured if it works out, it will create a good side income for me. If not, at least I can use the blog to build my brand as a tax lawyer. Other than that, my current investment portfolio is heavily focused on index funds because of its historical performance and tax & cost efficiency. Right now my dividends income every year is about $14,000. I also have a good amount of unrealized capital gains every year from my investment, though I don’t count the capital gains as my passive income as they are paper gains, at least for now.

Right now we have five, but we’ll probably cut that down to four at ER next year. Current: W-2, business income, rental income, interest on personal loan plus accounts, dividends and cap gains. Future: subtract W-2 for the most part, not counting little “fun work” projects. If we were looking to live the high life, we might aim for the millionaire’s seven sources, but we feel like our four sources will let us live very comfortably with plenty of contingency plans in place. 🙂
The challenge I’m facing and, I know it’s a good problem, is that the SF real estate has shot up about 35% in the last couple years. I’m sure you’re experiencing the same thing! So as the net worth is rising, the yield on the total portfolio is going down. Right now, it seems the only way to increase the passive income will be to raise the rent in December and to invest some of that cash in stocks, which I’m nervous to do in this market. Current allocation:
Another kind of dividend to collect is from real estate investment trusts, or REITs. They're companies that own real-estate-related assets, such as apartments, office buildings, shopping centers, medical buildings, storage units, and so on -- and they are required to pay out at least 90% of their earnings as dividends. They aim to keep their occupancy rates high, collect rents from tenants, and then reward shareholders with much of that income. If you're interested in real estate as a way to make money, check out these examples of REITs to consider as investments:
Nobody gets early FI investing in bonds, CD’s, or even stocks unless they make a huge income or are extremely frugal or a combination of both. Paper assets just don’t provide enough returns. Business income can be great but it is typically not as semi-passive as I would like and there is a relatively high failure rate. That is if you can monetize an ideal to begin with. RE investing needs to be higher ranked IMO as a way that the “average guy” can become FI.
DonebyForty Yes, that makes total sense! I hear you on the savings rate, too. I always figured I lived lean enough (and had enough saved up) that I could handle things even without my main source of income. However, after leaving my job last year and having a tough time with freelancing, I realized not having a job was more of a mental drain than a money one. I like knowing I have control and can call on another source of income and increase it when I need to. 

My favorite type of semi-passive income was rental property because it was a tangible asset that provided reliable income. As I grew older, my interest in rental property waned because I no longer had the patience and time to deal with maintenance issues and tenants. Online real estate became more attractive, along with tax-free municipal-bond income once rates started to rise.
I think more and more people are recognizing the advantages of having multiple sources of income, thanks to the Great Recession. It was a real wake-up call to many good workers who lost jobs not because of poor performance but due to restructuring and cost-savings. They never considered themselves to be vulnerable and they were. We do have multiple streams of income and a fully-funded emergency fund, which has helped my family weather the ups and down life has brought us, including job loss.
​If you pay your bills with a credit card make sure it offers cash back rewards. You can let your rewards accrue for a while and possibly put the easy money you earned toward another passive income venture! (Be sure that the card you select doesn’t have an annual fee or you might be cancelling out your rewards). Check out this list of the best Cashback Rewards Cards.
But then figure out your unique selling proposition, what advantage you can offer that the market currently lacks. “My advantage in the passive income marketing space is that I’m not afraid to share my failures or where my income comes from,” says Flynn, who details his impressive income every month. “Transparency is huge,” he says. Referring to the personal bio on his LEED exam site, he says, “You might think I’m not benefitting from putting my story on there, but it helps me establish a relationship with people there. I’m someone who went through the same experience people went through on the site.”
Passive income is earnings derived from a rental property, limited partnership or other enterprise in which a person is not actively involved. As with active income, passive income is usually taxable. However, it is often treated differently by the Internal Revenue Service (IRS). Portfolio income is considered passive income by some analysts, so dividends and interest would therefore be considered passive.
For instance, a business owner who works in the company she or he founded would have to pay an extra 15.3 percent in self-employment payroll taxes compared to someone who merely had a passive interest in the same limited liability company who would pay only income taxes. In other words, the same income earned actively would be taxed at a higher rate than if it were earned passively.
There’s a second downside to this model. Although I’ve done advertising and sponsorships in the past, and have made hundreds of thousands of dollars doing so, the truth is it takes a lot of time for this business model to start to generate income for you, because you need to build that audience first. In addition, what happens when you build your audience on a platform that ends up changing its algorithm, affecting how often you actually get seen by the audience you’ve built?
This world is a dangerous place to live, not because of the good people that often act in irrational and/or criminally wrongdoing ways within the confines of their individual minds, core or enterprise groups, but because of the good people that don’t do anything about it (like reveal the truth through education like Financial Samauri is doing!). Albert Einstein and Art Kleiner’s “Who Really Matters.”
For the 95% on $10 a day, see Martin Ravallion, Shaohua Chen and Prem Sangraula, Dollar a day revisited, World Bank, May 2008. They note that 95% of developing country population lived on less than $10 a day. Using 2005 population numbers, this is equivalent to just under 79.7% of world population, and does not include populations living on less than $10 a day from industrialized nations.
​Affiliate marketing is the practice of partnering with a company (becoming their affiliate) to receive a commission on a product. This method of generating income works the best for those with blogs and websites. Even then, it takes a long time to build up before it becomes passive. If you want to get started with affiliate marketing check out this great list of affiliate marketing programs.
How To Engineer Your Layoff – In 2012, it took me four months of absolute focus and two years of data to publish my first e-book about helping people negotiate a severance. The book went through over 30 revisions by four people. Then I updated the book for 2018 with 50 more pages (150 pages total) using more successful case studies and highlighting more strategies for those who want to break free with money in their pocket.
I’m still a big fan of InfoBarrel, Eric, even though I haven’t been able to write much. With what I am earning there, I’ve actually shifted to outsourcing quite a bit of content…call it a “respite” from writing, I had just needed a break. Even if one pays $5-$10 per article, IF the keywords are researched properly and effectively, one can easily turn that one article and earn several hundred off of it in it’s lifetime. Right now, one of my friends had written a single article that, already this month, has earned over $83 on InfoBarrel. Not too shabby at all…
In June, he put ads on his site with Google Adsense, and within the first hour, earned $1.08 with three clicks. He earned $5 the first day, $7 the second, and then eventually began pulling in $15-$30 a day. In October, he created an ebook exam study guide priced at $19.99. By month’s end, he earned $7,906.55 — more than he had ever previously earned in a month.
Regardless, it took me around 18 months to start turning a profit online. It started with around $100 per month, then grew to $200 per month. Then it kept growing and growing until, eventually, the money I earned online surpassed what I earned in my regular, 9-5 job. That was last year, and my online income is still growing. Believe it or not, it all came from starting this simple, yet effective, blog.

That $200,000 a year might sound like a lot to you, but the median home price in San Francisco is roughly $1.6 million or almost eight times our annual passive income. For a family of three in 2018, the Department of Housing and Urban Development declared that income of $105,700 or below was "low income." Therefore, I consider us firmly in the middle class.
The author speaks in circles a lot in this book. This is more of a motivational book than showing you how to do what the title suggests. Think of it as an "Idea Book". With that said, if you are looking for ideas on how you can diversify your income, then this book isn't terrible. But if you need to know step by step, then this IS NOT the book for you. If you are like me, you already know the concepts this book is referring to, you just do not know HOW to get started. I got one thing from this book that I thought was helpful -- "Tax Lien Certificates" -- look it up!

For example, you might take photos and have them available for a fee at sites such as shutterstock.com or istockphoto.com. Similarly, you can create and upload designs at sites such as zazzle.com and cafepress.com, where people can buy them imprinted on shirts, mugs, and so on. Similarly, if you write an e-book (which can be as short as 6,000 or so words), you might find that people are interested in buying it, perhaps via Amazon.com's direct publishing service.
If you’re into antiques, for example, you could check out garage sales for hidden deals then capitalize on your knowledge to turn a profit. Perhaps you’re into video games, specific brands of clothing, or something else. Whatever it is, with a little research, it’s possible to turn your knowledge into cash with an eBay store. Best of all, you can sell from the comfort of your own home.
These days most of my readers are sending queries on how to beat Recession. Salary Cut & Job Loss are newspaper headlines these days. The only solution to beat recession is to create Second Income. We agree that only thing constant in life is Change. Good times never lasts forever so as Bad times. The biggest mistake is to think otherwise i.e. Good time will last forever & Bad time will never come.
Use of (Tap) for Balance is governed by the H&R Block Mobile and Online Banking Online Bill Payment Agreement and Disclosure. Once activated, you can view your card balance on the login screen with a tap of your finger. You should enable the security features on your mobile device, because anyone who has access to it will be able to view your account balance. You also accept all risk associated with (Tap) for Balance, and agree that neither H&R Block, Axos Bank™ nor any of their respective parents or affiliated companies have any liability associated with its use. You will still be required to login to further manage your account.

"Rental properties provide a source of passive income and the possibility of overall appreciation of the property with tax advantages," Lou Cannataro, partner at Cannataro Park Avenue Financial, tells Bustle. "Our generation and those to follow will not have pensions, and social security is 'iffy,' at best. Rental properties can provide that constant income (people always need a place to live) that is not directly tied to the marketplace and one cannot outlive."


Tax Deducted at Source (TDS) is a means of collecting income tax in India, under the Indian Income Tax Act of 1961. Any payment covered under these provisions shall be paid after deducting prescribed percentage. It is managed by the Central Board for Direct Taxes (CBDT) and is part of the Department of Revenue managed by Indian Revenue Service . It has a great importance while conducting tax audits. Assessee is also required to file quarterly return to CBDT. Returns states the TDS deducted & paid to government during the Quarter to which it relates.

Dividends made sense 40 years ago as a relatively simple rule of thumb, but after all the work done by John Bogle with index investing, and academics with Monte Carlo sims and the 4% rule, dividend investing just isn’t the simplest, cleanest way to invest or receive passive income anymore. It’s actually significantly more risky compared to index investing, because dividend companies are a much smaller share of the total global economy compared to the broader indices.

Type of federal return filed is based on taxpayer's personal situation and IRS rules/regulations. Form 1040EZ is generally used by single/married taxpayers with taxable income under $100,000, no dependents, no itemized deductions, and certain types of income (including wages, salaries, tips, taxable scholarships or fellowship grants, and unemployment compensation). Additional fees apply with Earned Income Credit and you file any other returns such as city or local income tax returns, or if you select other products and services such as Refund Transfer. Available at participating U.S. locations.
It’s a (mostly) short term, higher risk, higher reward place to invest cash that has a low correlation with the stock market, but is far more passive than buying and managing properties, has more opportunity for diversification than private placements (minimums of 5-10K, rather than 100K), and most of the equity offerings (and all of the debt offerings) provide monthly or quarterly incomes. Unlike a REIT, you can choose exactly which projects you wish to invest in.

Seven of the ten counties in California with the lowest per capita incomes are located in the Central Valley. Two of the remaining three are rural counties in Northern California. This leaves Imperial County, which shares California's portion of the U.S.-Mexico border with San Diego County. All of these counties had populations not exceeding 1,000,000, and all of them are landlocked, with the exception of Del Norte County.
40 Hour Work Week Active Income aerospace amazon Blogging budgeting College Compounding Interest Cubicle-Life Day Job Debt Engineering entrepreneurship Freelance Writing goals Hard Work Hawaii Incentives Investing Loyalty Lyft Money Motivation Networking Overtime Paid Time Off Passion Passive Income Paycheck to Paycheck Real Estate San Diego savings Second source of income Self-Employed side hustle Side Income social media Taxes Time Management Uber Unpaid Time Off Vacation Work Work from home xbottom
San Francisco is an extreme example of a place in California with both a large population (829,072) and high per capita income ($49,986). In fact, it has the highest per capita income of all places in California with a population of over 100,000. Though Sunnyvale ($48,203), San Mateo ($46,782), Thousand Oaks ($46,231), and Carlsbad ($44,305) join San Francisco to make up the top five places in California with the highest per capita income in that population class, none of them have populations even close to San Francisco. The next place with a population similar to that of San Francisco that appears in the per capita income rankings is San Jose ($34,992), and at this point, the difference in per capita income with the entire state of California is only about $5,000.
I just can’t seem to get my head around creating my own online product. When you talk about it, you make it sound like its mostly just about putting in the time and plugging away at it. Problem is I can never seem to come up with any ideas for a site or product that seem remotely unique or compelling or that I have any special knowledge about. The stuff I do know about is pretty commodity type knowledge that can mostly be found on thousands of sites on the internet already. Any tips on discovering what your “unique angle” is? I mean, you have a pretty compelling and somewhat unique personal story of working on wall street and then walking away at a young age.
This can be a little easier said than done, but if you have a large social media following, you can definitely earn money promoting a product or advertising for a company. You can even combine this with different marketing campaigns if you are an influencer and have your own blog (advertisement + affiliate income). This is how many bloggers make money! Again, it is not 100% passive but once set up correctly and then scaled, can be surprisingly lucrative.
Anthony, nice setup! To your question about the rental mortgages, you haven’t said what interest rate you are paying. As a start, if you are paying more than the risk free rate (Treasury bills) which you probably are, then a true apples to apples comparison would be yes, pay off the mortgage. But, if you are comfortable taking more risk, you have other options to invest in which you *hope* will yield you more over the coming years. You also didn’t say whether the rentals generate net income and if so, how much? What is the implied rate of return on the equity you have invested in them? If you pay the mortgages off, you’ll have even more equity tied up, will the extra net income make that worthwhile? Maybe you should use the money to buy more rentals instead, if purchase opportunities still exist in your town. … this is less of an answer than a framework to analyze the decision, hope it is helpful.
That is a nice list of passive income sources. Actually, the most up-to-date list of dividend growth stocks is the list of dividend champions, maintained by Dave Fish. The list of dividend aristocrats is incomplete at best. For example, the dividend champions list has over 100 companies that have managed to increase dividends each year for at least 25 years in a row. The list of dividend aristocrats has no more than 50 – 60.
You can uses tools such as Wordpress for your website platform. MailChimp to collect email addresses. Clickfunnels to create funnels and landing pages that are completely automated. Stripe to process payments. These are just a few tools I use but there are many more options for each part of your business. Find the ones that work for you and help you create systems. (Disclaimer: I was not paid to mention any of these companies).
Blogging is still going to take work starting out. That path to $5,000 a month didn’t happen overnight but just like real estate development, it build up an asset that now creates constant cash flow whether I work or not. I get over 30,000 visitors a month from Google search rankings, rankings that will continue to send traffic even if I take a little time off.

One of the easiest ways to get exposure to dividend stocks is to buy ETFs like DVY, VYM, and NOBL or index funds. You can also pay an algorithmic advisor like Wealthfront to automatically invest your money for you at a low fee. In the long run, it is very hard to outperform any index, therefore, the key is to pay the lowest fees possible while being invested in the market. Wealthfront charges $0 in fees for the first $15,000 and only 0.25% for any money over $10,000. Invest your idle money cheaply, instead of letting it lose purchasing power due to inflation. The key is to invest regularly.
Crowdfunding is a newer way to invest, having emerged onto the scene just within the last few years. Most people have heard of sites like Kickstarter and GoFundMe, and a very similar concept exists for real estate. Developers are always looking to raise capital to fund their projects. Through the various online platforms, investors have access to these projects and can choose to invest in both residential and commercial properties. See the List of My Favorite Crowdfunding Sites.
OK, I know what you're thinking — maybe you're not a writer. However, as Tamez says above, chances are, you're an expert sy ~something~. Also, chances are that other people want to know what you know. So whether you write an eBook on dating or tips on how to fix your car, once you write, self-publish the book, and let it go, it can sit on a site like Amazon and sell itself. Of course, you can market it, too, but that's another story! Some sites let you keep most of the earnings, while others do not.

I do remember you mentioning that & how it was your ticket to exit softly and give you time to build the passive income side. Most likely when I do exit it will either be through a sale of the business which would come along with a employment contract or if a worthy successor(s) can take it over, then the business is just another annuity throwing off income. Anyway, I’d enjoy writing a guest article after I survive the next few weeks of work and weddings.
One of the easiest ways to increase your passive income is to shift your savings to a bank that pays a higher yield on your savings — for example, Discover Bank and EverBank pay almost 1% for your money. Although it doesn’t sound like much (especially in this low interest environment), little things do add up and eventually interest rates will rise.
What I did: I first identified my favorite places in the world to live: San Francisco, Honolulu, Paris, Amsterdam, New York City, and Lake Tahoe. I then looked up the median rent and housing prices for each city. Then I factored in private education costs for two kids to be conservative given I may not have two kids and public schools are often good enough. After calculating all vital costs, I then did a self-assessment of how happy I was making $50,000, $100,000, $150,000, $200,000, $250,000, $350,000, $500,000, and $750,000. I decided working 20 hours a week making $200,000 a year is the best income balance for maximum happiness. 
The second category of passive income is drawing on sources that do not require capital to start, maintain, and grow. These are far better choices for those who want to start out on their own and build a fortune from nothing. They include assets you can create, such as a book, song, patent, trademark, Internet site, recurring commissions, or businesses that earn nearly infinite returns on equity such as a drop-ship e-commerce retailer that has little or no money tied up in operations but still turns a profit.
!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,u="?";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){u(),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),l();else if(s)a=o.computeStackTrace(s),i(a,!0);else{var u={url:n,line:t,column:r};u.func=o.computeStackTrace.guessFunctionName(u.url,u.line),u.context=o.computeStackTrace.gatherContext(u.url,u.line),a={mode:"onerror",message:e,stack:[u]},i(a,!0)}return!!f&&f.apply(this,arguments)}function u(){!0!==d&&(f=n.onerror,n.onerror=s,d=!0)}function l(){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;l()}var t=o.computeStackTrace(e);throw w=t,m=e,p=a.call(arguments,1),n.setTimeout(function(){m===e&&l()},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="",l=10,c=t(e);if(!c.length)return u;for(var f=0;f0?s:null}function l(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function c(e){return l(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],u=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"),u=[],l=0;l=0&&(v.line=g+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,[_]);v={url:_,func:"",args:[],line:E?E.line:o[1],column:null}}if(v){v.func||(v.func=s(v.url,v.line));var k=a(v.url,v.line),A=k?k[Math.floor(k.length/2)]:null;k&&A.replace(/^\s*/,"")===i[y+1].replace(/^\s*/,"")?v.context=k:v.context=[i[y+1]],h.push(v)}}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 v(e,n){for(var t,r,i,a=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],c={},f=!1,p=v.caller;p&&!f;p=p.caller)if(p!==g&&p!==o.report){if(r={url:null,func:u,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===u&&(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,l.push(r)}n&&l.splice(0,n);var w={mode:"callers",name:e.name,message:e.message,stack:l};return y(w,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),w}function g(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=v(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 g(n,e+1)}}var x=!1,j={};return g.augmentStackTraceWithInitialElement=y,g.guessFunctionName=s,g.gatherContext=a,g.ofCaller=b,g.getSource=t,g}(),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"))}});
×