PageSourceSearch

https://www.onefleshministries.org/_next/static/chunks/15010.c412a7993ce95cd7.js

js onefleshministries.org collected 2026-10-04 06:44:04 UTC 9,968 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15010],{14590:(e,t,n)=>{n.d(t,{vC:()=>i,BD:()=>l}),n(6029);let i=n(55729).createContext({isDev:!1}),r=new Set(["cv6gy7rqtyrz","cuppunimb5m7","p44z3dc31tp5","k0mvhzka68xa","sihgtkx9we4c","ex2sskbw7v8e","cnky3v3ua41m","qk9ztwmaml3x"]),a=/ngrok|localhost|antonioclarke|bizwise\.dev|stage-app\.bizwise\.com/;function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new URLSearchParams(window.location.search).get("dev"),n=!1;return a.test(window.location.host)||r.has(e)||"true"===localStorage.getItem("showHiddenFeatures")?n=!0:t&&(n=!0),n}},15010:(e,t,n)=>{n.r(t),n.d(t,{default:()=>h});var i=n(6029),r=n(55729),a=n(76592),l=n(14590);let s={linear:a.GS.Linear.None,ease:a.GS.Quadratic.InOut,"ease-in":a.GS.Quadratic.In,"ease-out":a.GS.Quadratic.Out,cubic:a.GS.Cubic.InOut,"cubic-in":a.GS.Cubic.In,"cubic-out":a.GS.Cubic.Out},o={direction:"horizontal",dynamicHeight:!1,duration:5e3,transitionDuration:1e3,defaultIndex:0,infinite:!0,autoplay:!0,indicators:!1,arrows:!0,pauseOnHover:!0,renderTrailingSlides:!0,easing:"linear",canSwipe:!0,cssClass:"",responsive:[],gap:0},c=globalThis.ResizeObserver,u=r.useLayoutEffect,d=e=>e?{inert:""}:{},h=r.forwardRef((e,t)=>{let n,h,p={...o,...e},[f,m]=(0,r.useState)(((e,t)=>t&&t<r.Children.count(e)?t:0)(p.children,p.defaultIndex)),v=(0,l.BD)();if(v&&"vertical"===p.direction&&p.slidesToShow&&p.slidesToShow>1)throw Error("Vertical slider with > 1 slidesToShow isn't implemented yet");if(v&&"vertical"===p.direction&&p.canSwipe)throw Error("Swipping not supported for vertical sliders since the page needs to be scrollable");if(v&&"horizontal"===p.direction&&p.dynamicHeight)throw Error("Dynamic height for horizontal currently not fully implemented");let[y,g]=(0,r.useState)(0),[w,x]=(0,r.useState)(0),S=(0,r.useRef)(null),b=(0,r.useRef)(null),T=(0,r.useRef)(new a.YJ),E="horizontal"===p.direction,C=(0,r.useMemo)(()=>((e,t)=>{if(Array.isArray(t))return t.find(t=>t.breakpoint<=e)})(y,p.responsive),[y,p.responsive]),k=(0,r.useMemo)(()=>C&&E?C.settings.slidesToScroll:p.slidesToScroll||1,[C,p.slidesToScroll,E]),M=(0,r.useMemo)(()=>C&&E?C.settings.slidesToShow:p.slidesToShow||1,[C,p.slidesToShow,E]),$=8*(p.gap||0),N=(0,r.useMemo)(()=>r.Children.count(p.children),[p.children]),j=(0,r.useMemo)(()=>Math.ceil((y-$*(M-1))/M)+$,[y,M,$,E]),I=(p.dynamicHeight||!E)&&b.current?Array.from(b.current.children).map(e=>Math.ceil(parseFloat(window.getComputedStyle(e.children[0]).height))):[],z=p.dynamicHeight?I:I.map(()=>Math.max(...I)),H=(0,r.useRef)(),A=(0,r.useRef)(),R=!1,O=0,G=E?"X":"Y",D=E?{paddingRight:$,width:`${100/M}%`,flexShrink:0}:{paddingBottom:$,display:"flex",alignItems:"center",justifyContent:"center"},B=(0,r.useCallback)(()=>{if(b.current){if(E){if(y>0){let e=Math.ceil((y+$)*b.current.children.length);b.current.style.width=`${e}px`;for(let e=0;e<b.current.children.length;e++){let t=b.current.children[e];t&&(t.style.width=`${j}px`,t.style.display="block",t.style.opacity="1",t.style.height=void 0)}}}else{b.current.style.width="100%";for(let e=0;e<b.current.children.length;e++){let t=b.current.children[e];t&&(t.style.display="flex",t.style.width="100%",t.style.opacity=e===f+en()?"1":"0",t.style.height=`${z[e]+$}px`)}}if(p.dynamicHeight||!E){let e=z[f+en()];b.current.style.height=`${e}px`,x(e)}else b.current.style.height=void 0}},[y,j,$,f,p.dynamicHeight,E]),X=(0,r.useCallback)(()=>{S.current&&(A.current=new c(e=>{e&&K()}),A.current.observe(S.current))},[S]),Y=(0,r.useCallback)(()=>{let{autoplay:e,infinite:t,duration:n}=p;e&&(t||f<N-1)&&(H.current=setTimeout(Q,n))},[p,N,f]);u(()=>{B()},[y,B,N,E]),(0,r.useEffect)(()=>(X(),()=>{T.current.removeAll(),null!=H.current&&clearTimeout(H.current),L()}),[S,X,T]),(0,r.useEffect)(()=>{null!=H.current&&clearTimeout(H.current),Y()},[f,y,p.autoplay,Y]);let F=()=>({goNext:()=>{Q()},goBack:()=>{U()},goTo:(e,t)=>{t?.skipTransition?m(e):et(e)}});(0,r.useImperativeHandle)(t,F),(0,r.useImperativeHandle)(p.manualRef,F);let L=()=>{A&&S.current&&A.current.unobserve(S.current)},_=()=>{p.pauseOnHover&&null!=H.current&&clearTimeout(H.current)},q=e=>{if(p.canSwipe&&R){let t;if(window.TouchEvent&&e.nativeEvent instanceof TouchEvent?t=E?e.nativeEvent.touches[0].pageX:e.nativeEvent.touches[0].pageY:e.nativeEvent instanceof MouseEvent&&(t=E?e.nativeEvent.clientX:e.nativeEvent.clientY),t&&n){let e=E?er(f):ei(f),i=t-n;if(!p.infinite&&f===N-k&&i<0||!p.infinite&&0===f&&i>0)return;e-=O=i,b.current&&(b.current.style.transform=`translate${G}(-${e}px)`)}}},Q=()=>{(p.infinite||f!==N-k&&!(f>=N-M))&&ee(P(f+k))},U=()=>
1{if(!p.infinite&&0===f)return;let e=f-k;e%k&&(e=Math.ceil(e/k)*k),ee(e)},P=(0,r.useCallback)(e=>e<N&&e+k>N&&(N-k)%k?N-k:e,[N,k]),J=e=>{let{currentTarget:{dataset:t}}=e;"next"===t.type?Q():U()},K=()=>{S.current&&g(S.current.clientWidth)},V=e=>{p.canSwipe&&(window.TouchEvent&&e.nativeEvent instanceof TouchEvent?n=E?e.nativeEvent.touches[0].pageX:e.nativeEvent.touches[0].pageY:e.nativeEvent instanceof MouseEvent&&(n=E?e.nativeEvent.clientX:e.nativeEvent.clientY),null!=H.current&&clearTimeout(H.current),R=!0)},W=()=>{p.canSwipe&&(R=!1,Math.abs(O)/(E?y:w)>.2?O<0?Q():U():Math.abs(O)>0&&ee(f,300))},Z=()=>{requestAnimationFrame(Z),T.current.update()},ee=(0,r.useCallback)((e,t)=>{let n=t||p.transitionDuration,i=T.current.getAll();if(S.current&&!i.length){null!=H.current&&clearTimeout(H.current);let t=E?-er(f)+O+ea:-ei(f)+O,i=E?-er(e)+ea:-ei(e),r=new a.K({margin:t},T.current).to({margin:i},n).onUpdate(e=>{b.current&&(b.current.style.transform=`translate${G}(${e.margin}px)`)});r.easing((e=>e?s[e]:s.linear)(p.easing)),Z();let l=e;if(l<0?l=N-k:l>=N&&(l=0),r.onStart(()=>{"function"==typeof p.onStartChange&&p.onStartChange(f,l)}),r.onComplete(()=>{O=0,"function"==typeof p.onChange&&p.onChange(f,l),m(l)}),r.start(),b.current){let t=en(),i=b.current.children[f+t],r=b.current.children[e+t];if(p.dynamicHeight||!E){let n=z[e+t];b.current.style.height=`${n}px`,x(n),r.style.display="flex"}else b.current.style.height=void 0;if(p.transitionFade){let a=n||200;i.style.transition=`opacity ${a/2}ms ease-in`,r.style.transition=`opacity ${a}ms ease-in`,i.style.opacity="0",r.style.opacity="1",l!==e&&(b.current.children[l+t].style.opacity="1")}}}},[S,b,T,f,M,$,O,j,p,N,E]),et=(0,r.useCallback)(e=>{ee(P(e))},[P,ee]);(0,r.useEffect)(()=>{void 0!==p.currentIndex&&p.currentIndex!==f&&et(p.currentIndex)},[p.currentIndex,f,et]);let en=()=>p.infinite?M:0,ei=e=>z.slice(0,e+en()).reduce((e,t)=>e+t+$,0),er=e=>(e+en())*j,ea=(0,r.useMemo)(()=>{let e;return e=!!p.infinite,e?M%1*j:0},[p.infinite,M,j]);h=E?-er(f)+ea:-ei(f);let el={transform:(T.current.getAll().length>0?b.current?.style.transform:"")||`translate${G}(${h}px)`,transition:"height 400ms ease-in"};return(0,i.jsxs)("div",{dir:"ltr","aria-roledescription":"carousel",className:"react-slideshow",children:[(0,i.jsxs)("div",{className:"react-slideshow-container",onMouseEnter:_,onMouseOver:_,onMouseLeave:()=>{R?W():p.pauseOnHover&&p.autoplay&&(H.current=setTimeout(Q,p.duration))},onMouseDown:V,onMouseUp:W,onMouseMove:q,onTouchStart:V,onTouchEnd:W,onTouchCancel:W,onTouchMove:q,children:[p.arrows&&((e,t,n)=>{let{prevArrow:a,infinite:l}=e,s=t<=0&&!l,o={"data-type":"prev","aria-label":"Previous Slide",disabled:s,onClick:n};if(a)return r.cloneElement(a,{className:`${a.props.className||""} nav ${s?"disabled":""}`,...o});let c=`nav default-nav ${s?"disabled":""}`;return(0,i.jsx)("button",{type:"button",className:c,...o,children:(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",style:{transform:"translateX(-2px)"},children:(0,i.jsx)("path",{d:"M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z"})})})})(p,f,J),(0,i.jsx)("div",{className:`react-slideshow-wrapper slide ${p.cssClass||""}`,ref:S,children:(0,i.jsxs)("div",{className:"images-wrap",style:el,ref:b,children:[p.infinite&&r.Children.toArray(p.children).slice(-M).map((e,t)=>(0,r.createElement)("div",{"data-index":t-M,"aria-roledescription":"slide","aria-hidden":"true",...d(!0),style:D,key:t-M},e)),(r.Children.map(p.children,e=>e)||[]).map((e,t)=>{let n=(e=>e<f+M&&e>=f)(t);return(0,i.jsx)("div",{"data-index":t,className:n?"active":"","aria-roledescription":"slide","aria-hidden":n?"false":"true",...d(!n),style:D,children:e},t)}),p.renderTrailingSlides&&(()=>{if(p.infinite||!(f>=N-M))return r.Children.toArray(p.children).slice(0,M).map((e,t)=>(0,r.createElement)("div",{"data-index":N+t,"aria-roledescription":"slide","aria-hidden":"true",...d(!0),style:D,key:N+t},e))})()]})}),p.arrows&&((e,t,n)=>{let{nextArrow:a,infinite:l,children:s,slidesToShow:o=1}=e,c=t>=r.Children.count(s)-o&&!l,u={"data-type":"next","aria-label":"Next Slide",disabled:c,onClick:n};if(a)return r.cloneElement(a,{className:`${a.props.className||""} nav ${c?"disabled":""}`,...u});let d=`nav default-nav ${c?"disabled":""}`;return(0,i.jsx)("button",{type:"button",className:d,...u,children:(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,i.jsx)("path",{d:"M5 3l3.057-3 11.943 12-11.943 12-3.057-3 9-9z"})})})})(p,f,J)]}),p.indicators&&((e,t,n,a)=>{let{children:l,indicators:s}=e,o=1,c=1;a?(o=a?.settings.slidesToScroll,c=a?.settings.slidesToShow||1):("slidesToScroll"in e&&(o=e.slidesToScroll||1),"slidesToShow"in e&&(c=e.slidesToShow||1));let u=r.Children.count(l),d=e.infinite||c<=1?Math.ceil(u/o):Math.max(1,Math.ceil((u-c)/o)+1);return(0,i.jsx)("ul",{className:"indicators",children:Array.from({length:d},(e,a)=>{let l={"data-key":a,"aria-label":`Go to slide ${a+1}`,onClick:n},c=Math.floor((t+o-1)/o)===a;return"function"==typeof s?((e,t,n,i)=>r.cloneElement(i,{className:`${i.props.className} ${e?"active":""}`,key:t,...n}))(c,a,l,s(a,c)):(0,i.jsx)("li",{children:(0,i.jsx)("button",{type:"button",className:`each-slideshow-indicator ${c?"active":""}`,...l})},a)})})})(p,f,e=>{let{currentTarget:t}=e;if(!t.dataset.key)return;let n=parseInt(t.dataset.key,10);et(p.infinite?n*k:Math.min(n*k,Math.max(0,N-M)))},C)]})})}}]);

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.