text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("angulartics2")):"function"==typeof define&&define.amd?define("angulartics2/splunk",["exports","@angular/core","angulartics2"],t):t(((e=e||self).angulartics2=e.angulartics2||{},e.angulartics2.splunk={}),e.ng.core,e.angulartics2)}(this,(function(e,t,r){"use strict";var n=function(){function e(e){this.angulartics2=e,"undefined"==typeof sp&&console.warn("Splunk not found")}return e.prototype.startTracking=function(){var e=this;this.angulartics2.pageTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe((function(t){return e.pageTrack(t.path)})),this.angulartics2.eventTrack.pipe(this.angulartics2.filterDeveloperMode()).subscribe((function(t){return e.eventTrack(t.action,t.properties)}))},e.prototype.pageTrack=function(e){try{sp.pageview(e)}catch(e){if(!(e instanceof ReferenceError))throw e}},e.prototype.eventTrack=function(e,t){try{sp.track(e,t)}catch(e){if(!(e instanceof ReferenceError))throw e}},e}();n.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(r.Angulartics2))},token:n,providedIn:"root"}),n.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}],n.ctorParameters=function(){return[{type:r.Angulartics2}]},e.Angulartics2Splunk=n,Object.defineProperty(e,"__esModule",{value:!0})}));
  //# sourceMappingURL=angulartics2-splunk.umd.min.js.map