(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[19],{AQGo:function(e,t,a){"use strict";a.r(t);var n=a("d6i3"),r=a.n(n),s=a("p0pE"),c=a.n(s),i=a("9ibs"),u=a("/OIF"),p={list:[],breedList:[],resultList:[],value:""};t["default"]={state:p,reducers:{clearState:function(e,t){t.payload;return c()({},p)},updateState:function(e,t){var a=t.payload;return c()({},e,a)},getResultList:function(e,t){var a=t.payload,n=e.breedList,r=a.value,s=[];return n.forEach(function(e,t){e.chinese_breed_name&&e.chinese_breed_name.indexOf(r)>=0&&s.push(c()({},e))}),c()({},e,a,{resultList:s})}},effects:{getFciGroup:r.a.mark(function e(t,a){var n,s,p,l;return r.a.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.payload,s=a.call,p=a.put,e.next=4,s(u["d"],c()({},n));case 4:if(l=e.sent,0!==l.rc){e.next=10;break}return e.next=8,p({type:"updateState",payload:{list:l["0"]}});case 8:e.next=11;break;case 10:i["g"].fail(l.msg,2);case 11:case"end":return e.stop()}},e)}),getFciDogAll:r.a.mark(function e(t,a){var n,s,p,l;return r.a.wrap(function(e){while(1)switch(e.prev=e.next){case 0:return n=t.payload,s=a.call,p=a.put,e.next=4,s(u["a"],c()({},n));case 4:if(l=e.sent,0!==l.rc){e.next=10;break}return e.next=8,p({type:"updateState",payload:{breedList:l["0"],resultList:l["0"]}});case 8:e.next=11;break;case 10:i["g"].fail(l.msg,2);case 11:case"end":return e.stop()}},e)})},subscriptions:{}}}}]);