PageSourceSearch

https://hypox.cz/_next/static/chunks/339.907a3e08d5cdb577.js

js hypox.cz collected 2026-10-07 07:51:13 UTC 5,444 bytes, 1 lines download raw bytes

1!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).__faroBundleId_hypox="178101845521450be3c033b"}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[339],{60339:function(e,t,n){n.r(t),n.d(t,{MapPageLayout:function(){return E}});var o=n(85893),r=n(52817),i=n(64522),a=n(32507),d=n(67294);function s(){let{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}let l=()=>{let[e,t]=(0,d.useState)(s());return(0,d.useEffect)(()=>{function e(){t(s())}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e};var c=n(61731),p=n(43001),h=n(26061);let u=(0,h.ZP)(p.z)(e=>{let{theme:{spacing:t}}=e;return{minWidth:"auto",padding:"".concat(t(1)," !important"),borderRadius:"8px"}});var x=n(23605),g=n(89551);let w=e=>{let{children:t}=e,[n,i]=(0,d.useState)(!1),a=e=>()=>{i(e)};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(F,{variant:"contained",color:"support",onClick:a(!n),"aria-label":n?"Close sidebar panel":"Open sidebar panel",open:n,children:(0,o.jsx)(C,{display:"flex",open:n,children:(0,o.jsx)(r._M,{})})}),(0,o.jsx)(v,{anchor:"bottom",open:n,disableSwipeToOpen:!1,swipeAreaWidth:250,onClose:a(!1),onOpen:a(!0),ModalProps:{keepMounted:!0},children:(0,o.jsxs)(P,{drawerBleeding:250,children:[(0,o.jsx)(Z,{}),(0,o.jsx)(c.x,{overflow:"scroll",children:(0,o.jsx)(y,{children:t})})]})})]})},f="351px",b="min(62%, 915px)",m=(e,t)=>({width:b,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),height:"calc(100% - ".concat(80+t,"px)"),top:i.L.desktop+t}),k=(e,t)=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),width:f,height:"calc(100% - ".concat(80+t,"px)"),top:i.L.desktop+t}),j=(0,h.ZP)(e=>(0,o.jsx)(x.ZP,{...e}),{shouldForwardProp:e=>"open"!==e&&"topGutter"!==e})(e=>{let{theme:t,open:n,topGutter:o=0}=e;return{width:n?b:f,flexShrink:0,boxSizing:"border-box",...n&&{...m
1(t,o),"& .MuiDrawer-paper":m(t,o)},...!n&&{...k(t,o),"& .MuiDrawer-paper":k(t,o)}}}),P=(0,h.ZP)(c.x,{shouldForwardProp:e=>"drawerBleeding"!==e})(e=>{var t;let{drawerBleeding:n,theme:{palette:o,spacing:r}}=e;return{display:"flex",flexDirection:"column",position:"absolute",top:-n,visibility:"visible",right:0,left:0,height:"calc(100% + ".concat(n,"px)"),background:null===(t=o.white)||void 0===t?void 0:t.main,paddingTop:r(3)}}),v=(0,h.ZP)(e=>(0,o.jsx)(g.Z,{...e}))(e=>{let{swipeAreaWidth:t}=e;return{"& > .MuiPaper-root":{height:"calc(100% - 72px - ".concat(t,"px)"),overflow:"visible"},"& > .MuiBackdrop-root":{background:"transparent"}}}),Z=(0,h.ZP)(c.x)(e=>{let{theme:{palette:t}}=e;return{width:32,height:4,backgroundColor:t.grey[300],borderRadius:2,position:"absolute",top:8,left:"calc(50% - 15px)"}}),y=(0,h.ZP)(c.x,{shouldForwardProp:e=>"disableTopPadding"!==e})(e=>{let{theme:{breakpoints:t,spacing:n,palette:o},disableTopPadding:r}=e;return{display:"flex",flexDirection:"column",flexGrow:1,padding:"".concat(n(1)," ").concat(n(2)," ").concat(n(2)),background:o.white.main,[t.up("desktop")]:{padding:"".concat(n(r?0:4)," ").concat(n(3)," ").concat(n(3))}}}),F=(0,h.ZP)(u,{shouldForwardProp:e=>"open"!==e})(e=>{let{theme:t,open:n}=e;return{position:"fixed",right:t.spacing(2),top:n?"calc(72px + ".concat(t.spacing(1),")"):"calc(100% - ".concat(250,"px + ").concat(t.spacing(1),")"),zIndex:t.zIndex.modal+1,transition:"top 200ms ease"}}),C=(0,h.ZP)(c.x,{shouldForwardProp:e=>"open"!==e})(e=>{let{open:t}=e;return{transform:t?"rotate(0deg)":"rotate(180deg)",transition:"transform 200ms ease"}}),L=e=>{let{children:t,sidebarBackground:n,open:r=!1,topGutter:i=0}=e;return(0,o.jsx)(j,{variant:"permanent",open:r,topGutter:i,children:(0,o.jsx)(y,{sx:{backgroundColor:n},disableTopPadding:!!i,children:t})})},_={mobile:72,desktop:80},M=(0,h.ZP)(c.x,{shouldForwardProp:e=>"innerHeight"!==e&&"topGutter"!==e})(e=>{let{innerHeight:t=56,theme:{breakpoints:n},topGutter:o=0}=e;return{flexGrow:1,height:t-i.L.mobile,position:"relative",[n.up("desktop")]:{height:"calc(100vh - ".concat(i.L.desktop+o,"px)")}}}),z=(0,h.ZP)(c.x,{shouldForwardProp:e=>"innerHeight"!==e})(e=>{let{innerHeight:t=56,theme:{breakpoints:n}}=e;return{width:"100%",height:t-i.L.mobile,position:"relative",[n.up("desktop")]:{height:"calc(100vh - ".concat(i.L.desktop+_.desktop,"px)")}}}),G=(0,h.ZP)(c.x)({height:"100%",paddingBottom:"250px"}),S=(0,h.ZP)(c.x)({position:"absolute",zIndex:1001,top:20,left:20}),B=(0,h.ZP)(c.x)(e=>{let{theme:{breakpoints:t,palette:n,spacing:o}}=e;return{height:_.mobile,background:n.white.main,padding:"0 ".concat(o(2)),[t.up("desktop")]:{height:_.desktop,padding:"0 ".concat(o(3))}}}),E=e=>{let{sidebarComponent:t,mapComponent:n,filters:d=null,expandedSidebar:s,onExpandButtonClick:p}=e,{isDesktop:h}=(0,a.kC)(!0),{height:x}=l();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.u,{}),!h&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(w,{children:t}),(0,o.jsx)(z,{innerHeight:x,children:(0,o.jsx)(G,{children:n})})]}),h&&(0,o.jsxs)(o.Fragment,{children:[d&&(0,o.jsx)(B,{children:d}),(0,o.jsxs)(c.x,{display:"flex",children:[(0,o.jsx)(L,{open:s,topGutter:d?_.desktop:0,children:t}),(0,o.jsxs)(M,{topGutter:d?_.desktop:0,children:[p&&(0,o.jsx)(S,{children:(0,o.jsx)(u,{variant:"contained",color:"support",onClick:p,children:s?(0,o.jsx)(r.s$,{}):(0,o.jsx)(r._Q,{})})}),n]})]})]})]})}}}]);

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.