PageSourceSearch

https://wildwanderer-vr.com/_next/static/chunks/4874-04e406964ef6e1b9.js

js wildwanderer-vr.com collected 2026-10-04 08:10:02 UTC 21,686 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4874],{196727:(t,e,i)=>{i.d(e,{A:()=>b});var n=i(705922),o=i(959007);let l=(t,e)=>{var i,n;return t===(null==e||null==(n=e.tagName)||null==(i=n.toUpperCase)?void 0:i.call(n))},a=t=>l("DIV",t)||l("SPAN",t),s=t=>l("IMG",t),r=t=>t.complete&&0!==t.naturalHeight,h=t=>l("SVG",t),d=t=>{let{height:e,offset:i,width:n}=t;return Math.min((window.innerWidth-2*i)/n,(window.innerHeight-2*i)/e)},c=t=>{let{containerHeight:e,containerWidth:i,hasScalableSrc:n,offset:o,targetHeight:l,targetWidth:a}=t;return e&&i?!n&&l&&a?(t=>{let{containerHeight:e,containerWidth:i,offset:n,targetHeight:o,targetWidth:l}=t,a=d({height:o,offset:n,width:l}),s=l>o?l/i:o/e;return a>1?s:a*s})({containerHeight:e,containerWidth:i,offset:o,targetHeight:l,targetWidth:a}):d({height:e,offset:o,width:i}):1},u=/url(?:\(['"]?)(.*?)(?:['"]?\))/,m=t=>{if(t){if(s(t))return t.currentSrc;else if(a(t)){let i=window.getComputedStyle(t).backgroundImage;if(i){var e;return null==(e=u.exec(i))?void 0:e[1]}}}},g=t=>{let{position:e,relativeNum:i}=t,n=parseFloat(e);return e.endsWith("%")?i*n/100:n},v=/\.svg$/i,p=t=>{if(!t)return{};if(!h(t))return{height:t.offsetHeight,left:t.offsetLeft,width:t.offsetWidth,top:t.offsetTop};{let e=t.parentElement,i=t.getBoundingClientRect();if(!e)return{height:i.height,left:i.left,width:i.width,top:i.top};{let t=e.getBoundingClientRect();return{height:i.height,left:t.left-i.left,top:t.top-i.top,width:i.width}}}},f=["img","svg",'[role="img"]',"[data-zoom]"].map(t=>"".concat(t,':not([aria-hidden="true"])')).join(","),E={overflow:"",width:""};function w(t){return n.createElement(L,{...t})}class L extends n.Component{render(){let{handleBtnUnzoomClick:t,handleDialogCancel:e,handleDialogClick:i,handleDialogClose:l,handleUnzoom:r,handleZoom:d,imgEl:u,props:{a11yNameButtonUnzoom:p,a11yNameButtonZoom:f,children:E,classDialog:w,IconUnzoom:L,IconZoom:b,isZoomed:y,wrapElement:S,ZoomContent:z,zoomImg:C,zoomMargin:I},refContent:D,refDialog:M,refModalContent:N,refModalImg:A,refWrap:T,state:{id:O,isZoomImgLoaded:U,loadedImgEl:x,modalState:k,shouldRefresh:R,styleGhost:W}}=this,H="rmiz-modal-".concat(O),Z="rmiz-modal-img-".concat(O),P=a(u),F=s(u),G=h(u),B=(t=>{if(t){var e,i;return s(t)?null!=(e=t.alt)?e:void 0:null!=(i=t.getAttribute("aria-label"))?i:void 0}})(u),Y=m(u),j=F?u.sizes:void 0,_=F?u.srcset:void 0,q=F?u.crossOrigin:void 0,K=!!(null==C?void 0:C.src),V=this.hasImage(),Q=B?"".concat(f,": ").concat(B):f,$="LOADING"===k||"LOADED"===k,J=V?"found":"not-found",X="UNLOADED"===k||"UNLOADING"===k?"hidden":"visible";this.styleModalImg=V?(t=>{var e;let{hasZoomImg:i,imgSrc:n,isSvg:o,isZoomed:l,loadedImgEl:s,offset:r,shouldRefresh:h,targetEl:d}=t,u=o||(null==n||null==(e=n.slice)?void 0:e.call(n,0,18))==="data:image/svg+xml"||i||!!(n&&v.test(n)),m=d.getBoundingClientRect(),p=window.getComputedStyle(d),f=null!=s&&a(d),E=null!=s&&!f,w=(t=>{let{containerHeight:e,containerLeft:i,containerTop:n,containerWidth:o,hasScalableSrc:l,offset:a,targetHeight:s,targetWidth:r}=t,h=c({containerHeight:e,containerWidth:o,hasScalableSrc:l,offset:a,targetHeight:s,targetWidth:r});return{top:n,left:i,width:o*h,height:e*h,transform:"translate(0,0) scale(".concat(1/h,")")}})({containerHeight:m.height,containerLeft:m.left,containerTop:m.top,containerWidth:m.width,hasScalableSrc:u,offset:r,targetHeight:(null==s?void 0:s.naturalHeight)||m.height,targetWidth:(null==s?void 0:s.naturalWidth)||m.width}),L=Object.assign({},w,E?(t=>{let{containerHeight:e,containerLeft:i,containerTop:n,containerWidth:o,hasScalableSrc:l,objectFit:a,objectPosition:s,offset:r,targetHeight:h,targetWidth:d}=t;if("scale-down"===a&&(a=d<=o&&h<=e?"none":"contain"),"cover"===a||"contain"===a){let t=o/d,u=e/h,m="cover"===a?Math.max(t,u):Math.min(t,u),[v="50%",p="50%"]=s.split(" "),f=g({position:v,relativeNum:o-d*m}),E=g({position:p,relativeNum:e-h*m}),w=c({containerHeight:h*m,containerWidth:d*m,hasScalableSrc:l,offset:r,targetHeight:h,targetWidth:d});return{top:n+E,left:i+f,width:d*m*w,height:h*m*w,transform:"translate(0,0) scale(".concat(1/w,")")}}if("none"===a){let[t="50%",a="50%"]=s.split(" "),u=g({position:t,relativeNum:o-d}),m=g({position:a,relativeNum:e-h}),v=c({containerHeight:h,containerWidth:d,hasScalableSrc:l,offset:r,targetHeight:h,targetWidth:d});return{top:n+m,left:i+u,width:d*v,height:h*v,transform:"translate(0,0) scale(".concat(1/v,")")}}if("fill"!==a)return{};{let t=Math.max(o/d,e/h),i=c({containerHeight:h*t,containerWidth:d*t,hasScalableSrc:l,offset:r,targetHeight:h,targetWidth:d});return{width:o*i,height:e*i,transform:"translate(0,0) scale(".concat(1/i,")")}}})({containerHeight:m.height,containerLeft:m.left,containerTop:m.top,containerWidth:m.width,hasScalableSrc:u,objectFit:p.objectFit,objectPosition:p.objectPosition,offset:r,targetHeight:(null==s?void 0:s.naturalHeight)||m.height,targetWidth:(null==s?void 0:s.naturalWi
1dth)||m.width}):void 0,f?(t=>{let{backgroundPosition:e,backgroundSize:i,containerHeight:n,containerLeft:o,containerTop:l,containerWidth:a,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:d}=t;if("cover"===i||"contain"===i){let t=a/d,u=n/h,m="cover"===i?Math.max(t,u):Math.min(t,u),[v="50%",p="50%"]=e.split(" "),f=g({position:v,relativeNum:a-d*m}),E=g({position:p,relativeNum:n-h*m}),w=c({containerHeight:h*m,containerWidth:d*m,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:d});return{top:l+E,left:o+f,width:d*m*w,height:h*m*w,transform:"translate(0,0) scale(".concat(1/w,")")}}if("auto"===i){let[t="50%",i="50%"]=e.split(" "),u=g({position:t,relativeNum:a-d}),m=g({position:i,relativeNum:n-h}),v=c({containerHeight:h,containerWidth:d,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:d});return{top:l+m,left:o+u,width:d*v,height:h*v,transform:"translate(0,0) scale(".concat(1/v,")")}}{let[t="50%",u="50%"]=i.split(" "),m=g({position:t,relativeNum:a}),v=Math.min(m/d,g({position:u,relativeNum:n})/h),[p="50%",f="50%"]=e.split(" "),E=g({position:p,relativeNum:a-d*v}),w=g({position:f,relativeNum:n-h*v}),L=c({containerHeight:h*v,containerWidth:d*v,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:d});return{top:l+w,left:o+E,width:d*v*L,height:h*v*L,transform:"translate(0,0) scale(".concat(1/L,")")}}})({backgroundPosition:p.backgroundPosition,backgroundSize:p.backgroundSize,containerHeight:m.height,containerLeft:m.left,containerTop:m.top,containerWidth:m.width,hasScalableSrc:u,offset:r,targetHeight:(null==s?void 0:s.naturalHeight)||m.height,targetWidth:(null==s?void 0:s.naturalWidth)||m.width}):void 0);if(l){let t=window.innerWidth/2,e=window.innerHeight/2,i=parseFloat(String(L.left||0))+parseFloat(String(L.width||0))/2,n=parseFloat(String(L.top||0))+parseFloat(String(L.height||0))/2;h&&(L.transitionDuration="0.01ms"),L.transform="translate(".concat(t-i,"px,").concat(e-n,"px) scale(1)")}return L})({hasZoomImg:K,imgSrc:Y,isSvg:G,isZoomed:y&&$,loadedImgEl:x,offset:I,shouldRefresh:R,targetEl:u}):{};let tt=null;if(V){let e=F||P?n.createElement("img",{alt:B,crossOrigin:q,sizes:j,src:Y,srcSet:_,...U&&"LOADED"===k?C:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height||void 0,id:Z,ref:A,style:this.styleModalImg,width:this.styleModalImg.width||void 0}):G?n.createElement("div",{"data-rmiz-modal-img":!0,ref:A,style:this.styleModalImg}):null,i=n.createElement("button",{"aria-label":p,"data-rmiz-btn-unzoom":"",onClick:t,type:"button"},n.createElement(L,null));tt=z?n.createElement(z,{buttonUnzoom:i,modalState:k,img:e,isZoomImgLoaded:U,onUnzoom:r}):n.createElement(n.Fragment,null,e,i)}return n.createElement(S,{"aria-owns":H,"data-rmiz":"",ref:T},n.createElement(S,{"data-rmiz-content":J,ref:D,style:{visibility:"UNLOADED"===k?"visible":"hidden"}},E),V&&n.createElement(S,{"data-rmiz-ghost":"",style:W},n.createElement("button",{"aria-label":Q,"data-rmiz-btn-zoom":"",onClick:d,type:"button"},n.createElement(b,null))),V&&o.createPortal(n.createElement("dialog",{"aria-labelledby":Z,"aria-modal":"true",className:w,"data-rmiz-modal":"",id:H,onClick:i,onClose:l,onCancel:e,ref:M,role:"dialog"},n.createElement("div",{"data-rmiz-modal-overlay":X}),n.createElement("div",{"data-rmiz-modal-content":"",ref:N},tt)),this.getDialogContainer()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){var t,e,i,n,o,l,a,s,r,h,d,c;"UNLOADED"!==this.state.modalState&&this.bodyScrollEnable(),null==(e=this.contentChangeObserver)||null==(t=e.disconnect)||t.call(e),null==(n=this.contentNotFoundChangeObserver)||null==(i=n.disconnect)||i.call(n),null==(l=this.imgElResizeObserver)||null==(o=l.disconnect)||o.call(l),null==(s=this.imgEl)||null==(a=s.removeEventListener)||a.call(s,"load",this.handleImgLoad),null==(h=this.imgEl)||null==(r=h.removeEventListener)||r.call(h,"click",this.handleZoom),null==(c=this.refModalImg.current)||null==(d=c.removeEventListener)||d.call(c,"transitionend",this.handleImgTransitionEnd),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),window.removeEventListener("resize",this.handleResize),document.removeEventListener("keydown",this.handleKeyDown,!0)}componentDidUpdate(t,e){this.handleModalStateChange(e.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(t.isZoomed)}constructor(){super(...arguments),this.state={id:"",isZoomImgLoaded:!1,loadedImgEl:void 0,modalState:"UNLOADED",shouldRefresh:!1,styleGhost:{}},this.refContent=n.createRef(),this.refDialog=n.createRef(),this.refModalContent=n.createRef(),this.refModalImg=n.createRef(),this.refWrap=n.
1createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=E,this.styleModalImg={},this.handleModalStateChange=t=>{let{modalState:e}=this.state;if("LOADING"!==t&&"LOADING"===e)this.loadZoomImg(),window.addEventListener("resize",this.handleResize,{passive:!0}),window.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),window.addEventListener("touchmove",this.handleTouchMove,{passive:!0}),window.addEventListener("touchend",this.handleTouchEnd,{passive:!0}),window.addEventListener("touchcancel",this.handleTouchCancel,{passive:!0}),document.addEventListener("keydown",this.handleKeyDown,!0);else if("LOADED"!==t&&"LOADED"===e)window.addEventListener("wheel",this.handleWheel,{passive:!0});else if("UNLOADING"!==t&&"UNLOADING"===e)this.ensureImgTransitionEnd(),window.removeEventListener("wheel",this.handleWheel),window.removeEventListener("touchstart",this.handleTouchStart),window.removeEventListener("touchmove",this.handleTouchMove),window.removeEventListener("touchend",this.handleTouchEnd),window.removeEventListener("touchcancel",this.handleTouchCancel),document.removeEventListener("keydown",this.handleKeyDown,!0);else if("UNLOADED"!==t&&"UNLOADED"===e){var i,n,o,l;this.bodyScrollEnable(),window.removeEventListener("resize",this.handleResize),null==(n=this.refModalImg.current)||null==(i=n.removeEventListener)||i.call(n,"transitionend",this.handleImgTransitionEnd),null==(l=this.refDialog.current)||null==(o=l.close)||o.call(l)}},this.getDialogContainer=()=>{let t=document.querySelector("[data-rmiz-portal]");return null==t&&((t=document.createElement("div")).setAttribute("data-rmiz-portal",""),document.body.appendChild(t)),t},this.setId=()=>{let t=()=>Math.random().toString(16).slice(-4);this.setState({id:t()+t()+t()})},this.setAndTrackImg=()=>{let t=this.refContent.current;if(t)if(this.imgEl=t.querySelector(f),this.imgEl){var e,i;null==(i=this.contentNotFoundChangeObserver)||null==(e=i.disconnect)||e.call(i),this.imgEl.addEventListener("load",this.handleImgLoad),this.imgEl.addEventListener("click",this.handleZoom),this.state.loadedImgEl||this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(t=>{let e=t[0];(null==e?void 0:e.target)&&(this.imgEl=e.target,this.setState({styleGhost:p(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver||(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:p(this.imgEl)})}),this.contentChangeObserver.observe(t,{attributes:!0,childList:!0,subtree:!0}))}else this.contentNotFoundChangeObserver||(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(t,{childList:!0,subtree:!0}))},this.handleIfZoomChanged=t=>{let{isZoomed:e}=this.props;!t&&e?this.zoom():t&&!e&&this.unzoom()},this.handleImgLoad=()=>{let t=m(this.imgEl);if(!t)return;let e=new Image;s(this.imgEl)&&(e.sizes=this.imgEl.sizes,e.srcset=this.imgEl.srcset,e.crossOrigin=this.imgEl.crossOrigin),e.src=t;let i=()=>{this.setState({loadedImgEl:e,styleGhost:p(this.imgEl)})};e.decode().then(i).catch(()=>{if(r(e))return void i();e.onload=i})},this.handleZoom=()=>{if(!this.props.isDisabled&&this.hasImage()){var t,e;null==(t=(e=this.props).onZoomChange)||t.call(e,!0)}},this.handleUnzoom=()=>{if(!this.props.isDisabled){var t,e;null==(t=(e=this.props).onZoomChange)||t.call(e,!1)}},this.handleBtnUnzoomClick=t=>{t.preventDefault(),t.stopPropagation(),this.handleUnzoom()},this.handleDialogCancel=t=>{t.preventDefault()},this.handleDialogClick=t=>{(t.target===this.refModalContent.current||t.target===this.refModalImg.current)&&(t.stopPropagation(),this.handleUnzoom())},this.handleDialogClose=t=>{t.stopPropagation(),this.handleUnzoom()},this.handleKeyDown=t=>{("Escape"===t.key||27===t.keyCode)&&(t.preventDefault(),t.stopPropagation(),this.handleUnzoom())},this.handleWheel=t=>{t.ctrlKey||(t.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom()}))},this.handleTouchStart=t=>{if(t.touches.length>1){this.isScaling=!0;return}1===t.changedTouches.length&&t.changedTouches[0]&&(this.touchYStart=t.changedTouches[0].screenY)},this.handleTouchMove=t=>{var e,i;
1let n=null!=(i=null==(e=window.visualViewport)?void 0:e.scale)?i:1;this.props.canSwipeToUnzoom&&!this.isScaling&&n<=1&&null!=this.touchYStart&&t.changedTouches[0]&&(this.touchYEnd=t.changedTouches[0].screenY,Math.abs(Math.max(this.touchYStart,this.touchYEnd)-Math.min(this.touchYStart,this.touchYEnd))>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom()))},this.handleTouchEnd=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleTouchCancel=()=>{this.isScaling=!1,this.touchYStart=void 0,this.touchYEnd=void 0},this.handleResize=()=>{this.setState({shouldRefresh:!0})},this.hasImage=()=>this.imgEl&&(this.state.loadedImgEl||h(this.imgEl))&&"none"!==window.getComputedStyle(this.imgEl).display,this.zoom=()=>{var t,e,i,n;this.bodyScrollDisable(),null==(e=this.refDialog.current)||null==(t=e.showModal)||t.call(e),null==(n=this.refModalImg.current)||null==(i=n.addEventListener)||i.call(n,"transitionend",this.handleImgTransitionEnd),this.setState({modalState:"LOADING"})},this.unzoom=()=>{this.setState({modalState:"UNLOADING"})},this.handleImgTransitionEnd=()=>{clearTimeout(this.timeoutTransitionEnd),"LOADING"===this.state.modalState?this.setState({modalState:"LOADED"}):"UNLOADING"===this.state.modalState&&this.setState({shouldRefresh:!1,modalState:"UNLOADED"})},this.ensureImgTransitionEnd=()=>
1{if(this.refModalImg.current){let t=window.getComputedStyle(this.refModalImg.current).transitionDuration,e=parseFloat(t);if(e){let i=e*(t.endsWith("ms")?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,i)}}},this.bodyScrollDisable=()=>{this.prevBodyAttrs={overflow:document.body.style.overflow,width:document.body.style.width};let t=document.body.clientWidth;document.body.style.overflow="hidden",document.body.style.width="".concat(t,"px")},this.bodyScrollEnable=()=>{document.body.style.width=this.prevBodyAttrs.width,document.body.style.overflow=this.prevBodyAttrs.overflow,this.prevBodyAttrs=E},this.loadZoomImg=()=>{let{props:{zoomImg:t}}=this,e=null==t?void 0:t.src;if(e){var i,n,o;let l=new Image;l.sizes=null!=(i=null==t?void 0:t.sizes)?i:"",l.srcset=null!=(n=null==t?void 0:t.srcSet)?n:"",l.crossOrigin=null!=(o=null==t?void 0:t.crossOrigin)?o:void 0,l.src=e;let a=()=>{this.setState({isZoomImgLoaded:!0})};l.decode().then(a).catch(()=>{if(r(l))return void a();l.onload=a})}},this.UNSAFE_handleSvg=()=>{let{imgEl:t,refModalImg:e,styleModalImg:i}=this;if(h(t)){var n,o,l,a,s;let r=t.cloneNode(!0);(t=>{let e="-zoom",i=["clip-path","fill","mask","marker-start","marker-mid","marker-end"],n=new Map;if(t.hasAttribute("id")){let i=t.id,o=i+e;n.set(i,o),t.id=o}t.querySelectorAll("[id]").forEach(t=>{let i=t.id,o=i+e;n.set(i,o),t.id=o}),n.forEach((e,n)=>{let o="url(#".concat(n,")"),l="url(#".concat(e,")"),a=i.map(t=>"[".concat(t,'="').concat(o,'"]')).join(", ");t.querySelectorAll(a).forEach(t=>{i.forEach(e=>{t.getAttribute(e)===o&&t.setAttribute(e,l)})})}),t.querySelectorAll("style").forEach(t=>{n.forEach((e,i)=>{t.textContent&&(t.textContent=t.textContent.replaceAll("#".concat(i),"#".concat(e)))})})})(r),r.style.width="".concat(i.width||0,"px"),r.style.height="".concat(i.height||0,"px"),r.addEventListener("click",this.handleUnzoom),null==(l=e.current)||null==(o=l.firstChild)||null==(n=o.remove)||n.call(o),null==(s=e.current)||null==(a=s.appendChild)||a.call(s,r)}}}}function b(t){let[e,i]=n.useState(!1);return n.createElement(w,{...t,isZoomed:e,onZoomChange:i})}L.defaultProps={a11yNameButtonUnzoom:"Minimize image",a11yNameButtonZoom:"Expand image",canSwipeToUnzoom:!0,IconUnzoom:function(){return n.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-unzoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M 14.144531 1.148438 L 9 6.292969 L 9 3 L 8 3 L 8 8 L 13 8 L 13 7 L 9.707031 7 L 14.855469 1.851563 Z M 8 8 L 3 8 L 3 9 L 6.292969 9 L 1.148438 14.144531 L 1.851563 14.855469 L 7 9.707031 L 7 13 L 8 13 Z"}))},IconZoom:function(){return n.createElement("svg",{"aria-hidden":"true","data-rmiz-btn-zoom-icon":!0,fill:"currentColor",focusable:"false",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M 9 1 L 9 2 L 12.292969 2 L 2 12.292969 L 2 9 L 1 9 L 1 14 L 6 14 L 6 13 L 2.707031 13 L 13 2.707031 L 13 6 L 14 6 L 14 1 Z"}))},isDisabled:!1,swipeToUnzoomThreshold:10,wrapElement:"div",zoomMargin:0}},376395:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(76800).A)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},477570:(t,e,i)=>{i.d(e,{N:()=>f});var n=i(249738),o=i(705922),l=i(854319),a=i(739159),s=i(5710);class r extends o.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h(t){let{children:e,isPresent:i}=t,l=(0,o.useId)(),a=(0,o.useRef)(null),h=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:d}=(0,o.useContext)(s.Q);return(0,o.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:o}=h.current;if(i||!a.current||!t||!e)return;a.current.dataset.motionPopId=l;let s=document.createElement("style");return d&&(s.nonce=d),document.head.appendChild(s),s.sheet&&s.sheet.insertRule('\n          [data-motion-pop-id="'.concat(l,'"] {\n            position: absolute !important;\n            width: ').concat(t,"px !important;\n            height: ").concat(e,"px !important;\n            top: ").concat(n,"px !important;\n            left: ").concat(o,"px !important;\n          }\n        ")),()=>{document.head.removeChild(s)}},[i]),(0,n.jsx)(r,{isPresent:i,childRef:a,sizeRef:h,children:o.cloneElement(e,{ref:a})})}let d=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:r,custom:d,presenceAffectsLayout:u,mode:m}
1=t,g=(0,a.M)(c),v=(0,o.useId)(),p=(0,o.useCallback)(t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;r&&r()},[g,r]),f=(0,o.useMemo)(()=>({id:v,initial:i,isPresent:s,custom:d,onExitComplete:p,register:t=>(g.set(t,!1),()=>g.delete(t))}),u?[Math.random(),p]:[s,p]);return(0,o.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[s]),o.useEffect(()=>{s||g.size||!r||r()},[s]),"popLayout"===m&&(e=(0,n.jsx)(h,{isPresent:s,children:e})),(0,n.jsx)(l.t.Provider,{value:f,children:e})};function c(){return new Map}var u=i(306035),m=i(847819);let g=t=>t.key||"";function v(t){let e=[];return o.Children.forEach(t,t=>{(0,o.isValidElement)(t)&&e.push(t)}),e}var p=i(406472);let f=t=>{let{children:e,exitBeforeEnter:i,custom:l,initial:s=!0,onExitComplete:r,presenceAffectsLayout:h=!0,mode:c="sync"}=t;(0,m.V)(!i,"Replace exitBeforeEnter with mode='wait'");let f=(0,o.useMemo)(()=>v(e),[e]),E=f.map(g),w=(0,o.useRef)(!0),L=(0,o.useRef)(f),b=(0,a.M)(()=>new Map),[y,S]=(0,o.useState)(f),[z,C]=(0,o.useState)(f);(0,p.E)(()=>{w.current=!1,L.current=f;for(let t=0;t<z.length;t++){let e=g(z[t]);E.includes(e)?b.delete(e):!0!==b.get(e)&&b.set(e,!1)}},[z,E.length,E.join("-")]);let I=[];if(f!==y){let t=[...f];for(let e=0;e<z.length;e++){let i=z[e],n=g(i);E.includes(n)||(t.splice(e,0,i),I.push(i))}"wait"===c&&I.length&&(t=I),C(v(t)),S(f);return}let{forceRender:D}=(0,o.useContext)(u.L);return(0,n.jsx)(n.Fragment,{children:z.map(t=>{let e=g(t),i=f===z||E.includes(e);return(0,n.jsx)(d,{isPresent:i,initial:(!w.current||!!s)&&void 0,custom:i?void 0:l,presenceAffectsLayout:h,mode:c,onExitComplete:i?void 0:()=>{if(!b.has(e))return;b.set(e,!0);let t=!0;b.forEach(e=>{e||(t=!1)}),t&&(null==D||D(),C(L.current),r&&r())},children:t},e)})})}}}]);
2//# sourceMappingURL=4874-04e406964ef6e1b9.js.map

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.