1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[76752],{7593:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apps/assist/widgets/image-modal",function(){return n(79926)}])},51404:function(e,t,n){"use strict";var s=n(28598),a=(n(82684),n(24123)),o=n(15401);t.Z=e=>{let{open:t,image:n,images:l=[],currentIndex:i=0,onClose:r,onNext:c,onPrevious:d}=e;const u=l.length>1;return(0,s.jsx)(a.V,{open:t,onClose:r,className:"fixed inset-0 z-50 overflow-hidden",children:(0,s.jsxs)("div",{className:"flex min-h-screen items-center justify-center p-2",children:[(0,s.jsx)(a.V.Overlay,{className:"fixed inset-0 bg-black bg-opacity-75"}),(0,s.jsxs)("div",{className:"relative w-full h-full flex items-center justify-center",children:[(0,s.jsx)("button",{onClick:r,className:"absolute top-4 right-4 text-white p-2 hover:bg-gray-800/50 rounded-full transition-colors z-10",children:(0,s.jsx)(o.bjh,{className:"w-6 h-6"})}),u&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),null===d||void 0===d||d()},className:"absolute left-4 text-white p-2 hover:bg-gray-800/50 rounded-full transition-colors z-10",children:(0,s.jsx)(o.dUf,{className:"w-6 h-6"})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),null===c||void 0===c||c()},className:"absolute right-4 text-white p-2 hover:bg-gray-800/50 rounded-full transition-colors z-10",children:(0,s.jsx)(o.mzm,{className:"w-6 h-6"})})]}),(0,s.jsx)("img",{src:n,alt:"Full size image",className:"max-h-[90vh] max-w-[90vw] object-contain"}),u&&(0,s.jsxs)("div",{className:"absolute bottom-4 left-1/2 transform -translate-x-1/2 text-white bg-black/50 px-3 py-1 rounded-full text-sm",children:[i+1," / ",l.length]})]})]})})}},79926:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return d}});var s=n(28598),a=n(51404),o=n(1887),l=n.n(o),i=n(82684),r=n(81385);const c=e=>{let{}=e;const{t:t}=(0,r.$G)(),[n,o]=(0,i.useState)("");return(0,i.useEffect)((()=>{const e=e=>{var t,n;"image-modal"===(null===(t=e.data)||void 0===t?void 0:t.eventName)&&o(null===(n=e.data)||void 0===n?void 0:n.src)};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}}),[]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l(),{children:[(0,s.jsx)("title",{children:t("ChatWizard")}),(0,s.jsx)("style",{children:"\n body {\n background-color: transparent !important;\n }"})]}),(0,s.jsx)(a.Z,{open:!0,onClose:()=>{window.parent.postMessage({eventName:"image-modal",open:!1},"*")},image:n})]})};c.getLayout=e=>(0,s.jsx)(s.Fragment,{children:e});var d=!0;t.default=c}},function(e){e.O(0,[49774,92888,40179],(function(){return t=7593,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.