1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[787],{4329:function(t,e){function i(t){return t.includes("?")&&(t=t.split("?")[0]),t.includes("/")&&(t=t.split("/")[0]),t.includes("&")&&(t=t.split("&")[0]),t}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i,n,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var r=[],a=!0,s=!1;try{for(o=o.call(t);!(a=(i=o.next()).done)&&(r.push(i.value),!e||r.length!==e);a=!0);}catch(t){s=!0,n=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return o(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}e.Z=function(t){if("string"!=typeof t)throw TypeError("get-video-id expects a string");var e=t;/<iframe/gi.test(e)&&(e=function(t){if("string"!=typeof t)throw TypeError("getSrc expected a string");var e=/src="(.*?)"/gm.exec(t);if(e&&e.length>=2)return e[1]}(e)||""),e=(e=(e=e.trim()).replace("-nocookie","")).replace("/www.","/");var o={id:null,service:null};if(/\/\/google/.test(e)){var r=e.match(/url=([^&]+)&/);r&&(e=decodeURIComponent(r[1]))}return/youtube|youtu\.be|y2u\.be|i.ytimg\./.test(e)?o={id:function(t){var e=t;e=(e=e.replace(/#t=.*$/,"")).replace(/^https?:\/\//,"");var n=/youtube:\/\/|youtu\.be\/|y2u\.be\//g;if(n.test(e))return i(e.split(n)[1]);var o=/\/shorts\//g;if(o.test(e))return i(e.split(o)[1]);var r=/v=|vi=/g;if(r.test(e))return i(e.split(r)[1].split("&")[0]);var a=/\/v\/|\/vi\/|\/watch\//g;if(a.test(e))return i(e.split(a)[1]);var s=/\/an_webp\//g;if(s.test(e))return i(e.split(s)[1]);var l=/\/e\//g;if(l.test(e))return i(e.split(l)[1]);var h=/\/embed\//g;if(h.test(e))return i(e.split(h)[1]);if(!/\/user\/([a-zA-Z\d]*)$/g.test(e)){if(/\/user\/(?!.*videos)/g.test(e))return i(e.split("/").pop());var d=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;if(d.test(e))return i(e.match(d)[1]);var c=/\/live\//g;if(c.test(e))return i(e.split(c)[1])}}(e),service:"youtube"}:/vimeo/.test(e)?o={id:function(t){var e,i,o=t;o.includes("#")&&(o=n(o.split("#"),1)[0]),o.includes("?")&&!o.includes("clip_id=")&&(o=n(o.split("?"),1)[0]);var r=/https?:\/\/vimeo\.com\/event\/(\d+)$/.exec(o);if(r&&r[1])return r[1];var a=/https?:\/\/vimeo\.com\/(\d+)/.exec(o);return a&&a[1]?a[1]:(RegExp("https?://player.vimeo.com/video/[0-9]+$|https?://vimeo.com/channels|groups|album","gim").test(o)?(i=o.split("/"))&&i.length>0&&(e=i.pop()):/clip_id=/gim.test(o)&&(i=o.split("clip_id="))&&i.length>0&&(e=n(i[1].split("&"),1)[0]),e)}(e),service:"vimeo"}:/vine/.test(e)?o={id:function(t){var e=/https:\/\/vine\.co\/v\/([a-zA-Z\d]*)\/?/.exec(t);if(e&&e.length>1)return e[1]}(e),service:"vine"}:/videopress/.test(e)?o={id:function(t){if(t.includes("embed"))return e=/embed\/(\w{8})/,t.match(e)[1];e=/\/v\/(\w{8})/;var e,i=t.match(e);if(i&&i.length>0)return i[1]}(e),service:"videopress"}:/microsoftstream/.test(e)?o={id:function(t){var e=(t.includes("embed")?/https:\/\/web\.microsoftstream\.com\/embed\/video\/([a-zA-Z\d-]*)\/?/:/https:\/\/web\.microsoftstream\.com\/video\/([a-zA-Z\d-]*)\/?/).exec(t);if(e&&e.length>1)return e[1]}(e),service:"microsoftstream"}:/tiktok\.com/.test(e)?o={id:function(t){var e=/tiktok\.com(.*)\/video\/(\d+)/gm.exec(t);if(e&&e.length>2)return e[2]}(e),service:"tiktok"}:/(dailymotion\.com|dai\.ly)/.test(e)&&(o={id:function(t){var e=/dailymotion\.com(.*)(video)\/([a-zA-Z\d]+)/gm.exec(t);if(e)return e[3];var i=/dai\.ly\/([a-zA-Z\d]+)/gm.exec(t);if(i&&i.length>1)return i[1];var n=/dailymotion\.com(.*)video=([a-zA-Z\d]+)/gm.exec(t);if(n&&n.length>2)return n[2]}(e),service:"dailymotion"}),o}}
1,9378:function(t,e,i){i.d(e,{Z:function(){return A}});var n=i(7294),o=i(3935);let r=(t,e)=>t===e?.tagName?.toUpperCase?.(),a=t=>r("DIV",t)||r("SPAN",t),s=t=>r("IMG",t),l=t=>t.complete&&0!==t.naturalHeight,h=t=>r("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 r=d({height:n,offset:i,width:o}),a=o>n?o/e:n/t;return r>1?a:r*a},m=({containerHeight:t,containerWidth:e,hasScalableSrc:i,offset:n,targetHeight:o,targetWidth:r})=>t&&e?!i&&o&&r?c({containerHeight:t,containerWidth:e,offset:n,targetHeight:o,targetWidth:r}):d({height:t,offset:n,width:e}):1,u=/url(?:\(['"]?)(.*?)(?:['"]?\))/,g=t=>{if(t){if(s(t))return t.currentSrc;if(a(t)){let e=window.getComputedStyle(t).backgroundImage;if(e)return u.exec(e)?.[1]}}},v=t=>{if(t)return s(t)?t.alt??void 0:t.getAttribute("aria-label")??void 0},p=({containerHeight:t,containerLeft:e,containerTop:i,containerWidth:n,hasScalableSrc:o,offset:r,targetHeight:a,targetWidth:s})=>{let l=m({containerHeight:t,containerWidth:n,hasScalableSrc:o,offset:r,targetHeight:a,targetWidth:s});return{top:i,left:e,width:n*l,height:t*l,transform:`translate(0,0) scale(${1/l})`}},f=({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:r,objectPosition:a,offset:s,targetHeight:l,targetWidth:h})=>{if("scale-down"===r&&(r=h<=n&&l<=t?"none":"contain"),"cover"===r||"contain"===r){let d=n/h,c=t/l,u="cover"===r?Math.max(d,c):Math.min(d,c),[g="50%",v="50%"]=a.split(" "),p=f({position:g,relativeNum:n-h*u}),w=f({position:v,relativeNum:t-l*u}),E=m({containerHeight:l*u,containerWidth:h*u,hasScalableSrc:o,offset:s,targetHeight:l,targetWidth:h});return{top:i+w,left:e+p,width:h*u*E,height:l*u*E,transform:`translate(0,0) scale(${1/E})`}}if("none"===r){let[r="50%",d="50%"]=a.split(" "),c=f({position:r,relativeNum:n-h}),u=f({position:d,relativeNum:t-l}),g=m({containerHeight:l,containerWidth:h,hasScalableSrc:o,offset:s,targetHeight:l,targetWidth:h});return{top:i+u,left:e+c,width:h*g,height:l*g,transform:`translate(0,0) scale(${1/g})`}}if("fill"!==r)return{};{let e=Math.max(n/h,t/l),i=m({containerHeight:l*e,containerWidth:h*e,hasScalableSrc:o,offset:s,targetHeight:l,targetWidth:h});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:r,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:h})=>{if("cover"===e||"contain"===e){let d=r/h,c=i/l,u="cover"===e?Math.max(d,c):Math.min(d,c),[g="50%",v="50%"]=t.split(" "),p=f({position:g,relativeNum:r-h*u}),w=f({position:v,relativeNum:i-l*u}),E=m({containerHeight:l*u,containerWidth:h*u,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:h});return{top:o+w,left:n+p,width:h*u*E,height:l*u*E,transform:`translate(0,0) scale(${1/E})`}}if("auto"===e){let[e="50%",d="50%"]=t.split(" "),c=f({position:e,relativeNum:r-h}),u=f({position:d,relativeNum:i-l}),g=m({containerHeight:l,containerWidth:h,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:h});return{top:o+u,left:n+c,width:h*g,height:l*g,transform:`translate(0,0) scale(${1/g})`}}{let[d="50%",c="50%"]=e.split(" "),u=Math.min(f({position:d,relativeNum:r})/h,f({position:c,relativeNum:i})/l),[g="50%",v="50%"]=t.split(" "),p=f({position:g,relativeNum:r-h*u}),w=f({position:v,relativeNum:i-l*u}),E=m({containerHeight:l*u,containerWidth:h*u,hasScalableSrc:a,offset:s,targetHeight:l,targetWidth:h});return{top:o+w,left:n+p,width:h*u*E,height:l*u*E,transform:`translate(0,0) scale(${1/E})`}}},y=/\.svg$/i,b=({hasZoomImg:t,imgSrc:e,isSvg:i,isZoomed:n,loadedImgEl:o,offset:r,shouldRefresh:s,targetEl:l})=>{let h=i||e?.slice?.(0,18)==="data:image/svg+xml"||t||!!(e&&y.test(e)),d=l.getBoundingClientRect(),c=window.getComputedStyle(l),m=null!=o&&a(l),u=Object.assign({},p({containerHeight:d.height,containerLeft:d.left,containerTop:d.top,containerWidth:d.width,hasScalableSrc:h,offset:r,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:h,objectFit:c.objectFit,objectPosition:c.objectPosition,offset:r,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:h,offset:r,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;s&&(u.transitionDuration="0.01ms"),u.transform=`translate(${t-i}px,${e-n}px) scale(1)`}return u},L=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}}}},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})`,r=`url(#${e})`,a=i.map(t=>`[${t}="${o}"]`).join(", ");t.querySelectorAll(a).forEach(t=>{i.forEach(e=>{t.getAttribute(e)===o&&t.setAttribute(e,r)})})}),t.querySelectorAll("style").forEach(t=>{n.forEach((e,i)=>{t.textContent&&(t.textContent=t.textContent.replaceAll(`#${i}`,`#${e}`))})})},z=["img","svg",'[role="img"]',"[data-zoom]"].map(t=>`${t}:not([aria-hidden="true"])`).join(","),I={overflow:"",width:""};function C(t){return n.createElement(D,{...t})}class D 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=I,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(z),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:L(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver||(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:L(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;s(this.imgEl)&&(e.sizes=this.imgEl.sizes,e.srcset=this.imgEl.srcset),e.src=t;let i=()=>{this.setState({loadedImgEl:e,styleGhost:L(this.imgEl)})};e.decode().then(i).catch(()=>{if(l(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||h(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=I},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.src=e;let n=()=>{this.setState({isZoomImgLoaded:!0})};i.decode().then(n).catch(()=>{if(l(i)){n();return}i.onload=n})}},this.UNSAFE_handleSvg=()=>{let{imgEl:t,refModalImg:e,styleModalImg:i}=this;if(h(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:r,handleUnzoom:l,handleZoom:d,imgEl:c,props:{a11yNameButtonUnzoom:m,a11yNameButtonZoom:u,children:p,classDialog:f,IconUnzoom:w,IconZoom:E,isZoomed:y,wrapElement:L,ZoomContent:S,zoomImg:z,zoomMargin:I},refContent:C,refDialog:D,refModalContent:A,refModalImg:N,refWrap:T,state:{id:M,isZoomImgLoaded:O,loadedImgEl:k,modalState:U,shouldRefresh:x,styleGhost:$}}=this,Z=`rmiz-modal-${M}`,W=`rmiz-modal-img-${M}`,R=a(c),H=s(c),F=h(c),G=v(c),Y=g(c),B=H?c.sizes:void 0,P=H?c.srcset:void 0,_=!!z?.src,j=this.hasImage(),q=G?`${u}: ${G}`:u,K="LOADING"===U||"LOADED"===U,V=j?"found":"not-found",J="UNLOADED"===U||"UNLOADING"===U?"hidden":"visible";this.styleModalImg=j?b({hasZoomImg:_,imgSrc:Y,isSvg:F,isZoomed:y&&K,loadedImgEl:k,offset:I,shouldRefresh:x,targetEl:c}):{};let Q=null;if(j){let e=H||R?n.createElement("img",{alt:G,sizes:B,src:Y,srcSet:P,...O&&"LOADED"===U?z:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height||void 0,id:W,ref:N,style:this.styleModalImg,width:this.styleModalImg.width||void 0}):F?n.createElement("div",{"data-rmiz-modal-img":!0,ref:N,style:this.styleModalImg}):null,i=n.createElement("button",{"aria-label":m,"data-rmiz-btn-unzoom":"",onClick:t,type:"button"},n.createElement(w,null));Q=S?n.createElement(S,{buttonUnzoom:i,modalState:U,img:e,onUnzoom:l}):n.createElement(n.Fragment,null,e,i)}return n.createElement(L,{"aria-owns":Z,"data-rmiz":"",ref:T},n.createElement(L,{"data-rmiz-content":V,ref:C,style:{visibility:"UNLOADED"===U?"visible":"hidden"}},p),j&&n.createElement(L,{"data-rmiz-ghost":"",style:$},n.createElement("button",{"aria-label":q,"data-rmiz-btn-zoom":"",onClick:d,type:"button"},n.createElement(E,null))),j&&o.createPortal(n.createElement("dialog",{"aria-labelledby":W,"aria-modal":"true",className:f,"data-rmiz-modal":"",id:Z,onClick:i,onClose:r,onCancel:e,ref:D,role:"dialog"},n.createElement("div",{"data-rmiz-modal-overlay":J}),n.createElement("div",{"data-rmiz-modal-content":"",ref:A},Q)),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 A(t){let[e,i]=n.useState(!1);return n.createElement(C,{...t,isZoomed:e,onZoomChange:i})}D.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.