!function(){function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var r=1;r0&&1===r.current)){t.next=11;break}return t.abrupt("return");case 11:m.list=m.list.concat(r.rows||[]),m.listState.finished=r.current>=r.pages,m.params.page=r.current+1,m.listState.dataShow=m.list.length>0,m.isClick=!1,t.next=23;break;case 18:t.prev=18,t.t0=t.catch(0),m.listState.dataShow=!1,m.listState.finished=!0,m.isClick=!1;case 23:case"end":return t.stop()}}),t,null,[[0,18]])})),function(){var e=this,n=arguments;return new Promise((function(i,a){var c=t.apply(e,n);function o(t){r(c,i,a,o,s,"next",t)}function s(t){r(c,i,a,o,s,"throw",t)}o(void 0)}))});return function(){return n.apply(this,arguments)}}(),v=function(t){m.params.keyword=t,m.params.page=1,m.list=[],m.listState.dataShow=!0,m.listState.loading=!1,m.listState.finished=!1,S()};return o((function(){S()})),function(){var e,r;return s("div",{class:[y.helpCenter,!m.listState.dataShow&&"emptyRootContainer"]},[s(g,{position:"top"},{default:function(){return[s(u,{border:!1},null),s(h,{onSearch:v},null)]}}),m.listState.dataShow?s(b,{finished:m.listState.finished,finishedText:" ",class:y.container,onLoad:S,immediateCheck:!1},(r=e=m.list.map((function(e){return s(j,{titleClass:[y.title,"van-ellipsis"],title:e.title,isLink:!0,onClick:function(){n.push({path:"help-detail",query:{id:e.id,source:t.query.source}})}},null)})),"function"==typeof r||"[object Object]"===Object.prototype.toString.call(r)&&!f(r)?e:{default:function(){return[e]}})):s(l,{btnStatus:!1,tips:"暂无数据"},null)])}}}))}}}))}();