1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[457],{91457:(e,t,r)=>{r.r(t),r.d(t,{DotLottieReact:()=>o,DotLottieWorkerReact:()=>i,setWasmUrl:()=>l});var n=r(24526),s=r(14232),a=r(37876);let u=({animationId:e,autoplay:t,backgroundColor:r,className:n,createDotLottie:u,data:c,dotLottieRefCallback:o,layout:f,loop:i,mode:l,playOnHover:d,renderConfig:m,segment:p,speed:h,src:g,stateMachineConfig:E,stateMachineId:y,style:k,themeData:v,themeId:L,useFrameInterpolation:C,workerId:I,...M})=>{let b=(0,s.useRef)(null),w=(0,s.useRef)(null),R=(0,s.useRef)(o),j={speed:h,mode:l,loop:i,useFrameInterpolation:C,segment:p,backgroundColor:r,autoplay:t,themeId:L,workerId:I,src:g,data:c,layout:f,renderConfig:m,animationId:e,stateMachineConfig:E,stateMachineId:y},D=(0,s.useRef)(j);R.current=o,D.current=j;let S=(0,s.useCallback)(e=>{w.current=e,e?b.current=u({...D.current,canvas:e}):(b.current?.destroy(),b.current=null),R.current?.(b.current)},[]);return(0,s.useEffect)(()=>{let e=e=>{d&&("mouseenter"===e.type&&b.current?.play(),"mouseleave"===e.type&&b.current?.pause())};return w.current?.addEventListener("mouseenter",e),w.current?.addEventListener("mouseleave",e),()=>{w.current?.removeEventListener("mouseenter",e),w.current?.removeEventListener("mouseleave",e)}},[d]),(0,s.useEffect)(()=>{b.current?.setSpeed(h??1)},[h]),(0,s.useEffect)(()=>{b.current?.setMode(l??"forward")},[l]),(0,s.useEffect)(()=>{b.current?.setLoop(i??!1)},[i]),(0,s.useEffect)(()=>{b.current?.setUseFrameInterpolation(C??!0)},[C]),(0,s.useEffect)(()=>{"number"==typeof p?.[0]&&"number"==typeof p[1]?b.current?.setSegment(p[0],p[1]):b.current?.resetSegment()},[p]),(0,s.useEffect)(()=>{b.current?.setBackgroundColor(r??"")},[r]),(0,s.useEffect)(()=>{b.current?.setRenderConfig(m??{})},[JSON.stringify(m)]),(0,s.useEffect)(()=>{"string"!=typeof c&&"object"!=typeof c||b.current?.load({data:c,...D.current})},[c]),(0,s.useEffect)(()=>{"string"==typeof g&&b.current?.load({src:g,...D.current})},[g]),(0,s.useEffect)(()=>{b.current?.setMarker(M.marker??"")},[M.marker]),(0,s.useEffect)(()=>{b.current?.isLoaded&&b.current.activeAnimationId!==e&&b.current.loadAnimation(e??"")},[e]),(0,s.useEffect)(()=>{"string"==typeof L&&b.current?.setTheme(L)},[L]),(0,s.useEffect)(()=>{b.current?.setThemeData(v??"")},[v]),(0,s.useEffect)(()=>{b.current?.setLayout(f??{})},[f?.fit,f?.align?.[0],f?.align?.[1]]),(0,s.useEffect)(()=>{b.current?.isLoaded&&("string"==typeof y&&y?b.current.stateMachineLoad(y)&&b.current.stateMachineStart():b.current.stateMachineStop())},[y]),(0,s.useEffect)(()=>{b.current?.stateMachineSetConfig(E??null)},[E]),(0,a.jsx)("div",{className:n,...!n&&{style:{width:"100%",height:"100%",lineHeight:0,...k}},children:(0,a.jsx)("canvas",{ref:S,style:{width:"100%",height:"100%"},...M})})},c=e=>new n.j(e),o=e=>(0,a.jsx)(u,{...e,createDotLottie:c}),f=e=>new n.T(e),i=e=>(0,a.jsx)(u,{...e,createDotLottie:f}),l=e=>{n.T.setWasmUrl(e),n.j.setWasmUrl(e)}}}]);
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.