1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6954,2873],{98702:function(e,t,l){l.r(t);var o=l(57437),r=l(54620),i=l(88382),s=l(51268),n=l(48614),c=l(1188),a=l(2265),d=l(54887);t.default=a.memo(({show:e,zIndex:t=100,identifier:l,withExitButton:u=!1,onClose:f,children:h,title:y,maxWidth:m="md:max-w-2xl",bgColor:p="bg-gray-50",isFull:x,appHeight:b="auto",tabletHeight:w="md:h-fit md:max-h-[85dvh]"})=>{let[g,j]=(0,a.useState)(!1);(0,r.y)(e);let[v,C]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{C(e)},[e]),(0,a.useEffect)(()=>{document&&j(!0)},[]),g)?g&&(0,d.createPortal)((0,o.jsx)(n.M,{children:v&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.E.div,{onClick:e=>{e.stopPropagation(),f()},style:{zIndex:t},className:"fixed bottom-0 left-0 right-0 top-0 !z-[60] before:absolute before:right-0 before:top-0 before:z-10 before:h-full before:w-full before:bg-gray-700/50"}),(0,o.jsxs)(c.E.div,{onClick:e=>e.stopPropagation(),initial:{y:50,opacity:0},animate:{y:0,opacity:1,transition:{delay:.2}},exit:{y:50,opacity:0},transition:{duration:.3,type:"inertia"},style:{zIndex:t+1},className:`${m} p-4 ${p} ${x?"h-[100dvh] md:h-fit bg":"max-w-[90%] h-fit rounded-lg"} 2 app appHeight fixed bottom-0 left-0 right-0 top-0 z-[1000] m-auto 3 w-full flex flex-col max-h-dvh md:rounded-2xl no-scroller 4 overflow-y-auto`,children:[y?(0,o.jsxs)("button",{onClick:()=>{f()},className:`${p} justify-items-start border-b sticky top-0 left-0 z-50 text-gray-800 text-sm font-semibold capitalize w-full p-4 grid grid-cols-[24px,_1fr] gap-2`,children:[(0,o.jsx)(s.G,{icon:i.A35,className:"justify-self-center place-self-center"}),(0,o.jsx)("span",{children:y})]}):u&&(0,o.jsx)("button",{onClick:f,className:"absolute top-0 right-0 items-center justify-center size-8",children:(0,o.jsx)(s.G,{icon:i.EOp,className:"text-gray-500 w-3 text-sm"})}),(0,o.jsx)("div",{className:" grow ",children:h})]})]})}),window.document.body):null},(e,t)=>e.show===t.show&&e.identifier===t.identifier&&e.onClose===t.onClose&&e.children===t.children&&e.title===t.title&&e.maxWidth===t.maxWidth&&e.bgColor===t.bgColor&&e.isFull===t.isFull&&e.tabletHeight===t.tabletHeight)},54620:function(e,t,l){l.d(t,{y:function(){return r}});var o=l(2265);function r(e){let t=(0,o.useRef)(0),l=(0,o.useRef)(!1),r=(0,o.useRef)("");(0,o.useEffect)(()=>{let o=document.body;if(e){let e=o.style.overflow;if("hidden"===e){l.current=!1;return}r.current=e,t.current=window.scrollY,o.style.overflow="hidden",o.style.position="fixed",o.style.width="100%",o.style.top=`-${t.current}px`,o.style.left="0",l.current=!0}else l.current&&(i(),window.scrollTo(0,t.current),l.current=!1);return()=>{l.current&&(i(),window.scrollTo(0,t.current),l.current=!1)}},[e]);let i=()=>{let e=document.body;e.style.overflow=r.current||"",e.style.position="",e.style.width="",e.style.top="",e.style.left=""}}}}]); 5//# sourceMappingURL=6954.2d3aad540106b592.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.