PageSourceSearch

https://gg.givingcompass.org/_nuxt/DeYW9Fiz.js

js givingcompass.org collected 2026-09-24 09:17:21 UTC 3,095 bytes, 1 lines download raw bytes

1import{X as t,ar as e,T as n,F as i,J as o,bB as s}from"./nX7w3--X.js";const l=o({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function r(o,s,r){return t()({name:o,props:l({mode:r,origin:s}),setup(t,s){let{slots:l}=s;const r={onBeforeEnter(e){t.origin&&(e.style.transformOrigin=t.origin)},onLeave(e){if(t.leaveAbsolute){const{offsetTop:t,offsetLeft:n,offsetWidth:i,offsetHeight:o}=e;e._transitionInitialStyles={position:e.style.position,top:e.style.top,left:e.style.left,width:e.style.width,height:e.style.height},e.style.position="absolute",e.style.top=`${t}px`,e.style.left=`${n}px`,e.style.width=`${i}px`,e.style.height=`${o}px`}t.hideOnLeave&&e.style.setProperty("display","none","important")},onAfterLeave(e){if(t.leaveAbsolute&&e?._transitionInitialStyles){const{position:t,top:n,left:i,width:o,height:s}=e._transitionInitialStyles;delete e._transitionInitialStyles,e.style.position=t||"",e.style.top=n||"",e.style.left=i||"",e.style.width=o||"",e.style.height=s||""}}};return()=>{const s=t.group?e:n;return i(s,{name:t.disabled?"":o,css:!t.disabled,...t.group?void 0:{mode:t.mode},...t.disabled?{}:r},l.default)}}})}function a(o,s){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"in-out";return t()({name:o,props:{mode:{type:String,default:l},disabled:Boolean,group:Boolean},setup(t,l){let{slots:r}=l;const a=t.group?e:n;return()=>i(a,{name:t.disabled?"":o,css:!t.disabled,...t.disabled?{}:s},r.default)}})}function d(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const e=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"width":"height",n=s(`offset-${e}`);return{onBeforeEnter(t){t._parent=t.parentNode,t._initialStyle={transition:t.style.transition,overflow:t.style.overflow,[e]:t.style[e]}},onEnter(i){const o=i._initialStyle;if(!o)return;i.style.setProperty("transition","none","important"),i.style.overflow="hidden";const s=`${i[n]}px`;i.style[e]="0",i.offsetHeight,i.style.transition=o.transition,t&&i._parent&&i._parent.classList.add(t),requestAnimationFrame((()=>{i.style[e]=s}))},onAfterEnter:o,onEnterCancelled:o,onLeave(t){t._initialStyle={transition:"",overflow:t.style.overflow,[e]:t.style[e]},t.style.overflow="hidden",t.style[e]=`${t[n]}px`,t.offsetHeight,requestAnimationFrame((()=>t.style[e]="0"))},onAfterLeave:i,onLeaveCancelled:i};function i(e){t&&e._parent&&e._parent.classList.remove(t),o(e)}function o(t){if(!t._initialStyle)return;const n=t._initialStyle[e];t.style.overflow=t._initialStyle.overflow,null!=n&&(t.style[e]=n),delete t._initialStyle}}r("fab-transition","center center","out-in"),r("dialog-bottom-transition"),r("dialog-top-transition");const y=r("fade-transition"),f=r("scale-transition");r("scroll-x-transition"),r("scroll-x-reverse-transition"),r("scroll-y-transition"),r("scroll-y-reverse-transition"),r("slide-x-transition"),r("slide-x-reverse-transition");const p=r("slide-y-transition");r("slide-y-reverse-transition");const c=a("expand-transition",d()),u=a("expand-x-transition",d("",!0));export{c as V,y as a,u as b,p as c,f as d};

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.