text: (function(b,a,c){a.module("ngResource",["ng"]).factory("$resource",["$http","$parse",function(o,h){var k={get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:true},remove:{method:"DELETE"},"delete":{method:"DELETE"}};var p=a.noop,j=a.forEach,m=a.extend,d=a.copy,f=a.isFunction,n=function(r,q){return h(q)(r)};function i(q){return e(q,true).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function e(r,q){return encodeURIComponent(r).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace((q?null:/%20/g),"+")}function l(r,s){this.template=r=r+"#";this.defaults=s||{};var q=this.urlParams={};j(r.split(/\W/),function(t){if(t&&r.match(new RegExp("[^\\\\]:"+t+"\\W"))){q[t]=true}});this.template=r.replace(/\\:/g,":")}l.prototype={url:function(u){var r=this,s=this.template,q;u=u||{};j(this.urlParams,function(w,v){q=i(u[v]||r.defaults[v]||"");s=s.replace(new RegExp(":"+v+"(\\W)"),q+"$1")});s=s.replace(/\/?#$/,"");var t=[];j(u,function(w,v){if(!r.urlParams[v]){t.push(e(v)+"="+e(w))}});t.sort();s=s.replace(/\/*$/,"");return s+(t.length?"?"+t.join("&"):"")}};function g(s,t,v){var q=new l(s);v=m({},k,v);function r(x){var w={};j(t||{},function(z,y){w[y]=z.charAt&&z.charAt(0)=="@"?n(x,z.substr(1)):z});return w}function u(w){d(w||{},this)}j(v,function(y,w){var x=y.method=="POST"||y.method=="PUT"||y.method=="PATCH";u[w]=function(B,A,z,H){var C={};var D;var G=p;var E=null;switch(arguments.length){case 4:E=H;G=z;case 3:case 2:if(f(A)){if(f(B)){G=B;E=A;break}G=A;E=z}else{C=B;D=A;G=z;break}case 1:if(f(B)){G=B}else{if(x){D=B}else{C=B}}break;case 0:break;default:throw"Expected between 0-4 arguments [params, data, success, error], got "+arguments.length+" arguments."}var F=this instanceof u?this:(y.isArray?[]:new u(D));o({method:y.method,url:q.url(m({},r(D),y.params||{},C)),data:D}).then(function(I){var J=I.data;if(J){if(y.isArray){F.length=0;j(J,function(K){F.push(new u(K))})}else{d(J,F)}}(G||p)(F,I.headers)},E);return F};u.bind=function(z){return g(s,m({},t,z),v)};u.prototype["$"+w]=function(A,z,F){var E=r(this),D=p,B;switch(arguments.length){case 3:E=A;D=z;B=F;break;case 2:case 1:if(f(A)){D=A;B=z}else{E=A;D=z||p}case 0:break;default:throw"Expected between 1-3 arguments [params, success, error], got "+arguments.length+" arguments."}var C=x?this:c;u[w].call(this,E,C,D,B)}});return u}return g}])})(window,window.angular);