text: webpackJsonp([132,140],{1209:function(t,e,n){"use strict";var r=n(1),i=n(547),o=n(209),a=n(571);e.a={mixins:[i.b,o.a],components:{dateRangePicker:a.a},data:function(){return{rest_api:"tallys/do_stats?group=aa_id",pk:"th_id",sum:{income:0,payout:0,sum:0},types:[{label:"按账户统计",value:"aa_id"},{label:"按大类统计",value:"cate"},{label:"按小类统计",value:"tt_id"},{label:"按往来单位统计",value:"client_th_id"},{label:"按项目统计",value:"item_th_id"},{label:"按人员统计",value:"employee_th_id"}],search_field:{type:"aa_id",int_day:[]},column_keys:{aa_id:{title:"账户",show:!0},cate:{title:"大类",show:!1},tt_id:{title:"类型",show:!1},client_th_id:{title:"往来单位",show:!1},item_th_id:{title:"项目",show:!1},employee_th_id:{title:"人员",show:!1},income:{title:"收入",show:!0},payout:{title:"支出",show:!0}},column_render:{aa_id:function(t,e){var n=this.accounts.find(function(t){return t.aa_id===e.row.aa_id}),r="未指定";return n&&(r=n.name),t("span",r)},cate:function(t,e){return t("span",{1:"收入",2:"支出",3:"转账",4:"应收",5:"应付"}[e.row.cate]||"未指定")},tt_id:function(t,e){var n=this.tally_types.find(function(t){return t.tt_id===e.row.tt_id}),r="未指定";return n&&(r=n.name),t("span",r)},client_th_id:function(t,e){var n=this.tally_helps.find(function(t){return t.th_id===e.row.client_th_id}),r="未指定";return n&&(r=n.name),t("span",r)},item_th_id:function(t,e){var n=this.tally_helps.find(function(t){return t.th_id===e.row.item_th_id}),r="未指定";return n&&(r=n.name),t("span",r)},employee_th_id:function(t,e){var n=this.tally_helps.find(function(t){return t.th_id===e.row.employee_th_id}),r="未指定";return n&&(r=n.name),t("span",r)}}}},watch:{"search_field.type":function(t){this.rest_api="tallys/do_stats?group="+t,this.showColumn(t),this.init_data()}},mounted:function(){this.init_data()},methods:{showColumn:function(t){var e=this.column_keys,n=[t,"income","payout"];for(var r in e)e[r].show=n.indexOf(r)>-1},deal_data:function(t){var e=this;return t&&t.length>0&&(this.sum.income=0,this.sum.payout=0,t.forEach(function(t){e.sum.income=r.b.add(e.sum.income,t.income),e.sum.payout=r.b.add(e.sum.payout,t.payout)}),this.sum.sum=r.b.sub(this.sum.income,this.sum.payout)),t},hook_get_param:function(t){var e=this.search_field.int_day;e.length>0&&","!=e&&(t.int_day=r.b.sprintf("[Between,%s,%s]",this.search_field.int_day[0],this.search_field.int_day[1]))},resetSearch:function(){this.$form("ref_search").reset(),this.init_data()}},computed:{accounts:function(){return this.$store.state.gvars.accounts},tally_types:function(){return this.$store.state.gvars.tally_types},tally_helps:function(){return this.$store.state.gvars.tally_helps}}}},1382:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c-grid"},[n("div",{staticClass:"box box-query"},[n("Form",{ref:"ref_search",staticClass:"filter-form row",attrs:{"label-width":70,model:t.search_field}},[n("Form-item",{staticClass:"col-md-3 col-sm-6",attrs:{label:"统计报表",prop:"type"}},[n("Select",{model:{value:t.search_field.type,callback:function(e){t.$set(t.search_field,"type",e)},expression:"search_field.type"}},t._l(t.types,function(e){return n("Option",{attrs:{value:e.value}},[t._v(t._s(e.label))])}))],1),t._v(" "),n("Form-item",{staticClass:"col-md-3 col-sm-6",attrs:{label:"时间范围",prop:"int_day"}},[n("date-range-picker",{staticStyle:{width:"100%"},model:{value:t.search_field.int_day,callback:function(e){t.$set(t.search_field,"int_day",e)},expression:"search_field.int_day"}})],1)],1),t._v(" "),n("Row",{staticClass:"basic"},[n("Col",{staticClass:"mt-2",staticStyle:{"margin-left":"0px"},attrs:{span:"24"}},[n("Button",{staticClass:"ml-2",attrs:{type:"primary",icon:"ios-search"},on:{click:t.search}},[t._v("查询")]),t._v(" "),n("Button",{attrs:{type:"primary",icon:"refresh"},on:{click:t.resetSearch}},[t._v("重置")]),t._v(" "),n("Button",{directives:[{name:"per",rawName:"v-per",value:"reports.export",expression:"'reports.export'"}],staticClass:"ml-2",attrs:{type:"primary",size:"large",icon:"ios-download-outline"},on:{click:function(e){t.exportExcel("收支汇总")}}},[t._v("导出")])],1)],1)],1),t._v(" "),n("div",{staticClass:"box box-result"},[n("div",{staticClass:"content"},[n("div",{staticClass:"content-body"},[n("Table",{directives:[{name:"loading",rawName:"v-loading.like",value:"tallys",expression:"'tallys'",modifiers:{like:!0}}],ref:"tableExcel",attrs:{"page-size":t.pageSize,page:t.pageIndex,stripe:!0,"show-header":!0,data:t.data,columns:t.columns,"no-data-text":t.$store.state.config.EMPTY_DATA_TEXT,"no-filtered-data-text":t.$store.state.config.EMPTY_FILTER_DATA_TEXT},on:{"on-sort-change":t.sortChange}})],1),t._v(" "),n("div",{staticClass:"content-footer"},[n("Alert",[n("span",{staticClass:"ml-3"},[t._v("收入：\n\t\t            \t\t\t"),n("Tag",{attrs:{color:"green"}},[t._v("￥"+t._s(t.sum.income))])],1),t._v(" "),n("span",{staticClass:"ml-3"},[t._v("支出：\n\t\t            \t\t\t"),n("Tag",{attrs:{color:"yellow"}},[t._v("￥"+t._s(t.sum.payout))])],1),t._v(" "),n("span",{staticClass:"ml-3"},[t._v("合计：\n\t\t            \t\t\t"),n("Tag",{attrs:{color:"blue"}},[t._v("￥"+t._s(t.sum.sum))])],1)])],1)])])])},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};e.a=o},1758:function(t,e,n){"use strict";var r=n(365);e.a={components:{accountSummary:r.default}}},2604:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("account-summary")},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};e.a=o},365:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1209),i=n(1382),o=n(11),a=o(r.a,i.a,!1,null,null,null);a.options.__file="src/views/business/iae/summary.vue",e.default=a.exports},506:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1758),i=n(2604),o=n(11),a=o(r.a,i.a,!1,null,null,null);a.options.__file="src/views/reports/incomeandexpend.vue",e.default=a.exports},547:function(t,e,n){"use strict";function r(t,e){var n=[];for(var r in this.operation_keys){var i=this.operation_keys[r],o=[],a=void 0,s=!0;i.per&&o.push({name:"per",value:i.per,expression:"",arg:"display",modifiers:{}}),i.condition&&(u.a.isString(i.condition)?a=new Function("row","params","return "+i.condition):u.a.isFunction(condition)&&(a=condition),u.a.isFunction(a)&&(a(e.row,e)||(s=!1))),u.a.isFunction(this.operation_func[r])&&!1!==i.show&&s&&n.push(t("Dropdown-item",{nativeOn:{click:this.operation_func[r].bind(this,e)},directives:o},[t("Icon",{props:{type:i.type}})," ",i.title]))}return t("div",[t("Dropdown",{props:{placement:"bottom-start",trigger:"click"}},[t("Button",{props:{type:"primary",size:"small"}},["操作"," ",t("Icon",{props:{type:"arrow-down-b"}})]),t("Dropdown-menu",{slot:"list"},n)])])}n.d(e,"a",function(){return f});var i=n(34),o=n.n(i),a=n(9),s=n.n(a),u=(n(25),n(33),n(1)),c=n(554),l=n(561),f={lid:function(t,e){return t("span",this.$filter("lesson_name")(e.row.lid))},bid:function(t,e){return t("span",this.$filter("branch_name")(e.row.bid))},bids:function(t,e){var n=e.row.bids,r="未设置校区",i=[],o=this.$filter("branch_name");if(""!=n[0])if(n.length<4)n.forEach(function(t){i.push(o(t))}),r=i.join(",");else{for(var a=0;a<3;a++)i.push(o(n[a]));r=u.b.sprintf("%s等%s个校区",i.join(","),n.length)}return t("div",r)},rids:function(t,e){var n=e.row.rids,r="未设置角色",i=[],o=this.$filter("role_name");if(""!=n[0])if(n.length<4)n.forEach(function(t){i.push(o(t))}),r=i.join(",");else{for(var a=0;a<3;a++)i.push(o(n[a]));r=u.b.sprintf("%s等%s个角色",i.join(","),n.length)}return t("div",r)},teach_eid:function(t,e){return t("span",this.$filter("employee_name")(e.row.teach_eid))},second_eid:function(t,e){return t("span",this.$filter("employee_name")(e.row.edu_eid))},edu_eid:function(t,e){return t("span",this.$filter("employee_name")(e.row.edu_eid))},cr_id:function(t,e){return t("span",this.$filter("classroom_name")(e.row.cr_id,"未知"))},sj_id:function(t,e){return t("span",this.$filter("subject_name")(e.row.sj_id))},sj_ids:function(t,e){return t("span",this.$filter("sj_ids_text")(e.row.sj_ids))},fit_grade:function(t,e){var n=this.labelDicts(e.row.fit_grade[0],"grade");return e.row.fit_grade[1]!=e.row.fit_grade[0]&&(n+="~"+this.labelDicts(e.row.fit_grade[1],"grade")),t("span",n)},grade:function(t,e){return t("span",this.labelDicts(e.row.grade,"grade"))},departments:function(t,e){var n=e.row.departments,r="未设置部门",i=[],o=this.$filter("dpt_name"),a=this.$filter("dict_title");if(n.length>0)if(n.length<4)n.forEach(function(t){i.push(u.b.sprintf("%s(%s)",o(t.dpt_id),a(t.jobtitle_did,"jobtitle")))}),r=i.join(",");else{for(var s=0;s<3;s++)i.push(u.b.sprintf("%s(%s)",o(n[s].dpt_id),a(n[s].jobtitle_did,"jobtitle")));r=u.b.sprintf("%s等%s个职位",i.join(","),n.length)}return t("div",r)},season:function(t,e){return t("span",this.$filter("season_name")(e.row.season))},time_section:function(t,e){var n="?",r="?",i="?";return e.row.int_day>0&&(n=this.$filter("int_week")(e.row.int_day)),e.row.int_start_hour>0&&(r=this.$filter("int_hour")(e.row.int_start_hour)),e.row.int_end_hour>0&&(i=this.$filter("int_hour")(e.row.int_end_hour)),t("span",u.b.sprintf("周%s %s~%s",n,r,i))},int_day:function(t,e){var n="-";return e.row.int_day>0&&(n=this.$filter("int_date")(e.row.int_day)),t("span",n)},teach_object:function(t,e){var n=e.row;if(0==n.lesson_type){if(1==n.is_trial||1==n.is_makeup){var r="试";return 1==n.is_makeup&&(r="补"),t("div",[t("Tag",{props:{color:"blue"}},r),t("Tag",n.name||"")])}return t("div",[t("Tag",{props:{color:"blue"}},"班"),t("Tag",null!=n.one_class?n.one_class.class_name:"")])}var i=void 0,o=[];return n.is_trial?i=t("Tag",{props:{color:"yellow"}},"试:"+n.name):1==n.lesson_type?i=t("Tag",{props:{color:"green"}},"一"):2==n.lesson_type&&(i=t("Tag",{props:{color:"green"}},"多")),n.students.forEach(function(e){o.push(t("Tag",e.student.student_name))}),t("div",[i,t("span",o)])}};e.b={components:{FilterColumn:c.a,PerScope:l.a},data:function(){return{imgView:!1,bigImage:"",loading:!1,rest_api:"",searchExpand:!1,params:{search_field:"name",search_value:"",order_field:"",order_sort:"",last_search_value:"",bid:""},data:[],modal:{title:"",action:"add",show:!1},total:0,pageIndex:1,pageSize:10,init_page_size:0,showCheckbox:!1,showIndex:!0,column_keys:{},column_render:{},operation_keys:{},operation_func:{},column_operation_text:"操作"}},methods:{sortChange:function(t){this.params.order_field=t.key,this.params.order_sort=t.order,this.init_data()},pagenation:function(t){this.pageIndex=t,this.init_data()},pagesize:function(t){if(this.pageSize=t,0==this.init_page_size)return void(this.init_page_size=1);this.init_data()},toggleSearch:function(){this.searchExpand=!this.searchExpand},search:function(){this.pagenation(1)},resetSearch:function(){this.params.search_value="",this.init_data()},init_data:function(){var t=this;if(this.loading)return!1;if(""!=this.rest_api){var e={};e.page=this.pageIndex,e.pagesize=this.pageSize,""!=this.params.search_value?(e.search_field=this.params.search_field,e.search_value=this.params.search_value,this.params.last_search_value=this.params.search_value):this.params.last_search_value="",""!=this.params.order_field&&(e.order_field=this.params.order_field,e.order_sort=this.params.order_sort),""!==this.params.bid&&(e.bid=this.params.bid),this.hook_get_param(e);for(var n in e)null===e[n]&&delete e[n];this.loading=!0,this.$rest(this.rest_api).get(e).success(function(n){for(var r in t.params)void 0!==e[r]&&(t.params[r]=e[r]);t.data=t.deal_data(n),t.total=n.total,t.pageSize=parseInt(n.pagesize),t.loading=!1}).error(function(e){t.loading=!1})}},hook_get_param:function(t){},deal_data:function(t){return t.list},check:function(){var t=this;return new s.a(function(e,n){t.$refs["form_"+t.datakey].validate(function(t){t?e():n()})})},add:function(){this.modal.action="add",this.modal.title="添加"+this.res_name,this.modal.show=!0,this[this.datakey][this.pk]=null},edit:function(t){this.rest_id=t[this.pk],o()(this[this.datakey],t),this.modal.action="edit",this.modal.title="编辑"+this.res_name,this.modal.show=!0},save:function(){var t=this;return new s.a(function(e,n){var r=t.rest_api,i=t[t.datakey];t.check().then(function(){var o="add"==t.modal.action?"post":"put",a=(t.modal.action,t.$rest(r));"add"!=t.modal.action&&a.add_url_param(t.rest_id),a[o](i).success(function(n){t.close(),t.init_data(),e(n)}).error(function(e){t.$Message.error(e.body.message),n(e)})})})},close:function(){this.modal.show=!1},delete:function(t){var e=this;return new s.a(function(n,r){e.$rest(e.rest_api).delete(t[e.pk]).success(function(t,r){e.init_data(),e.$Message.success("删除成功"),n(t)}).error(function(t,n){e.$Message.error(t.body.message),r(t)})})},do:function(t,e,n){var r=this;return new s.a(function(i,o){r.$rest(r.rest_api).add_url_param(e[r.pk],"do"+t).post(n).success(function(t){r.init_data(),i(t)}).error(function(t){r.$Message.error(t.body.message),o(t)})})},confirm:function(t){var e=this;return new s.a(function(n,r){e.$Modal.confirm({content:t||"您确定要进行删除操作吗?",onOk:function(){n()},onCancel:function(){r()}})})},fixLeft:function(){return this.data.length>0&&"left"},fixRight:function(){return this.data.length>0&&"right"},exportCSV:function(t,e){this.$refs[e].exportCsv({filename:t})},view_img:function(t){this.imgView=!0,this.bigImage=t},getBid:function(){return this.$store.state.branch.id},toggleBranch:function(t){}},computed:{toggleSearchIcon:function(){return this.searchExpand?"chevron-up":"chevron-down"},export_params:function(){var t={};t.page=this.pageIndex,t.pagesize=this.pageSize,""!=this.params.search_value&&(t[this.params.search_field]=this.params.search_value),this.hook_get_param(t);for(var e in t)null===t[e]&&delete t[e];return t},columns_head:function(){var t=[];return this.showCheckbox&&t.push({type:"selection",width:60,align:"center"}),this.showIndex&&t.push({type:"index",width:60,align:"center"}),t},columns:function(){var t=[],e={},n=this.column_render;o()(t,this.columns_head);for(var i in this.column_keys){var a=this.column_keys[i];if(void 0===a.show&&(a.show=!0),void 0===a.disabled&&(a.disabled=!1),a.show){var s=o()({key:i},a);n[i]?s.render=n[i].bind(this):f[i]&&(s.render=f[i].bind(this)),t.push(s)}}if(u.a.isEmpty(this.operation_btn)||(e.key="operation",e.title=this.column_operation_text,e.width=80,e.render=this.operation_btn.operation.bind(this),t.push(e)),u.a.isEmpty(this.operation_keys)||(e.key="operation",e.title=this.column_operation_text,e.width=80,e.render=r.bind(this),t.unshift(e)),!u.a.isEmpty(this.expand_render)){var c={};c.type="expand",c.width=50,c.render=this.expand_render.expand.bind(this),t.unshift(c)}return t},upload_header:function(){return{"x-token":this.$store.state.user.token,"x-file-key":"file"}},upload_post:function(){return{mod:"attachment_file"}}},watch:{"$store.state.branch.id":{handler:function(t,e){t!=e&&""!=this.rest_api&&(this.toggleBranch(t),this.init_data())},deep:!0},"$store.state.branch.last_update":{handler:function(){""!=this.rest_api&&this.init_data()},deep:!0}}}},549:function(t,e,n){"use strict";var r=n(553),i=n.n(r),o=n(35),a=n.n(o),s=n(1),u=n(559),c={};e.a={name:"filterColumn",props:{keys:{type:Object,default:function(){return{}}}},data:function(){return{items:{},selectAll:!1}},created:function(){var t=u(this.keys);c[t]?(this.items=c[t],this.setKeys()):(c[t]=s.b.copy(this.keys),this.items=c[t]),this.changeAllState()},methods:{toggleSelect:function(){for(var t in this.items)this.items[t].disabled||(this.items[t].show=this.selectAll);this.setKeys()},setKeys:function(){for(var t in this.items)this.keys[t].show=this.items[t].show},setKey:function(t){this.keys[t].show=!this.items[t].show,this.changeAllState()},changeAllState:function(){var t=a()(this.keys).length==i()(this.keys).filter(function(t){return 1==t.show}).length;this.selectAll&&!t&&(this.selectAll=!1),!this.selectAll&&t&&(this.selectAll=!0)}}}},550:function(t,e,n){"use strict";var r=n(209);e.a={mixins:[r.a],props:{per:{type:String,require:!0},showMy:{type:Boolean,default:!1}},mounted:function(){this.userPers.indexOf(this.per)>-1?this.showMy?this.type_value="my":this.type_value="all":this.type_value="my"},data:function(){return{type_value:""}},watch:{type_value:function(t){this.$emit("on-change",t)}}}},553:function(t,e,n){t.exports={default:n(556),__esModule:!0}},554:function(t,e,n){"use strict";function r(t){a||n(555)}var i=n(549),o=n(560),a=!1,s=n(11),u=r,c=s(i.a,o.a,!1,u,null,null);c.options.__file="src/views/components/FilterColumn.vue",e.a=c.exports},555:function(t,e){},556:function(t,e,n){n(557),t.exports=n(2).Object.values},557:function(t,e,n){var r=n(6),i=n(558)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},558:function(t,e,n){var r=n(17),i=n(15),o=n(26).f;t.exports=function(t){return function(e){for(var n,a=i(e),s=r(a),u=s.length,c=0,l=[];u>c;)o.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}}},559:function(t,e,n){var r,r;!function(e){t.exports=e()}(function(){return function t(e,n,i){function o(s,u){if(!n[s]){if(!e[s]){var c="function"==typeof r&&r;if(!u&&c)return r(s,!0);if(a)return a(s,!0);throw new Error("Cannot find module '"+s+"'")}var l=n[s]={exports:{}};e[s][0].call(l.exports,function(t){var n=e[s][1][t];return o(n||t)},l,l.exports,t,e,n,i)}return n[s].exports}for(var a="function"==typeof r&&r,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(t,e,n){(function(r,i,o,a,s,u,c,l,f){"use strict";function d(t,e){return e=h(t,e),g(t,e)}function h(t,e){if(e=e||{},e.algorithm=e.algorithm||"sha1",e.encoding=e.encoding||"hex",e.excludeValues=!!e.excludeValues,e.algorithm=e.algorithm.toLowerCase(),e.encoding=e.encoding.toLowerCase(),e.ignoreUnknown=!0===e.ignoreUnknown,e.respectType=!1!==e.respectType,e.respectFunctionNames=!1!==e.respectFunctionNames,e.respectFunctionProperties=!1!==e.respectFunctionProperties,e.unorderedArrays=!0===e.unorderedArrays,e.unorderedSets=!1!==e.unorderedSets,e.unorderedObjects=!1!==e.unorderedObjects,e.replacer=e.replacer||void 0,e.excludeKeys=e.excludeKeys||void 0,void 0===t)throw new Error("Object argument required.");for(var n=0;n<v.length;++n)v[n].toLowerCase()===e.algorithm.toLowerCase()&&(e.algorithm=v[n]);if(-1===v.indexOf(e.algorithm))throw new Error('Algorithm "'+e.algorithm+'"  not supported. supported values: '+v.join(", "));if(-1===w.indexOf(e.encoding)&&"passthrough"!==e.algorithm)throw new Error('Encoding "'+e.encoding+'"  not supported. supported values: '+w.join(", "));return e}function p(t){return"function"==typeof t&&null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(t))}function g(t,e){var n;if(n="passthrough"!==e.algorithm?m.createHash(e.algorithm):new _,void 0===n.write&&(n.write=n.update,n.end=n.update),y(e,n).dispatch(t),n.update||n.end(""),n.digest)return n.digest("buffer"===e.encoding?void 0:e.encoding);var r=n.read();return"buffer"===e.encoding?r:r.toString(e.encoding)}function y(t,e,n){n=n||[];var r=function(t){return e.update?e.update(t,"utf8"):e.write(t,"utf8")};return{dispatch:function(e){t.replacer&&(e=t.replacer(e));var n=typeof e;return null===e&&(n="null"),this["_"+n](e)},_object:function(e){var i=/\[object (.*)\]/i,a=Object.prototype.toString.call(e),s=i.exec(a);s=s?s[1]:"unknown:["+a+"]",s=s.toLowerCase();var u=null;if((u=n.indexOf(e))>=0)return this.dispatch("[CIRCULAR:"+u+"]");if(n.push(e),void 0!==o&&o.isBuffer&&o.isBuffer(e))return r("buffer:"),r(e);if("object"===s||"function"===s){var c=Object.keys(e);t.unorderedObjects&&(c=c.sort()),!1===t.respectType||p(e)||c.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(c=c.filter(function(e){return!t.excludeKeys(e)})),r("object:"+c.length+":");var l=this;return c.forEach(function(n){l.dispatch(n),r(":"),t.excludeValues||l.dispatch(e[n]),r(",")})}if(!this["_"+s]){if(t.ignoreUnknown)return r("["+s+"]");throw new Error('Unknown object type "'+s+'"')}this["_"+s](e)},_array:function(e,i){i=void 0!==i?i:!1!==t.unorderedArrays;var o=this;if(r("array:"+e.length+":"),!i||e.length<=1)return e.forEach(function(t){return o.dispatch(t)});var a=[],s=e.map(function(e){var r=new _,i=n.slice();return y(t,r,i).dispatch(e),a=a.concat(i.slice(n.length)),r.read().toString()});return n=n.concat(a),s.sort(),this._array(s,!1)},_date:function(t){return r("date:"+t.toJSON())},_symbol:function(t){return r("symbol:"+t.toString())},_error:function(t){return r("error:"+t.toString())},_boolean:function(t){return r("bool:"+t.toString())},_string:function(t){r("string:"+t.length+":"),r(t)},_function:function(e){r("fn:"),p(e)?this.dispatch("[native]"):this.dispatch(e.toString()),!1!==t.respectFunctionNames&&this.dispatch("function-name:"+String(e.name)),t.respectFunctionProperties&&this._object(e)},_number:function(t){return r("number:"+t.toString())},_xml:function(t){return r("xml:"+t.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(t){return r("regex:"+t.toString())},_uint8array:function(t){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint8clampedarray:function(t){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(t))},_int8array:function(t){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(t))},_uint16array:function(t){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_int16array:function(t){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(t))},_uint32array:function(t){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_int32array:function(t){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(t))},_float32array:function(t){return r("float32array:"),this.dispatch(Array.prototype.slice.call(t))},_float64array:function(t){return r("float64array:"),this.dispatch(Array.prototype.slice.call(t))},_arraybuffer:function(t){return r("arraybuffer:"),this.dispatch(new Uint8Array(t))},_url:function(t){return r("url:"+t.toString())},_map:function(e){r("map:");var n=Array.from(e);return this._array(n,!1!==t.unorderedSets)},_set:function(e){r("set:");var n=Array.from(e);return this._array(n,!1!==t.unorderedSets)},_blob:function(){if(t.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function _(){return{buf:"",write:function(t){this.buf+=t},end:function(t){this.buf+=t},read:function(){return this.buf}}}var m=t("crypto");n=e.exports=d,n.sha1=function(t){return d(t)},n.keys=function(t){return d(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(t){return d(t,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(t){return d(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var v=m.getHashes?m.getHashes().slice():["sha1","md5"];v.push("passthrough");var w=["buffer","hex","binary","base64"];n.writeToStream=function(t,e,n){return void 0===n&&(n=e,e={}),e=h(t,e),y(e,n).dispatch(t)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_5f1a2fc7.js","/")},{buffer:3,crypto:5,lYpoI2:10}],2:[function(t,e,n){(function(t,e,r,i,o,a,s,u,c){!function(t){"use strict";function e(t){var e=t.charCodeAt(0);return e===o||e===l?62:e===a||e===f?63:e<s?-1:e<s+10?e-s+26+26:e<c+26?e-c:e<u+26?e-u+26:void 0}function n(t){function n(t){c[f++]=t}var r,o,a,s,u,c;if(t.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var l=t.length;u="="===t.charAt(l-2)?2:"="===t.charAt(l-1)?1:0,c=new i(3*t.length/4-u),a=u>0?t.length-4:t.length;var f=0;for(r=0,o=0;r<a;r+=4,o+=3)s=e(t.charAt(r))<<18|e(t.charAt(r+1))<<12|e(t.charAt(r+2))<<6|e(t.charAt(r+3)),n((16711680&s)>>16),n((65280&s)>>8),n(255&s);return 2===u?(s=e(t.charAt(r))<<2|e(t.charAt(r+1))>>4,n(255&s)):1===u&&(s=e(t.charAt(r))<<10|e(t.charAt(r+1))<<4|e(t.charAt(r+2))>>2,n(s>>8&255),n(255&s)),c}function r(t){function e(t){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)}var n,r,i,o=t.length%3,a="";for(n=0,i=t.length-o;n<i;n+=3)r=(t[n]<<16)+(t[n+1]<<8)+t[n+2],a+=function(t){return e(t>>18&63)+e(t>>12&63)+e(t>>6&63)+e(63&t)}(r);switch(o){case 1:r=t[t.length-1],a+=e(r>>2),a+=e(r<<4&63),a+="==";break;case 2:r=(t[t.length-2]<<8)+t[t.length-1],a+=e(r>>10),a+=e(r>>4&63),a+=e(r<<2&63),a+="="}return a}var i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="+".charCodeAt(0),a="/".charCodeAt(0),s="0".charCodeAt(0),u="a".charCodeAt(0),c="A".charCodeAt(0),l="-".charCodeAt(0),f="_".charCodeAt(0);t.toByteArray=n,t.fromByteArray=r}(void 0===n?this.base64js={}:n)}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:10}],3:[function(t,e,n){(function(e,r,i,o,a,s,u,c,l){function i(t,e,n){if(!(this instanceof i))return new i(t,e,n);var r=typeof t;if("base64"===e&&"string"===r)for(t=M(t);t.length%4!=0;)t+="=";var o;if("number"===r)o=D(t);else if("string"===r)o=i.byteLength(t,e);else{if("object"!==r)throw new Error("First argument needs to be a number, array or string.");o=D(t.length)}var a;i._useTypedArrays?a=i._augment(new Uint8Array(o)):(a=this,a.length=o,a._isBuffer=!0);var s;if(i._useTypedArrays&&"number"==typeof t.byteLength)a._set(t);else if(O(t))for(s=0;s<o;s++)i.isBuffer(t)?a[s]=t.readUInt8(s):a[s]=t[s];else if("string"===r)a.write(t,0,e);else if("number"===r&&!i._useTypedArrays&&!n)for(s=0;s<o;s++)a[s]=0;return a}function f(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var a=e.length;X(a%2==0,"Invalid hex string"),r>a/2&&(r=a/2);for(var s=0;s<r;s++){var u=parseInt(e.substr(2*s,2),16);X(!isNaN(u),"Invalid hex string"),t[n+s]=u}return i._charsWritten=2*s,s}function d(t,e,n,r){return i._charsWritten=K(z(e),t,n,r)}function h(t,e,n,r){return i._charsWritten=K(P(e),t,n,r)}function p(t,e,n,r){return h(t,e,n,r)}function g(t,e,n,r){return i._charsWritten=K(V(e),t,n,r)}function y(t,e,n,r){return i._charsWritten=K(R(e),t,n,r)}function _(t,e,n){return 0===e&&n===t.length?G.fromByteArray(t):G.fromByteArray(t.slice(e,n))}function m(t,e,n){var r="",i="";n=Math.min(t.length,n);for(var o=e;o<n;o++)t[o]<=127?(r+=H(i)+String.fromCharCode(t[o]),i=""):i+="%"+t[o].toString(16);return r+H(i)}function v(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;i++)r+=String.fromCharCode(t[i]);return r}function w(t,e,n){return v(t,e,n)}function b(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;o++)i+=Y(t[o]);return i}function E(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function x(t,e,n,r){r||(X("boolean"==typeof n,"missing or invalid endian"),X(void 0!==e&&null!==e,"missing offset"),X(e+1<t.length,"Trying to read beyond buffer length"));var i=t.length;if(!(e>=i)){var o;return n?(o=t[e],e+1<i&&(o|=t[e+1]<<8)):(o=t[e]<<8,e+1<i&&(o|=t[e+1])),o}}function I(t,e,n,r){r||(X("boolean"==typeof n,"missing or invalid endian"),X(void 0!==e&&null!==e,"missing offset"),X(e+3<t.length,"Trying to read beyond buffer length"));var i=t.length;if(!(e>=i)){var o;return n?(e+2<i&&(o=t[e+2]<<16),e+1<i&&(o|=t[e+1]<<8),o|=t[e],e+3<i&&(o+=t[e+3]<<24>>>0)):(e+1<i&&(o=t[e+1]<<16),e+2<i&&(o|=t[e+2]<<8),e+3<i&&(o|=t[e+3]),o+=t[e]<<24>>>0),o}}function k(t,e,n,r){if(r||(X("boolean"==typeof n,"missing or invalid endian"),X(void 0!==e&&null!==e,"missing offset"),X(e+1<t.length,"Trying to read beyond buffer length")),!(e>=t.length)){var i=x(t,e,n,!0);return 32768&i?-1*(65535-i+1):i}}function A(t,e,n,r){if(r||(X("boolean"==typeof n,"missing or invalid endian"),X(void 0!==e&&null!==e,"missing offset"),X(e+3<t.length,"Trying to read beyond buffer length")),!(e>=t.length)){var i=I(t,e,n,!0);return 2147483648&i?-1*(4294967295-i+1):i}}function B(t,e,n,r){return r||(X("boolean"==typeof n,"missing or invalid endian"),X(e+3<t.length,"Trying to read beyond buffer length")),Q.read(t,e,n,23,4)}function S(t,e,n,r){return r||(X("boolean"==typeof n,"missing or invalid endian"),X(e+7<t.length,"Trying to read beyond buffer length")),Q.read(t,e,n,52,8)}function C(t,e,n,r,i){i||(X(void 0!==e&&null!==e,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+1<t.length,"trying to write beyond buffer length"),J(e,65535));var o=t.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,2);a<s;a++)t[n+a]=(e&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function j(t,e,n,r,i){i||(X(void 0!==e&&null!==e,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+3<t.length,"trying to write beyond buffer length"),J(e,4294967295));var o=t.length;if(!(n>=o))for(var a=0,s=Math.min(o-n,4);a<s;a++)t[n+a]=e>>>8*(r?a:3-a)&255}function L(t,e,n,r,i){i||(X(void 0!==e&&null!==e,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+1<t.length,"Trying to write beyond buffer length"),W(e,32767,-32768)),n>=t.length||(e>=0?C(t,e,n,r,i):C(t,65535+e+1,n,r,i))}function U(t,e,n,r,i){i||(X(void 0!==e&&null!==e,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+3<t.length,"Trying to write beyond buffer length"),W(e,2147483647,-2147483648)),n>=t.length||(e>=0?j(t,e,n,r,i):j(t,4294967295+e+1,n,r,i))}function T(t,e,n,r,i){i||(X(void 0!==e&&null!==e,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+3<t.length,"Trying to write beyond buffer length"),q(e,3.4028234663852886e38,-3.4028234663852886e38)),n>=t.length||Q.write(t,e,n,r,23,4)}function $(t,e,n,r,i){i||(X(void 0!==e&&null!==e,"missing value"),X("boolean"==typeof r,"missing or invalid endian"),X(void 0!==n&&null!==n,"missing offset"),X(n+7<t.length,"Trying to write beyond buffer length"),q(e,1.7976931348623157e308,-1.7976931348623157e308)),n>=t.length||Q.write(t,e,n,r,52,8)}function M(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function F(t,e,n){return"number"!=typeof t?n:(t=~~t,t>=e?e:t>=0?t:(t+=e,t>=0?t:0))}function D(t){return t=~~Math.ceil(+t),t<0?0:t}function N(t){return(Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)})(t)}function O(t){return N(t)||i.isBuffer(t)||t&&"object"==typeof t&&"number"==typeof t.length}function Y(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t){for(var e=[],n=0;n<t.length;n++){var r=t.charCodeAt(n);if(r<=127)e.push(t.charCodeAt(n));else{var i=n;r>=55296&&r<=57343&&n++;for(var o=encodeURIComponent(t.slice(i,n+1)).substr(1).split("%"),a=0;a<o.length;a++)e.push(parseInt(o[a],16))}}return e}function P(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e}function R(t){for(var e,n,r,i=[],o=0;o<t.length;o++)e=t.charCodeAt(o),n=e>>8,r=e%256,i.push(r),i.push(n);return i}function V(t){return G.toByteArray(t)}function K(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);i++)e[i+n]=t[i];return i}function H(t){try{return decodeURIComponent(t)}catch(t){return String.fromCharCode(65533)}}function J(t,e){X("number"==typeof t,"cannot write a non-number as a number"),X(t>=0,"specified a negative value for writing an unsigned value"),X(t<=e,"value is larger than maximum value for type"),X(Math.floor(t)===t,"value has a fractional component")}function W(t,e,n){X("number"==typeof t,"cannot write a non-number as a number"),X(t<=e,"value larger than maximum allowed value"),X(t>=n,"value smaller than minimum allowed value"),X(Math.floor(t)===t,"value has a fractional component")}function q(t,e,n){X("number"==typeof t,"cannot write a non-number as a number"),X(t<=e,"value larger than maximum allowed value"),X(t>=n,"value smaller than minimum allowed value")}function X(t,e){if(!t)throw new Error(e||"Failed assertion")}var G=t("base64-js"),Q=t("ieee754");n.Buffer=i,n.SlowBuffer=i,n.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var t=new ArrayBuffer(0),e=new Uint8Array(t);return e.foo=function(){return 42},42===e.foo()&&"function"==typeof e.subarray}catch(t){return!1}}(),i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(t){return!(null===t||void 0===t||!t._isBuffer)},i.byteLength=function(t,e){var n;switch(t+="",e||"utf8"){case"hex":n=t.length/2;break;case"utf8":case"utf-8":n=z(t).length;break;case"ascii":case"binary":case"raw":n=t.length;break;case"base64":n=V(t).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*t.length;break;default:throw new Error("Unknown encoding")}return n},i.concat=function(t,e){if(X(N(t),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===t.length)return new i(0);if(1===t.length)return t[0];var n;if("number"!=typeof e)for(e=0,n=0;n<t.length;n++)e+=t[n].length;var r=new i(e),o=0;for(n=0;n<t.length;n++){var a=t[n];a.copy(r,o),o+=a.length}return r},i.prototype.write=function(t,e,n,r){if(isFinite(e))isFinite(n)||(r=n,n=void 0);else{var i=r;r=e,e=n,n=i}e=Number(e)||0;var o=this.length-e;n?(n=Number(n))>o&&(n=o):n=o,r=String(r||"utf8").toLowerCase();var a;switch(r){case"hex":a=f(this,t,e,n);break;case"utf8":case"utf-8":a=d(this,t,e,n);break;case"ascii":a=h(this,t,e,n);break;case"binary":a=p(this,t,e,n);break;case"base64":a=g(this,t,e,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":a=y(this,t,e,n);break;default:throw new Error("Unknown encoding")}return a},i.prototype.toString=function(t,e,n){var r=this;if(t=String(t||"utf8").toLowerCase(),e=Number(e)||0,(n=void 0!==n?Number(n):n=r.length)===e)return"";var i;switch(t){case"hex":i=b(r,e,n);break;case"utf8":case"utf-8":i=m(r,e,n);break;case"ascii":i=v(r,e,n);break;case"binary":i=w(r,e,n);break;case"base64":i=_(r,e,n);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":i=E(r,e,n);break;default:throw new Error("Unknown encoding")}return i},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(t,e,n,r){var o=this;if(n||(n=0),r||0===r||(r=this.length),e||(e=0),r!==n&&0!==t.length&&0!==o.length){X(r>=n,"sourceEnd < sourceStart"),X(e>=0&&e<t.length,"targetStart out of bounds"),X(n>=0&&n<o.length,"sourceStart out of bounds"),X(r>=0&&r<=o.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var a=r-n;if(a<100||!i._useTypedArrays)for(var s=0;s<a;s++)t[s+e]=this[s+n];else t._set(this.subarray(n,n+a),e)}},i.prototype.slice=function(t,e){var n=this.length;if(t=F(t,n,0),e=F(e,n,n),i._useTypedArrays)return i._augment(this.subarray(t,e));for(var r=e-t,o=new i(r,void 0,!0),a=0;a<r;a++)o[a]=this[a+t];return o},i.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},i.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},i.prototype.readUInt8=function(t,e){if(e||(X(void 0!==t&&null!==t,"missing offset"),X(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length))return this[t]},i.prototype.readUInt16LE=function(t,e){return x(this,t,!0,e)},i.prototype.readUInt16BE=function(t,e){return x(this,t,!1,e)},i.prototype.readUInt32LE=function(t,e){return I(this,t,!0,e)},i.prototype.readUInt32BE=function(t,e){return I(this,t,!1,e)},i.prototype.readInt8=function(t,e){if(e||(X(void 0!==t&&null!==t,"missing offset"),X(t<this.length,"Trying to read beyond buffer length")),!(t>=this.length)){return 128&this[t]?-1*(255-this[t]+1):this[t]}},i.prototype.readInt16LE=function(t,e){return k(this,t,!0,e)},i.prototype.readInt16BE=function(t,e){return k(this,t,!1,e)},i.prototype.readInt32LE=function(t,e){return A(this,t,!0,e)},i.prototype.readInt32BE=function(t,e){return A(this,t,!1,e)},i.prototype.readFloatLE=function(t,e){return B(this,t,!0,e)},i.prototype.readFloatBE=function(t,e){return B(this,t,!1,e)},i.prototype.readDoubleLE=function(t,e){return S(this,t,!0,e)},i.prototype.readDoubleBE=function(t,e){return S(this,t,!1,e)},i.prototype.writeUInt8=function(t,e,n){n||(X(void 0!==t&&null!==t,"missing value"),X(void 0!==e&&null!==e,"missing offset"),X(e<this.length,"trying to write beyond buffer length"),J(t,255)),e>=this.length||(this[e]=t)},i.prototype.writeUInt16LE=function(t,e,n){C(this,t,e,!0,n)},i.prototype.writeUInt16BE=function(t,e,n){C(this,t,e,!1,n)},i.prototype.writeUInt32LE=function(t,e,n){j(this,t,e,!0,n)},i.prototype.writeUInt32BE=function(t,e,n){j(this,t,e,!1,n)},i.prototype.writeInt8=function(t,e,n){n||(X(void 0!==t&&null!==t,"missing value"),X(void 0!==e&&null!==e,"missing offset"),X(e<this.length,"Trying to write beyond buffer length"),W(t,127,-128)),e>=this.length||(t>=0?this.writeUInt8(t,e,n):this.writeUInt8(255+t+1,e,n))},i.prototype.writeInt16LE=function(t,e,n){L(this,t,e,!0,n)},i.prototype.writeInt16BE=function(t,e,n){L(this,t,e,!1,n)},i.prototype.writeInt32LE=function(t,e,n){U(this,t,e,!0,n)},i.prototype.writeInt32BE=function(t,e,n){U(this,t,e,!1,n)},i.prototype.writeFloatLE=function(t,e,n){T(this,t,e,!0,n)},i.prototype.writeFloatBE=function(t,e,n){T(this,t,e,!1,n)},i.prototype.writeDoubleLE=function(t,e,n){$(this,t,e,!0,n)},i.prototype.writeDoubleBE=function(t,e,n){$(this,t,e,!1,n)},i.prototype.fill=function(t,e,n){if(t||(t=0),e||(e=0),n||(n=this.length),"string"==typeof t&&(t=t.charCodeAt(0)),X("number"==typeof t&&!isNaN(t),"value is not a number"),X(n>=e,"end < start"),n!==e&&0!==this.length){X(e>=0&&e<this.length,"start out of bounds"),X(n>=0&&n<=this.length,"end out of bounds");for(var r=e;r<n;r++)this[r]=t}},i.prototype.inspect=function(){for(var t=[],e=this.length,r=0;r<e;r++)if(t[r]=Y(this[r]),r===n.INSPECT_MAX_BYTES){t[r+1]="...";break}return"<Buffer "+t.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(i._useTypedArrays)return new i(this).buffer;for(var t=new Uint8Array(this.length),e=0,n=t.length;e<n;e+=1)t[e]=this[e];return t.buffer}throw new Error("Buffer.toArrayBuffer not supported in this browser")};var Z=i.prototype;i._augment=function(t){return t._isBuffer=!0,t._get=t.get,t._set=t.set,t.get=Z.get,t.set=Z.set,t.write=Z.write,t.toString=Z.toString,t.toLocaleString=Z.toString,t.toJSON=Z.toJSON,t.copy=Z.copy,t.slice=Z.slice,t.readUInt8=Z.readUInt8,t.readUInt16LE=Z.readUInt16LE,t.readUInt16BE=Z.readUInt16BE,t.readUInt32LE=Z.readUInt32LE,t.readUInt32BE=Z.readUInt32BE,t.readInt8=Z.readInt8,t.readInt16LE=Z.readInt16LE,t.readInt16BE=Z.readInt16BE,t.readInt32LE=Z.readInt32LE,t.readInt32BE=Z.readInt32BE,t.readFloatLE=Z.readFloatLE,t.readFloatBE=Z.readFloatBE,t.readDoubleLE=Z.readDoubleLE,t.readDoubleBE=Z.readDoubleBE,t.writeUInt8=Z.writeUInt8,t.writeUInt16LE=Z.writeUInt16LE,t.writeUInt16BE=Z.writeUInt16BE,t.writeUInt32LE=Z.writeUInt32LE,t.writeUInt32BE=Z.writeUInt32BE,t.writeInt8=Z.writeInt8,t.writeInt16LE=Z.writeInt16LE,t.writeInt16BE=Z.writeInt16BE,t.writeInt32LE=Z.writeInt32LE,t.writeInt32BE=Z.writeInt32BE,t.writeFloatLE=Z.writeFloatLE,t.writeFloatBE=Z.writeFloatBE,t.writeDoubleLE=Z.writeDoubleLE,t.writeDoubleBE=Z.writeDoubleBE,t.fill=Z.fill,t.inspect=Z.inspect,t.toArrayBuffer=Z.toArrayBuffer,t}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(t,e,n){(function(n,r,i,o,a,s,u,c,l){function f(t,e){if(t.length%p!=0){var n=t.length+(p-t.length%p);t=i.concat([t,g],n)}for(var r=[],o=e?t.readInt32BE:t.readInt32LE,a=0;a<t.length;a+=p)r.push(o.call(t,a));return r}function d(t,e,n){for(var r=new i(e),o=n?r.writeInt32BE:r.writeInt32LE,a=0;a<t.length;a++)o.call(r,t[a],4*a,!0);return r}function h(t,e,n,r){return i.isBuffer(t)||(t=new i(t)),d(e(f(t,r),t.length*y),n,r)}var i=t("buffer").Buffer,p=4,g=new i(p);g.fill(0);var y=8;e.exports={hash:h}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],5:[function(t,e,n){(function(e,r,i,o,a,s,u,c,l){function f(t,e,n){i.isBuffer(e)||(e=new i(e)),i.isBuffer(n)||(n=new i(n)),e.length>v?e=t(e):e.length<v&&(e=i.concat([e,w],v));for(var r=new i(v),o=new i(v),a=0;a<v;a++)r[a]=54^e[a],o[a]=92^e[a];var s=t(i.concat([r,n]));return t(i.concat([o,s]))}function d(t,e){t=t||"sha1";var n=m[t],r=[],o=0;return n||h("algorithm:",t,"is not yet supported"),{update:function(t){return i.isBuffer(t)||(t=new i(t)),r.push(t),o+=t.length,this},digest:function(t){var o=i.concat(r),a=e?f(n,e,o):n(o);return r=null,t?a.toString(t):a}}}function h(){var t=[].slice.call(arguments).join(" ");throw new Error([t,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}var i=t("buffer").Buffer,p=t("./sha"),g=t("./sha256"),y=t("./rng"),_=t("./md5"),m={sha1:p,sha256:g,md5:_},v=64,w=new i(v);w.fill(0),n.createHash=function(t){return d(t)},n.createHmac=function(t,e){return d(t,e)},n.randomBytes=function(t,e){if(!e||!e.call)return new i(y(t));try{e.call(this,void 0,new i(y(t)))}catch(t){e(t)}},function(t,e){for(var n in t)e(t[n],n)}(["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],function(t){n[t]=function(){h("sorry,",t,"is not implemented yet")}})}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:10}],6:[function(t,e,n){(function(n,r,i,o,a,s,u,c,l){function f(t,e){t[e>>5]|=128<<e%32,t[14+(e+64>>>9<<4)]=e;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,a=0;a<t.length;a+=16){var s=n,u=r,c=i,l=o;n=h(n,r,i,o,t[a+0],7,-680876936),o=h(o,n,r,i,t[a+1],12,-389564586),i=h(i,o,n,r,t[a+2],17,606105819),r=h(r,i,o,n,t[a+3],22,-1044525330),n=h(n,r,i,o,t[a+4],7,-176418897),o=h(o,n,r,i,t[a+5],12,1200080426),i=h(i,o,n,r,t[a+6],17,-1473231341),r=h(r,i,o,n,t[a+7],22,-45705983),n=h(n,r,i,o,t[a+8],7,1770035416),o=h(o,n,r,i,t[a+9],12,-1958414417),i=h(i,o,n,r,t[a+10],17,-42063),r=h(r,i,o,n,t[a+11],22,-1990404162),n=h(n,r,i,o,t[a+12],7,1804603682),o=h(o,n,r,i,t[a+13],12,-40341101),i=h(i,o,n,r,t[a+14],17,-1502002290),r=h(r,i,o,n,t[a+15],22,1236535329),n=p(n,r,i,o,t[a+1],5,-165796510),o=p(o,n,r,i,t[a+6],9,-1069501632),i=p(i,o,n,r,t[a+11],14,643717713),r=p(r,i,o,n,t[a+0],20,-373897302),n=p(n,r,i,o,t[a+5],5,-701558691),o=p(o,n,r,i,t[a+10],9,38016083),i=p(i,o,n,r,t[a+15],14,-660478335),r=p(r,i,o,n,t[a+4],20,-405537848),n=p(n,r,i,o,t[a+9],5,568446438),o=p(o,n,r,i,t[a+14],9,-1019803690),i=p(i,o,n,r,t[a+3],14,-187363961),r=p(r,i,o,n,t[a+8],20,1163531501),n=p(n,r,i,o,t[a+13],5,-1444681467),o=p(o,n,r,i,t[a+2],9,-51403784),i=p(i,o,n,r,t[a+7],14,1735328473),r=p(r,i,o,n,t[a+12],20,-1926607734),n=g(n,r,i,o,t[a+5],4,-378558),o=g(o,n,r,i,t[a+8],11,-2022574463),i=g(i,o,n,r,t[a+11],16,1839030562),r=g(r,i,o,n,t[a+14],23,-35309556),n=g(n,r,i,o,t[a+1],4,-1530992060),o=g(o,n,r,i,t[a+4],11,1272893353),i=g(i,o,n,r,t[a+7],16,-155497632),r=g(r,i,o,n,t[a+10],23,-1094730640),n=g(n,r,i,o,t[a+13],4,681279174),o=g(o,n,r,i,t[a+0],11,-358537222),i=g(i,o,n,r,t[a+3],16,-722521979),r=g(r,i,o,n,t[a+6],23,76029189),n=g(n,r,i,o,t[a+9],4,-640364487),o=g(o,n,r,i,t[a+12],11,-421815835),i=g(i,o,n,r,t[a+15],16,530742520),r=g(r,i,o,n,t[a+2],23,-995338651),n=y(n,r,i,o,t[a+0],6,-198630844),o=y(o,n,r,i,t[a+7],10,1126891415),i=y(i,o,n,r,t[a+14],15,-1416354905),r=y(r,i,o,n,t[a+5],21,-57434055),n=y(n,r,i,o,t[a+12],6,1700485571),o=y(o,n,r,i,t[a+3],10,-1894986606),i=y(i,o,n,r,t[a+10],15,-1051523),r=y(r,i,o,n,t[a+1],21,-2054922799),n=y(n,r,i,o,t[a+8],6,1873313359),o=y(o,n,r,i,t[a+15],10,-30611744),i=y(i,o,n,r,t[a+6],15,-1560198380),r=y(r,i,o,n,t[a+13],21,1309151649),n=y(n,r,i,o,t[a+4],6,-145523070),o=y(o,n,r,i,t[a+11],10,-1120210379),i=y(i,o,n,r,t[a+2],15,718787259),r=y(r,i,o,n,t[a+9],21,-343485551),n=_(n,s),r=_(r,u),i=_(i,c),o=_(o,l)}return Array(n,r,i,o)}function d(t,e,n,r,i,o){return _(m(_(_(e,t),_(r,o)),i),n)}function h(t,e,n,r,i,o,a){return d(e&n|~e&r,t,e,i,o,a)}function p(t,e,n,r,i,o,a){return d(e&r|n&~r,t,e,i,o,a)}function g(t,e,n,r,i,o,a){return d(e^n^r,t,e,i,o,a)}function y(t,e,n,r,i,o,a){return d(n^(e|~r),t,e,i,o,a)}function _(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function m(t,e){return t<<e|t>>>32-e}var v=t("./helpers");e.exports=function(t){return v.hash(t,f,16)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(t,e,n){(function(t,n,r,i,o,a,s,u,c){!function(){var t,n,r=this;t=function(t){for(var e,e,n=new Array(t),r=0;r<t;r++)0==(3&r)&&(e=4294967296*Math.random()),n[r]=e>>>((3&r)<<3)&255;return n},r.crypto&&crypto.getRandomValues&&(n=function(t){var e=new Uint8Array(t);return crypto.getRandomValues(e),e}),e.exports=n||t}()}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(t,e,n){(function(n,r,i,o,a,s,u,c,l){function f(t,e){t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var n=Array(80),r=1732584193,i=-271733879,o=-1732584194,a=271733878,s=-1009589776,u=0;u<t.length;u+=16){for(var c=r,l=i,f=o,y=a,_=s,m=0;m<80;m++){n[m]=m<16?t[u+m]:g(n[m-3]^n[m-8]^n[m-14]^n[m-16],1);var v=p(p(g(r,5),d(m,i,o,a)),p(p(s,n[m]),h(m)));s=a,a=o,o=g(i,30),i=r,r=v}r=p(r,c),i=p(i,l),o=p(o,f),a=p(a,y),s=p(s,_)}return Array(r,i,o,a,s)}function d(t,e,n,r){return t<20?e&n|~e&r:t<40?e^n^r:t<60?e&n|e&r|n&r:e^n^r}function h(t){return t<20?1518500249:t<40?1859775393:t<60?-1894007588:-899497514}function p(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function g(t,e){return t<<e|t>>>32-e}var y=t("./helpers");e.exports=function(t){return y.hash(t,f,20,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(t,e,n){(function(n,r,i,o,a,s,u,c,l){var f=t("./helpers"),d=function(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n},h=function(t,e){return t>>>e|t<<32-e},p=function(t,e){return t>>>e},g=function(t,e,n){return t&e^~t&n},y=function(t,e,n){return t&e^t&n^e&n},_=function(t){return h(t,2)^h(t,13)^h(t,22)},m=function(t){return h(t,6)^h(t,11)^h(t,25)},v=function(t){return h(t,7)^h(t,18)^p(t,3)},w=function(t){return h(t,17)^h(t,19)^p(t,10)},b=function(t,e){var n,r,i,o,a,s,u,c,l,f,h,p,b=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),E=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),x=new Array(64);t[e>>5]|=128<<24-e%32,t[15+(e+64>>9<<4)]=e;for(var l=0;l<t.length;l+=16){n=E[0],r=E[1],i=E[2],o=E[3],a=E[4],s=E[5],u=E[6],c=E[7];for(var f=0;f<64;f++)x[f]=f<16?t[f+l]:d(d(d(w(x[f-2]),x[f-7]),v(x[f-15])),x[f-16]),h=d(d(d(d(c,m(a)),g(a,s,u)),b[f]),x[f]),p=d(_(n),y(n,r,i)),c=u,u=s,s=a,a=d(o,h),o=i,i=r,r=n,n=d(h,p);E[0]=d(n,E[0]),E[1]=d(r,E[1]),E[2]=d(i,E[2]),E[3]=d(o,E[3]),E[4]=d(a,E[4]),E[5]=d(s,E[5]),E[6]=d(u,E[6]),E[7]=d(c,E[7])}return E};e.exports=function(t){return f.hash(t,b,32,!0)}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(t,e,n){(function(t,n,r,i,o,a,s,u,c){function l(){}var t=e.exports={};t.nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};if(e){var n=[];return window.addEventListener("message",function(t){var e=t.source;if((e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),n.length>0)){n.shift()()}},!0),function(t){n.push(t),window.postMessage("process-tick","*")}}return function(t){setTimeout(t,0)}}(),t.title="browser",t.browser=!0,t.env={},t.argv=[],t.on=l,t.addListener=l,t.once=l,t.off=l,t.removeListener=l,t.removeAllListeners=l,t.emit=l,t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:10}],11:[function(t,e,n){(function(t,e,r,i,o,a,s,u,c){n.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,d=n?-1:1,h=t[e+f];for(f+=d,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+t[e+f],f+=d,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=d,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),e+=a+f>=1?d/u:d*Math.pow(2,1-f),e*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(e*u-1)*Math.pow(2,i),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+h]=255&a,h+=p,a/=256,c-=8);t[n+h-p]|=128*g}}).call(this,t("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/ieee754/index.js","/node_modules/ieee754")},{buffer:3,lYpoI2:10}]},{},[1])(1)})},560:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"filter-column"},[n("Dropdown",{attrs:{placement:"bottom-end"}},[n("Button",{attrs:{type:"primary"}},[t._v("\r\n    \t\t选择列\r\n            "),n("Icon",{attrs:{type:"funnel"}})],1),t._v(" "),n("Dropdown-menu",{attrs:{slot:"list"},slot:"list"},[n("Dropdown-item",[n("Checkbox",{on:{"on-change":t.toggleSelect},nativeOn:{click:function(t){t.stopPropagation()}},model:{value:t.selectAll,callback:function(e){t.selectAll=e},expression:"selectAll"}},[t._v("全选")])],1),t._v(" "),t._l(t.items,function(e,r){return n("Dropdown-item",[n("Checkbox",{attrs:{disabled:e.disabled},nativeOn:{click:function(e){e.stopPropagation(),t.setKey(r)}},model:{value:e.show,callback:function(n){t.$set(e,"show",n)},expression:"item.show"}},[t._v(t._s(e.title))])],1)})],2)],1)],1)},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};e.a=o},561:function(t,e,n){"use strict";var r=n(550),i=n(562),o=n(11),a=o(r.a,i.a,!1,null,null,null);a.options.__file="src/views/components/PerScope.vue",e.a=a.exports},562:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("label",[t._v("权限范围：")]),t._v(" "),n("ButtonGroup",[n("Button",{attrs:{type:"my"==t.type_value?"primary":"ghost",size:"small",icon:"android-person"},on:{click:function(e){t.type_value="my"}}},[t._v("我的\n            ")]),t._v(" "),n("Button",{attrs:{type:"all"==t.type_value?"primary":"ghost",size:"small",icon:"android-people",disabled:t.userPers.indexOf(t.per)<0},on:{click:function(e){t.type_value="all"}}},[t._v("所有\n            ")])],1)],1)},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};e.a=o},571:function(t,e,n){"use strict";var r=n(574),i=n(594),o=n(11),a=o(r.a,i.a,!1,null,null,null);a.options.__file="src/views/components/DateRangePicker.vue",e.a=a.exports},574:function(t,e,n){"use strict";var r=n(209),i=n(1);e.a={mixins:[r.a],name:"DateRangePicker",props:{value:{type:Array},label:{type:String},size:{type:String}},methods:{dateChange:function(t){var e=this;this.date_arr=t,this.$emit("input",t),this.$nextTick(function(){e.dispatch("FormItem","on-form-change",t)})},ok:function(){this.$emit("on-change",this.date_arr)},clear:function(){this.date_arr[0]="",this.date_arr[1]="",this.$emit("on-change",this.date_arr)}},computed:{placeholder:function(){return this.label||"请选择日期"}},data:function(){return{date_arr:[],date_option:{shortcuts:[{text:"今天",value:function(){return i.b.today_range_time()}},{text:"本周",value:function(){return i.b.week_range_time()}},{text:"本月",value:function(){return i.b.month_range_time()}},{text:"最近一周",value:function(){return i.b.recent_week_range_time(1)}},{text:"最近一个月",value:function(){return i.b.recent_month_range_time(1)}},{text:"最近三个月",value:function(){return i.b.recent_month_range_time(3)}}]}}}}},594:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("Date-picker",{attrs:{type:"daterange",value:t.value,size:t.size,format:"yyyy-MM-dd",confirm:"",options:t.date_option,placeholder:t.placeholder},on:{"on-change":t.dateChange,"on-clear":t.clear,"on-ok":t.ok}})},i=[];r._withStripped=!0;var o={render:r,staticRenderFns:i};e.a=o}});