PageSourceSearch

https://www.abcsalles.com/dist/Cnee3RZX.js

js abcsalles.com collected 2026-09-24 18:57:33 UTC 9,539 bytes, 1 lines download raw bytes

1import{o as e,w as a,e as t,s as l,c as n,d as o,B as i,l as r,a as u,G as s,E as v,H as c,T as d,F as m,b as p,n as g}from"./BfDnOnaI.js";import{r as h,a6 as f,B as y,y as w,e as b,z as E,f as S,ae as M,l as k,an as x,j as B,u as C,p as T,m as H,M as V,am as L,aE as W,c as N,aO as Y}from"./BgqashYW.js";import{J as _,I,K as P,bN as O,ar as R,bO as D,q as $,aa as j,L as z,bP as A,M as X,bQ as F,N as q,P as Q,bR as G,Q as J}from"./BMSgpEOY.js";import{u as K}from"./Ddjqagto.js";function U(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function Z(e){if(e.length<2)return 0;if(2===e.length)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let a=0;for(let t=e.length-1;t>0;t--){if(e[t].t===e[t-1].t)continue;const l=U(a),n=(e[t].d-e[t-1].d)/(e[t].t-e[t-1].t);a+=(n-l)*Math.abs(n),t===e.length-1&&(a*=.5)}return 1e3*U(a)}function ee(){throw new Error}const ae=["start","end","left","right","top","bottom"],te=T({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>ae.includes(e)},sticky:Boolean,...J(),...N(),...G(),...W({mobile:null}),...Q(),...L(),...q(),...V(F(),["disableInitialFocus"]),...X({tag:"nav"}),...H()},"VNavigationDrawer"),le=b()({name:"VNavigationDrawer",props:te(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(b,{attrs:T,emit:H,slots:V}){const{isRtl:L}=E(),{themeClasses:W}=S(b),{borderClasses:N}=_(b),{backgroundColorClasses:X,backgroundColorStyles:F}=I(()=>b.color),{elevationClasses:q}=z(b),{displayClasses:Q,mobile:G}
1=M(b),{roundedClasses:J}=P(b),U=O(),ae=k(b,"modelValue",null,e=>!!e),{ssrBootStyles:te}=K(),{scopeId:le}=R(),ne=p(),oe=l(!1),{runOpenDelay:ie,runCloseDelay:re}=A(b,e=>{oe.value=e}),ue=n(()=>b.rail&&b.expandOnHover&&oe.value?Number(b.width):Number(b.rail?b.railWidth:b.width)),se=n(()=>Y(b.location,L.value)),ve=r(()=>b.persistent),ce=n(()=>!b.permanent&&(G.value||b.temporary)),de=n(()=>b.sticky&&!ce.value&&"bottom"!==se.value);D(b,{isActive:ae,localTop:ce,contentEl:ne}),y(()=>b.expandOnHover&&null!=b.rail,()=>{a(oe,e=>H("update:rail",!e))}),y(()=>!b.disableResizeWatcher,()=>{a(ce,e=>!b.permanent&&g(()=>ae.value=!e))}),y(()=>!b.disableRouteWatcher&&!!U,()=>{a(U.currentRoute,()=>ce.value&&(ae.value=!1))}),a(()=>b.permanent,e=>{e&&(ae.value=!0)}),null!=b.modelValue||ce.value||(ae.value=b.permanent||!G.value);const{isDragging:me,dragProgress:pe}=function({el:a,isActive:r,isTemporary:u,width:s,touchless:v,position:c}){e(()=>{window.addEventListener("touchstart",B,{passive:!0}),window.addEventListener("touchmove",C,{passive:!1}),window.addEventListener("touchend",T,{passive:!0})}),t(()=>{window.removeEventListener("touchstart",B),window.removeEventListener("touchmove",C),window.removeEventListener("touchend",T)});const d=n(()=>["left","right"].includes(c.value)),{addMovement:m,endTouch:p,getVelocity:g}=function(){const e={};return{addMovement:function(a){Array.from(a.changedTouches).forEach(t=>{(e[t.identifier]??(e[t.identifier]=new f(20))).push([a.timeStamp,t])})},endTouch:function(a){Array.from(a.changedTouches).forEach(a=>{delete e[a.identifier]})},getVelocity:function(a){const t=e[a]?.values().reverse();if(!t)throw new Error(`No samples for touch id ${a}`);const l=t[0],n=[],o=[];for(const e of t){if(l[0]-e[0]>100)break;n.push({t:e[0],d:e[1].clientX}),o.push({t:e[0],d:e[1].clientY})}return{x:Z(n),y:Z(o),get direction(){const{x:e,y:a}=this,[t,l]=[Math.abs(e),Math.abs(a)];return t>l&&e>=0?"right":t>l&&e<=0?"left":l>t&&a>=0?"down":l>t&&a<=0?"up":function(){throw new Error}()}}}}}();let h=!1;const b=l(!1),E=l(0),S=l(0);let M;function k(e,a){return("left"===c.value?e:"right"===c.value?document.documentElement.clientWidth-e:"top"===c.value?e:"bottom"===c.value?document.documentElement.clientHeight-e:ee())-(a?s.value:0)}function x(e,a=!0){const t="left"===c.value?(e-S.value)/s.value:"right"===c.value?(document.documentElement.clientWidth-e-S.value)/s.value:"top"===c.value?(e-S.value)/s.value:"bottom"===c.value?(document.documentElement.clientHeight-e-S.value)/s.value:ee();return a?w(t):t}function B(e){if(v.value)return;const a=e.changedTouches[0].clientX,t=e.changedTouches[0].clientY,l="left"===c.value?a<25:"right"===c.value?a>document.documentElement.clientWidth-25:"top"===c.value?t<25:"bottom"===c.value?t>document.documentElement.clientHeight-25:ee(),n=r.value&&("left"===c.value?a<s.value:"right"===c.value?a>document.documentElement.clientWidth-s.value:"top"===c.value?t<s.value:"bottom"===c.value?t>document.documentElement.clientHeight-s.value:ee());(l||n||r.value&&u.value)&&(M=[a,t],S.value=k(d.value?a:t,r.value),E.value=x(d.value?a:t),h=S.value>-20&&S.value<80,p(e),m(e))}function C(e){const a=e.changedTouches[0].clientX,t=e.changedTouches[0].clientY;if(h){if(!e.cancelable)return void(h=!1);const l=Math.abs(a-M[0]),n=Math.abs(t-M[1]);(d.value?l>n&&l>3:n>l&&n>3)?(b.value=!0,h=!1):(d.value?n:l)>3&&(h=!1)}if(!b.value)return;e.preventDefault(),m(e);const l=x(d.value?a:t,!1);E.value=Math.max(0,Math.min(1,l)),l>1?S.value=k(d.value?a:t,!0):l<0&&(S.value=k(d.value?a:t,!1))}function T(e){if(h=!1,!b.value)return;m(e),b.value=!1;const a=g(e.changedTouches[0].identifier),t=Math.abs(a.x),l=Math.abs(a.y),n=d.value?t>l&&t>400:l>t&&l>3;r.value=n?a.direction===({left:"right",right:"left",top:"down",bottom:"up"}[c.value]||ee()):E.value>.5}const H=n(()=>b.value?{transform:"left"===c.value?`translateX(calc(-100% + ${E.value*s.value}px))`:"right"===c.value?`translateX(calc(100% - ${E.value*s.value}px))`:"top"===c.value?`translateY(calc(-100% + ${E.value*s.value}px))`:"bottom"===c.value?`translateY(calc(100% - ${E.value*s.value}px))`:ee(),transition:"none"}:void 0);return y(b,()=>{const e=a.value?.style.transform??null,t=a.value?.style.transition??null;o(()=>{a.value?.style.setProperty("transform",H.value?.transform||"none"),a.value?.style.setProperty("transition",H.value?.transition||null)}),i(()=>{a.value?.style.setProperty("transform",e),a.value?.style.setProperty("transition",t)})}),{isDragging:b,dragProgress:E,dragStyles:H}}({el:ne,isActive:ae,isTemporary:ce,width:ue,touchless:r(()=>b.touchless),position:se}),ge=n(()=>{const e=ce.value?0:b.rail&&b.expandOnHover?Number(b.railWidth):ue.value;return me.value?e*pe.value:e}),{layoutItemStyles:he,layoutItemScrimStyles:fe}=x({id:b.name,order:n(()=>parseInt(b.order,10)),position:se,layoutSize:ge,elementSize:ue,active:u(ae),disableTransitions:r(()=>me.value),absolute:n(()=>b.absolute||de.value&&"string"!=typeof ye.value)}),{isStuck:ye,stickyStyles:we}=function({rootEl:o,isSticky:i,layoutItemStyles:r}){const u=l(!1),s=l(0),v=n(()=>{const e="boolean"==typeof u.value?"top":u.value;return[i.value?{top:"auto",bottom:"auto",height:void 0}:void 0,u.value?{[e]:h(s.value)}:{top:r.value.top}]});e(()=>{a(i,e=>{e?window.addEventListener("scroll",d,{passive:!0}):window.removeEventListener("scroll",d)},{immediate:!0})}),t(()=>{window.removeEventListener("scroll",d)});let c=0;function d(){const e=c>window.scrollY?"up":"down",a=o.value.getBoundingClientRect(),t=parseFloat(r.value.top??0),l=window.scrollY-Math.max(0,s.value-t),n=a.height+Math.max(s.value,t)-window.scrollY-window.innerHeight,i=parseFloat(getComputedStyle(o.value).getPropertyValue("--v-body-scroll-y"))||0;a.height<window.innerHeight-t?(u.value="top",s.value=t):"up"===e&&"bottom"===u.value||"down"===e&&"top"===u.value?(s.value=window.scrollY+a.top-i,u.value=!0):"down"===e&&n<=0?(s.value=0,u.value="bottom"):"up"===e&&l<=0&&(i?"top"!==u.value&&(s.value=-l+i+t,u.value="top"):(s.value=a.top+l,u.value="top")),c=window.scrollY}return{isStuck:u,stickyStyles:v}}({rootEl:ne,isSticky:de,layoutItemStyles:he}),be=I(()=>"string"==typeof b.scrim?b.scrim:null),Ee=n(()=>({...me.value?{opacity:.2*pe.value,transition:"none"}:void 0,...fe.value}));return B({VList:{bgColor:"transparent"}}),C(()=>{const e=V.image||b.image;return s(m,null,[v(b.tag,c({ref:ne,onMouseenter:ie,onMouseleave:re,class:["v-navigation-drawer",`v-navigation-drawer--${se.value}`,{"v-navigation-drawer--expand-on-hover":b.expandOnHover,"v-navigation-drawer--floating":b.floating,"v-navigation-drawer--is-hovering":oe.value,"v-navigation-drawer--rail":b.rail,"v-navigation-drawer--temporary":ce.value,"v-navigation-drawer--persistent":ve.value,"v-navigation-drawer--active":ae.value,"v-navigation-drawer--sticky":de.value},W.value,X.value,N.value,Q.value,q.value,J.value,b.class],style:[F.value,he.value,te.value,we.value,b.style],inert:!ae.value},le,T),{default:()=>[e&&s("div",{key:"image",class:"v-navigation-drawer__img"},[V.image?v(j,{key:"image-defaults",disabled:!b.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:b.image}}},V.image):v($,{key:"image-img",alt:"",cover:!0,height:"inherit",src:b.image},null)]),V.prepend&&s("div",{class:"v-navigation-drawer__prepend"},[V.prepend?.()]),s("div",{class:"v-navigation-drawer__content"},[V.default?.()]),V.append&&s("div",{class:"v-navigation-drawer__append"},[V.append?.()])]}),v(d,{name:"fade-transition"},{default:()=>[ce.value&&(me.value||ae.value)&&!!b.scrim&&s("div",c({class:["v-navigation-drawer__scrim",be.backgroundColorClasses.value],style:[Ee.value,be.backgroundColorStyles.value],onClick:()=>{ve.value||(ae.value=!1)}},le),null)]})])}),{isStuck:ye}}});export{le as V};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.