Ngiler SH3LL 360
Home
Information
Create File
Create Folder
:
/
home
/
tbf
/
tbf.ro
/
razvan
/
dist
/
eveniment
/
public
/
_nuxt
/
Information Server
MySQL :
OFF
Perl :
OFF
CURL :
ON
WGET :
OFF
PKEXEC :
OFF
Directive
Local Value
IP Address
89.40.16.97
System
Linux server.atelieruldeit.ro 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64
User
tbf
PHP Version
7.3.33
Software
Apache
Doc root
Writable
close
Edit File :
C0aZZ4nR.js
| Size :
16.68
KB
Copy
import{E as be,f as m,r as A,G as Se,H as ie,I as me,e as ke,J as nt,K as he,L as B,M as it,O as Le,R as at,S as lt,A as ot,U as rt,W as Be}from"./CGDGjHUy.js";/** * Vue 3 Carousel 0.13.0 * (c) 2025 * @license MIT */const Ve=["viewport","carousel"],le={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},Fe=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],ut={ariaGallery:"Gallery",ariaNavigateToPage:"Navigate to page {slideNumber}",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",iconArrowDown:"Arrow pointing downwards",iconArrowLeft:"Arrow pointing to the left",iconArrowRight:"Arrow pointing to the right",iconArrowUp:"Arrow pointing upwards",itemXofY:"Item {currentSlide} of {slidesCount}"},je=["slide","fade"],Pe=["center","start","end","center-even","center-odd"],p={autoplay:0,breakpointMode:Ve[0],breakpoints:void 0,dir:Fe[0],enabled:!0,gap:0,height:"auto",i18n:ut,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:je[0],snapAlign:Pe[0],touchDrag:!0,transition:300,wrapAround:!1},oe=Symbol("carousel"),st=e=>{const i=Se([]),n=u=>{u!==void 0?i.slice(u).forEach((l,f)=>{var d;(d=l.exposed)===null||d===void 0||d.setIndex(u+f)}):i.forEach((l,f)=>{var d;(d=l.exposed)===null||d===void 0||d.setIndex(f)})};return{cleanup:()=>{i.splice(0,i.length)},getSlides:()=>i,registerSlide:(u,l)=>{if(!u||u.props.isClone)return;const f=l??i.length;i.splice(f,0,u),n(f),e("slide-registered",{slide:u,index:f})},unregisterSlide:u=>{const l=i.indexOf(u);l!==-1&&(e("slide-unregistered",{slide:u,index:l}),i.splice(l,1),n(l))}}};function dt(e){return e.length===0?0:e.reduce((n,u)=>n+u,0)/e.length}function Oe({slides:e,position:i,toShow:n}){const u=[],l=i==="before",f=l?-n:0,d=l?0:n;if(e.length<=0)return u;for(let v=f;v<d;v++){const C={index:l?v:v+e.length,isClone:!0,position:i,id:void 0,key:`clone-${i}-${v}`},N=e[(v%e.length+e.length)%e.length].vnode,x=it(N,C);x.el=null,u.push(x)}return u}const ct='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function Me(e){if(!e.el||!(e.el instanceof Element))return;const i=e.el.querySelectorAll(ct);for(const n of i)n instanceof HTMLElement&&!n.hasAttribute("disabled")&&n.getAttribute("aria-hidden")!=="true"&&n.setAttribute("tabindex","-1")}function vt(e,i){return Object.keys(e).filter(n=>!i.includes(n)).reduce((n,u)=>(n[u]=e[u],n),{})}function ft(e){const{isVertical:i,isReversed:n,dragged:u,effectiveSlideSize:l}=e,f=i?u.y:u.x;if(f===0)return 0;const d=Math.round(f/l);return n?d:-d}function O({val:e,max:i,min:n}){return i<n?e:Math.min(Math.max(e,isNaN(n)?e:n),isNaN(i)?e:i)}function gt(e){const{transform:i}=window.getComputedStyle(e);return i.split(/[(,)]/).slice(1,-1).map(n=>parseFloat(n))}function mt(e){let i=1,n=1;return e.forEach(u=>{const l=gt(u);l.length===6&&(i/=l[0],n/=l[3])}),{widthMultiplier:i,heightMultiplier:n}}function ht(e,i){switch(e){case"start":return 0;case"center":case"center-odd":return(i-1)/2;case"center-even":return(i-2)/2;case"end":return i-1;default:return 0}}function pt(e,i,n){switch(e){case"start":return 0;case"center":case"center-odd":return(n-i)/2;case"center-even":return n/2-i;case"end":return n-i;default:return 0}}function Re({slideSize:e,viewportSize:i,align:n,itemsToShow:u}){return u!==void 0?ht(n,u):e!==void 0&&i!==void 0?pt(n,e,i):0}function St(e="",i={}){return Object.entries(i).reduce((n,[u,l])=>n.replace(`{${u}}`,String(l)),e)}function bt({val:e,max:i,min:n=0}){const u=i-n+1;return((e-n)%u+u)%u+n}function pe(e,i=0){let n=!1,u=0,l=null;function f(...d){if(n)return;n=!0;const v=()=>{l=requestAnimationFrame(S=>{S-u>i?(u=S,e(...d),n=!1):v()})};v()}return f.cancel=()=>{l&&(cancelAnimationFrame(l),l=null,n=!1)},f}function ae(e,i="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${i}`:e}const wt=be({name:"CarouselAria",setup(){const e=Le(oe);return e?()=>B("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},St(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}}),At={autoplay:{default:p.autoplay,type:Number},breakpoints:{default:p.breakpoints,type:Object},breakpointMode:{default:p.breakpointMode,validator(e){return Ve.includes(e)}},enabled:{default:p.enabled,type:Boolean},gap:{default:p.gap,type:Number},height:{default:p.height,type:[Number,String]},ignoreAnimations:{default:!1,type:[Array,Boolean,String]},itemsToScroll:{default:p.itemsToScroll,type:Number},itemsToShow:{default:p.itemsToShow,type:[Number,String]},i18n:{default:p.i18n,type:Object},modelValue:{default:void 0,type:Number},mouseDrag:{default:p.mouseDrag,type:Boolean},touchDrag:{default:p.touchDrag,type:Boolean},pauseAutoplayOnHover:{default:p.pauseAutoplayOnHover,type:Boolean},preventExcessiveDragging:{default:!1,type:Boolean,validator(e,i){return e&&i.wrapAround&&console.warn('[vue3-carousel warn]: "preventExcessiveDragging" cannot be used with wrapAround. The setting will be ignored.'),!0}},snapAlign:{default:p.snapAlign,validator(e){return Pe.includes(e)}},slideEffect:{type:String,default:p.slideEffect,validator(e){return je.includes(e)}},transition:{default:p.transition,type:Number},dir:{type:String,default:p.dir,validator(e,i){if(!Fe.includes(e))return!1;const n=e in le?le[e]:e;return["ttb","btt"].includes(n)&&(!i.height||i.height==="auto")&&console.warn(`[vue3-carousel warn]: The dir "${e}" is not supported with height "auto".`),!0}},wrapAround:{default:p.wrapAround,type:Boolean}},xt=be({name:"VueCarousel",props:At,emits:["before-init","drag","init","loop","slide-end","slide-registered","slide-start","slide-unregistered","update:modelValue"],setup(e,{slots:i,emit:n,expose:u}){var l;const f=st(n),d=f.getSlides(),v=m(()=>d.length),S=A(null),C=A(null),N=A(0),x=m(()=>Object.assign(Object.assign(Object.assign({},p),vt(e,["breakpoints","modelValue"])),{i18n:Object.assign(Object.assign({},p.i18n),e.i18n)})),a=Se(Object.assign({},x.value)),g=A((l=e.modelValue)!==null&&l!==void 0?l:0),h=A(g.value);ie(g,t=>h.value=t);const I=A(0),ze=m(()=>Math.ceil((v.value-1)/2)),V=m(()=>v.value-1),F=m(()=>0);let j=null,re=null,$=null;const K=m(()=>N.value+a.gap),X=m(()=>{const t=a.dir||"ltr";return t in le?le[t]:t}),P=m(()=>["rtl","btt"].includes(X.value)),M=m(()=>["ttb","btt"].includes(X.value)),R=m(()=>a.itemsToShow==="auto"),b=m(()=>M.value?"height":"width");function Y(){var t;if(!Q.value)return;const o=(x.value.breakpointMode==="carousel"?(t=S.value)===null||t===void 0?void 0:t.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,r=Object.keys(e.breakpoints||{}).map(c=>Number(c)).sort((c,w)=>+w-+c),s={};r.some(c=>o>=c?(Object.assign(s,e.breakpoints[c]),s.i18n&&Object.assign(s.i18n,x.value.i18n,e.breakpoints[c].i18n),!0):!1),Object.assign(a,x.value,s)}const Ue=pe(()=>{Y(),J(),D()}),q=Se(new Set),y=A([]);function $e({widthMultiplier:t,heightMultiplier:o}){y.value=d.map(r=>{var s;const c=(s=r.exposed)===null||s===void 0?void 0:s.getBoundingRect();return{width:c.width*t,height:c.height*o}})}const G=A({width:0,height:0});function Xe({widthMultiplier:t,heightMultiplier:o}){var r;const s=((r=C.value)===null||r===void 0?void 0:r.getBoundingClientRect())||{width:0,height:0};G.value={width:s.width*t,height:s.height*o}}function D(){if(!C.value)return;const t=mt(q);if(Xe(t),$e(t),R.value)N.value=dt(y.value.map(o=>o[b.value]));else{const o=Number(a.itemsToShow),r=(o-1)*a.gap;N.value=(G.value[b.value]-r)/o}}function J(){!a.wrapAround&&v.value>0&&(g.value=O({val:g.value,max:V.value,min:F.value})),R.value||(a.itemsToShow=O({val:Number(a.itemsToShow),max:v.value,min:1}))}const ue=m(()=>typeof e.ignoreAnimations=="string"?e.ignoreAnimations.split(","):Array.isArray(e.ignoreAnimations)?e.ignoreAnimations:e.ignoreAnimations?!1:[]);me(()=>J()),me(()=>{D()});let z;const we=t=>{const o=t.target;if(!(!(o!=null&&o.contains(S.value))||Array.isArray(ue.value)&&ue.value.includes(t.animationName))&&(q.add(o),!z)){const r=()=>{z=requestAnimationFrame(()=>{D(),r()})};r()}},Ae=t=>{const o=t.target;o&&q.delete(o),z&&q.size===0&&(cancelAnimationFrame(z),D())},Q=A(!1);typeof document<"u"&&me(()=>{Q.value&&ue.value!==!1?(document.addEventListener("animationstart",we),document.addEventListener("animationend",Ae)):(document.removeEventListener("animationstart",we),document.removeEventListener("animationend",Ae))}),ke(()=>{Q.value=!0,Y(),Ce(),S.value&&($=new ResizeObserver(Ue),$.observe(S.value)),n("init")}),nt(()=>{Q.value=!1,f.cleanup(),re&&clearTimeout(re),z&&cancelAnimationFrame(z),j&&clearInterval(j),$&&($.disconnect(),$=null),typeof document<"u"&&xe(),S.value&&(S.value.removeEventListener("transitionend",D),S.value.removeEventListener("animationiteration",D))});let k=!1;const Z={x:0,y:0},_=he({x:0,y:0}),ee=A(!1),se=A(!1),Ye=()=>{ee.value=!0},Ge=()=>{ee.value=!1},ye=pe(t=>{if(!t.ctrlKey)switch(t.key){case"ArrowLeft":case"ArrowUp":M.value===t.key.endsWith("Up")&&(P.value?H(!0):te(!0));break;case"ArrowRight":case"ArrowDown":M.value===t.key.endsWith("Down")&&(P.value?te(!0):H(!0));break}},200),He=()=>{document.addEventListener("keydown",ye)},xe=()=>{document.removeEventListener("keydown",ye)};function Te(t){const o=t.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(o)||L.value||(k=t.type==="touchstart",!k&&(t.preventDefault(),t.button!==0)))return;Z.x="touches"in t?t.touches[0].clientX:t.clientX,Z.y="touches"in t?t.touches[0].clientY:t.clientY;const r=k?"touchmove":"mousemove",s=k?"touchend":"mouseup";document.addEventListener(r,de,{passive:!1}),document.addEventListener(s,Ee,{passive:!0})}const de=pe(t=>{se.value=!0;const o="touches"in t?t.touches[0].clientX:t.clientX,r="touches"in t?t.touches[0].clientY:t.clientY;_.x=o-Z.x,_.y=r-Z.y;const s=ft({isVertical:M.value,isReversed:P.value,dragged:_,effectiveSlideSize:K.value});h.value=a.wrapAround?g.value+s:O({val:g.value+s,max:V.value,min:F.value}),n("drag",{deltaX:_.x,deltaY:_.y})});function Ee(){if(de.cancel(),h.value!==g.value&&!k){const r=s=>{s.preventDefault(),window.removeEventListener("click",r)};window.addEventListener("click",r)}U(h.value),_.x=0,_.y=0,se.value=!1;const t=k?"touchmove":"mousemove",o=k?"touchend":"mouseup";document.removeEventListener(t,de),document.removeEventListener(o,Ee)}function Ce(){!a.autoplay||a.autoplay<=0||(j=setInterval(()=>{a.pauseAutoplayOnHover&&ee.value||H()},a.autoplay))}function Ne(){j&&(clearInterval(j),j=null)}function ce(){Ne(),Ce()}const L=A(!1);function U(t,o=!1){if(!o&&L.value)return;let r=t,s=t;I.value=g.value,a.wrapAround?s=bt({val:r,max:V.value,min:F.value}):r=O({val:r,max:V.value,min:F.value}),n("slide-start",{slidingToIndex:t,currentSlideIndex:g.value,prevSlideIndex:I.value,slidesCount:v.value}),Ne(),L.value=!0,g.value=r,s!==r&&Ie.pause(),n("update:modelValue",s),re=setTimeout(()=>{a.wrapAround&&s!==r&&(Ie.resume(),g.value=s,n("loop",{currentSlideIndex:g.value,slidingToIndex:t})),n("slide-end",{currentSlideIndex:g.value,prevSlideIndex:I.value,slidesCount:v.value}),L.value=!1,ce()},a.transition)}function H(t=!1){U(g.value+a.itemsToScroll,t)}function te(t=!1){U(g.value-a.itemsToScroll,t)}function We(){Y(),J(),D(),ce()}ie(()=>[x.value,e.breakpoints],()=>Y(),{deep:!0}),ie(()=>e.autoplay,()=>ce());const Ie=ie(()=>e.modelValue,t=>{t!==g.value&&U(Number(t),!0)});n("before-init");const W=m(()=>{if(!a.wrapAround)return{before:0,after:0};if(R.value)return{before:d.length,after:d.length};const t=Number(a.itemsToShow),o=Math.ceil(t+(a.itemsToScroll-1)),r=o-h.value,s=o-(v.value-(h.value+1));return{before:Math.max(0,r),after:Math.max(0,s)}}),ve=m(()=>W.value.before?R.value?y.value.slice(-1*W.value.before).reduce((t,o)=>t+o[b.value]+a.gap,0)*-1:W.value.before*K.value*-1:0),fe=m(()=>{var t;if(R.value){const o=(g.value%d.length+d.length)%d.length;return Re({slideSize:(t=y.value[o])===null||t===void 0?void 0:t[b.value],viewportSize:G.value[b.value],align:a.snapAlign})}return Re({align:a.snapAlign,itemsToShow:+a.itemsToShow})}),ne=m(()=>{let t=0;if(R.value){if(g.value<0?t=y.value.slice(g.value).reduce((o,r)=>o+r[b.value]+a.gap,0)*-1:t=y.value.slice(0,g.value).reduce((o,r)=>o+r[b.value]+a.gap,0),t-=fe.value,!a.wrapAround){const o=y.value.reduce((r,s)=>r+s[b.value]+a.gap,0)-G.value[b.value]-a.gap;t=O({val:t,max:o,min:0})}}else{let o=g.value-fe.value;a.wrapAround||(o=O({val:o,max:v.value-+a.itemsToShow,min:0})),t=o*K.value}return t*(P.value?1:-1)}),Ke=m(()=>{var t,o;if(!R.value){const c=g.value-fe.value;return a.wrapAround?{min:Math.floor(c),max:Math.ceil(c+Number(a.itemsToShow)-1)}:{min:Math.floor(O({val:c,max:v.value-Number(a.itemsToShow),min:0})),max:Math.ceil(O({val:c+Number(a.itemsToShow)-1,max:v.value-1,min:0}))}}let r=0;{let c=0,w=0-W.value.before;const T=Math.abs(ne.value+ve.value);for(;c<=T;){const E=(w%d.length+d.length)%d.length;c+=((t=y.value[E])===null||t===void 0?void 0:t[b.value])+a.gap,w++}r=w-1}let s=0;{let c=r,w=0;for(c<0?w=y.value.slice(0,c).reduce((T,E)=>T+E[b.value]+a.gap,0)-Math.abs(ne.value+ve.value):w=y.value.slice(0,c).reduce((T,E)=>T+E[b.value]+a.gap,0)-Math.abs(ne.value);w<G.value[b.value];){const T=(c%d.length+d.length)%d.length;w+=((o=y.value[T])===null||o===void 0?void 0:o[b.value])+a.gap,c++}s=c-1}return{min:Math.floor(r),max:Math.ceil(s)}}),qe=m(()=>{if(a.slideEffect==="fade")return;const t=M.value?"Y":"X",o=M.value?_.y:_.x;let r=ne.value+o;if(!a.wrapAround&&a.preventExcessiveDragging){let s=0;R.value?s=y.value.reduce((T,E)=>T+E[b.value],0):s=(v.value-Number(a.itemsToShow))*K.value;const c=P.value?0:-1*s,w=P.value?s:0;r=O({val:r,min:c,max:w})}return`translate${t}(${r}px)`}),Je=m(()=>({"--vc-transition-duration":L.value?ae(a.transition,"ms"):void 0,"--vc-slide-gap":ae(a.gap),"--vc-carousel-height":ae(a.height),"--vc-cloned-offset":ae(ve.value)})),_e={slideTo:U,next:H,prev:te},Qe=he({activeSlide:h,config:a,currentSlide:g,isSliding:L,isVertical:M,maxSlide:V,minSlide:F,nav:_e,normalizedDir:X,slideRegistry:f,slideSize:N,slides:d,slidesCount:v,viewport:C,visibleRange:Ke});Be(oe,Qe);const ge=he({config:a,currentSlide:g,maxSlide:V,middleSlide:ze,minSlide:F,slideSize:N,slidesCount:v});return u({data:ge,nav:_e,next:H,prev:te,restartCarousel:We,slideTo:U,updateBreakpointsConfig:Y,updateSlideSize:D,updateSlidesData:J}),()=>{var t;const o=i.default||i.slides,r=(o==null?void 0:o(ge))||[],{before:s,after:c}=W.value,w=Oe({slides:d,position:"before",toShow:s}),T=Oe({slides:d,position:"after",toShow:c}),E=[...w,...r,...T];if(!a.enabled||!E.length)return B("section",{ref:S,class:["carousel","is-disabled"]},E);const Ze=((t=i.addons)===null||t===void 0?void 0:t.call(i,ge))||[],et=B("ol",{class:"carousel__track",style:{transform:qe.value},onMousedownCapture:a.mouseDrag?Te:null,onTouchstartPassiveCapture:a.touchDrag?Te:null},E),tt=B("div",{class:"carousel__viewport",ref:C},et);return B("section",{ref:S,class:["carousel",`is-${X.value}`,`is-effect-${a.slideEffect}`,{"is-vertical":M.value,"is-sliding":L.value,"is-dragging":se.value,"is-hover":ee.value}],dir:X.value,style:Je.value,"aria-label":a.i18n.ariaGallery,tabindex:"0",onFocus:He,onBlur:xe,onMouseenter:Ye,onMouseleave:Ge},[tt,Ze,B(wt)])}}});var De;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(De||(De={}));const Tt=be({name:"CarouselSlide",props:{id:{type:String,default:e=>e.isClone?void 0:at()},index:{type:Number,default:void 0},isClone:{type:Boolean,default:!1},position:{type:String,default:void 0}},setup(e,{attrs:i,slots:n,expose:u}){const l=Le(oe);if(Be(oe,void 0),!l)return()=>"";const f=A(e.index),d=h=>{f.value=h},v=lt(),S=()=>{const h=v.vnode.el;return h?h.getBoundingClientRect():{width:0,height:0}};u({id:e.id,setIndex:d,getBoundingRect:S});const C=m(()=>f.value===l.activeSlide),N=m(()=>f.value===l.activeSlide-1),x=m(()=>f.value===l.activeSlide+1),a=m(()=>f.value>=l.visibleRange.min&&f.value<=l.visibleRange.max),g=m(()=>{if(l.config.itemsToShow==="auto")return;const h=l.config.itemsToShow,I=l.config.gap>0&&h>1?`calc(${100/h}% - ${l.config.gap*(h-1)/h}px)`:`${100/h}%`;return l.isVertical?{height:I}:{width:I}});return l.slideRegistry.registerSlide(v,e.index),ot(()=>{l.slideRegistry.unregisterSlide(v)}),e.isClone&&(ke(()=>{Me(v.vnode)}),rt(()=>{Me(v.vnode)})),()=>{var h,I;return l.config.enabled?B("li",{style:[i.style,Object.assign({},g.value)],class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":a.value,"carousel__slide--active":C.value,"carousel__slide--prev":N.value,"carousel__slide--next":x.value,"carousel__slide--sliding":l.isSliding},onFocusin:()=>{l.viewport&&(l.viewport.scrollLeft=0),l.nav.slideTo(f.value)},id:e.isClone?void 0:e.id,"aria-hidden":e.isClone||void 0},(I=n.default)===null||I===void 0?void 0:I.call(n,{currentIndex:f.value,isActive:C.value,isClone:e.isClone,isPrev:N.value,isNext:x.value,isSliding:l.isSliding,isVisible:a.value})):(h=n.default)===null||h===void 0?void 0:h.call(n)}}});export{xt as C,Tt as S};
Back