!function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}System.register(["./delegate-legacy.cc306993.js","./usage-legacy.03fd855f.js"],(function(){"use strict";var e,n,i,r,a,o,c,s,u;return{setters:[function(t){e=t.d},function(t){n=t.p,i=t.t,r=t.a,a=t.b,o=t.d,c=t.g,s=t.c,u=t.w}],execute:function(){n("outboundLinkTracker",function(){function n(t,o){var c=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),i(t,r.OUTBOUND_LINK_TRACKER),window.addEventListener){var s={events:["click"],linkSelector:"a, area",shouldTrackOutboundLink:this.shouldTrackOutboundLink,fieldsObj:{},attributePrefix:"ga-"};this.opts=a(s,o),this.tracker=t,this.handleLinkInteractions=this.handleLinkInteractions.bind(this),this.delegates={},this.opts.events.forEach((function(t){c.delegates[t]=e(document,t,c.opts.linkSelector,c.handleLinkInteractions,{composed:!0,useCapture:!0})}))}}var l,f,h;return l=n,(f=[{key:"handleLinkInteractions",value:function(t,e){var n=this;if(this.opts.shouldTrackOutboundLink(e,o)){var i=e.getAttribute("href")||e.getAttribute("xlink:href"),r=o(i),l={transport:"beacon",eventCategory:"Outbound Link",eventAction:t.type,eventLabel:r.href},f=a({},this.opts.fieldsObj,c(e,this.opts.attributePrefix)),h=s(l,f,this.tracker,this.opts.hitFilter,e,t);!navigator.sendBeacon&&function(t,e){return!("click"!=t.type||"_blank"==e.target||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.which>1)}(t,e)?window.addEventListener("click",(function e(){if(window.removeEventListener("click",e),!t.defaultPrevented){t.preventDefault();var r=h.hitCallback;h.hitCallback=u((function(){"function"==typeof r&&r(),location.href=i}))}n.tracker.send("event",h)})):this.tracker.send("event",h)}}},{key:"shouldTrackOutboundLink",value:function(t,e){var n=e(t.getAttribute("href")||t.getAttribute("xlink:href"));return n.hostname!=location.hostname&&"http"==n.protocol.slice(0,4)}},{key:"remove",value:function(){var t=this;Object.keys(this.delegates).forEach((function(e){t.delegates[e].destroy()}))}}])&&t(l.prototype,f),h&&t(l,h),Object.defineProperty(l,"prototype",{writable:!1}),n}())}}}))}();
