Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Exception context lines aren't properly JSON escaped #22

Open
auchenberg opened this issue Dec 18, 2015 · 0 comments
Open

Exception context lines aren't properly JSON escaped #22

auchenberg opened this issue Dec 18, 2015 · 0 comments
Labels

Comments

@auchenberg
Copy link
Contributor

Example file: https://www.bydsea.com/static/vendor.js?v=0.5.0

{
    "message": "Error: [$injector:modulerr] http://errors.angularjs.org/1.2.6/$injector/modulerr?p0=app&p1=Error%3A%20%5B%24injector%3Aunpr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.2.6%2F%24injector%2Funpr%3Fp0%3D%2524analyticsProvider%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A891%3A449%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A917%3A18%0A%20%20%20%20at%20c%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A915%3A134)%0A%20%20%20%20at%20Object.d%20%5Bas%20invoke%5D%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A915%3A311)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A914%3A243%0A%20%20%20%20at%20Array.forEach%20(native)%0A%20%20%20%20at%20q%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A892%3A274)%0A%20%20%20%20at%20e%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A914%3A56)%0A%20%20%20%20at%20Yb%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A917%3A125)",
    "culprit": "static/vendor.js?v=0.5.0",
    "exception": {
        "type": "Error",
        "value": "[$injector:modulerr] http://errors.angularjs.org/1.2.6/$injector/modulerr?p0=app&p1=Error%3A%20%5B%24injector%3Aunpr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.2.6%2F%24injector%2Funpr%3Fp0%3D%2524analyticsProvider%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A891%3A449%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A917%3A18%0A%20%20%20%20at%20c%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A915%3A134)%0A%20%20%20%20at%20Object.d%20%5Bas%20invoke%5D%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A915%3A311)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A914%3A243%0A%20%20%20%20at%20Array.forEach%20(native)%0A%20%20%20%20at%20q%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A892%3A274)%0A%20%20%20%20at%20e%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A914%3A56)%0A%20%20%20%20at%20Yb%20(http%3A%2F%2Flocalhost%3A3000%2Fstatic%2Fvendor.js%3Fv%3D0.5.0%3A917%3A125)"
    },
    "http": {
        "url": "http://localhost:3000/me"
    },
    "stacktrace": {
        "frames": [{
                    "filename": "static/main.js",
                    "lineno": 14,
                    "colno": 15,
                    "function": "<anonymous>",
                    "abs_path": "http://localhost:3000/static/main.js",
                    "in_app": true,
                    "pre_context": ["});", "", "// Bydsea boots with or without google maps, but we wait until we know it", "require([\'GoogleMapsLoader\', \'PubnubLoader\'],function(GoogleMapsLoader, PubnubLoader){", " GoogleMapsLoader.done(function(){", " PubnubLoader.done(function(){"],
                    "context_line": " angular.bootstrap(document.getElementById(\\"
                    bydsea - app\\ "), [\'app\']);",
                    "post_context": [" }).fail(function(){", " angular.bootstrap(document.getElementById(\\"
                        bydsea - app\\ "), [\'app\']);", " })", " }).fail(function(){", " PubnubLoader.done(function(){"
                    ]
                }, {
                    "filename": "static/vendor.js?v=0.5.0",
                    "lineno": 903,
                    "colno": 81,
                    "function": "Xb",
                    "abs_path": "http://localhost:3000/static/vendor.js?v=0.5.0",
                    "in_app": true,
                    "pre_context": ["d;if(c==typeof a&&\\"
                        object\\ "==c)if(I(b)){if(!I(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!ta(b[d],a[d]))return!1;return!0}}else{if(Ja(b))return Ja(a)&&b.getTime()==a.getTime();if(Za(b)&&Za(a))return b.toString()==a.toString();if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||ya(b)||ya(a)||I(a))return!1;c={};for(d in b)if(\\"
                        $\\ "!==d.charAt(0)&&!J(b[d])){if(!ta(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&\\"
                        $\\ "!==d.charAt(0)&&a[d]!==r&&!J(a[d]))return!1;return!0}return!1}", "function Sb(){return O.securityPolicy&&O.securityPolicy.isActive||O.querySelector&&!(!O.querySelector(\\" [ng - csp]\\
                        ")&&!O.querySelector(\\" [data - ng - csp]\\
                        "))}function qb(b,a){var c=2<arguments.length?ua.call(arguments,2):[];return!J(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,c.concat(ua.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}}function Qc(b,a){var c=a;\\"
                        string\\ "===typeof b&&\\"
                        $\\ "===b.charAt(0)?c=r:ya(a)?c=\\"
                        $WINDOW\\ ":", "a&&O===a?c=\\"
                        $DOCUMENT\\ ":a&&(a.$evalAsync&&a.$watch)&&(c=\\"
                        $SCOPE\\ ");return c}function oa(b,a){return\\"
                        undefined\\ "===typeof b?r:JSON.stringify(b,Qc,a?\\"\\
                        ":null)}function Tb(b){return E(b)?JSON.parse(b):b}function Ma(b){b&&0!==b.length?(b=C(\\"\\
                        "+b),b=!(\\"
                        f\\ "==b||\\"
                        0\\ "==b||\\"
                        false\\ "==b||\\"
                        no\\ "==b||\\"
                        n\\ "==b||\\" []\\
                        "==b)):b=!1;return b}function fa(b){b=u(b).clone();try{b.empty()}catch(a){}var c=u(\\" < div > \\").append(b).html();try{return 3===b[0].nodeType?C(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\\\\w\\\\-]+)/,function(a,b){return\\" < \\"+", "C(b)})}catch(d){return C(c)}}function Ub(b){try{return decodeURIComponent(b)}catch(a){}}function Vb(b){var a={},c,d;q((b||\\"\\
                        ").split(\\" & \\"),function(b){b&&(c=b.split(\\" = \\"),d=Ub(c[0]),v(d)&&(b=v(c[1])?Ub(c[1]):!0,a[d]?I(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Wb(b){var a=[];q(b,function(b,d){I(b)?q(b,function(b){a.push(va(d,!0)+(!0===b?\\"\\
                        ":\\" = \\"+va(b,!0)))}):a.push(va(d,!0)+(!0===b?\\"\\
                        ":\\" = \\"+va(b,!0)))});return a.length?a.join(\\" & \\"):\\"\\
                        "}function rb(b){return va(b,!0).replace(/%26/gi,\\" & \\").replace(/%3D/gi,", "\\" = \\").replace(/%2B/gi,\\" + \\")}function va(b,a){return encodeURIComponent(b).replace(/%40/gi,\\"
                        @\\ ").replace(/%3A/gi,\\": \\").replace(/%24/g,\\"
                        $\\ ").replace(/%2C/gi,\\", \\").replace(/%20/g,a?\\" % 20\\ ":\\" + \\")}function Rc(b,a){function c(a){a&&d.push(a)}var d=[b],e,g,f=[\\"
                        ng: app\\ ",\\"
                        ng - app\\ ",\\"
                        x - ng - app\\ ",\\"
                        data - ng - app\\ "],h=/\\\\sng[:\\\\-]app(:\\\\s*([\\\\w\\\\d_]+);?)?\\\\s/;q(f,function(a){f[a]=!0;c(O.getElementById(a));a=a.replace(\\": \\",\\"\\\\\\\\: \\");b.querySelectorAll&&(q(b.querySelectorAll(\\".\\
                        "+a),c),q(b.querySelectorAll(\\".\\
                        "+a+\\"\\\\\\\\: \\"),c),q(b.querySelectorAll(\\" [\\"+", "a+\\"]\\
                        "),c))});q(d,function(a){if(!e){var b=h.exec(\\"\\
                        "+a.className+\\"\\
                        ");b?(e=a,g=(b[2]||\\"\\
                        ").replace(/\\\\s+/g,\\", \\")):q(a.attributes,function(b){!e&&f[b.name]&&(e=a,g=b.value)})}});e&&a(e,g?[g]:[])}function Xb(b,a){var c=function(){b=u(b);if(b.injector()){var c=b[0]===O?\\"
                        document\\ ":fa(b);throw La(\\"
                        btstrpd\\ ",c);}a=a||[];a.unshift([\\"
                        $provide\\ ",function(a){a.value(\\"
                        $rootElement\\ ",b)}]);a.unshift(\\"
                        ng\\ ");c=Yb(a);c.invoke([\\"
                        $rootScope\\ ",\\"
                        $rootElement\\ ",\\"
                        $compile\\ ",\\"
                        $injector\\ ",\\"
                        $animate\\ ",function(a,b,c,d,e){a.$apply(function(){b.data(\\"
                        $injector\\ ","
                    ],
                    "context_line": "d);c(b)(a)})}]);return c},d=/^NG_DEFER_BOOTSTRAP!/;if(Y&&!d.test(Y.name))return c();Y.name=Y.name.replace(d,\\"\\
                    ");Na.resumeBootstrap=function(b){q(b,function(b){a.push(b)});c()}}function ab(b,a){a=a||\\"
                    _\\ ";return b.replace(Sc,function(b,d){return(d?a:\\"\\
                    ")+b.toLowerCase()})}function sb(b,a,c){if(!b)throw La(\\"
                    areq\\ ",a||\\" ? \\",c||\\"
                    required\\ ");return b}function Oa(b,a,c){c&&I(b)&&(b=b[b.length-1]);sb(J(b),a,\\"
                    not a
                    function,
                    got\\ "+(b&&\\"
                    object\\ "==typeof b?b.constructor.name||\\"
                    Object\\ ":typeof b));return b}function wa(b,",
                    "post_context" : ["a){if(\\"
                        hasOwnProperty\\ "===b)throw La(\\"
                        badname\\ ",a);}function tb(b,a,c){if(!a)return b;a=a.split(\\".\\
                        ");for(var d,e=b,g=a.length,f=0;f<g;f++)d=a[f],b&&(b=(e=b)[d]);return!c&&J(b)?qb(e,b):b}function ub(b){var a=b[0];b=b[b.length-1];if(a===b)return u(a);var c=[a];do{a=a.nextSibling;if(!a)break;c.push(a)}while(a!==b);return u(c)}function Tc(b){var a=s(\\"
                        $injector\\ "),c=s(\\"
                        ng\\ ");b=b.angular||(b.angular={});b.$$minErr=b.$$minErr||s;return b.module||(b.module=function(){var b={};return function(e,g,f){if(\\"
                        hasOwnProperty\\ "===", "e)throw c(\\"
                        badname\\ ",\\"
                        module\\ ");g&&b.hasOwnProperty(e)&&(b[e]=null);return b[e]||(b[e]=function(){function b(a,d,e){return function(){c[e||\\"
                        push\\ "]([a,d,arguments]);return n}}if(!g)throw a(\\"
                        nomod\\ ",e);var c=[],d=[],m=b(\\"
                        $injector\\ ",\\"
                        invoke\\ "),n={_invokeQueue:c,_runBlocks:d,requires:g,name:e,provider:b(\\"
                        $provide\\ ",\\"
                        provider\\ "),factory:b(\\"
                        $provide\\ ",\\"
                        factory\\ "),service:b(\\"
                        $provide\\ ",\\"
                        service\\ "),value:b(\\"
                        $provide\\ ",\\"
                        value\\ "),constant:b(\\"
                        $provide\\ ",\\"
                        constant\\ ",\\"
                        unshift\\ "),animation:b(\\"
                        $animateProvider\\ ",\\"
                        register\\ "),filter:b(\\"
                        $filterProvider\\ ",", "\\"
                        register\\ "),controller:b(\\"
                        $controllerProvider\\ ",\\"
                        register\\ "),directive:b(\\"
                        $compileProvider\\ ",\\"
                        directive\\ "),config:m,run:function(a){d.push(a);return this}};f&&m(f);return n}())}}())}function Pa(b){return b.replace(Uc,function(a,b,d,e){return e?d.toUpperCase():d}).replace(Vc,\\"
                        Moz$1\\ ")}function vb(b,a,c,d){function e(b){var e=c&&b?[this.filter(b)]:[this],l=a,k,m,n,p,t,w;if(!d||null!=b)for(;e.length;)for(k=e.shift(),m=0,n=k.length;m<n;m++)for(p=u(k[m]),l?p.triggerHandler(\\"
                        $destroy\\ "):l=!l,t=0,p=(w=p.children()).length;t<", "p;t++)e.push(Aa(w[t]));return g.apply(this,arguments)}var g=Aa.fn[b],g=g.$original||g;e.$original=g;Aa.fn[b]=e}function N(b){if(b instanceof N)return b;if(!(this instanceof N)){if(E(b)&&\\" < \\"!=b.charAt(0))throw wb(\\"
                        nosel\\ ");return new N(b)}if(E(b)){var a=O.createElement(\\"
                        div\\ ");a.innerHTML=\\" < div > & #160;</div>\\"+b;a.removeChild(a.firstChild);xb(this,a.childNodes);u(O.createDocumentFragment()).append(this)}else xb(this,b)}function yb(b){return b.cloneNode(!0)}function Ba(b){Zb(b);var a= 0;
                        for (b = b.childNodes || "," []; a < b.length; a++) Ba(b[a])
                    }

                    function $b(b, a, c, d) {
                        if (v(d)) throw wb(\\"offargs\\");
                        var e = ja(b, \\"events\\");
                        ja(b, \\"handle\\") && (D(a) ? q(e, function(a, c) {
                            zb(b, c, a);
                            delete e[c]
                        }) : q(a.split(\\" \\"), function(a) {
                            D(c) ? (zb(b, a, e[a]), delete e[a]) : Ka(e[a] || [], c)
                        }))
                    }

                    function Zb(b, a) {
                        var c = b[bb],
                            d = Qa[c];
                        d && (a ? delete Qa[c].data[a] : (d.handle && (d.events.$destroy && d.handle({}, \\"$destroy\\"), $b(b)), delete Qa[c], b[bb] = r))
                    }

                    function ja(b, a, c) {
                        var d = b[bb],
                            d = Qa[d || -1];
                        if (v(c)) d || (b[bb] = d = ++Wc, d = Qa[d] = {}), d[a] = c;
                        else return d && d[a]
                    }

                    function ac(b, "]},{"
                        filename ":"
                        static / vendor.js ? v = 0.5 .0 ","
                        lineno ":902,"
                        colno ":394,"
                        function ":"
                        c ","
                        abs_path ":"
                        http : //localhost:3000/static/vendor.js?v=0.5.0","in_app":true,"pre_context":["a)throw La(\\"cpi\\");if(I(b))for(var c=a.length=0;c<b.length;c++)a.push(ea(b[c]));else{c=a.$$hashKey;q(a,function(b,c){delete a[c]});for(var d in b)a[d]=ea(b[d]);Pb(a,c)}}else(a=b)&&(I(b)?a=ea(b,[]):Ja(b)?a=new Date(b.getTime()):Za(b)?a=RegExp(b.source):V(b)&&(a=ea(b,{})));return a}function Rb(b,a){a=a||{};for(var c in b)b.hasOwnProperty(c)&&(\\"$\\"!==c.charAt(0)&&\\"$\\"!==c.charAt(1))&&(a[c]=b[c]);return a}function ta(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,","d;if(c==typeof a&&\\"object\\"==c)if(I(b)){if(!I(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!ta(b[d],a[d]))return!1;return!0}}else{if(Ja(b))return Ja(a)&&b.getTime()==a.getTime();if(Za(b)&&Za(a))return b.toString()==a.toString();if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||ya(b)||ya(a)||I(a))return!1;c={};for(d in b)if(\\"$\\"!==d.charAt(0)&&!J(b[d])){if(!ta(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&\\"$\\"!==d.charAt(0)&&a[d]!==r&&!J(a[d]))return!1;return!0}return!1}","function Sb(){return O.securityPolicy&&O.securityPolicy.isActive||O.querySelector&&!(!O.querySelector(\\"[ng-csp]\\")&&!O.querySelector(\\"[data-ng-csp]\\"))}function qb(b,a){var c=2<arguments.length?ua.call(arguments,2):[];return!J(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,c.concat(ua.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}}function Qc(b,a){var c=a;\\"string\\"===typeof b&&\\"$\\"===b.charAt(0)?c=r:ya(a)?c=\\"$WINDOW\\":","a&&O===a?c=\\"$DOCUMENT\\":a&&(a.$evalAsync&&a.$watch)&&(c=\\"$SCOPE\\");return c}function oa(b,a){return\\"undefined\\"===typeof b?r:JSON.stringify(b,Qc,a?\\" \\":null)}function Tb(b){return E(b)?JSON.parse(b):b}function Ma(b){b&&0!==b.length?(b=C(\\"\\"+b),b=!(\\"f\\"==b||\\"0\\"==b||\\"false\\"==b||\\"no\\"==b||\\"n\\"==b||\\"[]\\"==b)):b=!1;return b}function fa(b){b=u(b).clone();try{b.empty()}catch(a){}var c=u(\\"<div>\\").append(b).html();try{return 3===b[0].nodeType?C(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\\\\w\\\\-]+)/,function(a,b){return\\"<\\"+","C(b)})}catch(d){return C(c)}}function Ub(b){try{return decodeURIComponent(b)}catch(a){}}function Vb(b){var a={},c,d;q((b||\\"\\").split(\\"&\\"),function(b){b&&(c=b.split(\\"=\\"),d=Ub(c[0]),v(d)&&(b=v(c[1])?Ub(c[1]):!0,a[d]?I(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Wb(b){var a=[];q(b,function(b,d){I(b)?q(b,function(b){a.push(va(d,!0)+(!0===b?\\"\\":\\"=\\"+va(b,!0)))}):a.push(va(d,!0)+(!0===b?\\"\\":\\"=\\"+va(b,!0)))});return a.length?a.join(\\"&\\"):\\"\\"}function rb(b){return va(b,!0).replace(/%26/gi,\\"&\\").replace(/%3D/gi,","\\"=\\").replace(/%2B/gi,\\"+\\")}function va(b,a){return encodeURIComponent(b).replace(/%40/gi,\\"@\\").replace(/%3A/gi,\\":\\").replace(/%24/g,\\"$\\").replace(/%2C/gi,\\",\\").replace(/%20/g,a?\\"%20\\":\\"+\\")}function Rc(b,a){function c(a){a&&d.push(a)}var d=[b],e,g,f=[\\"ng:app\\",\\"ng-app\\",\\"x-ng-app\\",\\"data-ng-app\\"],h=/\\\\sng[:\\\\-]app(:\\\\s*([\\\\w\\\\d_]+);?)?\\\\s/;q(f,function(a){f[a]=!0;c(O.getElementById(a));a=a.replace(\\":\\",\\"\\\\\\\\:\\");b.querySelectorAll&&(q(b.querySelectorAll(\\".\\"+a),c),q(b.querySelectorAll(\\".\\"+a+\\"\\\\\\\\:\\"),c),q(b.querySelectorAll(\\"[\\"+"],"context_line":"a+\\"]\\"),c))});q(d,function(a){if(!e){var b=h.exec(\\" \\"+a.className+\\" \\");b?(e=a,g=(b[2]||\\"\\").replace(/\\\\s+/g,\\",\\")):q(a.attributes,function(b){!e&&f[b.name]&&(e=a,g=b.value)})}});e&&a(e,g?[g]:[])}function Xb(b,a){var c=function(){b=u(b);if(b.injector()){var c=b[0]===O?\\"document\\":fa(b);throw La(\\"btstrpd\\",c);}a=a||[];a.unshift([\\"$provide\\",function(a){a.value(\\"$rootElement\\",b)}]);a.unshift(\\"ng\\");c=Yb(a);c.invoke([\\"$rootScope\\",\\"$rootElement\\",\\"$compile\\",\\"$injector\\",\\"$animate\\",function(a,b,c,d,e){a.$apply(function(){b.data(\\"$injector\\",","post_context":["d);c(b)(a)})}]);return c},d=/^NG_DEFER_BOOTSTRAP!/;if(Y&&!d.test(Y.name))return c();Y.name=Y.name.replace(d,\\"\\");Na.resumeBootstrap=function(b){q(b,function(b){a.push(b)});c()}}function ab(b,a){a=a||\\"_\\";return b.replace(Sc,function(b,d){return(d?a:\\"\\")+b.toLowerCase()})}function sb(b,a,c){if(!b)throw La(\\"areq\\",a||\\"?\\",c||\\"required\\");return b}function Oa(b,a,c){c&&I(b)&&(b=b[b.length-1]);sb(J(b),a,\\"not a function, got \\"+(b&&\\"object\\"==typeof b?b.constructor.name||\\"Object\\":typeof b));return b}function wa(b,","a){if(\\"hasOwnProperty\\"===b)throw La(\\"badname\\",a);}function tb(b,a,c){if(!a)return b;a=a.split(\\".\\");for(var d,e=b,g=a.length,f=0;f<g;f++)d=a[f],b&&(b=(e=b)[d]);return!c&&J(b)?qb(e,b):b}function ub(b){var a=b[0];b=b[b.length-1];if(a===b)return u(a);var c=[a];do{a=a.nextSibling;if(!a)break;c.push(a)}while(a!==b);return u(c)}function Tc(b){var a=s(\\"$injector\\"),c=s(\\"ng\\");b=b.angular||(b.angular={});b.$$minErr=b.$$minErr||s;return b.module||(b.module=function(){var b={};return function(e,g,f){if(\\"hasOwnProperty\\"===","e)throw c(\\"badname\\",\\"module\\");g&&b.hasOwnProperty(e)&&(b[e]=null);return b[e]||(b[e]=function(){function b(a,d,e){return function(){c[e||\\"push\\"]([a,d,arguments]);return n}}if(!g)throw a(\\"nomod\\",e);var c=[],d=[],m=b(\\"$injector\\",\\"invoke\\"),n={_invokeQueue:c,_runBlocks:d,requires:g,name:e,provider:b(\\"$provide\\",\\"provider\\"),factory:b(\\"$provide\\",\\"factory\\"),service:b(\\"$provide\\",\\"service\\"),value:b(\\"$provide\\",\\"value\\"),constant:b(\\"$provide\\",\\"constant\\",\\"unshift\\"),animation:b(\\"$animateProvider\\",\\"register\\"),filter:b(\\"$filterProvider\\",","\\"register\\"),controller:b(\\"$controllerProvider\\",\\"register\\"),directive:b(\\"$compileProvider\\",\\"directive\\"),config:m,run:function(a){d.push(a);return this}};f&&m(f);return n}())}}())}function Pa(b){return b.replace(Uc,function(a,b,d,e){return e?d.toUpperCase():d}).replace(Vc,\\"Moz$1\\")}function vb(b,a,c,d){function e(b){var e=c&&b?[this.filter(b)]:[this],l=a,k,m,n,p,t,w;if(!d||null!=b)for(;e.length;)for(k=e.shift(),m=0,n=k.length;m<n;m++)for(p=u(k[m]),l?p.triggerHandler(\\"$destroy\\"):l=!l,t=0,p=(w=p.children()).length;t<","p;t++)e.push(Aa(w[t]));return g.apply(this,arguments)}var g=Aa.fn[b],g=g.$original||g;e.$original=g;Aa.fn[b]=e}function N(b){if(b instanceof N)return b;if(!(this instanceof N)){if(E(b)&&\\"<\\"!=b.charAt(0))throw wb(\\"nosel\\");return new N(b)}if(E(b)){var a=O.createElement(\\"div\\");a.innerHTML=\\"<div>&#160;</div>\\"+b;a.removeChild(a.firstChild);xb(this,a.childNodes);u(O.createDocumentFragment()).append(this)}else xb(this,b)}function yb(b){return b.cloneNode(!0)}function Ba(b){Zb(b);var a=0;for(b=b.childNodes||"]},{"filename":"static/vendor.js?v=0.5.0","lineno":917,"colno":125,"function":"Yb","abs_path":"http://localhost:3000/static/vendor.js?v=0.5.0","in_app":true,"pre_context":["function cc(b){for(var a=0,c=b.childNodes;a<c.length;a++)Ba(c[a]);for(;b.firstChild;)b.removeChild(b.firstChild)}function dc(b,a){var c=db[a.toLowerCase()];return c&&ec[b.nodeName]&&c}function Xc(b,a){var c=function(c,e){c.preventDefault||(c.preventDefault=function(){c.returnValue=!1});c.stopPropagation||(c.stopPropagation=function(){c.cancelBubble=!0});c.target||(c.target=c.srcElement||O);if(D(c.defaultPrevented)){var g=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;g.call(c)};","c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented||!1===c.returnValue};var f=Rb(a[e||c.type]||[]);q(f,function(a){a.call(b,c)});8>=L?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function Ca(b){var a=typeof b,c;\\"object\\"==a&&null!==b?\\"function\\"==typeof(c=b.$$hashKey)?c=b.$$hashKey():c===r&&(c=b.$$hashKey=Xa()):c=b;return a+\\":\\"+c}function Ra(b){q(b,","this.put,this)}function fc(b){var a,c;\\"function\\"==typeof b?(a=b.$inject)||(a=[],b.length&&(c=b.toString().replace(Yc,\\"\\"),c=c.match(Zc),q(c[1].split($c),function(b){b.replace(ad,function(b,c,d){a.push(d)})})),b.$inject=a):I(b)?(c=b.length-1,Oa(b[c],\\"fn\\"),a=b.slice(0,c)):Oa(b,\\"fn\\",!0);return a}function Yb(b){function a(a){return function(b,c){if(V(b))q(b,Ob(a));else return a(b,c)}}function c(a,b){wa(a,\\"service\\");if(J(b)||I(b))b=n.instantiate(b);if(!b.$get)throw Sa(\\"pget\\",a);return m[a+h]=b}function d(a,","b){return c(a,{$get:b})}function e(a){var b=[],c,d,g,h;q(a,function(a){if(!k.get(a)){k.put(a,!0);try{if(E(a))for(c=Ta(a),b=b.concat(e(c.requires)).concat(c._runBlocks),d=c._invokeQueue,g=0,h=d.length;g<h;g++){var f=d[g],l=n.get(f[0]);l[f[1]].apply(l,f[2])}else J(a)?b.push(n.invoke(a)):I(a)?b.push(n.invoke(a)):Oa(a,\\"module\\")}catch(m){throw I(a)&&(a=a[a.length-1]),m.message&&(m.stack&&-1==m.stack.indexOf(m.message))&&(m=m.message+\\"\\\\n\\"+m.stack),Sa(\\"modulerr\\",a,m.stack||m.message||m);}}});return b}function g(a,","b){function c(d){if(a.hasOwnProperty(d)){if(a[d]===f)throw Sa(\\"cdep\\",l.join(\\" <- \\"));return a[d]}try{return l.unshift(d),a[d]=f,a[d]=b(d)}finally{l.shift()}}function d(a,b,e){var g=[],h=fc(a),f,k,l;k=0;for(f=h.length;k<f;k++){l=h[k];if(\\"string\\"!==typeof l)throw Sa(\\"itkn\\",l);g.push(e&&e.hasOwnProperty(l)?e[l]:c(l))}a.$inject||(a=a[f]);return a.apply(b,g)}return{invoke:d,instantiate:function(a,b){var c=function(){},e;c.prototype=(I(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return V(e)||J(e)?","e:c},get:c,annotate:fc,has:function(b){return m.hasOwnProperty(b+h)||a.hasOwnProperty(b)}}}var f={},h=\\"Provider\\",l=[],k=new Ra,m={$provide:{provider:a(c),factory:a(d),service:a(function(a,b){return d(a,[\\"$injector\\",function(a){return a.instantiate(b)}])}),value:a(function(a,b){return d(a,Z(b))}),constant:a(function(a,b){wa(a,\\"constant\\");m[a]=b;p[a]=b}),decorator:function(a,b){var c=n.get(a+h),d=c.$get;c.$get=function(){var a=t.invoke(d,c);return t.invoke(b,null,{$delegate:a})}}}},n=m.$injector=g(m,"],"context_line":"function(){throw Sa(\\"unpr\\",l.join(\\" <- \\"));}),p={},t=p.$injector=g(p,function(a){a=n.get(a+h);return t.invoke(a.$get,a)});q(e(b),function(a){t.invoke(a||y)});return t}function bd(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=[\\"$window\\",\\"$location\\",\\"$rootScope\\",function(a,c,d){function e(a){var b=null;q(a,function(a){b||\\"a\\"!==C(a.nodeName)||(b=a)});return b}function g(){var b=c.hash(),d;b?(d=f.getElementById(b))?d.scrollIntoView():(d=e(f.getElementsByName(b)))?d.scrollIntoView():","post_context":["\\"top\\"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var f=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(g)});return g}]}function cd(b,a,c,d){function e(a){try{a.apply(null,ua.call(arguments,1))}finally{if(w--,0===w)for(;A.length;)try{A.pop()()}catch(b){c.error(b)}}}function g(a,b){(function T(){q(F,function(a){a()});H=b(T,a)})()}function f(){B=null;S!=h.url()&&(S=h.url(),q($,function(a){a(h.url())}))}var h=this,l=a[0],k=b.location,m=b.history,n=b.setTimeout,p=b.clearTimeout,t=","{};h.isMock=!1;var w=0,A=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){w++};h.notifyWhenNoOutstandingRequests=function(a){q(F,function(a){a()});0===w?a():A.push(a)};var F=[],H;h.addPollFn=function(a){D(H)&&g(100,n);F.push(a);return a};var S=k.href,z=a.find(\\"base\\"),B=null;h.url=function(a,c){k!==b.location&&(k=b.location);if(a){if(S!=a)return S=a,d.history?c?m.replaceState(null,\\"\\",a):(m.pushState(null,\\"\\",a),z.attr(\\"href\\",z.attr(\\"href\\"))):(B=a,c?k.replace(a):k.href=a),","h}else return B||k.href.replace(/%27/g,\\"\'\\")};var $=[],M=!1;h.onUrlChange=function(a){if(!M){if(d.history)u(b).on(\\"popstate\\",f);if(d.hashchange)u(b).on(\\"hashchange\\",f);else h.addPollFn(f);M=!0}$.push(a);return a};h.baseHref=function(){var a=z.attr(\\"href\\");return a?a.replace(/^https?\\\\:\\\\/\\\\/[^\\\\/]*/,\\"\\"):\\"\\"};var W={},ka=\\"\\",Q=h.baseHref();h.cookies=function(a,b){var d,e,g,h;if(a)b===r?l.cookie=escape(a)+\\"=;path=\\"+Q+\\";expires=Thu, 01 Jan 1970 00:00:00 GMT\\":E(b)&&(d=(l.cookie=escape(a)+\\"=\\"+escape(b)+\\";path=\\"+","Q).length+1,4096<d&&c.warn(\\"Cookie \'\\"+a+\\"\' possibly not set or overflowed because it was too large (\\"+d+\\" > 4096 bytes)!\\"));else{if(l.cookie!==ka)for(ka=l.cookie,d=ka.split(\\"; \\"),W={},g=0;g<d.length;g++)e=d[g],h=e.indexOf(\\"=\\"),0<h&&(a=unescape(e.substring(0,h)),W[a]===r&&(W[a]=unescape(e.substring(h+1))));return W}};h.defer=function(a,b){var c;w++;c=n(function(){delete t[c];e(a)},b||0);t[c]=!0;return c};h.defer.cancel=function(a){return t[a]?(delete t[a],p(a),e(y),!0):!1}}function dd(){this.$get=","[\\"$window\\",\\"$log\\",\\"$sniffer\\",\\"$document\\",function(b,a,c,d){return new cd(b,d,a,c)}]}function ed(){this.$get=function(){function b(b,d){function e(a){a!=n&&(p?p==a&&(p=a.n):p=a,g(a.n,a.p),g(a,n),n=a,n.n=null)}function g(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw s(\\"$cacheFactory\\")(\\"iid\\",b);var f=0,h=x({},d,{id:b}),l={},k=d&&d.capacity||Number.MAX_VALUE,m={},n=null,p=null;return a[b]={put:function(a,b){var c=m[a]||(m[a]={key:a});e(c);if(!D(b))return a in l||f++,l[a]=b,f>k&&this.remove(p.key),"]},{"filename":"static/vendor.js?v=0.5.0","lineno":914,"colno":56,"function":"e","abs_path":"http://localhost:3000/static/vendor.js?v=0.5.0","in_app":true,"pre_context":["[];a<b.length;a++)Ba(b[a])}function $b(b,a,c,d){if(v(d))throw wb(\\"offargs\\");var e=ja(b,\\"events\\");ja(b,\\"handle\\")&&(D(a)?q(e,function(a,c){zb(b,c,a);delete e[c]}):q(a.split(\\" \\"),function(a){D(c)?(zb(b,a,e[a]),delete e[a]):Ka(e[a]||[],c)}))}function Zb(b,a){var c=b[bb],d=Qa[c];d&&(a?delete Qa[c].data[a]:(d.handle&&(d.events.$destroy&&d.handle({},\\"$destroy\\"),$b(b)),delete Qa[c],b[bb]=r))}function ja(b,a,c){var d=b[bb],d=Qa[d||-1];if(v(c))d||(b[bb]=d=++Wc,d=Qa[d]={}),d[a]=c;else return d&&d[a]}function ac(b,","a,c){var d=ja(b,\\"data\\"),e=v(c),g=!e&&v(a),f=g&&!V(a);d||f||ja(b,\\"data\\",d={});if(e)d[a]=c;else if(g){if(f)return d&&d[a];x(d,a)}else return d}function Ab(b,a){return b.getAttribute?-1<(\\" \\"+(b.getAttribute(\\"class\\")||\\"\\")+\\" \\").replace(/[\\\\n\\\\t]/g,\\" \\").indexOf(\\" \\"+a+\\" \\"):!1}function Bb(b,a){a&&b.setAttribute&&q(a.split(\\" \\"),function(a){b.setAttribute(\\"class\\",aa((\\" \\"+(b.getAttribute(\\"class\\")||\\"\\")+\\" \\").replace(/[\\\\n\\\\t]/g,\\" \\").replace(\\" \\"+aa(a)+\\" \\",\\" \\")))})}function Cb(b,a){if(a&&b.setAttribute){var c=(\\" \\"+","(b.getAttribute(\\"class\\")||\\"\\")+\\" \\").replace(/[\\\\n\\\\t]/g,\\" \\");q(a.split(\\" \\"),function(a){a=aa(a);-1===c.indexOf(\\" \\"+a+\\" \\")&&(c+=a+\\" \\")});b.setAttribute(\\"class\\",aa(c))}}function xb(b,a){if(a){a=a.nodeName||!v(a.length)||ya(a)?[a]:a;for(var c=0;c<a.length;c++)b.push(a[c])}}function bc(b,a){return cb(b,\\"$\\"+(a||\\"ngController\\")+\\"Controller\\")}function cb(b,a,c){b=u(b);9==b[0].nodeType&&(b=b.find(\\"html\\"));for(a=I(a)?a:[a];b.length;){for(var d=0,e=a.length;d<e;d++)if((c=b.data(a[d]))!==r)return c;b=b.parent()}}","function cc(b){for(var a=0,c=b.childNodes;a<c.length;a++)Ba(c[a]);for(;b.firstChild;)b.removeChild(b.firstChild)}function dc(b,a){var c=db[a.toLowerCase()];return c&&ec[b.nodeName]&&c}function Xc(b,a){var c=function(c,e){c.preventDefault||(c.preventDefault=function(){c.returnValue=!1});c.stopPropagation||(c.stopPropagation=function(){c.cancelBubble=!0});c.target||(c.target=c.srcElement||O);if(D(c.defaultPrevented)){var g=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;g.call(c)};","c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented||!1===c.returnValue};var f=Rb(a[e||c.type]||[]);q(f,function(a){a.call(b,c)});8>=L?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function Ca(b){var a=typeof b,c;\\"object\\"==a&&null!==b?\\"function\\"==typeof(c=b.$$hashKey)?c=b.$$hashKey():c===r&&(c=b.$$hashKey=Xa()):c=b;return a+\\":\\"+c}function Ra(b){q(b,","this.put,this)}function fc(b){var a,c;\\"function\\"==typeof b?(a=b.$inject)||(a=[],b.length&&(c=b.toString().replace(Yc,\\"\\"),c=c.match(Zc),q(c[1].split($c),function(b){b.replace(ad,function(b,c,d){a.push(d)})})),b.$inject=a):I(b)?(c=b.length-1,Oa(b[c],\\"fn\\"),a=b.slice(0,c)):Oa(b,\\"fn\\",!0);return a}function Yb(b){function a(a){return function(b,c){if(V(b))q(b,Ob(a));else return a(b,c)}}function c(a,b){wa(a,\\"service\\");if(J(b)||I(b))b=n.instantiate(b);if(!b.$get)throw Sa(\\"pget\\",a);return m[a+h]=b}function d(a,"],"context_line":"b){return c(a,{$get:b})}function e(a){var b=[],c,d,g,h;q(a,function(a){if(!k.get(a)){k.put(a,!0);try{if(E(a))for(c=Ta(a),b=b.concat(e(c.requires)).concat(c._runBlocks),d=c._invokeQueue,g=0,h=d.length;g<h;g++){var f=d[g],l=n.get(f[0]);l[f[1]].apply(l,f[2])}else J(a)?b.push(n.invoke(a)):I(a)?b.push(n.invoke(a)):Oa(a,\\"module\\")}catch(m){throw I(a)&&(a=a[a.length-1]),m.message&&(m.stack&&-1==m.stack.indexOf(m.message))&&(m=m.message+\\"\\\\n\\"+m.stack),Sa(\\"modulerr\\",a,m.stack||m.message||m);}}});return b}function g(a,","post_context":["b){function c(d){if(a.hasOwnProperty(d)){if(a[d]===f)throw Sa(\\"cdep\\",l.join(\\" <- \\"));return a[d]}try{return l.unshift(d),a[d]=f,a[d]=b(d)}finally{l.shift()}}function d(a,b,e){var g=[],h=fc(a),f,k,l;k=0;for(f=h.length;k<f;k++){l=h[k];if(\\"string\\"!==typeof l)throw Sa(\\"itkn\\",l);g.push(e&&e.hasOwnProperty(l)?e[l]:c(l))}a.$inject||(a=a[f]);return a.apply(b,g)}return{invoke:d,instantiate:function(a,b){var c=function(){},e;c.prototype=(I(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return V(e)||J(e)?","e:c},get:c,annotate:fc,has:function(b){return m.hasOwnProperty(b+h)||a.hasOwnProperty(b)}}}var f={},h=\\"Provider\\",l=[],k=new Ra,m={$provide:{provider:a(c),factory:a(d),service:a(function(a,b){return d(a,[\\"$injector\\",function(a){return a.instantiate(b)}])}),value:a(function(a,b){return d(a,Z(b))}),constant:a(function(a,b){wa(a,\\"constant\\");m[a]=b;p[a]=b}),decorator:function(a,b){var c=n.get(a+h),d=c.$get;c.$get=function(){var a=t.invoke(d,c);return t.invoke(b,null,{$delegate:a})}}}},n=m.$injector=g(m,","function(){throw Sa(\\"unpr\\",l.join(\\" <- \\"));}),p={},t=p.$injector=g(p,function(a){a=n.get(a+h);return t.invoke(a.$get,a)});q(e(b),function(a){t.invoke(a||y)});return t}function bd(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=[\\"$window\\",\\"$location\\",\\"$rootScope\\",function(a,c,d){function e(a){var b=null;q(a,function(a){b||\\"a\\"!==C(a.nodeName)||(b=a)});return b}function g(){var b=c.hash(),d;b?(d=f.getElementById(b))?d.scrollIntoView():(d=e(f.getElementsByName(b)))?d.scrollIntoView():","\\"top\\"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var f=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(g)});return g}]}function cd(b,a,c,d){function e(a){try{a.apply(null,ua.call(arguments,1))}finally{if(w--,0===w)for(;A.length;)try{A.pop()()}catch(b){c.error(b)}}}function g(a,b){(function T(){q(F,function(a){a()});H=b(T,a)})()}function f(){B=null;S!=h.url()&&(S=h.url(),q($,function(a){a(h.url())}))}var h=this,l=a[0],k=b.location,m=b.history,n=b.setTimeout,p=b.clearTimeout,t=","{};h.isMock=!1;var w=0,A=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){w++};h.notifyWhenNoOutstandingRequests=function(a){q(F,function(a){a()});0===w?a():A.push(a)};var F=[],H;h.addPollFn=function(a){D(H)&&g(100,n);F.push(a);return a};var S=k.href,z=a.find(\\"base\\"),B=null;h.url=function(a,c){k!==b.location&&(k=b.location);if(a){if(S!=a)return S=a,d.history?c?m.replaceState(null,\\"\\",a):(m.pushState(null,\\"\\",a),z.attr(\\"href\\",z.attr(\\"href\\"))):(B=a,c?k.replace(a):k.href=a),"]},{"filename":"static/vendor.js?v=0.5.0","lineno":892,"colno":274,"function":"q","abs_path":"http://localhost:3000/static/vendor.js?v=0.5.0","in_app":true,"pre_context":["/*"," AngularJS v1.2.6"," (c) 2010-2014 Google, Inc. http://angularjs.org"," License: MIT","*/","(function(Y,O,r){\'use strict\';function s(b){return function(){var a=arguments[0],c,a=\\"[\\"+(b?b+\\":\\":\\"\\")+a+\\"] http://errors.angularjs.org/1.2.6/\\"+(b?b+\\"/\\":\\"\\")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?\\"?\\":\\"&\\")+\\"p\\"+(c-1)+\\"=\\"+encodeURIComponent(\\"function\\"==typeof arguments[c]?arguments[c].toString().replace(/ \\\\{[\\\\s\\\\S]*$/,\\"\\"):\\"undefined\\"==typeof arguments[c]?\\"undefined\\":\\"string\\"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function ob(b){if(null==b||ya(b))return!1;var a="],"context_line":"b.length;return 1===b.nodeType&&a?!0:E(b)||I(b)||0===a||\\"number\\"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d;if(b)if(J(b))for(d in b)\\"prototype\\"==d||(\\"length\\"==d||\\"name\\"==d||b.hasOwnProperty&&!b.hasOwnProperty(d))||a.call(c,b[d],d);else if(b.forEach&&b.forEach!==q)b.forEach(a,c);else if(ob(b))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function Nb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function Nc(b,","post_context":["a,c){for(var d=Nb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function Ob(b){return function(a,c){b(c,a)}}function Xa(){for(var b=ia.length,a;b;){b--;a=ia[b].charCodeAt(0);if(57==a)return ia[b]=\\"A\\",ia.join(\\"\\");if(90==a)ia[b]=\\"0\\";else return ia[b]=String.fromCharCode(a+1),ia.join(\\"\\")}ia.unshift(\\"0\\");return ia.join(\\"\\")}function Pb(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function x(b){var a=b.$$hashKey;q(arguments,function(a){a!==b&&q(a,function(a,c){b[c]=a})});Pb(b,a);return b}function P(b){return parseInt(b,","10)}function Qb(b,a){return x(new (x(function(){},{prototype:b})),a)}function y(){}function za(b){return b}function Z(b){return function(){return b}}function D(b){return\\"undefined\\"===typeof b}function v(b){return\\"undefined\\"!==typeof b}function V(b){return null!=b&&\\"object\\"===typeof b}function E(b){return\\"string\\"===typeof b}function pb(b){return\\"number\\"===typeof b}function Ja(b){return\\"[object Date]\\"===Ya.call(b)}function I(b){return\\"[object Array]\\"===Ya.call(b)}function J(b){return\\"function\\"===typeof b}","function Za(b){return\\"[object RegExp]\\"===Ya.call(b)}function ya(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function Oc(b){return!(!b||!(b.nodeName||b.on&&b.find))}function Pc(b,a,c){var d=[];q(b,function(b,g,f){d.push(a.call(c,b,g,f))});return d}function $a(b,a){if(b.indexOf)return b.indexOf(a);for(var c=0;c<b.length;c++)if(a===b[c])return c;return-1}function Ka(b,a){var c=$a(b,a);0<=c&&b.splice(c,1);return a}function ea(b,a){if(ya(b)||b&&b.$evalAsync&&b.$watch)throw La(\\"cpws\\");if(a){if(b===","a)throw La(\\"cpi\\");if(I(b))for(var c=a.length=0;c<b.length;c++)a.push(ea(b[c]));else{c=a.$$hashKey;q(a,function(b,c){delete a[c]});for(var d in b)a[d]=ea(b[d]);Pb(a,c)}}else(a=b)&&(I(b)?a=ea(b,[]):Ja(b)?a=new Date(b.getTime()):Za(b)?a=RegExp(b.source):V(b)&&(a=ea(b,{})));return a}function Rb(b,a){a=a||{};for(var c in b)b.hasOwnProperty(c)&&(\\"$\\"!==c.charAt(0)&&\\"$\\"!==c.charAt(1))&&(a[c]=b[c]);return a}function ta(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,","d;if(c==typeof a&&\\"object\\"==c)if(I(b)){if(!I(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!ta(b[d],a[d]))return!1;return!0}}else{if(Ja(b))return Ja(a)&&b.getTime()==a.getTime();if(Za(b)&&Za(a))return b.toString()==a.toString();if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||ya(b)||ya(a)||I(a))return!1;c={};for(d in b)if(\\"$\\"!==d.charAt(0)&&!J(b[d])){if(!ta(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&\\"$\\"!==d.charAt(0)&&a[d]!==r&&!J(a[d]))return!1;return!0}return!1}"]},{},{"filename":"static/vendor.js?v=0.5.0","lineno":914,"colno":447,"function":"<anonymous>","abs_path":"http://localhost:3000/static/vendor.js?v=0.5.0","in_app":true,"pre_context":["[];a<b.length;a++)Ba(b[a])}function $b(b,a,c,d){if(v(d))throw wb(\\"offargs\\");var e=ja(b,\\"events\\");ja(b,\\"handle\\")&&(D(a)?q(e,function(a,c){zb(b,c,a);delete e[c]}):q(a.split(\\" \\"),function(a){D(c)?(zb(b,a,e[a]),delete e[a]):Ka(e[a]||[],c)}))}function Zb(b,a){var c=b[bb],d=Qa[c];d&&(a?delete Qa[c].data[a]:(d.handle&&(d.events.$destroy&&d.handle({},\\"$destroy\\"),$b(b)),delete Qa[c],b[bb]=r))}function ja(b,a,c){var d=b[bb],d=Qa[d||-1];if(v(c))d||(b[bb]=d=++Wc,d=Qa[d]={}),d[a]=c;else return d&&d[a]}function ac(b,","a,c){var d=ja(b,\\"data\\"),e=v(c),g=!e&&v(a),f=g&&!V(a);d||f||ja(b,\\"data\\",d={});if(e)d[a]=c;else if(g){if(f)return d&&d[a];x(d,a)}else return d}function Ab(b,a){return b.getAttribute?-1<(\\" \\"+(b.getAttribute(\\"class\\")||\\"\\")+\\" \\").replace(/[\\\\n\\\\t]/g,\\" \\").indexOf(\\" \\"+a+\\" \\"):!1}function Bb(b,a){a&&b.setAttribute&&q(a.split(\\" \\"),function(a){b.setAttribute(\\"class\\",aa((\\" \\"+(b.getAttribute(\\"class\\")||\\"\\")+\\" \\").replace(/[\\\\n\\\\t]/g,\\" \\").replace(\\" \\"+aa(a)+\\" \\",\\" \\")))})}function Cb(b,a){if(a&&b.setAttribute){var c=(\\" \\"+","(b.getAttribute(\\"class\\")||\\"\\")+\\" \\").replace(/[\\\\n\\\\t]/g,\\" \\");q(a.split(\\" \\"),function(a){a=aa(a);-1===c.indexOf(\\" \\"+a+\\" \\")&&(c+=a+\\" \\")});b.setAttribute(\\"class\\",aa(c))}}function xb(b,a){if(a){a=a.nodeName||!v(a.length)||ya(a)?[a]:a;for(var c=0;c<a.length;c++)b.push(a[c])}}function bc(b,a){return cb(b,\\"$\\"+(a||\\"ngController\\")+\\"Controller\\")}function cb(b,a,c){b=u(b);9==b[0].nodeType&&(b=b.find(\\"html\\"));for(a=I(a)?a:[a];b.length;){for(var d=0,e=a.length;d<e;d++)if((c=b.data(a[d]))!==r)return c;b=b.parent()}}","function cc(b){for(var a=0,c=b.childNodes;a<c.length;a++)Ba(c[a]);for(;b.firstChild;)b.removeChild(b.firstChild)}function dc(b,a){var c=db[a.toLowerCase()];return c&&ec[b.nodeName]&&c}function Xc(b,a){var c=function(c,e){c.preventDefault||(c.preventDefault=function(){c.returnValue=!1});c.stopPropagation||(c.stopPropagation=function(){c.cancelBubble=!0});c.target||(c.target=c.srcElement||O);if(D(c.defaultPrevented)){var g=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;g.call(c)};","c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented||!1===c.returnValue};var f=Rb(a[e||c.type]||[]);q(f,function(a){a.call(b,c)});8>=L?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function Ca(b){var a=typeof b,c;\\"object\\"==a&&null!==b?\\"function\\"==typeof(c=b.$$hashKey)?c=b.$$hashKey():c===r&&(c=b.$$hashKey=Xa()):c=b;return a+\\":\\"+c}function Ra(b){q(b,","this.put,this)}function fc(b){var a,c;\\"function\\"==typeof b?(a=b.$inject)||(a=[],b.length&&(c=b.toString().replace(Yc,\\"\\"),c=c.match(Zc),q(c[1].split($c),function(b){b.replace(ad,function(b,c,d){a.push(d)})})),b.$inject=a):I(b)?(c=b.length-1,Oa(b[c],\\"fn\\"),a=b.slice(0,c)):Oa(b,\\"fn\\",!0);return a}function Yb(b){function a(a){return function(b,c){if(V(b))q(b,Ob(a));else return a(b,c)}}function c(a,b){wa(a,\\"service\\");if(J(b)||I(b))b=n.instantiate(b);if(!b.$get)throw Sa(\\"pget\\",a);return m[a+h]=b}function d(a,"],"context_line":"b){return c(a,{$get:b})}function e(a){var b=[],c,d,g,h;q(a,function(a){if(!k.get(a)){k.put(a,!0);try{if(E(a))for(c=Ta(a),b=b.concat(e(c.requires)).concat(c._runBlocks),d=c._invokeQueue,g=0,h=d.length;g<h;g++){var f=d[g],l=n.get(f[0]);l[f[1]].apply(l,f[2])}else J(a)?b.push(n.invoke(a)):I(a)?b.push(n.invoke(a)):Oa(a,\\"module\\")}catch(m){throw I(a)&&(a=a[a.length-1]),m.message&&(m.stack&&-1==m.stack.indexOf(m.message))&&(m=m.message+\\"\\\\n\\"+m.stack),Sa(\\"modulerr\\",a,m.stack||m.message||m);}}});return b}function g(a,","post_context":["b){function c(d){if(a.hasOwnProperty(d)){if(a[d]===f)throw Sa(\\"cdep\\",l.join(\\" <- \\"));return a[d]}try{return l.unshift(d),a[d]=f,a[d]=b(d)}finally{l.shift()}}function d(a,b,e){var g=[],h=fc(a),f,k,l;k=0;for(f=h.length;k<f;k++){l=h[k];if(\\"string\\"!==typeof l)throw Sa(\\"itkn\\",l);g.push(e&&e.hasOwnProperty(l)?e[l]:c(l))}a.$inject||(a=a[f]);return a.apply(b,g)}return{invoke:d,instantiate:function(a,b){var c=function(){},e;c.prototype=(I(a)?a[a.length-1]:a).prototype;c=new c;e=d(a,c,b);return V(e)||J(e)?","e:c},get:c,annotate:fc,has:function(b){return m.hasOwnProperty(b+h)||a.hasOwnProperty(b)}}}var f={},h=\\"Provider\\",l=[],k=new Ra,m={$provide:{provider:a(c),factory:a(d),service:a(function(a,b){return d(a,[\\"$injector\\",function(a){return a.instantiate(b)}])}),value:a(function(a,b){return d(a,Z(b))}),constant:a(function(a,b){wa(a,\\"constant\\");m[a]=b;p[a]=b}),decorator:function(a,b){var c=n.get(a+h),d=c.$get;c.$get=function(){var a=t.invoke(d,c);return t.invoke(b,null,{$delegate:a})}}}},n=m.$injector=g(m,","function(){throw Sa(\\"unpr\\",l.join(\\" <- \\"));}),p={},t=p.$injector=g(p,function(a){a=n.get(a+h);return t.invoke(a.$get,a)});q(e(b),function(a){t.invoke(a||y)});return t}function bd(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=[\\"$window\\",\\"$location\\",\\"$rootScope\\",function(a,c,d){function e(a){var b=null;q(a,function(a){b||\\"a\\"!==C(a.nodeName)||(b=a)});return b}function g(){var b=c.hash(),d;b?(d=f.getElementById(b))?d.scrollIntoView():(d=e(f.getElementsByName(b)))?d.scrollIntoView():","\\"top\\"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var f=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(g)});return g}]}function cd(b,a,c,d){function e(a){try{a.apply(null,ua.call(arguments,1))}finally{if(w--,0===w)for(;A.length;)try{A.pop()()}catch(b){c.error(b)}}}function g(a,b){(function T(){q(F,function(a){a()});H=b(T,a)})()}function f(){B=null;S!=h.url()&&(S=h.url(),q($,function(a){a(h.url())}))}var h=this,l=a[0],k=b.location,m=b.history,n=b.setTimeout,p=b.clearTimeout,t=","{};h.isMock=!1;var w=0,A=[];h.$$completeOutstandingRequest=e;h.$$incOutstandingRequestCount=function(){w++};h.notifyWhenNoOutstandingRequests=function(a){q(F,function(a){a()});0===w?a():A.push(a)};var F=[],H;h.addPollFn=function(a){D(H)&&g(100,n);F.push(a);return a};var S=k.href,z=a.find(\\"base\\"),B=null;h.url=function(a,c){k!==b.location&&(k=b.location);if(a){if(S!=a)return S=a,d.history?c?m.replaceState(null,\\"\\",a):(m.pushState(null,\\"\\",a),z.attr(\\"href\\",z.attr(\\"href\\"))):(B=a,c?k.replace(a):k.href=a),"]},{"filename":"static/vendor.js?v=0.5.0","lineno":891,"colno":449,"function":"<anonymous>","abs_path":"http://localhost:3000/static/vendor.js?v=0.5.0","in_app":true,"pre_context":["","/*"," AngularJS v1.2.6"," (c) 2010-2014 Google, Inc. http://angularjs.org"," License: MIT","*/"],"context_line":"(function(Y,O,r){\'use strict\';function s(b){return function(){var a=arguments[0],c,a=\\"[\\"+(b?b+\\":\\":\\"\\")+a+\\"] http://errors.angularjs.org/1.2.6/\\"+(b?b+\\"/\\":\\"\\")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?\\"?\\":\\"&\\")+\\"p\\"+(c-1)+\\"=\\"+encodeURIComponent(\\"function\\"==typeof arguments[c]?arguments[c].toString().replace(/ \\\\{[\\\\s\\\\S]*$/,\\"\\"):\\"undefined\\"==typeof arguments[c]?\\"undefined\\":\\"string\\"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function ob(b){if(null==b||ya(b))return!1;var a=","post_context":["b.length;return 1===b.nodeType&&a?!0:E(b)||I(b)||0===a||\\"number\\"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d;if(b)if(J(b))for(d in b)\\"prototype\\"==d||(\\"length\\"==d||\\"name\\"==d||b.hasOwnProperty&&!b.hasOwnProperty(d))||a.call(c,b[d],d);else if(b.forEach&&b.forEach!==q)b.forEach(a,c);else if(ob(b))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function Nb(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function Nc(b,","a,c){for(var d=Nb(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function Ob(b){return function(a,c){b(c,a)}}function Xa(){for(var b=ia.length,a;b;){b--;a=ia[b].charCodeAt(0);if(57==a)return ia[b]=\\"A\\",ia.join(\\"\\");if(90==a)ia[b]=\\"0\\";else return ia[b]=String.fromCharCode(a+1),ia.join(\\"\\")}ia.unshift(\\"0\\");return ia.join(\\"\\")}function Pb(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function x(b){var a=b.$$hashKey;q(arguments,function(a){a!==b&&q(a,function(a,c){b[c]=a})});Pb(b,a);return b}function P(b){return parseInt(b,","10)}function Qb(b,a){return x(new (x(function(){},{prototype:b})),a)}function y(){}function za(b){return b}function Z(b){return function(){return b}}function D(b){return\\"undefined\\"===typeof b}function v(b){return\\"undefined\\"!==typeof b}function V(b){return null!=b&&\\"object\\"===typeof b}function E(b){return\\"string\\"===typeof b}function pb(b){return\\"number\\"===typeof b}function Ja(b){return\\"[object Date]\\"===Ya.call(b)}function I(b){return\\"[object Array]\\"===Ya.call(b)}function J(b){return\\"function\\"===typeof b}","function Za(b){return\\"[object RegExp]\\"===Ya.call(b)}function ya(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function Oc(b){return!(!b||!(b.nodeName||b.on&&b.find))}function Pc(b,a,c){var d=[];q(b,function(b,g,f){d.push(a.call(c,b,g,f))});return d}function $a(b,a){if(b.indexOf)return b.indexOf(a);for(var c=0;c<b.length;c++)if(a===b[c])return c;return-1}function Ka(b,a){var c=$a(b,a);0<=c&&b.splice(c,1);return a}function ea(b,a){if(ya(b)||b&&b.$evalAsync&&b.$watch)throw La(\\"cpws\\");if(a){if(b===","a)throw La(\\"cpi\\");if(I(b))for(var c=a.length=0;c<b.length;c++)a.push(ea(b[c]));else{c=a.$$hashKey;q(a,function(b,c){delete a[c]});for(var d in b)a[d]=ea(b[d]);Pb(a,c)}}else(a=b)&&(I(b)?a=ea(b,[]):Ja(b)?a=new Date(b.getTime()):Za(b)?a=RegExp(b.source):V(b)&&(a=ea(b,{})));return a}function Rb(b,a){a=a||{};for(var c in b)b.hasOwnProperty(c)&&(\\"$\\"!==c.charAt(0)&&\\"$\\"!==c.charAt(1))&&(a[c]=b[c]);return a}function ta(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,"]},{}]},"user":{"uuid":"468e4646-b9a9-c602-933e-332768813651"},"level":null,"logger":null,"machine":null,"extra":{"environment":{"utcOffset":1,"browserWidth":1440,"browserHeight":172,"screenWidth":1440,"screenHeight":900,"language":"en-US","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.41 Safari/537.36","platform":"MacIntel"},"page":{"referer":"","host":"localhost","location":"http://localhost:3000/me"}}}
@auchenberg auchenberg added the bug label Dec 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant