@kvass/widgets 1.8.32 → 1.8.34

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.
@@ -0,0 +1 @@
1
+ import{L as f,W as v,E as l}from"./index.js";import{_ as g,c as o,o as r,z as m,j as y,d as k,A as c,w,a as d,y as u,B as b,C as _,t as p}from"./_plugin-vue_export-helper.js";const S=".widget-kvass-media-render-vimeo{height:100%;width:100%;position:relative}.widget-kvass-media-render-vimeo iframe{height:100%;width:100%}.widget-kvass-media-render-vimeo>*{position:absolute;top:0;left:0;width:100%;height:100%}.widget-kvass-media-render-vimeo__thumbnail{background-size:cover;background-repeat:no-repeat;background-position:center;filter:blur(10px);opacity:.7}.widget-kvass-media-render-vimeo__blocked{display:flex;justify-content:center;align-items:center;left:50%;top:50%;transform:translate(-50%,-50%)}.widget-kvass-media-render-vimeo__blocked svg{opacity:.3}@media (max-width: 992px){.widget-kvass-media-render-vimeo__blocked svg{font-size:2.5em}}.widget-kvass-media-render-vimeo__blocked-warning{pointer-events:initial;position:absolute;bottom:0;text-align:center;background-color:#f2f2f2;font-size:.6em;bottom:3rem;left:3rem;max-width:400px;font-size:.8em;padding:1.5em 2em}.widget-kvass-media-render-vimeo__blocked-warning-button{padding:.5rem;border:1px solid #818181;backdrop-filter:none;background-color:transparent}@media (max-width: 992px){.widget-kvass-media-render-vimeo__blocked-warning{left:.5rem;bottom:.5rem;font-size:.6em;max-width:200px}}.widget-kvass-media-render-vimeo .fade-enter-active,.widget-kvass-media-render-vimeo .fade-leave-active{transition:opacity .5s}.widget-kvass-media-render-vimeo .fade-enter,.widget-kvass-media-render-vimeo .fade-leave-to{opacity:0}",x={props:{url:{type:String,default:""},videoState:{type:String,default:"ready",enums:["ready ","play","pause"]},loop:{type:[String,Boolean],default:!0},autoplay:{type:[String,Boolean],default:!1},controls:{type:[String,Boolean],default:!0},mute:{type:[String,Boolean],default:!1},displayThumbnail:{type:[String,Boolean],default:!0},ignoreConsent:{type:[String,Boolean],default:!1},hideConsent:{type:[String,Boolean],default:!1},thumbnailSource:{type:String,default:""},consentBlockMessage:{type:String,default:"The video is blocked due to lack of consent to cookies"},consentButtonLabel:{type:String,default:"Edit consents"},aspectRatio:{type:String,default:"16/9"}},watch:{videoState:{handler(e,t){if(e!==t)switch(e){case"play":return this.play();case"pause":return this.pause();default:return}}}},data(){return{ready:!1,thumbnail:null,consents:[]}},computed:{kvassDefined(){return typeof Kvass<"u"},showConsent(){return this.hideConsent||!this.kvassDefined?!1:!this.ignoreConsent&&!this.consents.includes("statistics")},videoId(){if(!this.url)return;let e=[l(this.url,/https\:\/\/(w{3}\.)?vimeo\.com\/(.+)\/?/,{group:2}),l(this.url,/https\:\/\/(w{3}\.)?player\.vimeo\.com\/(video\/)?(.+)\/?/,{group:3})].find(t=>!!t);if(e)return e.split("&")[0]}},methods:{openConsent(){this.kvassDefined&&Kvass.emit("consent:show")},async play(){try{this.player.setVolume(0),await this.player.play()}catch(e){console.log(e)}},pause(){this.player.pause()},async init(){const e={url:`https://vimeo.com/${this.videoId}`,loop:this.loop,autoplay:this.autoplay,controls:this.controls,muted:this.mute||this.autoplay,playsinline:1,dnt:1};function t(i){return i==="false"?!1:i==="true"?!0:i}Object.entries(e).map(([i,s])=>e[i]=t(s)),f("https://player.vimeo.com/api/player.js");const a=await v(()=>window.Vimeo,{limit:100});this.player=new a.Player(this.$refs.vimeoPlayer,e),await this.player.ready().then(()=>{this.ready=!0}).catch(i=>{console.log(i)})}},async mounted(){if(this.displayThumbnail&&(this.thumbnail=this.thumbnailSource||`/api/media/thumbnail?url=${this.url}`),this.ignoreConsent||!this.kvassDefined)return this.init();let e=t=>{if(this.consents=t||[],!(!this.consents||!this.consents.length)&&this.consents.includes("statistics"))return this.init()};this.kvassDefined&&(Kvass.emit("consent:get",t=>e(t)),Kvass.on("consent:change",e))}},B={key:0,class:"widget-kvass-media-render-vimeo__blocked"},C={class:"widget-kvass-media-render-vimeo__blocked-warning"};function z(e,t,a,i,s,n){return r(),o("div",{class:"widget-kvass-media-render-vimeo",style:u(`aspect-ratio: ${a.aspectRatio};`)},[m((r(),o("div",{key:n.videoId,ref:"vimeoPlayer",class:"widget-kvass-media-render-vimeo__embed",frameborder:"0",allow:"autoplay; fullscreen;",webkitallowfullscreen:"",mozallowfullscreen:""})),[[c,s.ready]]),y(b,{name:"fade",mode:"in-out"},{default:w(()=>[m(d("div",{class:"widget-kvass-media-render-vimeo__thumbnail",style:u({backgroundImage:`url(${s.thumbnail})`})},null,4),[[c,!s.ready&&s.thumbnail]])]),_:1}),n.showConsent?(r(),o("div",B,[d("div",C,[_(p(a.consentBlockMessage)+" ",1),d("button",{class:"widget-kvass-media-render-vimeo__blocked-warning-button",onClick:t[0]||(t[0]=(...h)=>n.openConsent&&n.openConsent(...h))},p(a.consentButtonLabel),1)])])):k("",!0)],4)}const T=g(x,[["render",z],["styles",[S]]]);export{T as V};
@@ -14,4 +14,4 @@
14
14
  * @vue/runtime-dom v3.5.13
15
15
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
16
  * @license MIT
17
- **/let fn;const er=typeof window<"u"&&window.trustedTypes;if(er)try{fn=er.createPolicy("vue",{createHTML:e=>e})}catch{}const Ni=fn?e=>fn.createHTML(e):e=>e,zl="http://www.w3.org/2000/svg",Yl="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,tr=je&&je.createElement("template"),Zl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?je.createElementNS(zl,e):t==="mathml"?je.createElementNS(Yl,e):s?je.createElement(e,{is:s}):je.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{tr.innerHTML=Ni(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=tr.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Ge="transition",Tt="animation",bt=Symbol("_vtc"),Di={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},Li=ne({},si,Di),Xl=e=>(e.displayName="Transition",e.props=Li,e),rf=Xl((e,{slots:t})=>ql(Go,$i(e),t)),it=(e,t=[])=>{O(e)?e.forEach(s=>s(...t)):e&&e(...t)},sr=e=>e?O(e)?e.some(t=>t.length>1):e.length>1:!1;function $i(e){const t={};for(const M in e)M in Di||(t[M]=e[M]);if(e.css===!1)return t;const{name:s="v",type:n,duration:r,enterFromClass:i=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:l=`${s}-enter-to`,appearFromClass:c=i,appearActiveClass:h=o,appearToClass:u=l,leaveFromClass:d=`${s}-leave-from`,leaveActiveClass:g=`${s}-leave-active`,leaveToClass:b=`${s}-leave-to`}=e,P=Ql(r),A=P&&P[0],z=P&&P[1],{onBeforeEnter:H,onEnter:E,onEnterCancelled:R,onLeave:x,onLeaveCancelled:$,onBeforeAppear:j=H,onAppear:U=E,onAppearCancelled:J=R}=t,I=(M,te,fe,He)=>{M._enterCancelled=He,qe(M,te?u:l),qe(M,te?h:o),fe&&fe()},V=(M,te)=>{M._isLeaving=!1,qe(M,d),qe(M,b),qe(M,g),te&&te()},G=M=>(te,fe)=>{const He=M?U:E,ie=()=>I(te,M,fe);it(He,[te,ie]),nr(()=>{qe(te,M?c:i),Ne(te,M?u:l),sr(He)||rr(te,n,A,ie)})};return ne(t,{onBeforeEnter(M){it(H,[M]),Ne(M,i),Ne(M,o)},onBeforeAppear(M){it(j,[M]),Ne(M,c),Ne(M,h)},onEnter:G(!1),onAppear:G(!0),onLeave(M,te){M._isLeaving=!0;const fe=()=>V(M,te);Ne(M,d),M._enterCancelled?(Ne(M,g),un()):(un(),Ne(M,g)),nr(()=>{M._isLeaving&&(qe(M,d),Ne(M,b),sr(x)||rr(M,n,z,fe))}),it(x,[M,fe])},onEnterCancelled(M){I(M,!1,void 0,!0),it(R,[M])},onAppearCancelled(M){I(M,!0,void 0,!0),it(J,[M])},onLeaveCancelled(M){V(M),it($,[M])}})}function Ql(e){if(e==null)return null;if(Q(e))return[ks(e.enter),ks(e.leave)];{const t=ks(e);return[t,t]}}function ks(e){return Js(e)}function Ne(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[bt]||(e[bt]=new Set)).add(t)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[bt];s&&(s.delete(t),s.size||(e[bt]=void 0))}function nr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ec=0;function rr(e,t,s,n){const r=e._endId=++ec,i=()=>{r===e._endId&&n()};if(s!=null)return setTimeout(i,s);const{type:o,timeout:l,propCount:c}=Hi(e,t);if(!o)return n();const h=o+"end";let u=0;const d=()=>{e.removeEventListener(h,g),i()},g=b=>{b.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},l+1),e.addEventListener(h,g)}function Hi(e,t){const s=window.getComputedStyle(e),n=P=>(s[P]||"").split(", "),r=n(`${Ge}Delay`),i=n(`${Ge}Duration`),o=ir(r,i),l=n(`${Tt}Delay`),c=n(`${Tt}Duration`),h=ir(l,c);let u=null,d=0,g=0;t===Ge?o>0&&(u=Ge,d=o,g=i.length):t===Tt?h>0&&(u=Tt,d=h,g=c.length):(d=Math.max(o,h),u=d>0?o>h?Ge:Tt:null,g=u?u===Ge?i.length:c.length:0);const b=u===Ge&&/\b(transform|all)(,|$)/.test(n(`${Ge}Property`).toString());return{type:u,timeout:d,propCount:g,hasTransform:b}}function ir(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>or(s)+or(e[n])))}function or(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function un(){return document.body.offsetHeight}function tc(e,t,s){const n=e[bt];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const ps=Symbol("_vod"),Vi=Symbol("_vsh"),of={beforeMount(e,{value:t},{transition:s}){e[ps]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):wt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),wt(e,!0),n.enter(e)):n.leave(e,()=>{wt(e,!1)}):wt(e,t))},beforeUnmount(e,{value:t}){wt(e,t)}};function wt(e,t){e.style.display=t?e[ps]:"none",e[Vi]=!t}const sc=Symbol(""),nc=/(^|;)\s*display\s*:/;function rc(e,t,s){const n=e.style,r=ee(s);let i=!1;if(s&&!r){if(t)if(ee(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&ns(n,l,"")}else for(const o in t)s[o]==null&&ns(n,o,"");for(const o in s)o==="display"&&(i=!0),ns(n,o,s[o])}else if(r){if(t!==s){const o=n[sc];o&&(s+=";"+o),n.cssText=s,i=nc.test(s)}}else t&&e.removeAttribute("style");ps in e&&(e[ps]=i?n.display:"",e[Vi]&&(n.display="none"))}const lr=/\s*!important$/;function ns(e,t,s){if(O(s))s.forEach(n=>ns(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ic(e,t);lr.test(s)?e.setProperty(xe(n),s.replace(lr,""),"important"):e[n]=s}}const cr=["Webkit","Moz","ms"],Gs={};function ic(e,t){const s=Gs[t];if(s)return s;let n=pe(t);if(n!=="filter"&&n in e)return Gs[t]=n;n=ys(n);for(let r=0;r<cr.length;r++){const i=cr[r]+n;if(i in e)return Gs[t]=i}return t}const fr="http://www.w3.org/1999/xlink";function ur(e,t,s,n,r,i=no(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(fr,t.slice(6,t.length)):e.setAttributeNS(fr,t,s):s==null||i&&!Sr(s)?e.removeAttribute(t):e.setAttribute(t,i?"":We(s)?String(s):s)}function ar(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Ni(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Sr(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function oc(e,t,s,n){e.addEventListener(t,s,n)}function lc(e,t,s,n){e.removeEventListener(t,s,n)}const hr=Symbol("_vei");function cc(e,t,s,n,r=null){const i=e[hr]||(e[hr]={}),o=i[t];if(n&&o)o.value=n;else{const[l,c]=fc(t);if(n){const h=i[t]=hc(n,r);oc(e,l,h,c)}else o&&(lc(e,l,o,c),i[t]=void 0)}}const dr=/(?:Once|Passive|Capture)$/;function fc(e){let t;if(dr.test(e)){t={};let n;for(;n=e.match(dr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xe(e.slice(2)),t]}let qs=0;const uc=Promise.resolve(),ac=()=>qs||(uc.then(()=>qs=0),qs=Date.now());function hc(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Re(dc(n,s.value),t,5,[n])};return s.value=e,s.attached=ac(),s}function dc(e,t){if(O(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const pr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pc=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?tc(e,n,o):t==="style"?rc(e,s,n):_s(t)?hn(t)||cc(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gc(e,t,n,o))?(ar(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ur(e,t,n,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ee(n))?ar(e,pe(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ur(e,t,n,o))};function gc(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&pr(t)&&D(s));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 pr(t)&&ee(s)?!1:t in e}const gr={};/*! #__NO_SIDE_EFFECTS__ */function lf(e,t,s){const n=qo(e,t);ms(n)&&ne(n,t);class r extends On{constructor(o){super(n,o,s)}}return r.def=n,r}const _c=typeof HTMLElement<"u"?HTMLElement:class{};class On extends _c{constructor(t,s={},n=br){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==br?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof On){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Gr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const r of n)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=n;let l;if(i&&!O(i))for(const c in i){const h=i[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Js(this._props[c])),(l||(l=Object.create(null)))[pe(c)]=!0)}this._numberProps=l,r&&this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)W(this,n)||Object.defineProperty(this,n,{get:()=>vn(s[n])})}_resolveProps(t){const{props:s}=t,n=O(s)?s:Object.keys(s||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(pe))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):gr;const r=pe(t);s&&this._numberProps&&this._numberProps[r]&&(n=Js(n)),this._setProp(r,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,r=!1){if(s!==this._props[t]&&(s===gr?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),r&&this._instance&&this._update(),n)){const i=this._ob;i&&i.disconnect(),s===!0?this.setAttribute(xe(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(xe(t),s+""):s||this.removeAttribute(xe(t)),i&&i.observe(this,{attributes:!0})}}_update(){Ac(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=de(this._def,ne(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,ms(o[0])?ne({detail:o},o[0]):{detail:o}))};n.emit=(i,...o)=>{r(i,o),xe(i)!==i&&r(xe(i),o)},this._setParent()}),s}_applyStyles(t,s){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const n=this._nonce;for(let r=t.length-1;r>=0;r--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[r],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),s=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const r=t[n],i=r.getAttribute("name")||"default",o=this._slots[i],l=r.parentNode;if(o)for(const c of o){if(s&&c.nodeType===1){const h=s+"-s",u=document.createTreeWalker(c,1);c.setAttribute(h,"");let d;for(;d=u.nextNode();)d.setAttribute(h,"")}l.insertBefore(c,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}const ji=new WeakMap,Bi=new WeakMap,gs=Symbol("_moveCb"),_r=Symbol("_enterCb"),mc=e=>(delete e.props.mode,e),bc=mc({name:"TransitionGroup",props:ne({},Li,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=yt(),n=ti();let r,i;return Tn(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Cc(r[0].el,s.vnode.el,o))return;r.forEach(yc),r.forEach(vc);const l=r.filter(xc);un(),l.forEach(c=>{const h=c.el,u=h.style;Ne(h,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=h[gs]=g=>{g&&g.target!==h||(!g||/transform$/.test(g.propertyName))&&(h.removeEventListener("transitionend",d),h[gs]=null,qe(h,o))};h.addEventListener("transitionend",d)})}),()=>{const o=K(e),l=$i(o);let c=o.tag||ve;if(r=[],i)for(let h=0;h<i.length;h++){const u=i[h];u.el&&u.el instanceof Element&&(r.push(u),Xe(u,Ht(u,l,n,s)),ji.set(u,u.el.getBoundingClientRect()))}i=t.default?Cn(t.default()):[];for(let h=0;h<i.length;h++){const u=i[h];u.key!=null&&Xe(u,Ht(u,l,n,s))}return de(c,null,i)}}}),cf=bc;function yc(e){const t=e.el;t[gs]&&t[gs](),t[_r]&&t[_r]()}function vc(e){Bi.set(e,e.el.getBoundingClientRect())}function xc(e){const t=ji.get(e),s=Bi.get(e),n=t.left-s.left,r=t.top-s.top;if(n||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${r}px)`,i.transitionDuration="0s",e}}function Cc(e,t,s){const n=e.cloneNode(),r=e[bt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&n.classList.remove(c))}),s.split(/\s+/).forEach(l=>l&&n.classList.add(l)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:o}=Hi(n);return i.removeChild(n),o}const Sc=["ctrl","shift","alt","meta"],Tc={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)=>Sc.some(s=>e[`${s}Key`]&&!t.includes(s))},ff=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=Tc[t[o]];if(l&&l(r,t))return}return e(r,...i)})},wc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},uf=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=r=>{if(!("key"in r))return;const i=xe(r.key);if(t.some(o=>o===i||wc[o]===i))return e(r)})},Ec=ne({patchProp:pc},Zl);let mr;function Ki(){return mr||(mr=vl(Ec))}const Ac=(...e)=>{Ki().render(...e)},br=(...e)=>{const t=Ki().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Rc(n);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,Pc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Pc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Rc(e){return ee(e)?document.querySelector(e):e}const af=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s};export{Yc as $,of as A,rf as B,$l as C,wn as D,ts as E,ve as F,Po as G,Qc as H,tf as I,Oc as J,Ll as K,K as L,ef as M,Jc as N,Bc as O,Tn as P,es as Q,Fo as R,yt as S,cf as T,le as U,Kr as V,ci as W,Nc as X,Wc as Y,Zc as Z,af as _,Mi as a,dl as a0,Gr as a1,Ue as a2,oo as a3,Ic as a4,Fc as a5,Xo as a6,$c as a7,Hc as a8,uf as a9,br as aa,Vc as ab,Kc as ac,Gc as ad,Lc as ae,Uc as af,Jl as ag,yn as ah,Dc as ai,Gl as b,sf as c,nf as d,on as e,kc as f,zc as g,bn as h,Sn as i,de as j,ff as k,qc as l,Hl as m,Cs as n,rn as o,lf as p,qo as q,Ro as r,ql as s,ro as t,Xc as u,vn as v,Yr as w,Ho as x,xs as y,jc as z};
17
+ **/let fn;const er=typeof window<"u"&&window.trustedTypes;if(er)try{fn=er.createPolicy("vue",{createHTML:e=>e})}catch{}const Ni=fn?e=>fn.createHTML(e):e=>e,zl="http://www.w3.org/2000/svg",Yl="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,tr=je&&je.createElement("template"),Zl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?je.createElementNS(zl,e):t==="mathml"?je.createElementNS(Yl,e):s?je.createElement(e,{is:s}):je.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{tr.innerHTML=Ni(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=tr.content;if(n==="svg"||n==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Ge="transition",Tt="animation",bt=Symbol("_vtc"),Di={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},Li=ne({},si,Di),Xl=e=>(e.displayName="Transition",e.props=Li,e),rf=Xl((e,{slots:t})=>ql(Go,$i(e),t)),it=(e,t=[])=>{O(e)?e.forEach(s=>s(...t)):e&&e(...t)},sr=e=>e?O(e)?e.some(t=>t.length>1):e.length>1:!1;function $i(e){const t={};for(const M in e)M in Di||(t[M]=e[M]);if(e.css===!1)return t;const{name:s="v",type:n,duration:r,enterFromClass:i=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:l=`${s}-enter-to`,appearFromClass:c=i,appearActiveClass:h=o,appearToClass:u=l,leaveFromClass:d=`${s}-leave-from`,leaveActiveClass:g=`${s}-leave-active`,leaveToClass:b=`${s}-leave-to`}=e,P=Ql(r),A=P&&P[0],z=P&&P[1],{onBeforeEnter:H,onEnter:E,onEnterCancelled:R,onLeave:x,onLeaveCancelled:$,onBeforeAppear:j=H,onAppear:U=E,onAppearCancelled:J=R}=t,I=(M,te,fe,He)=>{M._enterCancelled=He,qe(M,te?u:l),qe(M,te?h:o),fe&&fe()},V=(M,te)=>{M._isLeaving=!1,qe(M,d),qe(M,b),qe(M,g),te&&te()},G=M=>(te,fe)=>{const He=M?U:E,ie=()=>I(te,M,fe);it(He,[te,ie]),nr(()=>{qe(te,M?c:i),Ne(te,M?u:l),sr(He)||rr(te,n,A,ie)})};return ne(t,{onBeforeEnter(M){it(H,[M]),Ne(M,i),Ne(M,o)},onBeforeAppear(M){it(j,[M]),Ne(M,c),Ne(M,h)},onEnter:G(!1),onAppear:G(!0),onLeave(M,te){M._isLeaving=!0;const fe=()=>V(M,te);Ne(M,d),M._enterCancelled?(Ne(M,g),un()):(un(),Ne(M,g)),nr(()=>{M._isLeaving&&(qe(M,d),Ne(M,b),sr(x)||rr(M,n,z,fe))}),it(x,[M,fe])},onEnterCancelled(M){I(M,!1,void 0,!0),it(R,[M])},onAppearCancelled(M){I(M,!0,void 0,!0),it(J,[M])},onLeaveCancelled(M){V(M),it($,[M])}})}function Ql(e){if(e==null)return null;if(Q(e))return[ks(e.enter),ks(e.leave)];{const t=ks(e);return[t,t]}}function ks(e){return Js(e)}function Ne(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[bt]||(e[bt]=new Set)).add(t)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[bt];s&&(s.delete(t),s.size||(e[bt]=void 0))}function nr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ec=0;function rr(e,t,s,n){const r=e._endId=++ec,i=()=>{r===e._endId&&n()};if(s!=null)return setTimeout(i,s);const{type:o,timeout:l,propCount:c}=Hi(e,t);if(!o)return n();const h=o+"end";let u=0;const d=()=>{e.removeEventListener(h,g),i()},g=b=>{b.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},l+1),e.addEventListener(h,g)}function Hi(e,t){const s=window.getComputedStyle(e),n=P=>(s[P]||"").split(", "),r=n(`${Ge}Delay`),i=n(`${Ge}Duration`),o=ir(r,i),l=n(`${Tt}Delay`),c=n(`${Tt}Duration`),h=ir(l,c);let u=null,d=0,g=0;t===Ge?o>0&&(u=Ge,d=o,g=i.length):t===Tt?h>0&&(u=Tt,d=h,g=c.length):(d=Math.max(o,h),u=d>0?o>h?Ge:Tt:null,g=u?u===Ge?i.length:c.length:0);const b=u===Ge&&/\b(transform|all)(,|$)/.test(n(`${Ge}Property`).toString());return{type:u,timeout:d,propCount:g,hasTransform:b}}function ir(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>or(s)+or(e[n])))}function or(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function un(){return document.body.offsetHeight}function tc(e,t,s){const n=e[bt];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const ps=Symbol("_vod"),Vi=Symbol("_vsh"),of={beforeMount(e,{value:t},{transition:s}){e[ps]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):wt(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),wt(e,!0),n.enter(e)):n.leave(e,()=>{wt(e,!1)}):wt(e,t))},beforeUnmount(e,{value:t}){wt(e,t)}};function wt(e,t){e.style.display=t?e[ps]:"none",e[Vi]=!t}const sc=Symbol(""),nc=/(^|;)\s*display\s*:/;function rc(e,t,s){const n=e.style,r=ee(s);let i=!1;if(s&&!r){if(t)if(ee(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&ns(n,l,"")}else for(const o in t)s[o]==null&&ns(n,o,"");for(const o in s)o==="display"&&(i=!0),ns(n,o,s[o])}else if(r){if(t!==s){const o=n[sc];o&&(s+=";"+o),n.cssText=s,i=nc.test(s)}}else t&&e.removeAttribute("style");ps in e&&(e[ps]=i?n.display:"",e[Vi]&&(n.display="none"))}const lr=/\s*!important$/;function ns(e,t,s){if(O(s))s.forEach(n=>ns(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ic(e,t);lr.test(s)?e.setProperty(xe(n),s.replace(lr,""),"important"):e[n]=s}}const cr=["Webkit","Moz","ms"],Gs={};function ic(e,t){const s=Gs[t];if(s)return s;let n=pe(t);if(n!=="filter"&&n in e)return Gs[t]=n;n=ys(n);for(let r=0;r<cr.length;r++){const i=cr[r]+n;if(i in e)return Gs[t]=i}return t}const fr="http://www.w3.org/1999/xlink";function ur(e,t,s,n,r,i=no(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(fr,t.slice(6,t.length)):e.setAttributeNS(fr,t,s):s==null||i&&!Sr(s)?e.removeAttribute(t):e.setAttribute(t,i?"":We(s)?String(s):s)}function ar(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Ni(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(l!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Sr(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function oc(e,t,s,n){e.addEventListener(t,s,n)}function lc(e,t,s,n){e.removeEventListener(t,s,n)}const hr=Symbol("_vei");function cc(e,t,s,n,r=null){const i=e[hr]||(e[hr]={}),o=i[t];if(n&&o)o.value=n;else{const[l,c]=fc(t);if(n){const h=i[t]=hc(n,r);oc(e,l,h,c)}else o&&(lc(e,l,o,c),i[t]=void 0)}}const dr=/(?:Once|Passive|Capture)$/;function fc(e){let t;if(dr.test(e)){t={};let n;for(;n=e.match(dr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xe(e.slice(2)),t]}let qs=0;const uc=Promise.resolve(),ac=()=>qs||(uc.then(()=>qs=0),qs=Date.now());function hc(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Re(dc(n,s.value),t,5,[n])};return s.value=e,s.attached=ac(),s}function dc(e,t){if(O(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const pr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pc=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?tc(e,n,o):t==="style"?rc(e,s,n):_s(t)?hn(t)||cc(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gc(e,t,n,o))?(ar(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ur(e,t,n,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ee(n))?ar(e,pe(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ur(e,t,n,o))};function gc(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&pr(t)&&D(s));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 pr(t)&&ee(s)?!1:t in e}const gr={};/*! #__NO_SIDE_EFFECTS__ */function lf(e,t,s){const n=qo(e,t);ms(n)&&ne(n,t);class r extends On{constructor(o){super(n,o,s)}}return r.def=n,r}const _c=typeof HTMLElement<"u"?HTMLElement:class{};class On extends _c{constructor(t,s={},n=br){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==br?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof On){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Gr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const r of n)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:o}=n;let l;if(i&&!O(i))for(const c in i){const h=i[c];(h===Number||h&&h.type===Number)&&(c in this._props&&(this._props[c]=Js(this._props[c])),(l||(l=Object.create(null)))[pe(c)]=!0)}this._numberProps=l,r&&this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>t(this._def=n,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)W(this,n)||Object.defineProperty(this,n,{get:()=>vn(s[n])})}_resolveProps(t){const{props:s}=t,n=O(s)?s:Object.keys(s||{});for(const r of Object.keys(this))r[0]!=="_"&&n.includes(r)&&this._setProp(r,this[r]);for(const r of n.map(pe))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(i){this._setProp(r,i,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):gr;const r=pe(t);s&&this._numberProps&&this._numberProps[r]&&(n=Js(n)),this._setProp(r,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,r=!1){if(s!==this._props[t]&&(s===gr?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),r&&this._instance&&this._update(),n)){const i=this._ob;i&&i.disconnect(),s===!0?this.setAttribute(xe(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(xe(t),s+""):s||this.removeAttribute(xe(t)),i&&i.observe(this,{attributes:!0})}}_update(){Ac(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=de(this._def,ne(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const r=(i,o)=>{this.dispatchEvent(new CustomEvent(i,ms(o[0])?ne({detail:o},o[0]):{detail:o}))};n.emit=(i,...o)=>{r(i,o),xe(i)!==i&&r(xe(i),o)},this._setParent()}),s}_applyStyles(t,s){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const n=this._nonce;for(let r=t.length-1;r>=0;r--){const i=document.createElement("style");n&&i.setAttribute("nonce",n),i.textContent=t[r],this.shadowRoot.prepend(i)}}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),s=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const r=t[n],i=r.getAttribute("name")||"default",o=this._slots[i],l=r.parentNode;if(o)for(const c of o){if(s&&c.nodeType===1){const h=s+"-s",u=document.createTreeWalker(c,1);c.setAttribute(h,"");let d;for(;d=u.nextNode();)d.setAttribute(h,"")}l.insertBefore(c,r)}else for(;r.firstChild;)l.insertBefore(r.firstChild,r);l.removeChild(r)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}const ji=new WeakMap,Bi=new WeakMap,gs=Symbol("_moveCb"),_r=Symbol("_enterCb"),mc=e=>(delete e.props.mode,e),bc=mc({name:"TransitionGroup",props:ne({},Li,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=yt(),n=ti();let r,i;return Tn(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Cc(r[0].el,s.vnode.el,o))return;r.forEach(yc),r.forEach(vc);const l=r.filter(xc);un(),l.forEach(c=>{const h=c.el,u=h.style;Ne(h,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=h[gs]=g=>{g&&g.target!==h||(!g||/transform$/.test(g.propertyName))&&(h.removeEventListener("transitionend",d),h[gs]=null,qe(h,o))};h.addEventListener("transitionend",d)})}),()=>{const o=K(e),l=$i(o);let c=o.tag||ve;if(r=[],i)for(let h=0;h<i.length;h++){const u=i[h];u.el&&u.el instanceof Element&&(r.push(u),Xe(u,Ht(u,l,n,s)),ji.set(u,u.el.getBoundingClientRect()))}i=t.default?Cn(t.default()):[];for(let h=0;h<i.length;h++){const u=i[h];u.key!=null&&Xe(u,Ht(u,l,n,s))}return de(c,null,i)}}}),cf=bc;function yc(e){const t=e.el;t[gs]&&t[gs](),t[_r]&&t[_r]()}function vc(e){Bi.set(e,e.el.getBoundingClientRect())}function xc(e){const t=ji.get(e),s=Bi.get(e),n=t.left-s.left,r=t.top-s.top;if(n||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${n}px,${r}px)`,i.transitionDuration="0s",e}}function Cc(e,t,s){const n=e.cloneNode(),r=e[bt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&n.classList.remove(c))}),s.split(/\s+/).forEach(l=>l&&n.classList.add(l)),n.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(n);const{hasTransform:o}=Hi(n);return i.removeChild(n),o}const Sc=["ctrl","shift","alt","meta"],Tc={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)=>Sc.some(s=>e[`${s}Key`]&&!t.includes(s))},ff=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=Tc[t[o]];if(l&&l(r,t))return}return e(r,...i)})},wc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},uf=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=r=>{if(!("key"in r))return;const i=xe(r.key);if(t.some(o=>o===i||wc[o]===i))return e(r)})},Ec=ne({patchProp:pc},Zl);let mr;function Ki(){return mr||(mr=vl(Ec))}const Ac=(...e)=>{Ki().render(...e)},br=(...e)=>{const t=Ki().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Rc(n);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,Pc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Pc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Rc(e){return ee(e)?document.querySelector(e):e}const af=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s};export{Yc as $,of as A,rf as B,$l as C,wn as D,ts as E,ve as F,Po as G,Qc as H,tf as I,Oc as J,Ll as K,K as L,ef as M,Jc as N,Bc as O,Tn as P,es as Q,Fo as R,yt as S,cf as T,le as U,Kr as V,ci as W,Nc as X,Wc as Y,Zc as Z,af as _,Mi as a,dl as a0,Gr as a1,Ue as a2,oo as a3,Ic as a4,Fc as a5,Xo as a6,Kc as a7,Gc as a8,Lc as a9,uf as aa,Uc as ab,Jl as ac,yn as ad,$c as ae,Hc as af,br as ag,Vc as ah,Dc as ai,Gl as b,sf as c,nf as d,on as e,kc as f,zc as g,bn as h,Sn as i,de as j,ff as k,qc as l,Hl as m,Cs as n,rn as o,lf as p,qo as q,Ro as r,ql as s,ro as t,Xc as u,vn as v,Yr as w,Ho as x,xs as y,jc as z};