module.exports = "(function(i,r,e){var t=e(5894),n=e(4934),o=e(8331).w,s=function(i,r){if(!i)throw new Error(r)};r.assertValidLayer=function(i){var r='Validation error on layer \"'+i.id+'\": ';\"random\"===i.policy&&s(1===i.experiments.length||!t.isUndefined(i.weightDistributions),r+'Layer with \"random\" policy and multiple experiments must have \"weightDistributions\" property.'),t.each(i.experiments,(function(i){i.variations.length>1&&s(!t.isUndefined(i.weightDistributions),r+'experiment \"'+i.id+'\" with >1 variations must have weightDistributions property.')}))},r.isType=function(i,r,e){var t=o[i];if(!t)throw new Error(\"No type defined for \"+i);if(!t(r)){var s=t.errors(r),a='INVARIANT: TypeError for type=\"'+i+'\"';throw e&&(a+=\" \"+e),a+=\"\\n\"+n.stringify(s,null,2),new Error(a)}}})";