Files
wecom_it_smart_desk/frontend-h5/dist_bak_20260713040756/assets/index-yAhHfLWN.js
T

44 lines
354 KiB
JavaScript
Raw Normal View History

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Bu7XD84k.js","assets/index-BjaQzQ2G.js","assets/index-D3LozgQg.js","assets/index-DEoRO0_W.js","assets/Login-HMbPVM3K.js","assets/auth-9T69oSpu.js","assets/Login-BH4ngh9v.css","assets/Bind-BcG_klfu.js","assets/Bind-Dnw4b3CT.css","assets/index-p_Y1ee2a.css","assets/WeworkOnly-CEpeuqo-.js","assets/WeworkOnly-TGfgboZe.css","assets/AutomationProgress-ChUhvdzi.js","assets/AutomationProgress-5xKDZdIh.css","assets/VideoIntro-BMJbiLUd.js","assets/VideoIntro-Cvkd5Jd7.css"])))=>i.map(i=>d[i]);
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/**
* @vue/shared v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Qa(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ue={},hs=[],ln=()=>{},zc=()=>!1,hi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),pi=e=>e.startsWith("onUpdate:"),ct=Object.assign,Za=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qf=Object.prototype.hasOwnProperty,Me=(e,t)=>Qf.call(e,t),ve=Array.isArray,ps=e=>go(e)==="[object Map]",Hc=e=>go(e)==="[object Set]",Ur=e=>go(e)==="[object Date]",Ee=e=>typeof e=="function",ze=e=>typeof e=="string",zt=e=>typeof e=="symbol",Fe=e=>e!==null&&typeof e=="object",Wc=e=>(Fe(e)||Ee(e))&&Ee(e.then)&&Ee(e.catch),Kc=Object.prototype.toString,go=e=>Kc.call(e),Zf=e=>go(e).slice(8,-1),Gc=e=>go(e)==="[object Object]",mi=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Js=Qa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_i=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},eh=/-\w/g,xt=_i(e=>e.replace(eh,t=>t.slice(1).toUpperCase())),th=/\B([A-Z])/g,Cn=_i(e=>e.replace(th,"-$1").toLowerCase()),gi=_i(e=>e.charAt(0).toUpperCase()+e.slice(1)),qi=_i(e=>e?`on${gi(e)}`:""),on=(e,t)=>!Object.is(e,t),Ui=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Jc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},nh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xc=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let zr;const vi=()=>zr||(zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xt(e){if(ve(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=ze(s)?ah(s):Xt(s);if(o)for(const i in o)t[i]=o[i]}return t}else if(ze(e)||Fe(e))return e}const sh=/;(?![^(]*\))/g,oh=/:([^]+)/,ih=/\/\*[^]*?\*\//g;function ah(e){const t={};return e.replace(ih,"").split(sh).forEach(n=>{if(n){const s=n.split(oh);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function rh(e){if(!e)return"";if(ze(e))return e;let t="";for(const n in e){const s=e[n];if(ze(s)||typeof s=="number"){const o=n.startsWith("--")?n:Cn(n);t+=`${o}:${s};`}}return t}function ge(e){let t="";if(ze(e))t=e;else if(ve(e))for(let n=0;n<e.length;n++){const s=ge(e[n]);s&&(t+=s+" ")}else if(Fe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const lh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ch=Qa(lh);function Yc(e){return!!e||e===""}function uh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=er(e[s],t[s]);return n}function er(e,t){if(e===t)return!0;let n=Ur(e),s=Ur(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=zt(e),s=zt(t),n||s)return e===t;if(n=ve(e),s=ve(t),n||s)return n&&s?uh(e,t):!1;if(n=Fe(e),s=Fe(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const a in e){const r=e.hasOwnProperty(a),c=t.hasOwnProperty(a);if(r&&!c||!r&&c||!er(e[a],t[a]))return!1}}return String(e)===String(t)}const Qc=e=>!!(e&&e.__v_isRef===!0),F=e=>ze(e)?e:e==null?"":ve(e)||Fe(e)&&(e.toString===Kc||!Ee(e.toString))?Qc(e)?F(e.value):JSON.stringify(e,Zc,2):String(e),Zc=(e,t)=>Qc(t)?Zc(e,t.value):ps(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],i)=>(n[zi(s,i)+" =>"]=o,n),{})}:Hc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zi(n))}:zt(t)?zi(t):Fe(t)&&!ve(t)&&!Gc(t)?String(t):t,zi=(e,t="")=>{var n;return zt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let lt;class eu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&lt&&(lt.active?(this.parent=lt,this.index=(lt.scopes||(lt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=lt;try{return lt=this,t()}finally{lt=n}}}on(){++this._on===1&&(this.prevScope=lt,lt=this)}off(){if(this._on>0&&--this._on===0){if(lt===this)lt=this.prevScope;else{let t=lt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function tu(e){return new eu(e)}function tr(){return lt}function nu(e,t=!1){lt&&lt.cleanups.push(e)}let We;const Hi=new WeakSet;class su{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,lt&&(lt.active?lt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Hi.has(this)&&(Hi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||iu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Hr(this),au(this);const t=We,n=Yt;We=this,Yt=!0;try{return this.fn()}finally{ru(this),We=t,Yt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)or(t);this.deps=this.depsTail=void 0,Hr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Hi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){_a(this)&&this.run()}get dirty(){return _a(this)}}let ou=0,Xs,Ys;function iu(e,t=!1){if(e.flags|=8,t){e.next=Ys,Ys=e;return}e.next=Xs,Xs=e}function nr(){ou++}function sr(){if(--ou>0)return;if(Ys){let t=Ys;for(Ys=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Xs;){let t=Xs;for(Xs=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function au(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ru(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),or(s),dh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function _a(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(lu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function lu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ao)||(e.globalVersion=ao,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!_a(e))))return;e.flags|=2;const t=e.dep,n=We,s=Yt;We=e,Yt=!0;try{au(e);const o=e.fn(e._value);(t.version===0||on(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{We=n,Yt=s,ru(e),e.flags&=-3}}function or(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)or(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function dh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Yt=!0;const cu=[];func
* @vue/runtime-core v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function vo(e,t,n,s){try{return s?e(...s):e()}catch(o){yo(o,t,n)}}function Ht(e,t,n,s){if(Ee(e)){const o=vo(e,t,n,s);return o&&Wc(o)&&o.catch(i=>{yo(i,t,n)}),o}if(ve(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Ht(e[i],t,n,s));return o}}function yo(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Ue;if(t){let r=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const l=r.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](e,c,d)===!1)return}r=r.parent}if(i){bn(),vo(i,null,10,[e,c,d]),wn();return}}Mh(e,n,o,s,a)}function Mh(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const Et=[];let nn=-1;const _s=[];let On=null,cs=0;const Su=Promise.resolve();let oi=null;function Xe(e){const t=oi||Su;return e?t.then(this?e.bind(this):e):t}function Fh(e){let t=nn+1,n=Et.length;for(;t<n;){const s=t+n>>>1,o=Et[s],i=lo(o);i<e||i===e&&o.flags&2?t=s+1:n=s}return t}function rr(e){if(!(e.flags&1)){const t=lo(e),n=Et[Et.length-1];!n||!(e.flags&2)&&t>=lo(n)?Et.push(e):Et.splice(Fh(t),0,e),e.flags|=1,Eu()}}function Eu(){oi||(oi=Su.then(xu))}function ba(e){ve(e)?_s.push(...e):On&&e.id===-1?On.splice(cs+1,0,e):e.flags&1||(_s.push(e),e.flags|=1),Eu()}function Kr(e,t,n=nn+1){for(;n<Et.length;n++){const s=Et[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Et.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Cu(e){if(_s.length){const t=[...new Set(_s)].sort((n,s)=>lo(n)-lo(s));if(_s.length=0,On){On.push(...t);return}for(On=t,cs=0;cs<On.length;cs++){const n=On[cs];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}On=null,cs=0}}const lo=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xu(e){try{for(nn=0;nn<Et.length;nn++){const t=Et[nn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),vo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;nn<Et.length;nn++){const t=Et[nn];t&&(t.flags&=-2)}nn=-1,Et.length=0,Cu(),oi=null,(Et.length||_s.length)&&xu()}}let Pt=null,ku=null;function ii(e){const t=Pt;return Pt=e,ku=e&&e.type.__scopeId||null,t}function Je(e,t=Pt,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&li(-1);const i=ii(t);let a;try{a=e(...o)}finally{ii(i),s._d&&li(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Jn(e,t){if(Pt===null)return e;const n=Ti(Pt),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,r,c=Ue]=t[o];i&&(Ee(i)&&(i={mounted:i,updated:i}),i.deep&&_n(a),s.push({dir:i,instance:n,value:a,oldValue:void 0,arg:r,modifiers:c}))}return e}function Mn(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let a=0;a<o.length;a++){const r=o[a];i&&(r.oldValue=i[a].value);let c=r.dir[s];c&&(bn(),Ht(c,n,8,[e.el,r,e,t]),wn())}}function cn(e,t){if(vt){let n=vt.provides;const s=vt.parent&&vt.parent.provides;s===n&&(n=vt.provides=Object.create(s)),n[e]=t}}function ht(e,t,n=!1){const s=Wt();if(s||Xn){let o=Xn?Xn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ee(t)?t.call(s&&s.proxy):t}}function Vh(){return!!(Wt()||Xn)}const jh=Symbol.for("v-scx"),qh=()=>ht(jh);function Tu(e,t){return lr(e,null,t)}function ke(e,t,n){return lr(e,t,n)}function lr(e,t,n=Ue){const{immediate:s,deep:o,flush:i,once:a}=n,r=ct({},n),c=t&&s||!t&&i!=="post";let d;if(fo){if(i==="sync"){const h=qh();d=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=ln,h.resume=ln,h.pause=ln,h}}const l=vt;r.call=(h,_,m)=>Ht(h,l,_,m);let u=!1;i==="post"?r.scheduler=h=>{_t(h,l&&l.suspense)}:i!=="sync"&&(u=!0,r.scheduler=(h,_)=>{_?h():rr(h)}),r.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,l&&(h.id=l.uid,h.i=l))};const f=Lh(e,t,r);return fo&&(d?d.push(f):c&&f()),f}function Uh(e,t,n){const s=this.proxy,o=ze(e)?e.includes(".")?Au(s,e):()=>s[e]:e.bind(s,s);let i;Ee(t)?i=t:(i=t.handler,n=t);const a=bo(this),r=lr(o,i.bind(s),n);return a(),r}function Au(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const In=new WeakMap,Ru=Symbol("_vte"),Iu=e=>e.__isTeleport,zn=e=>e&&(e.disabled||e.disabled
* @vue/runtime-dom v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Oa;const cl=typeof window<"u"&&window.trustedTypes;if(cl)try{Oa=cl.createPolicy("vue",{createHTML:e=>e})}catch{}const cd=Oa?e=>Oa.createHTML(e):e=>e,Qp="http://www.w3.org/2000/svg",Zp="http://www.w3.org/1998/Math/MathML",hn=typeof document<"u"?document:null,ul=hn&&hn.createElement("template"),em={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?hn.createElementNS(Qp,e):t==="mathml"?hn.createElementNS(Zp,e):n?hn.createElement(e,{is:n}):hn.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>hn.createTextNode(e),createComment:e=>hn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>hn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ul.innerHTML=cd(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const r=ul.content;if(s==="svg"||s==="mathml"){const c=r.firstChild;for(;c.firstChild;)r.appendChild(c.firstChild);r.removeChild(c)}t.insertBefore(r,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Tn="transition",Bs="animation",ho=Symbol("_vtc"),ud={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},tm=ct({},Ou,ud),nm=e=>(e.displayName="Transition",e.props=tm,e),ui=nm((e,{slots:t})=>_r(Jh,sm(e),t)),Vn=(e,t=[])=>{ve(e)?e.forEach(n=>n(...t)):e&&e(...t)},dl=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function sm(e){const t={};for(const O in e)O in ud||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:r=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:d=a,appearToClass:l=r,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,_=om(o),m=_&&_[0],p=_&&_[1],{onBeforeEnter:v,onEnter:E,onEnterCancelled:R,onLeave:x,onLeaveCancelled:b,onBeforeAppear:I=v,onAppear:P=E,onAppearCancelled:K=R}=t,L=(O,Q,Z,Ce)=>{O._enterCancelled=Ce,jn(O,Q?l:r),jn(O,Q?d:a),Z&&Z()},j=(O,Q)=>{O._isLeaving=!1,jn(O,u),jn(O,h),jn(O,f),Q&&Q()},B=O=>(Q,Z)=>{const Ce=O?P:E,he=()=>L(Q,O,Z);Vn(Ce,[Q,he]),fl(()=>{jn(Q,O?c:i),dn(Q,O?l:r),dl(Ce)||hl(Q,s,m,he)})};return ct(t,{onBeforeEnter(O){Vn(v,[O]),dn(O,i),dn(O,a)},onBeforeAppear(O){Vn(I,[O]),dn(O,c),dn(O,d)},onEnter:B(!1),onAppear:B(!0),onLeave(O,Q){O._isLeaving=!0;const Z=()=>j(O,Q);dn(O,u),O._enterCancelled?(dn(O,f),_l(O)):(_l(O),dn(O,f)),fl(()=>{O._isLeaving&&(jn(O,u),dn(O,h),dl(x)||hl(O,s,p,Z))}),Vn(x,[O,Z])},onEnterCancelled(O){L(O,!1,void 0,!0),Vn(R,[O])},onAppearCancelled(O){L(O,!0,void 0,!0),Vn(K,[O])},onLeaveCancelled(O){j(O),Vn(b,[O])}})}function om(e){if(e==null)return null;if(Fe(e))return[Yi(e.enter),Yi(e.leave)];{const t=Yi(e);return[t,t]}}function Yi(e){return Xc(e)}function dn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ho]||(e[ho]=new Set)).add(t)}function jn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ho];n&&(n.delete(t),n.size||(e[ho]=void 0))}function fl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let im=0;function hl(e,t,n,s){const o=e._endId=++im,i=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:a,timeout:r,propCount:c}=am(e,t);if(!a)return s();const d=a+"end";let l=0;const u=()=>{e.removeEventListener(d,f),i()},f=h=>{h.target===e&&++l>=c&&u()};setTimeout(()=>{l<c&&u()},r+1),e.addEventListener(d,f)}function am(e,t){const n=window.getComputedStyle(e),s=_=>(n[_]||"").split(", "),o=s(`${Tn}Delay`),i=s(`${Tn}Duration`),a=pl(o,i),r=s(`${Bs}Delay`),c=s(`${Bs
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let tf;const Pi=e=>tf=e,nf=Symbol();function La(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var so;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(so||(so={}));function Iv(){const e=tu(!0),t=e.run(()=>q({}));let n=[],s=[];const o=ar({install(i){Pi(o),o._a=i,i.provide(nf,o),i.config.globalProperties.$pinia=o,s.forEach(a=>n.push(a)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const sf=()=>{};function Gl(e,t,n,s=sf){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&tr()&&nu(o),o}function as(e,...t){e.slice().forEach(n=>{n(...t)})}const $v=e=>e(),Jl=Symbol(),oa=Symbol();function Ma(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];La(o)&&La(s)&&e.hasOwnProperty(n)&&!Ye(s)&&!vn(s)?e[n]=Ma(o,s):e[n]=s}return e}const Ov=Symbol();function Pv(e){return!La(e)||!e.hasOwnProperty(Ov)}const{assign:$n}=Object;function Dv(e){return!!(Ye(e)&&e.effect)}function Bv(e,t,n,s){const{state:o,actions:i,getters:a}=t,r=n.state.value[e];let c;function d(){r||(n.state.value[e]=o?o():{});const l=$h(n.state.value[e]);return $n(l,i,Object.keys(a||{}).reduce((u,f)=>(u[f]=ar(V(()=>{Pi(n);const h=n._s.get(e);return a[f].call(h,h)})),u),{}))}return c=of(e,d,t,n,s,!0),c}function of(e,t,n={},s,o,i){let a;const r=$n({actions:{}},n),c={deep:!0};let d,l,u=[],f=[],h;const _=s.state.value[e];!i&&!_&&(s.state.value[e]={});let m;function p(K){let L;d=l=!1,typeof K=="function"?(K(s.state.value[e]),L={type:so.patchFunction,storeId:e,events:h}):(Ma(s.state.value[e],K),L={type:so.patchObject,payload:K,storeId:e,events:h});const j=m=Symbol();Xe().then(()=>{m===j&&(d=!0)}),l=!0,as(u,L,s.state.value[e])}const v=i?function(){const{state:L}=n,j=L?L():{};this.$patch(B=>{$n(B,j)})}:sf;function E(){a.stop(),u=[],f=[],s._s.delete(e)}const R=(K,L="")=>{if(Jl in K)return K[oa]=L,K;const j=function(){Pi(s);const B=Array.from(arguments),O=[],Q=[];function Z(ae){O.push(ae)}function Ce(ae){Q.push(ae)}as(f,{args:B,name:j[oa],store:b,after:Z,onError:Ce});let he;try{he=K.apply(this&&this.$id===e?this:b,B)}catch(ae){throw as(Q,ae),ae}return he instanceof Promise?he.then(ae=>(as(O,ae),ae)).catch(ae=>(as(Q,ae),Promise.reject(ae))):(as(O,he),he)};return j[Jl]=!0,j[oa]=L,j},x={_p:s,$id:e,$onAction:Gl.bind(null,f),$patch:p,$reset:v,$subscribe(K,L={}){const j=Gl(u,K,L.detached,()=>B()),B=a.run(()=>ke(()=>s.state.value[e],O=>{(L.flush==="sync"?l:d)&&K({storeId:e,type:so.direct,events:h},O)},$n({},c,L)));return j},$dispose:E},b=pt(x);s._s.set(e,b);const P=(s._a&&s._a.runWithContext||$v)(()=>s._e.run(()=>(a=tu()).run(()=>t({action:R}))));for(const K in P){const L=P[K];if(Ye(L)&&!Dv(L)||vn(L))i||(_&&Pv(L)&&(Ye(L)?L.value=_[K]:Ma(L,_[K])),s.state.value[e][K]=L);else if(typeof L=="function"){const j=R(L,K);P[K]=j,r.actions[K]=L}}return $n(b,P),$n(Pe(b),P),Object.defineProperty(b,"$state",{get:()=>s.state.value[e],set:K=>{p(L=>{$n(L,K)})}}),s._p.forEach(K=>{$n(b,a.run(()=>K({store:b,app:s._a,pinia:s,options:r})))}),_&&i&&n.hydrate&&n.hydrate(b.$state,_),d=!0,l=!0,b}/*! #__NO_SIDE_EFFECTS__ */function Rr(e,t,n){let s,o;const i=typeof t=="function";typeof e=="string"?(s=e,o=i?n:t):(o=e,s=e.id);function a(r,c){const d=Vh();return r=r||(d?ht(nf,null):null),r&&Pi(r),r=tf,r._s.has(s)||(i?of(s,t,o,r):Bv(s,o,r)),r._s.get(s)}return a.$id=s,a}const af="it_desk_h5_theme";function Xl(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem(af,e)}function Nv(){const e=localStorage.getItem(af);return e==="dark"||e==="light"?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const rf=Rr("theme",()=>{const e=q("light");function t(){const s=e.value==="light"?"dark":"light";e.value=s,Xl(s)}function n(){const s=Nv();e.value=s,Xl(s)}return{currentTheme:e,toggleTheme:t,initTheme:n}}),Lv={class:"app-loading
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const us=typeof document<"u";function lf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function qv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&lf(e.default)}const Le=Object.assign;function ia(e,t){const n={};for(const s in t){const o=t[s];n[s]=Zt(o)?o.map(e):e(o)}return n}const oo=()=>{},Zt=Array.isArray;function Ql(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const cf=/#/g,Uv=/&/g,zv=/\//g,Hv=/=/g,Wv=/\?/g,uf=/\+/g,Kv=/%5B/g,Gv=/%5D/g,df=/%5E/g,Jv=/%60/g,ff=/%7B/g,Xv=/%7C/g,hf=/%7D/g,Yv=/%20/g;function Ir(e){return e==null?"":encodeURI(""+e).replace(Xv,"|").replace(Kv,"[").replace(Gv,"]")}function Qv(e){return Ir(e).replace(ff,"{").replace(hf,"}").replace(df,"^")}function Fa(e){return Ir(e).replace(uf,"%2B").replace(Yv,"+").replace(cf,"%23").replace(Uv,"%26").replace(Jv,"`").replace(ff,"{").replace(hf,"}").replace(df,"^")}function Zv(e){return Fa(e).replace(Hv,"%3D")}function ey(e){return Ir(e).replace(cf,"%23").replace(Wv,"%3F")}function ty(e){return ey(e).replace(zv,"%2F")}function _o(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const ny=/\/$/,sy=e=>e.replace(ny,"");function aa(e,t,n="/"){let s,o={},i="",a="";const r=t.indexOf("#");let c=t.indexOf("?");return c=r>=0&&c>r?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,r>0?r:t.length),o=e(i.slice(1))),r>=0&&(s=s||t.slice(0,r),a=t.slice(r,t.length)),s=ry(s??t,n),{fullPath:s+i+a,path:s,query:o,hash:_o(a)}}function oy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function iy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Es(t.matched[s],n.matched[o])&&pf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function pf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!ay(e[n],t[n]))return!1;return!0}function ay(e,t){return Zt(e)?ec(e,t):Zt(t)?ec(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function ec(e,t){return Zt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ry(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let i=n.length-1,a,r;for(a=0;a<s.length;a++)if(r=s[a],r!==".")if(r==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(a).join("/")}const An={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Va=function(e){return e.pop="pop",e.push="push",e}({}),ra=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function ly(e){if(!e)if(us){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),sy(e)}const cy=/^[^#]+#/;function uy(e,t){return e.replace(cy,"#")+t}function dy(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Di=()=>({left:window.scrollX,top:window.scrollY});function fy(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=dy(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function tc(e,t){return(history.state?history.state.position-t:-1)+e}const ja=new Map;function hy(e,t){ja.set(e,t)}function py(e){const t=ja.get(e);return ja.delete(e),t}function my(e){return typeof e=="string"||e&&typeof e=="object"}function mf(e){return typeof e=="string"||typeof e=="symbol"}let et=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let Sy=()=>location.protocol+"//"+location.host;function gf(e,t){const{pathname:n,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,r=o.slice(a);return r[0]!=="/"&&(r="/"+r),Zl(r,"")}return Zl(n,e)+s+o}function Ey(e,t,n,s){let o=[],i=[],a=null;const r=({state:f})=>{const h=gf(e,location),_=n.value,m=t.value;let p=0;if(f){if(n.value=h,t.value=f,a&&a===_){a=null;return}p=m?f.position-m.position:0}else s(h);o.forEach(v=>{v(n.value,_,{delta:p,type:Va.pop,direction:p?p>0?ra.forward:ra.back:ra.unknown})})};function c(){a=n.value}function d(f){o.push(f);const h=()=>{const _=o.indexOf(f);_>-1&&o.splice(_,1)};return i.push(h),h}function l(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Le({},f.state,{scroll:Di()}),"")}}function u(){for(const f of i)f();i=[],window.removeEventListener("popstate",r),window.removeEventListener("pagehide",l),document.removeEventListener("visibilitychange",l)}return window.addEventListener("popstate",r),window.addEventListener("pagehide",l),document.addEventListener("visibilitychange",l),{pauseListeners:c,listen:d,destroy:u}}function oc(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?Di():null}}function Cy(e){const{history:t,location:n}=window,s={value:gf(e,n)},o={value:t.state};o.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,d,l){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:Sy()+e+c;try{t[l?"replaceState":"pushState"](d,"",f),o.value=d}catch(h){console.error(h),n[l?"replace":"assign"](f)}}function a(c,d){i(c,Le({},t.state,oc(o.value.back,c,o.value.forward,!0),d,{position:o.value.position}),!0),s.value=c}function r(c,d){const l=Le({},o.value,t.state,{forward:c,scroll:Di()});i(l.current,l,!0),i(c,Le({},oc(s.value,c,null),{position:l.position+1},d),!1),s.value=c}return{location:s,state:o,push:r,replace:a}}function xy(e){e=ly(e);const t=Cy(e),n=Ey(e,t.state,t.location,t.replace);function s(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=Le({location:"",base:e,go:s,createHref:uy.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let Wn=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var rt=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(rt||{});const ky={type:Wn.Static,value:""},Ty=/[a-zA-Z0-9_]/;function Ay(e){if(!e)return[[]];if(e==="/")return[[ky]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${d}": ${h}`)}let n=rt.Static,s=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let r=0,c,d="",l="";function u(){d&&(n===rt.Static?i.push({type:Wn.Static,value:d}):n===rt.Param||n===rt.ParamRegExp||n===rt.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Wn.Param,value:d,regexp:l,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function f(){d+=c}for(;r<e.length;){if(c=e[r++],c==="\\"&&n!==rt.ParamRegExp){s=n,n=rt.EscapeNext;continue}switch(n){case rt.Static:c==="/"?(d&&u(),a()):c===":"?(u(),n=rt.Param):f();break;case rt.EscapeNext:f(),n=s;break;case rt.Param:c==="("?n=rt.ParamRegExp:Ty.test(c)?f():(u(),n=rt.Static,c!=="*"&&c!=="?"&&c!=="+"&&r--);break;case rt.ParamRegExp:c===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+c:n=rt.ParamRegExpEnd:l+=c;break;case rt.ParamRegExpEnd:u(),n=rt.Static,c!=="*"&&c!=="?"&&c!=="+"&&r--,l="";break;default:t("Unknown state");break}}return n===rt.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),u(),a(),o}const ic="[^/]+?",Ry={sensitive:!1,strict:!1,start:!0,end:!0};var St=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),s=a.substring(o+1).trim(),!(!n||t[n]&&Nb[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function Mb(e){let t=0,n=e.length;for(;t<n;){const s=e.charCodeAt(t);if(s!==9&&s!==32)break;t+=1}for(;n>t;){const s=e.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const Fb=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Vb=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Or(e,t){return D.isArray(e)?e.map(n=>Or(n,t)):Mb(String(e).replace(t,""))}const jb=e=>Or(e,Fb),qb=e=>Or(e,Vb);function If(e){const t=Object.create(null);return D.forEach(e.toJSON(),(n,s)=>{t[s]=qb(n)}),t}const _c=Symbol("internals");function qs(e){return e&&String(e).trim().toLowerCase()}function ei(e){return e===!1||e==null?e:D.isArray(e)?e.map(ei):jb(String(e))}function Ub(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const zb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ca(e,t,n,s,o){if(D.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!D.isString(t)){if(D.isString(s))return t.indexOf(s)!==-1;if(D.isRegExp(s))return s.test(t)}}function Hb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Wb(e,t){const n=D.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(o,i,a){return this[s].call(this,t,o,i,a)},configurable:!0})})}let kt=class{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function i(r,c,d){const l=qs(c);if(!l)throw new Error("header name must be a non-empty string");const u=D.findKey(o,l);(!u||o[u]===void 0||d===!0||d===void 0&&o[u]!==!1)&&(o[u||c]=ei(r))}const a=(r,c)=>D.forEach(r,(d,l)=>i(d,l,c));if(D.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(D.isString(t)&&(t=t.trim())&&!zb(t))a(Lb(t),n);else if(D.isObject(t)&&D.isIterable(t)){let r={},c,d;for(const l of t){if(!D.isArray(l))throw TypeError("Object iterator must return a key-value pair");r[d=l[0]]=(c=r[d])?D.isArray(c)?[...c,l[1]]:[c,l[1]]:l[1]}a(r,n)}else t!=null&&i(n,t,s);return this}get(t,n){if(t=qs(t),t){const s=D.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return Ub(o);if(D.isFunction(n))return n.call(this,o,s);if(D.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=qs(t),t){const s=D.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||ca(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function i(a){if(a=qs(a),a){const r=D.findKey(s,a);r&&(!n||ca(s,s[r],r,n))&&(delete s[r],o=!0)}}return D.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const i=n[s];(!t||ca(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,s={};return D.forEach(this,(o,i)=>{const a=D.findKey(s,i);if(a){n[a]=ei(o),delete n[i];return}const r=t?Hb(i):String(i).trim();r!==i&&delete n[i],n[r]=ei(o),s[r]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return D.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&D.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(o=>s.set(o)),s}static accessor(t){const s=(this[_c]=this[_c]={accessors:{}}).accessors,o=this.prototype;function i(a){const r=qs(a);s[r]||(Wb(o,a),s[r]=!0)}return D.isArray(t)?t.forEach(i):i(t),this}};kt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);D.reduceDescriptors(kt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});D.freezeMethods(kt);const Kb="[REDACTED ****]";function Gb(e){if(D.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(D.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Jb(e,t){const n=new Set(t.map(i=>String(i).toLowerCase())),s=[],o=i=>{if(i===null||typeof i!="object"||D.isBuffer(i))return i;if(s.indexOf(i)!==-1)return;i instanceof kt&&(i=i.toJSON()),s.push(i);let a;if(D.isArray(i))a=[],i.forEach((r,c)=>{const d=o(r);D.isUndefined(d)||(a[c]=d)});else{if(!D.isPlainObject(i)&&Gb(i))return s.pop(),i;a=Object.create(null);for(const[r,c]of Object.entries(i)){const d=n.has(r.toLowerCase())?Kb:o(c);D.isUndefined(d)||(a[r]=d)}}return s.pop(),a};return o(e)}let fe=class $f extends Error{static from(t,n,s,o,i,a){const r=new $f(t.message,n||t.code,s,o,i);return r.cause=t,r.name=t.name,t.status!=null&&r.status==null&&(r.status=t.status),a&&Object.assign(r,a),r}constructor(t,n,s,o,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),o&&(this.request=o),i&&(this.response=i,this.status=i.status)}toJSON(){const t=this.config,n=t&&D.hasOwnProp(t,"redact")?t.redact:void 0,s=D.isArray(n)&&n.length>0?Jb(t,n):D.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:s,code:this.code,status:this.status}}};fe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";fe.ERR_BAD_OPTION="ERR_BAD_OPTION";fe.ECONNABORTED="ECONNABORTED";fe.ETIMEDOUT="ETIMEDOUT";fe.ECONNREFUSED="ECONNREFUSED";fe.ERR_NETWORK="ERR_NETWORK";fe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";fe.ERR_DEPRECATED="ERR_DEPRECATED";fe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";fe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";fe.ERR_CANCELED="ERR_CANCELED";fe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";fe.ERR_INVALID_URL="ERR_INVALID_URL";fe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Xb=null;function Ha(e){return D.isPlainObject(e)||D.isArray(e)}function Of(e){return D.endsWith(e,"[]")?e.slice(0,-2):e}function ua(e,t,n){return e?e.concat(t).map(function(o,i){return o=Of(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Yb(e){return D.isArray(e)&&!e.some(Ha)}const Qb=D.toFlatObject(D,{},null,function(t){return/^is[A-Z]/.test(t)});function Vi(e,t,n){if(!D.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=D.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!D.isUndefined(v[p])});const s=n.metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,r=n.Blob||typeof Blob<"u"&&Blob,c=n.maxDepth===void 0?100:n.maxDepth,d=r&&D.isSpecCompliantForm(t);if(!D.isFunction(o))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(D.isDate(m))return m.toISOString();if(D.isBoolean(m))return m.toString();if(!d&&D.isBlob(m))throw new fe("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(m)||D.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,p,v){let E=m;if(D.isReactNative(t)&&D.isReactNativeBlob(m))return t.append(ua(v,p,i),l(m)),!1;if(m&&!v&&typeof m=="object"){if(D.endsWith(p,"{}"))p=s?p:p.slice(0,-2),m=JSON.stringify(m);else if(D.isArray(m)&&Yb(m)||(D.isFileList(m)||D.endsWith(p,"[]"
`+a.map(xc).join(`
`):" "+xc(a[0]):"as no adapter specified";throw new fe("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return o}const jf={getAdapter:Ow,adapters:Lr};function fa(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Io(null,e)}function kc(e){return fa(e),e.headers=kt.from(e.headers),e.data=da.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),jf.getAdapter(e.adapter||Ro.adapter,e)(e).then(function(s){fa(e),e.response=s;try{s.data=da.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=kt.from(s.headers),s},function(s){if(!Nf(s)&&(fa(e),s&&s.response)){e.response=s.response;try{s.response.data=da.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=kt.from(s.response.headers)}return Promise.reject(s)})}const ji={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ji[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Tc={};ji.transitional=function(t,n,s){function o(i,a){return"[Axios v"+Nr+"] Transitional option '"+i+"'"+a+(s?". "+s:"")}return(i,a,r)=>{if(t===!1)throw new fe(o(a," has been removed"+(n?" in "+n:"")),fe.ERR_DEPRECATED);return n&&!Tc[a]&&(Tc[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,r):!0}};ji.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Pw(e,t,n){if(typeof e!="object")throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const i=s[o],a=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(a){const r=e[i],c=r===void 0||a(r,i,e);if(c!==!0)throw new fe("option "+i+" must be "+c,fe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new fe("Unknown option "+i,fe.ERR_BAD_OPTION)}}const ti={assertOptions:Pw,validators:ji},jt=ti.validators;let Qn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new vc,response:new vc}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=(()=>{if(!o.stack)return"";const a=o.stack.indexOf(`
`);return a===-1?"":o.stack.slice(a+1)})();try{if(!s.stack)s.stack=i;else if(i){const a=i.indexOf(`
`),r=a===-1?-1:i.indexOf(`
`,a+1),c=r===-1?"":i.slice(r+1);String(s.stack).endsWith(c)||(s.stack+=`
`+i)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Zn(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:i}=n;s!==void 0&&ti.assertOptions(s,{silentJSONParsing:jt.transitional(jt.boolean),forcedJSONParsing:jt.transitional(jt.boolean),clarifyTimeoutError:jt.transitional(jt.boolean),legacyInterceptorReqResOrdering:jt.transitional(jt.boolean)},!1),o!=null&&(D.isFunction(o)?n.paramsSerializer={serialize:o}:ti.assertOptions(o,{encode:jt.function,serialize:jt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ti.assertOptions(n,{baseUrl:jt.spelling("baseURL"),withXsrfToken:jt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&D.merge(i.common,i[n.method]);i&&D.forEach(["delete","get","head","post","put","patch","query","common"],_=>{delete i[_]}),n.headers=kt.concat(a,i);const r=[];let c=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(n)===!1)return;c=c&&m.synchronous;const p=n.transitional||Dr;p&&p.legacyInterceptorReqResOrdering?r.unshift(m.fulfilled,m.rejected):r.push(m.fulfilled,m.rejected)});const d=[];this.interceptors.response.forEach(function(m){d.push(m.fulfilled,m.rejected)});let l,u=0,f;if(!c){const _=[kc.bind(this),void 0];for(_.unshift(...r),_.push(...d),f=_.length,l=Promise.resolve(n);u<f;)l=l.then(_[u++],_[u++]);return l}f=r.length;let h=n;for(;u<f;){const _=r[u++],m=r[u++];try{h=_(h)}catch(p){m.call(this,p);break}}try{l=kc.call(this,h)}catch(_){return Promise.reject(_)}for(u=0,f=d.length;u<f;)l=l.then(d[u++],d[u++]);return l}getUri(t){t=Zn(this.defaults,t);const n=Mf(t.baseURL,t.url,t.allowAbsoluteUrls);return Df(n,t.params,t.paramsSerializer)}};D.forEach(["delete","get","head","options"],function(t){Qn.prototype[t]=function(n,s){return this.request(Zn(s||{},{method:t,url:n,data:(s||{}).data}))}});D.forEach(["post","put","patch","query"],function(t){function n(s){return function(i,a,r){return this.request(Zn(r||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Qn.prototype[t]=n(),t!=="query"&&(Qn.prototype[t+"Form"]=n(!0))});let Dw=class qf{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(o=>{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](o);s._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(r=>{s.subscribe(r),i=r}).then(o);return a.cancel=function(){s.unsubscribe(i)},a},t(function(i,a,r){s.reason||(s.reason=new Io(i,a,r),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new qf(function(o){t=o}),cancel:t}}};function Bw(e){return function(n){return e.apply(null,n)}}function Nw(e){return D.isObject(e)&&e.isAxiosError===!0}const Ka={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,Misdirec
坐席正在查看您的信息,请等待处理回复!`,t.value&&(t.value.status="serving")):me.assign_result==="queued"&&($e.content=`${me.funny_phrase}
⏳ 当前无空闲坐席,您已进入排队,请耐心等待...`),((J=me.conversation)==null?void 0:J.status)==="serving"&&await de(),me.assign_result||"queued"}catch(ue){return console.error("[Store] 招手失败:",ue),"error"}finally{o.value=!1}}async function Y(){try{const $=await Hw();d.value=$,console.log("[Store] 获取审批链接成功:",$.length,"")}catch($){console.error("[Store] 获取审批链接失败:",$)}}function ce(){l.value=!1,u.value=""}function S($=""){var ue;const J={message_id:`approval_card_${Date.now()}`,conversation_id:((ue=t.value)==null?void 0:ue.conversation_id)||"",message_type:"system",msg_type:"approval_card",content:"",sender_name:"",created_at:new Date().toISOString(),extra_data:{approval_type:"",confidence:0}};n.value.push(J),console.log("[Store] 手动插入审批卡片消息快捷按钮触发")}async function M(){try{const $=await Gw();f.value=$,console.log("[Store] 获取软件下载列表成功:",$.length,"")}catch($){console.error("[Store] 获取软件下载列表失败:",$)}}function z(){c.value=!c.value}async function N($){try{await de();const J=t.value;J&&J.conversation_id!==$&&console.warn("[Store] 当前会话ID不匹配, 期望:",$,"实际:",J.conversation_id),n.value=[],h.value="",await oe(),console.log("[Store] 已切换到邀请会话:",$)}catch(J){console.error("[Store] 切换会话失败:",J)}}async function H(){if(!t.value)return;const $=t.value.conversation_id;try{await Xw($),console.log("[Store] 已退出会话:",$),t.value=null,E.value=[],n.value=[],h.value="",ie()}catch(J){throw console.error("[Store] 退出会话失败:",J),J}}function y(){R.value=!R.value}async function w($){const J=n.value.findIndex($e=>$e.message_id===$);if(J===-1){console.warn("[Store] 重试消息找不到:",$);return}const ue=n.value[J];if(ue.status!=="failed"){console.warn("[Store] 消息状态不是 failed无法重试:",$);return}const me=ue.content;n.value.splice(J,1),console.log("[Store] 删除失败消息:",$),await xe(me,{msg_type:ue.msg_type,media_url:ue.media_url,file_name:ue.file_name,file_size:ue.file_size})}function T($){E.value=$,t.value&&(t.value.participants=$),console.log("[Store] 参与者列表已通过WS更新:",$.length,"")}function U(){console.log("[Store] 当前用户被移除会话清空状态"),t.value=null,E.value=[],n.value=[],h.value="",R.value=!1,ie()}function G($){var ue;if(((ue=t.value)==null?void 0:ue.conversation_id)!==$.conversation_id||!$.chunk)return;if(!I.value){const me=`ai_stream_${$.conversation_id}_${Date.now()}`;I.value=me,n.value.push({message_id:me,conversation_id:$.conversation_id,message_type:"ai",msg_type:"text",content:"",sender_name:"Duckula达寇拉",created_at:new Date().toISOString()})}const J=n.value.findIndex(me=>me.message_id===I.value);J!==-1&&(n.value[J].content+=$.chunk)}function W($){var $e,mt;if((($e=t.value)==null?void 0:$e.conversation_id)!==$.conversation_id)return;const J={message_id:$.message_id,conversation_id:$.conversation_id,message_type:$.sender_type||"ai",msg_type:$.msg_type||"text",content:$.content,sender_name:$.sender_name||"Duckula达寇拉",created_at:new Date().toISOString(),status:"sent",extra_data:$.extra_data||void 0},ue=I.value?n.value.findIndex(kn=>kn.message_id===I.value):-1;if(ue!==-1?n.value[ue]=J:n.value.push(J),I.value=null,Z($.message_id),h.value=$.message_id,i.value=$.can_call_agent??!1,t.value){t.value.can_call_agent=$.can_call_agent??!1,t.value.ai_substantive_reply_count=$.ai_reply_count??0;const kn={ai_handling:"waiting",queued:"waiting",serving:"serving",resolved:"resolved"};t.value.status=kn[$.conversation_status]||t.value.status}const me=(mt=t.value)==null?void 0:mt.conversation_id;me&&Hs(me,n.value)}function se($){var me;if(((me=t.value)==null?void 0:me.conversation_id)!==$.conversation_id)return;const J={message_id:`ai_failed_${$.conversation_id}_${Date.now()}`,conversation_id:$.conversation_id,message_type:"ai",msg_type:"text",content:$.message||" AI 服务异常请输入IT转人工或稍后重试",sender_name:"Duckula达寇拉",created_a
`)}st(()=>{document.addEventListener("paste",he),document.addEventListener("keydown",M),K()&&b().catch(N=>{console.warn("[InputBar] 企微 JS-SDK 初始化失败:",N)})}),Nn(()=>{document.removeEventListener("paste",he),document.removeEventListener("keydown",M),B.isRecording.value&&B.stop()});async function he(N){var w;const H=N.target;if(H.tagName==="TEXTAREA"||H.isContentEditable)return;const y=(w=N.clipboardData)==null?void 0:w.items;if(y){for(const T of Array.from(y))if(T.kind==="file"){N.preventDefault();const U=T.getAsFile();if(!U)continue;U.type.startsWith("image/")?await ne(U):await ie(U);return}}}const ae=["😀","😃","😄","😁","😆","😅","🤣","😂","🙂","😊","😇","🥰","😍","🤩","😘","😗","😚","😙","😋","😛","😜","🤪","😝","🤑","🤗","🤭","🤫","🤔","🤐","🤨","😐","😑","😶","😏","😒","🙄","😬","😮","🤯","😲","😳","🥺","😢","😭","😤","😠","😡","🤬","👍","👎","👏","🙌","🤝","💪","","🤞","","🧡","💛","💚","💙","💜","💯",""];function de(N){_.value+=N,R.value=!1,Xe(()=>{var y,w;const H=(w=(y=m.value)==null?void 0:y.$el)==null?void 0:w.querySelector("textarea");H==null||H.focus()})}function xe(N){/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)||N.shiftKey||(N.preventDefault(),we())}async function we(){const N=_.value.trim();!N||s.loading||(_.value="",await s.sendNewMessage(N))}async function oe(N){var y;const H=(y=N.clipboardData)==null?void 0:y.items;if(H){for(const w of Array.from(H))if(w.kind==="file"){N.preventDefault();const T=w.getAsFile();if(!T)continue;T.type.startsWith("image/")?await ne(T):await ie(T);return}}}async function ne(N){var H,y;try{Te("图片上传中...");const w=await ma(N),T=N instanceof File?N.name:"截图";await s.sendNewMessage(`[图片] ${T}`,{msg_type:"image",media_url:w.url,file_name:w.filename,file_size:w.file_size}),Te("图片发送成功")}catch(w){console.error("图片上传失败:",w),Te(n((y=(H=w==null?void 0:w.response)==null?void 0:H.data)==null?void 0:y.detail)||(w==null?void 0:w.message)||"图片上传失败请重试")}}async function ie(N){var H,y;try{const w=N instanceof File?N.name:"文件";Te(`文件上传中: ${w}`);const T=await ma(N);await s.sendNewMessage(`[文件] ${T.filename}`,{msg_type:"file",media_url:T.url,file_name:T.filename,file_size:T.file_size}),Te("文件发送成功")}catch(w){console.error("文件上传失败:",w),Te(n((y=(H=w==null?void 0:w.response)==null?void 0:H.data)==null?void 0:y.detail)||(w==null?void 0:w.message)||"文件上传失败请重试")}}async function Re(N){const H=N.target,y=H.files;if(!(!y||y.length===0)){for(const w of Array.from(y))try{Te(`正在上传: ${w.name}`);const T=await ma(w);Te(`${w.name} 上传成功`),console.log("[InputBar] 文件上传成功:",T.url)}catch(T){console.error("文件上传失败:",T),Te(`${w.name} 上传失败`)}H.value=""}}function Y(){R.value=!R.value}function ce(){p.value&&(p.value.accept="",p.value.multiple=!0,p.value.click())}async function S(N){if(N==null||N.preventDefault(),N==null||N.stopPropagation(),L.value!=="none"){if(L.value==="wecom")try{if(x.isRecording){const H=await P();H?(Ce(_.value)&&(_.value+=" "),_.value+=H,Te("语音识别完成")):Te("未识别到语音内容")}else await I(),Te("正在录音点击停止")}catch(H){const y=x.error||(H==null?void 0:H.message)||"语音识别失败";Te(y),console.error("[InputBar] 企微语音识别错误:",H)}else if(L.value==="baidu")if(O.value){const H=B.stop();if(H.size<1600){Te("录音过短请说更多内容");return}Q.value=!0;try{const y=await pS(H);y.error?Te(y.error):y.text?(Ce(_.value)&&(_.value+=" "),_.value+=y.text,Te("语音识别完成")):Te("未识别到语音内容")}catch(y){Te((y==null?void 0:y.message)||"语音识别失败"),console.error("[InputBar] 百度ASR识别错误:",y)}finally{Q.value=!1}}else try{await B.start(),Te("开始语音输入")}catch(H){Te((H==null?void 0:H.message)||"录音启动失败"),console.error("[InputBar] 百度录音启动失败:",H)}}}function M(N){if(N.ctrlKe