mirror of
https://gitee.com/myxzgzs/boyue-kfcode-hasfj.git
synced 2025-06-21 17:59:37 +08:00
28 lines
154 KiB
JavaScript
28 lines
154 KiB
JavaScript
import{d as ec,l as tc}from"./user-Bxl06CMk.js";import{a7 as Ft,a8 as an,a9 as Ot,aa as Me,ab as Y,ac as Bt,ad as wr,ae as nc,af as co,ag as Xe,ah as rc,ai as uo,aj as ic,ak as Fe,al as fo,am as rs,an as sc,ao as oc,ap as ac,aq as lc,ar as cc,as as ln,at as uc,au as fc,av as hc,g as dc,_ as ho,c as po,e as D,w as $,j as Q,f as Qt,F as Be,R as He,l as mo,m as ct,H as vo,h as de,i as Oe,B as $t,o as ie}from"./index-CrAWI0wi.js";import"./vue-treeselect-DSnm48_Q.js";import{S as Yt}from"./StrUtil-DZsLURBF.js";import{l as pc}from"./role-pNEACQin.js";var Xn={exports:{}},Un={exports:{}},$n={exports:{}},is;function mc(){return is||(is=1,function(e){function t(n){if(Array.isArray(n))return n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}($n)),$n.exports}var zn={exports:{}},ss;function vc(){return ss||(ss=1,function(e){function t(n,i){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var a,l,h,u,d=[],m=!0,v=!1;try{if(h=(s=s.call(n)).next,i===0){if(Object(s)!==s)return;m=!1}else for(;!(m=(a=h.call(s)).done)&&(d.push(a.value),d.length!==i);m=!0);}catch(_){v=!0,l=_}finally{try{if(!m&&s.return!=null&&(u=s.return(),Object(u)!==u))return}finally{if(v)throw l}}return d}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(zn)),zn.exports}var qn={exports:{}},Wn={exports:{}},os;function go(){return os||(os=1,function(e){function t(n,i){(i==null||i>n.length)&&(i=n.length);for(var s=0,a=Array(i);s<i;s++)a[s]=n[s];return a}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Wn)),Wn.exports}var as;function _o(){return as||(as=1,function(e){var t=go();function n(i,s){if(i){if(typeof i=="string")return t(i,s);var a={}.toString.call(i).slice(8,-1);return a==="Object"&&i.constructor&&(a=i.constructor.name),a==="Map"||a==="Set"?Array.from(i):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?t(i,s):void 0}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(qn)),qn.exports}var Kn={exports:{}},ls;function gc(){return ls||(ls=1,function(e){function t(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Kn)),Kn.exports}var cs;function _c(){return cs||(cs=1,function(e){var t=mc(),n=vc(),i=_o(),s=gc();function a(l,h){return t(l)||n(l,h)||i(l,h)||s()}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports}(Un)),Un.exports}var Gn={exports:{}},Jn={exports:{}},us;function Sc(){return us||(us=1,function(e){var t=go();function n(i){if(Array.isArray(i))return t(i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Jn)),Jn.exports}var Qn={exports:{}},fs;function Ec(){return fs||(fs=1,function(e){function t(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Qn)),Qn.exports}var Yn={exports:{}},hs;function yc(){return hs||(hs=1,function(e){function t(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Yn)),Yn.exports}var ds;function Tc(){return ds||(ds=1,function(e){var t=Sc(),n=Ec(),i=_o(),s=yc();function a(l){return t(l)||n(l)||i(l)||s()}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports}(Gn)),Gn.exports}var Zn={exports:{}},er={exports:{}},tr={exports:{}},ps;function Pr(){return ps||(ps=1,function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(tr)),tr.exports}var nr={exports:{}},ms;function Nc(){return ms||(ms=1,function(e){var t=Pr().default;function n(i,s){if(t(i)!="object"||!i)return i;var a=i[Symbol.toPrimitive];if(a!==void 0){var l=a.call(i,s||"default");if(t(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(nr)),nr.exports}var vs;function Oc(){return vs||(vs=1,function(e){var t=Pr().default,n=Nc();function i(s){var a=n(s,"string");return t(a)=="symbol"?a:a+""}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports}(er)),er.exports}var gs;function bc(){return gs||(gs=1,function(e){var t=Oc();function n(i,s,a){return(s=t(s))in i?Object.defineProperty(i,s,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[s]=a,i}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Zn)),Zn.exports}var rr,_s;function Ic(){if(_s)return rr;_s=1;function e(t,n){var i=n.length,s=t.length;if(s>i)return!1;if(s===i)return t===n;e:for(var a=0,l=0;a<s;a++){for(var h=t.charCodeAt(a);l<i;)if(n.charCodeAt(l++)===h)continue e;return!1}return!0}return rr=e,rr}var ir,Ss;function Cc(){if(Ss)return ir;Ss=1;function e(){}return ir=e,ir}var sr,Es;function So(){if(Es)return sr;Es=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return sr=e,sr}var or,ys;function Ac(){if(ys)return or;ys=1;var e=typeof Ft=="object"&&Ft&&Ft.Object===Object&&Ft;return or=e,or}var ar,Ts;function Eo(){if(Ts)return ar;Ts=1;var e=Ac(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return ar=n,ar}var lr,Ns;function Rc(){if(Ns)return lr;Ns=1;var e=Eo(),t=function(){return e.Date.now()};return lr=t,lr}var cr,Os;function Lc(){if(Os)return cr;Os=1;var e=/\s/;function t(n){for(var i=n.length;i--&&e.test(n.charAt(i)););return i}return cr=t,cr}var ur,bs;function Mc(){if(bs)return ur;bs=1;var e=Lc(),t=/^\s+/;function n(i){return i&&i.slice(0,e(i)+1).replace(t,"")}return ur=n,ur}var fr,Is;function yo(){if(Is)return fr;Is=1;var e=Eo(),t=e.Symbol;return fr=t,fr}var hr,Cs;function xc(){if(Cs)return hr;Cs=1;var e=yo(),t=Object.prototype,n=t.hasOwnProperty,i=t.toString,s=e?e.toStringTag:void 0;function a(l){var h=n.call(l,s),u=l[s];try{l[s]=void 0;var d=!0}catch{}var m=i.call(l);return d&&(h?l[s]=u:delete l[s]),m}return hr=a,hr}var dr,As;function Dc(){if(As)return dr;As=1;var e=Object.prototype,t=e.toString;function n(i){return t.call(i)}return dr=n,dr}var pr,Rs;function wc(){if(Rs)return pr;Rs=1;var e=yo(),t=xc(),n=Dc(),i="[object Null]",s="[object Undefined]",a=e?e.toStringTag:void 0;function l(h){return h==null?h===void 0?s:i:a&&a in Object(h)?t(h):n(h)}return pr=l,pr}var mr,Ls;function Pc(){if(Ls)return mr;Ls=1;function e(t){return t!=null&&typeof t=="object"}return mr=e,mr}var vr,Ms;function Vc(){if(Ms)return vr;Ms=1;var e=wc(),t=Pc(),n="[object Symbol]";function i(s){return typeof s=="symbol"||t(s)&&e(s)==n}return vr=i,vr}var gr,xs;function To(){if(xs)return gr;xs=1;var e=Mc(),t=So(),n=Vc(),i=NaN,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,h=parseInt;function u(d){if(typeof d=="number")return d;if(n(d))return i;if(t(d)){var m=typeof d.valueOf=="function"?d.valueOf():d;d=t(m)?m+"":m}if(typeof d!="string")return d===0?d:+d;d=e(d);var v=a.test(d);return v||l.test(d)?h(d.slice(2),v?2:8):s.test(d)?i:+d}return gr=u,gr}var _r,Ds;function kc(){if(Ds)return _r;Ds=1;var e=So(),t=Rc(),n=To(),i="Expected a function",s=Math.max,a=Math.min;function l(h,u,d){var m,v,_,E,T,S,b=0,I=!1,R=!1,K=!0;if(typeof h!="function")throw new TypeError(i);u=n(u)||0,e(d)&&(I=!!d.leading,R="maxWait"in d,_=R?s(n(d.maxWait)||0,u):_,K="trailing"in d?!!d.trailing:K);function _e(O){var k=m,B=v;return m=v=void 0,b=O,E=h.apply(B,k),E}function z(O){return b=O,T=setTimeout(L,u),I?_e(O):E}function ce(O){var k=O-S,B=O-b,ue=u-k;return R?a(ue,_-B):ue}function ne(O){var k=O-S,B=O-b;return S===void 0||k>=u||k<0||R&&B>=_}function L(){var O=t();if(ne(O))return N(O);T=setTimeout(L,ce(O))}function N(O){return T=void 0,K&&m?_e(O):(m=v=void 0,E)}function w(){T!==void 0&&clearTimeout(T),b=0,m=S=v=T=void 0}function P(){return T===void 0?E:N(t())}function A(){var O=t(),k=ne(O);if(m=arguments,v=this,S=O,k){if(T===void 0)return z(S);if(R)return clearTimeout(T),T=setTimeout(L,u),_e(S)}return T===void 0&&(T=setTimeout(L,u)),E}return A.cancel=w,A.flush=P,A}return _r=l,_r}var Fc=function(e,t){var n=document.createElement("_"),i=n.appendChild(document.createElement("_")),s=n.appendChild(document.createElement("_")),a=i.appendChild(document.createElement("_")),l=void 0,h=void 0;return i.style.cssText=n.style.cssText="height:100%;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:0s;width:100%;z-index:-1",a.style.cssText=s.style.cssText="display:block;height:100%;transition:0s;width:100%",a.style.width=a.style.height="200%",e.appendChild(n),u(),m;function u(){d();var v=e.offsetWidth,_=e.offsetHeight;(v!==l||_!==h)&&(l=v,h=_,s.style.width=v*2+"px",s.style.height=_*2+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight,t({width:v,height:_})),i.addEventListener("scroll",u),n.addEventListener("scroll",u)}function d(){i.removeEventListener("scroll",u),n.removeEventListener("scroll",u)}function m(){d(),e.removeChild(n)}};const Bc=Object.freeze(Object.defineProperty({__proto__:null,default:Fc},Symbol.toStringTag,{value:"Module"})),Hc=an(Bc);var Ht={exports:{}},ws;function jc(){if(ws)return Ht.exports;ws=1,Ht.exports=e,Ht.exports.default=e;function e(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}return Ht.exports}var Sr,Ps;function Xc(){if(Ps)return Sr;Ps=1;var e=To(),t=1/0,n=17976931348623157e292;function i(s){if(!s)return s===0?s:0;if(s=e(s),s===t||s===-1/0){var a=s<0?-1:1;return a*n}return s===s?s:0}return Sr=i,Sr}var Er,Vs;function Uc(){if(Vs)return Er;Vs=1;var e=Xc();function t(n){var i=e(n),s=i%1;return i===i?s?i-s:i:0}return Er=t,Er}var yr,ks;function $c(){if(ks)return yr;ks=1;var e=Uc(),t="Expected a function";function n(i,s){var a;if(typeof s!="function")throw new TypeError(t);return i=e(i),function(){return--i>0&&(a=s.apply(this,arguments)),i<=1&&(s=void 0),a}}return yr=n,yr}var Tr,Fs;function zc(){if(Fs)return Tr;Fs=1;var e=$c();function t(n){return e(2,n)}return Tr=t,Tr}var Nr,Bs;function qc(){if(Bs)return Nr;Bs=1;function e(t){return t}return Nr=e,Nr}var Or,Hs;function Wc(){if(Hs)return Or;Hs=1;function e(t){return function(){return t}}return Or=e,Or}var br,js;function Kc(){if(js)return br;js=1;function e(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}return br=e,br}var Ir,Xs;function Gc(){if(Xs)return Ir;Xs=1;var e=/^(attrs|props|on|nativeOn|class|style|hook)$/;Ir=function(i){return i.reduce(function(s,a){var l,h,u,d,m;for(u in a)if(l=s[u],h=a[u],l&&e.test(u))if(u==="class"&&(typeof l=="string"&&(m=l,s[u]=l={},l[m]=!0),typeof h=="string"&&(m=h,a[u]=h={},h[m]=!0)),u==="on"||u==="nativeOn"||u==="hook")for(d in h)l[d]=t(l[d],h[d]);else if(Array.isArray(l))s[u]=l.concat(h);else if(Array.isArray(h))s[u]=[l].concat(h);else for(d in h)l[d]=h[d];else s[u]=a[u];return s},{})};function t(n,i){return function(){n&&n.apply(this,arguments),i&&i.apply(this,arguments)}}return Ir}var Cr={exports:{}},Ar={};/**
|
||
* @vue/compiler-core v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const ft=Symbol(""),ut=Symbol(""),cn=Symbol(""),bt=Symbol(""),Vr=Symbol(""),$e=Symbol(""),kr=Symbol(""),Fr=Symbol(""),un=Symbol(""),fn=Symbol(""),gt=Symbol(""),hn=Symbol(""),Br=Symbol(""),dn=Symbol(""),pn=Symbol(""),mn=Symbol(""),vn=Symbol(""),gn=Symbol(""),_n=Symbol(""),Hr=Symbol(""),jr=Symbol(""),Mt=Symbol(""),It=Symbol(""),Sn=Symbol(""),En=Symbol(""),ht=Symbol(""),_t=Symbol(""),yn=Symbol(""),Zt=Symbol(""),No=Symbol(""),en=Symbol(""),Ct=Symbol(""),Oo=Symbol(""),bo=Symbol(""),Tn=Symbol(""),Io=Symbol(""),Co=Symbol(""),Nn=Symbol(""),Xr=Symbol(""),et={[ft]:"Fragment",[ut]:"Teleport",[cn]:"Suspense",[bt]:"KeepAlive",[Vr]:"BaseTransition",[$e]:"openBlock",[kr]:"createBlock",[Fr]:"createElementBlock",[un]:"createVNode",[fn]:"createElementVNode",[gt]:"createCommentVNode",[hn]:"createTextVNode",[Br]:"createStaticVNode",[dn]:"resolveComponent",[pn]:"resolveDynamicComponent",[mn]:"resolveDirective",[vn]:"resolveFilter",[gn]:"withDirectives",[_n]:"renderList",[Hr]:"renderSlot",[jr]:"createSlots",[Mt]:"toDisplayString",[It]:"mergeProps",[Sn]:"normalizeClass",[En]:"normalizeStyle",[ht]:"normalizeProps",[_t]:"guardReactiveProps",[yn]:"toHandlers",[Zt]:"camelize",[No]:"capitalize",[en]:"toHandlerKey",[Ct]:"setBlockTracking",[Oo]:"pushScopeId",[bo]:"popScopeId",[Tn]:"withCtx",[Io]:"unref",[Co]:"isRef",[Nn]:"withMemo",[Xr]:"isMemoSame"};function Ao(e){Object.getOwnPropertySymbols(e).forEach(t=>{et[t]=e[t]})}const Jc={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},Qc={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},Yc={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},Zc={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Z={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ro(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Z}}function dt(e,t,n,i,s,a,l,h=!1,u=!1,d=!1,m=Z){return e&&(h?(e.helper($e),e.helper(rt(e.inSSR,d))):e.helper(nt(e.inSSR,d)),l&&e.helper(gn)),{type:13,tag:t,props:n,children:i,patchFlag:s,dynamicProps:a,directives:l,isBlock:h,disableTracking:u,isComponent:d,loc:m}}function Ue(e,t=Z){return{type:17,loc:t,elements:e}}function ge(e,t=Z){return{type:15,loc:t,properties:e}}function W(e,t){return{type:16,loc:Z,key:Y(e)?C(e,!0):e,value:t}}function C(e,t=!1,n=Z,i=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:i}}function eu(e,t){return{type:5,loc:t,content:Y(e)?C(e,!1,t):e}}function Ee(e,t=Z){return{type:8,loc:t,children:e}}function J(e,t=[],n=Z){return{type:14,loc:n,callee:e,arguments:t}}function tt(e,t=void 0,n=!1,i=!1,s=Z){return{type:18,params:e,returns:t,newline:n,isSlot:i,loc:s}}function tn(e,t,n,i=!0){return{type:19,test:e,consequent:t,alternate:n,newline:i,loc:Z}}function Lo(e,t,n=!1,i=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:i,needArraySpread:!1,loc:Z}}function Mo(e){return{type:21,body:e,loc:Z}}function tu(e){return{type:22,elements:e,loc:Z}}function nu(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:Z}}function ru(e,t){return{type:24,left:e,right:t,loc:Z}}function iu(e){return{type:25,expressions:e,loc:Z}}function su(e){return{type:26,returns:e,loc:Z}}function nt(e,t){return e||t?un:fn}function rt(e,t){return e||t?kr:Fr}function On(e,{helper:t,removeHelper:n,inSSR:i}){e.isBlock||(e.isBlock=!0,n(nt(i,e.isComponent)),t($e),t(rt(i,e.isComponent)))}const Us=new Uint8Array([123,123]),$s=new Uint8Array([125,125]);function zs(e){return e>=97&&e<=122||e>=65&&e<=90}function ve(e){return e===32||e===10||e===9||e===12||e===13}function Ve(e){return e===47||e===62||ve(e)}function nn(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const re={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class ou{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Us,this.delimiterClose=$s,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Us,this.delimiterClose=$s}getPos(t){let n=1,i=t+1;for(let s=this.newlines.length-1;s>=0;s--){const a=this.newlines[s];if(t>a){n=s+2,i=t-a;break}}return{column:i,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?Ve(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||ve(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const i=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=i}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===re.TitleEnd||this.currentSequence===re.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===re.Cdata[this.sequenceIndex]?++this.sequenceIndex===re.Cdata.length&&(this.state=28,this.currentSequence=re.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===re.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):zs(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Ve(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Ve(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(nn("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){ve(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=zs(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||ve(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ve(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ve(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||Ve(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||Ve(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Ve(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Ve(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||Ve(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):ve(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):ve(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){ve(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=re.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===re.ScriptEnd[3]?this.startSpecial(re.ScriptEnd,4):t===re.StyleEnd[3]?this.startSpecial(re.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===re.TitleEnd[3]?this.startSpecial(re.TitleEnd,4):t===re.TextareaEnd[3]?this.startSpecial(re.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===re.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const au={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},lu={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Lr(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Ze(e,t){const n=Lr("MODE",t),i=Lr(e,t);return n===3?i===!0:i!==!1}function pt(e,t,n,...i){return Ze(e,t)}function cu(e,t,n,...i){if(Lr(e,t)==="suppress-warning")return;const{message:a,link:l}=lu[e],h=`(deprecation ${e}) ${typeof a=="function"?a(...i):a}${l?`
|
||
Details: ${l}`:""}`,u=new SyntaxError(h);u.code=e,n&&(u.loc=n),t.onWarn(u)}function Ur(e){throw e}function xo(e){}function X(e,t,n,i){const s=`https://vuejs.org/error-reference/#compiler-${e}`,a=new SyntaxError(String(s));return a.code=e,a.loc=t,a}const uu={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},fu={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
||
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function hu(e,t,n=!1,i=[],s=Object.create(null)){}function du(e,t,n){return!1}function pu(e,t){if(e&&(e.type==="ObjectProperty"||e.type==="ArrayPattern")){let n=t.length;for(;n--;){const i=t[n];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function mu(e){let t=e.length;for(;t--;){const n=e[t];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function vu(e,t){for(const n of e.params)for(const i of Le(n))t(i)}function gu(e,t){for(const n of e.body)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const i of n.declarations)for(const s of Le(i.id))t(s)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;t(n.id)}else _u(n)&&Su(n,!0,t)}function _u(e){return e.type==="ForOfStatement"||e.type==="ForInStatement"||e.type==="ForStatement"}function Su(e,t,n){const i=e.type==="ForStatement"?e.init:e.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"&&t))for(const s of i.declarations)for(const a of Le(s.id))n(a)}function Le(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;n.type==="MemberExpression";)n=n.object;t.push(n);break;case"ObjectPattern":for(const i of e.properties)i.type==="RestElement"?Le(i.argument,t):Le(i.value,t);break;case"ArrayPattern":e.elements.forEach(i=>{i&&Le(i,t)});break;case"RestElement":Le(e.argument,t);break;case"AssignmentPattern":Le(e.left,t);break}return t}const Eu=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Do=e=>e&&(e.type==="ObjectProperty"||e.type==="ObjectMethod")&&!e.computed,yu=(e,t)=>Do(t)&&t.key===e,wo=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Po(e){return wo.includes(e.type)?Po(e.expression):e}const le=e=>e.type===4&&e.isStatic;function $r(e){switch(e){case"Teleport":case"teleport":return ut;case"Suspense":case"suspense":return cn;case"KeepAlive":case"keep-alive":return bt;case"BaseTransition":case"base-transition":return Vr}}const Tu=/^\d|[^\$\w\xA0-\uFFFF]/,xt=e=>!Tu.test(e),Nu=/[A-Za-z_$\xA0-\uFFFF]/,Ou=/[\.\?\w$\xA0-\uFFFF]/,bu=/\s+[.[]\s*|\s*[.[]\s+/g,Vo=e=>e.type===4?e.content:e.loc.source,ko=e=>{const t=Vo(e).trim().replace(bu,h=>h.trim());let n=0,i=[],s=0,a=0,l=null;for(let h=0;h<t.length;h++){const u=t.charAt(h);switch(n){case 0:if(u==="[")i.push(n),n=1,s++;else if(u==="(")i.push(n),n=2,a++;else if(!(h===0?Nu:Ou).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(i.push(n),n=3,l=u):u==="["?s++:u==="]"&&(--s||(n=i.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")i.push(n),n=3,l=u;else if(u==="(")a++;else if(u===")"){if(h===t.length-1)return!1;--a||(n=i.pop())}break;case 3:u===l&&(n=i.pop(),l=null);break}}return!s&&!a},Iu=Ot,zr=ko,Cu=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Fo=e=>Cu.test(Vo(e)),Au=Ot,Bo=Fo;function Ru(e,t,n=t.length){return Ho({offset:e.offset,line:e.line,column:e.column},t,n)}function Ho(e,t,n=t.length){let i=0,s=-1;for(let a=0;a<n;a++)t.charCodeAt(a)===10&&(i++,s=a);return e.offset+=n,e.line+=i,e.column=s===-1?e.column+n:n-s,e}function Lu(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function ae(e,t,n=!1){for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===7&&(n||s.exp)&&(Y(t)?s.name===t:t.test(s.name)))return s}}function Dt(e,t,n=!1,i=!1){for(let s=0;s<e.props.length;s++){const a=e.props[s];if(a.type===6){if(n)continue;if(a.name===t&&(a.value||i))return a}else if(a.name==="bind"&&(a.exp||i)&&je(a.arg,t))return a}}function je(e,t){return!!(e&&le(e)&&e.content===t)}function jo(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function zt(e){return e.type===5||e.type===2}function qr(e){return e.type===7&&e.name==="slot"}function mt(e){return e.type===1&&e.tagType===3}function At(e){return e.type===1&&e.tagType===2}const Mu=new Set([ht,_t]);function Xo(e,t=[]){if(e&&!Y(e)&&e.type===14){const n=e.callee;if(!Y(n)&&Mu.has(n))return Xo(e.arguments[0],t.concat(e))}return[e,t]}function Rt(e,t,n){let i,s=e.type===13?e.props:e.arguments[2],a=[],l;if(s&&!Y(s)&&s.type===14){const h=Xo(s);s=h[0],a=h[1],l=a[a.length-1]}if(s==null||Y(s))i=ge([t]);else if(s.type===14){const h=s.arguments[0];!Y(h)&&h.type===15?qs(t,h)||h.properties.unshift(t):s.callee===yn?i=J(n.helper(It),[ge([t]),s]):s.arguments.unshift(ge([t])),!i&&(i=s)}else s.type===15?(qs(t,s)||s.properties.unshift(t),i=s):(i=J(n.helper(It),[ge([t]),s]),l&&l.callee===_t&&(l=a[a.length-2]));e.type===13?l?l.arguments[0]=i:e.props=i:l?l.arguments[0]=i:e.arguments[2]=i}function qs(e,t){let n=!1;if(e.key.type===4){const i=e.key.content;n=t.properties.some(s=>s.key.type===4&&s.key.content===i)}return n}function vt(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,i)=>n==="-"?"_":e.charCodeAt(i).toString())}`}function Te(e,t){if(!e||Object.keys(t).length===0)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const i=e.props[n];if(i.type===7&&(Te(i.arg,t)||Te(i.exp,t)))return!0}return e.children.some(n=>Te(n,t));case 11:return Te(e.source,t)?!0:e.children.some(n=>Te(n,t));case 9:return e.branches.some(n=>Te(n,t));case 10:return Te(e.condition,t)?!0:e.children.some(n=>Te(n,t));case 4:return!e.isStatic&&xt(e.content)&&!!t[e.content];case 8:return e.children.some(n=>uo(n)&&Te(n,t));case 5:case 12:return Te(e.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Uo(e){return e.type===14&&e.callee===Nn?e.arguments[1].returns:e}const $o=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,zo={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Bt,isPreTag:Bt,isIgnoreNewlineTag:Bt,isCustomElement:Bt,onError:Ur,onWarn:xo,comments:!1,prefixIdentifiers:!1};let F=zo,Lt=null,xe="",se=null,V=null,he="",Re=-1,Qe=-1,Wr=0,ke=!1,Mr=null;const U=[],q=new ou(U,{onerr:Ae,ontext(e,t){jt(te(e,t),e,t)},ontextentity(e,t,n){jt(e,t,n)},oninterpolation(e,t){if(ke)return jt(te(e,t),e,t);let n=e+q.delimiterOpen.length,i=t-q.delimiterClose.length;for(;ve(xe.charCodeAt(n));)n++;for(;ve(xe.charCodeAt(i-1));)i--;let s=te(n,i);s.includes("&")&&(s=F.decodeEntities(s,!1)),xr({type:5,content:Wt(s,!1,G(n,i)),loc:G(e,t)})},onopentagname(e,t){const n=te(e,t);se={type:1,tag:n,ns:F.getNamespace(n,U[0],F.ns),tagType:0,props:[],children:[],loc:G(e-1,t),codegenNode:void 0}},onopentagend(e){Ks(e)},onclosetag(e,t){const n=te(e,t);if(!F.isVoidTag(n)){let i=!1;for(let s=0;s<U.length;s++)if(U[s].tag.toLowerCase()===n.toLowerCase()){i=!0,s>0&&Ae(24,U[0].loc.start.offset);for(let l=0;l<=s;l++){const h=U.shift();qt(h,t,l<s)}break}i||Ae(23,qo(e,60))}},onselfclosingtag(e){const t=se.tag;se.isSelfClosing=!0,Ks(e),U[0]&&U[0].tag===t&&qt(U.shift(),e)},onattribname(e,t){V={type:6,name:te(e,t),nameLoc:G(e,t),value:void 0,loc:G(e)}},ondirname(e,t){const n=te(e,t),i=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!ke&&i===""&&Ae(26,e),ke||i==="")V={type:6,name:n,nameLoc:G(e,t),value:void 0,loc:G(e)};else if(V={type:7,name:i,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[C("prop")]:[],loc:G(e)},i==="pre"){ke=q.inVPre=!0,Mr=se;const s=se.props;for(let a=0;a<s.length;a++)s[a].type===7&&(s[a]=Xu(s[a]))}},ondirarg(e,t){if(e===t)return;const n=te(e,t);if(ke)V.name+=n,Ye(V.nameLoc,t);else{const i=n[0]!=="[";V.arg=Wt(i?n:n.slice(1,-1),i,G(e,t),i?3:0)}},ondirmodifier(e,t){const n=te(e,t);if(ke)V.name+="."+n,Ye(V.nameLoc,t);else if(V.name==="slot"){const i=V.arg;i&&(i.content+="."+n,Ye(i.loc,t))}else{const i=C(n,!0,G(e,t));V.modifiers.push(i)}},onattribdata(e,t){he+=te(e,t),Re<0&&(Re=e),Qe=t},onattribentity(e,t,n){he+=e,Re<0&&(Re=t),Qe=n},onattribnameend(e){const t=V.loc.start.offset,n=te(t,e);V.type===7&&(V.rawName=n),se.props.some(i=>(i.type===7?i.rawName:i.name)===n)&&Ae(2,t)},onattribend(e,t){if(se&&V){if(Ye(V.loc,t),e!==0)if(he.includes("&")&&(he=F.decodeEntities(he,!0)),V.type===6)V.name==="class"&&(he=Ko(he).trim()),e===1&&!he&&Ae(13,t),V.value={type:2,content:he,loc:e===1?G(Re,Qe):G(Re-1,Qe+1)},q.inSFCRoot&&se.tag==="template"&&V.name==="lang"&&he&&he!=="html"&&q.enterRCDATA(nn("</template"),0);else{let n=0;V.exp=Wt(he,!1,G(Re,Qe),0,n),V.name==="for"&&(V.forParseResult=Du(V.exp));let i=-1;V.name==="bind"&&(i=V.modifiers.findIndex(s=>s.content==="sync"))>-1&&pt("COMPILER_V_BIND_SYNC",F,V.loc,V.rawName)&&(V.name="model",V.modifiers.splice(i,1))}(V.type!==7||V.name!=="pre")&&se.props.push(V)}he="",Re=Qe=-1},oncomment(e,t){F.comments&&xr({type:3,content:te(e,t),loc:G(e-4,t+3)})},onend(){const e=xe.length;for(let t=0;t<U.length;t++)qt(U[t],e-1),Ae(24,U[t].loc.start.offset)},oncdata(e,t){U[0].ns!==0?jt(te(e,t),e,t):Ae(1,e-9)},onprocessinginstruction(e){(U[0]?U[0].ns:F.ns)===0&&Ae(21,e-1)}}),Ws=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,xu=/^\(|\)$/g;function Du(e){const t=e.loc,n=e.content,i=n.match($o);if(!i)return;const[,s,a]=i,l=(v,_,E=!1)=>{const T=t.start.offset+_,S=T+v.length;return Wt(v,!1,G(T,S),0,E?1:0)},h={source:l(a.trim(),n.indexOf(a,s.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=s.trim().replace(xu,"").trim();const d=s.indexOf(u),m=u.match(Ws);if(m){u=u.replace(Ws,"").trim();const v=m[1].trim();let _;if(v&&(_=n.indexOf(v,d+u.length),h.key=l(v,_,!0)),m[2]){const E=m[2].trim();E&&(h.index=l(E,n.indexOf(E,h.key?_+v.length:d+u.length),!0))}}return u&&(h.value=l(u,d,!0)),h}function te(e,t){return xe.slice(e,t)}function Ks(e){q.inSFCRoot&&(se.innerLoc=G(e+1,e+1)),xr(se);const{tag:t,ns:n}=se;n===0&&F.isPreTag(t)&&Wr++,F.isVoidTag(t)?qt(se,e):(U.unshift(se),(n===1||n===2)&&(q.inXML=!0)),se=null}function jt(e,t,n){{const a=U[0]&&U[0].tag;a!=="script"&&a!=="style"&&e.includes("&")&&(e=F.decodeEntities(e,!1))}const i=U[0]||Lt,s=i.children[i.children.length-1];s&&s.type===2?(s.content+=e,Ye(s.loc,n)):i.children.push({type:2,content:e,loc:G(t,n)})}function qt(e,t,n=!1){n?Ye(e.loc,qo(t,60)):Ye(e.loc,wu(t,62)+1),q.inSFCRoot&&(e.children.length?e.innerLoc.end=Me({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Me({},e.innerLoc.start),e.innerLoc.source=te(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:i,ns:s,children:a}=e;if(ke||(i==="slot"?e.tagType=2:Gs(e)?e.tagType=3:Vu(e)&&(e.tagType=1)),q.inRCDATA||(e.children=Wo(a)),s===0&&F.isIgnoreNewlineTag(i)){const l=a[0];l&&l.type===2&&(l.content=l.content.replace(/^\r?\n/,""))}s===0&&F.isPreTag(i)&&Wr--,Mr===e&&(ke=q.inVPre=!1,Mr=null),q.inXML&&(U[0]?U[0].ns:F.ns)===0&&(q.inXML=!1);{const l=e.props;if(!q.inSFCRoot&&Ze("COMPILER_NATIVE_TEMPLATE",F)&&e.tag==="template"&&!Gs(e)){const u=U[0]||Lt,d=u.children.indexOf(e);u.children.splice(d,1,...e.children)}const h=l.find(u=>u.type===6&&u.name==="inline-template");h&&pt("COMPILER_INLINE_TEMPLATE",F,h.loc)&&e.children.length&&(h.value={type:2,content:te(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:h.loc})}}function wu(e,t){let n=e;for(;xe.charCodeAt(n)!==t&&n<xe.length-1;)n++;return n}function qo(e,t){let n=e;for(;xe.charCodeAt(n)!==t&&n>=0;)n--;return n}const Pu=new Set(["if","else","else-if","for","slot"]);function Gs({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Pu.has(t[n].name))return!0}return!1}function Vu({tag:e,props:t}){if(F.isCustomElement(e))return!1;if(e==="component"||ku(e.charCodeAt(0))||$r(e)||F.isBuiltInComponent&&F.isBuiltInComponent(e)||F.isNativeTag&&!F.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const i=t[n];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(pt("COMPILER_IS_ON_ELEMENT",F,i.loc))return!0}}else if(i.name==="bind"&&je(i.arg,"is")&&pt("COMPILER_IS_ON_ELEMENT",F,i.loc))return!0}return!1}function ku(e){return e>64&&e<91}const Fu=/\r\n/g;function Wo(e,t){const n=F.whitespace!=="preserve";let i=!1;for(let s=0;s<e.length;s++){const a=e[s];if(a.type===2)if(Wr)a.content=a.content.replace(Fu,`
|
||
`);else if(Bu(a.content)){const l=e[s-1]&&e[s-1].type,h=e[s+1]&&e[s+1].type;!l||!h||n&&(l===3&&(h===3||h===1)||l===1&&(h===3||h===1&&Hu(a.content)))?(i=!0,e[s]=null):a.content=" "}else n&&(a.content=Ko(a.content))}return i?e.filter(Boolean):e}function Bu(e){for(let t=0;t<e.length;t++)if(!ve(e.charCodeAt(t)))return!1;return!0}function Hu(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function Ko(e){let t="",n=!1;for(let i=0;i<e.length;i++)ve(e.charCodeAt(i))?n||(t+=" ",n=!0):(t+=e[i],n=!1);return t}function xr(e){(U[0]||Lt).children.push(e)}function G(e,t){return{start:q.getPos(e),end:t==null?t:q.getPos(t),source:t==null?t:te(e,t)}}function ju(e){return G(e.start.offset,e.end.offset)}function Ye(e,t){e.end=q.getPos(t),e.source=te(e.start.offset,t)}function Xu(e){const t={type:6,name:e.rawName,nameLoc:G(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function Wt(e,t=!1,n,i=0,s=0){return C(e,t,n,i)}function Ae(e,t,n){F.onError(X(e,G(t,t)))}function Uu(){q.reset(),se=null,V=null,he="",Re=-1,Qe=-1,U.length=0}function Kr(e,t){if(Uu(),xe=e,F=Me({},zo),t){let s;for(s in t)t[s]!=null&&(F[s]=t[s])}q.mode=F.parseMode==="html"?1:F.parseMode==="sfc"?2:0,q.inXML=F.ns===1||F.ns===2;const n=t&&t.delimiters;n&&(q.delimiterOpen=nn(n[0]),q.delimiterClose=nn(n[1]));const i=Lt=Ro([],e);return q.parse(xe),i.loc=G(0,e.length),i.children=Wo(i.children),Lt=null,i}function $u(e,t){Kt(e,void 0,t,Go(e,e.children[0]))}function Go(e,t){const{children:n}=e;return n.length===1&&t.type===1&&!At(t)}function Kt(e,t,n,i=!1,s=!1){const{children:a}=e,l=[];for(let m=0;m<a.length;m++){const v=a[m];if(v.type===1&&v.tagType===0){const _=i?0:pe(v,n);if(_>0){if(_>=2){v.codegenNode.patchFlag=-1,l.push(v);continue}}else{const E=v.codegenNode;if(E.type===13){const T=E.patchFlag;if((T===void 0||T===512||T===1)&&Qo(v,n)>=2){const S=Yo(v);S&&(E.props=n.hoist(S))}E.dynamicProps&&(E.dynamicProps=n.hoist(E.dynamicProps))}}}else if(v.type===12&&(i?0:pe(v,n))>=2){l.push(v);continue}if(v.type===1){const _=v.tagType===1;_&&n.scopes.vSlot++,Kt(v,e,n,!1,s),_&&n.scopes.vSlot--}else if(v.type===11)Kt(v,e,n,v.children.length===1,!0);else if(v.type===9)for(let _=0;_<v.branches.length;_++)Kt(v.branches[_],e,n,v.branches[_].children.length===1,s)}let h=!1;if(l.length===a.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&Fe(e.codegenNode.children))e.codegenNode.children=u(Ue(e.codegenNode.children)),h=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!Fe(e.codegenNode.children)&&e.codegenNode.children.type===15){const m=d(e.codegenNode,"default");m&&(m.returns=u(Ue(m.returns)),h=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Fe(t.codegenNode.children)&&t.codegenNode.children.type===15){const m=ae(e,"slot",!0),v=m&&m.arg&&d(t.codegenNode,m.arg);v&&(v.returns=u(Ue(v.returns)),h=!0)}}if(!h)for(const m of l)m.codegenNode=n.cache(m.codegenNode);function u(m){const v=n.cache(m);return s&&n.hmr&&(v.needArraySpread=!0),v}function d(m,v){if(m.children&&!Fe(m.children)&&m.children.type===15){const _=m.children.properties.find(E=>E.key===v||E.key.content===v);return _&&_.value}}l.length&&n.transformHoist&&n.transformHoist(a,n,e)}function pe(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const i=n.get(e);if(i!==void 0)return i;const s=e.codegenNode;if(s.type!==13||s.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(s.patchFlag===void 0){let l=3;const h=Qo(e,t);if(h===0)return n.set(e,0),0;h<l&&(l=h);for(let u=0;u<e.children.length;u++){const d=pe(e.children[u],t);if(d===0)return n.set(e,0),0;d<l&&(l=d)}if(l>1)for(let u=0;u<e.props.length;u++){const d=e.props[u];if(d.type===7&&d.name==="bind"&&d.exp){const m=pe(d.exp,t);if(m===0)return n.set(e,0),0;m<l&&(l=m)}}if(s.isBlock){for(let u=0;u<e.props.length;u++)if(e.props[u].type===7)return n.set(e,0),0;t.removeHelper($e),t.removeHelper(rt(t.inSSR,s.isComponent)),s.isBlock=!1,t.helper(nt(t.inSSR,s.isComponent))}return n.set(e,l),l}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return pe(e.content,t);case 4:return e.constType;case 8:let a=3;for(let l=0;l<e.children.length;l++){const h=e.children[l];if(Y(h)||wr(h))continue;const u=pe(h,t);if(u===0)return 0;u<a&&(a=u)}return a;case 20:return 2;default:return 0}}const zu=new Set([Sn,En,ht,_t]);function Jo(e,t){if(e.type===14&&!Y(e.callee)&&zu.has(e.callee)){const n=e.arguments[0];if(n.type===4)return pe(n,t);if(n.type===14)return Jo(n,t)}return 0}function Qo(e,t){let n=3;const i=Yo(e);if(i&&i.type===15){const{properties:s}=i;for(let a=0;a<s.length;a++){const{key:l,value:h}=s[a],u=pe(l,t);if(u===0)return u;u<n&&(n=u);let d;if(h.type===4?d=pe(h,t):h.type===14?d=Jo(h,t):d=0,d===0)return d;d<n&&(n=d)}}return n}function Yo(e){const t=e.codegenNode;if(t.type===13)return t.props}function Zo(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:i=!1,hmr:s=!1,cacheHandlers:a=!1,nodeTransforms:l=[],directiveTransforms:h={},transformHoist:u=null,isBuiltInComponent:d=Ot,isCustomElement:m=Ot,expressionPlugins:v=[],scopeId:_=null,slotted:E=!0,ssr:T=!1,inSSR:S=!1,ssrCssVars:b="",bindingMetadata:I=rc,inline:R=!1,isTS:K=!1,onError:_e=Ur,onWarn:z=xo,compatConfig:ce}){const ne=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),L={filename:t,selfName:ne&&co(Xe(ne[1])),prefixIdentifiers:n,hoistStatic:i,hmr:s,cacheHandlers:a,nodeTransforms:l,directiveTransforms:h,transformHoist:u,isBuiltInComponent:d,isCustomElement:m,expressionPlugins:v,scopeId:_,slotted:E,ssr:T,inSSR:S,ssrCssVars:b,bindingMetadata:I,inline:R,isTS:K,onError:_e,onWarn:z,compatConfig:ce,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(N){const w=L.helpers.get(N)||0;return L.helpers.set(N,w+1),N},removeHelper(N){const w=L.helpers.get(N);if(w){const P=w-1;P?L.helpers.set(N,P):L.helpers.delete(N)}},helperString(N){return`_${et[L.helper(N)]}`},replaceNode(N){L.parent.children[L.childIndex]=L.currentNode=N},removeNode(N){const w=L.parent.children,P=N?w.indexOf(N):L.currentNode?L.childIndex:-1;!N||N===L.currentNode?(L.currentNode=null,L.onNodeRemoved()):L.childIndex>P&&(L.childIndex--,L.onNodeRemoved()),L.parent.children.splice(P,1)},onNodeRemoved:Ot,addIdentifiers(N){},removeIdentifiers(N){},hoist(N){Y(N)&&(N=C(N)),L.hoists.push(N);const w=C(`_hoisted_${L.hoists.length}`,!1,N.loc,2);return w.hoisted=N,w},cache(N,w=!1,P=!1){const A=Lo(L.cached.length,N,w,P);return L.cached.push(A),A}};return L.filters=new Set,L}function ea(e,t){const n=Zo(e,t);wt(e,n),t.hoistStatic&&$u(e,n),t.ssr||qu(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function qu(e,t){const{helper:n}=t,{children:i}=e;if(i.length===1){const s=i[0];if(Go(e,s)&&s.codegenNode){const a=s.codegenNode;a.type===13&&On(a,t),e.codegenNode=a}else e.codegenNode=s}else if(i.length>1){let s=64;e.codegenNode=dt(t,n(ft),void 0,e.children,s,void 0,void 0,!0,void 0,!1)}}function Wu(e,t){let n=0;const i=()=>{n--};for(;n<e.children.length;n++){const s=e.children[n];Y(s)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=i,wt(s,t))}}function wt(e,t){t.currentNode=e;const{nodeTransforms:n}=t,i=[];for(let a=0;a<n.length;a++){const l=n[a](e,t);if(l&&(Fe(l)?i.push(...l):i.push(l)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(gt);break;case 5:t.ssr||t.helper(Mt);break;case 9:for(let a=0;a<e.branches.length;a++)wt(e.branches[a],t);break;case 10:case 11:case 1:case 0:Wu(e,t);break}t.currentNode=e;let s=i.length;for(;s--;)i[s]()}function Gr(e,t){const n=Y(e)?i=>i===e:i=>e.test(i);return(i,s)=>{if(i.type===1){const{props:a}=i;if(i.tagType===3&&a.some(qr))return;const l=[];for(let h=0;h<a.length;h++){const u=a[h];if(u.type===7&&n(u.name)){a.splice(h,1),h--;const d=t(i,u,s);d&&l.push(d)}}return l}}}const bn="/*@__PURE__*/",ta=e=>`${et[e]}: _${et[e]}`;function Ku(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:i=!1,filename:s="template.vue.html",scopeId:a=null,optimizeImports:l=!1,runtimeGlobalName:h="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:d="vue/server-renderer",ssr:m=!1,isTS:v=!1,inSSR:_=!1}){const E={mode:t,prefixIdentifiers:n,sourceMap:i,filename:s,scopeId:a,optimizeImports:l,runtimeGlobalName:h,runtimeModuleName:u,ssrRuntimeModuleName:d,ssr:m,isTS:v,inSSR:_,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(S){return`_${et[S]}`},push(S,b=-2,I){E.code+=S},indent(){T(++E.indentLevel)},deindent(S=!1){S?--E.indentLevel:T(--E.indentLevel)},newline(){T(E.indentLevel)}};function T(S){E.push(`
|
||
`+" ".repeat(S),0)}return E}function na(e,t={}){const n=Ku(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:i,push:s,prefixIdentifiers:a,indent:l,deindent:h,newline:u,scopeId:d,ssr:m}=n,v=Array.from(e.helpers),_=v.length>0,E=!a&&i!=="module";Gu(e,n);const S=m?"ssrRender":"render",I=(m?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(s(`function ${S}(${I}) {`),l(),E&&(s("with (_ctx) {"),l(),_&&(s(`const { ${v.map(ta).join(", ")} } = _Vue
|
||
`,-1),u())),e.components.length&&(Rr(e.components,"component",n),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(Rr(e.directives,"directive",n),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),Rr(e.filters,"filter",n),u()),e.temps>0){s("let ");for(let R=0;R<e.temps;R++)s(`${R>0?", ":""}_temp${R}`)}return(e.components.length||e.directives.length||e.temps)&&(s(`
|
||
`,0),u()),m||s("return "),e.codegenNode?oe(e.codegenNode,n):s("null"),E&&(h(),s("}")),h(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function Gu(e,t){const{ssr:n,prefixIdentifiers:i,push:s,newline:a,runtimeModuleName:l,runtimeGlobalName:h,ssrRuntimeModuleName:u}=t,d=h,m=Array.from(e.helpers);if(m.length>0&&(s(`const _Vue = ${d}
|
||
`,-1),e.hoists.length)){const v=[un,fn,gt,hn,Br].filter(_=>m.includes(_)).map(ta).join(", ");s(`const { ${v} } = _Vue
|
||
`,-1)}Ju(e.hoists,t),a(),s("return ")}function Rr(e,t,{helper:n,push:i,newline:s,isTS:a}){const l=n(t==="filter"?vn:t==="component"?dn:mn);for(let h=0;h<e.length;h++){let u=e[h];const d=u.endsWith("__self");d&&(u=u.slice(0,-6)),i(`const ${vt(u,t)} = ${l}(${JSON.stringify(u)}${d?", true":""})${a?"!":""}`),h<e.length-1&&s()}}function Ju(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:i}=t;i();for(let s=0;s<e.length;s++){const a=e[s];a&&(n(`const _hoisted_${s+1} = `),oe(a,t),i())}t.pure=!1}function Jr(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Pt(e,t,n),n&&t.deindent(),t.push("]")}function Pt(e,t,n=!1,i=!0){const{push:s,newline:a}=t;for(let l=0;l<e.length;l++){const h=e[l];Y(h)?s(h,-3):Fe(h)?Jr(h,t):oe(h,t),l<e.length-1&&(n?(i&&s(","),a()):i&&s(", "))}}function oe(e,t){if(Y(e)){t.push(e,-3);return}if(wr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:oe(e.codegenNode,t);break;case 2:Qu(e,t);break;case 4:ra(e,t);break;case 5:Yu(e,t);break;case 12:oe(e.codegenNode,t);break;case 8:ia(e,t);break;case 3:ef(e,t);break;case 13:tf(e,t);break;case 14:rf(e,t);break;case 15:sf(e,t);break;case 17:of(e,t);break;case 18:af(e,t);break;case 19:lf(e,t);break;case 20:cf(e,t);break;case 21:Pt(e.body,t,!0,!1);break}}function Qu(e,t){t.push(JSON.stringify(e.content),-3,e)}function ra(e,t){const{content:n,isStatic:i}=e;t.push(i?JSON.stringify(n):n,-3,e)}function Yu(e,t){const{push:n,helper:i,pure:s}=t;s&&n(bn),n(`${i(Mt)}(`),oe(e.content,t),n(")")}function ia(e,t){for(let n=0;n<e.children.length;n++){const i=e.children[n];Y(i)?t.push(i,-3):oe(i,t)}}function Zu(e,t){const{push:n}=t;if(e.type===8)n("["),ia(e,t),n("]");else if(e.isStatic){const i=xt(e.content)?e.content:JSON.stringify(e.content);n(i,-2,e)}else n(`[${e.content}]`,-3,e)}function ef(e,t){const{push:n,helper:i,pure:s}=t;s&&n(bn),n(`${i(gt)}(${JSON.stringify(e.content)})`,-3,e)}function tf(e,t){const{push:n,helper:i,pure:s}=t,{tag:a,props:l,children:h,patchFlag:u,dynamicProps:d,directives:m,isBlock:v,disableTracking:_,isComponent:E}=e;let T;u&&(T=String(u)),m&&n(i(gn)+"("),v&&n(`(${i($e)}(${_?"true":""}), `),s&&n(bn);const S=v?rt(t.inSSR,E):nt(t.inSSR,E);n(i(S)+"(",-2,e),Pt(nf([a,l,h,T,d]),t),n(")"),v&&n(")"),m&&(n(", "),oe(m,t),n(")"))}function nf(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function rf(e,t){const{push:n,helper:i,pure:s}=t,a=Y(e.callee)?e.callee:i(e.callee);s&&n(bn),n(a+"(",-2,e),Pt(e.arguments,t),n(")")}function sf(e,t){const{push:n,indent:i,deindent:s,newline:a}=t,{properties:l}=e;if(!l.length){n("{}",-2,e);return}const h=l.length>1||!1;n(h?"{":"{ "),h&&i();for(let u=0;u<l.length;u++){const{key:d,value:m}=l[u];Zu(d,t),n(": "),oe(m,t),u<l.length-1&&(n(","),a())}h&&s(),n(h?"}":" }")}function of(e,t){Jr(e.elements,t)}function af(e,t){const{push:n,indent:i,deindent:s}=t,{params:a,returns:l,body:h,newline:u,isSlot:d}=e;d&&n(`_${et[Tn]}(`),n("(",-2,e),Fe(a)?Pt(a,t):a&&oe(a,t),n(") => "),(u||h)&&(n("{"),i()),l?(u&&n("return "),Fe(l)?Jr(l,t):oe(l,t)):h&&oe(h,t),(u||h)&&(s(),n("}")),d&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function lf(e,t){const{test:n,consequent:i,alternate:s,newline:a}=e,{push:l,indent:h,deindent:u,newline:d}=t;if(n.type===4){const v=!xt(n.content);v&&l("("),ra(n,t),v&&l(")")}else l("("),oe(n,t),l(")");a&&h(),t.indentLevel++,a||l(" "),l("? "),oe(i,t),t.indentLevel--,a&&d(),a||l(" "),l(": ");const m=s.type===19;m||t.indentLevel++,oe(s,t),m||t.indentLevel--,a&&u(!0)}function cf(e,t){const{push:n,helper:i,indent:s,deindent:a,newline:l}=t,{needPauseTracking:h,needArraySpread:u}=e;u&&n("[...("),n(`_cache[${e.index}] || (`),h&&(s(),n(`${i(Ct)}(-1`),e.inVOnce&&n(", true"),n("),"),l(),n("(")),n(`_cache[${e.index}] = `),oe(e.value,t),h&&(n(`).cacheIndex = ${e.index},`),l(),n(`${i(Ct)}(1),`),l(),n(`_cache[${e.index}]`),a()),n(")"),u&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const uf=(e,t)=>{if(e.type===5)e.content=Gt(e.content,t);else if(e.type===1){const n=ae(e,"memo");for(let i=0;i<e.props.length;i++){const s=e.props[i];if(s.type===7&&s.name!=="for"){const a=s.exp,l=s.arg;a&&a.type===4&&!(s.name==="on"&&l)&&!(n&&l&&l.type===4&&l.content==="key")&&(s.exp=Gt(a,t,s.name==="slot")),l&&l.type===4&&!l.isStatic&&(s.arg=Gt(l,t))}}}};function Gt(e,t,n=!1,i=!1,s=Object.create(t.identifiers)){return e}function sa(e){return Y(e)?e:e.type===4?e.content:e.children.map(sa).join("")}const ff=Gr(/^(if|else|else-if)$/,(e,t,n)=>oa(e,t,n,(i,s,a)=>{const l=n.parent.children;let h=l.indexOf(i),u=0;for(;h-->=0;){const d=l[h];d&&d.type===9&&(u+=d.branches.length)}return()=>{if(a)i.codegenNode=Qs(s,u,n);else{const d=hf(i.codegenNode);d.alternate=Qs(s,u+i.branches.length-1,n)}}}));function oa(e,t,n,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;n.onError(X(28,t.loc)),t.exp=C("true",!1,s)}if(t.name==="if"){const s=Js(e,t),a={type:9,loc:ju(e.loc),branches:[s]};if(n.replaceNode(a),i)return i(a,s,!0)}else{const s=n.parent.children;let a=s.indexOf(e);for(;a-->=-1;){const l=s[a];if(l&&l.type===3){n.removeNode(l);continue}if(l&&l.type===2&&!l.content.trim().length){n.removeNode(l);continue}if(l&&l.type===9){t.name==="else-if"&&l.branches[l.branches.length-1].condition===void 0&&n.onError(X(30,e.loc)),n.removeNode();const h=Js(e,t);l.branches.push(h);const u=i&&i(l,h,!1);wt(h,n),u&&u(),n.currentNode=null}else n.onError(X(30,e.loc));break}}}function Js(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!ae(e,"for")?e.children:[e],userKey:Dt(e,"key"),isTemplateIf:n}}function Qs(e,t,n){return e.condition?tn(e.condition,Ys(e,t,n),J(n.helper(gt),['""',"true"])):Ys(e,t,n)}function Ys(e,t,n){const{helper:i}=n,s=W("key",C(`${t}`,!1,Z,2)),{children:a}=e,l=a[0];if(a.length!==1||l.type!==1)if(a.length===1&&l.type===11){const u=l.codegenNode;return Rt(u,s,n),u}else return dt(n,i(ft),ge([s]),a,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=l.codegenNode,d=Uo(u);return d.type===13&&On(d,n),Rt(d,s,n),u}}function hf(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const aa=(e,t,n)=>{const{modifiers:i,loc:s}=e,a=e.arg;let{exp:l}=e;if(l&&l.type===4&&!l.content.trim()&&(l=void 0),!l){if(a.type!==4||!a.isStatic)return n.onError(X(52,a.loc)),{props:[W(a,C("",!0,s))]};la(e),l=e.exp}return a.type!==4?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.some(h=>h.content==="camel")&&(a.type===4?a.isStatic?a.content=Xe(a.content):a.content=`${n.helperString(Zt)}(${a.content})`:(a.children.unshift(`${n.helperString(Zt)}(`),a.children.push(")"))),n.inSSR||(i.some(h=>h.content==="prop")&&Zs(a,"."),i.some(h=>h.content==="attr")&&Zs(a,"^")),{props:[W(a,l)]}},la=(e,t)=>{const n=e.arg,i=Xe(n.content);e.exp=C(i,!1,n.loc)},Zs=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},df=Gr("for",(e,t,n)=>{const{helper:i,removeHelper:s}=n;return ca(e,t,n,a=>{const l=J(i(_n),[a.source]),h=mt(e),u=ae(e,"memo"),d=Dt(e,"key",!1,!0);d&&d.type===7&&!d.exp&&la(d);let v=d&&(d.type===6?d.value?C(d.value.content,!0):void 0:d.exp);const _=d&&v?W("key",v):null,E=a.source.type===4&&a.source.constType>0,T=E?64:d?128:256;return a.codegenNode=dt(n,i(ft),void 0,l,T,void 0,void 0,!0,!E,!1,e.loc),()=>{let S;const{children:b}=a,I=b.length!==1||b[0].type!==1,R=At(e)?e:h&&e.children.length===1&&At(e.children[0])?e.children[0]:null;if(R?(S=R.codegenNode,h&&_&&Rt(S,_,n)):I?S=dt(n,i(ft),_?ge([_]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(S=b[0].codegenNode,h&&_&&Rt(S,_,n),S.isBlock!==!E&&(S.isBlock?(s($e),s(rt(n.inSSR,S.isComponent))):s(nt(n.inSSR,S.isComponent))),S.isBlock=!E,S.isBlock?(i($e),i(rt(n.inSSR,S.isComponent))):i(nt(n.inSSR,S.isComponent))),u){const K=tt(rn(a.parseResult,[C("_cached")]));K.body=Mo([Ee(["const _memo = (",u.exp,")"]),Ee(["if (_cached",...v?[" && _cached.key === ",v]:[],` && ${n.helperString(Xr)}(_cached, _memo)) return _cached`]),Ee(["const _item = ",S]),C("_item.memo = _memo"),C("return _item")]),l.arguments.push(K,C("_cache"),C(String(n.cached.length))),n.cached.push(null)}else l.arguments.push(tt(rn(a.parseResult),S,!0))}})});function ca(e,t,n,i){if(!t.exp){n.onError(X(31,t.loc));return}const s=t.forParseResult;if(!s){n.onError(X(32,t.loc));return}Qr(s);const{addIdentifiers:a,removeIdentifiers:l,scopes:h}=n,{source:u,value:d,key:m,index:v}=s,_={type:11,loc:t.loc,source:u,valueAlias:d,keyAlias:m,objectIndexAlias:v,parseResult:s,children:mt(e)?e.children:[e]};n.replaceNode(_),h.vFor++;const E=i&&i(_);return()=>{h.vFor--,E&&E()}}function Qr(e,t){e.finalized||(e.finalized=!0)}function rn({value:e,key:t,index:n},i=[]){return pf([e,t,n,...i])}function pf(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,i)=>n||C("_".repeat(i+1),!1))}const eo=C("undefined",!1),ua=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=ae(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},mf=(e,t)=>{let n;if(mt(e)&&e.props.some(qr)&&(n=ae(e,"for"))){const i=n.forParseResult;if(i){Qr(i);const{value:s,key:a,index:l}=i,{addIdentifiers:h,removeIdentifiers:u}=t;return s&&h(s),a&&h(a),l&&h(l),()=>{s&&u(s),a&&u(a),l&&u(l)}}}},vf=(e,t,n,i)=>tt(e,n,!1,!0,n.length?n[0].loc:i);function fa(e,t,n=vf){t.helper(Tn);const{children:i,loc:s}=e,a=[],l=[];let h=t.scopes.vSlot>0||t.scopes.vFor>0;const u=ae(e,"slot",!0);if(u){const{arg:b,exp:I}=u;b&&!le(b)&&(h=!0),a.push(W(b||C("default",!0),n(I,void 0,i,s)))}let d=!1,m=!1;const v=[],_=new Set;let E=0;for(let b=0;b<i.length;b++){const I=i[b];let R;if(!mt(I)||!(R=ae(I,"slot",!0))){I.type!==3&&v.push(I);continue}if(u){t.onError(X(37,R.loc));break}d=!0;const{children:K,loc:_e}=I,{arg:z=C("default",!0),exp:ce,loc:ne}=R;let L;le(z)?L=z?z.content:"default":h=!0;const N=ae(I,"for"),w=n(ce,N,K,_e);let P,A;if(P=ae(I,"if"))h=!0,l.push(tn(P.exp,Xt(z,w,E++),eo));else if(A=ae(I,/^else(-if)?$/,!0)){let O=b,k;for(;O--&&(k=i[O],k.type===3););if(k&&mt(k)&&ae(k,/^(else-)?if$/)){let B=l[l.length-1];for(;B.alternate.type===19;)B=B.alternate;B.alternate=A.exp?tn(A.exp,Xt(z,w,E++),eo):Xt(z,w,E++)}else t.onError(X(30,A.loc))}else if(N){h=!0;const O=N.forParseResult;O?(Qr(O),l.push(J(t.helper(_n),[O.source,tt(rn(O),Xt(z,w),!0)]))):t.onError(X(32,N.loc))}else{if(L){if(_.has(L)){t.onError(X(38,ne));continue}_.add(L),L==="default"&&(m=!0)}a.push(W(z,w))}}if(!u){const b=(I,R)=>{const K=n(I,void 0,R,s);return t.compatConfig&&(K.isNonScopedSlot=!0),W("default",K)};d?v.length&&v.some(I=>ha(I))&&(m?t.onError(X(39,v[0].loc)):a.push(b(void 0,v))):a.push(b(void 0,i))}const T=h?2:Jt(e.children)?3:1;let S=ge(a.concat(W("_",C(T+"",!1))),s);return l.length&&(S=J(t.helper(jr),[S,Ue(l)])),{slots:S,hasDynamicSlots:h}}function Xt(e,t,n){const i=[W("name",e),W("fn",t)];return n!=null&&i.push(W("key",C(String(n),!0))),ge(i)}function Jt(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Jt(n.children))return!0;break;case 9:if(Jt(n.branches))return!0;break;case 10:case 11:if(Jt(n.children))return!0;break}}return!1}function ha(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():ha(e.content)}const da=new WeakMap,pa=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:i,props:s}=e,a=e.tagType===1;let l=a?ma(e,t):`"${i}"`;const h=uo(l)&&l.callee===pn;let u,d,m=0,v,_,E,T=h||l===ut||l===cn||!a&&(i==="svg"||i==="foreignObject"||i==="math");if(s.length>0){const S=Yr(e,t,void 0,a,h);u=S.props,m=S.patchFlag,_=S.dynamicPropNames;const b=S.directives;E=b&&b.length?Ue(b.map(I=>va(I,t))):void 0,S.shouldUseBlock&&(T=!0)}if(e.children.length>0)if(l===bt&&(T=!0,m|=1024),a&&l!==ut&&l!==bt){const{slots:b,hasDynamicSlots:I}=fa(e,t);d=b,I&&(m|=1024)}else if(e.children.length===1&&l!==ut){const b=e.children[0],I=b.type,R=I===5||I===8;R&&pe(b,t)===0&&(m|=1),R||I===2?d=b:d=e.children}else d=e.children;_&&_.length&&(v=_f(_)),e.codegenNode=dt(t,l,u,d,m===0?void 0:m,v,E,!!T,!1,a,e.loc)};function ma(e,t,n=!1){let{tag:i}=e;const s=Dr(i),a=Dt(e,"is",!1,!0);if(a)if(s||Ze("COMPILER_IS_ON_ELEMENT",t)){let h;if(a.type===6?h=a.value&&C(a.value.content,!0):(h=a.exp,h||(h=C("is",!1,a.arg.loc))),h)return J(t.helper(pn),[h])}else a.type===6&&a.value.content.startsWith("vue:")&&(i=a.value.content.slice(4));const l=$r(i)||t.isBuiltInComponent(i);return l?(n||t.helper(l),l):(t.helper(dn),t.components.add(i),vt(i,"component"))}function Yr(e,t,n=e.props,i,s,a=!1){const{tag:l,loc:h,children:u}=e;let d=[];const m=[],v=[],_=u.length>0;let E=!1,T=0,S=!1,b=!1,I=!1,R=!1,K=!1,_e=!1;const z=[],ce=w=>{d.length&&(m.push(ge(to(d),h)),d=[]),w&&m.push(w)},ne=()=>{t.scopes.vFor>0&&d.push(W(C("ref_for",!0),C("true")))},L=({key:w,value:P})=>{if(le(w)){const A=w.content,O=fo(A);if(O&&(!i||s)&&A.toLowerCase()!=="onclick"&&A!=="onUpdate:modelValue"&&!rs(A)&&(R=!0),O&&rs(A)&&(_e=!0),O&&P.type===14&&(P=P.arguments[0]),P.type===20||(P.type===4||P.type===8)&&pe(P,t)>0)return;A==="ref"?S=!0:A==="class"?b=!0:A==="style"?I=!0:A!=="key"&&!z.includes(A)&&z.push(A),i&&(A==="class"||A==="style")&&!z.includes(A)&&z.push(A)}else K=!0};for(let w=0;w<n.length;w++){const P=n[w];if(P.type===6){const{loc:A,name:O,nameLoc:k,value:B}=P;let ue=!0;if(O==="ref"&&(S=!0,ne()),O==="is"&&(Dr(l)||B&&B.content.startsWith("vue:")||Ze("COMPILER_IS_ON_ELEMENT",t)))continue;d.push(W(C(O,!0,k),C(B?B.content:"",ue,B?B.loc:A)))}else{const{name:A,arg:O,exp:k,loc:B,modifiers:ue}=P,Ne=A==="bind",it=A==="on";if(A==="slot"){i||t.onError(X(40,B));continue}if(A==="once"||A==="memo"||A==="is"||Ne&&je(O,"is")&&(Dr(l)||Ze("COMPILER_IS_ON_ELEMENT",t))||it&&a)continue;if((Ne&&je(O,"key")||it&&_&&je(O,"vue:before-update"))&&(E=!0),Ne&&je(O,"ref")&&ne(),!O&&(Ne||it)){if(K=!0,k)if(Ne){if(ne(),ce(),Ze("COMPILER_V_BIND_OBJECT_ORDER",t)){m.unshift(k);continue}m.push(k)}else ce({type:14,loc:B,callee:t.helper(yn),arguments:i?[k]:[k,"true"]});else t.onError(X(Ne?34:35,B));continue}Ne&&ue.some(ze=>ze.content==="prop")&&(T|=32);const St=t.directiveTransforms[A];if(St){const{props:ze,needRuntime:Et}=St(P,e,t);!a&&ze.forEach(L),it&&O&&!le(O)?ce(ge(ze,h)):d.push(...ze),Et&&(v.push(P),wr(Et)&&da.set(P,Et))}else nc(A)||(v.push(P),_&&(E=!0))}}let N;if(m.length?(ce(),m.length>1?N=J(t.helper(It),m,h):N=m[0]):d.length&&(N=ge(to(d),h)),K?T|=16:(b&&!i&&(T|=2),I&&!i&&(T|=4),z.length&&(T|=8),R&&(T|=32)),!E&&(T===0||T===32)&&(S||_e||v.length>0)&&(T|=512),!t.inSSR&&N)switch(N.type){case 15:let w=-1,P=-1,A=!1;for(let B=0;B<N.properties.length;B++){const ue=N.properties[B].key;le(ue)?ue.content==="class"?w=B:ue.content==="style"&&(P=B):ue.isHandlerKey||(A=!0)}const O=N.properties[w],k=N.properties[P];A?N=J(t.helper(ht),[N]):(O&&!le(O.value)&&(O.value=J(t.helper(Sn),[O.value])),k&&(I||k.value.type===4&&k.value.content.trim()[0]==="["||k.value.type===17)&&(k.value=J(t.helper(En),[k.value])));break;case 14:break;default:N=J(t.helper(ht),[J(t.helper(_t),[N])]);break}return{props:N,directives:v,patchFlag:T,dynamicPropNames:z,shouldUseBlock:E}}function to(e){const t=new Map,n=[];for(let i=0;i<e.length;i++){const s=e[i];if(s.key.type===8||!s.key.isStatic){n.push(s);continue}const a=s.key.content,l=t.get(a);l?(a==="style"||a==="class"||fo(a))&&gf(l,s):(t.set(a,s),n.push(s))}return n}function gf(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Ue([e.value,t.value],e.loc)}function va(e,t){const n=[],i=da.get(e);i?n.push(t.helperString(i)):(t.helper(mn),t.directives.add(e.name),n.push(vt(e.name,"directive")));const{loc:s}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const a=C("true",!1,s);n.push(ge(e.modifiers.map(l=>W(l,a)),s))}return Ue(n,e.loc)}function _f(e){let t="[";for(let n=0,i=e.length;n<i;n++)t+=JSON.stringify(e[n]),n<i-1&&(t+=", ");return t+"]"}function Dr(e){return e==="component"||e==="Component"}const Sf=(e,t)=>{if(At(e)){const{children:n,loc:i}=e,{slotName:s,slotProps:a}=ga(e,t),l=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let h=2;a&&(l[2]=a,h=3),n.length&&(l[3]=tt([],n,!1,!1,i),h=4),t.scopeId&&!t.slotted&&(h=5),l.splice(h),e.codegenNode=J(t.helper(Hr),l,i)}};function ga(e,t){let n='"default"',i;const s=[];for(let a=0;a<e.props.length;a++){const l=e.props[a];if(l.type===6)l.value&&(l.name==="name"?n=JSON.stringify(l.value.content):(l.name=Xe(l.name),s.push(l)));else if(l.name==="bind"&&je(l.arg,"name")){if(l.exp)n=l.exp;else if(l.arg&&l.arg.type===4){const h=Xe(l.arg.content);n=l.exp=C(h,!1,l.arg.loc)}}else l.name==="bind"&&l.arg&&le(l.arg)&&(l.arg.content=Xe(l.arg.content)),s.push(l)}if(s.length>0){const{props:a,directives:l}=Yr(e,t,s,!1,!1);i=a,l.length&&t.onError(X(36,l[0].loc))}return{slotName:n,slotProps:i}}const Zr=(e,t,n,i)=>{const{loc:s,modifiers:a,arg:l}=e;!e.exp&&!a.length&&n.onError(X(35,s));let h;if(l.type===4)if(l.isStatic){let v=l.content;v.startsWith("vue:")&&(v=`vnode-${v.slice(4)}`);const _=t.tagType!==0||v.startsWith("vnode")||!/[A-Z]/.test(v)?ic(Xe(v)):`on:${v}`;h=C(_,!0,l.loc)}else h=Ee([`${n.helperString(en)}(`,l,")"]);else h=l,h.children.unshift(`${n.helperString(en)}(`),h.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let d=n.cacheHandlers&&!u&&!n.inVOnce;if(u){const v=zr(u),_=!(v||Bo(u)),E=u.content.includes(";");(_||d&&v)&&(u=Ee([`${_?"$event":"(...args)"} => ${E?"{":"("}`,u,E?"}":")"]))}let m={props:[W(h,u||C("() => {}",!1,s))]};return i&&(m=i(m)),d&&(m.props[0].value=n.cache(m.props[0].value)),m.props.forEach(v=>v.key.isHandlerKey=!0),m},Ef=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let i,s=!1;for(let a=0;a<n.length;a++){const l=n[a];if(zt(l)){s=!0;for(let h=a+1;h<n.length;h++){const u=n[h];if(zt(u))i||(i=n[a]=Ee([l],l.loc)),i.children.push(" + ",u),n.splice(h,1),h--;else{i=void 0;break}}}}if(!(!s||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(a=>a.type===7&&!t.directiveTransforms[a.name])&&e.tag!=="template")))for(let a=0;a<n.length;a++){const l=n[a];if(zt(l)||l.type===8){const h=[];(l.type!==2||l.content!==" ")&&h.push(l),!t.ssr&&pe(l,t)===0&&h.push("1"),n[a]={type:12,content:l,loc:l.loc,codegenNode:J(t.helper(hn),h)}}}}},no=new WeakSet,yf=(e,t)=>{if(e.type===1&&ae(e,"once",!0))return no.has(e)||t.inVOnce||t.inSSR?void 0:(no.add(e),t.inVOnce=!0,t.helper(Ct),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},ei=(e,t,n)=>{const{exp:i,arg:s}=e;if(!i)return n.onError(X(41,e.loc)),Ut();const a=i.loc.source.trim(),l=i.type===4?i.content:a,h=n.bindingMetadata[a];if(h==="props"||h==="props-aliased")return n.onError(X(44,i.loc)),Ut();if(!l.trim()||!zr(i))return n.onError(X(42,i.loc)),Ut();const u=s||C("modelValue",!0),d=s?le(s)?`onUpdate:${Xe(s.content)}`:Ee(['"onUpdate:" + ',s]):"onUpdate:modelValue";let m;const v=n.isTS?"($event: any)":"$event";m=Ee([`${v} => ((`,i,") = $event)"]);const _=[W(u,e.exp),W(d,m)];if(e.modifiers.length&&t.tagType===1){const E=e.modifiers.map(S=>S.content).map(S=>(xt(S)?S:JSON.stringify(S))+": true").join(", "),T=s?le(s)?`${s.content}Modifiers`:Ee([s,' + "Modifiers"']):"modelModifiers";_.push(W(T,C(`{ ${E} }`,!1,e.loc,2)))}return Ut(_)};function Ut(e=[]){return{props:e}}const Tf=/[\w).+\-_$\]]/,Nf=(e,t)=>{Ze("COMPILER_FILTERS",t)&&(e.type===5?sn(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&sn(n.exp,t)}))};function sn(e,t){if(e.type===4)ro(e,t);else for(let n=0;n<e.children.length;n++){const i=e.children[n];typeof i=="object"&&(i.type===4?ro(i,t):i.type===8?sn(e,t):i.type===5&&sn(i.content,t))}}function ro(e,t){const n=e.content;let i=!1,s=!1,a=!1,l=!1,h=0,u=0,d=0,m=0,v,_,E,T,S=[];for(E=0;E<n.length;E++)if(_=v,v=n.charCodeAt(E),i)v===39&&_!==92&&(i=!1);else if(s)v===34&&_!==92&&(s=!1);else if(a)v===96&&_!==92&&(a=!1);else if(l)v===47&&_!==92&&(l=!1);else if(v===124&&n.charCodeAt(E+1)!==124&&n.charCodeAt(E-1)!==124&&!h&&!u&&!d)T===void 0?(m=E+1,T=n.slice(0,E).trim()):b();else{switch(v){case 34:s=!0;break;case 39:i=!0;break;case 96:a=!0;break;case 40:d++;break;case 41:d--;break;case 91:u++;break;case 93:u--;break;case 123:h++;break;case 125:h--;break}if(v===47){let I=E-1,R;for(;I>=0&&(R=n.charAt(I),R===" ");I--);(!R||!Tf.test(R))&&(l=!0)}}T===void 0?T=n.slice(0,E).trim():m!==0&&b();function b(){S.push(n.slice(m,E).trim()),m=E+1}if(S.length){for(E=0;E<S.length;E++)T=Of(T,S[E],t);e.content=T,e.ast=void 0}}function Of(e,t,n){n.helper(vn);const i=t.indexOf("(");if(i<0)return n.filters.add(t),`${vt(t,"filter")}(${e})`;{const s=t.slice(0,i),a=t.slice(i+1);return n.filters.add(s),`${vt(s,"filter")}(${e}${a!==")"?","+a:a}`}}const io=new WeakSet,bf=(e,t)=>{if(e.type===1){const n=ae(e,"memo");return!n||io.has(e)?void 0:(io.add(e),()=>{const i=e.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(e.tagType!==1&&On(i,t),e.codegenNode=J(t.helper(Nn),[n.exp,tt(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function _a(e){return[[yf,ff,bf,df,Nf,Sf,pa,ua,Ef],{on:Zr,bind:aa,model:ei}]}function Sa(e,t={}){const n=t.onError||Ur,i=t.mode==="module";t.prefixIdentifiers===!0?n(X(47)):i&&n(X(48));const s=!1;t.cacheHandlers&&n(X(49)),t.scopeId&&!i&&n(X(50));const a=Me({},t,{prefixIdentifiers:s}),l=Y(e)?Kr(e,a):e,[h,u]=_a();return ea(l,Me({},a,{nodeTransforms:[...h,...t.nodeTransforms||[]],directiveTransforms:Me({},u,t.directiveTransforms||{})})),na(l,a)}const If={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},Ea=()=>({props:[]});/**
|
||
* @vue/compiler-dom v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const ti=Symbol(""),ni=Symbol(""),ri=Symbol(""),ii=Symbol(""),on=Symbol(""),si=Symbol(""),oi=Symbol(""),ai=Symbol(""),li=Symbol(""),ci=Symbol("");Ao({[ti]:"vModelRadio",[ni]:"vModelCheckbox",[ri]:"vModelText",[ii]:"vModelSelect",[on]:"vModelDynamic",[si]:"withModifiers",[oi]:"withKeys",[ai]:"vShow",[li]:"Transition",[ci]:"TransitionGroup"});let lt;function Cf(e,t=!1){return lt||(lt=document.createElement("div")),t?(lt.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,lt.children[0].getAttribute("foo")):(lt.innerHTML=e,lt.textContent)}const ui={parseMode:"html",isVoidTag:lc,isNativeTag:e=>sc(e)||oc(e)||ac(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Cf,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return li;if(e==="TransitionGroup"||e==="transition-group")return ci},getNamespace(e,t,n){let i=t?t.ns:n;if(t&&i===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(s=>s.type===6&&s.name==="encoding"&&s.value!=null&&(s.value.content==="text/html"||s.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(e==="svg")return 1;if(e==="math")return 2}return i}},ya=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:C("style",!0,t.loc),exp:Af(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Af=(e,t)=>{const n=cc(e);return C(JSON.stringify(n),!1,t,3)};function De(e,t){return X(e,t)}const Rf={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},Lf={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Mf=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(De(53,s)),t.children.length&&(n.onError(De(54,s)),t.children.length=0),{props:[W(C("innerHTML",!0,s),i||C("",!0))]}},xf=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(De(55,s)),t.children.length&&(n.onError(De(56,s)),t.children.length=0),{props:[W(C("textContent",!0),i?pe(i,n)>0?i:J(n.helperString(Mt),[i],s):C("",!0))]}},Df=(e,t,n)=>{const i=ei(e,t,n);if(!i.props.length||t.tagType===1)return i;e.arg&&n.onError(De(58,e.arg.loc));const{tag:s}=t,a=n.isCustomElement(s);if(s==="input"||s==="textarea"||s==="select"||a){let l=ri,h=!1;if(s==="input"||a){const u=Dt(t,"type");if(u){if(u.type===7)l=on;else if(u.value)switch(u.value.content){case"radio":l=ti;break;case"checkbox":l=ni;break;case"file":h=!0,n.onError(De(59,e.loc));break}}else jo(t)&&(l=on)}else s==="select"&&(l=ii);h||(i.needRuntime=n.helper(l))}else n.onError(De(57,e.loc));return i.props=i.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),i},wf=ln("passive,once,capture"),Pf=ln("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Vf=ln("left,right"),Ta=ln("onkeyup,onkeydown,onkeypress"),kf=(e,t,n,i)=>{const s=[],a=[],l=[];for(let h=0;h<t.length;h++){const u=t[h].content;u==="native"&&pt("COMPILER_V_ON_NATIVE",n)||wf(u)?l.push(u):Vf(u)?le(e)?Ta(e.content.toLowerCase())?s.push(u):a.push(u):(s.push(u),a.push(u)):Pf(u)?a.push(u):s.push(u)}return{keyModifiers:s,nonKeyModifiers:a,eventOptionModifiers:l}},so=(e,t)=>le(e)&&e.content.toLowerCase()==="onclick"?C(t,!0):e.type!==4?Ee(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Ff=(e,t,n)=>Zr(e,t,n,i=>{const{modifiers:s}=e;if(!s.length)return i;let{key:a,value:l}=i.props[0];const{keyModifiers:h,nonKeyModifiers:u,eventOptionModifiers:d}=kf(a,s,n,e.loc);if(u.includes("right")&&(a=so(a,"onContextmenu")),u.includes("middle")&&(a=so(a,"onMouseup")),u.length&&(l=J(n.helper(si),[l,JSON.stringify(u)])),h.length&&(!le(a)||Ta(a.content.toLowerCase()))&&(l=J(n.helper(oi),[l,JSON.stringify(h)])),d.length){const m=d.map(co).join("");a=le(a)?C(`${a.content}${m}`,!0):Ee(["(",a,`) + "${m}"`])}return{props:[W(a,l)]}}),Bf=(e,t,n)=>{const{exp:i,loc:s}=e;return i||n.onError(De(61,s)),{props:[],needRuntime:n.helper(ai)}},Hf=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Na=[ya],Oa={cloak:Ea,html:Mf,text:xf,model:Df,on:Ff,show:Bf};function jf(e,t={}){return Sa(e,Me({},ui,t,{nodeTransforms:[Hf,...Na,...t.nodeTransforms||[]],directiveTransforms:Me({},Oa,t.directiveTransforms||{}),transformHoist:null}))}function Xf(e,t={}){return Kr(e,Me({},ui,t))}const Uf=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Vr,BindingTypes:If,CAMELIZE:Zt,CAPITALIZE:No,CREATE_BLOCK:kr,CREATE_COMMENT:gt,CREATE_ELEMENT_BLOCK:Fr,CREATE_ELEMENT_VNODE:fn,CREATE_SLOTS:jr,CREATE_STATIC:Br,CREATE_TEXT:hn,CREATE_VNODE:un,CompilerDeprecationTypes:au,ConstantTypes:Zc,DOMDirectiveTransforms:Oa,DOMErrorCodes:Rf,DOMErrorMessages:Lf,DOMNodeTransforms:Na,ElementTypes:Yc,ErrorCodes:uu,FRAGMENT:ft,GUARD_REACTIVE_PROPS:_t,IS_MEMO_SAME:Xr,IS_REF:Co,KEEP_ALIVE:bt,MERGE_PROPS:It,NORMALIZE_CLASS:Sn,NORMALIZE_PROPS:ht,NORMALIZE_STYLE:En,Namespaces:Jc,NodeTypes:Qc,OPEN_BLOCK:$e,POP_SCOPE_ID:bo,PUSH_SCOPE_ID:Oo,RENDER_LIST:_n,RENDER_SLOT:Hr,RESOLVE_COMPONENT:dn,RESOLVE_DIRECTIVE:mn,RESOLVE_DYNAMIC_COMPONENT:pn,RESOLVE_FILTER:vn,SET_BLOCK_TRACKING:Ct,SUSPENSE:cn,TELEPORT:ut,TO_DISPLAY_STRING:Mt,TO_HANDLERS:yn,TO_HANDLER_KEY:en,TRANSITION:li,TRANSITION_GROUP:ci,TS_NODE_TYPES:wo,UNREF:Io,V_MODEL_CHECKBOX:ni,V_MODEL_DYNAMIC:on,V_MODEL_RADIO:ti,V_MODEL_SELECT:ii,V_MODEL_TEXT:ri,V_ON_WITH_KEYS:oi,V_ON_WITH_MODIFIERS:si,V_SHOW:ai,WITH_CTX:Tn,WITH_DIRECTIVES:gn,WITH_MEMO:Nn,advancePositionWithClone:Ru,advancePositionWithMutation:Ho,assert:Lu,baseCompile:Sa,baseParse:Kr,buildDirectiveArgs:va,buildProps:Yr,buildSlots:fa,checkCompatEnabled:pt,compile:jf,convertToBlock:On,createArrayExpression:Ue,createAssignmentExpression:ru,createBlockStatement:Mo,createCacheExpression:Lo,createCallExpression:J,createCompilerError:X,createCompoundExpression:Ee,createConditionalExpression:tn,createDOMCompilerError:De,createForLoopParams:rn,createFunctionExpression:tt,createIfStatement:nu,createInterpolation:eu,createObjectExpression:ge,createObjectProperty:W,createReturnStatement:su,createRoot:Ro,createSequenceExpression:iu,createSimpleExpression:C,createStructuralDirectiveTransform:Gr,createTemplateLiteral:tu,createTransformContext:Zo,createVNodeCall:dt,errorMessages:fu,extractIdentifiers:Le,findDir:ae,findProp:Dt,forAliasRE:$o,generate:na,generateCodeFrame:uc,getBaseTransformPreset:_a,getConstantType:pe,getMemoedVNodeCall:Uo,getVNodeBlockHelper:rt,getVNodeHelper:nt,hasDynamicKeyVBind:jo,hasScopeRef:Te,helperNameMap:et,injectProp:Rt,isCoreComponent:$r,isFnExpression:Bo,isFnExpressionBrowser:Fo,isFnExpressionNode:Au,isFunctionType:Eu,isInDestructureAssignment:pu,isInNewExpression:mu,isMemberExpression:zr,isMemberExpressionBrowser:ko,isMemberExpressionNode:Iu,isReferencedIdentifier:du,isSimpleIdentifier:xt,isSlotOutlet:At,isStaticArgOf:je,isStaticExp:le,isStaticProperty:Do,isStaticPropertyKey:yu,isTemplateNode:mt,isText:zt,isVSlot:qr,locStub:Z,noopDirectiveTransform:Ea,parse:Xf,parserOptions:ui,processExpression:Gt,processFor:ca,processIf:oa,processSlotOutlet:ga,registerRuntimeHelpers:Ao,resolveComponentType:ma,stringifyExpression:sa,toValidAssetId:vt,trackSlotScopes:ua,trackVForSlotScopes:mf,transform:ea,transformBind:aa,transformElement:pa,transformExpression:uf,transformModel:ei,transformOn:Zr,transformStyle:ya,traverseNode:wt,unwrapTSNode:Po,walkBlockDeclarations:gu,walkFunctionParams:vu,walkIdentifiers:hu,warnDeprecation:cu},Symbol.toStringTag,{value:"Module"})),$f=an(Uf),zf=an(fc),qf=an(hc);/**
|
||
* vue v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/var oo;function Wf(){return oo||(oo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=$f,n=zf,i=qf;function s(u){var d=Object.create(null);if(u)for(var m in u)d[m]=u[m];return d.default=u,Object.freeze(d)}var a=s(n);const l=Object.create(null);function h(u,d){if(!i.isString(u))if(u.nodeType)u=u.innerHTML;else return i.NOOP;const m=i.genCacheKey(u,d),v=l[m];if(v)return v;if(u[0]==="#"){const S=document.querySelector(u);u=S?S.innerHTML:""}const _=i.extend({hoistStatic:!0,onError:void 0,onWarn:i.NOOP},d);!_.isCustomElement&&typeof customElements<"u"&&(_.isCustomElement=S=>!!customElements.get(S));const{code:E}=t.compile(u,_),T=new Function("Vue",E)(a);return T._rc=!0,l[m]=T}n.registerRuntimeCompiler(h),e.compile=h,Object.keys(n).forEach(function(u){u!=="default"&&!Object.prototype.hasOwnProperty.call(e,u)&&(e[u]=n[u])})}(Ar)),Ar}var ao;function Kf(){return ao||(ao=1,Cr.exports=Wf()),Cr.exports}/*!
|
||
* vue-treeselect v0.4.0 | (c) 2017-2019 Riophae Lee
|
||
* Released under the MIT License.
|
||
* https://vue-treeselect.js.org/
|
||
*/var lo;function Gf(){return lo||(lo=1,function(e){e.exports=function(t){var n={};function i(s){if(n[s])return n[s].exports;var a=n[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=t,i.c=n,i.d=function(s,a,l){i.o(s,a)||Object.defineProperty(s,a,{enumerable:!0,get:l})},i.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},i.t=function(s,a){if(a&1&&(s=i(s)),a&8||a&4&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(i.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),a&2&&typeof s!="string")for(var h in s)i.d(l,h,(function(u){return s[u]}).bind(null,h));return l},i.n=function(s){var a=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(a,"a",a),a},i.o=function(s,a){return Object.prototype.hasOwnProperty.call(s,a)},i.p="/",i(i.s=16)}([function(t,n){t.exports=_c()},function(t,n){t.exports=Tc()},function(t,n){t.exports=bc()},function(t,n){t.exports=Ic()},function(t,n){t.exports=Cc()},function(t,n){t.exports=kc()},function(t,n){t.exports=Hc},function(t,n){t.exports=jc()},function(t,n){t.exports=zc()},function(t,n){t.exports=qc()},function(t,n){t.exports=Wc()},function(t,n){t.exports=Pr()},function(t,n){t.exports=Kc()},function(t,n){t.exports=Gc()},function(t,n){t.exports=Kf()},function(t,n,i){},function(t,n,i){i.r(n);var s=i(0),a=i.n(s),l=i(1),h=i.n(l),u=i(2),d=i.n(u),m=i(3),v=i.n(m),_=i(4),E=i.n(_),T=E.a;function S(c){return function(o){if(o.type==="mousedown"&&o.button===0){for(var f=arguments.length,p=new Array(f>1?f-1:0),g=1;g<f;g++)p[g-1]=arguments[g];c.call.apply(c,[this,o].concat(p))}}}function b(c,r){var o=c.getBoundingClientRect(),f=r.getBoundingClientRect(),p=r.offsetHeight/3;f.bottom+p>o.bottom?c.scrollTop=Math.min(r.offsetTop+r.clientHeight-c.offsetHeight+p,c.scrollHeight):f.top-p<o.top&&(c.scrollTop=Math.max(r.offsetTop-p,0))}var I=i(5),R=i.n(I),K=i(6),_e=i.n(K);function z(c,r){var o=c.indexOf(r);o!==-1&&c.splice(o,1)}var ce,ne=[],L=100;function N(){ce=setInterval(function(){ne.forEach(P)},L)}function w(){clearInterval(ce),ce=null}function P(c){var r=c.$el,o=c.listener,f=c.lastWidth,p=c.lastHeight,g=r.offsetWidth,y=r.offsetHeight;(f!==g||p!==y)&&(c.lastWidth=g,c.lastHeight=y,o({width:g,height:y}))}function A(c,r){var o={$el:c,listener:r,lastWidth:null,lastHeight:null},f=function(){z(ne,o),ne.length||w()};return ne.push(o),P(o),N(),f}function O(c,r){var o=document.documentMode===9,f=!0,p=function(){return f||r.apply(void 0,arguments)},g=o?A:_e.a,y=g(c,p);return f=!1,y}function k(c){for(var r=[],o=c.parentNode;o&&o.nodeName!=="BODY"&&o.nodeType===document.ELEMENT_NODE;)B(o)&&r.push(o),o=o.parentNode;return r.push(window),r}function B(c){var r=getComputedStyle(c),o=r.overflow,f=r.overflowX,p=r.overflowY;return/(auto|scroll|overlay)/.test(o+p+f)}function ue(c,r){var o=k(c);return window.addEventListener("resize",r,{passive:!0}),o.forEach(function(f){f.addEventListener("scroll",r,{passive:!0})}),function(){window.removeEventListener("resize",r,{passive:!0}),o.forEach(function(p){p.removeEventListener("scroll",r,{passive:!0})})}}function Ne(c){return c!==c}var it=i(7),St=i.n(it),ze=i(8),Et=i.n(ze),ba=i(9),Ia=i.n(ba),Ca=i(10),fi=i.n(Ca),ye=function(){return Object.create(null)},Aa=i(11),Ra=i.n(Aa);function hi(c){return c==null||Ra()(c)!=="object"?!1:Object.getPrototypeOf(c)===Object.prototype}function La(c,r,o){hi(o)?(c[r]||(c[r]={}),In(c[r],o)):c[r]=o}function In(c,r){if(hi(r))for(var o=Object.keys(r),f=0,p=o.length;f<p;f++)La(c,o[f],r[o[f]]);return c}var Ma=i(12),di=i.n(Ma);function we(c,r){return c.indexOf(r)!==-1}function pi(c,r,o){for(var f=0,p=c.length;f<p;f++)if(r.call(o,c[f],f,c))return c[f]}function Cn(c,r){if(c.length!==r.length)return!0;for(var o=0;o<c.length;o++)if(c[o]!==r[o])return!0;return!1}var qe=null,An=0,mi=1,vi=2,st="ALL_CHILDREN",yt="ALL_DESCENDANTS",Tt="LEAF_CHILDREN",Nt="LEAF_DESCENDANTS",gi="LOAD_ROOT_OPTIONS",_i="LOAD_CHILDREN_OPTIONS",Si="ASYNC_SEARCH",Rn="ALL",Vt="BRANCH_PRIORITY",Ln="LEAF_PRIORITY",Mn="ALL_WITH_INDETERMINATE",Ei="ORDER_SELECTED",yi="LEVEL",Ti="INDEX",ee={BACKSPACE:8,ENTER:13,ESCAPE:27,END:35,HOME:36,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46},xa=200,Ni=5,Oi=40;function bi(c,r){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(c);r&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(c,p).enumerable})),o.push.apply(o,f)}return o}function We(c){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?bi(o,!0).forEach(function(f){d()(c,f,o[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):bi(o).forEach(function(f){Object.defineProperty(c,f,Object.getOwnPropertyDescriptor(o,f))})}return c}function Ii(c,r){var o=0;do{if(c.level<o)return-1;if(r.level<o)return 1;if(c.index[o]!==r.index[o])return c.index[o]-r.index[o];o++}while(!0)}function Da(c,r){return c.level===r.level?Ii(c,r):c.level-r.level}function xn(){return{isLoaded:!1,isLoading:!1,loadingError:""}}function wa(c){return typeof c=="string"?c:typeof c=="number"&&!Ne(c)?c+"":""}function Ci(c,r,o){return c?v()(r,o):we(o,r)}function Dn(c){return c.message||String(c)}var Pa=0,Ai={provide:function(){return{instance:this}},props:{allowClearingDisabled:{type:Boolean,default:!1},allowSelectingDisabledDescendants:{type:Boolean,default:!1},alwaysOpen:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!1},async:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},autoLoadRootOptions:{type:Boolean,default:!0},autoDeselectAncestors:{type:Boolean,default:!1},autoDeselectDescendants:{type:Boolean,default:!1},autoSelectAncestors:{type:Boolean,default:!1},autoSelectDescendants:{type:Boolean,default:!1},backspaceRemoves:{type:Boolean,default:!0},beforeClearAll:{type:Function,default:fi()(!0)},branchNodesFirst:{type:Boolean,default:!1},cacheOptions:{type:Boolean,default:!0},clearable:{type:Boolean,default:!0},clearAllText:{type:String,default:"Clear all"},clearOnSelect:{type:Boolean,default:!1},clearValueText:{type:String,default:"Clear value"},closeOnSelect:{type:Boolean,default:!0},defaultExpandLevel:{type:Number,default:0},defaultOptions:{default:!1},deleteRemoves:{type:Boolean,default:!0},delimiter:{type:String,default:","},flattenSearchResults:{type:Boolean,default:!1},disableBranchNodes:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},disableFuzzyMatching:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},instanceId:{default:function(){return"".concat(Pa++,"$$")},type:[String,Number]},joinValues:{type:Boolean,default:!1},limit:{type:Number,default:1/0},limitText:{type:Function,default:function(r){return"and ".concat(r," more")}},loadingText:{type:String,default:"Loading..."},loadOptions:{type:Function},matchKeys:{type:Array,default:fi()(["label"])},maxHeight:{type:Number,default:300},multiple:{type:Boolean,default:!1},name:{type:String},noChildrenText:{type:String,default:"No sub-options."},noOptionsText:{type:String,default:"No options available."},noResultsText:{type:String,default:"No results found..."},normalizer:{type:Function,default:Ia.a},openDirection:{type:String,default:"auto",validator:function(r){var o=["auto","top","bottom","above","below"];return we(o,r)}},openOnClick:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!1},options:{type:Array},placeholder:{type:String,default:"Select..."},required:{type:Boolean,default:!1},retryText:{type:String,default:"Retry?"},retryTitle:{type:String,default:"Click to retry"},searchable:{type:Boolean,default:!0},searchNested:{type:Boolean,default:!1},searchPromptText:{type:String,default:"Type to search..."},showCount:{type:Boolean,default:!1},showCountOf:{type:String,default:st,validator:function(r){var o=[st,yt,Tt,Nt];return we(o,r)}},showCountOnSearch:null,sortValueBy:{type:String,default:Ei,validator:function(r){var o=[Ei,yi,Ti];return we(o,r)}},tabIndex:{type:Number,default:0},value:null,valueConsistsOf:{type:String,default:Vt,validator:function(r){var o=[Rn,Vt,Ln,Mn];return we(o,r)}},valueFormat:{type:String,default:"id"},zIndex:{type:[Number,String],default:999}},data:function(){return{trigger:{isFocused:!1,searchQuery:""},menu:{isOpen:!1,current:null,lastScrollPosition:0,placement:"bottom"},forest:{normalizedOptions:[],nodeMap:ye(),checkedStateMap:ye(),selectedNodeIds:this.extractCheckedNodeIdsFromValue(),selectedNodeMap:ye()},rootOptionsStates:xn(),localSearch:{active:!1,noResults:!0,countMap:ye()},remoteSearch:ye()}},computed:{selectedNodes:function(){return this.forest.selectedNodeIds.map(this.getNode)},internalValue:function(){var r=this,o;if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===Rn)o=this.forest.selectedNodeIds.slice();else if(this.valueConsistsOf===Vt)o=this.forest.selectedNodeIds.filter(function(g){var y=r.getNode(g);return y.isRootNode?!0:!r.isSelected(y.parentNode)});else if(this.valueConsistsOf===Ln)o=this.forest.selectedNodeIds.filter(function(g){var y=r.getNode(g);return y.isLeaf?!0:y.children.length===0});else if(this.valueConsistsOf===Mn){var f,p=[];o=this.forest.selectedNodeIds.slice(),this.selectedNodes.forEach(function(g){g.ancestors.forEach(function(y){we(p,y.id)||we(o,y.id)||p.push(y.id)})}),(f=o).push.apply(f,p)}return this.sortValueBy===yi?o.sort(function(g,y){return Da(r.getNode(g),r.getNode(y))}):this.sortValueBy===Ti&&o.sort(function(g,y){return Ii(r.getNode(g),r.getNode(y))}),o},hasValue:function(){return this.internalValue.length>0},single:function(){return!this.multiple},visibleOptionIds:function(){var r=this,o=[];return this.traverseAllNodesByIndex(function(f){if((!r.localSearch.active||r.shouldOptionBeIncludedInSearchResult(f))&&o.push(f.id),f.isBranch&&!r.shouldExpand(f))return!1}),o},hasVisibleOptions:function(){return this.visibleOptionIds.length!==0},showCountOnSearchComputed:function(){return typeof this.showCountOnSearch=="boolean"?this.showCountOnSearch:this.showCount},hasBranchNodes:function(){return this.forest.normalizedOptions.some(function(r){return r.isBranch})},shouldFlattenOptions:function(){return this.localSearch.active&&this.flattenSearchResults}},watch:{alwaysOpen:function(r){r?this.openMenu():this.closeMenu()},branchNodesFirst:function(){this.initialize()},disabled:function(r){r&&this.menu.isOpen?this.closeMenu():!r&&!this.menu.isOpen&&this.alwaysOpen&&this.openMenu()},flat:function(){this.initialize()},internalValue:function(r,o){var f=Cn(r,o);f&&this.$emit("input",this.getValue(),this.getInstanceId())},matchKeys:function(){this.initialize()},multiple:function(r){r&&this.buildForestState()},options:{handler:function(){this.async||(this.initialize(),this.rootOptionsStates.isLoaded=Array.isArray(this.options))},deep:!0,immediate:!0},"trigger.searchQuery":function(){this.async?this.handleRemoteSearch():this.handleLocalSearch(),this.$emit("search-change",this.trigger.searchQuery,this.getInstanceId())},value:function(){var r=this.extractCheckedNodeIdsFromValue(),o=Cn(r,this.internalValue);o&&this.fixSelectedNodeIds(r)}},methods:{verifyProps:function(){var r=this;if(T(function(){return r.async?r.searchable:!0},function(){return'For async search mode, the value of "searchable" prop must be true.'}),this.options==null&&!this.loadOptions&&T(function(){return!1},function(){return'Are you meant to dynamically load options? You need to use "loadOptions" prop.'}),this.flat&&T(function(){return r.multiple},function(){return'You are using flat mode. But you forgot to add "multiple=true"?'}),!this.flat){var o=["autoSelectAncestors","autoSelectDescendants","autoDeselectAncestors","autoDeselectDescendants"];o.forEach(function(f){T(function(){return!r[f]},function(){return'"'.concat(f,'" only applies to flat mode.')})})}},resetFlags:function(){this._blurOnSelect=!1},initialize:function(){var r=this.async?this.getRemoteSearchEntry().options:this.options;if(Array.isArray(r)){var o=this.forest.nodeMap;this.forest.nodeMap=ye(),this.keepDataOfSelectedNodes(o),this.forest.normalizedOptions=this.normalize(qe,r,o),this.fixSelectedNodeIds(this.internalValue)}else this.forest.normalizedOptions=[]},getInstanceId:function(){return this.instanceId==null?this.id:this.instanceId},getValue:function(){var r=this;if(this.valueFormat==="id")return this.multiple?this.internalValue.slice():this.internalValue[0];var o=this.internalValue.map(function(f){return r.getNode(f).raw});return this.multiple?o:o[0]},getNode:function(r){return T(function(){return r!=null},function(){return"Invalid node id: ".concat(r)}),r==null?null:r in this.forest.nodeMap?this.forest.nodeMap[r]:this.createFallbackNode(r)},createFallbackNode:function(r){var o=this.extractNodeFromValue(r),f=this.enhancedNormalizer(o).label||"".concat(r," (unknown)"),p={id:r,label:f,ancestors:[],parentNode:qe,isFallbackNode:!0,isRootNode:!0,isLeaf:!0,isBranch:!1,isDisabled:!1,isNew:!1,index:[-1],level:0,raw:o};return this.$set(this.forest.nodeMap,r,p)},extractCheckedNodeIdsFromValue:function(){var r=this;return this.value==null?[]:this.valueFormat==="id"?this.multiple?this.value.slice():[this.value]:(this.multiple?this.value:[this.value]).map(function(o){return r.enhancedNormalizer(o)}).map(function(o){return o.id})},extractNodeFromValue:function(r){var o=this,f={id:r};if(this.valueFormat==="id")return f;var p=this.multiple?Array.isArray(this.value)?this.value:[]:this.value?[this.value]:[],g=pi(p,function(y){return y&&o.enhancedNormalizer(y).id===r});return g||f},fixSelectedNodeIds:function(r){var o=this,f=[];if(this.single||this.flat||this.disableBranchNodes||this.valueConsistsOf===Rn)f=r;else if(this.valueConsistsOf===Vt)r.forEach(function(Ce){f.push(Ce);var Ke=o.getNode(Ce);Ke.isBranch&&o.traverseDescendantsBFS(Ke,function(ot){f.push(ot.id)})});else if(this.valueConsistsOf===Ln)for(var p=ye(),g=r.slice();g.length;){var y=g.shift(),x=this.getNode(y);f.push(y),!x.isRootNode&&(x.parentNode.id in p||(p[x.parentNode.id]=x.parentNode.children.length),--p[x.parentNode.id]===0&&g.push(x.parentNode.id))}else if(this.valueConsistsOf===Mn)for(var H=ye(),me=r.filter(function(Ce){var Ke=o.getNode(Ce);return Ke.isLeaf||Ke.children.length===0});me.length;){var Se=me.shift(),j=this.getNode(Se);f.push(Se),!j.isRootNode&&(j.parentNode.id in H||(H[j.parentNode.id]=j.parentNode.children.length),--H[j.parentNode.id]===0&&me.push(j.parentNode.id))}var Ie=Cn(this.forest.selectedNodeIds,f);Ie&&(this.forest.selectedNodeIds=f),this.buildForestState()},keepDataOfSelectedNodes:function(r){var o=this;this.forest.selectedNodeIds.forEach(function(f){if(r[f]){var p=We({},r[f],{isFallbackNode:!0});o.$set(o.forest.nodeMap,f,p)}})},isSelected:function(r){return this.forest.selectedNodeMap[r.id]===!0},traverseDescendantsBFS:function(r,o){if(r.isBranch)for(var f=r.children.slice();f.length;){var p=f[0];p.isBranch&&f.push.apply(f,h()(p.children)),o(p),f.shift()}},traverseDescendantsDFS:function(r,o){var f=this;r.isBranch&&r.children.forEach(function(p){f.traverseDescendantsDFS(p,o),o(p)})},traverseAllNodesDFS:function(r){var o=this;this.forest.normalizedOptions.forEach(function(f){o.traverseDescendantsDFS(f,r),r(f)})},traverseAllNodesByIndex:function(r){var o=function f(p){p.children.forEach(function(g){r(g)!==!1&&g.isBranch&&f(g)})};o({children:this.forest.normalizedOptions})},toggleClickOutsideEvent:function(r){r?document.addEventListener("mousedown",this.handleClickOutside,!1):document.removeEventListener("mousedown",this.handleClickOutside,!1)},getValueContainer:function(){return this.$refs.control.$refs["value-container"]},getInput:function(){return this.getValueContainer().$refs.input},focusInput:function(){this.getInput().focus()},blurInput:function(){this.getInput().blur()},handleMouseDown:S(function(r){if(r.preventDefault(),r.stopPropagation(),!this.disabled){var o=this.getValueContainer().$el.contains(r.target);o&&!this.menu.isOpen&&(this.openOnClick||this.trigger.isFocused)&&this.openMenu(),this._blurOnSelect?this.blurInput():this.focusInput(),this.resetFlags()}}),handleClickOutside:function(r){this.$refs.wrapper&&!this.$refs.wrapper.contains(r.target)&&(this.blurInput(),this.closeMenu())},handleLocalSearch:function(){var r=this,o=this.trigger.searchQuery,f=function(){return r.resetHighlightedOptionWhenNecessary(!0)};if(!o)return this.localSearch.active=!1,f();this.localSearch.active=!0,this.localSearch.noResults=!0,this.traverseAllNodesDFS(function(y){if(y.isBranch){var x;y.isExpandedOnSearch=!1,y.showAllChildrenOnSearch=!1,y.isMatched=!1,y.hasMatchedDescendants=!1,r.$set(r.localSearch.countMap,y.id,(x={},d()(x,st,0),d()(x,yt,0),d()(x,Tt,0),d()(x,Nt,0),x))}});var p=o.trim().toLocaleLowerCase(),g=p.replace(/\s+/g," ").split(" ");this.traverseAllNodesDFS(function(y){r.searchNested&&g.length>1?y.isMatched=g.every(function(x){return Ci(!1,x,y.nestedSearchLabel)}):y.isMatched=r.matchKeys.some(function(x){return Ci(!r.disableFuzzyMatching,p,y.lowerCased[x])}),y.isMatched&&(r.localSearch.noResults=!1,y.ancestors.forEach(function(x){return r.localSearch.countMap[x.id][yt]++}),y.isLeaf&&y.ancestors.forEach(function(x){return r.localSearch.countMap[x.id][Nt]++}),y.parentNode!==qe&&(r.localSearch.countMap[y.parentNode.id][st]+=1,y.isLeaf&&(r.localSearch.countMap[y.parentNode.id][Tt]+=1))),(y.isMatched||y.isBranch&&y.isExpandedOnSearch)&&y.parentNode!==qe&&(y.parentNode.isExpandedOnSearch=!0,y.parentNode.hasMatchedDescendants=!0)}),f()},handleRemoteSearch:function(){var r=this,o=this.trigger.searchQuery,f=this.getRemoteSearchEntry(),p=function(){r.initialize(),r.resetHighlightedOptionWhenNecessary(!0)};if((o===""||this.cacheOptions)&&f.isLoaded)return p();this.callLoadOptionsProp({action:Si,args:{searchQuery:o},isPending:function(){return f.isLoading},start:function(){f.isLoading=!0,f.isLoaded=!1,f.loadingError=""},succeed:function(y){f.isLoaded=!0,f.options=y,r.trigger.searchQuery===o&&p()},fail:function(y){f.loadingError=Dn(y)},end:function(){f.isLoading=!1}})},getRemoteSearchEntry:function(){var r=this,o=this.trigger.searchQuery,f=this.remoteSearch[o]||We({},xn(),{options:[]});if(this.$watch(function(){return f.options},function(){r.trigger.searchQuery===o&&r.initialize()},{deep:!0}),o===""){if(Array.isArray(this.defaultOptions))return f.options=this.defaultOptions,f.isLoaded=!0,f;if(this.defaultOptions!==!0)return f.isLoaded=!0,f}return this.remoteSearch[o]||this.$set(this.remoteSearch,o,f),f},shouldExpand:function(r){return this.localSearch.active?r.isExpandedOnSearch:r.isExpanded},shouldOptionBeIncludedInSearchResult:function(r){return!!(r.isMatched||r.isBranch&&r.hasMatchedDescendants&&!this.flattenSearchResults||!r.isRootNode&&r.parentNode.showAllChildrenOnSearch)},shouldShowOptionInMenu:function(r){return!(this.localSearch.active&&!this.shouldOptionBeIncludedInSearchResult(r))},getControl:function(){return this.$refs.control.$el},getMenu:function(){var r=this.appendToBody?this.$refs.portal.portalTarget:this,o=r.$refs.menu.$refs.menu;return o&&o.nodeName!=="#comment"?o:null},setCurrentHighlightedOption:function(r){var o=this,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,p=this.menu.current;if(p!=null&&p in this.forest.nodeMap&&(this.forest.nodeMap[p].isHighlighted=!1),this.menu.current=r.id,r.isHighlighted=!0,this.menu.isOpen&&f){var g=function(){var x=o.getMenu(),H=x.querySelector('.vue-treeselect__option[data-id="'.concat(r.id,'"]'));H&&b(x,H)};this.getMenu()?g():this.$nextTick(g)}},resetHighlightedOptionWhenNecessary:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,o=this.menu.current;(r||o==null||!(o in this.forest.nodeMap)||!this.shouldShowOptionInMenu(this.getNode(o)))&&this.highlightFirstOption()},highlightFirstOption:function(){if(this.hasVisibleOptions){var r=this.visibleOptionIds[0];this.setCurrentHighlightedOption(this.getNode(r))}},highlightPrevOption:function(){if(this.hasVisibleOptions){var r=this.visibleOptionIds.indexOf(this.menu.current)-1;if(r===-1)return this.highlightLastOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[r]))}},highlightNextOption:function(){if(this.hasVisibleOptions){var r=this.visibleOptionIds.indexOf(this.menu.current)+1;if(r===this.visibleOptionIds.length)return this.highlightFirstOption();this.setCurrentHighlightedOption(this.getNode(this.visibleOptionIds[r]))}},highlightLastOption:function(){if(this.hasVisibleOptions){var r=di()(this.visibleOptionIds);this.setCurrentHighlightedOption(this.getNode(r))}},resetSearchQuery:function(){this.trigger.searchQuery=""},closeMenu:function(){!this.menu.isOpen||!this.disabled&&this.alwaysOpen||(this.saveMenuScrollPosition(),this.menu.isOpen=!1,this.toggleClickOutsideEvent(!1),this.resetSearchQuery(),this.$emit("close",this.getValue(),this.getInstanceId()))},openMenu:function(){this.disabled||this.menu.isOpen||(this.menu.isOpen=!0,this.$nextTick(this.resetHighlightedOptionWhenNecessary),this.$nextTick(this.restoreMenuScrollPosition),!this.options&&!this.async&&this.loadRootOptions(),this.toggleClickOutsideEvent(!0),this.$emit("open",this.getInstanceId()))},toggleMenu:function(){this.menu.isOpen?this.closeMenu():this.openMenu()},toggleExpanded:function(r){var o;this.localSearch.active?(o=r.isExpandedOnSearch=!r.isExpandedOnSearch,o&&(r.showAllChildrenOnSearch=!0)):o=r.isExpanded=!r.isExpanded,o&&!r.childrenStates.isLoaded&&this.loadChildrenOptions(r)},buildForestState:function(){var r=this,o=ye();this.forest.selectedNodeIds.forEach(function(p){o[p]=!0}),this.forest.selectedNodeMap=o;var f=ye();this.multiple&&(this.traverseAllNodesByIndex(function(p){f[p.id]=An}),this.selectedNodes.forEach(function(p){f[p.id]=vi,!r.flat&&!r.disableBranchNodes&&p.ancestors.forEach(function(g){r.isSelected(g)||(f[g.id]=mi)})})),this.forest.checkedStateMap=f},enhancedNormalizer:function(r){return We({},r,{},this.normalizer(r,this.getInstanceId()))},normalize:function(r,o,f){var p=this,g=o.map(function(H){return[p.enhancedNormalizer(H),H]}).map(function(H,me){var Se=a()(H,2),j=Se[0],Ie=Se[1];p.checkDuplication(j),p.verifyNodeShape(j);var Ce=j.id,Ke=j.label,ot=j.children,Fn=j.isDefaultExpanded,Ge=r===qe,es=Ge?0:r.level+1,Bn=Array.isArray(ot)||ot===null,Hn=!Bn,ts=!!j.isDisabled||!p.flat&&!Ge&&r.isDisabled,Yl=!!j.isNew,jn=p.matchKeys.reduce(function(Je,ns){return We({},Je,d()({},ns,wa(j[ns]).toLocaleLowerCase()))},{}),Zl=Ge?jn.label:r.nestedSearchLabel+" "+jn.label,M=p.$set(p.forest.nodeMap,Ce,ye());if(p.$set(M,"id",Ce),p.$set(M,"label",Ke),p.$set(M,"level",es),p.$set(M,"ancestors",Ge?[]:[r].concat(r.ancestors)),p.$set(M,"index",(Ge?[]:r.index).concat(me)),p.$set(M,"parentNode",r),p.$set(M,"lowerCased",jn),p.$set(M,"nestedSearchLabel",Zl),p.$set(M,"isDisabled",ts),p.$set(M,"isNew",Yl),p.$set(M,"isMatched",!1),p.$set(M,"isHighlighted",!1),p.$set(M,"isBranch",Bn),p.$set(M,"isLeaf",Hn),p.$set(M,"isRootNode",Ge),p.$set(M,"raw",Ie),Bn){var at,kt=Array.isArray(ot);p.$set(M,"childrenStates",We({},xn(),{isLoaded:kt})),p.$set(M,"isExpanded",typeof Fn=="boolean"?Fn:es<p.defaultExpandLevel),p.$set(M,"hasMatchedDescendants",!1),p.$set(M,"hasDisabledDescendants",!1),p.$set(M,"isExpandedOnSearch",!1),p.$set(M,"showAllChildrenOnSearch",!1),p.$set(M,"count",(at={},d()(at,st,0),d()(at,yt,0),d()(at,Tt,0),d()(at,Nt,0),at)),p.$set(M,"children",kt?p.normalize(M,ot,f):[]),Fn===!0&&M.ancestors.forEach(function(Je){Je.isExpanded=!0}),!kt&&typeof p.loadOptions!="function"?T(function(){return!1},function(){return'Unloaded branch node detected. "loadOptions" prop is required to load its children.'}):!kt&&M.isExpanded&&p.loadChildrenOptions(M)}if(M.ancestors.forEach(function(Je){return Je.count[yt]++}),Hn&&M.ancestors.forEach(function(Je){return Je.count[Nt]++}),Ge||(r.count[st]+=1,Hn&&(r.count[Tt]+=1),ts&&(r.hasDisabledDescendants=!0)),f&&f[Ce]){var Pe=f[Ce];M.isMatched=Pe.isMatched,M.showAllChildrenOnSearch=Pe.showAllChildrenOnSearch,M.isHighlighted=Pe.isHighlighted,Pe.isBranch&&M.isBranch&&(M.isExpanded=Pe.isExpanded,M.isExpandedOnSearch=Pe.isExpandedOnSearch,Pe.childrenStates.isLoaded&&!M.childrenStates.isLoaded?M.isExpanded=!1:M.childrenStates=We({},Pe.childrenStates))}return M});if(this.branchNodesFirst){var y=g.filter(function(H){return H.isBranch}),x=g.filter(function(H){return H.isLeaf});g=y.concat(x)}return g},loadRootOptions:function(){var r=this;this.callLoadOptionsProp({action:gi,isPending:function(){return r.rootOptionsStates.isLoading},start:function(){r.rootOptionsStates.isLoading=!0,r.rootOptionsStates.loadingError=""},succeed:function(){r.rootOptionsStates.isLoaded=!0,r.$nextTick(function(){r.resetHighlightedOptionWhenNecessary(!0)})},fail:function(f){r.rootOptionsStates.loadingError=Dn(f)},end:function(){r.rootOptionsStates.isLoading=!1}})},loadChildrenOptions:function(r){var o=this,f=r.id,p=r.raw;this.callLoadOptionsProp({action:_i,args:{parentNode:p},isPending:function(){return o.getNode(f).childrenStates.isLoading},start:function(){o.getNode(f).childrenStates.isLoading=!0,o.getNode(f).childrenStates.loadingError=""},succeed:function(){o.getNode(f).childrenStates.isLoaded=!0},fail:function(y){o.getNode(f).childrenStates.loadingError=Dn(y)},end:function(){o.getNode(f).childrenStates.isLoading=!1}})},callLoadOptionsProp:function(r){var o=r.action,f=r.args,p=r.isPending,g=r.start,y=r.succeed,x=r.fail,H=r.end;if(!(!this.loadOptions||p())){g();var me=Et()(function(j,Ie){j?x(j):y(Ie),H()}),Se=this.loadOptions(We({id:this.getInstanceId(),instanceId:this.getInstanceId(),action:o},f,{callback:me}));St()(Se)&&Se.then(function(){me()},function(j){me(j)}).catch(function(j){console.error(j)})}},checkDuplication:function(r){var o=this;T(function(){return!(r.id in o.forest.nodeMap&&!o.forest.nodeMap[r.id].isFallbackNode)},function(){return"Detected duplicate presence of node id ".concat(JSON.stringify(r.id),". ")+'Their labels are "'.concat(o.forest.nodeMap[r.id].label,'" and "').concat(r.label,'" respectively.')})},verifyNodeShape:function(r){T(function(){return!(r.children===void 0&&r.isBranch===!0)},function(){return"Are you meant to declare an unloaded branch node? `isBranch: true` is no longer supported, please use `children: null` instead."})},select:function(r){if(!(this.disabled||r.isDisabled)){this.single&&this.clear();var o=this.multiple&&!this.flat?this.forest.checkedStateMap[r.id]===An:!this.isSelected(r);o?this._selectNode(r):this._deselectNode(r),this.buildForestState(),o?this.$emit("select",r.raw,this.getInstanceId()):this.$emit("deselect",r.raw,this.getInstanceId()),this.localSearch.active&&o&&(this.single||this.clearOnSelect)&&this.resetSearchQuery(),this.single&&this.closeOnSelect&&(this.closeMenu(),this.searchable&&(this._blurOnSelect=!0))}},clear:function(){var r=this;this.hasValue&&(this.single||this.allowClearingDisabled?this.forest.selectedNodeIds=[]:this.forest.selectedNodeIds=this.forest.selectedNodeIds.filter(function(o){return r.getNode(o).isDisabled}),this.buildForestState())},_selectNode:function(r){var o=this;if(this.single||this.disableBranchNodes)return this.addValue(r);if(this.flat){this.addValue(r),this.autoSelectAncestors?r.ancestors.forEach(function(g){!o.isSelected(g)&&!g.isDisabled&&o.addValue(g)}):this.autoSelectDescendants&&this.traverseDescendantsBFS(r,function(g){!o.isSelected(g)&&!g.isDisabled&&o.addValue(g)});return}var f=r.isLeaf||!r.hasDisabledDescendants||this.allowSelectingDisabledDescendants;if(f&&this.addValue(r),r.isBranch&&this.traverseDescendantsBFS(r,function(g){(!g.isDisabled||o.allowSelectingDisabledDescendants)&&o.addValue(g)}),f)for(var p=r;(p=p.parentNode)!==qe&&p.children.every(this.isSelected);)this.addValue(p)},_deselectNode:function(r){var o=this;if(this.disableBranchNodes)return this.removeValue(r);if(this.flat){this.removeValue(r),this.autoDeselectAncestors?r.ancestors.forEach(function(g){o.isSelected(g)&&!g.isDisabled&&o.removeValue(g)}):this.autoDeselectDescendants&&this.traverseDescendantsBFS(r,function(g){o.isSelected(g)&&!g.isDisabled&&o.removeValue(g)});return}var f=!1;if(r.isBranch&&this.traverseDescendantsDFS(r,function(g){(!g.isDisabled||o.allowSelectingDisabledDescendants)&&(o.removeValue(g),f=!0)}),r.isLeaf||f||r.children.length===0){this.removeValue(r);for(var p=r;(p=p.parentNode)!==qe&&this.isSelected(p);)this.removeValue(p)}},addValue:function(r){this.forest.selectedNodeIds.push(r.id),this.forest.selectedNodeMap[r.id]=!0},removeValue:function(r){z(this.forest.selectedNodeIds,r.id),delete this.forest.selectedNodeMap[r.id]},removeLastValue:function(){if(this.hasValue){if(this.single)return this.clear();var r=di()(this.internalValue),o=this.getNode(r);this.select(o)}},saveMenuScrollPosition:function(){var r=this.getMenu();r&&(this.menu.lastScrollPosition=r.scrollTop)},restoreMenuScrollPosition:function(){var r=this.getMenu();r&&(r.scrollTop=this.menu.lastScrollPosition)}},created:function(){this.verifyProps(),this.resetFlags()},mounted:function(){this.autoFocus&&this.focusInput(),!this.options&&!this.async&&this.autoLoadRootOptions&&this.loadRootOptions(),this.alwaysOpen&&this.openMenu(),this.async&&this.defaultOptions&&this.handleRemoteSearch()},destroyed:function(){this.toggleClickOutsideEvent(!1)}};function Va(c){return typeof c=="string"?c:c!=null&&!Ne(c)?JSON.stringify(c):""}var ka={name:"vue-treeselect--hidden-fields",inject:["instance"],functional:!0,render:function(r,o){var f=arguments[0],p=o.injections.instance;if(!p.name||p.disabled||!p.hasValue)return null;var g=p.internalValue.map(Va);return p.multiple&&p.joinValues&&(g=[g.join(p.delimiter)]),g.map(function(y,x){return f("input",{attrs:{type:"hidden",name:p.name},domProps:{value:y},key:"hidden-field-"+x})})}},Fa=ka;function fe(c,r,o,f,p,g,y,x){var H=typeof c=="function"?c.options:c;return r&&(H.render=r,H.staticRenderFns=o,H._compiled=!0),{exports:c,options:H}}var Ba,Ha,Ri=fe(Fa,Ba,Ha);Ri.options.__file="src/components/HiddenFields.vue";var ja=Ri.exports,Xa=i(13),Li=i.n(Xa),Ua=[ee.ENTER,ee.END,ee.HOME,ee.ARROW_LEFT,ee.ARROW_UP,ee.ARROW_RIGHT,ee.ARROW_DOWN],$a={name:"vue-treeselect--input",inject:["instance"],data:function(){return{inputWidth:Ni,value:""}},computed:{needAutoSize:function(){var r=this.instance;return r.searchable&&!r.disabled&&r.multiple},inputStyle:function(){return{width:this.needAutoSize?"".concat(this.inputWidth,"px"):null}}},watch:{"instance.trigger.searchQuery":function(r){this.value=r},value:function(){this.needAutoSize&&this.$nextTick(this.updateInputWidth)}},created:function(){this.debouncedCallback=R()(this.updateSearchQuery,xa,{leading:!0,trailing:!0})},methods:{clear:function(){this.onInput({target:{value:""}})},focus:function(){var r=this.instance;r.disabled||this.$refs.input&&this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},onFocus:function(){var r=this.instance;r.trigger.isFocused=!0,r.openOnFocus&&r.openMenu()},onBlur:function(){var r=this.instance,o=r.getMenu();if(o&&document.activeElement===o)return this.focus();r.trigger.isFocused=!1,r.closeMenu()},onInput:function(r){var o=r.target.value;this.value=o,o?this.debouncedCallback():(this.debouncedCallback.cancel(),this.updateSearchQuery())},onKeyDown:function(r){var o=this.instance,f="which"in r?r.which:r.keyCode;if(!(r.ctrlKey||r.shiftKey||r.altKey||r.metaKey)){if(!o.menu.isOpen&&we(Ua,f))return r.preventDefault(),o.openMenu();switch(f){case ee.BACKSPACE:{o.backspaceRemoves&&!this.value.length&&o.removeLastValue();break}case ee.ENTER:{if(r.preventDefault(),o.menu.current===null)return;var p=o.getNode(o.menu.current);if(p.isBranch&&o.disableBranchNodes)return;o.select(p);break}case ee.ESCAPE:{this.value.length?this.clear():o.menu.isOpen&&o.closeMenu();break}case ee.END:{r.preventDefault(),o.highlightLastOption();break}case ee.HOME:{r.preventDefault(),o.highlightFirstOption();break}case ee.ARROW_LEFT:{var g=o.getNode(o.menu.current);g.isBranch&&o.shouldExpand(g)?(r.preventDefault(),o.toggleExpanded(g)):!g.isRootNode&&(g.isLeaf||g.isBranch&&!o.shouldExpand(g))&&(r.preventDefault(),o.setCurrentHighlightedOption(g.parentNode));break}case ee.ARROW_UP:{r.preventDefault(),o.highlightPrevOption();break}case ee.ARROW_RIGHT:{var y=o.getNode(o.menu.current);y.isBranch&&!o.shouldExpand(y)&&(r.preventDefault(),o.toggleExpanded(y));break}case ee.ARROW_DOWN:{r.preventDefault(),o.highlightNextOption();break}case ee.DELETE:{o.deleteRemoves&&!this.value.length&&o.removeLastValue();break}default:o.openMenu()}}},onMouseDown:function(r){this.value.length&&r.stopPropagation()},renderInputContainer:function(){var r=this.$createElement,o=this.instance,f={},p=[];return o.searchable&&!o.disabled&&(p.push(this.renderInput()),this.needAutoSize&&p.push(this.renderSizer())),o.searchable||In(f,{on:{focus:this.onFocus,blur:this.onBlur,keydown:this.onKeyDown},ref:"input"}),!o.searchable&&!o.disabled&&In(f,{attrs:{tabIndex:o.tabIndex}}),r("div",Li()([{class:"vue-treeselect__input-container"},f]),[p])},renderInput:function(){var r=this.$createElement,o=this.instance;return r("input",{ref:"input",class:"vue-treeselect__input",attrs:{type:"text",autocomplete:"off",tabIndex:o.tabIndex,required:o.required&&!o.hasValue},domProps:{value:this.value},style:this.inputStyle,on:{focus:this.onFocus,input:this.onInput,blur:this.onBlur,keydown:this.onKeyDown,mousedown:this.onMouseDown}})},renderSizer:function(){var r=this.$createElement;return r("div",{ref:"sizer",class:"vue-treeselect__sizer"},[this.value])},updateInputWidth:function(){this.inputWidth=Math.max(Ni,this.$refs.sizer.scrollWidth+15)},updateSearchQuery:function(){var r=this.instance;r.trigger.searchQuery=this.value}},render:function(){return this.renderInputContainer()}},za=$a,qa,Wa,Mi=fe(za,qa,Wa);Mi.options.__file="src/components/Input.vue";var xi=Mi.exports,Ka={name:"vue-treeselect--placeholder",inject:["instance"],render:function(){var r=arguments[0],o=this.instance,f={"vue-treeselect__placeholder":!0,"vue-treeselect-helper-zoom-effect-off":!0,"vue-treeselect-helper-hide":o.hasValue||o.trigger.searchQuery};return r("div",{class:f},[o.placeholder])}},Ga=Ka,Ja,Qa,Di=fe(Ga,Ja,Qa);Di.options.__file="src/components/Placeholder.vue";var wi=Di.exports,Ya={name:"vue-treeselect--single-value",inject:["instance"],methods:{renderSingleValueLabel:function(){var r=this.instance,o=r.selectedNodes[0],f=r.$scopedSlots["value-label"];return f?f({node:o}):o.label}},render:function(){var r=arguments[0],o=this.instance,f=this.$parent.renderValueContainer,p=o.hasValue&&!o.trigger.searchQuery;return f([p&&r("div",{class:"vue-treeselect__single-value"},[this.renderSingleValueLabel()]),r(wi),r(xi,{ref:"input"})])}},Za=Ya,el,tl,Pi=fe(Za,el,tl);Pi.options.__file="src/components/SingleValue.vue";var nl=Pi.exports,Vi=function(){var c=this,r=c.$createElement,o=c._self._c||r;return o("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 348.333 348.333"}},[o("path",{attrs:{d:"M336.559 68.611L231.016 174.165l105.543 105.549c15.699 15.705 15.699 41.145 0 56.85-7.844 7.844-18.128 11.769-28.407 11.769-10.296 0-20.581-3.919-28.419-11.769L174.167 231.003 68.609 336.563c-7.843 7.844-18.128 11.769-28.416 11.769-10.285 0-20.563-3.919-28.413-11.769-15.699-15.698-15.699-41.139 0-56.85l105.54-105.549L11.774 68.611c-15.699-15.699-15.699-41.145 0-56.844 15.696-15.687 41.127-15.687 56.829 0l105.563 105.554L279.721 11.767c15.705-15.687 41.139-15.687 56.832 0 15.705 15.699 15.705 41.145.006 56.844z"}})])},rl=[];Vi._withStripped=!0;var il={name:"vue-treeselect--x"},sl=il,ki=fe(sl,Vi,rl);ki.options.__file="src/components/icons/Delete.vue";var Fi=ki.exports,ol={name:"vue-treeselect--multi-value-item",inject:["instance"],props:{node:{type:Object,required:!0}},methods:{handleMouseDown:S(function(){var r=this.instance,o=this.node;r.select(o)})},render:function(){var r=arguments[0],o=this.instance,f=this.node,p={"vue-treeselect__multi-value-item":!0,"vue-treeselect__multi-value-item-disabled":f.isDisabled,"vue-treeselect__multi-value-item-new":f.isNew},g=o.$scopedSlots["value-label"],y=g?g({node:f}):f.label;return r("div",{class:"vue-treeselect__multi-value-item-container"},[r("div",{class:p,on:{mousedown:this.handleMouseDown}},[r("span",{class:"vue-treeselect__multi-value-label"},[y]),r("span",{class:"vue-treeselect__icon vue-treeselect__value-remove"},[r(Fi)])])])}},al=ol,ll,cl,Bi=fe(al,ll,cl);Bi.options.__file="src/components/MultiValueItem.vue";var ul=Bi.exports,fl={name:"vue-treeselect--multi-value",inject:["instance"],methods:{renderMultiValueItems:function(){var r=this.$createElement,o=this.instance;return o.internalValue.slice(0,o.limit).map(o.getNode).map(function(f){return r(ul,{key:"multi-value-item-".concat(f.id),attrs:{node:f}})})},renderExceedLimitTip:function(){var r=this.$createElement,o=this.instance,f=o.internalValue.length-o.limit;return f<=0?null:r("div",{class:"vue-treeselect__limit-tip vue-treeselect-helper-zoom-effect-off",key:"exceed-limit-tip"},[r("span",{class:"vue-treeselect__limit-tip-text"},[o.limitText(f)])])}},render:function(){var r=arguments[0],o=this.$parent.renderValueContainer,f={props:{tag:"div",name:"vue-treeselect__multi-value-item--transition",appear:!0}};return o(r("transition-group",Li()([{class:"vue-treeselect__multi-value"},f]),[this.renderMultiValueItems(),this.renderExceedLimitTip(),r(wi,{key:"placeholder"}),r(xi,{ref:"input",key:"input"})]))}},hl=fl,dl,pl,Hi=fe(hl,dl,pl);Hi.options.__file="src/components/MultiValue.vue";var ml=Hi.exports,ji=function(){var c=this,r=c.$createElement,o=c._self._c||r;return o("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 292.362 292.362"}},[o("path",{attrs:{d:"M286.935 69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952 0-9.233 1.807-12.85 5.424C1.807 72.998 0 77.279 0 82.228c0 4.948 1.807 9.229 5.424 12.847l127.907 127.907c3.621 3.617 7.902 5.428 12.85 5.428s9.233-1.811 12.847-5.428L286.935 95.074c3.613-3.617 5.427-7.898 5.427-12.847 0-4.948-1.814-9.229-5.427-12.85z"}})])},vl=[];ji._withStripped=!0;var gl={name:"vue-treeselect--arrow"},_l=gl,Xi=fe(_l,ji,vl);Xi.options.__file="src/components/icons/Arrow.vue";var Ui=Xi.exports,Sl={name:"vue-treeselect--control",inject:["instance"],computed:{shouldShowX:function(){var r=this.instance;return r.clearable&&!r.disabled&&r.hasValue&&(this.hasUndisabledValue||r.allowClearingDisabled)},shouldShowArrow:function(){var r=this.instance;return r.alwaysOpen?!r.menu.isOpen:!0},hasUndisabledValue:function(){var r=this.instance;return r.hasValue&&r.internalValue.some(function(o){return!r.getNode(o).isDisabled})}},methods:{renderX:function(){var r=this.$createElement,o=this.instance,f=o.multiple?o.clearAllText:o.clearValueText;return this.shouldShowX?r("div",{class:"vue-treeselect__x-container",attrs:{title:f},on:{mousedown:this.handleMouseDownOnX}},[r(Fi,{class:"vue-treeselect__x"})]):null},renderArrow:function(){var r=this.$createElement,o=this.instance,f={"vue-treeselect__control-arrow":!0,"vue-treeselect__control-arrow--rotated":o.menu.isOpen};return this.shouldShowArrow?r("div",{class:"vue-treeselect__control-arrow-container",on:{mousedown:this.handleMouseDownOnArrow}},[r(Ui,{class:f})]):null},handleMouseDownOnX:S(function(r){r.stopPropagation(),r.preventDefault();var o=this.instance,f=o.beforeClearAll(),p=function(y){y&&o.clear()};St()(f)?f.then(p):setTimeout(function(){return p(f)},0)}),handleMouseDownOnArrow:S(function(r){r.preventDefault(),r.stopPropagation();var o=this.instance;o.focusInput(),o.toggleMenu()}),renderValueContainer:function(r){var o=this.$createElement;return o("div",{class:"vue-treeselect__value-container"},[r])}},render:function(){var r=arguments[0],o=this.instance,f=o.single?nl:ml;return r("div",{class:"vue-treeselect__control",on:{mousedown:o.handleMouseDown}},[r(f,{ref:"value-container"}),this.renderX(),this.renderArrow()])}},El=Sl,yl,Tl,$i=fe(El,yl,Tl);$i.options.__file="src/components/Control.vue";var Nl=$i.exports,Ol={name:"vue-treeselect--tip",functional:!0,props:{type:{type:String,required:!0},icon:{type:String,required:!0}},render:function(r,o){var f=arguments[0],p=o.props,g=o.children;return f("div",{class:"vue-treeselect__tip vue-treeselect__".concat(p.type,"-tip")},[f("div",{class:"vue-treeselect__icon-container"},[f("span",{class:"vue-treeselect__icon-".concat(p.icon)})]),f("span",{class:"vue-treeselect__tip-text vue-treeselect__".concat(p.type,"-tip-text")},[g])])}},bl=Ol,Il,Cl,zi=fe(bl,Il,Cl);zi.options.__file="src/components/Tip.vue";var be=zi.exports,wn,Pn,Vn,qi={name:"vue-treeselect--option",inject:["instance"],props:{node:{type:Object,required:!0}},computed:{shouldExpand:function(){var r=this.instance,o=this.node;return o.isBranch&&r.shouldExpand(o)},shouldShow:function(){var r=this.instance,o=this.node;return r.shouldShowOptionInMenu(o)}},methods:{renderOption:function(){var r=this.$createElement,o=this.instance,f=this.node,p={"vue-treeselect__option":!0,"vue-treeselect__option--disabled":f.isDisabled,"vue-treeselect__option--selected":o.isSelected(f),"vue-treeselect__option--highlight":f.isHighlighted,"vue-treeselect__option--matched":o.localSearch.active&&f.isMatched,"vue-treeselect__option--hide":!this.shouldShow};return r("div",{class:p,on:{mouseenter:this.handleMouseEnterOption},attrs:{"data-id":f.id}},[this.renderArrow(),this.renderLabelContainer([this.renderCheckboxContainer([this.renderCheckbox()]),this.renderLabel()])])},renderSubOptionsList:function(){var r=this.$createElement;return this.shouldExpand?r("div",{class:"vue-treeselect__list"},[this.renderSubOptions(),this.renderNoChildrenTip(),this.renderLoadingChildrenTip(),this.renderLoadingChildrenErrorTip()]):null},renderArrow:function(){var r=this.$createElement,o=this.instance,f=this.node;if(o.shouldFlattenOptions&&this.shouldShow)return null;if(f.isBranch){var p={props:{name:"vue-treeselect__option-arrow--prepare",appear:!0}},g={"vue-treeselect__option-arrow":!0,"vue-treeselect__option-arrow--rotated":this.shouldExpand};return r("div",{class:"vue-treeselect__option-arrow-container",on:{mousedown:this.handleMouseDownOnArrow}},[r("transition",p,[r(Ui,{class:g})])])}return o.hasBranchNodes?(wn||(wn=r("div",{class:"vue-treeselect__option-arrow-placeholder"},[" "])),wn):null},renderLabelContainer:function(r){var o=this.$createElement;return o("div",{class:"vue-treeselect__label-container",on:{mousedown:this.handleMouseDownOnLabelContainer}},[r])},renderCheckboxContainer:function(r){var o=this.$createElement,f=this.instance,p=this.node;return f.single||f.disableBranchNodes&&p.isBranch?null:o("div",{class:"vue-treeselect__checkbox-container"},[r])},renderCheckbox:function(){var r=this.$createElement,o=this.instance,f=this.node,p=o.forest.checkedStateMap[f.id],g={"vue-treeselect__checkbox":!0,"vue-treeselect__checkbox--checked":p===vi,"vue-treeselect__checkbox--indeterminate":p===mi,"vue-treeselect__checkbox--unchecked":p===An,"vue-treeselect__checkbox--disabled":f.isDisabled};return Pn||(Pn=r("span",{class:"vue-treeselect__check-mark"})),Vn||(Vn=r("span",{class:"vue-treeselect__minus-mark"})),r("span",{class:g},[Pn,Vn])},renderLabel:function(){var r=this.$createElement,o=this.instance,f=this.node,p=f.isBranch&&(o.localSearch.active?o.showCountOnSearchComputed:o.showCount),g=p?o.localSearch.active?o.localSearch.countMap[f.id][o.showCountOf]:f.count[o.showCountOf]:NaN,y="vue-treeselect__label",x="vue-treeselect__count",H=o.$scopedSlots["option-label"];return H?H({node:f,shouldShowCount:p,count:g,labelClassName:y,countClassName:x}):r("label",{class:y},[f.label,p&&r("span",{class:x},["(",g,")"])])},renderSubOptions:function(){var r=this.$createElement,o=this.node;return o.childrenStates.isLoaded?o.children.map(function(f){return r(qi,{attrs:{node:f},key:f.id})}):null},renderNoChildrenTip:function(){var r=this.$createElement,o=this.instance,f=this.node;return!f.childrenStates.isLoaded||f.children.length?null:r(be,{attrs:{type:"no-children",icon:"warning"}},[o.noChildrenText])},renderLoadingChildrenTip:function(){var r=this.$createElement,o=this.instance,f=this.node;return f.childrenStates.isLoading?r(be,{attrs:{type:"loading",icon:"loader"}},[o.loadingText]):null},renderLoadingChildrenErrorTip:function(){var r=this.$createElement,o=this.instance,f=this.node;return f.childrenStates.loadingError?r(be,{attrs:{type:"error",icon:"error"}},[f.childrenStates.loadingError,r("a",{class:"vue-treeselect__retry",attrs:{title:o.retryTitle},on:{mousedown:this.handleMouseDownOnRetry}},[o.retryText])]):null},handleMouseEnterOption:function(r){var o=this.instance,f=this.node;r.target===r.currentTarget&&o.setCurrentHighlightedOption(f,!1)},handleMouseDownOnArrow:S(function(){var r=this.instance,o=this.node;r.toggleExpanded(o)}),handleMouseDownOnLabelContainer:S(function(){var r=this.instance,o=this.node;o.isBranch&&r.disableBranchNodes?r.toggleExpanded(o):r.select(o)}),handleMouseDownOnRetry:S(function(){var r=this.instance,o=this.node;r.loadChildrenOptions(o)})},render:function(){var r=arguments[0],o=this.node,f=this.instance.shouldFlattenOptions?0:o.level,p=d()({"vue-treeselect__list-item":!0},"vue-treeselect__indent-level-".concat(f),!0),g={props:{name:"vue-treeselect__list--transition"}};return r("div",{class:p},[this.renderOption(),o.isBranch&&r("transition",g,[this.renderSubOptionsList()])])}},Al=qi,Rl=Al,Ll,Ml,Wi=fe(Rl,Ll,Ml);Wi.options.__file="src/components/Option.vue";var xl=Wi.exports,Dl={top:"top",bottom:"bottom",above:"top",below:"bottom"},wl={name:"vue-treeselect--menu",inject:["instance"],computed:{menuStyle:function(){var r=this.instance;return{maxHeight:r.maxHeight+"px"}},menuContainerStyle:function(){var r=this.instance;return{zIndex:r.appendToBody?null:r.zIndex}}},watch:{"instance.menu.isOpen":function(r){r?this.$nextTick(this.onMenuOpen):this.onMenuClose()}},created:function(){this.menuSizeWatcher=null,this.menuResizeAndScrollEventListeners=null},mounted:function(){var r=this.instance;r.menu.isOpen&&this.$nextTick(this.onMenuOpen)},destroyed:function(){this.onMenuClose()},methods:{renderMenu:function(){var r=this.$createElement,o=this.instance;return o.menu.isOpen?r("div",{ref:"menu",class:"vue-treeselect__menu",on:{mousedown:o.handleMouseDown},style:this.menuStyle},[this.renderBeforeList(),o.async?this.renderAsyncSearchMenuInner():o.localSearch.active?this.renderLocalSearchMenuInner():this.renderNormalMenuInner(),this.renderAfterList()]):null},renderBeforeList:function(){var r=this.instance,o=r.$scopedSlots["before-list"];return o?o():null},renderAfterList:function(){var r=this.instance,o=r.$scopedSlots["after-list"];return o?o():null},renderNormalMenuInner:function(){var r=this.instance;return r.rootOptionsStates.isLoading?this.renderLoadingOptionsTip():r.rootOptionsStates.loadingError?this.renderLoadingRootOptionsErrorTip():r.rootOptionsStates.isLoaded&&r.forest.normalizedOptions.length===0?this.renderNoAvailableOptionsTip():this.renderOptionList()},renderLocalSearchMenuInner:function(){var r=this.instance;return r.rootOptionsStates.isLoading?this.renderLoadingOptionsTip():r.rootOptionsStates.loadingError?this.renderLoadingRootOptionsErrorTip():r.rootOptionsStates.isLoaded&&r.forest.normalizedOptions.length===0?this.renderNoAvailableOptionsTip():r.localSearch.noResults?this.renderNoResultsTip():this.renderOptionList()},renderAsyncSearchMenuInner:function(){var r=this.instance,o=r.getRemoteSearchEntry(),f=r.trigger.searchQuery===""&&!r.defaultOptions,p=f?!1:o.isLoaded&&o.options.length===0;return f?this.renderSearchPromptTip():o.isLoading?this.renderLoadingOptionsTip():o.loadingError?this.renderAsyncSearchLoadingErrorTip():p?this.renderNoResultsTip():this.renderOptionList()},renderOptionList:function(){var r=this.$createElement,o=this.instance;return r("div",{class:"vue-treeselect__list"},[o.forest.normalizedOptions.map(function(f){return r(xl,{attrs:{node:f},key:f.id})})])},renderSearchPromptTip:function(){var r=this.$createElement,o=this.instance;return r(be,{attrs:{type:"search-prompt",icon:"warning"}},[o.searchPromptText])},renderLoadingOptionsTip:function(){var r=this.$createElement,o=this.instance;return r(be,{attrs:{type:"loading",icon:"loader"}},[o.loadingText])},renderLoadingRootOptionsErrorTip:function(){var r=this.$createElement,o=this.instance;return r(be,{attrs:{type:"error",icon:"error"}},[o.rootOptionsStates.loadingError,r("a",{class:"vue-treeselect__retry",on:{click:o.loadRootOptions},attrs:{title:o.retryTitle}},[o.retryText])])},renderAsyncSearchLoadingErrorTip:function(){var r=this.$createElement,o=this.instance,f=o.getRemoteSearchEntry();return r(be,{attrs:{type:"error",icon:"error"}},[f.loadingError,r("a",{class:"vue-treeselect__retry",on:{click:o.handleRemoteSearch},attrs:{title:o.retryTitle}},[o.retryText])])},renderNoAvailableOptionsTip:function(){var r=this.$createElement,o=this.instance;return r(be,{attrs:{type:"no-options",icon:"warning"}},[o.noOptionsText])},renderNoResultsTip:function(){var r=this.$createElement,o=this.instance;return r(be,{attrs:{type:"no-results",icon:"warning"}},[o.noResultsText])},onMenuOpen:function(){this.adjustMenuOpenDirection(),this.setupMenuSizeWatcher(),this.setupMenuResizeAndScrollEventListeners()},onMenuClose:function(){this.removeMenuSizeWatcher(),this.removeMenuResizeAndScrollEventListeners()},adjustMenuOpenDirection:function(){var r=this.instance;if(r.menu.isOpen){var o=r.getMenu(),f=r.getControl(),p=o.getBoundingClientRect(),g=f.getBoundingClientRect(),y=p.height,x=window.innerHeight,H=g.top,me=window.innerHeight-g.bottom,Se=g.top>=0&&g.top<=x||g.top<0&&g.bottom>0,j=me>y+Oi,Ie=H>y+Oi;Se?r.openDirection!=="auto"?r.menu.placement=Dl[r.openDirection]:j||!Ie?r.menu.placement="bottom":r.menu.placement="top":r.closeMenu()}},setupMenuSizeWatcher:function(){var r=this.instance,o=r.getMenu();this.menuSizeWatcher||(this.menuSizeWatcher={remove:O(o,this.adjustMenuOpenDirection)})},setupMenuResizeAndScrollEventListeners:function(){var r=this.instance,o=r.getControl();this.menuResizeAndScrollEventListeners||(this.menuResizeAndScrollEventListeners={remove:ue(o,this.adjustMenuOpenDirection)})},removeMenuSizeWatcher:function(){this.menuSizeWatcher&&(this.menuSizeWatcher.remove(),this.menuSizeWatcher=null)},removeMenuResizeAndScrollEventListeners:function(){this.menuResizeAndScrollEventListeners&&(this.menuResizeAndScrollEventListeners.remove(),this.menuResizeAndScrollEventListeners=null)}},render:function(){var r=arguments[0];return r("div",{ref:"menu-container",class:"vue-treeselect__menu-container",style:this.menuContainerStyle},[r("transition",{attrs:{name:"vue-treeselect__menu--transition"}},[this.renderMenu()])])}},Pl=wl,Vl,kl,Ki=fe(Pl,Vl,kl);Ki.options.__file="src/components/Menu.vue";var Gi=Ki.exports,Fl=i(14),Bl=i.n(Fl);function Ji(c,r){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(c);r&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(c,p).enumerable})),o.push.apply(o,f)}return o}function Hl(c){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Ji(o,!0).forEach(function(f){d()(c,f,o[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):Ji(o).forEach(function(f){Object.defineProperty(c,f,Object.getOwnPropertyDescriptor(o,f))})}return c}var jl={name:"vue-treeselect--portal-target",inject:["instance"],watch:{"instance.menu.isOpen":function(r){r?this.setupHandlers():this.removeHandlers()},"instance.menu.placement":function(){this.updateMenuContainerOffset()}},created:function(){this.controlResizeAndScrollEventListeners=null,this.controlSizeWatcher=null},mounted:function(){var r=this.instance;r.menu.isOpen&&this.setupHandlers()},methods:{setupHandlers:function(){this.updateWidth(),this.updateMenuContainerOffset(),this.setupControlResizeAndScrollEventListeners(),this.setupControlSizeWatcher()},removeHandlers:function(){this.removeControlResizeAndScrollEventListeners(),this.removeControlSizeWatcher()},setupControlResizeAndScrollEventListeners:function(){var r=this.instance,o=r.getControl();this.controlResizeAndScrollEventListeners||(this.controlResizeAndScrollEventListeners={remove:ue(o,this.updateMenuContainerOffset)})},setupControlSizeWatcher:function(){var r=this,o=this.instance,f=o.getControl();this.controlSizeWatcher||(this.controlSizeWatcher={remove:O(f,function(){r.updateWidth(),r.updateMenuContainerOffset()})})},removeControlResizeAndScrollEventListeners:function(){this.controlResizeAndScrollEventListeners&&(this.controlResizeAndScrollEventListeners.remove(),this.controlResizeAndScrollEventListeners=null)},removeControlSizeWatcher:function(){this.controlSizeWatcher&&(this.controlSizeWatcher.remove(),this.controlSizeWatcher=null)},updateWidth:function(){var r=this.instance,o=this.$el,f=r.getControl(),p=f.getBoundingClientRect();o.style.width=p.width+"px"},updateMenuContainerOffset:function(){var r=this.instance,o=r.getControl(),f=this.$el,p=o.getBoundingClientRect(),g=f.getBoundingClientRect(),y=r.menu.placement==="bottom"?p.height:0,x=Math.round(p.left-g.left)+"px",H=Math.round(p.top-g.top+y)+"px",me=this.$refs.menu.$refs["menu-container"].style,Se=["transform","webkitTransform","MozTransform","msTransform"],j=pi(Se,function(Ie){return Ie in document.body.style});me[j]="translate(".concat(x,", ").concat(H,")")}},render:function(){var r=arguments[0],o=this.instance,f=["vue-treeselect__portal-target",o.wrapperClass],p={zIndex:o.zIndex};return r("div",{class:f,style:p,attrs:{"data-instance-id":o.getInstanceId()}},[r(Gi,{ref:"menu"})])},destroyed:function(){this.removeHandlers()}},kn,Xl={name:"vue-treeselect--menu-portal",created:function(){this.portalTarget=null},mounted:function(){this.setup()},destroyed:function(){this.teardown()},methods:{setup:function(){var r=document.createElement("div");document.body.appendChild(r),this.portalTarget=new Bl.a(Hl({el:r,parent:this},jl))},teardown:function(){document.body.removeChild(this.portalTarget.$el),this.portalTarget.$el.innerHTML="",this.portalTarget.$destroy(),this.portalTarget=null}},render:function(){var r=arguments[0];return kn||(kn=r("div",{class:"vue-treeselect__menu-placeholder"})),kn}},Ul=Xl,$l,zl,Qi=fe(Ul,$l,zl);Qi.options.__file="src/components/MenuPortal.vue";var ql=Qi.exports,Wl={name:"vue-treeselect",mixins:[Ai],computed:{wrapperClass:function(){return{"vue-treeselect":!0,"vue-treeselect--single":this.single,"vue-treeselect--multi":this.multiple,"vue-treeselect--searchable":this.searchable,"vue-treeselect--disabled":this.disabled,"vue-treeselect--focused":this.trigger.isFocused,"vue-treeselect--has-value":this.hasValue,"vue-treeselect--open":this.menu.isOpen,"vue-treeselect--open-above":this.menu.placement==="top","vue-treeselect--open-below":this.menu.placement==="bottom","vue-treeselect--branch-nodes-disabled":this.disableBranchNodes,"vue-treeselect--append-to-body":this.appendToBody}}},render:function(){var r=arguments[0];return r("div",{ref:"wrapper",class:this.wrapperClass},[r(ja),r(Nl,{ref:"control"}),this.appendToBody?r(ql,{ref:"portal"}):r(Gi,{ref:"menu"})])}},Kl=Wl,Gl,Jl,Yi=fe(Kl,Gl,Jl);Yi.options.__file="src/components/Treeselect.vue";var Zi=Yi.exports;i(15),i.d(n,"VERSION",function(){return Ql}),i.d(n,"Treeselect",function(){return Zi}),i.d(n,"treeselectMixin",function(){return Ai}),i.d(n,"LOAD_ROOT_OPTIONS",function(){return gi}),i.d(n,"LOAD_CHILDREN_OPTIONS",function(){return _i}),i.d(n,"ASYNC_SEARCH",function(){return Si}),n.default=Zi;var Ql="0.4.0"}])}(Xn)),Xn.exports}var Jf=Gf();const Qf=dc(Jf),Yf={name:"FlowUser",dicts:["sys_normal_disable","sys_user_sex"],components:{Treeselect:Qf},props:{selectValues:{type:[Number,String,Array],default:null,required:!1},checkType:{type:String,default:"multiple",required:!0}},data(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,userList:[],title:"",deptOptions:void 0,open:!1,deptName:void 0,form:{},defaultProps:{children:"children",label:"label"},queryParams:{pageNum:1,pageSize:5,userName:void 0,phonenumber:void 0,status:void 0,deptId:void 0},columns:[{key:0,label:"用户编号",visible:!0},{key:1,label:"用户名称",visible:!0},{key:2,label:"用户昵称",visible:!0},{key:3,label:"部门",visible:!0},{key:4,label:"手机号码",visible:!0},{key:5,label:"状态",visible:!0},{key:6,label:"创建时间",visible:!0}],radioSelected:0,selectUserList:[]}},watch:{deptName(e){this.$refs.tree.filter(e)},selectValues:{handler(e){Yt.isNotBlank(e)&&(e instanceof Number?this.radioSelected=e:this.selectUserList=e)},immediate:!0},userList:{handler(e){Yt.isNotBlank(e)&&this.selectUserList.length>0&&this.$nextTick(()=>{var t;this.$refs.dataTable.clearSelection(),(t=this.selectUserList)==null||t.split(",").forEach(n=>{this.$refs.dataTable.toggleRowSelection(e.find(i=>n==i.userId),!0)})})}}},created(){this.getList(),this.getDeptTree()},methods:{getList(){this.loading=!0,tc(this.queryParams).then(e=>{this.userList=e.rows,this.total=e.total,this.loading=!1})},getDeptTree(){ec().then(e=>{this.deptOptions=e.data})},getRowKey(e){return e.id},filterNode(e,t){return e?t.label.indexOf(e)!==-1:!0},handleNodeClick(e){this.queryParams.deptId=e.id,this.handleQuery()},handleMultipleUserSelect(e){this.$emit("handleUserSelect",e)},handleSingleUserSelect(e){this.radioSelected=e.userId,this.$emit("handleUserSelect",e)},handleQuery(){this.queryParams.pageNum=1,this.getList()},resetQuery(){this.dateRange=[],this.resetForm("queryForm"),this.queryParams.deptId=void 0,this.$refs.tree.setCurrentKey(null),this.handleQuery()}}},Zf={class:"head-container"},eh={class:"head-container"};function th(e,t,n,i,s,a){const l=Q("el-input"),h=Q("el-tree"),u=Q("el-col"),d=Q("el-form-item"),m=Q("el-button"),v=Q("el-form"),_=Q("el-table-column"),E=Q("el-table"),T=Q("el-radio"),S=Q("pagination"),b=Q("el-row"),I=vo("loading");return ie(),po("div",null,[D(b,{gutter:20},{default:$(()=>[D(u,{span:6,xs:24},{default:$(()=>[Qt("div",Zf,[D(l,{modelValue:s.deptName,"onUpdate:modelValue":t[0]||(t[0]=R=>s.deptName=R),placeholder:"请输入部门名称",clearable:"",size:"small","prefix-icon":"search",style:{"margin-bottom":"20px"}},null,8,["modelValue"])]),Qt("div",eh,[D(h,{data:s.deptOptions,props:s.defaultProps,"expand-on-click-node":!1,"filter-node-method":a.filterNode,ref:"tree","node-key":"id","default-expand-all":"","highlight-current":"",onNodeClick:a.handleNodeClick},null,8,["data","props","filter-node-method","onNodeClick"])])]),_:1}),D(u,{span:18,xs:24},{default:$(()=>[Be(D(v,{model:s.queryParams,ref:"queryForm",size:"small",inline:!0,"label-width":"68px"},{default:$(()=>[D(d,{label:"用户名称",prop:"userName"},{default:$(()=>[D(l,{modelValue:s.queryParams.userName,"onUpdate:modelValue":t[1]||(t[1]=R=>s.queryParams.userName=R),placeholder:"请输入用户名称",clearable:"",style:{width:"150px"},onKeyup:mo(a.handleQuery,["enter","native"])},null,8,["modelValue","onKeyup"])]),_:1}),D(d,null,{default:$(()=>[D(m,{type:"primary",icon:"search",size:"small",onClick:a.handleQuery},{default:$(()=>t[3]||(t[3]=[ct("搜索")])),_:1},8,["onClick"]),D(m,{icon:"refresh",size:"small",onClick:a.resetQuery},{default:$(()=>t[4]||(t[4]=[ct("重置")])),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"]),[[He,s.showSearch]]),Be((ie(),de(E,{ref:"dataTable","row-key":a.getRowKey,data:s.userList,onSelectionChange:a.handleMultipleUserSelect},{default:$(()=>[D(_,{type:"selection","reserve-selection":!0,width:"50",align:"center"}),s.columns[0].visible?(ie(),de(_,{label:"用户编号",align:"center",key:"userId",prop:"userId"})):Oe("",!0),s.columns[1].visible?(ie(),de(_,{label:"登录账号",align:"center",key:"userName",prop:"userName","show-overflow-tooltip":!0})):Oe("",!0),s.columns[2].visible?(ie(),de(_,{label:"用户姓名",align:"center",key:"nickName",prop:"nickName","show-overflow-tooltip":!0})):Oe("",!0),s.columns[3].visible?(ie(),de(_,{label:"部门",align:"center",key:"deptName",prop:"dept.deptName","show-overflow-tooltip":!0})):Oe("",!0),s.columns[4].visible?(ie(),de(_,{label:"手机号码",align:"center",key:"phonenumber",prop:"phonenumber",width:"120"})):Oe("",!0)]),_:1},8,["row-key","data","onSelectionChange"])),[[He,n.checkType==="multiple"],[I,s.loading]]),Be((ie(),de(E,{data:s.userList,onCurrentChange:a.handleSingleUserSelect},{default:$(()=>[D(_,{width:"55",align:"center"},{default:$(R=>[D(T,{modelValue:s.radioSelected,"onUpdate:modelValue":t[2]||(t[2]=K=>s.radioSelected=K),label:R.row.userId},{default:$(()=>t[5]||(t[5]=[ct($t(""))])),_:2},1032,["modelValue","label"])]),_:1}),s.columns[0].visible?(ie(),de(_,{label:"用户编号",align:"center",key:"userId",prop:"userId"})):Oe("",!0),s.columns[1].visible?(ie(),de(_,{label:"登录账号",align:"center",key:"userName",prop:"userName","show-overflow-tooltip":!0})):Oe("",!0),s.columns[2].visible?(ie(),de(_,{label:"用户姓名",align:"center",key:"nickName",prop:"nickName","show-overflow-tooltip":!0})):Oe("",!0),s.columns[3].visible?(ie(),de(_,{label:"部门",align:"center",key:"deptName",prop:"dept.deptName","show-overflow-tooltip":!0})):Oe("",!0),s.columns[4].visible?(ie(),de(_,{label:"手机号码",align:"center",key:"phonenumber",prop:"phonenumber",width:"120"})):Oe("",!0)]),_:1},8,["data","onCurrentChange"])),[[He,n.checkType==="single"],[I,s.loading]]),Be(D(S,{total:s.total,"page-sizes":[5,10],layout:"prev, pager, next",page:s.queryParams.pageNum,limit:s.queryParams.pageSize,onPagination:a.getList},null,8,["total","page","limit","onPagination"]),[[He,s.total>0]])]),_:1})]),_:1})])}const uh=ho(Yf,[["render",th]]),nh={name:"FlowRole",dicts:["sys_normal_disable"],props:{selectValues:{type:[Number,String,Array],default:null,required:!1},checkType:{type:String,default:"multiple",required:!1}},data(){return{loading:!0,ids:[],single:!0,multiple:!0,showSearch:!0,total:0,roleList:[],title:"",open:!1,queryParams:{pageNum:1,pageSize:5,roleName:void 0,roleKey:void 0,status:void 0},form:{},radioSelected:0,selectRoleList:[]}},watch:{selectValues:{handler(e){Yt.isNotBlank(e)&&(e instanceof Number||e instanceof String?this.radioSelected=e:this.selectRoleList=e)},immediate:!0},roleList:{handler(e){Yt.isNotBlank(e)&&this.selectRoleList.length>0&&this.$nextTick(()=>{var t;this.$refs.dataTable.clearSelection(),(t=this.selectRoleList)==null||t.split(",").forEach(n=>{this.$refs.dataTable.toggleRowSelection(e.find(i=>n==i.roleId),!0)})})}}},created(){this.getList()},methods:{getList(){this.loading=!0,pc(this.queryParams).then(e=>{this.roleList=e.rows,this.total=e.total,this.loading=!1})},handleMultipleRoleSelect(e){const t=e.map(i=>i.roleId),n=e.map(i=>i.roleName);this.$emit("handleRoleSelect",t.join(","),n.join(","))},handleSingleRoleSelect(e){this.radioSelected=e.roleId;const t=e.roleName;this.$emit("handleRoleSelect",this.radioSelected.toString(),t)},handleQuery(){this.queryParams.pageNum=1,this.getList()},resetQuery(){this.handleQuery()}}},rh={class:"app-container"};function ih(e,t,n,i,s,a){const l=Q("el-input"),h=Q("el-form-item"),u=Q("el-button"),d=Q("el-form"),m=Q("el-table-column"),v=Q("el-table"),_=Q("el-radio"),E=Q("pagination"),T=vo("loading");return ie(),po("div",rh,[Be(D(d,{model:s.queryParams,ref:"queryForm",size:"small",inline:!0},{default:$(()=>[D(h,{label:"角色名称",prop:"roleName"},{default:$(()=>[D(l,{modelValue:s.queryParams.roleName,"onUpdate:modelValue":t[0]||(t[0]=S=>s.queryParams.roleName=S),placeholder:"请输入角色名称",clearable:"",style:{width:"240px"},onKeyup:mo(a.handleQuery,["enter","native"])},null,8,["modelValue","onKeyup"])]),_:1}),D(h,null,{default:$(()=>[D(u,{type:"primary",icon:"search",size:"small",onClick:a.handleQuery},{default:$(()=>t[2]||(t[2]=[ct("搜索")])),_:1},8,["onClick"]),D(u,{icon:"refresh",size:"small",onClick:a.resetQuery},{default:$(()=>t[3]||(t[3]=[ct("重置")])),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"]),[[He,s.showSearch]]),Be((ie(),de(v,{ref:"dataTable",data:s.roleList,onSelectionChange:a.handleMultipleRoleSelect},{default:$(()=>[D(m,{type:"selection",width:"50",align:"center"}),D(m,{label:"角色编号",prop:"roleId",width:"120"}),D(m,{label:"角色名称",prop:"roleName","show-overflow-tooltip":!0,width:"150"}),D(m,{label:"权限字符",prop:"roleKey","show-overflow-tooltip":!0,width:"150"}),D(m,{label:"显示顺序",prop:"roleSort",width:"100"}),D(m,{label:"创建时间",align:"center",prop:"createTime",width:"180"},{default:$(S=>[Qt("span",null,$t(e.parseTime(S.row.createTime)),1)]),_:1})]),_:1},8,["data","onSelectionChange"])),[[He,n.checkType==="multiple"],[T,s.loading]]),Be((ie(),de(v,{data:s.roleList,onCurrentChange:a.handleSingleRoleSelect},{default:$(()=>[D(m,{width:"55",align:"center"},{default:$(S=>[D(_,{modelValue:s.radioSelected,"onUpdate:modelValue":t[1]||(t[1]=b=>s.radioSelected=b),label:S.row.roleId},{default:$(()=>t[4]||(t[4]=[ct($t(""))])),_:2},1032,["modelValue","label"])]),_:1}),D(m,{label:"角色编号",prop:"roleId",width:"120"}),D(m,{label:"角色名称",prop:"roleName","show-overflow-tooltip":!0,width:"150"}),D(m,{label:"权限字符",prop:"roleKey","show-overflow-tooltip":!0,width:"150"}),D(m,{label:"显示顺序",prop:"roleSort",width:"100"}),D(m,{label:"创建时间",align:"center",prop:"createTime",width:"180"},{default:$(S=>[Qt("span",null,$t(e.parseTime(S.row.createTime)),1)]),_:1})]),_:1},8,["data","onCurrentChange"])),[[He,n.checkType==="single"],[T,s.loading]]),Be(D(E,{total:s.total,"page-sizes":[5,10],layout:"prev, pager, next",page:s.queryParams.pageNum,limit:s.queryParams.pageSize,onPagination:a.getList},null,8,["total","page","limit","onPagination"]),[[He,s.total>0]])])}const fh=ho(nh,[["render",ih]]);export{fh as F,uh as a};
|