PageSourceSearch

https://ffern.co/_next/static/immutable/chunks/01bdhzapaopbq.js

js ffern.co collected 2026-10-02 05:57:31 UTC 10,777 bytes, 8 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,532021,e=>{"use strict";var t=e.i(565802),n=e.i(513160),r=e.i(191788),a=e.i(316753),i=e.i(929455),l=e.i(156728);let s=[25,50,75,100];e.s(["useVideoTracking",0,function(e,{playbackId:o,videoTitle:d,component:c}){let{uuid:u}=(0,r.useContext)(i.TrackingContext),f=(0,r.useRef)(new Set),p=(0,r.useRef)(o);(0,r.useEffect)(()=>{p.current!==o&&(f.current.clear(),p.current=o)},[o]),(0,r.useEffect)(()=>{let r=e.current;if(!r||!o)return;let i=l.FfernAnalytics.getAnonId(),p=l.FfernAnalytics.getSessionId(),m=()=>{let{currentTime:e,duration:l}=r;if(!l||0===l)return;let m=e/l*100;for(let r of s)m>=r&&!f.current.has(r)&&(f.current.add(r),function(e,r,i,l){fetch("/api/ffern/analytics/video-watch",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"video.watched",meta:{occurred_at:new Date().toISOString()},identity:{user_uuid:l.userUuid,anonymous_id:l.anonId,chargebee_customer_id:null},client:{session_id:l.sessionId??null,user_agent:"u">typeof navigator?navigator?.userAgent??null:null,locale:Intl.DateTimeFormat().resolvedOptions().locale??null,tz:Intl.DateTimeFormat().resolvedOptions().timeZone??null,page_full_url:(0,t.getScrubbedPageUrl)(),referrer:(0,n.getReferrer)(),viewport_width:window?.innerWidth??null,viewport_height:window?.innerHeight??null},actor:{anonymous_id:l.anonId,user_uuid:l.userUuid},context:{locale:Intl.DateTimeFormat().resolvedOptions().locale??null,tz:Intl.DateTimeFormat().resolvedOptions().timeZone??null,user_agent:"u">typeof navigator?navigator?.userAgent??null:null},data:{playback_id:l.playbackId,video_title:l.videoTitle,milestone:e,duration_seconds:Math.round(i),watched_seconds:Math.round(r),component:l.component,page_pathname:window.location.pathname,page_full_url:(0,t.getScrubbedPageUrl)()??"",session_id:l.sessionId??null}}),keepalive:!0}).catch(t=>{a.logger.error("[analytics] Error sending video watch event",{extra:{playbackId:l.playbackId,milestone:e,errorMessage:t?.message,errorName:t?.name},metrics:{error_code:"video-watch-event-send-failed",domain:"acquisitions:ads"}})})}(r,e,l,{playbackId:o,videoTitle:d,component:c,anonId:i,userUuid:u??null,sessionId:p}))},h=()=>{let{currentTime:e}=r;e<1&&f.current.clear()};return r.addEventListener("timeupdate",m),r.addEventListener("seeked",h),()=>{r.removeEventListener("timeupdate",m),r.removeEventListener("seeked",h)}},[e,o,d,c,u])}])},16057,e=>{"use strict";var t=e.i(391398),n=e.i(191788),r=e.i(564698),a=e.i(7591),i=e.i(717515),l=e.i(346833),s=e.i(929290);e.s(["ImageVideoDrawerModule",0,({image:e,header:o,videoDialog:d,buttonText:c})=>{let[u,f]=(0,n.useState)(!1);return(0,t.jsxs)(s.Block,{title:o??"Our Story",padLess:!0,hemLess:!0,fullWidth:!0,forceTitleCase:!1,children:[(0,t.jsxs)("div",{className:"vhjf hidden overflow-clip bg-white md:grid",children:[(0,t.jsx)(r.default,{style:{gridArea:"1 / 1",zIndex:1},alt:o??"Ffern story",className:"vhjf aspect-video w-full object-cover opacity-100",src:e.src,width:1920,height:1080}),(0,t.jsx)("div",{style:{gridArea:"1 / 1",zIndex:3},className:"flex items-center justify-center",children:(0,t.jsx)(a.WatchButton,{copy:c??"",onClick:()=>f(!0)})})]}),(0,t.jsxs)("div",{className:"vhjf grid aspect-square overflow-clip bg-white md:hidden",children:[(0,t.jsx)(r.default,{style:{gridArea:"1 / 1",zIndex:1},src:e.src,alt:o??"Ffern story",width:1297,height:1080}),(0,t.jsx)("div",{style:{gridArea:"1 / 1",zIndex:3},className:"flex items-center justify-center",children:(0,t.jsx)(a.WatchButton,{copy:c??"",onClick:()=>f(!0)})})]}),(0,t.jsx)(i.DrawerDialog,{onClose:()=>f(!1),hasTitle:!0,isOpen:u,children:(0,t.jsxs)("div",{className:"flex h-full w-screen flex-col justify-between md:w-[unset]",children:[(0,t.jsx)("div",{className:"m-5 flex flex-row items-center justify-between md:m-0 md:mb-5",children:(0,t.jsx)("span",{className:"text-ffern-terracotta-600 text-lg",children:d?.title})}),(0,t.jsx)(l.DrawerDialogVideo,{playbackId:d?.muxVideo?.asset.playbackId??"cAmsa02SkELYkNNcRWyL00i025o027s8t8WZOeJscm292YU",className:"aspect-video",isDialogOpen:u}),(0,t.jsx)("span",{className:"m-5 text-left md:m-0 md:mt-5",children:d?.description})]})})]})}])},938335,function(e){e.n(e.i(16057))},530628,e=>{"use strict";var t=e.i(191788),n=e.i(287969);e.i(460237);var r=parseInt(t.default.version)>
1=19,a={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"};function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var l=Object.prototype.hasOwnProperty,s=(e,t,n)=>!((e,t)=>{if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&e.some((e,n)=>t[n]===e);let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!l.call(t,n[r])||!Object.is(e[n[r]],t[n[r]]))return!1;return!0})(t,e[n]),o=(e,t,n)=>{e[n]=t},d=(e,n,r,a=o,i=s)=>(0,t.useEffect)(()=>{let t=null==r?void 0:r.current;t&&i(t,n,e)&&a(t,n,e)},[null==r?void 0:r.current,n]),c=(()=>{try{return"3.13.0"}catch{}return"UNKNOWN"})(),u=(e,n,r)=>(0,t.useEffect)(()=>{let t=null==n?void 0:n.current;if(t&&r)return t.addEventListener(e,r),()=>{t.removeEventListener(e,r)}},[null==n?void 0:n.current,r,e]),f=t.default.forwardRef(({children:e,...n},i)=>t.default.createElement("mux-player",{suppressHydrationWarning:!0,...((e={})=>{let{ref:t,...n}=e;return Object.entries(n).reduce((e,[t,n])=>{let i=((e,t)=>{if(!(!r&&"boolean"==typeof t&&!t)){let n,r;if(n=e,null!=(r=a)&&n in r)return a[e];if(void 0!==t)return/[A-Z]/.test(e)?e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`):e}})(t,n);if(!i)return e;let l=r||"boolean"!=typeof n?n:"";return e[i]=l,e},{})})(n),ref:i},e)),p=t.default.forwardRef((e,r)=>{var a;let l=(0,t.useRef)(null),o=function(...e){return t.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}(...e),e)}(l,r),[p]=((e,t)=>{let{onAbort:n,onCanPlay:r,onCanPlayThrough:a,onEmptied:i,onLoadStart:l,onLoadedData:o,onLoadedMetadata:c,onProgress:f,onDurationChange:p,onVolumeChange:m,onRateChange:h,onResize:g,onWaiting:y,onPlay:v,onPlaying:x,onTimeUpdate:w,onPause:b,onSeeking:j,onSeeked:k,onStalled:C,onSuspend:I,onEnded:N,onError:_,onCuePointChange:E,onChapterChange:S,metadata:T,tokens:O,paused:P,playbackId:A,playbackRates:D,currentTime:L,themeProps:R,extraSourceParams:W,castCustomData:z,_hlsConfig:B,...F}=t;return d("tokens",O,e),d("playbackId",A,e),d("playbackRates",D,e),d("metadata",T,e),d("extraSourceParams",W,e),d("_hlsConfig",B,e),d("themeProps",R,e),d("castCustomData",z,e),d("paused",P,e,(e,t)=>{null!=t&&(t?e.pause():e.play())},(e,t,n)=>(!e.hasAttribute("autoplay")||!!e.hasPlayed)&&s(e,t,n)),d("currentTime",L,e,(e,t)=>{null!=t&&(e.currentTime=t)}),u("abort",e,n),u("canplay",e,r),u("canplaythrough",e,a),u("emptied",e,i),u("loadstart",e,l),u("loadeddata",e,o),u("loadedmetadata",e,c),u("progress",e,f),u("durationchange",e,p),u("volumechange",e,m),u("ratechange",e,h),u("resize",e,g),u("waiting",e,y),u("play",e,v),u("playing",e,x),u("timeupdate",e,w),u("pause",e,b),u("seeking",e,j),u("seeked",e,k),u("stalled",e,C),u("suspend",e,I),u("ended",e,N),u("error",e,_),u("cuepointchange",e,E),u("chapterchange",e,S),[F]})(l,e),[m]=(0,t.useState)(null!=(a=e.playerInitTime)?a:(0,n.generatePlayerInitTime)());return t.default.createElement(f,{ref:o,defaultHiddenCaptions:e.defaultHiddenCaptions,playerSoftwareName:"mux-player-react",playerSoftwareVersion:c,playerInitTime:m,...p})});e.s(["default",0,p])},7591,717515,346833,e=>{"use strict";var t=e.i(391398),n=e.i(41158);e.s(["WatchButton",0,({href:e,copy:r,onClick:a})=>{let i="bg-[#fcfbf8cc] py-[3px] px-[7px] text-ffern-ash-900 uppercase";return e?(0,t.jsx)(n.default,{onClick:a,className:i,href:e,children:r??"Watch"}):(0,t.jsx)("button",{type:"button",onClick:a,className:i,children:r??"Watch"})}],7591);var r=e.i(191788),a=e.i(723411);e.i(843964);var i=e.i(395435),l=e.i(766383),s=e.i(506261),o=e.i(508169);e.s(["DrawerDialog",0,({children:e,hasTitle:n,isOpen:d,onClose:c})=>{let[u,f]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>{f(window.innerWidth>=768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,t.jsxs)(o.ReactPortal,{children:[d&&(0,t.jsx)("div",{className:"absolute top-0 right-0 bottom-0 left-0 cursor-pointer",children:(0,t.jsx)(s.ModalBlackout,{overrideShow:d,onClickBlackout:c,transitionLength:.3})}),(0,t.jsx)("div",{onClick:c,className:"fixed top-0 right-0 bottom-0 left-0 z-9999 flex h-full w-full cursor-pointer flex-col-reverse overflow-clip md:flex md:items-center md:justify-center",style:{pointerEvents:d?"auto":"none"},children:(0,t.jsx)("div",{onClick:e=>e.stopPropagation(),className:"absolute bottom-0 w-full cursor-auto md:static md:w-auto",children:(0,t.jsx)(l.FadeInOutContainer,{duration:250,skipAnimation:!u,isVisible:d,children:(0,t.jsx)(i.ExpandContainer,{skipAnimation:u,containerStyles:{display:"flex",alignContent:"center",justifyContent:"center"},isExpanded:d,children:(0,t.jsxs)("div",{style:{overflowY:"auto"},className:"bg-ffern-sand-50 flex max-h-[85vh] min-h-[75vh] w-full flex-col rounded-t-[5px] md:relative md:min-h-[unset] md:w-[500px] md:rounded-[10px] md:p-15",children:[(0,t.jsx)("div",{className:"absolute top-0 right-0",children:(0,t.jsx)(a.CloseButton,{onClickClose:c})}),(0,t.jsx)("div",{className:`${!n?"pt-[30px] md:pt-0":""} pb-5 md:pb-0`,children:e})]})})})})})]})}],717515);var d=e.i(530628),c=e.i(50961),u=e.i(532021);e.s(["DrawerDialogVideo",0,({isDialogOpen:e,aspectRatio:n="1573 / 1080",...a})=>{let i=r.useRef(null),[l,s]=r.useState(!1);(0,u.useVideoTracking)(i,{playbackId:a.playbackId??void 0,videoTitle:null,component:"drawer_dialog_video"}),r.useEffect(()=>{let e=()=>{s(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let o=`
2    mux-player {
3      line-height: 0;
4      --controls: unset;
5      --seek-backward-button: none;
6      --seek-forward-button: none;
7    }
8  `;return(0,t.jsxs)("div",{children:[(0,t.jsx)("style",{children:o}),(0,t.jsx)("div",{style:{overflow:"clip",lineHeight:0},children:l?(0,t.jsx)(d.default,{ref:i,className:"bg-ffern-sand-100",autoPlay:e,muted:!e,"accent-color":c.colors["ffern-terracotta"][600],style:{lineHeight:0,aspectRatio:n},...a}
8):(0,t.jsx)(d.default,{ref:i,className:"bg-ffern-sand-100","accent-color":c.colors["ffern-terracotta"][600],style:{lineHeight:0,aspectRatio:n},...a})})]})}],346833)}]);

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.