From 2c021c24ef307dc6b884e71abf18a105b09f72b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Fri, 13 Mar 2026 15:32:28 +0800 Subject: [PATCH] 1 --- api/controller_front/static.js | 97 +++++++++++++++++++ config/config.js | 2 +- ...b_chat-new_v5410_static_js_app.4e199352.js | 24 +++++ 3 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 api/controller_front/static.js create mode 100644 static/boss/fe-zhipin-geek_web_chat-new_v5410_static_js_app.4e199352.js diff --git a/api/controller_front/static.js b/api/controller_front/static.js new file mode 100644 index 0000000..886dd46 --- /dev/null +++ b/api/controller_front/static.js @@ -0,0 +1,97 @@ +const fs = require('fs'); +const path = require('path'); +const axios = require('axios'); + +/** + * 静态 JS 代理/缓存 + * + * 规则: + * - 前端请求:GET /static/boss,header 里带 path,例如: + * path: https://static.zhipin.com/fe-zhipin-geek/web/chat-new/v5410/static/js/app.4e199352.js + * - 从 URL 中取 pathname:/fe-zhipin-geek/web/chat-new/v5410/static/js/app.4e199352.js + * - 去掉开头的 /,中间的 / 全部替换为 _,得到本地文件名: + * fe-zhipin-geek_web-chat-new_v5410_static_js_app.4e199352.js + * - 在项目根目录下的 js 目录保存/读取该文件:./js/<文件名> + * - 如果已存在:直接返回本地文件 + * - 如果不存在:从远程 URL 下载,保存后返回 + */ +module.exports = { + 'GET /static/boss': async (ctx) => { + // 1. 获取原始 URL(优先从 header,兼容 query/body) + const urlStr = + ctx.get('path') || + ctx.query.path || + (ctx.request.body && ctx.request.body.path); + + if (!urlStr) { + ctx.status = 400; + ctx.body = { code: 400, message: '缺少 path 参数' }; + return; + } + + let urlObj = new URL(urlStr); + + // 2. 生成本地文件名:去掉开头的 /,中间 / 替换为 _ + const remotePath = urlObj.pathname || '/'; + const fileName = remotePath + .replace(/^\/+/, '') + .replace(/\//g, '_'); + + // 根目录下 js 目录 + const jsRootDir = path.join(process.cwd(), 'static/boss'); + const localFilePath = path.join(jsRootDir, fileName); + + // 钩子注入:在 JS 中注入自定义 onMessageArrived 钩子 + const injectOnMessageArrivedHook = (buffer) => { + try { + let js = buffer.toString('utf8'); + const needle = 'onMessageArrived:function(e){try{var t=e.payloadBytes,n=S.decode(t);'; + if (js.includes(needle)) { + const hook = `${needle}if(window.Function&&window.Function.__proto__&&typeof window.Function.__proto__.$onMessageArrived==="function"){try{window.Function.__proto__.$onMessageArrived(n);}catch(e){}}`; + js = js.replace(needle, hook); + return Buffer.from(js, 'utf8'); + } + return buffer; + } catch (e) { + return buffer; + } + }; + + try { + // 确保目录存在 + if (!fs.existsSync(jsRootDir)) { + fs.mkdirSync(jsRootDir, { recursive: true }); + } + + // 3. 如果文件已存在,直接返回本地文件(文件内容已是替换后的,无需再次注入) + if (fs.existsSync(localFilePath)) { + ctx.type = 'application/javascript; charset=utf-8'; + ctx.body = fs.createReadStream(localFilePath); + return; + } + + // 4. 文件不存在:从远程下载并保存(带钩子注入) + const response = await axios.get(urlStr, { + responseType: 'arraybuffer', + timeout: 15000, + }); + + if (response.status !== 200) { + ctx.status = 502; + ctx.body = { code: 502, message: '下载远程 JS 失败' }; + return; + } + + const patched = injectOnMessageArrivedHook(Buffer.from(response.data)); + + fs.writeFileSync(localFilePath, patched); + + ctx.type = 'application/javascript; charset=utf-8'; + ctx.body = patched; + } catch (error) { + console.error('[static/boss] 处理失败:', error); + ctx.status = 500; + ctx.body = { code: 500, message: '静态资源代理失败', error: error.message }; + } + }, +} \ No newline at end of file diff --git a/config/config.js b/config/config.js index 8a6d78c..dacc764 100644 --- a/config/config.js +++ b/config/config.js @@ -61,7 +61,7 @@ module.exports = { }, // 白名单URL - 不需要token验证的接口 - "allowUrls": ["/admin_api/sys_user/login", "/admin_api/sys_user/authorityMenus", "/admin_api/sys_user/register", "/api/user/loginByWeixin", "/file/", "/sys_file/", "/admin_api/win_data/viewLogInfo", "/api/user/wx_auth", '/api/docs', 'api/swagger.json', 'payment/notify', 'payment/refund-notify', 'wallet/transfer_notify', 'user/sms/send', 'user/sms/verify', '/api/version/check','/api/file/upload_file_to_oss_by_auto_work','/api/version/create', 'register', 'send_email_code','/config/remote-code/version'], + "allowUrls": ["/admin_api/sys_user/login", "/admin_api/sys_user/authorityMenus", "/admin_api/sys_user/register", "/api/user/loginByWeixin", "/file/", "/sys_file/", "/admin_api/win_data/viewLogInfo", "/api/user/wx_auth", '/api/docs', 'api/swagger.json', 'payment/notify', 'payment/refund-notify', 'wallet/transfer_notify', 'user/sms/send', 'user/sms/verify', '/api/version/check','/api/file/upload_file_to_oss_by_auto_work','/api/version/create', 'register', 'send_email_code','/config/remote-code/version','/api/static/boss'], // AI服务配置 diff --git a/static/boss/fe-zhipin-geek_web_chat-new_v5410_static_js_app.4e199352.js b/static/boss/fe-zhipin-geek_web_chat-new_v5410_static_js_app.4e199352.js new file mode 100644 index 0000000..e3497de --- /dev/null +++ b/static/boss/fe-zhipin-geek_web_chat-new_v5410_static_js_app.4e199352.js @@ -0,0 +1,24 @@ +!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("Vue"),require("Vuex"),require("VueRouter"));else if("function"==typeof define&&define.amd)define(["Vue","Vuex","VueRouter"],t);else{var n="object"==typeof exports?t(require("Vue"),require("Vuex"),require("VueRouter")):t(e.Vue,e.Vuex,e.VueRouter);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__406__,__WEBPACK_EXTERNAL_MODULE__1156__){return function(e){function t(t){for(var r,o,s=t[0],u=t[1],c=t[2],l=0,p=[];l"+e+""};return function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n}(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(e)},e.exports=n()}).call(this,n(60))},function(e,t,n){(function(t){var n;n=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var n=e((function(e,t){e.exports=function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(t,n){var o;return n&&!0===n.clone&&e(t)?r((o=t,Array.isArray(o)?[]:{}),t,n):t}function n(n,o,i){var a=n.slice();return o.forEach((function(o,s){void 0===a[s]?a[s]=t(o,i):e(o)?a[s]=r(n[s],o,i):-1===n.indexOf(o)&&a.push(t(o,i))})),a}function r(o,i,a){var s=Array.isArray(i),u=(a||{arrayMerge:n}).arrayMerge||n;return s?Array.isArray(o)?u(o,i,a):t(i,a):function(n,o,i){var a={};return e(n)&&Object.keys(n).forEach((function(e){a[e]=t(n[e],i)})),Object.keys(o).forEach((function(s){e(o[s])&&n[s]?a[s]=r(n[s],o[s],i):a[s]=t(o[s],i)})),a}(o,i,a)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return r(e,n,t)}))},r}()})),r=e((function(e,t){t.default={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}},e.exports=t.default})),o=r.svg,i=r.xlink,a={};a[o.name]=o.uri,a[i.name]=i.uri;var s,u=function(e,t){return void 0===e&&(e=""),""+e+""},c=r.svg,l=r.xlink,f={attrs:(s={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},s[c.name]=c.uri,s[l.name]=l.uri,s)},p=function(e){this.config=n(f,e||{}),this.symbols=[]};p.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},p.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},p.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},p.prototype.has=function(e){return null!==this.find(e)},p.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return u(t,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var d=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};d.prototype.stringify=function(){return this.content},d.prototype.toString=function(){return this.stringify()},d.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var h=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},g=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"==typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return h(u(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(d),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},v=function(e){return Array.prototype.slice.call(e,0)},m=function(){return/firefox/i.test(navigator.userAgent)},b=function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},w=function(){return/edge/i.test(navigator.userAgent)},x=function(e){return(e||window.location.href).split("#")[0]},_=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){var o,i,a;o=e,i={oldUrl:r,newUrl:n},(a=document.createEvent("CustomEvent")).initCustomEvent(o,!1,!1,i),window.dispatchEvent(a)}))}])},S=function(e,t){return void 0===t&&(t="linearGradient, radialGradient, pattern, mask, clipPath"),v(e.querySelectorAll("symbol")).forEach((function(e){v(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e},O=r.xlink.uri,k=/[{}|\\\^\[\]`"<>]/g;function j(e){return e.replace(k,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}var E,A=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],C=A.map((function(e){return"["+e+"]"})).join(","),T=function(e,t,n,r){var o=j(n),i=j(r);(function(e,t){return v(e).reduce((function(e,n){if(!n.attributes)return e;var r=v(n.attributes),o=t?r.filter(t):r;return e.concat(o)}),[])})(e.querySelectorAll(C),(function(e){var t=e.localName,n=e.value;return-1!==A.indexOf(t)&&-1!==n.indexOf("url("+o)})).forEach((function(e){return e.value=e.value.replace(new RegExp(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),i)})),function(e,t,n){v(e).forEach((function(e){var r=e.getAttribute("xlink:href");if(r&&0===r.indexOf(t)){var o=r.replace(t,n);e.setAttributeNS(O,"xlink:href",o)}}))}(t,o,i)},P="mount",I="symbol_mount",z=function(e){function t(t){var r=this;void 0===t&&(t={}),e.call(this,n(y,t));var o,i=(o=o||Object.create(null),{on:function(e,t){(o[e]||(o[e]=[])).push(t)},off:function(e,t){o[e]&&o[e].splice(o[e].indexOf(t)>>>0,1)},emit:function(e,t){(o[e]||[]).map((function(e){e(t)})),(o["*"]||[]).map((function(n){n(e,t)}))}});this._emitter=i,this.node=null;var a=this.config;if(a.autoConfigure&&this._autoConfigure(t),a.syncUrlsWithBaseTag){var s=document.getElementsByTagName("base")[0].getAttribute("href");i.on(P,(function(){return r.updateUrls("#",s)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&_(a.locationChangeEvent),i.on(P,(function(e){a.moveGradientsOutsideSymbol&&S(e)})),i.on(I,(function(e){var t;a.moveGradientsOutsideSymbol&&S(e.parentNode),(b()||w())&&(t=[],v(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})))}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},t.prototype._autoConfigure=function(e){var t=this.config;void 0===e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag=void 0!==document.getElementsByTagName("base")[0]),void 0===e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter=void 0!==window.angular),void 0===e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=m())},t.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},t.prototype.add=function(t){var n=e.prototype.add.call(this,t);return this.isMounted&&n&&(t.mount(this.node),this._emitter.emit(I,t.node)),n},t.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"==typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(I,e.node)})),v(r.querySelectorAll("symbol")).forEach((function(e){var t=g.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(P,r),r},t.prototype.destroy=function(){var e=this.config,t=this.symbols,n=this._emitter;t.forEach((function(e){return e.destroy()})),n.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},t.prototype.mount=function(e,t){if(void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1),this.isMounted)return this.node;var n="string"==typeof e?document.querySelector(e):e,r=this.render();return this.node=r,t&&n.childNodes[0]?n.insertBefore(r,n.childNodes[0]):n.appendChild(r),this._emitter.emit(P,r),r},t.prototype.render=function(){return h(this.stringify())},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},t.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return T(this.node,n,x(e)+"#",x(t)+"#"),!0},Object.defineProperties(t.prototype,r),t}(p),L=e((function(e){var t,n,r,o,i;e.exports=(n=[],r=document,o=r.documentElement.doScroll,(i=(o?/^loaded|^c/:/^loaded|^i|^c/).test(r.readyState))||r.addEventListener("DOMContentLoaded",t=function(){for(r.removeEventListener("DOMContentLoaded",t),i=1;t=n.shift();)t()}),function(e){i?setTimeout(e,0):n.push(e)})}));window.__SVG_SPRITE__?E=window.__SVG_SPRITE__:(E=new z({attrs:{id:"__SVG_SPRITE_NODE__","aria-hidden":"true"}}),window.__SVG_SPRITE__=E);var R=function(){var e=document.getElementById("__SVG_SPRITE_NODE__");e?E.attach(e):E.mount(document.body,!0)};return document.body?R():L(R),E},e.exports=n()}).call(this,n(60))},function(e,t,n){"use strict";var r=n(430),o=n(58),i=n(776);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(13),o=n(555),i=n(556),a=n(777),s=n(98),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)o[c]&&u(r[c]&&r[c].prototype);u(i)},function(e,t,n){"use strict";var r=n(13),o=n(99).f,i=n(98),a=n(58),s=n(423),u=n(550),c=n(166);e.exports=function(e,t){var n,l,f,p,d,h=e.target,g=e.global,y=e.stat;if(n=g?r:y?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(d=o(n,l))&&d.value:n[l],!c(g?l:h+(y?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(7),o=n(70).filter;r({target:"Array",proto:!0,forced:!n(175)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},,function(e,t,n){"use strict";var r=n(7),o=n(62),i=n(163);r({target:"Object",stat:!0,forced:n(8)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(160),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},function(e,t,n){"use strict";(function(t){var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||this||Function("return this")()}).call(this,n(60))},function(e,t,n){"use strict";n(784),n(785),n(786),n(787),n(789)},function(e,t,n){var r=n(773)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,u,"next",e)}function u(e){n(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(7),o=n(8),i=n(173),a=n(44),s=n(62),u=n(64),c=n(577),l=n(151),f=n(435),p=n(175),d=n(30),h=n(147),g=d("isConcatSpreadable"),y=h>=51||!o((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),v=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,arity:1,forced:!y||!p("concat")},{concat:function(e){var t,n,r,o,i,a=s(this),p=f(a,0),d=0;for(t=-1,r=arguments.length;t=t.length)return e.target=void 0,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!l&&f&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(e){}},function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e,t,n){"use strict";var r=n(7),o=n(244);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";var r=n(7),o=n(39),i=n(551),a=n(78),s=n(99),u=n(151);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=o(r,t=c[f++]))&&u(l,t,n);return l}})},,,function(e,t,n){var r=n(582);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(7),o=n(70).map;r({target:"Array",proto:!0,forced:!n(175)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(790),n(795),n(796),n(797),n(798),n(799)},function(e,t,n){"use strict";var r=n(13),o=n(555),i=n(556),a=n(19),s=n(98),u=n(30),c=u("iterator"),l=u("toStringTag"),f=a.values,p=function(e,t){if(e){if(e[c]!==f)try{s(e,c,f)}catch(t){e[c]=f}if(e[l]||s(e,l,t),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var d in o)p(r[d]&&r[d].prototype,d);p(i,"DOMTokenList")},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(13),o=n(145),i=n(41),a=n(161),s=n(146),u=n(540),c=r.Symbol,l=o("wks"),f=u?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=s&&i(c,e)?c[e]:f("Symbol."+e)),l[e]}},function(e,t,n){"use strict";var r=n(39),o=n(149).EXISTS,i=n(12),a=n(101),s=Function.prototype,u=i(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(c.exec);r&&!o&&a(s,"name",{configurable:!0,get:function(){try{return l(c,u(this))[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(541),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},function(e,t,n){"use strict";var r=n(160),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},function(e,t,n){"use strict";var r=n(429).charAt,o=n(47),i=n(65),a=n(426),s=n(167),u=i.set,c=i.getterFor("String Iterator");a(String,"String",(function(e){u(this,{type:"String Iterator",string:o(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?s(void 0,!0):(e=r(n,o),t.index+=e.length,s(e,!1))}))},function(e,t,n){"use strict";var r=n(149).PROPER,o=n(58),i=n(43),a=n(47),s=n(8),u=n(441),c=RegExp.prototype.toString,l=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),f=r&&"toString"!==c.name;(l||f)&&o(RegExp.prototype,"toString",(function(){var e=i(this);return"/"+a(e.source)+"/"+a(u(e))}),{unsafe:!0})},function(e,t,n){"use strict";var r,o,i,a=n(694),s=n(39),u=n(13),c=n(32),l=n(44),f=n(41),p=n(105),d=n(130),h=n(98),g=n(58),y=n(101),v=n(97),m=n(150),b=n(132),w=n(30),x=n(161),_=n(65),S=_.enforce,O=_.get,k=u.Int8Array,j=k&&k.prototype,E=u.Uint8ClampedArray,A=E&&E.prototype,C=k&&m(k),T=j&&m(j),P=Object.prototype,I=u.TypeError,z=w("toStringTag"),L=x("TYPED_ARRAY_TAG"),R=a&&!!b&&"Opera"!==p(u.opera),D=!1,M={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},N=function(e){var t=m(e);if(l(t)){var n=O(t);return n&&f(n,"TypedArrayConstructor")?n.TypedArrayConstructor:N(t)}},F=function(e){if(!l(e))return!1;var t=p(e);return f(M,t)||f($,t)};for(r in M)(i=(o=u[r])&&o.prototype)?S(i).TypedArrayConstructor=o:R=!1;for(r in $)(i=(o=u[r])&&o.prototype)&&(S(i).TypedArrayConstructor=o);if((!R||!c(C)||C===Function.prototype)&&(C=function(){throw new I("Incorrect invocation")},R))for(r in M)u[r]&&b(u[r],C);if((!R||!T||T===P)&&(T=C.prototype,R))for(r in M)u[r]&&b(u[r].prototype,T);if(R&&m(A)!==T&&b(A,T),s&&!f(T,z))for(r in D=!0,y(T,z,{configurable:!0,get:function(){return l(this)?this[L]:void 0}}),M)u[r]&&h(u[r],L,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:R,TYPED_ARRAY_TAG:D&&L,aTypedArray:function(e){if(F(e))return e;throw new I("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!b||v(C,e)))return e;throw new I(d(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in M){var i=u[o];if(i&&f(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}T[e]&&!n||g(T,e,n?t:R&&j[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(b){if(n)for(r in M)if((o=u[r])&&f(o,e))try{delete o[e]}catch(e){}if(C[e]&&!n)return;try{return g(C,e,n?t:R&&C[e]||t)}catch(e){}}for(r in M)!(o=u[r])||o[e]&&!n||g(o,e,t)}},getTypedArrayConstructor:N,isView:function(e){if(!l(e))return!1;var t=p(e);return"DataView"===t||f(M,t)||f($,t)},isTypedArray:F,TypedArray:C,TypedArrayPrototype:T}},function(e,t,n){"use strict";var r=n(7),o=n(236).includes,i=n(8),a=n(234);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){"use strict";var r=n(7),o=n(12),i=n(159),a=n(78),s=n(247),u=o([].join);r({target:"Array",proto:!0,forced:i!==Object||!s("join",",")},{join:function(e){return u(a(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(8);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},,function(e,t,n){"use strict";var r=n(12),o=n(62),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},function(e,t,n){"use strict";var r=n(7),o=n(578);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(44),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},function(e,t,n){"use strict";var r=n(32),o=n(541),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},,function(e,t,n){"use strict";var r=n(7),o=n(75),i=n(39),a=n(13),s=n(569),u=n(12),c=n(166),l=n(41),f=n(242),p=n(97),d=n(148),h=n(424),g=n(8),y=n(118).f,v=n(99).f,m=n(69).f,b=n(579),w=n(557).trim,x=a.Number,_=s.Number,S=x.prototype,O=a.TypeError,k=u("".slice),j=u("".charCodeAt),E=function(e){var t=h(e,"number");return"bigint"==typeof t?t:A(t)},A=function(e){var t,n,r,o,i,a,s,u,c=h(e,"number");if(d(c))throw new O("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=w(c),43===(t=j(c,0))||45===t){if(88===(n=j(c,2))||120===n)return NaN}else if(48===t){switch(j(c,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=k(c,2)).length,s=0;so)return NaN;return parseInt(i,r)}return+c},C=c("Number",!x(" 0o1")||!x("0b1")||x("+0x1")),T=function(e){return p(S,e)&&g((function(){b(e)}))},P=function(e){var t=arguments.length<1?0:x(E(e));return T(this)?f(Object(t),this,P):t};P.prototype=S,C&&!o&&(S.constructor=P),r({global:!0,constructor:!0,wrap:!0,forced:C},{Number:P});var I=function(e,t){for(var n,r=i?y(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;r.length>o;o++)l(t,n=r[o])&&!l(e,n)&&m(e,n,v(t,n))};o&&_&&I(s.Number,_),(C||o)&&I(s.Number,x)},function(e,t,n){"use strict";var r=n(105),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},function(e,t,n){(function(t){var n;n=function(){var e="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||Function("return this")()||{},n=Array.prototype,r=Object.prototype,o="undefined"!=typeof Symbol?Symbol.prototype:null,i=n.push,a=n.slice,s=r.toString,u=r.hasOwnProperty,c="undefined"!=typeof ArrayBuffer,l="undefined"!=typeof DataView,f=Array.isArray,p=Object.keys,d=Object.create,h=c&&ArrayBuffer.isView,g=isNaN,y=isFinite,v=!{toString:null}.propertyIsEnumerable("toString"),m=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],b=Math.pow(2,53)-1;function w(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o=0&&n<=b}}function V(e){return function(t){return null==t?void 0:t[e]}}var K=V("byteLength"),J=W(K),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,Z=c?function(e){return h?h(e)&&!N(e):J(e)&&Q.test(s.call(e))}:H(!1),Y=V("length");function X(e,t){t=function(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"},qe=Ne(Fe),Be=Ne(me(Fe)),Ue=ne.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ge=/(.)^/,He={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},We=/\\|'|\r|\n|\u2028|\u2029/g;function Ve(e){return"\\"+He[e]}var Ke=/^\s*(\w|\$)+\s*$/,Je=0;function Qe(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Oe(e.prototype),a=e.apply(i,o);return x(a)?a:i}var Ze=w((function(e,t){var n=Ze.placeholder,r=function(){for(var o=0,i=t.length,a=Array(i),s=0;s1)et(s,t-1,n,r),o=r.length;else for(var u=0,c=s.length;u0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var at=Ze(it,2);function st(e,t,n){t=Re(t,n);for(var r,o=ee(e),i=0,a=o.length;i0?0:o-1;i>=0&&i0?s=i>=0?i:Math.max(i+u,s):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(a.call(r,s,u),G))>=0?i+s:-1;for(i=e>0?s:u-1;i>=0&&i0?0:a-1;for(o||(r=t[i?i[s]:s],s+=e);s>=0&&s=3;return t(e,Ie(n,o,4),r,i)}}var bt=mt(1),wt=mt(-1);function xt(e,t,n){var r=[];return t=Re(t,n),yt(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function _t(e,t,n){t=Re(t,n);for(var r=!Xe(e)&&ee(e),o=(r||e).length,i=0;i=0}var kt=w((function(e,t,n){var r,o;return L(t)?o=t:(t=je(t),r=t.slice(0,-1),t=t[t.length-1]),vt(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Ee(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function jt(e,t){return vt(e,Pe(t))}function Et(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=Xe(e)?e:ve(e)).length;si&&(i=r);else t=Re(t,n),yt(e,(function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)}));return i}var At=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Ct(e){return e?F(e)?a.call(e):k(e)?e.match(At):Xe(e)?vt(e,Ce):ve(e):[]}function Tt(e,t,n){if(null==t||n)return Xe(e)||(e=ve(e)),e[Me(e.length-1)];var r=Ct(e),o=Y(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a1&&(r=Ie(r,t[1])),t=ie(e)):(r=Dt,t=et(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o1&&(n=t[1])):(t=vt(et(t,!1,!1),String),r=function(e,n){return!Ot(t,n)}),Mt(e,r,n)}));function Nt(e,t,n){return a.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Ft(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Nt(e,e.length-t)}function qt(e,t,n){return a.call(e,null==t||n?1:t)}var Bt=w((function(e,t){return t=et(t,!0,!0),xt(e,(function(e){return!Ot(t,e)}))})),Ut=w((function(e,t){return Bt(e,t)}));function Gt(e,t,n,r){S(t)||(r=n,n=t,t=!1),null!=n&&(n=Re(n,r));for(var o=[],i=[],a=0,s=Y(e);at?(r&&(clearTimeout(r),r=null),s=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return c.cancel=function(){clearTimeout(r),s=0,r=o=i=null},c},debounce:function(e,t,n){var r,o,i,a,s,u=function(){var c=$e()-o;t>c?r=setTimeout(u,t-c):(r=null,n||(a=e.apply(s,i)),r||(i=s=null))},c=w((function(c){return s=this,i=c,o=$e(),r||(r=setTimeout(u,t),n&&(a=e.apply(s,i))),a}));return c.cancel=function(){clearTimeout(r),r=i=s=null},c},wrap:function(e,t){return Ze(t,e)},negate:ot,compose:function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:it,once:at,findKey:st,findIndex:ct,findLastIndex:lt,sortedIndex:ft,indexOf:dt,lastIndexOf:ht,find:gt,detect:gt,findWhere:function(e,t){return gt(e,Te(t))},each:yt,forEach:yt,map:vt,collect:vt,reduce:bt,foldl:bt,inject:bt,reduceRight:wt,foldr:wt,filter:xt,select:xt,reject:function(e,t,n){return xt(e,ot(Re(t)),n)},every:_t,all:_t,some:St,any:St,contains:Ot,includes:Ot,include:Ot,invoke:kt,pluck:jt,where:function(e,t){return xt(e,Te(t))},max:Et,min:function(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=Xe(e)?e:ve(e)).length;sr||void 0===n)return 1;if(n=T&&(C+=k(s,T,L)+I,T=L+z.length)}return C+k(s,T)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}))||!j||E)},function(e,t,n){"use strict";var r=n(7),o=n(62),i=n(117),a=n(91),s=n(64),u=n(803),c=n(577),l=n(435),f=n(151),p=n(442),d=n(175)("splice"),h=Math.max,g=Math.min;r({target:"Array",proto:!0,forced:!d},{splice:function(e,t){var n,r,d,y,v,m,b=o(this),w=s(b),x=i(e,w),_=arguments.length;for(0===_?n=r=0:1===_?(n=0,r=w-x):(n=_-2,r=g(h(a(t),0),w-x)),c(w+n-r),d=l(b,r),y=0;yw-r+n;y--)p(b,y-1)}else if(n>r)for(y=w-r;y>x;y--)m=y+n-1,(v=y+r-1)in b?b[m]=b[v]:p(b,m);for(y=0;y1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u(u(u({},c),l),n);return a.default.delete(e,d(t,r),r)},t.createPost=t.createGet=t.createFormPost=void 0,t.get=f,t.paramsQuery=h,t.post=p,t.put=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u(u(u({},c),l),n);return a.default.put(e,d(t,r),r)},n(11),n(4),n(6),n(38);var o=r(n(25)),i=r(n(263)),a=r(n(689));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=u(u({},c),n);return o.params=d(t,o),o.cancelToken=new i.default.CancelToken((function(e){r&&(r.source=e)})),a.default.get(e,o)}t.createGet=function(e,t){return function(n){return f(e,n,t)}};function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u(u(u({},c),l),n);return a.default.post(e,d(t,r),r)}t.createPost=function(e,t){return function(n){return p(e,n,t)}},t.createFormPost=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p(e,h(n),u(u({},t),{},{headers:u(u({},t["Content-Type"]),{},{"Content-Type":"application/x-www-form-urlencoded"})}))}};function d(e,t){return t.isRemoveField?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=JSON.parse(JSON.stringify(e)),r=t;0===t.length&&(r=Object.keys(e));return r.forEach((function(e){var t=n[e];""!==t&&null!=t||delete n[e]})),n}(e,t.removeField):e}function h(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=[];for(e in r)if((t=r[e])instanceof Array)for(n=t.length;n--;)o.push(e+"[]="+encodeURIComponent(t[n]));else o.push(e+"="+encodeURIComponent(void 0===t?"":t));return o.join("&")}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(582);function o(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{},a=i.allOwnKeys,s=void 0!==a&&a;if(null!=e)if("object"!==(0,o.default)(e)&&(e=[e]),p(e))for(n=0,r=e.length;n0;)if(t===(n=r[o]).toLowerCase())return n;return null}var E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e,A=function(e){return!d(e)&&e!==E};var C,T=(C="undefined"!=typeof Uint8Array&&u(Uint8Array),function(e){return C&&e instanceof C}),P=l("HTMLFormElement"),I=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),z=l("RegExp"),L=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};k(n,(function(n,o){var i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},R="abcdefghijklmnopqrstuvwxyz",D={DIGIT:"0123456789",ALPHA:R,ALPHA_DIGIT:R+R.toUpperCase()+"0123456789"};var M=l("AsyncFunction");t.default={isArray:p,isArrayBuffer:h,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&y(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||y(e.append)&&("formdata"===(t=c(e))||"object"===t&&y(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&h(e.buffer)},isString:g,isNumber:v,isBoolean:function(e){return!0===e||!1===e},isObject:m,isPlainObject:b,isUndefined:d,isDate:w,isFile:x,isBlob:_,isRegExp:z,isFunction:y,isStream:function(e){return m(e)&&y(e.pipe)},isURLSearchParams:O,isTypedArray:T,isFileList:S,forEach:k,merge:function e(){for(var t=A(this)&&this||{},n=t.caseless,r={},o=function(t,o){var i=n&&j(r,o)||o;b(r[i])&&b(t)?r[i]=e(r[i],t):b(t)?r[i]=e({},t):p(t)?r[i]=t.slice():r[i]=t},i=0,a=arguments.length;i3&&void 0!==arguments[3]?arguments[3]:{},o=r.allOwnKeys;return k(t,(function(t,r){n&&y(t)?e[r]=(0,a.default)(t,n):e[r]=t}),{allOwnKeys:o}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,s={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&u(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:l,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(p(e))return e;var t=e.length;if(!v(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:P,hasOwnProperty:I,hasOwnProp:I,reduceDescriptors:L,freezeMethods:function(e){L(e,(function(t,n){if(y(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];y(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return p(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:j,global:E,isContextDefined:A,ALPHABET:D,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&y(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(m(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=p(n)?[]:{};return k(n,(function(t,n){var i=e(t,r+1);!d(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:M,isThenable:function(e){return e&&(m(e)||y(e))&&y(e.then)&&y(e.catch)}}}).call(this,n(60))},function(e,t,n){"use strict";var r=n(32),o=n(69),i=n(549),a=n(423);e.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&i(n,c,s),s.global)u?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(7),o=n(70).find,i=n(234),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){"use strict";var r=n(74),o=Object;e.exports=function(e){return o(r(e))}},,function(e,t,n){"use strict";var r=n(86);e.exports=function(e){return r(e.length)}},function(e,t,n){"use strict";var r,o,i,a=n(548),s=n(13),u=n(44),c=n(98),l=n(41),f=n(422),p=n(237),d=n(164),h=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new h("Object already initialized");return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var v=p("state");d[v]=!0,r=function(e,t){if(l(e,v))throw new h("Object already initialized");return t.facade=e,c(e,v,t),t},o=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=o(t)).type!==e)throw new h("Incompatible receiver, "+e+" required");return n}}}},,function(e,t,n){"use strict";var r=n(7),o=n(12),i=n(458),a=n(74),s=n(47),u=n(459),c=o("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(7),o=n(557).trim;r({target:"String",proto:!0,forced:n(774)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(39),o=n(544),i=n(543),a=n(43),s=n(162),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor;t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=l(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r=n(106),o=n(12),i=n(159),a=n(62),s=n(64),u=n(435),c=o([].push),l=function(e){var t=1===e,n=2===e,o=3===e,l=4===e,f=6===e,p=7===e,d=5===e||f;return function(h,g,y,v){for(var m,b,w=a(h),x=i(w),_=r(g,y),S=s(x),O=0,k=v||u,j=t?k(h,S):n||p?k(h,0):void 0;S>O;O++)if((d||O in x)&&(b=_(m=x[O],O,w),e))if(t)j[O]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return O;case 2:c(j,m)}else switch(e){case 4:return!1;case 7:c(j,m)}return f?-1:o||l?l:j}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},,function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.copyTextValue=t.XssText=t.IS_MOBILE=t.Div=void 0,t.dataURLtoFile=function(e){var t=e.split(","),n=t[0].match(/:(.*?);/)[1],r=atob(t[1]),o=r.length,i=new Uint8Array(o);for(;o--;)i[o]=r.charCodeAt(o);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t&&(e.name=t),e}(new Blob([i],{type:n}))},t.filterXss=t.default=t.deepClone=void 0,t.findNthOccurrence=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(!e)return-1;for(var r=0,o=0;o0?t.split("&"):[],o=null,i=null,a=null,s=0;s1&&void 0!==arguments[1]?arguments[1]:"",r=[],o=0,i=0;for(i=0;i<256;i++)r[i]=i;for(i=0;i<256;i++)o=(o+r[i]+e.charCodeAt(i%e.length))%256,t=r[i],r[i]=r[o],r[o]=t;i=0,o=0;for(var a=[],s=0;s')})),o},t.toDecimal=void 0,t.toHighlight=function(e){var t=e.str,n=e.highlightList,r=[];n&&n.forEach((function(e){r.unshift(e)}));var o=t;return r.forEach((function(e){var n,r=t.slice(e.startIndex,e.endIndex);n=''.concat(r,""),o=P(o,e.startIndex,e.endIndex,n)})),o},t.truncateText=H,t.useOldPdf=t.updateQueryStringParameter=void 0,t.zhLength=function(e){for(var t=0,n=(e=e.replace(/(^[\s\n\r]*)|([\s\n\r]*$)/g,"")).length,r=-1,o=0;o255?1:.5;return Math.ceil(t)};var o=r(n(15)),i=r(n(16));n(4),n(35),n(17),n(49),n(37),n(67),n(21),n(50),n(31),n(83),n(19),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(38),n(46),n(463),n(27),n(6),n(61),n(68),n(26),n(89),n(1148);var a=r(n(20)),s=r(n(1149)),u=n(704),c=new a.default;function l(){var e=0,t=0;return document.body&&(e=document.body.scrollTop),document.documentElement&&(t=document.documentElement.scrollTop),e-t>0?e:t}function f(e){var t=e;if(!t)return{top:0,left:0,width:0,height:0};for(var n={top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight};t!=document.body;)t=t.offsetParent,n.top+=t.offsetTop,n.left+=t.offsetLeft;return n}function p(){return l()+("CSS1Compat"==document.compatMode?document.documentElement.clientHeight:document.body.clientHeight)==(e=0,t=0,document.body&&(e=document.body.scrollHeight),document.documentElement&&(t=document.documentElement.scrollHeight),e-t>0?e:t);var e,t}function d(e,t){return!!e.getAttribute("class")&&e.getAttribute("class").split(" ").indexOf(t)>-1}function h(e){var t;if(!e)return{};var n=e.getBoundingClientRect(),r=n.width,o=n.height,i=n.left,a=n.top,s=n.bottom,u=n.right,c=n.x,l=n.y,f=null===(t=e.ownerDocument)||void 0===t||null===(t=t.defaultView)||void 0===t?void 0:t.frameElement;if(f){var p=f.getBoundingClientRect();i+=p.left,a+=p.top,s+=p.top,u+=p.left,c+=p.left,l+=p.top}return{width:r,height:o,left:i,top:a,right:u,bottom:s,x:c,y:l}}function g(e,t){return e?t?((e.includes("/")||e.includes(".")||e.includes("-"))&&(e=e.replace(/[\/\.-]/g,"")),"".concat(e.substring(0,4)).concat(t).concat(e.substring(4,6))):e:""}function y(e){for(var t=0,n=(e=e.replace(/(^[\s\n\r]*)|([\s\n\r]*$)/g,"")).length,r=0;r255?1:.5;return Math.ceil(t)}function v(e){var t=Object.prototype.toString.call(e);return t.slice(t.indexOf(" ")+1,t.length-1).toLowerCase()}function m(e,t){var n,r,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(t=t||o.length,e)for(n=0;n$/.test(e)?e.replace(/\/g,">").replace("","").replace("","").replace("","").replace("",""):e}),x=(t.XssText=function(e){return(""+e).replace(//g,">").replace(/\n/g,"
").replace(/\\n/g,"
").replace(/&middot;/g,"·").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/</g,"<").replace(/>/g,">").replace(/·/g,"")},t.toDecimal=function(e){var t=parseFloat(e);if(isNaN(t))return!1;var n=(t=Math.round(100*e)/100).toString(),r=n.indexOf(".");for(r<0&&(r=n.length,n+=".");n.length<=r+2;)n+="0";return n}),_=t.regYuanToFen=function(e,t){var n=0,r=e.toString(),o=t.toString();try{n+=r.split(".")[1].length}catch(e){}try{n+=o.split(".")[1].length}catch(e){}return Number(r.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,n)},S=t.Div=function(e,t,n){e=e.toString(),t=t.toString();var r=e.split("."),o=t.split("."),i=2==r.length?r[1]:"",a=2==o.length?o[1]:"",s=i.length-a.length,u=Number(e.replace(".",""))/Number(t.replace(".",""))*Math.pow(10,s);return"number"==typeof n?Number(u.toFixed(n)):u},O=t.isSafeUrl=function(e){var t=window.location.host.indexOf("weizhipin.com")>-1?["weizhipin.com"]:["zhipin.com"],n=((e||"").replace(/^(https?)?(:?\/\/+)([^\/?]*)(.*)?$/,"$3")||"").split(".").slice(-2).join(".");return t.indexOf(n)>-1},k=t.useOldPdf=function(){var e=(new s.default).getBrowser()||{};return["IE"].indexOf(e.name)>-1||"Chrome"==e.name&&(e.version||"").split(".")[0]<=80},j=t.isIE=function(){var e=(new s.default).getBrowser()||{};return["IE"].indexOf(e.name)>-1};t.shuffle=function(e){for(var t,n,r=e.length;0!=r;)n=Math.floor(Math.random()*r),t=e[--r],e[r]=e[n],e[n]=t;return e};var E=t.formatTel=function(e,t){var n,r,o=trim(e),i="",a="",s=0,u=0;for(t.includes("-")?(n=t.split("-"),a="-"):(n=t.split(" "),a="-"),s=0;s'+n.substr(i,a)+""+n.substr(i+a)},T=t.openNewPage=function(e){if(e){var t=document.createElement("a");t.setAttribute("target","_blank"),t.setAttribute("rel","external nofollow"),t.href=e,document.body&&document.body.appendChild(t),t.click(),setTimeout((function(){var e,n;null==t||null===(e=t.parentNode)||void 0===e||null===(n=e.removeChild)||void 0===n||n.call(e,t)}),0)}};function P(e,t,n,r){return e.substr(0,t)+r+e.substr(n,e.length)}var I=t.setCursorEnd=function(e){if(window.getSelection){e.focus();var t=window.getSelection();t&&(t.selectAllChildren(e),t.collapseToEnd())}else if(document.selection){var n=document.selection.createRange();n.moveToElementText(e),n.collapse(!1),n.select()}};function z(e){if(!e)return"";$("body").find("#boss-editor-sub").length||$("body").append('
');var t=$("body").find("#boss-editor-sub");return t.html(e),t.find("img").each((function(){var e=$(this).data("key");e&&$(this).replaceWith("".concat(e))})),e=t[0].innerText,$.trim(e)}var L=t.deepClone=function e(t){var n=Array.isArray(t)?[]:{};for(var r in t)if(t.hasOwnProperty(r)){var o=t[r],i=Object.prototype.toString.call(o);n[r]="[object Object]"===i||"[object Array]"===i?e(o):o}return n};var R=function(e){return(e="".concat(e)).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},D=function(e){return(e="".concat(e)).replace(/\[\[\|/g,"").replace(/"/g,'"')};function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||""===e)return"";var r=e.split(""),o=function(e){return'[[font data-url="'.concat(e||"",'" class="font-hightlight ').concat(n.className||"",'" ]]')},i="[[|font]]",a=n&&n.start?n.start:"startIndex",s=n&&n.end?n.end:"endIndex";t&&t.forEach((function(e){var t=e[a],n=e[s]-1;r[t]=o(e.protocol||e.url)+(r[t]||""),r[n]=(r[n]||"")+i}));var u=R(r.join("")),c=D(u);return c}function N(e){if(!e)return"";e=e.replace(/\s*/g,"");for(var t=[],n=0;n1?e.split("?")[1]:e).split("&"),r=0;r1&&(t[o[0]]=o[1])}return t}var q=t.hasLightKeyword=function(e,t){var n=(t+"").toLowerCase(),r=(e+"").toLowerCase(),o=n.indexOf(r),i=e.length,a=(0,u.match)(n,r)||[];if(o>0){a=[];for(var s=0;s0){var o=n.split("");n=(o=o.map((function(e,t){return r.includes(t)?''+e+"":e}))).join("")}return n},t.updateQueryStringParameter=function(e,t,n){if(!n)return e;var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+n+"$2"):e+o+t+"="+n});function U(){var e=window.getSelection();if(e.rangeCount>0){var t=e.getRangeAt(0);return{startContainer:t.startContainer,startOffset:t.startOffset,endContainer:t.endContainer,endOffset:t.endOffset}}}function G(e){if(e){var t=document.createRange(),n=e.startContainer,r=e.startOffset,o=void 0===r?0:r,i=e.endContainer,a=e.endOffset,s=void 0===a?0:a;n&&t.setStart(n,o),i&&t.setEnd(i,s);var u=window.getSelection();u.removeAllRanges(),u.addRange(t)}}function H(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120,n=0,r="",o=e.length;e=e.replace(/(^[\s\n\r]*)|([\s\n\r]*$)/g,"");for(var i=0;i255?1:.5)<=t)){r+="...";break}r+=e[i]}return r}var W=t.copyTextValue=function(e,t){if(e){var n=document.createElement("input");n.setAttribute("id","boss-copy-input"),n.setAttribute("readonly","readonly"),n.setAttribute("value",e),document.body.appendChild(n),n.select(),n.setSelectionRange(0,9999),document.execCommand("copy"),document.execCommand("copy")&&("function"==typeof t?t():c.$toast({content:"已复制",type:"success"})),document.body.removeChild(n)}};function V(e){var t=/^(?:https?:\/\/)?[^\/]+(\/[^?#]*)?/i.exec(e),n=t&&t[1]?t[1]:"/",r=(e.split("?")[1]||"").split("#")[0]||"",o=e.split("#")[1]||"";return n+(r?"?"+r:"")+(o?"#"+o:"")}var K=t.maskText=function(e){return e?"*".repeat(String(e).length):""};function J(e){if(!e||"+86"===e)return"";var t={"+852":"中国香港","+853":"中国澳门","+886":"中国台湾"}[e];return t?"".concat(t,"(").concat(e,") "):"境外(".concat(e,") ")}t.default={lightKeyword:C,getOffset:f,isScrollBottom:p,closest:function(e,t){for(var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;e&&!n.call(e,t);)e=e.parentElement;return e},hasClass:d,getClientRect:function(e){var t=e.getBoundingClientRect();return{top:parseInt(t.y,10),left:parseInt(t.x,10),width:parseInt(t.width,10),height:parseInt(t.height,10)}},getFloat:function(e){var t=(e=Math.round(100*parseFloat(e))/100).toString().split(".");return 1==t.length?e=e.toString()+".00":t.length>1?(t[1].length<2&&(e=e.toString()+"0"),e):void 0},handleDateToMounth:g,getLength:y,getType:v,getUuid:m,isMobile:b,filterXss:w,toDecimal:x,regYuanToFen:_,Div:S,isSafeUrl:O,useOldPdf:k,isIE:j,formatTel:E,sleep:A,openNewPage:T,setCursorEnd:I,htmlConvertToMessage:z,deepClone:L,getElementRect:h,highlight:M,formateMobile:N,getQueryParams:F,updateQueryStringParameter:B,getCursorPosition:U,restoreCursorPosition:G,truncateText:H,copyTextValue:W,removeDomain:V,maskText:K,formatRegionCode:J}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(){var e;return function(t){return t&&(e=t),e}}},function(e,t,n){"use strict";var r=n(84),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var r=n(7),o=n(70).findIndex,i=n(234),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(7),o=n(39),i=n(13),a=n(12),s=n(41),u=n(32),c=n(97),l=n(47),f=n(101),p=n(550),d=i.Symbol,h=d&&d.prototype;if(o&&u(d)&&(!("description"in h)||void 0!==d().description)){var g={},y=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=c(h,this)?new d(e):void 0===e?d():d(e);return""===e&&(g[t]=!0),t};p(y,d),y.prototype=h,h.constructor=y;var v="Symbol(description detection)"===String(d("description detection")),m=a(h.valueOf),b=a(h.toString),w=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),_=a("".slice);f(h,"description",{configurable:!0,get:function(){var e=m(this);if(s(g,e))return"";var t=b(e),n=v?_(t,7,-1):x(t,w,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:y})}},function(e,t,n){"use strict";var r=n(159),o=n(74);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";var r=n(32),o=n(130),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},,function(e,t,n){"use strict";var r=n(680),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/group/groupInfoList",e)},t.getBatchGroup=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/group/batchGetGroupInfo",e)},t.getLigoList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/group/gravityGroupInfoList",e)},t.getWuKongUserOnline=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/group/userGroupEnter",e)},t.getBossData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,r.get)("/wapi/zpchat/geek/getBossData",e,{},t)},t.getHistoryMsg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,r.get)("/wapi/zpchat/geek/historyMsg",e,{},t)},t.getGroupHistoryMsg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,r.get)("/wapi/zpchat/group/historyMsg",e,{},t)},t.refreshMessage=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,r.get)("/wapi/zpchat/message/refresh",e,{},t)},t.updateWechat=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,r.get)("/wapi/zpuser/wap/weChat/update",e,t)},t.hunterGeekCallReply=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,r.get)("/wapi/zpitem/web/search/hunter/geek/geekCallReply",e,t)},t.getImgAuthUrl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return(0,r.get)("/wapi/zpupload/oss/sign/refresh",e,{},t)},t.getGeekVirtualPhone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/videoJob/geekGetVirtualPhone",e)},t.getChatHelperFeedbackInfo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/chatHelper/feedback/alertInfo",e)},t._getFriendInfoRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/geek/getBossData",e)},t.getSceneList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/group/gravityScenes",e)},t.getGravityGroupList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/group/gravityGroupInfoList",e)},t.checkSecondGreet=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/greeting/second/check",e)},t.geekShowUnread=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/config/get",e)},t.getReplyWordList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/fastReply/replyWord/list",e)},t.wechatGuide=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/wechat/guide",e)},t.wechatGetQrcode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/wechat/getScanMixInfo",e)},t.wechatSetting=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/wechat/setting",e)},t._notifySettingGet=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/notify/setting/get",e)},t.webUrlRedirect=function(e){return(0,r.get)("/wapi/zpchat/domain/grade/get?url="+e)},t.getInnerLinkRuleList=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/config/getInnerLinkRuleList",e)},t.getZpChatGray=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/gray/get",e)},t.getSessionCheck=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/session/check",e)},t.getWSConfig=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/config/ws",e)},t.getBaisProtocol=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.get)("/wapi/zpchat/gpt/entrance/bais/protocol",e)}},function(e,t,n){"use strict";var r=n(33),o=n(245),i=n(43),a=n(84),s=n(86),u=n(47),c=n(74),l=n(116),f=n(246),p=n(174);o("match",(function(e,t,n){return[function(t){var n=c(this),o=a(t)?void 0:l(t,e);return o?r(o,t,n):new RegExp(t)[e](u(n))},function(e){var r=i(this),o=u(e),a=n(t,r,o);if(a.done)return a.value;if(!r.global)return p(r,o);var c=r.unicode;r.lastIndex=0;for(var l,d=[],h=0;null!==(l=p(r,o));){var g=u(l[0]);d[h]=g,""===g&&(r.lastIndex=f(o,s(r.lastIndex),c)),h++}return 0===h?null:d}]}))},function(e,t,n){"use strict";e.exports=function(e){return null==e}},function(e,t,n){"use strict";var r=n(13),o=n(32),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},function(e,t,n){"use strict";var r=n(91),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";e.exports=TypeError},function(e,t,n){"use strict";n(176)("iterator")},function(e,t,n){"use strict";var r=n(39),o=n(13),i=n(12),a=n(166),s=n(242),u=n(98),c=n(118).f,l=n(97),f=n(264),p=n(47),d=n(441),h=n(436),g=n(1121),y=n(58),v=n(8),m=n(41),b=n(65).enforce,w=n(178),x=n(30),_=n(560),S=n(561),O=x("match"),k=o.RegExp,j=k.prototype,E=o.SyntaxError,A=i(j.exec),C=i("".charAt),T=i("".replace),P=i("".indexOf),I=i("".slice),z=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,R=/a/g,D=new k(L)!==L,M=h.MISSED_STICKY,$=h.UNSUPPORTED_Y,N=r&&(!D||M||_||S||v((function(){return R[O]=!1,k(L)!==L||k(R)===R||"/a/i"!==String(k(L,"i"))})));if(a("RegExp",N)){for(var F=function(e,t){var n,r,o,i,a,c,h=l(j,this),g=f(e),y=void 0===t,v=[],w=e;if(!h&&g&&y&&e.constructor===F)return e;if((g||l(j,e))&&(e=e.source,y&&(t=d(w))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),w=e,_&&"dotAll"in L&&(r=!!t&&P(t,"s")>-1)&&(t=T(t,/s/g,"")),n=t,M&&"sticky"in L&&(o=!!t&&P(t,"y")>-1)&&$&&(t=T(t,/y/g,"")),S&&(e=(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},s=!1,u=!1,c=0,l="";r<=n;r++){if("\\"===(t=C(e,r)))t+=C(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:A(z,I(e,r+1))&&(r+=2,u=!0),o+=t,c++;continue;case">"===t&&u:if(""===l||m(a,l))throw new E("Invalid capture group name");a[l]=!0,i[i.length]=[l,c],u=!1,l="";continue}u?l+=t:o+=t}return[o,i]}(e))[0],v=i[1]),a=s(k(e,t),h?this:j,F),(r||o||v.length)&&(c=b(a),r&&(c.dotAll=!0,c.raw=F(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=C(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+C(e,++r);return o}(e),n)),o&&(c.sticky=!0),v.length&&(c.groups=v)),e!==w)try{u(a,"source",""===w?"(?:)":w)}catch(e){}return a},q=c(k),B=0;q.length>B;)g(F,k,q[B++]);j.constructor=F,F.prototype=j,y(o,"RegExp",F,{constructor:!0})}w("RegExp")},function(e,t,n){"use strict";var r=n(12),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},function(e,t,n){"use strict";var r=n(765);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},function(e,t,n){"use strict";var r=n(69).f,o=n(41),i=n(30)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},,function(e,t,n){"use strict";var r=n(1164);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";t.a=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(110),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r.a?r.a.toStringTag:void 0;var u=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o},c=Object.prototype.toString;var l=function(e){return c.call(e)},f=r.a?r.a.toStringTag:void 0;t.a=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":f&&f in Object(e)?u(e):l(e)}},function(e,t,n){"use strict";var r=n(12);e.exports=r({}.isPrototypeOf)},function(e,t,n){"use strict";var r=n(39),o=n(69),i=n(131);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(39),o=n(33),i=n(238),a=n(131),s=n(78),u=n(162),c=n(41),l=n(544),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},,function(e,t,n){"use strict";var r=n(549),o=n(69);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wechatAssistantTest=t.wechatAssistantExchange=t.videoResumeAccept=t.updateSoundMsg=t.testAccept=t.submitChatHelperFeedback=t.subGpt=t.stopGpt=t.setGroupTop=t.sendGreetingQuestionAnswer=t.revokeMsg=t.resumeVideoRequest=t.requestExchange=t.rejectSmsNotify=t.rejectItemWeiXinRequest=t.rejectItemContact=t.rejectInterestSmsNotify=t.rejectExchange=t.rejectBombInterest=t.rejectAuthExchange=t.hideGroup=t.getBossEnter=t.exchangeTest=t.exchangeAuthTest=t.exchangeAuth=t.createGptSession=t.continueService=t.closeSecondGreet=t.chatSseClose=t.chatHelperBlock=t.assistantExchange=t.acceptItemWeiXinRequest=t.acceptItemContact=t.acceptInterestSmsNotify=t.acceptExchange=t.acceptBombInterest=t._updateSetting=t._rejectSendJobLocation=t._notifySettingUpdate=t._collectSticker=t._authContact=t._acceptSendJobLocation=t.FORM_POST_HEADER=void 0;var r=n(53),o=t.FORM_POST_HEADER={headers:{"Content-Type":"application/x-www-form-urlencoded"}};t._authContact=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/contact/auth",(0,r.paramsQuery)(e),o)},t._rejectSendJobLocation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/message/rejectSendJobLocation",(0,r.paramsQuery)(e),o)},t._acceptSendJobLocation=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/message/acceptSendJobLocation",(0,r.paramsQuery)(e),o)},t.setGroupTop=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/group/updateGroupSetting",(0,r.paramsQuery)(e),o)},t.sendGreetingQuestionAnswer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/greeting/job/question/answer",(0,r.paramsQuery)(e),o)},t.requestExchange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/request",(0,r.paramsQuery)(e),o)},t.acceptExchange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/accept",(0,r.paramsQuery)(e),o)},t.acceptInterestSmsNotify=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/interestSmsNotify",(0,r.paramsQuery)(e),o)},t.acceptItemContact=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/acceptItemContact",(0,r.paramsQuery)(e),o)},t.acceptBombInterest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/acceptBombInterest",(0,r.paramsQuery)(e),o)},t.acceptItemWeiXinRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/acceptItemWeiXinRequest",(0,r.paramsQuery)(e),o)},t.rejectExchange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/reject",(0,r.paramsQuery)(e),o)},t.rejectSmsNotify=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/rejectSmsNotify",(0,r.paramsQuery)(e),o)},t.rejectItemContact=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/rejectItemContact",(0,r.paramsQuery)(e),o)},t.rejectBombInterest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/rejectBombInterest",(0,r.paramsQuery)(e),o)},t.rejectInterestSmsNotify=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/rejectSmsNotify",(0,r.paramsQuery)(e),o)},t.rejectItemWeiXinRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/geek/rejectItemWeiXinRequest",(0,r.paramsQuery)(e),o)},t._collectSticker=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/sticker/favorite/sticker",(0,r.paramsQuery)(e),o)},t.resumeVideoRequest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/videoResume/request",(0,r.paramsQuery)(e),o)},t.revokeMsg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/message/withdrawMessage ",(0,r.paramsQuery)(e),o)},t.exchangeAuthTest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/api/zpchat/exchange/auth/test",(0,r.paramsQuery)(e),o)},t.exchangeAuth=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/auth/accept",(0,r.paramsQuery)(e),o)},t.rejectAuthExchange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/auth/button/update",(0,r.paramsQuery)(e),o)},t.createGptSession=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/gpt/entrance/session",(0,r.paramsQuery)(e),o)},t.subGpt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/gpt/entrance/submit",(0,r.paramsQuery)(e),o)},t.wechatAssistantTest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/wechat/assistant/test",(0,r.paramsQuery)(e),o)},t.wechatAssistantExchange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/wechat/assistant/exchange",(0,r.paramsQuery)(e),o)},t.assistantExchange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/contact/assistant/exchange",(0,r.paramsQuery)(e),o)},t.continueService=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/guanjia/continueService",(0,r.paramsQuery)(e),o)},t.updateSoundMsg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/message/updateSoundMsg",(0,r.paramsQuery)(e),o)},t._notifySettingUpdate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/notify/setting/update",(0,r.paramsQuery)(e),o)},t.closeSecondGreet=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/greeting/second/close",(0,r.paramsQuery)(e),o)},t.getBossEnter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/session/geekEnter",(0,r.paramsQuery)(e),o)},t.exchangeTest=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/test",(0,r.paramsQuery)(e),o)},t.testAccept=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/testAccept",(0,r.paramsQuery)(e),o)},t.hideGroup=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/group/hideGroup",(0,r.paramsQuery)(e),o)},t.stopGpt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/gpt/entrance/stop",(0,r.paramsQuery)(e),o)},t.chatHelperBlock=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/chatHelper/blockOrRelease",(0,r.paramsQuery)(e),o)},t.submitChatHelperFeedback=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/chatHelper/feedback/submit",(0,r.paramsQuery)(e),o)},t.videoResumeAccept=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/exchange/videoResume/accept",(0,r.paramsQuery)(e),o)},t.chatSseClose=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,r.post)(e,(0,r.paramsQuery)(t))},t._updateSetting=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.post)("/wapi/zpchat/notify/setting/update",(0,r.paramsQuery)(e),o)}},function(e,t,n){"use strict";var r=n(7),o=n(581);r({target:"Array",stat:!0,forced:!n(241)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r,o=n(43),i=n(542),a=n(425),s=n(164),u=n(547),c=n(235),l=n(237),f=l("IE_PROTO"),p=function(){},d=function(e){return"