var Gm=Object.defineProperty,qm=Object.defineProperties;var Wm=Object.getOwnPropertyDescriptors;var ho=Object.getOwnPropertySymbols;var Gl=Object.prototype.hasOwnProperty,ql=Object.prototype.propertyIsEnumerable;var ua=(e,t,n)=>t in e?Gm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Jn=(e,t)=>{for(var n in t||(t={}))Gl.call(t,n)&&ua(e,n,t[n]);if(ho)for(var n of ho(t))ql.call(t,n)&&ua(e,n,t[n]);return e},Zn=(e,t)=>qm(e,Wm(t));var po=(e,t)=>{var n={};for(var r in e)Gl.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ho)for(var r of ho(e))t.indexOf(r)<0&&ql.call(e,r)&&(n[r]=e[r]);return n};var Wl=(e,t,n)=>(ua(e,typeof t!="symbol"?t+"":t,n),n);var jt=(e,t,n)=>new Promise((r,i)=>{var o=u=>{try{a(n.next(u))}catch(c){i(c)}},s=u=>{try{a(n.throw(u))}catch(c){i(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(o,s);a((n=n.apply(e,t)).next())});function s6(){import("data:text/javascript,")}const Km=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}};Km();const Ym="modulepreload",Kl={},Xm="/",X=function(t,n){return!n||n.length===0?t():Promise.all(n.map(r=>{if(r=`${Xm}${r}`,r in Kl)return;Kl[r]=!0;const i=r.endsWith(".css"),o=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${o}`))return;const s=document.createElement("link");if(s.rel=i?"stylesheet":Ym,i||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),i)return new Promise((a,u)=>{s.addEventListener("load",a),s.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())};/**
* @vue/shared v3.4.33
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Au(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ve={},Dr=[],It=()=>{},Jm=()=>!1,fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Su=e=>e.startsWith("onUpdate:"),nt=Object.assign,$u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zm=Object.prototype.hasOwnProperty,xe=(e,t)=>Zm.call(e,t),me=Array.isArray,Lr=e=>Ji(e)==="[object Map]",zd=e=>Ji(e)==="[object Set]",Qm=e=>Ji(e)==="[object RegExp]",Ee=e=>typeof e=="function",ze=e=>typeof e=="string",Gn=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",Gd=e=>(ke(e)||Ee(e))&&Ee(e.then)&&Ee(e.catch),qd=Object.prototype.toString,Ji=e=>qd.call(e),eg=e=>Ji(e).slice(8,-1),Wd=e=>Ji(e)==="[object Object]",Tu=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$i=Au(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ds=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},tg=/-(\w)/g,Wt=ds(e=>e.replace(tg,(t,n)=>n?n.toUpperCase():"")),ng=/\B([A-Z])/g,qn=ds(e=>e.replace(ng,"-$1").toLowerCase()),hs=ds(e=>e.charAt(0).toUpperCase()+e.slice(1)),la=ds(e=>e?`on${hs(e)}`:""),jn=(e,t)=>!Object.is(e,t),Ti=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Kd=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},rg=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ig=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let Yl;const xu=()=>Yl||(Yl=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ps(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=ze(r)?ug(r):ps(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(ze(e)||ke(e))return e}const og=/;(?![^(]*\))/g,sg=/:([^]+)/,ag=/\/\*[^]*?\*\//g;function ug(e){const t={};return e.replace(ag,"").split(og).forEach(n=>{if(n){const r=n.split(sg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function fr(e){let t="";if(ze(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const r=fr(e[n]);r&&(t+=r+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const lg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cg=Au(lg);function Yd(e){return!!e||e===""}const Xd=e=>!!(e&&e.__v_isRef===!0),et=e=>ze(e)?e:e==null?"":me(e)||ke(e)&&(e.toString===qd||!Ee(e.toString))?Xd(e)?et(e.value):JSON.stringify(e,Jd,2):String(e),Jd=(e,t)=>Xd(t)?Jd(e,t.value):Lr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[ca(r,o)+" =>"]=i,n),{})}:zd(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ca(n))}:Gn(t)?ca(t):ke(t)&&!me(t)&&!Wd(t)?String(t):t,ca=(e,t="")=>{var n;return Gn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.33
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ot;class fg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ot,!t&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ot;try{return Ot=this,t()}finally{Ot=n}}}on(){Ot=this}off(){Ot=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function dg(e,t=Ot){t&&t.active&&t.effects.push(e)}function hg(){return Ot}function a6(e){Ot&&Ot.cleanups.push(e)}let lr;class Ou{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,dg(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Wn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(pg(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Kn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Mn,n=lr;try{return Mn=!0,lr=this,this._runnings++,Xl(this),this.fn()}finally{Jl(this),this._runnings--,lr=n,Mn=t}}stop(){this.active&&(Xl(this),Jl(this),this.onStop&&this.onStop(),this.active=!1)}}function pg(e){return e.value}function Xl(e){e._trackId++,e._depsLength=0}function Jl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Zd(e.deps[t],e);e.deps.length=e._depsLength}}function Zd(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Mn=!0,Ga=0;const Qd=[];function Wn(){Qd.push(Mn),Mn=!1}function Kn(){const e=Qd.pop();Mn=e===void 0?!0:e}function Iu(){Ga++}function Ru(){for(Ga--;!Ga&&qa.length;)qa.shift()()}function eh(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Zd(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const qa=[];function th(e,t,n){Iu();for(const r of e.keys()){let i;r._dirtyLevel<t&&(i!=null?i:i=e.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(i!=null?i:i=e.get(r)===r._trackId)&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&qa.push(r.scheduler)))}Ru()}const nh=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Yo=new WeakMap,cr=Symbol(""),Wa=Symbol("");function At(e,t,n){if(Mn&&lr){let r=Yo.get(e);r||Yo.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=nh(()=>r.delete(n))),eh(lr,i)}}function _n(e,t,n,r,i,o){const s=Yo.get(e);if(!s)return;let a=[];if(t==="clear")a=[...s.values()];else if(n==="length"&&me(e)){const u=Number(r);s.forEach((c,l)=>{(l==="length"||!Gn(l)&&l>=u)&&a.push(c)})}else switch(n!==void 0&&a.push(s.get(n)),t){case"add":me(e)?Tu(n)&&a.push(s.get("length")):(a.push(s.get(cr)),Lr(e)&&a.push(s.get(Wa)));break;case"delete":me(e)||(a.push(s.get(cr)),Lr(e)&&a.push(s.get(Wa)));break;case"set":Lr(e)&&a.push(s.get(cr));break}Iu();for(const u of a)u&&th(u,4);Ru()}function vg(e,t){const n=Yo.get(e);return n&&n.get(t)}const mg=Au("__proto__,__v_isRef,__isVue"),rh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gn)),Zl=gg();function gg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Oe(this);for(let o=0,s=this.length;o<s;o++)At(r,"get",o+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(Oe)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Wn(),Iu();const r=Oe(this)[t].apply(this,n);return Ru(),Kn(),r}}),e}function _g(e){Gn(e)||(e=String(e));const t=Oe(this);return At(t,"has",e),t.hasOwnProperty(e)}class ih{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?Rg:uh:o?ah:sh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=me(t);if(!i){if(s&&xe(Zl,n))return Reflect.get(Zl,n,r);if(n==="hasOwnProperty")return _g}const a=Reflect.get(t,n,r);return(Gn(n)?rh.has(n):mg(n))||(i||At(t,"get",n),o)?a:ft(a)?s&&Tu(n)?a:a.value:ke(a)?i?lh(a):lt(a):a}}class oh extends ih{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const u=dr(o);if(!Mr(r)&&!dr(r)&&(o=Oe(o),r=Oe(r)),!me(t)&&ft(o)&&!ft(r))return u?!1:(o.value=r,!0)}const s=me(t)&&Tu(n)?Number(n)<t.length:xe(t,n),a=Reflect.set(t,n,r,i);return t===Oe(i)&&(s?jn(r,o)&&_n(t,"set",n,r):_n(t,"add",n,r)),a}deleteProperty(t,n){const r=xe(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&_n(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!Gn(n)||!rh.has(n))&&At(t,"has",n),r}ownKeys(t){return At(t,"iterate",me(t)?"length":cr),Reflect.ownKeys(t)}}class yg extends ih{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Eg=new oh,bg=new yg,wg=new oh(!0);const Pu=e=>e,vs=e=>Reflect.getPrototypeOf(e);function vo(e,t,n=!1,r=!1){e=e.__v_raw;const i=Oe(e),o=Oe(t);n||(jn(t,o)&&At(i,"get",t),At(i,"get",o));const{has:s}=vs(i),a=r?Pu:n?Fu:Mi;if(s.call(i,t))return a(e.get(t));if(s.call(i,o))return a(e.get(o));e!==i&&e.get(t)}function mo(e,t=!1){const n=this.__v_raw,r=Oe(n),i=Oe(e);return t||(jn(e,i)&&At(r,"has",e),At(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function go(e,t=!1){return e=e.__v_raw,!t&&At(Oe(e),"iterate",cr),Reflect.get(e,"size",e)}function Ql(e,t=!1){!t&&!Mr(e)&&!dr(e)&&(e=Oe(e));const n=Oe(this);return vs(n).has.call(n,e)||(n.add(e),_n(n,"add",e,e)),this}function ec(e,t,n=!1){!n&&!Mr(t)&&!dr(t)&&(t=Oe(t));const r=Oe(this),{has:i,get:o}=vs(r);let s=i.call(r,e);s||(e=Oe(e),s=i.call(r,e));const a=o.call(r,e);return r.set(e,t),s?jn(t,a)&&_n(r,"set",e,t):_n(r,"add",e,t),this}function tc(e){const t=Oe(this),{has:n,get:r}=vs(t);let i=n.call(t,e);i||(e=Oe(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&_n(t,"delete",e,void 0),o}function nc(){const e=Oe(this),t=e.size!==0,n=e.clear();return t&&_n(e,"clear",void 0,void 0),n}function _o(e,t){return function(r,i){const o=this,s=o.__v_raw,a=Oe(s),u=t?Pu:e?Fu:Mi;return!e&&At(a,"iterate",cr),s.forEach((c,l)=>r.call(i,u(c),u(l),o))}}function yo(e,t,n){return function(...r){const i=this.__v_raw,o=Oe(i),s=Lr(o),a=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,c=i[e](...r),l=n?Pu:t?Fu:Mi;return!t&&At(o,"iterate",u?Wa:cr),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[l(f[0]),l(f[1])]:l(f),done:d}},[Symbol.iterator](){return this}}}}function Tn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Cg(){const e={get(o){return vo(this,o)},get size(){return go(this)},has:mo,add:Ql,set:ec,delete:tc,clear:nc,forEach:_o(!1,!1)},t={get(o){return vo(this,o,!1,!0)},get size(){return go(this)},has:mo,add(o){return Ql.call(this,o,!0)},set(o,s){return ec.call(this,o,s,!0)},delete:tc,clear:nc,forEach:_o(!1,!0)},n={get(o){return vo(this,o,!0)},get size(){return go(this,!0)},has(o){return mo.call(this,o,!0)},add:Tn("add"),set:Tn("set"),delete:Tn("delete"),clear:Tn("clear"),forEach:_o(!0,!1)},r={get(o){return vo(this,o,!0,!0)},get size(){return go(this,!0)},has(o){return mo.call(this,o,!0)},add:Tn("add"),set:Tn("set"),delete:Tn("delete"),clear:Tn("clear"),forEach:_o(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=yo(o,!1,!1),n[o]=yo(o,!0,!1),t[o]=yo(o,!1,!0),r[o]=yo(o,!0,!0)}),[e,n,t,r]}const[Ag,Sg,$g,Tg]=Cg();function Du(e,t){const n=t?e?Tg:$g:e?Sg:Ag;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(xe(n,i)&&i in r?n:r,i,o)}const xg={get:Du(!1,!1)},Og={get:Du(!1,!0)},Ig={get:Du(!0,!1)};const sh=new WeakMap,ah=new WeakMap,uh=new WeakMap,Rg=new WeakMap;function Pg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dg(e){return e.__v_skip||!Object.isExtensible(e)?0:Pg(eg(e))}function lt(e){return dr(e)?e:Lu(e,!1,Eg,xg,sh)}function Lg(e){return Lu(e,!1,wg,Og,ah)}function lh(e){return Lu(e,!0,bg,Ig,uh)}function Lu(e,t,n,r,i){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=Dg(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function xi(e){return dr(e)?xi(e.__v_raw):!!(e&&e.__v_isReactive)}function dr(e){return!!(e&&e.__v_isReadonly)}function Mr(e){return!!(e&&e.__v_isShallow)}function ch(e){return e?!!e.__v_raw:!1}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function Fg(e){return Object.isExtensible(e)&&Kd(e,"__v_skip",!0),e}const Mi=e=>ke(e)?lt(e):e,Fu=e=>ke(e)?lh(e):e;class fh{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ou(()=>t(this._value),()=>Mo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Oe(this);return(!t._cacheable||t.effect.dirty)&&jn(t._value,t._value=t.effect.run())&&Mo(t,4),dh(t),t.effect._dirtyLevel>=2&&Mo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Bg(e,t,n=!1){let r,i;const o=Ee(e);return o?(r=e,i=It):(r=e.get,i=e.set),new fh(r,i,o||!i,n)}function dh(e){var t;Mn&&lr&&(e=Oe(e),eh(lr,(t=e.dep)!=null?t:e.dep=nh(()=>e.dep=void 0,e instanceof fh?e:void 0)))}function Mo(e,t=4,n,r){e=Oe(e);const i=e.dep;i&&th(i,t)}function ft(e){return!!(e&&e.__v_isRef===!0)}function se(e){return hh(e,!1)}function Ng(e){return hh(e,!0)}function hh(e,t){return ft(e)?e:new kg(e,t)}class kg{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Oe(t),this._value=n?t:Mi(t)}get value(){return dh(this),this._value}set value(t){const n=this.__v_isShallow||Mr(t)||dr(t);t=n?t:Oe(t),jn(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Mi(t),Mo(this,4))}}function be(e){return ft(e)?e.value:e}const Mg={get:(e,t,n)=>be(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return ft(i)&&!ft(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function ph(e){return xi(e)?e:new Proxy(e,Mg)}function u6(e){const t=me(e)?new Array(e.length):{};for(const n in e)t[n]=jg(e,n);return t}class Vg{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return vg(Oe(this._object),this._key)}}function jg(e,t,n){const r=e[t];return ft(r)?r:new Vg(e,t,n)}/**
* @vue/runtime-core v3.4.33
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Vn(e,t,n,r){try{return r?e(...r):e()}catch(i){ms(i,t,n)}}function Mt(e,t,n,r){if(Ee(e)){const i=Vn(e,t,n,r);return i&&Gd(i)&&i.catch(o=>{ms(o,t,n)}),i}if(me(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Mt(e[o],t,n,r));return i}}function ms(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const s=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const c=o.ec;if(c){for(let l=0;l<c.length;l++)if(c[l](e,s,a)===!1)return}o=o.parent}const u=t.appContext.config.errorHandler;if(u){Wn(),Vn(u,null,10,[e,s,a]),Kn();return}}Ug(e,n,i,r)}function Ug(e,t,n,r=!0){console.error(e)}let Vi=!1,Ka=!1;const ct=[];let Qt=0;const Fr=[];let Pn=null,or=0;const vh=Promise.resolve();let Bu=null;function Pe(e){const t=Bu||vh;return e?t.then(this?e.bind(this):e):t}function Hg(e){let t=Qt+1,n=ct.length;for(;t<n;){const r=t+n>>>1,i=ct[r],o=ji(i);o<e||o===e&&i.pre?t=r+1:n=r}return t}function Nu(e){(!ct.length||!ct.includes(e,Vi&&e.allowRecurse?Qt+1:Qt))&&(e.id==null?ct.push(e):ct.splice(Hg(e.id),0,e),mh())}function mh(){!Vi&&!Ka&&(Ka=!0,Bu=vh.then(_h))}function zg(e){const t=ct.indexOf(e);t>Qt&&ct.splice(t,1)}function Gg(e){me(e)?Fr.push(...e):(!Pn||!Pn.includes(e,e.allowRecurse?or+1:or))&&Fr.push(e),mh()}function rc(e,t,n=Vi?Qt+1:0){for(;n<ct.length;n++){const r=ct[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;ct.splice(n,1),n--,r()}}}function gh(e){if(Fr.length){const t=[...new Set(Fr)].sort((n,r)=>ji(n)-ji(r));if(Fr.length=0,Pn){Pn.push(...t);return}for(Pn=t,or=0;or<Pn.length;or++){const n=Pn[or];n.active!==!1&&n()}Pn=null,or=0}}const ji=e=>e.id==null?1/0:e.id,qg=(e,t)=>{const n=ji(e)-ji(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _h(e){Ka=!1,Vi=!0,ct.sort(qg);const t=It;try{for(Qt=0;Qt<ct.length;Qt++){const n=ct[Qt];n&&n.active!==!1&&Vn(n,n.i,n.i?15:14)}}finally{Qt=0,ct.length=0,gh(),Vi=!1,Bu=null,(ct.length||Fr.length)&&_h()}}let tt=null,gs=null;function Xo(e){const t=tt;return tt=e,gs=e&&e.type.__scopeId||null,t}function yh(e){gs=e}function Eh(){gs=null}function Me(e,t=tt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&gc(-1);const o=Xo(t);let s;try{s=e(...i)}finally{Xo(o),r._d&&gc(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function vr(e,t){if(tt===null)return e;const n=As(tt),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,s,a,u=Ve]=t[i];o&&(Ee(o)&&(o={mounted:o,updated:o}),o.deep&&Nn(s),r.push({dir:o,instance:n,value:s,oldValue:void 0,arg:a,modifiers:u}))}return e}function Qn(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let s=0;s<i.length;s++){const a=i[s];o&&(a.oldValue=o[s].value);let u=a.dir[r];u&&(Wn(),Mt(u,n,8,[e.el,a,e,t]),Kn())}}const Dn=Symbol("_leaveCb"),Eo=Symbol("_enterCb");function Wg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xe(()=>{e.isMounted=!0}),Yn(()=>{e.isUnmounting=!0}),e}const Lt=[Function,Array],bh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lt,onEnter:Lt,onAfterEnter:Lt,onEnterCancelled:Lt,onBeforeLeave:Lt,onLeave:Lt,onAfterLeave:Lt,onLeaveCancelled:Lt,onBeforeAppear:Lt,onAppear:Lt,onAfterAppear:Lt,onAppearCancelled:Lt},wh=e=>{const t=e.subTree;return t.component?wh(t.component):t},Kg={name:"BaseTransition",props:bh,setup(e,{slots:t}){const n=on(),r=Wg();return()=>{const i=t.default&&Ah(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const d of i)if(d.type!==Ct){o=d;break}}const s=Oe(e),{mode:a}=s;if(r.isLeaving)return fa(o);const u=ic(o);if(!u)return fa(o);let c=Ya(u,s,r,n,d=>c=d);Ui(u,c);const l=n.subTree,f=l&&ic(l);if(f&&f.type!==Ct&&!kn(u,f)&&wh(n).type!==Ct){const d=Ya(f,s,r,n);if(Ui(f,d),a==="out-in"&&u.type!==Ct)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},fa(o);a==="in-out"&&u.type!==Ct&&(d.delayLeave=(h,p,g)=>{const m=Ch(r,f);m[String(f.key)]=f,h[Dn]=()=>{p(),h[Dn]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return o}}},Yg=Kg;function Ch(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ya(e,t,n,r,i){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:l,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:y,onAfterAppear:_,onAppearCancelled:v}=t,E=String(e.key),T=Ch(n,e),I=(M,W)=>{M&&Mt(M,r,9,W)},L=(M,W)=>{const ee=W[1];I(M,W),me(M)?M.every(q=>q.length<=1)&&ee():M.length<=1&&ee()},G={mode:s,persisted:a,beforeEnter(M){let W=u;if(!n.isMounted)if(o)W=m||u;else return;M[Dn]&&M[Dn](!0);const ee=T[E];ee&&kn(e,ee)&&ee.el[Dn]&&ee.el[Dn](),I(W,[M])},enter(M){let W=c,ee=l,q=f;if(!n.isMounted)if(o)W=y||c,ee=_||l,q=v||f;else return;let H=!1;const F=M[Eo]=P=>{H||(H=!0,P?I(q,[M]):I(ee,[M]),G.delayedLeave&&G.delayedLeave(),M[Eo]=void 0)};W?L(W,[M,F]):F()},leave(M,W){const ee=String(e.key);if(M[Eo]&&M[Eo](!0),n.isUnmounting)return W();I(d,[M]);let q=!1;const H=M[Dn]=F=>{q||(q=!0,W(),F?I(g,[M]):I(p,[M]),M[Dn]=void 0,T[ee]===e&&delete T[ee])};T[ee]=e,h?L(h,[M,H]):H()},clone(M){const W=Ya(M,t,n,r,i);return i&&i(W),W}};return G}function fa(e){if(_s(e))return e=En(e),e.children=null,e}function ic(e){if(!_s(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ee(n.default))return n.default()}}function Ui(e,t){e.shapeFlag&6&&e.component?Ui(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ah(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let s=e[o];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:o);s.type===qe?(s.patchFlag&128&&i++,r=r.concat(Ah(s.children,t,a))):(t||s.type!==Ct)&&r.push(a!=null?En(s,{key:a}):s)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function pe(e,t){return Ee(e)?(()=>nt({name:e.name},t,{setup:e}))():e}const Br=e=>!!e.type.__asyncLoader,_s=e=>e.type.__isKeepAlive,Xg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=on(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const i=new Map,o=new Set;let s=null;const a=n.suspense,{renderer:{p:u,m:c,um:l,o:{createElement:f}}}=r,d=f("div");r.activate=(_,v,E,T,I)=>{const L=_.component;c(_,v,E,0,a),u(L.vnode,_,v,E,L,a,T,_.slotScopeIds,I),Ze(()=>{L.isDeactivated=!1,L.a&&Ti(L.a);const G=_.props&&_.props.onVnodeMounted;G&&Bt(G,L.parent,_)},a)},r.deactivate=_=>{const v=_.component;Zo(v.m),Zo(v.a),c(_,d,null,1,a),Ze(()=>{v.da&&Ti(v.da);const E=_.props&&_.props.onVnodeUnmounted;E&&Bt(E,v.parent,_),v.isDeactivated=!0},a)};function h(_){da(_),l(_,n,a,!0)}function p(_){i.forEach((v,E)=>{const T=iu(v.type);T&&(!_||!_(T))&&g(E)})}function g(_){const v=i.get(_);!s||!kn(v,s)?h(v):s&&da(s),i.delete(_),o.delete(_)}$e(()=>[e.include,e.exclude],([_,v])=>{_&&p(E=>wi(_,E)),v&&p(E=>!wi(v,E))},{flush:"post",deep:!0});let m=null;const y=()=>{m!=null&&(nu(n.subTree.type)?Ze(()=>{i.set(m,bo(n.subTree))},n.subTree.suspense):i.set(m,bo(n.subTree)))};return Xe(y),Mu(y),Yn(()=>{i.forEach(_=>{const{subTree:v,suspense:E}=n,T=bo(v);if(_.type===T.type&&_.key===T.key){da(T);const I=T.component.da;I&&Ze(I,E);return}h(_)})}),()=>{if(m=null,!t.default)return null;const _=t.default(),v=_[0];if(_.length>1)return s=null,_;if(!Vr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return s=null,v;let E=bo(v);const T=E.type,I=iu(Br(E)?E.type.__asyncResolved||{}:T),{include:L,exclude:G,max:M}=e;if(L&&(!I||!wi(L,I))||G&&I&&wi(G,I))return s=E,v;const W=E.key==null?T:E.key,ee=i.get(W);return E.el&&(E=En(E),v.shapeFlag&128&&(v.ssContent=E)),m=W,ee?(E.el=ee.el,E.component=ee.component,E.transition&&Ui(E,E.transition),E.shapeFlag|=512,o.delete(W),o.add(W)):(o.add(W),M&&o.size>parseInt(M,10)&&g(o.values().next().value)),E.shapeFlag|=256,s=E,nu(v.type)?v:E}}},Jg=Xg;function wi(e,t){return me(e)?e.some(n=>wi(n,t)):ze(e)?e.split(",").includes(t):Qm(e)?e.test(t):!1}function qr(e,t){Sh(e,"a",t)}function mr(e,t){Sh(e,"da",t)}function Sh(e,t,n=st){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ys(t,r,n),n){let i=n.parent;for(;i&&i.parent;)_s(i.parent.vnode)&&Zg(r,t,n,i),i=i.parent}}function Zg(e,t,n,r){const i=ys(t,e,r,!0);Xn(()=>{$u(r[t],i)},n)}function da(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function bo(e){return e.shapeFlag&128?e.ssContent:e}function ys(e,t,n=st,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{Wn();const a=Zi(n),u=Mt(t,n,e,s);return a(),Kn(),u});return r?i.unshift(o):i.push(o),o}}const bn=e=>(t,n=st)=>{(!Cs||e==="sp")&&ys(e,(...r)=>t(...r),n)},ku=bn("bm"),Xe=bn("m"),$h=bn("bu"),Mu=bn("u"),Yn=bn("bum"),Xn=bn("um"),Qg=bn("sp"),e0=bn("rtg"),t0=bn("rtc");function n0(e,t=st){ys("ec",e,t)}const Vu="components",r0="directives";function mt(e,t){return ju(Vu,e,!0,t)||e}const Th=Symbol.for("v-ndc");function xh(e){return ze(e)?ju(Vu,e,!1)||e:e||Th}function i0(e){return ju(r0,e)}function ju(e,t,n=!0,r=!1){const i=tt||st;if(i){const o=i.type;if(e===Vu){const a=iu(o,!1);if(a&&(a===t||a===Wt(t)||a===hs(Wt(t))))return o}const s=oc(i[e]||o[e],t)||oc(i.appContext[e],t);return!s&&r?o:s}}function oc(e,t){return e&&(e[t]||e[Wt(t)]||e[hs(Wt(t))])}function Uu(e,t,n,r){let i;const o=n&&n[r];if(me(e)||ze(e)){i=new Array(e.length);for(let s=0,a=e.length;s<a;s++)i[s]=t(e[s],s,void 0,o&&o[s])}else if(typeof e=="number"){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,o&&o[s])}else if(ke(e))if(e[Symbol.iterator])i=Array.from(e,(s,a)=>t(s,a,void 0,o&&o[a]));else{const s=Object.keys(e);i=new Array(s.length);for(let a=0,u=s.length;a<u;a++){const c=s[a];i[a]=t(e[c],c,a,o&&o[a])}}else i=[];return n&&(n[r]=i),i}function o0(e,t,n={},r,i){if(tt.isCE||tt.parent&&Br(tt.parent)&&tt.parent.isCE)return t!=="default"&&(n.name=t),x("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Se();const s=o&&Oh(o(n)),a=Qe(qe,{key:(n.key||s&&s.key||`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Oh(e){return e.some(t=>Vr(t)?!(t.type===Ct||t.type===qe&&!Oh(t.children)):!0)?e:null}const Xa=e=>e?Xh(e)?As(e):Xa(e.parent):null,Oi=nt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Xa(e.parent),$root:e=>Xa(e.root),$emit:e=>e.emit,$options:e=>Hu(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Nu(e.update)}),$nextTick:e=>e.n||(e.n=Pe.bind(e.proxy)),$watch:e=>R0.bind(e)}),ha=(e,t)=>e!==Ve&&!e.__isScriptSetup&&xe(e,t),s0={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:a,appContext:u}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(ha(r,t))return s[t]=1,r[t];if(i!==Ve&&xe(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&xe(c,t))return s[t]=3,o[t];if(n!==Ve&&xe(n,t))return s[t]=4,n[t];Ja&&(s[t]=0)}}const l=Oi[t];let f,d;if(l)return t==="$attrs"&&At(e.attrs,"get",""),l(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ve&&xe(n,t))return s[t]=4,n[t];if(d=u.config.globalProperties,xe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return ha(i,t)?(i[t]=n,!0):r!==Ve&&xe(r,t)?(r[t]=n,!0):xe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},s){let a;return!!n[s]||e!==Ve&&xe(e,s)||ha(t,s)||(a=o[0])&&xe(a,s)||xe(r,s)||xe(Oi,s)||xe(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:xe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function sc(e){return me(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ja=!0;function a0(e){const t=Hu(e),n=e.proxy,r=e.ctx;Ja=!1,t.beforeCreate&&ac(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:a,provide:u,inject:c,created:l,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:y,beforeUnmount:_,destroyed:v,unmounted:E,render:T,renderTracked:I,renderTriggered:L,errorCaptured:G,serverPrefetch:M,expose:W,inheritAttrs:ee,components:q,directives:H,filters:F}=t;if(c&&u0(c,r,null),s)for(const C in s){const O=s[C];Ee(O)&&(r[C]=O.bind(n))}if(i){const C=i.call(n,n);ke(C)&&(e.data=lt(C))}if(Ja=!0,o)for(const C in o){const O=o[C],S=Ee(O)?O.bind(n,n):Ee(O.get)?O.get.bind(n,n):It,R=!Ee(O)&&Ee(O.set)?O.set.bind(n):It,k=ce({get:S,set:R});Object.defineProperty(r,C,{enumerable:!0,configurable:!0,get:()=>k.value,set:N=>k.value=N})}if(a)for(const C in a)Ih(a[C],r,n,C);if(u){const C=Ee(u)?u.call(n):u;Reflect.ownKeys(C).forEach(O=>{yn(O,C[O])})}l&&ac(l,e,"c");function A(C,O){me(O)?O.forEach(S=>C(S.bind(n))):O&&C(O.bind(n))}if(A(ku,f),A(Xe,d),A($h,h),A(Mu,p),A(qr,g),A(mr,m),A(n0,G),A(t0,I),A(e0,L),A(Yn,_),A(Xn,E),A(Qg,M),me(W))if(W.length){const C=e.exposed||(e.exposed={});W.forEach(O=>{Object.defineProperty(C,O,{get:()=>n[O],set:S=>n[O]=S})})}else e.exposed||(e.exposed={});T&&e.render===It&&(e.render=T),ee!=null&&(e.inheritAttrs=ee),q&&(e.components=q),H&&(e.directives=H)}function u0(e,t,n=It){me(e)&&(e=Za(e));for(const r in e){const i=e[r];let o;ke(i)?"default"in i?o=ut(i.from||r,i.default,!0):o=ut(i.from||r):o=ut(i),ft(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[r]=o}}function ac(e,t,n){Mt(me(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ih(e,t,n,r){const i=r.includes(".")?qh(n,r):()=>n[r];if(ze(e)){const o=t[e];Ee(o)&&$e(i,o)}else if(Ee(e))$e(i,e.bind(n));else if(ke(e))if(me(e))e.forEach(o=>Ih(o,t,n,r));else{const o=Ee(e.handler)?e.handler.bind(n):t[e.handler];Ee(o)&&$e(i,o,e)}}function Hu(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,a=o.get(t);let u;return a?u=a:!i.length&&!n&&!r?u=t:(u={},i.length&&i.forEach(c=>Jo(u,c,s,!0)),Jo(u,t,s)),ke(t)&&o.set(t,u),u}function Jo(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Jo(e,o,n,!0),i&&i.forEach(s=>Jo(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=l0[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const l0={data:uc,props:lc,emits:lc,methods:Ci,computed:Ci,beforeCreate:vt,created:vt,beforeMount:vt,mounted:vt,beforeUpdate:vt,updated:vt,beforeDestroy:vt,beforeUnmount:vt,destroyed:vt,unmounted:vt,activated:vt,deactivated:vt,errorCaptured:vt,serverPrefetch:vt,components:Ci,directives:Ci,watch:f0,provide:uc,inject:c0};function uc(e,t){return t?e?function(){return nt(Ee(e)?e.call(this,this):e,Ee(t)?t.call(this,this):t)}:t:e}function c0(e,t){return Ci(Za(e),Za(t))}function Za(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function vt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ci(e,t){return e?nt(Object.create(null),e,t):t}function lc(e,t){return e?me(e)&&me(t)?[...new Set([...e,...t])]:nt(Object.create(null),sc(e),sc(t!=null?t:{})):t}function f0(e,t){if(!e)return t;if(!t)return e;const n=nt(Object.create(null),e);for(const r in t)n[r]=vt(e[r],t[r]);return n}function Rh(){return{app:null,config:{isNativeTag:Jm,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let d0=0;function h0(e,t){return function(r,i=null){Ee(r)||(r=nt({},r)),i!=null&&!ke(i)&&(i=null);const o=Rh(),s=new WeakSet;let a=!1;const u=o.app={_uid:d0++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:X0,get config(){return o.config},set config(c){},use(c,...l){return s.has(c)||(c&&Ee(c.install)?(s.add(c),c.install(u,...l)):Ee(c)&&(s.add(c),c(u,...l))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,l){return l?(o.components[c]=l,u):o.components[c]},directive(c,l){return l?(o.directives[c]=l,u):o.directives[c]},mount(c,l,f){if(!a){const d=x(r,i);return d.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),l&&t?t(d,c):e(d,c,f),a=!0,u._container=c,c.__vue_app__=u,As(d.component)}},unmount(){a&&(e(null,u._container),delete u._container.__vue_app__)},provide(c,l){return o.provides[c]=l,u},runWithContext(c){const l=Ii;Ii=u;try{return c()}finally{Ii=l}}};return u}}let Ii=null;function yn(e,t){if(st){let n=st.provides;const r=st.parent&&st.parent.provides;r===n&&(n=st.provides=Object.create(r)),n[e]=t}}function ut(e,t,n=!1){const r=st||tt;if(r||Ii){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Ii._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ee(t)?t.call(r&&r.proxy):t}}const Ph={},Dh=()=>Object.create(Ph),Lh=e=>Object.getPrototypeOf(e)===Ph;function p0(e,t,n,r=!1){const i={},o=Dh();e.propsDefaults=Object.create(null),Fh(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Lg(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function v0(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,a=Oe(i),[u]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const l=e.vnode.dynamicProps;for(let f=0;f<l.length;f++){let d=l[f];if(bs(e.emitsOptions,d))continue;const h=t[d];if(u)if(xe(o,d))h!==o[d]&&(o[d]=h,c=!0);else{const p=Wt(d);i[p]=Qa(u,a,p,h,e,!1)}else h!==o[d]&&(o[d]=h,c=!0)}}}else{Fh(e,t,i,o)&&(c=!0);let l;for(const f in a)(!t||!xe(t,f)&&((l=qn(f))===f||!xe(t,l)))&&(u?n&&(n[f]!==void 0||n[l]!==void 0)&&(i[f]=Qa(u,a,f,void 0,e,!0)):delete i[f]);if(o!==a)for(const f in o)(!t||!xe(t,f)&&!0)&&(delete o[f],c=!0)}c&&_n(e.attrs,"set","")}function Fh(e,t,n,r){const[i,o]=e.propsOptions;let s=!1,a;if(t)for(let u in t){if($i(u))continue;const c=t[u];let l;i&&xe(i,l=Wt(u))?!o||!o.includes(l)?n[l]=c:(a||(a={}))[l]=c:bs(e.emitsOptions,u)||(!(u in r)||c!==r[u])&&(r[u]=c,s=!0)}if(o){const u=Oe(n),c=a||Ve;for(let l=0;l<o.length;l++){const f=o[l];n[f]=Qa(i,u,f,c[f],e,!xe(c,f))}}return s}function Qa(e,t,n,r,i,o){const s=e[n];if(s!=null){const a=xe(s,"default");if(a&&r===void 0){const u=s.default;if(s.type!==Function&&!s.skipFactory&&Ee(u)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const l=Zi(i);r=c[n]=u.call(null,t),l()}}else r=u}s[0]&&(o&&!a?r=!1:s[1]&&(r===""||r===qn(n))&&(r=!0))}return r}const m0=new WeakMap;function Bh(e,t,n=!1){const r=n?m0:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,s={},a=[];let u=!1;if(!Ee(e)){const l=f=>{u=!0;const[d,h]=Bh(f,t,!0);nt(s,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!o&&!u)return ke(e)&&r.set(e,Dr),Dr;if(me(o))for(let l=0;l<o.length;l++){const f=Wt(o[l]);cc(f)&&(s[f]=Ve)}else if(o)for(const l in o){const f=Wt(l);if(cc(f)){const d=o[l],h=s[f]=me(d)||Ee(d)?{type:d}:nt({},d);if(h){const p=hc(Boolean,h.type),g=hc(String,h.type);h[0]=p>-1,h[1]=g<0||p<g,(p>-1||xe(h,"default"))&&a.push(f)}}}const c=[s,a];return ke(e)&&r.set(e,c),c}function cc(e){return e[0]!=="$"&&!$i(e)}function fc(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function dc(e,t){return fc(e)===fc(t)}function hc(e,t){return me(t)?t.findIndex(n=>dc(n,e)):Ee(t)&&dc(t,e)?0:-1}const Nh=e=>e[0]==="_"||e==="$stable",zu=e=>me(e)?e.map(Zt):[Zt(e)],g0=(e,t,n)=>{if(t._n)return t;const r=Me((...i)=>zu(t(...i)),n);return r._c=!1,r},kh=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Nh(i))continue;const o=e[i];if(Ee(o))t[i]=g0(i,o,r);else if(o!=null){const s=zu(o);t[i]=()=>s}}},Mh=(e,t)=>{const n=zu(t);e.slots.default=()=>n},Vh=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},_0=(e,t,n)=>{const r=e.slots=Dh();if(e.vnode.shapeFlag&32){const i=t._;i?(Vh(r,t,n),n&&Kd(r,"_",i,!0)):kh(t,r)}else t&&Mh(e,t)},y0=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=Ve;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Vh(i,t,n):(o=!t.$stable,kh(t,i)),s=t}else t&&(Mh(e,t),s={default:1});if(o)for(const a in i)!Nh(a)&&s[a]==null&&delete i[a]};function eu(e,t,n,r,i=!1){if(me(e)){e.forEach((d,h)=>eu(d,t&&(me(t)?t[h]:t),n,r,i));return}if(Br(r)&&!i)return;const o=r.shapeFlag&4?As(r.component):r.el,s=i?null:o,{i:a,r:u}=e,c=t&&t.r,l=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==u&&(ze(c)?(l[c]=null,xe(f,c)&&(f[c]=null)):ft(c)&&(c.value=null)),Ee(u))Vn(u,a,12,[s,l]);else{const d=ze(u),h=ft(u);if(d||h){const p=()=>{if(e.f){const g=d?xe(f,u)?f[u]:l[u]:u.value;i?me(g)&&$u(g,o):me(g)?g.includes(o)||g.push(o):d?(l[u]=[o],xe(f,u)&&(f[u]=l[u])):(u.value=[o],e.k&&(l[e.k]=u.value))}else d?(l[u]=s,xe(f,u)&&(f[u]=s)):h&&(u.value=s,e.k&&(l[e.k]=s))};s?(p.id=-1,Ze(p,n)):p()}}}const jh=Symbol("_vte"),E0=e=>e.__isTeleport,Ri=e=>e&&(e.disabled||e.disabled===""),pc=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,vc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,tu=(e,t)=>{const n=e&&e.to;return ze(n)?t?t(n):null:n},b0={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,s,a,u,c){const{mc:l,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:g,createComment:m}}=c,y=Ri(t.props);let{shapeFlag:_,children:v,dynamicChildren:E}=t;if(e==null){const T=t.el=g(""),I=t.anchor=g(""),L=t.target=tu(t.props,p),G=t.targetStart=g(""),M=t.targetAnchor=g("");h(T,n,r),h(I,n,r),G[jh]=M,L&&(h(G,L),h(M,L),s==="svg"||pc(L)?s="svg":(s==="mathml"||vc(L))&&(s="mathml"));const W=(ee,q)=>{_&16&&l(v,ee,q,i,o,s,a,u)};y?W(n,I):L&&W(L,M)}else{t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,I=t.target=e.target,L=t.targetAnchor=e.targetAnchor,G=Ri(e.props),M=G?n:I,W=G?T:L;if(s==="svg"||pc(I)?s="svg":(s==="mathml"||vc(I))&&(s="mathml"),E?(d(e.dynamicChildren,E,M,i,o,s,a),Gu(e,t,!0)):u||f(e,t,M,W,i,o,s,a,!1),y)G?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):wo(t,n,T,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ee=t.target=tu(t.props,p);ee&&wo(t,ee,null,c,0)}else G&&wo(t,I,L,c,1)}Hh(t)},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:s,children:a,anchor:u,targetStart:c,targetAnchor:l,target:f,props:d}=e;if(f&&(i(c),i(l)),o&&i(u),s&16){const h=o||!Ri(d);for(let p=0;p<a.length;p++){const g=a[p];r(g,t,n,h,!!g.dynamicChildren)}}},move:wo,hydrate:w0};function wo(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:u,children:c,props:l}=e,f=o===2;if(f&&r(s,t,n),(!f||Ri(l))&&u&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&r(a,t,n)}function w0(e,t,n,r,i,o,{o:{nextSibling:s,parentNode:a,querySelector:u}},c){const l=t.target=tu(t.props,u);if(l){const f=l._lpa||l.firstChild;if(t.shapeFlag&16)if(Ri(t.props))t.anchor=c(s(e),t,a(e),n,r,i,o),t.targetAnchor=f;else{t.anchor=s(e);let d=f;for(;d;)if(d=s(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,l._lpa=t.targetAnchor&&s(t.targetAnchor);break}c(f,t,l,n,r,i,o)}Hh(t)}return t.anchor&&s(t.anchor)}const Uh=b0;function Hh(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function C0(){typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(xu().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1)}const Ze=k0;function A0(e){return S0(e)}function S0(e,t){C0();const n=xu();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:a,createComment:u,setText:c,setElementText:l,parentNode:f,nextSibling:d,setScopeId:h=It,insertStaticContent:p}=e,g=($,D,z,te=null,Z=null,re=null,le=void 0,U=null,V=!!D.dynamicChildren)=>{if($===D)return;$&&!kn($,D)&&(te=B($),N($,Z,re,!0),$=null),D.patchFlag===-2&&(V=!1,D.dynamicChildren=null);const{type:j,ref:Q,shapeFlag:J}=D;switch(j){case ws:m($,D,z,te);break;case Ct:y($,D,z,te);break;case Pi:$==null&&_(D,z,te,le);break;case qe:q($,D,z,te,Z,re,le,U,V);break;default:J&1?T($,D,z,te,Z,re,le,U,V):J&6?H($,D,z,te,Z,re,le,U,V):(J&64||J&128)&&j.process($,D,z,te,Z,re,le,U,V,ae)}Q!=null&&Z&&eu(Q,$&&$.ref,re,D||$,!D)},m=($,D,z,te)=>{if($==null)r(D.el=a(D.children),z,te);else{const Z=D.el=$.el;D.children!==$.children&&c(Z,D.children)}},y=($,D,z,te)=>{$==null?r(D.el=u(D.children||""),z,te):D.el=$.el},_=($,D,z,te)=>{[$.el,$.anchor]=p($.children,D,z,te,$.el,$.anchor)},v=({el:$,anchor:D},z,te)=>{let Z;for(;$&&$!==D;)Z=d($),r($,z,te),$=Z;r(D,z,te)},E=({el:$,anchor:D})=>{let z;for(;$&&$!==D;)z=d($),i($),$=z;i(D)},T=($,D,z,te,Z,re,le,U,V)=>{D.type==="svg"?le="svg":D.type==="math"&&(le="mathml"),$==null?I(D,z,te,Z,re,le,U,V):M($,D,Z,re,le,U,V)},I=($,D,z,te,Z,re,le,U)=>{let V,j;const{props:Q,shapeFlag:J,transition:oe,dirs:de}=$;if(V=$.el=s($.type,re,Q&&Q.is,Q),J&8?l(V,$.children):J&16&&G($.children,V,null,te,Z,pa($,re),le,U),de&&Qn($,null,te,"created"),L(V,$,$.scopeId,le,te),Q){for(const ve in Q)ve!=="value"&&!$i(ve)&&o(V,ve,null,Q[ve],re,te);"value"in Q&&o(V,"value",null,Q.value,re),(j=Q.onVnodeBeforeMount)&&Bt(j,te,$)}de&&Qn($,null,te,"beforeMount");const he=$0(Z,oe);he&&oe.beforeEnter(V),r(V,D,z),((j=Q&&Q.onVnodeMounted)||he||de)&&Ze(()=>{j&&Bt(j,te,$),he&&oe.enter(V),de&&Qn($,null,te,"mounted")},Z)},L=($,D,z,te,Z)=>{if(z&&h($,z),te)for(let re=0;re<te.length;re++)h($,te[re]);if(Z){let re=Z.subTree;if(D===re){const le=Z.vnode;L($,le,le.scopeId,le.slotScopeIds,Z.parent)}}},G=($,D,z,te,Z,re,le,U,V=0)=>{for(let j=V;j<$.length;j++){const Q=$[j]=U?Fn($[j]):Zt($[j]);g(null,Q,D,z,te,Z,re,le,U)}},M=($,D,z,te,Z,re,le)=>{const U=D.el=$.el;let{patchFlag:V,dynamicChildren:j,dirs:Q}=D;V|=$.patchFlag&16;const J=$.props||Ve,oe=D.props||Ve;let de;if(z&&er(z,!1),(de=oe.onVnodeBeforeUpdate)&&Bt(de,z,D,$),Q&&Qn(D,$,z,"beforeUpdate"),z&&er(z,!0),(J.innerHTML&&oe.innerHTML==null||J.textContent&&oe.textContent==null)&&l(U,""),j?W($.dynamicChildren,j,U,z,te,pa(D,Z),re):le||O($,D,U,null,z,te,pa(D,Z),re,!1),V>0){if(V&16)ee(U,J,oe,z,Z);else if(V&2&&J.class!==oe.class&&o(U,"class",null,oe.class,Z),V&4&&o(U,"style",J.style,oe.style,Z),V&8){const he=D.dynamicProps;for(let ve=0;ve<he.length;ve++){const ge=he[ve],Fe=J[ge],pt=oe[ge];(pt!==Fe||ge==="value")&&o(U,ge,Fe,pt,Z,z)}}V&1&&$.children!==D.children&&l(U,D.children)}else!le&&j==null&&ee(U,J,oe,z,Z);((de=oe.onVnodeUpdated)||Q)&&Ze(()=>{de&&Bt(de,z,D,$),Q&&Qn(D,$,z,"updated")},te)},W=($,D,z,te,Z,re,le)=>{for(let U=0;U<D.length;U++){const V=$[U],j=D[U],Q=V.el&&(V.type===qe||!kn(V,j)||V.shapeFlag&70)?f(V.el):z;g(V,j,Q,null,te,Z,re,le,!0)}},ee=($,D,z,te,Z)=>{if(D!==z){if(D!==Ve)for(const re in D)!$i(re)&&!(re in z)&&o($,re,D[re],null,Z,te);for(const re in z){if($i(re))continue;const le=z[re],U=D[re];le!==U&&re!=="value"&&o($,re,U,le,Z,te)}"value"in z&&o($,"value",D.value,z.value,Z)}},q=($,D,z,te,Z,re,le,U,V)=>{const j=D.el=$?$.el:a(""),Q=D.anchor=$?$.anchor:a("");let{patchFlag:J,dynamicChildren:oe,slotScopeIds:de}=D;de&&(U=U?U.concat(de):de),$==null?(r(j,z,te),r(Q,z,te),G(D.children||[],z,Q,Z,re,le,U,V)):J>0&&J&64&&oe&&$.dynamicChildren?(W($.dynamicChildren,oe,z,Z,re,le,U),(D.key!=null||Z&&D===Z.subTree)&&Gu($,D,!0)):O($,D,z,Q,Z,re,le,U,V)},H=($,D,z,te,Z,re,le,U,V)=>{D.slotScopeIds=U,$==null?D.shapeFlag&512?Z.ctx.activate(D,z,te,le,V):F(D,z,te,Z,re,le,V):P($,D,V)},F=($,D,z,te,Z,re,le)=>{const U=$.component=z0($,te,Z);if(_s($)&&(U.ctx.renderer=ae),G0(U,!1,le),U.asyncDep){if(Z&&Z.registerDep(U,A,le),!$.el){const V=U.subTree=x(Ct);y(null,V,D,z)}}else A(U,$,D,z,Z,re,le)},P=($,D,z)=>{const te=D.component=$.component;if(B0($,D,z))if(te.asyncDep&&!te.asyncResolved){C(te,D,z);return}else te.next=D,zg(te.update),te.effect.dirty=!0,te.update();else D.el=$.el,te.vnode=D},A=($,D,z,te,Z,re,le)=>{const U=()=>{if($.isMounted){let{next:Q,bu:J,u:oe,parent:de,vnode:he}=$;{const ln=zh($);if(ln){Q&&(Q.el=he.el,C($,Q,le)),ln.asyncDep.then(()=>{$.isUnmounted||U()});return}}let ve=Q,ge;er($,!1),Q?(Q.el=he.el,C($,Q,le)):Q=he,J&&Ti(J),(ge=Q.props&&Q.props.onVnodeBeforeUpdate)&&Bt(ge,de,Q,he),er($,!0);const Fe=va($),pt=$.subTree;$.subTree=Fe,g(pt,Fe,f(pt.el),B(pt),$,Z,re),Q.el=Fe.el,ve===null&&N0($,Fe.el),oe&&Ze(oe,Z),(ge=Q.props&&Q.props.onVnodeUpdated)&&Ze(()=>Bt(ge,de,Q,he),Z)}else{let Q;const{el:J,props:oe}=D,{bm:de,m:he,parent:ve}=$,ge=Br(D);if(er($,!1),de&&Ti(de),!ge&&(Q=oe&&oe.onVnodeBeforeMount)&&Bt(Q,ve,D),er($,!0),J&&fe){const Fe=()=>{$.subTree=va($),fe(J,$.subTree,$,Z,null)};ge?D.type.__asyncLoader().then(()=>!$.isUnmounted&&Fe()):Fe()}else{const Fe=$.subTree=va($);g(null,Fe,z,te,$,Z,re),D.el=Fe.el}if(he&&Ze(he,Z),!ge&&(Q=oe&&oe.onVnodeMounted)){const Fe=D;Ze(()=>Bt(Q,ve,Fe),Z)}(D.shapeFlag&256||ve&&Br(ve.vnode)&&ve.vnode.shapeFlag&256)&&$.a&&Ze($.a,Z),$.isMounted=!0,D=z=te=null}},V=$.effect=new Ou(U,It,()=>Nu(j),$.scope),j=$.update=()=>{V.dirty&&V.run()};j.i=$,j.id=$.uid,er($,!0),j()},C=($,D,z)=>{D.component=$;const te=$.vnode.props;$.vnode=D,$.next=null,v0($,D.props,te,z),y0($,D.children,z),Wn(),rc($),Kn()},O=($,D,z,te,Z,re,le,U,V=!1)=>{const j=$&&$.children,Q=$?$.shapeFlag:0,J=D.children,{patchFlag:oe,shapeFlag:de}=D;if(oe>0){if(oe&128){R(j,J,z,te,Z,re,le,U,V);return}else if(oe&256){S(j,J,z,te,Z,re,le,U,V);return}}de&8?(Q&16&&w(j,Z,re),J!==j&&l(z,J)):Q&16?de&16?R(j,J,z,te,Z,re,le,U,V):w(j,Z,re,!0):(Q&8&&l(z,""),de&16&&G(J,z,te,Z,re,le,U,V))},S=($,D,z,te,Z,re,le,U,V)=>{$=$||Dr,D=D||Dr;const j=$.length,Q=D.length,J=Math.min(j,Q);let oe;for(oe=0;oe<J;oe++){const de=D[oe]=V?Fn(D[oe]):Zt(D[oe]);g($[oe],de,z,null,Z,re,le,U,V)}j>Q?w($,Z,re,!0,!1,J):G(D,z,te,Z,re,le,U,V,J)},R=($,D,z,te,Z,re,le,U,V)=>{let j=0;const Q=D.length;let J=$.length-1,oe=Q-1;for(;j<=J&&j<=oe;){const de=$[j],he=D[j]=V?Fn(D[j]):Zt(D[j]);if(kn(de,he))g(de,he,z,null,Z,re,le,U,V);else break;j++}for(;j<=J&&j<=oe;){const de=$[J],he=D[oe]=V?Fn(D[oe]):Zt(D[oe]);if(kn(de,he))g(de,he,z,null,Z,re,le,U,V);else break;J--,oe--}if(j>J){if(j<=oe){const de=oe+1,he=de<Q?D[de].el:te;for(;j<=oe;)g(null,D[j]=V?Fn(D[j]):Zt(D[j]),z,he,Z,re,le,U,V),j++}}else if(j>oe)for(;j<=J;)N($[j],Z,re,!0),j++;else{const de=j,he=j,ve=new Map;for(j=he;j<=oe;j++){const Tt=D[j]=V?Fn(D[j]):Zt(D[j]);Tt.key!=null&&ve.set(Tt.key,j)}let ge,Fe=0;const pt=oe-he+1;let ln=!1,Ul=0;const ui=new Array(pt);for(j=0;j<pt;j++)ui[j]=0;for(j=de;j<=J;j++){const Tt=$[j];if(Fe>=pt){N(Tt,Z,re,!0);continue}let Jt;if(Tt.key!=null)Jt=ve.get(Tt.key);else for(ge=he;ge<=oe;ge++)if(ui[ge-he]===0&&kn(Tt,D[ge])){Jt=ge;break}Jt===void 0?N(Tt,Z,re,!0):(ui[Jt-he]=j+1,Jt>=Ul?Ul=Jt:ln=!0,g(Tt,D[Jt],z,null,Z,re,le,U,V),Fe++)}const Hl=ln?T0(ui):Dr;for(ge=Hl.length-1,j=pt-1;j>=0;j--){const Tt=he+j,Jt=D[Tt],zl=Tt+1<Q?D[Tt+1].el:te;ui[j]===0?g(null,Jt,z,zl,Z,re,le,U,V):ln&&(ge<0||j!==Hl[ge]?k(Jt,z,zl,2):ge--)}}},k=($,D,z,te,Z=null)=>{const{el:re,type:le,transition:U,children:V,shapeFlag:j}=$;if(j&6){k($.component.subTree,D,z,te);return}if(j&128){$.suspense.move(D,z,te);return}if(j&64){le.move($,D,z,ae);return}if(le===qe){r(re,D,z);for(let J=0;J<V.length;J++)k(V[J],D,z,te);r($.anchor,D,z);return}if(le===Pi){v($,D,z);return}if(te!==2&&j&1&&U)if(te===0)U.beforeEnter(re),r(re,D,z),Ze(()=>U.enter(re),Z);else{const{leave:J,delayLeave:oe,afterLeave:de}=U,he=()=>r(re,D,z),ve=()=>{J(re,()=>{he(),de&&de()})};oe?oe(re,he,ve):ve()}else r(re,D,z)},N=($,D,z,te=!1,Z=!1)=>{const{type:re,props:le,ref:U,children:V,dynamicChildren:j,shapeFlag:Q,patchFlag:J,dirs:oe,cacheIndex:de}=$;if(J===-2&&(Z=!1),U!=null&&eu(U,null,z,$,!0),de!=null&&(D.renderCache[de]=void 0),Q&256){D.ctx.deactivate($);return}const he=Q&1&&oe,ve=!Br($);let ge;if(ve&&(ge=le&&le.onVnodeBeforeUnmount)&&Bt(ge,D,$),Q&6)b($.component,z,te);else{if(Q&128){$.suspense.unmount(z,te);return}he&&Qn($,null,D,"beforeUnmount"),Q&64?$.type.remove($,D,z,ae,te):j&&!j.hasOnce&&(re!==qe||J>0&&J&64)?w(j,D,z,!1,!0):(re===qe&&J&384||!Z&&Q&16)&&w(V,D,z),te&&ie($)}(ve&&(ge=le&&le.onVnodeUnmounted)||he)&&Ze(()=>{ge&&Bt(ge,D,$),he&&Qn($,null,D,"unmounted")},z)},ie=$=>{const{type:D,el:z,anchor:te,transition:Z}=$;if(D===qe){Y(z,te);return}if(D===Pi){E($);return}const re=()=>{i(z),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if($.shapeFlag&1&&Z&&!Z.persisted){const{leave:le,delayLeave:U}=Z,V=()=>le(z,re);U?U($.el,re,V):V()}else re()},Y=($,D)=>{let z;for(;$!==D;)z=d($),i($),$=z;i(D)},b=($,D,z)=>{const{bum:te,scope:Z,update:re,subTree:le,um:U,m:V,a:j}=$;Zo(V),Zo(j),te&&Ti(te),Z.stop(),re&&(re.active=!1,N(le,$,D,z)),U&&Ze(U,D),Ze(()=>{$.isUnmounted=!0},D),D&&D.pendingBranch&&!D.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===D.pendingId&&(D.deps--,D.deps===0&&D.resolve())},w=($,D,z,te=!1,Z=!1,re=0)=>{for(let le=re;le<$.length;le++)N($[le],D,z,te,Z)},B=$=>{if($.shapeFlag&6)return B($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const D=d($.anchor||$.el),z=D&&D[jh];return z?d(z):D};let K=!1;const ne=($,D,z)=>{$==null?D._vnode&&N(D._vnode,null,null,!0):g(D._vnode||null,$,D,null,null,null,z),K||(K=!0,rc(),gh(),K=!1),D._vnode=$},ae={p:g,um:N,m:k,r:ie,mt:F,mc:G,pc:O,pbc:W,n:B,o:e};let ue,fe;return t&&([ue,fe]=t(ae)),{render:ne,hydrate:ue,createApp:h0(ne,ue)}}function pa({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function er({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function $0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Gu(e,t,n=!1){const r=e.children,i=t.children;if(me(r)&&me(i))for(let o=0;o<r.length;o++){const s=r[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=Fn(i[o]),a.el=s.el),!n&&a.patchFlag!==-2&&Gu(s,a)),a.type===ws&&(a.el=s.el)}}function T0(e){const t=e.slice(),n=[0];let r,i,o,s,a;const u=e.length;for(r=0;r<u;r++){const c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(o=0,s=n.length-1;o<s;)a=o+s>>1,e[n[a]]<c?o=a+1:s=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}function zh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zh(t)}function Zo(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const x0=Symbol.for("v-scx"),O0=()=>ut(x0);function Gh(e,t){return Es(e,null,t)}function I0(e,t){return Es(e,null,{flush:"post"})}const Co={};function $e(e,t,n){return Es(e,t,n)}function Es(e,t,{immediate:n,deep:r,flush:i,once:o,onTrack:s,onTrigger:a}=Ve){if(t&&o){const I=t;t=(...L)=>{I(...L),T()}}const u=st,c=I=>r===!0?I:Nn(I,r===!1?1:void 0);let l,f=!1,d=!1;if(ft(e)?(l=()=>e.value,f=Mr(e)):xi(e)?(l=()=>c(e),f=!0):me(e)?(d=!0,f=e.some(I=>xi(I)||Mr(I)),l=()=>e.map(I=>{if(ft(I))return I.value;if(xi(I))return c(I);if(Ee(I))return Vn(I,u,2)})):Ee(e)?t?l=()=>Vn(e,u,2):l=()=>(h&&h(),Mt(e,u,3,[p])):l=It,t&&r){const I=l;l=()=>Nn(I())}let h,p=I=>{h=v.onStop=()=>{Vn(I,u,4),h=v.onStop=void 0}},g;if(Cs)if(p=It,t?n&&Mt(t,u,3,[l(),d?[]:void 0,p]):l(),i==="sync"){const I=O0();g=I.__watcherHandles||(I.__watcherHandles=[])}else return It;let m=d?new Array(e.length).fill(Co):Co;const y=()=>{if(!(!v.active||!v.dirty))if(t){const I=v.run();(r||f||(d?I.some((L,G)=>jn(L,m[G])):jn(I,m)))&&(h&&h(),Mt(t,u,3,[I,m===Co?void 0:d&&m[0]===Co?[]:m,p]),m=I)}else v.run()};y.allowRecurse=!!t;let _;i==="sync"?_=y:i==="post"?_=()=>Ze(y,u&&u.suspense):(y.pre=!0,u&&(y.id=u.uid),_=()=>Nu(y));const v=new Ou(l,It,_),E=hg(),T=()=>{v.stop(),E&&$u(E.effects,v)};return t?n?y():m=v.run():i==="post"?Ze(v.run.bind(v),u&&u.suspense):v.run(),g&&g.push(T),T}function R0(e,t,n){const r=this.proxy,i=ze(e)?e.includes(".")?qh(r,e):()=>r[e]:e.bind(r,r);let o;Ee(t)?o=t:(o=t.handler,n=t);const s=Zi(this),a=Es(i,o.bind(r),n);return s(),a}function qh(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function Nn(e,t=1/0,n){if(t<=0||!ke(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ft(e))Nn(e.value,t,n);else if(me(e))for(let r=0;r<e.length;r++)Nn(e[r],t,n);else if(zd(e)||Lr(e))e.forEach(r=>{Nn(r,t,n)});else if(Wd(e)){for(const r in e)Nn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Nn(e[r],t,n)}return e}const P0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Wt(t)}Modifiers`]||e[`${qn(t)}Modifiers`];function D0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ve;let i=n;const o=t.startsWith("update:"),s=o&&P0(r,t.slice(7));s&&(s.trim&&(i=n.map(l=>ze(l)?l.trim():l)),s.number&&(i=n.map(rg)));let a,u=r[a=la(t)]||r[a=la(Wt(t))];!u&&o&&(u=r[a=la(qn(t))]),u&&Mt(u,e,6,i);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Mt(c,e,6,i)}}function Wh(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},a=!1;if(!Ee(e)){const u=c=>{const l=Wh(c,t,!0);l&&(a=!0,nt(s,l))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!a?(ke(e)&&r.set(e,null),null):(me(o)?o.forEach(u=>s[u]=null):nt(s,o),ke(e)&&r.set(e,s),s)}function bs(e,t){return!e||!fs(t)?!1:(t=t.slice(2).replace(/Once$/,""),xe(e,t[0].toLowerCase()+t.slice(1))||xe(e,qn(t))||xe(e,t))}function va(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:s,attrs:a,emit:u,render:c,renderCache:l,props:f,data:d,setupState:h,ctx:p,inheritAttrs:g}=e,m=Xo(e);let y,_;try{if(n.shapeFlag&4){const E=i||r,T=E;y=Zt(c.call(T,E,l,f,h,d,p)),_=a}else{const E=t;y=Zt(E.length>1?E(f,{attrs:a,slots:s,emit:u}):E(f,null)),_=t.props?a:L0(a)}}catch(E){Di.length=0,ms(E,e,1),y=x(Ct)}let v=y;if(_&&g!==!1){const E=Object.keys(_),{shapeFlag:T}=v;E.length&&T&7&&(o&&E.some(Su)&&(_=F0(_,o)),v=En(v,_,!1,!0))}return n.dirs&&(v=En(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),y=v,Xo(m),y}const L0=e=>{let t;for(const n in e)(n==="class"||n==="style"||fs(n))&&((t||(t={}))[n]=e[n]);return t},F0=(e,t)=>{const n={};for(const r in e)(!Su(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function B0(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:a,patchFlag:u}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?mc(r,s,c):!!s;if(u&8){const l=t.dynamicProps;for(let f=0;f<l.length;f++){const d=l[f];if(s[d]!==r[d]&&!bs(c,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?mc(r,s,c):!0:!!s;return!1}function mc(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(t[o]!==e[o]&&!bs(n,o))return!0}return!1}function N0({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const nu=e=>e.__isSuspense;function k0(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Gg(e)}const qe=Symbol.for("v-fgt"),ws=Symbol.for("v-txt"),Ct=Symbol.for("v-cmt"),Pi=Symbol.for("v-stc"),Di=[];let Rt=null;function Se(e=!1){Di.push(Rt=e?null:[])}function M0(){Di.pop(),Rt=Di[Di.length-1]||null}let Hi=1;function gc(e){Hi+=e,e<0&&Rt&&(Rt.hasOnce=!0)}function Kh(e){return e.dynamicChildren=Hi>0?Rt||Dr:null,M0(),Hi>0&&Rt&&Rt.push(e),e}function We(e,t,n,r,i,o){return Kh(Ae(e,t,n,r,i,o,!0))}function Qe(e,t,n,r,i){return Kh(x(e,t,n,r,i,!0))}function Vr(e){return e?e.__v_isVNode===!0:!1}function kn(e,t){return e.type===t.type&&e.key===t.key}const Yh=({key:e})=>e!=null?e:null,Vo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ze(e)||ft(e)||Ee(e)?{i:tt,r:e,k:t,f:!!n}:e:null);function Ae(e,t=null,n=null,r=0,i=null,o=e===qe?0:1,s=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yh(t),ref:t&&Vo(t),scopeId:gs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:tt};return a?(qu(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=ze(n)?8:16),Hi>0&&!s&&Rt&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&Rt.push(u),u}const x=V0;function V0(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Th)&&(e=Ct),Vr(e)){const a=En(e,t,!0);return n&&qu(a,n),Hi>0&&!o&&Rt&&(a.shapeFlag&6?Rt[Rt.indexOf(e)]=a:Rt.push(a)),a.patchFlag=-2,a}if(Y0(e)&&(e=e.__vccOpts),t){t=j0(t);let{class:a,style:u}=t;a&&!ze(a)&&(t.class=fr(a)),ke(u)&&(ch(u)&&!me(u)&&(u=nt({},u)),t.style=ps(u))}const s=ze(e)?1:nu(e)?128:E0(e)?64:ke(e)?4:Ee(e)?2:0;return Ae(e,t,n,r,i,s,o,!0)}function j0(e){return e?ch(e)||Lh(e)?nt({},e):e:null}function En(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:s,children:a,transition:u}=e,c=t?rt(i||{},t):i,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Yh(c),ref:t&&t.ref?n&&o?me(o)?o.concat(Vo(t)):[o,Vo(t)]:Vo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&En(e.ssContent),ssFallback:e.ssFallback&&En(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&Ui(l,u.clone(l)),l}function Ln(e=" ",t=0){return x(ws,null,e,t)}function l6(e,t){const n=x(Pi,null,e);return n.staticCount=t,n}function Nt(e="",t=!1){return t?(Se(),Qe(Ct,null,e)):x(Ct,null,e)}function Zt(e){return e==null||typeof e=="boolean"?x(Ct):me(e)?x(qe,null,e.slice()):typeof e=="object"?Fn(e):x(ws,null,String(e))}function Fn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:En(e)}function qu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),qu(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Lh(t)?t._ctx=tt:i===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ee(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),r&64?(n=16,t=[Ln(t)]):n=8);e.children=t,e.shapeFlag|=n}function rt(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=fr([t.class,r.class]));else if(i==="style")t.style=ps([t.style,r.style]);else if(fs(i)){const o=t[i],s=r[i];s&&o!==s&&!(me(o)&&o.includes(s))&&(t[i]=o?[].concat(o,s):s)}else i!==""&&(t[i]=r[i])}return t}function Bt(e,t,n,r=null){Mt(e,t,7,[n,r])}const U0=Rh();let H0=0;function z0(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||U0,o={uid:H0++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new fg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bh(r,i),emitsOptions:Wh(r,i),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:r.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=D0.bind(null,o),e.ce&&e.ce(o),o}let st=null;const on=()=>st||tt;let Qo,ru;{const e=xu(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(s=>s(o)):i[0](o)}};Qo=t("__VUE_INSTANCE_SETTERS__",n=>st=n),ru=t("__VUE_SSR_SETTERS__",n=>Cs=n)}const Zi=e=>{const t=st;return Qo(e),e.scope.on(),()=>{e.scope.off(),Qo(t)}},_c=()=>{st&&st.scope.off(),Qo(null)};function Xh(e){return e.vnode.shapeFlag&4}let Cs=!1;function G0(e,t=!1,n=!1){t&&ru(t);const{props:r,children:i}=e.vnode,o=Xh(e);p0(e,r,o,t),_0(e,i,n);const s=o?q0(e,t):void 0;return t&&ru(!1),s}function q0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,s0);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?K0(e):null,o=Zi(e);Wn();const s=Vn(r,e,0,[e.props,i]);if(Kn(),o(),Gd(s)){if(s.then(_c,_c),t)return s.then(a=>{yc(e,a,t)}).catch(a=>{ms(a,e,0)});e.asyncDep=s}else yc(e,s,t)}else Jh(e,t)}function yc(e,t,n){Ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=ph(t)),Jh(e,n)}let Ec;function Jh(e,t,n){const r=e.type;if(!e.render){if(!t&&Ec&&!r.render){const i=r.template||Hu(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:u}=r,c=nt(nt({isCustomElement:o,delimiters:a},s),u);r.render=Ec(i,c)}}e.render=r.render||It}{const i=Zi(e);Wn();try{a0(e)}finally{Kn(),i()}}}const W0={get(e,t){return At(e,"get",""),e[t]}};function K0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,W0),slots:e.slots,emit:e.emit,expose:t}}function As(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ph(Fg(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Oi)return Oi[n](e)},has(t,n){return n in t||n in Oi}})):e.proxy}function iu(e,t=!0){return Ee(e)?e.displayName||e.name:e.name||t&&e.__name}function Y0(e){return Ee(e)&&"__vccOpts"in e}const ce=(e,t)=>Bg(e,t,Cs);function Qi(e,t,n){const r=arguments.length;return r===2?ke(t)&&!me(t)?Vr(t)?x(e,null,[t]):x(e,t):x(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vr(n)&&(n=[n]),x(e,t,n))}const X0="3.4.33";/**
* @vue/runtime-dom v3.4.33
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const J0="http://www.w3.org/2000/svg",Z0="http://www.w3.org/1998/Math/MathML",pn=typeof document!="undefined"?document:null,bc=pn&&pn.createElement("template"),Q0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?pn.createElementNS(J0,e):t==="mathml"?pn.createElementNS(Z0,e):n?pn.createElement(e,{is:n}):pn.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>pn.createTextNode(e),createComment:e=>pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{bc.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=bc.content;if(r==="svg"||r==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xn="transition",li="animation",zi=Symbol("_vtc"),Ss=(e,{slots:t})=>Qi(Yg,e_(e),t);Ss.displayName="Transition";const Zh={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};Ss.props=nt({},bh,Zh);const tr=(e,t=[])=>{me(e)?e.forEach(n=>n(...t)):e&&e(...t)},wc=e=>e?me(e)?e.some(t=>t.length>1):e.length>1:!1;function e_(e){const t={};for(const q in e)q in Zh||(t[q]=e[q]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:c=s,appearToClass:l=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=t_(i),g=p&&p[0],m=p&&p[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:v,onLeave:E,onLeaveCancelled:T,onBeforeAppear:I=y,onAppear:L=_,onAppearCancelled:G=v}=t,M=(q,H,F)=>{nr(q,H?l:a),nr(q,H?c:s),F&&F()},W=(q,H)=>{q._isLeaving=!1,nr(q,f),nr(q,h),nr(q,d),H&&H()},ee=q=>(H,F)=>{const P=q?L:_,A=()=>M(H,q,F);tr(P,[H,A]),Cc(()=>{nr(H,q?u:o),On(H,q?l:a),wc(P)||Ac(H,r,g,A)})};return nt(t,{onBeforeEnter(q){tr(y,[q]),On(q,o),On(q,s)},onBeforeAppear(q){tr(I,[q]),On(q,u),On(q,c)},onEnter:ee(!1),onAppear:ee(!0),onLeave(q,H){q._isLeaving=!0;const F=()=>W(q,H);On(q,f),On(q,d),i_(),Cc(()=>{!q._isLeaving||(nr(q,f),On(q,h),wc(E)||Ac(q,r,m,F))}),tr(E,[q,F])},onEnterCancelled(q){M(q,!1),tr(v,[q])},onAppearCancelled(q){M(q,!0),tr(G,[q])},onLeaveCancelled(q){W(q),tr(T,[q])}})}function t_(e){if(e==null)return null;if(ke(e))return[ma(e.enter),ma(e.leave)];{const t=ma(e);return[t,t]}}function ma(e){return ig(e)}function On(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zi]||(e[zi]=new Set)).add(t)}function nr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zi];n&&(n.delete(t),n.size||(e[zi]=void 0))}function Cc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let n_=0;function Ac(e,t,n,r){const i=e._endId=++n_,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:a,propCount:u}=r_(e,t);if(!s)return r();const c=s+"end";let l=0;const f=()=>{e.removeEventListener(c,d),o()},d=h=>{h.target===e&&++l>=u&&f()};setTimeout(()=>{l<u&&f()},a+1),e.addEventListener(c,d)}function r_(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),i=r(`${xn}Delay`),o=r(`${xn}Duration`),s=Sc(i,o),a=r(`${li}Delay`),u=r(`${li}Duration`),c=Sc(a,u);let l=null,f=0,d=0;t===xn?s>0&&(l=xn,f=s,d=o.length):t===li?c>0&&(l=li,f=c,d=u.length):(f=Math.max(s,c),l=f>0?s>c?xn:li:null,d=l?l===xn?o.length:u.length:0);const h=l===xn&&/\b(transform|all)(,|$)/.test(r(`${xn}Property`).toString());return{type:l,timeout:f,propCount:d,hasTransform:h}}function Sc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>$c(n)+$c(e[r])))}function $c(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function i_(){return document.body.offsetHeight}function o_(e,t,n){const r=e[zi];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const es=Symbol("_vod"),Qh=Symbol("_vsh"),Wr={beforeMount(e,{value:t},{transition:n}){e[es]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ci(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ci(e,!0),r.enter(e)):r.leave(e,()=>{ci(e,!1)}):ci(e,t))},beforeUnmount(e,{value:t}){ci(e,t)}};function ci(e,t){e.style.display=t?e[es]:"none",e[Qh]=!t}const ep=Symbol("");function s_(e){const t=on();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>su(o,i))},r=()=>{const i=e(t.proxy);ou(t.subTree,i),n(i)};Xe(()=>{I0(r);const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Xn(()=>i.disconnect())})}function ou(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ou(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)su(e.el,t);else if(e.type===qe)e.children.forEach(n=>ou(n,t));else if(e.type===Pi){let{el:n,anchor:r}=e;for(;n&&(su(n,t),n!==r);)n=n.nextSibling}}function su(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[ep]=r}}const a_=/(^|;)\s*display\s*:/;function u_(e,t,n){const r=e.style,i=ze(n);let o=!1;if(n&&!i){if(t)if(ze(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&jo(r,a,"")}else for(const s in t)n[s]==null&&jo(r,s,"");for(const s in n)s==="display"&&(o=!0),jo(r,s,n[s])}else if(i){if(t!==n){const s=r[ep];s&&(n+=";"+s),r.cssText=n,o=a_.test(n)}}else t&&e.removeAttribute("style");es in e&&(e[es]=o?r.display:"",e[Qh]&&(r.display="none"))}const Tc=/\s*!important$/;function jo(e,t,n){if(me(n))n.forEach(r=>jo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=l_(e,t);Tc.test(n)?e.setProperty(qn(r),n.replace(Tc,""),"important"):e[r]=n}}const xc=["Webkit","Moz","ms"],ga={};function l_(e,t){const n=ga[t];if(n)return n;let r=Wt(t);if(r!=="filter"&&r in e)return ga[t]=r;r=hs(r);for(let i=0;i<xc.length;i++){const o=xc[i]+r;if(o in e)return ga[t]=o}return t}const Oc="http://www.w3.org/1999/xlink";function Ic(e,t,n,r,i,o=cg(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Oc,t.slice(6,t.length)):e.setAttributeNS(Oc,t,n):n==null||o&&!Yd(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Gn(n)?String(n):n)}function c_(e,t,n,r){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const s=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?"":String(n);(s!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Yd(n):n==null&&s==="string"?(n="",o=!0):s==="number"&&(n=0,o=!0)}try{e[t]=n}catch(s){}o&&e.removeAttribute(t)}function f_(e,t,n,r){e.addEventListener(t,n,r)}function d_(e,t,n,r){e.removeEventListener(t,n,r)}const Rc=Symbol("_vei");function h_(e,t,n,r,i=null){const o=e[Rc]||(e[Rc]={}),s=o[t];if(r&&s)s.value=r;else{const[a,u]=p_(t);if(r){const c=o[t]=g_(r,i);f_(e,a,c,u)}else s&&(d_(e,a,s,u),o[t]=void 0)}}const Pc=/(?:Once|Passive|Capture)$/;function p_(e){let t;if(Pc.test(e)){t={};let r;for(;r=e.match(Pc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):qn(e.slice(2)),t]}let _a=0;const v_=Promise.resolve(),m_=()=>_a||(v_.then(()=>_a=0),_a=Date.now());function g_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Mt(__(r,n.value),t,5,[r])};return n.value=e,n.attached=m_(),n}function __(e,t){if(me(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Dc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,y_=(e,t,n,r,i,o)=>{const s=i==="svg";t==="class"?o_(e,r,s):t==="style"?u_(e,n,r):fs(t)?Su(t)||h_(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):E_(e,t,r,s))?(c_(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ic(e,t,r,s,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ic(e,t,r,s))};function E_(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dc(t)&&Ee(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Dc(t)&&ze(n)?!1:t in e}const b_=["ctrl","shift","alt","meta"],w_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>b_.some(n=>e[`${n}Key`]&&!t.includes(n))},c6=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let s=0;s<t.length;s++){const a=w_[t[s]];if(a&&a(i,t))return}return e(i,...o)})},C_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},A_=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=qn(i.key);if(t.some(s=>s===o||C_[s]===o))return e(i)})},S_=nt({patchProp:y_},Q0);let Lc;function $_(){return Lc||(Lc=A0(S_))}const tp=(...e)=>{const t=$_().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=x_(r);if(!i)return;const o=t._component;!Ee(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,T_(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function T_(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function x_(e){return ze(e)?document.querySelector(e):e}const O_=["/oauth"];function ya(){const{pathname:e}=window.location,t=document.documentElement,n=t.clientWidth;if(!n)return;const r=16,i=O_.includes(e)?1440:375;let o=r*(n/i);o<=12&&(o=12),t.style.fontSize=o+"px"}var sn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const I_=pe({setup(){const e={overlayBackgroundColor:"rgba(0, 0, 0, 0.65)"};return Xe(()=>{ya(),window.addEventListener("resize",ya)}),Xn(()=>{window.removeEventListener("resize",ya)}),{themeVars:e}}});function R_(e,t,n,r,i,o){const s=mt("router-view"),a=mt("van-config-provider");return Se(),Qe(a,{"theme-vars":e.themeVars},{default:Me(()=>[x(s)]),_:1},8,["theme-vars"])}var P_=sn(I_,[["render",R_]]);const je=e=>e!=null,Gi=e=>typeof e=="function",Kr=e=>e!==null&&typeof e=="object",np=e=>Kr(e)&&Gi(e.then)&&Gi(e.catch),rp=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),D_=()=>Yr?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function qi(){}const Be=Object.assign,Yr=typeof window!="undefined";function Fc(e,t){const n=t.split(".");let r=e;return n.forEach(i=>{var o;r=Kr(r)&&(o=r[i])!=null?o:""}),r}function Un(e,t,n){return t.reduce((r,i)=>((!n||e[i]!==void 0)&&(r[i]=e[i]),r),{})}const Bc=e=>Array.isArray(e)?e:[e],yt=null,_e=[Number,String],ye={type:Boolean,default:!0},Uo=e=>({type:e,required:!0}),$s=()=>({type:Array,default:()=>[]}),L_=e=>({type:Number,default:e}),at=e=>({type:_e,default:e}),Te=e=>({type:String,default:e});var Vt=typeof window!="undefined";function jr(e){return Vt?requestAnimationFrame(e):-1}function Pr(e){jr(()=>jr(e))}var F_=e=>e===window,Nc=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),Pt=e=>{const t=be(e);if(F_(t)){const n=t.innerWidth,r=t.innerHeight;return Nc(n,r)}return t!=null&&t.getBoundingClientRect?t.getBoundingClientRect():Nc(0,0)};function wn(e){const t=ut(e,null);if(t){const n=on(),{link:r,unlink:i,internalChildren:o}=t;r(n),Xn(()=>i(n));const s=ce(()=>o.indexOf(n));return{parent:t,index:s}}return{parent:null,index:se(-1)}}function B_(e){const t=[],n=r=>{Array.isArray(r)&&r.forEach(i=>{var o;Vr(i)&&(t.push(i),(o=i.component)!=null&&o.subTree&&(t.push(i.component.subTree),n(i.component.subTree.children)),i.children&&n(i.children))})};return n(e),t}var kc=(e,t)=>{const n=e.indexOf(t);return n===-1?e.findIndex(r=>t.key!==void 0&&t.key!==null&&r.type===t.type&&r.key===t.key):n};function N_(e,t,n){const r=B_(e.subTree.children);n.sort((o,s)=>kc(r,o.vnode)-kc(r,s.vnode));const i=n.map(o=>o.proxy);t.sort((o,s)=>{const a=i.indexOf(o),u=i.indexOf(s);return a-u})}function Cn(e){const t=lt([]),n=lt([]),r=on();return{children:t,linkChildren:o=>{yn(e,Object.assign({link:u=>{u.proxy&&(n.push(u),t.push(u.proxy),N_(r,t,n))},unlink:u=>{const c=n.indexOf(u);t.splice(c,1),n.splice(c,1)},children:t,internalChildren:n},o))}}}function Ts(e){let t;Xe(()=>{e(),Pe(()=>{t=!0})}),qr(()=>{t&&e()})}function an(e,t,n={}){if(!Vt)return;const{target:r=window,passive:i=!1,capture:o=!1}=n;let s=!1,a;const u=f=>{if(s)return;const d=be(f);d&&!a&&(d.addEventListener(e,t,{capture:o,passive:i}),a=!0)},c=f=>{if(s)return;const d=be(f);d&&a&&(d.removeEventListener(e,t,o),a=!1)};Xn(()=>c(r)),mr(()=>c(r)),Ts(()=>u(r));let l;return ft(r)&&(l=$e(r,(f,d)=>{c(d),u(f)})),()=>{l==null||l(),c(r),s=!0}}function k_(e,t,n={}){if(!Vt)return;const{eventName:r="click"}=n;an(r,o=>{(Array.isArray(e)?e:[e]).every(u=>{const c=be(u);return c&&!c.contains(o.target)})&&t(o)},{target:document})}var Ao,Ea;function M_(){if(!Ao&&(Ao=se(0),Ea=se(0),Vt)){const e=()=>{Ao.value=window.innerWidth,Ea.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Ao,height:Ea}}var V_=/scroll|auto|overlay/i,ip=Vt?window:void 0;function j_(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Wu(e,t=ip){let n=e;for(;n&&n!==t&&j_(n);){const{overflowY:r}=window.getComputedStyle(n);if(V_.test(r))return n;n=n.parentNode}return t}function eo(e,t=ip){const n=se();return Xe(()=>{e.value&&(n.value=Wu(e.value,t))}),n}var So;function U_(){if(!So&&(So=se("visible"),Vt)){const e=()=>{So.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return So}var op=Symbol("van-field");function Ku(e){const t=ut(op,null);t&&!t.customValue.value&&(t.customValue.value=e,$e(e,()=>{t.resetValidation(),t.validateWithTrigger("onChange")}))}function xs(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function au(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function Yu(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Xu(e){au(window,e),au(document.body,e)}function Mc(e,t){if(e===window)return 0;const n=t?xs(t):Yu();return Pt(e).top+n}const H_=D_();function z_(){H_&&Xu(Yu())}const G_=e=>e.stopPropagation();function Hn(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&G_(e)}function Wi(e){const t=be(e);if(!t)return!1;const n=window.getComputedStyle(t),r=n.display==="none",i=t.offsetParent===null&&n.position!=="fixed";return r||i}const{width:Ju,height:Zu}=M_();function Ke(e){if(je(e))return rp(e)?`${e}px`:String(e)}function sp(e){if(je(e)){if(Array.isArray(e))return{width:Ke(e[0]),height:Ke(e[1])};const t=Ke(e);return{width:t,height:t}}}function Os(e){const t={};return e!==void 0&&(t.zIndex=+e),t}let ba;function q_(){if(!ba){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;ba=parseFloat(t)}return ba}function W_(e){return e=e.replace(/rem/g,""),+e*q_()}function K_(e){return e=e.replace(/vw/g,""),+e*Ju.value/100}function Y_(e){return e=e.replace(/vh/g,""),+e*Zu.value/100}function ap(e){if(typeof e=="number")return e;if(Yr){if(e.includes("rem"))return W_(e);if(e.includes("vw"))return K_(e);if(e.includes("vh"))return Y_(e)}return parseFloat(e)}const X_=/-(\w)/g,up=e=>e.replace(X_,(t,n)=>n.toUpperCase()),J_=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""),wa=(e,t,n)=>Math.min(Math.max(e,t),n);function Vc(e,t,n){const r=e.indexOf(t);return r===-1?e:t==="-"&&r!==0?e.slice(0,r):e.slice(0,r+1)+e.slice(r).replace(n,"")}function Z_(e,t=!0,n=!0){t?e=Vc(e,".",/\./g):e=e.split(".")[0],n?e=Vc(e,"-",/-/g):e=e.replace(/-/,"");const r=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(r,"")}const{hasOwnProperty:Q_}=Object.prototype;function ey(e,t,n){const r=t[n];!je(r)||(!Q_.call(e,n)||!Kr(r)?e[n]=r:e[n]=lp(Object(e[n]),r))}function lp(e,t){return Object.keys(t).forEach(n=>{ey(e,t,n)}),e}var ty={name:"\u59D3\u540D",tel:"\u7535\u8BDD",save:"\u4FDD\u5B58",confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88",delete:"\u5220\u9664",loading:"\u52A0\u8F7D\u4E2D...",noCoupon:"\u6682\u65E0\u4F18\u60E0\u5238",nameEmpty:"\u8BF7\u586B\u5199\u59D3\u540D",addContact:"\u6DFB\u52A0\u8054\u7CFB\u4EBA",telInvalid:"\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",vanCalendar:{end:"\u7ED3\u675F",start:"\u5F00\u59CB",title:"\u65E5\u671F\u9009\u62E9",weekdays:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],monthTitle:(e,t)=>`${e}\u5E74${t}\u6708`,rangePrompt:e=>`\u6700\u591A\u9009\u62E9 ${e} \u5929`},vanCascader:{select:"\u8BF7\u9009\u62E9"},vanPagination:{prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875"},vanPullRefresh:{pulling:"\u4E0B\u62C9\u5373\u53EF\u5237\u65B0...",loosing:"\u91CA\u653E\u5373\u53EF\u5237\u65B0..."},vanSubmitBar:{label:"\u5408\u8BA1:"},vanCoupon:{unlimited:"\u65E0\u95E8\u69DB",discount:e=>`${e}\u6298`,condition:e=>`\u6EE1${e}\u5143\u53EF\u7528`},vanCouponCell:{title:"\u4F18\u60E0\u5238",count:e=>`${e}\u5F20\u53EF\u7528`},vanCouponList:{exchange:"\u5151\u6362",close:"\u4E0D\u4F7F\u7528",enable:"\u53EF\u7528",disabled:"\u4E0D\u53EF\u7528",placeholder:"\u8F93\u5165\u4F18\u60E0\u7801"},vanAddressEdit:{area:"\u5730\u533A",postal:"\u90AE\u653F\u7F16\u7801",areaEmpty:"\u8BF7\u9009\u62E9\u5730\u533A",addressEmpty:"\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",postalEmpty:"\u90AE\u653F\u7F16\u7801\u4E0D\u6B63\u786E",addressDetail:"\u8BE6\u7EC6\u5730\u5740",defaultAddress:"\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"},vanAddressList:{add:"\u65B0\u589E\u5730\u5740"}};const jc=se("zh-CN"),Uc=lt({"zh-CN":ty}),ny={messages(){return Uc[jc.value]},use(e,t){jc.value=e,this.add({[e]:t})},add(e={}){lp(Uc,e)}};var ry=ny;function iy(e){const t=up(e)+".";return(n,...r)=>{const i=ry.messages(),o=Fc(i,t+n)||Fc(i,n);return Gi(o)?o(...r):o}}function uu(e,t){return t?typeof t=="string"?` ${e}--${t}`:Array.isArray(t)?t.reduce((n,r)=>n+uu(e,r),""):Object.keys(t).reduce((n,r)=>n+(t[r]?uu(e,r):""),""):""}function oy(e){return(t,n)=>(t&&typeof t!="string"&&(n=t,t=""),t=t?`${e}__${t}`:e,`${t}${uu(t,n)}`)}function we(e){const t=`van-${e}`;return[t,oy(t),iy(t)]}const Xr="van-hairline",sy=`${Xr}--top`,ay=`${Xr}--left`,uy=`${Xr}--bottom`,ly=`${Xr}--surround`,Qu=`${Xr}--top-bottom`,Ur="van-haptics-feedback",cp=Symbol("van-form");function el(e,{args:t=[],done:n,canceled:r}){if(e){const i=e.apply(null,t);np(i)?i.then(o=>{o?n():r&&r()}).catch(qi):i?n():r&&r()}else n()}function Ce(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(up(`-${n}`),e))},e}const fp=Symbol();function tl(e){const t=ut(fp,null);t&&$e(t,n=>{n&&e()})}const cy=(e,t)=>{const n=se(),r=()=>{n.value=Pt(e).height};return Xe(()=>{if(Pe(r),t)for(let i=1;i<=3;i++)setTimeout(r,100*i)}),tl(()=>Pe(r)),n};function dp(e,t){const n=cy(e,!0);return r=>x("div",{class:t("placeholder"),style:{height:n.value?`${n.value}px`:void 0}},[r()])}const[hp,Hc]=we("action-bar"),pp=Symbol(hp),fy={placeholder:Boolean,safeAreaInsetBottom:ye};var dy=pe({name:hp,props:fy,setup(e,{slots:t}){const n=se(),r=dp(n,Hc),{linkChildren:i}=Cn(pp);i();const o=()=>{var s;return x("div",{ref:n,class:[Hc(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[(s=t.default)==null?void 0:s.call(t)])};return()=>e.placeholder?r(o):o()}});const hy=Ce(dy);function dt(e){const t=on();t&&Be(t.proxy,e)}const Is={to:[String,Object],url:String,replace:Boolean};function vp({to:e,url:t,replace:n,$router:r}){e&&r?r[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function nl(){const e=on().proxy;return()=>vp(e)}const[py,zc]=we("badge"),vy={dot:Boolean,max:_e,tag:Te("div"),color:String,offset:Array,content:_e,showZero:ye,position:Te("top-right")};var my=pe({name:py,props:vy,setup(e,{slots:t}){const n=()=>{if(t.content)return!0;const{content:s,showZero:a}=e;return je(s)&&s!==""&&(a||s!==0&&s!=="0")},r=()=>{const{dot:s,max:a,content:u}=e;if(!s&&n())return t.content?t.content():je(a)&&rp(u)&&+u>a?`${a}+`:u},i=ce(()=>{const s={background:e.color};if(e.offset){const[a,u]=e.offset;t.default?(s.top=Ke(u),typeof a=="number"?s.right=Ke(-a):s.right=a.startsWith("-")?a.replace("-",""):`-${a}`):(s.marginTop=Ke(u),s.marginLeft=Ke(a))}return s}),o=()=>{if(n()||e.dot)return x("div",{class:zc([e.position,{dot:e.dot,fixed:!!t.default}]),style:i.value},[r()])};return()=>{if(t.default){const{tag:s}=e;return x(s,{class:zc("wrapper")},{default:()=>[t.default(),o()]})}return o()}}});const mp=Ce(my);let gp=2e3;const gy=()=>++gp,_y=e=>{gp=e},[_p,yy]=we("config-provider"),yp=Symbol(_p),Ey={tag:Te("div"),zIndex:Number,themeVars:Object,iconPrefix:String};function by(e){const t={};return Object.keys(e).forEach(n=>{t[`--van-${J_(n)}`]=e[n]}),t}var wy=pe({name:_p,props:Ey,setup(e,{slots:t}){const n=ce(()=>{if(e.themeVars)return by(e.themeVars)});return yn(yp,e),Gh(()=>{e.zIndex!==void 0&&_y(e.zIndex)}),()=>x(e.tag,{class:yy(),style:n.value},{default:()=>{var r;return[(r=t.default)==null?void 0:r.call(t)]}})}});const[Cy,Gc]=we("icon"),Ay=e=>e==null?void 0:e.includes("/"),Sy={dot:Boolean,tag:Te("i"),name:String,size:_e,badge:_e,color:String,badgeProps:Object,classPrefix:String};var $y=pe({name:Cy,props:Sy,setup(e,{slots:t}){const n=ut(yp,null),r=ce(()=>e.classPrefix||(n==null?void 0:n.iconPrefix)||Gc());return()=>{const{tag:i,dot:o,name:s,size:a,badge:u,color:c}=e,l=Ay(s);return x(mp,rt({dot:o,tag:i,class:[r.value,l?"":`${r.value}-${s}`],style:{color:c,fontSize:Ke(a)},content:u},e.badgeProps),{default:()=>{var f;return[(f=t.default)==null?void 0:f.call(t),l&&x("img",{class:Gc("image"),src:s},null)]}})}}});const Ye=Ce($y),[Ty,Li]=we("loading"),xy=Array(12).fill(null).map((e,t)=>x("i",{class:Li("line",String(t+1))},null)),Oy=x("svg",{class:Li("circular"),viewBox:"25 25 50 50"},[x("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),Iy={size:_e,type:Te("circular"),color:String,vertical:Boolean,textSize:_e,textColor:String};var Ry=pe({name:Ty,props:Iy,setup(e,{slots:t}){const n=ce(()=>Be({color:e.color},sp(e.size))),r=()=>{var i;if(t.default)return x("span",{class:Li("text"),style:{fontSize:Ke(e.textSize),color:(i=e.textColor)!=null?i:e.color}},[t.default()])};return()=>{const{type:i,vertical:o}=e;return x("div",{class:Li([i,{vertical:o}]),"aria-live":"polite","aria-busy":!0},[x("span",{class:Li("spinner",i),style:n.value},[i==="spinner"?xy:Oy]),r()])}}});const Jr=Ce(Ry),[Py,br]=we("button"),Dy=Be({},Is,{tag:Te("button"),text:String,icon:String,type:Te("default"),size:Te("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:Te("button"),loadingSize:_e,loadingText:String,loadingType:String,iconPosition:Te("left")});var Ly=pe({name:Py,props:Dy,emits:["click"],setup(e,{emit:t,slots:n}){const r=nl(),i=()=>n.loading?n.loading():x(Jr,{size:e.loadingSize,type:e.loadingType,class:br("loading")},null),o=()=>{if(e.loading)return i();if(n.icon)return x("div",{class:br("icon")},[n.icon()]);if(e.icon)return x(Ye,{name:e.icon,class:br("icon"),classPrefix:e.iconPrefix},null)},s=()=>{let c;if(e.loading?c=e.loadingText:c=n.default?n.default():e.text,c)return x("span",{class:br("text")},[c])},a=()=>{const{color:c,plain:l}=e;if(c){const f={color:l?c:"white"};return l||(f.background=c),c.includes("gradient")?f.border=0:f.borderColor=c,f}},u=c=>{e.loading?Hn(c):e.disabled||(t("click",c),r())};return()=>{const{tag:c,type:l,size:f,block:d,round:h,plain:p,square:g,loading:m,disabled:y,hairline:_,nativeType:v,iconPosition:E}=e,T=[br([l,f,{plain:p,block:d,round:h,square:g,loading:m,disabled:y,hairline:_}]),{[ly]:_}];return x(c,{type:v,class:T,style:a(),disabled:y,onClick:u},{default:()=>[x("div",{class:br("content")},[E==="left"&&o(),s(),E==="right"&&o()])]})}}});const ts=Ce(Ly),[Fy,By]=we("action-bar-button"),Ny=Be({},Is,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean});var ky=pe({name:Fy,props:Ny,setup(e,{slots:t}){const n=nl(),{parent:r,index:i}=wn(pp),o=ce(()=>{if(r){const a=r.children[i.value-1];return!(a&&"isButton"in a)}}),s=ce(()=>{if(r){const a=r.children[i.value+1];return!(a&&"isButton"in a)}});return dt({isButton:!0}),()=>{const{type:a,icon:u,text:c,color:l,loading:f,disabled:d}=e;return x(ts,{class:By([a,{last:s.value,first:o.value}]),size:"large",type:a,icon:u,color:l,loading:f,disabled:d,onClick:n},{default:()=>[t.default?t.default():c]})}}});const qc=Ce(ky),Rs={show:Boolean,zIndex:_e,overlay:ye,duration:_e,teleport:[String,Object],lockScroll:ye,lazyRender:ye,beforeClose:Function,overlayStyle:Object,overlayClass:yt,transitionAppear:Boolean,closeOnClickOverlay:ye},Ep=Object.keys(Rs);function My(e,t){return e>t?"horizontal":t>e?"vertical":""}function rl(){const e=se(0),t=se(0),n=se(0),r=se(0),i=se(0),o=se(0),s=se(""),a=()=>s.value==="vertical",u=()=>s.value==="horizontal",c=()=>{n.value=0,r.value=0,i.value=0,o.value=0,s.value=""};return{move:d=>{const h=d.touches[0];n.value=(h.clientX<0?0:h.clientX)-e.value,r.value=h.clientY-t.value,i.value=Math.abs(n.value),o.value=Math.abs(r.value);const p=10;(!s.value||i.value<p&&o.value<p)&&(s.value=My(i.value,o.value))},start:d=>{c(),e.value=d.touches[0].clientX,t.value=d.touches[0].clientY},reset:c,startX:e,startY:t,deltaX:n,deltaY:r,offsetX:i,offsetY:o,direction:s,isVertical:a,isHorizontal:u}}let fi=0;const Wc="van-overflow-hidden";function Vy(e,t){const n=rl(),r="01",i="10",o=l=>{n.move(l);const f=n.deltaY.value>0?i:r,d=Wu(l.target,e.value),{scrollHeight:h,offsetHeight:p,scrollTop:g}=d;let m="11";g===0?m=p>=h?"00":"01":g+p>=h&&(m="10"),m!=="11"&&n.isVertical()&&!(parseInt(m,2)&parseInt(f,2))&&Hn(l,!0)},s=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",o,{passive:!1}),fi||document.body.classList.add(Wc),fi++},a=()=>{fi&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",o),fi--,fi||document.body.classList.remove(Wc))},u=()=>t()&&s(),c=()=>t()&&a();Ts(u),mr(c),Yn(c),$e(t,l=>{l?s():a()})}function il(e){const t=se(!1);return $e(e,n=>{n&&(t.value=n)},{immediate:!0}),n=>()=>t.value?n():null}const[jy,Uy]=we("overlay"),Hy={show:Boolean,zIndex:_e,duration:_e,className:yt,lockScroll:ye,lazyRender:ye,customStyle:Object};var zy=pe({name:jy,props:Hy,setup(e,{slots:t}){const n=se(),r=il(()=>e.show||!e.lazyRender),i=s=>{e.lockScroll&&Hn(s,!0)},o=r(()=>{var s;const a=Be(Os(e.zIndex),e.customStyle);return je(e.duration)&&(a.animationDuration=`${e.duration}s`),vr(x("div",{ref:n,style:a,class:[Uy(),e.className]},[(s=t.default)==null?void 0:s.call(t)]),[[Wr,e.show]])});return an("touchmove",i,{target:n}),()=>x(Ss,{name:"van-fade",appear:!0},{default:o})}});const Gy=Ce(zy),qy=Be({},Rs,{round:Boolean,position:Te("center"),closeIcon:Te("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Te("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Wy,Kc]=we("popup");var Ky=pe({name:Wy,inheritAttrs:!1,props:qy,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(e,{emit:t,attrs:n,slots:r}){let i,o;const s=se(),a=se(),u=il(()=>e.show||!e.lazyRender),c=ce(()=>{const T={zIndex:s.value};if(je(e.duration)){const I=e.position==="center"?"animationDuration":"transitionDuration";T[I]=`${e.duration}s`}return T}),l=()=>{i||(i=!0,s.value=e.zIndex!==void 0?+e.zIndex:gy(),t("open"))},f=()=>{i&&el(e.beforeClose,{done(){i=!1,t("close"),t("update:show",!1)}})},d=T=>{t("click-overlay",T),e.closeOnClickOverlay&&f()},h=()=>{if(e.overlay)return x(Gy,{show:e.show,class:e.overlayClass,zIndex:s.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0,onClick:d},{default:r["overlay-content"]})},p=T=>{t("click-close-icon",T),f()},g=()=>{if(e.closeable)return x(Ye,{role:"button",tabindex:0,name:e.closeIcon,class:[Kc("close-icon",e.closeIconPosition),Ur],classPrefix:e.iconPrefix,onClick:p},null)},m=()=>t("opened"),y=()=>t("closed"),_=T=>t("keydown",T),v=u(()=>{var T;const{round:I,position:L,safeAreaInsetTop:G,safeAreaInsetBottom:M}=e;return vr(x("div",rt({ref:a,style:c.value,role:"dialog",tabindex:0,class:[Kc({round:I,[L]:L}),{"van-safe-area-top":G,"van-safe-area-bottom":M}],onKeydown:_},n),[(T=r.default)==null?void 0:T.call(r),g()]),[[Wr,e.show]])}),E=()=>{const{position:T,transition:I,transitionAppear:L}=e,G=T==="center"?"van-fade":`van-popup-slide-${T}`;return x(Ss,{name:I||G,appear:L,onAfterEnter:m,onAfterLeave:y},{default:v})};return $e(()=>e.show,T=>{T&&!i&&(l(),n.tabindex===0&&Pe(()=>{var I;(I=a.value)==null||I.focus()})),!T&&i&&(i=!1,t("close"))}),dt({popupRef:a}),Vy(a,()=>e.show&&e.lockScroll),an("popstate",()=>{e.closeOnPopstate&&(f(),o=!1)}),Xe(()=>{e.show&&l()}),qr(()=>{o&&(t("update:show",!0),o=!1)}),mr(()=>{e.show&&e.teleport&&(f(),o=!0)}),yn(fp,()=>e.show),()=>e.teleport?x(Uh,{to:e.teleport},{default:()=>[h(),E()]}):x(qe,null,[h(),E()])}});const to=Ce(Ky),[Yy,Ut]=we("action-sheet"),Xy=Be({},Rs,{title:String,round:ye,actions:$s(),closeIcon:Te("cross"),closeable:ye,cancelText:String,description:String,closeOnPopstate:ye,closeOnClickAction:Boolean,safeAreaInsetBottom:ye}),Jy=[...Ep,"round","closeOnPopstate","safeAreaInsetBottom"];var Zy=pe({name:Yy,props:Xy,emits:["select","cancel","update:show"],setup(e,{slots:t,emit:n}){const r=l=>n("update:show",l),i=()=>{r(!1),n("cancel")},o=()=>{if(e.title)return x("div",{class:Ut("header")},[e.title,e.closeable&&x(Ye,{name:e.closeIcon,class:[Ut("close"),Ur],onClick:i},null)])},s=()=>{if(t.cancel||e.cancelText)return[x("div",{class:Ut("gap")},null),x("button",{type:"button",class:Ut("cancel"),onClick:i},[t.cancel?t.cancel():e.cancelText])]},a=(l,f)=>l.loading?x(Jr,{class:Ut("loading-icon")},null):t.action?t.action({action:l,index:f}):[x("span",{class:Ut("name")},[l.name]),l.subname&&x("div",{class:Ut("subname")},[l.subname])],u=(l,f)=>{const{color:d,loading:h,callback:p,disabled:g,className:m}=l,y=()=>{g||h||(p&&p(l),e.closeOnClickAction&&r(!1),Pe(()=>n("select",l,f)))};return x("button",{type:"button",style:{color:d},class:[Ut("item",{loading:h,disabled:g}),m],onClick:y},[a(l,f)])},c=()=>{if(e.description||t.description){const l=t.description?t.description():e.description;return x("div",{class:Ut("description")},[l])}};return()=>x(to,rt({class:Ut(),position:"bottom","onUpdate:show":r},Un(e,Jy)),{default:()=>{var l;return[o(),c(),x("div",{class:Ut("content")},[e.actions.map(u),(l=t.default)==null?void 0:l.call(t)]),s()]}})}});const Qy=Ce(Zy),[eE,wr]=we("cell"),Ps={icon:String,size:String,title:_e,value:_e,label:_e,center:Boolean,isLink:Boolean,border:ye,required:Boolean,iconPrefix:String,valueClass:yt,labelClass:yt,titleClass:yt,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},tE=Be({},Ps,Is);var nE=pe({name:eE,props:tE,setup(e,{slots:t}){const n=nl(),r=()=>{if(t.label||je(e.label))return x("div",{class:[wr("label"),e.labelClass]},[t.label?t.label():e.label])},i=()=>{if(t.title||je(e.title))return x("div",{class:[wr("title"),e.titleClass],style:e.titleStyle},[t.title?t.title():x("span",null,[e.title]),r()])},o=()=>{const u=t.value||t.default;if(u||je(e.value)){const l=t.title||je(e.title);return x("div",{class:[wr("value",{alone:!l}),e.valueClass]},[u?u():x("span",null,[e.value])])}},s=()=>{if(t.icon)return t.icon();if(e.icon)return x(Ye,{name:e.icon,class:wr("left-icon"),classPrefix:e.iconPrefix},null)},a=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const u=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return x(Ye,{name:u,class:wr("right-icon")},null)}};return()=>{var u,c;const{size:l,center:f,border:d,isLink:h,required:p}=e,g=(u=e.clickable)!=null?u:h,m={center:f,required:p,clickable:g,borderless:!d};return l&&(m[l]=!!l),x("div",{class:wr(m),role:g?"button":void 0,tabindex:g?0:void 0,onClick:n},[s(),i(),o(),a(),(c=t.extra)==null?void 0:c.call(t)])}}});const Ds=Ce(nE),[rE,iE]=we("form"),oE={colon:Boolean,disabled:Boolean,readonly:Boolean,showError:Boolean,labelWidth:_e,labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,submitOnEnter:ye,showErrorMessage:ye,errorMessageAlign:String,validateTrigger:{type:[String,Array],default:"onBlur"}};var sE=pe({name:rE,props:oE,emits:["submit","failed"],setup(e,{emit:t,slots:n}){const{children:r,linkChildren:i}=Cn(cp),o=m=>m?r.filter(y=>m.includes(y.name)):r,s=m=>new Promise((y,_)=>{const v=[];o(m).reduce((T,I)=>T.then(()=>{if(!v.length)return I.validate().then(L=>{L&&v.push(L)})}),Promise.resolve()).then(()=>{v.length?_(v):y()})}),a=m=>new Promise((y,_)=>{const v=o(m);Promise.all(v.map(E=>E.validate())).then(E=>{E=E.filter(Boolean),E.length?_(E):y()})}),u=m=>{const y=r.find(_=>_.name===m);return y?new Promise((_,v)=>{y.validate().then(E=>{E?v(E):_()})}):Promise.reject()},c=m=>typeof m=="string"?u(m):e.validateFirst?s(m):a(m),l=m=>{typeof m=="string"&&(m=[m]),o(m).forEach(_=>{_.resetValidation()})},f=()=>r.reduce((m,y)=>(m[y.name]=y.getValidationStatus(),m),{}),d=(m,y)=>{r.some(_=>_.name===m?(_.$el.scrollIntoView(y),!0):!1)},h=()=>r.reduce((m,y)=>(m[y.name]=y.formValue.value,m),{}),p=()=>{const m=h();c().then(()=>t("submit",m)).catch(y=>{t("failed",{values:m,errors:y}),e.scrollToError&&y[0].name&&d(y[0].name)})},g=m=>{Hn(m),p()};return i({props:e}),dt({submit:p,validate:c,getValues:h,scrollToField:d,resetValidation:l,getValidationStatus:f}),()=>{var m;return x("form",{class:iE(),onSubmit:g},[(m=n.default)==null?void 0:m.call(n)])}}});const aE=Ce(sE);function bp(e){return Array.isArray(e)?!e.length:e===0?!1:!e}function uE(e,t){if(bp(e)){if(t.required)return!1;if(t.validateEmpty===!1)return!0}return!(t.pattern&&!t.pattern.test(String(e)))}function lE(e,t){return new Promise(n=>{const r=t.validator(e,t);if(np(r)){r.then(n);return}n(r)})}function Yc(e,t){const{message:n}=t;return Gi(n)?n(e,t):n||""}function cE({target:e}){e.composing=!0}function Xc({target:e}){e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}function fE(e,t){const n=Yu();e.style.height="auto";let r=e.scrollHeight;if(Kr(t)){const{maxHeight:i,minHeight:o}=t;i!==void 0&&(r=Math.min(r,i)),o!==void 0&&(r=Math.max(r,o))}r&&(e.style.height=`${r}px`,Xu(n))}function dE(e){return e==="number"?{type:"text",inputmode:"decimal"}:e==="digit"?{type:"tel",inputmode:"numeric"}:{type:e}}function cn(e){return[...e].length}function Ca(e,t){return[...e].slice(0,t).join("")}let hE=0;function Ls(){const e=on(),{name:t="unknown"}=(e==null?void 0:e.type)||{};return`${t}-${++hE}`}const[pE,Ft]=we("field"),vE={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:_e,formatter:Function,clearIcon:Te("clear"),modelValue:at(""),inputAlign:String,placeholder:String,autocomplete:String,errorMessage:String,enterkeyhint:String,clearTrigger:Te("focus"),formatTrigger:Te("onChange"),error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null}},mE=Be({},Ps,vE,{rows:_e,type:Te("text"),rules:Array,autosize:[Boolean,Object],labelWidth:_e,labelClass:yt,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}});var gE=pe({name:pE,props:mE,emits:["blur","focus","clear","keypress","click-input","end-validate","start-validate","click-left-icon","click-right-icon","update:modelValue"],setup(e,{emit:t,slots:n}){const r=Ls(),i=lt({status:"unvalidated",focused:!1,validateMessage:""}),o=se(),s=se(),a=se(),{parent:u}=wn(cp),c=()=>{var w;return String((w=e.modelValue)!=null?w:"")},l=w=>{if(je(e[w]))return e[w];if(u&&je(u.props[w]))return u.props[w]},f=ce(()=>{const w=l("readonly");if(e.clearable&&!w){const B=c()!=="",K=e.clearTrigger==="always"||e.clearTrigger==="focus"&&i.focused;return B&&K}return!1}),d=ce(()=>a.value&&n.input?a.value():e.modelValue),h=w=>w.reduce((B,K)=>B.then(()=>{if(i.status==="failed")return;let{value:ne}=d;if(K.formatter&&(ne=K.formatter(ne,K)),!uE(ne,K)){i.status="failed",i.validateMessage=Yc(ne,K);return}if(K.validator)return bp(ne)&&K.validateEmpty===!1?void 0:lE(ne,K).then(ae=>{ae&&typeof ae=="string"?(i.status="failed",i.validateMessage=ae):ae===!1&&(i.status="failed",i.validateMessage=Yc(ne,K))})}),Promise.resolve()),p=()=>{i.status="unvalidated",i.validateMessage=""},g=()=>t("end-validate",{status:i.status}),m=(w=e.rules)=>new Promise(B=>{p(),w?(t("start-validate"),h(w).then(()=>{i.status==="failed"?(B({name:e.name,message:i.validateMessage}),g()):(i.status="passed",B(),g())})):B()}),y=w=>{if(u&&e.rules){const{validateTrigger:B}=u.props,K=Bc(B).includes(w),ne=e.rules.filter(ae=>ae.trigger?Bc(ae.trigger).includes(w):K);ne.length&&m(ne)}},_=w=>{var B;const{maxlength:K}=e;if(je(K)&&cn(w)>K){const ne=c();if(ne&&cn(ne)===+K)return ne;const ae=(B=o.value)==null?void 0:B.selectionEnd;if(i.focused&&ae){const ue=[...w],fe=ue.length-+K;return ue.splice(ae-fe,fe),ue.join("")}return Ca(w,+K)}return w},v=(w,B="onChange")=>{const K=w;w=_(w);const ne=cn(K)-cn(w);if(e.type==="number"||e.type==="digit"){const ue=e.type==="number";w=Z_(w,ue,ue)}let ae=0;if(e.formatter&&B===e.formatTrigger){const{formatter:ue,maxlength:fe}=e;if(w=ue(w),je(fe)&&cn(w)>fe&&(w=Ca(w,+fe)),o.value&&i.focused){const{selectionEnd:$}=o.value,D=Ca(K,$);ae=cn(ue(D))-cn(D)}}if(o.value&&o.value.value!==w)if(i.focused){let{selectionStart:ue,selectionEnd:fe}=o.value;if(o.value.value=w,je(ue)&&je(fe)){const $=cn(w);ne?(ue-=ne,fe-=ne):ae&&(ue+=ae,fe+=ae),o.value.setSelectionRange(Math.min(ue,$),Math.min(fe,$))}}else o.value.value=w;w!==e.modelValue&&t("update:modelValue",w)},E=w=>{w.target.composing||v(w.target.value)},T=()=>{var w;return(w=o.value)==null?void 0:w.blur()},I=()=>{var w;return(w=o.value)==null?void 0:w.focus()},L=()=>{const w=o.value;e.type==="textarea"&&e.autosize&&w&&fE(w,e.autosize)},G=w=>{i.focused=!0,t("focus",w),Pe(L),l("readonly")&&T()},M=w=>{l("readonly")||(i.focused=!1,v(c(),"onBlur"),t("blur",w),y("onBlur"),Pe(L),z_())},W=w=>t("click-input",w),ee=w=>t("click-left-icon",w),q=w=>t("click-right-icon",w),H=w=>{Hn(w),t("update:modelValue",""),t("clear",w)},F=ce(()=>{if(typeof e.error=="boolean")return e.error;if(u&&u.props.showError&&i.status==="failed")return!0}),P=ce(()=>{const w=l("labelWidth");if(w)return{width:Ke(w)}}),A=w=>{w.keyCode===13&&(!(u&&u.props.submitOnEnter)&&e.type!=="textarea"&&Hn(w),e.type==="search"&&T()),t("keypress",w)},C=()=>e.id||`${r}-input`,O=()=>i.status,S=()=>{const w=Ft("control",[l("inputAlign"),{error:F.value,custom:!!n.input,"min-height":e.type==="textarea"&&!e.autosize}]);if(n.input)return x("div",{class:w,onClick:W},[n.input()]);const B={id:C(),ref:o,name:e.name,rows:e.rows!==void 0?+e.rows:void 0,class:w,disabled:l("disabled"),readonly:l("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,enterkeyhint:e.enterkeyhint,"aria-labelledby":e.label?`${r}-label`:void 0,onBlur:M,onFocus:G,onInput:E,onClick:W,onChange:Xc,onKeypress:A,onCompositionend:Xc,onCompositionstart:cE};return e.type==="textarea"?x("textarea",B,null):x("input",rt(dE(e.type),B),null)},R=()=>{const w=n["left-icon"];if(e.leftIcon||w)return x("div",{class:Ft("left-icon"),onClick:ee},[w?w():x(Ye,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])},k=()=>{const w=n["right-icon"];if(e.rightIcon||w)return x("div",{class:Ft("right-icon"),onClick:q},[w?w():x(Ye,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},N=()=>{if(e.showWordLimit&&e.maxlength){const w=cn(c());return x("div",{class:Ft("word-limit")},[x("span",{class:Ft("word-num")},[w]),Ln("/"),e.maxlength])}},ie=()=>{if(u&&u.props.showErrorMessage===!1)return;const w=e.errorMessage||i.validateMessage;if(w){const B=n["error-message"],K=l("errorMessageAlign");return x("div",{class:Ft("error-message",K)},[B?B({message:w}):w])}},Y=()=>{const w=l("colon")?":":"";if(n.label)return[n.label(),w];if(e.label)return x("label",{id:`${r}-label`,for:C()},[e.label+w])},b=()=>[x("div",{class:Ft("body")},[S(),f.value&&x(Ye,{ref:s,name:e.clearIcon,class:Ft("clear")},null),k(),n.button&&x("div",{class:Ft("button")},[n.button()])]),N(),ie()];return dt({blur:T,focus:I,validate:m,formValue:d,resetValidation:p,getValidationStatus:O}),yn(op,{customValue:a,resetValidation:p,validateWithTrigger:y}),$e(()=>e.modelValue,()=>{v(c()),p(),y("onChange"),Pe(L)}),Xe(()=>{v(c(),e.formatTrigger),Pe(L)}),an("touchstart",H,{target:ce(()=>{var w;return(w=s.value)==null?void 0:w.$el})}),()=>{const w=l("disabled"),B=l("labelAlign"),K=Y(),ne=R();return x(Ds,{size:e.size,icon:e.leftIcon,class:Ft({error:F.value,disabled:w,[`label-${B}`]:B}),center:e.center,border:e.border,isLink:e.isLink,clickable:e.clickable,titleStyle:P.value,valueClass:Ft("value"),titleClass:[Ft("label",[B,{required:e.required}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:ne?()=>ne:null,title:K?()=>K:null,value:b,extra:n.extra})}}});const _E=Ce(gE);function wp(){const e=lt({show:!1}),t=i=>{e.show=i},n=i=>{Be(e,i,{transitionAppear:!0}),t(!0)},r=()=>t(!1);return dt({open:n,close:r,toggle:t}),{open:n,close:r,state:e,toggle:t}}function Cp(e){const t=tp(e),n=document.createElement("div");return document.body.appendChild(n),{instance:t.mount(n),unmount(){t.unmount(),document.body.removeChild(n)}}}let di=0;function yE(e){e?(di||document.body.classList.add("van-toast--unclickable"),di++):di&&(di--,di||document.body.classList.remove("van-toast--unclickable"))}const[EE,hi]=we("toast"),bE=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"],wE={icon:String,show:Boolean,type:Te("text"),overlay:Boolean,message:_e,iconSize:_e,duration:L_(2e3),position:Te("middle"),teleport:[String,Object],className:yt,iconPrefix:String,transition:Te("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:yt,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean};var Ap=pe({name:EE,props:wE,emits:["update:show"],setup(e,{emit:t}){let n,r=!1;const i=()=>{const l=e.show&&e.forbidClick;r!==l&&(r=l,yE(r))},o=l=>t("update:show",l),s=()=>{e.closeOnClick&&o(!1)},a=()=>clearTimeout(n),u=()=>{const{icon:l,type:f,iconSize:d,iconPrefix:h,loadingType:p}=e;if(l||f==="success"||f==="fail")return x(Ye,{name:l||f,size:d,class:hi("icon"),classPrefix:h},null);if(f==="loading")return x(Jr,{class:hi("loading"),size:d,type:p},null)},c=()=>{const{type:l,message:f}=e;if(je(f)&&f!=="")return l==="html"?x("div",{key:0,class:hi("text"),innerHTML:String(f)},null):x("div",{class:hi("text")},[f])};return $e(()=>[e.show,e.forbidClick],i),$e(()=>[e.show,e.type,e.message,e.duration],()=>{a(),e.show&&e.duration>0&&(n=setTimeout(()=>{o(!1)},e.duration))}),Xe(i),Xn(i),()=>x(to,rt({class:[hi([e.position,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:s,onClosed:a,"onUpdate:show":o},Un(e,bE)),{default:()=>[u(),c()]})}});const Sp={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let qt=[],Fs=!1,ns=Be({},Sp);const rs=new Map;function $p(e){return Kr(e)?e:{message:e}}function CE(){const{instance:e,unmount:t}=Cp({setup(){const n=se(""),{open:r,state:i,close:o,toggle:s}=wp(),a=()=>{Fs&&(qt=qt.filter(c=>c!==e),t())},u=()=>x(Ap,rt(i,{onClosed:a,"onUpdate:show":s}),null);return $e(n,c=>{i.message=c}),on().render=u,{open:r,clear:o,message:n}}});return e}function AE(){if(!qt.length||Fs){const e=CE();qt.push(e)}return qt[qt.length-1]}function He(e={}){if(!Yr)return{};const t=AE(),n=$p(e);return t.open(Be({},ns,rs.get(n.type||ns.type),n)),t}const ol=e=>t=>He(Be({type:e},$p(t)));He.loading=ol("loading");He.success=ol("success");He.fail=ol("fail");He.clear=e=>{var t;qt.length&&(e?(qt.forEach(n=>{n.clear()}),qt=[]):Fs?(t=qt.shift())==null||t.clear():qt[0].clear())};function SE(e,t){typeof e=="string"?rs.set(e,t):Be(ns,e)}He.setDefaultOptions=SE;He.resetDefaultOptions=e=>{typeof e=="string"?rs.delete(e):(ns=Be({},Sp),rs.clear())};He.allowMultiple=(e=!0)=>{Fs=e};He.install=e=>{e.use(Ce(Ap)),e.config.globalProperties.$toast=He};const[Tp,$E]=we("radio-group"),TE={disabled:Boolean,iconSize:_e,direction:String,modelValue:yt,checkedColor:String},xp=Symbol(Tp);var xE=pe({name:Tp,props:TE,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{linkChildren:r}=Cn(xp),i=o=>t("update:modelValue",o);return $e(()=>e.modelValue,o=>t("change",o)),r({props:e,updateValue:i}),Ku(()=>e.modelValue),()=>{var o;return x("div",{class:$E([e.direction]),role:"radiogroup"},[(o=n.default)==null?void 0:o.call(n)])}}});const OE=Ce(xE),sl={name:yt,shape:Te("round"),disabled:Boolean,iconSize:_e,modelValue:yt,checkedColor:String,labelPosition:String,labelDisabled:Boolean};var Op=pe({props:Be({},sl,{bem:Uo(Function),role:String,parent:Object,checked:Boolean,bindGroup:ye}),emits:["click","toggle"],setup(e,{emit:t,slots:n}){const r=se(),i=f=>{if(e.parent&&e.bindGroup)return e.parent.props[f]},o=ce(()=>i("disabled")||e.disabled),s=ce(()=>i("direction")),a=ce(()=>{const f=e.checkedColor||i("checkedColor");if(f&&e.checked&&!o.value)return{borderColor:f,backgroundColor:f}}),u=f=>{const{target:d}=f,h=r.value,p=h===d||(h==null?void 0:h.contains(d));!o.value&&(p||!e.labelDisabled)&&t("toggle"),t("click",f)},c=()=>{const{bem:f,shape:d,checked:h}=e,p=e.iconSize||i("iconSize");return x("div",{ref:r,class:f("icon",[d,{disabled:o.value,checked:h}]),style:{fontSize:Ke(p)}},[n.icon?n.icon({checked:h,disabled:o.value}):x(Ye,{name:"success",style:a.value},null)])},l=()=>{if(n.default)return x("span",{class:e.bem("label",[e.labelPosition,{disabled:o.value}])},[n.default()])};return()=>{const f=e.labelPosition==="left"?[l(),c()]:[c(),l()];return x("div",{role:e.role,class:e.bem([{disabled:o.value,"label-disabled":e.labelDisabled},s.value]),tabindex:o.value?void 0:0,"aria-checked":e.checked,onClick:u},[f])}}});const[IE,RE]=we("radio");var PE=pe({name:IE,props:sl,emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{parent:r}=wn(xp),i=()=>(r?r.props.modelValue:e.modelValue)===e.name,o=()=>{r?r.updateValue(e.name):t("update:modelValue",e.name)};return()=>x(Op,rt({bem:RE,role:"radio",parent:r,checked:i(),onToggle:o},e),Un(n,["default","icon"]))}});const DE=Ce(PE);function LE(){const e=se([]),t=[];return $h(()=>{e.value=[]}),[e,r=>(t[r]||(t[r]=i=>{e.value[r]=i}),t[r])]}const[FE,Cr]=we("image"),BE={src:String,alt:String,fit:String,position:String,round:Boolean,block:Boolean,width:_e,height:_e,radius:_e,lazyLoad:Boolean,iconSize:_e,showError:ye,errorIcon:Te("photo-fail"),iconPrefix:String,showLoading:ye,loadingIcon:Te("photo")};var NE=pe({name:FE,props:BE,emits:["load","error"],setup(e,{emit:t,slots:n}){const r=se(!1),i=se(!0),o=se(),{$Lazyload:s}=on().proxy,a=ce(()=>{const g={width:Ke(e.width),height:Ke(e.height)};return je(e.radius)&&(g.overflow="hidden",g.borderRadius=Ke(e.radius)),g});$e(()=>e.src,()=>{r.value=!1,i.value=!0});const u=g=>{i.value=!1,t("load",g)},c=g=>{r.value=!0,i.value=!1,t("error",g)},l=(g,m,y)=>y?y():x(Ye,{name:g,size:e.iconSize,class:m,classPrefix:e.iconPrefix},null),f=()=>{if(i.value&&e.showLoading)return x("div",{class:Cr("loading")},[l(e.loadingIcon,Cr("loading-icon"),n.loading)]);if(r.value&&e.showError)return x("div",{class:Cr("error")},[l(e.errorIcon,Cr("error-icon"),n.error)])},d=()=>{if(r.value||!e.src)return;const g={alt:e.alt,class:Cr("img"),style:{objectFit:e.fit,objectPosition:e.position}};return e.lazyLoad?vr(x("img",rt({ref:o},g),null),[[i0("lazy"),e.src]]):x("img",rt({src:e.src,onLoad:u,onError:c},g),null)},h=({el:g})=>{const m=()=>{g===o.value&&i.value&&u()};o.value?m():Pe(m)},p=({el:g})=>{g===o.value&&!r.value&&c()};return s&&Yr&&(s.$on("loaded",h),s.$on("error",p),Yn(()=>{s.$off("loaded",h),s.$off("error",p)})),()=>{var g;return x("div",{class:Cr({round:e.round,block:e.block}),style:a.value},[d(),f(),(g=n.default)==null?void 0:g.call(n)])}}});const kE=Ce(NE);function ME(e,t,n){let r=0;const i=e.scrollLeft,o=n===0?1:Math.round(n*1e3/16);function s(){e.scrollLeft+=(t-i)/o,++r<o&&jr(s)}s()}function VE(e,t,n,r){let i=xs(e);const o=i<t,s=n===0?1:Math.round(n*1e3/16),a=(t-i)/s;function u(){i+=a,(o&&i>t||!o&&i<t)&&(i=t),au(e,i),o&&i<t||!o&&i>t?jr(u):r&&jr(r)}u()}function jE(e,t){if(!Yr||!window.IntersectionObserver)return;const n=new IntersectionObserver(o=>{t(o[0].intersectionRatio>0)},{root:document.body}),r=()=>{e.value&&n.observe(e.value)},i=()=>{e.value&&n.unobserve(e.value)};mr(i),Yn(i),Ts(r)}const[UE,HE]=we("sticky"),zE={zIndex:_e,position:Te("top"),container:Object,offsetTop:at(0),offsetBottom:at(0)};var GE=pe({name:UE,props:zE,emits:["scroll","change"],setup(e,{emit:t,slots:n}){const r=se(),i=eo(r),o=lt({fixed:!1,width:0,height:0,transform:0}),s=ce(()=>ap(e.position==="top"?e.offsetTop:e.offsetBottom)),a=ce(()=>{const{fixed:f,height:d,width:h}=o;if(f)return{width:`${h}px`,height:`${d}px`}}),u=ce(()=>{if(!o.fixed)return;const f=Be(Os(e.zIndex),{width:`${o.width}px`,height:`${o.height}px`,[e.position]:`${s.value}px`});return o.transform&&(f.transform=`translate3d(0, ${o.transform}px, 0)`),f}),c=f=>t("scroll",{scrollTop:f,isFixed:o.fixed}),l=()=>{if(!r.value||Wi(r))return;const{container:f,position:d}=e,h=Pt(r),p=xs(window);if(o.width=h.width,o.height=h.height,d==="top")if(f){const g=Pt(f),m=g.bottom-s.value-o.height;o.fixed=s.value>h.top&&g.bottom>0,o.transform=m<0?m:0}else o.fixed=s.value>h.top;else{const{clientHeight:g}=document.documentElement;if(f){const m=Pt(f),y=g-m.top-s.value-o.height;o.fixed=g-s.value<h.bottom&&g>m.top,o.transform=y<0?-y:0}else o.fixed=g-s.value<h.bottom}c(p)};return $e(()=>o.fixed,f=>t("change",f)),an("scroll",l,{target:i,passive:!0}),jE(r,l),()=>{var f;return x("div",{ref:r,style:a.value},[x("div",{class:HE({fixed:o.fixed}),style:u.value},[(f=n.default)==null?void 0:f.call(n)])])}}});const qE=Ce(GE),[WE,Jc]=we("tab");var KE=pe({name:WE,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:_e,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:ye},setup(e,{slots:t}){const n=ce(()=>{const i={},{type:o,color:s,disabled:a,isActive:u,activeColor:c,inactiveColor:l}=e;s&&o==="card"&&(i.borderColor=s,a||(u?i.backgroundColor=s:i.color=s));const d=u?c:l;return d&&(i.color=d),i}),r=()=>{const i=x("span",{class:Jc("text",{ellipsis:!e.scrollable})},[t.title?t.title():e.title]);return e.dot||je(e.badge)&&e.badge!==""?x(mp,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[i]}):i};return()=>x("div",{id:e.id,role:"tab",class:[Jc([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:n.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls},[r()])}});const[Ip,$o]=we("swipe"),YE={loop:ye,width:_e,height:_e,vertical:Boolean,autoplay:at(0),duration:at(500),touchable:ye,lazyRender:Boolean,initialSwipe:at(0),indicatorColor:String,showIndicators:ye,stopPropagation:ye},Rp=Symbol(Ip);var XE=pe({name:Ip,props:YE,emits:["change"],setup(e,{emit:t,slots:n}){const r=se(),i=se(),o=lt({rect:null,width:0,height:0,offset:0,active:0,swiping:!1}),s=rl(),{children:a,linkChildren:u}=Cn(Rp),c=ce(()=>a.length),l=ce(()=>o[e.vertical?"height":"width"]),f=ce(()=>e.vertical?s.deltaY.value:s.deltaX.value),d=ce(()=>o.rect?(e.vertical?o.rect.height:o.rect.width)-l.value*c.value:0),h=ce(()=>Math.ceil(Math.abs(d.value)/l.value)),p=ce(()=>c.value*l.value),g=ce(()=>(o.active+c.value)%c.value),m=ce(()=>{const R=e.vertical?"vertical":"horizontal";return s.direction.value===R}),y=ce(()=>{const R={transitionDuration:`${o.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${o.offset}px)`};if(l.value){const k=e.vertical?"height":"width",N=e.vertical?"width":"height";R[k]=`${p.value}px`,R[N]=e[N]?`${e[N]}px`:""}return R}),_=R=>{const{active:k}=o;return R?e.loop?wa(k+R,-1,c.value):wa(k+R,0,h.value):k},v=(R,k=0)=>{let N=R*l.value;e.loop||(N=Math.min(N,-d.value));let ie=k-N;return e.loop||(ie=wa(ie,d.value,0)),ie},E=({pace:R=0,offset:k=0,emitChange:N})=>{if(c.value<=1)return;const{active:ie}=o,Y=_(R),b=v(Y,k);if(e.loop){if(a[0]&&b!==d.value){const w=b<d.value;a[0].setOffset(w?p.value:0)}if(a[c.value-1]&&b!==0){const w=b>0;a[c.value-1].setOffset(w?-p.value:0)}}o.active=Y,o.offset=b,N&&Y!==ie&&t("change",g.value)},T=()=>{o.swiping=!0,o.active<=-1?E({pace:c.value}):o.active>=c.value&&E({pace:-c.value})},I=()=>{T(),s.reset(),Pr(()=>{o.swiping=!1,E({pace:-1,emitChange:!0})})},L=()=>{T(),s.reset(),Pr(()=>{o.swiping=!1,E({pace:1,emitChange:!0})})};let G;const M=()=>clearTimeout(G),W=()=>{M(),e.autoplay>0&&c.value>1&&(G=setTimeout(()=>{L(),W()},+e.autoplay))},ee=(R=+e.initialSwipe)=>{if(!r.value)return;const k=()=>{var N,ie;if(!Wi(r)){const Y={width:r.value.offsetWidth,height:r.value.offsetHeight};o.rect=Y,o.width=+((N=e.width)!=null?N:Y.width),o.height=+((ie=e.height)!=null?ie:Y.height)}c.value&&(R=Math.min(c.value-1,R)),o.active=R,o.swiping=!0,o.offset=v(R),a.forEach(Y=>{Y.setOffset(0)}),W()};Wi(r)?Pe().then(k):k()},q=()=>ee(o.active);let H;const F=R=>{!e.touchable||(s.start(R),H=Date.now(),M(),T())},P=R=>{e.touchable&&o.swiping&&(s.move(R),m.value&&(!e.loop&&(o.active===0&&f.value>0||o.active===c.value-1&&f.value<0)||(Hn(R,e.stopPropagation),E({offset:f.value}))))},A=()=>{if(!e.touchable||!o.swiping)return;const R=Date.now()-H,k=f.value/R;if((Math.abs(k)>.25||Math.abs(f.value)>l.value/2)&&m.value){const ie=e.vertical?s.offsetY.value:s.offsetX.value;let Y=0;e.loop?Y=ie>0?f.value>0?-1:1:0:Y=-Math[f.value>0?"ceil":"floor"](f.value/l.value),E({pace:Y,emitChange:!0})}else f.value&&E({pace:0});o.swiping=!1,W()},C=(R,k={})=>{T(),s.reset(),Pr(()=>{let N;e.loop&&R===c.value?N=o.active===0?0:R:N=R%c.value,k.immediate?Pr(()=>{o.swiping=!1}):o.swiping=!1,E({pace:N-o.active,emitChange:!0})})},O=(R,k)=>{const N=k===g.value,ie=N?{backgroundColor:e.indicatorColor}:void 0;return x("i",{style:ie,class:$o("indicator",{active:N})},null)},S=()=>{if(n.indicator)return n.indicator({active:g.value,total:c.value});if(e.showIndicators&&c.value>1)return x("div",{class:$o("indicators",{vertical:e.vertical})},[Array(c.value).fill("").map(O)])};return dt({prev:I,next:L,state:o,resize:q,swipeTo:C}),u({size:l,props:e,count:c,activeIndicator:g}),$e(()=>e.initialSwipe,R=>ee(+R)),$e(c,()=>ee(o.active)),$e(()=>e.autoplay,W),$e([Ju,Zu],q),$e(U_(),R=>{R==="visible"?W():M()}),Xe(ee),qr(()=>ee(o.active)),tl(()=>ee(o.active)),mr(M),Yn(M),an("touchmove",P,{target:i}),()=>{var R;return x("div",{ref:r,class:$o()},[x("div",{ref:i,style:y.value,class:$o("track",{vertical:e.vertical}),onTouchstartPassive:F,onTouchend:A,onTouchcancel:A},[(R=n.default)==null?void 0:R.call(n)]),S()])}}});const JE=Ce(XE),[ZE,Zc]=we("tabs");var QE=pe({name:ZE,props:{count:Uo(Number),inited:Boolean,animated:Boolean,duration:Uo(_e),swipeable:Boolean,lazyRender:Boolean,currentIndex:Uo(Number)},emits:["change"],setup(e,{emit:t,slots:n}){const r=se(),i=a=>t("change",a),o=()=>{var a;const u=(a=n.default)==null?void 0:a.call(n);return e.animated||e.swipeable?x(JE,{ref:r,loop:!1,class:Zc("track"),duration:+e.duration*1e3,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:i},{default:()=>[u]}):u},s=a=>{const u=r.value;u&&u.state.active!==a&&u.swipeTo(a,{immediate:!e.inited})};return $e(()=>e.currentIndex,s),Xe(()=>{s(e.currentIndex)}),dt({swipeRef:r}),()=>x("div",{class:Zc("content",{animated:e.animated||e.swipeable})},[o()])}});const[Pp,To]=we("tabs"),eb={type:Te("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:at(0),duration:at(.3),animated:Boolean,ellipsis:ye,swipeable:Boolean,scrollspy:Boolean,offsetTop:at(0),background:String,lazyRender:ye,lineWidth:_e,lineHeight:_e,beforeChange:Function,swipeThreshold:at(5),titleActiveColor:String,titleInactiveColor:String},Dp=Symbol(Pp);var tb=pe({name:Pp,props:eb,emits:["click","change","scroll","disabled","rendered","click-tab","update:active"],setup(e,{emit:t,slots:n}){let r,i,o;const s=se(),a=se(),u=se(),c=se(),l=Ls(),f=eo(s),[d,h]=LE(),{children:p,linkChildren:g}=Cn(Dp),m=lt({inited:!1,position:"",lineStyle:{},currentIndex:-1}),y=ce(()=>p.length>e.swipeThreshold||!e.ellipsis||e.shrink),_=ce(()=>({borderColor:e.color,background:e.background})),v=(Y,b)=>{var w;return(w=Y.name)!=null?w:b},E=ce(()=>{const Y=p[m.currentIndex];if(Y)return v(Y,m.currentIndex)}),T=ce(()=>ap(e.offsetTop)),I=ce(()=>e.sticky?T.value+r:0),L=Y=>{const b=a.value,w=d.value;if(!y.value||!b||!w||!w[m.currentIndex])return;const B=w[m.currentIndex].$el,K=B.offsetLeft-(b.offsetWidth-B.offsetWidth)/2;ME(b,K,Y?0:+e.duration)},G=()=>{const Y=m.inited;Pe(()=>{const b=d.value;if(!b||!b[m.currentIndex]||e.type!=="line"||Wi(s.value))return;const w=b[m.currentIndex].$el,{lineWidth:B,lineHeight:K}=e,ne=w.offsetLeft+w.offsetWidth/2,ae={width:Ke(B),backgroundColor:e.color,transform:`translateX(${ne}px) translateX(-50%)`};if(Y&&(ae.transitionDuration=`${e.duration}s`),je(K)){const ue=Ke(K);ae.height=ue,ae.borderRadius=ue}m.lineStyle=ae})},M=Y=>{const b=Y<m.currentIndex?-1:1;for(;Y>=0&&Y<p.length;){if(!p[Y].disabled)return Y;Y+=b}},W=(Y,b)=>{const w=M(Y);if(!je(w))return;const B=p[w],K=v(B,w),ne=m.currentIndex!==null;m.currentIndex!==w&&(m.currentIndex=w,b||L(),G()),K!==e.active&&(t("update:active",K),ne&&t("change",K,B.title)),o&&!e.scrollspy&&Xu(Math.ceil(Mc(s.value)-T.value))},ee=(Y,b)=>{const w=p.find((K,ne)=>v(K,ne)===Y),B=w?p.indexOf(w):0;W(B,b)},q=(Y=!1)=>{if(e.scrollspy){const b=p[m.currentIndex].$el;if(b&&f.value){const w=Mc(b,f.value)-I.value;i=!0,VE(f.value,w,Y?0:+e.duration,()=>{i=!1})}}},H=(Y,b,w)=>{const{title:B,disabled:K}=p[b],ne=v(p[b],b);K?t("disabled",ne,B):(el(e.beforeChange,{args:[ne],done:()=>{W(b),q()}}),t("click",ne,B),vp(Y)),t("click-tab",{name:ne,title:B,event:w,disabled:K})},F=Y=>{o=Y.isFixed,t("scroll",Y)},P=Y=>{Pe(()=>{ee(Y),q(!0)})},A=()=>{for(let Y=0;Y<p.length;Y++){const{top:b}=Pt(p[Y].$el);if(b>I.value)return Y===0?0:Y-1}return p.length-1},C=()=>{if(e.scrollspy&&!i){const Y=A();W(Y)}},O=()=>p.map((Y,b)=>x(KE,rt({key:Y.id,id:`${l}-${b}`,ref:h(b),type:e.type,color:e.color,style:Y.titleStyle,class:Y.titleClass,shrink:e.shrink,isActive:b===m.currentIndex,controls:Y.id,scrollable:y.value,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,onClick:w=>H(Y,b,w)},Un(Y,["dot","badge","title","disabled","showZeroBadge"])),{title:Y.$slots.title})),S=()=>{if(e.type==="line"&&p.length)return x("div",{class:To("line"),style:m.lineStyle},null)},R=()=>{var Y,b,w;const{type:B,border:K,sticky:ne}=e,ae=[x("div",{ref:ne?void 0:u,class:[To("wrap"),{[Qu]:B==="line"&&K}]},[x("div",{ref:a,role:"tablist",class:To("nav",[B,{shrink:e.shrink,complete:y.value}]),style:_.value,"aria-orientation":"horizontal"},[(Y=n["nav-left"])==null?void 0:Y.call(n),O(),S(),(b=n["nav-right"])==null?void 0:b.call(n)])]),(w=n["nav-bottom"])==null?void 0:w.call(n)];return ne?x("div",{ref:u},[ae]):ae};$e([()=>e.color,Ju],G),$e(()=>e.active,Y=>{Y!==E.value&&ee(Y)}),$e(()=>p.length,()=>{m.inited&&(ee(e.active),G(),Pe(()=>{L(!0)}))});const k=()=>{ee(e.active,!0),Pe(()=>{m.inited=!0,u.value&&(r=Pt(u.value).height),L(!0)})},N=(Y,b)=>t("rendered",Y,b);return dt({resize:()=>{G(),Pe(()=>{var Y,b;return(b=(Y=c.value)==null?void 0:Y.swipeRef.value)==null?void 0:b.resize()})},scrollTo:P}),qr(G),tl(G),Ts(k),an("scroll",C,{target:f,passive:!0}),g({id:l,props:e,setLine:G,onRendered:N,currentName:E,scrollIntoView:L}),()=>x("div",{ref:s,class:To([e.type])},[e.sticky?x(qE,{container:s.value,offsetTop:T.value,onScroll:F},{default:()=>[R()]}):R(),x(QE,{ref:c,count:p.length,inited:m.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:m.currentIndex,onChange:W},{default:()=>{var Y;return[(Y=n.default)==null?void 0:Y.call(n)]}})])}});const Lp=Symbol(),nb=()=>ut(Lp,null),[rb,ib]=we("swipe-item");var ob=pe({name:rb,setup(e,{slots:t}){let n;const r=lt({offset:0,inited:!1,mounted:!1}),{parent:i,index:o}=wn(Rp);if(!i)return;const s=ce(()=>{const c={},{vertical:l}=i.props;return i.size.value&&(c[l?"height":"width"]=`${i.size.value}px`),r.offset&&(c.transform=`translate${l?"Y":"X"}(${r.offset}px)`),c}),a=ce(()=>{const{loop:c,lazyRender:l}=i.props;if(!l||n)return!0;if(!r.mounted)return!1;const f=i.activeIndicator.value,d=i.count.value-1,h=f===0&&c?d:f-1,p=f===d&&c?0:f+1;return n=o.value===f||o.value===h||o.value===p,n}),u=c=>{r.offset=c};return Xe(()=>{Pe(()=>{r.mounted=!0})}),dt({setOffset:u}),()=>{var c;return x("div",{class:ib(),style:s.value},[a.value?(c=t.default)==null?void 0:c.call(t):null])}}});const sb=Ce(ob),[ab,Aa]=we("tab"),ub=Be({},Is,{dot:Boolean,name:_e,badge:_e,title:String,disabled:Boolean,titleClass:yt,titleStyle:[String,Object],showZeroBadge:ye});var lb=pe({name:ab,props:ub,setup(e,{slots:t}){const n=Ls(),r=se(!1),{parent:i,index:o}=wn(Dp);if(!i)return;const s=()=>{var l;return(l=e.name)!=null?l:o.value},a=()=>{r.value=!0,i.props.lazyRender&&Pe(()=>{i.onRendered(s(),e.title)})},u=ce(()=>{const l=s()===i.currentName.value;return l&&!r.value&&a(),l}),c=se(!u.value);return $e(u,l=>{l?c.value=!1:Pr(()=>{c.value=!0})}),$e(()=>e.title,()=>{i.setLine(),i.scrollIntoView()}),yn(Lp,u),()=>{var l;const f=`${i.id}-${o.value}`,{animated:d,swipeable:h,scrollspy:p,lazyRender:g}=i.props;if(!t.default&&!d)return;const m=p||u.value;if(d||h)return x(sb,{id:n,role:"tabpanel",class:Aa("panel-wrapper",{inactive:c.value}),tabindex:u.value?0:-1,"aria-hidden":!u.value,"aria-labelledby":f},{default:()=>{var v;return[x("div",{class:Aa("panel")},[(v=t.default)==null?void 0:v.call(t)])]}});const _=r.value||p||!g?(l=t.default)==null?void 0:l.call(t):null;return dt({id:n}),vr(x("div",{id:n,role:"tabpanel",class:Aa("panel"),tabindex:m?0:-1,"aria-labelledby":f},[_]),[[Wr,m]])}}});const cb=Ce(lb),fb=Ce(tb),[db,fn,hb]=we("cascader"),pb={title:String,options:$s(),closeable:ye,swipeable:ye,closeIcon:Te("cross"),showHeader:ye,modelValue:_e,fieldNames:Object,placeholder:String,activeColor:String};var vb=pe({name:db,props:pb,emits:["close","change","finish","click-tab","update:modelValue"],setup(e,{slots:t,emit:n}){const r=se([]),i=se(0),{text:o,value:s,children:a}=Be({text:"text",value:"value",children:"children"},e.fieldNames),u=(_,v)=>{for(const E of _){if(E[s]===v)return[E];if(E[a]){const T=u(E[a],v);if(T)return[E,...T]}}},c=()=>{const{options:_,modelValue:v}=e;if(v!==void 0){const E=u(_,v);if(E){let T=_;r.value=E.map(I=>{const L={options:T,selected:I},G=T.find(M=>M[s]===I[s]);return G&&(T=G[a]),L}),T&&r.value.push({options:T,selected:null}),Pe(()=>{i.value=r.value.length-1});return}}r.value=[{options:_,selected:null}]},l=(_,v)=>{if(_.disabled)return;if(r.value[v].selected=_,r.value.length>v+1&&(r.value=r.value.slice(0,v+1)),_[a]){const I={options:_[a],selected:null};r.value[v+1]?r.value[v+1]=I:r.value.push(I),Pe(()=>{i.value++})}const E=r.value.map(I=>I.selected).filter(Boolean);n("update:modelValue",_[s]);const T={value:_[s],tabIndex:v,selectedOptions:E};n("change",T),_[a]||n("finish",T)},f=()=>n("close"),d=({name:_,title:v})=>n("click-tab",_,v),h=()=>e.showHeader?x("div",{class:fn("header")},[x("h2",{class:fn("title")},[t.title?t.title():e.title]),e.closeable?x(Ye,{name:e.closeIcon,class:[fn("close-icon"),Ur],onClick:f},null):null]):null,p=(_,v,E)=>{const{disabled:T}=_,I=!!(v&&_[s]===v[s]),L=_.color||(I?e.activeColor:void 0),G=t.option?t.option({option:_,selected:I}):x("span",null,[_[o]]);return x("li",{role:"menuitemradio",class:[fn("option",{selected:I,disabled:T}),_.className],style:{color:L},tabindex:T?void 0:I?0:-1,"aria-checked":I,"aria-disabled":T||void 0,onClick:()=>l(_,E)},[G,I?x(Ye,{name:"success",class:fn("selected-icon")},null):null])},g=(_,v,E)=>x("ul",{role:"menu",class:fn("options")},[_.map(T=>p(T,v,E))]),m=(_,v)=>{const{options:E,selected:T}=_,I=e.placeholder||hb("select"),L=T?T[o]:I;return x(cb,{title:L,titleClass:fn("tab",{unselected:!T})},{default:()=>{var G,M;return[(G=t["options-top"])==null?void 0:G.call(t,{tabIndex:v}),g(E,T,v),(M=t["options-bottom"])==null?void 0:M.call(t,{tabIndex:v})]}})},y=()=>x(fb,{active:i.value,"onUpdate:active":_=>i.value=_,shrink:!0,animated:!0,class:fn("tabs"),color:e.activeColor,swipeable:e.swipeable,"onClick-tab":d},{default:()=>[r.value.map(m)]});return c(),$e(()=>e.options,c,{deep:!0}),$e(()=>e.modelValue,_=>{_!==void 0&&r.value.map(E=>{var T;return(T=E.selected)==null?void 0:T[s]}).includes(_)||c()}),()=>x("div",{class:fn()},[h(),y()])}});const mb=Ce(vb),[gb,Qc]=we("cell-group"),_b={title:String,inset:Boolean,border:ye};var yb=pe({name:gb,inheritAttrs:!1,props:_b,setup(e,{slots:t,attrs:n}){const r=()=>{var o;return x("div",rt({class:[Qc({inset:e.inset}),{[Qu]:e.border&&!e.inset}]},n),[(o=t.default)==null?void 0:o.call(t)])},i=()=>x("div",{class:Qc("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?x(qe,null,[i(),r()]):r()}});const Eb=Ce(yb),[Fp,bb]=we("checkbox-group"),wb={max:_e,disabled:Boolean,iconSize:_e,direction:String,modelValue:$s(),checkedColor:String},Bp=Symbol(Fp);var Cb=pe({name:Fp,props:wb,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{children:r,linkChildren:i}=Cn(Bp),o=a=>t("update:modelValue",a),s=(a={})=>{typeof a=="boolean"&&(a={checked:a});const{checked:u,skipDisabled:c}=a,f=r.filter(d=>d.props.bindGroup?d.props.disabled&&c?d.checked.value:u!=null?u:!d.checked.value:!1).map(d=>d.name);o(f)};return $e(()=>e.modelValue,a=>t("change",a)),dt({toggleAll:s}),Ku(()=>e.modelValue),i({props:e,updateValue:o}),()=>{var a;return x("div",{class:bb([e.direction])},[(a=n.default)==null?void 0:a.call(n)])}}});const[Ab,Sb]=we("checkbox"),$b=Be({},sl,{bindGroup:ye});var Tb=pe({name:Ab,props:$b,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{parent:r}=wn(Bp),i=a=>{const{name:u}=e,{max:c,modelValue:l}=r.props,f=l.slice();if(a)!(c&&f.length>=c)&&!f.includes(u)&&(f.push(u),e.bindGroup&&r.updateValue(f));else{const d=f.indexOf(u);d!==-1&&(f.splice(d,1),e.bindGroup&&r.updateValue(f))}},o=ce(()=>r&&e.bindGroup?r.props.modelValue.indexOf(e.name)!==-1:!!e.modelValue),s=(a=!o.value)=>{r&&e.bindGroup?i(a):t("update:modelValue",a)};return $e(()=>e.modelValue,a=>t("change",a)),dt({toggle:s,props:e,checked:o}),Ku(()=>e.modelValue),()=>x(Op,rt({bem:Sb,role:"checkbox",parent:r,checked:o.value,onToggle:s},e),Un(n,["default","icon"]))}});const xb=Ce(Tb),Ob=Ce(Cb),[Np,Ib]=we("collapse"),kp=Symbol(Np),Rb={border:ye,accordion:Boolean,modelValue:{type:[String,Number,Array],default:""}};var Pb=pe({name:Np,props:Rb,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{linkChildren:r,children:i}=Cn(kp),o=c=>{t("change",c),t("update:modelValue",c)},s=(c,l)=>{const{accordion:f,modelValue:d}=e;o(f?c===d?"":c:l?d.concat(c):d.filter(h=>h!==c))},a=(c={})=>{if(e.accordion)return;typeof c=="boolean"&&(c={expanded:c});const{expanded:l,skipDisabled:f}=c,h=i.filter(p=>p.disabled&&f?p.expanded.value:l!=null?l:!p.expanded.value).map(p=>p.itemName.value);o(h)},u=c=>{const{accordion:l,modelValue:f}=e;return l?f===c:f.includes(c)};return dt({toggleAll:a}),r({toggle:s,isExpanded:u}),()=>{var c;return x("div",{class:[Ib(),{[Qu]:e.border}]},[(c=n.default)==null?void 0:c.call(n)])}}});const Db=Ce(Pb),[Lb,xo]=we("collapse-item"),Fb=["icon","title","value","label","right-icon"],Bb=Be({},Ps,{name:_e,isLink:ye,disabled:Boolean,readonly:Boolean,lazyRender:ye});var Nb=pe({name:Lb,props:Bb,setup(e,{slots:t}){const n=se(),r=se(),{parent:i,index:o}=wn(kp);if(!i)return;const s=ce(()=>{var g;return(g=e.name)!=null?g:o.value}),a=ce(()=>i.isExpanded(s.value)),u=se(a.value),c=il(()=>u.value||!e.lazyRender),l=()=>{a.value?n.value&&(n.value.style.height=""):u.value=!1};$e(a,(g,m)=>{if(m===null)return;g&&(u.value=!0),(g?Pe:jr)(()=>{if(!r.value||!n.value)return;const{offsetHeight:_}=r.value;if(_){const v=`${_}px`;n.value.style.height=g?"0":v,Pr(()=>{n.value&&(n.value.style.height=g?v:"0")})}else l()})});const f=(g=!a.value)=>{i.toggle(s.value,g)},d=()=>{!e.disabled&&!e.readonly&&f()},h=()=>{const{border:g,disabled:m,readonly:y}=e,_=Un(e,Object.keys(Ps));return y&&(_.isLink=!1),(m||y)&&(_.clickable=!1),x(Ds,rt({role:"button",class:xo("title",{disabled:m,expanded:a.value,borderless:!g}),"aria-expanded":String(a.value),onClick:d},_),Un(t,Fb))},p=c(()=>{var g;return vr(x("div",{ref:n,class:xo("wrapper"),onTransitionend:l},[x("div",{ref:r,class:xo("content")},[(g=t.default)==null?void 0:g.call(t)])]),[[Wr,u.value]])});return dt({toggle:f,expanded:a,itemName:s}),()=>x("div",{class:[xo({border:o.value&&e.border})]},[h(),p()])}});const kb=Ce(Nb),Mb=Ce(wy),[Vb,Ht,Oo]=we("dialog"),jb=Be({},Rs,{title:String,theme:String,width:_e,message:[String,Function],callback:Function,allowHtml:Boolean,className:yt,transition:Te("van-dialog-bounce"),messageAlign:String,closeOnPopstate:ye,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,cancelButtonDisabled:Boolean,confirmButtonText:String,confirmButtonColor:String,confirmButtonDisabled:Boolean,showConfirmButton:ye,closeOnClickOverlay:Boolean}),Ub=[...Ep,"transition","closeOnPopstate"];var Mp=pe({name:Vb,props:jb,emits:["confirm","cancel","keydown","update:show"],setup(e,{emit:t,slots:n}){const r=se(),i=lt({confirm:!1,cancel:!1}),o=y=>t("update:show",y),s=y=>{var _;o(!1),(_=e.callback)==null||_.call(e,y)},a=y=>()=>{!e.show||(t(y),e.beforeClose?(i[y]=!0,el(e.beforeClose,{args:[y],done(){s(y),i[y]=!1},canceled(){i[y]=!1}})):s(y))},u=a("cancel"),c=a("confirm"),l=A_(y=>{var _,v;if(y.target!==((v=(_=r.value)==null?void 0:_.popupRef)==null?void 0:v.value))return;({Enter:e.showConfirmButton?c:qi,Escape:e.showCancelButton?u:qi})[y.key](),t("keydown",y)},["enter","esc"]),f=()=>{const y=n.title?n.title():e.title;if(y)return x("div",{class:Ht("header",{isolated:!e.message&&!n.default})},[y])},d=y=>{const{message:_,allowHtml:v,messageAlign:E}=e,T=Ht("message",{"has-title":y,[E]:E}),I=Gi(_)?_():_;return v&&typeof I=="string"?x("div",{class:T,innerHTML:I},null):x("div",{class:T},[I])},h=()=>{if(n.default)return x("div",{class:Ht("content")},[n.default()]);const{title:y,message:_,allowHtml:v}=e;if(_){const E=!!(y||n.title);return x("div",{key:v?1:0,class:Ht("content",{isolated:!E})},[d(E)])}},p=()=>x("div",{class:[sy,Ht("footer")]},[e.showCancelButton&&x(ts,{size:"large",text:e.cancelButtonText||Oo("cancel"),class:Ht("cancel"),style:{color:e.cancelButtonColor},loading:i.cancel,disabled:e.cancelButtonDisabled,onClick:u},null),e.showConfirmButton&&x(ts,{size:"large",text:e.confirmButtonText||Oo("confirm"),class:[Ht("confirm"),{[ay]:e.showCancelButton}],style:{color:e.confirmButtonColor},loading:i.confirm,disabled:e.confirmButtonDisabled,onClick:c},null)]),g=()=>x(hy,{class:Ht("footer")},{default:()=>[e.showCancelButton&&x(qc,{type:"warning",text:e.cancelButtonText||Oo("cancel"),class:Ht("cancel"),color:e.cancelButtonColor,loading:i.cancel,disabled:e.cancelButtonDisabled,onClick:u},null),e.showConfirmButton&&x(qc,{type:"danger",text:e.confirmButtonText||Oo("confirm"),class:Ht("confirm"),color:e.confirmButtonColor,loading:i.confirm,disabled:e.confirmButtonDisabled,onClick:c},null)]}),m=()=>n.footer?n.footer():e.theme==="round-button"?g():p();return()=>{const{width:y,title:_,theme:v,message:E,className:T}=e;return x(to,rt({ref:r,role:"dialog",class:[Ht([v]),T],style:{width:Ke(y)},tabindex:0,"aria-labelledby":_||E,onKeydown:l,"onUpdate:show":o},Un(e,Ub)),{default:()=>[f(),h(),m()]})}}});let Ki;function Hb(){({instance:Ki}=Cp({setup(){const{state:t,toggle:n}=wp();return()=>x(Mp,rt(t,{"onUpdate:show":n}),null)}}))}function Ge(e){return Yr?new Promise((t,n)=>{Ki||Hb(),Ki.open(Be({},Ge.currentOptions,e,{callback:r=>{(r==="confirm"?t:n)(r)}}))}):Promise.resolve()}Ge.defaultOptions={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1};Ge.currentOptions=Be({},Ge.defaultOptions);Ge.alert=Ge;Ge.confirm=e=>Ge(Be({showCancelButton:!0},e));Ge.close=()=>{Ki&&Ki.toggle(!1)};Ge.setDefaultOptions=e=>{Be(Ge.currentOptions,e)};Ge.resetDefaultOptions=()=>{Ge.currentOptions=Be({},Ge.defaultOptions)};Ge.Component=Ce(Mp);Ge.install=e=>{e.use(Ge.Component),e.config.globalProperties.$dialog=Ge};const[zb,Gb]=we("divider"),qb={dashed:Boolean,hairline:ye,contentPosition:Te("center")};var Wb=pe({name:zb,props:qb,setup(e,{slots:t}){return()=>{var n;return x("div",{role:"separator",class:Gb({dashed:e.dashed,hairline:e.hairline,[`content-${e.contentPosition}`]:!!t.default})},[(n=t.default)==null?void 0:n.call(t)])}}});const Kb=Ce(Wb),[Vp,Io]=we("dropdown-menu"),Yb={overlay:ye,zIndex:_e,duration:at(.2),direction:Te("down"),activeColor:String,closeOnClickOutside:ye,closeOnClickOverlay:ye},jp=Symbol(Vp);var Xb=pe({name:Vp,props:Yb,setup(e,{slots:t}){const n=Ls(),r=se(),i=se(),o=se(0),{children:s,linkChildren:a}=Cn(jp),u=eo(r),c=ce(()=>s.some(m=>m.state.showWrapper)),l=ce(()=>{if(c.value&&je(e.zIndex))return{zIndex:+e.zIndex+1}}),f=()=>{e.closeOnClickOutside&&s.forEach(m=>{m.toggle(!1)})},d=()=>{if(i.value){const m=Pt(i);e.direction==="down"?o.value=m.bottom:o.value=Zu.value-m.top}},h=()=>{c.value&&d()},p=m=>{s.forEach((y,_)=>{_===m?(d(),y.toggle()):y.state.showPopup&&y.toggle(!1,{immediate:!0})})},g=(m,y)=>{const{showPopup:_}=m.state,{disabled:v,titleClass:E}=m;return x("div",{id:`${n}-${y}`,role:"button",tabindex:v?void 0:0,class:[Io("item",{disabled:v}),{[Ur]:!v}],onClick:()=>{v||p(y)}},[x("span",{class:[Io("title",{down:_===(e.direction==="down"),active:_}),E],style:{color:_?e.activeColor:""}},[x("div",{class:"van-ellipsis"},[m.renderTitle()])])])};return a({id:n,props:e,offset:o}),k_(r,f),an("scroll",h,{target:u,passive:!0}),()=>{var m;return x("div",{ref:r,class:Io()},[x("div",{ref:i,style:l.value,class:Io("bar",{opened:c.value})},[s.map(g)]),(m=t.default)==null?void 0:m.call(t)])}}});const[Jb,Ro]=we("dropdown-item"),Zb={title:String,options:$s(),disabled:Boolean,teleport:[String,Object],lazyRender:ye,modelValue:yt,titleClass:yt};var Qb=pe({name:Jb,props:Zb,emits:["open","opened","close","closed","change","update:modelValue"],setup(e,{emit:t,slots:n}){const r=lt({showPopup:!1,transition:!0,showWrapper:!1}),{parent:i,index:o}=wn(jp);if(!i)return;const s=m=>()=>t(m),a=s("open"),u=s("close"),c=s("opened"),l=()=>{r.showWrapper=!1,t("closed")},f=m=>{e.teleport&&m.stopPropagation()},d=(m=!r.showPopup,y={})=>{m!==r.showPopup&&(r.showPopup=m,r.transition=!y.immediate,m&&(r.showWrapper=!0))},h=()=>{if(n.title)return n.title();if(e.title)return e.title;const m=e.options.find(y=>y.value===e.modelValue);return m?m.text:""},p=m=>{const{activeColor:y}=i.props,_=m.value===e.modelValue,v=()=>{r.showPopup=!1,m.value!==e.modelValue&&(t("update:modelValue",m.value),t("change",m.value))},E=()=>{if(_)return x(Ye,{class:Ro("icon"),color:y,name:"success"},null)};return x(Ds,{role:"menuitem",key:m.value,icon:m.icon,title:m.text,class:Ro("option",{active:_}),style:{color:_?y:""},tabindex:_?0:-1,clickable:!0,onClick:v},{value:E})},g=()=>{const{offset:m}=i,{zIndex:y,overlay:_,duration:v,direction:E,closeOnClickOverlay:T}=i.props,I=Os(y);return E==="down"?I.top=`${m.value}px`:I.bottom=`${m.value}px`,vr(x("div",{style:I,class:Ro([E]),onClick:f},[x(to,{show:r.showPopup,"onUpdate:show":L=>r.showPopup=L,role:"menu",class:Ro("content"),overlay:_,position:E==="down"?"top":"bottom",duration:r.transition?v:0,lazyRender:e.lazyRender,overlayStyle:{position:"absolute"},"aria-labelledby":`${i.id}-${o.value}`,closeOnClickOverlay:T,onOpen:a,onClose:u,onOpened:c,onClosed:l},{default:()=>{var L;return[e.options.map(p),(L=n.default)==null?void 0:L.call(n)]}})]),[[Wr,r.showWrapper]])};return dt({state:r,toggle:d,renderTitle:h}),()=>e.teleport?x(Uh,{to:e.teleport},{default:()=>[g()]}):g()}});const e1=Ce(Qb),t1=Ce(Xb),[n1,Ar,r1]=we("list"),i1={error:Boolean,offset:at(300),loading:Boolean,finished:Boolean,errorText:String,direction:Te("down"),loadingText:String,finishedText:String,immediateCheck:ye};var o1=pe({name:n1,props:i1,emits:["load","update:error","update:loading"],setup(e,{emit:t,slots:n}){const r=se(e.loading),i=se(),o=se(),s=nb(),a=eo(i),u=()=>{Pe(()=>{if(r.value||e.finished||e.error||(s==null?void 0:s.value)===!1)return;const{offset:h,direction:p}=e,g=Pt(a);if(!g.height||Wi(i))return;let m=!1;const y=Pt(o);p==="up"?m=g.top-y.top<=h:m=y.bottom-g.bottom<=h,m&&(r.value=!0,t("update:loading",!0),t("load"))})},c=()=>{if(e.finished){const h=n.finished?n.finished():e.finishedText;if(h)return x("div",{class:Ar("finished-text")},[h])}},l=()=>{t("update:error",!1),u()},f=()=>{if(e.error){const h=n.error?n.error():e.errorText;if(h)return x("div",{role:"button",class:Ar("error-text"),tabindex:0,onClick:l},[h])}},d=()=>{if(r.value&&!e.finished)return x("div",{class:Ar("loading")},[n.loading?n.loading():x(Jr,{class:Ar("loading-icon")},{default:()=>[e.loadingText||r1("loading")]})])};return $e(()=>[e.loading,e.finished,e.error],u),s&&$e(s,h=>{h&&u()}),Mu(()=>{r.value=e.loading}),Xe(()=>{e.immediateCheck&&u()}),dt({check:u}),an("scroll",u,{target:a,passive:!0}),()=>{var h;const p=(h=n.default)==null?void 0:h.call(n),g=x("div",{ref:o,class:Ar("placeholder")},null);return x("div",{ref:i,role:"feed",class:Ar(),"aria-busy":r.value},[e.direction==="down"?p:g,d(),c(),f(),e.direction==="up"?p:g])}}});const s1=Ce(o1),[a1,dn]=we("nav-bar"),u1={title:String,fixed:Boolean,zIndex:_e,border:ye,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean};var l1=pe({name:a1,props:u1,emits:["click-left","click-right"],setup(e,{emit:t,slots:n}){const r=se(),i=dp(r,dn),o=l=>t("click-left",l),s=l=>t("click-right",l),a=()=>n.left?n.left():[e.leftArrow&&x(Ye,{class:dn("arrow"),name:"arrow-left"},null),e.leftText&&x("span",{class:dn("text")},[e.leftText])],u=()=>n.right?n.right():x("span",{class:dn("text")},[e.rightText]),c=()=>{const{title:l,fixed:f,border:d,zIndex:h}=e,p=Os(h),g=e.leftArrow||e.leftText||n.left,m=e.rightText||n.right;return x("div",{ref:r,style:p,class:[dn({fixed:f}),{[uy]:d,"van-safe-area-top":e.safeAreaInsetTop}]},[x("div",{class:dn("content")},[g&&x("div",{class:[dn("left"),Ur],onClick:o},[a()]),x("div",{class:[dn("title"),"van-ellipsis"]},[n.title?n.title():l]),m&&x("div",{class:[dn("right"),Ur],onClick:s},[u()])])])};return()=>e.fixed&&e.placeholder?i(c):c()}});const c1=Ce(l1),[f1,pi,d1]=we("pull-refresh"),Up=50,h1=["pulling","loosing","success"],p1={disabled:Boolean,modelValue:Boolean,headHeight:at(Up),successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:_e,successDuration:at(500),animationDuration:at(300)};var v1=pe({name:f1,props:p1,emits:["change","refresh","update:modelValue"],setup(e,{emit:t,slots:n}){let r;const i=se(),o=se(),s=eo(i),a=lt({status:"normal",distance:0,duration:0}),u=rl(),c=()=>{if(e.headHeight!==Up)return{height:`${e.headHeight}px`}},l=()=>a.status!=="loading"&&a.status!=="success"&&!e.disabled,f=E=>{const T=+(e.pullDistance||e.headHeight);return E>T&&(E<T*2?E=T+(E-T)/2:E=T*1.5+(E-T*2)/4),Math.round(E)},d=(E,T)=>{const I=+(e.pullDistance||e.headHeight);a.distance=E,T?a.status="loading":E===0?a.status="normal":E<I?a.status="pulling":a.status="loosing",t("change",{status:a.status,distance:E})},h=()=>{const{status:E}=a;return E==="normal"?"":e[`${E}Text`]||d1(E)},p=()=>{const{status:E,distance:T}=a;if(n[E])return n[E]({distance:T});const I=[];return h1.includes(E)&&I.push(x("div",{class:pi("text")},[h()])),E==="loading"&&I.push(x(Jr,{class:pi("loading")},{default:h})),I},g=()=>{a.status="success",setTimeout(()=>{d(0)},+e.successDuration)},m=E=>{r=xs(s.value)===0,r&&(a.duration=0,u.start(E))},y=E=>{l()&&m(E)},_=E=>{if(l()){r||m(E);const{deltaY:T}=u;u.move(E),r&&T.value>=0&&u.isVertical()&&(Hn(E),d(f(T.value)))}},v=()=>{r&&u.deltaY.value&&l()&&(a.duration=+e.animationDuration,a.status==="loosing"?(d(+e.headHeight,!0),t("update:modelValue",!0),Pe(()=>t("refresh"))):d(0))};return $e(()=>e.modelValue,E=>{a.duration=+e.animationDuration,E?d(+e.headHeight,!0):n.success||e.successText?g():d(0,!1)}),an("touchmove",_,{target:o}),()=>{var E;const T={transitionDuration:`${a.duration}ms`,transform:a.distance?`translate3d(0,${a.distance}px, 0)`:""};return x("div",{ref:i,class:pi()},[x("div",{ref:o,class:pi("track"),style:T,onTouchstartPassive:y,onTouchend:v,onTouchcancel:v},[x("div",{class:pi("head"),style:c()},[p()]),(E=n.default)==null?void 0:E.call(n)])])}}});const m1=Ce(v1),[g1,vi]=we("skeleton"),Hp="100%",_1="60%",y1={row:at(0),title:Boolean,round:Boolean,avatar:Boolean,loading:ye,animate:ye,avatarSize:_e,titleWidth:_e,avatarShape:Te("round"),rowWidth:{type:[Number,String,Array],default:Hp}};var E1=pe({name:g1,inheritAttrs:!1,props:y1,setup(e,{slots:t,attrs:n}){const r=()=>{if(e.avatar)return x("div",{class:vi("avatar",e.avatarShape),style:sp(e.avatarSize)},null)},i=()=>{if(e.title)return x("h3",{class:vi("title"),style:{width:Ke(e.titleWidth)}},null)},o=a=>{const{rowWidth:u}=e;return u===Hp&&a===+e.row-1?_1:Array.isArray(u)?u[a]:u},s=()=>Array(+e.row).fill("").map((a,u)=>x("div",{class:vi("row"),style:{width:Ke(o(u))}},null));return()=>{var a;return e.loading?x("div",rt({class:vi({animate:e.animate,round:e.round})},n),[r(),x("div",{class:vi("content")},[i(),s()])]):(a=t.default)==null?void 0:a.call(t)}}});const b1=Ce(E1),[zp,ef]=we("steps"),w1={active:at(0),direction:Te("horizontal"),activeIcon:Te("checked"),iconPrefix:String,finishIcon:String,activeColor:String,inactiveIcon:String,inactiveColor:String},Gp=Symbol(zp);var C1=pe({name:zp,props:w1,emits:["click-step"],setup(e,{emit:t,slots:n}){const{linkChildren:r}=Cn(Gp);return r({props:e,onClickStep:o=>t("click-step",o)}),()=>{var o;return x("div",{class:ef([e.direction])},[x("div",{class:ef("items")},[(o=n.default)==null?void 0:o.call(n)])])}}});const[A1,In]=we("step");var S1=pe({name:A1,setup(e,{slots:t}){const{parent:n,index:r}=wn(Gp);if(!n)return;const i=n.props,o=()=>{const f=+i.active;return r.value<f?"finish":r.value===f?"process":"waiting"},s=()=>o()==="process",a=ce(()=>({background:o()==="finish"?i.activeColor:i.inactiveColor})),u=ce(()=>{if(s())return{color:i.activeColor};if(o()==="waiting")return{color:i.inactiveColor}}),c=()=>n.onClickStep(r.value),l=()=>{const{iconPrefix:f,finishIcon:d,activeIcon:h,activeColor:p,inactiveIcon:g}=i;return s()?t["active-icon"]?t["active-icon"]():x(Ye,{class:In("icon","active"),name:h,color:p,classPrefix:f},null):o()==="finish"&&(d||t["finish-icon"])?t["finish-icon"]?t["finish-icon"]():x(Ye,{class:In("icon","finish"),name:d,color:p,classPrefix:f},null):t["inactive-icon"]?t["inactive-icon"]():g?x(Ye,{class:In("icon"),name:g,classPrefix:f},null):x("i",{class:In("circle"),style:a.value},null)};return()=>{var f;const d=o();return x("div",{class:[Xr,In([i.direction,{[d]:d}])]},[x("div",{class:In("title",{active:s()}),style:u.value,onClick:c},[(f=t.default)==null?void 0:f.call(t)]),x("div",{class:In("circle-container"),onClick:c},[l()]),x("div",{class:In("line"),style:a.value},null)])}}});const $1=Ce(S1),T1=Ce(C1),tf=Vt&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,rr={event:"event",observer:"observer"};function Ai(e,t){if(!e.length)return;const n=e.indexOf(t);if(n>-1)return e.splice(n,1)}function nf(e,t){if(e.tagName!=="IMG"||!e.getAttribute("data-srcset"))return;let n=e.getAttribute("data-srcset");const i=e.parentNode.offsetWidth*t;let o,s,a;n=n.trim().split(",");const u=n.map(f=>(f=f.trim(),o=f.lastIndexOf(" "),o===-1?(s=f,a=999998):(s=f.substr(0,o),a=parseInt(f.substr(o+1,f.length-o-2),10)),[a,s]));u.sort((f,d)=>{if(f[0]<d[0])return 1;if(f[0]>d[0])return-1;if(f[0]===d[0]){if(d[1].indexOf(".webp",d[1].length-5)!==-1)return 1;if(f[1].indexOf(".webp",f[1].length-5)!==-1)return-1}return 0});let c="",l;for(let f=0;f<u.length;f++){l=u[f],c=l[1];const d=u[f+1];if(d&&d[0]<i){c=l[1];break}else if(!d){c=l[1];break}}return c}const x1=(e=1)=>Vt&&window.devicePixelRatio||e;function O1(){if(!Vt)return!1;let e=!0;try{const t=document.createElement("canvas");t.getContext&&t.getContext("2d")&&(e=t.toDataURL("image/webp").indexOf("data:image/webp")===0)}catch(t){e=!1}return e}function I1(e,t){let n=null,r=0;return function(...i){if(n)return;const o=Date.now()-r,s=()=>{r=Date.now(),n=!1,e.apply(this,i)};o>=t?s():n=setTimeout(s,t)}}function R1(e,t,n){e.addEventListener(t,n,{capture:!1,passive:!0})}function P1(e,t,n){e.removeEventListener(t,n,!1)}const lu=(e,t,n)=>{const r=new Image;if(!e||!e.src)return n(new Error("image src is required"));r.src=e.src,e.cors&&(r.crossOrigin=e.cors),r.onload=()=>t({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src}),r.onerror=i=>n(i)};class D1{constructor({max:t}){this.options={max:t||100},this.caches=[]}has(t){return this.caches.indexOf(t)>-1}add(t){this.has(t)||(this.caches.push(t),this.caches.length>this.options.max&&this.free())}free(){this.caches.shift()}}class L1{constructor({el:t,src:n,error:r,loading:i,bindType:o,$parent:s,options:a,cors:u,elRenderer:c,imageCache:l}){this.el=t,this.src=n,this.error=r,this.loading=i,this.bindType=o,this.attempt=0,this.cors=u,this.naturalHeight=0,this.naturalWidth=0,this.options=a,this.$parent=s,this.elRenderer=c,this.imageCache=l,this.performanceData={loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}initState(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}record(t){this.performanceData[t]=Date.now()}update({src:t,loading:n,error:r}){const i=this.src;this.src=t,this.loading=n,this.error=r,this.filter(),i!==this.src&&(this.attempt=0,this.initState())}checkInView(){const t=Pt(this.el);return t.top<window.innerHeight*this.options.preLoad&&t.bottom>this.options.preLoadTop&&t.left<window.innerWidth*this.options.preLoad&&t.right>0}filter(){Object.keys(this.options.filter).forEach(t=>{this.options.filter[t](this,this.options)})}renderLoading(t){this.state.loading=!0,lu({src:this.loading,cors:this.cors},()=>{this.render("loading",!1),this.state.loading=!1,t()},()=>{t(),this.state.loading=!1})}load(t=qi){if(this.attempt>this.options.attempt-1&&this.state.error){t();return}if(!(this.state.rendered&&this.state.loaded)){if(this.imageCache.has(this.src))return this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,t();this.renderLoading(()=>{var n,r;this.attempt++,(r=(n=this.options.adapter).beforeLoad)==null||r.call(n,this,this.options),this.record("loadStart"),lu({src:this.src,cors:this.cors},i=>{this.naturalHeight=i.naturalHeight,this.naturalWidth=i.naturalWidth,this.state.loaded=!0,this.state.error=!1,this.record("loadEnd"),this.render("loaded",!1),this.state.rendered=!0,this.imageCache.add(this.src),t()},i=>{!this.options.silent&&console.error(i),this.state.error=!0,this.state.loaded=!1,this.render("error",!1)})})}}render(t,n){this.elRenderer(this,t,n)}performance(){let t="loading",n=0;return this.state.loaded&&(t="loaded",n=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:n}}$destroy(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}const rf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",F1=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],B1={rootMargin:"0px",threshold:0};function N1(){return class{constructor({preLoad:t,error:n,throttleWait:r,preLoadTop:i,dispatchEvent:o,loading:s,attempt:a,silent:u=!0,scale:c,listenEvents:l,filter:f,adapter:d,observer:h,observerOptions:p}){this.mode=rr.event,this.listeners=[],this.targetIndex=0,this.targets=[],this.options={silent:u,dispatchEvent:!!o,throttleWait:r||200,preLoad:t||1.3,preLoadTop:i||0,error:n||rf,loading:s||rf,attempt:a||3,scale:c||x1(c),ListenEvents:l||F1,supportWebp:O1(),filter:f||{},adapter:d||{},observer:!!h,observerOptions:p||B1},this.initEvent(),this.imageCache=new D1({max:200}),this.lazyLoadHandler=I1(this.lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?rr.observer:rr.event)}config(t={}){Object.assign(this.options,t)}performance(){return this.listeners.map(t=>t.performance())}addLazyBox(t){this.listeners.push(t),Vt&&(this.addListenerTarget(window),this.observer&&this.observer.observe(t.el),t.$el&&t.$el.parentNode&&this.addListenerTarget(t.$el.parentNode))}add(t,n,r){if(this.listeners.some(s=>s.el===t))return this.update(t,n),Pe(this.lazyLoadHandler);const i=this.valueFormatter(n.value);let{src:o}=i;Pe(()=>{o=nf(t,this.options.scale)||o,this.observer&&this.observer.observe(t);const s=Object.keys(n.modifiers)[0];let a;s&&(a=r.context.$refs[s],a=a?a.$el||a:document.getElementById(s)),a||(a=Wu(t));const u=new L1({bindType:n.arg,$parent:a,el:t,src:o,loading:i.loading,error:i.error,cors:i.cors,elRenderer:this.elRenderer.bind(this),options:this.options,imageCache:this.imageCache});this.listeners.push(u),Vt&&(this.addListenerTarget(window),this.addListenerTarget(a)),this.lazyLoadHandler(),Pe(()=>this.lazyLoadHandler())})}update(t,n,r){const i=this.valueFormatter(n.value);let{src:o}=i;o=nf(t,this.options.scale)||o;const s=this.listeners.find(a=>a.el===t);s?s.update({src:o,error:i.error,loading:i.loading}):this.add(t,n,r),this.observer&&(this.observer.unobserve(t),this.observer.observe(t)),this.lazyLoadHandler(),Pe(()=>this.lazyLoadHandler())}remove(t){if(!t)return;this.observer&&this.observer.unobserve(t);const n=this.listeners.find(r=>r.el===t);n&&(this.removeListenerTarget(n.$parent),this.removeListenerTarget(window),Ai(this.listeners,n),n.$destroy())}removeComponent(t){!t||(Ai(this.listeners,t),this.observer&&this.observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this.removeListenerTarget(t.$el.parentNode),this.removeListenerTarget(window))}setMode(t){!tf&&t===rr.observer&&(t=rr.event),this.mode=t,t===rr.event?(this.observer&&(this.listeners.forEach(n=>{this.observer.unobserve(n.el)}),this.observer=null),this.targets.forEach(n=>{this.initListen(n.el,!0)})):(this.targets.forEach(n=>{this.initListen(n.el,!1)}),this.initIntersectionObserver())}addListenerTarget(t){if(!t)return;let n=this.targets.find(r=>r.el===t);return n?n.childrenCount++:(n={el:t,id:++this.targetIndex,childrenCount:1,listened:!0},this.mode===rr.event&&this.initListen(n.el,!0),this.targets.push(n)),this.targetIndex}removeListenerTarget(t){this.targets.forEach((n,r)=>{n.el===t&&(n.childrenCount--,n.childrenCount||(this.initListen(n.el,!1),this.targets.splice(r,1),n=null))})}initListen(t,n){this.options.ListenEvents.forEach(r=>(n?R1:P1)(t,r,this.lazyLoadHandler))}initEvent(){this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=(t,n)=>{this.Event.listeners[t]||(this.Event.listeners[t]=[]),this.Event.listeners[t].push(n)},this.$once=(t,n)=>{const r=(...i)=>{this.$off(t,r),n.apply(this,i)};this.$on(t,r)},this.$off=(t,n)=>{if(!n){if(!this.Event.listeners[t])return;this.Event.listeners[t].length=0;return}Ai(this.Event.listeners[t],n)},this.$emit=(t,n,r)=>{!this.Event.listeners[t]||this.Event.listeners[t].forEach(i=>i(n,r))}}lazyLoadHandler(){const t=[];this.listeners.forEach(n=>{(!n.el||!n.el.parentNode)&&t.push(n),n.checkInView()&&n.load()}),t.forEach(n=>{Ai(this.listeners,n),n.$destroy()})}initIntersectionObserver(){!tf||(this.observer=new IntersectionObserver(this.observerHandler.bind(this),this.options.observerOptions),this.listeners.length&&this.listeners.forEach(t=>{this.observer.observe(t.el)}))}observerHandler(t){t.forEach(n=>{n.isIntersecting&&this.listeners.forEach(r=>{if(r.el===n.target){if(r.state.loaded)return this.observer.unobserve(r.el);r.load()}})})}elRenderer(t,n,r){if(!t.el)return;const{el:i,bindType:o}=t;let s;switch(n){case"loading":s=t.loading;break;case"error":s=t.error;break;default:({src:s}=t);break}if(o?i.style[o]='url("'+s+'")':i.getAttribute("src")!==s&&i.setAttribute("src",s),i.setAttribute("lazy",n),this.$emit(n,t,r),this.options.adapter[n]&&this.options.adapter[n](t,this.options),this.options.dispatchEvent){const a=new CustomEvent(n,{detail:t});i.dispatchEvent(a)}}valueFormatter(t){let n=t,{loading:r,error:i}=this.options;return Kr(t)&&({src:n}=t,r=t.loading||this.options.loading,i=t.error||this.options.error),{src:n,loading:r,error:i}}}}var k1=e=>({props:{tag:{type:String,default:"div"}},emits:["show"],render(){return Qi(this.tag,this.show&&this.$slots.default?this.$slots.default():null)},data(){return{el:null,state:{loaded:!1},show:!1}},mounted(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeUnmount(){e.removeComponent(this)},methods:{checkInView(){const t=Pt(this.$el);return Vt&&t.top<window.innerHeight*e.options.preLoad&&t.bottom>0&&t.left<window.innerWidth*e.options.preLoad&&t.right>0},load(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)},destroy(){return this.$destroy}}});const M1={selector:"img"};class V1{constructor({el:t,binding:n,vnode:r,lazy:i}){this.el=null,this.vnode=r,this.binding=n,this.options={},this.lazy=i,this.queue=[],this.update({el:t,binding:n})}update({el:t,binding:n}){this.el=t,this.options=Object.assign({},M1,n.value),this.getImgs().forEach(i=>{this.lazy.add(i,Object.assign({},this.binding,{value:{src:"dataset"in i?i.dataset.src:i.getAttribute("data-src"),error:("dataset"in i?i.dataset.error:i.getAttribute("data-error"))||this.options.error,loading:("dataset"in i?i.dataset.loading:i.getAttribute("data-loading"))||this.options.loading}}),this.vnode)})}getImgs(){return Array.from(this.el.querySelectorAll(this.options.selector))}clear(){this.getImgs().forEach(n=>this.lazy.remove(n)),this.vnode=null,this.binding=null,this.lazy=null}}class j1{constructor({lazy:t}){this.lazy=t,this.queue=[]}bind(t,n,r){const i=new V1({el:t,binding:n,vnode:r,lazy:this.lazy});this.queue.push(i)}update(t,n,r){const i=this.queue.find(o=>o.el===t);!i||i.update({el:t,binding:n,vnode:r})}unbind(t){const n=this.queue.find(r=>r.el===t);!n||(n.clear(),Ai(this.queue,n))}}var U1=e=>({props:{src:[String,Object],tag:{type:String,default:"img"}},render(){var t,n;return Qi(this.tag,{src:this.renderSrc},(n=(t=this.$slots).default)==null?void 0:n.call(t))},data(){return{el:null,options:{src:"",error:"",loading:"",attempt:e.options.attempt},state:{loaded:!1,error:!1,attempt:0},renderSrc:""}},watch:{src(){this.init(),e.addLazyBox(this),e.lazyLoadHandler()}},created(){this.init(),this.renderSrc=this.options.loading},mounted(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeUnmount(){e.removeComponent(this)},methods:{init(){const{src:t,loading:n,error:r}=e.valueFormatter(this.src);this.state.loaded=!1,this.options.src=t,this.options.error=r,this.options.loading=n,this.renderSrc=this.options.loading},checkInView(){const t=Pt(this.$el);return t.top<window.innerHeight*e.options.preLoad&&t.bottom>0&&t.left<window.innerWidth*e.options.preLoad&&t.right>0},load(t=qi){if(this.state.attempt>this.options.attempt-1&&this.state.error){t();return}const{src:n}=this.options;lu({src:n},({src:r})=>{this.renderSrc=r,this.state.loaded=!0},()=>{this.state.attempt++,this.renderSrc=this.options.error,this.state.error=!0})}}});const H1={install(e,t={}){const n=N1(),r=new n(t),i=new j1({lazy:r});e.config.globalProperties.$Lazyload=r,t.lazyComponent&&e.component("LazyComponent",k1(r)),t.lazyImage&&e.component("LazyImage",U1(r)),e.directive("lazy",{beforeMount:r.add.bind(r),updated:r.update.bind(r),unmounted:r.remove.bind(r)}),e.directive("lazy-container",{beforeMount:i.bind.bind(i),updated:i.update.bind(i),unmounted:i.unbind.bind(i)})}};/*!
  * vue-router v4.1.6
  * (c) 2022 Eduardo San Martin Morote
  * @license MIT
  */const Rr=typeof window!="undefined";function z1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Re=Object.assign;function Sa(e,t){const n={};for(const r in t){const i=t[r];n[r]=Kt(i)?i.map(e):e(i)}return n}const Fi=()=>{},Kt=Array.isArray,G1=/\/$/,q1=e=>e.replace(G1,"");function $a(e,t,n="/"){let r,i={},o="",s="";const a=t.indexOf("#");let u=t.indexOf("?");return a<u&&a>=0&&(u=-1),u>-1&&(r=t.slice(0,u),o=t.slice(u+1,a>-1?a:t.length),i=e(o)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=X1(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function W1(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function of(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function K1(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Hr(t.matched[r],n.matched[i])&&qp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Y1(e[n],t[n]))return!1;return!0}function Y1(e,t){return Kt(e)?sf(e,t):Kt(t)?sf(t,e):e===t}function sf(e,t){return Kt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function X1(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let i=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Yi;(function(e){e.pop="pop",e.push="push"})(Yi||(Yi={}));var Bi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Bi||(Bi={}));function J1(e){if(!e)if(Rr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),q1(e)}const Z1=/^[^#]+#/;function Q1(e,t){return e.replace(Z1,"#")+t}function ew(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Bs=()=>({left:window.pageXOffset,top:window.pageYOffset});function tw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=ew(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function af(e,t){return(history.state?history.state.position-t:-1)+e}const cu=new Map;function nw(e,t){cu.set(e,t)}function rw(e){const t=cu.get(e);return cu.delete(e),t}let iw=()=>location.protocol+"//"+location.host;function Wp(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,u=i.slice(a);return u[0]!=="/"&&(u="/"+u),of(u,"")}return of(n,e)+r+i}function ow(e,t,n,r){let i=[],o=[],s=null;const a=({state:d})=>{const h=Wp(e,location),p=n.value,g=t.value;let m=0;if(d){if(n.value=h,t.value=d,s&&s===p){s=null;return}m=g?d.position-g.position:0}else r(h);i.forEach(y=>{y(n.value,p,{delta:m,type:Yi.pop,direction:m?m>0?Bi.forward:Bi.back:Bi.unknown})})};function u(){s=n.value}function c(d){i.push(d);const h=()=>{const p=i.indexOf(d);p>-1&&i.splice(p,1)};return o.push(h),h}function l(){const{history:d}=window;!d.state||d.replaceState(Re({},d.state,{scroll:Bs()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l),{pauseListeners:u,listen:c,destroy:f}}function uf(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Bs():null}}function sw(e){const{history:t,location:n}=window,r={value:Wp(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,c,l){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+u:iw()+e+u;try{t[l?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[l?"replace":"assign"](d)}}function s(u,c){const l=Re({},t.state,uf(i.value.back,u,i.value.forward,!0),c,{position:i.value.position});o(u,l,!0),r.value=u}function a(u,c){const l=Re({},i.value,t.state,{forward:u,scroll:Bs()});o(l.current,l,!0);const f=Re({},uf(r.value,u,null),{position:l.position+1},c);o(u,f,!1),r.value=u}return{location:r,state:i,push:a,replace:s}}function aw(e){e=J1(e);const t=sw(e),n=ow(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=Re({location:"",base:e,go:r,createHref:Q1.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function uw(e){return typeof e=="string"||e&&typeof e=="object"}function Kp(e){return typeof e=="string"||typeof e=="symbol"}const Rn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Yp=Symbol("");var lf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(lf||(lf={}));function zr(e,t){return Re(new Error,{type:e,[Yp]:!0},t)}function hn(e,t){return e instanceof Error&&Yp in e&&(t==null||!!(e.type&t))}const cf="[^/]+?",lw={sensitive:!1,strict:!1,start:!0,end:!0},cw=/[.+*?^${}()[\]/\\]/g;function fw(e,t){const n=Re({},lw,t),r=[];let i=n.start?"^":"";const o=[];for(const c of e){const l=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(cw,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:g,optional:m,regexp:y}=d;o.push({name:p,repeatable:g,optional:m});const _=y||cf;if(_!==cf){h+=10;try{new RegExp(`(${_})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+E.message)}}let v=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(v=m&&c.length<2?`(?:/${v})`:"/"+v),m&&(v+="?"),i+=v,h+=20,m&&(h+=-8),g&&(h+=-20),_===".*"&&(h+=-50)}l.push(h)}r.push(l)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const s=new RegExp(i,n.sensitive?"":"i");function a(c){const l=c.match(s),f={};if(!l)return null;for(let d=1;d<l.length;d++){const h=l[d]||"",p=o[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function u(c){let l="",f=!1;for(const d of e){(!f||!l.endsWith("/"))&&(l+="/"),f=!1;for(const h of d)if(h.type===0)l+=h.value;else if(h.type===1){const{value:p,repeatable:g,optional:m}=h,y=p in c?c[p]:"";if(Kt(y)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=Kt(y)?y.join("/"):y;if(!_)if(m)d.length<2&&(l.endsWith("/")?l=l.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);l+=_}}return l||"/"}return{re:s,score:r,keys:o,parse:a,stringify:u}}function dw(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function hw(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=dw(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(ff(r))return 1;if(ff(i))return-1}return i.length-r.length}function ff(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const pw={type:0,value:""},vw=/[a-zA-Z0-9_]/;function mw(e){if(!e)return[[]];if(e==="/")return[[pw]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let a=0,u,c="",l="";function f(){!c||(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:l,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=u}for(;a<e.length;){if(u=e[a++],u==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:u==="/"?(c&&f(),s()):u===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:u==="("?n=2:vw.test(u)?d():(f(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--);break;case 2:u===")"?l[l.length-1]=="\\"?l=l.slice(0,-1)+u:n=3:l+=u;break;case 3:f(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&a--,l="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),s(),i}function gw(e,t,n){const r=fw(mw(e.path),n),i=Re(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function _w(e,t){const n=[],r=new Map;t=pf({strict:!1,end:!0,sensitive:!1},t);function i(l){return r.get(l)}function o(l,f,d){const h=!d,p=yw(l);p.aliasOf=d&&d.record;const g=pf(t,l),m=[p];if("alias"in l){const v=typeof l.alias=="string"?[l.alias]:l.alias;for(const E of v)m.push(Re({},p,{components:d?d.record.components:p.components,path:E,aliasOf:d?d.record:p}))}let y,_;for(const v of m){const{path:E}=v;if(f&&E[0]!=="/"){const T=f.record.path,I=T[T.length-1]==="/"?"":"/";v.path=f.record.path+(E&&I+E)}if(y=gw(v,f,g),d?d.alias.push(y):(_=_||y,_!==y&&_.alias.push(y),h&&l.name&&!hf(y)&&s(l.name)),p.children){const T=p.children;for(let I=0;I<T.length;I++)o(T[I],y,d&&d.children[I])}d=d||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&u(y)}return _?()=>{s(_)}:Fi}function s(l){if(Kp(l)){const f=r.get(l);f&&(r.delete(l),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(l);f>-1&&(n.splice(f,1),l.record.name&&r.delete(l.record.name),l.children.forEach(s),l.alias.forEach(s))}}function a(){return n}function u(l){let f=0;for(;f<n.length&&hw(l,n[f])>=0&&(l.record.path!==n[f].record.path||!Xp(l,n[f]));)f++;n.splice(f,0,l),l.record.name&&!hf(l)&&r.set(l.record.name,l)}function c(l,f){let d,h={},p,g;if("name"in l&&l.name){if(d=r.get(l.name),!d)throw zr(1,{location:l});g=d.record.name,h=Re(df(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),l.params&&df(l.params,d.keys.map(_=>_.name))),p=d.stringify(h)}else if("path"in l)p=l.path,d=n.find(_=>_.re.test(p)),d&&(h=d.parse(p),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw zr(1,{location:l,currentLocation:f});g=d.record.name,h=Re({},f.params,l.params),p=d.stringify(h)}const m=[];let y=d;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:p,params:h,matched:m,meta:bw(m)}}return e.forEach(l=>o(l)),{addRoute:o,resolve:c,removeRoute:s,getRoutes:a,getRecordMatcher:i}}function df(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function yw(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ew(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Ew(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function hf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bw(e){return e.reduce((t,n)=>Re(t,n.meta),{})}function pf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Xp(e,t){return t.children.some(n=>n===e||Xp(e,n))}const Jp=/#/g,ww=/&/g,Cw=/\//g,Aw=/=/g,Sw=/\?/g,Zp=/\+/g,$w=/%5B/g,Tw=/%5D/g,Qp=/%5E/g,xw=/%60/g,ev=/%7B/g,Ow=/%7C/g,tv=/%7D/g,Iw=/%20/g;function al(e){return encodeURI(""+e).replace(Ow,"|").replace($w,"[").replace(Tw,"]")}function Rw(e){return al(e).replace(ev,"{").replace(tv,"}").replace(Qp,"^")}function fu(e){return al(e).replace(Zp,"%2B").replace(Iw,"+").replace(Jp,"%23").replace(ww,"%26").replace(xw,"`").replace(ev,"{").replace(tv,"}").replace(Qp,"^")}function Pw(e){return fu(e).replace(Aw,"%3D")}function Dw(e){return al(e).replace(Jp,"%23").replace(Sw,"%3F")}function Lw(e){return e==null?"":Dw(e).replace(Cw,"%2F")}function is(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Fw(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const o=r[i].replace(Zp," "),s=o.indexOf("="),a=is(s<0?o:o.slice(0,s)),u=s<0?null:is(o.slice(s+1));if(a in t){let c=t[a];Kt(c)||(c=t[a]=[c]),c.push(u)}else t[a]=u}return t}function vf(e){let t="";for(let n in e){const r=e[n];if(n=Pw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Kt(r)?r.map(o=>o&&fu(o)):[r&&fu(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Bw(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Kt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const nv=Symbol(""),mf=Symbol(""),Ns=Symbol(""),ul=Symbol(""),du=Symbol("");function mi(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Nw(e,t,n){const r=()=>{e[t].delete(n)};Xn(r),mr(r),qr(()=>{e[t].add(n)}),e[t].add(n)}function d6(e){const t=ut(nv,{}).value;!t||Nw(t,"leaveGuards",e)}function Bn(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const u=f=>{f===!1?a(zr(4,{from:n,to:t})):f instanceof Error?a(f):uw(f)?a(zr(2,{from:t,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),s())},c=e.call(r&&r.instances[i],t,n,u);let l=Promise.resolve(c);e.length<3&&(l=l.then(u)),l.catch(f=>a(f))})}function Ta(e,t,n,r){const i=[];for(const o of e)for(const s in o.components){let a=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(kw(a)){const c=(a.__vccOpts||a)[t];c&&i.push(Bn(c,n,r,o,s))}else{let u=a();i.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const l=z1(c)?c.default:c;o.components[s]=l;const d=(l.__vccOpts||l)[t];return d&&Bn(d,n,r,o,s)()}))}}return i}function kw(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gf(e){const t=ut(Ns),n=ut(ul),r=ce(()=>t.resolve(be(e.to))),i=ce(()=>{const{matched:u}=r.value,{length:c}=u,l=u[c-1],f=n.matched;if(!l||!f.length)return-1;const d=f.findIndex(Hr.bind(null,l));if(d>-1)return d;const h=_f(u[c-2]);return c>1&&_f(l)===h&&f[f.length-1].path!==h?f.findIndex(Hr.bind(null,u[c-2])):d}),o=ce(()=>i.value>-1&&Uw(n.params,r.value.params)),s=ce(()=>i.value>-1&&i.value===n.matched.length-1&&qp(n.params,r.value.params));function a(u={}){return jw(u)?t[be(e.replace)?"replace":"push"](be(e.to)).catch(Fi):Promise.resolve()}return{route:r,href:ce(()=>r.value.href),isActive:o,isExactActive:s,navigate:a}}const Mw=pe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:gf,setup(e,{slots:t}){const n=lt(gf(e)),{options:r}=ut(Ns),i=ce(()=>({[yf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[yf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Qi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),Vw=Mw;function jw(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Uw(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Kt(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function _f(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const yf=(e,t,n)=>e!=null?e:t!=null?t:n,Hw=pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ut(du),i=ce(()=>e.route||r.value),o=ut(mf,0),s=ce(()=>{let c=be(o);const{matched:l}=i.value;let f;for(;(f=l[c])&&!f.components;)c++;return c}),a=ce(()=>i.value.matched[s.value]);yn(mf,ce(()=>s.value+1)),yn(nv,a),yn(du,i);const u=se();return $e(()=>[u.value,a.value,e.name],([c,l,f],[d,h,p])=>{l&&(l.instances[f]=c,h&&h!==l&&c&&c===d&&(l.leaveGuards.size||(l.leaveGuards=h.leaveGuards),l.updateGuards.size||(l.updateGuards=h.updateGuards))),c&&l&&(!h||!Hr(l,h)||!d)&&(l.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,l=e.name,f=a.value,d=f&&f.components[l];if(!d)return Ef(n.default,{Component:d,route:c});const h=f.props[l],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=Qi(d,Re({},p,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[l]=null)},ref:u}));return Ef(n.default,{Component:m,route:c})||m}}});function Ef(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const zw=Hw;function Gw(e){const t=_w(e.routes,e),n=e.parseQuery||Fw,r=e.stringifyQuery||vf,i=e.history,o=mi(),s=mi(),a=mi(),u=Ng(Rn);let c=Rn;Rr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const l=Sa.bind(null,b=>""+b),f=Sa.bind(null,Lw),d=Sa.bind(null,is);function h(b,w){let B,K;return Kp(b)?(B=t.getRecordMatcher(b),K=w):K=b,t.addRoute(K,B)}function p(b){const w=t.getRecordMatcher(b);w&&t.removeRoute(w)}function g(){return t.getRoutes().map(b=>b.record)}function m(b){return!!t.getRecordMatcher(b)}function y(b,w){if(w=Re({},w||u.value),typeof b=="string"){const fe=$a(n,b,w.path),$=t.resolve({path:fe.path},w),D=i.createHref(fe.fullPath);return Re(fe,$,{params:d($.params),hash:is(fe.hash),redirectedFrom:void 0,href:D})}let B;if("path"in b)B=Re({},b,{path:$a(n,b.path,w.path).path});else{const fe=Re({},b.params);for(const $ in fe)fe[$]==null&&delete fe[$];B=Re({},b,{params:f(b.params)}),w.params=f(w.params)}const K=t.resolve(B,w),ne=b.hash||"";K.params=l(d(K.params));const ae=W1(r,Re({},b,{hash:Rw(ne),path:K.path})),ue=i.createHref(ae);return Re({fullPath:ae,hash:ne,query:r===vf?Bw(b.query):b.query||{}},K,{redirectedFrom:void 0,href:ue})}function _(b){return typeof b=="string"?$a(n,b,u.value.path):Re({},b)}function v(b,w){if(c!==b)return zr(8,{from:w,to:b})}function E(b){return L(b)}function T(b){return E(Re(_(b),{replace:!0}))}function I(b){const w=b.matched[b.matched.length-1];if(w&&w.redirect){const{redirect:B}=w;let K=typeof B=="function"?B(b):B;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=_(K):{path:K},K.params={}),Re({query:b.query,hash:b.hash,params:"path"in K?{}:b.params},K)}}function L(b,w){const B=c=y(b),K=u.value,ne=b.state,ae=b.force,ue=b.replace===!0,fe=I(B);if(fe)return L(Re(_(fe),{state:typeof fe=="object"?Re({},ne,fe.state):ne,force:ae,replace:ue}),w||B);const $=B;$.redirectedFrom=w;let D;return!ae&&K1(r,K,B)&&(D=zr(16,{to:$,from:K}),R(K,K,!0,!1)),(D?Promise.resolve(D):M($,K)).catch(z=>hn(z)?hn(z,2)?z:S(z):C(z,$,K)).then(z=>{if(z){if(hn(z,2))return L(Re({replace:ue},_(z.to),{state:typeof z.to=="object"?Re({},ne,z.to.state):ne,force:ae}),w||$)}else z=ee($,K,!0,ue,ne);return W($,K,z),z})}function G(b,w){const B=v(b,w);return B?Promise.reject(B):Promise.resolve()}function M(b,w){let B;const[K,ne,ae]=qw(b,w);B=Ta(K.reverse(),"beforeRouteLeave",b,w);for(const fe of K)fe.leaveGuards.forEach($=>{B.push(Bn($,b,w))});const ue=G.bind(null,b,w);return B.push(ue),Sr(B).then(()=>{B=[];for(const fe of o.list())B.push(Bn(fe,b,w));return B.push(ue),Sr(B)}).then(()=>{B=Ta(ne,"beforeRouteUpdate",b,w);for(const fe of ne)fe.updateGuards.forEach($=>{B.push(Bn($,b,w))});return B.push(ue),Sr(B)}).then(()=>{B=[];for(const fe of b.matched)if(fe.beforeEnter&&!w.matched.includes(fe))if(Kt(fe.beforeEnter))for(const $ of fe.beforeEnter)B.push(Bn($,b,w));else B.push(Bn(fe.beforeEnter,b,w));return B.push(ue),Sr(B)}).then(()=>(b.matched.forEach(fe=>fe.enterCallbacks={}),B=Ta(ae,"beforeRouteEnter",b,w),B.push(ue),Sr(B))).then(()=>{B=[];for(const fe of s.list())B.push(Bn(fe,b,w));return B.push(ue),Sr(B)}).catch(fe=>hn(fe,8)?fe:Promise.reject(fe))}function W(b,w,B){for(const K of a.list())K(b,w,B)}function ee(b,w,B,K,ne){const ae=v(b,w);if(ae)return ae;const ue=w===Rn,fe=Rr?history.state:{};B&&(K||ue?i.replace(b.fullPath,Re({scroll:ue&&fe&&fe.scroll},ne)):i.push(b.fullPath,ne)),u.value=b,R(b,w,B,ue),S()}let q;function H(){q||(q=i.listen((b,w,B)=>{if(!Y.listening)return;const K=y(b),ne=I(K);if(ne){L(Re(ne,{replace:!0}),K).catch(Fi);return}c=K;const ae=u.value;Rr&&nw(af(ae.fullPath,B.delta),Bs()),M(K,ae).catch(ue=>hn(ue,12)?ue:hn(ue,2)?(L(ue.to,K).then(fe=>{hn(fe,20)&&!B.delta&&B.type===Yi.pop&&i.go(-1,!1)}).catch(Fi),Promise.reject()):(B.delta&&i.go(-B.delta,!1),C(ue,K,ae))).then(ue=>{ue=ue||ee(K,ae,!1),ue&&(B.delta&&!hn(ue,8)?i.go(-B.delta,!1):B.type===Yi.pop&&hn(ue,20)&&i.go(-1,!1)),W(K,ae,ue)}).catch(Fi)}))}let F=mi(),P=mi(),A;function C(b,w,B){S(b);const K=P.list();return K.length?K.forEach(ne=>ne(b,w,B)):console.error(b),Promise.reject(b)}function O(){return A&&u.value!==Rn?Promise.resolve():new Promise((b,w)=>{F.add([b,w])})}function S(b){return A||(A=!b,H(),F.list().forEach(([w,B])=>b?B(b):w()),F.reset()),b}function R(b,w,B,K){const{scrollBehavior:ne}=e;if(!Rr||!ne)return Promise.resolve();const ae=!B&&rw(af(b.fullPath,0))||(K||!B)&&history.state&&history.state.scroll||null;return Pe().then(()=>ne(b,w,ae)).then(ue=>ue&&tw(ue)).catch(ue=>C(ue,b,w))}const k=b=>i.go(b);let N;const ie=new Set,Y={currentRoute:u,listening:!0,addRoute:h,removeRoute:p,hasRoute:m,getRoutes:g,resolve:y,options:e,push:E,replace:T,go:k,back:()=>k(-1),forward:()=>k(1),beforeEach:o.add,beforeResolve:s.add,afterEach:a.add,onError:P.add,isReady:O,install(b){const w=this;b.component("RouterLink",Vw),b.component("RouterView",zw),b.config.globalProperties.$router=w,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>be(u)}),Rr&&!N&&u.value===Rn&&(N=!0,E(i.location).catch(ne=>{}));const B={};for(const ne in Rn)B[ne]=ce(()=>u.value[ne]);b.provide(Ns,w),b.provide(ul,lt(B)),b.provide(du,u);const K=b.unmount;ie.add(b),b.unmount=function(){ie.delete(b),ie.size<1&&(c=Rn,q&&q(),q=null,u.value=Rn,N=!1,A=!1),K()}}};return Y}function Sr(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function qw(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;s<o;s++){const a=t.matched[s];a&&(e.matched.find(c=>Hr(c,a))?r.push(a):n.push(a));const u=e.matched[s];u&&(t.matched.find(c=>Hr(c,u))||i.push(u))}return[n,r,i]}function ks(){return ut(Ns)}function Ms(){return ut(ul)}const Ww={local:{cloudPrint:"https://print.jc-test.cn/api",niim:"https://chenyin.jc-test.cn/api",kalimdor:{clientId:"test",serverUri:"https://kalimdor.jc-test.cn",authSecret:"KFdjyqt2eolChslT"},printH5Url:"https://print.jc-test.cn/h5#/",OSS_URL_PREFIX:"https://oss-print-fat.jc-test.cn/public_resources/static_resources",drama:"https://drama.jc-test.cn/api"},fat:{cloudPrint:"https://print.jc-test.cn/api",niim:"https://chenyin.jc-test.cn/api",kalimdor:{clientId:"test",serverUri:"https://kalimdor.jc-test.cn",authSecret:"KFdjyqt2eolChslT"},printH5Url:"https://print.jc-test.cn/h5#/",OSS_URL_PREFIX:"https://oss-print-fat.jc-test.cn/public_resources/static_resources",drama:"https://drama.jc-test.cn/api"},pro:{cloudPrint:"https://print.niimbot.com/api",niim:"https://cxy.niimbot.com/api",kalimdor:{clientId:"print",serverUri:"https://kalimdor.niimbot.com",authSecret:"w0UIU!gDWU*9GSze"},printH5Url:"http://print.niimbot.com/h5#/",OSS_URL_PREFIX:"https://oss-print.niimbot.com/public_resources/static_resources",drama:"https://drama.niimbot.com/api"}};var tn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Kw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function h6(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}function p6(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ll={exports:{}},rv=function(t,n){return function(){for(var i=new Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];return t.apply(n,i)}},Yw=rv,gr=Object.prototype.toString;function cl(e){return gr.call(e)==="[object Array]"}function hu(e){return typeof e=="undefined"}function Xw(e){return e!==null&&!hu(e)&&e.constructor!==null&&!hu(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Jw(e){return gr.call(e)==="[object ArrayBuffer]"}function Zw(e){return typeof FormData!="undefined"&&e instanceof FormData}function Qw(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function eC(e){return typeof e=="string"}function tC(e){return typeof e=="number"}function iv(e){return e!==null&&typeof e=="object"}function Ho(e){if(gr.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function nC(e){return gr.call(e)==="[object Date]"}function rC(e){return gr.call(e)==="[object File]"}function iC(e){return gr.call(e)==="[object Blob]"}function ov(e){return gr.call(e)==="[object Function]"}function oC(e){return iv(e)&&ov(e.pipe)}function sC(e){return typeof URLSearchParams!="undefined"&&e instanceof URLSearchParams}function aC(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function uC(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function fl(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),cl(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function pu(){var e={};function t(i,o){Ho(e[o])&&Ho(i)?e[o]=pu(e[o],i):Ho(i)?e[o]=pu({},i):cl(i)?e[o]=i.slice():e[o]=i}for(var n=0,r=arguments.length;n<r;n++)fl(arguments[n],t);return e}function lC(e,t,n){return fl(t,function(i,o){n&&typeof i=="function"?e[o]=Yw(i,n):e[o]=i}),e}function cC(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var Dt={isArray:cl,isArrayBuffer:Jw,isBuffer:Xw,isFormData:Zw,isArrayBufferView:Qw,isString:eC,isNumber:tC,isObject:iv,isPlainObject:Ho,isUndefined:hu,isDate:nC,isFile:rC,isBlob:iC,isFunction:ov,isStream:oC,isURLSearchParams:sC,isStandardBrowserEnv:uC,forEach:fl,merge:pu,extend:lC,trim:aC,stripBOM:cC},$r=Dt;function bf(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var sv=function(t,n,r){if(!n)return t;var i;if(r)i=r(n);else if($r.isURLSearchParams(n))i=n.toString();else{var o=[];$r.forEach(n,function(u,c){u===null||typeof u=="undefined"||($r.isArray(u)?c=c+"[]":u=[u],$r.forEach(u,function(f){$r.isDate(f)?f=f.toISOString():$r.isObject(f)&&(f=JSON.stringify(f)),o.push(bf(c)+"="+bf(f))}))}),i=o.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t},fC=Dt;function Vs(){this.handlers=[]}Vs.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Vs.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Vs.prototype.forEach=function(t){fC.forEach(this.handlers,function(r){r!==null&&t(r)})};var dC=Vs,hC=Dt,pC=function(t,n){hC.forEach(t,function(i,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(t[n]=i,delete t[o])})},av=function(t,n,r,i,o){return t.config=n,r&&(t.code=r),t.request=i,t.response=o,t.isAxiosError=!0,t.toJSON=function(){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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},vC=av,uv=function(t,n,r,i,o){var s=new Error(t);return vC(s,n,r,i,o)},mC=uv,gC=function(t,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?t(r):n(mC("Request failed with status code "+r.status,r.config,null,r.request,r))},Po=Dt,_C=Po.isStandardBrowserEnv()?function(){return{write:function(n,r,i,o,s,a){var u=[];u.push(n+"="+encodeURIComponent(r)),Po.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),Po.isString(o)&&u.push("path="+o),Po.isString(s)&&u.push("domain="+s),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),yC=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)},EC=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},bC=yC,wC=EC,CC=function(t,n){return t&&!bC(n)?wC(t,n):n},xa=Dt,AC=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],SC=function(t){var n={},r,i,o;return t&&xa.forEach(t.split(`
`),function(a){if(o=a.indexOf(":"),r=xa.trim(a.substr(0,o)).toLowerCase(),i=xa.trim(a.substr(o+1)),r){if(n[r]&&AC.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([i]):n[r]=n[r]?n[r]+", "+i:i}}),n},wf=Dt,$C=wf.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(o){var s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){var a=wf.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function dl(e){this.message=e}dl.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};dl.prototype.__CANCEL__=!0;var js=dl,Do=Dt,TC=gC,xC=_C,OC=sv,IC=CC,RC=SC,PC=$C,Oa=uv,DC=Hs,LC=js,Cf=function(t){return new Promise(function(r,i){var o=t.data,s=t.headers,a=t.responseType,u;function c(){t.cancelToken&&t.cancelToken.unsubscribe(u),t.signal&&t.signal.removeEventListener("abort",u)}Do.isFormData(o)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(f+":"+d)}var h=IC(t.baseURL,t.url);l.open(t.method.toUpperCase(),OC(h,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function p(){if(!!l){var m="getAllResponseHeaders"in l?RC(l.getAllResponseHeaders()):null,y=!a||a==="text"||a==="json"?l.responseText:l.response,_={data:y,status:l.status,statusText:l.statusText,headers:m,config:t,request:l};TC(function(E){r(E),c()},function(E){i(E),c()},_),l=null}}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){!l||(i(Oa("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){i(Oa("Network Error",t,null,l)),l=null},l.ontimeout=function(){var y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||DC.transitional;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),i(Oa(y,t,_.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},Do.isStandardBrowserEnv()){var g=(t.withCredentials||PC(h))&&t.xsrfCookieName?xC.read(t.xsrfCookieName):void 0;g&&(s[t.xsrfHeaderName]=g)}"setRequestHeader"in l&&Do.forEach(s,function(y,_){typeof o=="undefined"&&_.toLowerCase()==="content-type"?delete s[_]:l.setRequestHeader(_,y)}),Do.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),a&&a!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(u=function(m){!l||(i(!m||m&&m.type?new LC("canceled"):m),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(u),t.signal&&(t.signal.aborted?u():t.signal.addEventListener("abort",u))),o||(o=null),l.send(o)})},ot=Dt,Af=pC,FC=av,BC={"Content-Type":"application/x-www-form-urlencoded"};function Sf(e,t){!ot.isUndefined(e)&&ot.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function NC(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Cf),e}function kC(e,t,n){if(ot.isString(e))try{return(t||JSON.parse)(e),ot.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Us={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:NC(),transformRequest:[function(t,n){return Af(n,"Accept"),Af(n,"Content-Type"),ot.isFormData(t)||ot.isArrayBuffer(t)||ot.isBuffer(t)||ot.isStream(t)||ot.isFile(t)||ot.isBlob(t)?t:ot.isArrayBufferView(t)?t.buffer:ot.isURLSearchParams(t)?(Sf(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):ot.isObject(t)||n&&n["Content-Type"]==="application/json"?(Sf(n,"application/json"),kC(t)):t}],transformResponse:[function(t){var n=this.transitional||Us.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,o=!r&&this.responseType==="json";if(o||i&&ot.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?FC(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ot.forEach(["delete","get","head"],function(t){Us.headers[t]={}});ot.forEach(["post","put","patch"],function(t){Us.headers[t]=ot.merge(BC)});var Hs=Us,MC=Dt,VC=Hs,jC=function(t,n,r){var i=this||VC;return MC.forEach(r,function(s){t=s.call(i,t,n)}),t},lv=function(t){return!!(t&&t.__CANCEL__)},$f=Dt,Ia=jC,UC=lv,HC=Hs,zC=js;function Ra(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zC("canceled")}var GC=function(t){Ra(t),t.headers=t.headers||{},t.data=Ia.call(t,t.data,t.headers,t.transformRequest),t.headers=$f.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),$f.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var n=t.adapter||HC.adapter;return n(t).then(function(i){return Ra(t),i.data=Ia.call(t,i.data,i.headers,t.transformResponse),i},function(i){return UC(i)||(Ra(t),i&&i.response&&(i.response.data=Ia.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})},xt=Dt,cv=function(t,n){n=n||{};var r={};function i(l,f){return xt.isPlainObject(l)&&xt.isPlainObject(f)?xt.merge(l,f):xt.isPlainObject(f)?xt.merge({},f):xt.isArray(f)?f.slice():f}function o(l){if(xt.isUndefined(n[l])){if(!xt.isUndefined(t[l]))return i(void 0,t[l])}else return i(t[l],n[l])}function s(l){if(!xt.isUndefined(n[l]))return i(void 0,n[l])}function a(l){if(xt.isUndefined(n[l])){if(!xt.isUndefined(t[l]))return i(void 0,t[l])}else return i(void 0,n[l])}function u(l){if(l in n)return i(t[l],n[l]);if(l in t)return i(void 0,t[l])}var c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u};return xt.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var d=c[f]||o,h=d(f);xt.isUndefined(h)&&d!==u||(r[f]=h)}),r},fv={version:"0.24.0"},qC=fv.version,hl={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){hl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Tf={};hl.transitional=function(t,n,r){function i(o,s){return"[Axios v"+qC+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return function(o,s,a){if(t===!1)throw new Error(i(s," has been removed"+(n?" in "+n:"")));return n&&!Tf[s]&&(Tf[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function WC(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],u=a===void 0||s(a,o,e);if(u!==!0)throw new TypeError("option "+o+" must be "+u);continue}if(n!==!0)throw Error("Unknown option "+o)}}var KC={assertOptions:WC,validators:hl},dv=Dt,YC=sv,xf=dC,Of=GC,zs=cv,hv=KC,Tr=hv.validators;function no(e){this.defaults=e,this.interceptors={request:new xf,response:new xf}}no.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=zs(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&hv.assertOptions(n,{silentJSONParsing:Tr.transitional(Tr.boolean),forcedJSONParsing:Tr.transitional(Tr.boolean),clarifyTimeoutError:Tr.transitional(Tr.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(t)===!1||(i=i&&d.synchronous,r.unshift(d.fulfilled,d.rejected))});var o=[];this.interceptors.response.forEach(function(d){o.push(d.fulfilled,d.rejected)});var s;if(!i){var a=[Of,void 0];for(Array.prototype.unshift.apply(a,r),a=a.concat(o),s=Promise.resolve(t);a.length;)s=s.then(a.shift(),a.shift());return s}for(var u=t;r.length;){var c=r.shift(),l=r.shift();try{u=c(u)}catch(f){l(f);break}}try{s=Of(u)}catch(f){return Promise.reject(f)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};no.prototype.getUri=function(t){return t=zs(this.defaults,t),YC(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};dv.forEach(["delete","get","head","options"],function(t){no.prototype[t]=function(n,r){return this.request(zs(r||{},{method:t,url:n,data:(r||{}).data}))}});dv.forEach(["post","put","patch"],function(t){no.prototype[t]=function(n,r,i){return this.request(zs(i||{},{method:t,url:n,data:r}))}});var XC=no,JC=js;function Gr(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var n=this;this.promise.then(function(r){if(!!n._listeners){var i,o=n._listeners.length;for(i=0;i<o;i++)n._listeners[i](r);n._listeners=null}}),this.promise.then=function(r){var i,o=new Promise(function(s){n.subscribe(s),i=s}).then(r);return o.cancel=function(){n.unsubscribe(i)},o},e(function(i){n.reason||(n.reason=new JC(i),t(n.reason))})}Gr.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Gr.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Gr.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Gr.source=function(){var t,n=new Gr(function(i){t=i});return{token:n,cancel:t}};var ZC=Gr,QC=function(t){return function(r){return t.apply(null,r)}},eA=function(t){return typeof t=="object"&&t.isAxiosError===!0},If=Dt,tA=rv,zo=XC,nA=cv,rA=Hs;function pv(e){var t=new zo(e),n=tA(zo.prototype.request,t);return If.extend(n,zo.prototype,t),If.extend(n,t),n.create=function(i){return pv(nA(e,i))},n}var un=pv(rA);un.Axios=zo;un.Cancel=js;un.CancelToken=ZC;un.isCancel=lv;un.VERSION=fv.version;un.all=function(t){return Promise.all(t)};un.spread=QC;un.isAxiosError=eA;ll.exports=un;ll.exports.default=un;var Pa=ll.exports,pl={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(tn,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",s="second",a="minute",u="hour",c="day",l="week",f="month",d="quarter",h="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var F=["th","st","nd","rd"],P=H%100;return"["+H+(F[(P-20)%10]||F[P]||F[0])+"]"}},v=function(H,F,P){var A=String(H);return!A||A.length>=F?H:""+Array(F+1-A.length).join(P)+H},E={s:v,z:function(H){var F=-H.utcOffset(),P=Math.abs(F),A=Math.floor(P/60),C=P%60;return(F<=0?"+":"-")+v(A,2,"0")+":"+v(C,2,"0")},m:function H(F,P){if(F.date()<P.date())return-H(P,F);var A=12*(P.year()-F.year())+(P.month()-F.month()),C=F.clone().add(A,f),O=P-C<0,S=F.clone().add(A+(O?-1:1),f);return+(-(A+(P-C)/(O?C-S:S-C))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:f,y:h,w:l,d:c,D:p,h:u,m:a,s,ms:o,Q:d}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},T="en",I={};I[T]=_;var L=function(H){return H instanceof ee},G=function H(F,P,A){var C;if(!F)return T;if(typeof F=="string"){var O=F.toLowerCase();I[O]&&(C=O),P&&(I[O]=P,C=O);var S=F.split("-");if(!C&&S.length>1)return H(S[0])}else{var R=F.name;I[R]=F,C=R}return!A&&C&&(T=C),C||!A&&T},M=function(H,F){if(L(H))return H.clone();var P=typeof F=="object"?F:{};return P.date=H,P.args=arguments,new ee(P)},W=E;W.l=G,W.i=L,W.w=function(H,F){return M(H,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var ee=function(){function H(P){this.$L=G(P.locale,null,!0),this.parse(P)}var F=H.prototype;return F.parse=function(P){this.$d=function(A){var C=A.date,O=A.utc;if(C===null)return new Date(NaN);if(W.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var S=C.match(m);if(S){var R=S[2]-1||0,k=(S[7]||"0").substring(0,3);return O?new Date(Date.UTC(S[1],R,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)):new Date(S[1],R,S[3]||1,S[4]||0,S[5]||0,S[6]||0,k)}}return new Date(C)}(P),this.$x=P.x||{},this.init()},F.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},F.$utils=function(){return W},F.isValid=function(){return this.$d.toString()!==g},F.isSame=function(P,A){var C=M(P);return this.startOf(A)<=C&&C<=this.endOf(A)},F.isAfter=function(P,A){return M(P)<this.startOf(A)},F.isBefore=function(P,A){return this.endOf(A)<M(P)},F.$g=function(P,A,C){return W.u(P)?this[A]:this.set(C,P)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(P,A){var C=this,O=!!W.u(A)||A,S=W.p(P),R=function(K,ne){var ae=W.w(C.$u?Date.UTC(C.$y,ne,K):new Date(C.$y,ne,K),C);return O?ae:ae.endOf(c)},k=function(K,ne){return W.w(C.toDate()[K].apply(C.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(ne)),C)},N=this.$W,ie=this.$M,Y=this.$D,b="set"+(this.$u?"UTC":"");switch(S){case h:return O?R(1,0):R(31,11);case f:return O?R(1,ie):R(0,ie+1);case l:var w=this.$locale().weekStart||0,B=(N<w?N+7:N)-w;return R(O?Y-B:Y+(6-B),ie);case c:case p:return k(b+"Hours",0);case u:return k(b+"Minutes",1);case a:return k(b+"Seconds",2);case s:return k(b+"Milliseconds",3);default:return this.clone()}},F.endOf=function(P){return this.startOf(P,!1)},F.$set=function(P,A){var C,O=W.p(P),S="set"+(this.$u?"UTC":""),R=(C={},C[c]=S+"Date",C[p]=S+"Date",C[f]=S+"Month",C[h]=S+"FullYear",C[u]=S+"Hours",C[a]=S+"Minutes",C[s]=S+"Seconds",C[o]=S+"Milliseconds",C)[O],k=O===c?this.$D+(A-this.$W):A;if(O===f||O===h){var N=this.clone().set(p,1);N.$d[R](k),N.init(),this.$d=N.set(p,Math.min(this.$D,N.daysInMonth())).$d}else R&&this.$d[R](k);return this.init(),this},F.set=function(P,A){return this.clone().$set(P,A)},F.get=function(P){return this[W.p(P)]()},F.add=function(P,A){var C,O=this;P=Number(P);var S=W.p(A),R=function(ie){var Y=M(O);return W.w(Y.date(Y.date()+Math.round(ie*P)),O)};if(S===f)return this.set(f,this.$M+P);if(S===h)return this.set(h,this.$y+P);if(S===c)return R(1);if(S===l)return R(7);var k=(C={},C[a]=r,C[u]=i,C[s]=n,C)[S]||1,N=this.$d.getTime()+P*k;return W.w(N,this)},F.subtract=function(P,A){return this.add(-1*P,A)},F.format=function(P){var A=this,C=this.$locale();if(!this.isValid())return C.invalidDate||g;var O=P||"YYYY-MM-DDTHH:mm:ssZ",S=W.z(this),R=this.$H,k=this.$m,N=this.$M,ie=C.weekdays,Y=C.months,b=function(ne,ae,ue,fe){return ne&&(ne[ae]||ne(A,O))||ue[ae].slice(0,fe)},w=function(ne){return W.s(R%12||12,ne,"0")},B=C.meridiem||function(ne,ae,ue){var fe=ne<12?"AM":"PM";return ue?fe.toLowerCase():fe},K={YY:String(this.$y).slice(-2),YYYY:this.$y,M:N+1,MM:W.s(N+1,2,"0"),MMM:b(C.monthsShort,N,Y,3),MMMM:b(Y,N),D:this.$D,DD:W.s(this.$D,2,"0"),d:String(this.$W),dd:b(C.weekdaysMin,this.$W,ie,2),ddd:b(C.weekdaysShort,this.$W,ie,3),dddd:ie[this.$W],H:String(R),HH:W.s(R,2,"0"),h:w(1),hh:w(2),a:B(R,k,!0),A:B(R,k,!1),m:String(k),mm:W.s(k,2,"0"),s:String(this.$s),ss:W.s(this.$s,2,"0"),SSS:W.s(this.$ms,3,"0"),Z:S};return O.replace(y,function(ne,ae){return ae||K[ne]||S.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(P,A,C){var O,S=W.p(A),R=M(P),k=(R.utcOffset()-this.utcOffset())*r,N=this-R,ie=W.m(this,R);return ie=(O={},O[h]=ie/12,O[f]=ie,O[d]=ie/3,O[l]=(N-k)/6048e5,O[c]=(N-k)/864e5,O[u]=N/i,O[a]=N/r,O[s]=N/n,O)[S]||N,C?ie:W.a(ie)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return I[this.$L]},F.locale=function(P,A){if(!P)return this.$L;var C=this.clone(),O=G(P,A,!0);return O&&(C.$L=O),C},F.clone=function(){return W.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},H}(),q=ee.prototype;return M.prototype=q,[["$ms",o],["$s",s],["$m",a],["$H",u],["$W",c],["$M",f],["$y",h],["$D",p]].forEach(function(H){q[H[1]]=function(F){return this.$g(F,H[0],H[1])}}),M.extend=function(H,F){return H.$i||(H(F,ee,M),H.$i=!0),M},M.locale=G,M.isDayjs=L,M.unix=function(H){return M(1e3*H)},M.en=I[T],M.Ls=I,M.p={},M})})(pl);var os=pl.exports,zn={exports:{}};const iA="2.0.0",oA=256,sA=Number.MAX_SAFE_INTEGER||9007199254740991,aA=16;var Gs={SEMVER_SPEC_VERSION:iA,MAX_LENGTH:oA,MAX_SAFE_INTEGER:sA,MAX_SAFE_COMPONENT_LENGTH:aA};const uA=typeof process=="object"&&{GRAPHQL_URI:"https://print.niimbot.com/graphql/"}&&{GRAPHQL_URI:"https://print.niimbot.com/graphql/"}.NODE_DEBUG&&/\bsemver\b/i.test({GRAPHQL_URI:"https://print.niimbot.com/graphql/"}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var qs=uA;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Gs,r=qs;t=e.exports={};const i=t.re=[],o=t.src=[],s=t.t={};let a=0;const u=(c,l,f)=>{const d=a++;r(c,d,l),s[c]=d,o[d]=l,i[d]=new RegExp(l,f?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION",`(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})`),u("MAINVERSIONLOOSE",`(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})`),u("PRERELEASEIDENTIFIER",`(?:${o[s.NUMERICIDENTIFIER]}|${o[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASEIDENTIFIERLOOSE",`(?:${o[s.NUMERICIDENTIFIERLOOSE]}|${o[s.NONNUMERICIDENTIFIER]})`),u("PRERELEASE",`(?:-(${o[s.PRERELEASEIDENTIFIER]}(?:\\.${o[s.PRERELEASEIDENTIFIER]})*))`),u("PRERELEASELOOSE",`(?:-?(${o[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[s.PRERELEASEIDENTIFIERLOOSE]})*))`),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD",`(?:\\+(${o[s.BUILDIDENTIFIER]}(?:\\.${o[s.BUILDIDENTIFIER]})*))`),u("FULLPLAIN",`v?${o[s.MAINVERSION]}${o[s.PRERELEASE]}?${o[s.BUILD]}?`),u("FULL",`^${o[s.FULLPLAIN]}$`),u("LOOSEPLAIN",`[v=\\s]*${o[s.MAINVERSIONLOOSE]}${o[s.PRERELEASELOOSE]}?${o[s.BUILD]}?`),u("LOOSE",`^${o[s.LOOSEPLAIN]}$`),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE",`${o[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),u("XRANGEIDENTIFIER",`${o[s.NUMERICIDENTIFIER]}|x|X|\\*`),u("XRANGEPLAIN",`[v=\\s]*(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:${o[s.PRERELEASE]})?${o[s.BUILD]}?)?)?`),u("XRANGEPLAINLOOSE",`[v=\\s]*(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:${o[s.PRERELEASELOOSE]})?${o[s.BUILD]}?)?)?`),u("XRANGE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAIN]}$`),u("XRANGELOOSE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAINLOOSE]}$`),u("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),u("COERCERTL",o[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM",`(\\s*)${o[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",u("TILDE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAIN]}$`),u("TILDELOOSE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAINLOOSE]}$`),u("LONECARET","(?:\\^)"),u("CARETTRIM",`(\\s*)${o[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",u("CARET",`^${o[s.LONECARET]}${o[s.XRANGEPLAIN]}$`),u("CARETLOOSE",`^${o[s.LONECARET]}${o[s.XRANGEPLAINLOOSE]}$`),u("COMPARATORLOOSE",`^${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]})$|^$`),u("COMPARATOR",`^${o[s.GTLT]}\\s*(${o[s.FULLPLAIN]})$|^$`),u("COMPARATORTRIM",`(\\s*)${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]}|${o[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE",`^\\s*(${o[s.XRANGEPLAIN]})\\s+-\\s+(${o[s.XRANGEPLAIN]})\\s*$`),u("HYPHENRANGELOOSE",`^\\s*(${o[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[s.XRANGEPLAINLOOSE]})\\s*$`),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(zn,zn.exports);const lA=["includePrerelease","loose","rtl"],cA=e=>e?typeof e!="object"?{loose:!0}:lA.filter(t=>e[t]).reduce((t,n)=>(t[n]=!0,t),{}):{};var Ws=cA;const Rf=/^[0-9]+$/,vv=(e,t)=>{const n=Rf.test(e),r=Rf.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},fA=(e,t)=>vv(t,e);var mv={compareIdentifiers:vv,rcompareIdentifiers:fA};const Lo=qs,{MAX_LENGTH:Pf,MAX_SAFE_INTEGER:Fo}=Gs,{re:Df,t:Lf}=zn.exports,dA=Ws,{compareIdentifiers:xr}=mv;class zt{constructor(t,n){if(n=dA(n),t instanceof zt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid Version: ${t}`);if(t.length>Pf)throw new TypeError(`version is longer than ${Pf} characters`);Lo("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Df[Lf.LOOSE]:Df[Lf.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Fo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Fo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Fo||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){const o=+i;if(o>=0&&o<Fo)return o}return i}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Lo("SemVer.compare",this.version,this.options,t),!(t instanceof zt)){if(typeof t=="string"&&t===this.version)return 0;t=new zt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof zt||(t=new zt(t,this.options)),xr(this.major,t.major)||xr(this.minor,t.minor)||xr(this.patch,t.patch)}comparePre(t){if(t instanceof zt||(t=new zt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],i=t.prerelease[n];if(Lo("prerelease compare",n,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return xr(r,i)}while(++n)}compareBuild(t){t instanceof zt||(t=new zt(t,this.options));let n=0;do{const r=this.build[n],i=t.build[n];if(Lo("prerelease compare",n,r,i),r===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(r===void 0)return-1;if(r===i)continue;return xr(r,i)}while(++n)}inc(t,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n),this.inc("pre",n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n),this.inc("pre",n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}n&&(xr(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=[n,0]):this.prerelease=[n,0]);break;default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}}var Et=zt;const{MAX_LENGTH:hA}=Gs,{re:Ff,t:Bf}=zn.exports,Nf=Et,pA=Ws,vA=(e,t)=>{if(t=pA(t),e instanceof Nf)return e;if(typeof e!="string"||e.length>hA||!(t.loose?Ff[Bf.LOOSE]:Ff[Bf.FULL]).test(e))return null;try{return new Nf(e,t)}catch(r){return null}};var Zr=vA;const mA=Zr,gA=(e,t)=>{const n=mA(e,t);return n?n.version:null};var _A=gA;const yA=Zr,EA=(e,t)=>{const n=yA(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var bA=EA;const kf=Et,wA=(e,t,n,r)=>{typeof n=="string"&&(r=n,n=void 0);try{return new kf(e instanceof kf?e.version:e,n).inc(t,r).version}catch(i){return null}};var CA=wA;const Mf=Et,AA=(e,t,n)=>new Mf(e,n).compare(new Mf(t,n));var Yt=AA;const SA=Yt,$A=(e,t,n)=>SA(e,t,n)===0;var vl=$A;const Vf=Zr,TA=vl,xA=(e,t)=>{if(TA(e,t))return null;{const n=Vf(e),r=Vf(t),i=n.prerelease.length||r.prerelease.length,o=i?"pre":"",s=i?"prerelease":"";for(const a in n)if((a==="major"||a==="minor"||a==="patch")&&n[a]!==r[a])return o+a;return s}};var OA=xA;const IA=Et,RA=(e,t)=>new IA(e,t).major;var PA=RA;const DA=Et,LA=(e,t)=>new DA(e,t).minor;var FA=LA;const BA=Et,NA=(e,t)=>new BA(e,t).patch;var kA=NA;const MA=Zr,VA=(e,t)=>{const n=MA(e,t);return n&&n.prerelease.length?n.prerelease:null};var jA=VA;const UA=Yt,HA=(e,t,n)=>UA(t,e,n);var zA=HA;const GA=Yt,qA=(e,t)=>GA(e,t,!0);var WA=qA;const jf=Et,KA=(e,t,n)=>{const r=new jf(e,n),i=new jf(t,n);return r.compare(i)||r.compareBuild(i)};var ml=KA;const YA=ml,XA=(e,t)=>e.sort((n,r)=>YA(n,r,t));var JA=XA;const ZA=ml,QA=(e,t)=>e.sort((n,r)=>ZA(r,n,t));var eS=QA;const tS=Yt,nS=(e,t,n)=>tS(e,t,n)>0;var Ks=nS;const rS=Yt,iS=(e,t,n)=>rS(e,t,n)<0;var gl=iS;const oS=Yt,sS=(e,t,n)=>oS(e,t,n)!==0;var gv=sS;const aS=Yt,uS=(e,t,n)=>aS(e,t,n)>=0;var _l=uS;const lS=Yt,cS=(e,t,n)=>lS(e,t,n)<=0;var yl=cS;const fS=vl,dS=gv,hS=Ks,pS=_l,vS=gl,mS=yl,gS=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return fS(e,n,r);case"!=":return dS(e,n,r);case">":return hS(e,n,r);case">=":return pS(e,n,r);case"<":return vS(e,n,r);case"<=":return mS(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var _v=gS;const _S=Et,yS=Zr,{re:Bo,t:No}=zn.exports,ES=(e,t)=>{if(e instanceof _S)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Bo[No.COERCE]);else{let r;for(;(r=Bo[No.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),Bo[No.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;Bo[No.COERCERTL].lastIndex=-1}return n===null?null:yS(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var bS=ES,wS=Ie;Ie.Node=hr;Ie.create=Ie;function Ie(e){var t=this;if(t instanceof Ie||(t=new Ie),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Ie.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Ie.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Ie.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Ie.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)AS(this,arguments[e]);return this.length};Ie.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)SS(this,arguments[e]);return this.length};Ie.prototype.pop=function(){if(!!this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Ie.prototype.shift=function(){if(!!this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Ie.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Ie.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Ie.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Ie.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Ie.prototype.map=function(e,t){t=t||this;for(var n=new Ie,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Ie.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Ie,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Ie.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=0;r!==null;i++)n=e(n,r.value,i),r=r.next;return n};Ie.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;r!==null;i--)n=e(n,r.value,i),r=r.prev;return n};Ie.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Ie.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Ie.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Ie;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,i=this.head;i!==null&&r<e;r++)i=i.next;for(;i!==null&&r<t;r++,i=i.next)n.push(i.value);return n};Ie.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Ie;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,i=this.tail;i!==null&&r>t;r--)i=i.prev;for(;i!==null&&r>e;r--,i=i.prev)n.push(i.value);return n};Ie.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,i=this.head;i!==null&&r<e;r++)i=i.next;for(var o=[],r=0;i&&r<t;r++)o.push(i.value),i=this.removeNode(i);i===null&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev);for(var r=0;r<n.length;r++)i=CS(this,i,n[r]);return o};Ie.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function CS(e,t,n){var r=t===e.head?new hr(n,null,t,e):new hr(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function AS(e,t){e.tail=new hr(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function SS(e,t){e.head=new hr(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function hr(e,t,n,r){if(!(this instanceof hr))return new hr(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{require("./iterator.js")(Ie)}catch(e){}const $S=wS,sr=Symbol("max"),mn=Symbol("length"),Or=Symbol("lengthCalculator"),Ni=Symbol("allowStale"),ar=Symbol("maxAge"),vn=Symbol("dispose"),Uf=Symbol("noDisposeOnSet"),Je=Symbol("lruList"),Gt=Symbol("cache"),yv=Symbol("updateAgeOnGet"),Da=()=>1;class TS{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[sr]=t.max||1/0;const n=t.length||Da;if(this[Or]=typeof n!="function"?Da:n,this[Ni]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[ar]=t.maxAge||0,this[vn]=t.dispose,this[Uf]=t.noDisposeOnSet||!1,this[yv]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[sr]=t||1/0,gi(this)}get max(){return this[sr]}set allowStale(t){this[Ni]=!!t}get allowStale(){return this[Ni]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[ar]=t,gi(this)}get maxAge(){return this[ar]}set lengthCalculator(t){typeof t!="function"&&(t=Da),t!==this[Or]&&(this[Or]=t,this[mn]=0,this[Je].forEach(n=>{n.length=this[Or](n.value,n.key),this[mn]+=n.length})),gi(this)}get lengthCalculator(){return this[Or]}get length(){return this[mn]}get itemCount(){return this[Je].length}rforEach(t,n){n=n||this;for(let r=this[Je].tail;r!==null;){const i=r.prev;Hf(this,t,r,n),r=i}}forEach(t,n){n=n||this;for(let r=this[Je].head;r!==null;){const i=r.next;Hf(this,t,r,n),r=i}}keys(){return this[Je].toArray().map(t=>t.key)}values(){return this[Je].toArray().map(t=>t.value)}reset(){this[vn]&&this[Je]&&this[Je].length&&this[Je].forEach(t=>this[vn](t.key,t.value)),this[Gt]=new Map,this[Je]=new $S,this[mn]=0}dump(){return this[Je].map(t=>ss(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Je]}set(t,n,r){if(r=r||this[ar],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const i=r?Date.now():0,o=this[Or](n,t);if(this[Gt].has(t)){if(o>this[sr])return Nr(this,this[Gt].get(t)),!1;const u=this[Gt].get(t).value;return this[vn]&&(this[Uf]||this[vn](t,u.value)),u.now=i,u.maxAge=r,u.value=n,this[mn]+=o-u.length,u.length=o,this.get(t),gi(this),!0}const s=new xS(t,n,o,i,r);return s.length>this[sr]?(this[vn]&&this[vn](t,n),!1):(this[mn]+=s.length,this[Je].unshift(s),this[Gt].set(t,this[Je].head),gi(this),!0)}has(t){if(!this[Gt].has(t))return!1;const n=this[Gt].get(t).value;return!ss(this,n)}get(t){return La(this,t,!0)}peek(t){return La(this,t,!1)}pop(){const t=this[Je].tail;return t?(Nr(this,t),t.value):null}del(t){Nr(this,this[Gt].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const i=t[r],o=i.e||0;if(o===0)this.set(i.k,i.v);else{const s=o-n;s>0&&this.set(i.k,i.v,s)}}}prune(){this[Gt].forEach((t,n)=>La(this,n,!1))}}const La=(e,t,n)=>{const r=e[Gt].get(t);if(r){const i=r.value;if(ss(e,i)){if(Nr(e,r),!e[Ni])return}else n&&(e[yv]&&(r.value.now=Date.now()),e[Je].unshiftNode(r));return i.value}},ss=(e,t)=>{if(!t||!t.maxAge&&!e[ar])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[ar]&&n>e[ar]},gi=e=>{if(e[mn]>e[sr])for(let t=e[Je].tail;e[mn]>e[sr]&&t!==null;){const n=t.prev;Nr(e,t),t=n}},Nr=(e,t)=>{if(t){const n=t.value;e[vn]&&e[vn](n.key,n.value),e[mn]-=n.length,e[Gt].delete(n.key),e[Je].removeNode(t)}};class xS{constructor(t,n,r,i,o){this.key=t,this.value=n,this.length=r,this.now=i,this.maxAge=o||0}}const Hf=(e,t,n,r)=>{let i=n.value;ss(e,i)&&(Nr(e,n),e[Ni]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};var OS=TS;class ki{constructor(t,n){if(n=RS(n),t instanceof ki)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new ki(t.raw,n);if(t instanceof vu)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t,this.set=t.split("||").map(r=>this.parseRange(r.trim())).filter(r=>r.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${t}`);if(this.set.length>1){const r=this.set[0];if(this.set=this.set.filter(i=>!Gf(i[0])),this.set.length===0)this.set=[r];else if(this.set.length>1){for(const i of this.set)if(i.length===1&&BS(i[0])){this.set=[i];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){t=t.trim();const r=`parseRange:${Object.keys(this.options).join(",")}:${t}`,i=zf.get(r);if(i)return i;const o=this.options.loose,s=o?wt[gt.HYPHENRANGELOOSE]:wt[gt.HYPHENRANGE];t=t.replace(s,qS(this.options.includePrerelease)),Ue("hyphen replace",t),t=t.replace(wt[gt.COMPARATORTRIM],DS),Ue("comparator trim",t),t=t.replace(wt[gt.TILDETRIM],LS),t=t.replace(wt[gt.CARETTRIM],FS),t=t.split(/\s+/).join(" ");let a=t.split(" ").map(f=>NS(f,this.options)).join(" ").split(/\s+/).map(f=>GS(f,this.options));o&&(a=a.filter(f=>(Ue("loose invalid filter",f,this.options),!!f.match(wt[gt.COMPARATORLOOSE])))),Ue("range list",a);const u=new Map,c=a.map(f=>new vu(f,this.options));for(const f of c){if(Gf(f))return[f];u.set(f.value,f)}u.size>1&&u.has("")&&u.delete("");const l=[...u.values()];return zf.set(r,l),l}intersects(t,n){if(!(t instanceof ki))throw new TypeError("a Range is required");return this.set.some(r=>qf(r,n)&&t.set.some(i=>qf(i,n)&&r.every(o=>i.every(s=>o.intersects(s,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new PS(t,this.options)}catch(n){return!1}for(let n=0;n<this.set.length;n++)if(WS(this.set[n],t,this.options))return!0;return!1}}var Xt=ki;const IS=OS,zf=new IS({max:1e3}),RS=Ws,vu=Ys,Ue=qs,PS=Et,{re:wt,t:gt,comparatorTrimReplace:DS,tildeTrimReplace:LS,caretTrimReplace:FS}=zn.exports,Gf=e=>e.value==="<0.0.0-0",BS=e=>e.value==="",qf=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every(o=>i.intersects(o,t)),i=r.pop();return n},NS=(e,t)=>(Ue("comp",e,t),e=VS(e,t),Ue("caret",e),e=kS(e,t),Ue("tildes",e),e=US(e,t),Ue("xrange",e),e=zS(e,t),Ue("stars",e),e),_t=e=>!e||e.toLowerCase()==="x"||e==="*",kS=(e,t)=>e.trim().split(/\s+/).map(n=>MS(n,t)).join(" "),MS=(e,t)=>{const n=t.loose?wt[gt.TILDELOOSE]:wt[gt.TILDE];return e.replace(n,(r,i,o,s,a)=>{Ue("tilde",e,r,i,o,s,a);let u;return _t(i)?u="":_t(o)?u=`>=${i}.0.0 <${+i+1}.0.0-0`:_t(s)?u=`>=${i}.${o}.0 <${i}.${+o+1}.0-0`:a?(Ue("replaceTilde pr",a),u=`>=${i}.${o}.${s}-${a} <${i}.${+o+1}.0-0`):u=`>=${i}.${o}.${s} <${i}.${+o+1}.0-0`,Ue("tilde return",u),u})},VS=(e,t)=>e.trim().split(/\s+/).map(n=>jS(n,t)).join(" "),jS=(e,t)=>{Ue("caret",e,t);const n=t.loose?wt[gt.CARETLOOSE]:wt[gt.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,(i,o,s,a,u)=>{Ue("caret",e,i,o,s,a,u);let c;return _t(o)?c="":_t(s)?c=`>=${o}.0.0${r} <${+o+1}.0.0-0`:_t(a)?o==="0"?c=`>=${o}.${s}.0${r} <${o}.${+s+1}.0-0`:c=`>=${o}.${s}.0${r} <${+o+1}.0.0-0`:u?(Ue("replaceCaret pr",u),o==="0"?s==="0"?c=`>=${o}.${s}.${a}-${u} <${o}.${s}.${+a+1}-0`:c=`>=${o}.${s}.${a}-${u} <${o}.${+s+1}.0-0`:c=`>=${o}.${s}.${a}-${u} <${+o+1}.0.0-0`):(Ue("no pr"),o==="0"?s==="0"?c=`>=${o}.${s}.${a}${r} <${o}.${s}.${+a+1}-0`:c=`>=${o}.${s}.${a}${r} <${o}.${+s+1}.0-0`:c=`>=${o}.${s}.${a} <${+o+1}.0.0-0`),Ue("caret return",c),c})},US=(e,t)=>(Ue("replaceXRanges",e,t),e.split(/\s+/).map(n=>HS(n,t)).join(" ")),HS=(e,t)=>{e=e.trim();const n=t.loose?wt[gt.XRANGELOOSE]:wt[gt.XRANGE];return e.replace(n,(r,i,o,s,a,u)=>{Ue("xRange",e,r,i,o,s,a,u);const c=_t(o),l=c||_t(s),f=l||_t(a),d=f;return i==="="&&d&&(i=""),u=t.includePrerelease?"-0":"",c?i===">"||i==="<"?r="<0.0.0-0":r="*":i&&d?(l&&(s=0),a=0,i===">"?(i=">=",l?(o=+o+1,s=0,a=0):(s=+s+1,a=0)):i==="<="&&(i="<",l?o=+o+1:s=+s+1),i==="<"&&(u="-0"),r=`${i+o}.${s}.${a}${u}`):l?r=`>=${o}.0.0${u} <${+o+1}.0.0-0`:f&&(r=`>=${o}.${s}.0${u} <${o}.${+s+1}.0-0`),Ue("xRange return",r),r})},zS=(e,t)=>(Ue("replaceStars",e,t),e.trim().replace(wt[gt.STAR],"")),GS=(e,t)=>(Ue("replaceGTE0",e,t),e.trim().replace(wt[t.includePrerelease?gt.GTE0PRE:gt.GTE0],"")),qS=e=>(t,n,r,i,o,s,a,u,c,l,f,d,h)=>(_t(r)?n="":_t(i)?n=`>=${r}.0.0${e?"-0":""}`:_t(o)?n=`>=${r}.${i}.0${e?"-0":""}`:s?n=`>=${n}`:n=`>=${n}${e?"-0":""}`,_t(c)?u="":_t(l)?u=`<${+c+1}.0.0-0`:_t(f)?u=`<${c}.${+l+1}.0-0`:d?u=`<=${c}.${l}.${f}-${d}`:e?u=`<${c}.${l}.${+f+1}-0`:u=`<=${u}`,`${n} ${u}`.trim()),WS=(e,t,n)=>{for(let r=0;r<e.length;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let r=0;r<e.length;r++)if(Ue(e[r].semver),e[r].semver!==vu.ANY&&e[r].semver.prerelease.length>0){const i=e[r].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0},_i=Symbol("SemVer ANY");class as{static get ANY(){return _i}constructor(t,n){if(n=KS(n),t instanceof as){if(t.loose===!!n.loose)return t;t=t.value}Ba("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===_i?this.value="":this.value=this.operator+this.semver.version,Ba("comp",this)}parse(t){const n=this.options.loose?Wf[Kf.COMPARATORLOOSE]:Wf[Kf.COMPARATOR],r=t.match(n);if(!r)throw new TypeError(`Invalid comparator: ${t}`);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Yf(r[2],this.options.loose):this.semver=_i}toString(){return this.value}test(t){if(Ba("Comparator.test",t,this.options.loose),this.semver===_i||t===_i)return!0;if(typeof t=="string")try{t=new Yf(t,this.options)}catch(n){return!1}return Fa(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof as))throw new TypeError("a Comparator is required");if((!n||typeof n!="object")&&(n={loose:!!n,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new Xf(t.value,n).test(this.value);if(t.operator==="")return t.value===""?!0:new Xf(this.value,n).test(t.semver);const r=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),o=this.semver.version===t.semver.version,s=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),a=Fa(this.semver,"<",t.semver,n)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),u=Fa(this.semver,">",t.semver,n)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return r||i||o&&s||a||u}}var Ys=as;const KS=Ws,{re:Wf,t:Kf}=zn.exports,Fa=_v,Ba=qs,Yf=Et,Xf=Xt,YS=Xt,XS=(e,t,n)=>{try{t=new YS(t,n)}catch(r){return!1}return t.test(e)};var Xs=XS;const JS=Xt,ZS=(e,t)=>new JS(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var QS=ZS;const e$=Et,t$=Xt,n$=(e,t,n)=>{let r=null,i=null,o=null;try{o=new t$(t,n)}catch(s){return null}return e.forEach(s=>{o.test(s)&&(!r||i.compare(s)===-1)&&(r=s,i=new e$(r,n))}),r};var r$=n$;const i$=Et,o$=Xt,s$=(e,t,n)=>{let r=null,i=null,o=null;try{o=new o$(t,n)}catch(s){return null}return e.forEach(s=>{o.test(s)&&(!r||i.compare(s)===1)&&(r=s,i=new i$(r,n))}),r};var a$=s$;const Na=Et,u$=Xt,Jf=Ks,l$=(e,t)=>{e=new u$(e,t);let n=new Na("0.0.0");if(e.test(n)||(n=new Na("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const i=e.set[r];let o=null;i.forEach(s=>{const a=new Na(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||Jf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),o&&(!n||Jf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var c$=l$;const f$=Xt,d$=(e,t)=>{try{return new f$(e,t).range||"*"}catch(n){return null}};var h$=d$;const p$=Et,Ev=Ys,{ANY:v$}=Ev,m$=Xt,g$=Xs,Zf=Ks,Qf=gl,_$=yl,y$=_l,E$=(e,t,n,r)=>{e=new p$(e,r),t=new m$(t,r);let i,o,s,a,u;switch(n){case">":i=Zf,o=_$,s=Qf,a=">",u=">=";break;case"<":i=Qf,o=y$,s=Zf,a="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(g$(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const l=t.set[c];let f=null,d=null;if(l.forEach(h=>{h.semver===v$&&(h=new Ev(">=0.0.0")),f=f||h,d=d||h,i(h.semver,f.semver,r)?f=h:s(h.semver,d.semver,r)&&(d=h)}),f.operator===a||f.operator===u||(!d.operator||d.operator===a)&&o(e,d.semver))return!1;if(d.operator===u&&s(e,d.semver))return!1}return!0};var El=E$;const b$=El,w$=(e,t,n)=>b$(e,t,">",n);var C$=w$;const A$=El,S$=(e,t,n)=>A$(e,t,"<",n);var $$=S$;const ed=Xt,T$=(e,t,n)=>(e=new ed(e,n),t=new ed(t,n),e.intersects(t));var x$=T$;const O$=Xs,I$=Yt;var R$=(e,t,n)=>{const r=[];let i=null,o=null;const s=e.sort((l,f)=>I$(l,f,n));for(const l of s)O$(l,t,n)?(o=l,i||(i=l)):(o&&r.push([i,o]),o=null,i=null);i&&r.push([i,null]);const a=[];for(const[l,f]of r)l===f?a.push(l):!f&&l===s[0]?a.push("*"):f?l===s[0]?a.push(`<=${f}`):a.push(`${l} - ${f}`):a.push(`>=${l}`);const u=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return u.length<c.length?u:t};const td=Xt,Go=Ys,{ANY:ka}=Go,yi=Xs,bl=Yt,P$=(e,t,n={})=>{if(e===t)return!0;e=new td(e,n),t=new td(t,n);let r=!1;e:for(const i of e.set){for(const o of t.set){const s=D$(i,o,n);if(r=r||s!==null,s)continue e}if(r)return!1}return!0},D$=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===ka){if(t.length===1&&t[0].semver===ka)return!0;n.includePrerelease?e=[new Go(">=0.0.0-0")]:e=[new Go(">=0.0.0")]}if(t.length===1&&t[0].semver===ka){if(n.includePrerelease)return!0;t=[new Go(">=0.0.0")]}const r=new Set;let i,o;for(const h of e)h.operator===">"||h.operator===">="?i=nd(i,h,n):h.operator==="<"||h.operator==="<="?o=rd(o,h,n):r.add(h.semver);if(r.size>1)return null;let s;if(i&&o){if(s=bl(i.semver,o.semver,n),s>0)return null;if(s===0&&(i.operator!==">="||o.operator!=="<="))return null}for(const h of r){if(i&&!yi(h,String(i),n)||o&&!yi(h,String(o),n))return null;for(const p of t)if(!yi(h,String(p),n))return!1;return!0}let a,u,c,l,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,d=i&&!n.includePrerelease&&i.semver.prerelease.length?i.semver:!1;f&&f.prerelease.length===1&&o.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const h of t){if(l=l||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",i){if(d&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===d.major&&h.semver.minor===d.minor&&h.semver.patch===d.patch&&(d=!1),h.operator===">"||h.operator===">="){if(a=nd(i,h,n),a===h&&a!==i)return!1}else if(i.operator===">="&&!yi(i.semver,String(h),n))return!1}if(o){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(u=rd(o,h,n),u===h&&u!==o)return!1}else if(o.operator==="<="&&!yi(o.semver,String(h),n))return!1}if(!h.operator&&(o||i)&&s!==0)return!1}return!(i&&c&&!o&&s!==0||o&&l&&!i&&s!==0||d||f)},nd=(e,t,n)=>{if(!e)return t;const r=bl(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},rd=(e,t,n)=>{if(!e)return t;const r=bl(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var L$=P$;const Ma=zn.exports,F$=Gs,B$=Et,id=mv,N$=Zr,k$=_A,M$=bA,V$=CA,j$=OA,U$=PA,H$=FA,z$=kA,G$=jA,q$=Yt,W$=zA,K$=WA,Y$=ml,X$=JA,J$=eS,Z$=Ks,Q$=gl,eT=vl,tT=gv,nT=_l,rT=yl,iT=_v,oT=bS,sT=Ys,aT=Xt,uT=Xs,lT=QS,cT=r$,fT=a$,dT=c$,hT=h$,pT=El,vT=C$,mT=$$,gT=x$,_T=R$,yT=L$;var ET={parse:N$,valid:k$,clean:M$,inc:V$,diff:j$,major:U$,minor:H$,patch:z$,prerelease:G$,compare:q$,rcompare:W$,compareLoose:K$,compareBuild:Y$,sort:X$,rsort:J$,gt:Z$,lt:Q$,eq:eT,neq:tT,gte:nT,lte:rT,cmp:iT,coerce:oT,Comparator:sT,Range:aT,satisfies:uT,toComparators:lT,maxSatisfying:cT,minSatisfying:fT,minVersion:dT,validRange:hT,outside:pT,gtr:vT,ltr:mT,intersects:gT,simplifyRange:_T,subset:yT,SemVer:B$,re:Ma.re,src:Ma.src,tokens:Ma.t,SEMVER_SPEC_VERSION:F$.SEMVER_SPEC_VERSION,compareIdentifiers:id.compareIdentifiers,rcompareIdentifiers:id.rcompareIdentifiers};const Js=()=>{const e=window.location.host;return e.indexOf("10.10")!==-1?"local":e.indexOf("jc-test")!==-1?"fat":e.indexOf("niimbot")!==-1?"pro":"local"},v6=e=>!e||e==="zh-cn"?"zh_CN":e==="zh-cn-t"?"zh_TW":"en",gn=e=>{const t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i");if(window.location.href.indexOf("?")<0)return"";const n=window.location.href.split("?")[1].match(t);return n!=null?decodeURIComponent(n[2]):""},m6=()=>{const e=window.localStorage.getItem("niimbotUserAgent")||"";return bv(e)},bv=e=>{const t={_original:e},n=e.split(" ");console.log("%c [ kvs ]-74","font-size:16px; background:#f66; color:#fff;",n);let r;return n.forEach(i=>{const o=i.split("/");o.length===2?(t[o[0]]=o[1],r=o[0]):r&&(t[r]=`${t[r]} ${i}`)}),t},g6=e=>{const t=e||window.location.href,n={};if(t.indexOf("?")!==-1){const r=t.split("?")[1].split("&");for(let i=0;i<r.length;i++)n[r[i].split("=")[0]]=r[i].split("=")[1]}return n},bT=(e="")=>{console.info(e);const t={_original:e},n=decodeURIComponent(e).split(" ");let r="";return n.forEach(i=>{const o=i.split("/");o.length===2?(t[o[0]]=o[1],r=o[0]):r&&(t[r]=`${t[r]} ${i}`)}),t},_6=()=>navigator.userAgent.toLowerCase().indexOf("micromessenger")!==-1,wT=()=>gn("languageCode")||gn("lang")||"en";function CT(){try{let e=new PerformanceObserver(()=>{});return e.observe({type:"mark",buffered:!0}),e.disconnect(),!0}catch(e){return!1}}const AT=e=>e?e.startsWith("bearer")||e.startsWith("Bearer")?e:`Bearer ${e}`:"",wv=(e,t="YYYY-MM-DD HH:mm:ss")=>os(e).format(t),y6=e=>e==="-"?"":e.includes("https://")?e:Js()==="pro"?"https://jc-chenyin.oss-cn-hangzhou.aliyuncs.com"+e:"https://jc-chenyin-fat.oss-cn-hangzhou.aliyuncs.com"+e,ST=["https://oss-print.niimbot.com","https://oss-print-fat.jc-test.cn"],cs=class{static getCancelToken(){return Pa.CancelToken.source()}static init(t){return this.axiosInstance=Pa.create({baseURL:t||"",timeout:3e4}),this.initInterceptors(),Pa}static initInterceptors(){this.axiosInstance.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded",this.axiosInstance.interceptors.request.use(t=>{var r;const n=localStorage.getItem("token");return t.headers&&n&&!((r=t.headers)!=null&&r.Authorization)&&ST.every(i=>{var o;return!((o=t.url)!=null&&o.startsWith(i))})&&(t.headers.Authorization=AT(n)),t},t=>{console.log(t)}),this.axiosInstance.interceptors.response.use(t=>t.status===200||t.status===201?t.data:(cs.errorHandle(t),t),t=>{const{response:n}=t;return n?(cs.errorHandle(n),Promise.reject(n.data)):Promise.reject("networkError")})}static errorHandle(t){switch(t.status){case 401:break;case 403:break;case 404:He.fail("\u8BF7\u6C42\u7684\u8D44\u6E90\u4E0D\u5B58\u5728");break}}};let nn=cs;Wl(nn,"axiosInstance");const $T=()=>{const e=gn("token"),t=gn("niimbotUserAgent"),n=gn("userAgent"),r=gn("lang")||gn("languageCode")||"zh-cn";window.localStorage.setItem("token",e),window.localStorage.setItem("niimbotUserAgent",t||n),window.localStorage.setItem("niimUserAgent",n),window.localStorage.setItem("lang",r),console.log("\u8BBE\u7F6E\u542F\u52A8\u53C2\u6570",JSON.stringify({token:e,niimbotUserAgent:t,niimUserAgent:n,lang:r}))},E6=()=>window.localStorage.getItem("token"),TT=()=>window.localStorage.getItem("lang");var xT=Object.prototype;function OT(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||xT;return e===n}var wl=OT;function IT(e,t){return function(n){return e(t(n))}}var Cv=IT,RT=Cv,PT=RT(Object.keys,Object),DT=PT,LT=wl,FT=DT,BT=Object.prototype,NT=BT.hasOwnProperty;function kT(e){if(!LT(e))return FT(e);var t=[];for(var n in Object(e))NT.call(e,n)&&n!="constructor"&&t.push(n);return t}var Av=kT,MT=typeof tn=="object"&&tn&&tn.Object===Object&&tn,Sv=MT,VT=Sv,jT=typeof self=="object"&&self&&self.Object===Object&&self,UT=VT||jT||Function("return this")(),An=UT,HT=An,zT=HT.Symbol,Zs=zT,od=Zs,$v=Object.prototype,GT=$v.hasOwnProperty,qT=$v.toString,Ei=od?od.toStringTag:void 0;function WT(e){var t=GT.call(e,Ei),n=e[Ei];try{e[Ei]=void 0;var r=!0}catch(o){}var i=qT.call(e);return r&&(t?e[Ei]=n:delete e[Ei]),i}var KT=WT,YT=Object.prototype,XT=YT.toString;function JT(e){return XT.call(e)}var ZT=JT,sd=Zs,QT=KT,ex=ZT,tx="[object Null]",nx="[object Undefined]",ad=sd?sd.toStringTag:void 0;function rx(e){return e==null?e===void 0?nx:tx:ad&&ad in Object(e)?QT(e):ex(e)}var ro=rx;function ix(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var io=ix,ox=ro,sx=io,ax="[object AsyncFunction]",ux="[object Function]",lx="[object GeneratorFunction]",cx="[object Proxy]";function fx(e){if(!sx(e))return!1;var t=ox(e);return t==ux||t==lx||t==ax||t==cx}var Tv=fx,dx=An,hx=dx["__core-js_shared__"],px=hx,Va=px,ud=function(){var e=/[^.]+$/.exec(Va&&Va.keys&&Va.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vx(e){return!!ud&&ud in e}var mx=vx,gx=Function.prototype,_x=gx.toString;function yx(e){if(e!=null){try{return _x.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var xv=yx,Ex=Tv,bx=mx,wx=io,Cx=xv,Ax=/[\\^$.*+?()[\]{}|]/g,Sx=/^\[object .+?Constructor\]$/,$x=Function.prototype,Tx=Object.prototype,xx=$x.toString,Ox=Tx.hasOwnProperty,Ix=RegExp("^"+xx.call(Ox).replace(Ax,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Rx(e){if(!wx(e)||bx(e))return!1;var t=Ex(e)?Ix:Sx;return t.test(Cx(e))}var Px=Rx;function Dx(e,t){return e==null?void 0:e[t]}var Lx=Dx,Fx=Px,Bx=Lx;function Nx(e,t){var n=Bx(e,t);return Fx(n)?n:void 0}var _r=Nx,kx=_r,Mx=An,Vx=kx(Mx,"DataView"),jx=Vx,Ux=_r,Hx=An,zx=Ux(Hx,"Map"),Cl=zx,Gx=_r,qx=An,Wx=Gx(qx,"Promise"),Kx=Wx,Yx=_r,Xx=An,Jx=Yx(Xx,"Set"),Zx=Jx,Qx=_r,eO=An,tO=Qx(eO,"WeakMap"),nO=tO,mu=jx,gu=Cl,_u=Kx,yu=Zx,Eu=nO,Ov=ro,Qr=xv,ld="[object Map]",rO="[object Object]",cd="[object Promise]",fd="[object Set]",dd="[object WeakMap]",hd="[object DataView]",iO=Qr(mu),oO=Qr(gu),sO=Qr(_u),aO=Qr(yu),uO=Qr(Eu),ir=Ov;(mu&&ir(new mu(new ArrayBuffer(1)))!=hd||gu&&ir(new gu)!=ld||_u&&ir(_u.resolve())!=cd||yu&&ir(new yu)!=fd||Eu&&ir(new Eu)!=dd)&&(ir=function(e){var t=Ov(e),n=t==rO?e.constructor:void 0,r=n?Qr(n):"";if(r)switch(r){case iO:return hd;case oO:return ld;case sO:return cd;case aO:return fd;case uO:return dd}return t});var Iv=ir;function lO(e){return e!=null&&typeof e=="object"}var oo=lO,cO=ro,fO=oo,dO="[object Arguments]";function hO(e){return fO(e)&&cO(e)==dO}var pO=hO,pd=pO,vO=oo,Rv=Object.prototype,mO=Rv.hasOwnProperty,gO=Rv.propertyIsEnumerable,_O=pd(function(){return arguments}())?pd:function(e){return vO(e)&&mO.call(e,"callee")&&!gO.call(e,"callee")},Al=_O,yO=Array.isArray,Sn=yO,EO=9007199254740991;function bO(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=EO}var Sl=bO,wO=Tv,CO=Sl;function AO(e){return e!=null&&CO(e.length)&&!wO(e)}var $l=AO,Xi={exports:{}};function SO(){return!1}var $O=SO;(function(e,t){var n=An,r=$O,i=t&&!t.nodeType&&t,o=i&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===i,a=s?n.Buffer:void 0,u=a?a.isBuffer:void 0,c=u||r;e.exports=c})(Xi,Xi.exports);var TO=ro,xO=Sl,OO=oo,IO="[object Arguments]",RO="[object Array]",PO="[object Boolean]",DO="[object Date]",LO="[object Error]",FO="[object Function]",BO="[object Map]",NO="[object Number]",kO="[object Object]",MO="[object RegExp]",VO="[object Set]",jO="[object String]",UO="[object WeakMap]",HO="[object ArrayBuffer]",zO="[object DataView]",GO="[object Float32Array]",qO="[object Float64Array]",WO="[object Int8Array]",KO="[object Int16Array]",YO="[object Int32Array]",XO="[object Uint8Array]",JO="[object Uint8ClampedArray]",ZO="[object Uint16Array]",QO="[object Uint32Array]",Ne={};Ne[GO]=Ne[qO]=Ne[WO]=Ne[KO]=Ne[YO]=Ne[XO]=Ne[JO]=Ne[ZO]=Ne[QO]=!0;Ne[IO]=Ne[RO]=Ne[HO]=Ne[PO]=Ne[zO]=Ne[DO]=Ne[LO]=Ne[FO]=Ne[BO]=Ne[NO]=Ne[kO]=Ne[MO]=Ne[VO]=Ne[jO]=Ne[UO]=!1;function eI(e){return OO(e)&&xO(e.length)&&!!Ne[TO(e)]}var tI=eI;function nI(e){return function(t){return e(t)}}var rI=nI,bu={exports:{}};(function(e,t){var n=Sv,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,s=o&&n.process,a=function(){try{var u=i&&i.require&&i.require("util").types;return u||s&&s.binding&&s.binding("util")}catch(c){}}();e.exports=a})(bu,bu.exports);var iI=tI,oI=rI,vd=bu.exports,md=vd&&vd.isTypedArray,sI=md?oI(md):iI,Tl=sI,aI=Av,uI=Iv,lI=Al,cI=Sn,fI=$l,dI=Xi.exports,hI=wl,pI=Tl,vI="[object Map]",mI="[object Set]",gI=Object.prototype,_I=gI.hasOwnProperty;function yI(e){if(e==null)return!0;if(fI(e)&&(cI(e)||typeof e=="string"||typeof e.splice=="function"||dI(e)||pI(e)||lI(e)))return!e.length;var t=uI(e);if(t==vI||t==mI)return!e.size;if(hI(e))return!aI(e).length;for(var n in e)if(_I.call(e,n))return!1;return!0}var EI=yI;function bI(){this.__data__=[],this.size=0}var wI=bI;function CI(e,t){return e===t||e!==e&&t!==t}var xl=CI,AI=xl;function SI(e,t){for(var n=e.length;n--;)if(AI(e[n][0],t))return n;return-1}var Qs=SI,$I=Qs,TI=Array.prototype,xI=TI.splice;function OI(e){var t=this.__data__,n=$I(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():xI.call(t,n,1),--this.size,!0}var II=OI,RI=Qs;function PI(e){var t=this.__data__,n=RI(t,e);return n<0?void 0:t[n][1]}var DI=PI,LI=Qs;function FI(e){return LI(this.__data__,e)>-1}var BI=FI,NI=Qs;function kI(e,t){var n=this.__data__,r=NI(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var MI=kI,VI=wI,jI=II,UI=DI,HI=BI,zI=MI;function ei(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ei.prototype.clear=VI;ei.prototype.delete=jI;ei.prototype.get=UI;ei.prototype.has=HI;ei.prototype.set=zI;var ea=ei,GI=ea;function qI(){this.__data__=new GI,this.size=0}var WI=qI;function KI(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var YI=KI;function XI(e){return this.__data__.get(e)}var JI=XI;function ZI(e){return this.__data__.has(e)}var QI=ZI,eR=_r,tR=eR(Object,"create"),ta=tR,gd=ta;function nR(){this.__data__=gd?gd(null):{},this.size=0}var rR=nR;function iR(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var oR=iR,sR=ta,aR="__lodash_hash_undefined__",uR=Object.prototype,lR=uR.hasOwnProperty;function cR(e){var t=this.__data__;if(sR){var n=t[e];return n===aR?void 0:n}return lR.call(t,e)?t[e]:void 0}var fR=cR,dR=ta,hR=Object.prototype,pR=hR.hasOwnProperty;function vR(e){var t=this.__data__;return dR?t[e]!==void 0:pR.call(t,e)}var mR=vR,gR=ta,_R="__lodash_hash_undefined__";function yR(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=gR&&t===void 0?_R:t,this}var ER=yR,bR=rR,wR=oR,CR=fR,AR=mR,SR=ER;function ti(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ti.prototype.clear=bR;ti.prototype.delete=wR;ti.prototype.get=CR;ti.prototype.has=AR;ti.prototype.set=SR;var $R=ti,_d=$R,TR=ea,xR=Cl;function OR(){this.size=0,this.__data__={hash:new _d,map:new(xR||TR),string:new _d}}var IR=OR;function RR(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var PR=RR,DR=PR;function LR(e,t){var n=e.__data__;return DR(t)?n[typeof t=="string"?"string":"hash"]:n.map}var na=LR,FR=na;function BR(e){var t=FR(this,e).delete(e);return this.size-=t?1:0,t}var NR=BR,kR=na;function MR(e){return kR(this,e).get(e)}var VR=MR,jR=na;function UR(e){return jR(this,e).has(e)}var HR=UR,zR=na;function GR(e,t){var n=zR(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var qR=GR,WR=IR,KR=NR,YR=VR,XR=HR,JR=qR;function ni(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ni.prototype.clear=WR;ni.prototype.delete=KR;ni.prototype.get=YR;ni.prototype.has=XR;ni.prototype.set=JR;var Ol=ni,ZR=ea,QR=Cl,e5=Ol,t5=200;function n5(e,t){var n=this.__data__;if(n instanceof ZR){var r=n.__data__;if(!QR||r.length<t5-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new e5(r)}return n.set(e,t),this.size=n.size,this}var r5=n5,i5=ea,o5=WI,s5=YI,a5=JI,u5=QI,l5=r5;function ri(e){var t=this.__data__=new i5(e);this.size=t.size}ri.prototype.clear=o5;ri.prototype.delete=s5;ri.prototype.get=a5;ri.prototype.has=u5;ri.prototype.set=l5;var Pv=ri,c5="__lodash_hash_undefined__";function f5(e){return this.__data__.set(e,c5),this}var d5=f5;function h5(e){return this.__data__.has(e)}var p5=h5,v5=Ol,m5=d5,g5=p5;function us(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new v5;++t<n;)this.add(e[t])}us.prototype.add=us.prototype.push=m5;us.prototype.has=g5;var _5=us;function y5(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var E5=y5;function b5(e,t){return e.has(t)}var w5=b5,C5=_5,A5=E5,S5=w5,$5=1,T5=2;function x5(e,t,n,r,i,o){var s=n&$5,a=e.length,u=t.length;if(a!=u&&!(s&&u>a))return!1;var c=o.get(e),l=o.get(t);if(c&&l)return c==t&&l==e;var f=-1,d=!0,h=n&T5?new C5:void 0;for(o.set(e,t),o.set(t,e);++f<a;){var p=e[f],g=t[f];if(r)var m=s?r(g,p,f,t,e,o):r(p,g,f,e,t,o);if(m!==void 0){if(m)continue;d=!1;break}if(h){if(!A5(t,function(y,_){if(!S5(h,_)&&(p===y||i(p,y,n,r,o)))return h.push(_)})){d=!1;break}}else if(!(p===g||i(p,g,n,r,o))){d=!1;break}}return o.delete(e),o.delete(t),d}var Dv=x5,O5=An,I5=O5.Uint8Array,R5=I5;function P5(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var D5=P5;function L5(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var F5=L5,yd=Zs,Ed=R5,B5=xl,N5=Dv,k5=D5,M5=F5,V5=1,j5=2,U5="[object Boolean]",H5="[object Date]",z5="[object Error]",G5="[object Map]",q5="[object Number]",W5="[object RegExp]",K5="[object Set]",Y5="[object String]",X5="[object Symbol]",J5="[object ArrayBuffer]",Z5="[object DataView]",bd=yd?yd.prototype:void 0,ja=bd?bd.valueOf:void 0;function Q5(e,t,n,r,i,o,s){switch(n){case Z5:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case J5:return!(e.byteLength!=t.byteLength||!o(new Ed(e),new Ed(t)));case U5:case H5:case q5:return B5(+e,+t);case z5:return e.name==t.name&&e.message==t.message;case W5:case Y5:return e==t+"";case G5:var a=k5;case K5:var u=r&V5;if(a||(a=M5),e.size!=t.size&&!u)return!1;var c=s.get(e);if(c)return c==t;r|=j5,s.set(e,t);var l=N5(a(e),a(t),r,i,o,s);return s.delete(e),l;case X5:if(ja)return ja.call(e)==ja.call(t)}return!1}var eP=Q5;function tP(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Lv=tP,nP=Lv,rP=Sn;function iP(e,t,n){var r=t(e);return rP(e)?r:nP(r,n(e))}var Fv=iP;function oP(e,t){for(var n=-1,r=e==null?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}var sP=oP;function aP(){return[]}var Bv=aP,uP=sP,lP=Bv,cP=Object.prototype,fP=cP.propertyIsEnumerable,wd=Object.getOwnPropertySymbols,dP=wd?function(e){return e==null?[]:(e=Object(e),uP(wd(e),function(t){return fP.call(e,t)}))}:lP,Nv=dP;function hP(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var pP=hP,vP=9007199254740991,mP=/^(?:0|[1-9]\d*)$/;function gP(e,t){var n=typeof e;return t=t==null?vP:t,!!t&&(n=="number"||n!="symbol"&&mP.test(e))&&e>-1&&e%1==0&&e<t}var Il=gP,_P=pP,yP=Al,EP=Sn,bP=Xi.exports,wP=Il,CP=Tl,AP=Object.prototype,SP=AP.hasOwnProperty;function $P(e,t){var n=EP(e),r=!n&&yP(e),i=!n&&!r&&bP(e),o=!n&&!r&&!i&&CP(e),s=n||r||i||o,a=s?_P(e.length,String):[],u=a.length;for(var c in e)(t||SP.call(e,c))&&!(s&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||wP(c,u)))&&a.push(c);return a}var kv=$P,TP=kv,xP=Av,OP=$l;function IP(e){return OP(e)?TP(e):xP(e)}var Mv=IP,RP=Fv,PP=Nv,DP=Mv;function LP(e){return RP(e,DP,PP)}var FP=LP,Cd=FP,BP=1,NP=Object.prototype,kP=NP.hasOwnProperty;function MP(e,t,n,r,i,o){var s=n&BP,a=Cd(e),u=a.length,c=Cd(t),l=c.length;if(u!=l&&!s)return!1;for(var f=u;f--;){var d=a[f];if(!(s?d in t:kP.call(t,d)))return!1}var h=o.get(e),p=o.get(t);if(h&&p)return h==t&&p==e;var g=!0;o.set(e,t),o.set(t,e);for(var m=s;++f<u;){d=a[f];var y=e[d],_=t[d];if(r)var v=s?r(_,y,d,t,e,o):r(y,_,d,e,t,o);if(!(v===void 0?y===_||i(y,_,n,r,o):v)){g=!1;break}m||(m=d=="constructor")}if(g&&!m){var E=e.constructor,T=t.constructor;E!=T&&"constructor"in e&&"constructor"in t&&!(typeof E=="function"&&E instanceof E&&typeof T=="function"&&T instanceof T)&&(g=!1)}return o.delete(e),o.delete(t),g}var VP=MP,Ua=Pv,jP=Dv,UP=eP,HP=VP,Ad=Iv,Sd=Sn,$d=Xi.exports,zP=Tl,GP=1,Td="[object Arguments]",xd="[object Array]",ko="[object Object]",qP=Object.prototype,Od=qP.hasOwnProperty;function WP(e,t,n,r,i,o){var s=Sd(e),a=Sd(t),u=s?xd:Ad(e),c=a?xd:Ad(t);u=u==Td?ko:u,c=c==Td?ko:c;var l=u==ko,f=c==ko,d=u==c;if(d&&$d(e)){if(!$d(t))return!1;s=!0,l=!1}if(d&&!l)return o||(o=new Ua),s||zP(e)?jP(e,t,n,r,i,o):UP(e,t,u,n,r,i,o);if(!(n&GP)){var h=l&&Od.call(e,"__wrapped__"),p=f&&Od.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,m=p?t.value():t;return o||(o=new Ua),i(g,m,n,r,o)}}return d?(o||(o=new Ua),HP(e,t,n,r,i,o)):!1}var KP=WP,YP=KP,Id=oo;function Vv(e,t,n,r,i){return e===t?!0:e==null||t==null||!Id(e)&&!Id(t)?e!==e&&t!==t:YP(e,t,n,r,Vv,i)}var jv=Vv,XP=Pv,JP=jv,ZP=1,QP=2;function eD(e,t,n,r){var i=n.length,o=i,s=!r;if(e==null)return!o;for(e=Object(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){a=n[i];var u=a[0],c=e[u],l=a[1];if(s&&a[2]){if(c===void 0&&!(u in e))return!1}else{var f=new XP;if(r)var d=r(c,l,u,e,t,f);if(!(d===void 0?JP(l,c,ZP|QP,r,f):d))return!1}}return!0}var tD=eD,nD=io;function rD(e){return e===e&&!nD(e)}var Uv=rD,iD=Uv,oD=Mv;function sD(e){for(var t=oD(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,iD(i)]}return t}var aD=sD;function uD(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Hv=uD,lD=tD,cD=aD,fD=Hv;function dD(e){var t=cD(e);return t.length==1&&t[0][2]?fD(t[0][0],t[0][1]):function(n){return n===e||lD(n,e,t)}}var hD=dD,pD=ro,vD=oo,mD="[object Symbol]";function gD(e){return typeof e=="symbol"||vD(e)&&pD(e)==mD}var Rl=gD,_D=Sn,yD=Rl,ED=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,bD=/^\w*$/;function wD(e,t){if(_D(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||yD(e)?!0:bD.test(e)||!ED.test(e)||t!=null&&e in Object(t)}var Pl=wD,zv=Ol,CD="Expected a function";function Dl(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(CD);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Dl.Cache||zv),n}Dl.Cache=zv;var AD=Dl,SD=AD,$D=500;function TD(e){var t=SD(e,function(r){return n.size===$D&&n.clear(),r}),n=t.cache;return t}var xD=TD,OD=xD,ID=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,RD=/\\(\\)?/g,PD=OD(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(ID,function(n,r,i,o){t.push(i?o.replace(RD,"$1"):r||n)}),t}),DD=PD;function LD(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Gv=LD,Rd=Zs,FD=Gv,BD=Sn,ND=Rl,kD=1/0,Pd=Rd?Rd.prototype:void 0,Dd=Pd?Pd.toString:void 0;function qv(e){if(typeof e=="string")return e;if(BD(e))return FD(e,qv)+"";if(ND(e))return Dd?Dd.call(e):"";var t=e+"";return t=="0"&&1/e==-kD?"-0":t}var MD=qv,VD=MD;function jD(e){return e==null?"":VD(e)}var UD=jD,HD=Sn,zD=Pl,GD=DD,qD=UD;function WD(e,t){return HD(e)?e:zD(e,t)?[e]:GD(qD(e))}var ra=WD,KD=Rl,YD=1/0;function XD(e){if(typeof e=="string"||KD(e))return e;var t=e+"";return t=="0"&&1/e==-YD?"-0":t}var so=XD,JD=ra,ZD=so;function QD(e,t){t=JD(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ZD(t[n++])];return n&&n==r?e:void 0}var Ll=QD,eL=Ll;function tL(e,t,n){var r=e==null?void 0:eL(e,t);return r===void 0?n:r}var nL=tL;function rL(e,t){return e!=null&&t in Object(e)}var iL=rL,oL=ra,sL=Al,aL=Sn,uL=Il,lL=Sl,cL=so;function fL(e,t,n){t=oL(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var s=cL(t[r]);if(!(o=e!=null&&n(e,s)))break;e=e[s]}return o||++r!=i?o:(i=e==null?0:e.length,!!i&&lL(i)&&uL(s,i)&&(aL(e)||sL(e)))}var dL=fL,hL=iL,pL=dL;function vL(e,t){return e!=null&&pL(e,t,hL)}var mL=vL,gL=jv,_L=nL,yL=mL,EL=Pl,bL=Uv,wL=Hv,CL=so,AL=1,SL=2;function $L(e,t){return EL(e)&&bL(t)?wL(CL(e),t):function(n){var r=_L(n,e);return r===void 0&&r===t?yL(n,e):gL(t,r,AL|SL)}}var TL=$L;function xL(e){return e}var OL=xL;function IL(e){return function(t){return t==null?void 0:t[e]}}var RL=IL,PL=Ll;function DL(e){return function(t){return PL(t,e)}}var LL=DL,FL=RL,BL=LL,NL=Pl,kL=so;function ML(e){return NL(e)?FL(kL(e)):BL(e)}var VL=ML,jL=hD,UL=TL,HL=OL,zL=Sn,GL=VL;function qL(e){return typeof e=="function"?e:e==null?HL:typeof e=="object"?zL(e)?UL(e[0],e[1]):jL(e):GL(e)}var Wv=qL,WL="Expected a function";function KL(e){if(typeof e!="function")throw new TypeError(WL);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}var YL=KL,XL=_r,JL=function(){try{var e=XL(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),ZL=JL,Ld=ZL;function QL(e,t,n){t=="__proto__"&&Ld?Ld(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var eF=QL,tF=eF,nF=xl,rF=Object.prototype,iF=rF.hasOwnProperty;function oF(e,t,n){var r=e[t];(!(iF.call(e,t)&&nF(r,n))||n===void 0&&!(t in e))&&tF(e,t,n)}var sF=oF,aF=sF,uF=ra,lF=Il,Fd=io,cF=so;function fF(e,t,n,r){if(!Fd(e))return e;t=uF(t,e);for(var i=-1,o=t.length,s=o-1,a=e;a!=null&&++i<o;){var u=cF(t[i]),c=n;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(i!=s){var l=a[u];c=r?r(l,u,a):void 0,c===void 0&&(c=Fd(l)?l:lF(t[i+1])?[]:{})}aF(a,u,c),a=a[u]}return e}var dF=fF,hF=Ll,pF=dF,vF=ra;function mF(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=hF(e,s);n(a,s)&&pF(o,vF(s,e),a)}return o}var gF=mF,_F=Cv,yF=_F(Object.getPrototypeOf,Object),EF=yF,bF=Lv,wF=EF,CF=Nv,AF=Bv,SF=Object.getOwnPropertySymbols,$F=SF?function(e){for(var t=[];e;)bF(t,CF(e)),e=wF(e);return t}:AF,TF=$F;function xF(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var OF=xF,IF=io,RF=wl,PF=OF,DF=Object.prototype,LF=DF.hasOwnProperty;function FF(e){if(!IF(e))return PF(e);var t=RF(e),n=[];for(var r in e)r=="constructor"&&(t||!LF.call(e,r))||n.push(r);return n}var BF=FF,NF=kv,kF=BF,MF=$l;function VF(e){return MF(e)?NF(e,!0):kF(e)}var jF=VF,UF=Fv,HF=TF,zF=jF;function GF(e){return UF(e,zF,HF)}var qF=GF,WF=Gv,KF=Wv,YF=gF,XF=qF;function JF(e,t){if(e==null)return{};var n=WF(XF(e),function(r){return[r]});return t=KF(t),YF(e,n,function(r,i){return t(r,i[0])})}var Kv=JF,ZF=Wv,QF=YL,eB=Kv;function tB(e,t){return eB(e,QF(ZF(t)))}var nB=tB;const b6=(e,t)=>{const n=[],s=nB(e,a=>a===null||a===""||Array.isArray(a==null?void 0:a.parentSelected)&&EI(a==null?void 0:a.parentSelected)),{selectedSceneCategory:r,selectedReasonCategory:i}=s,o=po(s,["selectedSceneCategory","selectedReasonCategory"]);for(const a in o){const u=o[a],c=t[a].index,l=t[a].desc,f={index:c,value:Array.isArray(u)?u:[`${u}`],key:Array.isArray(u)?u:[u],desc:l};n.push(f)}return r&&n.push(Bd(r,"selectedSceneCategory",t)),i&&n.push(Bd(i,"selectedReasonCategory",t)),n.sort((a,u)=>a.index-u.index)},rB=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{const i={id:n,name:r.name,hasInput:r.hasInput,subName:r.subName,placeholder:r.placeholder};r.subCategories&&(i.subCategory=rB(r.subCategories)),t.push(i)}),t},Bd=(e,t,n)=>{const r=Object.values(e.childSelected).flat(),i=[...e.parentSelected.map(s=>s.value),...r.map(s=>s.value)],o=[...e.parentSelected.map(s=>s.key),...r.map(s=>s.key)];return{index:n[t].index,value:i,key:o,desc:n[t].desc}};function ao(e,...t){if(console.log("[ window android] >",window.android),window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers[e]){window.webkit.messageHandlers[e].postMessage(t.length===1?t[0]:t);return}else if(window.android&&typeof window.android[e]=="function"){console.log(`\u6267\u884C\u4E86\u5B89\u5353:${e}\u65B9\u6CD5`),window.android[e](...t);return}else if(window[e]&&typeof window[e].postMessage=="function"){window[e].postMessage(t.length===1?t[0]:t);return}else console.warn(`The native function ${e} is not available`)}function w6(e){return new Promise(t=>setTimeout(t,e))}const Nd=(e,t)=>(console.log(t,123),e?e.startsWith("bearer")?e:t?`Bearer ${e}`:`bearer ${e}`:""),C6=(e,t)=>e&&t.includes(e)?e:"en";function A6(e,t=10){return jt(this,null,function*(){e();let n=null;window.clientDataReceived=i=>{console.log("%c [ data ]-217","font-size:16px; background:#f66; color:#fff;",i),n=i};let r=t;for(;r>0;){if(n&&typeof n=="string")return JSON.parse(n);yield new Promise(i=>setTimeout(i,20)),r--}return n&&typeof n=="string"?JSON.parse(n):{}})}function S6(){var e=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"iOS":/android/i.test(e)?"Android":"unknown"}const $6=e=>e==="zh-cn"||e==="zh-hans-cn"||e==="zh"||e==="zh-hans"?"zh-cn":e.indexOf("hant")!==-1?"zh-cn-t":e,T6=e=>Array.isArray(e)&&e.length===0;const iB=pe({__name:"RecordsButton",setup(e){const t=ks(),n=()=>{t.push({path:"/invoice/niimbot/records",query:t.currentRoute.value.query})};return(r,i)=>(Se(),We("button",{class:"invoice-records-btn",onClick:n},"\u5F00\u7968\u8BB0\u5F55"))}});var oB=sn(iB,[["__scopeId","data-v-6a8762e6"]]);const Fl=pe({name:"ArrowIcon",props:{size:{type:String,default:"default",validator:e=>["default","large"].includes(e)},direction:{type:String,default:"right",validator:e=>["right","left","up","down"].includes(e)},color:{type:String,default:"currentColor"}},computed:{svgSize(){const e={default:{width:"12px",height:"7px"},large:{width:"18px",height:"11px"}};return e[this.size]||e.default},rotationClass(){switch(this.direction){case"right":return"direction-right";case"left":return"direction-left";case"up":return"direction-up";case"down":return"direction-down";default:return"direction-right"}}}}),kd=()=>{s_(e=>({"64de7a8f":e.color}))},Md=Fl.setup;Fl.setup=Md?(e,t)=>(kd(),Md(e,t)):kd;const sB=Fl,aB=["width","height"],uB=["fill"];function lB(e,t,n,r,i,o){return Se(),We("svg",{width:e.svgSize.width,height:e.svgSize.height,viewBox:"0 0 12 7",class:fr(e.rotationClass),fill:"none",xmlns:"http://www.w3.org/2000/svg"},[Ae("path",{d:"M5.75732 6.89551C5.5415 6.89551 5.35107 6.81299 5.18604 6.6416L0.349121 1.69678C0.209473 1.55713 0.133301 1.37939 0.133301 1.17627C0.133301 0.763672 0.457031 0.439941 0.869629 0.439941C1.07275 0.439941 1.25684 0.522461 1.40283 0.662109L5.75732 5.12451L10.1118 0.662109C10.2515 0.522461 10.4419 0.439941 10.645 0.439941C11.0513 0.439941 11.375 0.763672 11.375 1.17627C11.375 1.38574 11.3052 1.55713 11.1655 1.69678L6.32861 6.6416C6.16992 6.81299 5.97314 6.89551 5.75732 6.89551Z",fill:e.color},null,8,uB)],10,aB)}var Yv=sn(sB,[["render",lB],["__scopeId","data-v-1449d9cd"]]),en=(e=>(e.PERSONAL="PERSONAL",e.COMPANY="ENTERPRISE",e))(en||{}),ur=(e=>(e.NORMAL="NORMAL",e.SPECIAL="SPECIFIC",e))(ur||{}),bt=(e=>(e.SUBMITTING="SUBMITTING",e.SUBMIT_FAILED="SUBMIT_FAILED",e.INVOICING="INVOICING",e.INVOICED="INVOICED",e.CLOSED="CLOSED",e.CANCELED="CANCELED",e))(bt||{});const cB={invoiceHeadType:"\u62AC\u5934\u7C7B\u578B",invoiceKind:"\u5F00\u7968\u65B9\u5F0F",title:"\u53D1\u7968\u62AC\u5934",taxpayerIdentificationNumber:"\u7A0E\u53F7",bankName:"\u5F00\u6237\u94F6\u884C",bankAccount:"\u94F6\u884C\u8D26\u53F7",address:"\u5730\u5740",contactNumber:"\u7535\u8BDD",email:"\u7535\u5B50\u90AE\u7BB1"},wu={SUBMITTING:"\u5F85\u5F00\u7968",SUBMIT_FAILED:"\u5DF2\u5173\u95ED",INVOICING:"\u5F85\u5F00\u7968",INVOICED:"\u5DF2\u5F00\u7968",CLOSED:"\u5DF2\u5173\u95ED",CANCELED:"\u5DF2\u53D6\u6D88"},fB={ALIPAY:"\u652F\u4ED8\u5B9D",WEIXIN:"\u5FAE\u4FE1"},dB={NORMAL:"\u666E\u901A\u53D1\u7968",SPECIFIC:"\u4E13\u7528\u53D1\u7968"},hB={PERSONAL:"\u4E2A\u4EBA",ENTERPRISE:"\u4F01\u4E1A"},ii=Ww[Js()].cloudPrint,x6=()=>nn.axiosInstance.get(`${ii}/invoices/invoice-orders`),pB=()=>nn.axiosInstance.get(`${ii}/invoices`,{headers:{ContentType:"application/json"}}),vB=e=>nn.axiosInstance.post(`${ii}/invoices/${e}/cancel`),mB=e=>nn.axiosInstance.put(`${ii}/invoices`,e),gB=e=>nn.axiosInstance.get(`${ii}/order/${e}`),_B=e=>nn.axiosInstance.get(`${ii}/invoices/${e}`);var yB="/assets/empty.c203c2a0.png";const EB=e=>(yh("data-v-b9260f0e"),e=e(),Eh(),e),bB={class:"invoice-empty"},wB=EB(()=>Ae("img",{src:yB,alt:"empty"},null,-1)),CB={class:"empty-text"},AB=pe({__name:"InvoiceEmpty",props:{desc:{}},setup(e){return(t,n)=>(Se(),We("div",bB,[wB,Ae("div",CB,et(t.desc),1)]))}});var Xv=sn(AB,[["__scopeId","data-v-b9260f0e"]]);const SB={class:"invoice-records-x invoice-skeleton"},$B={key:1,class:"invoice-records-list"},TB=["onClick"],xB={class:"invoice-item-header"},OB={class:"item-left"},IB={class:"item-right"},RB={class:"invoice-item-content"},PB={key:0},DB=pe({__name:"InvoiceRecords",setup(e){const t=ks(),n=se([]),r=se(!1),i=se(!1),o=()=>jt(this,null,function*(){yield s()}),s=()=>jt(this,null,function*(){r.value=!0;try{const l=yield pB();l.code===1?n.value=l.data.list:He.fail(l.message)}catch(l){console.error("error",l),l==="networkError"?He.fail("\u7F51\u7EDC\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"):l!=null&&l.message&&He.fail(l==null?void 0:l.message)}finally{r.value=!1,i.value=!0}});Xe(()=>jt(this,null,function*(){yield s()}));const a=l=>l==="\u5DF2\u5F00\u7968"?"invoice-status-success":l==="\u5DF2\u53D6\u6D88"?"invoice-status-cancel":l==="\u5DF2\u5173\u95ED"?"invoice-status-close":l==="\u5F85\u5F00\u7968"?"invoice-status-pending":"",u=l=>!l||!(l!=null&&l.orderDescription)?"":l.orderPayIds.length>1?l.orderDescription:`${l.orderDescription}\u4F1A\u5458`,c=l=>{t.push({path:"/invoice/niimbot/status",query:Zn(Jn({},t.currentRoute.value.query),{id:l.id})})};return(l,f)=>{const d=mt("van-pull-refresh"),h=mt("van-skeleton");return Se(),We("div",SB,[x(h,{title:"",row:3,round:"",loading:r.value&&!i.value},{default:Me(()=>[x(d,{modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=p=>r.value=p),onRefresh:o},{default:Me(()=>[n.value.length===0?(Se(),Qe(Xv,{key:0,desc:"\u60A8\u8FD8\u6CA1\u6709\u5F00\u7968\u8BB0\u5F55"})):(Se(),We("div",$B,[(Se(!0),We(qe,null,Uu(n.value,p=>(Se(),We("div",{class:"invoice-item",key:p.id,onClick:g=>c(p)},[Ae("div",xB,[Ae("div",OB,et(u(p)),1),Ae("div",IB,"\uFFE5"+et(p.totalAmount),1)]),Ae("div",RB,[Ae("div",null,"\u7533\u8BF7\u65F6\u95F4\uFF1A"+et(be(os)(p.gmtCreated).format("YYYY-MM-DD HH:mm:ss")),1),p.status===be(bt).INVOICED?(Se(),We("div",PB," \u5F00\u7968\u65F6\u95F4\uFF1A"+et(be(os)(p.invoiceTime).format("YYYY-MM-DD HH:mm:ss")),1)):Nt("",!0)]),Ae("div",{class:fr(["invoice-item-footer items-center",a(be(wu)[p.status])])},[Ae("div",null,et(be(wu)[p.status]),1),Ae("div",null,[x(Yv,{direction:"right"})])],2)],8,TB))),128))]))]),_:1},8,["modelValue"])]),_:1},8,["loading"])])}}});var LB=sn(DB,[["__scopeId","data-v-7b177350"]]);const FB={class:"invoice-status-x"},BB={class:"invoice-status-header mb-30px h-60px"},NB={class:"invoice-status-header-title"},kB={class:"invoice-status-header-desc"},MB={key:0,style:{color:"#999999","font-size":"13px","text-align":"center"}},VB={key:0,class:"invoice-status-footer"},jB=pe({__name:"InvoiceStatus",setup(e){var h;const t=Ms(),n=se(null),r=se(null),i=(h=t.query)==null?void 0:h.id,o=()=>jt(this,null,function*(){const p=yield _B(i);p.code===1&&(n.value=p.data,r.value=p.data.status)});Xe(()=>jt(this,null,function*(){yield o()}));const s=ce(()=>r.value===bt.INVOICING?"\u60A8\u63D0\u4EA4\u7684\u53D1\u7968\u7533\u8BF7\u5DF2\u53D7\u7406\uFF0C\u8BF7\u7B49\u5F85":r.value===bt.INVOICED?"\u53D1\u7968\u5DF2\u53D1\u81F3\u60A8\u7684\u90AE\u7BB1":r.value===bt.CLOSED?"\u672C\u6B21\u5F00\u7968\u7533\u8BF7\u5DF2\u5173\u95ED\uFF0C\u4ECD\u9700\u5F00\u7968\u8BF7\u91CD\u65B0\u7533\u8BF7":r.value===bt.CANCELED?"\u60A8\u5DF2\u53D6\u6D88\u672C\u6B21\u5F00\u7968\u7533\u8BF7":""),a=ce(()=>{if(r.value===bt.INVOICING)return"pending-icon";if(r.value===bt.INVOICED)return"success-icon";if(r.value===bt.CLOSED||r.value===bt.CANCELED)return"closed-icon"}),u=ce(()=>r.value===bt.INVOICED?"\u5F00\u7968\u65F6\u95F4":"\u7533\u8BF7\u65F6\u95F4"),c=ce(()=>{const p=n.value;let g;return r.value===bt.INVOICED?g=p==null?void 0:p.invoiceTime:g=p==null?void 0:p.gmtCreated,g?wv(g):""}),l=ce(()=>r.value===bt.INVOICING),f=ce(()=>{var p;return((p=n.value)==null?void 0:p.invoiceHeadType)===en.COMPANY}),d=()=>jt(this,null,function*(){try{yield Ge.confirm({title:"\u64A4\u9500\u540E\u672C\u6B21\u5F00\u7968\u7533\u8BF7\u5C06\u7EC8\u6B62\u53D7\u7406\uFF0C\u60A8\u8FD8\u53EF\u4EE5\u518D\u6B21\u53D1\u8D77\u7533\u8BF7\uFF0C\u786E\u5B9A\u8981\u64A4\u9500\u5417\uFF1F",confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",confirmButtonColor:"#FB4B42",cancelButtonColor:"#595959",width:"270px",className:"cancel-invoice-dialog"}),ao("webEventTrack",JSON.stringify({eventCode:"click",posCode:"029_236_299"}));const p=yield vB(i);p.code===1?yield o():He.fail(p.message)}catch(p){console.error("error",p),p==="networkError"?He.fail("\u7F51\u7EDC\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"):p!=null&&p.message&&He.fail(p==null?void 0:p.message)}});return(p,g)=>{const m=mt("van-cell"),y=mt("van-cell-group");return Se(),We("div",FB,[Ae("div",BB,[Ae("div",NB,[Ae("i",{class:fr(["invoice-status-icon mr-2px",a.value])},null,2),Ae("span",null,et(r.value&&be(wu)[r.value]),1)]),Ae("div",kB,et(s.value),1)]),Ae("div",{class:fr(["invoice-status-content",l.value?"pb-104px":"pb-16px"])},[x(y,{inset:"",class:"mb-12px"},{default:Me(()=>{var _,v,E,T,I,L,G,M,W,ee,q,H,F;return[x(m,{title:"\u62AC\u5934\u7C7B\u578B",value:be(hB)[((_=n.value)==null?void 0:_.invoiceHeadType)||be(en).COMPANY]},null,8,["value"]),f.value?(Se(),Qe(m,{key:0,title:"\u5F00\u7968\u65B9\u5F0F",value:be(dB)[((v=n.value)==null?void 0:v.invoiceKind)||be(ur).NORMAL]},null,8,["value"])):Nt("",!0),x(m,{title:"\u53D1\u7968\u62AC\u5934",value:(E=n.value)==null?void 0:E.title},null,8,["value"]),(T=n.value)!=null&&T.taxpayerIdentificationNumber?(Se(),Qe(m,{key:1,title:"\u7A0E\u53F7",value:(I=n.value)==null?void 0:I.taxpayerIdentificationNumber},null,8,["value"])):Nt("",!0),(L=n.value)!=null&&L.bankName?(Se(),Qe(m,{key:2,title:"\u5F00\u6237\u94F6\u884C",value:(G=n.value)==null?void 0:G.bankName},null,8,["value"])):Nt("",!0),(M=n.value)!=null&&M.bankAccount?(Se(),Qe(m,{key:3,title:"\u94F6\u884C\u8D26\u53F7",value:(W=n.value)==null?void 0:W.bankAccount},null,8,["value"])):Nt("",!0),(ee=n.value)!=null&&ee.address?(Se(),Qe(m,{key:4,title:f.value?"\u4F01\u4E1A\u5730\u5740":"\u5730\u5740",value:(q=n.value)==null?void 0:q.address},null,8,["title","value"])):Nt("",!0),(H=n.value)!=null&&H.contactNumber?(Se(),Qe(m,{key:5,title:f.value?"\u4F01\u4E1A\u7535\u8BDD":"\u7535\u8BDD",value:(F=n.value)==null?void 0:F.contactNumber},null,8,["title","value"])):Nt("",!0),x(m,{title:u.value,value:c.value},null,8,["title","value"])]}),_:1}),x(y,{inset:"",class:"mb-12px"},{default:Me(()=>{var _,v,E,T;return[x(m,{title:"\u603B\u91D1\u989D",value:`\uFFE5${((_=n.value)==null?void 0:_.totalAmount)||0}`,"value-class":"invoice-amount"},null,8,["value"]),x(m,{title:`\u5305\u542B${((E=(v=n.value)==null?void 0:v.orderPayIds)==null?void 0:E.length)||0}\u4E2A\u8BA2\u5355`,"is-link":"",class:"order-desc",to:{name:"niimbot-invoice-includes",query:{ids:(T=n.value)==null?void 0:T.orderPayIds.join(",")}}},null,8,["title","to"])]}),_:1}),x(y,{inset:"",class:"mb-12px"},{default:Me(()=>{var _;return[x(m,{title:"\u7535\u5B50\u90AE\u7BB1",value:(_=n.value)==null?void 0:_.email},null,8,["value"])]}),_:1}),r.value===be(bt).INVOICED?(Se(),We("div",MB," \u5982\u9700\u91CD\u65B0\u5F00\u7968\uFF0C\u8BF7\u8054\u7CFB\u5BA2\u670D ")):Nt("",!0)],2),l.value?(Se(),We("footer",VB,[Ae("div",{class:"invoice-status-footer-button",onClick:d},"\u64A4\u9500\u7533\u8BF7")])):Nt("",!0)])}}});var UB=sn(jB,[["__scopeId","data-v-88e6130a"]]);const HB=e=>{if(!e)return{};const t=Zn(Jn({},e),{invoiceHeadType:e.invoiceHeadType===en.COMPANY?"\u4F01\u4E1A":"\u4E2A\u4EBA/\u975E\u4F01\u4E1A\u5355\u4F4D",invoiceKind:e.invoiceKind===ur.NORMAL?"\u666E\u7968":"\u4E13\u7968"});return e.invoiceHeadType===en.PERSONAL&&delete t.invoiceKind,t};function Jv({functionLowestSupportVersion:e}={}){var v;const n=Ms().query,r=n.userAgent||n.niimbotUserAgent||localStorage.getItem("niimbotUserAgent"),i=se(n.lang||localStorage.getItem("lang")||"zh-cn"),o=se(n.token||localStorage.getItem("token")||""),s=se(""),a=se(""),u=se(""),c=se(""),l=se(""),f=se(""),d=se((n==null?void 0:n.isOutsideBrowse)==="1");if(r){const E=bT(r);s.value=((v=E.OS)==null?void 0:v.toUpperCase())||"",a.value=E.referer||"",u.value=E.AppVersionName||"",c.value=E.SystemVersion||"",l.value=E.Model||""}ku(()=>{window.appLoginSuccess||(window.appLoginSuccess=function(E){console.log(`Received token from client: ${E}`),!o.value&&E&&(console.log("\u8BBE\u7F6Etoken:",Nd(E)),o.value=Nd(E),localStorage.setItem("token",o.value))})});const h=ce(()=>a.value.startsWith("CP001")),p=ce(()=>a.value.startsWith("CP002")),g=ce(()=>{var E;return d.value?!1:s.value==="ANDROID"||s.value==="IOS"||!!window.android||!!((E=window.webkit)!=null&&E.messageHandlers)}),m=ce(()=>i.value==="ar"||f.value==="ar"),y=ce(()=>s.value==="IOS"),_=ce(()=>!e||!u.value?!1:ET.lt(u.value,e));return f.value=zB(navigator.language),Gh(()=>{!g.value&&!n.lang&&(i.value=f.value)}),{lang:i,os:s,token:o,appVersion:u,referer:a,systemVersion:c,model:l,isNiim:p,isNiimbot:h,isInApp:g,userSystemLanguage:f,isIOS:y,hasNeedUpgrade:_,isRtl:m,queryParams:n,niimbotUserAgent:r,platform:GB(),browserInfo:qB()}}const zB=e=>{const[t,n]=e.split("-"),r=n==null?void 0:n.toUpperCase();return t==="zh"&&!r||t==="zh"&&r==="CN"?"zh-cn":t==="zh"&&r==="TW"||t==="zh"&&r==="HK"?"zh-cn-t":t==="pl"?"Polish":t==="cs"?"Czech":t};function GB(){const e=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"iOS":/android/i.test(e)?"Android":/windows/i.test(e)?"Windows":/mac/i.test(e)?"macOS":/linux/i.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":"unknown"}function qB(){var r,i,o,s,a;const e=navigator.userAgent;let t,n;return e.indexOf("Chrome")>-1?(t="Chrome",n=(r=e.match(/Chrome\/([\d.]+)/))==null?void 0:r[1]):e.indexOf("Safari")>-1?(t="Safari",n=(i=e.match(/Safari\/([\d.]+)/))==null?void 0:i[1]):e.indexOf("Firefox")>-1?(t="Firefox",n=(o=e.match(/Firefox\/([\d.]+)/))==null?void 0:o[1]):e.indexOf("Edge")>-1?(t="Edge",n=(s=e.match(/Edge\/([\d.]+)/))==null?void 0:s[1]):e.indexOf("Trident")>-1||e.indexOf("MSIE")>-1?(t="Internet Explorer",n=(a=e.match(/MSIE ([\d.]+);/))==null?void 0:a[1]):t="unknown",{name:t,version:n||"unknown"}}function WB(){const{platform:e}=Jv(),t=se(0),n=se(!1),r=()=>{const s=document.documentElement.clientHeight||document.body.clientHeight;if(t.value===0&&(t.value=s),t.value>s){console.log("Android \u952E\u76D8\u5F39\u8D77\u5566\uFF01"),n.value=!0;const a=document.activeElement;setTimeout(()=>{a&&a.scrollIntoView({behavior:"smooth",block:"center"})},200)}else console.log("Android \u952E\u76D8\u6536\u8D77\u5566\uFF01"),n.value=!1},i=()=>{if(e==="iOS"){console.log("ios \u952E\u76D8\u5F39\u8D77\u55661\uFF01"),n.value=!0;const s=document.activeElement;setTimeout(()=>{s&&s.scrollIntoView({behavior:"smooth",block:"center"})},300)}},o=()=>{e==="iOS"&&(console.log("ios \u952E\u76D8\u6536\u8D77\u5566\uFF01"),n.value=!1)};return Xe(()=>{t.value=document.documentElement.clientHeight||document.body.clientHeight,console.log("mounted originalHeight",t.value),e==="Android"&&window.addEventListener("resize",r)}),Yn(()=>{window.removeEventListener("resize",r)}),{keyboardIsShow:n,onFocusOutHandler:o,onFocusInHandler:i}}const bi={taxpayerIdentificationNumber:/^[A-Za-z0-9]{18}$/,email:/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/};const KB=e=>(yh("data-v-c33667b8"),e=e(),Eh(),e),YB={class:"invoice-edit"},XB={class:"invoice-edit-cell"},JB=KB(()=>Ae("div",null,"\u603B\u91D1\u989D",-1)),ZB={class:"text-niimbot"},QB={style:{"margin-right":"4px"}},eN={class:"invoice-info-preview"},tN={class:"label"},nN={class:"value"},rN={class:"confirm-submit-button"},iN={class:"invoice-edit-footer"},oN=pe({__name:"InvoiceEdit",setup(e){const t=ks(),{queryParams:n}=Jv(),r=n.amount,{keyboardIsShow:i,onFocusInHandler:o,onFocusOutHandler:s}=WB(),a=se(),u=se(en.COMPANY),c=se(ur.NORMAL),l=se(""),f=se(""),d=se(""),h=se(""),p=se(""),g=se(""),m=se(""),y=se(null),_=se(!1),v=se(!0),E=se(!1),T=P=>{var A=P,{email:H}=A,F=po(A,["email"]);var C;console.log("%c [ values ]-166","font-size:16px; background:#f66; color:#fff;",F),y.value=Kv(Zn(Jn({},F),{bankName:d.value,bankAccount:h.value,address:p.value,contactNumber:g.value,email:H}),O=>O!==""),(C=y.value)!=null&&C.taxpayerIdentificationNumber&&(y.value.taxpayerIdentificationNumber=y.value.taxpayerIdentificationNumber.toUpperCase()),console.log("%c [ invoiceInfo.value ]-180","font-size:16px; background:#f66; color:#fff;",y.value)},I=ce(()=>u.value===en.COMPANY),L=()=>jt(this,null,function*(){var H,F;try{if(yield(H=a==null?void 0:a.value)==null?void 0:H.validate(),(F=a==null?void 0:a.value)==null||F.submit(),_.value){E.value=!0,ao("webEventTrack",JSON.stringify({eventCode:"click",posCode:"029_236_298"}));const P=yield mB(Zn(Jn({},y.value),{orderPayIds:n.ids?n.ids.split(","):[]}));P.code===1?t.replace({path:"/invoice/niimbot/status",query:Zn(Jn({},t.currentRoute.value.query),{id:P.data})}):He.fail(P.message)}else _.value=!0}catch(P){console.error("error",P),P==="networkError"?He.fail("\u7F51\u7EDC\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"):P!=null&&P.message&&He.fail(P==null?void 0:P.message)}finally{E.value=!1}}),G=ce(()=>I.value?!l.value||!f.value||!bi.taxpayerIdentificationNumber.test(f.value)||!m.value||!bi.email.test(m.value):!l.value||!m.value||!bi.email.test(m.value)),M=H=>{const F=cB[H];return(F==="\u5730\u5740"||F==="\u7535\u8BDD")&&I.value?`\u4F01\u4E1A${F}`:F},W=()=>{v.value=!v.value},ee=()=>{l.value="",f.value="",d.value="",h.value="",p.value="",g.value=""},q=H=>{ee(),H===en.COMPANY&&(c.value=ur.NORMAL)};return(H,F)=>{const P=mt("van-radio"),A=mt("van-radio-group"),C=mt("van-field"),O=mt("van-cell-group"),S=mt("van-form"),R=mt("van-button"),k=mt("van-action-sheet");return Se(),We("div",YB,[Ae("div",{class:"invoice-edit-content",onFocusout:F[9]||(F[9]=(...N)=>be(s)&&be(s)(...N)),onFocusin:F[10]||(F[10]=(...N)=>be(o)&&be(o)(...N))},[Ae("div",XB,[JB,Ae("div",ZB,"\uFFE5"+et(be(r)),1)]),x(S,{onSubmit:T,ref_key:"formRef",ref:a},{default:Me(()=>[x(O,{inset:""},{default:Me(()=>[x(C,{name:"invoiceHeadType",label:"\u62AC\u5934\u7C7B\u578B"},{input:Me(()=>[x(A,{"icon-size":"16",modelValue:u.value,"onUpdate:modelValue":F[0]||(F[0]=N=>u.value=N),direction:"horizontal",onChange:q},{default:Me(()=>[x(P,{"checked-color":"#FB4B42",name:be(en).PERSONAL},{default:Me(()=>[Ln("\u4E2A\u4EBA/\u975E\u4F01\u4E1A\u5355\u4F4D")]),_:1},8,["name"]),x(P,{"checked-color":"#FB4B42",name:be(en).COMPANY},{default:Me(()=>[Ln("\u4F01\u4E1A")]),_:1},8,["name"])]),_:1},8,["modelValue"])]),_:1}),I.value?(Se(),Qe(C,{key:0,name:"invoiceKind",label:"\u5F00\u7968\u65B9\u5F0F"},{input:Me(()=>[x(A,{"icon-size":"16",modelValue:c.value,"onUpdate:modelValue":F[1]||(F[1]=N=>c.value=N),direction:"horizontal"},{default:Me(()=>[x(P,{"checked-color":"#FB4B42",name:be(ur).SPECIAL},{default:Me(()=>[Ln("\u4E13\u7968")]),_:1},8,["name"]),x(P,{"checked-color":"#FB4B42",name:be(ur).NORMAL},{default:Me(()=>[Ln("\u666E\u7968")]),_:1},8,["name"])]),_:1},8,["modelValue"])]),_:1})):Nt("",!0),x(C,{modelValue:l.value,"onUpdate:modelValue":F[2]||(F[2]=N=>l.value=N),name:"title",label:"\u53D1\u7968\u62AC\u5934",placeholder:"\u8BF7\u8F93\u5165\u53D1\u7968\u62AC\u5934",required:"","input-align":"right",maxlength:"100",rows:"1",autosize:"",type:"textarea",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u53D1\u7968\u62AC\u5934"}]},null,8,["modelValue"]),I.value?(Se(),Qe(C,{key:1,modelValue:f.value,"onUpdate:modelValue":F[3]||(F[3]=N=>f.value=N),name:"taxpayerIdentificationNumber",label:"\u7A0E\u53F7",placeholder:"\u8BF7\u586B\u5199\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",required:"",maxlength:"18",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7"},{pattern:be(bi).taxpayerIdentificationNumber,message:"\u8BF7\u89C4\u8303\u586B\u519918\u4F4D\u7A0E\u53F7"}],"input-align":"right"},null,8,["modelValue","rules"])):Nt("",!0),v.value?Nt("",!0):(Se(),We(qe,{key:2},[x(C,{modelValue:d.value,"onUpdate:modelValue":F[4]||(F[4]=N=>d.value=N),name:"bankName",maxlength:"100",label:"\u5F00\u6237\u94F6\u884C",placeholder:"\u9009\u586B","input-align":"right"},null,8,["modelValue"]),x(C,{modelValue:h.value,"onUpdate:modelValue":F[5]||(F[5]=N=>h.value=N),name:"bankAccount",maxlength:"19",type:"number",label:"\u94F6\u884C\u8D26\u53F7",placeholder:"\u9009\u586B","input-align":"right"},null,8,["modelValue"]),x(C,{modelValue:p.value,"onUpdate:modelValue":F[6]||(F[6]=N=>p.value=N),name:"address",label:I.value?"\u4F01\u4E1A\u5730\u5740":"\u5730\u5740",maxlength:"100",placeholder:"\u9009\u586B","input-align":"right"},null,8,["modelValue","label"]),x(C,{modelValue:g.value,"onUpdate:modelValue":F[7]||(F[7]=N=>g.value=N),name:"contactNumber",label:I.value?"\u4F01\u4E1A\u7535\u8BDD":"\u7535\u8BDD",maxlength:"100",placeholder:"\u9009\u586B","input-align":"right"},null,8,["modelValue","label"])],64)),Ae("div",{class:"invoice-edit-collapse",onClick:W},[Ae("div",QB,et(v.value?"\u66F4\u591A\u9009\u586B\u9879":"\u6536\u8D77\u9009\u586B\u9879"),1),x(Yv,{color:"#999",direction:v.value?"down":"up"},null,8,["direction"])])]),_:1}),x(O,{inset:"",style:{"margin-top":"12px"}},{default:Me(()=>[x(C,{modelValue:m.value,"onUpdate:modelValue":F[8]||(F[8]=N=>m.value=N),name:"email",label:"\u7535\u5B50\u90AE\u7BB1",required:"",placeholder:"\u7528\u4E8E\u5411\u60A8\u53D1\u9001\u7535\u5B50\u53D1\u7968",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u7535\u5B50\u90AE\u7BB1"},{pattern:be(bi).email,message:"\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u5B50\u90AE\u7BB1"}],"input-align":"right"},null,8,["modelValue","rules"])]),_:1})]),_:1},512)],32),x(k,{show:_.value,"onUpdate:show":F[11]||(F[11]=N=>_.value=N),title:"\u5F00\u5177\u7535\u5B50\u53D1\u7968","close-icon":"https://oss-print.niimbot.com/public_resources/material/4a02bbed8d7c89c472fca5a274eb19fc.png"},{default:Me(()=>[Ae("div",eN,[(Se(!0),We(qe,null,Uu(be(HB)(y.value),(N,ie)=>(Se(),We("div",{class:"preview-item",key:ie},[Ae("div",tN,et(M(ie)),1),Ae("div",nN,et(N),1)]))),128)),Ae("div",rN,[x(R,{color:"#FB4B42",size:"large",block:"",onClick:L,loading:E.value,class:"text-4 font-bold"},{default:Me(()=>[Ln("\u786E\u8BA4\u63D0\u4EA4")]),_:1},8,["loading"])])])]),_:1},8,["show"]),vr(Ae("div",iN,[x(R,{color:"#FB4B42",class:"text-4 font-bold",size:"large",block:"",onClick:L,disabled:G.value},{default:Me(()=>[Ln("\u63D0\u4EA4")]),_:1},8,["disabled"])],512),[[Wr,!be(i)]])])}}});var sN=sn(oN,[["__scopeId","data-v-c33667b8"]]);const aN={class:"order-item mb-3"},uN={class:"flex justify-between mb-2 text-black-2 text-15px font-bold"},lN={class:"mb-1"},cN={class:"mb-1"},fN={class:"mb-1"},dN=pe({__name:"OrderItem",props:{item:{default:{}}},setup(e){const t=e,{item:n}=t;return(r,i)=>(Se(),We("div",aN,[Ae("div",uN,[Ae("div",null,et(be(n).title)+"\u4F1A\u5458",1),Ae("div",null,"\uFFE5"+et(be(n).actualPrice),1)]),Ae("div",lN,"\u8D2D\u4E70\u65F6\u95F4\uFF1A"+et(be(wv)(be(n).gmtCreated)),1),Ae("div",cN,"\u652F\u4ED8\u6E20\u9053\uFF1A"+et(be(fB)[be(n).payChannel]),1),Ae("div",fN,"\u8BA2\u5355\u7F16\u53F7\uFF1A"+et(be(n).id),1)]))}});var hN=sn(dN,[["__scopeId","data-v-5a5bd25b"]]);const pN={class:"invoice-includes-x invoice-skeleton"},vN={key:1,class:"flex flex-col"},mN=pe({__name:"InvoiceIncludes",setup(e){const r=Ms().query.ids,i=se(!1),o=se(!1),s=se([]),a=()=>jt(this,null,function*(){i.value=!0;try{const u=yield gB(r);u.code===1&&(s.value=u.data.sort((c,l)=>new Date(l.gmtCreated).getTime()-new Date(c.gmtCreated).getTime()))}catch(u){u==="networkError"?He.fail("\u7F51\u7EDC\u5F02\u5E38\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"):u!=null&&u.message&&He.fail(u==null?void 0:u.message)}finally{i.value=!1,o.value=!0}});return Xe(()=>{a()}),(u,c)=>{const l=mt("van-skeleton");return Se(),We("div",pN,[x(l,{title:"",row:3,round:"",loading:i.value&&!o.value},{default:Me(()=>[s.value.length===0?(Se(),Qe(Xv,{key:0,desc:"\u6682\u65E0\u6570\u636E"})):(Se(),We("div",vN,[(Se(!0),We(qe,null,Uu(s.value,f=>(Se(),Qe(hN,{key:f.id,item:f},null,8,["item"]))),128))]))]),_:1},8,["loading"])])}}});var gN=sn(mN,[["__scopeId","data-v-bf575810"]]);const _N=pe({__name:"HelpCenterRouterView",setup(e){const t=ks(),{query:n}=Ms(),r=ce(()=>n.isOutsideBrowse==="1"?window.innerHeight+"px":"100vh");return ku(()=>{window.onBackPressed=function(){console.log("\u6536\u5230\u4E86ios\u8FD4\u56DE\u624B\u52BF\u4E8B\u4EF6"),location.pathname.includes("niimbot/help-center/index")?(ao("goBack",""),console.log("\u6536\u5230\u4E86ios\u8FD4\u56DE\u624B\u52BF\u4E8B\u4EF6, \u9000\u51FAH5")):(console.log("\u6536\u5230\u4E86ios\u8FD4\u56DE\u624B\u52BF\u4E8B\u4EF6, \u8FD4\u56DE\u5230\u4E0A\u4E00\u9875"),t.back())}}),(i,o)=>{const s=mt("router-view");return Se(),Qe(s,{class:"router-view flip-cover overscroll-none",style:ps({height:r.value})},{default:Me(({Component:a,route:u})=>[(Se(),Qe(Jg,{include:["niimbot-help-center-index","niimbot-help-center-search","niimbot-help-center-function-classify"]},[(Se(),Qe(xh(a),{key:u.path}))],1024))]),_:1},8,["style"])}}}),Zv=Gw({history:aw(),routes:[{path:"/",component:()=>X(()=>import("./home.634ac1da.js"),[])},{path:"/cooperation",component:()=>X(()=>import("./Cooperation.0c4d6592.js"),["assets/Cooperation.0c4d6592.js","assets/Cooperation.ad433ade.css","assets/clipboard.e703440f.js"]),meta:{title:"Cooperation"}},{path:"/abutment",component:()=>X(()=>import("./AbutmentV2.ebcd2738.js"),[]),meta:{title:"\u7CFB\u7EDF\u5BF9\u63A5"}},{path:"/autoPayExplain",component:()=>X(()=>import("./index.f130a1f5.js"),["assets/index.f130a1f5.js","assets/index.368caa52.css"]),meta:{title:"\u81EA\u52A8\u7EED\u8D39\u8BF4\u660E"}},{path:"/sdk-catalogue",name:"sdk-catalogue",component:()=>X(()=>import("./SDKCatalogue.d250547f.js"),[]),meta:{title:"SDK Catalogue"}},{path:"/privacy-policy",name:"privacy-policy",component:()=>X(()=>import("./PrivacyPolicy.9fd77cb4.js"),[]),meta:{title:"Privacy Policy"}},{path:"/commercial/docs/autopay",name:"autopay",component:()=>X(()=>import("./index.d63d7ff4.js"),[]),meta:{title:"\u81EA\u52A8\u7EED\u8D39\u670D\u52A1\u534F\u8BAE"}},{path:"/commercial/docs/vip",name:"vip-docs",component:()=>X(()=>import("./index.6616071e.js"),[]),meta:{title:"\u7CBE\u81E3\u4E91\u6253\u5370VIP\u4F1A\u5458\u670D\u52A1\u534F\u8BAE"}},{path:"/commercial/docs/autopay-explain",name:"autopay-explain",component:()=>X(()=>import("./index.d8e42509.js"),[]),meta:{title:"\u81EA\u52A8\u7EED\u8D39\u8BF4\u660E"}},{path:"/commercial/download-latest",name:"download-latest",component:()=>X(()=>import("./latest.8ee56a28.js"),["assets/latest.8ee56a28.js","assets/latest.f10336fc.css"])},{path:"/niim/commercial/download-chenyin-latest",name:"download-chenyin-latest",component:()=>X(()=>import("./chenyinLatest.0a559a2e.js"),["assets/chenyinLatest.0a559a2e.js","assets/chenyinLatest.8deb3bba.css"])},{path:"/niim/commercial/download-chenyin-app",name:"download-chenyin-app",component:()=>X(()=>import("./downloadCXY.f3724df2.js"),["assets/downloadCXY.f3724df2.js","assets/downloadCXY.5d883f8a.css","assets/useNetworkStatus.45aa9905.js"])},{path:"/niim/openApp",name:"openApp",component:()=>X(()=>import("./down.294d819c.js"),["assets/down.294d819c.js","assets/down.60fd379e.css","assets/nativeTransfer.74672f69.js"])},{path:"/niim/docs/sdk-catelog",name:"niim-sdk",component:()=>X(()=>import("./index.7a0d561d.js"),[]),meta:{title:"Sdk Catelog"}},{path:"/niim/docs/privacy-policy",name:"niim-privacy-policy",component:()=>X(()=>import("./index.68c77105.js"),[]),meta:{title:"Privacy Policy"}},{path:"/niim/docs/user-agreement",name:"niim-user-agreement",component:()=>X(()=>import("./index.9cd0b62e.js"),[]),meta:{title:"User Agreement"}},{path:"/niim/user-order-search",name:"user-order-search",component:()=>X(()=>import("./index.4e278cc7.js"),["assets/index.4e278cc7.js","assets/index.708eaf9f.css","assets/index.cbc5950c.js","assets/apollo-client.aba8bd1b.js","assets/api.9bfeb050.js"]),meta:{title:"\u751F\u6548\u660E\u7EC6"}},{path:"/niim/single/agreement/:id",name:"single/agreement",component:()=>X(()=>import("./index.ec9ecbc1.js"),["assets/index.ec9ecbc1.js","assets/index.3a014c23.css"])},{path:"/niim/chenyin-user-order-search",name:"chenyin-user-order-search",component:()=>X(()=>import("./chenyin-index.be11d055.js"),["assets/chenyin-index.be11d055.js","assets/chenyin-index.36d94829.css","assets/index.cbc5950c.js","assets/api.9bfeb050.js"]),meta:{title:"\u81E3\u5C0F\u5370\u751F\u6548\u660E\u7EC6"}},{path:"/niim/activity/consumablesTrial",name:"consumables-trial",component:()=>X(()=>import("./index.2e969a74.js"),["assets/index.2e969a74.js","assets/index.3d0de93f.css","assets/citys.477a1dcd.js","assets/nativeTransfer.74672f69.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u590F\u65E5\u8DA3\u751F\u6D3B\u8017\u6750\u8BD5\u7528"}},{path:"/niim/activity/consumablesTrial-1",name:"consumables-trial1",component:()=>X(()=>import("./index1.c391543e.js"),["assets/index1.c391543e.js","assets/index1.363ed32e.css","assets/citys.477a1dcd.js","assets/nativeTransfer.74672f69.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u8D85\u7EA7\u98DE\u4FA0\u8054\u540D\u6B3E\u65B0\u54C1\u9886"}},{path:"/niim/activity/consumablesTrial-b21Pro",name:"consumables-trial-b21Pro",component:()=>X(()=>import("./b21Pro.b59e1c62.js"),["assets/b21Pro.b59e1c62.js","assets/b21Pro.9e079780.css","assets/citys.477a1dcd.js","assets/nativeTransfer.74672f69.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u56FE\u7247\u6253\u5370\u6807\u7B7E\u7EB8\u8017\u6750\u8BD5\u7528\u6D3B\u52A8"}},{path:"/niim/activity/industry-template/index",name:"industry-template-index",component:()=>X(()=>import("./index.6032b493.js"),["assets/index.6032b493.js","assets/index.194cedb3.css","assets/nativeTransfer.74672f69.js"])},{path:"/niim/activity/print-to-chenyin/prize",name:"print-to-chenyin",component:()=>X(()=>import("./prize.9ae00f28.js"),["assets/prize.9ae00f28.js","assets/prize.be9d89bd.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u53BB\u81E3\u5C0F\u5370\u4F53\u9A8C\u5427"}},{path:"/niim/activity/print-to-chenyin/vip",name:"print-to-chenyin-vip",component:()=>X(()=>import("./vip.de9dce59.js"),["assets/vip.de9dce59.js","assets/vip.97972806.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u53BB\u81E3\u5C0F\u5370\u4F53\u9A8C\u5427"}},{path:"/niim/activity/print-to-chenyin/wedding",name:"print-to-chenyin-wedding",component:()=>X(()=>import("./wedding.6e66c35a.js"),["assets/wedding.6e66c35a.js","assets/wedding.a89200be.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u53BB\u81E3\u5C0F\u5370\u4F53\u9A8C\u5427"}},{path:"/niim/activity/chenyin-vip-member-day/prize",name:"chenyin-vip-member-day",component:()=>X(()=>import("./prize.781e6f8a.js"),["assets/prize.781e6f8a.js","assets/prize.b16802d4.css","assets/nativeTransfer.74672f69.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5"}},{path:"/niim/activity/chenyin-vip-member-day/rule-zh-cn",name:"chenyin-vip-member-day-rule-cn",component:()=>X(()=>import("./rule.41c6d564.js"),["assets/rule.41c6d564.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u4E2D\u6587"}},{path:"/niim/activity/chenyin-vip-member-day/rule-zh-cn-t",name:"chenyin-vip-member-day-rule-tw",component:()=>X(()=>import("./ruleTw.2424525b.js"),["assets/ruleTw.2424525b.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u7E41\u4E2D"}},{path:"/niim/activity/chenyin-vip-member-day/rule-en",name:"chenyin-vip-member-day-rule-en",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u82F1\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-ko",name:"chenyin-vip-member-day-rule-ko",component:()=>X(()=>import("./ruleKo.24fa7374.js"),["assets/ruleKo.24fa7374.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u97E9\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-ja",name:"chenyin-vip-member-day-rule-ja",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u65E5\u672C\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-de",name:"chenyin-vip-member-day-rule-de",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u5FB7\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-ru",name:"chenyin-vip-member-day-rule-ru",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u4FC4\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-fr",name:"chenyin-vip-member-day-rule-fr",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u6CD5\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-pt",name:"chenyin-vip-member-day-rule-pt",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u8461\u8404\u7259\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-it",name:"chenyin-vip-member-day-rule-it",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u610F\u5927\u5229\u8BED"}},{path:"/niim/activity/chenyin-vip-member-day/rule-es",name:"chenyin-vip-member-day-rule-es",component:()=>X(()=>import("./ruleEn.ecde10ec.js"),["assets/ruleEn.ecde10ec.js","assets/ruleEn.29e21725.css"]),meta:{title:"\u81E3\u5C0F\u5370\u4F1A\u5458\u65E5\u6D3B\u52A8\u89C4\u5219-\u897F\u73ED\u7259\u8BED"}},{path:"/niim/dynamic-details/:id",name:"chenyin-dynamic-details",component:()=>X(()=>import("./index.1602801e.js"),["assets/index.1602801e.js","assets/index.ccca5776.css","assets/cloneDeep.08cb83cb.js","assets/debounce.a1df5de3.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370"}},{path:"/activity/print-quick-printing/cn",name:"print-quick-printing-cn",component:()=>X(()=>import("./cn.9e4942df.js"),["assets/cn.9e4942df.js","assets/cn.445465b0.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u5FEB\u6377\u6253\u5370\u5BA3\u4F20\u6D3B\u52A8-\u4E2D\u6587"}},{path:"/activity/print-quick-printing/tw",name:"print-quick-printing-tw",component:()=>X(()=>import("./tw.fb547028.js"),["assets/tw.fb547028.js","assets/tw.a14a887b.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u5FEB\u6377\u6253\u5370\u5BA3\u4F20\u6D3B\u52A8-\u7E41\u4F53"}},{path:"/activity/print-quick-printing/en",name:"print-quick-printing-en",component:()=>X(()=>import("./en.58746bb0.js"),["assets/en.58746bb0.js","assets/en.41465a1b.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u5FEB\u6377\u6253\u5370\u5BA3\u4F20\u6D3B\u52A8-\u82F1\u6587"}},{path:"/activity/print-quick-printing/ko",name:"print-quick-printing-ko",component:()=>X(()=>import("./ko.3131b753.js"),["assets/ko.3131b753.js","assets/ko.f5f9cbdb.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u5FEB\u6377\u6253\u5370\u5BA3\u4F20\u6D3B\u52A8-\u97E9\u6587"}},{path:"/activity/print-quick-printing/ru",name:"print-quick-printing-ru",component:()=>X(()=>import("./ru.c1c8af81.js"),["assets/ru.c1c8af81.js","assets/ru.6abd8000.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u5FEB\u6377\u6253\u5370\u5BA3\u4F20\u6D3B\u52A8-\u4FC4\u8BED"}},{path:"/activity/print-quick-printing/ja",name:"print-quick-printing-ja",component:()=>X(()=>import("./ja.fc6dda40.js"),["assets/ja.fc6dda40.js","assets/ja.0a0a2656.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u5FEB\u6377\u6253\u5370\u5BA3\u4F20\u6D3B\u52A8-\u65E5\u8BED"}},{path:"/activity/print-quick-printing/ms",name:"print-quick-printing-ms",component:()=>X(()=>import("./ms.3c5d58ca.js"),["assets/ms.3c5d58ca.js","assets/ms.88b3f1c5.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u5FEB\u6377\u6253\u5370\u5BA3\u4F20\u6D3B\u52A8-\u9A6C\u6765\u8BED"}},{path:"/activity/time-component-promotion/index",name:"time-component-promotion-index",component:()=>X(()=>import("./index.9c468cb0.js"),["assets/index.9c468cb0.js","assets/index.5a190a0b.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js","assets/tools.3eb638f4.js"]),meta:{title:"\u5B9E\u65F6\u65F6\u95F4\u5BA3\u4F20\u6D3B\u52A8-202409"}},{path:"/activity/time-component-promotion/cn",name:"time-component-promotion-cn",component:()=>X(()=>import("./cn.8446468e.js"),["assets/cn.8446468e.js","assets/cn.f0c6bc48.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u65F6\u95F4\u7EC4\u4EF6\u5BA3\u4F20\u6D3B\u52A8-\u4E2D\u6587"}},{path:"/activity/time-component-promotion/tw",name:"time-component-promotion-tw",component:()=>X(()=>import("./tw.51b90460.js"),["assets/tw.51b90460.js","assets/tw.fd193bd2.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u65F6\u95F4\u7EC4\u4EF6\u5BA3\u4F20\u6D3B\u52A8-\u7E41\u4F53"}},{path:"/activity/time-component-promotion/en",name:"time-component-promotion-en",component:()=>X(()=>import("./en.f35d936e.js"),["assets/en.f35d936e.js","assets/en.0074ed77.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u65F6\u95F4\u7EC4\u4EF6\u5BA3\u4F20\u6D3B\u52A8-\u82F1\u8BED"}},{path:"/activity/time-component-promotion/ko",name:"time-component-promotion-ko",component:()=>X(()=>import("./ko.4883d12e.js"),["assets/ko.4883d12e.js","assets/ko.f329e812.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u65F6\u95F4\u7EC4\u4EF6\u5BA3\u4F20\u6D3B\u52A8-\u97E9\u8BED"}},{path:"/activity/time-component-promotion/ru",name:"time-component-promotion-ru",component:()=>X(()=>import("./ru.e7dca494.js"),["assets/ru.e7dca494.js","assets/ru.6e7dcab7.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u65F6\u95F4\u7EC4\u4EF6\u5BA3\u4F20\u6D3B\u52A8-\u4FC4\u8BED"}},{path:"/activity/time-component-promotion/pt",name:"time-component-promotion-pt",component:()=>X(()=>import("./pt.d1ce0d6f.js"),["assets/pt.d1ce0d6f.js","assets/pt.cfd55d0c.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u65F6\u95F4\u7EC4\u4EF6\u5BA3\u4F20\u6D3B\u52A8-\u8461\u8404\u7259\u8BED"}},{path:"/activity/time-component-promotion/ms",name:"time-component-promotion-ms",component:()=>X(()=>import("./ms.b1fcb34e.js"),["assets/ms.b1fcb34e.js","assets/ms.3d27a3a3.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"\u65F6\u95F4\u7EC4\u4EF6\u5BA3\u4F20\u6D3B\u52A8-\u9A6C\u6765\u8BED"}},{path:"/niim/activity/chenyin-baking/cn",name:"chenyin-baking-cn",component:()=>X(()=>import("./cn.b384dc90.js"),["assets/cn.b384dc90.js","assets/cn.c89d5f96.css","assets/nativeTransfer.74672f69.js","assets/api.e3189c6a.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u70D8\u7119\u56FE\u6807\u4E0A\u65B0-\u4E2D\u6587"}},{path:"/niim/activity/chenyin-baking/tw",name:"chenyin-baking-tw",component:()=>X(()=>import("./tw.33351717.js"),["assets/tw.33351717.js","assets/tw.df5c29f4.css","assets/nativeTransfer.74672f69.js","assets/api.e3189c6a.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u70D8\u7119\u56FE\u6807\u4E0A\u65B0-\u7E41\u4F53"}},{path:"/niim/activity/chenyin-baking/en",name:"chenyin-baking-en",component:()=>X(()=>import("./en.4e071376.js"),["assets/en.4e071376.js","assets/en.c45350e3.css","assets/nativeTransfer.74672f69.js","assets/api.e3189c6a.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u70D8\u7119\u56FE\u6807\u4E0A\u65B0-\u82F1\u8BED"}},{path:"/niim/activity/chenyin-baking/ko",name:"chenyin-baking-ko",component:()=>X(()=>import("./ko.9f6515c8.js"),["assets/ko.9f6515c8.js","assets/ko.f9baffd7.css","assets/nativeTransfer.74672f69.js","assets/api.e3189c6a.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u70D8\u7119\u56FE\u6807\u4E0A\u65B0-\u97E9\u8BED"}},{path:"/niim/activity/chenyin-cool-summer/cn",name:"chenyin-cool-summer-cn",component:()=>X(()=>import("./cn.8ba35e83.js"),["assets/cn.8ba35e83.js","assets/cn.392aa99d.css","assets/nativeTransfer.74672f69.js","assets/api.fcf0a091.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u6E05\u51C9\u4E00\u590F\u56FE\u6807\u4E0A\u65B0-\u4E2D\u6587"}},{path:"/niim/activity/chenyin-cool-summer/tw",name:"chenyin-cool-summer-tw",component:()=>X(()=>import("./tw.9540c711.js"),["assets/tw.9540c711.js","assets/tw.1fe412ac.css","assets/nativeTransfer.74672f69.js","assets/api.fcf0a091.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u6E05\u51C9\u4E00\u590F\u56FE\u6807\u4E0A\u65B0-\u7E41\u4F53"}},{path:"/niim/activity/chenyin-cool-summer/en",name:"chenyin-cool-summer-en",component:()=>X(()=>import("./en.0b1b583a.js"),["assets/en.0b1b583a.js","assets/en.0f2c0176.css","assets/nativeTransfer.74672f69.js","assets/api.fcf0a091.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u6E05\u51C9\u4E00\u590F\u56FE\u6807\u4E0A\u65B0-\u82F1\u8BED"}},{path:"/niim/activity/chenyin-cool-summer/ko",name:"chenyin-cool-summer-ko",component:()=>X(()=>import("./ko.8a4cac28.js"),["assets/ko.8a4cac28.js","assets/ko.93600f94.css","assets/nativeTransfer.74672f69.js","assets/api.fcf0a091.js","assets/useNetworkStatus.45aa9905.js"]),meta:{title:"\u81E3\u5C0F\u5370\u6E05\u51C9\u4E00\u590F\u56FE\u6807\u4E0A\u65B0-\u97E9\u8BED"}},{path:"/niim/activity/chenyin-new-materials/gardening",name:"chenyin-new-materials-gardening",component:()=>X(()=>import("./gardening.6a32af30.js"),["assets/gardening.6a32af30.js","assets/gardening.1415f78c.css","assets/cloneDeep.08cb83cb.js","assets/nativeTransfer.74672f69.js","assets/api.dff92e85.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u56ED\u827A\u690D\u7269\u56FE\u6807\u4E0A\u65B0"}},{path:"/niim/activity/chenyin-deadline-reminder",name:"chenyin-deadline-reminder",component:()=>X(()=>import("./index.be8151c5.js"),["assets/index.be8151c5.js","assets/index.a9ee5af4.css","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u4E34\u671F\u63D0\u9192"}},{path:"/niim/activity/chenyin-new-materials/amusingEmo",name:"chenyin-new-materials-amusingEmo",component:()=>X(()=>import("./amusingEmo.a2954f8e.js"),["assets/amusingEmo.a2954f8e.js","assets/amusingEmo.3cb1b297.css","assets/cloneDeep.08cb83cb.js","assets/nativeTransfer.74672f69.js","assets/api.dff92e85.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u8868\u60C5\u5305\u56FE\u6807\u4E0A\u65B0"}},{path:"/niim/activity/chenyin-new-materials/midAutumn",name:"chenyin-new-materials-midAutumn",component:()=>X(()=>import("./midAutumn.dc79608f.js"),["assets/midAutumn.dc79608f.js","assets/midAutumn.5bf4b5c4.css","assets/cloneDeep.08cb83cb.js","assets/nativeTransfer.74672f69.js","assets/api.dff92e85.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u4E2D\u79CB\u8282\u56FE\u6807\u4E0A\u65B0"}},{path:"/niim/activity/chenyin-new-materials/americanAnimals",name:"chenyin-new-materials-americanAnimals",component:()=>X(()=>import("./americanAnimals.1bad071c.js"),["assets/americanAnimals.1bad071c.js","assets/americanAnimals.d0761917.css","assets/cloneDeep.08cb83cb.js","assets/nativeTransfer.74672f69.js","assets/api.dff92e85.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u7F8E\u5F0F\u52A8\u7269\u56FE\u6807\u4E0A\u65B0"}},{path:"/niim/activity/chenyin-new-materials/overseasFood",name:"chenyin-new-materials-overseasFood",component:()=>X(()=>import("./overseasFood.5536d019.js"),["assets/overseasFood.5536d019.js","assets/overseasFood.0ac45ad1.css","assets/cloneDeep.08cb83cb.js","assets/nativeTransfer.74672f69.js","assets/api.dff92e85.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u6D77\u5916\u98DF\u7269\u8089\u86CB\u5976\u56FE\u6807\u4E0A\u65B0"}},{path:"/niim/activity/chenyin-new-materials/hotSearchFontList",name:"chenyin-new-materials-hotSearchFontList",component:()=>X(()=>import("./hotSearchFontList.16165ece.js"),["assets/hotSearchFontList.16165ece.js","assets/hotSearchFontList.309979ed.css","assets/cloneDeep.08cb83cb.js","assets/nativeTransfer.74672f69.js","assets/api.dff92e85.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u5B57\u4F53\u70ED\u641C\u699C"}},{path:"/niim/activity/chenyin-school-opens",name:"chenyin-school-opens",component:()=>X(()=>import("./prize.c5a8fbc3.js"),["assets/prize.c5a8fbc3.js","assets/prize.477f14ca.css","assets/citys.7fb0d52e.js","assets/nativeTransfer.74672f69.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u5F00\u5B66\u5B63\u5927\u4FC3"}},{path:"/niim/activity/chenyin-school-opens/rule-zh-cn",name:"chenyin-school-opens-rule",component:()=>X(()=>import("./rule.8de88099.js"),["assets/rule.8de88099.js","assets/ruleEn.58bad67d.css"]),meta:{title:"\u81E3\u5C0F\u5370\u5F00\u5B66\u5B63\u5927\u4FC3"}},{path:"/niim/activity/chenyin-school-opens/rule-zh-cn-t",name:"chenyin-school-opens-rule-tw",component:()=>X(()=>import("./ruleTw.2a9f73fb.js"),["assets/ruleTw.2a9f73fb.js","assets/ruleEn.58bad67d.css"]),meta:{title:"\u81E3\u5C0F\u5370\u5F00\u5B66\u5B63\u5927\u4FC3"}},{path:"/niim/activity/chenyin-school-opens/rule-en",name:"chenyin-school-opens-rule-en",component:()=>X(()=>import("./ruleEn.590af495.js"),["assets/ruleEn.590af495.js","assets/ruleEn.58bad67d.css"]),meta:{title:"\u81E3\u5C0F\u5370\u5F00\u5B66\u5B63\u5927\u4FC3"}},{path:"/niim/activity/chenyin-double11",name:"chenyin-double11",component:()=>X(()=>import("./double11.fa4d7fe9.js"),["assets/double11.fa4d7fe9.js","assets/double11.3a394aee.css","assets/citys.7fb0d52e.js","assets/nativeTransfer.74672f69.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u81E3\u5C0F\u5370\u53CC11\u5927\u4FC3"}},{path:"/activity/print-vip-sales",name:"print-vip-sales",component:()=>X(()=>import("./index.37841a4a.js"),["assets/index.37841a4a.js","assets/index.c1e5ff20.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3"}},{path:"/activity/print-vip-sales/rule-zh-cn",name:"print-vip-sales-rule-cn",component:()=>X(()=>import("./rule.bac99204.js"),["assets/rule.bac99204.js","assets/ruleEn.31fd93f2.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u7B80\u4E2D"}},{path:"/activity/print-vip-sales/rule-zh-cn-t",name:"print-vip-sales-rule-tw",component:()=>X(()=>import("./ruleTw.2ced4d15.js"),["assets/ruleTw.2ced4d15.js","assets/ruleEn.31fd93f2.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u7E41\u4E2D"}},{path:"/activity/print-vip-sales/rule-en",name:"print-vip-sales-rule-en",component:()=>X(()=>import("./ruleEn.296d26f0.js"),["assets/ruleEn.296d26f0.js","assets/ruleEn.31fd93f2.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u82F1\u8BED"}},{path:"/activity/print-vip-sales/rule-ms",name:"print-vip-sales-rule-ms",component:()=>X(()=>import("./ruleEn.296d26f0.js"),["assets/ruleEn.296d26f0.js","assets/ruleEn.31fd93f2.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u9A6C\u6765\u8BED"}},{path:"/activity/print-vip-sales/rule-ar",name:"print-vip-sales-rule-ar",component:()=>X(()=>import("./ruleEn.296d26f0.js"),["assets/ruleEn.296d26f0.js","assets/ruleEn.31fd93f2.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u963F\u62C9\u4F2F\u8BED"}},{path:"/activity/print-vip-sales/rule-ko",name:"print-vip-sales-rule-ko",component:()=>X(()=>import("./ruleKo.99c2dc3a.js"),["assets/ruleKo.99c2dc3a.js","assets/ruleEn.31fd93f2.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u97E9\u8BED"}},{path:"/activity/print-vip-sales/rule-ru",name:"print-vip-sales-rule-ru",component:()=>X(()=>import("./ruleRu.9b4aeee0.js"),["assets/ruleRu.9b4aeee0.js","assets/rulePt.590d27b9.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u4FC4\u8BED"}},{path:"/activity/print-vip-sales/rule-de",name:"print-vip-sales-rule-de",component:()=>X(()=>import("./ruleDe.d433e916.js"),["assets/ruleDe.d433e916.js","assets/ruleEn.31fd93f2.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u5FB7\u8BED"}},{path:"/activity/print-vip-sales/rule-pt",name:"print-vip-sales-rule-pt",component:()=>X(()=>import("./rulePt.bceda6ce.js"),["assets/rulePt.bceda6ce.js","assets/rulePt.590d27b9.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u8461\u8404\u7259\u8BED"}},{path:"/activity/print-vip-sales/rule-th",name:"print-vip-sales-rule-th",component:()=>X(()=>import("./ruleTh.14fc41f1.js"),["assets/ruleTh.14fc41f1.js","assets/rulePt.590d27b9.css"]),meta:{title:"\u4E91\u6253\u5370\u5E74\u4E2D\u5927\u4FC3-\u6D3B\u52A8\u89C4\u5219-\u6CF0\u8BED"}},{path:"/activity/print-font-promotion",name:"print-font-promotion",component:()=>X(()=>import("./index.9d507735.js"),["assets/index.9d507735.js","assets/index.bf3e9a5c.css","assets/cloneDeep.08cb83cb.js","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js"]),meta:{title:"\u4E91\u6253\u53708\u6708\u5B57\u4F53\u63A8\u5E7F"}},{path:"/activity/print-vip-exclusive-coupon",name:"print-vip-exclusive-coupon",component:()=>X(()=>import("./index.3c247cdb.js"),["assets/index.3c247cdb.js","assets/index.f0285fae.css","assets/nativeTransfer.74672f69.js"]),meta:{title:"2410\u4E91\u6253\u5370VIP\u4E13\u4EAB\u5238"}},{path:"/activity/print-school-opens",name:"print-school-opens",component:()=>X(()=>import("./index.0bbb1e11.js"),["assets/index.0bbb1e11.js","assets/index.b3537f9f.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js","assets/tools.3eb638f4.js"]),meta:{title:"\u5F00\u5B66\u9001\u597D\u793C-\u4F1A\u5458\u4EAB'7\u6298'"}},{path:"/activity/print-double11",name:"print-double11",component:()=>X(()=>import("./index.40314340.js"),["assets/index.40314340.js","assets/index.5951ecb1.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js","assets/tools.3eb638f4.js"]),meta:{title:"2024\u53CC\u5341\u4E00"}},{path:"/activity/print-black-friday",name:"print-black-friday",component:()=>X(()=>import("./index.da253ea6.js"),["assets/index.da253ea6.js","assets/index.b744926f.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js","assets/tools.3eb638f4.js"]),meta:{title:"2024\u9ED1\u4E94"}},{path:"/activity/print-black-friday/rule-en",name:"print-black-friday-rule-en",component:()=>X(()=>import("./ruleEn.dc611816.js"),["assets/ruleEn.dc611816.js","assets/rulePt.590d27b9.css"]),meta:{title:"2024\u9ED1\u4E94-\u6D3B\u52A8\u89C4\u5219-\u82F1\u8BED"}},{path:"/activity/print-black-friday/rule-de",name:"print-black-friday-rule-de",component:()=>X(()=>import("./ruleDe.4d41db1e.js"),["assets/ruleDe.4d41db1e.js","assets/rulePt.590d27b9.css"]),meta:{title:"2024\u9ED1\u4E94-\u6D3B\u52A8\u89C4\u5219-\u5FB7\u8BED"}},{path:"/activity/print-black-friday/rule-fr",name:"print-black-friday-rule-fr",component:()=>X(()=>import("./ruleFr.11ad6d3f.js"),["assets/ruleFr.11ad6d3f.js","assets/rulePt.590d27b9.css"]),meta:{title:"2024\u9ED1\u4E94-\u6D3B\u52A8\u89C4\u5219-\u6CD5\u8BED"}},{path:"/activity/print-black-friday/rule-ru",name:"print-black-friday-rule-ru",component:()=>X(()=>import("./ruleRu.c87b55bb.js"),["assets/ruleRu.c87b55bb.js","assets/rulePt.590d27b9.css"]),meta:{title:"2024\u9ED1\u4E94-\u6D3B\u52A8\u89C4\u5219-\u4FC4\u8BED"}},{path:"/activity/print-black-friday/rule-es",name:"print-black-friday-rule-es",component:()=>X(()=>import("./ruleEs.1dd6d1f2.js"),["assets/ruleEs.1dd6d1f2.js","assets/rulePt.590d27b9.css"]),meta:{title:"2024\u9ED1\u4E94-\u6D3B\u52A8\u89C4\u5219-\u897F\u73ED\u7259\u8BED"}},{path:"/activity/print-black-friday/rule-pt",name:"print-black-friday-rule-pt",component:()=>X(()=>import("./rulePt.c642bfc3.js"),["assets/rulePt.c642bfc3.js","assets/rulePt.590d27b9.css"]),meta:{title:"2024\u9ED1\u4E94-\u6D3B\u52A8\u89C4\u5219-\u8461\u8404\u7259\u8BED"}},{path:"/activity/print-shoot-and-print-anytime",name:"print-shoot-and-print-anytime",component:()=>X(()=>import("./index.08de1c5d.js"),["assets/index.08de1c5d.js","assets/index.cbb80e30.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js","assets/tools.3eb638f4.js"]),meta:{title:"\u968F\u62CD\u968F\u6253"}},{path:"/newConsumableCharacteristicH5/:id",name:"NewConsumableCharacteristic",meta:{title:"\u6807\u7B7E\u7EB8\u6027\u80FD\u8BF4\u660E"},component:()=>X(()=>import("./index.b1c441c9.js"),["assets/index.b1c441c9.js","assets/index.f5c89bbd.css","assets/lottie.c5f62328.js","assets/api.9bfeb050.js"])},{path:"/oauth",name:"oauthCallback",component:()=>X(()=>import("./index.e806f49d.js"),["assets/index.e806f49d.js","assets/index.3e25ac10.css"])},{path:"/niimbotScan",name:"scanCallback",component:()=>X(()=>import("./index.d6ed552d.js"),["assets/index.d6ed552d.js","assets/index.959e67b8.css"])},{path:"/pay",name:"pay",component:()=>X(()=>import("./index.ba33c462.js"),["assets/index.ba33c462.js","assets/index.59bcbf38.css","assets/useTranslationPackage.bf7f612d.js","assets/useTitle.5a3d30d9.js"])},{path:"/nps",name:"nps",component:()=>X(()=>import("./Nps.279423c0.js"),["assets/Nps.279423c0.js","assets/Nps.e63b7f2f.css","assets/common.constants.a152c797.js","assets/common.constants.57149edb.css","assets/debounce.a1df5de3.js","assets/useNetworkStatus.45aa9905.js"])},{path:"/niim/nps",name:"niimNps",component:()=>X(()=>import("./NiimNps.7a198467.js"),["assets/NiimNps.7a198467.js","assets/NiimNps.13aadce9.css","assets/common.constants.a152c797.js","assets/common.constants.57149edb.css","assets/debounce.a1df5de3.js","assets/useNetworkStatus.45aa9905.js"])},{path:"/theme",name:"themeSolutions",component:()=>X(()=>import("./index.071df777.js"),["assets/index.071df777.js","assets/index.eb2b1db0.css","assets/tools.5f1db295.js","assets/nativeTransfer.74672f69.js"])},{path:"/niim/label-library",name:"labelLibrary",component:()=>X(()=>import("./index.58978e41.js"),["assets/index.58978e41.js","assets/index.ff6457ab.css","assets/nativeTransfer.74672f69.js","assets/tools.5f1db295.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js"])},{path:"/activity/niimbot/theme",name:"niimbot-theme",component:()=>X(()=>import("./index.a24ec0d1.js"),["assets/index.a24ec0d1.js","assets/index.ef7ddece.css","assets/nativeTransfer.74672f69.js","assets/tools.3eb638f4.js","assets/useTranslationPackage.bf7f612d.js"])},{path:"/invoice/niimbot",name:"niimbot-invoice",redirect:"/invoice/niimbot/index",component:()=>X(()=>import("./HeaderNavRouterView.f92bf2bb.js"),["assets/HeaderNavRouterView.f92bf2bb.js","assets/HeaderNavRouterView.a464a1b3.css"]),children:[{path:"index",name:"niimbot-invoice-index",component:()=>X(()=>import("./index.e7d9d44a.js"),["assets/index.e7d9d44a.js","assets/index.bdc05b5f.css"]),meta:{transition:!0,hasCustomNavbar:!0,headerRightComponent:oB,title:"\u5F00\u53D1\u7968",onBack:()=>{ao("goBack","")}}},{path:"records",name:"niimbot-invoice-records",component:LB,meta:{transition:!0,hasCustomNavbar:!0,title:"\u5F00\u7968\u8BB0\u5F55"}},{path:"edit",name:"niimbot-invoice-edit",component:sN,meta:{transition:!0,hasCustomNavbar:!0,title:"\u53D1\u7968\u4FE1\u606F"}},{path:"status",name:"niimbot-invoice-status",component:UB,meta:{transition:!0,hasCustomNavbar:!0,title:"\u53D1\u7968\u72B6\u6001"}},{path:"includes",name:"niimbot-invoice-includes",component:gN,meta:{transition:!0,hasCustomNavbar:!0,title:"\u5305\u542B\u8BA2\u5355"}}]},{path:"/activity/staticPage",name:"static-page",component:()=>X(()=>import("./index.cd9b8444.js"),["assets/index.cd9b8444.js","assets/index.94e3b48e.css"])},{path:"/exchange-cdkey",name:"exchange-cdkey",component:()=>X(()=>import("./index.1184cde2.js"),["assets/index.1184cde2.js","assets/index.73384db1.css","assets/apollo-client.aba8bd1b.js","assets/useTranslationPackage.bf7f612d.js","assets/useTitle.5a3d30d9.js"])},{path:"/coupons/niimbot",name:"coupons/niimbot",component:()=>X(()=>import("./index.4f0f8d78.js"),["assets/index.4f0f8d78.js","assets/index.0ce86eac.css"])},{path:"/app-permanently-free-of-charge",name:"app-permanently-free-of-charge",component:()=>X(()=>import("./AppPermanentlyFreeOfCharge.5380d505.js"),["assets/AppPermanentlyFreeOfCharge.5380d505.js","assets/AppPermanentlyFreeOfCharge.2a326df7.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js"])},{path:"/vip-value-added-services",name:"vip-value-added-services",component:()=>X(()=>import("./VIPValueAddedServices.11e5dd6d.js"),["assets/VIPValueAddedServices.11e5dd6d.js","assets/VIPValueAddedServices.8a40ef97.css","assets/nativeTransfer.74672f69.js","assets/useTranslationPackage.bf7f612d.js"])},{path:"/niimbot/help-center",name:"niimbot-help-center",component:_N,redirect:"/niimbot/help-center/index",children:[{path:"index",name:"niimbot-help-center-index",component:()=>X(()=>import("./index.4df93617.js"),["assets/index.4df93617.js","assets/index.0a23827c.css","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/useTranslationPackage.bf7f612d.js","assets/useNetworkStatus.45aa9905.js","assets/helpCenter.api.06157ed2.js","assets/trace.84515421.js","assets/QuestionList.48b2a754.js","assets/api.dto.fab689bb.js","assets/SceneCaseList.5cdc47e7.js","assets/SceneCaseList.b40f1fd9.css","assets/build.17bae374.js","assets/CustomNavBar.41140b7f.js"])},{path:"pdf-preview",name:"niimbot-help-center-pdf-preview",component:()=>X(()=>import("./PdfView.81a2a97d.js"),["assets/PdfView.81a2a97d.js","assets/PdfView.18381d88.css","assets/useTranslationPackage.bf7f612d.js","assets/CustomNavBar.41140b7f.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/useNetworkStatus.45aa9905.js","assets/helpCenter.api.06157ed2.js","assets/EmptyResult.f5324f9b.js","assets/index.80f28079.js","assets/index.db66d5eb.css","assets/lottie.c5f62328.js"])},{path:"video",name:"niimbot-help-center-video",component:()=>X(()=>import("./HelpCenterVideo.7df391ee.js"),["assets/HelpCenterVideo.7df391ee.js","assets/HelpCenterVideo.90a4b679.css","assets/useTranslationPackage.bf7f612d.js","assets/CustomNavBar.41140b7f.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/useNetworkStatus.45aa9905.js","assets/helpCenter.api.06157ed2.js","assets/index.80f28079.js","assets/index.db66d5eb.css","assets/lottie.c5f62328.js"])},{path:"troubleshooting",name:"niimbot-help-center-troubleshooting",component:()=>X(()=>import("./Troubleshooting.811d72c6.js"),["assets/Troubleshooting.811d72c6.js","assets/QuestionList.48b2a754.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/helpCenter.api.06157ed2.js","assets/api.dto.fab689bb.js","assets/CustomNavBar.41140b7f.js","assets/NetworkError.234b8167.js","assets/EmptyResult.f5324f9b.js","assets/build.17bae374.js"])},{path:"hot-question",name:"niimbot-help-center-hot-question",component:()=>X(()=>import("./HotQuestion.2da1e2f6.js"),["assets/HotQuestion.2da1e2f6.js","assets/QuestionList.48b2a754.js","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/helpCenter.api.06157ed2.js","assets/api.dto.fab689bb.js","assets/CustomNavBar.41140b7f.js","assets/NetworkError.234b8167.js","assets/EmptyResult.f5324f9b.js"])},{path:"scene-case",name:"niimbot-help-center-scene-case",component:()=>X(()=>import("./SceneCase.0e4b5d91.js"),["assets/SceneCase.0e4b5d91.js","assets/SceneCaseList.5cdc47e7.js","assets/SceneCaseList.b40f1fd9.css","assets/useNetworkStatus.45aa9905.js","assets/useTranslationPackage.bf7f612d.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/helpCenter.api.06157ed2.js","assets/trace.84515421.js","assets/CustomNavBar.41140b7f.js","assets/NetworkError.234b8167.js","assets/EmptyResult.f5324f9b.js"])},{path:"scene-case-detail",name:"niimbot-help-center-scene-case-detail",component:()=>X(()=>import("./SceneCaseDetail.c533a4a6.js"),["assets/SceneCaseDetail.c533a4a6.js","assets/SceneCaseDetail.69c1486d.css","assets/CustomNavBar.41140b7f.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/useTranslationPackage.bf7f612d.js","assets/useNetworkStatus.45aa9905.js","assets/helpCenter.api.06157ed2.js","assets/index.80f28079.js","assets/index.db66d5eb.css","assets/lottie.c5f62328.js"])},{path:"document-detail",name:"niimbot-help-center-document-detail",component:()=>X(()=>import("./DocumentDetail.4bc1ec01.js"),["assets/DocumentDetail.4bc1ec01.js","assets/DocumentDetail.878b35cd.css","assets/CustomNavBar.41140b7f.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/useTranslationPackage.bf7f612d.js","assets/useNetworkStatus.45aa9905.js","assets/helpCenter.api.06157ed2.js","assets/QuestionList.48b2a754.js","assets/api.dto.fab689bb.js"])},{path:"troubleshooting-detail",name:"niimbot-help-center-troubleshooting-detail",component:()=>X(()=>import("./TroubleshootingDetail.753e032a.js"),["assets/TroubleshootingDetail.753e032a.js","assets/TroubleshootingDetail.e05e0cef.css","assets/helpCenter.api.06157ed2.js","assets/CustomNavBar.41140b7f.js","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/useTranslationPackage.bf7f612d.js","assets/useNetworkStatus.45aa9905.js","assets/api.dto.fab689bb.js"])},{path:"function-classify",name:"niimbot-help-center-function-classify",component:()=>X(()=>import("./FunctionClassify.5900384d.js"),["assets/FunctionClassify.5900384d.js","assets/FunctionClassify.9aec23c9.css","assets/SharePopup.392d4558.js","assets/clipboard.e703440f.js","assets/apollo-client.aba8bd1b.js","assets/useTranslationPackage.bf7f612d.js","assets/useNetworkStatus.45aa9905.js","assets/helpCenter.api.06157ed2.js","assets/QuestionList.48b2a754.js","assets/api.dto.fab689bb.js","assets/build.17bae374.js","assets/trace.84515421.js","assets/NetworkError.234b8167.js","assets/EmptyResult.f5324f9b.js"])},{path:"search",name:"niimbot-help-center-search",component:()=>X(()=>import("./HelpCenterSearch.bfbcd9fb.js"),["assets/HelpCenterSearch.bfbcd9fb.js","assets/HelpCenterSearch.55c3fb97.css","assets/helpCenter.api.06157ed2.js","assets/useTranslationPackage.bf7f612d.js","assets/NetworkError.234b8167.js","assets/EmptyResult.f5324f9b.js","assets/index.80f28079.js","assets/index.db66d5eb.css","assets/lottie.c5f62328.js","assets/trace.84515421.js"])}]},{path:"/niimbot/app-download",name:"niimbot-app-download",component:()=>X(()=>import("./index.9663e793.js"),[])},{path:"/:pathMatch(.*)*",redirect:"/"}],scrollBehavior(){return{top:0}}});Zv.beforeEach(({query:e,meta:t,fullPath:n,name:r},i,o)=>{if(e.redirect&&r==="niimbot-help-center-index"){const s=e,{redirect:a}=s,u=po(s,["redirect"]);o({name:`niimbot-help-center-${a}`,query:Zn(Jn({},u),{backToApp:"1"})});return}if(n.includes("niimbot/app-download/#/")){o(n.replace("/#/",""));return}if(n.includes("#/")){const a=yN(n);o(a);return}document.title=t.title||"",document.documentElement.lang=TT(),o()});function yN(e){if(e.includes("/#/&"))return e.replace("/#/&","&");if(e.includes("/#/?"))return e.replace("/#/?","?");const[t,n]=e.includes("#")?e.split("#"):["",""];if(!n||n[0]!=="/")return e;const[r,i]=n.includes("?")?n.split("?"):[n,""];let o="";t.includes("?")&&(o=t.split("?")[1]),i&&(o+=(o?"&":"")+i);let s=r;return o&&(s+=`?${o}`),s}var EN={exports:{}};(function(e,t){(function(n,r){e.exports=r(pl.exports)})(tn,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=r(n),o={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(s,a){return a==="W"?s+"\u5468":s+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(s,a){var u=100*s+a;return u<600?"\u51CC\u6668":u<900?"\u65E9\u4E0A":u<1100?"\u4E0A\u5348":u<1300?"\u4E2D\u5348":u<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return i.default.locale(o,null,!0),o})})(EN);function ls(e){return ls=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ls(e)}function qo(e,t){if(!e.vueAxiosInstalled){var n=Qv(t)?CN(t):t;if(AN(n)){var r=SN(e);if(r){var i=r<3?bN:wN;Object.keys(n).forEach(function(o){i(e,o,n[o])}),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either <axios_instance> or { <registration_key>: <axios_instance> }")}}function bN(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function wN(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function Qv(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function CN(e){return{axios:e,$http:e}}function AN(e){return ls(e)==="object"&&Object.keys(e).every(function(t){return Qv(e[t])})}function SN(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof exports=="undefined"?"undefined":ls(exports))=="object"?module.exports=qo:typeof define=="function"&&define.amd?define([],function(){return qo}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(qo,window.axios);var em={},tm={},it={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(it);var St={exports:{}};(function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(St);var ia={exports:{}},nm={exports:{}};(function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(nm);(function(e){var t=nm.exports;function n(r,i){r.prototype=Object.create(i.prototype),r.prototype.constructor=r,t(r,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ia);var ht={},Bl={},uo={};uo.__esModule=!0;uo.EventType=void 0;uo.EventType=function(e){return e.collect="collect",e}({});var Nl={exports:{}},kr=typeof Reflect=="object"?Reflect:null,Vd=kr&&typeof kr.apply=="function"?kr.apply:function(t,n,r){return Function.prototype.apply.call(t,n,r)},Wo;kr&&typeof kr.ownKeys=="function"?Wo=kr.ownKeys:Object.getOwnPropertySymbols?Wo=function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Wo=function(t){return Object.getOwnPropertyNames(t)};function $N(e){console&&console.warn&&console.warn(e)}var rm=Number.isNaN||function(t){return t!==t};function Le(){Le.init.call(this)}Nl.exports=Le;Nl.exports.once=IN;Le.EventEmitter=Le;Le.prototype._events=void 0;Le.prototype._eventsCount=0;Le.prototype._maxListeners=void 0;var jd=10;function oa(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(Le,"defaultMaxListeners",{enumerable:!0,get:function(){return jd},set:function(e){if(typeof e!="number"||e<0||rm(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");jd=e}});Le.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};Le.prototype.setMaxListeners=function(t){if(typeof t!="number"||t<0||rm(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this};function im(e){return e._maxListeners===void 0?Le.defaultMaxListeners:e._maxListeners}Le.prototype.getMaxListeners=function(){return im(this)};Le.prototype.emit=function(t){for(var n=[],r=1;r<arguments.length;r++)n.push(arguments[r]);var i=t==="error",o=this._events;if(o!==void 0)i=i&&o.error===void 0;else if(!i)return!1;if(i){var s;if(n.length>0&&(s=n[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=o[t];if(u===void 0)return!1;if(typeof u=="function")Vd(u,this,n);else for(var c=u.length,l=lm(u,c),r=0;r<c;++r)Vd(l[r],this,n);return!0};function om(e,t,n,r){var i,o,s;if(oa(n),o=e._events,o===void 0?(o=e._events=Object.create(null),e._eventsCount=0):(o.newListener!==void 0&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),s===void 0)s=o[t]=n,++e._eventsCount;else if(typeof s=="function"?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=im(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,$N(a)}return e}Le.prototype.addListener=function(t,n){return om(this,t,n,!1)};Le.prototype.on=Le.prototype.addListener;Le.prototype.prependListener=function(t,n){return om(this,t,n,!0)};function TN(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function sm(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=TN.bind(r);return i.listener=n,r.wrapFn=i,i}Le.prototype.once=function(t,n){return oa(n),this.on(t,sm(this,t,n)),this};Le.prototype.prependOnceListener=function(t,n){return oa(n),this.prependListener(t,sm(this,t,n)),this};Le.prototype.removeListener=function(t,n){var r,i,o,s,a;if(oa(n),i=this._events,i===void 0)return this;if(r=i[t],r===void 0)return this;if(r===n||r.listener===n)--this._eventsCount===0?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,r.listener||n));else if(typeof r!="function"){for(o=-1,s=r.length-1;s>=0;s--)if(r[s]===n||r[s].listener===n){a=r[s].listener,o=s;break}if(o<0)return this;o===0?r.shift():xN(r,o),r.length===1&&(i[t]=r[0]),i.removeListener!==void 0&&this.emit("removeListener",t,a||n)}return this};Le.prototype.off=Le.prototype.removeListener;Le.prototype.removeAllListeners=function(t){var n,r,i;if(r=this._events,r===void 0)return this;if(r.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):r[t]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete r[t]),this;if(arguments.length===0){var o=Object.keys(r),s;for(i=0;i<o.length;++i)s=o[i],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(n=r[t],typeof n=="function")this.removeListener(t,n);else if(n!==void 0)for(i=n.length-1;i>=0;i--)this.removeListener(t,n[i]);return this};function am(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?ON(i):lm(i,i.length)}Le.prototype.listeners=function(t){return am(this,t,!0)};Le.prototype.rawListeners=function(t){return am(this,t,!1)};Le.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):um.call(e,t)};Le.prototype.listenerCount=um;function um(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n=="function")return 1;if(n!==void 0)return n.length}return 0}Le.prototype.eventNames=function(){return this._eventsCount>0?Wo(this._events):[]};function lm(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function xN(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function ON(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function IN(e,t){return new Promise(function(n,r){function i(s){e.removeListener(t,o),r(s)}function o(){typeof e.removeListener=="function"&&e.removeListener("error",i),n([].slice.call(arguments))}cm(e,t,o,{once:!0}),t!=="error"&&RN(e,i,{once:!0})})}function RN(e,t,n){typeof e.on=="function"&&cm(e,"error",t,n)}function cm(e,t,n,r){if(typeof e.on=="function")r.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener=="function")e.addEventListener(t,function i(o){r.once&&e.removeEventListener(t,i),n(o)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var kl={};(function(e){e.__esModule=!0,e.default=void 0;var t=function(){function n(i,o){this.config=i,this.rumEvent=void 0,this.views=[],this.session=void 0,o&&(this.session=o,this.session.init(i))}var r=n.prototype;return r.getConfig=function(){return this.config},r.setConfig=function(o){this.config=o},r.getViews=function(){return this.views},r.addView=function(o){this.views.push(o)},r.removeView=function(o){this.views=this.views.filter(function(s){return s.id!==o})},r.getRumEvent=function(){return this.rumEvent},r.setRumEvent=function(o){this.rumEvent=o},n}();e.default=t})(kl);var De={};De.__esModule=!0;De.isString=De.isRegExp=De.isObject=De.isNumber=De.isNull=De.isFunction=De.isBoolean=De.isArray=void 0;De.isToString=Ml;De.isTypeof=pr;De.isUndefined=void 0;function pr(e,t){return typeof e===t}De.isFunction=function(t){return typeof t=="function"};De.isUndefined=function(t){return pr(t,"undefined")};De.isString=function(t){return pr(t,"string")};function Ml(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}De.isArray=function(t){return Ml(t,"Array")};De.isRegExp=function(t){return Ml(t,"RegExp")};De.isBoolean=function(t){return pr(t,"boolean")};De.isNumber=function(t){return pr(t,"number")&&!isNaN(t)||pr(t,"bigint")};var PN=De.isNull=function(t){return t===null};De.isObject=function(t){return!PN(t)&&pr(t,"object")};(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=uo,r=Nl.exports,i=t(kl),o=De;function s(l,f){var d=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(d)return(d=d.call(l)).next.bind(d);if(Array.isArray(l)||(d=a(l))||f&&l&&typeof l.length=="number"){d&&(l=d);var h=0;return function(){return h>=l.length?{done:!0}:{done:!1,value:l[h++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(l,f){if(!!l){if(typeof l=="string")return u(l,f);var d=Object.prototype.toString.call(l).slice(8,-1);if(d==="Object"&&l.constructor&&(d=l.constructor.name),d==="Map"||d==="Set")return Array.from(l);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return u(l,f)}}function u(l,f){(f==null||f>l.length)&&(f=l.length);for(var d=0,h=new Array(f);d<f;d++)h[d]=l[d];return h}var c=function(){function l(){var d=this;this.emitter=new r.EventEmitter,this.collectors=void 0,this.processors=void 0,this.reporter=void 0,this.ctx=void 0,this.sendEvent=function(h){d.emitter.emit(n.EventType.collect,h)}}var f=l.prototype;return f.init=function(h,p){var g=this;this.ctx=new i.default(h,p);var m=this.ctx,y=this.collectors,_=this.processors,v=this.reporter;_.forEach(function(E){(0,o.isFunction)(E.setup)&&E.setup(m)}),this.emitter.on(n.EventType.collect,function(E){m.setRumEvent(E);for(var T=s(_),I;!(I=T()).done;){var L=I.value;if(L.match||(L.match=function(){return!0}),L.match(m)){var G=L.process(m);G&&m.setRumEvent(G)}}v.report(m)}),y.forEach(function(E){E.setup(m,g.sendEvent)})},f.setContext=function(h){this.ctx=h},f.getContext=function(){return this.ctx},f.useCollectors=function(h){this.collectors=h},f.useProcessors=function(h){this.processors=h},f.useReporter=function(h){this.reporter=h},l}();e.default=c})(Bl);var fm={},rn={};rn.__esModule=!0;rn.RumEventType=rn.ResourceStatus=rn.AppType=void 0;rn.RumEventType=function(e){return e.VIEW="view",e.RESOURCE="resource",e.EXCEPTION="exception",e.LONG_TASK="longtask",e.ACTION="action",e.CUSTOM="custom",e}({});rn.ResourceStatus=function(e){return e[e.Unknown=-1]="Unknown",e[e.Failed=0]="Failed",e[e.Success=1]="Success",e}({});rn.AppType=function(e){return e.browser="browser",e.miniapp="miniapp",e.uniapp="uniapp",e}({});var sa={};sa.__esModule=!0;sa.getErrorID=void 0;sa.getErrorID=function(t){var n=t.message,r=n===void 0?"":n,i=t.stack,o=i===void 0?"":i;return r+o};(function(e){e.__esModule=!0,e.default=void 0;var t=rn,n=sa,r=De,i=3e3,o=20;e.default=function(){function s(){this.name="reporter",this.eventQueue=[],this.ctx=void 0,this.timer=void 0}var a=s.prototype;return a.getReportCfg=function(){var c=this.ctx.getConfig().reportConfig;return(0,r.isObject)(c)||(c={}),(!c.flushTime||c.flushTime<0||c.flushTime>1e4)&&(c.flushTime=i),(!c.maxEventCount||c.maxEventCount<1||c.maxEventCount>100)&&(c.maxEventCount=o),c},a.report=function(c){var l=this;this.ctx=c,this.init(c),clearTimeout(this.timer),this.pushToQueue();var f=this.getReportCfg();this.eventQueue.length>=f.maxEventCount?this.flushEventQueue():this.timer=setTimeout(function(){l.flushEventQueue()},f.flushTime)},a.pushToQueue=function(){var c=this.ctx,l=this.eventQueue,f=c.getRumEvent();if(f.event_type===t.RumEventType.EXCEPTION){var d=f,h=d.message,p=d.stack,g=(0,n.getErrorID)({message:h,stack:p}),m=this.eventQueue.find(function(E){if(E.event_type===t.RumEventType.EXCEPTION){var T=E,I=T.message,L=T.stack;return(0,n.getErrorID)({message:I,stack:L})===g}});if(m){m.times++;return}}if(f.event_type===t.RumEventType.ACTION){var y=f,_=y.target_name,v=this.eventQueue.find(function(E){if(E.event_type===t.RumEventType.ACTION)return _===E.target_name});if(v){v.times++;return}}l.push(f)},a.flushEventQueue=function(){var c=this.ctx,l=this.eventQueue;if(!!l.length){var f=c.getViews(),d=f[f.length-1];f.forEach(function(g){if(g.id===d.id){var m=l.filter(function(y){var _;return((_=y.view)===null||_===void 0?void 0:_.id)===g.id});m.forEach(function(y){delete y.view})}});var h=c.session,p=h?h.getSampled():!0;p&&this.request(c,l,d),this.eventQueue=[]}},a.init=function(c){},s}()})(fm);var dm={};(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=rn,i=t(Bl),o=De;e.default=function(){function s(u){this.client=void 0,this.client=new i.default,u&&this.init&&this.init(u)}var a=s.prototype;return a.sendEvent=function(c){this.client&&this.client.sendEvent(c)},a.getConfig=function(){if(this.client)return this.client.getContext().getConfig()},a.sendCustom=function(c){if(!(!c.name||!c.type)){var l=(0,n.default)({},c,{event_type:r.RumEventType.CUSTOM});this.sendEvent(l)}},a.sendException=function(c){if(!(!c.name||!c.message)){var l=(0,n.default)({times:1},c,{event_type:r.RumEventType.EXCEPTION,type:"custom",source:"custom"});this.sendEvent(l)}},a.sendResource=function(c){if(!(!c.name||!c.type||!(0,o.isNumber)(c.duration))){var l=(0,n.default)({times:1},c,{event_type:r.RumEventType.RESOURCE});this.sendEvent(l)}},s}()})(dm);var hm={};hm.__esModule=!0;var pm={};pm.__esModule=!0;var vm={};vm.__esModule=!0;var mm={};mm.__esModule=!0;var $n={};$n.__esModule=!0;$n.debounce=BN;$n.delay=NN;$n.generateEventId=FN;$n.generateGUID=_m;$n.generateSpanId=ym;$n.generateTraceId=LN;$n.interceptFunction=DN;var gm=De;function DN(e,t,n){var r=e[t];try{Object.defineProperty(e,t,{configurable:!0,writable:!0})}catch(i){}try{e[t]=function(){for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];if(n.apply(this,o),r)return r.apply(this,o)}}catch(i){}}function _m(){var e="";try{if(crypto&&crypto.randomUUID)e=crypto.randomUUID();else if(crypto&&crypto.getRandomValues){var t=new Uint8Array(16);crypto.getRandomValues(t),t[6]=t[6]&15|64,t[8]=t[8]&63|128,e=t.reduce(function(n,r){return n+r.toString(16).padStart(2,"0")},"").replace(/^(.{8})(.{4})(.{4})(.{4})(.{12})$/,"$1-$2-$3-$4-$5")}}catch(n){}return e||(e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){var r=Math.random()*16|0,i=n=="x"?r:r&3|8;return i.toString(16)})),e}function LN(){var e=_m().replace(/-/g,"");return e[0]==="0"&&(e="1"+e.substring(1)),e[16]==="0"&&(e=e.substring(0,16)+"1"+e.substring(17)),e}function ym(e,t){e===void 0&&(e=16),t===void 0&&(t=16);for(var n="",r=0;r<e;r++)n+=Math.floor(Math.random()*t).toString(t);return n}function FN(e){var t=ym();return"00-"+e+"-"+t}function BN(e,t){var n;if(!!(0,gm.isFunction)(e))return function(){var r=this,i=arguments;n&&clearTimeout(n),n=setTimeout(function(){e.apply(r,i)},t)}}function NN(e,t){if(!!(0,gm.isFunction)(e)){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,[e,+t||0].concat(r))}}var yr={};yr.__esModule=!0;yr.assign=jN;yr.endsWith=VN;yr.find=kN;yr.startsWith=MN;function kN(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n))return r}}function MN(e,t){return e.slice(0,t.length)===t}function VN(e,t){return e.slice(-t.length)===t}function jN(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}),e}var kt={};kt.__esModule=!0;kt.ONE_SECOND=kt.ONE_MINUTE=kt.ONE_HOUR=kt.ONE_DAY=void 0;kt.formatNumber=qN;kt.performDraw=GN;var UN=kt.ONE_SECOND=1e3,HN=kt.ONE_MINUTE=60*UN,zN=kt.ONE_HOUR=60*HN;kt.ONE_DAY=24*zN;function GN(e){return e!==0&&Math.random()*100<=e}function qN(e,t,n){if(t===void 0&&(t=3),n===void 0&&(n=0),!e)return e;var r=e.toString(),i=r.indexOf(".");i!==-1?r=r.substring(0,t+i+1):r=r.substring(0);var o=parseFloat(r);return o>=n?o:void 0}var oi={};oi.__esModule=!0;oi.isMatchOption=KN;oi.matchList=Em;oi.urlMatch=YN;var Ha=De,WN=yr;function KN(e){return(0,Ha.isString)(e)||(0,Ha.isFunction)(e)||(0,Ha.isRegExp)(e)}function Em(e,t,n){return n===void 0&&(n=!0),e.some(function(r){try{if(typeof r=="function")return r(t);if(r instanceof RegExp)return r.test(t);if(typeof r=="string")return n?(0,WN.startsWith)(t,r):r===t}catch(i){}return!1})}function YN(e,t){t===void 0&&(t=[]);try{var n=[/https?:\/\/.*rum|retcode\.aliyuncs\.com/,/https?:\/\/.*log-global\.aliyuncs\.com/,/https?:\/\/.*\.mmstat\.com/].concat(t);return Em(n,e)}catch(r){return!1}}var lo={},bm={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(typeof self!="undefined"?self:typeof window!="undefined"?window:tn,function(){var n="3.7.7",r=n,i=typeof Buffer=="function",o=typeof TextDecoder=="function"?new TextDecoder:void 0,s=typeof TextEncoder=="function"?new TextEncoder:void 0,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u=Array.prototype.slice.call(a),c=function(b){var w={};return b.forEach(function(B,K){return w[B]=K}),w}(u),l=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,f=String.fromCharCode.bind(String),d=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(b){return new Uint8Array(Array.prototype.slice.call(b,0))},h=function(b){return b.replace(/=/g,"").replace(/[+\/]/g,function(w){return w=="+"?"-":"_"})},p=function(b){return b.replace(/[^A-Za-z0-9\+\/]/g,"")},g=function(b){for(var w,B,K,ne,ae="",ue=b.length%3,fe=0;fe<b.length;){if((B=b.charCodeAt(fe++))>255||(K=b.charCodeAt(fe++))>255||(ne=b.charCodeAt(fe++))>255)throw new TypeError("invalid character found");w=B<<16|K<<8|ne,ae+=u[w>>18&63]+u[w>>12&63]+u[w>>6&63]+u[w&63]}return ue?ae.slice(0,ue-3)+"===".substring(ue):ae},m=typeof btoa=="function"?function(b){return btoa(b)}:i?function(b){return Buffer.from(b,"binary").toString("base64")}:g,y=i?function(b){return Buffer.from(b).toString("base64")}:function(b){for(var w=4096,B=[],K=0,ne=b.length;K<ne;K+=w)B.push(f.apply(null,b.subarray(K,K+w)));return m(B.join(""))},_=function(b,w){return w===void 0&&(w=!1),w?h(y(b)):y(b)},v=function(b){if(b.length<2){var w=b.charCodeAt(0);return w<128?b:w<2048?f(192|w>>>6)+f(128|w&63):f(224|w>>>12&15)+f(128|w>>>6&63)+f(128|w&63)}else{var w=65536+(b.charCodeAt(0)-55296)*1024+(b.charCodeAt(1)-56320);return f(240|w>>>18&7)+f(128|w>>>12&63)+f(128|w>>>6&63)+f(128|w&63)}},E=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,T=function(b){return b.replace(E,v)},I=i?function(b){return Buffer.from(b,"utf8").toString("base64")}:s?function(b){return y(s.encode(b))}:function(b){return m(T(b))},L=function(b,w){return w===void 0&&(w=!1),w?h(I(b)):I(b)},G=function(b){return L(b,!0)},M=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,W=function(b){switch(b.length){case 4:var w=(7&b.charCodeAt(0))<<18|(63&b.charCodeAt(1))<<12|(63&b.charCodeAt(2))<<6|63&b.charCodeAt(3),B=w-65536;return f((B>>>10)+55296)+f((B&1023)+56320);case 3:return f((15&b.charCodeAt(0))<<12|(63&b.charCodeAt(1))<<6|63&b.charCodeAt(2));default:return f((31&b.charCodeAt(0))<<6|63&b.charCodeAt(1))}},ee=function(b){return b.replace(M,W)},q=function(b){if(b=b.replace(/\s+/g,""),!l.test(b))throw new TypeError("malformed base64.");b+="==".slice(2-(b.length&3));for(var w,B="",K,ne,ae=0;ae<b.length;)w=c[b.charAt(ae++)]<<18|c[b.charAt(ae++)]<<12|(K=c[b.charAt(ae++)])<<6|(ne=c[b.charAt(ae++)]),B+=K===64?f(w>>16&255):ne===64?f(w>>16&255,w>>8&255):f(w>>16&255,w>>8&255,w&255);return B},H=typeof atob=="function"?function(b){return atob(p(b))}:i?function(b){return Buffer.from(b,"base64").toString("binary")}:q,F=i?function(b){return d(Buffer.from(b,"base64"))}:function(b){return d(H(b).split("").map(function(w){return w.charCodeAt(0)}))},P=function(b){return F(C(b))},A=i?function(b){return Buffer.from(b,"base64").toString("utf8")}:o?function(b){return o.decode(F(b))}:function(b){return ee(H(b))},C=function(b){return p(b.replace(/[-_]/g,function(w){return w=="-"?"+":"/"}))},O=function(b){return A(C(b))},S=function(b){if(typeof b!="string")return!1;var w=b.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(w)||!/[^\s0-9a-zA-Z\-_]/.test(w)},R=function(b){return{value:b,enumerable:!1,writable:!0,configurable:!0}},k=function(){var b=function(w,B){return Object.defineProperty(String.prototype,w,R(B))};b("fromBase64",function(){return O(this)}),b("toBase64",function(w){return L(this,w)}),b("toBase64URI",function(){return L(this,!0)}),b("toBase64URL",function(){return L(this,!0)}),b("toUint8Array",function(){return P(this)})},N=function(){var b=function(w,B){return Object.defineProperty(Uint8Array.prototype,w,R(B))};b("toBase64",function(w){return _(this,w)}),b("toBase64URI",function(){return _(this,!0)}),b("toBase64URL",function(){return _(this,!0)})},ie=function(){k(),N()},Y={version:n,VERSION:r,atob:H,atobPolyfill:q,btoa:m,btoaPolyfill:g,fromBase64:O,toBase64:L,encode:L,encodeURI:G,encodeURL:G,utob:T,btou:ee,decode:O,isValid:S,fromUint8Array:_,toUint8Array:P,extendString:k,extendUint8Array:N,extendBuiltins:ie};return Y.Base64={},Object.keys(Y).forEach(function(b){return Y.Base64[b]=Y[b]}),Y})})(bm);lo.__esModule=!0;lo.isTraceOption=Cm;lo.makeTracingHeaders=XN;lo.parseTracingOptions=JN;var wm=oi,Si=De,Ir=bm.exports;function Cm(e){return e&&(0,wm.isMatchOption)(e.match)&&(0,Si.isArray)(e.propagatorTypes)}function XN(e,t,n,r,i){i===void 0&&(i={});var o={},s=n?"1":"0";return r.includes("sw8")&&(r=["sw8"]),r.forEach(function(a){switch(a){case"jaeger":o["uber-trace-id"]=e+":"+t+":0:"+s;break;case"b3":o.b3=e+"-"+t+"-"+s;break;case"b3multi":o["X-B3-TraceId"]=e,o["X-B3-SpanId"]=t,o["X-B3-Sampled"]=s;break;case"sw8":var u=String((0,Ir.encode)(e)),c=String((0,Ir.encode)(t)),l=String((0,Ir.encode)(i.appId)),f=String((0,Ir.encode)(i.appVersion)),d=String((0,Ir.encode)(i.viewName)),h=String((0,Ir.encode)(i.host));o.sw8=s+"-"+u+"-"+c+"-"+0+"-"+l+"-"+f+"-"+d+"-"+h;break;case"tracecontext":default:o.traceparent="00-"+e+"-"+t+"-0"+s,i.tracestate&&(o.tracestate=i.tracestate);break}}),i.baggage&&(o.baggage=i.baggage),o}function JN(e){var t=["tracecontext"];if((0,Si.isBoolean)(e)||!e)return{enable:!!e,sample:100,propagatorTypes:t,allowedUrls:[],tracestate:!0,baggage:!1};var n=e.enable,r=n===void 0?!0:n,i=e.sample,o=i===void 0?100:i,s=e.propagatorTypes,a=s===void 0?t:s,u=e.allowedUrls,c=u===void 0?[]:u,l=e.tracestate,f=l===void 0?!0:l,d=e.baggage,h=d===void 0?!1:d,p=[];return(0,Si.isArray)(c)&&c.length&&c.forEach(function(g){(0,wm.isMatchOption)(g)?p.push({match:g,propagatorTypes:a}):Cm(g)&&p.push(g)}),{enable:(0,Si.isBoolean)(r)?r:!0,sample:(0,Si.isNumber)(o)?o:100,propagatorTypes:a,allowedUrls:p,tracestate:f,baggage:h}}(function(e){var t=it.exports;e.__esModule=!0;var n={Client:!0,Context:!0,Reporter:!0,Shell:!0},r=t(Bl);e.Client=r.default;var i=t(kl);e.Context=i.default;var o=t(fm);e.Reporter=o.default;var s=t(dm);e.Shell=s.default;var a=uo;Object.keys(a).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===a[v]||(e[v]=a[v])});var u=hm;Object.keys(u).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===u[v]||(e[v]=u[v])});var c=pm;Object.keys(c).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===c[v]||(e[v]=c[v])});var l=vm;Object.keys(l).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===l[v]||(e[v]=l[v])});var f=rn;Object.keys(f).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===f[v]||(e[v]=f[v])});var d=mm;Object.keys(d).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===d[v]||(e[v]=d[v])});var h=$n;Object.keys(h).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===h[v]||(e[v]=h[v])});var p=yr;Object.keys(p).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===p[v]||(e[v]=p[v])});var g=De;Object.keys(g).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===g[v]||(e[v]=g[v])});var m=kt;Object.keys(m).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===m[v]||(e[v]=m[v])});var y=oi;Object.keys(y).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===y[v]||(e[v]=y[v])});var _=lo;Object.keys(_).forEach(function(v){v==="default"||v==="__esModule"||Object.prototype.hasOwnProperty.call(n,v)||v in e&&e[v]===_[v]||(e[v]=_[v])})})(ht);var Am={},Er={},$t={};(function(e){e.__esModule=!0,e.location=e.history=e.global=e.document=e.VERSION=void 0,e.global=window,e.document=window.document,e.location=window.location,e.history=window.history,e.VERSION="0.0.27-beta.9"})($t);(function(e){e.__esModule=!0,e.fixRelativeUrl=s,e.getCurrentURL=r,e.getPathByURL=o,e.getResourceName=a;var t=ht,n=$t;function r(){return n.location?n.location.href:""}function i(u){if(!(0,t.isString)(u)||!u)return"";var c=u.indexOf("#");c===0&&(u=u.substring(1));var l=u.indexOf("?");return 0<=l&&(u=u.substring(0,l)),u}function o(u,c){c===void 0&&(c=!1);try{var l=new URL(s(u));if(c==="auto"||c===!0){var f=i(l.hash||"");return l.pathname+(f?"#":"")+f}return c==="hash"?i(l.hash||""):l.pathname||"/"}catch(d){return u}}function s(u,c,l){if(c===void 0&&(c=n.location.protocol),l===void 0&&(l=n.location.host),!(0,t.isString)(u)||!u)throw new Error("Invalid URL provided");var f=/^https?:\/\//i.test(u);if(f)return u;var d=/^\/\//i.test(u);if(d)return""+c+u;var h=/^\//.test(u);return c+"//"+l+(h?"":"/")+u}function a(u,c){var l;return l=(0,t.isFunction)(c)?c(u):o(u),l}})(Er);(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=ht,i=Er,o=$t,s=o.history&&!!o.history.pushState&&!!o.history.replaceState;e.default=function(){function a(){var c=this;this.name="pv-collector",this.ctx=void 0,this.sendEvent=void 0,this.prevUrl=void 0,this.sendPv=function(l,f,d){d===void 0&&(d="route_change");var h=c.getViewName(l),p=c.prevUrl;if(c.prevUrl=l,!(p&&h===c.getViewName(p))){c.ctx.addView({id:c.ctx.session.getViewId(),name:h});var g=c.ctx.session.getBaseEvent();c.sendEvent((0,n.default)({},g,{event_type:r.RumEventType.VIEW,type:"pv",name:h,url:l,referrer:f,loading_type:d}))}},this.historyFn=function(){var l=2<arguments.length?2>=arguments.length?void 0:arguments[2]:void 0;if(l){var f=o.location.origin+l,d=c.prevUrl;c.sendPv(f,d)}},this.popstateFn=function(){var l=(0,i.getCurrentURL)(),f=c.prevUrl;c.sendPv(l,f)}}var u=a.prototype;return u.setup=function(l,f){this.ctx=l,this.sendEvent=f,this.sendPv((0,i.getCurrentURL)(),o.document.referrer||"","initial_load");var d=this.getSpaMode();s&&d&&((0,r.interceptFunction)(o.global.history,"pushState",this.historyFn),(0,r.interceptFunction)(o.global.history,"replaceState",this.historyFn),o.global.addEventListener("popstate",this.popstateFn))},u.getSpaMode=function(){var l=this.ctx.getConfig().spaMode;return!!l&&(l!=="history"&&l!=="hash"?"auto":l)},u.getViewName=function(l){var f=this.ctx.getConfig(),d=(0,i.getPathByURL)(l,this.getSpaMode());return(0,r.isFunction)(f.parseViewName)&&(d=f.parseViewName(l)),d},u.destroy=function(){s&&o.global.removeEventListener("popstate",this.popstateFn)},a}()})(Am);var Sm={};(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=ht,i=$t;e.default=function(){function o(){this.name="exception-collector",this.ctx=void 0,this.sendEvent=void 0}var s=o.prototype;return s.setup=function(u,c){var l=u.getConfig().collectors||{};this.ctx=u,this.sendEvent=c;var f=this;l.consoleError!==!1&&(0,r.interceptFunction)(i.global.console,"error",function(){for(var d=arguments.length,h=Array(d),p=0;p<d;p++)h[p]=arguments[p];(h||[]).forEach(function(g){return f.onError("console.error",g)})}),l.jsError!==!1&&(i.global.addEventListener("error",this.onError.bind(this,"onError"),!0),i.global.addEventListener("unhandledrejection",this.onError.bind(this,"onUnhandledRejection"),!0))},s.onError=function(u,c){if((0,r.isObject)(c)){var l=c.target||c.srcElement;if(!(l&&l.nodeName&&l.nodeType===1)){var f,d,h,p;if(c instanceof PromiseRejectionEvent?f=c.reason:c instanceof ErrorEvent?(f=c.error,d=c.colno,h=c.lineno,p=c.filename):f=c,!!(0,r.isObject)(f)){var g=f,m=g.name,y=g.message,_=g.stack;if(m&&y&&!this.errorFilter(f)){var v=this.ctx.session.getBaseEvent();this.sendEvent((0,n.default)({},v,{event_type:r.RumEventType.EXCEPTION,type:"error",source:u,name:m,message:y,stack:_,file:p,line:h,column:d}))}}}}},s.errorFilter=function(u){var c,l=this.ctx.getConfig().filters||{},f=l.exception;if(!f)c=[];else if((0,r.isMatchOption)(f))c=[f];else if((0,r.isArray)(f))c=f;else return!1;c&&!(0,r.isArray)(c)&&(c=[c]);var d=[].concat(c,[/^Script error\.?$/,/failed[\w\s]+fetch/i]);return(0,r.matchList)(d,u.message,!0)},o}()})(Sm);var $m={},Tm={exports:{}},xm={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(xm);(function(e){var t=xm.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,s=Object.defineProperty||function(P,A,C){P[A]=C.value},a=typeof Symbol=="function"?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(P,A,C){return Object.defineProperty(P,A,{value:C,enumerable:!0,configurable:!0,writable:!0}),P[A]}try{f({},"")}catch(P){f=function(C,O,S){return C[O]=S}}function d(P,A,C,O){var S=A&&A.prototype instanceof g?A:g,R=Object.create(S.prototype),k=new q(O||[]);return s(R,"_invoke",{value:G(P,C,k)}),R}function h(P,A,C){try{return{type:"normal",arg:P.call(A,C)}}catch(O){return{type:"throw",arg:O}}}r.wrap=d;var p={};function g(){}function m(){}function y(){}var _={};f(_,u,function(){return this});var v=Object.getPrototypeOf,E=v&&v(v(H([])));E&&E!==i&&o.call(E,u)&&(_=E);var T=y.prototype=g.prototype=Object.create(_);function I(P){["next","throw","return"].forEach(function(A){f(P,A,function(C){return this._invoke(A,C)})})}function L(P,A){function C(S,R,k,N){var ie=h(P[S],P,R);if(ie.type!=="throw"){var Y=ie.arg,b=Y.value;return b&&t(b)=="object"&&o.call(b,"__await")?A.resolve(b.__await).then(function(w){C("next",w,k,N)},function(w){C("throw",w,k,N)}):A.resolve(b).then(function(w){Y.value=w,k(Y)},function(w){return C("throw",w,k,N)})}N(ie.arg)}var O;s(this,"_invoke",{value:function(R,k){function N(){return new A(function(ie,Y){C(R,k,ie,Y)})}return O=O?O.then(N,N):N()}})}function G(P,A,C){var O="suspendedStart";return function(S,R){if(O==="executing")throw new Error("Generator is already running");if(O==="completed"){if(S==="throw")throw R;return F()}for(C.method=S,C.arg=R;;){var k=C.delegate;if(k){var N=M(k,C);if(N){if(N===p)continue;return N}}if(C.method==="next")C.sent=C._sent=C.arg;else if(C.method==="throw"){if(O==="suspendedStart")throw O="completed",C.arg;C.dispatchException(C.arg)}else C.method==="return"&&C.abrupt("return",C.arg);O="executing";var ie=h(P,A,C);if(ie.type==="normal"){if(O=C.done?"completed":"suspendedYield",ie.arg===p)continue;return{value:ie.arg,done:C.done}}ie.type==="throw"&&(O="completed",C.method="throw",C.arg=ie.arg)}}}function M(P,A){var C=A.method,O=P.iterator[C];if(O===void 0)return A.delegate=null,C==="throw"&&P.iterator.return&&(A.method="return",A.arg=void 0,M(P,A),A.method==="throw")||C!=="return"&&(A.method="throw",A.arg=new TypeError("The iterator does not provide a '"+C+"' method")),p;var S=h(O,P.iterator,A.arg);if(S.type==="throw")return A.method="throw",A.arg=S.arg,A.delegate=null,p;var R=S.arg;return R?R.done?(A[P.resultName]=R.value,A.next=P.nextLoc,A.method!=="return"&&(A.method="next",A.arg=void 0),A.delegate=null,p):R:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,p)}function W(P){var A={tryLoc:P[0]};1 in P&&(A.catchLoc=P[1]),2 in P&&(A.finallyLoc=P[2],A.afterLoc=P[3]),this.tryEntries.push(A)}function ee(P){var A=P.completion||{};A.type="normal",delete A.arg,P.completion=A}function q(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(W,this),this.reset(!0)}function H(P){if(P){var A=P[u];if(A)return A.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var C=-1,O=function S(){for(;++C<P.length;)if(o.call(P,C))return S.value=P[C],S.done=!1,S;return S.value=void 0,S.done=!0,S};return O.next=O}}return{next:F}}function F(){return{value:void 0,done:!0}}return m.prototype=y,s(T,"constructor",{value:y,configurable:!0}),s(y,"constructor",{value:m,configurable:!0}),m.displayName=f(y,l,"GeneratorFunction"),r.isGeneratorFunction=function(P){var A=typeof P=="function"&&P.constructor;return!!A&&(A===m||(A.displayName||A.name)==="GeneratorFunction")},r.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,y):(P.__proto__=y,f(P,l,"GeneratorFunction")),P.prototype=Object.create(T),P},r.awrap=function(P){return{__await:P}},I(L.prototype),f(L.prototype,c,function(){return this}),r.AsyncIterator=L,r.async=function(P,A,C,O,S){S===void 0&&(S=Promise);var R=new L(d(P,A,C,O),S);return r.isGeneratorFunction(A)?R:R.next().then(function(k){return k.done?k.value:R.next()})},I(T),f(T,l,"Generator"),f(T,u,function(){return this}),f(T,"toString",function(){return"[object Generator]"}),r.keys=function(P){var A=Object(P),C=[];for(var O in A)C.push(O);return C.reverse(),function S(){for(;C.length;){var R=C.pop();if(R in A)return S.value=R,S.done=!1,S}return S.done=!0,S}},r.values=H,q.prototype={constructor:q,reset:function(A){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(ee),!A)for(var C in this)C.charAt(0)==="t"&&o.call(this,C)&&!isNaN(+C.slice(1))&&(this[C]=void 0)},stop:function(){this.done=!0;var A=this.tryEntries[0].completion;if(A.type==="throw")throw A.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var C=this;function O(Y,b){return k.type="throw",k.arg=A,C.next=Y,b&&(C.method="next",C.arg=void 0),!!b}for(var S=this.tryEntries.length-1;S>=0;--S){var R=this.tryEntries[S],k=R.completion;if(R.tryLoc==="root")return O("end");if(R.tryLoc<=this.prev){var N=o.call(R,"catchLoc"),ie=o.call(R,"finallyLoc");if(N&&ie){if(this.prev<R.catchLoc)return O(R.catchLoc,!0);if(this.prev<R.finallyLoc)return O(R.finallyLoc)}else if(N){if(this.prev<R.catchLoc)return O(R.catchLoc,!0)}else{if(!ie)throw new Error("try statement without catch or finally");if(this.prev<R.finallyLoc)return O(R.finallyLoc)}}}},abrupt:function(A,C){for(var O=this.tryEntries.length-1;O>=0;--O){var S=this.tryEntries[O];if(S.tryLoc<=this.prev&&o.call(S,"finallyLoc")&&this.prev<S.finallyLoc){var R=S;break}}R&&(A==="break"||A==="continue")&&R.tryLoc<=C&&C<=R.finallyLoc&&(R=null);var k=R?R.completion:{};return k.type=A,k.arg=C,R?(this.method="next",this.next=R.finallyLoc,p):this.complete(k)},complete:function(A,C){if(A.type==="throw")throw A.arg;return A.type==="break"||A.type==="continue"?this.next=A.arg:A.type==="return"?(this.rval=this.arg=A.arg,this.method="return",this.next="end"):A.type==="normal"&&C&&(this.next=C),p},finish:function(A){for(var C=this.tryEntries.length-1;C>=0;--C){var O=this.tryEntries[C];if(O.finallyLoc===A)return this.complete(O.completion,O.afterLoc),ee(O),p}},catch:function(A){for(var C=this.tryEntries.length-1;C>=0;--C){var O=this.tryEntries[C];if(O.tryLoc===A){var S=O.completion;if(S.type==="throw"){var R=S.arg;ee(O)}return R}}throw new Error("illegal catch attempt")},delegateYield:function(A,C,O){return this.delegate={iterator:H(A),resultName:C,nextLoc:O},this.method==="next"&&(this.arg=void 0),p}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Tm);var Ko=Tm.exports(),aa=Ko;try{regeneratorRuntime=Ko}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=Ko:Function("r","regeneratorRuntime = r")(Ko)}var co={exports:{}};(function(e){function t(r,i,o,s,a,u,c){try{var l=r[u](c),f=l.value}catch(d){o(d);return}l.done?i(f):Promise.resolve(f).then(s,a)}function n(r){return function(){var i=this,o=arguments;return new Promise(function(s,a){var u=r.apply(i,o);function c(f){t(u,s,a,c,l,"next",f)}function l(f){t(u,s,a,c,l,"throw",f)}c(void 0)})}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(co);var Om={},Im={exports:{}};(function(e){function t(n,r){if(n==null)return{};var i={},o=Object.keys(n),s,a;for(a=0;a<o.length;a++)s=o[a],!(r.indexOf(s)>=0)&&(i[s]=n[s]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Im);var Rm={},Pm={},Vl={};(function(e){e.__esModule=!0,e.getTrueArea=e.getElementsBySelectors=void 0,e.getElementsBySelectors=function(t,n){n===void 0&&(n=document);var r=[];return t.forEach(function(i){var o=Array.from(n.querySelectorAll(i));o&&r.push.apply(r,o)}),r},e.getTrueArea=function(t){var n=t.getBoundingClientRect(),r=n.left,i=n.top,o=n.right,s=n.bottom,a=window.innerHeight||document.documentElement.clientHeight,u=window.innerWidth||document.documentElement.clientWidth,c=Math.max(0,r),l=Math.max(0,i),f=Math.min(u,o),d=Math.min(a,s);return{left:c,top:l,right:f,bottom:d,width:f-c,height:d-l}}})(Vl);(function(e){var t=it.exports;e.__esModule=!0,e.html2canvas=void 0;var n=t(ia.exports),r=Vl,i=function(){function A(C){this.top=void 0,this.left=void 0,this.width=void 0,this.height=void 0;var O=C.getBoundingClientRect(),S=O.top,R=O.left,k=O.width,N=O.height;this.top=S,this.left=R,this.width=k,this.height=N}return A.getPoints=function(O){var S=O.top,R=O.left,k=O.width,N=O.height;return[[R,S],[R+k,S],[R+k,S+N],[R,S+N]]},A}(),o=function(){function A(C){this.container=void 0,this.nonInlineLevel=void 0,this.inlineLevel=void 0,this.negativeZIndex=void 0,this.positiveZIndex=void 0,this.zeroOrAutoZIndexOrTransformedOrOpacity=void 0,this.container=C,this.negativeZIndex=[],this.nonInlineLevel=[],this.inlineLevel=[],this.positiveZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[]}return A.stackingSortCompare=function(O,S){return+O.container.styles.zIndex-+S.container.styles.zIndex},A}(),s=function(){function A(O,S){this.bounds=void 0,this.text=void 0,this.parent=void 0,this.bounds=this.getTrueBounds(S),this.text=O,this.parent=S}var C=A.prototype;return C.getTrueBounds=function(S){var R=S.bounds,k=R.top,N=R.left,ie=R.width,Y=R.height,b=S.styles,w=b.paddingLeft,B=b.paddingTop,K=b.borderWidth,ne=b.fontSize;return k+=parseInt(B)+parseInt(K)+parseInt(ne),N+=parseInt(w)+parseInt(K),{top:k,left:N,width:ie,height:Y}},A}(),a=function(A){this.styles=void 0,this.bounds=void 0,this.elements=void 0,this.textNodes=void 0,this.stackingFlag=void 0,this.element=void 0,this.styles=window.getComputedStyle(A),this.bounds=new i(A),this.elements=[],this.textNodes=[],this.stackingFlag=!1,this.element=A},u=function(A){function C(O){var S;return S=A.call(this,O)||this,S.intrinsicWidth=void 0,S.intrinsicHeight=void 0,S.intrinsicWidth=O.width,S.intrinsicHeight=O.height,S}return(0,n.default)(C,A),C}(a),c=function(A){function C(O){var S;return S=A.call(this,O)||this,S.type=void 0,S.value=void 0,S.type=O.type.toLowerCase(),S.value=O.type==="password"?Array(O.value.length+1).join("\u2022"):O.value||O.placeholder,S}return(0,n.default)(C,A),C}(a),l=function(A){function C(O){var S;S=A.call(this,O)||this,S.value=void 0;var R=O.options[O.selectedIndex||0];return S.value=R&&R.text||"",S}return(0,n.default)(C,A),C}(a),f=function(A){function C(O){var S;return S=A.call(this,O)||this,S.intrinsicWidth=void 0,S.intrinsicHeight=void 0,S.intrinsicWidth=O.width,S.intrinsicHeight=O.height,S}return(0,n.default)(C,A),C}(a),d=function(A){function C(O){var S;return S=A.call(this,O)||this,S.intrinsicWidth=void 0,S.intrinsicHeight=void 0,S.intrinsicWidth=O.offsetWidth,S.intrinsicHeight=O.offsetHeight,S}return(0,n.default)(C,A),C}(a),h=function(A){function C(O){var S;return S=A.call(this,O)||this,S.intrinsicWidth=void 0,S.intrinsicHeight=void 0,S.intrinsicWidth=O.width.baseVal.value,S.intrinsicHeight=O.height.baseVal.value,S}return(0,n.default)(C,A),C}(a),p=function(A){function C(O){var S;S=A.call(this,O)||this,S.intrinsicWidth=void 0,S.intrinsicHeight=void 0;var R=new i(O),k=R.width,N=R.height;return S.intrinsicWidth=k,S.intrinsicHeight=N,S}return(0,n.default)(C,A),C}(a),g=function(){function A(O){this.canvas=void 0,this.ctx2d=void 0,this.options=void 0,this.canvas=document.createElement("canvas"),this.ctx2d=this.canvas.getContext("2d"),this.options=O}var C=A.prototype;return C.renderStack=function(S){var R=this,k=S.negativeZIndex,N=k===void 0?[]:k,ie=S.nonInlineLevel,Y=ie===void 0?[]:ie,b=S.inlineLevel,w=b===void 0?[]:b,B=S.positiveZIndex,K=B===void 0?[]:B,ne=S.zeroOrAutoZIndexOrTransformedOrOpacity,ae=ne===void 0?[]:ne;N.sort(o.stackingSortCompare),K.sort(o.stackingSortCompare),this.ctx2d.save(),this.setOpacity(S.container),this.renderNodeBackgroundAndBorders(S.container),N.map(function(ue){return R.renderStack(ue)}),this.renderNodeContent(S.container),Y.map(function(ue){return R.renderNode(ue)}),w.map(function(ue){return R.renderNode(ue)}),ae.map(function(ue){return R.renderStack(ue)}),K.map(function(ue){return R.renderStack(ue)}),this.ctx2d.restore()},C.renderNode=function(S){this.renderNodeBackgroundAndBorders(S),this.renderNodeContent(S)},C.setOpacity=function(S){var R=S.styles,k=this.ctx2d,N=+R.opacity;1>N&&(k.globalAlpha=N)},C.renderNodeBackgroundAndBorders=function(S){var R=S.bounds,k=S.styles,N=k.backgroundColor,ie=k.backgroundImage,Y=parseInt(k.borderWidth),b=i.getPoints(R);if(ie!=="none"){var w=this.options.fillColor;this.drawFillRect(b,w)}else N.slice(5,-1).split(", ")[3]!=="0"&&this.drawFillRect(b,N);if(Y){var B=k.borderColor;this.drawBorderRect(b,Y,B)}},C.renderNodeContent=function(S){var R=this;(S.element.tagName==="I"||S instanceof u||S instanceof p||S instanceof f||S instanceof d||S instanceof h)&&this.renderReplacedElement(S),S instanceof l&&this.renderText(new s(S.value,S),S.styles),S instanceof c&&this.renderInput(S),S.textNodes.length&&S.textNodes.map(function(k){return R.renderText(k,S.styles)})},C.renderText=function(S,R){var k=this.ctx2d;k.save(),k.font=R.fontWeight+" "+R.fontSize+" "+R.fontFamily,k.fillStyle=R.color,k.fillText(S.text,S.bounds.left,S.bounds.top),k.restore()},C.renderInput=function(S){var R=S.value,k=S.styles,N=new s(R,S);this.renderText(N,k)},C.renderReplacedElement=function(S){if(0<S.intrinsicWidth&&0<S.intrinsicHeight||S.element.tagName==="I"){var R=S.bounds,k=S.styles,N=this.options.fillColor,ie=parseInt(k.borderWidth),Y=i.getPoints(R);this.drawFillRect(Y,N),ie&&this.drawBorderRect(Y,ie,N)}},C.render=function(S){var R=this.canvas,k=this.ctx2d,N=(0,r.getTrueArea)(S),ie=N.width,Y=N.height,b=N.left,w=N.top;R.width=ie,R.height=Y,R.style.width=ie+"px",R.style.height=Y+"px",k.scale(1,1),k.fillStyle="#fff",k.translate(-b,-w),k.fillRect(b,w,ie,Y);var B=_(S,this.options),K=T(B);return this.renderStack(K),this.canvas},C.drawPathByPoints=function(S){var R=this;S.map(function(k,N){N===0?R.ctx2d.moveTo(k[0],k[1]):R.ctx2d.lineTo(k[0],k[1])})},C.drawFillRect=function(S,R){var k=this.ctx2d;k.save(),k.beginPath(),this.drawPathByPoints(S),k.closePath(),k.fillStyle=R,k.fill(),k.restore()},C.drawBorderRect=function(S,R,k){var N=this.ctx2d,ie=this.getBorderPoints(S,R);N.save(),N.beginPath(),this.drawPathByPoints(ie),N.closePath(),N.lineWidth=R,N.strokeStyle=k,N.stroke(),N.restore()},C.getBorderPoints=function(S,R){var k=S[0],N=S[1],ie=S[2],Y=S[3];return[[k[0]+R/2,k[1]+R/2],[N[0]-R/2,N[1]+R/2],[ie[0]-R/2,ie[1]-R/2],[Y[0]+R/2,Y[1]-R/2]]},A}(),m=function(A){try{var C=A.getBoundingClientRect(),O=window.innerHeight||document.documentElement.clientHeight,S=window.innerWidth||document.documentElement.clientWidth,R=0>C.bottom||0>C.right||C.left>=S||C.top>=O;return R}catch(k){}};e.html2canvas=function(A,C){return C===void 0&&(C={}),y(A,C)};var y=function(A,C){if(!A||typeof A!="object")return"Invalid element provided as first argument";var O={fillColor:C.fillColor,ignoreElements:C.ignoreElements},S=new g(O),R=S.render(A);return R},_=function(A,C){var O=E(A),S=(0,r.getElementsBySelectors)(C.ignoreElements);return v(A,O,S),O},v=function(A,C,O){Array.from(A.childNodes).map(function(S){if(!O.includes(S))if(L(S)){if(0<S.textContent.trim().length){var w=new s(S.textContent,C);C.textNodes.push(w)}}else{if(G(S)||m(S))return;var R=E(S),k=R.styles,N=k.position,ie=k.transform,Y=+k.zIndex,b=+k.opacity;(N!=="static"&&!isNaN(Y)||1>b||ie!=="none")&&(R.stackingFlag=!0),C.elements.push(R),S.shadowRoot?v(S.shadowRoot,R,O):S.tagName!=="TEXTAREA"&&S.tagName!=="svg"&&S.tagName!=="SELECT"&&v(S,R,O)}})},E=function(A){return M(A)?new u(A):ee(A)?new f(A):W(A)?new d(A):q(A)?new h(A):H(A)?new l(A):F(A)?new c(A):P(A)?new p(A):new a(A)},T=function(A){var C=new o(A);return I(A,C),C},I=function(A,C){A.elements.map(function(O){if(O.stackingFlag){var S=new o(O),R=O.styles.position,k=+O.styles.zIndex;R!=="static"&&0<k?C.positiveZIndex.push(S):R!=="static"&&0>k?C.negativeZIndex.push(S):C.zeroOrAutoZIndexOrTransformedOrOpacity.push(S),I(O,S)}else 0<=O.styles.display.indexOf("inline")?C.inlineLevel.push(O):C.nonInlineLevel.push(O),I(O,C)})},L=function(A){return A.nodeType===3},G=function(A){return A.nodeType===8},M=function(A){return A.tagName==="IMG"},W=function(A){return A.tagName==="VIDEO"},ee=function(A){return A.tagName==="CANVAS"},q=function(A){return A.tagName==="svg"},H=function(A){return A.tagName==="SELECT"},F=function(A){return A.tagName==="INPUT"},P=function(A){return A.tagName==="IFRAME"}})(Pm);(function(e){var t=it.exports;e.__esModule=!0,e.performScreenshotCheck=void 0;var n=t(aa),r=t(St.exports),i=t(co.exports),o=Pm,s=$t;e.performScreenshotCheck=function(){var u=(0,i.default)(n.default.mark(function c(l,f){var d,h,p,g,m,y,_,v,E,T,I,L,G,M,W,ee,q,H,F,P,A,C,O,S,R,k,N,ie,Y,b,w;return n.default.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(f===void 0&&(f={}),B.prev=1,d=window.innerWidth,h=window.innerHeight,p={colorRange:["rgb(255, 255, 255)"],horizontalOffset:0,verticalOffset:0,pixels:10,threshold:.8,dpr:.3,debug:!1,ignoreElements:[],fillColor:"rgba(0, 100, 200, 255)"},g=(0,r.default)({},p,f),m=g.debug,y=g.colorRange,_=g.horizontalOffset,v=g.verticalOffset,E=g.pixels,T=g.threshold,I=g.dpr,L=d*I,G=h*I,M=s.document.createElement("canvas"),M.height=G,M.width=L,M.style.width=L+"px",M.style.height=G+"px",W=M.getContext("2d",{willReadFrequently:!0}),ee=(0,o.html2canvas)(l,{ignoreElements:g.ignoreElements,fillColor:g.fillColor}),typeof ee!="string"){B.next=18;break}return B.abrupt("return",{result:!0,image:null,error:null});case 18:return q=new Image,q.src=ee.toDataURL("image/png"),q.crossOrigin="Anonymous",B.next=23,new Promise(function(K){q.addEventListener("load",function(){return K()})});case 23:for(W.drawImage(q,0,0,L,G),H=0,F=2*E,P=2*E,A=Math.floor((L-_*I)/F),C=Math.floor((G-v*I)/P),O=A*C,S=0;S<A;S++)for(R=0;R<C;R++)k=S*F,N=R*F,ie=W.getImageData(k+_*I,N+v*I,E,E),Y=ie.data,a(Y,y)&&H++;return b={result:H<O*T,rate:H/O,image:q.src,whitePixels:H,checkPoints:O,threshold:T},m&&console.log(b),B.abrupt("return",b);case 36:return B.prev=36,B.t0=B.catch(1),!((w=f)===null||w===void 0)&&w.debug&&console.log("[RUM] Failed to inject blank handler: ",B.t0),B.abrupt("return",{result:!1,image:null,error:B.t0.toString()});case 40:case"end":return B.stop()}},c,null,[[1,36]])}));return function(){return u.apply(this,arguments)}}();var a=function(u,c){for(var l,f=!0,d=0;d<u.length;d+=4)if(l="rgb("+u[d]+", "+u[d+1]+", "+u[d+2]+")",!c.includes(l)){f=!1;break}return f}})(Rm);var Dm={};(function(e){e.__esModule=!0,e.performSampleCheck=void 0;var t=Vl;e.performSampleCheck=function(r,i){i===void 0&&(i={});var o=i,s=o.checkPoints,a=s===void 0?10:s,u=o.sampleMethod,c=u===void 0?2:u,l=o.threshold,f=l===void 0?.8:l,d=o.whiteBoxElements,h=d===void 0?[]:d,p=o.debug,g=[].concat((0,t.getElementsBySelectors)(h,r),[r]),m=n(r,a,c),y=m.length,_=0;m.forEach(function(T){var I;g.includes((I=document).elementFromPoint.apply(I,T))&&_++});var v=_/y,E={result:v<f,rate:v,whitePixels:_,checkPoints:y,threshold:f};return p!==void 0&&p&&console.log(E,g,m),E};var n=function(r,i,o){var s=(0,t.getTrueArea)(r),a=s.top,u=s.left,c=s.width,l=s.height,f=u+c/2,d=a+l/2,h=c/2/(i+1),p=l/2/(i+1),g=[[f,d]];if([1,3].includes(o))for(var m=1;m<=i;m++)g.push([f+m*h,d]),g.push([f,d+m*p]),g.push([f-m*h,d]),g.push([f,d-m*p]);if([2,3].includes(o))for(var y=1;y<=i;y++)g.push([f+y*h,d+y*p]),g.push([f+y*h,d-y*p]),g.push([f-y*h,d-y*p]),g.push([f-y*h,d+y*p]);return g}})(Dm);(function(e){var t=it.exports;e.__esModule=!0,e.testerValidator=e.blankCheckWithSingleMethod=e.blankCheck=void 0;var n=t(Im.exports),r=t(aa),i=t(St.exports),o=t(co.exports),s=Rm,a=Dm,u=["result"],c=["result"];e.testerValidator=function(d){return typeof d=="function"?!0:typeof d=="string"&&["HAS_CONTENT","SCREENSHOT","SAMPLE"].includes(d)},e.blankCheck=function(){var d=(0,o.default)(r.default.mark(function h(p,g,m){var y,_,v,E,T,I;return r.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(typeof p!="function"){L.next=12;break}return L.next=3,p(g);case 3:return y=L.sent,_=y.hasContent,v=y.message,E=v===void 0?"":v,T=y.snapshot,I=T===void 0?{}:T,L.abrupt("return",{hasContent:_,message:E,snapshot:(0,i.default)({},I,{method:"CUSTOM"})});case 12:if(typeof p!="string"){L.next=16;break}return L.next=15,l(p,g,m);case 15:return L.abrupt("return",L.sent);case 16:case"end":return L.stop()}},h)}));return function(){return d.apply(this,arguments)}}();var l=e.blankCheckWithSingleMethod=function(){var d=(0,o.default)(r.default.mark(function h(p,g,m){var y,_,v,E,T,I;return r.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(p!=="HAS_CONTENT"){L.next=4;break}return L.abrupt("return",{hasContent:g!=null&&g.textContent,snapshot:{method:p}});case 4:if(p!=="SCREENSHOT"){L.next=13;break}return L.next=7,(0,s.performScreenshotCheck)(g,m);case 7:return y=L.sent,_=y.result,v=(0,n.default)(y,u),L.abrupt("return",{hasContent:_,message:_?"":f(v),snapshot:(0,i.default)({method:p},v)});case 13:if(p!=="SAMPLE"){L.next=16;break}return E=(0,a.performSampleCheck)(g,m),T=E.result,I=(0,n.default)(E,c),L.abrupt("return",{hasContent:T,message:T?"":f(I),snapshot:(0,i.default)({method:p},I)});case 16:case"end":return L.stop()}},h)}));return function(){return d.apply(this,arguments)}}(),f=function(d){return"The white screen occurrence rate is "+d.rate+", exceeding the threshold of "+d.threshold+". A total of "+d.checkPoints+" detection points were set, and "+d.whitePixels+" of them were hit."}})(Om);(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(aa),r=t(St.exports),i=t(co.exports),o=ht,s=Om,a=$t,u=Er,c=null,l={LEAVE:function(d){return a.document.addEventListener("beforeunload",d),function(){return a.document.removeEventListener("beforeunload",d)}},ROUTE_CHANGE:function(d,h){return h==="hash"?(a.global.addEventListener("hashchange",d),function(){return a.global.removeEventListener("hashchange",d)}):((0,o.interceptFunction)(a.global.history,"pushState",d),(0,o.interceptFunction)(a.global.history,"replaceState",d),a.global.addEventListener("popstate",d),function(){a.global.removeEventListener("popstate",d)})},ERROR:function(d){return a.global.addEventListener("error",d),function(){return a.global.removeEventListener("error",d)}},LOAD:function(d){return a.document.readyState==="complete"?(setTimeout(d,0),function(){}):(a.global.addEventListener("load",d),function(){return a.global.removeEventListener("load",d)})}};e.default=function(){function f(){var h=this;this.name="white-screen-collector",this.observers=[],this.ctx=void 0,this.sendEvent=void 0,this.abort=function(){h.observers.forEach(function(p){return p()}),h.observers=[]},this.blankHandler=function(){var p=(0,i.default)(n.default.mark(function g(m,y){var _,v,E,T,I,L,G,M,W,ee;return n.default.wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(_=m.target,v=m.tester,E=m.delay,T=E===void 0?0:E,I=m.configOptions,L=I===void 0?{}:I,G=m.ignoreUrlList,M=G===void 0?[]:G,!(M.includes(a.location.pathname)||M.includes(a.location.hash))){q.next=3;break}return q.abrupt("return");case 3:if(W=a.document.querySelector(_),W&&v){q.next=6;break}return q.abrupt("return");case 6:if((0,s.testerValidator)(v)){q.next=9;break}return console.warn("[RUM] Invalid tester type. Expected either a function or a string."),q.abrupt("return");case 9:c&&(clearTimeout(c),c=null),ee=(0,u.getCurrentURL)(),c=y!=="LEAVE"&&y!=="ERROR"?setTimeout(function(){h.blankChecker(v,W,L,y,ee)},T):setTimeout(function(){h.blankChecker(v,W,L,y,ee)},0);case 12:case"end":return q.stop()}},g)}));return function(){return p.apply(this,arguments)}}(),this.blankChecker=function(){var p=(0,i.default)(n.default.mark(function g(m,y,_,v,E){var T,I,L,G,M,W,ee;return n.default.wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,(0,s.blankCheck)(m,y,_);case 2:if(T=q.sent,I=T.hasContent,L=T.message,G=L===void 0?"":L,M=T.snapshot,!I){q.next=9;break}return q.abrupt("return");case 9:W=h.ctx.session.getBaseEvent(),ee=(0,r.default)({},W,{event_type:o.RumEventType.EXCEPTION,name:"A white screen occurs at "+v,type:"blank",message:G,snapshots:JSON.stringify((0,r.default)({},M,{when:v,url:E}))}),h.sendEvent(ee),h.abort();case 13:case"end":return q.stop()}},g)}));return function(){return p.apply(this,arguments)}}()}var d=f.prototype;return d.setup=function(p,g){var m=this;this.ctx=p,this.sendEvent=g;var y=p.getConfig(),_=y.whiteScreen,v=y.spaMode;if(_){var E=_.detectionRules;Array.isArray(E)&&E.length&&E.forEach(function(T){T.test_when.forEach(function(I){var L=function(){try{m.blankHandler(T,I)}catch(W){console.warn("[RUM] Failed to inject blank handler: ",W)}},G=l[I];if(G){var M=G(L,v);m.observers.push(M)}})})}},d.destroy=function(){this.abort()},f}()})($m);var Lm={};(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=ht,i=Er,o=$t,s=o.global.PerformanceObserver,a=6e5;e.default=function(){function u(){var l=this;this.name="perf-collector",this.ctx=void 0,this.sendEvent=void 0,this.perfObserver=void 0,this.eventCache=void 0,this.perfHandler=function(f){for(var d=f.getEntries(),h=l.eventCache,p=0;p<d.length;p++)try{var g=d[p];switch(g.entryType){case"navigation":var m=g.fetchStart,y=g.responseEnd,_=g.domInteractive,v=g.domContentLoadedEventEnd,E=g.domComplete,T=g.loadEventEnd;h.dom_interactive=(0,r.formatNumber)(_-m),h.dom_content_loaded=(0,r.formatNumber)(v-m),h.dom_complete=(0,r.formatNumber)(E-m),h.load_event=(0,r.formatNumber)(T-m),h.first_paint=(0,r.formatNumber)(y-m),l.sendPerf();break;case"paint":g.name==="first-paint"&&g.startTime<a?h.first_paint=(0,r.formatNumber)(g.startTime):g.name==="first-contentful-paint"&&g.startTime<a&&(h.first_contentful_paint=(0,r.formatNumber)(g.startTime));break;default:return}}catch(I){}},this.sendPerf=function(){l.eventCache&&l.perfObserver&&(l.sendEvent(l.eventCache),l.eventCache=null,l.perfObserver.disconnect(),l.perfObserver=null)}}var c=u.prototype;return c.setup=function(f,d){var h=this,p=f.getConfig().collectors||{};if(p.perf!==!1&&(this.ctx=f,this.sendEvent=d,this.sendPerf=(0,r.debounce)(this.sendPerf,200),!!(0,r.isFunction)(s))){this.perfObserver=new s(function(m){(0,r.delay)(h.perfHandler,200,m)}),this.perfObserver.observe({entryTypes:["navigation","paint"]});var g=this.ctx.session.getBaseEvent();this.eventCache=(0,n.default)({},g,{event_type:r.RumEventType.VIEW,type:"perf",url:(0,i.getCurrentURL)(),referrer:o.document.referrer||""})}},u}()})(Lm);var Fm={},fo={};(function(e){e.__esModule=!0,e.getCurView=t;function t(n){var r=n.getViews();if(r&&r.length)return r[r.length-1]}})(fo);var Cu={exports:{}};(function(e,t){(function(n,r){r(t)})(tn,function(n){var r,i,o,s,a,u=-1,c=function(U){addEventListener("pageshow",function(V){V.persisted&&(u=V.timeStamp,U(V))},!0)},l=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var U=l();return U&&U.activationStart||0},d=function(U,V){var j=l(),Q="navigate";return u>=0?Q="back-forward-cache":j&&(document.prerendering||f()>0?Q="prerender":document.wasDiscarded?Q="restore":j.type&&(Q=j.type.replace(/_/g,"-"))),{name:U,value:V===void 0?-1:V,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:Q}},h=function(U,V,j){try{if(PerformanceObserver.supportedEntryTypes.includes(U)){var Q=new PerformanceObserver(function(J){Promise.resolve().then(function(){V(J.getEntries())})});return Q.observe(Object.assign({type:U,buffered:!0},j||{})),Q}}catch(J){}},p=function(U,V,j,Q){var J,oe;return function(de){V.value>=0&&(de||Q)&&((oe=V.value-(J||0))||J===void 0)&&(J=V.value,V.delta=oe,V.rating=function(he,ve){return he>ve[1]?"poor":he>ve[0]?"needs-improvement":"good"}(V.value,j),U(V))}},g=function(U){requestAnimationFrame(function(){return requestAnimationFrame(function(){return U()})})},m=function(U){var V=function(j){j.type!=="pagehide"&&document.visibilityState!=="hidden"||U(j)};addEventListener("visibilitychange",V,!0),addEventListener("pagehide",V,!0)},y=function(U){var V=!1;return function(j){V||(U(j),V=!0)}},_=-1,v=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},E=function(U){document.visibilityState==="hidden"&&_>-1&&(_=U.type==="visibilitychange"?U.timeStamp:0,I())},T=function(){addEventListener("visibilitychange",E,!0),addEventListener("prerenderingchange",E,!0)},I=function(){removeEventListener("visibilitychange",E,!0),removeEventListener("prerenderingchange",E,!0)},L=function(){return _<0&&(_=v(),T(),c(function(){setTimeout(function(){_=v(),T()},0)})),{get firstHiddenTime(){return _}}},G=function(U){document.prerendering?addEventListener("prerenderingchange",function(){return U()},!0):U()},M=[1800,3e3],W=function(U,V){V=V||{},G(function(){var j,Q=L(),J=d("FCP"),oe=h("paint",function(de){de.forEach(function(he){he.name==="first-contentful-paint"&&(oe.disconnect(),he.startTime<Q.firstHiddenTime&&(J.value=Math.max(he.startTime-f(),0),J.entries.push(he),j(!0)))})});oe&&(j=p(U,J,M,V.reportAllChanges),c(function(de){J=d("FCP"),j=p(U,J,M,V.reportAllChanges),g(function(){J.value=performance.now()-de.timeStamp,j(!0)})}))})},ee=[.1,.25],q=function(U,V){V=V||{},W(y(function(){var j,Q=d("CLS",0),J=0,oe=[],de=function(ve){ve.forEach(function(ge){if(!ge.hadRecentInput){var Fe=oe[0],pt=oe[oe.length-1];J&&ge.startTime-pt.startTime<1e3&&ge.startTime-Fe.startTime<5e3?(J+=ge.value,oe.push(ge)):(J=ge.value,oe=[ge])}}),J>Q.value&&(Q.value=J,Q.entries=oe,j())},he=h("layout-shift",de);he&&(j=p(U,Q,ee,V.reportAllChanges),m(function(){de(he.takeRecords()),j(!0)}),c(function(){J=0,Q=d("CLS",0),j=p(U,Q,ee,V.reportAllChanges),g(function(){return j()})}),setTimeout(j,0))}))},H={passive:!0,capture:!0},F=new Date,P=function(U,V){r||(r=V,i=U,o=new Date,O(removeEventListener),A())},A=function(){if(i>=0&&i<o-F){var U={entryType:"first-input",name:r.type,target:r.target,cancelable:r.cancelable,startTime:r.timeStamp,processingStart:r.timeStamp+i};s.forEach(function(V){V(U)}),s=[]}},C=function(U){if(U.cancelable){var V=(U.timeStamp>1e12?new Date:performance.now())-U.timeStamp;U.type=="pointerdown"?function(j,Q){var J=function(){P(j,Q),de()},oe=function(){de()},de=function(){removeEventListener("pointerup",J,H),removeEventListener("pointercancel",oe,H)};addEventListener("pointerup",J,H),addEventListener("pointercancel",oe,H)}(V,U):P(V,U)}},O=function(U){["mousedown","keydown","touchstart","pointerdown"].forEach(function(V){return U(V,C,H)})},S=[100,300],R=function(U,V){V=V||{},G(function(){var j,Q=L(),J=d("FID"),oe=function(ve){ve.startTime<Q.firstHiddenTime&&(J.value=ve.processingStart-ve.startTime,J.entries.push(ve),j(!0))},de=function(ve){ve.forEach(oe)},he=h("first-input",de);j=p(U,J,S,V.reportAllChanges),he&&m(y(function(){de(he.takeRecords()),he.disconnect()})),he&&c(function(){var ve;J=d("FID"),j=p(U,J,S,V.reportAllChanges),s=[],i=-1,r=null,O(addEventListener),ve=oe,s.push(ve),A()})})},k=0,N=1/0,ie=0,Y=function(U){U.forEach(function(V){V.interactionId&&(N=Math.min(N,V.interactionId),ie=Math.max(ie,V.interactionId),k=ie?(ie-N)/7+1:0)})},b=function(){return a?k:performance.interactionCount||0},w=function(){"interactionCount"in performance||a||(a=h("event",Y,{type:"event",buffered:!0,durationThreshold:0}))},B=[200,500],K=0,ne=function(){return b()-K},ae=[],ue={},fe=function(U){var V=ae[ae.length-1],j=ue[U.interactionId];if(j||ae.length<10||U.duration>V.latency){if(j)j.entries.push(U),j.latency=Math.max(j.latency,U.duration);else{var Q={id:U.interactionId,latency:U.duration,entries:[U]};ue[Q.id]=Q,ae.push(Q)}ae.sort(function(J,oe){return oe.latency-J.latency}),ae.splice(10).forEach(function(J){delete ue[J.id]})}},$=function(U,V){V=V||{},G(function(){var j;w();var Q,J=d("INP"),oe=function(he){he.forEach(function(Fe){Fe.interactionId&&fe(Fe),Fe.entryType==="first-input"&&!ae.some(function(pt){return pt.entries.some(function(ln){return Fe.duration===ln.duration&&Fe.startTime===ln.startTime})})&&fe(Fe)});var ve,ge=(ve=Math.min(ae.length-1,Math.floor(ne()/50)),ae[ve]);ge&&ge.latency!==J.value&&(J.value=ge.latency,J.entries=ge.entries,Q())},de=h("event",oe,{durationThreshold:(j=V.durationThreshold)!==null&&j!==void 0?j:40});Q=p(U,J,B,V.reportAllChanges),de&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&de.observe({type:"first-input",buffered:!0}),m(function(){oe(de.takeRecords()),J.value<0&&ne()>0&&(J.value=0,J.entries=[]),Q(!0)}),c(function(){ae=[],K=b(),J=d("INP"),Q=p(U,J,B,V.reportAllChanges)}))})},D=[2500,4e3],z={},te=function(U,V){V=V||{},G(function(){var j,Q=L(),J=d("LCP"),oe=function(ve){var ge=ve[ve.length-1];ge&&ge.startTime<Q.firstHiddenTime&&(J.value=Math.max(ge.startTime-f(),0),J.entries=[ge],j())},de=h("largest-contentful-paint",oe);if(de){j=p(U,J,D,V.reportAllChanges);var he=y(function(){z[J.id]||(oe(de.takeRecords()),de.disconnect(),z[J.id]=!0,j(!0))});["keydown","click"].forEach(function(ve){addEventListener(ve,function(){return setTimeout(he,0)},!0)}),m(he),c(function(ve){J=d("LCP"),j=p(U,J,D,V.reportAllChanges),g(function(){J.value=performance.now()-ve.timeStamp,z[J.id]=!0,j(!0)})})}})},Z=[800,1800],re=function U(V){document.prerendering?G(function(){return U(V)}):document.readyState!=="complete"?addEventListener("load",function(){return U(V)},!0):setTimeout(V,0)},le=function(U,V){V=V||{};var j=d("TTFB"),Q=p(U,j,Z,V.reportAllChanges);re(function(){var J=l();if(J){var oe=J.responseStart;if(oe<=0||oe>performance.now())return;j.value=Math.max(oe-f(),0),j.entries=[J],Q(!0),c(function(){j=d("TTFB",0),(Q=p(U,j,Z,V.reportAllChanges))(!0)})}})};n.CLSThresholds=ee,n.FCPThresholds=M,n.FIDThresholds=S,n.INPThresholds=B,n.LCPThresholds=D,n.TTFBThresholds=Z,n.getCLS=q,n.getFCP=W,n.getFID=R,n.getINP=$,n.getLCP=te,n.getTTFB=le,n.onCLS=q,n.onFCP=W,n.onFID=R,n.onINP=$,n.onLCP=te,n.onTTFB=le})})(Cu,Cu.exports);(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=ht,i=Er,o=fo,s=Cu.exports,a=$t;e.default=function(){function u(){this.name="web-vitals-collector",this.ctx=void 0,this.sendEvent=void 0,this.baseEvent=void 0,this.measures={},this.timer=void 0}var c=u.prototype;return c.setup=function(f,d){var h=f.getConfig().collectors||{};h.webVitals===!1||(this.ctx=f,this.sendEvent=d,this.baseEvent={event_type:r.RumEventType.VIEW,type:"webvitals",referrer:a.document.referrer||"",view:(0,o.getCurView)(this.ctx)},this.onWebVitals())},c.sendWebVitals=function(f,d){var h,p=this;clearTimeout(this.timer),this.measures=(0,n.default)({},this.measures,(h={},h[f]=d,h)),this.timer=setTimeout(function(){var g=p.ctx.session.getBaseEvent();p.sendEvent((0,n.default)({},g,p.baseEvent,p.measures,{url:(0,i.getCurrentURL)()})),p.measures={}},200)},c.onWebVitals=function(){var f=this;(0,s.onLCP)(function(d){return f.sendWebVitals("largest_contentful_paint",(0,r.formatNumber)(d.value))}),(0,s.onFID)(function(d){f.sendWebVitals("first_input_delay",(0,r.formatNumber)(d.value)),(0,r.isArray)(d.entries)&&d.entries.forEach(function(h){h&&h.entryType==="first-input"&&f.sendWebVitals("first_input_time",(0,r.formatNumber)(h.startTime))})}),(0,s.onCLS)(function(d){return f.sendWebVitals("cumulative_layout_shift",(0,r.formatNumber)(d.value))}),(0,s.onINP)(function(d){return f.sendWebVitals("interaction_to_next_paint",(0,r.formatNumber)(d.value))})},u}()})(Fm);var Bm={},jl={};(function(e){var t=ht;e.__esModule=!0,e.ResourceType=e.RESOURCE_TYPES=e.FAKE_INITIAL_DOCUMENT=void 0,e.calcResourceTimingData=u,e.getResourceStatus=s,e.getResourceSuccessByCode=o,e.getResourceType=d;function n(h,p){var g=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(g)return(g=g.call(h)).next.bind(g);if(Array.isArray(h)||(g=r(h))||p&&h&&typeof h.length=="number"){g&&(h=g);var m=0;return function(){return m>=h.length?{done:!0}:{done:!1,value:h[m++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r(h,p){if(h){if(typeof h=="string")return i(h,p);var g=Object.prototype.toString.call(h).slice(8,-1);return g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set"?Array.from(h):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?i(h,p):void 0}}function i(h,p){(p==null||p>h.length)&&(p=h.length);for(var g=0,m=Array(p);g<p;g++)m[g]=h[g];return m}function o(h){var p,g=[200,300];return p=h?h>=g[0]&&h<g[1]?t.ResourceStatus.Success:t.ResourceStatus.Failed:t.ResourceStatus.Unknown,p}function s(h){var p,g=h.responseStatus,m=h.transferSize,y=h.encodedBodySize,_=h.decodedBodySize,v=h.responseEnd,E=h.startTime;return p=g?o(g):m===0&&y===0&&_===0?t.ResourceStatus.Failed:v>E&&(0<m||0<y||0<_)?t.ResourceStatus.Success:t.ResourceStatus.Unknown,p}function a(){for(var h=1;h<arguments.length;h+=1)if((0>h-1||arguments.length<=h-1?void 0:arguments[h-1])>(0>h||arguments.length<=h?void 0:arguments[h]))return!1;return!0}function u(h,p){p===void 0&&(p=!1);var g=h.startTime,m=h.fetchStart,y=h.transferSize,_=h.encodedBodySize,v=h.decodedBodySize,E=h.redirectStart,T=h.redirectEnd,I=h.domainLookupStart,L=h.domainLookupEnd,G=h.connectStart,M=h.secureConnectionStart,W=h.connectEnd,ee=h.requestStart,q=h.responseStart,H=h.responseEnd,F=h.duration;if(!(!p&&(!a(g,m,I,L,G,W,ee,q,H)||F===0||q===0||g>q||y===0&&0<_&&0<v||h.deliveryType==="cache"))){E<g&&(E=g),T<g&&(T=m);var P={duration:F};return W&&(P.connect_duration=(0,t.formatNumber)(W-G)),L&&(P.dns_duration=(0,t.formatNumber)(L-I)),T&&(P.redirect_duration=(0,t.formatNumber)(T-E)),q&&(P.download_duration=(0,t.formatNumber)(H-q),P.first_byte_duration=(0,t.formatNumber)(q-ee)),v&&(P.size=(0,t.formatNumber)(v)),y&&(P.transfer_size=(0,t.formatNumber)(y)),M&&(P.ssl_duration=(0,t.formatNumber)(W-M)),P}}var c=e.ResourceType=function(h){return h.DOCUMENT="document",h.XHR="xmlhttprequest",h.BEACON="beacon",h.FETCH="fetch",h.CSS="css",h.JS="js",h.IMAGE="image",h.FONT="font",h.MEDIA="media",h.OTHER="other",h}({}),l=e.FAKE_INITIAL_DOCUMENT="initial_document",f=e.RESOURCE_TYPES=[[c.DOCUMENT,function(h){return l===h}],[c.XHR,function(h){return h==="xmlhttprequest"}],[c.FETCH,function(h){return h==="fetch"}],[c.BEACON,function(h){return h==="beacon"}],[c.CSS,function(h,p){return/\.css$/i.test(p)}],[c.JS,function(h,p){return/\.js$/i.test(p)}],[c.IMAGE,function(h,p){return["image","img","icon"].includes(h)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(p)!==null}],[c.FONT,function(h,p){return/\.(woff|eot|woff2|ttf)$/i.exec(p)!==null}],[c.MEDIA,function(h,p){return["audio","video"].includes(h)||/\.(mp3|mp4)$/i.exec(p)!==null}]];function d(h,p){var g;try{g=new URL(h)}catch(I){return c.OTHER}for(var m,y=g.pathname,_=n(f);!(m=_()).done;){var v=m.value,E=v[0],T=v[1];if(T(p,y))return E}return c.OTHER}})(jl);var si={};(function(e){e.__esModule=!0,e.getCurrentTime=n,e.hackFunction=t;function t(r,i,o){if(typeof r=="object"&&typeof r[i]=="function"){var s=r[i],a=o(s);r[i]=a}}function n(r){var i,o;return(i=performance)!==null&&i!==void 0&&i.timeOrigin&&(o=performance)!==null&&o!==void 0&&o.now?Math.round(performance.timeOrigin+(r||performance.now())):Date.now()}})(si);var Nm={};(function(e){e.__esModule=!0,e.ApiType=void 0,e.reviseApiAttr=n;var t=ht;e.ApiType={XHR:"xmlhttprequest",FETCH:"fetch"};function n(r){if((0,t.isObject)(r)){var i={};return(0,t.isString)(r.name)&&(i.name=r.name.substring(0,1e3)),(0,t.isString)(r.message)&&(i.message=r.message.substring(0,1e3)),(0,t.isNumber)(r.success)&&-1<=r.success&&1>=r.success&&(i.success=r.success),(0,t.isNumber)(r.duration)&&0<=r.duration&&(i.duration=r.duration),(0,t.isString)(r.status_code)&&(i.status_code=r.status_code.substring(0,100)),(0,t.isNumber)(r.status_code)&&(i.status_code=r.status_code),(0,t.isString)(r.snapshots)&&(i.snapshots=r.snapshots.substring(0,5e3)),i}}})(Nm);(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(aa),r=t(co.exports),i=t(St.exports),o=ht,s=jl,a=Er,u=si,c=$t,l=Nm,f=c.global.PerformanceObserver;e.default=function(){function d(){this.name="api-collector",this.entryTypes=Object.values(l.ApiType),this.cachedEntries=[],this.cachedApiAttrs=[],this.ctx=void 0,this.sendEvent=void 0}var h=d.prototype;return h.setup=function(g,m){var y=g.getConfig().collectors||{};y.api===!1||(this.sendEvent=m,this.ctx=g,this.perfObserver(),this.hackXhr(),this.hackFetch())},h.perfObserver=function(){var g=this;if((0,o.isFunction)(f)){var m=new PerformanceObserver(function(y){var _=y.getEntries().filter(function(v){return g.entryTypes.includes(v.initiatorType)});_&&_.length&&_.forEach(function(v){g.mergeDataAndSend({entry:v})})});m.observe({entryTypes:["resource"]})}},h.injectTracing=function(g,m){var y,_=this.ctx.getConfig(),v=_.tracing,E=_.pid,T=_.version,I=T===void 0?"1.0.0":T,L=(0,o.parseTracingOptions)(v),G=L.enable,M=L.sample,W=L.propagatorTypes,ee=L.allowedUrls,q=L.tracestate,H=L.baggage;if(G){ee.push({match:function(B){return/^https?:\/\/*/.test(B)&&(0,o.startsWith)(B,c.location.origin)},propagatorTypes:W});var F=(0,o.find)(ee,function(w){return(0,o.matchList)([w.match],g.url)});if(F){var P=F.propagatorTypes;P.length===0&&(P=W);var A=!1;-1<P.indexOf("sw8")&&(P=["sw8"],A=!0);var C=this.ctx.session,O=A?(0,o.generateGUID)():(0,o.generateTraceId)(),S=A?(0,o.generateGUID)():(0,o.generateSpanId)(),R=(0,o.performDraw)(M),k=C.getUserId(),N=C.getSessionId(),ie=q===void 0||q?"rum=v2&browser&"+E+"&"+N+"&"+k:void 0,Y=H!==void 0&&H?"rum=v2,appType=browser,pid="+E+",sid="+N+",uid="+k:void 0,b=(0,o.makeTracingHeaders)(O,S,R,P,{tracestate:ie,baggage:Y,appId:E,appVersion:I,viewName:(y=g.view)===null||y===void 0?void 0:y.name,host:c.location.host});R&&(g.trace_id=O,g.trace_data=JSON.stringify({spanId:S,sample:M,sampled:R,headers:b})),m(b)}}},h.hackXhr=function(){var g=XMLHttpRequest.prototype,m=this;(0,o.interceptFunction)(g,"open",function(y,_,v,E,T){var I=_+"",L=y.toUpperCase();if(!((0,o.urlMatch)(I)||L==="HEAD")){this.apiCache={type:l.ApiType.XHR,method:y,url:_,async:v,user:E,password:T,headers:{}};var G=m.ctx.session.getBaseEvent();this.apiAttr=(0,i.default)({},G,{url:(0,a.fixRelativeUrl)(I),method:L})}}),(0,o.interceptFunction)(g,"setRequestHeader",function(y,_){this.apiCache&&(this.apiCache.headers[y]=_)}),(0,o.interceptFunction)(g,"send",function(y){var _=this;if(this.apiAttr){var v=this.apiAttr;this.apiCache.data=y,m.injectTracing(this.apiAttr,function(E){Object.keys(E).forEach(function(T){_.setRequestHeader(T,E[T])})}),this.addEventListener("loadend",(0,r.default)(n.default.mark(function E(){var T,I,L,G,M,W,ee,q;return n.default.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(T=_.status,I=_.statusText,L=_.response,G=m.ctx.getConfig(),M=G.evaluateApi,v.status_code=T,v.message=I,(0,o.isFunction)(f)||(W={name:_.apiAttr.url,entryType:l.ApiType.XHR,duration:(0,u.getCurrentTime)()-v.timestamp}),!(0,o.isFunction)(M)){H.next=16;break}return H.prev=6,v.success===o.ResourceStatus.Failed&&(ee=new Error(l.ApiType.XHR+" error")),H.next=10,M(_.apiCache,L,ee);case 10:q=H.sent,_.apiAttr=(0,i.default)({},_.apiAttr,(0,l.reviseApiAttr)(q)),H.next=16;break;case 14:H.prev=14,H.t0=H.catch(6);case 16:m.mergeDataAndSend({attr:_.apiAttr,entry:W});case 17:case"end":return H.stop()}},E,null,[[6,14]])}))),this.addEventListener("error",function(){_.apiAttr.success=o.ResourceStatus.Failed})}})},h.hackFetch=function(){var g=this;(0,u.hackFunction)(c.global,"fetch",function(m){return function(y,_){var v,E,T;function I(){return L.apply(this,arguments)}function L(){return L=(0,r.default)(n.default.mark(function F(){var P,A,C,O;return n.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:if(P=g.ctx.getConfig(),A=P.evaluateApi,(0,o.isFunction)(f)||(C={name:H.url,entryType:l.ApiType.FETCH,duration:(0,u.getCurrentTime)()-H.timestamp}),!(0,o.isFunction)(A)){S.next=12;break}return S.prev=3,S.next=6,A((0,i.default)({url:y},_),W,ee);case 6:O=S.sent,H=(0,i.default)({},H,(0,l.reviseApiAttr)(O)),S.next=12;break;case 10:S.prev=10,S.t0=S.catch(3);case 12:g.mergeDataAndSend({attr:H,entry:C});case 13:case"end":return S.stop()}},F,null,[[3,10]])})),L.apply(this,arguments)}_===void 0&&(_={});var G=y instanceof Request?y.url:(0,o.isString)(y)?y:y.toString(),M=((v=_)===null||v===void 0||(E=v.method)===null||E===void 0?void 0:E.toUpperCase())||"GET";if((0,o.urlMatch)(G)||M==="HEAD"||((T=_)===null||T===void 0?void 0:T.mode)==="no-cors")return m.call(c.global,y,_);var W,ee,q=g.ctx.session.getBaseEvent(),H=(0,i.default)({},q,{url:(0,a.fixRelativeUrl)(G),type:l.ApiType.FETCH,method:M});return g.injectTracing(H,function(F){_.headers=_.headers||{},Object.keys(F).forEach(function(P){_.headers[P]=F[P]})}),m.call(c.global,y,_).then(function(F){W=F.clone();var P=W,A=P.status,C=P.statusText;return H.status_code=A,H.message=C,I().then(),F}).catch(function(F){throw ee=F,H.message=F+"",H.success=o.ResourceStatus.Failed,I().then(),F})}})},h.mergeDataAndSend=function(g){var m=this;try{var y=function(G,M){var W=m.ctx.getConfig(),ee=W.parseResourceName,q=G.url,H=G.status_code,F=G.view,P=(0,s.getResourceSuccessByCode)(H),A=(0,s.calcResourceTimingData)(M)||{duration:M.duration},C=(0,i.default)({event_type:o.RumEventType.RESOURCE,url:q,name:(0,a.getResourceName)(q,ee),type:M.initiatorType||M.entryType,success:P},G,{timing_data:JSON.stringify(M)},A,{view:F});m.sendEvent(C)},_=g.attr,v=g.entry;if(_&&v)return void y(_,v);var E=this.cachedApiAttrs,T=this.cachedEntries;if(_){var I=T.find(function(G){return G.name===_.url});if(!I)return void E.push(_);this.cachedEntries=T.filter(function(G){return G.name!==I.name}),y(_,I)}if(v){var L=E.find(function(G){return G.url===v.name});if(!L)return void T.push(v);this.cachedApiAttrs=E.filter(function(G){return G.url!==L.url}),y(L,v)}}catch(G){}},d}()})(Bm);var km={};(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=ht,i=jl,o=Er,s=fo,a=$t,u=si,c=a.global.PerformanceObserver;e.default=function(){function l(){var d=this;this.name="static-resource-collector",this.entryTypes=["audio","video","track","script","css","img","image","link","other"],this.errorsCache=[],this.WAIT_FOR_ERROR_TIME=1e3,this.perfObserver=void 0,this.sendEvent=void 0,this.ctx=void 0,this.sendResource=function(h){var p=d.ctx.getConfig(),g=p.parseResourceName,m=h.responseStatus,y=h.name,_=(0,i.getResourceType)(y,h.initiatorType),v=d.checkError(y),E=v?r.ResourceStatus.Failed:(0,i.getResourceStatus)(h),T=(0,i.calcResourceTimingData)(h,v);if(T){var I=d.ctx.session.getBaseEvent(),L=(0,n.default)({},I,{event_type:r.RumEventType.RESOURCE,url:y,name:(0,o.getResourceName)(y,g),type:_,method:"GET",status_code:m,success:E},T,{timing_data:JSON.stringify(h)});(0,r.urlMatch)(L.url)||d.sendEvent(L)}},this.errorHandler=function(h){var p=h.target||h.srcElement,g=p&&p.nodeName&&p.nodeType===1,m=p.src||p.href;g&&m&&m.indexOf("http")===0&&d.errorsCache.push({src:m,timeStamp:(0,u.getCurrentTime)()})},this.perfHandler=function(h){var p=h.getEntries().filter(function(m){return-1<d.entryTypes.indexOf(m.initiatorType)});if(p&&p.length){var g=(0,s.getCurView)(d.ctx);setTimeout(function(){p.forEach(function(m){d.sendResource(m,g)})},d.WAIT_FOR_ERROR_TIME)}}}var f=l.prototype;return f.setup=function(h,p){var g=h.getConfig().collectors||{};if(this.ctx=h,this.sendEvent=p,g.staticResource!==!1&&(0,r.isFunction)(c)){var m;try{m=new c(this.perfHandler),m.observe({type:"resource",buffered:!0})}catch(y){m=new c(this.perfHandler),m.observe({entryTypes:["resource"]})}this.perfObserver=m,a.global.addEventListener("error",this.errorHandler,!0)}},f.checkError=function(h){var p=!1,g=(0,u.getCurrentTime)();return this.errorsCache=this.errorsCache.filter(function(m){return h===m.src?(p=!0,!0):1e4<g-m.timeStamp}),p},f.destroy=function(){this.perfObserver&&(a.global.removeEventListener("error",this.errorHandler),this.perfObserver.disconnect(),this.perfObserver=null)},l}()})(km);var Mm={},Vm={};(function(e){var t=$t;e.__esModule=!0,e.getClosestTargetAncestorElement=n,e.getElementXpath=r;function n(i,o){for(var s=i;s!==t.document.documentElement;){var a=s,u=a.localName,c=a.nodeName,l=a.parentElement;if(o.includes((u||c).toLocaleLowerCase()))return s;if(!l)break;s=l}return null}function r(i,o){o===void 0&&(o=!1);var s=i;if(s&&s.id&&!o)return'//*[@id="'+s.id+'"]';for(var a=[];s&&Node.ELEMENT_NODE===s.nodeType;){for(var u=0,c=!1,l=s.previousSibling;l;)l.nodeType!==Node.DOCUMENT_TYPE_NODE&&l.nodeName===s.nodeName&&u++,l=l.previousSibling;for(l=s.nextSibling;l;){if(l.nodeName===s.nodeName){c=!0;break}l=l.nextSibling}var f=s.prefix?s.prefix+":":"",d=u||c?"["+(u+1)+"]":"";a.push(f+s.localName+d),s=s.parentNode}return a.length?"/"+a.reverse().join("/"):""}})(Vm);(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=ht,i=si,o=Vm,s=$t;e.default=function(){function a(){this.name="click-collector",this.DELAY_TIME=300}var u=a.prototype;return u.setup=function(l,f){var d=l.getConfig().collectors||{};d.action===!1||s.document.addEventListener("click",function(h){var p=(0,i.getCurrentTime)(h.timeStamp),g=(0,r.formatNumber)(performance.now()-h.timeStamp),m=h.target;if(m instanceof HTMLElement){var y=(0,o.getClosestTargetAncestorElement)(m,["button","a","input","select","option","textarea"]);if(y){var _=y.localName,v=y.nodeName,E=y.innerText,T=(_||v).toLowerCase(),I=y.getAttribute("type"),L=E&&": "+(20<E.length?E.slice(0,20)+"...":E),G="click on "+((I?I+"-":"")+T)+L,M={};["id","name","className","href","src"].forEach(function(H){var F=y[H];F&&(M[H]=F)});var W=Object.keys(M).length?JSON.stringify(M).substring(0,1e3):void 0,ee=l.session.getBaseEvent(),q=(0,n.default)({},ee,{timestamp:p,event_type:r.RumEventType.ACTION,type:"click",name:G,target_name:(0,o.getElementXpath)(m),duration:g,snapshots:W});f(q)}}},!0)},a}()})(Mm);var jm={};(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(St.exports),r=si,i=fo;e.default=function(){function o(){this.name="default-processor"}var s=o.prototype;return s.process=function(u){var c=u.getRumEvent(),l=(0,i.getCurView)(u),f=(0,n.default)({timestamp:(0,r.getCurrentTime)(),session_id:u.session.getSessionId(),event_id:u.session.getEventId(),view:l},c);return f},o}()})(jm);var Um={};(function(e){e.__esModule=!0,e.default=void 0;var t=ht;e.default=function(){function n(){var i=this;this.name="session-processor",this.ctx=void 0,this.update=function(o){o&&!o.isTrusted||i.ctx.session.updateSession()}}var r=n.prototype;return r.setup=function(o){this.ctx=o,this.update=(0,t.debounce)(this.update,t.ONE_SECOND),document.addEventListener("click",this.update,!0)},r.process=function(o){return this.update(),o.getRumEvent()},n}()})(Um);var Hm={};(function(e){var t=it.exports;e.__esModule=!0,e.default=void 0;var n=t(ia.exports),r=ht,i=$t,o=function(s){function a(){for(var c,l=arguments.length,f=Array(l),d=0;d<l;d++)f[d]=arguments[d];return c=s.call.apply(s,[this].concat(f))||this,c.name="browser-reporter",c}(0,n.default)(a,s);var u=a.prototype;return u.init=function(){var l=this;i.document.addEventListener("visibilitychange",function(){i.document.visibilityState==="hidden"&&l.flushEventQueue()})},u.request=function(l,f,d){var h,p=l.getConfig(),g=l.session,m=g.getSessionId();f.forEach(function(I){I.session_id===m&&delete I.session_id});var y={app:{id:p.pid,env:p.env||"prod",version:p.version,type:r.AppType.browser},user:{id:g.getUserId()},session:{id:m},view:d,net:{model:((h=navigator.connection)===null||h===void 0?void 0:h.effectiveType)||""},events:f,_v:i.VERSION};if(["app","user","device","os","geo","isp","net"].forEach(function(I){var L=p[I];(0,r.isObject)(L)&&Object.keys(L).forEach(function(G){var M=L[G];I==="user"&&G==="id"||((0,r.isString)(M)||(0,r.isNumber)(M))&&(!(I in y)&&(y[I]={}),y[I][G]=M)})}),!(typeof p.beforeReport=="function"&&(y=p.beforeReport(y),!y))){var _,v=JSON.stringify(y),E=new Blob([v]).size;if(6e4>E)try{_=navigator.sendBeacon(p.endpoint,v)}catch(I){_=!1}if(!_){var T=new XMLHttpRequest;T.open("POST",p.endpoint,!0),T.setRequestHeader("Content-Type","text/plain"),T.send(v)}}},a}(r.Reporter);e.default=o})(Hm);var zm={};(function(e){e.__esModule=!0,e.RumSession=void 0;var t=ht,n=si,r=fo,i="_arms_uid",o="_arms_session";e.RumSession=function(){function s(){this.ctx=void 0,this.sessionConfig=void 0}var a=s.prototype;return a.init=function(c){this.sessionConfig=this.fixSessionConfig(c.sessionConfig)},a.getSessionId=function(){return this.getSessionInfo().sessionId},a.getSampled=function(){return this.getSessionInfo().sampled},a.checkSession=function(c){var l=this.sessionConfig,f=l.overtime,d=l.maxDuration,h=(0,n.getCurrentTime)();return!(c.startTime+d<h||c.lastTime+f<h)},a.updateSession=function(){var c=this.getSessionInfo();if(!c.isNew){var l=c.startTime,f=(0,n.getCurrentTime)(),d=c.sampled?1:0;localStorage.setItem(o,c.sessionId+"-"+d+"-"+l+"-"+f)}},a.getSessionInfo=function(){var c=(localStorage.getItem(o)||"").split("-"),l=c[0],f=c[1],d=c[2],h=c[3],p={sessionId:l,sampled:f!=="0",startTime:parseInt(d||"")||0,lastTime:parseInt(h||"")||0};return this.checkSession(p)||(p=this.resetSession()),p},a.getEventId=function(){return(0,t.generateEventId)(this.getSessionId())},a.getViewId=function(){return this.getUUID()},a.getUserId=function(){var c=localStorage.getItem(i);return c&&c.indexOf("user_")===0&&(c=""),c||(c="uid_"+(0,t.generateSpanId)(16,36),localStorage.setItem(i,c)),c},a.resetSession=function(){var c=this.sessionConfig.sampleRate,l=this.getUUID(),f=(0,n.getCurrentTime)(),d=(0,t.performDraw)(100*c),h=l+"-"+(d?1:0)+"-"+f+"-"+f;return localStorage.setItem(o,h),{sessionId:l,sampled:d,startTime:f,lastTime:f,isNew:!0}},a.getUUID=function(){return(0,t.generateGUID)().replace(/-/g,"")},a.fixSessionConfig=function(c){c===void 0&&(c={});var l=c,f=l.sampleRate,d=l.maxDuration,h=l.overtime;return(!(0,t.isNumber)(f)||0>f||1<f)&&(f=1),(!(0,t.isNumber)(d)||d<4*t.ONE_HOUR||d>t.ONE_DAY)&&(d=t.ONE_DAY),(!(0,t.isNumber)(h)||h>t.ONE_HOUR||h<10*t.ONE_MINUTE)&&(h=t.ONE_HOUR),{sampleRate:f,maxDuration:d,overtime:h}},a.getBaseEvent=function(){var c={timestamp:(0,n.getCurrentTime)(),session_id:this.getSessionId(),event_id:this.getEventId(),view:this.ctx?(0,r.getCurView)(this.ctx):void 0,times:1};return c},s}()})(zm);(function(e){var t=it.exports;e.__esModule=!0,e.default=e.ArmsRum=void 0;var n=t(St.exports),r=t(ia.exports),i=ht,o=t(Am),s=t(Sm),a=t($m),u=t(Lm),c=t(Fm),l=t(Bm),f=t(km),d=t(Mm),h=t(jm),p=t(Um),g=t(Hm),m=$t,y=zm,_=e.ArmsRum=function(v){function E(){for(var I,L=arguments.length,G=Array(L),M=0;M<L;M++)G[M]=arguments[M];return I=v.call.apply(v,[this].concat(G))||this,I.version=m.VERSION,I}(0,r.default)(E,v);var T=E.prototype;return T.init=function(L){this.client.useCollectors([new o.default,new u.default,new c.default,new s.default,new a.default,new l.default,new f.default,new d.default]),this.client.useProcessors([new h.default,new p.default]),this.client.useReporter(new g.default),this.client.init(L,new y.RumSession)},T.getConfig=function(){return this.client.getContext().getConfig()},T.setConfig=function(){var L=this.client.getContext();if(arguments.length===2){var G,M=this.client.getContext(),W=M.getConfig();M.setConfig((0,n.default)({},W,(G={},G[0>=arguments.length?void 0:arguments[0]]=1>=arguments.length?void 0:arguments[1],G)))}else L.setConfig(0>=arguments.length?void 0:arguments[0])},E}(i.Shell);e.default=new _(m.global.__rum)})(tm);(function(e){var t=r(tm);e.__esModule=!0,e.default=void 0,e.ArmsRum=t.ArmsRum;function n(i){if(typeof WeakMap!="function")return null;var o=new WeakMap,s=new WeakMap;return(n=function(a){return a?s:o})(i)}function r(i,o){if(!o&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var s=n(o);if(s&&s.has(i))return s.get(i);var a={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in i)if(c!="default"&&{}.hasOwnProperty.call(i,c)){var l=u?Object.getOwnPropertyDescriptor(i,c):null;l&&(l.get||l.set)?Object.defineProperty(a,c,l):a[c]=i[c]}return a.default=i,s&&s.set(i,a),a}e.default=t.default})(em);var ZN=Kw(em);const Ud=CT(),QN=()=>{var r;const e=gn("niimbotUserAgent")||gn("userAgent"),t=wT();if(!e)return{};const n=bv(e);return{tags:`${(r=n.referer)!=null&&r.startsWith("CP001")?"niimbot":"niim"}-${t}`,name:n.DeviceId,deviceType:n.referer,deviceBrand:n.Model,osVersion:n.SystemVersion}},za=Js(),e6=["theme","activity","invoice","app-permanently-free-of-charge","niimbot/help-center"],t6=()=>{window.global=window.global||window;const{deviceBrand:e,deviceType:t,name:n,osVersion:r,tags:i}=QN();ZN.init({pid:"cub37n4jaq@be893f8b62265c7",endpoint:"https://cub37n4jaq-default-cn.rum.aliyuncs.com",spaMode:"history",version:"1.0.0",user:{name:n,tags:i},device:{type:t,brand:e},os:{version:r},collectors:{staticResource:Ud&&za!=="local",api:Ud},whiteScreen:{detectionRules:[{target:"#app",test_when:["LOAD","ERROR"],delay:5e3,tester:"SCREENSHOT",configOptions:{colorRange:["rgb(255, 255, 255)","rgb(0, 0, 0)"],threshold:.9,pixels:10}}]},beforeReport:o=>{var a;const s=o.events.find(u=>u.loading_type==="initial_load");if((s==null?void 0:s.name)==="/"||((a=s==null?void 0:s.view)==null?void 0:a.name)==="/")return!1;if(za==="local"||e6.some(u=>{var c;return(c=o==null?void 0:o.view)==null?void 0:c.name.includes(u)}))return o},evaluateApi:(o,s,a)=>jt(void 0,null,function*(){var u,c;return{snapshots:JSON.stringify({url:o.url,query:o.data,method:o.method,languageCode:(u=o.headers)==null?void 0:u.languageCode,niimbotUserAgent:(c=o.headers)==null?void 0:c["niimbot-user-agent"],response:s.substring(0,500),error:a})}}),env:{pro:"prod",fat:"daily",local:"local"}[za]})},n6={props:{tag:{type:String,default:"span"}},data(){return{lang:localStorage.getItem("lang")}}};function r6(e,t,n,r,i,o){return Se(),Qe(xh(n.tag),rt(e.$attrs,{class:["no-flip-over",i.lang==="ar"?"text-right":"text-left"]}),{default:Me(()=>[o0(e.$slots,"default")]),_:3},16,["class"])}var i6=sn(n6,[["render",r6]]);t6();$T();const ai=tp(P_);os.locale("zh-cn");const Hd=Js();(Hd==="fat"||Hd==="local")&&X(()=>import("./eruda.54736789.js").then(function(e){return e.e}),[]).then(({default:e})=>{e.init()});ai.use(ts).use(Ge).use(_E).use(Eb).use(He).use(to).use(Mb).use(t1).use(e1).use(Ds).use(mb).use($1).use(Kb).use(b1).use(Jr).use(T1).use(xb).use(Ob).use(H1,{lazyComponent:!0}).use(kE).use(aE).use(OE).use(DE).use(Qy).use(m1).use(Ye).use(c1).use(Db).use(kb).use(s1);ai.use(Zv);ai.use(qo,nn.init());ai.component("no-flip-over",i6);ai.config.errorHandler=(e,t,n)=>{var r;console.error("\u5168\u5C40\u5F02\u5E38\u6355\u83B7:",e,t,n),(r=window==null?void 0:window.android)!=null&&r.closeWebview&&ao("closeWebview",JSON.stringify({closeType:"close"}))};ai.mount("#app");export{xl as $,_6 as A,Jv as B,Gh as C,Ge as D,gn as E,c6 as F,lt as G,qe as H,Uu as I,TT as J,os as K,Zs as L,Al as M,i6 as N,Sn as O,Lv as P,Mv as Q,$l as R,Rl as S,He as T,Gv as U,OL as V,Ll as W,rI as X,Wv as Y,ZL as Z,sn as _,s6 as __vite_legacy_guard,Ae as a,mr as a$,Il as a0,io as a1,Ww as a2,Js as a3,nn as a4,E6 as a5,m6 as a6,g6 as a7,ku as a8,ps as a9,rB as aA,Yn as aB,vr as aC,Wr as aD,ao as aE,A6 as aF,b6 as aG,w6 as aH,T6 as aI,bT as aJ,Bg as aK,hN as aL,x6 as aM,Xv as aN,ft as aO,wT as aP,lh as aQ,on as aR,hg as aS,a6 as aT,Ng as aU,nB as aV,h6 as aW,p6 as aX,Ss as aY,d6 as aZ,qr as a_,y6 as aa,Nd as ab,ce as ac,$6 as ad,u6 as ae,$e as af,Pe as ag,o0 as ah,sF as ai,eF as aj,jF as ak,An as al,Nv as am,TF as an,R5 as ao,EF as ap,wl as aq,Iv as ar,oo as as,bu as at,Pv as au,Xi as av,FP as aw,qF as ax,C6 as ay,S6 as az,Eh as b,A_ as b0,We as c,pe as d,tn as e,x as f,Kw as g,Ln as h,Qe as i,xh as j,Ms as k,l6 as l,v6 as m,se as n,Se as o,yh as p,Xe as q,mt as r,ET as s,et as t,ks as u,fr as v,Me as w,be as x,Nt as y,Xn as z};
