44 lines
356 KiB
JavaScript
44 lines
356 KiB
JavaScript
|
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-C81wf5xM.js","assets/index-DNloDtMO.js","assets/index-spiRTnAv.js","assets/index-CYr92l9H.js","assets/Login-CLbuVS0A.js","assets/auth-C4b7Y9ej.js","assets/Login-BH4ngh9v.css","assets/Bind-CdE3Dwte.js","assets/Bind-Dnw4b3CT.css","assets/index-p_Y1ee2a.css","assets/WeworkOnly-CIz6Hbtk.js","assets/WeworkOnly-TGfgboZe.css","assets/AutomationProgress-DodsLDRS.js","assets/AutomationProgress-sYREh-Yt.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 r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).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 Yr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const je={},fs=[],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:"),ut=Object.assign,Qr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},eh=Object.prototype.hasOwnProperty,Le=(e,t)=>eh.call(e,t),ye=Array.isArray,hs=e=>go(e)==="[object Map]",Wc=e=>go(e)==="[object Set]",Ua=e=>go(e)==="[object Date]",Ce=e=>typeof e=="function",qe=e=>typeof e=="string",Ht=e=>typeof e=="symbol",Fe=e=>e!==null&&typeof e=="object",Kc=e=>(Fe(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),Gc=Object.prototype.toString,go=e=>Gc.call(e),th=e=>go(e).slice(8,-1),Jc=e=>go(e)==="[object Object]",mi=e=>qe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ks=Yr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nh=/-\w/g,kt=gi(e=>e.replace(nh,t=>t.slice(1).toUpperCase())),sh=/\B([A-Z])/g,Sn=gi(e=>e.replace(sh,"-$1").toLowerCase()),_i=gi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ji=gi(e=>e?`on${_i(e)}`:""),on=(e,t)=>!Object.is(e,t),Ui=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Xc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},oh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yc=e=>{const t=qe(e)?Number(e):NaN;return isNaN(t)?e:t};let qa;const vi=()=>qa||(qa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ut(e){if(ye(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=qe(s)?lh(s):Ut(s);if(o)for(const i in o)t[i]=o[i]}return t}else if(qe(e)||Fe(e))return e}const ih=/;(?![^(]*\))/g,rh=/:([^]+)/,ah=/\/\*[^]*?\*\//g;function lh(e){const t={};return e.replace(ah,"").split(ih).forEach(n=>{if(n){const s=n.split(rh);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ch(e){if(!e)return"";if(qe(e))return e;let t="";for(const n in e){const s=e[n];if(qe(s)||typeof s=="number"){const o=n.startsWith("--")?n:Sn(n);t+=`${o}:${s};`}}return t}function ve(e){let t="";if(qe(e))t=e;else if(ye(e))for(let n=0;n<e.length;n++){const s=ve(e[n]);s&&(t+=s+" ")}else if(Fe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const uh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dh=Yr(uh);function Qc(e){return!!e||e===""}function fh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Zr(e[s],t[s]);return n}function Zr(e,t){if(e===t)return!0;let n=Ua(e),s=Ua(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ht(e),s=Ht(t),n||s)return e===t;if(n=ye(e),s=ye(t),n||s)return n&&s?fh(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 r in e){const a=e.hasOwnProperty(r),l=t.hasOwnProperty(r);if(a&&!l||!a&&l||!Zr(e[r],t[r]))return!1}}return String(e)===String(t)}const Zc=e=>!!(e&&e.__v_isRef===!0),j=e=>qe(e)?e:e==null?"":ye(e)||Fe(e)&&(e.toString===Gc||!Ce(e.toString))?Zc(e)?j(e.value):JSON.stringify(e,eu,2):String(e),eu=(e,t)=>Zc(t)?eu(e,t.value):hs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],i)=>(n[qi(s,i)+" =>"]=o,n),{})}:Wc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qi(n))}:Ht(t)?qi(t):Fe(t)&&!ye(t)&&!Jc(t)?String(t):t,qi=(e,t="")=>{var n;return Ht(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 ct;class tu{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&&ct&&(ct.active?(this.parent=ct,this.index=(ct.scopes||(ct.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=ct;try{return ct=this,t()}finally{ct=n}}}on(){++this._on===1&&(this.prevScope=ct,ct=this)}off(){if(this._on>0&&--this._on===0){if(ct===this)ct=this.prevScope;else{let t=ct;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 nu(e){return new tu(e)}function ea(){return ct}function su(e,t=!1){ct&&ct.cleanups.push(e)}let He;const Hi=new WeakSet;class ou{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,ct&&(ct.active?ct.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||ru(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ha(this),au(this);const t=He,n=Xt;He=this,Xt=!0;try{return this.fn()}finally{lu(this),He=t,Xt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)sa(t);this.deps=this.depsTail=void 0,Ha(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Hi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){mr(this)&&this.run()}get dirty(){return mr(this)}}let iu=0,Gs,Js;function ru(e,t=!1){if(e.flags|=8,t){e.next=Js,Js=e;return}e.next=Gs,Gs=e}function ta(){iu++}function na(){if(--iu>0)return;if(Js){let t=Js;for(Js=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Gs;){let t=Gs;for(Gs=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 lu(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),sa(s),hh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function mr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(cu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function cu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===oo)||(e.globalVersion=oo,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!mr(e))))return;e.flags|=2;const t=e.dep,n=He,s=Xt;He=e,Xt=!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{He=n,Xt=s,lu(e),e.flags&=-3}}function sa(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)sa(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xt=!0;const uu=[];func
|
|||
|
|
* @vue/runtime-core v3.5.35
|
|||
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|||
|
|
* @license MIT
|
|||
|
|
**/function _o(e,t,n,s){try{return s?e(...s):e()}catch(o){vo(o,t,n)}}function zt(e,t,n,s){if(Ce(e)){const o=_o(e,t,n,s);return o&&Kc(o)&&o.catch(i=>{vo(i,t,n)}),o}if(ye(e)){const o=[];for(let i=0;i<e.length;i++)o.push(zt(e[i],t,n,s));return o}}function vo(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||je;if(t){let a=t.parent;const l=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,l,d)===!1)return}a=a.parent}if(i){bn(),_o(i,null,10,[e,l,d]),wn();return}}Vh(e,n,o,s,r)}function Vh(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const Ct=[];let nn=-1;const ms=[];let On=null,ls=0;const Su=Promise.resolve();let ii=null;function Ze(e){const t=ii||Su;return e?t.then(this?e.bind(this):e):t}function jh(e){let t=nn+1,n=Ct.length;for(;t<n;){const s=t+n>>>1,o=Ct[s],i=ro(o);i<e||i===e&&o.flags&2?t=s+1:n=s}return t}function ra(e){if(!(e.flags&1)){const t=ro(e),n=Ct[Ct.length-1];!n||!(e.flags&2)&&t>=ro(n)?Ct.push(e):Ct.splice(jh(t),0,e),e.flags|=1,Cu()}}function Cu(){ii||(ii=Su.then(Au))}function yr(e){ye(e)?ms.push(...e):On&&e.id===-1?On.splice(ls+1,0,e):e.flags&1||(ms.push(e),e.flags|=1),Cu()}function Wa(e,t,n=nn+1){for(;n<Ct.length;n++){const s=Ct[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ct.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function xu(e){if(ms.length){const t=[...new Set(ms)].sort((n,s)=>ro(n)-ro(s));if(ms.length=0,On){On.push(...t);return}for(On=t,ls=0;ls<On.length;ls++){const n=On[ls];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}On=null,ls=0}}const ro=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Au(e){try{for(nn=0;nn<Ct.length;nn++){const t=Ct[nn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),_o(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;nn<Ct.length;nn++){const t=Ct[nn];t&&(t.flags&=-2)}nn=-1,Ct.length=0,xu(),ii=null,(Ct.length||ms.length)&&Au()}}let $t=null,ku=null;function ri(e){const t=$t;return $t=e,ku=e&&e.type.__scopeId||null,t}function ot(e,t=$t,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&ci(-1);const i=ri(t);let r;try{r=e(...o)}finally{ri(i),s._d&&ci(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function $n(e,t){if($t===null)return e;const n=ki($t),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,r,a,l=je]=t[o];i&&(Ce(i)&&(i={mounted:i,updated:i}),i.deep&&gn(r),s.push({dir:i,instance:n,value:r,oldValue:void 0,arg:a,modifiers:l}))}return e}function Mn(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const a=o[r];i&&(a.oldValue=i[r].value);let l=a.dir[s];l&&(bn(),zt(l,n,8,[e.el,a,e,t]),wn())}}function cn(e,t){if(yt){let n=yt.provides;const s=yt.parent&&yt.parent.provides;s===n&&(n=yt.provides=Object.create(s)),n[e]=t}}function ht(e,t,n=!1){const s=Wt();if(s||Jn){let o=Jn?Jn._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&&Ce(t)?t.call(s&&s.proxy):t}}function Uh(){return!!(Wt()||Jn)}const qh=Symbol.for("v-scx"),Hh=()=>ht(qh);function Tu(e,t){return aa(e,null,t)}function xe(e,t,n){return aa(e,t,n)}function aa(e,t,n=je){const{immediate:s,deep:o,flush:i,once:r}=n,a=ut({},n),l=t&&s||!t&&i!=="post";let d;if(co){if(i==="sync"){const h=Hh();d=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=ln,h.resume=ln,h.pause=ln,h}}const c=yt;a.call=(h,g,m)=>zt(h,c,g,m);let u=!1;i==="post"?a.scheduler=h=>{_t(h,c&&c.suspense)}:i!=="sync"&&(u=!0,a.scheduler=(h,g)=>{g?h():ra(h)}),a.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const f=Mh(e,t,a);return co&&(d?d.push(f):l&&f()),f}function zh(e,t,n){const s=this.proxy,o=qe(e)?e.includes(".")?Ru(s,e):()=>s[e]:e.bind(s,s);let i;Ce(t)?i=t:(i=t.handler,n=t);const r=yo(this),a=aa(o,i.bind(s),n);return r(),a}function Ru(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 Rn=new WeakMap,Iu=Symbol("_vte"),Ou=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 Or;const ll=typeof window<"u"&&window.trustedTypes;if(ll)try{Or=ll.createPolicy("vue",{createHTML:e=>e})}catch{}const ud=Or?e=>Or.createHTML(e):e=>e,em="http://www.w3.org/2000/svg",tm="http://www.w3.org/1998/Math/MathML",hn=typeof document<"u"?document:null,cl=hn&&hn.createElement("template"),nm={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(em,e):t==="mathml"?hn.createElementNS(tm,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 r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{cl.innerHTML=ud(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=cl.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},An="transition",Ps="animation",uo=Symbol("_vtc"),dd={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},sm=ut({},$u,dd),om=e=>(e.displayName="Transition",e.props=sm,e),Ti=om((e,{slots:t})=>ma(Yh,im(e),t)),jn=(e,t=[])=>{ye(e)?e.forEach(n=>n(...t)):e&&e(...t)},ul=e=>e?ye(e)?e.some(t=>t.length>1):e.length>1:!1;function im(e){const t={};for(const z in e)z in dd||(t[z]=e[z]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:d=r,appearToClass:c=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=rm(o),m=g&&g[0],p=g&&g[1],{onBeforeEnter:v,onEnter:S,onEnterCancelled:T,onLeave:x,onLeaveCancelled:b,onBeforeAppear:P=v,onAppear:B=S,onAppearCancelled:L=T}=t,R=(z,ee,G,ie)=>{z._enterCancelled=ie,Un(z,ee?c:a),Un(z,ee?d:r),G&&G()},K=(z,ee)=>{z._isLeaving=!1,Un(z,u),Un(z,h),Un(z,f),ee&&ee()},X=z=>(ee,G)=>{const ie=z?B:S,de=()=>R(ee,z,G);jn(ie,[ee,de]),dl(()=>{Un(ee,z?l:i),dn(ee,z?c:a),ul(ie)||fl(ee,s,m,de)})};return ut(t,{onBeforeEnter(z){jn(v,[z]),dn(z,i),dn(z,r)},onBeforeAppear(z){jn(P,[z]),dn(z,l),dn(z,d)},onEnter:X(!1),onAppear:X(!0),onLeave(z,ee){z._isLeaving=!0;const G=()=>K(z,ee);dn(z,u),z._enterCancelled?(dn(z,f),ml(z)):(ml(z),dn(z,f)),dl(()=>{z._isLeaving&&(Un(z,u),dn(z,h),ul(x)||fl(z,s,p,G))}),jn(x,[z,G])},onEnterCancelled(z){R(z,!1,void 0,!0),jn(T,[z])},onAppearCancelled(z){R(z,!0,void 0,!0),jn(L,[z])},onLeaveCancelled(z){K(z),jn(b,[z])}})}function rm(e){if(e==null)return null;if(Fe(e))return[Xi(e.enter),Xi(e.leave)];{const t=Xi(e);return[t,t]}}function Xi(e){return Yc(e)}function dn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[uo]||(e[uo]=new Set)).add(t)}function Un(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[uo];n&&(n.delete(t),n.size||(e[uo]=void 0))}function dl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let am=0;function fl(e,t,n,s){const o=e._endId=++am,i=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:r,timeout:a,propCount:l}=lm(e,t);if(!r)return s();const d=r+"end";let c=0;const u=()=>{e.removeEventListener(d,f),i()},f=h=>{h.target===e&&++c>=l&&u()};setTimeout(()=>{c<l&&u()},a+1),e.addEventListener(d,f)}function lm(e,t){const n=window.getComputedStyle(e),s=g=>(n[g]||"").split(", "),o=s(`${An}Delay`),i=s(`${An}Duration`),r=hl(o,i),a=s(`${Ps}Del
|
|||
|
|
* pinia v2.3.1
|
|||
|
|
* (c) 2025 Eduardo San Martin Morote
|
|||
|
|
* @license MIT
|
|||
|
|
*/let tf;const Pi=e=>tf=e,nf=Symbol();function Nr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var to;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(to||(to={}));function Tv(){const e=nu(!0),t=e.run(()=>F({}));let n=[],s=[];const o=ia({install(i){Pi(o),o._a=i,i.provide(nf,o),i.config.globalProperties.$pinia=o,s.forEach(r=>n.push(r)),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&&ea()&&su(o),o}function is(e,...t){e.slice().forEach(n=>{n(...t)})}const Rv=e=>e(),Jl=Symbol(),sr=Symbol();function Lr(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];Nr(o)&&Nr(s)&&e.hasOwnProperty(n)&&!Je(s)&&!vn(s)?e[n]=Lr(o,s):e[n]=s}return e}const Iv=Symbol();function Ov(e){return!Nr(e)||!e.hasOwnProperty(Iv)}const{assign:In}=Object;function Pv(e){return!!(Je(e)&&e.effect)}function $v(e,t,n,s){const{state:o,actions:i,getters:r}=t,a=n.state.value[e];let l;function d(){a||(n.state.value[e]=o?o():{});const c=$h(n.state.value[e]);return In(c,i,Object.keys(r||{}).reduce((u,f)=>(u[f]=ia(M(()=>{Pi(n);const h=n._s.get(e);return r[f].call(h,h)})),u),{}))}return l=of(e,d,t,n,s,!0),l}function of(e,t,n={},s,o,i){let r;const a=In({actions:{}},n),l={deep:!0};let d,c,u=[],f=[],h;const g=s.state.value[e];!i&&!g&&(s.state.value[e]={});let m;function p(L){let R;d=c=!1,typeof L=="function"?(L(s.state.value[e]),R={type:to.patchFunction,storeId:e,events:h}):(Lr(s.state.value[e],L),R={type:to.patchObject,payload:L,storeId:e,events:h});const K=m=Symbol();Ze().then(()=>{m===K&&(d=!0)}),c=!0,is(u,R,s.state.value[e])}const v=i?function(){const{state:R}=n,K=R?R():{};this.$patch(X=>{In(X,K)})}:sf;function S(){r.stop(),u=[],f=[],s._s.delete(e)}const T=(L,R="")=>{if(Jl in L)return L[sr]=R,L;const K=function(){Pi(s);const X=Array.from(arguments),z=[],ee=[];function G(ne){z.push(ne)}function ie(ne){ee.push(ne)}is(f,{args:X,name:K[sr],store:b,after:G,onError:ie});let de;try{de=L.apply(this&&this.$id===e?this:b,X)}catch(ne){throw is(ee,ne),ne}return de instanceof Promise?de.then(ne=>(is(z,ne),ne)).catch(ne=>(is(ee,ne),Promise.reject(ne))):(is(z,de),de)};return K[Jl]=!0,K[sr]=R,K},x={_p:s,$id:e,$onAction:Gl.bind(null,f),$patch:p,$reset:v,$subscribe(L,R={}){const K=Gl(u,L,R.detached,()=>X()),X=r.run(()=>xe(()=>s.state.value[e],z=>{(R.flush==="sync"?c:d)&&L({storeId:e,type:to.direct,events:h},z)},In({},l,R)));return K},$dispose:S},b=mt(x);s._s.set(e,b);const B=(s._a&&s._a.runWithContext||Rv)(()=>s._e.run(()=>(r=nu()).run(()=>t({action:T}))));for(const L in B){const R=B[L];if(Je(R)&&!Pv(R)||vn(R))i||(g&&Ov(R)&&(Je(R)?R.value=g[L]:Lr(R,g[L])),s.state.value[e][L]=R);else if(typeof R=="function"){const K=T(R,L);B[L]=K,a.actions[L]=R}}return In(b,B),In(Pe(b),B),Object.defineProperty(b,"$state",{get:()=>s.state.value[e],set:L=>{p(R=>{In(R,L)})}}),s._p.forEach(L=>{In(b,r.run(()=>L({store:b,app:s._a,pinia:s,options:a})))}),g&&i&&n.hydrate&&n.hydrate(b.$state,g),d=!0,c=!0,b}/*! #__NO_SIDE_EFFECTS__ */function Ta(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 r(a,l){const d=Uh();return a=a||(d?ht(nf,null):null),a&&Pi(a),a=tf,a._s.has(s)||(i?of(s,t,o,a):$v(s,o,a)),a._s.get(s)}return r.$id=s,r}const rf="it_desk_h5_theme";function Xl(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem(rf,e)}function Bv(){const e=localStorage.getItem(rf);return e==="dark"||e==="light"?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const af=Ta("theme",()=>{const e=F("light");function t(){const s=e.value==="light"?"dark":"light";e.value=s,Xl(s)}function n(){const s=Bv();e.value=s,Xl(s)}return{currentTheme:e,toggleTheme:t,initTheme:n}}),Dv={class:"app-loa
|
|||
|
|
* vue-router v4.6.4
|
|||
|
|
* (c) 2025 Eduardo San Martin Morote
|
|||
|
|
* @license MIT
|
|||
|
|
*/const cs=typeof document<"u";function lf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Vv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&lf(e.default)}const Ne=Object.assign;function or(e,t){const n={};for(const s in t){const o=t[s];n[s]=Qt(o)?o.map(e):e(o)}return n}const no=()=>{},Qt=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,jv=/&/g,Uv=/\//g,qv=/=/g,Hv=/\?/g,uf=/\+/g,zv=/%5B/g,Wv=/%5D/g,df=/%5E/g,Kv=/%60/g,ff=/%7B/g,Gv=/%7C/g,hf=/%7D/g,Jv=/%20/g;function Ra(e){return e==null?"":encodeURI(""+e).replace(Gv,"|").replace(zv,"[").replace(Wv,"]")}function Xv(e){return Ra(e).replace(ff,"{").replace(hf,"}").replace(df,"^")}function Fr(e){return Ra(e).replace(uf,"%2B").replace(Jv,"+").replace(cf,"%23").replace(jv,"%26").replace(Kv,"`").replace(ff,"{").replace(hf,"}").replace(df,"^")}function Yv(e){return Fr(e).replace(qv,"%3D")}function Qv(e){return Ra(e).replace(cf,"%23").replace(Hv,"%3F")}function Zv(e){return Qv(e).replace(Uv,"%2F")}function mo(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const ey=/\/$/,ty=e=>e.replace(ey,"");function ir(e,t,n="/"){let s,o={},i="",r="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,a>0?a:t.length),o=e(i.slice(1))),a>=0&&(s=s||t.slice(0,a),r=t.slice(a,t.length)),s=iy(s??t,n),{fullPath:s+i+r,path:s,query:o,hash:mo(r)}}function ny(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 sy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&ws(t.matched[s],n.matched[o])&&pf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ws(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(!oy(e[n],t[n]))return!1;return!0}function oy(e,t){return Qt(e)?ec(e,t):Qt(t)?ec(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function ec(e,t){return Qt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function iy(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,r,a;for(r=0;r<s.length;r++)if(a=s[r],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(r).join("/")}const kn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Mr=function(e){return e.pop="pop",e.push="push",e}({}),rr=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function ry(e){if(!e)if(cs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ty(e)}const ay=/^[^#]+#/;function ly(e,t){return e.replace(ay,"#")+t}function cy(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 $i=()=>({left:window.scrollX,top:window.scrollY});function uy(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=cy(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 Vr=new Map;function dy(e,t){Vr.set(e,t)}function fy(e){const t=Vr.get(e);return Vr.delete(e),t}function hy(e){return typeof e=="string"||e&&typeof e=="object"}function mf(e){return typeof e=="string"||typeof e=="symbol"}let Qe=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 by=()=>location.protocol+"//"+location.host;function _f(e,t){const{pathname:n,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){let r=o.includes(e.slice(i))?e.slice(i).length:1,a=o.slice(r);return a[0]!=="/"&&(a="/"+a),Zl(a,"")}return Zl(n,e)+s+o}function wy(e,t,n,s){let o=[],i=[],r=null;const a=({state:f})=>{const h=_f(e,location),g=n.value,m=t.value;let p=0;if(f){if(n.value=h,t.value=f,r&&r===g){r=null;return}p=m?f.position-m.position:0}else s(h);o.forEach(v=>{v(n.value,g,{delta:p,type:Mr.pop,direction:p?p>0?rr.forward:rr.back:rr.unknown})})};function l(){r=n.value}function d(f){o.push(f);const h=()=>{const g=o.indexOf(f);g>-1&&o.splice(g,1)};return i.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Ne({},f.state,{scroll:$i()}),"")}}function u(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,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?$i():null}}function Ey(e){const{history:t,location:n}=window,s={value:_f(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(l,d,c){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:by()+e+l;try{t[c?"replaceState":"pushState"](d,"",f),o.value=d}catch(h){console.error(h),n[c?"replace":"assign"](f)}}function r(l,d){i(l,Ne({},t.state,oc(o.value.back,l,o.value.forward,!0),d,{position:o.value.position}),!0),s.value=l}function a(l,d){const c=Ne({},o.value,t.state,{forward:l,scroll:$i()});i(c.current,c,!0),i(l,Ne({},oc(s.value,l,null),{position:c.position+1},d),!1),s.value=l}return{location:s,state:o,push:a,replace:r}}function Sy(e){e=ry(e);const t=Ey(e),n=wy(e,t.state,t.location,t.replace);function s(i,r=!0){r||n.pauseListeners(),history.go(i)}const o=Ne({location:"",base:e,go:s,createHref:ly.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 lt=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}(lt||{});const Cy={type:Wn.Static,value:""},xy=/[a-zA-Z0-9_]/;function Ay(e){if(!e)return[[]];if(e==="/")return[[Cy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${d}": ${h}`)}let n=lt.Static,s=n;const o=[];let i;function r(){i&&o.push(i),i=[]}let a=0,l,d="",c="";function u(){d&&(n===lt.Static?i.push({type:Wn.Static,value:d}):n===lt.Param||n===lt.ParamRegExp||n===lt.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Wn.Param,value:d,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),d="")}function f(){d+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==lt.ParamRegExp){s=n,n=lt.EscapeNext;continue}switch(n){case lt.Static:l==="/"?(d&&u(),r()):l===":"?(u(),n=lt.Param):f();break;case lt.EscapeNext:f(),n=s;break;case lt.Param:l==="("?n=lt.ParamRegExp:xy.test(l)?f():(u(),n=lt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case lt.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=lt.ParamRegExpEnd:c+=l;break;case lt.ParamRegExpEnd:u(),n=lt.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===lt.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),u(),r(),o}const ic="[^/]+?",ky={sensitive:!1,strict:!1,start:!0,end:!0};var St=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=
|
|||
|
|
`).forEach(function(r){o=r.indexOf(":"),n=r.substring(0,o).trim().toLowerCase(),s=r.substring(o+1).trim(),!(!n||t[n]&&Bb[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function Nb(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 Lb=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Fb=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Oa(e,t){return $.isArray(e)?e.map(n=>Oa(n,t)):Nb(String(e).replace(t,""))}const Mb=e=>Oa(e,Lb),Vb=e=>Oa(e,Fb);function If(e){const t=Object.create(null);return $.forEach(e.toJSON(),(n,s)=>{t[s]=Vb(n)}),t}const gc=Symbol("internals");function Ms(e){return e&&String(e).trim().toLowerCase()}function ti(e){return e===!1||e==null?e:$.isArray(e)?e.map(ti):Mb(String(e))}function jb(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 Ub=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function lr(e,t,n,s,o){if($.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!$.isString(t)){if($.isString(s))return t.indexOf(s)!==-1;if($.isRegExp(s))return s.test(t)}}function qb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Hb(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(o,i,r){return this[s].call(this,t,o,i,r)},configurable:!0})})}let Tt=class{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function i(a,l,d){const c=Ms(l);if(!c)throw new Error("header name must be a non-empty string");const u=$.findKey(o,c);(!u||o[u]===void 0||d===!0||d===void 0&&o[u]!==!1)&&(o[u||l]=ti(a))}const r=(a,l)=>$.forEach(a,(d,c)=>i(d,c,l));if($.isPlainObject(t)||t instanceof this.constructor)r(t,n);else if($.isString(t)&&(t=t.trim())&&!Ub(t))r(Db(t),n);else if($.isObject(t)&&$.isIterable(t)){let a={},l,d;for(const c of t){if(!$.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[d=c[0]]=(l=a[d])?$.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}r(a,n)}else t!=null&&i(n,t,s);return this}get(t,n){if(t=Ms(t),t){const s=$.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return jb(o);if($.isFunction(n))return n.call(this,o,s);if($.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ms(t),t){const s=$.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||lr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function i(r){if(r=Ms(r),r){const a=$.findKey(s,r);a&&(!n||lr(s,s[a],a,n))&&(delete s[a],o=!0)}}return $.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||lr(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,s={};return $.forEach(this,(o,i)=>{const r=$.findKey(s,i);if(r){n[r]=ti(o),delete n[i];return}const a=t?qb(i):String(i).trim();a!==i&&delete n[i],n[a]=ti(o),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&$.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[gc]=this[gc]={accessors:{}}).accessors,o=this.prototype;function i(r){const a=Ms(r);s[a]||(Hb(o,r),s[a]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}};Tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$.reduceDescriptors(Tt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});$.freezeMethods(Tt);const zb="[REDACTED ****]";function Wb(e){if($.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if($.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Kb(e,t){const n=new Set(t.map(i=>String(i).toLowerCase())),s=[],o=i=>{if(i===null||typeof i!="object"||$.isBuffer(i))return i;if(s.indexOf(i)!==-1)return;i instanceof Tt&&(i=i.toJSON()),s.push(i);let r;if($.isArray(i))r=[],i.forEach((a,l)=>{const d=o(a);$.isUndefined(d)||(r[l]=d)});else{if(!$.isPlainObject(i)&&Wb(i))return s.pop(),i;r=Object.create(null);for(const[a,l]of Object.entries(i)){const d=n.has(a.toLowerCase())?zb:o(l);$.isUndefined(d)||(r[a]=d)}}return s.pop(),r};return o(e)}let he=class Of extends Error{static from(t,n,s,o,i,r){const a=new Of(t.message,n||t.code,s,o,i);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),r&&Object.assign(a,r),a}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&&$.hasOwnProp(t,"redact")?t.redact:void 0,s=$.isArray(n)&&n.length>0?Kb(t,n):$.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}}};he.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";he.ERR_BAD_OPTION="ERR_BAD_OPTION";he.ECONNABORTED="ECONNABORTED";he.ETIMEDOUT="ETIMEDOUT";he.ECONNREFUSED="ECONNREFUSED";he.ERR_NETWORK="ERR_NETWORK";he.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";he.ERR_DEPRECATED="ERR_DEPRECATED";he.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";he.ERR_BAD_REQUEST="ERR_BAD_REQUEST";he.ERR_CANCELED="ERR_CANCELED";he.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";he.ERR_INVALID_URL="ERR_INVALID_URL";he.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Gb=null;function Hr(e){return $.isPlainObject(e)||$.isArray(e)}function Pf(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function cr(e,t,n){return e?e.concat(t).map(function(o,i){return o=Pf(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Jb(e){return $.isArray(e)&&!e.some(Hr)}const Xb=$.toFlatObject($,{},null,function(t){return/^is[A-Z]/.test(t)});function Mi(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,v){return!$.isUndefined(v[p])});const s=n.metaTokens,o=n.visitor||u,i=n.dots,r=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,d=a&&$.isSpecCompliantForm(t);if(!$.isFunction(o))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if($.isDate(m))return m.toISOString();if($.isBoolean(m))return m.toString();if(!d&&$.isBlob(m))throw new he("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(m)||$.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,p,v){let S=m;if($.isReactNative(t)&&$.isReactNativeBlob(m))return t.append(cr(v,p,i),c(m)),!1;if(m&&!v&&typeof m=="object"){if($.endsWith(p,"{}"))p=s?p:p.slice(0,-2),m=JSON.stringify(m);else if($.isArray(m)&&Jb(m)||($.isFileList(m)||$.endsWith(p,"[]"
|
|||
|
|
`+r.map(xc).join(`
|
|||
|
|
`):" "+xc(r[0]):"as no adapter specified";throw new he("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const jf={getAdapter:Iw,adapters:Na};function dr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Io(null,e)}function Ac(e){return dr(e),e.headers=Tt.from(e.headers),e.data=ur.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){dr(e),e.response=s;try{s.data=ur.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=Tt.from(s.headers),s},function(s){if(!Nf(s)&&(dr(e),s&&s.response)){e.response=s.response;try{s.response.data=ur.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=Tt.from(s.response.headers)}return Promise.reject(s)})}const Vi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vi[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const kc={};Vi.transitional=function(t,n,s){function o(i,r){return"[Axios v"+Da+"] Transitional option '"+i+"'"+r+(s?". "+s:"")}return(i,r,a)=>{if(t===!1)throw new he(o(r," has been removed"+(n?" in "+n:"")),he.ERR_DEPRECATED);return n&&!kc[r]&&(kc[r]=!0,console.warn(o(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,r,a):!0}};Vi.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Ow(e,t,n){if(typeof e!="object")throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const i=s[o],r=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(r){const a=e[i],l=a===void 0||r(a,i,e);if(l!==!0)throw new he("option "+i+" must be "+l,he.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new he("Unknown option "+i,he.ERR_BAD_OPTION)}}const ni={assertOptions:Ow,validators:Vi},Vt=ni.validators;let Xn=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 r=o.stack.indexOf(`
|
|||
|
|
`);return r===-1?"":o.stack.slice(r+1)})();try{if(!s.stack)s.stack=i;else if(i){const r=i.indexOf(`
|
|||
|
|
`),a=r===-1?-1:i.indexOf(`
|
|||
|
|
`,r+1),l=a===-1?"":i.slice(a+1);String(s.stack).endsWith(l)||(s.stack+=`
|
|||
|
|
`+i)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qn(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:i}=n;s!==void 0&&ni.assertOptions(s,{silentJSONParsing:Vt.transitional(Vt.boolean),forcedJSONParsing:Vt.transitional(Vt.boolean),clarifyTimeoutError:Vt.transitional(Vt.boolean),legacyInterceptorReqResOrdering:Vt.transitional(Vt.boolean)},!1),o!=null&&($.isFunction(o)?n.paramsSerializer={serialize:o}:ni.assertOptions(o,{encode:Vt.function,serialize:Vt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),ni.assertOptions(n,{baseUrl:Vt.spelling("baseURL"),withXsrfToken:Vt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=i&&$.merge(i.common,i[n.method]);i&&$.forEach(["delete","get","head","post","put","patch","query","common"],g=>{delete i[g]}),n.headers=Tt.concat(r,i);const a=[];let l=!0;this.interceptors.request.forEach(function(m){if(typeof m.runWhen=="function"&&m.runWhen(n)===!1)return;l=l&&m.synchronous;const p=n.transitional||$a;p&&p.legacyInterceptorReqResOrdering?a.unshift(m.fulfilled,m.rejected):a.push(m.fulfilled,m.rejected)});const d=[];this.interceptors.response.forEach(function(m){d.push(m.fulfilled,m.rejected)});let c,u=0,f;if(!l){const g=[Ac.bind(this),void 0];for(g.unshift(...a),g.push(...d),f=g.length,c=Promise.resolve(n);u<f;)c=c.then(g[u++],g[u++]);return c}f=a.length;let h=n;for(;u<f;){const g=a[u++],m=a[u++];try{h=g(h)}catch(p){m.call(this,p);break}}try{c=Ac.call(this,h)}catch(g){return Promise.reject(g)}for(u=0,f=d.length;u<f;)c=c.then(d[u++],d[u++]);return c}getUri(t){t=Qn(this.defaults,t);const n=Ff(t.baseURL,t.url,t.allowAbsoluteUrls);return Bf(n,t.params,t.paramsSerializer)}};$.forEach(["delete","get","head","options"],function(t){Xn.prototype[t]=function(n,s){return this.request(Qn(s||{},{method:t,url:n,data:(s||{}).data}))}});$.forEach(["post","put","patch","query"],function(t){function n(s){return function(i,r,a){return this.request(Qn(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}Xn.prototype[t]=n(),t!=="query"&&(Xn.prototype[t+"Form"]=n(!0))});let Pw=class Uf{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 r=new Promise(a=>{s.subscribe(a),i=a}).then(o);return r.cancel=function(){s.unsubscribe(i)},r},t(function(i,r,a){s.reason||(s.reason=new Io(i,r,a),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 Uf(function(o){t=o}),cancel:t}}};function $w(e){return function(n){return e.apply(null,n)}}function Bw(e){return $.isObject(e)&&e.isAxiosError===!0}const Wr={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")):ge.assign_result==="queued"&&(Oe.content=`${ge.funny_phrase}
|
|||
|
|
|
|||
|
|
â�³ 当å‰�æ— ç©ºé—²å��å¸ï¼Œæ‚¨å·²è¿›å…¥æŽ’队,请è€�心ç‰å¾…...`),((Y=ge.conversation)==null?void 0:Y.status)==="serving"&&await se(),ge.assign_result||"queued"}catch(ue){return console.error("[Store] 招手失败:",ue),"error"}finally{o.value=!1}}async function N(){try{const O=await qw();d.value=O,console.log("[Store] 获å�–审批链接æˆ�功:",O.length,"æ�¡")}catch(O){console.error("[Store] 获å�–审批链接失败:",O)}}function U(){c.value=!1,u.value=""}function D(O=""){var ue;const Y={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(Y),console.log("[Store] 手动æ�’入审批å�¡ç‰‡æ¶ˆæ�¯ï¼ˆå¿«æ�·æŒ‰é’®è§¦å�‘)")}async function q(){try{const O=await Ww();f.value=O,console.log("[Store] 获å�–软件下载列表æˆ�功:",O.length,"æ�¡")}catch(O){console.error("[Store] 获å�–软件下载列表失败:",O)}}function y(){l.value=!l.value}async function w(O){try{await se();const Y=t.value;Y&&Y.conversation_id!==O&&console.warn("[Store] 当å‰�会è¯�IDä¸�匹é…�, 期望:",O,"实际:",Y.conversation_id),n.value=[],h.value="",await Ae(),console.log("[Store] 已切æ�¢åˆ°é‚€è¯·ä¼šè¯�:",O)}catch(Y){console.error("[Store] 切æ�¢ä¼šè¯�失败:",Y)}}async function A(){if(!t.value)return;const O=t.value.conversation_id;try{await Gw(O),console.log("[Store] 已退出会è¯�:",O),t.value=null,S.value=[],n.value=[],h.value="",ce()}catch(Y){throw console.error("[Store] 退出会è¯�失败:",Y),Y}}function V(){T.value=!T.value}async function J(O){const Y=n.value.findIndex(Oe=>Oe.message_id===O);if(Y===-1){console.warn("[Store] é‡�试消æ�¯æ‰¾ä¸�到:",O);return}const ue=n.value[Y];if(ue.status!=="failed"){console.warn("[Store] 消æ�¯çжæ€�ä¸�是 failedï¼Œæ— æ³•é‡�试:",O);return}const ge=ue.content;n.value.splice(Y,1),console.log("[Store] åˆ é™¤å¤±è´¥æ¶ˆæ�¯:",O),await pe(ge,{msg_type:ue.msg_type,media_url:ue.media_url,file_name:ue.file_name,file_size:ue.file_size})}function W(O){S.value=O,t.value&&(t.value.participants=O),console.log("[Store] å�‚与者列表已通过WSæ›´æ–°:",O.length,"人")}function oe(){console.log("[Store] 当å‰�用户被移除会è¯�,清空状æ€�"),t.value=null,S.value=[],n.value=[],h.value="",T.value=!1,ce()}function te(O){var ue;if(((ue=t.value)==null?void 0:ue.conversation_id)!==O.conversation_id||!O.chunk)return;if(!R.value){const ge=`ai_stream_${O.conversation_id}_${Date.now()}`;R.value=ge,n.value.push({message_id:ge,conversation_id:O.conversation_id,message_type:"ai",msg_type:"text",content:"",sender_name:"Duckula(达寇拉)",created_at:new Date().toISOString()})}const Y=n.value.findIndex(ge=>ge.message_id===R.value);Y!==-1&&(n.value[Y].content+=O.chunk)}function Z(O){var Oe,gt;if(((Oe=t.value)==null?void 0:Oe.conversation_id)!==O.conversation_id)return;const Y={message_id:O.message_id,conversation_id:O.conversation_id,message_type:O.sender_type||"ai",msg_type:O.msg_type||"text",content:typeof O.content=="string"?O.content:O.content?JSON.stringify(O.content):"",sender_name:O.sender_name||"Duckula(达寇拉)",created_at:new Date().toISOString(),status:"sent",extra_data:O.extra_data||void 0},ue=R.value?n.value.findIndex(xn=>xn.message_id===R.value):-1;if(ue!==-1?n.value[ue]=Y:n.value.push(Y),R.value=null,ne(O.message_id),h.value=O.message_id,i.value=O.can_call_agent??!1,t.value){t.value.can_call_agent=O.can_call_agent??!1,t.value.ai_substantive_reply_count=O.ai_reply_count??0;const xn={ai_handling:"waiting",queued:"waiting",serving:"serving",resolved:"resolved"};t.value.status=xn[O.conversation_status]||t.value.status}const ge=(gt=t.value)==null?void 0:gt.conversation_id;ge&&Us(ge,n.value)}function Q(O){var ge;if(((ge=t.value)==null?void 0:ge.conversation_id)!==O.conversation_id)return;const Y={message_id:`ai_failed_${O.conversation_id}_${Date.now()}`,conversation_id:O.conversation_id,message_type:"ai",msg_type:"text",content:O.message||"âš ï¸� AI æœ�务异常,请输入「ITã€�转人å·
|
|||
|
|
`)}st(()=>{document.addEventListener("paste",de),document.addEventListener("keydown",N),L()&&b().catch(D=>{console.warn("[InputBar] ä¼�å¾® JS-SDK åˆ�始化失败:",D)})}),Ln(()=>{document.removeEventListener("paste",de),document.removeEventListener("keydown",N),X.isRecording.value&&X.stop()});async function de(D){var w;const q=D.target;if(q.tagName==="TEXTAREA"||q.isContentEditable)return;const y=(w=D.clipboardData)==null?void 0:w.items;if(y){for(const A of Array.from(y))if(A.kind==="file"){D.preventDefault();const V=A.getAsFile();if(!V)continue;V.type.startsWith("image/")?await pe(V):await fe(V);return}}}const ne=["😀","😃","😄","ðŸ˜�","😆","😅","🤣","😂","🙂","😊","😇","🥰","ðŸ˜�","🤩","😘","😗","😚","😙","😋","😛","😜","🤪","ðŸ˜�","🤑","🤗","ðŸ¤","🤫","🤔","ðŸ¤�","🤨","ðŸ˜�","😑","😶","ðŸ˜�","😒","🙄","😬","😮","🤯","😲","😳","🥺","😢","ðŸ˜","😤","😠","😡","🤬","ðŸ‘�","👎","ðŸ‘�","🙌","ðŸ¤�","💪","✌ï¸�","🤞","â�¤ï¸�","🧡","💛","💚","💙","💜","💯","✅"];function le(D){g.value+=D,T.value=!1,Ze(()=>{var y,w;const q=(w=(y=m.value)==null?void 0:y.$el)==null?void 0:w.querySelector("textarea");q==null||q.focus()})}function ke(D){/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)||D.shiftKey||(D.preventDefault(),Te())}async function Te(){const D=g.value.trim();!D||s.loading||(g.value="",await s.sendNewMessage(D))}async function se(D){var y;const q=(y=D.clipboardData)==null?void 0:y.items;if(q){for(const w of Array.from(q))if(w.kind==="file"){D.preventDefault();const A=w.getAsFile();if(!A)continue;A.type.startsWith("image/")?await pe(A):await fe(A);return}}}async function pe(D){var q,y;try{Ee("å›¾ç‰‡ä¸Šä¼ ä¸...");const w=await pr(D),A=D instanceof File?D.name:"截图";await s.sendNewMessage(`[图片] ${A}`,{msg_type:"image",media_url:w.url,file_name:w.filename,file_size:w.file_size}),Ee("图片å�‘é€�æˆ�功")}catch(w){console.error("å›¾ç‰‡ä¸Šä¼ å¤±è´¥:",w),Ee(n((y=(q=w==null?void 0:w.response)==null?void 0:q.data)==null?void 0:y.detail)||(w==null?void 0:w.message)||"å›¾ç‰‡ä¸Šä¼ å¤±è´¥ï¼Œè¯·é‡�试")}}async function fe(D){var q,y;try{const w=D instanceof File?D.name:"文件";Ee(`æ–‡ä»¶ä¸Šä¼ ä¸: ${w}`);const A=await pr(D);await s.sendNewMessage(`[文件] ${A.filename}`,{msg_type:"file",media_url:A.url,file_name:A.filename,file_size:A.file_size}),Ee("文件å�‘é€�æˆ�功")}catch(w){console.error("æ–‡ä»¶ä¸Šä¼ å¤±è´¥:",w),Ee(n((y=(q=w==null?void 0:w.response)==null?void 0:q.data)==null?void 0:y.detail)||(w==null?void 0:w.message)||"æ–‡ä»¶ä¸Šä¼ å¤±è´¥ï¼Œè¯·é‡�试")}}async function Ae(D){const q=D.target,y=q.files;if(!(!y||y.length===0)){for(const w of Array.from(y))try{Ee(`æ£åœ¨ä¸Šä¼ : ${w.name}`);const A=await pr(w);Ee(`${w.name} ä¸Šä¼ æˆ�功`),console.log("[InputBar] æ–‡ä»¶ä¸Šä¼ æˆ�功:",A.url)}catch(A){console.error("æ–‡ä»¶ä¸Šä¼ å¤±è´¥:",A),Ee(`${w.name} ä¸Šä¼ å¤±è´¥`)}q.value=""}}function H(){T.value=!T.value}function ce(){p.value&&(p.value.accept="",p.value.multiple=!0,p.value.click())}async function E(D){if(D==null||D.preventDefault(),D==null||D.stopPropagation(),R.value!=="none"){if(R.value==="wecom")try{if(x.isRecording){const q=await B();q?(ie(g.value)&&(g.value+=" "),g.value+=q,Ee("è¯éŸ³è¯†åˆ«å®Œæˆ�")):Ee("未识别到è¯éŸ³å†…容")}else await P(),Ee("æ£åœ¨å½•音,点击å�œæ¢")}catch(q){const y=x.error||(q==null?void 0:q.message)||"è¯éŸ³è¯†åˆ«å¤±è´¥";Ee(y),console.error("[InputBar] ä¼�å¾®è¯éŸ³è¯†åˆ«é”™è¯¯:",q)}else if(R.value==="baidu")if(z.value){const q=X.stop();if(q.size<1600){Ee("录音过çŸï¼Œè¯·è¯´æ›´å¤šå†…容");return}ee.value=!0;try{const y=await d1(q);y.error?Ee(y.error):y.text?(ie(g.value)&&(g.value+=" "),g.value+=y.text,Ee("è¯éŸ³è¯†åˆ«å®Œæˆ�")):Ee("未识别到è¯éŸ³å†…容")}catch(y){Ee((y==null?void 0:y.message)||"è¯éŸ³è¯†åˆ«å¤±è´¥"),console.error("[InputBar] 百度ASR识别错误:",y)}finally{ee.value=!1}}else try{await X.start(),Ee("开始è¯éŸ³è¾“å…¥")}catch(q){Ee((q==null?void 0:q.message)||"录音å�¯åŠ¨å¤±è´¥"),console.error("[InputBar] 百度录音å�¯åŠ¨å¤±è´¥:",q)}}}function N(D){if(D.ctrl
|