(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[32],{RZKt:function(t,e,a){"use strict";a.r(e);var n=a("d6i3"),r=a.n(n),c=a("p0pE"),i=a.n(c),s=a("9ibs"),u=a("t3Un"),p=a("Aeqt"),o=function(t){return Object(u["a"])({url:p["a"].apis.trainer.trainerCertificates,method:"GET",data:t},"nothing")},d={data:{}};e["default"]={state:d,reducers:{clearState:function(t,e){e.payload;return i()({},d)},updateState:function(t,e){var a=e.payload;return i()({},t,a)}},effects:{trainerCertificates:r.a.mark(function t(e,a){var n,c,u,p,d,f,l;return r.a.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return n=e.payload,c=a.call,u=a.put,a.select,t.next=4,c(o,i()({},n));case 4:if(p=t.sent,d=p.rc,f=p.msg,l=p.data,0!==d){t.next=13;break}return t.next=11,u({type:"updateState",payload:{data:l}});case 11:t.next=14;break;case 13:s["g"].fail(f,2);case 14:case"end":return t.stop()}},t)})},subscriptions:{}}}}]);