/** * angular-hy-res - Hypermedia client for AngularJS inspired by $resource * @version v0.0.34 - 2016-09-14 * @link https://github.com/petejohanson/angular-hy-res * @author Pete Johanson * @license MIT License, http://www.opensource.org/licenses/MIT */ "use strict";var hrRoot=function(n){function e(t){if(o[t])return o[t].exports;var r=o[t]={exports:{},id:t,loaded:!1};return n[t].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var o={};return e.m=n,e.c=o,e.p="",e(0)}([function(n,e,o){o(1),o(2),o(3),o(4),o(5),o(6),o(7),n.exports=o(8)},function(n,e,o){var t=o(9),r=o(10).CollectionJsonExtension;t.module("hrCollectionJson",[o(2)]).provider("hrCollectionJsonExtension",function(){this.mediaTypes=[],this.$get=function(){return new r(this.mediaTypes)}}).config(["hrRootProvider",function(n){n.extensions.push("hrCollectionJsonExtension")}]),n.exports="hrCollectionJson"},function(n,e,o){var t=o(9),r=o(10);t.module("hrCore",[]).factory("hrHttp",["$http",function(n){var e=function(n){return n.headers=n.headers(),n};return function(o){return n(o).then(e,function(n){throw e(n)})}}]).provider("hrRoot",function(){this.extensions=[],this.$get=["hrHttp","$injector",function(n,e){var o=[];return t.forEach(this.extensions,function(n){o.push(e.get(n))}),function(e){return new r.Root(e,n,o)}}]}),n.exports="hrCore"},function(n,e,o){var t=o(9),r=o(10).HalExtension;t.module("hrHal",[o(2)]).provider("hrHalExtension",function(){this.mediaTypes=[],this.$get=function(){return new r(this.mediaTypes)}}).config(["hrRootProvider",function(n){n.extensions.push("hrHalExtension")}]),n.exports="hrHal"},function(n,e,o){var t=o(9);t.module("hrHyRes",[o(2),o(3),o(7),o(6),o(5)]),n.exports="hrHyRes"},function(n,e,o){var t=o(9),r=o(10).JsonExtension,i=o(2);t.module("hrJson",[i]).service("hrJsonExtension",function(){return new r}).config(["hrRootProvider",function(n){n.extensions.push("hrJsonExtension")}]),n.exports="hrJson"},function(n,e,o){var t=o(9),r=o(10).LinkHeaderExtension;t.module("hrLinkHeader",[o(2)]).service("hrLinkHeaderExtension",function(){return new r}).config(["hrRootProvider",function(n){n.extensions.push("hrLinkHeaderExtension")}]),n.exports="hrLinkHeader"},function(n,e,o){var t=o(9),r=o(10).SirenExtension;t.module("hrSiren",[o(2)]).provider("hrSirenExtension",function(){this.mediaTypes=[],this.$get=function(){return new r(this.mediaTypes)}}).config(["hrRootProvider",function(n){n.extensions.push("hrSirenExtension")}]),n.exports="hrSiren"},function(n,e,o){var t=o(9),r=o(10).TextExtension;t.module("hrText",[o(2)]).provider("hrTextExtension",function(){this.subTypes=[],this.wildcard=!1,this.$get=function(){return new r({wildcard:this.wildcard,subTypes:this.subTypes})}}).config(["hrRootProvider",function(n){n.extensions.push("hrTextExtension")}]),n.exports="hrText"},function(n){n.exports=angular},function(n){n.exports=HyRes}]);