@kvass/widgets 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_plugin-vue_export-helper.js +1 -1
- package/dist/flatfinder.js +36 -36
- package/dist/index.es.js +12 -0
- package/dist/map.js +15 -15
- package/index.html +18 -15
- package/package.json +4 -3
- package/src/flatfinder/components/Flatfinder.ce.vue +9 -6
- package/src/map/components/Map.ce.vue +23 -6
- package/vite.config.js +3 -3
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
* @vue/runtime-dom v3.4.15
|
|
15
15
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
16
|
* @license MIT
|
|
17
|
-
**/const wl="http://www.w3.org/2000/svg",Al="http://www.w3.org/1998/Math/MathML",Be=typeof document<"u"?document:null,Ws=Be&&Be.createElement("template"),Sl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Be.createElementNS(wl,e):t==="mathml"?Be.createElementNS(Al,e):Be.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Be.createTextNode(e),createComment:e=>Be.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Be.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ws.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=Ws.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$e="transition",pt="animation",ut=Symbol("_vtc"),po=(e,{slots:t})=>El(Ii,_o(e),t);po.displayName="Transition";const go={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Pl=po.props=Q({},Kr,go),Je=(e,t=[])=>{S(e)?e.forEach(n=>n(...t)):e&&e(...t)},ks=e=>e?S(e)?e.some(t=>t.length>1):e.length>1:!1;function _o(e){const t={};for(const w in e)w in go||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,N=Il(r),I=N&&N[0],V=N&&N[1],{onBeforeEnter:j,onEnter:ne,onEnterCancelled:$,onLeave:B,onLeaveCancelled:k,onBeforeAppear:O=j,onAppear:q=ne,onAppearCancelled:M=$}=t,U=(w,X,pe)=>{He(w,X?d:l),He(w,X?a:i),pe&&pe()},K=(w,X)=>{w._isLeaving=!1,He(w,p),He(w,T),He(w,g),X&&X()},te=w=>(X,pe)=>{const dt=w?q:ne,re=()=>U(X,w,pe);Je(dt,[X,re]),Gs(()=>{He(X,w?f:o),Re(X,w?d:l),ks(dt)||zs(X,s,I,re)})};return Q(t,{onBeforeEnter(w){Je(j,[w]),Re(w,o),Re(w,i)},onBeforeAppear(w){Je(O,[w]),Re(w,f),Re(w,a)},onEnter:te(!1),onAppear:te(!0),onLeave(w,X){w._isLeaving=!0;const pe=()=>K(w,X);Re(w,p),yo(),Re(w,g),Gs(()=>{w._isLeaving&&(He(w,p),Re(w,T),ks(B)||zs(w,s,V,pe))}),Je(B,[w,pe])},onEnterCancelled(w){U(w,!1),Je($,[w])},onAppearCancelled(w){U(w,!0),Je(M,[w])},onLeaveCancelled(w){K(w),Je(k,[w])}})}function Il(e){if(e==null)return null;if(J(e))return[In(e.enter),In(e.leave)];{const t=In(e);return[t,t]}}function In(e){return Rn(e)}function Re(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ut]||(e[ut]=new Set)).add(t)}function He(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ut];n&&(n.delete(t),n.size||(e[ut]=void 0))}function Gs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ml=0;function zs(e,t,n,s){const r=e._endId=++Ml,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:f}=mo(e,t);if(!i)return s();const a=i+"end";let d=0;const p=()=>{e.removeEventListener(a,g),o()},g=T=>{T.target===e&&++d>=f&&p()};setTimeout(()=>{d<f&&p()},l+1),e.addEventListener(a,g)}function mo(e,t){const n=window.getComputedStyle(e),s=N=>(n[N]||"").split(", "),r=s(`${$e}Delay`),o=s(`${$e}Duration`),i=qs(r,o),l=s(`${pt}Delay`),f=s(`${pt}Duration`),a=qs(l,f);let d=null,p=0,g=0;t===$e?i>0&&(d=$e,p=i,g=o.length):t===pt?a>0&&(d=pt,p=a,g=f.length):(p=Math.max(i,a),d=p>0?i>a?$e:pt:null,g=d?d===$e?o.length:f.length:0);const T=d===$e&&/\b(transform|all)(,|$)/.test(s(`${$e}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:T}}function qs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Js(n)+Js(e[s])))}function Js(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yo(){return document.body.offsetHeight}function Ol(e,t,n){const s=e[ut];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ds=Symbol("_vod"),Ec={beforeMount(e,{value:t},{transition:n}){e[ds]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):gt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),gt(e,!0),s.enter(e)):s.leave(e,()=>{gt(e,!1)}):gt(e,t))},beforeUnmount(e,{value:t}){gt(e,t)}};function gt(e,t){e.style.display=t?e[ds]:"none"}const Rl=Symbol("");function Fl(e,t,n){const s=e.style,r=s.display,o=ee(n);if(n&&!o){if(t&&!ee(t))for(const i in t)n[i]==null&&kn(s,i,"");for(const i in n)kn(s,i,n[i])}else if(o){if(t!==n){const i=s[Rl];i&&(n+=";"+i),s.cssText=n}}else t&&e.removeAttribute("style");ds in e&&(s.display=r)}const Ys=/\s*!important$/;function kn(e,t,n){if(S(n))n.forEach(s=>kn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Nl(e,t);Ys.test(n)?e.setProperty(Ce(s),n.replace(Ys,""),"important"):e[s]=n}}const Xs=["Webkit","Moz","ms"],Mn={};function Nl(e,t){const n=Mn[t];if(n)return n;let s=ae(t);if(s!=="filter"&&s in e)return Mn[t]=s;s=tn(s);for(let r=0;r<Xs.length;r++){const o=Xs[r]+s;if(o in e)return Mn[t]=o}return t}const Zs="http://www.w3.org/1999/xlink";function Ll(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Zs,t.slice(6,t.length)):e.setAttributeNS(Zs,t,n);else{const o=Lo(t);n==null||o&&!fr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function $l(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const a=l==="OPTION"?e.getAttribute("value"):e.value,d=n??"";a!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=fr(n):n==null&&a==="string"?(n="",f=!0):a==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}function Hl(e,t,n,s){e.addEventListener(t,n,s)}function Dl(e,t,n,s){e.removeEventListener(t,n,s)}const Qs=Symbol("_vei");function Vl(e,t,n,s,r=null){const o=e[Qs]||(e[Qs]={}),i=o[t];if(s&&i)i.value=s;else{const[l,f]=jl(t);if(s){const a=o[t]=Ul(s,r);Hl(e,l,a,f)}else i&&(Dl(e,l,i,f),o[t]=void 0)}}const er=/(?:Once|Passive|Capture)$/;function jl(e){let t;if(er.test(e)){t={};let s;for(;s=e.match(er);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ce(e.slice(2)),t]}let On=0;const Bl=Promise.resolve(),Kl=()=>On||(Bl.then(()=>On=0),On=Date.now());function Ul(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xe(Wl(s,n.value),t,5,[s])};return n.value=e,n.attached=Kl(),n}function Wl(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,kl=(e,t,n,s,r,o,i,l,f)=>{const a=r==="svg";t==="class"?Ol(e,s,a):t==="style"?Fl(e,n,s):Zt(t)?zn(t)||Vl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gl(e,t,s,a))?$l(e,t,s,o,i,l,f):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ll(e,t,s,a))};function Gl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&tr(t)&&F(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return tr(t)&&ee(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Tc(e,t){const n=Mi(e);class s extends hs{constructor(o){super(n,o,t)}}return s.def=n,s}const zl=typeof HTMLElement<"u"?HTMLElement:class{};class hs extends zl{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Rr(()=>{this._connected||(rr(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:o,styles:i}=s;let l;if(o&&!S(o))for(const f in o){const a=o[f];(a===Number||a&&a.type===Number)&&(f in this._props&&(this._props[f]=Rn(this._props[f])),(l||(l=Object.create(null)))[ae(f)]=!0)}this._numberProps=l,r&&this._resolveProps(s),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=S(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(ae))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(o){this._setProp(r,o)}})}_setAttr(t){let n=this.getAttribute(t);const s=ae(t);this._numberProps&&this._numberProps[s]&&(n=Rn(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(Ce(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ce(t),n+""):n||this.removeAttribute(Ce(t))))}_update(){rr(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ce(this._def,Q({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(o,i)=>{this.dispatchEvent(new CustomEvent(o,{detail:i}))};n.emit=(o,...i)=>{s(o,i),Ce(o)!==o&&s(Ce(o),i)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof hs){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}const bo=new WeakMap,Co=new WeakMap,Xt=Symbol("_moveCb"),nr=Symbol("_enterCb"),xo={name:"TransitionGroup",props:Q({},Pl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=gn(),s=Br();let r,o;return Gr(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Zl(r[0].el,n.vnode.el,i))return;r.forEach(Jl),r.forEach(Yl);const l=r.filter(Xl);yo(),l.forEach(f=>{const a=f.el,d=a.style;Re(a,i),d.transform=d.webkitTransform=d.transitionDuration="";const p=a[Xt]=g=>{g&&g.target!==a||(!g||/transform$/.test(g.propertyName))&&(a.removeEventListener("transitionend",p),a[Xt]=null,He(a,i))};a.addEventListener("transitionend",p)})}),()=>{const i=D(e),l=_o(i);let f=i.tag||me;r=o,o=t.default?ls(t.default()):[];for(let a=0;a<o.length;a++){const d=o[a];d.key!=null&&At(d,wt(d,l,s,n))}if(r)for(let a=0;a<r.length;a++){const d=r[a];At(d,wt(d,l,s,n)),bo.set(d,d.el.getBoundingClientRect())}return ce(f,null,o)}}},ql=e=>delete e.mode;xo.props;const wc=xo;function Jl(e){const t=e.el;t[Xt]&&t[Xt](),t[nr]&&t[nr]()}function Yl(e){Co.set(e,e.el.getBoundingClientRect())}function Xl(e){const t=bo.get(e),n=Co.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function Zl(e,t,n){const s=e.cloneNode(),r=e[ut];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=mo(s);return o.removeChild(s),i}const Ql=["ctrl","shift","alt","meta"],ec={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ql.some(n=>e[`${n}Key`]&&!t.includes(n))},Ac=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const l=ec[t[i]];if(l&&l(r,t))return}return e(r,...o)})},tc=Q({patchProp:kl},Sl);let sr;function nc(){return sr||(sr=nl(tc))}const rr=(...e)=>{nc().render(...e)},Sc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};export{_c as $,Ec as A,po as B,dl as C,zr as D,yc as E,me as F,Sr as G,vc as H,Tn as I,sc as J,al as K,Bt as L,bc as M,cc as N,D as O,he as P,qr as Q,wr as R,ic as S,wc as T,ac as U,Do as V,oc as W,fc as X,Ji as Y,pc as Z,Sc as _,fo as a,Rr as a0,We as a1,gn as a2,Gr as a3,ui as a4,vl as b,Cc as c,xc as d,lo as e,uc as f,gc as g,ts as h,kr as i,ce as j,hc as k,Ac as l,hl as m,sn as n,oo as o,Tc as p,Mi as q,lc as r,El as s,rc as t,mc as u,li as v,mi as w,oi as x,nn as y,dc as z};
|
|
17
|
+
**/const wl="http://www.w3.org/2000/svg",Al="http://www.w3.org/1998/Math/MathML",Be=typeof document<"u"?document:null,Ws=Be&&Be.createElement("template"),Sl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Be.createElementNS(wl,e):t==="mathml"?Be.createElementNS(Al,e):Be.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Be.createTextNode(e),createComment:e=>Be.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Be.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ws.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const l=Ws.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$e="transition",pt="animation",ut=Symbol("_vtc"),po=(e,{slots:t})=>El(Ii,_o(e),t);po.displayName="Transition";const go={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Pl=po.props=Q({},Kr,go),Je=(e,t=[])=>{S(e)?e.forEach(n=>n(...t)):e&&e(...t)},ks=e=>e?S(e)?e.some(t=>t.length>1):e.length>1:!1;function _o(e){const t={};for(const w in e)w in go||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:T=`${n}-leave-to`}=e,N=Il(r),I=N&&N[0],V=N&&N[1],{onBeforeEnter:j,onEnter:ne,onEnterCancelled:$,onLeave:B,onLeaveCancelled:k,onBeforeAppear:O=j,onAppear:q=ne,onAppearCancelled:M=$}=t,U=(w,X,pe)=>{He(w,X?d:l),He(w,X?a:i),pe&&pe()},K=(w,X)=>{w._isLeaving=!1,He(w,p),He(w,T),He(w,g),X&&X()},te=w=>(X,pe)=>{const dt=w?q:ne,re=()=>U(X,w,pe);Je(dt,[X,re]),Gs(()=>{He(X,w?f:o),Re(X,w?d:l),ks(dt)||zs(X,s,I,re)})};return Q(t,{onBeforeEnter(w){Je(j,[w]),Re(w,o),Re(w,i)},onBeforeAppear(w){Je(O,[w]),Re(w,f),Re(w,a)},onEnter:te(!1),onAppear:te(!0),onLeave(w,X){w._isLeaving=!0;const pe=()=>K(w,X);Re(w,p),yo(),Re(w,g),Gs(()=>{w._isLeaving&&(He(w,p),Re(w,T),ks(B)||zs(w,s,V,pe))}),Je(B,[w,pe])},onEnterCancelled(w){U(w,!1),Je($,[w])},onAppearCancelled(w){U(w,!0),Je(M,[w])},onLeaveCancelled(w){K(w),Je(k,[w])}})}function Il(e){if(e==null)return null;if(J(e))return[In(e.enter),In(e.leave)];{const t=In(e);return[t,t]}}function In(e){return Rn(e)}function Re(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ut]||(e[ut]=new Set)).add(t)}function He(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ut];n&&(n.delete(t),n.size||(e[ut]=void 0))}function Gs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ml=0;function zs(e,t,n,s){const r=e._endId=++Ml,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:f}=mo(e,t);if(!i)return s();const a=i+"end";let d=0;const p=()=>{e.removeEventListener(a,g),o()},g=T=>{T.target===e&&++d>=f&&p()};setTimeout(()=>{d<f&&p()},l+1),e.addEventListener(a,g)}function mo(e,t){const n=window.getComputedStyle(e),s=N=>(n[N]||"").split(", "),r=s(`${$e}Delay`),o=s(`${$e}Duration`),i=qs(r,o),l=s(`${pt}Delay`),f=s(`${pt}Duration`),a=qs(l,f);let d=null,p=0,g=0;t===$e?i>0&&(d=$e,p=i,g=o.length):t===pt?a>0&&(d=pt,p=a,g=f.length):(p=Math.max(i,a),d=p>0?i>a?$e:pt:null,g=d?d===$e?o.length:f.length:0);const T=d===$e&&/\b(transform|all)(,|$)/.test(s(`${$e}Property`).toString());return{type:d,timeout:p,propCount:g,hasTransform:T}}function qs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Js(n)+Js(e[s])))}function Js(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yo(){return document.body.offsetHeight}function Ol(e,t,n){const s=e[ut];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ds=Symbol("_vod"),Ec={beforeMount(e,{value:t},{transition:n}){e[ds]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):gt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),gt(e,!0),s.enter(e)):s.leave(e,()=>{gt(e,!1)}):gt(e,t))},beforeUnmount(e,{value:t}){gt(e,t)}};function gt(e,t){e.style.display=t?e[ds]:"none"}const Rl=Symbol("");function Fl(e,t,n){const s=e.style,r=s.display,o=ee(n);if(n&&!o){if(t&&!ee(t))for(const i in t)n[i]==null&&kn(s,i,"");for(const i in n)kn(s,i,n[i])}else if(o){if(t!==n){const i=s[Rl];i&&(n+=";"+i),s.cssText=n}}else t&&e.removeAttribute("style");ds in e&&(s.display=r)}const Ys=/\s*!important$/;function kn(e,t,n){if(S(n))n.forEach(s=>kn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Nl(e,t);Ys.test(n)?e.setProperty(Ce(s),n.replace(Ys,""),"important"):e[s]=n}}const Xs=["Webkit","Moz","ms"],Mn={};function Nl(e,t){const n=Mn[t];if(n)return n;let s=ae(t);if(s!=="filter"&&s in e)return Mn[t]=s;s=tn(s);for(let r=0;r<Xs.length;r++){const o=Xs[r]+s;if(o in e)return Mn[t]=o}return t}const Zs="http://www.w3.org/1999/xlink";function Ll(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Zs,t.slice(6,t.length)):e.setAttributeNS(Zs,t,n);else{const o=Lo(t);n==null||o&&!fr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function $l(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const a=l==="OPTION"?e.getAttribute("value"):e.value,d=n??"";a!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=fr(n):n==null&&a==="string"?(n="",f=!0):a==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}function Hl(e,t,n,s){e.addEventListener(t,n,s)}function Dl(e,t,n,s){e.removeEventListener(t,n,s)}const Qs=Symbol("_vei");function Vl(e,t,n,s,r=null){const o=e[Qs]||(e[Qs]={}),i=o[t];if(s&&i)i.value=s;else{const[l,f]=jl(t);if(s){const a=o[t]=Ul(s,r);Hl(e,l,a,f)}else i&&(Dl(e,l,i,f),o[t]=void 0)}}const er=/(?:Once|Passive|Capture)$/;function jl(e){let t;if(er.test(e)){t={};let s;for(;s=e.match(er);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ce(e.slice(2)),t]}let On=0;const Bl=Promise.resolve(),Kl=()=>On||(Bl.then(()=>On=0),On=Date.now());function Ul(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xe(Wl(s,n.value),t,5,[s])};return n.value=e,n.attached=Kl(),n}function Wl(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,kl=(e,t,n,s,r,o,i,l,f)=>{const a=r==="svg";t==="class"?Ol(e,s,a):t==="style"?Fl(e,n,s):Zt(t)?zn(t)||Vl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gl(e,t,s,a))?$l(e,t,s,o,i,l,f):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ll(e,t,s,a))};function Gl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&tr(t)&&F(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return tr(t)&&ee(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Tc(e,t){const n=Mi(e);class s extends hs{constructor(o){super(n,o,t)}}return s.def=n,s}const zl=typeof HTMLElement<"u"?HTMLElement:class{};class hs extends zl{constructor(t,n={},s){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&s?s(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Rr(()=>{this._connected||(rr(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{const{props:o,styles:i}=s;let l;if(o&&!S(o))for(const f in o){const a=o[f];(a===Number||a&&a.type===Number)&&(f in this._props&&(this._props[f]=Rn(this._props[f])),(l||(l=Object.create(null)))[ae(f)]=!0)}this._numberProps=l,r&&this._resolveProps(s),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(s=>t(s,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,s=S(n)?n:Object.keys(n||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of s.map(ae))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(o){this._setProp(r,o)}})}_setAttr(t){let n=this.getAttribute(t);const s=ae(t);this._numberProps&&this._numberProps[s]&&(n=Rn(n)),this._setProp(s,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,r=!0){n!==this._props[t]&&(this._props[t]=n,r&&this._instance&&this._update(),s&&(n===!0?this.setAttribute(Ce(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ce(t),n+""):n||this.removeAttribute(Ce(t))))}_update(){rr(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ce(this._def,Q({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const s=(o,i)=>{this.dispatchEvent(new CustomEvent(o,{detail:i}))};n.emit=(o,...i)=>{s(o,i),Ce(o)!==o&&s(Ce(o),i)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof hs){n.parent=r._instance,n.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const s=document.createElement("style");s.textContent=n,this.shadowRoot.appendChild(s)})}}const bo=new WeakMap,Co=new WeakMap,Xt=Symbol("_moveCb"),nr=Symbol("_enterCb"),xo={name:"TransitionGroup",props:Q({},Pl,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=gn(),s=Br();let r,o;return Gr(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Zl(r[0].el,n.vnode.el,i))return;r.forEach(Jl),r.forEach(Yl);const l=r.filter(Xl);yo(),l.forEach(f=>{const a=f.el,d=a.style;Re(a,i),d.transform=d.webkitTransform=d.transitionDuration="";const p=a[Xt]=g=>{g&&g.target!==a||(!g||/transform$/.test(g.propertyName))&&(a.removeEventListener("transitionend",p),a[Xt]=null,He(a,i))};a.addEventListener("transitionend",p)})}),()=>{const i=D(e),l=_o(i);let f=i.tag||me;r=o,o=t.default?ls(t.default()):[];for(let a=0;a<o.length;a++){const d=o[a];d.key!=null&&At(d,wt(d,l,s,n))}if(r)for(let a=0;a<r.length;a++){const d=r[a];At(d,wt(d,l,s,n)),bo.set(d,d.el.getBoundingClientRect())}return ce(f,null,o)}}},ql=e=>delete e.mode;xo.props;const wc=xo;function Jl(e){const t=e.el;t[Xt]&&t[Xt](),t[nr]&&t[nr]()}function Yl(e){Co.set(e,e.el.getBoundingClientRect())}function Xl(e){const t=bo.get(e),n=Co.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function Zl(e,t,n){const s=e.cloneNode(),r=e[ut];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=mo(s);return o.removeChild(s),i}const Ql=["ctrl","shift","alt","meta"],ec={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ql.some(n=>e[`${n}Key`]&&!t.includes(n))},Ac=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const l=ec[t[i]];if(l&&l(r,t))return}return e(r,...o)})},tc=Q({patchProp:kl},Sl);let sr;function nc(){return sr||(sr=nl(tc))}const rr=(...e)=>{nc().render(...e)},Sc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};export{Ji as $,Ec as A,po as B,dl as C,zr as D,yc as E,me as F,Sr as G,Tn as H,vc as I,Gr as J,sc as K,al as L,Bt as M,ac as N,bc as O,ui as P,cc as Q,D as R,he as S,wc as T,qr as U,wr as V,gn as W,fc as X,Do as Y,oc as Z,Sc as _,fo as a,pc as a0,_c as a1,Rr as a2,We as a3,ic as a4,vl as b,Cc as c,xc as d,lo as e,uc as f,gc as g,ts as h,kr as i,ce as j,hc as k,Ac as l,hl as m,sn as n,oo as o,Tc as p,Mi as q,lc as r,El as s,rc as t,mc as u,li as v,mi as w,oi as x,nn as y,dc as z};
|