(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0cbc46b4"],{"062a":function(e,t,a){},"06a3":function(e,t,a){"use strict";var n=a("8737"),r=a.n(n);r.a},"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,a,n){return e/=n/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var n=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function r(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function o(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=o(),l=e-i,u=20,s=0;t="undefined"===typeof t?500:t;var c=function e(){s+=u;var o=Math.easeInOutQuad(s,i,l,t);r(o),s0?JSON.stringify(r):null,"YQPAY"!==a.payType||a.yqMerNo||a.routeScale?"ADAPAY"!==a.payType||a.hfMerNo||a.routeScale?"create"==t.formActionTitle?(a.id&&delete a.id,Object(s["v"])(a).then((function(e){t.messageTips("添加",e)}))):"update"==t.formActionTitle&&Object(s["y"])(a).then((function(e){t.messageTips("修改",e)})):t.$message.error("请输入汇付商户号或比例"):t.$message.error("请输入双乾商户号或比例")}}))},messageTips:function(e,t){200==t.code?(this.$message.success(e+"成功"),this.chargeStatus=!1,this.getList()):this.$message.error(t.msg)},addDomain:function(e,t){var a=e.domains,n=this.form,r=a.length,o=a[r-1];if(o.organId||o.scale||o.feeFlag||!t){var i=0;2===n.type?i=100:1===n.type&&(i=10);var l=0,u=0,s=0,c=!1,d=!1,f=!1;if(a.forEach((function(e){l+=Number(e.scale),2==n.type?"Y"==e.feeFlag&&u++:1==n.type&&"N"==e.feeFlag&&s++,c||(c=!e.feeFlag),d||(d=!e.organId),f||(f=!e.scale)})),u>1)e.errorText="承担手续费只能设置一次“是”";else if(s>0)e.errorText="承担手续费只能设置“是”";else if(o.organId)if(parseInt(o.scale))if(parseInt(o.scale)>i)e.errorText="比例不能超过"+i;else if(parseInt(l)>i)e.errorText="比例总和应为"+i;else if(o.feeFlag)if(e.errorText=null,t){if(d)return void(e.errorText="选择分部不能为空");if(f)return void(e.errorText="比例不能为空");if(c)return void(e.errorText="请选择是否承担手续费");if(2==n.type&&1!=u)return void(e.errorText="承担手续费必须设置一次“是”")}else o.disabled=!0,a.push({organId:null,scale:null,feeFlag:null,disabled:!1,key:Date.now()});else e.errorText="请选择是否承担手续费";else e.errorText="比例不能为空";else e.errorText="选择分部不能为空"}else e.errorText=""},removeDomain:function(e,t){var a=e.domains.indexOf(t);-1!==a&&(e.domains.splice(a,1),e.domains[e.domains.length-1].disabled=!1,e.errorText=null)},getList:function(){var e=this,t={};t.rows=this.pageInfo.limit,t.page=this.pageInfo.page,Object(s["x"])(t).then((function(t){200==t.code&&t.data&&(e.tableList=t.data.rows,e.pageInfo.total=t.data.total)}))},getRoleList:function(){var e=this;Object(p["c"])({delFlag:0,rows:9999}).then((function(t){200==t.code&&t.data&&t.data.rows&&t.data.rows.forEach((function(t){e.branchList.push({label:t.name,value:t.id})}))}))},chargeOperation:function(e,t){var a=this;if(this.formActionTitle=e,this.chargeStatus=!0,"update"==e&&(this.onPayTypeChange(t.payType),this.form={id:t.id,type:Number(t.type),hfMerNo:t.hfMerNo,yqMerNo:t.yqMerNo,payType:t.payType,organId:t.organId},t.routeScale)){this.result.domains=[];var n=JSON.parse(t.routeScale),r=n.length;n.forEach((function(e,t){var n={};n.disabled=r!=t+1,n.organId=e.organId,n.scale=e.scale,n.feeFlag=e.feeFlag,a.result.domains.push(n)}))}},chargeDel:function(e){var t=this;this.$confirm("你确定删除?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){Object(s["w"])({id:e.id}).then((function(e){t.messageTips("删除",e)}))})).catch()},onFormClose:function(e){this.form={organId:null,hfMerNo:null,yqMerNo:null,payType:null,type:2,routeScale:[]},this.result={domains:[{organId:null,scale:null,feeFlag:null,disabled:!1,key:Date.now()}],errorText:null,yqError:null,hfError:null},this.$refs[e].resetFields()}}}),g=m,h=(a("8ead"),a("2877")),b=Object(h["a"])(g,o,i,!1,null,"31ff7ba4",null),y=b.exports,v=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[a("div",{staticClass:"m-core"},[a("div",{directives:[{name:"permission",rawName:"v-permission",value:"sysConfig/update",expression:"'sysConfig/update'"}],staticClass:"newBand",on:{click:function(t){e.sporadicStatus=!0}}},[e._v("零星收费设置")]),e._v(" "),a("el-form",{ref:"ruleFormValid",attrs:{model:e.result}},[a("el-form-item",{staticClass:"moreRule",staticStyle:{"margin-bottom":"0"},attrs:{"label-width":e.formLabelWidth}},[a("span",{staticClass:"min"},[e._v("分部")]),e._v(" "),a("span",{staticClass:"min"},[e._v("收款分部")]),e._v(" "),a("span",{staticClass:"min"},[e._v("金额")]),e._v(" "),a("span",{staticClass:"max"},[e._v("购买类型")])]),e._v(" "),a("div",{staticClass:"moreRule"},e._l(e.result.domains,(function(t,n){return a("div",{key:n,staticClass:"moreRuleIn"},[a("el-form-item",{staticClass:"setWidth",attrs:{"label-width":e.formLabelWidth,label:"第"+(n+1),prop:"domains."+n+".organId",rules:{required:!0,message:"请选择所属分部",trigger:"change"}}},[a("el-select",{attrs:{clearable:"",disabled:t.disabled,placeholder:"请选择所属分部"},model:{value:t.organId,callback:function(a){e.$set(t,"organId","string"===typeof a?a.trim():a)},expression:"domain.organId"}},e._l(e.branchList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",{staticClass:"setWidth",attrs:{prop:"domains."+n+".routeOrganId",rules:[{required:!0,message:"请选择收款分部",trigger:"change"}]}},[a("el-select",{attrs:{clearable:"",disabled:t.disabled,placeholder:"请选择收款分部"},model:{value:t.routeOrganId,callback:function(a){e.$set(t,"routeOrganId","string"===typeof a?a.trim():a)},expression:"domain.routeOrganId"}},e._l(e.calcBranchList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",{staticClass:"setWidth",attrs:{prop:"domains."+n+".amount",rules:e.validAmount}},[a("el-input",{attrs:{type:"age",clearable:"",placeholder:"请输入比例",disabled:t.disabled},nativeOn:{mousewheel:function(e){e.preventDefault()}},model:{value:t.amount,callback:function(a){e.$set(t,"amount",e._n(a))},expression:"domain.amount"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"domains."+n+".type",rules:[{required:!0,message:"请选择购买类型",trigger:"change"}]}},[a("el-select",{staticStyle:{width:"180px !important"},attrs:{clearable:"",placeholder:"购买类型",disabled:t.disabled},model:{value:t.type,callback:function(a){e.$set(t,"type","string"===typeof a?a.trim():a)},expression:"domain.type"}},[a("el-option",{attrs:{value:"vipBuy",label:"VIP课"}}),e._v(" "),a("el-option",{attrs:{value:"practiceBuy",label:"网管课"}}),e._v(" "),a("el-option",{attrs:{value:"musicGroupBuy",label:"乐团课"}})],1)],1),e._v(" "),a("el-form-item",[0==n||t.disabled?e._e():a("el-button",{on:{click:function(a){return a.preventDefault(),e.removeDomain(e.result,t)}}},[e._v("删除")])],1)],1)})),0),e._v(" "),a("el-form-item",{staticClass:"add"},[a("el-button",{attrs:{icon:"el-icon-plus"},on:{click:function(t){return e.addDomain(e.result)}}},[e._v("新增")])],1)],1),e._v(" "),a("el-button",{staticStyle:{"margin-left":"100px"},attrs:{type:"primary"},on:{click:e.onSaveDomain}},[e._v("保 存")])],1),e._v(" "),a("el-dialog",{attrs:{title:"零星收费设置",visible:e.sporadicStatus,width:"500px"},on:{"update:visible":function(t){e.sporadicStatus=t}}},[a("el-form",{ref:"ruleFormSporadic",attrs:{model:e.formSporadic,rules:e.rulesSporadic}},[a("el-form-item",{attrs:{label:"收款分部",prop:"organId","label-width":e.formLabelWidth2}},[a("el-select",{model:{value:e.formSporadic.organId,callback:function(t){e.$set(e.formSporadic,"organId","string"===typeof t?t.trim():t)},expression:"formSporadic.organId"}},e._l(e.calcBranchList,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value.toString(),disabled:e.disabled}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{label:"金额(元)",prop:"minReceipt","label-width":e.formLabelWidth2}},[a("el-input",{staticStyle:{width:"100%"},nativeOn:{mousewheel:function(e){e.preventDefault()}},model:{value:e.formSporadic.minReceipt,callback:function(t){e.$set(e.formSporadic,"minReceipt",e._n(t))},expression:"formSporadic.minReceipt"}})],1)],1),e._v(" "),a("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){e.sporadicStatus=!1}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.onSporadicSubmit("ruleFormSporadic")}}},[e._v("确 定")])],1)],1)],1)},_=[],O=a("a6e9"),I=a("ec8a"),w=function(e,t,a){t?t<0?a(new Error("输入金额必须大于0")):t>999999999?a(new Error("输入金额必须小于999999999")):a():a(new Error("请输入金额"))},j={name:"chargeProfitManager",components:{pagination:u["a"]},data:function(){return{tableList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},roleList:[],branchList:[],calcBranchList:[],formLabelWidth:"100px",result:{domains:[{organId:null,routeOrganId:null,amount:null,type:null}]},validAmount:[{required:!0,validator:w,trigger:"blur"},{type:"number",message:"金额必须为数字值"}],selectId:null,selectItem:{},sporadicStatus:!1,formLabelWidth2:"120px",sporadicId:null,formSporadic:{organId:null,minReceipt:null},rulesSporadic:{organId:[{required:!0,message:"请选择所属分部",trigger:"change"}],minReceipt:[{required:!0,validator:w,trigger:"blur"},{type:"number",message:"金额必须为数字值"}]}}},mounted:function(){this.__init(),this.getList()},methods:{__init:function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(p["c"])({delFlag:0,rows:9999}).then((function(e){t.branchList=[],200==e.code&&e.data&&e.data.rows&&e.data.rows.forEach((function(e){t.branchList.push({label:e.name,value:e.id})}))}));case 2:return e.next=4,f().then((function(e){200==e.code&&e.data&&e.data.forEach((function(e){t.calcBranchList.push({label:e.organName,value:e.organId})}))}));case 4:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),permission:function(e){return Object(I["a"])(e)},onSporadicSubmit:function(e){var t=this;this.$refs[e].validate((function(e){if(e){var a={id:t.sporadicId,paranValue:JSON.stringify(t.formSporadic),paramName:"sporadic_channel"};Object(O["b"])(a).then((function(e){200==e.code&&t.messageTips("保存",e)}))}}))},messageTips:function(e,t){200==t.code?(this.$message.success(e+"成功"),this.chargeStatus=!1,this.sporadicStatus=!1,this.getList()):this.$message.error(t.msg)},getList:function(){var e=Object(l["a"])(regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(O["a"])({group:"channel_config"}).then((function(e){if(200==e.code&&e.data.length>0){var a={};e.data.forEach((function(e,n){"amount_channel"===e.paramName&&(a=e.paranValue?JSON.parse(e.paranValue):[],t.selectId=e.id,a.length>0&&(t.result.domains=[],a.forEach((function(e,a){t.result.domains.push({organId:e.organId,routeOrganId:e.routeOrganId,amount:e.amount,type:e.type})})))),"sporadic_channel"===e.paramName&&(t.formSporadic=e.paranValue?JSON.parse(e.paranValue):{organId:null,minReceipt:null},t.sporadicId=e.id)}))}}));case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}(),onSaveDomain:function(){var e=this;this.$refs["ruleFormValid"].validate((function(t){if(t){var a=e.result.domains,n={id:e.selectId,paranValue:JSON.stringify(a),paramName:"amount_channel"};Object(O["b"])(n).then((function(t){200==t.code&&e.messageTips("保存",t)}))}}))},addDomain:function(e,t){var a=e.domains,n=(this.form,a.length);a[n-1];this.$refs["ruleFormValid"].validate((function(e){e&&(t||a.push({organId:null,routeOrganId:null,amount:null,type:null}))}))},removeDomain:function(e,t){var a=e.domains.indexOf(t);-1!==a&&(e.domains.splice(a,1),e.domains[e.domains.length-1].disabled=!1)}}},S=j,x=(a("06a3"),Object(h["a"])(S,v,_,!1,null,"192213a8",null)),T=x.exports,C={components:{one:y,two:T},name:"chargeManager",data:function(){return{activeIndex:"0",permissionList:{scalc:Object(I["a"])("/chargeManager/scalc"),money:Object(I["a"])("/chargeManager/money")}}},methods:{handleClick:function(e){this.activeIndex=e.name}}},k=C,N=(a("5e6a"),Object(h["a"])(k,n,r,!1,null,"44bab9f4",null));t["default"]=N.exports},8737:function(e,t,a){},"8ead":function(e,t,a){"use strict";var n=a("062a"),r=a.n(n);r.a},"99b4":function(e,t,a){"use strict";a.d(t,"c",(function(){return l})),a.d(t,"e",(function(){return u})),a.d(t,"d",(function(){return s})),a.d(t,"B",(function(){return c})),a.d(t,"z",(function(){return d})),a.d(t,"H",(function(){return f})),a.d(t,"G",(function(){return p})),a.d(t,"I",(function(){return m})),a.d(t,"A",(function(){return g})),a.d(t,"j",(function(){return h})),a.d(t,"l",(function(){return b})),a.d(t,"p",(function(){return y})),a.d(t,"k",(function(){return v})),a.d(t,"E",(function(){return _})),a.d(t,"n",(function(){return O})),a.d(t,"F",(function(){return I})),a.d(t,"D",(function(){return w})),a.d(t,"f",(function(){return j})),a.d(t,"h",(function(){return S})),a.d(t,"g",(function(){return x})),a.d(t,"i",(function(){return T})),a.d(t,"r",(function(){return C})),a.d(t,"s",(function(){return k})),a.d(t,"u",(function(){return N})),a.d(t,"t",(function(){return q})),a.d(t,"o",(function(){return L})),a.d(t,"x",(function(){return F})),a.d(t,"v",(function(){return $})),a.d(t,"y",(function(){return P})),a.d(t,"w",(function(){return A})),a.d(t,"m",(function(){return M})),a.d(t,"b",(function(){return E})),a.d(t,"a",(function(){return R})),a.d(t,"C",(function(){return D})),a.d(t,"q",(function(){return z})),a.d(t,"J",(function(){return B}));var n=a("b775"),r=a("4328"),o=a.n(r),i="/api-web";function l(e){return Object(n["a"])({url:i+"/cooperationOrgan/add",method:"post",data:o.a.stringify(e)})}function u(e){return Object(n["a"])({url:i+"/cooperationOrgan/update",method:"put",data:o.a.stringify(e)})}function s(e){return Object(n["a"])({url:i+"/cooperationOrgan/del/".concat(e),method:"post"})}function c(e){return Object(n["a"])({url:i+"/cooperationOrgan/queryPage",method:"get",params:e})}function d(e){return Object(n["a"])({url:i+"/cooperationOrgan/queryByOrganId",method:"get",params:e})}function f(e){return Object(n["a"])({url:i+"/school/queryPage",method:"get",params:e})}function p(e){return Object(n["a"])({url:i+"/school/add",method:"post",data:o.a.stringify(e)})}function m(e){return Object(n["a"])({url:i+"/school/update",method:"post",data:o.a.stringify(e)})}function g(e){return Object(n["a"])({url:i+"/employee/queryEmployByOrganId",method:"get",params:e})}function h(e){return Object(n["a"])({url:i+"/employee/add",method:"post",data:e})}function b(e){return Object(n["a"])({url:i+"/employee/update",method:"post",data:e})}function y(e){return Object(n["a"])({url:"/api-auth/role/queryPage",method:"get",params:e})}function v(e){return Object(n["a"])({url:i+"/employee/employeeOperate",method:"post",data:o.a.stringify(e)})}function _(e){return Object(n["a"])({url:"/api-auth/role/queryPage",method:"get",params:e})}function O(e){return Object(n["a"])({url:"/api-auth/role/".concat(e.id),method:"get"})}function I(e){return Object(n["a"])({url:"/api-auth/role/update",method:"post",data:e})}function w(e){return Object(n["a"])({url:"/api-auth/role/add",method:"post",data:e})}function j(e){return Object(n["a"])({url:i+"/courseScheduleRewards/queryPage",method:"get",params:e})}function S(e){return Object(n["a"])({url:i+"/courseScheduleRewards/query",method:"get",params:e})}function x(e){return Object(n["a"])({url:i+"/courseScheduleRewards/add",method:"post",data:o.a.stringify(e)})}function T(e){return Object(n["a"])({url:i+"/courseScheduleRewards/update",method:"post",data:o.a.stringify(e)})}function C(e){return Object(n["a"])({url:i+"/hotWordLabelManage/queryPage",method:"get",params:e})}function k(e){return Object(n["a"])({url:i+"/hotWordLabelManage/add",method:"post",data:o.a.stringify(e)})}function N(e){return Object(n["a"])({url:i+"/hotWordLabelManage/update",method:"post",data:o.a.stringify(e)})}function q(e){return Object(n["a"])({url:i+"/hotWordLabelManage/del/".concat(e),method:"post"})}function L(e){return Object(n["a"])({url:i+"/school/queryByOrganId",method:"get",params:e})}function F(e){return Object(n["a"])({url:i+"/paymentConfig/queryPage",method:"get",params:e})}function $(e){return Object(n["a"])({url:i+"/paymentConfig/add",method:"post",data:o.a.stringify(e)})}function P(e){return Object(n["a"])({url:i+"/paymentConfig/update",method:"post",data:o.a.stringify(e)})}function A(e){return Object(n["a"])({url:i+"/paymentConfig/del/"+e.id,method:"post"})}function M(e){return Object(n["a"])({url:i+"/teacher/findTeacherByOrganId",method:"get",params:e})}function E(e){return Object(n["a"])({url:i+"/appVersionInfo/list",method:"get",params:e})}function R(e){return Object(n["a"])({url:i+"/appVersionInfo/add",method:"post",data:o.a.stringify(e)})}function D(e){return Object(n["a"])({url:i+"/appVersionInfo/update",method:"post",data:o.a.stringify(e)})}function z(e){return Object(n["a"])({url:i+"/employee/hasCourseGroupRelation",method:"post",data:o.a.stringify(e)})}function B(e){return Object(n["a"])({url:i+"/employee/updateEducationTeacherId",method:"post",data:o.a.stringify(e)})}},a6e9:function(e,t,a){"use strict";a.d(t,"a",(function(){return l})),a.d(t,"b",(function(){return u}));var n=a("b775"),r=a("4328"),o=a.n(r),i="/api-web";function l(e){return Object(n["a"])({url:i+"/sysConfig/list",method:"get",params:e})}function u(e){return Object(n["a"])({url:i+"/sysConfig/update",method:"post",data:o.a.stringify(e)})}},c0b9:function(e,t,a){"use strict";var n=a("de4e"),r=a.n(n);r.a},d349:function(e,t,a){"use strict";a.d(t,"c",(function(){return l})),a.d(t,"b",(function(){return u})),a.d(t,"d",(function(){return s})),a.d(t,"a",(function(){return c})),a.d(t,"m",(function(){return d})),a.d(t,"q",(function(){return f})),a.d(t,"r",(function(){return p})),a.d(t,"f",(function(){return m})),a.d(t,"k",(function(){return g})),a.d(t,"e",(function(){return h})),a.d(t,"l",(function(){return b})),a.d(t,"p",(function(){return y})),a.d(t,"n",(function(){return v})),a.d(t,"o",(function(){return _})),a.d(t,"h",(function(){return O})),a.d(t,"i",(function(){return I})),a.d(t,"j",(function(){return w})),a.d(t,"g",(function(){return j}));var n=a("b775"),r=a("4328"),o=a.n(r),i="/api-web";function l(e){return Object(n["a"])({url:i+"/organization/queryPage",method:"get",params:e})}function u(e){return Object(n["a"])({url:i+"/organization/add",method:"post",data:o.a.stringify(e)})}function s(e){return Object(n["a"])({url:i+"/organization/update",method:"post",data:o.a.stringify(e)})}function c(e){return Object(n["a"])({url:i+"/area/queryChild",method:"get",params:e})}function d(e){return Object(n["a"])({url:i+"/area/getParentArea/".concat(e.id),method:"get"})}function f(e){return Object(n["a"])({url:i+"/subject/queryPageTree",method:"get",params:e})}function p(e){return Object(n["a"])({url:i+"/subject/upset",method:"post",data:e})}function m(e){return Object(n["a"])({url:i+"/chargeType/queryPage",method:"get",params:e})}function g(e){return Object(n["a"])({url:i+"/chargeType/upSet",method:"post",data:e})}function h(e){return Object(n["a"])({url:i+"/chargeType/del/".concat(e),method:"post"})}function b(e){return Object(n["a"])({url:i+"/courseHomeworkTemplate/queryPage",method:"post",data:e})}function y(e){return Object(n["a"])({url:i+"/courseHomeworkTemplate/update",method:"post",data:o.a.stringify(e)})}function v(e){return Object(n["a"])({url:i+"/courseHomeworkTemplate/add",method:"post",data:o.a.stringify(e)})}function _(e){return Object(n["a"])({url:i+"/courseHomeworkTemplate/del/".concat(e),method:"post"})}function O(e){return Object(n["a"])({url:i+"/chargeTypeOrganizationFee/add",method:"post",data:o.a.stringify(e)})}function I(e){return Object(n["a"])({url:i+"/chargeTypeOrganizationFee/delete",method:"post",data:o.a.stringify(e)})}function w(e){return Object(n["a"])({url:i+"/chargeTypeOrganizationFee/update",method:"post",data:o.a.stringify(e)})}function j(e){return Object(n["a"])({url:i+"/chargeTypeOrganizationFee/queryPage",method:"get",params:e})}},de4e:function(e,t,a){},ec8a:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));a("6762"),a("2fdb"),a("28a5");function n(e,t){var a=window.localStorage.getItem("permission");return a=a.split(","),t=t||null,!(!a.includes(e)||t)||!(!a.includes(e)||!a.includes(t))}}}]);