module.exports = "(function(e,t,i){var r=i(5894),n=i(4438),a=i(4810),o=i(4527).get(\"stores/dimension_data\");e.exports={provides:\"custom\",attributionType:n.AttributionTypes.LAST_TOUCH,restorer:function(e){return r.reduce(e,(function(e,t,i){var n=i,s=o.getByApiName(i),d=o.getById(i);return r.isObject(t)?(!t.id&&s&&(d=s,n=s.id,r.extend(t,{id:d.segmentId||d.id})),!t.name&&d&&d.apiName&&(t.name=d.apiName),t.id||d||a.warn(\"Unable to determine ID for custom attribute:\",i,\"; segmentation is disabled.\"),e[n]=t,e):(a.error('Unable to restore custom attribute \"'+i+'\" because value is not an object'),e)}),{})},shouldTrack:!0}})";