module.exports = "(function(e,i,t){var r=t(5894),a=t(4934),n=t(4810),o=t(8131),l=t(1442),s=t(7004),c=t(7152),g=\"google_classic_analytics\",y=\"Optimizely\",d=t(2933),_=function(e,i){return o.pollFor((function(){var e=c.getGlobal(\"_gaq\");if(e&&!r.isArray(e))return e}),200,50).then((function(t){var r=i.google_analytics_tracker,a=r?r+\".\":\"\",o=parseInt(i.google_analytics_slot,10);if(isNaN(o))return n.warn('Google Analytics custom variable slot cannot be parsed to an integer: \"',i.google_analytics_slot,'\".  No data can be sent to Google Analytics.'),void 0;var s=l.getReferrer();s&&t.push([a+\"_setReferrerOverride\",s]),t.push([a+\"_setCustomVar\",o,y,e],[a+\"_trackEvent\",\"Optimizely\",\"Assigned to Campaign\",null,null,!0])}))},u={preRedirectPolicy:s.PreRedirectPolicies.PERSIST_BEFORE_REDIRECT,postRedirectPolicy:s.PostRedirectPolicies.TRACK_IMMEDIATELY,nonRedirectPolicy:s.NonRedirectPolicies.TRACK_IMMEDIATELY,trackLayerDecision:function(e){var i=e.integrationSettings;if(i&&i[g]&&e.experimentId&&e.variationId){var t={id:e.layerId,name:e.layerName,policy:e.layerPolicy,integrationStringVersion:e.integrationStringVersion},r={id:e.experimentId,name:e.experimentName},a={id:e.variationId,name:e.variationName},o=e.isLayerHoldback,l=d.generateAnalyticsString(t,r,a,o,118,!0);if(l)return _(l,i[g]).catch((function(e){n.warn(\"Tracker for\",g,\"failed:\",e)}))}},serializeSettings:a.stringify,deserializeSettings:a.parse};e.exports=function(e){e.registerAnalyticsTracker(\"google_classic_analytics\",u)}})";