PageSourceSearch

https://www.emergetools.com/_next/static/chunks/6197-f402384b0260c183.js?dpl=dpl_8c53fx15M5d56CyE5sy5f9pNw2QV

js emergetools.com collected 2026-10-02 05:13:40 UTC 17,400 bytes, 1 lines download raw bytes

1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="de8ca398-9c11-44ae-9a60-c61562f351ca",t._sentryDebugIdIdentifier="sentry-dbid-de8ca398-9c11-44ae-9a60-c61562f351ca")}catch(t){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6197],{38189:function(){},44759:function(t,e,i){"use strict";i.d(e,{Z:function(){return N}});var n=i(73749),o=i(24156);let a=(t,e)=>t===e?.tagName?.toUpperCase?.(),s=t=>a("DIV",t)||a("SPAN",t),r=t=>a("IMG",t),h=t=>t.complete&&0!==t.naturalHeight,l=t=>a("SVG",t),d=({height:t,offset:e,width:i})=>Math.min((window.innerWidth-2*e)/i,(window.innerHeight-2*e)/t),c=({containerHeight:t,containerWidth:e,offset:i,targetHeight:n,targetWidth:o})=>{let a=d({height:n,offset:i,width:o}),s=o>n?o/e:n/t;return a>1?s:a*s},m=({containerHeight:t,containerWidth:e,hasScalableSrc:i,offset:n,targetHeight:o,targetWidth:a})=>t&&e?!i&&o&&a?c({containerHeight:t,containerWidth:e,offset:n,targetHeight:o,targetWidth:a}):d({height:t,offset:n,width:e}):1,u=/url(?:\(['"]?)(.*?)(?:['"]?\))/,g=t=>{if(t){if(r(t))return t.currentSrc;if(s(t)){let e=window.getComputedStyle(t).backgroundImage;if(e)return u.exec(e)?.[1]}}},v=t=>{if(t)return r(t)?t.alt??void 0:t.getAttribute("aria-label")??void 0},f=({containerHeight:t,containerLeft:e,containerTop:i,containerWidth:n,hasScalableSrc:o,offset:a,targetHeight:s,targetWidth:r})=>{let h=m({containerHeight:t,containerWidth:n,hasScalableSrc:o,offset:a,targetHeight:s,targetWidth:r});return{top:i,left:e,width:n*h,height:t*h,transform:`translate(0,0) scale(${1/h})`}},p=({position:t,relativeNum:e})=>{let i=parseFloat(t);return t.endsWith("%")?e*i/100:i},w=({containerHeight:t,containerLeft:e,containerTop:i,containerWidth:n,hasScalableSrc:o,objectFit:a,objectPosition:s,offset:r,targetHeight:h,targetWidth:l})=>{if("scale-down"===a&&(a=l<=n&&h<=t?"none":"contain"),"cover"===a||"contain"===a){let d=n/l,c=t/h,u="cover"===a?Math.max(d,c):Math.min(d,c),[g="50%",v="50%"]=s.split(" "),f=p({position:g,relativeNum:n-l*u}),w=p({position:v,relativeNum:t-h*u}),E=m({containerHeight:h*u,containerWidth:l*u,hasScalableSrc:o,offset:r,targetHeight:h,targetWidth:l});return{top:i+w,left:e+f,width:l*u*E,height:h*u*E,transform:`translate(0,0) scale(${1/E})`}}if("none"===a){let[a="50%",d="50%"]=s.split(" "),c=p({position:a,relativeNum:n-l}),u=p({position:d,relativeNum:t-h}),g=m({containerHeight:h,containerWidth:l,hasScalableSrc:o,offset:r,targetHeight:h,targetWidth:l});return{top:i+u,left:e+c,width:l*g,height:h*g,transform:`translate(0,0) scale(${1/g})`}}if("fill"!==a)return{};{let e=Math.max(n/l,t/h),i=m({containerHeight:h*e,containerWidth:l*e,hasScalableSrc:o,offset:r,targetHeight:h,targetWidth:l});return{width:n*i,height:t*i,transform:`translate(0,0) scale(${1/i})`}}},E=({backgroundPosition:t,backgroundSize:e,containerHeight:i,containerLeft:n,containerTop:o,containerWidth:a,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:l})=>{if("cover"===e||"contain"===e){let d=a/l,c=i/h,u="cover"===e?Math.max(d,c):Math.min(d,c),[g="50%",v="50%"]=t.split(" "),f=p({position:g,relativeNum:a-l*u}),w=p({position:v,relativeNum:i-h*u}),E=m({containerHeight:h*u,containerWidth:l*u,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:l});return{top:o+w,left:n+f,width:l*u*E,height:h*u*E,transform:`translate(0,0) scale(${1/E})`}}if("auto"===e){let[e="50%",d="50%"]=t.split(" "),c=p({position:e,relativeNum:a-l}),u=p({position:d,relativeNum:i-h}),g=m({containerHeight:h,containerWidth:l,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:l});return{top:o+u,left:n+c,width:l*g,height:h*g,transform:`translate(0,0) scale(${1/g})`}}{let[d="50%",c="50%"]=e.split(" "),u=Math.min(p({position:d,relativeNum:a})/l,p({position:c,relativeNum:i})/h),[g="50%",v="50%"]=t.split(" "),f=p({position:g,relativeNum:a-l*u}),w=p({position:v,relativeNum:i-h*u}),E=m({containerHeight:h*u,containerWidth:l*u,hasScalableSrc:s,offset:r,targetHeight:h,targetWidth:l});return{top:o+w,left:n+f,width:l*u*E,height:h*u*E,transform:`translate(0,0) scale(${1/E})`}}},L=/\.svg$/i,b=({hasZoomImg:t,imgSrc:e,isSvg:i,isZoomed:n,loadedImgEl:o,offset:a,shouldRefresh:r,targetEl:h})=>{let l=i||e?.slice?.(0,18)==="data:image/svg+xml"||t||!!(e&&L.test(e)),d=h.getBoundingClientRect(),c=window.getComputedStyle(h),m=null!=o&&s(h),u=Object.assign({},f({containerHeight:d.height,containerLeft:d.left,containerTop:d.top,containerWidth:d.width,hasScalableSrc:l,offset:a,targetHeight:o?.naturalHeight||d.height,targetWidth:o?.naturalWi
1dth||d.width}),null==o||m?void 0:w({containerHeight:d.height,containerLeft:d.left,containerTop:d.top,containerWidth:d.width,hasScalableSrc:l,objectFit:c.objectFit,objectPosition:c.objectPosition,offset:a,targetHeight:o?.naturalHeight||d.height,targetWidth:o?.naturalWidth||d.width}),m?E({backgroundPosition:c.backgroundPosition,backgroundSize:c.backgroundSize,containerHeight:d.height,containerLeft:d.left,containerTop:d.top,containerWidth:d.width,hasScalableSrc:l,offset:a,targetHeight:o?.naturalHeight||d.height,targetWidth:o?.naturalWidth||d.width}):void 0);if(n){let t=window.innerWidth/2,e=window.innerHeight/2,i=parseFloat(String(u.left||0))+parseFloat(String(u.width||0))/2,n=parseFloat(String(u.top||0))+parseFloat(String(u.height||0))/2;r&&(u.transitionDuration="0.01ms"),u.transform=`translate(${t-i}px,${e-n}px) scale(1)`}return u},y=t=>{if(!t)return{};if(!l(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}}}},S=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(#${n})`,a=`url(#${e})`,s=i.map(t=>`[${t}="${o}"]`).join(", ");t.querySelectorAll(s).forEach(t=>{i.forEach(e=>{t.getAttribute(e)===o&&t.setAttribute(e,a)})})}),t.querySelectorAll("style").forEach(t=>{n.forEach((e,i)=>{t.textContent&&(t.textContent=t.textContent.replaceAll(`#${i}`,`#${e}`))})})},I=["img","svg",'[role="img"]',"[data-zoom]"].map(t=>`${t}:not([aria-hidden="true"])`).join(","),z={overflow:"",width:""};function D(t){return n.createElement(C,{...t})}class C extends n.Component{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.createRef(),this.imgEl=null,this.isScaling=!1,this.prevBodyAttrs=z,this.styleModalImg={},this.handleModalStateChange=t=>{let{modalState:e}=this.state;"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)):"LOADED"!==t&&"LOADED"===e?window.addEventListener("wheel",this.handleWheel,{passive:!0}):"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)):"UNLOADED"!==t&&"UNLOADED"===e&&(this.bodyScrollEnable(),window.removeEventListener("resize",this.handleResize),this.refModalImg.current?.removeEventListener?.("transitionend",this.handleImgTransitionEnd),this.refDialog.current?.close?.())},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;!t||(this.imgEl=t.querySelector(I),this.imgEl?(this.contentNotFoundChangeObserver?.disconnect?.(),this.imgEl.addEventListener("load",this.handleImgLoad),this.img
1El.addEventListener("click",this.handleZoom),this.state.loadedImgEl||this.handleImgLoad(),this.imgElResizeObserver=new ResizeObserver(t=>{let e=t[0];e?.target&&(this.imgEl=e.target,this.setState({styleGhost:y(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver||(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:y(this.imgEl)})}),this.contentChangeObserver.observe(t,{attributes:!0,childList:!0,subtree:!0}))):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=g(this.imgEl);if(!t)return;let e=new Image;r(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:y(this.imgEl)})};e.decode().then(i).catch(()=>{if(h(e)){i();return}e.onload=i})},this.handleZoom=()=>{this.hasImage()&&this.props.onZoomChange?.(!0)},this.handleUnzoom=()=>{this.props.onZoomChange?.(!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=>{let e=window.visualViewport?.scale??1;this.props.canSwipeToUnzoom&&!this.isScaling&&e<=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||l(this.imgEl))&&"none"!==window.getComputedStyle(this.imgEl).display,this.zoom=()=>{this.bodyScrollDisable(),this.refDialog.current?.showModal?.(),this.refModalImg.current?.addEventListener?.("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=`${t}px`},this.bodyScrollEnable=()=>{document.body.style.width=this.prevBodyAttrs.width,document.body.style.overflow=this.prevBodyAttrs.overflow,this.prevBodyAttrs=z},this.loadZoomImg=()=>{let{props:{zoomImg:t}}=this,e=t?.src;if(e){let i=new Image;i.sizes=t?.sizes??"",i.srcset=t?.srcSet??"",i.crossOrigin=t?.crossOrigin??void 0,i.src=e;let n=()=>{this.setState({isZoomImgLoaded:!0})};i.decode().then(n).catch(()=>{if(h(i)){n();return}i.onload=n})}},this.UNSAFE_handleSvg=()=>{let{imgEl:t,refModalImg:e,styleModalImg:i}=this;if(l(t)){let n=t.cloneNode(!0);S(n),n.style.width=`${i.width||0}px`,n.style.height=`${i.height||0}px`,n.addEventListener("click",this.handleUnzoom),e.current?.firstChild?.remove?.(),e.current?.appendChild?.(n)}}}render(){let{handleBtnUnzoomClick:t,handleDialogCancel:e,handleDialogClick:i,handleDialogClose:a,handleUnzoom:h,handleZoom:d,imgEl:c,props:{a11yNameButtonUnzoom:m,a11yNameButtonZoom:u,children:f,classDialog:p,IconUnzoom:w,IconZoom:E,isZoomed:L,wrapElement:y,ZoomContent:S,zoomImg:I,zoomMargin:z},refContent:D,refDialog:C,refModalContent:N,refModalImg:T,refWrap:M,state:{id:O,isZoomImgLoaded:A,loadedImgEl:U,modalState:k,shouldRefresh:W,styleGhost:$}}=this,Z=`rmiz-modal-${O}`,x=`rmiz-modal-img-${O}`,H=s(c),R=r(c),F=l(c),G=v(c),Y=g(c),B=R?c.sizes:void 0,P=R?c.srcset:void 0,_=R?c.crossOrigin:void 0,j=!!I?.src,q=this.hasImage(),K=G?`${u}: ${G}`:u,V="LOADING"===k||"LOADED"===k,J=q?"found":"not-found",Q="UNLOADED"===k||"UNLOADING"===k?"hidden":"visible";this.styleModalImg=q?b({hasZoomImg:j,imgSrc:Y,isSvg:F,isZoomed:L&&V,loadedImgEl:U,offset:z,shouldRefresh:W,targetEl:c}):{};let X=null;if(q){let e=R||H?n.createElement("img",{alt:G,crossOrigin:_,sizes:B,src:Y,srcSet:P,...A&&"LOADED"===k?I:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height||void 0,id:x,ref:T,style:this.styleModalImg,width:this.styleModalImg.width||void 0}):F?n.createElement("div",{"data-rmiz-modal-img":!0,ref:T,style:this.styleModalImg}):null,i=n.createElement("button",{"aria-label":m,"data-rmiz-btn-unzoom":"",onClick:t,type:"button"},n.createElement(w,null));X=S?n.createElement(S,{buttonUnzoom:i,modalState:k,img:e,onUnzoom:h}):n.createElement(n.Fragment,null,e,i)}return n.createElement(y,{"aria-owns":Z,"data-rmiz":"",ref:M},n.createElement(y,{"data-rmiz-content":J,ref:D,style:{visibility:"UNLOADED"===k?"visible":"hidden"}},f),q&&n.createElement(y,{"data-rmiz-ghost":"",style:$},n.createElement("button",{"aria-label":K,"data-rmiz-btn-zoom":"",onClick:d,type:"button"},n.createElement(E,null))),q&&o.createPortal(n.createElement("dialog",{"aria-labelledby":x,"aria-modal":"true",className:p,"data-rmiz-modal":"",id:Z,onClick:i,onClose:a,onCancel:e,ref:C,role:"dialog"},n.createElement("div",{"data-rmiz-modal-overlay":Q}),n.createElement("div",{"data-rmiz-modal-content":"",ref:N},X)),this.getDialogContainer()))}componentDidMount(){this.setId(),this.setAndTrackImg(),this.handleImgLoad(),this.UNSAFE_handleSvg()}componentWillUnmount(){"UNLOADED"!==this.state.modalState&&this.bodyScrollEnable(),this.contentChangeObserver?.disconnect?.(),this.contentNotFoundChangeObserver?.disconnect?.(),this.imgElResizeObserver?.disconnect?.(),this.imgEl?.removeEventListener?.("load",this.handleImgLoad),this.imgEl?.removeEventListener?.("click",this.handleZoom),this.refModalImg.current?.removeEventListener?.("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)}}function N(t){let[e,i]=n.useState(!1);return n.createElement(D,{...t,isZoomed:e,onZoomChange:i})}C.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"}))},swipeToUnzoomThreshold:10,wrapElement:"div",zoomMargin:0}}}]);

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.