Files
appco_dist/.output/public/_nuxt/DJir2CeY.js
T

5 lines
54 KiB
JavaScript
Raw Normal View History

2026-03-03 20:40:54 +03:30
import{r as x,aV as nr,o as K,ag as Re,K as L,af as X,bh as rr,aU as ge,b2 as sr,h as ct,a1 as Jt,aa as Me,d as Qt,l as H,bc as Ie,a0 as z,a3 as ne,J as ft,bi as or,bj as ir,bk as ar,H as lr,e as ur,z as ae,A as le,D as cr,E as fr,B as $,R as $e,C as dr,T as Be,a8 as pr}from"./CE4SaZgW.js";/* empty css */import{_ as hr}from"./DlAUqK2U.js";function mr(){try{return"constructor"in GestureEvent}catch{return!1}}function en(){return typeof window<"u"&&"ontouchstart"in window}function tn(e){return"pointerId"in e?null:e.type==="touchend"?e.changedTouches:e.targetTouches}function nn(e){return Array.from(tn(e)).map(t=>t.identifier)}function _t(e){const t="buttons"in e?e.buttons:0,{shiftKey:n,altKey:r,metaKey:s,ctrlKey:o}=e;return{buttons:t,shiftKey:n,altKey:r,metaKey:s,ctrlKey:o}}const gr=e=>e;function Ct(e,t=gr){const n=tn(e),{clientX:r,clientY:s}=n?n[0]:e;return t([r,s])}function rn(){}function sn(...e){return e.length===0?rn:e.length===1?e[0]:function(){var t;for(let n of e)t=n.apply(this,arguments)||t;return t}}function V(e,t){if(e===void 0){if(t===void 0)throw new Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function At(e,...t){return typeof e=="function"?e(...t):e}function ue(e){return{_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_lastEventType:void 0,_dragStarted:!1,_dragPreventScroll:!1,_dragIsTap:!0,_dragDelayed:!1,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:rn,canceled:!1,memo:void 0,args:void 0,...e}}function Ze(){const e={hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1,locked:!1},t=ue({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),n=ue({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),r=ue({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),s=ue({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),o=ue({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0});return{shared:e,drag:t,pinch:n,wheel:r,move:s,scroll:o}}var yr=Object.defineProperty,vr=(e,t,n)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,A=(e,t,n)=>(vr(e,typeof t!="symbol"?t+"":t,n),n);class br{constructor(t){this.classes=t,A(this,"nativeRefs"),A(this,"config"),A(this,"handlers"),A(this,"state"),A(this,"timeouts"),A(this,"domListeners"),A(this,"windowListeners"),A(this,"pointerIds",new Set),A(this,"touchIds",new Set),A(this,"supportsTouchEvents",en()),A(this,"supportsGestureEvents",mr()),A(this,"bind",(...n)=>{const r={};for(let s of this.classes)new s(this,n).addBindings(r);for(let s in this.nativeRefs)R(r,s,o=>this.nativeRefs[s]({...this.state.shared,event:o,args:n}));return this.config.domTarget?Er(this,r):_r(this,r)}),A(this,"clean",()=>{const{eventOptions:n,domTarget:r}=this.config,s=L(r);s&&ye(s,on(this.domListeners),n),Object.values(this.timeouts).forEach(clearTimeout),Tr(this)}),A(this,"reset",()=>{this.state=Ze()}),this.classes=t,this.state=Ze(),this.timeouts={},this.domListeners=[],this.windowListeners={}}}function Sr(e,t){"pointerId"in t?e.pointerIds.add(t.pointerId):e.touchIds=new Set(nn(t))}function wr(e,t){"pointerId"in t?e.pointerIds.delete(t.pointerId):nn(t).forEach(n=>e.touchIds.delete(n))}function Tr(e){const{config:{window:t,eventOptions:n},windowListeners:r}=e,s=L(t);if(s){for(let o in r){const i=r[o];ye(s,i,n)}e.windowListeners={}}}function Or({config:e,windowListeners:t},n,r=e.eventOptions){const s=L(e.window);s&&(ye(s,t[n],r),delete t[n])}function xr({config:e,windowListeners:t},n,r=[],s=e.eventOptions){const o=L(e.window);o&&(ye(o,t[n],s),an(o,t[n]=r,s))}function Er({config:e,domListeners:t},n){const{eventOptions:r,domTarget:s}=e,o=L(s);if(!o)throw new Error("domTarget must be defined");ye(o,on(t),r);for(let[i,a]of Object.entries(n)){const l=i.s
2025-08-19 21:38:30 +03:30
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(d=>` - ${d}`).join(`
`)].join(`
2026-02-22 12:27:05 +03:30
`));let b=pn((i=f.props)!=null?i:{},l,c),g=sr(f,b,!0);for(let d in b)d.startsWith("on")&&(g.props||(g.props={}),g.props[d]=b[d]);return g}return Array.isArray(u)&&u.length===1?u[0]:u}return ct(a,Object.assign({},l,c),{default:()=>u})}function dn(e){return e.flatMap(t=>t.type===Jt?dn(t.children):[t])}function pn(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](s,...o){let i=n[r];for(let a of i){if(s instanceof Event&&s.defaultPrevented)return;a(s,...o)}}});return t}function hn(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function fs(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let mn=Symbol("Context");var B=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(B||{});function ds(){return gn()!==null}function gn(){return ge(mn,null)}function ps(e){Me(mn,e)}function hs(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function He(e,...t){e&&t.length>0&&e.classList.add(...t)}function xe(e,...t){e&&t.length>0&&e.classList.remove(...t)}var et=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(et||{});function ms(e,t){let n=pt();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:s}=getComputedStyle(e),[o,i]=[r,s].map(a=>{let[l=0]=a.split(",").filter(Boolean).map(u=>u.includes("ms")?parseFloat(u):parseFloat(u)*1e3).sort((u,c)=>c-u);return l});return o!==0?n.setTimeout(()=>t("finished"),o+i):t("finished"),n.add(()=>t("cancelled")),n.dispose}function Ft(e,t,n,r,s,o){let i=pt(),a=o!==void 0?hs(o):()=>{};return xe(e,...s),He(e,...t,...n),i.nextFrame(()=>{xe(e,...n),He(e,...r),i.add(ms(e,l=>(xe(e,...r,...t),He(e,...s),a(l))))}),i.add(()=>xe(e,...t,...n,...r,...s)),i.add(()=>a("cancelled")),i.dispose}function G(e=""){return e.split(/\s+/).filter(t=>t.length>1)}let ht=Symbol("TransitionContext");var gs=(e=>(e.Visible="visible",e.Hidden="hidden",e))(gs||{});function ys(){return ge(ht,null)!==null}function vs(){let e=ge(ht,null);if(e===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}function bs(){let e=ge(mt,null);if(e===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}let mt=Symbol("NestingContext");function Le(e){return"children"in e?Le(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function yn(e){let t=x([]),n=x(!1);K(()=>n.value=!0),Re(()=>n.value=!1);function r(o,i=U.Hidden){let a=t.value.findIndex(({id:l})=>l===o);a!==-1&&(pe(i,{[U.Unmount](){t.value.splice(a,1)},[U.Hidden](){t.value[a].state="hidden"}}),!Le(t)&&n.value&&e?.())}function s(o){let i=t.value.find(({id:a})=>a===o);return i?i.state!=="visible"&&(i.state="visible"):t.value.push({id:o,state:"visible"}),()=>r(o,U.Unmount)}return{children:t,register:s,unregister:r}}let vn=cn.RenderStrategy,Ss=Qt({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:s}){let o=x(0);function i(){o.value|=B.Opening,t("beforeEnter")}function a(){o.value&=~B.Opening,t("afterEnter")}function l(){o.value|=B.Closing,t("beforeLeave")}function u(){o.value&=~B.Closing,t("afterLeave")}if(!ys()&&ds())return()=>ct(bn,{...e,onBeforeEnter:i,onAfterEnter:a,onBeforeLeave:l,onAfterLeave:u},r);let c=x(null),f=H(()=>e.unmount?U.Unmount:U.Hidden);s({el:c