<!DOCTYPE html><htmllang=cn><head><metacharset=utf-8><metahttp-equiv=X-UA-Compatiblecontent="IE=edge"><metaname=viewportcontent="width=device-width,initial-scale=1"><linkrel=iconhref=favicon.ico><linkrel=stylesheettype=text/csshref=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><linkrel=stylesheettype=text/csshref=static/fonts/iconfont.css><title>好办</title><linkhref=css/chunk-0347cc62.9d9c3642.cssrel=prefetch><linkhref=css/chunk-0a5c1ff1.7609202a.cssrel=prefetch><linkhref=css/chunk-0d204189.9cb54b4c.cssrel=prefetch><linkhref=css/chunk-137f432e.4bf8b8ea.cssrel=prefetch><linkhref=css/chunk-16a8dcde.2a3bfb87.cssrel=prefetch><linkhref=css/chunk-19db1fc6.ba890a33.cssrel=prefetch><linkhref=css/chunk-1b93a01a.01549a8d.cssrel=prefetch><linkhref=css/chunk-29a5079e.0d5615a8.cssrel=prefetch><linkhref=css/chunk-2dd6d029.40bb678f.cssrel=prefetch><linkhref=css/chunk-2f0ee7b8.595ab618.cssrel=prefetch><linkhref=css/chunk-3837ab1b.c9900cd9.cssrel=prefetch><linkhref=css/chunk-563bb835.b437b2a0.cssrel=prefetch><linkhref=css/chunk-57518ea6.907f38c7.cssrel=prefetch><linkhref=css/chunk-63cd2773.5fbdcef6.cssrel=prefetch><linkhref=css/chunk-75e79dbd.affc2c17.cssrel=prefetch><linkhref=css/chunk-7d43bd4c.b56c1e93.cssrel=prefetch><linkhref=css/chunk-7ea1f4c1.2edbc58c.cssrel=prefetch><linkhref=css/chunk-7eb33052.fb64f688.cssrel=prefetch><linkhref=css/chunk-95d0d97e.446b104d.cssrel=prefetch><linkhref=css/chunk-a35f72ec.c598b6d9.cssrel=prefetch><linkhref=css/chunk-c106e1c6.6b520689.cssrel=prefetch><linkhref=css/chunk-c862dc02.dcb1c6b1.cssrel=prefetch><linkhref=css/chunk-d90c3fd0.3d1f8308.cssrel=prefetch><linkhref=css/chunk-dff92c8e.a5b77268.cssrel=prefetch><linkhref=css/chunk-ea9d6bee.492c0f7d.cssrel=prefetch><linkhref=css/chunk-f9046af0.ae99e4e7.cssrel=prefetch><linkhref=js/chunk-0347cc62.828683a5.jsrel=prefetch><linkhref=js/chunk-0a5c1ff1.c5e6df35.jsrel=prefetch><linkhref=js/chunk-0d204189.f58688a5.jsrel=prefetch><linkhref=js/chunk-137f432e.c312b4c2.jsrel=prefetch><linkhref=js/chunk-16a8dcde.422b0989.jsrel=prefetch><linkhref=js/chunk-19db1fc6.10fbf935.jsrel=prefetch><linkhref=js/chunk-1b93a01a.19b25334.jsrel=prefetch><linkhref=js/chunk-29a5079e.262fb3f1.jsrel=prefetch><linkhref=js/chunk-2d2095a8.0b59c285.jsrel=prefetch><linkhref=js/chunk-2dd6d029.a10e9537.jsrel=prefetch><linkhref=js/chunk-2f0ee7b8.6d638fa9.jsrel=prefetch><linkhref=js/chunk-3837ab1b.93ccee45.jsrel=prefetch><linkhref=js/chunk-563bb835.ae308415.jsrel=prefetch><linkhref=js/chunk-57518ea6.dd53a289.jsrel=prefetch><linkhref=js/chunk-63cd2773.7c931d9c.jsrel=prefetch><linkhref=js/chunk-737eaf4a.e335b297.jsrel=prefetch><linkhref=js/chunk-75e79dbd.56d14304.jsrel=prefetch><linkhref=js/chunk-7d43bd4c.368b657f.jsrel=prefetch><linkhref=js/chunk-7ea1f4c1.fd6c8daa.jsrel=prefetch><linkhref=js/chunk-7eb33052.9e02e701.jsrel=prefetch><linkhref=js/chunk-95d0d97e.62b0d11a.jsrel=prefetch><linkhref=js/chunk-a35f72ec.daa4edcb.jsrel=prefetch><linkhref=js/chunk-c106e1c6.86bc9485.jsrel=prefetch><linkhref=js/chunk-c862dc02.7179614f.jsrel=prefetch><linkhref=js/chunk-d90c3fd0.4b131c93.jsrel=prefetch><linkhref=js/chunk-dff92c8e.8ed97cac.jsrel=prefetch><linkhref=js/chunk-ea9d6bee.51f6b850.jsrel=prefetch><linkhref=js/chunk-f9046af0.20920b42.jsrel=prefetch><linkhref=css/app.dc6afa5f.cssrel=preloadas=style><linkhref=css/chunk-vendors.635bc84a.cssrel=preloadas=style><linkhref=js/app.df1d884d.jsrel=preloadas=script><linkhref=js/chunk-vendors.e7b30cab.jsrel=preloadas=script><linkhref=css/chunk-vendors.635bc84a.cssrel=stylesheet><linkhref=css/app.dc6afa5f.cssrel=stylesheet></head><bodyclass=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><divid=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=js/chunk-vendors.e7b30cab.js></script><script src=js/app.df1d884d.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><htmllang=cn><head><metacharset=utf-8><metahttp-equiv=X-UA-Compatiblecontent="IE=edge"><metaname=viewportcontent="width=device-width,initial-scale=1"><linkrel=iconhref=favicon.ico><linkrel=stylesheettype=text/csshref=//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.44.css><linkrel=stylesheettype=text/csshref=static/fonts/iconfont.css><title>好办</title><linkhref=css/chunk-0347cc62.9d9c3642.cssrel=prefetch><linkhref=css/chunk-0a5c1ff1.7609202a.cssrel=prefetch><linkhref=css/chunk-0d204189.9cb54b4c.cssrel=prefetch><linkhref=css/chunk-137f432e.4bf8b8ea.cssrel=prefetch><linkhref=css/chunk-16a8dcde.2a3bfb87.cssrel=prefetch><linkhref=css/chunk-19db1fc6.ba890a33.cssrel=prefetch><linkhref=css/chunk-1b93a01a.01549a8d.cssrel=prefetch><linkhref=css/chunk-29a5079e.0d5615a8.cssrel=prefetch><linkhref=css/chunk-2dd6d029.40bb678f.cssrel=prefetch><linkhref=css/chunk-2f0ee7b8.595ab618.cssrel=prefetch><linkhref=css/chunk-3837ab1b.c9900cd9.cssrel=prefetch><linkhref=css/chunk-563bb835.b437b2a0.cssrel=prefetch><linkhref=css/chunk-56d19046.dfc3726c.cssrel=prefetch><linkhref=css/chunk-57518ea6.907f38c7.cssrel=prefetch><linkhref=css/chunk-63cd2773.5fbdcef6.cssrel=prefetch><linkhref=css/chunk-75e79dbd.affc2c17.cssrel=prefetch><linkhref=css/chunk-7d43bd4c.b56c1e93.cssrel=prefetch><linkhref=css/chunk-7ea1f4c1.2edbc58c.cssrel=prefetch><linkhref=css/chunk-7eb33052.fb64f688.cssrel=prefetch><linkhref=css/chunk-95d0d97e.446b104d.cssrel=prefetch><linkhref=css/chunk-c106e1c6.6b520689.cssrel=prefetch><linkhref=css/chunk-c862dc02.dcb1c6b1.cssrel=prefetch><linkhref=css/chunk-d90c3fd0.3d1f8308.cssrel=prefetch><linkhref=css/chunk-dff92c8e.a5b77268.cssrel=prefetch><linkhref=css/chunk-ea9d6bee.492c0f7d.cssrel=prefetch><linkhref=css/chunk-f9046af0.ae99e4e7.cssrel=prefetch><linkhref=js/chunk-0347cc62.828683a5.jsrel=prefetch><linkhref=js/chunk-0a5c1ff1.c5e6df35.jsrel=prefetch><linkhref=js/chunk-0d204189.f58688a5.jsrel=prefetch><linkhref=js/chunk-137f432e.c312b4c2.jsrel=prefetch><linkhref=js/chunk-16a8dcde.422b0989.jsrel=prefetch><linkhref=js/chunk-19db1fc6.10fbf935.jsrel=prefetch><linkhref=js/chunk-1b93a01a.19b25334.jsrel=prefetch><linkhref=js/chunk-29a5079e.262fb3f1.jsrel=prefetch><linkhref=js/chunk-2d2095a8.0b59c285.jsrel=prefetch><linkhref=js/chunk-2dd6d029.a10e9537.jsrel=prefetch><linkhref=js/chunk-2f0ee7b8.6d638fa9.jsrel=prefetch><linkhref=js/chunk-3837ab1b.93ccee45.jsrel=prefetch><linkhref=js/chunk-563bb835.ae308415.jsrel=prefetch><linkhref=js/chunk-56d19046.8cb46aa4.jsrel=prefetch><linkhref=js/chunk-57518ea6.dd53a289.jsrel=prefetch><linkhref=js/chunk-63cd2773.7c931d9c.jsrel=prefetch><linkhref=js/chunk-737eaf4a.e335b297.jsrel=prefetch><linkhref=js/chunk-75e79dbd.56d14304.jsrel=prefetch><linkhref=js/chunk-7d43bd4c.368b657f.jsrel=prefetch><linkhref=js/chunk-7ea1f4c1.fd6c8daa.jsrel=prefetch><linkhref=js/chunk-7eb33052.9e02e701.jsrel=prefetch><linkhref=js/chunk-95d0d97e.62b0d11a.jsrel=prefetch><linkhref=js/chunk-c106e1c6.86bc9485.jsrel=prefetch><linkhref=js/chunk-c862dc02.7179614f.jsrel=prefetch><linkhref=js/chunk-d90c3fd0.4b131c93.jsrel=prefetch><linkhref=js/chunk-dff92c8e.8ed97cac.jsrel=prefetch><linkhref=js/chunk-ea9d6bee.51f6b850.jsrel=prefetch><linkhref=js/chunk-f9046af0.20920b42.jsrel=prefetch><linkhref=css/app.dc6afa5f.cssrel=preloadas=style><linkhref=css/chunk-vendors.635bc84a.cssrel=preloadas=style><linkhref=js/app.be2a9cae.jsrel=preloadas=script><linkhref=js/chunk-vendors.e7b30cab.jsrel=preloadas=script><linkhref=css/chunk-vendors.635bc84a.cssrel=stylesheet><linkhref=css/app.dc6afa5f.cssrel=stylesheet></head><bodyclass=damolish><noscript><strong>We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><divid=app></div><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js></script><script src=//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js></script><script src=js/chunk-vendors.e7b30cab.js></script><script src=js/app.be2a9cae.js></script></body></html>
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-56d19046"],{"07db":function(e,t,r){"use strict";r.d(t,"a",(function(){returnd}));r("ac6a"),r("456d");varn=r("cebe"),a=r.n(n),i=r("4328"),o=r.n(i),s=r("5c96");functionc(){vare=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}varl=c(),u="0000",f="0003";a.a.defaults.baseURL=l;varp=function(e,t){t=Object.assign({},t),e=Object.assign({},e);varr={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(r=Object.assign(r,e),r.useFormData&&(t=o.a.stringify(t)),r.method.toLowerCase()){case"get":r.params=t;break;case"post":r.data=t;break;default:r.data=t;break}returnnewPromise((function(e,t){a()(r).then((function(n){vara=n.data;if(a.code!=f)returnr.useIntercept&&a.code!=u?(Object(s["Message"])({message:a.message||"未知错误",type:"warning"}),t(a)):voide(a);window.location.href="".concat(l,"/haoban-4/#/login")})).catch((function(e){varr=e.response||{},n=r.data||{};Object(s["Message"])({message:n.message||"未知错误",type:"warning"}),t(e)}))}))};functiond(e,t){e=e||{};varr=Object.keys(e);returnr.forEach((function(r){varn=e[r];"string"===typeofn&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e){returnp(n,e)}})),e}},1038:function(e,t,r){"use strict";varn=r("f29e"),a=r.n(n);a.a},"1bd0":function(e,t,r){"use strict";varn=r("07db"),a={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:"/enterprise-auth-audit",getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0},getEnterpriseDetail:"/gic-enterprise-detail"};a=Object(n["a"])(a,"/hb-manage-web"),t["a"]=a},"29b6":function(e,t,r){"use strict";varn=function(){vare=this,t=e.$createElement,r=e._self._c||t;returnr("div",{staticClass:"navwrap border-box"},[r("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e._l(e.navpath,(function(t,n){return[t.path?[r("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:t.path}},on:{click:function(r){returne.changeRoute(t.path,t.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){returne.changeRoute(t.path,t.relocation)}}},[e._v("\n "+e._s(t.name)+"\n ")])])]:[r("el-breadcrumb-item",{key:"nav"+n},[e._v(e._s(t.name))])]]}))],2)],1)},a=[],i={name:"navpath",data:function(){return{projectName:"member"}},props:{navpath:{type:Array,default:function(){return[]}},slotFlag:{type:Boolean,default:!1},navtip:{type:Boolean,default:!1},subNavText:{type:String,default:""}},methods:{changeRoute:function(e,t){varr=this;t?window.location.href=e:r.$router.push(e)}}},o=i,s=(r("2c7f"),r("2877")),c=Object(s["a"])(o,n,a,!1,null,"69bcb2f7",null);t["a"]=c.exports},"2c7f":function(e,t,r){"use strict";varn=r("c4f6"),a=r.n(n);a.a},4127:function(e,t,r){"use strict";varn=r("d233"),a=r("b313"),i=Object.prototype.hasOwnProperty,o={brackets:function(e){returne+"[]"},comma:"comma",indices:function(e,t){returne+"["+t+"]"},repeat:function(e){returne}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,f=a["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(e){returnu.call(e)},skipNulls:!1,strictNullHandling:!1},d=function(e){return"string"===typeofe||"number"===typeofe||"boolean"===typeofe||"symbol"===typeofe||"bigint"===typeofe},m=functione(t,r,a,i,o,c,u,f,m,h,y,g,b){varv=t;if("function"===typeofu?v=u(r,v):vinstanceofDate?v=h(v):"comma"===a&&s(v)&&(v=n.maybeMap(v,(function(e){returneinstanceofDate?h(e):e})).join(",")),null===v){if(i)returnc&&!g?c(r,p.encoder,b,"key"):r;v=""}if(d(v)||n.isBuffer(v)){if(c){varw=g?r:c(r,p.encoder,b,"key");return[y(w)+"="+y(c(v,p.encoder,b,"value"))]}return[y(r)+"="+y(String(v))]}varj,O=[];if("undefined"===typeofv)returnO;if(s(u))j=u;else{vark=Object.keys(v);j=f?k.sort(f):k}for(varx=0;x<j.length;++x){varC=j[x],_=v[C];if(!o||null!==_){varN=s(v)?"function"===typeofa?a(r,C):r:r+(m?"."+C:"["+C+"]");l(O,e(_,N,a,i,o,c,u,f,m,h,y,g,b))}}returnO},h=function(e){if(!e)returnp;if(null!==e.encoder&&void0!==e.encoder&&"function"!==typeofe.encoder)thrownewTypeError("Encoder has to be a function.");vart=e.charset||p.charset;if("undefined"!==typeofe.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)thrownewTypeError("The charset option must be either utf-8, iso-8859-1, or undefined");varr=a["default"];if("undefined"!==typeofe.format){if(!i.call(a.formatters,e.format))thrownewTypeError("Unknown format option provided.");r=e.format}varn=a.formatters[r],o=p.filter;return("function"===typeofe.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"===typeofe.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeofe.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeofe.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeofe.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeofe.encode?e.encode:p.encode,encoder:"function"===typeofe.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeofe.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:o,formatter:n,serializeDate:"function"===typeofe.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeofe.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeofe.sort?e.sort:null,strictNullHandling:"boolean"===typeofe.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){varr,n,a=e,i=h(t);"function"===typeofi.filter?(n=i.filter,a=n("",a)):s(i.filter)&&(n=i.filter,r=n);varc,u=[];if("object"!==typeofa||null===a)return"";c=t&&t.arrayFormatino?t.arrayFormat:t&&"indices"int?t.indices?"indices":"repeat":"indices";varf=o[c];r||(r=Object.keys(a)),i.sort&&r.sort(i.sort);for(varp=0;p<r.length;++p){vard=r[p];i.skipNulls&&null===a[d]||l(u,m(a[d],d,f,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.formatter,i.encodeValuesOnly,i.charset))}vary=u.join(i.delimiter),g=!0===i.addQueryPrefix?"?":"";returni.charsetSentinel&&("iso-8859-1"===i.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),y.length>0?g+y:""}},4328:function(e,t,r){"use strict";varn=r("4127"),a=r("9e6a"),i=r("b313");e.exports={formats:i,parse:a,stringify:n}},"7dc6":function(e,t,r){"use strict";r.r(t);varn=function(){vare=this,t=e.$createElement,r=e._self._c||t;returnr("div",{staticClass:"my-customer-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),r("div",{staticClass:"right-content"},[r("div",{staticClass:"apps-content-right border-box"},[r("el-form",{ref:"adminForm",attrs:{model:e.adminForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"活动名称",prop:"adminList"}},[r("div",{staticClass:"admin-list-wrap"},[r("div",{staticClass:"el-select store-item-content admin-select",on:{click:e.showAdmin}},[e.adminForm.adminList.length?r("div",{staticClass:"el-select__tags"},[r("span",{staticStyle:{display:"block"}},[e._l(e.adminForm.adminList,(function(t,n){return[r("span",{key:n+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.staffName||"--"))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){returnt.stopPropagation(),e.delAdmin(n,e.adminForm.adminList)}}})])]}))],2)]):e._e(),e.adminForm.adminList.length?e._e():r("div",{staticClass:"add-admin-btn font-14 color-606266 cursor-pointer",on:{click:e.addAdmin}},[r("span",{staticClass:"iconfont icontianjiajiahaowubiankuang font-12"}),r("span",{staticClass:"p-l-10"},[e._v("添加")])])])])]),r("el-form-item",{attrs:{label:"活动区域",prop:"tableData"}},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"商户名称",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.enterpriseName||"--")+"\n ")]}}])}),r("el-table-column",{attrs:{label:"授权范围"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"el-select store-item-content",on:{click:function(t){returne.showStore(1)}}},[t.row.enterpriseList.length?r("div",{staticClass:"el-select__tags"},[r("span",{staticStyle:{display:"block"}},[e._l(t.row.enterpriseList,(function(n,a){return[r("span",{key:a+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(n.storeInfoName||n.storeGroupName))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(r){returnr.stopPropagation(),e.delStore(a,t.row.enterpriseList)}}})])]}))],2)]):e._e(),t.row.enterpriseList.length?e._e():r("div",{staticClass:"add-admin-btn font-14 color-606266 cursor-pointer",on:{click:e.addAdmin}},[r("span",{staticClass:"iconfont icontianjiajiahaowubiankuang font-12"}),r("span",{staticClass:"p-l-10"},[e._v("添加")])])])]}}])})],1)],1)],1)],1)])],1)},a=[],i=r("29b6"),o=r("1bd0"),s=o["a"].getAuthEnterprise,c={name:"authMerchant",data:function(){return{navpath:[{name:"管理员",path:"/admin-list"},{name:this.$route.query.staffId?"编辑管理员":"新建管理员",path:""}],wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",adminName:this.$route.query.staffName?this.$route.query.staffName:"",adminForm:{adminList:[],tableData:[]},rules:{adminList:[{type:"array",required:!0,message:"请选择管理员",trigger:"change"}],tableData:[{type:"array",required:!0,message:"请选择授权范围",trigger:"change"}]},tableData:[],showAdminFlag:!1}},computed:{},methods:{showAdmin:function(){vare=this;e.showAdminFlag=!0},closeAdmin:function(){vare=this;e.showAdminFlag=!1},changeRoute:function(e){this.$router.push(e)},getTableList:function(e){vart=this,r={wxEnterpriseId:t.wxEnterpriseId};s(r).then((function(e){t.tableData=e.result||[]})).catch((function(e){}))}},watch:{},mounted:function(){vare=this;e.$emit("showAsideMenu",!1),e.$route.query.staffId&&e.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i["a"]}},l=c,u=(r("1038"),r("2877")),f=Object(u["a"])(l,n,a,!1,null,"65bd9ca2",null);t["default"]=f.exports},"9e6a":function(e,t,r){"use strict";varn=r("d233"),a=Object.prototype.hasOwnProperty,i=Array.isArray,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){returne.replace(/&#(\d+);/g,(function(e,t){returnString.fromCharCode(parseInt(t,10))}))},c=function(e,t){returne&&"string"===typeofe&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",f=function(e,t){varr,f={},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void0:t.parameterLimit,m=p.split(t.delimiter,d),h=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<m.length;++r)0===m[r].indexOf("utf8=")&&(m[r]===u?y="utf-8":m[r]===l&&(y="iso-8859-1"),h=r,r=m.length);for(r=0;r<m.length;++r)if(r!==h){varg,b,v=m[r],w=v.indexOf("]="),j=-1===w?v.indexOf("="):w+1;-1===j?(g=t.decoder(v,o.decoder,y,"key"),b=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,j),o.decoder,y,"key"),b=n.maybeMap(c(v.slice(j+1),t),(function(e){returnt.decoder(e,o.decoder,y,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===y&&(b=s(b)),v.indexOf("[]=")>-1&&(b=i(b)?[b]:b),a.call(f,g)?f[g]=n.combine(f[g],b):f[g]=b}returnf},p=function(e,t,r,n){for(vara=n?t:c(t,r),i=e.length-1;i>=0;--i){varo,s=e[i];if("[]"===s&&r.parseArrays)o=[].concat(a);else{o=r.plainObjects?Object.create(null):{};varl="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(l,10);r.parseArrays||""!==l?!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(o=[],o[u]=a):o[l]=a:o={0:a}}a=o}returna},d=function(e,t,r,n){if(e){vari=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=r.depth>0&&o.exec(i),l=c?i.slice(0,c.index):i,u=[];if(l){if(!r.plainObjects&&a.call(Object.prototype,l)&&!r.allowPrototypes)return;u.push(l)}varf=0;while(r.depth>0&&null!==(c=s.exec(i))&&f<r.depth){if(f+=1,!r.plainObjects&&a.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(c[1])}returnc&&u.push("["+i.slice(c.index)+"]"),p(u,t,r,n)}},m=function(e){if(!e)returno;if(null!==e.decoder&&void0!==e.decoder&&"function"!==typeofe.decoder)thrownewTypeError("Decoder has to be a function.");if("undefined"!==typeofe.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)thrownewTypeError("The charset option must be either utf-8, iso-8859-1, or undefined");vart="undefined"===typeofe.charset?o.charset:e.charset;return{allowDots:"undefined"===typeofe.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeofe.allowPrototypes?e.allowPrototypes:o.allowPrototypes,arrayLimit:"number"===typeofe.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"===typeofe.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"===typeofe.comma?e.comma:o.comma,decoder:"function"===typeofe.decoder?e.decoder:o.decoder,delimiter:"string"===typeofe.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"===typeofe.depth||!1===e.depth?+e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeofe.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"===typeofe.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeofe.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"===typeofe.strictNullHandling?e.strictNullHandling:o.strictNullHandling}};e.exports=function(e,t){varr=m(t);if(""===e||null===e||"undefined"===typeofe)returnr.plainObjects?Object.create(null):{};for(vara="string"===typeofe?f(e,r):e,i=r.plainObjects?Object.create(null):{},o=Object.keys(a),s=0;s<o.length;++s){varc=o[s],l=d(c,a[c],r,"string"===typeofe);i=n.merge(i,l,r)}returnn.compact(i)}},b313:function(e,t,r){"use strict";varn=String.prototype.replace,a=/%20/g,i=r("d233"),o={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:o.RFC3986,formatters:{RFC1738:function(e){returnn.call(e,a,"+")},RFC3986:function(e){returnString(e)}}},o)},c4f6:function(e,t,r){},d233:function(e,t,r){"use strict";varn=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(vare=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());returne}(),o=function(e){while(e.length>1){vart=e.pop(),r=t.obj[t.prop];if(a(r)){for(varn=[],i=0;i<r.length;++i)"undefined"!==typeofr[i]&&n.push(r[i]);t.obj[t.prop]=n}}},s=function(e,t){for(varr=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeofe[n]&&(r[n]=e[n]);returnr},c=functione(t,r,i){if(!r)returnt;if("object"!==typeofr){if(a(t))t.push(r);else{if(!t||"object"!==typeoft)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}returnt}if(!t||"object"!==typeoft)return[t].concat(r);varo=t;returna(t)&&!a(r)&&(o=s(t,i)),a(t)&&a(r)?(r.forEach((function(r,a){if(n.call(t,a)){varo=t[a];o&&"object"===typeofo&&r&&"object"===typeofr?t[a]=e(o,r,i):t.push(r)}elset[a]=r})),t):Object.keys(r).reduce((function(t,a){varo=r[a];returnn.call(t,a)?t[a]=e(t[a],o,i):t[a]=o,t}),o)},l=function(e,t){returnObject.keys(t).reduce((function(e,r){returne[r]=t[r],e}),e)},u=function(e,t,r){varn=e.replace(/\+/g," ");if("iso-8859-1"===r)returnn.replace(/%[0-9a-f]{2}/gi,unescape);try{returndecodeURIComponent(n)}catch(a){returnn}},f=function(e,t,r){if(0===e.length)returne;varn=e;if("symbol"===typeofe?n=Symbol.prototype.toString.call(e):"string"!==typeofe&&(n=String(e)),"iso-8859-1"===r)returnescape(n).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(vara="",o=0;o<n.length;++o){vars=n.charCodeAt(o);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?a+=n.charAt(o):s<128?a+=i[s]:s<2048?a+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?a+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(o+=1,s=65536+((1023&s)<<10|1023&n.charCodeAt(o)),a+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}returna},p=function(e){for(vart=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(vara=t[n],i=a.obj[a.prop],s=Object.keys(i),c=0;c<s.length;++c){varl=s[c],u=i[l];"object"===typeofu&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:l}),r.push(u))}returno(t),e},d=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},m=function(e){return!(!e||"object"!==typeofe)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},h=function(e,t){return[].concat(e,t)},y=function(e,t){if(a(e)){for(varr=[],n=0;n<e.length;n+=1)r.push(t(e[n]));returnr}returnt(e)};e.exports={arrayToObject:s,assign:l,combine:h,compact:p,decode:u,encode:f,isBuffer:m,isRegExp:d,maybeMap:y,merge:c}},f29e:function(e,t,r){}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a35f72ec"],{"07db":function(e,t,r){"use strict";r.d(t,"a",(function(){returnd}));r("ac6a"),r("456d");varn=r("cebe"),a=r.n(n),i=r("4328"),o=r.n(i),s=r("5c96");functionc(){vare=window.location.origin;return(e.indexOf("localhost")>=0||e.indexOf("192.168")>=0)&&(e="https://four.gicdev.com"),e}varl=c(),u="0000",f="0003";a.a.defaults.baseURL=l;varp=function(e,t){t=Object.assign({},t),e=Object.assign({},e);varr={url:"",params:"",data:"",method:"get",useFormData:!1,useIntercept:!0,headers:{}};switch(r=Object.assign(r,e),r.useFormData&&(t=o.a.stringify(t)),r.method.toLowerCase()){case"get":r.params=t;break;case"post":r.data=t;break;default:r.data=t;break}returnnewPromise((function(e,t){a()(r).then((function(n){vara=n.data;if(a.code!=f)returnr.useIntercept&&a.code!=u?(Object(s["Message"])({message:a.message||"未知错误",type:"warning"}),t(a)):voide(a);window.location.href="".concat(l,"/haoban-4/#/login")})).catch((function(e){varr=e.response||{},n=r.data||{};Object(s["Message"])({message:n.message||"未知错误",type:"warning"}),t(e)}))}))};functiond(e,t){e=e||{};varr=Object.keys(e);returnr.forEach((function(r){varn=e[r];"string"===typeofn&&(n={url:n}),n.url="".concat(t).concat(n.url),e[r]=function(e){returnp(n,e)}})),e}},"1bd0":function(e,t,r){"use strict";varn=r("07db"),a={getAuthEnterprise:"/auth-enterprise-list",getGroupList:"/department-list",getStoreList:"/store-list",getAuthDetail:"/enterprise-auth-detail",getAuditLog:"/enterprise-auth-audit-list",cancelAudit:"/enterprise-auth-audit",getAuditLogDetail:"/enterprise-auth-audit-range-detail",getEnterprise:"/enterprise-search",getGicAdmin:"/gic-manage-list",postEnterpriseAuth:{url:"/enterprise-auth",method:"post",useFormData:!0},getEnterpriseDetail:"/gic-enterprise-detail"};a=Object(n["a"])(a,"/hb-manage-web"),t["a"]=a},"29b6":function(e,t,r){"use strict";varn=function(){vare=this,t=e.$createElement,r=e._self._c||t;returnr("div",{staticClass:"navwrap border-box"},[r("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e._l(e.navpath,(function(t,n){return[t.path?[r("el-breadcrumb-item",{key:"nav"+n,attrs:{to:{path:t.path}},on:{click:function(r){returne.changeRoute(t.path,t.relocation)}}},[r("span",{staticClass:"el-breadcrumb__inner is-link",on:{click:function(r){returne.changeRoute(t.path,t.relocation)}}},[e._v("\n "+e._s(t.name)+"\n ")])])]:[r("el-breadcrumb-item",{key:"nav"+n},[e._v(e._s(t.name))])]]}))],2)],1)},a=[],i={name:"navpath",data:function(){return{projectName:"member"}},props:{navpath:{type:Array,default:function(){return[]}},slotFlag:{type:Boolean,default:!1},navtip:{type:Boolean,default:!1},subNavText:{type:String,default:""}},methods:{changeRoute:function(e,t){varr=this;t?window.location.href=e:r.$router.push(e)}}},o=i,s=(r("2c7f"),r("2877")),c=Object(s["a"])(o,n,a,!1,null,"69bcb2f7",null);t["a"]=c.exports},"2c7f":function(e,t,r){"use strict";varn=r("c4f6"),a=r.n(n);a.a},4127:function(e,t,r){"use strict";varn=r("d233"),a=r("b313"),i=Object.prototype.hasOwnProperty,o={brackets:function(e){returne+"[]"},comma:"comma",indices:function(e,t){returne+"["+t+"]"},repeat:function(e){returne}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,f=a["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(e){returnu.call(e)},skipNulls:!1,strictNullHandling:!1},d=function(e){return"string"===typeofe||"number"===typeofe||"boolean"===typeofe||"symbol"===typeofe||"bigint"===typeofe},m=functione(t,r,a,i,o,c,u,f,m,h,y,g,b){varv=t;if("function"===typeofu?v=u(r,v):vinstanceofDate?v=h(v):"comma"===a&&s(v)&&(v=n.maybeMap(v,(function(e){returneinstanceofDate?h(e):e})).join(",")),null===v){if(i)returnc&&!g?c(r,p.encoder,b,"key"):r;v=""}if(d(v)||n.isBuffer(v)){if(c){varw=g?r:c(r,p.encoder,b,"key");return[y(w)+"="+y(c(v,p.encoder,b,"value"))]}return[y(r)+"="+y(String(v))]}varj,O=[];if("undefined"===typeofv)returnO;if(s(u))j=u;else{vark=Object.keys(v);j=f?k.sort(f):k}for(varx=0;x<j.length;++x){varC=j[x],S=v[C];if(!o||null!==S){var_=s(v)?"function"===typeofa?a(r,C):r:r+(m?"."+C:"["+C+"]");l(O,e(S,_,a,i,o,c,u,f,m,h,y,g,b))}}returnO},h=function(e){if(!e)returnp;if(null!==e.encoder&&void0!==e.encoder&&"function"!==typeofe.encoder)thrownewTypeError("Encoder has to be a function.");vart=e.charset||p.charset;if("undefined"!==typeofe.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)thrownewTypeError("The charset option must be either utf-8, iso-8859-1, or undefined");varr=a["default"];if("undefined"!==typeofe.format){if(!i.call(a.formatters,e.format))thrownewTypeError("Unknown format option provided.");r=e.format}varn=a.formatters[r],o=p.filter;return("function"===typeofe.filter||s(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"===typeofe.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeofe.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"===typeofe.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeofe.delimiter?p.delimiter:e.delimiter,encode:"boolean"===typeofe.encode?e.encode:p.encode,encoder:"function"===typeofe.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"===typeofe.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:o,formatter:n,serializeDate:"function"===typeofe.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"===typeofe.skipNulls?e.skipNulls:p.skipNulls,sort:"function"===typeofe.sort?e.sort:null,strictNullHandling:"boolean"===typeofe.strictNullHandling?e.strictNullHandling:p.strictNullHandling}};e.exports=function(e,t){varr,n,a=e,i=h(t);"function"===typeofi.filter?(n=i.filter,a=n("",a)):s(i.filter)&&(n=i.filter,r=n);varc,u=[];if("object"!==typeofa||null===a)return"";c=t&&t.arrayFormatino?t.arrayFormat:t&&"indices"int?t.indices?"indices":"repeat":"indices";varf=o[c];r||(r=Object.keys(a)),i.sort&&r.sort(i.sort);for(varp=0;p<r.length;++p){vard=r[p];i.skipNulls&&null===a[d]||l(u,m(a[d],d,f,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.formatter,i.encodeValuesOnly,i.charset))}vary=u.join(i.delimiter),g=!0===i.addQueryPrefix?"?":"";returni.charsetSentinel&&("iso-8859-1"===i.charset?g+="utf8=%26%2310003%3B&":g+="utf8=%E2%9C%93&"),y.length>0?g+y:""}},4328:function(e,t,r){"use strict";varn=r("4127"),a=r("9e6a"),i=r("b313");e.exports={formats:i,parse:a,stringify:n}},"64c0":function(e,t,r){},"7dc6":function(e,t,r){"use strict";r.r(t);varn=function(){vare=this,t=e.$createElement,r=e._self._c||t;returnr("div",{staticClass:"my-customer-wrap common-set-wrap"},[r("nav-crumb",{attrs:{navpath:e.navpath}}),r("div",{staticClass:"right-content"},[r("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 104px)"}},[r("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 104px)"}},[r("div",{staticClass:"apps-content-right"},[r("el-form",{ref:"adminForm",attrs:{model:e.adminForm,rules:e.rules,"label-width":"100px"}},[r("el-form-item",{attrs:{label:"活动名称",prop:"adminList"}},[r("div",{staticClass:"admin-list-wrap"},[r("div",{staticClass:"el-select store-item-content",on:{click:function(t){returne.showStore(1)}}},[e.adminForm.adminList.length?r("div",{staticClass:"el-select__tags"},[r("span",{staticStyle:{display:"block"}},[e._l(e.adminForm.adminList,(function(t,n){return[r("span",{key:n+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.staffName||"--"))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){returnt.stopPropagation(),e.delStore(n,e.adminForm.adminList)}}})])]}))],2)]):e._e(),e.adminForm.adminList.length?e._e():r("div",{staticClass:"add-admin-btn font-14 color-606266 cursor-pointer",on:{click:e.addAdmin}},[r("span",{staticClass:"iconfont icontianjiajiahaowubiankuang font-12"}),r("span",{staticClass:"p-l-10"},[e._v("添加")])])])])]),r("el-form-item",{attrs:{label:"活动区域",prop:"tableData"}},[r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tableData,"tooltip-effect":"dark"}},[r("el-table-column",{attrs:{label:"商户名称",width:"150"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.enterpriseName||"--")+"\n ")]}}])}),r("el-table-column",{attrs:{label:"授权范围"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticClass:"el-select store-item-content",on:{click:function(t){returne.showStore(1)}}},[t.row.enterpriseList.length?r("div",{staticClass:"el-select__tags"},[r("span",{staticStyle:{display:"block"}},[e._l(t.row.enterpriseList,(function(n,a){return[r("span",{key:a+"bind",staticClass:"el-tag el-tag--info el-tag--small"},[r("span",{staticClass:"el-select__tags-text"},[e._v(e._s(n.storeInfoName||n.storeGroupName))]),r("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(r){returnr.stopPropagation(),e.delStore(a,t.row.enterpriseList)}}})])]}))],2)]):e._e(),t.row.enterpriseList.length?e._e():r("div",{staticClass:"add-admin-btn font-14 color-606266 cursor-pointer",on:{click:e.addAdmin}},[r("span",{staticClass:"iconfont icontianjiajiahaowubiankuang font-12"}),r("span",{staticClass:"p-l-10"},[e._v("添加")])])])]}}])})],1)],1)],1)],1)])])])],1)},a=[],i=r("29b6"),o=r("1bd0"),s=o["a"].getAuthEnterprise,c={name:"authMerchant",data:function(){return{navpath:[{name:"管理员",path:"/admin-list"},{name:this.$route.query.staffId?"编辑管理员":"新建管理员",path:""}],wxEnterpriseId:localStorage.getItem("haoBanUser")?JSON.parse(localStorage.getItem("haoBanUser")).wxEnterpriseId:"",adminName:this.$route.query.staffName?this.$route.query.staffName:"",adminForm:{adminList:[],tableData:[]},rules:{adminList:[{type:"array",required:!0,message:"请选择管理员",trigger:"change"}],tableData:[{type:"array",required:!0,message:"请选择授权范围",trigger:"change"}]},tableData:[]}},computed:{},methods:{changeRoute:function(e){this.$router.push(e)},getTableList:function(e){vart=this,r={wxEnterpriseId:t.wxEnterpriseId};s(r).then((function(e){t.tableData=e.result||[]})).catch((function(e){}))}},watch:{},mounted:function(){vare=this;e.$emit("showAsideMenu",!1),e.$route.query.staffId&&e.getTableList(),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:i["a"]}},l=c,u=(r("7f72"),r("2877")),f=Object(u["a"])(l,n,a,!1,null,"193b1024",null);t["default"]=f.exports},"7f72":function(e,t,r){"use strict";varn=r("64c0"),a=r.n(n);a.a},"9e6a":function(e,t,r){"use strict";varn=r("d233"),a=Object.prototype.hasOwnProperty,i=Array.isArray,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){returne.replace(/&#(\d+);/g,(function(e,t){returnString.fromCharCode(parseInt(t,10))}))},c=function(e,t){returne&&"string"===typeofe&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",f=function(e,t){varr,f={},p=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void0:t.parameterLimit,m=p.split(t.delimiter,d),h=-1,y=t.charset;if(t.charsetSentinel)for(r=0;r<m.length;++r)0===m[r].indexOf("utf8=")&&(m[r]===u?y="utf-8":m[r]===l&&(y="iso-8859-1"),h=r,r=m.length);for(r=0;r<m.length;++r)if(r!==h){varg,b,v=m[r],w=v.indexOf("]="),j=-1===w?v.indexOf("="):w+1;-1===j?(g=t.decoder(v,o.decoder,y,"key"),b=t.strictNullHandling?null:""):(g=t.decoder(v.slice(0,j),o.decoder,y,"key"),b=n.maybeMap(c(v.slice(j+1),t),(function(e){returnt.decoder(e,o.decoder,y,"value")}))),b&&t.interpretNumericEntities&&"iso-8859-1"===y&&(b=s(b)),v.indexOf("[]=")>-1&&(b=i(b)?[b]:b),a.call(f,g)?f[g]=n.combine(f[g],b):f[g]=b}returnf},p=function(e,t,r,n){for(vara=n?t:c(t,r),i=e.length-1;i>=0;--i){varo,s=e[i];if("[]"===s&&r.parseArrays)o=[].concat(a);else{o=r.plainObjects?Object.create(null):{};varl="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(l,10);r.parseArrays||""!==l?!isNaN(u)&&s!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(o=[],o[u]=a):o[l]=a:o={0:a}}a=o}returna},d=function(e,t,r,n){if(e){vari=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,c=r.depth>0&&o.exec(i),l=c?i.slice(0,c.index):i,u=[];if(l){if(!r.plainObjects&&a.call(Object.prototype,l)&&!r.allowPrototypes)return;u.push(l)}varf=0;while(r.depth>0&&null!==(c=s.exec(i))&&f<r.depth){if(f+=1,!r.plainObjects&&a.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(c[1])}returnc&&u.push("["+i.slice(c.index)+"]"),p(u,t,r,n)}},m=function(e){if(!e)returno;if(null!==e.decoder&&void0!==e.decoder&&"function"!==typeofe.decoder)thrownewTypeError("Decoder has to be a function.");if("undefined"!==typeofe.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)thrownewTypeError("The charset option must be either utf-8, iso-8859-1, or undefined");vart="undefined"===typeofe.charset?o.charset:e.charset;return{allowDots:"undefined"===typeofe.allowDots?o.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeofe.allowPrototypes?e.allowPrototypes:o.allowPrototypes,arrayLimit:"number"===typeofe.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"===typeofe.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"===typeofe.comma?e.comma:o.comma,decoder:"function"===typeofe.decoder?e.decoder:o.decoder,delimiter:"string"===typeofe.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"===typeofe.depth||!1===e.depth?+e.depth:o.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeofe.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"===typeofe.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeofe.plainObjects?e.plainObjects:o.plainObjects,strictNullHandling:"boolean"===typeofe.strictNullHandling?e.strictNullHandling:o.strictNullHandling}};e.exports=function(e,t){varr=m(t);if(""===e||null===e||"undefined"===typeofe)returnr.plainObjects?Object.create(null):{};for(vara="string"===typeofe?f(e,r):e,i=r.plainObjects?Object.create(null):{},o=Object.keys(a),s=0;s<o.length;++s){varc=o[s],l=d(c,a[c],r,"string"===typeofe);i=n.merge(i,l,r)}returnn.compact(i)}},b313:function(e,t,r){"use strict";varn=String.prototype.replace,a=/%20/g,i=r("d233"),o={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:o.RFC3986,formatters:{RFC1738:function(e){returnn.call(e,a,"+")},RFC3986:function(e){returnString(e)}}},o)},c4f6:function(e,t,r){},d233:function(e,t,r){"use strict";varn=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(vare=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());returne}(),o=function(e){while(e.length>1){vart=e.pop(),r=t.obj[t.prop];if(a(r)){for(varn=[],i=0;i<r.length;++i)"undefined"!==typeofr[i]&&n.push(r[i]);t.obj[t.prop]=n}}},s=function(e,t){for(varr=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)"undefined"!==typeofe[n]&&(r[n]=e[n]);returnr},c=functione(t,r,i){if(!r)returnt;if("object"!==typeofr){if(a(t))t.push(r);else{if(!t||"object"!==typeoft)return[t,r];(i&&(i.plainObjects||i.allowPrototypes)||!n.call(Object.prototype,r))&&(t[r]=!0)}returnt}if(!t||"object"!==typeoft)return[t].concat(r);varo=t;returna(t)&&!a(r)&&(o=s(t,i)),a(t)&&a(r)?(r.forEach((function(r,a){if(n.call(t,a)){varo=t[a];o&&"object"===typeofo&&r&&"object"===typeofr?t[a]=e(o,r,i):t.push(r)}elset[a]=r})),t):Object.keys(r).reduce((function(t,a){varo=r[a];returnn.call(t,a)?t[a]=e(t[a],o,i):t[a]=o,t}),o)},l=function(e,t){returnObject.keys(t).reduce((function(e,r){returne[r]=t[r],e}),e)},u=function(e,t,r){varn=e.replace(/\+/g," ");if("iso-8859-1"===r)returnn.replace(/%[0-9a-f]{2}/gi,unescape);try{returndecodeURIComponent(n)}catch(a){returnn}},f=function(e,t,r){if(0===e.length)returne;varn=e;if("symbol"===typeofe?n=Symbol.prototype.toString.call(e):"string"!==typeofe&&(n=String(e)),"iso-8859-1"===r)returnescape(n).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(vara="",o=0;o<n.length;++o){vars=n.charCodeAt(o);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?a+=n.charAt(o):s<128?a+=i[s]:s<2048?a+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?a+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(o+=1,s=65536+((1023&s)<<10|1023&n.charCodeAt(o)),a+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}returna},p=function(e){for(vart=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(vara=t[n],i=a.obj[a.prop],s=Object.keys(i),c=0;c<s.length;++c){varl=s[c],u=i[l];"object"===typeofu&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:l}),r.push(u))}returno(t),e},d=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},m=function(e){return!(!e||"object"!==typeofe)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},h=function(e,t){return[].concat(e,t)},y=function(e,t){if(a(e)){for(varr=[],n=0;n<e.length;n+=1)r.push(t(e[n]));returnr}returnt(e)};e.exports={arrayToObject:s,assign:l,combine:h,compact:p,decode:u,encode:f,isBuffer:m,isRegExp:d,maybeMap:y,merge:c}}}]);