diff --git a/8/assets/index-8a5b1af3.css b/8/assets/index-8a5b1af3.css new file mode 100644 index 0000000..f25ef9c --- /dev/null +++ b/8/assets/index-8a5b1af3.css @@ -0,0 +1 @@ +.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff;background:rgba(255,255,255,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;border:none;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff} diff --git a/8/assets/index-bf4409b4.js b/8/assets/index-bf4409b4.js new file mode 100644 index 0000000..8360e5d --- /dev/null +++ b/8/assets/index-bf4409b4.js @@ -0,0 +1,101 @@ +function dg(e,t){for(var i=0;io[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const c of l.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&o(c)}).observe(document,{childList:!0,subtree:!0});function i(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function o(s){if(s.ep)return;s.ep=!0;const l=i(s);fetch(s.href,l)}})();var pg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hp={exports:{}},ia={},dp={exports:{}},Q={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var wo=Symbol.for("react.element"),_g=Symbol.for("react.portal"),vg=Symbol.for("react.fragment"),gg=Symbol.for("react.strict_mode"),yg=Symbol.for("react.profiler"),wg=Symbol.for("react.provider"),xg=Symbol.for("react.context"),Pg=Symbol.for("react.forward_ref"),Sg=Symbol.for("react.suspense"),kg=Symbol.for("react.memo"),Eg=Symbol.for("react.lazy"),Oh=Symbol.iterator;function Lg(e){return e===null||typeof e!="object"?null:(e=Oh&&e[Oh]||e["@@iterator"],typeof e=="function"?e:null)}var pp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},mp=Object.assign,_p={};function or(e,t,i){this.props=e,this.context=t,this.refs=_p,this.updater=i||pp}or.prototype.isReactComponent={};or.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};or.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function vp(){}vp.prototype=or.prototype;function _c(e,t,i){this.props=e,this.context=t,this.refs=_p,this.updater=i||pp}var vc=_c.prototype=new vp;vc.constructor=_c;mp(vc,or.prototype);vc.isPureReactComponent=!0;var Mh=Array.isArray,gp=Object.prototype.hasOwnProperty,gc={current:null},yp={key:!0,ref:!0,__self:!0,__source:!0};function wp(e,t,i){var o,s={},l=null,c=null;if(t!=null)for(o in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(l=""+t.key),t)gp.call(t,o)&&!yp.hasOwnProperty(o)&&(s[o]=t[o]);var h=arguments.length-2;if(h===1)s.children=i;else if(1>>1,ie=M[H];if(0>>1;Hs(ne,D))res(Ve,ne)?(M[H]=Ve,M[re]=D,H=re):(M[H]=ne,M[le]=D,H=le);else if(res(Ve,D))M[H]=Ve,M[re]=D,H=re;else break e}}return V}function s(M,V){var D=M.sortIndex-V.sortIndex;return D!==0?D:M.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var c=Date,h=c.now();e.unstable_now=function(){return c.now()-h}}var d=[],p=[],g=1,w=null,P=3,T=!1,C=!1,k=!1,I=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(M){for(var V=i(p);V!==null;){if(V.callback===null)o(p);else if(V.startTime<=M)o(p),V.sortIndex=V.expirationTime,t(d,V);else break;V=i(p)}}function O(M){if(k=!1,S(M),!C)if(i(d)!==null)C=!0,je(A);else{var V=i(p);V!==null&&Ft(O,V.startTime-M)}}function A(M,V){C=!1,k&&(k=!1,x($),$=-1),T=!0;var D=P;try{for(S(V),w=i(d);w!==null&&(!(w.expirationTime>V)||M&&!q());){var H=w.callback;if(typeof H=="function"){w.callback=null,P=w.priorityLevel;var ie=H(w.expirationTime<=V);V=e.unstable_now(),typeof ie=="function"?w.callback=ie:w===i(d)&&o(d),S(V)}else o(d);w=i(d)}if(w!==null)var Ce=!0;else{var le=i(p);le!==null&&Ft(O,le.startTime-V),Ce=!1}return Ce}finally{w=null,P=D,T=!1}}var F=!1,b=null,$=-1,J=5,W=-1;function q(){return!(e.unstable_now()-WM||125H?(M.sortIndex=D,t(p,M),i(d)===null&&M===i(p)&&(k?(x($),$=-1):k=!0,Ft(O,D-H))):(M.sortIndex=ie,t(d,M),C||T||(C=!0,je(A))),M},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(M){var V=P;return function(){var D=P;P=V;try{return M.apply(this,arguments)}finally{P=D}}}})(kp);Sp.exports=kp;var Bg=Sp.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ep=R,nt=Bg;function j(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mu=Object.prototype.hasOwnProperty,bg=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,jh={},Ih={};function Zg(e){return mu.call(Ih,e)?!0:mu.call(jh,e)?!1:bg.test(e)?Ih[e]=!0:(jh[e]=!0,!1)}function Fg(e,t,i,o){if(i!==null&&i.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function $g(e,t,i,o){if(t===null||typeof t>"u"||Fg(e,t,i,o))return!0;if(o)return!1;if(i!==null)switch(i.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function He(e,t,i,o,s,l,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=c}var Ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ae[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ae[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ae[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ae[e]=new He(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ae[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ae[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ae[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ae[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ae[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var wc=/[\-:]([a-z])/g;function xc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(wc,xc);Ae[t]=new He(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(wc,xc);Ae[t]=new He(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(wc,xc);Ae[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ae[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});Ae.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ae[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pc(e,t,i,o){var s=Ae.hasOwnProperty(t)?Ae[t]:null;(s!==null?s.type!==0:o||!(2h||s[c]!==l[h]){var d=` +`+s[c].replace(" at new "," at ");return e.displayName&&d.includes("")&&(d=d.replace("",e.displayName)),d}while(1<=c&&0<=h);break}}}finally{Rl=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?Ar(e):""}function Ug(e){switch(e.tag){case 5:return Ar(e.type);case 16:return Ar("Lazy");case 13:return Ar("Suspense");case 19:return Ar("SuspenseList");case 0:case 2:case 15:return e=Al(e.type,!1),e;case 11:return e=Al(e.type.render,!1),e;case 1:return e=Al(e.type,!0),e;default:return""}}function yu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Li:return"Fragment";case Ei:return"Portal";case _u:return"Profiler";case Sc:return"StrictMode";case vu:return"Suspense";case gu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Tp:return(e.displayName||"Context")+".Consumer";case Cp:return(e._context.displayName||"Context")+".Provider";case kc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ec:return t=e.displayName||null,t!==null?t:yu(e.type)||"Memo";case dn:t=e._payload,e=e._init;try{return yu(e(t))}catch{}}return null}function Wg(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return yu(t);case 8:return t===Sc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function On(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Op(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hg(e){var t=Op(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var s=i.get,l=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(c){o=""+c,l.call(this,c)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(c){o=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xo(e){e._valueTracker||(e._valueTracker=Hg(e))}function Mp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),o="";return e&&(o=Op(e)?e.checked?"true":"false":e.value),e=o,e!==i?(t.setValue(e),!0):!1}function Es(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function wu(e,t){var i=t.checked;return ve({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Ah(e,t){var i=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;i=On(t.value!=null?t.value:i),e._wrapperState={initialChecked:o,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function zp(e,t){t=t.checked,t!=null&&Pc(e,"checked",t,!1)}function xu(e,t){zp(e,t);var i=On(t.value),o=t.type;if(i!=null)o==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Pu(e,t.type,i):t.hasOwnProperty("defaultValue")&&Pu(e,t.type,On(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Dh(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Pu(e,t,i){(t!=="number"||Es(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Dr=Array.isArray;function bi(e,t,i,o){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=Jo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xr(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var $r={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Vg=["Webkit","ms","Moz","O"];Object.keys($r).forEach(function(e){Vg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),$r[t]=$r[e]})});function Ap(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||$r.hasOwnProperty(e)&&$r[e]?(""+t).trim():t+"px"}function Dp(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var o=i.indexOf("--")===0,s=Ap(i,t[i],o);i==="float"&&(i="cssFloat"),o?e.setProperty(i,s):e[i]=s}}var Gg=ve({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Eu(e,t){if(t){if(Gg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Lu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Cu=null;function Lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Tu=null,Zi=null,Fi=null;function Zh(e){if(e=So(e)){if(typeof Tu!="function")throw Error(j(280));var t=e.stateNode;t&&(t=ua(t),Tu(e.stateNode,e.type,t))}}function Bp(e){Zi?Fi?Fi.push(e):Fi=[e]:Zi=e}function bp(){if(Zi){var e=Zi,t=Fi;if(Fi=Zi=null,Zh(e),t)for(e=0;e>>=0,e===0?32:31-(ry(e)/oy|0)|0}var es=64,ts=4194304;function Br(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ns(e,t){var i=e.pendingLanes;if(i===0)return 0;var o=0,s=e.suspendedLanes,l=e.pingedLanes,c=i&268435455;if(c!==0){var h=c&~s;h!==0?o=Br(h):(l&=c,l!==0&&(o=Br(l)))}else c=i&~s,c!==0?o=Br(c):l!==0&&(o=Br(l));if(o===0)return 0;if(t!==0&&t!==o&&!(t&s)&&(s=o&-o,l=t&-t,s>=l||s===16&&(l&4194240)!==0))return t;if(o&4&&(o|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0i;i++)t.push(e);return t}function xo(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Lt(t),e[t]=i}function uy(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var o=e.eventTimes;for(e=e.expirationTimes;0=Wr),Qh=String.fromCharCode(32),qh=!1;function om(e,t){switch(e){case"keyup":return Dy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ci=!1;function by(e,t){switch(e){case"compositionend":return sm(t);case"keypress":return t.which!==32?null:(qh=!0,Qh);case"textInput":return e=t.data,e===Qh&&qh?null:e;default:return null}}function Zy(e,t){if(Ci)return e==="compositionend"||!Ic&&om(e,t)?(e=im(),_s=Mc=gn=null,Ci=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:i,offset:t-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=ed(i)}}function cm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?cm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fm(){for(var e=window,t=Es();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Es(e.document)}return t}function Rc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Qy(e){var t=fm(),i=e.focusedElem,o=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&cm(i.ownerDocument.documentElement,i)){if(o!==null&&Rc(i)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=i.textContent.length,l=Math.min(o.start,s);o=o.end===void 0?l:Math.min(o.end,s),!e.extend&&l>o&&(s=o,o=l,l=s),s=td(i,l);var c=td(i,o);s&&c&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),l>o?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,Ti=null,Iu=null,Vr=null,Ru=!1;function nd(e,t,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ru||Ti==null||Ti!==Es(o)||(o=Ti,"selectionStart"in o&&Rc(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Vr&&ro(Vr,o)||(Vr=o,o=zs(Iu,"onSelect"),0Mi||(e.current=Fu[Mi],Fu[Mi]=null,Mi--)}function ue(e,t){Mi++,Fu[Mi]=e.current,e.current=t}var Mn={},Fe=Rn(Mn),Qe=Rn(!1),ei=Mn;function Qi(e,t){var i=e.type.contextTypes;if(!i)return Mn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={},l;for(l in i)s[l]=t[l];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function qe(e){return e=e.childContextTypes,e!=null}function Is(){fe(Qe),fe(Fe)}function ud(e,t,i){if(Fe.current!==Mn)throw Error(j(168));ue(Fe,t),ue(Qe,i)}function wm(e,t,i){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return i;o=o.getChildContext();for(var s in o)if(!(s in t))throw Error(j(108,Wg(e)||"Unknown",s));return ve({},i,o)}function Rs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mn,ei=Fe.current,ue(Fe,e),ue(Qe,Qe.current),!0}function cd(e,t,i){var o=e.stateNode;if(!o)throw Error(j(169));i?(e=wm(e,t,ei),o.__reactInternalMemoizedMergedChildContext=e,fe(Qe),fe(Fe),ue(Fe,e)):fe(Qe),ue(Qe,i)}var Qt=null,ca=!1,ql=!1;function xm(e){Qt===null?Qt=[e]:Qt.push(e)}function a0(e){ca=!0,xm(e)}function An(){if(!ql&&Qt!==null){ql=!0;var e=0,t=oe;try{var i=Qt;for(oe=1;e>=c,s-=c,qt=1<<32-Lt(t)+s|i<$?(J=b,b=null):J=b.sibling;var W=P(x,b,S[$],O);if(W===null){b===null&&(b=J);break}e&&b&&W.alternate===null&&t(x,b),v=l(W,v,$),F===null?A=W:F.sibling=W,F=W,b=J}if($===S.length)return i(x,b),de&&Wn(x,$),A;if(b===null){for(;$$?(J=b,b=null):J=b.sibling;var q=P(x,b,W.value,O);if(q===null){b===null&&(b=J);break}e&&b&&q.alternate===null&&t(x,b),v=l(q,v,$),F===null?A=q:F.sibling=q,F=q,b=J}if(W.done)return i(x,b),de&&Wn(x,$),A;if(b===null){for(;!W.done;$++,W=S.next())W=w(x,W.value,O),W!==null&&(v=l(W,v,$),F===null?A=W:F.sibling=W,F=W);return de&&Wn(x,$),A}for(b=o(x,b);!W.done;$++,W=S.next())W=T(b,x,$,W.value,O),W!==null&&(e&&W.alternate!==null&&b.delete(W.key===null?$:W.key),v=l(W,v,$),F===null?A=W:F.sibling=W,F=W);return e&&b.forEach(function(Se){return t(x,Se)}),de&&Wn(x,$),A}function I(x,v,S,O){if(typeof S=="object"&&S!==null&&S.type===Li&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case Yo:e:{for(var A=S.key,F=v;F!==null;){if(F.key===A){if(A=S.type,A===Li){if(F.tag===7){i(x,F.sibling),v=s(F,S.props.children),v.return=x,x=v;break e}}else if(F.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===dn&&vd(A)===F.type){i(x,F.sibling),v=s(F,S.props),v.ref=zr(x,F,S),v.return=x,x=v;break e}i(x,F);break}else t(x,F);F=F.sibling}S.type===Li?(v=Xn(S.props.children,x.mode,O,S.key),v.return=x,x=v):(O=ks(S.type,S.key,S.props,null,x.mode,O),O.ref=zr(x,v,S),O.return=x,x=O)}return c(x);case Ei:e:{for(F=S.key;v!==null;){if(v.key===F)if(v.tag===4&&v.stateNode.containerInfo===S.containerInfo&&v.stateNode.implementation===S.implementation){i(x,v.sibling),v=s(v,S.children||[]),v.return=x,x=v;break e}else{i(x,v);break}else t(x,v);v=v.sibling}v=ru(S,x.mode,O),v.return=x,x=v}return c(x);case dn:return F=S._init,I(x,v,F(S._payload),O)}if(Dr(S))return C(x,v,S,O);if(Cr(S))return k(x,v,S,O);ls(x,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,v!==null&&v.tag===6?(i(x,v.sibling),v=s(v,S),v.return=x,x=v):(i(x,v),v=iu(S,x.mode,O),v.return=x,x=v),c(x)):i(x,v)}return I}var Yi=Nm(!0),Om=Nm(!1),ko={},Bt=Rn(ko),lo=Rn(ko),uo=Rn(ko);function Qn(e){if(e===ko)throw Error(j(174));return e}function Wc(e,t){switch(ue(uo,t),ue(lo,e),ue(Bt,ko),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ku(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ku(t,e)}fe(Bt),ue(Bt,t)}function Xi(){fe(Bt),fe(lo),fe(uo)}function Mm(e){Qn(uo.current);var t=Qn(Bt.current),i=ku(t,e.type);t!==i&&(ue(lo,e),ue(Bt,i))}function Hc(e){lo.current===e&&(fe(Bt),fe(lo))}var me=Rn(0);function Fs(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Yl=[];function Vc(){for(var e=0;ei?i:4,e(!0);var o=Xl.transition;Xl.transition={};try{e(!1),t()}finally{oe=i,Xl.transition=o}}function Gm(){return _t().memoizedState}function f0(e,t,i){var o=Cn(e);if(i={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null},Km(e))Qm(t,i);else if(i=Em(e,t,i,o),i!==null){var s=Ue();Ct(i,e,o,s),qm(i,t,o)}}function h0(e,t,i){var o=Cn(e),s={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null};if(Km(e))Qm(t,s);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var c=t.lastRenderedState,h=l(c,i);if(s.hasEagerState=!0,s.eagerState=h,Tt(h,c)){var d=t.interleaved;d===null?(s.next=s,$c(t)):(s.next=d.next,d.next=s),t.interleaved=s;return}}catch{}finally{}i=Em(e,t,s,o),i!==null&&(s=Ue(),Ct(i,e,o,s),qm(i,t,o))}}function Km(e){var t=e.alternate;return e===_e||t!==null&&t===_e}function Qm(e,t){Gr=$s=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function qm(e,t,i){if(i&4194240){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,Tc(e,i)}}var Us={readContext:mt,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},d0={readContext:mt,useCallback:function(e,t){return Rt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:yd,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,ws(4194308,4,$m.bind(null,t,e),i)},useLayoutEffect:function(e,t){return ws(4194308,4,e,t)},useInsertionEffect:function(e,t){return ws(4,2,e,t)},useMemo:function(e,t){var i=Rt();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var o=Rt();return t=i!==void 0?i(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=f0.bind(null,_e,e),[o.memoizedState,e]},useRef:function(e){var t=Rt();return e={current:e},t.memoizedState=e},useState:gd,useDebugValue:Yc,useDeferredValue:function(e){return Rt().memoizedState=e},useTransition:function(){var e=gd(!1),t=e[0];return e=c0.bind(null,e[1]),Rt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var o=_e,s=Rt();if(de){if(i===void 0)throw Error(j(407));i=i()}else{if(i=t(),Me===null)throw Error(j(349));ni&30||Im(o,t,i)}s.memoizedState=i;var l={value:i,getSnapshot:t};return s.queue=l,yd(Am.bind(null,o,l,e),[e]),o.flags|=2048,ho(9,Rm.bind(null,o,l,i,t),void 0,null),i},useId:function(){var e=Rt(),t=Me.identifierPrefix;if(de){var i=Yt,o=qt;i=(o&~(1<<32-Lt(o)-1)).toString(32)+i,t=":"+t+"R"+i,i=co++,0<\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=c.createElement(i,{is:o.is}):(e=c.createElement(i),i==="select"&&(c=e,o.multiple?c.multiple=!0:o.size&&(c.size=o.size))):e=c.createElementNS(e,i),e[At]=t,e[ao]=o,o_(e,t,!1,!1),t.stateNode=e;e:{switch(c=Lu(i,o),i){case"dialog":ce("cancel",e),ce("close",e),s=o;break;case"iframe":case"object":case"embed":ce("load",e),s=o;break;case"video":case"audio":for(s=0;ser&&(t.flags|=128,o=!0,jr(l,!1),t.lanes=4194304)}else{if(!o)if(e=Fs(c),e!==null){if(t.flags|=128,o=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),jr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!de)return Be(t),null}else 2*xe()-l.renderingStartTime>er&&i!==1073741824&&(t.flags|=128,o=!0,jr(l,!1),t.lanes=4194304);l.isBackwards?(c.sibling=t.child,t.child=c):(i=l.last,i!==null?i.sibling=c:t.child=c,l.last=c)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=xe(),t.sibling=null,i=me.current,ue(me,o?i&1|2:i&1),t):(Be(t),null);case 22:case 23:return rf(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?Xe&1073741824&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function x0(e,t){switch(Dc(t),t.tag){case 1:return qe(t.type)&&Is(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xi(),fe(Qe),fe(Fe),Vc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Hc(t),null;case 13:if(fe(me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));qi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(me),null;case 4:return Xi(),null;case 10:return Fc(t.type._context),null;case 22:case 23:return rf(),null;case 24:return null;default:return null}}var cs=!1,Ze=!1,P0=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Ri(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(o){ye(e,t,o)}else i.current=null}function Ju(e,t,i){try{i()}catch(o){ye(e,t,o)}}var Td=!1;function S0(e,t){if(Au=Os,e=fm(),Rc(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var s=o.anchorOffset,l=o.focusNode;o=o.focusOffset;try{i.nodeType,l.nodeType}catch{i=null;break e}var c=0,h=-1,d=-1,p=0,g=0,w=e,P=null;t:for(;;){for(var T;w!==i||s!==0&&w.nodeType!==3||(h=c+s),w!==l||o!==0&&w.nodeType!==3||(d=c+o),w.nodeType===3&&(c+=w.nodeValue.length),(T=w.firstChild)!==null;)P=w,w=T;for(;;){if(w===e)break t;if(P===i&&++p===s&&(h=c),P===l&&++g===o&&(d=c),(T=w.nextSibling)!==null)break;w=P,P=w.parentNode}w=T}i=h===-1||d===-1?null:{start:h,end:d}}else i=null}i=i||{start:0,end:0}}else i=null;for(Du={focusedElem:e,selectionRange:i},Os=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var C=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var k=C.memoizedProps,I=C.memoizedState,x=t.stateNode,v=x.getSnapshotBeforeUpdate(t.elementType===t.type?k:Pt(t.type,k),I);x.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(O){ye(t,t.return,O)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return C=Td,Td=!1,C}function Kr(e,t,i){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var s=o=o.next;do{if((s.tag&e)===e){var l=s.destroy;s.destroy=void 0,l!==void 0&&Ju(t,i,l)}s=s.next}while(s!==o)}}function da(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var o=i.create;i.destroy=o()}i=i.next}while(i!==t)}}function ec(e){var t=e.ref;if(t!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof t=="function"?t(e):t.current=e}}function l_(e){var t=e.alternate;t!==null&&(e.alternate=null,l_(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[At],delete t[ao],delete t[Zu],delete t[o0],delete t[s0])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function u_(e){return e.tag===5||e.tag===3||e.tag===4}function Nd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||u_(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function tc(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=js));else if(o!==4&&(e=e.child,e!==null))for(tc(e,t,i),e=e.sibling;e!==null;)tc(e,t,i),e=e.sibling}function nc(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(nc(e,t,i),e=e.sibling;e!==null;)nc(e,t,i),e=e.sibling}var Ie=null,St=!1;function hn(e,t,i){for(i=i.child;i!==null;)c_(e,t,i),i=i.sibling}function c_(e,t,i){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(oa,i)}catch{}switch(i.tag){case 5:Ze||Ri(i,t);case 6:var o=Ie,s=St;Ie=null,hn(e,t,i),Ie=o,St=s,Ie!==null&&(St?(e=Ie,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):Ie.removeChild(i.stateNode));break;case 18:Ie!==null&&(St?(e=Ie,i=i.stateNode,e.nodeType===8?Ql(e.parentNode,i):e.nodeType===1&&Ql(e,i),no(e)):Ql(Ie,i.stateNode));break;case 4:o=Ie,s=St,Ie=i.stateNode.containerInfo,St=!0,hn(e,t,i),Ie=o,St=s;break;case 0:case 11:case 14:case 15:if(!Ze&&(o=i.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){s=o=o.next;do{var l=s,c=l.destroy;l=l.tag,c!==void 0&&(l&2||l&4)&&Ju(i,t,c),s=s.next}while(s!==o)}hn(e,t,i);break;case 1:if(!Ze&&(Ri(i,t),o=i.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(h){ye(i,t,h)}hn(e,t,i);break;case 21:hn(e,t,i);break;case 22:i.mode&1?(Ze=(o=Ze)||i.memoizedState!==null,hn(e,t,i),Ze=o):hn(e,t,i);break;default:hn(e,t,i)}}function Od(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new P0),t.forEach(function(o){var s=z0.bind(null,e,o);i.has(o)||(i.add(o),o.then(s,s))})}}function xt(e,t){var i=t.deletions;if(i!==null)for(var o=0;os&&(s=c),o&=~l}if(o=s,o=xe()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*E0(o/1960))-o,10e?16:e,yn===null)var o=!1;else{if(e=yn,yn=null,Vs=0,X&6)throw Error(j(331));var s=X;for(X|=4,Z=e.current;Z!==null;){var l=Z,c=l.child;if(Z.flags&16){var h=l.deletions;if(h!==null){for(var d=0;dxe()-tf?Yn(e,0):ef|=i),Ye(e,t)}function g_(e,t){t===0&&(e.mode&1?(t=ts,ts<<=1,!(ts&130023424)&&(ts=4194304)):t=1);var i=Ue();e=tn(e,t),e!==null&&(xo(e,t,i),Ye(e,i))}function M0(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),g_(e,i)}function z0(e,t){var i=0;switch(e.tag){case 13:var o=e.stateNode,s=e.memoizedState;s!==null&&(i=s.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(j(314))}o!==null&&o.delete(t),g_(e,i)}var y_;y_=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||Qe.current)Ke=!0;else{if(!(e.lanes&i)&&!(t.flags&128))return Ke=!1,y0(e,t,i);Ke=!!(e.flags&131072)}else Ke=!1,de&&t.flags&1048576&&Pm(t,Ds,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;xs(e,t),e=t.pendingProps;var s=Qi(t,Fe.current);Ui(t,i),s=Kc(null,t,o,e,s,i);var l=Qc();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qe(o)?(l=!0,Rs(t)):l=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Uc(t),s.updater=fa,t.stateNode=s,s._reactInternals=t,Vu(t,o,e,i),t=Qu(null,t,o,!0,l,i)):(t.tag=0,de&&l&&Ac(t),$e(null,t,s,i),t=t.child),t;case 16:o=t.elementType;e:{switch(xs(e,t),e=t.pendingProps,s=o._init,o=s(o._payload),t.type=o,s=t.tag=I0(o),e=Pt(o,e),s){case 0:t=Ku(null,t,o,e,i);break e;case 1:t=Ed(null,t,o,e,i);break e;case 11:t=Sd(null,t,o,e,i);break e;case 14:t=kd(null,t,o,Pt(o.type,e),i);break e}throw Error(j(306,o,""))}return t;case 0:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),Ku(e,t,o,s,i);case 1:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),Ed(e,t,o,s,i);case 3:e:{if(n_(t),e===null)throw Error(j(387));o=t.pendingProps,l=t.memoizedState,s=l.element,Lm(e,t),Zs(t,o,null,i);var c=t.memoizedState;if(o=c.element,l.isDehydrated)if(l={element:o,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){s=Ji(Error(j(423)),t),t=Ld(e,t,o,i,s);break e}else if(o!==s){s=Ji(Error(j(424)),t),t=Ld(e,t,o,i,s);break e}else for(et=kn(t.stateNode.containerInfo.firstChild),tt=t,de=!0,kt=null,i=Om(t,null,o,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(qi(),o===s){t=nn(e,t,i);break e}$e(e,t,o,i)}t=t.child}return t;case 5:return Mm(t),e===null&&Uu(t),o=t.type,s=t.pendingProps,l=e!==null?e.memoizedProps:null,c=s.children,Bu(o,s)?c=null:l!==null&&Bu(o,l)&&(t.flags|=32),t_(e,t),$e(e,t,c,i),t.child;case 6:return e===null&&Uu(t),null;case 13:return i_(e,t,i);case 4:return Wc(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Yi(t,null,o,i):$e(e,t,o,i),t.child;case 11:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),Sd(e,t,o,s,i);case 7:return $e(e,t,t.pendingProps,i),t.child;case 8:return $e(e,t,t.pendingProps.children,i),t.child;case 12:return $e(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(o=t.type._context,s=t.pendingProps,l=t.memoizedProps,c=s.value,ue(Bs,o._currentValue),o._currentValue=c,l!==null)if(Tt(l.value,c)){if(l.children===s.children&&!Qe.current){t=nn(e,t,i);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var h=l.dependencies;if(h!==null){c=l.child;for(var d=h.firstContext;d!==null;){if(d.context===o){if(l.tag===1){d=Xt(-1,i&-i),d.tag=2;var p=l.updateQueue;if(p!==null){p=p.shared;var g=p.pending;g===null?d.next=d:(d.next=g.next,g.next=d),p.pending=d}}l.lanes|=i,d=l.alternate,d!==null&&(d.lanes|=i),Wu(l.return,i,t),h.lanes|=i;break}d=d.next}}else if(l.tag===10)c=l.type===t.type?null:l.child;else if(l.tag===18){if(c=l.return,c===null)throw Error(j(341));c.lanes|=i,h=c.alternate,h!==null&&(h.lanes|=i),Wu(c,i,t),c=l.sibling}else c=l.child;if(c!==null)c.return=l;else for(c=l;c!==null;){if(c===t){c=null;break}if(l=c.sibling,l!==null){l.return=c.return,c=l;break}c=c.return}l=c}$e(e,t,s.children,i),t=t.child}return t;case 9:return s=t.type,o=t.pendingProps.children,Ui(t,i),s=mt(s),o=o(s),t.flags|=1,$e(e,t,o,i),t.child;case 14:return o=t.type,s=Pt(o,t.pendingProps),s=Pt(o.type,s),kd(e,t,o,s,i);case 15:return Jm(e,t,t.type,t.pendingProps,i);case 17:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),xs(e,t),t.tag=1,qe(o)?(e=!0,Rs(t)):e=!1,Ui(t,i),Tm(t,o,s),Vu(t,o,s,i),Qu(null,t,o,!0,e,i);case 19:return r_(e,t,i);case 22:return e_(e,t,i)}throw Error(j(156,t.tag))};function w_(e,t){return Vp(e,t)}function j0(e,t,i,o){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dt(e,t,i,o){return new j0(e,t,i,o)}function sf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function I0(e){if(typeof e=="function")return sf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===kc)return 11;if(e===Ec)return 14}return 2}function Tn(e,t){var i=e.alternate;return i===null?(i=dt(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function ks(e,t,i,o,s,l){var c=2;if(o=e,typeof e=="function")sf(e)&&(c=1);else if(typeof e=="string")c=5;else e:switch(e){case Li:return Xn(i.children,s,l,t);case Sc:c=8,s|=8;break;case _u:return e=dt(12,i,t,s|2),e.elementType=_u,e.lanes=l,e;case vu:return e=dt(13,i,t,s),e.elementType=vu,e.lanes=l,e;case gu:return e=dt(19,i,t,s),e.elementType=gu,e.lanes=l,e;case Np:return ma(i,s,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Cp:c=10;break e;case Tp:c=9;break e;case kc:c=11;break e;case Ec:c=14;break e;case dn:c=16,o=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=dt(c,i,t,s),t.elementType=e,t.type=o,t.lanes=l,t}function Xn(e,t,i,o){return e=dt(7,e,o,t),e.lanes=i,e}function ma(e,t,i,o){return e=dt(22,e,o,t),e.elementType=Np,e.lanes=i,e.stateNode={isHidden:!1},e}function iu(e,t,i){return e=dt(6,e,null,t),e.lanes=i,e}function ru(e,t,i){return t=dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function R0(e,t,i,o,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Bl(0),this.expirationTimes=Bl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bl(0),this.identifierPrefix=o,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function af(e,t,i,o,s,l,c,h,d){return e=new R0(e,t,i,h,d),t===1?(t=1,l===!0&&(t|=8)):t=0,l=dt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:o,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Uc(l),e}function A0(e,t,i){var o=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(k_)}catch(e){console.error(e)}}k_(),Pp.exports=rt;var E_=Pp.exports,Bd=E_;pu.createRoot=Bd.createRoot,pu.hydrateRoot=Bd.hydrateRoot;var wa=(e=>(e.favourites="favorites__places",e.nearest="near-places__list places__list",e.standart="cities__places-list places__list tabs__content",e))(wa||{});const F0=new Map([["favorites__places","favorites__card place-card"],["near-places__list places__list","near-places__card place-card"],["cities__places-list places__list tabs__content","cities__card place-card"]]),Je={POPULAR:"Popular",LOW_TO_HIGH:"Price: low to high",HIGH_TO_LOW:"Price: high to low",TOP_RATED:"Top rated first"},bd={[Je.LOW_TO_HIGH]:e=>e.sort((t,i)=>t.price-i.price),[Je.HIGH_TO_LOW]:e=>e.sort((t,i)=>i.price-t.price),[Je.TOP_RATED]:e=>e.sort((t,i)=>i.rating-t.rating)},$0=(e,t)=>{if(bd[t])return bd[t](e);if(t===Je.POPULAR)return e};var L_={exports:{}},C_={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var tr=R;function U0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var W0=typeof Object.is=="function"?Object.is:U0,H0=tr.useState,V0=tr.useEffect,G0=tr.useLayoutEffect,K0=tr.useDebugValue;function Q0(e,t){var i=t(),o=H0({inst:{value:i,getSnapshot:t}}),s=o[0].inst,l=o[1];return G0(function(){s.value=i,s.getSnapshot=t,ou(s)&&l({inst:s})},[e,i,t]),V0(function(){return ou(s)&&l({inst:s}),e(function(){ou(s)&&l({inst:s})})},[e]),K0(i),i}function ou(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!W0(e,i)}catch{return!0}}function q0(e,t){return t()}var Y0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?q0:Q0;C_.useSyncExternalStore=tr.useSyncExternalStore!==void 0?tr.useSyncExternalStore:Y0;L_.exports=C_;var X0=L_.exports,T_={exports:{}},N_={};/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var xa=R,J0=X0;function ew(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var tw=typeof Object.is=="function"?Object.is:ew,nw=J0.useSyncExternalStore,iw=xa.useRef,rw=xa.useEffect,ow=xa.useMemo,sw=xa.useDebugValue;N_.useSyncExternalStoreWithSelector=function(e,t,i,o,s){var l=iw(null);if(l.current===null){var c={hasValue:!1,value:null};l.current=c}else c=l.current;l=ow(function(){function d(T){if(!p){if(p=!0,g=T,T=o(T),s!==void 0&&c.hasValue){var C=c.value;if(s(C,T))return w=C}return w=T}if(C=w,tw(g,T))return C;var k=o(T);return s!==void 0&&s(C,k)?C:(g=T,w=k)}var p=!1,g,w,P=i===void 0?null:i;return[function(){return d(t())},P===null?void 0:function(){return d(P())}]},[t,i,o,s]);var h=nw(e,l[0],l[1]);return rw(function(){c.hasValue=!0,c.value=h},[h]),sw(h),h};T_.exports=N_;var aw=T_.exports;function lw(e){e()}let O_=lw;const uw=e=>O_=e,cw=()=>O_,Zd=Symbol.for("react-redux-context"),Fd=typeof globalThis<"u"?globalThis:{};function fw(){var e;if(!R.createContext)return{};const t=(e=Fd[Zd])!=null?e:Fd[Zd]=new Map;let i=t.get(R.createContext);return i||(i=R.createContext(null),t.set(R.createContext,i)),i}const zn=fw();function ff(e=zn){return function(){return R.useContext(e)}}const M_=ff(),hw=()=>{throw new Error("uSES not initialized!")};let z_=hw;const dw=e=>{z_=e},pw=(e,t)=>e===t;function mw(e=zn){const t=e===zn?M_:ff(e);return function(o,s={}){const{equalityFn:l=pw,stabilityCheck:c=void 0,noopCheck:h=void 0}=typeof s=="function"?{equalityFn:s}:s,{store:d,subscription:p,getServerState:g,stabilityCheck:w,noopCheck:P}=t();R.useRef(!0);const T=R.useCallback({[o.name](k){return o(k)}}[o.name],[o,w,c]),C=z_(p.addNestedSub,d.getState,g||d.getState,T,l);return R.useDebugValue(C),C}}const _w=mw();var j_={exports:{}},se={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ze=typeof Symbol=="function"&&Symbol.for,hf=ze?Symbol.for("react.element"):60103,df=ze?Symbol.for("react.portal"):60106,Pa=ze?Symbol.for("react.fragment"):60107,Sa=ze?Symbol.for("react.strict_mode"):60108,ka=ze?Symbol.for("react.profiler"):60114,Ea=ze?Symbol.for("react.provider"):60109,La=ze?Symbol.for("react.context"):60110,pf=ze?Symbol.for("react.async_mode"):60111,Ca=ze?Symbol.for("react.concurrent_mode"):60111,Ta=ze?Symbol.for("react.forward_ref"):60112,Na=ze?Symbol.for("react.suspense"):60113,vw=ze?Symbol.for("react.suspense_list"):60120,Oa=ze?Symbol.for("react.memo"):60115,Ma=ze?Symbol.for("react.lazy"):60116,gw=ze?Symbol.for("react.block"):60121,yw=ze?Symbol.for("react.fundamental"):60117,ww=ze?Symbol.for("react.responder"):60118,xw=ze?Symbol.for("react.scope"):60119;function st(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case hf:switch(e=e.type,e){case pf:case Ca:case Pa:case ka:case Sa:case Na:return e;default:switch(e=e&&e.$$typeof,e){case La:case Ta:case Ma:case Oa:case Ea:return e;default:return t}}case df:return t}}}function I_(e){return st(e)===Ca}se.AsyncMode=pf;se.ConcurrentMode=Ca;se.ContextConsumer=La;se.ContextProvider=Ea;se.Element=hf;se.ForwardRef=Ta;se.Fragment=Pa;se.Lazy=Ma;se.Memo=Oa;se.Portal=df;se.Profiler=ka;se.StrictMode=Sa;se.Suspense=Na;se.isAsyncMode=function(e){return I_(e)||st(e)===pf};se.isConcurrentMode=I_;se.isContextConsumer=function(e){return st(e)===La};se.isContextProvider=function(e){return st(e)===Ea};se.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hf};se.isForwardRef=function(e){return st(e)===Ta};se.isFragment=function(e){return st(e)===Pa};se.isLazy=function(e){return st(e)===Ma};se.isMemo=function(e){return st(e)===Oa};se.isPortal=function(e){return st(e)===df};se.isProfiler=function(e){return st(e)===ka};se.isStrictMode=function(e){return st(e)===Sa};se.isSuspense=function(e){return st(e)===Na};se.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Pa||e===Ca||e===ka||e===Sa||e===Na||e===vw||typeof e=="object"&&e!==null&&(e.$$typeof===Ma||e.$$typeof===Oa||e.$$typeof===Ea||e.$$typeof===La||e.$$typeof===Ta||e.$$typeof===yw||e.$$typeof===ww||e.$$typeof===xw||e.$$typeof===gw)};se.typeOf=st;j_.exports=se;var Pw=j_.exports,R_=Pw,Sw={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},kw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},A_={};A_[R_.ForwardRef]=Sw;A_[R_.Memo]=kw;var ae={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var mf=Symbol.for("react.element"),_f=Symbol.for("react.portal"),za=Symbol.for("react.fragment"),ja=Symbol.for("react.strict_mode"),Ia=Symbol.for("react.profiler"),Ra=Symbol.for("react.provider"),Aa=Symbol.for("react.context"),Ew=Symbol.for("react.server_context"),Da=Symbol.for("react.forward_ref"),Ba=Symbol.for("react.suspense"),ba=Symbol.for("react.suspense_list"),Za=Symbol.for("react.memo"),Fa=Symbol.for("react.lazy"),Lw=Symbol.for("react.offscreen"),D_;D_=Symbol.for("react.module.reference");function vt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case mf:switch(e=e.type,e){case za:case Ia:case ja:case Ba:case ba:return e;default:switch(e=e&&e.$$typeof,e){case Ew:case Aa:case Da:case Fa:case Za:case Ra:return e;default:return t}}case _f:return t}}}ae.ContextConsumer=Aa;ae.ContextProvider=Ra;ae.Element=mf;ae.ForwardRef=Da;ae.Fragment=za;ae.Lazy=Fa;ae.Memo=Za;ae.Portal=_f;ae.Profiler=Ia;ae.StrictMode=ja;ae.Suspense=Ba;ae.SuspenseList=ba;ae.isAsyncMode=function(){return!1};ae.isConcurrentMode=function(){return!1};ae.isContextConsumer=function(e){return vt(e)===Aa};ae.isContextProvider=function(e){return vt(e)===Ra};ae.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===mf};ae.isForwardRef=function(e){return vt(e)===Da};ae.isFragment=function(e){return vt(e)===za};ae.isLazy=function(e){return vt(e)===Fa};ae.isMemo=function(e){return vt(e)===Za};ae.isPortal=function(e){return vt(e)===_f};ae.isProfiler=function(e){return vt(e)===Ia};ae.isStrictMode=function(e){return vt(e)===ja};ae.isSuspense=function(e){return vt(e)===Ba};ae.isSuspenseList=function(e){return vt(e)===ba};ae.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===za||e===Ia||e===ja||e===Ba||e===ba||e===Lw||typeof e=="object"&&e!==null&&(e.$$typeof===Fa||e.$$typeof===Za||e.$$typeof===Ra||e.$$typeof===Aa||e.$$typeof===Da||e.$$typeof===D_||e.getModuleId!==void 0)};ae.typeOf=vt;function Cw(){const e=cw();let t=null,i=null;return{clear(){t=null,i=null},notify(){e(()=>{let o=t;for(;o;)o.callback(),o=o.next})},get(){let o=[],s=t;for(;s;)o.push(s),s=s.next;return o},subscribe(o){let s=!0,l=i={callback:o,next:null,prev:i};return l.prev?l.prev.next=l:t=l,function(){!s||t===null||(s=!1,l.next?l.next.prev=l.prev:i=l.prev,l.prev?l.prev.next=l.next:t=l.next)}}}}const $d={notify(){},get:()=>[]};function Tw(e,t){let i,o=$d,s=0,l=!1;function c(k){g();const I=o.subscribe(k);let x=!1;return()=>{x||(x=!0,I(),w())}}function h(){o.notify()}function d(){C.onStateChange&&C.onStateChange()}function p(){return l}function g(){s++,i||(i=t?t.addNestedSub(d):e.subscribe(d),o=Cw())}function w(){s--,i&&s===0&&(i(),i=void 0,o.clear(),o=$d)}function P(){l||(l=!0,g())}function T(){l&&(l=!1,w())}const C={addNestedSub:c,notifyNestedSubs:h,handleChangeWrapper:d,isSubscribed:p,trySubscribe:P,tryUnsubscribe:T,getListeners:()=>o};return C}const Nw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ow=Nw?R.useLayoutEffect:R.useEffect;function Mw({store:e,context:t,children:i,serverState:o,stabilityCheck:s="once",noopCheck:l="once"}){const c=R.useMemo(()=>{const p=Tw(e);return{store:e,subscription:p,getServerState:o?()=>o:void 0,stabilityCheck:s,noopCheck:l}},[e,o,s,l]),h=R.useMemo(()=>e.getState(),[e]);Ow(()=>{const{subscription:p}=c;return p.onStateChange=p.notifyNestedSubs,p.trySubscribe(),h!==e.getState()&&p.notifyNestedSubs(),()=>{p.tryUnsubscribe(),p.onStateChange=void 0}},[c,h]);const d=t||zn;return R.createElement(d.Provider,{value:c},i)}function B_(e=zn){const t=e===zn?M_:ff(e);return function(){const{store:o}=t();return o}}const zw=B_();function jw(e=zn){const t=e===zn?zw:B_(e);return function(){return t().dispatch}}const Iw=jw();dw(aw.useSyncExternalStoreWithSelector);uw(E_.unstable_batchedUpdates);const vf=()=>Iw(),mo=_w;function Et(e){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o3?t.i-4:t.i:Array.isArray(e)?1:gf(e)?2:yf(e)?3:0}function Hi(e,t){return lr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Rw(e,t){return lr(e)===2?e.get(t):e[t]}function b_(e,t,i){var o=lr(e);o===2?e.set(t,i):o===3?e.add(i):e[t]=i}function Z_(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function gf(e){return Fw&&e instanceof Map}function yf(e){return $w&&e instanceof Set}function Vn(e){return e.o||e.t}function wf(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=$_(e);delete t[he];for(var i=Vi(t),o=0;o1&&(e.set=e.add=e.clear=e.delete=Aw),Object.freeze(e),t&&oi(e,function(i,o){return xf(o,!0)},!0)),e}function Aw(){Et(2)}function Pf(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function bt(e){var t=cc[e];return t||Et(18,e),t}function Dw(e,t){cc[e]||(cc[e]=t)}function ac(){return _o}function su(e,t){t&&(bt("Patches"),e.u=[],e.s=[],e.v=t)}function Qs(e){lc(e),e.p.forEach(Bw),e.p=null}function lc(e){e===_o&&(_o=e.l)}function Ud(e){return _o={p:[],l:_o,h:e,m:!0,_:0}}function Bw(e){var t=e[he];t.i===0||t.i===1?t.j():t.g=!0}function au(e,t){t._=t.p.length;var i=t.p[0],o=e!==void 0&&e!==i;return t.h.O||bt("ES5").S(t,e,o),o?(i[he].P&&(Qs(t),Et(4)),rn(e)&&(e=qs(t,e),t.l||Ys(t,e)),t.u&&bt("Patches").M(i[he].t,e,t.u,t.s)):e=qs(t,i,[]),Qs(t),t.u&&t.v(t.u,t.s),e!==F_?e:void 0}function qs(e,t,i){if(Pf(t))return t;var o=t[he];if(!o)return oi(t,function(h,d){return Wd(e,o,t,h,d,i)},!0),t;if(o.A!==e)return t;if(!o.P)return Ys(e,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var s=o.i===4||o.i===5?o.o=wf(o.k):o.o,l=s,c=!1;o.i===3&&(l=new Set(s),s.clear(),c=!0),oi(l,function(h,d){return Wd(e,o,s,h,d,i,c)}),Ys(e,s,!1),i&&e.u&&bt("Patches").N(o,i,e.u,e.s)}return o.o}function Wd(e,t,i,o,s,l,c){if(jn(s)){var h=qs(e,s,l&&t&&t.i!==3&&!Hi(t.R,o)?l.concat(o):void 0);if(b_(i,o,h),!jn(h))return;e.m=!1}else c&&i.add(s);if(rn(s)&&!Pf(s)){if(!e.h.D&&e._<1)return;qs(e,s),t&&t.A.l||Ys(e,s)}}function Ys(e,t,i){i===void 0&&(i=!1),!e.l&&e.h.D&&e.m&&xf(t,i)}function lu(e,t){var i=e[he];return(i?Vn(i):e)[t]}function Hd(e,t){if(t in e)for(var i=Object.getPrototypeOf(e);i;){var o=Object.getOwnPropertyDescriptor(i,t);if(o)return o;i=Object.getPrototypeOf(i)}}function vn(e){e.P||(e.P=!0,e.l&&vn(e.l))}function uu(e){e.o||(e.o=wf(e.t))}function uc(e,t,i){var o=gf(t)?bt("MapSet").F(t,i):yf(t)?bt("MapSet").T(t,i):e.O?function(s,l){var c=Array.isArray(s),h={i:c?1:0,A:l?l.A:ac(),P:!1,I:!1,R:{},l,t:s,k:null,o:null,j:null,C:!1},d=h,p=vo;c&&(d=[h],p=Zr);var g=Proxy.revocable(d,p),w=g.revoke,P=g.proxy;return h.k=P,h.j=w,P}(t,i):bt("ES5").J(t,i);return(i?i.A:ac()).p.push(o),o}function bw(e){return jn(e)||Et(22,e),function t(i){if(!rn(i))return i;var o,s=i[he],l=lr(i);if(s){if(!s.P&&(s.i<4||!bt("ES5").K(s)))return s.t;s.I=!0,o=Vd(i,l),s.I=!1}else o=Vd(i,l);return oi(o,function(c,h){s&&Rw(s.t,c)===h||b_(o,c,t(h))}),l===3?new Set(o):o}(e)}function Vd(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return wf(e)}function Zw(){function e(l,c){var h=s[l];return h?h.enumerable=c:s[l]=h={configurable:!0,enumerable:c,get:function(){var d=this[he];return vo.get(d,l)},set:function(d){var p=this[he];vo.set(p,l,d)}},h}function t(l){for(var c=l.length-1;c>=0;c--){var h=l[c][he];if(!h.P)switch(h.i){case 5:o(h)&&vn(h);break;case 4:i(h)&&vn(h)}}}function i(l){for(var c=l.t,h=l.k,d=Vi(h),p=d.length-1;p>=0;p--){var g=d[p];if(g!==he){var w=c[g];if(w===void 0&&!Hi(c,g))return!0;var P=h[g],T=P&&P[he];if(T?T.t!==w:!Z_(P,w))return!0}}var C=!!c[he];return d.length!==Vi(c).length+(C?0:1)}function o(l){var c=l.k;if(c.length!==l.t.length)return!0;var h=Object.getOwnPropertyDescriptor(c,c.length-1);if(h&&!h.get)return!0;for(var d=0;d1?x-1:0),S=1;S1?g-1:0),P=1;P=0;s--){var l=o[s];if(l.path.length===0&&l.op==="replace"){i=l.value;break}}s>-1&&(o=o.slice(s+1));var c=bt("Patches").$;return jn(i)?c(i,o):this.produce(i,function(h){return c(h,o)})},e}(),it=new Ww,Hw=it.produce;it.produceWithPatches.bind(it);it.setAutoFreeze.bind(it);it.setUseProxies.bind(it);it.applyPatches.bind(it);it.createDraft.bind(it);it.finishDraft.bind(it);const U_=Hw;function go(e){"@babel/helpers - typeof";return go=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},go(e)}function Vw(e,t){if(go(e)!=="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var o=i.call(e,t||"default");if(go(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gw(e){var t=Vw(e,"string");return go(t)==="symbol"?t:String(t)}function Kw(e,t,i){return t=Gw(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function qd(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,o)}return i}function Yd(e){for(var t=1;t"u"&&(i=t,t=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(be(1));return i(W_)(e,t)}if(typeof e!="function")throw new Error(be(2));var s=e,l=t,c=[],h=c,d=!1;function p(){h===c&&(h=c.slice())}function g(){if(d)throw new Error(be(3));return l}function w(k){if(typeof k!="function")throw new Error(be(4));if(d)throw new Error(be(5));var I=!0;return p(),h.push(k),function(){if(I){if(d)throw new Error(be(6));I=!1,p();var v=h.indexOf(k);h.splice(v,1),c=null}}}function P(k){if(!Qw(k))throw new Error(be(7));if(typeof k.type>"u")throw new Error(be(8));if(d)throw new Error(be(9));try{d=!0,l=s(l,k)}finally{d=!1}for(var I=c=h,x=0;x"u")throw new Error(be(12));if(typeof i(void 0,{type:Xs.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(be(13))})}function Yw(e){for(var t=Object.keys(e),i={},o=0;o"u")throw p&&p.type,new Error(be(14));w[T]=I,g=g||I!==k}return g=g||l.length!==Object.keys(d).length,g?w:d}}function Js(){for(var e=arguments.length,t=new Array(e),i=0;i0&&l[l.length-1])&&(p[0]===6||p[0]===2)){i=0;continue}if(p[0]===3&&(!l||p[1]>l[0]&&p[1]({payload:e})),Fr=Zt("CHANGE_SORT_OPTIONS",e=>({payload:e})),fc=Zt("CHANGE_HIGHLIGHTED_MARKER",e=>({payload:e}));/** + * @remix-run/router v1.9.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function yo(){return yo=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ef(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function L1(){return Math.random().toString(36).substr(2,8)}function sp(e,t){return{usr:e.state,key:e.key,idx:t}}function hc(e,t,i,o){return i===void 0&&(i=null),yo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ur(t):t,{state:i,key:t&&t.key||o||L1()})}function ea(e){let{pathname:t="/",search:i="",hash:o=""}=e;return i&&i!=="?"&&(t+=i.charAt(0)==="?"?i:"?"+i),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function ur(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substr(i),e=e.substr(0,i));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function C1(e,t,i,o){o===void 0&&(o={});let{window:s=document.defaultView,v5Compat:l=!1}=o,c=s.history,h=wn.Pop,d=null,p=g();p==null&&(p=0,c.replaceState(yo({},c.state,{idx:p}),""));function g(){return(c.state||{idx:null}).idx}function w(){h=wn.Pop;let I=g(),x=I==null?null:I-p;p=I,d&&d({action:h,location:k.location,delta:x})}function P(I,x){h=wn.Push;let v=hc(k.location,I,x);i&&i(v,I),p=g()+1;let S=sp(v,p),O=k.createHref(v);try{c.pushState(S,"",O)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;s.location.assign(O)}l&&d&&d({action:h,location:k.location,delta:1})}function T(I,x){h=wn.Replace;let v=hc(k.location,I,x);i&&i(v,I),p=g();let S=sp(v,p),O=k.createHref(v);c.replaceState(S,"",O),l&&d&&d({action:h,location:k.location,delta:0})}function C(I){let x=s.location.origin!=="null"?s.location.origin:s.location.href,v=typeof I=="string"?I:ea(I);return Pe(x,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,x)}let k={get action(){return h},get location(){return e(s,c)},listen(I){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener(op,w),d=I,()=>{s.removeEventListener(op,w),d=null}},createHref(I){return t(s,I)},createURL:C,encodeLocation(I){let x=C(I);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:P,replace:T,go(I){return c.go(I)}};return k}var ap;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ap||(ap={}));function T1(e,t,i){i===void 0&&(i="/");let o=typeof t=="string"?ur(t):t,s=Lf(o.pathname||"/",i);if(s==null)return null;let l=Q_(e);N1(l);let c=null;for(let h=0;c==null&&h{let d={relativePath:h===void 0?l.path||"":h,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};d.relativePath.startsWith("/")&&(Pe(d.relativePath.startsWith(o),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(o.length));let p=Nn([o,d.relativePath]),g=i.concat(d);l.children&&l.children.length>0&&(Pe(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),Q_(l.children,t,g,p)),!(l.path==null&&!l.index)&&t.push({path:p,score:A1(p,l.index),routesMeta:g})};return e.forEach((l,c)=>{var h;if(l.path===""||!((h=l.path)!=null&&h.includes("?")))s(l,c);else for(let d of q_(l.path))s(l,c,d)}),t}function q_(e){let t=e.split("/");if(t.length===0)return[];let[i,...o]=t,s=i.endsWith("?"),l=i.replace(/\?$/,"");if(o.length===0)return s?[l,""]:[l];let c=q_(o.join("/")),h=[];return h.push(...c.map(d=>d===""?l:[l,d].join("/"))),s&&h.push(...c),h.map(d=>e.startsWith("/")&&d===""?"/":d)}function N1(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:D1(t.routesMeta.map(o=>o.childrenIndex),i.routesMeta.map(o=>o.childrenIndex)))}const O1=/^:\w+$/,M1=3,z1=2,j1=1,I1=10,R1=-2,lp=e=>e==="*";function A1(e,t){let i=e.split("/"),o=i.length;return i.some(lp)&&(o+=R1),t&&(o+=z1),i.filter(s=>!lp(s)).reduce((s,l)=>s+(O1.test(l)?M1:l===""?j1:I1),o)}function D1(e,t){return e.length===t.length&&e.slice(0,-1).every((o,s)=>o===t[s])?e[e.length-1]-t[t.length-1]:0}function B1(e,t){let{routesMeta:i}=e,o={},s="/",l=[];for(let c=0;c{if(g==="*"){let P=h[w]||"";c=l.slice(0,l.length-P.length).replace(/(.)\/+$/,"$1")}return p[g]=$1(h[w]||"",g),p},{}),pathname:l,pathnameBase:c,pattern:e}}function Z1(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!0),Ef(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let o=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(c,h)=>(o.push(h),"/([^\\/]+)"));return e.endsWith("*")?(o.push("*"),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),o]}function F1(e){try{return decodeURI(e)}catch(t){return Ef(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function $1(e,t){try{return decodeURIComponent(e)}catch(i){return Ef(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+i+").")),e}}function Lf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,o=e.charAt(i);return o&&o!=="/"?null:e.slice(i)||"/"}function U1(e,t){t===void 0&&(t="/");let{pathname:i,search:o="",hash:s=""}=typeof e=="string"?ur(e):e;return{pathname:i?i.startsWith("/")?i:W1(i,t):t,search:V1(o),hash:G1(s)}}function W1(e,t){let i=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function du(e,t,i,o){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(o)+"]. Please separate it out to the ")+("`to."+i+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Cf(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function Tf(e,t,i,o){o===void 0&&(o=!1);let s;typeof e=="string"?s=ur(e):(s=yo({},e),Pe(!s.pathname||!s.pathname.includes("?"),du("?","pathname","search",s)),Pe(!s.pathname||!s.pathname.includes("#"),du("#","pathname","hash",s)),Pe(!s.search||!s.search.includes("#"),du("#","search","hash",s)));let l=e===""||s.pathname==="",c=l?"/":s.pathname,h;if(o||c==null)h=i;else{let w=t.length-1;if(c.startsWith("..")){let P=c.split("/");for(;P[0]==="..";)P.shift(),w-=1;s.pathname=P.join("/")}h=w>=0?t[w]:"/"}let d=U1(s,h),p=c&&c!=="/"&&c.endsWith("/"),g=(l||c===".")&&i.endsWith("/");return!d.pathname.endsWith("/")&&(p||g)&&(d.pathname+="/"),d}const Nn=e=>e.join("/").replace(/\/\/+/g,"/"),H1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),V1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,G1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function K1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Y_=["post","put","patch","delete"];new Set(Y_);const Q1=["get",...Y_];new Set(Q1);/** + * React Router v6.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ta(){return ta=Object.assign?Object.assign.bind():function(e){for(var t=1;td.pathnameBase)),c=R.useRef(!1);return J_(()=>{c.current=!0}),R.useCallback(function(d,p){if(p===void 0&&(p={}),!c.current)return;if(typeof d=="number"){i.go(d);return}let g=Tf(d,JSON.parse(l),s,p.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:Nn([t,g.pathname])),(p.replace?i.replace:i.push)(g,p.state,p)},[t,i,l,s,e])}function tv(e,t){let{relative:i}=t===void 0?{}:t,{matches:o}=R.useContext(Dn),{pathname:s}=Eo(),l=JSON.stringify(Cf(o).map(c=>c.pathnameBase));return R.useMemo(()=>Tf(e,JSON.parse(l),s,i==="path"),[e,l,s,i])}function J1(e,t){return ex(e,t)}function ex(e,t,i){fr()||Pe(!1);let{navigator:o}=R.useContext(cr),{matches:s}=R.useContext(Dn),l=s[s.length-1],c=l?l.params:{};l&&l.pathname;let h=l?l.pathnameBase:"/";l&&l.route;let d=Eo(),p;if(t){var g;let k=typeof t=="string"?ur(t):t;h==="/"||(g=k.pathname)!=null&&g.startsWith(h)||Pe(!1),p=k}else p=d;let w=p.pathname||"/",P=h==="/"?w:w.slice(h.length)||"/",T=T1(e,{pathname:P}),C=ox(T&&T.map(k=>Object.assign({},k,{params:Object.assign({},c,k.params),pathname:Nn([h,o.encodeLocation?o.encodeLocation(k.pathname).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?h:Nn([h,o.encodeLocation?o.encodeLocation(k.pathnameBase).pathname:k.pathnameBase])})),s,i);return t&&C?R.createElement($a.Provider,{value:{location:ta({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:wn.Pop}},C):C}function tx(){let e=ux(),t=K1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},l=null;return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),i?R.createElement("pre",{style:s},i):null,l)}const nx=R.createElement(tx,null);class ix extends R.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,i){return i.location!==t.location||i.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||i.error,location:i.location,revalidation:t.revalidation||i.revalidation}}componentDidCatch(t,i){console.error("React Router caught the following error during render",t,i)}render(){return this.state.error?R.createElement(Dn.Provider,{value:this.props.routeContext},R.createElement(X_.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function rx(e){let{routeContext:t,match:i,children:o}=e,s=R.useContext(Nf);return s&&s.static&&s.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=i.route.id),R.createElement(Dn.Provider,{value:t},o)}function ox(e,t,i){var o;if(t===void 0&&(t=[]),i===void 0&&(i=null),e==null){var s;if((s=i)!=null&&s.errors)e=i.matches;else return null}let l=e,c=(o=i)==null?void 0:o.errors;if(c!=null){let h=l.findIndex(d=>d.route.id&&(c==null?void 0:c[d.route.id]));h>=0||Pe(!1),l=l.slice(0,Math.min(l.length,h+1))}return l.reduceRight((h,d,p)=>{let g=d.route.id?c==null?void 0:c[d.route.id]:null,w=null;i&&(w=d.route.errorElement||nx);let P=t.concat(l.slice(0,p+1)),T=()=>{let C;return g?C=w:d.route.Component?C=R.createElement(d.route.Component,null):d.route.element?C=d.route.element:C=h,R.createElement(rx,{match:d,routeContext:{outlet:h,matches:P,isDataRoute:i!=null},children:C})};return i&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?R.createElement(ix,{location:i.location,revalidation:i.revalidation,component:w,error:g,children:T(),routeContext:{outlet:null,matches:P,isDataRoute:!0}}):T()},null)}var nv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(nv||{}),na=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(na||{});function sx(e){let t=R.useContext(Nf);return t||Pe(!1),t}function ax(e){let t=R.useContext(q1);return t||Pe(!1),t}function lx(e){let t=R.useContext(Dn);return t||Pe(!1),t}function iv(e){let t=lx(),i=t.matches[t.matches.length-1];return i.route.id||Pe(!1),i.route.id}function ux(){var e;let t=R.useContext(X_),i=ax(na.UseRouteError),o=iv(na.UseRouteError);return t||((e=i.errors)==null?void 0:e[o])}function cx(){let{router:e}=sx(nv.UseNavigateStable),t=iv(na.UseNavigateStable),i=R.useRef(!1);return J_(()=>{i.current=!0}),R.useCallback(function(s,l){l===void 0&&(l={}),i.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,ta({fromRouteId:t},l)))},[e,t])}function fx(e){let{to:t,replace:i,state:o,relative:s}=e;fr()||Pe(!1);let{matches:l}=R.useContext(Dn),{pathname:c}=Eo(),h=ev(),d=Tf(t,Cf(l).map(g=>g.pathnameBase),c,s==="path"),p=JSON.stringify(d);return R.useEffect(()=>h(JSON.parse(p),{replace:i,state:o,relative:s}),[h,p,s,i,o]),null}function ki(e){Pe(!1)}function hx(e){let{basename:t="/",children:i=null,location:o,navigationType:s=wn.Pop,navigator:l,static:c=!1}=e;fr()&&Pe(!1);let h=t.replace(/^\/*/,"/"),d=R.useMemo(()=>({basename:h,navigator:l,static:c}),[h,l,c]);typeof o=="string"&&(o=ur(o));let{pathname:p="/",search:g="",hash:w="",state:P=null,key:T="default"}=o,C=R.useMemo(()=>{let k=Lf(p,h);return k==null?null:{location:{pathname:k,search:g,hash:w,state:P,key:T},navigationType:s}},[h,p,g,w,P,T,s]);return C==null?null:R.createElement(cr.Provider,{value:d},R.createElement($a.Provider,{children:i,value:C}))}function dx(e){let{children:t,location:i}=e;return J1(dc(t),i)}new Promise(()=>{});function dc(e,t){t===void 0&&(t=[]);let i=[];return R.Children.forEach(e,(o,s)=>{if(!R.isValidElement(o))return;let l=[...t,s];if(o.type===R.Fragment){i.push.apply(i,dc(o.props.children,l));return}o.type!==ki&&Pe(!1),!o.props.index||!o.props.children||Pe(!1);let c={id:o.props.id||l.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(c.children=dc(o.props.children,l)),i.push(c)}),i}/** + * React Router DOM v6.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function pc(){return pc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(i[s]=e[s]);return i}function mx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function _x(e,t){return e.button===0&&(!t||t==="_self")&&!mx(e)}const vx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],gx="startTransition",up=Mg[gx];function yx(e){let{basename:t,children:i,future:o,window:s}=e,l=R.useRef();l.current==null&&(l.current=E1({window:s,v5Compat:!0}));let c=l.current,[h,d]=R.useState({action:c.action,location:c.location}),{v7_startTransition:p}=o||{},g=R.useCallback(w=>{p&&up?up(()=>d(w)):d(w)},[d,p]);return R.useLayoutEffect(()=>c.listen(g),[c,g]),R.createElement(hx,{basename:t,children:i,location:h.location,navigationType:h.action,navigator:c})}const wx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ir=R.forwardRef(function(t,i){let{onClick:o,relative:s,reloadDocument:l,replace:c,state:h,target:d,to:p,preventScrollReset:g}=t,w=px(t,vx),{basename:P}=R.useContext(cr),T,C=!1;if(typeof p=="string"&&xx.test(p)&&(T=p,wx))try{let v=new URL(window.location.href),S=p.startsWith("//")?new URL(v.protocol+p):new URL(p),O=Lf(S.pathname,P);S.origin===v.origin&&O!=null?p=O+S.search+S.hash:C=!0}catch{}let k=Y1(p,{relative:s}),I=Px(p,{replace:c,state:h,target:d,preventScrollReset:g,relative:s});function x(v){o&&o(v),v.defaultPrevented||I(v)}return R.createElement("a",pc({},w,{href:T||k,onClick:C||l?o:x,ref:i,target:d}))});var cp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(cp||(cp={}));var fp;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(fp||(fp={}));function Px(e,t){let{target:i,replace:o,state:s,preventScrollReset:l,relative:c}=t===void 0?{}:t,h=ev(),d=Eo(),p=tv(e,{relative:c});return R.useCallback(g=>{if(_x(g,i)){g.preventDefault();let w=o!==void 0?o:ea(d)===ea(p);h(e,{replace:w,state:s,preventScrollReset:l,relative:c})}},[d,h,p,o,s,i,e,l,c])}function Sx({offer:e,cardType:t}){const i=vf();return _.jsxs("article",{className:t,onMouseEnter:()=>i(fc(e.point)),onMouseLeave:()=>i(fc(void 0)),children:[e.isPremium?_.jsx("div",{className:"place-card__mark",children:_.jsx("span",{children:"Premium"})}):null,_.jsx("div",{className:"cities__image-wrapper place-card__image-wrapper",children:_.jsx("a",{href:"#",children:_.jsx("img",{className:"place-card__image",src:e.image[0],width:"260",height:"200",alt:"Place image"})})}),_.jsxs("div",{className:"place-card__info",children:[_.jsxs("div",{className:"place-card__price-wrapper",children:[_.jsxs("div",{className:"place-card__price",children:[_.jsxs("b",{className:"place-card__price-value",children:["€",e.price]}),_.jsx("span",{className:"place-card__price-text",children:"/ night"})]}),_.jsxs("button",{className:e.isFavorite?"place-card__bookmark-button place-card__bookmark-button--active button":"place-card__bookmark-button button",type:"button",children:[_.jsx("svg",{className:"place-card__bookmark-icon",width:"18",height:"19",children:_.jsx("use",{xlinkHref:"#icon-bookmark"})}),_.jsx("span",{className:"visually-hidden",children:"To bookmarks"})]})]}),_.jsx("div",{className:"place-card__rating rating",children:_.jsxs("div",{className:"place-card__stars rating__stars",children:[_.jsx("span",{style:{width:`${e.rating/5*100}%`}}),_.jsx("span",{className:"visually-hidden",children:"Rating"})]})}),_.jsx("h2",{className:"place-card__name",children:_.jsx(ir,{to:`/offer/${e.id}`,children:e.title})}),_.jsx("p",{className:"place-card__type",children:e.type})]})]})}function Of({offers:e,listType:t}){var s;const i=mo(l=>l.sortType),o=F0.get(t);return _.jsx("div",{className:t,children:(s=$0(e,i))==null?void 0:s.map(l=>_.jsx(Sx,{offer:l,cardType:o!==void 0?o:"cities__card place-card"},l.id))})}var mc={exports:{}};/* @preserve + * Leaflet 1.7.1, a JS library for interactive maps. http://leafletjs.com + * (c) 2010-2019 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(e,t){(function(i,o){o(t)})(pg,function(i){var o="1.7.1";function s(n){var r,a,u,f;for(a=1,u=arguments.length;a"u"||!L||!L.Mixin)){n=S(n)?n:[n];for(var r=0;r0?Math.floor(n):Math.ceil(n)};M.prototype={clone:function(){return new M(this.x,this.y)},add:function(n){return this.clone()._add(D(n))},_add:function(n){return this.x+=n.x,this.y+=n.y,this},subtract:function(n){return this.clone()._subtract(D(n))},_subtract:function(n){return this.x-=n.x,this.y-=n.y,this},divideBy:function(n){return this.clone()._divideBy(n)},_divideBy:function(n){return this.x/=n,this.y/=n,this},multiplyBy:function(n){return this.clone()._multiplyBy(n)},_multiplyBy:function(n){return this.x*=n,this.y*=n,this},scaleBy:function(n){return new M(this.x*n.x,this.y*n.y)},unscaleBy:function(n){return new M(this.x/n.x,this.y/n.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=V(this.x),this.y=V(this.y),this},distanceTo:function(n){n=D(n);var r=n.x-this.x,a=n.y-this.y;return Math.sqrt(r*r+a*a)},equals:function(n){return n=D(n),n.x===this.x&&n.y===this.y},contains:function(n){return n=D(n),Math.abs(n.x)<=Math.abs(this.x)&&Math.abs(n.y)<=Math.abs(this.y)},toString:function(){return"Point("+P(this.x)+", "+P(this.y)+")"}};function D(n,r,a){return n instanceof M?n:S(n)?new M(n[0],n[1]):n==null?n:typeof n=="object"&&"x"in n&&"y"in n?new M(n.x,n.y):new M(n,r,a)}function H(n,r){if(n)for(var a=r?[n,r]:n,u=0,f=a.length;u=this.min.x&&a.x<=this.max.x&&r.y>=this.min.y&&a.y<=this.max.y},intersects:function(n){n=ie(n);var r=this.min,a=this.max,u=n.min,f=n.max,m=f.x>=r.x&&u.x<=a.x,y=f.y>=r.y&&u.y<=a.y;return m&&y},overlaps:function(n){n=ie(n);var r=this.min,a=this.max,u=n.min,f=n.max,m=f.x>r.x&&u.xr.y&&u.y=r.lat&&f.lat<=a.lat&&u.lng>=r.lng&&f.lng<=a.lng},intersects:function(n){n=le(n);var r=this._southWest,a=this._northEast,u=n.getSouthWest(),f=n.getNorthEast(),m=f.lat>=r.lat&&u.lat<=a.lat,y=f.lng>=r.lng&&u.lng<=a.lng;return m&&y},overlaps:function(n){n=le(n);var r=this._southWest,a=this._northEast,u=n.getSouthWest(),f=n.getNorthEast(),m=f.lat>r.lat&&u.latr.lng&&u.lng1,ci=function(){var n=!1;try{var r=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("testPassiveEventSupport",w,r),window.removeEventListener("testPassiveEventSupport",w,r)}catch{}return n}(),Ff=function(){return!!document.createElement("canvas").getContext}(),No=!!(document.createElementNS&&jf("svg").createSVGRect),Oo=!No&&function(){try{var n=document.createElement("div");n.innerHTML='';var r=n.firstChild;return r.style.behavior="url(#default#VML)",r&&typeof r.adj=="object"}catch{return!1}}();function Mt(n){return navigator.userAgent.toLowerCase().indexOf(n)>=0}var cv={ie:Lo,ielt9:li,edge:Co,webkit:Ka,android:dr,android23:pr,androidStock:Rf,opera:Qa,chrome:qa,gecko:Ya,safari:To,phantom:Af,opera12:Df,win:Bf,ie3d:Xa,webkit3d:Ja,gecko3d:bf,any3d:lt,mobile:ui,mobileWebkit:av,mobileWebkit3d:lv,msPointer:an,pointer:Nt,touch:Ot,mobileOpera:Zf,mobileGecko:uv,retina:ln,passiveEvents:ci,canvas:Ff,svg:No,vml:Oo},el=an?"MSPointerDown":"pointerdown",tl=an?"MSPointerMove":"pointermove",nl=an?"MSPointerUp":"pointerup",il=an?"MSPointerCancel":"pointercancel",fi={},$f=!1;function fv(n,r,a,u){return r==="touchstart"?dv(n,a,u):r==="touchmove"?_v(n,a,u):r==="touchend"&&vv(n,a,u),this}function hv(n,r,a){var u=n["_leaflet_"+r+a];return r==="touchstart"?n.removeEventListener(el,u,!1):r==="touchmove"?n.removeEventListener(tl,u,!1):r==="touchend"&&(n.removeEventListener(nl,u,!1),n.removeEventListener(il,u,!1)),this}function dv(n,r,a){var u=c(function(f){f.MSPOINTER_TYPE_TOUCH&&f.pointerType===f.MSPOINTER_TYPE_TOUCH&&ct(f),rl(f,r)});n["_leaflet_touchstart"+a]=u,n.addEventListener(el,u,!1),$f||(document.addEventListener(el,pv,!0),document.addEventListener(tl,mv,!0),document.addEventListener(nl,Uf,!0),document.addEventListener(il,Uf,!0),$f=!0)}function pv(n){fi[n.pointerId]=n}function mv(n){fi[n.pointerId]&&(fi[n.pointerId]=n)}function Uf(n){delete fi[n.pointerId]}function rl(n,r){n.touches=[];for(var a in fi)n.touches.push(fi[a]);n.changedTouches=[n],r(n)}function _v(n,r,a){var u=function(f){f.pointerType===(f.MSPOINTER_TYPE_MOUSE||"mouse")&&f.buttons===0||rl(f,r)};n["_leaflet_touchmove"+a]=u,n.addEventListener(tl,u,!1)}function vv(n,r,a){var u=function(f){rl(f,r)};n["_leaflet_touchend"+a]=u,n.addEventListener(nl,u,!1),n.addEventListener(il,u,!1)}var Mo=an?"MSPointerDown":Nt?"pointerdown":"touchstart",zo=an?"MSPointerUp":Nt?"pointerup":"touchend",hi="_leaflet_";function gv(n,r,a){var u,f,m=!1,y=250;function E(z){if(Nt){if(!z.isPrimary||z.pointerType==="mouse")return}else if(z.touches.length>1)return;var B=Date.now(),U=B-(u||B);f=z.touches?z.touches[0]:z,m=U>0&&U<=y,u=B}function N(z){if(m&&!f.cancelBubble){if(Nt){if(z.pointerType==="mouse")return;var B={},U,te;for(te in f)U=f[te],B[te]=U&&U.bind?U.bind(f):U;f=B}f.type="dblclick",f.button=0,r(f),u=null}}return n[hi+Mo+a]=E,n[hi+zo+a]=N,n[hi+"dblclick"+a]=r,n.addEventListener(Mo,E,ci?{passive:!1}:!1),n.addEventListener(zo,N,ci?{passive:!1}:!1),n.addEventListener("dblclick",r,!1),this}function yv(n,r){var a=n[hi+Mo+r],u=n[hi+zo+r],f=n[hi+"dblclick"+r];return n.removeEventListener(Mo,a,ci?{passive:!1}:!1),n.removeEventListener(zo,u,ci?{passive:!1}:!1),n.removeEventListener("dblclick",f,!1),this}var ol=Ro(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),mr=Ro(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Wf=mr==="webkitTransition"||mr==="OTransition"?mr+"End":"transitionend";function Hf(n){return typeof n=="string"?document.getElementById(n):n}function _r(n,r){var a=n.style[r]||n.currentStyle&&n.currentStyle[r];if((!a||a==="auto")&&document.defaultView){var u=document.defaultView.getComputedStyle(n,null);a=u?u[r]:null}return a==="auto"?null:a}function ee(n,r,a){var u=document.createElement(n);return u.className=r||"",a&&a.appendChild(u),u}function pe(n){var r=n.parentNode;r&&r.removeChild(n)}function jo(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function di(n){var r=n.parentNode;r&&r.lastChild!==n&&r.appendChild(n)}function pi(n){var r=n.parentNode;r&&r.firstChild!==n&&r.insertBefore(n,r.firstChild)}function sl(n,r){if(n.classList!==void 0)return n.classList.contains(r);var a=Io(n);return a.length>0&&new RegExp("(^|\\s)"+r+"(\\s|$)").test(a)}function G(n,r){if(n.classList!==void 0)for(var a=C(r),u=0,f=a.length;uthis.options.maxZoom)?this.setZoom(n):this},panInsideBounds:function(n,r){this._enforcingBounds=!0;var a=this.getCenter(),u=this._limitCenter(a,this._zoom,le(n));return a.equals(u)||this.panTo(u,r),this._enforcingBounds=!1,this},panInside:function(n,r){r=r||{};var a=D(r.paddingTopLeft||r.padding||[0,0]),u=D(r.paddingBottomRight||r.padding||[0,0]),f=this.getCenter(),m=this.project(f),y=this.project(n),E=this.getPixelBounds(),N=E.getSize().divideBy(2),z=ie([E.min.add(a),E.max.subtract(u)]);if(!z.contains(y)){this._enforcingBounds=!0;var B=m.subtract(y),U=D(y.x+B.x,y.y+B.y);(y.xz.max.x)&&(U.x=m.x-B.x,B.x>0?U.x+=N.x-a.x:U.x-=N.x-u.x),(y.yz.max.y)&&(U.y=m.y-B.y,B.y>0?U.y+=N.y-a.y:U.y-=N.y-u.y),this.panTo(this.unproject(U),r),this._enforcingBounds=!1}return this},invalidateSize:function(n){if(!this._loaded)return this;n=s({animate:!1,pan:!0},n===!0?{animate:!0}:n);var r=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var a=this.getSize(),u=r.divideBy(2).round(),f=a.divideBy(2).round(),m=u.subtract(f);return!m.x&&!m.y?this:(n.animate&&n.pan?this.panBy(m):(n.pan&&this._rawPanBy(m),this.fire("move"),n.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(c(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:r,newSize:a}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(n){if(n=this._locateOptions=s({timeout:1e4,watch:!1},n),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var r=c(this._handleGeolocationResponse,this),a=c(this._handleGeolocationError,this);return n.watch?this._locationWatchId=navigator.geolocation.watchPosition(r,a,n):navigator.geolocation.getCurrentPosition(r,a,n),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(n){var r=n.code,a=n.message||(r===1?"permission denied":r===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:r,message:"Geolocation error: "+a+"."})},_handleGeolocationResponse:function(n){var r=n.coords.latitude,a=n.coords.longitude,u=new ne(r,a),f=u.toBounds(n.coords.accuracy*2),m=this._locateOptions;if(m.setView){var y=this.getBoundsZoom(f);this.setView(u,m.maxZoom?Math.min(y,m.maxZoom):y)}var E={latlng:u,bounds:f,timestamp:n.timestamp};for(var N in n.coords)typeof n.coords[N]=="number"&&(E[N]=n.coords[N]);this.fire("locationfound",E)},addHandler:function(n,r){if(!r)return this;var a=this[n]=new r(this);return this._handlers.push(a),this.options[n]&&a.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),pe(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Se(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var n;for(n in this._layers)this._layers[n].remove();for(n in this._panes)pe(this._panes[n]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(n,r){var a="leaflet-pane"+(n?" leaflet-"+n.replace("Pane","")+"-pane":""),u=ee("div",a,r||this._mapPane);return n&&(this._panes[n]=u),u},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var n=this.getPixelBounds(),r=this.unproject(n.getBottomLeft()),a=this.unproject(n.getTopRight());return new Ce(r,a)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(n,r,a){n=le(n),a=D(a||[0,0]);var u=this.getZoom()||0,f=this.getMinZoom(),m=this.getMaxZoom(),y=n.getNorthWest(),E=n.getSouthEast(),N=this.getSize().subtract(a),z=ie(this.project(E,u),this.project(y,u)).getSize(),B=lt?this.options.zoomSnap:1,U=N.x/z.x,te=N.y/z.y,Gt=r?Math.max(U,te):Math.min(U,te);return u=this.getScaleZoom(Gt,u),B&&(u=Math.round(u/(B/100))*(B/100),u=r?Math.ceil(u/B)*B:Math.floor(u/B)*B),Math.max(f,Math.min(m,u))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(n,r){var a=this._getTopLeftPoint(n,r);return new H(a,a.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(n){return this.options.crs.getProjectedBounds(n===void 0?this.getZoom():n)},getPane:function(n){return typeof n=="string"?this._panes[n]:n},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(n,r){var a=this.options.crs;return r=r===void 0?this._zoom:r,a.scale(n)/a.scale(r)},getScaleZoom:function(n,r){var a=this.options.crs;r=r===void 0?this._zoom:r;var u=a.zoom(n*a.scale(r));return isNaN(u)?1/0:u},project:function(n,r){return r=r===void 0?this._zoom:r,this.options.crs.latLngToPoint(re(n),r)},unproject:function(n,r){return r=r===void 0?this._zoom:r,this.options.crs.pointToLatLng(D(n),r)},layerPointToLatLng:function(n){var r=D(n).add(this.getPixelOrigin());return this.unproject(r)},latLngToLayerPoint:function(n){var r=this.project(re(n))._round();return r._subtract(this.getPixelOrigin())},wrapLatLng:function(n){return this.options.crs.wrapLatLng(re(n))},wrapLatLngBounds:function(n){return this.options.crs.wrapLatLngBounds(le(n))},distance:function(n,r){return this.options.crs.distance(re(n),re(r))},containerPointToLayerPoint:function(n){return D(n).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(n){return D(n).add(this._getMapPanePos())},containerPointToLatLng:function(n){var r=this.containerPointToLayerPoint(D(n));return this.layerPointToLatLng(r)},latLngToContainerPoint:function(n){return this.layerPointToContainerPoint(this.latLngToLayerPoint(re(n)))},mouseEventToContainerPoint:function(n){return Kf(n,this._container)},mouseEventToLayerPoint:function(n){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(n))},mouseEventToLatLng:function(n){return this.layerPointToLatLng(this.mouseEventToLayerPoint(n))},_initContainer:function(n){var r=this._container=Hf(n);if(r){if(r._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");K(r,"scroll",this._onScroll,this),this._containerId=d(r)},_initLayout:function(){var n=this._container;this._fadeAnimated=this.options.fadeAnimation&<,G(n,"leaflet-container"+(Ot?" leaflet-touch":"")+(ln?" leaflet-retina":"")+(li?" leaflet-oldie":"")+(To?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var r=_r(n,"position");r!=="absolute"&&r!=="relative"&&r!=="fixed"&&(n.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var n=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ke(this._mapPane,new M(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(G(n.markerPane,"leaflet-zoom-hide"),G(n.shadowPane,"leaflet-zoom-hide"))},_resetView:function(n,r){ke(this._mapPane,new M(0,0));var a=!this._loaded;this._loaded=!0,r=this._limitZoom(r),this.fire("viewprereset");var u=this._zoom!==r;this._moveStart(u,!1)._move(n,r)._moveEnd(u),this.fire("viewreset"),a&&this.fire("load")},_moveStart:function(n,r){return n&&this.fire("zoomstart"),r||this.fire("movestart"),this},_move:function(n,r,a){r===void 0&&(r=this._zoom);var u=this._zoom!==r;return this._zoom=r,this._lastCenter=n,this._pixelOrigin=this._getNewPixelOrigin(n),(u||a&&a.pinch)&&this.fire("zoom",a),this.fire("move",a)},_moveEnd:function(n){return n&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Se(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(n){ke(this._mapPane,this._getMapPanePos().subtract(n))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(n){this._targets={},this._targets[d(this._container)]=this;var r=n?we:K;r(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&r(window,"resize",this._onResize,this),lt&&this.options.transform3DLimit&&(n?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Se(this._resizeRequest),this._resizeRequest=q(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var n=this._getMapPanePos();Math.max(Math.abs(n.x),Math.abs(n.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(n,r){for(var a=[],u,f=r==="mouseout"||r==="mouseover",m=n.target||n.srcElement,y=!1;m;){if(u=this._targets[d(m)],u&&(r==="click"||r==="preclick")&&!n._simulated&&this._draggableMoved(u)){y=!0;break}if(u&&u.listens(r,!0)&&(f&&!bo(m,n)||(a.push(u),f))||m===this._container)break;m=m.parentNode}return!a.length&&!y&&!f&&bo(m,n)&&(a=[this]),a},_handleDOMEvent:function(n){if(!(!this._loaded||yl(n))){var r=n.type;(r==="mousedown"||r==="keypress"||r==="keyup"||r==="keydown")&&hl(n.target||n.srcElement),this._fireDOMEvent(n,r)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(n,r,a){if(n.type==="click"){var u=s({},n);u.type="preclick",this._fireDOMEvent(u,u.type,a)}if(!n._stopped&&(a=(a||[]).concat(this._findEventTargets(n,r)),!!a.length)){var f=a[0];r==="contextmenu"&&f.listens(r,!0)&&ct(n);var m={originalEvent:n};if(n.type!=="keypress"&&n.type!=="keydown"&&n.type!=="keyup"){var y=f.getLatLng&&(!f._radius||f._radius<=10);m.containerPoint=y?this.latLngToContainerPoint(f.getLatLng()):this.mouseEventToContainerPoint(n),m.layerPoint=this.containerPointToLayerPoint(m.containerPoint),m.latlng=y?f.getLatLng():this.layerPointToLatLng(m.layerPoint)}for(var E=0;E0?Math.round(n-r)/2:Math.max(0,Math.ceil(n))-Math.max(0,Math.floor(r))},_limitZoom:function(n){var r=this.getMinZoom(),a=this.getMaxZoom(),u=lt?this.options.zoomSnap:1;return u&&(n=Math.round(n/u)*u),Math.max(r,Math.min(a,n))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ge(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(n,r){var a=this._getCenterOffset(n)._trunc();return(r&&r.animate)!==!0&&!this.getSize().contains(a)?!1:(this.panBy(a,r),!0)},_createAnimProxy:function(){var n=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(n),this.on("zoomanim",function(r){var a=ol,u=this._proxy.style[a];bn(this._proxy,this.project(r.center,r.zoom),this.getZoomScale(r.zoom,1)),u===this._proxy.style[a]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){pe(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var n=this.getCenter(),r=this.getZoom();bn(this._proxy,this.project(n,r),this.getZoomScale(r,1))},_catchTransitionEnd:function(n){this._animatingZoom&&n.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(n,r,a){if(this._animatingZoom)return!0;if(a=a||{},!this._zoomAnimated||a.animate===!1||this._nothingToAnimate()||Math.abs(r-this._zoom)>this.options.zoomAnimationThreshold)return!1;var u=this.getZoomScale(r),f=this._getCenterOffset(n)._divideBy(1-1/u);return a.animate!==!0&&!this.getSize().contains(f)?!1:(q(function(){this._moveStart(!0,!1)._animateZoom(n,r,!0)},this),!0)},_animateZoom:function(n,r,a,u){this._mapPane&&(a&&(this._animatingZoom=!0,this._animateToCenter=n,this._animateToZoom=r,G(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:n,zoom:r,noUpdate:u}),setTimeout(c(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ge(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),q(function(){this._moveEnd(!0)},this))}});function kv(n,r){return new Y(n,r)}var yt=at.extend({options:{position:"topright"},initialize:function(n){k(this,n)},getPosition:function(){return this.options.position},setPosition:function(n){var r=this._map;return r&&r.removeControl(this),this.options.position=n,r&&r.addControl(this),this},getContainer:function(){return this._container},addTo:function(n){this.remove(),this._map=n;var r=this._container=this.onAdd(n),a=this.getPosition(),u=n._controlCorners[a];return G(r,"leaflet-control"),a.indexOf("bottom")!==-1?u.insertBefore(r,u.firstChild):u.appendChild(r),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(pe(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(n){this._map&&n&&n.screenX>0&&n.screenY>0&&this._map.getContainer().focus()}}),xr=function(n){return new yt(n)};Y.include({addControl:function(n){return n.addTo(this),this},removeControl:function(n){return n.remove(),this},_initControlPos:function(){var n=this._controlCorners={},r="leaflet-",a=this._controlContainer=ee("div",r+"control-container",this._container);function u(f,m){var y=r+f+" "+r+m;n[f+m]=ee("div",y,a)}u("top","left"),u("top","right"),u("bottom","left"),u("bottom","right")},_clearControlPos:function(){for(var n in this._controlCorners)pe(this._controlCorners[n]);pe(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Yf=yt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(n,r,a,u){return a1,this._baseLayersList.style.display=n?"":"none"),this._separator.style.display=r&&n?"":"none",this},_onLayerChange:function(n){this._handlingClick||this._update();var r=this._getLayer(d(n.target)),a=r.overlay?n.type==="add"?"overlayadd":"overlayremove":n.type==="add"?"baselayerchange":null;a&&this._map.fire(a,r)},_createRadioElement:function(n,r){var a='",u=document.createElement("div");return u.innerHTML=a,u.firstChild},_addItem:function(n){var r=document.createElement("label"),a=this._map.hasLayer(n.layer),u;n.overlay?(u=document.createElement("input"),u.type="checkbox",u.className="leaflet-control-layers-selector",u.defaultChecked=a):u=this._createRadioElement("leaflet-base-layers_"+d(this),a),this._layerControlInputs.push(u),u.layerId=d(n.layer),K(u,"click",this._onInputClick,this);var f=document.createElement("span");f.innerHTML=" "+n.name;var m=document.createElement("div");r.appendChild(m),m.appendChild(u),m.appendChild(f);var y=n.overlay?this._overlaysList:this._baseLayersList;return y.appendChild(r),this._checkDisabledLayers(),r},_onInputClick:function(){var n=this._layerControlInputs,r,a,u=[],f=[];this._handlingClick=!0;for(var m=n.length-1;m>=0;m--)r=n[m],a=this._getLayer(r.layerId).layer,r.checked?u.push(a):r.checked||f.push(a);for(m=0;m=0;f--)r=n[f],a=this._getLayer(r.layerId).layer,r.disabled=a.options.minZoom!==void 0&&ua.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ev=function(n,r,a){return new Yf(n,r,a)},wl=yt.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(n){var r="leaflet-control-zoom",a=ee("div",r+" leaflet-bar"),u=this.options;return this._zoomInButton=this._createButton(u.zoomInText,u.zoomInTitle,r+"-in",a,this._zoomIn),this._zoomOutButton=this._createButton(u.zoomOutText,u.zoomOutTitle,r+"-out",a,this._zoomOut),this._updateDisabled(),n.on("zoomend zoomlevelschange",this._updateDisabled,this),a},onRemove:function(n){n.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(n){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(n.shiftKey?3:1))},_createButton:function(n,r,a,u,f){var m=ee("a",a,u);return m.innerHTML=n,m.href="#",m.title=r,m.setAttribute("role","button"),m.setAttribute("aria-label",r),wr(m),K(m,"click",$t),K(m,"click",f,this),K(m,"click",this._refocusOnMap,this),m},_updateDisabled:function(){var n=this._map,r="leaflet-disabled";ge(this._zoomInButton,r),ge(this._zoomOutButton,r),(this._disabled||n._zoom===n.getMinZoom())&&G(this._zoomOutButton,r),(this._disabled||n._zoom===n.getMaxZoom())&&G(this._zoomInButton,r)}});Y.mergeOptions({zoomControl:!0}),Y.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new wl,this.addControl(this.zoomControl))});var Lv=function(n){return new wl(n)},Xf=yt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(n){var r="leaflet-control-scale",a=ee("div",r),u=this.options;return this._addScales(u,r+"-line",a),n.on(u.updateWhenIdle?"moveend":"move",this._update,this),n.whenReady(this._update,this),a},onRemove:function(n){n.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(n,r,a){n.metric&&(this._mScale=ee("div",r,a)),n.imperial&&(this._iScale=ee("div",r,a))},_update:function(){var n=this._map,r=n.getSize().y/2,a=n.distance(n.containerPointToLatLng([0,r]),n.containerPointToLatLng([this.options.maxWidth,r]));this._updateScales(a)},_updateScales:function(n){this.options.metric&&n&&this._updateMetric(n),this.options.imperial&&n&&this._updateImperial(n)},_updateMetric:function(n){var r=this._getRoundNum(n),a=r<1e3?r+" m":r/1e3+" km";this._updateScale(this._mScale,a,r/n)},_updateImperial:function(n){var r=n*3.2808399,a,u,f;r>5280?(a=r/5280,u=this._getRoundNum(a),this._updateScale(this._iScale,u+" mi",u/a)):(f=this._getRoundNum(r),this._updateScale(this._iScale,f+" ft",f/r))},_updateScale:function(n,r,a){n.style.width=Math.round(this.options.maxWidth*a)+"px",n.innerHTML=r},_getRoundNum:function(n){var r=Math.pow(10,(Math.floor(n)+"").length-1),a=n/r;return a=a>=10?10:a>=5?5:a>=3?3:a>=2?2:1,r*a}}),Cv=function(n){return new Xf(n)},xl=yt.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(n){k(this,n),this._attributions={}},onAdd:function(n){n.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),wr(this._container);for(var r in n._layers)n._layers[r].getAttribution&&this.addAttribution(n._layers[r].getAttribution());return this._update(),this._container},setPrefix:function(n){return this.options.prefix=n,this._update(),this},addAttribution:function(n){return n?(this._attributions[n]||(this._attributions[n]=0),this._attributions[n]++,this._update(),this):this},removeAttribution:function(n){return n?(this._attributions[n]&&(this._attributions[n]--,this._update()),this):this},_update:function(){if(this._map){var n=[];for(var r in this._attributions)this._attributions[r]&&n.push(r);var a=[];this.options.prefix&&a.push(this.options.prefix),n.length&&a.push(n.join(", ")),this._container.innerHTML=a.join(" | ")}}});Y.mergeOptions({attributionControl:!0}),Y.addInitHook(function(){this.options.attributionControl&&new xl().addTo(this)});var Tv=function(n){return new xl(n)};yt.Layers=Yf,yt.Zoom=wl,yt.Scale=Xf,yt.Attribution=xl,xr.layers=Ev,xr.zoom=Lv,xr.scale=Cv,xr.attribution=Tv;var zt=at.extend({initialize:function(n){this._map=n},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});zt.addTo=function(n,r){return n.addHandler(r,this),this};var Nv={Events:je},Jf=Ot?"touchstart mousedown":"mousedown",eh={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},Pl={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},Fn=Ft.extend({options:{clickTolerance:3},initialize:function(n,r,a,u){k(this,u),this._element=n,this._dragStartTarget=r||n,this._preventOutline=a},enable:function(){this._enabled||(K(this._dragStartTarget,Jf,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Fn._dragging===this&&this.finishDrag(),we(this._dragStartTarget,Jf,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(n){if(!(n._simulated||!this._enabled)&&(this._moved=!1,!sl(this._element,"leaflet-zoom-anim")&&!(Fn._dragging||n.shiftKey||n.which!==1&&n.button!==1&&!n.touches)&&(Fn._dragging=this,this._preventOutline&&hl(this._element),ul(),vr(),!this._moving))){this.fire("down");var r=n.touches?n.touches[0]:n,a=Vf(this._element);this._startPoint=new M(r.clientX,r.clientY),this._parentScale=dl(a),K(document,Pl[n.type],this._onMove,this),K(document,eh[n.type],this._onUp,this)}},_onMove:function(n){if(!(n._simulated||!this._enabled)){if(n.touches&&n.touches.length>1){this._moved=!0;return}var r=n.touches&&n.touches.length===1?n.touches[0]:n,a=new M(r.clientX,r.clientY)._subtract(this._startPoint);!a.x&&!a.y||Math.abs(a.x)+Math.abs(a.y)m&&(y=E,m=N);m>a&&(r[y]=1,Sl(n,r,a,u,y),Sl(n,r,a,y,f))}function zv(n,r){for(var a=[n[0]],u=1,f=0,m=n.length;ur&&(a.push(n[u]),f=u);return fr.max.x&&(a|=2),n.yr.max.y&&(a|=8),a}function jv(n,r){var a=r.x-n.x,u=r.y-n.y;return a*a+u*u}function Pr(n,r,a,u){var f=r.x,m=r.y,y=a.x-f,E=a.y-m,N=y*y+E*E,z;return N>0&&(z=((n.x-f)*y+(n.y-m)*E)/N,z>1?(f=a.x,m=a.y):z>0&&(f+=y*z,m+=E*z)),y=n.x-f,E=n.y-m,u?y*y+E*E:new M(f,m)}function Ut(n){return!S(n[0])||typeof n[0][0]!="object"&&typeof n[0][0]<"u"}function oh(n){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Ut(n)}var Iv={simplify:th,pointToSegmentDistance:nh,closestPointOnSegment:Ov,clipSegment:rh,_getEdgeIntersection:Zo,_getBitCode:$n,_sqClosestPointOnSegment:Pr,isFlat:Ut,_flat:oh};function sh(n,r,a){var u,f=[1,4,2,8],m,y,E,N,z,B,U,te;for(m=0,B=n.length;m1e-7;E++)z=f*Math.sin(y),z=Math.pow((1-z)/(1+z),f/2),N=Math.PI/2-2*Math.atan(m*z)-y,y+=N;return new ne(y*r,n.x*r/a)}},Av={LonLat:kl,Mercator:El,SphericalMercator:Wa},Dv=s({},sn,{code:"EPSG:3395",projection:El,transformation:function(){var n=.5/(Math.PI*El.R);return hr(n,.5,-n,.5)}()}),ah=s({},sn,{code:"EPSG:4326",projection:kl,transformation:hr(1/180,1,-1/180,.5)}),Bv=s({},Ve,{projection:kl,transformation:hr(1,0,-1,0),scale:function(n){return Math.pow(2,n)},zoom:function(n){return Math.log(n)/Math.LN2},distance:function(n,r){var a=r.lng-n.lng,u=r.lat-n.lat;return Math.sqrt(a*a+u*u)},infinite:!0});Ve.Earth=sn,Ve.EPSG3395=Dv,Ve.EPSG3857=Va,Ve.EPSG900913=ov,Ve.EPSG4326=ah,Ve.Simple=Bv;var wt=Ft.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(n){return n.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(n){return n&&n.removeLayer(this),this},getPane:function(n){return this._map.getPane(n?this.options[n]||n:this.options.pane)},addInteractiveTarget:function(n){return this._map._targets[d(n)]=this,this},removeInteractiveTarget:function(n){return delete this._map._targets[d(n)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(n){var r=n.target;if(r.hasLayer(this)){if(this._map=r,this._zoomAnimated=r._zoomAnimated,this.getEvents){var a=this.getEvents();r.on(a,this),this.once("remove",function(){r.off(a,this)},this)}this.onAdd(r),this.getAttribution&&r.attributionControl&&r.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),r.fire("layeradd",{layer:this})}}});Y.include({addLayer:function(n){if(!n._layerAdd)throw new Error("The provided object is not a Layer.");var r=d(n);return this._layers[r]?this:(this._layers[r]=n,n._mapToAdd=this,n.beforeAdd&&n.beforeAdd(this),this.whenReady(n._layerAdd,n),this)},removeLayer:function(n){var r=d(n);return this._layers[r]?(this._loaded&&n.onRemove(this),n.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(n.getAttribution()),delete this._layers[r],this._loaded&&(this.fire("layerremove",{layer:n}),n.fire("remove")),n._map=n._mapToAdd=null,this):this},hasLayer:function(n){return!!n&&d(n)in this._layers},eachLayer:function(n,r){for(var a in this._layers)n.call(r,this._layers[a]);return this},_addLayers:function(n){n=n?S(n)?n:[n]:[];for(var r=0,a=n.length;rthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()r)return y=(u-r)/a,this._map.layerPointToLatLng([m.x-y*(m.x-f.x),m.y-y*(m.y-f.y)])},getBounds:function(){return this._bounds},addLatLng:function(n,r){return r=r||this._defaultShape(),n=re(n),r.push(n),this._bounds.extend(n),this.redraw()},_setLatLngs:function(n){this._bounds=new Ce,this._latlngs=this._convertLatLngs(n)},_defaultShape:function(){return Ut(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(n){for(var r=[],a=Ut(n),u=0,f=n.length;u=2&&r[0]instanceof ne&&r[0].equals(r[a-1])&&r.pop(),r},_setLatLngs:function(n){Wt.prototype._setLatLngs.call(this,n),Ut(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Ut(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var n=this._renderer._bounds,r=this.options.weight,a=new M(r,r);if(n=new H(n.min.subtract(a),n.max.add(a)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(n))){if(this.options.noClip){this._parts=this._rings;return}for(var u=0,f=this._rings.length,m;un.y!=f.y>n.y&&n.x<(f.x-u.x)*(n.y-u.y)/(f.y-u.y)+u.x&&(r=!r);return r||Wt.prototype._containsPoint.call(this,n,!0)}});function Vv(n,r){return new gi(n,r)}var Ht=_i.extend({initialize:function(n,r){k(this,r),this._layers={},n&&this.addData(n)},addData:function(n){var r=S(n)?n:n.features,a,u,f;if(r){for(a=0,u=r.length;a0?u:[r.src];return}S(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(r.style,"objectFit")&&(r.style.objectFit="fill"),r.autoplay=!!this.options.autoplay,r.loop=!!this.options.loop,r.muted=!!this.options.muted;for(var m=0;mf?(r.height=f+"px",G(n,m)):ge(n,m),this._containerWidth=this._container.offsetWidth},_animateZoom:function(n){var r=this._map._latLngToNewLayerPoint(this._latlng,n.zoom,n.center),a=this._getAnchor();ke(this._container,r.add(a))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var n=this._map,r=parseInt(_r(this._container,"marginBottom"),10)||0,a=this._container.offsetHeight+r,u=this._containerWidth,f=new M(this._containerLeft,-a-this._containerBottom);f._add(un(this._container));var m=n.layerPointToContainerPoint(f),y=D(this.options.autoPanPadding),E=D(this.options.autoPanPaddingTopLeft||y),N=D(this.options.autoPanPaddingBottomRight||y),z=n.getSize(),B=0,U=0;m.x+u+N.x>z.x&&(B=m.x+u-z.x+N.x),m.x-B-E.x<0&&(B=m.x-E.x),m.y+a+N.y>z.y&&(U=m.y+a-z.y+N.y),m.y-U-E.y<0&&(U=m.y-E.y),(B||U)&&n.fire("autopanstart").panBy([B,U])}},_onCloseButtonClick:function(n){this._close(),$t(n)},_getAnchor:function(){return D(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Yv=function(n,r){return new wi(n,r)};Y.mergeOptions({closePopupOnClick:!0}),Y.include({openPopup:function(n,r,a){return n instanceof wi||(n=new wi(a).setContent(n)),r&&n.setLatLng(r),this.hasLayer(n)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=n,this.addLayer(n))},closePopup:function(n){return(!n||n===this._popup)&&(n=this._popup,this._popup=null),n&&this.removeLayer(n),this}}),wt.include({bindPopup:function(n,r){return n instanceof wi?(k(n,r),this._popup=n,n._source=this):((!this._popup||r)&&(this._popup=new wi(r,this)),this._popup.setContent(n)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(n,r){return this._popup&&this._map&&(r=this._popup._prepareOpen(this,n,r),this._map.openPopup(this._popup,r)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(n){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(n)),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(n){return this._popup&&this._popup.setContent(n),this},getPopup:function(){return this._popup},_openPopup:function(n){var r=n.layer||n.target;if(this._popup&&this._map){if($t(n),r instanceof cn){this.openPopup(n.layer||n.target,n.latlng);return}this._map.hasLayer(this._popup)&&this._popup._source===r?this.closePopup():this.openPopup(r,n.latlng)}},_movePopup:function(n){this._popup.setLatLng(n.latlng)},_onKeyPress:function(n){n.originalEvent.keyCode===13&&this._openPopup(n)}});var xi=Vt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(n){Vt.prototype.onAdd.call(this,n),this.setOpacity(this.options.opacity),n.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(n){Vt.prototype.onRemove.call(this,n),n.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var n=Vt.prototype.getEvents.call(this);return Ot&&!this.options.permanent&&(n.preclick=this._close),n},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var n="leaflet-tooltip",r=n+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ee("div",r)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(n){var r,a,u=this._map,f=this._container,m=u.latLngToContainerPoint(u.getCenter()),y=u.layerPointToContainerPoint(n),E=this.options.direction,N=f.offsetWidth,z=f.offsetHeight,B=D(this.options.offset),U=this._getAnchor();E==="top"?(r=N/2,a=z):E==="bottom"?(r=N/2,a=0):E==="center"?(r=N/2,a=z/2):E==="right"?(r=0,a=z/2):E==="left"?(r=N,a=z/2):y.xthis.options.maxZoom||au?this._retainParent(f,m,y,u):!1)},_retainChildren:function(n,r,a,u){for(var f=2*n;f<2*n+2;f++)for(var m=2*r;m<2*r+2;m++){var y=new M(f,m);y.z=a+1;var E=this._tileCoordsToKey(y),N=this._tiles[E];if(N&&N.active){N.retain=!0;continue}else N&&N.loaded&&(N.retain=!0);a+1this.options.maxZoom||this.options.minZoom!==void 0&&f1){this._setView(n,a);return}for(var U=f.min.y;U<=f.max.y;U++)for(var te=f.min.x;te<=f.max.x;te++){var Gt=new M(te,U);if(Gt.z=this._tileZoom,!!this._isValidTile(Gt)){var Un=this._tiles[this._tileCoordsToKey(Gt)];Un?Un.current=!0:y.push(Gt)}}if(y.sort(function(fn,Ml){return fn.distanceTo(m)-Ml.distanceTo(m)}),y.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Ko=document.createDocumentFragment();for(te=0;tea.max.x)||!r.wrapLat&&(n.ya.max.y))return!1}if(!this.options.bounds)return!0;var u=this._tileCoordsToBounds(n);return le(this.options.bounds).overlaps(u)},_keyToBounds:function(n){return this._tileCoordsToBounds(this._keyToTileCoords(n))},_tileCoordsToNwSe:function(n){var r=this._map,a=this.getTileSize(),u=n.scaleBy(a),f=u.add(a),m=r.unproject(u,n.z),y=r.unproject(f,n.z);return[m,y]},_tileCoordsToBounds:function(n){var r=this._tileCoordsToNwSe(n),a=new Ce(r[0],r[1]);return this.options.noWrap||(a=this._map.wrapLatLngBounds(a)),a},_tileCoordsToKey:function(n){return n.x+":"+n.y+":"+n.z},_keyToTileCoords:function(n){var r=n.split(":"),a=new M(+r[0],+r[1]);return a.z=+r[2],a},_removeTile:function(n){var r=this._tiles[n];r&&(pe(r.el),delete this._tiles[n],this.fire("tileunload",{tile:r.el,coords:this._keyToTileCoords(n)}))},_initTile:function(n){G(n,"leaflet-tile");var r=this.getTileSize();n.style.width=r.x+"px",n.style.height=r.y+"px",n.onselectstart=w,n.onmousemove=w,li&&this.options.opacity<1&&ut(n,this.options.opacity),dr&&!pr&&(n.style.WebkitBackfaceVisibility="hidden")},_addTile:function(n,r){var a=this._getTilePos(n),u=this._tileCoordsToKey(n),f=this.createTile(this._wrapCoords(n),c(this._tileReady,this,n));this._initTile(f),this.createTile.length<2&&q(c(this._tileReady,this,n,null,f)),ke(f,a),this._tiles[u]={el:f,coords:n,current:!0},r.appendChild(f),this.fire("tileloadstart",{tile:f,coords:n})},_tileReady:function(n,r,a){r&&this.fire("tileerror",{error:r,tile:a,coords:n});var u=this._tileCoordsToKey(n);a=this._tiles[u],a&&(a.loaded=+new Date,this._map._fadeAnimated?(ut(a.el,0),Se(this._fadeFrame),this._fadeFrame=q(this._updateOpacity,this)):(a.active=!0,this._pruneTiles()),r||(G(a.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:a.el,coords:n})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),li||!this._map._fadeAnimated?q(this._pruneTiles,this):setTimeout(c(this._pruneTiles,this),250)))},_getTilePos:function(n){return n.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(n){var r=new M(this._wrapX?g(n.x,this._wrapX):n.x,this._wrapY?g(n.y,this._wrapY):n.y);return r.z=n.z,r},_pxBoundsToTileRange:function(n){var r=this.getTileSize();return new H(n.min.unscaleBy(r).floor(),n.max.unscaleBy(r).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var n in this._tiles)if(!this._tiles[n].loaded)return!1;return!0}});function eg(n){return new kr(n)}var Pi=kr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(n,r){this._url=n,r=k(this,r),r.detectRetina&&ln&&r.maxZoom>0&&(r.tileSize=Math.floor(r.tileSize/2),r.zoomReverse?(r.zoomOffset--,r.minZoom++):(r.zoomOffset++,r.maxZoom--),r.minZoom=Math.max(0,r.minZoom)),typeof r.subdomains=="string"&&(r.subdomains=r.subdomains.split("")),dr||this.on("tileunload",this._onTileRemove)},setUrl:function(n,r){return this._url===n&&r===void 0&&(r=!0),this._url=n,r||this.redraw(),this},createTile:function(n,r){var a=document.createElement("img");return K(a,"load",c(this._tileOnLoad,this,r,a)),K(a,"error",c(this._tileOnError,this,r,a)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(a.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),a.alt="",a.setAttribute("role","presentation"),a.src=this.getTileUrl(n),a},getTileUrl:function(n){var r={r:ln?"@2x":"",s:this._getSubdomain(n),x:n.x,y:n.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var a=this._globalTileRange.max.y-n.y;this.options.tms&&(r.y=a),r["-y"]=a}return v(this._url,s(r,this.options))},_tileOnLoad:function(n,r){li?setTimeout(c(n,this,null,r),0):n(null,r)},_tileOnError:function(n,r,a){var u=this.options.errorTileUrl;u&&r.getAttribute("src")!==u&&(r.src=u),n(a,r)},_onTileRemove:function(n){n.tile.onload=null},_getZoomForUrl:function(){var n=this._tileZoom,r=this.options.maxZoom,a=this.options.zoomReverse,u=this.options.zoomOffset;return a&&(n=r-n),n+u},_getSubdomain:function(n){var r=Math.abs(n.x+n.y)%this.options.subdomains.length;return this.options.subdomains[r]},_abortLoading:function(){var n,r;for(n in this._tiles)this._tiles[n].coords.z!==this._tileZoom&&(r=this._tiles[n].el,r.onload=w,r.onerror=w,r.complete||(r.src=A,pe(r),delete this._tiles[n]))},_removeTile:function(n){var r=this._tiles[n];if(r)return Rf||r.el.setAttribute("src",A),kr.prototype._removeTile.call(this,n)},_tileReady:function(n,r,a){if(!(!this._map||a&&a.getAttribute("src")===A))return kr.prototype._tileReady.call(this,n,r,a)}});function ph(n,r){return new Pi(n,r)}var mh=Pi.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(n,r){this._url=n;var a=s({},this.defaultWmsParams);for(var u in r)u in this.options||(a[u]=r[u]);r=k(this,r);var f=r.detectRetina&&ln?2:1,m=this.getTileSize();a.width=m.x*f,a.height=m.y*f,this.wmsParams=a},onAdd:function(n){this._crs=this.options.crs||n.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var r=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[r]=this._crs.code,Pi.prototype.onAdd.call(this,n)},getTileUrl:function(n){var r=this._tileCoordsToNwSe(n),a=this._crs,u=ie(a.project(r[0]),a.project(r[1])),f=u.min,m=u.max,y=(this._wmsVersion>=1.3&&this._crs===ah?[f.y,f.x,m.y,m.x]:[f.x,f.y,m.x,m.y]).join(","),E=Pi.prototype.getTileUrl.call(this,n);return E+I(this.wmsParams,E,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+y},setParams:function(n,r){return s(this.wmsParams,n),r||this.redraw(),this}});function tg(n,r){return new mh(n,r)}Pi.WMS=mh,ph.wms=tg;var jt=wt.extend({options:{padding:.1,tolerance:0},initialize:function(n){k(this,n),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&G(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var n={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(n.zoomanim=this._onAnimZoom),n},_onAnimZoom:function(n){this._updateTransform(n.center,n.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(n,r){var a=this._map.getZoomScale(r,this._zoom),u=un(this._container),f=this._map.getSize().multiplyBy(.5+this.options.padding),m=this._map.project(this._center,r),y=this._map.project(n,r),E=y.subtract(m),N=f.multiplyBy(-a).add(u).add(f).subtract(E);lt?bn(this._container,N,a):ke(this._container,N)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var n in this._layers)this._layers[n]._reset()},_onZoomEnd:function(){for(var n in this._layers)this._layers[n]._project()},_updatePaths:function(){for(var n in this._layers)this._layers[n]._update()},_update:function(){var n=this.options.padding,r=this._map.getSize(),a=this._map.containerPointToLayerPoint(r.multiplyBy(-n)).round();this._bounds=new H(a,a.add(r.multiplyBy(1+n*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),_h=jt.extend({getEvents:function(){var n=jt.prototype.getEvents.call(this);return n.viewprereset=this._onViewPreReset,n},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){jt.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var n=this._container=document.createElement("canvas");K(n,"mousemove",this._onMouseMove,this),K(n,"click dblclick mousedown mouseup contextmenu",this._onClick,this),K(n,"mouseout",this._handleMouseOut,this),this._ctx=n.getContext("2d")},_destroyContainer:function(){Se(this._redrawRequest),delete this._ctx,pe(this._container),we(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var n;this._redrawBounds=null;for(var r in this._layers)n=this._layers[r],n._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){jt.prototype._update.call(this);var n=this._bounds,r=this._container,a=n.getSize(),u=ln?2:1;ke(r,n.min),r.width=u*a.x,r.height=u*a.y,r.style.width=a.x+"px",r.style.height=a.y+"px",ln&&this._ctx.scale(2,2),this._ctx.translate(-n.min.x,-n.min.y),this.fire("update")}},_reset:function(){jt.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(n){this._updateDashArray(n),this._layers[d(n)]=n;var r=n._order={layer:n,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=r),this._drawLast=r,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(n){this._requestRedraw(n)},_removePath:function(n){var r=n._order,a=r.next,u=r.prev;a?a.prev=u:this._drawLast=u,u?u.next=a:this._drawFirst=a,delete n._order,delete this._layers[d(n)],this._requestRedraw(n)},_updatePath:function(n){this._extendRedrawBounds(n),n._project(),n._update(),this._requestRedraw(n)},_updateStyle:function(n){this._updateDashArray(n),this._requestRedraw(n)},_updateDashArray:function(n){if(typeof n.options.dashArray=="string"){var r=n.options.dashArray.split(/[, ]+/),a=[],u,f;for(f=0;f')}}catch{return function(r){return document.createElement("<"+r+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),ng={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(jt.prototype._update.call(this),this.fire("update"))},_initPath:function(n){var r=n._container=Er("shape");G(r,"leaflet-vml-shape "+(this.options.className||"")),r.coordsize="1 1",n._path=Er("path"),r.appendChild(n._path),this._updateStyle(n),this._layers[d(n)]=n},_addPath:function(n){var r=n._container;this._container.appendChild(r),n.options.interactive&&n.addInteractiveTarget(r)},_removePath:function(n){var r=n._container;pe(r),n.removeInteractiveTarget(r),delete this._layers[d(n)]},_updateStyle:function(n){var r=n._stroke,a=n._fill,u=n.options,f=n._container;f.stroked=!!u.stroke,f.filled=!!u.fill,u.stroke?(r||(r=n._stroke=Er("stroke")),f.appendChild(r),r.weight=u.weight+"px",r.color=u.color,r.opacity=u.opacity,u.dashArray?r.dashStyle=S(u.dashArray)?u.dashArray.join(" "):u.dashArray.replace(/( *, *)/g," "):r.dashStyle="",r.endcap=u.lineCap.replace("butt","flat"),r.joinstyle=u.lineJoin):r&&(f.removeChild(r),n._stroke=null),u.fill?(a||(a=n._fill=Er("fill")),f.appendChild(a),a.color=u.fillColor||u.color,a.opacity=u.fillOpacity):a&&(f.removeChild(a),n._fill=null)},_updateCircle:function(n){var r=n._point.round(),a=Math.round(n._radius),u=Math.round(n._radiusY||a);this._setPath(n,n._empty()?"M0 0":"AL "+r.x+","+r.y+" "+a+","+u+" 0,"+65535*360)},_setPath:function(n,r){n._path.v=r},_bringToFront:function(n){di(n._container)},_bringToBack:function(n){pi(n._container)}},Go=Oo?Er:jf,Lr=jt.extend({getEvents:function(){var n=jt.prototype.getEvents.call(this);return n.zoomstart=this._onZoomStart,n},_initContainer:function(){this._container=Go("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Go("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){pe(this._container),we(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){jt.prototype._update.call(this);var n=this._bounds,r=n.getSize(),a=this._container;(!this._svgSize||!this._svgSize.equals(r))&&(this._svgSize=r,a.setAttribute("width",r.x),a.setAttribute("height",r.y)),ke(a,n.min),a.setAttribute("viewBox",[n.min.x,n.min.y,r.x,r.y].join(" ")),this.fire("update")}},_initPath:function(n){var r=n._path=Go("path");n.options.className&&G(r,n.options.className),n.options.interactive&&G(r,"leaflet-interactive"),this._updateStyle(n),this._layers[d(n)]=n},_addPath:function(n){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(n._path),n.addInteractiveTarget(n._path)},_removePath:function(n){pe(n._path),n.removeInteractiveTarget(n._path),delete this._layers[d(n)]},_updatePath:function(n){n._project(),n._update()},_updateStyle:function(n){var r=n._path,a=n.options;r&&(a.stroke?(r.setAttribute("stroke",a.color),r.setAttribute("stroke-opacity",a.opacity),r.setAttribute("stroke-width",a.weight),r.setAttribute("stroke-linecap",a.lineCap),r.setAttribute("stroke-linejoin",a.lineJoin),a.dashArray?r.setAttribute("stroke-dasharray",a.dashArray):r.removeAttribute("stroke-dasharray"),a.dashOffset?r.setAttribute("stroke-dashoffset",a.dashOffset):r.removeAttribute("stroke-dashoffset")):r.setAttribute("stroke","none"),a.fill?(r.setAttribute("fill",a.fillColor||a.color),r.setAttribute("fill-opacity",a.fillOpacity),r.setAttribute("fill-rule",a.fillRule||"evenodd")):r.setAttribute("fill","none"))},_updatePoly:function(n,r){this._setPath(n,If(n._parts,r))},_updateCircle:function(n){var r=n._point,a=Math.max(Math.round(n._radius),1),u=Math.max(Math.round(n._radiusY),1)||a,f="a"+a+","+u+" 0 1,0 ",m=n._empty()?"M0 0":"M"+(r.x-a)+","+r.y+f+a*2+",0 "+f+-a*2+",0 ";this._setPath(n,m)},_setPath:function(n,r){n._path.setAttribute("d",r)},_bringToFront:function(n){di(n._path)},_bringToBack:function(n){pi(n._path)}});Oo&&Lr.include(ng);function gh(n){return No||Oo?new Lr(n):null}Y.include({getRenderer:function(n){var r=n.options.renderer||this._getPaneRenderer(n.options.pane)||this.options.renderer||this._renderer;return r||(r=this._renderer=this._createRenderer()),this.hasLayer(r)||this.addLayer(r),r},_getPaneRenderer:function(n){if(n==="overlayPane"||n===void 0)return!1;var r=this._paneRenderers[n];return r===void 0&&(r=this._createRenderer({pane:n}),this._paneRenderers[n]=r),r},_createRenderer:function(n){return this.options.preferCanvas&&vh(n)||gh(n)}});var yh=gi.extend({initialize:function(n,r){gi.prototype.initialize.call(this,this._boundsToLatLngs(n),r)},setBounds:function(n){return this.setLatLngs(this._boundsToLatLngs(n))},_boundsToLatLngs:function(n){return n=le(n),[n.getSouthWest(),n.getNorthWest(),n.getNorthEast(),n.getSouthEast()]}});function ig(n,r){return new yh(n,r)}Lr.create=Go,Lr.pointsToPath=If,Ht.geometryToLayer=Cl,Ht.coordsToLatLng=Tl,Ht.coordsToLatLngs=Uo,Ht.latLngToCoords=Nl,Ht.latLngsToCoords=Wo,Ht.getFeature=yi,Ht.asFeature=Ho,Y.mergeOptions({boxZoom:!0});var wh=zt.extend({initialize:function(n){this._map=n,this._container=n._container,this._pane=n._panes.overlayPane,this._resetStateTimeout=0,n.on("unload",this._destroy,this)},addHooks:function(){K(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){we(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){pe(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(n){if(!n.shiftKey||n.which!==1&&n.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),vr(),ul(),this._startPoint=this._map.mouseEventToContainerPoint(n),K(document,{contextmenu:$t,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(n){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),G(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(n);var r=new H(this._point,this._startPoint),a=r.getSize();ke(this._box,r.min),this._box.style.width=a.x+"px",this._box.style.height=a.y+"px"},_finish:function(){this._moved&&(pe(this._box),ge(this._container,"leaflet-crosshair")),gr(),cl(),we(document,{contextmenu:$t,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(n){if(!(n.which!==1&&n.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(c(this._resetState,this),0);var r=new Ce(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(r).fire("boxzoomend",{boxZoomBounds:r})}},_onKeyDown:function(n){n.keyCode===27&&this._finish()}});Y.addInitHook("addHandler","boxZoom",wh),Y.mergeOptions({doubleClickZoom:!0});var xh=zt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(n){var r=this._map,a=r.getZoom(),u=r.options.zoomDelta,f=n.originalEvent.shiftKey?a-u:a+u;r.options.doubleClickZoom==="center"?r.setZoom(f):r.setZoomAround(n.containerPoint,f)}});Y.addInitHook("addHandler","doubleClickZoom",xh),Y.mergeOptions({dragging:!0,inertia:!pr,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Ph=zt.extend({addHooks:function(){if(!this._draggable){var n=this._map;this._draggable=new Fn(n._mapPane,n._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),n.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),n.on("zoomend",this._onZoomEnd,this),n.whenReady(this._onZoomEnd,this))}G(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ge(this._map._container,"leaflet-grab"),ge(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var n=this._map;if(n._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var r=le(this._map.options.maxBounds);this._offsetLimit=ie(this._map.latLngToContainerPoint(r.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(r.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;n.fire("movestart").fire("dragstart"),n.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(n){if(this._map.options.inertia){var r=this._lastTime=+new Date,a=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(a),this._times.push(r),this._prunePositions(r)}this._map.fire("move",n).fire("drag",n)},_prunePositions:function(n){for(;this._positions.length>1&&n-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var n=this._map.getSize().divideBy(2),r=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=r.subtract(n).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(n,r){return n-(n-r)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var n=this._draggable._newPos.subtract(this._draggable._startPos),r=this._offsetLimit;n.xr.max.x&&(n.x=this._viscousLimit(n.x,r.max.x)),n.y>r.max.y&&(n.y=this._viscousLimit(n.y,r.max.y)),this._draggable._newPos=this._draggable._startPos.add(n)}},_onPreDragWrap:function(){var n=this._worldWidth,r=Math.round(n/2),a=this._initialWorldOffset,u=this._draggable._newPos.x,f=(u-r+a)%n+r-a,m=(u+r+a)%n-r-a,y=Math.abs(f+a)0?m:-m))-r;this._delta=0,this._startTime=null,y&&(n.options.scrollWheelZoom==="center"?n.setZoom(r+y):n.setZoomAround(this._lastMousePos,r+y))}});Y.addInitHook("addHandler","scrollWheelZoom",kh),Y.mergeOptions({tap:!0,tapTolerance:15});var Eh=zt.extend({addHooks:function(){K(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){we(this._map._container,"touchstart",this._onDown,this)},_onDown:function(n){if(n.touches){if(ct(n),this._fireClick=!0,n.touches.length>1){this._fireClick=!1,clearTimeout(this._holdTimeout);return}var r=n.touches[0],a=r.target;this._startPos=this._newPos=new M(r.clientX,r.clientY),a.tagName&&a.tagName.toLowerCase()==="a"&&G(a,"leaflet-active"),this._holdTimeout=setTimeout(c(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",r))},this),1e3),this._simulateEvent("mousedown",r),K(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(n){if(clearTimeout(this._holdTimeout),we(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&n&&n.changedTouches){var r=n.changedTouches[0],a=r.target;a&&a.tagName&&a.tagName.toLowerCase()==="a"&&ge(a,"leaflet-active"),this._simulateEvent("mouseup",r),this._isTapValid()&&this._simulateEvent("click",r)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(n){var r=n.touches[0];this._newPos=new M(r.clientX,r.clientY),this._simulateEvent("mousemove",r)},_simulateEvent:function(n,r){var a=document.createEvent("MouseEvents");a._simulated=!0,r.target._simulatedClick=!0,a.initMouseEvent(n,!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),r.target.dispatchEvent(a)}});Ot&&(!Nt||To)&&Y.addInitHook("addHandler","tap",Eh),Y.mergeOptions({touchZoom:Ot&&!pr,bounceAtZoomLimits:!0});var Lh=zt.extend({addHooks:function(){G(this._map._container,"leaflet-touch-zoom"),K(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ge(this._map._container,"leaflet-touch-zoom"),we(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(n){var r=this._map;if(!(!n.touches||n.touches.length!==2||r._animatingZoom||this._zooming)){var a=r.mouseEventToContainerPoint(n.touches[0]),u=r.mouseEventToContainerPoint(n.touches[1]);this._centerPoint=r.getSize()._divideBy(2),this._startLatLng=r.containerPointToLatLng(this._centerPoint),r.options.touchZoom!=="center"&&(this._pinchStartLatLng=r.containerPointToLatLng(a.add(u)._divideBy(2))),this._startDist=a.distanceTo(u),this._startZoom=r.getZoom(),this._moved=!1,this._zooming=!0,r._stop(),K(document,"touchmove",this._onTouchMove,this),K(document,"touchend",this._onTouchEnd,this),ct(n)}},_onTouchMove:function(n){if(!(!n.touches||n.touches.length!==2||!this._zooming)){var r=this._map,a=r.mouseEventToContainerPoint(n.touches[0]),u=r.mouseEventToContainerPoint(n.touches[1]),f=a.distanceTo(u)/this._startDist;if(this._zoom=r.getScaleZoom(f,this._startZoom),!r.options.bounceAtZoomLimits&&(this._zoomr.getMaxZoom()&&f>1)&&(this._zoom=r._limitZoom(this._zoom)),r.options.touchZoom==="center"){if(this._center=this._startLatLng,f===1)return}else{var m=a._add(u)._divideBy(2)._subtract(this._centerPoint);if(f===1&&m.x===0&&m.y===0)return;this._center=r.unproject(r.project(this._pinchStartLatLng,this._zoom).subtract(m),this._zoom)}this._moved||(r._moveStart(!0,!1),this._moved=!0),Se(this._animRequest);var y=c(r._move,r,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=q(y,this,!0),ct(n)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Se(this._animRequest),we(document,"touchmove",this._onTouchMove,this),we(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});Y.addInitHook("addHandler","touchZoom",Lh),Y.BoxZoom=wh,Y.DoubleClickZoom=xh,Y.Drag=Ph,Y.Keyboard=Sh,Y.ScrollWheelZoom=kh,Y.Tap=Eh,Y.TouchZoom=Lh,i.version=o,i.Control=yt,i.control=xr,i.Browser=cv,i.Evented=Ft,i.Mixin=Nv,i.Util=Bn,i.Class=at,i.Handler=zt,i.extend=s,i.bind=c,i.stamp=d,i.setOptions=k,i.DomEvent=Sv,i.DomUtil=xv,i.PosAnimation=qf,i.Draggable=Fn,i.LineUtil=Iv,i.PolyUtil=Rv,i.Point=M,i.point=D,i.Bounds=H,i.bounds=ie,i.Transformation=Ha,i.transformation=hr,i.Projection=Av,i.LatLng=ne,i.latLng=re,i.LatLngBounds=Ce,i.latLngBounds=le,i.CRS=Ve,i.GeoJSON=Ht,i.geoJSON=ch,i.geoJson=Gv,i.Layer=wt,i.LayerGroup=mi,i.layerGroup=bv,i.FeatureGroup=_i,i.featureGroup=Zv,i.ImageOverlay=Vo,i.imageOverlay=Kv,i.VideoOverlay=fh,i.videoOverlay=Qv,i.SVGOverlay=hh,i.svgOverlay=qv,i.DivOverlay=Vt,i.Popup=wi,i.popup=Yv,i.Tooltip=xi,i.tooltip=Xv,i.Icon=vi,i.icon=Fv,i.DivIcon=dh,i.divIcon=Jv,i.Marker=Fo,i.marker=$v,i.TileLayer=Pi,i.tileLayer=ph,i.GridLayer=kr,i.gridLayer=eg,i.SVG=Lr,i.svg=gh,i.Renderer=jt,i.Canvas=_h,i.canvas=vh,i.Path=cn,i.CircleMarker=$o,i.circleMarker=Uv,i.Circle=Ll,i.circle=Wv,i.Polyline=Wt,i.polyline=Hv,i.Polygon=gi,i.polygon=Vv,i.Rectangle=yh,i.rectangle=ig,i.Map=Y,i.map=kv;var rg=window.L;i.noConflict=function(){return window.L=rg,this},window.L=i})})(mc,mc.exports);var rr=mc.exports;function kx(e,t){const[i,o]=R.useState(null),s=R.useRef(!1);return R.useEffect(()=>{if(e.current&&!s.current){const l=new rr.Map(e.current,{center:{lat:t.lat,lng:t.lng},zoom:10}),c=new rr.TileLayer("https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png",{attribution:'© OpenStreetMap contributors © CARTO'});l.addLayer(c),o(l),s.current=!0}},[e,t]),i}var Di=(e=>(e.Main="/",e.Login="/login",e.Favorites="/favorites",e.Offer="/offer/:id",e))(Di||{}),Mf=(e=>(e.Auth="AUTH",e.NoAuth="NO_AUTH",e.Unknown="UNKNOWN",e))(Mf||{});const Ex="/img/pin-active.svg",Lx="/img/pin.svg",Cx=new rr.Icon({iconUrl:Ex,iconSize:[32,32],iconAnchor:[20,40]}),Tx=new rr.Icon({iconUrl:Lx,iconSize:[32,32],iconAnchor:[20,40]});function rv(e){const t=mo(c=>c.city),i=mo(c=>c.highlightedMarker),{points:o}=e,s=ra.useRef(null),l=kx(s,t);return R.useEffect(()=>{if(l){const c=rr.layerGroup().addTo(l);return o.forEach(h=>{const d=new rr.Marker({lat:h.lat,lng:h.lng});let p;h===i?p=Cx:p=Tx,d.setIcon(p).addTo(c)}),l.setView([t.lat,t.lng],11),()=>{l.removeLayer(c)}}},[l,o,i,t]),_.jsx("div",{style:{height:"100%"},ref:s})}const Bi=[{title:"Paris",lat:48.864716,lng:2.349014},{title:"Brussels",lat:50.85034,lng:4.35171},{title:"Cologne",lat:50.935173,lng:6.953101},{title:"Amsterdam",lat:52.37403,lng:4.88969},{title:"Hamburg",lat:53.551086,lng:9.993682},{title:"Dusseldorf",lat:51.233334,lng:6.783333}];function Nx({chosenCity:e}){const t=vf(),i=o=>{t(K_(o))};return _.jsx("ul",{className:"locations__list tabs__list",children:Bi.map(o=>_.jsx("li",{className:"locations__item",children:_.jsx("a",{className:`locations__item-link tabs__item ${o===e?"tabs__item--active":""}`,onClick:()=>{i(o)},children:_.jsx("span",{children:o.title})})},o.title))})}function Ox(){const e=mo(s=>s.sortType),t=vf(),[i,o]=ra.useState(!1);return _.jsxs("form",{className:"places__sorting",action:"#",method:"get",children:[_.jsx("span",{className:"places__sorting-caption",children:"Sort by"}),_.jsxs("span",{className:"places__sorting-type",tabIndex:0,onClick:()=>o(!i),children:[e,_.jsx("svg",{className:"places__sorting-arrow",width:"7",height:"4",children:_.jsx("use",{xlinkHref:"#icon-arrow-select"})})]}),_.jsxs("ul",{className:`places__options places__options--custom ${i?"places__options--opened":""}`,children:[_.jsx("li",{className:`places__option ${e===Je.POPULAR?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Fr(Je.POPULAR)),children:"Popular"}),_.jsx("li",{className:`places__option ${e===Je.LOW_TO_HIGH?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Fr(Je.LOW_TO_HIGH)),children:"Price: low to high"}),_.jsx("li",{className:`places__option ${e===Je.HIGH_TO_LOW?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Fr(Je.HIGH_TO_LOW)),children:"Price: high to low"}),_.jsx("li",{className:`places__option ${e===Je.TOP_RATED?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Fr(Je.TOP_RATED)),children:"Top rated first"})]})]})}function Mx(){const[e,t]=mo(l=>[l.city,l.offers]),i=t.filter(l=>l.city===e),o=i.map(l=>l.point),s=t.filter(l=>l.isFavorite);return _.jsxs("div",{className:"page page--gray page--main",children:[_.jsx("header",{className:"header",children:_.jsx("div",{className:"container",children:_.jsxs("div",{className:"header__wrapper",children:[_.jsx("div",{className:"header__left",children:_.jsx("a",{className:"header__logo-link header__logo-link--active",children:_.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})}),_.jsx("nav",{className:"header__nav",children:_.jsxs("ul",{className:"header__nav-list",children:[_.jsx("li",{className:"header__nav-item user",children:_.jsxs("a",{className:"header__nav-link header__nav-link--profile",href:"#",children:[_.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),_.jsx("span",{className:"header__user-name user__name",children:"Oliver.conner@gmail.com"}),_.jsx(ir,{to:"/favorites",children:_.jsx("span",{className:"header__favorite-count",children:s.length})})]})}),_.jsx("li",{className:"header__nav-item",children:_.jsx("a",{className:"header__nav-link",href:"#",children:_.jsx("span",{className:"header__signout",children:"Sign out"})})})]})})]})})}),_.jsxs("main",{className:"page__main page__main--index",children:[_.jsx("h1",{className:"visually-hidden",children:"Cities"}),_.jsx("div",{className:"tabs",children:_.jsx("section",{className:"locations container",children:_.jsx(Nx,{chosenCity:e})})}),_.jsx("div",{className:"cities",children:_.jsxs("div",{className:"cities__places-container container",children:[_.jsxs("section",{className:"cities__places places",children:[_.jsx("h2",{className:"visually-hidden",children:"Places"}),_.jsxs("b",{className:"places__found",children:[i.length," places to stay in ",e.title]}),_.jsx(Ox,{}),_.jsx(Of,{offers:i,listType:wa.standart})]}),_.jsx("div",{className:"cities__right-section",children:_.jsx("section",{className:"cities__map map",children:_.jsx(rv,{points:o})})})]})})]})]})}function zx(){return _.jsxs("div",{className:"page page--gray page--login",children:[_.jsx("header",{className:"header",children:_.jsx("div",{className:"container",children:_.jsx("div",{className:"header__wrapper",children:_.jsx("div",{className:"header__left",children:_.jsx("a",{className:"header__logo-link",href:"main.html",children:_.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})})})})}),_.jsx("main",{className:"page__main page__main--login",children:_.jsxs("div",{className:"page__login-container container",children:[_.jsxs("section",{className:"login",children:[_.jsx("h1",{className:"login__title",children:"Sign in"}),_.jsxs("form",{className:"login__form form",action:"#",method:"post",children:[_.jsxs("div",{className:"login__input-wrapper form__input-wrapper",children:[_.jsx("label",{className:"visually-hidden",children:"E-mail"}),_.jsx("input",{className:"login__input form__input",type:"email",name:"email",placeholder:"Email",required:!0})]}),_.jsxs("div",{className:"login__input-wrapper form__input-wrapper",children:[_.jsx("label",{className:"visually-hidden",children:"Password"}),_.jsx("input",{className:"login__input form__input",type:"password",name:"password",placeholder:"Password",required:!0})]}),_.jsx("button",{className:"login__submit form__submit button",type:"submit",children:"Sign in"})]})]}),_.jsx("section",{className:"locations locations--login locations--current",children:_.jsx("div",{className:"locations__item",children:_.jsx("a",{className:"locations__item-link",href:"#",children:_.jsx("span",{children:"Amsterdam"})})})})]})})]})}function jx({offers:e}){return _.jsxs("div",{className:"page",children:[_.jsx("header",{className:"header",children:_.jsx("div",{className:"container",children:_.jsxs("div",{className:"header__wrapper",children:[_.jsx("div",{className:"header__left",children:_.jsx(ir,{to:"/",className:"header__logo-link",children:_.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})}),_.jsx("nav",{className:"header__nav",children:_.jsxs("ul",{className:"header__nav-list",children:[_.jsx("li",{className:"header__nav-item user",children:_.jsxs("a",{className:"header__nav-link header__nav-link--profile",href:"#",children:[_.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),_.jsx("span",{className:"header__user-name user__name",children:"Oliver.conner@gmail.com"}),_.jsx("span",{className:"header__favorite-count",children:"3"})]})}),_.jsx("li",{className:"header__nav-item",children:_.jsx("a",{className:"header__nav-link",href:"#",children:_.jsx("span",{className:"header__signout",children:"Sign out"})})})]})})]})})}),_.jsx("main",{className:"page__main page__main--favorites",children:_.jsx("div",{className:"page__favorites-container container",children:_.jsxs("section",{className:"favorites",children:[_.jsx("h1",{className:"favorites__title",children:"Saved listing"}),_.jsx("ul",{className:"favorites__list",children:_.jsxs("li",{className:"favorites__locations-items",children:[_.jsx("div",{className:"favorites__locations locations locations--current",children:_.jsx("div",{className:"locations__item",children:_.jsx("a",{className:"locations__item-link",href:"#",children:_.jsx("span",{children:"Amsterdam"})})})}),_.jsx(Of,{offers:e,listType:wa.favourites})]})})]})})}),_.jsx("footer",{className:"footer container",children:_.jsx(ir,{to:"/",className:"header__logo-link",children:_.jsx("img",{className:"footer__logo",src:"img/logo.svg",alt:"6 cities logo",width:"64",height:"33"})})})]})}function Ix(){return _.jsxs("section",{className:"error__screen",children:[_.jsx("h1",{children:"404 Not Found"}),_.jsx("a",{href:"/",children:"Вернуться на главную"})]})}function Rx({review:e}){return _.jsxs("li",{className:"reviews__item",children:[_.jsxs("div",{className:"reviews__user user",children:[_.jsx("div",{className:"reviews__avatar-wrapper user__avatar-wrapper",children:_.jsx("img",{className:"reviews__avatar user__avatar",src:e.avatar,width:"54",height:"54",alt:"Reviews avatar"})}),_.jsx("span",{className:"reviews__user-name",children:e.author})]}),_.jsxs("div",{className:"reviews__info",children:[_.jsx("div",{className:"reviews__rating rating",children:_.jsxs("div",{className:"reviews__stars rating__stars",children:[_.jsx("span",{style:{width:`${e.rating/5*100}%`}}),_.jsx("span",{className:"visually-hidden",children:"Rating"})]})}),_.jsx("p",{className:"reviews__text",children:e.comment}),_.jsx("time",{className:"reviews__time",dateTime:"2019-04-24",children:e.date})]})]})}function Ax(){const[e,t]=R.useState({rating:"1",review:""}),i=o=>{const{name:s,value:l}=o.target;t({...e,[s]:l})};return _.jsxs("form",{className:"reviews__form form",action:"#",method:"post",children:[_.jsx("label",{className:"reviews__label form__label",htmlFor:"review",children:"Your review"}),_.jsxs("div",{className:"reviews__rating-form form__rating",children:[_.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"5",id:"5-stars",type:"radio",onChange:i}),_.jsx("label",{htmlFor:"5-stars",className:"reviews__rating-label form__rating-label",title:"perfect",children:_.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:_.jsx("use",{xlinkHref:"#icon-star"})})}),_.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"4",id:"4-stars",type:"radio",onChange:i}),_.jsx("label",{htmlFor:"4-stars",className:"reviews__rating-label form__rating-label",title:"good",children:_.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:_.jsx("use",{xlinkHref:"#icon-star"})})}),_.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"3",id:"3-stars",type:"radio",onChange:i}),_.jsx("label",{htmlFor:"3-stars",className:"reviews__rating-label form__rating-label",title:"not bad",children:_.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:_.jsx("use",{xlinkHref:"#icon-star"})})}),_.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"2",id:"2-stars",type:"radio",onChange:i}),_.jsx("label",{htmlFor:"2-stars",className:"reviews__rating-label form__rating-label",title:"badly",children:_.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:_.jsx("use",{xlinkHref:"#icon-star"})})}),_.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"1",id:"1-star",type:"radio",onChange:i}),_.jsx("label",{htmlFor:"1-star",className:"reviews__rating-label form__rating-label",title:"terribly",children:_.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:_.jsx("use",{xlinkHref:"#icon-star"})})})]}),_.jsx("textarea",{className:"reviews__textarea form__textarea",id:"review",name:"review",value:e.review,onChange:i,placeholder:"Tell how was your stay, what you like and what can be improved"}),_.jsxs("div",{className:"reviews__button-wrapper",children:[_.jsxs("p",{className:"reviews__help",children:["To submit review please make sure to set ",_.jsx("span",{className:"reviews__star",children:"rating"})," and describe your stay with at least ",_.jsx("b",{className:"reviews__text-amount",children:"50 characters"}),"."]}),_.jsx("button",{className:"reviews__submit form__submit button",type:"submit",disabled:!0,children:"Submit"})]})]})}function Dx({reviews:e}){return _.jsxs("section",{className:"offer__reviews reviews",children:[_.jsxs("h2",{className:"reviews__title",children:["Reviews · ",_.jsx("span",{className:"reviews__amount",children:e.length})]}),_.jsx("ul",{className:"reviews__list",children:e.map(t=>_.jsx(Rx,{review:t},t.id))}),_.jsx(Ax,{})]})}const qn=[{lat:48.856716,lng:2.369014},{lat:48.876716,lng:2.349014},{lat:48.826716,lng:2.319014},{lat:52.3809553943508,lng:4.939309666406198}],Rr=[{id:"1",avatar:"img/avatar-angelina.jpg",author:"Angelina",rating:5,date:"March 2022",comment:"Beautiful apartments with stunning views, perfect for those who appreciate comfort and beauty."},{id:"2",avatar:"img/avatar-max.jpg",author:"Max",rating:3,date:"December 2023",comment:"The room is cozy but lacks sufficient heating, making it uncomfortable during colder months."},{id:"3",avatar:"img/avatar-angelina.jpg",author:"Angelina",rating:5,date:"May 2024",comment:"Well equipped apartment in a great location with all possible amenities."},{id:"4",avatar:"img/avatar-max.jpg",author:"Max",rating:5,date:"December 2024",comment:"Luxurious apartments with breathtaking views, ideal for those seeking both comfort and elegance in a prime location."}],Jn=[{id:"1",image:["img/apartment-01.jpg"],isPremium:!0,price:120,title:"Beautiful & luxurious studio at great location",type:"Apartment",isFavorite:!1,rating:4,reviews:[Rr[0],Rr[1]],city:Bi[0],point:qn[0]},{id:"2",image:["img/room.jpg"],isPremium:!1,price:80,title:"Wood and stone place",type:"Room",isFavorite:!0,rating:4,reviews:[Rr[1]],city:Bi[0],point:qn[1]},{id:"3",image:["img/apartment-02.jpg"],isPremium:!1,price:132,title:"Canal View Prinsengracht",type:"Apartment",isFavorite:!1,rating:4.7,reviews:[Rr[2]],city:Bi[0],point:qn[2]},{id:"4",image:["img/apartment-03.jpg"],isPremium:!0,price:180,title:"Nice, cozy, warm big bed apartment",type:"Apartment",isFavorite:!0,rating:5,reviews:[Rr[3]],city:Bi[3],point:qn[3]}];function Bx({offer:e}){return _.jsxs("div",{className:"page",children:[_.jsx("header",{className:"header",children:_.jsx("div",{className:"container",children:_.jsxs("div",{className:"header__wrapper",children:[_.jsx("div",{className:"header__left",children:_.jsx(ir,{to:"/",className:"header__logo-link",children:_.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})}),_.jsx("nav",{className:"header__nav",children:_.jsxs("ul",{className:"header__nav-list",children:[_.jsx("li",{className:"header__nav-item user",children:_.jsxs("a",{className:"header__nav-link header__nav-link--profile",href:"#",children:[_.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),_.jsx("span",{className:"header__user-name user__name",children:"Oliver.conner@gmail.com"}),_.jsx(ir,{to:"/favorites",children:_.jsx("span",{className:"header__favorite-count",children:"3"})})]})}),_.jsx("li",{className:"header__nav-item",children:_.jsx("a",{className:"header__nav-link",href:"#",children:_.jsx("span",{className:"header__signout",children:"Sign out"})})})]})})]})})}),_.jsxs("main",{className:"page__main page__main--offer",children:[_.jsxs("section",{className:"offer",children:[_.jsx("div",{className:"offer__gallery-container container",children:_.jsxs("div",{className:"offer__gallery",children:[_.jsx("div",{className:"offer__image-wrapper",children:_.jsx("img",{className:"offer__image",src:"img/room.jpg",alt:"Photo studio"})}),_.jsx("div",{className:"offer__image-wrapper",children:_.jsx("img",{className:"offer__image",src:"img/apartment-01.jpg",alt:"Photo studio"})}),_.jsx("div",{className:"offer__image-wrapper",children:_.jsx("img",{className:"offer__image",src:"img/apartment-02.jpg",alt:"Photo studio"})}),_.jsx("div",{className:"offer__image-wrapper",children:_.jsx("img",{className:"offer__image",src:"img/apartment-03.jpg",alt:"Photo studio"})}),_.jsx("div",{className:"offer__image-wrapper",children:_.jsx("img",{className:"offer__image",src:"img/studio-01.jpg",alt:"Photo studio"})}),_.jsx("div",{className:"offer__image-wrapper",children:_.jsx("img",{className:"offer__image",src:"img/apartment-01.jpg",alt:"Photo studio"})})]})}),_.jsx("div",{className:"offer__container container",children:_.jsxs("div",{className:"offer__wrapper",children:[e.isPremium?_.jsx("div",{className:"offer__mark",children:_.jsx("span",{children:"Premium"})}):null,_.jsxs("div",{className:"offer__name-wrapper",children:[_.jsx("h1",{className:"offer__name",children:e.title}),_.jsxs("button",{className:"offer__bookmark-button button",type:"button",children:[_.jsx("svg",{className:"offer__bookmark-icon",width:"31",height:"33",children:_.jsx("use",{xlinkHref:"#icon-bookmark"})}),_.jsx("span",{className:"visually-hidden",children:"To bookmarks"})]})]}),_.jsxs("div",{className:"offer__rating rating",children:[_.jsxs("div",{className:"offer__stars rating__stars",children:[_.jsx("span",{style:{width:`${e.rating/5*100}%`}}),_.jsx("span",{className:"visually-hidden",children:"Rating"})]}),_.jsx("span",{className:"offer__rating-value rating__value",children:e.rating})]}),_.jsxs("ul",{className:"offer__features",children:[_.jsx("li",{className:"offer__feature offer__feature--entire",children:e.type}),_.jsx("li",{className:"offer__feature offer__feature--bedrooms",children:"3 Bedrooms"}),_.jsx("li",{className:"offer__feature offer__feature--adults",children:"Max 4 adults"})]}),_.jsxs("div",{className:"offer__price",children:[_.jsxs("b",{className:"offer__price-value",children:["€",e.price]}),_.jsx("span",{className:"offer__price-text",children:" night"})]}),_.jsxs("div",{className:"offer__inside",children:[_.jsx("h2",{className:"offer__inside-title",children:"What's inside"}),_.jsxs("ul",{className:"offer__inside-list",children:[_.jsx("li",{className:"offer__inside-item",children:"Wi-Fi"}),_.jsx("li",{className:"offer__inside-item",children:"Washing machine"}),_.jsx("li",{className:"offer__inside-item",children:"Towels"}),_.jsx("li",{className:"offer__inside-item",children:"Heating"}),_.jsx("li",{className:"offer__inside-item",children:"Coffee machine"}),_.jsx("li",{className:"offer__inside-item",children:"Baby seat"}),_.jsx("li",{className:"offer__inside-item",children:"Kitchen"}),_.jsx("li",{className:"offer__inside-item",children:"Dishwasher"}),_.jsx("li",{className:"offer__inside-item",children:"Cabel TV"}),_.jsx("li",{className:"offer__inside-item",children:"Fridge"})]})]}),_.jsxs("div",{className:"offer__host",children:[_.jsx("h2",{className:"offer__host-title",children:"Meet the host"}),_.jsxs("div",{className:"offer__host-user user",children:[_.jsx("div",{className:"offer__avatar-wrapper offer__avatar-wrapper--pro user__avatar-wrapper",children:_.jsx("img",{className:"offer__avatar user__avatar",src:"img/avatar-angelina.jpg",width:"74",height:"74",alt:"Host avatar"})}),_.jsx("span",{className:"offer__user-name",children:"Angelina"}),_.jsx("span",{className:"offer__user-status",children:"Pro"})]}),_.jsx("div",{className:"offer__description",children:_.jsx("p",{className:"offer__text",children:"A quiet cozy and picturesque that hides behind a a river by the unique lightness of Amsterdam. The building is green and from 18th century."})})]}),_.jsx(Dx,{reviews:e.reviews})]})}),_.jsx("section",{className:"offer__map map",children:_.jsx(rv,{points:[qn[0],qn[1],qn[2]]})})]}),_.jsx("div",{className:"container",children:_.jsxs("section",{className:"near-places places",children:[_.jsx("h2",{className:"near-places__title",children:"Other places in the neighbourhood"}),_.jsx(Of,{offers:[Jn[0],Jn[1],Jn[3]],listType:wa.nearest})]})})]})]})}function bx(e){const{authorizationStatus:t,children:i}=e;return t===Mf.Auth?i:_.jsx(fx,{to:Di.Login})}function Zx(){const e=Jn.filter(t=>t.isFavorite);return _.jsx(yx,{children:_.jsxs(dx,{children:[_.jsx(ki,{path:"*",element:_.jsx(Ix,{})}),_.jsx(ki,{path:Di.Main,element:_.jsx(Mx,{})}),_.jsx(ki,{path:Di.Favorites,element:_.jsx(bx,{authorizationStatus:Mf.Auth,children:_.jsx(jx,{offers:e})})}),_.jsx(ki,{path:Di.Login,element:_.jsx(zx,{})}),_.jsx(ki,{path:Di.Offer,element:_.jsx(Bx,{offer:Jn[0]})})]})})}const Fx={city:Bi[0],offers:Jn,sortType:Je.POPULAR,highlightedMarker:void 0},$x=v1(Fx,e=>{e.addCase(k1,t=>{t.offers=Jn}).addCase(K_,(t,i)=>{t.city=i.payload}).addCase(Fr,(t,i)=>{t.sortType=i.payload}).addCase(fc,(t,i)=>{t.highlightedMarker=i.payload})}),Ux=p1({reducer:$x}),Wx=pu.createRoot(document.getElementById("root"));Wx.render(_.jsx(ra.StrictMode,{children:_.jsx(Mw,{store:Ux,children:_.jsx(Zx,{})})})); diff --git a/8/css/main.css b/8/css/main.css new file mode 100644 index 0000000..eb596a6 --- /dev/null +++ b/8/css/main.css @@ -0,0 +1,2 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}@font-face{font-family:rubik;font-style:normal;font-weight:300;src:url(../fonts/rubik-light.woff2) format("woff2"),url(../fonts/rubik-light.woff) format("woff"),url(../fonts/rubik-light.ttf) format("truetype");font-display:swap}@font-face{font-family:rubik;font-style:normal;font-weight:400;src:url(../fonts/rubik-regular.woff2) format("woff2"),url(../fonts/rubik-regular.woff) format("woff"),url(../fonts/rubik-regular.ttf) format("truetype");font-display:swap}@font-face{font-family:rubik;font-style:normal;font-weight:500;src:url(../fonts/rubik-medium.woff2) format("woff2"),url(../fonts/rubik-medium.woff) format("woff"),url(../fonts/rubik-medium.ttf) format("truetype");font-display:swap}@font-face{font-family:rubik;font-style:normal;font-weight:700;src:url(../fonts/rubik-bold.woff2) format("woff2"),url(../fonts/rubik-bold.woff) format("woff"),url(../fonts/rubik-bold.ttf) format("truetype");font-display:swap}body,html{width:100%;min-width:1144px;margin:0;padding:0;font-family:rubik,arial,sans-serif;font-weight:400;font-style:normal;font-size:16px;line-height:1.15;color:#383838;background-color:#f5f5f5;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;-webkit-box-sizing:border-box;box-sizing:border-box}*,::after,::before{-webkit-box-sizing:inherit;box-sizing:inherit}a{color:inherit;text-decoration:none;-webkit-transition:color .3s,opacity .3s;transition:color .3s,opacity .3s;cursor:pointer;outline:0}textarea{resize:none}img{max-width:100%;height:auto}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;white-space:nowrap;-webkit-clip-path:inset(100%);clip-path:inset(100%);clip:rect(0 0 0 0);overflow:hidden}.container{width:1144px;margin-left:auto;margin-right:auto;padding-left:58px;padding-right:58px}.button{padding:0;background:0 0;border:none;text-decoration:none;cursor:pointer;display:inline-block;font:inherit;text-align:center;word-break:break-word;word-wrap:wrap;overflow-wrap:break-word;-webkit-transition:color .3s,background-color .3s;transition:color .3s,background-color .3s;outline:0}.page{background-color:#fff}.page--login{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:1144px;margin-left:auto;margin-right:auto;background-image:linear-gradient(to right,#f5f5f5 509px,transparent 509px),url(../img/amsterdam.jpg);background-position:top left,right top;height:100vh;background-size:auto,auto 100%;background-repeat:no-repeat,no-repeat;overflow:hidden}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi),(min-resolution:1.5dppx){.page--login{background-image:linear-gradient(to right,#f5f5f5 509px,transparent 509px),url(../img/amsterdam@2x.jpg)}}@media (max-height:720px){.page--login{background-size:auto,auto 715px}}.page--favorites-empty{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100vh}.page--main{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100vh}.page--gray{background-color:#f5f5f5}.page__main--offer{padding-bottom:129px}.page__main--login{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.page__main--favorites{padding-top:11px}.page__main--favorites-empty{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.page__main--favorites-empty .page__favorites-container{display:-webkit-box;display:-ms-flexbox;display:flex}.page__main--index{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow-y:hidden}.page__login-container{display:-webkit-box;display:-ms-flexbox;display:flex}.header__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:19px 16px 0}.header__left{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-negative:0;flex-shrink:0;margin-right:auto}.header__logo-link{margin-bottom:15px}.header__logo-link:not(.header__logo-link--active):focus,.header__logo-link:not(.header__logo-link--active):hover{opacity:.5}.header__nav{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:11px;margin-left:30px}.header__nav-list{margin:0;padding:0;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.header__nav-item{display:-webkit-box;display:-ms-flexbox;display:flex;min-height:25px;margin-bottom:15px}.header__nav-item:not(:last-child){margin-right:15px}.header__nav-link{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;line-height:1.2143;-webkit-transition:text-shadow .3s;transition:text-shadow .3s}.header__nav-link:focus,.header__nav-link:hover{text-shadow:.5px 0 0,-.5px 0 0}.header__avatar-wrapper{width:20px;height:20px;margin-right:8px}.header__login{padding-top:2px;padding-right:8px}.header__signout,.header__user-name{padding-top:2px}.header__favorite-count{display:inline-block;min-width:40px;height:25px;margin:0 10px;padding:5px;font-size:16px;font-weight:600;line-height:16px;text-align:center;color:#fff;background:#4481c3;border-radius:15px}.user__avatar-wrapper{background-image:url(../img/avatar.svg);background-size:100%;background-repeat:no-repeat}.user__avatar{border-radius:50%}.rating__stars{position:relative;display:block;font-size:0}.rating__stars::before{content:"";display:inline-block;height:100%;background:url(../img/stars.svg) transparent no-repeat center}.rating__stars span{position:absolute;top:0;left:0;display:inline-block;height:100%;overflow:hidden}.rating__stars span::before{content:"";display:inline-block;height:100%;background:url(../img/stars-active.svg) transparent no-repeat center}.cities{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;background-color:#fff;overflow-y:hidden}.cities__places-container{display:-webkit-box;display:-ms-flexbox;display:flex;padding-right:0}.cities__places-container--empty{padding-right:0}.cities__no-places{position:relative;width:498px;padding-left:18px}.cities__no-places::after{content:"";position:absolute;width:12.06vh;min-width:100px;max-width:120px;height:100%;bottom:0;right:-48px;background-color:#fff;border-right:6px solid #4481c3;-webkit-transform:skew(-6.5deg);transform:skew(-6.5deg)}.cities__places{width:572px;margin-top:2px;margin-right:2px;padding-top:29px;padding-bottom:7px;padding-left:9px;overflow-y:auto}.cities__places-list{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-8px;padding-left:5px}.cities__card{width:260px;margin-left:8px;margin-bottom:24px}.page__main--index-empty .cities__right-section{background-image:url(../img/no-places@2x.png);background-size:auto 119%;background-repeat:no-repeat;background-position:right 100%}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi),(min-resolution:1.5dppx){.page__main--index-empty .cities__right-section{background-image:url(../img/no-places@2x.png)}}@media (max-height:780px){.page__main--index-empty .cities__right-section{background-position:right center;background-size:100% auto}}.cities__right-section{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.cities__map{width:100%;-ms-flex-item-align:stretch;align-self:stretch;background-image:url(../img/map.jpg);background-size:682px auto;background-repeat:no-repeat;background-position:-170px center}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi),(min-resolution:1.5dppx){.cities__map{background-image:url(../img/map@2x.jpg);background-size:682px 794px}}@media (min-height:980px){.cities__map{background-size:cover}}.cities__status-wrapper{position:relative;z-index:1;width:auto;margin-top:25.4vh;margin-right:auto;margin-left:auto;padding-top:62px;text-align:center;background-image:url(../img/ico-no-results.svg);background-size:45px 47px;background-position:center top;background-repeat:no-repeat}.cities__status{display:block;margin-bottom:5px;font-size:32px;line-height:1.1875}.cities__status-description{margin-top:0;margin-bottom:0;padding:0 45px;font-size:16px;line-height:1.5}.locations--login{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;padding:0 51px 63px 130px}.locations--login .locations__item-link{padding:9px 21px 6px 16px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.locations--current .locations__item{margin:0}.locations--current .locations__item-link{color:#fff;background-color:#4481c3;text-shadow:1px 0 0,.5px 0 0,-1px 0 0}.locations__list{margin:0;padding:0;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:16px 3px 33px}.locations__item{display:block;margin-right:36px;margin-bottom:19px}.favorites__locations .locations__item-link{min-width:137px;padding:9px 14px 6px 15px;text-align:center;letter-spacing:.9px}.locations__item-link{display:block;padding:9px 21px 6px 11px;font-size:19px;line-height:1.211;font-weight:300;font-style:oblique;-webkit-transform:skew(-15deg);transform:skew(-15deg);border-radius:3px;-webkit-transition:background .3s,color .3s,text-shadow .3s;transition:background .3s,color .3s,text-shadow .3s}.locations__item-link span{display:block;-webkit-transform:skew(15deg);transform:skew(15deg)}.locations__item-link:focus,.locations__item-link:hover{text-shadow:1px 0 0,.5px 0 0,-1px 0 0}.locations__item-link.tabs__item--active{text-shadow:1px 0 0,.5px 0 0,-1px 0 0;color:#fff;background-color:#4481c3}.places__found{display:block;margin-bottom:22px;padding-left:2px;font-size:24px;line-height:1.167;font-weight:700;font-style:oblique}.places__sorting{position:relative;margin-bottom:33px;padding-left:5px}.places__sorting-arrow{position:absolute;top:55%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:0;fill:#0d0d0d}.places__options{margin:0;padding:0;list-style:none;background-color:#fff;border:1px solid #dfdfdf;border-radius:4px}.places__options--custom{position:absolute;top:calc(100% + 1px);left:52px;z-index:1;display:none}.places__options--opened{display:block}.places__option{min-width:170px;padding:14px 16px 10px;font-size:14px;line-height:1.2143;-webkit-transition:background .3s;transition:background .3s;outline:0;cursor:pointer}.places__option--active,.places__option:focus,.places__option:hover{background-color:#f2f2f2}.places__option:selected{background-color:#f2f2f2}.places__sorting-caption{font-size:12px;line-height:1.167;font-weight:700}.places__sorting-type{position:relative;display:inline-block;padding-right:12px;font-size:12px;line-height:1.167;cursor:pointer}.place-card{position:relative}.place-card:hover{opacity:.6}.place-card__image-wrapper{margin-bottom:9px}.place-card__image{display:block;border-radius:4px}.place-card__info{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.place-card__price-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:5px}.place-card__price{margin-right:20px}.favorites__card .place-card__bookmark-button{margin-top:0;-webkit-transform:skew(10deg);transform:skew(10deg)}.place-card__bookmark-button{-ms-flex-negative:0;flex-shrink:0;width:18px;height:19px;margin-top:2px}.place-card__bookmark-button:focus .place-card__bookmark-icon,.place-card__bookmark-button:hover .place-card__bookmark-icon{stroke:#4481c3}.place-card__bookmark-button--active .place-card__bookmark-icon{stroke:#4481c3;fill:#4481c3}.place-card__bookmark-icon{fill:none;stroke:#979797;stroke-width:2;-webkit-transition:fill .3s,stroke .3s;transition:fill .3s,stroke .3s}.place-card__price-value{font-size:20px;line-height:1.2;font-weight:700}.place-card__price-text{font-size:12px;line-height:1.1667}.place-card__rating{margin-bottom:6px}.place-card__stars{width:73px;height:12px}.place-card__stars::before{width:73px;background-size:73px 12px}.place-card__stars span{width:0%}.place-card__stars span::before{width:73px;background-size:73px 12px}.place-card__name{margin-top:0;margin-bottom:4px;font-size:18px;line-height:1.223;font-weight:700;font-style:oblique}.place-card__name a{display:inline-block}.place-card__name a:focus,.place-card__name a:hover{opacity:.7}.place-card__type{margin-top:0;margin-bottom:0;font-size:12px;line-height:1.1667}.place-card__mark{position:absolute;top:-5px;left:-3px;padding:5px 15px 5px 9px;font-size:12px;line-height:1.1667;font-weight:700;color:#fff;background-color:#4481c3;-webkit-transform:skew(-10deg);transform:skew(-10deg);border-radius:3px}.place-card__mark span{display:block;-webkit-transform:skew(10deg);transform:skew(10deg)}.offer__gallery-container{padding-left:52px;padding-right:52px}.offer__gallery{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:785px;margin-right:auto;margin-left:auto;max-height:452px;margin-bottom:30px;overflow:hidden}.offer__gallery::before{content:"";position:absolute;top:-1px;left:0;width:34px;height:100%;background-image:url(../img/triangle.svg);background-repeat:no-repeat;background-size:34px 452px;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.offer__gallery::after{content:"";position:absolute;top:-1px;right:0;width:34px;height:100%;background-image:url(../img/triangle.svg);background-repeat:no-repeat;background-size:34px 452px}.offer__image-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:2px;margin-right:2px;width:260px;height:200px;overflow:hidden}.offer__image-wrapper:nth-child(3n){margin-right:0}.offer__image{display:block;min-width:100%;min-height:100%;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.offer__container{position:relative;overflow-x:hidden}.offer__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:613px;margin-right:auto;margin-left:auto}.offer__mark{margin-bottom:8px;padding:7px 11px 3px 8px;font-size:16px;line-height:1.1875;font-weight:700;font-style:oblique;color:#fff;background-color:#4481c3;-webkit-transform:skew(-10deg);transform:skew(-10deg);border-radius:2px;background-color:#4481c3}.offer__mark span{display:block;-webkit-transform:skew(10deg);transform:skew(10deg)}.offer__name{margin-top:0;margin-bottom:7px;padding:0 28px;font-size:38px;line-height:1.21053;font-weight:700;font-style:oblique;text-align:center}.offer__bookmark-button{position:absolute;top:41px;right:93px;width:31px;height:33px;margin-top:2px}.offer__bookmark-button:focus .offer__bookmark-icon,.offer__bookmark-button:hover .offer__bookmark-icon{stroke:#4481c3}.offer__bookmark-button--active .offer__bookmark-icon{stroke:#4481c3;fill:#4481c3}.offer__bookmark-icon{fill:none;stroke:#979797;stroke-width:2;-webkit-transition:fill .3s,stroke .3s;transition:fill .3s,stroke .3s}.offer__rating{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-bottom:24px}.offer__stars{width:147px;height:24px}.offer__stars::before{width:147px;background-size:147px 24px}.offer__stars span{width:0%}.offer__stars span::before{width:147px;background-size:147px 24px}.offer__rating-value{margin-left:5px;padding-top:2px;font-size:24px;line-height:1;font-weight:700;font-style:oblique}.offer__features{margin:0;padding:0;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:38px;margin-left:-64px}.offer__feature{margin-left:64px;padding-left:18px;font-size:16px;line-height:1.3;background-repeat:no-repeat}.offer__feature--entire{background-image:url(../img/ico-place.svg);background-size:13px 16px}.offer__feature--bedrooms{background-image:url(../img/ico-bedrooms.svg);background-size:14px 18px}.offer__feature--adults{background-image:url(../img/ico-adults.svg);background-size:13px 12px;background-position:left 3px}.offer__price{position:relative;margin-bottom:56px}.offer__price::before{content:"";position:absolute;top:18px;left:calc(100% + 12px);width:345px;height:1px;background-image:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.01)),to(#7ca7d5));background-image:linear-gradient(to left,rgba(255,255,255,.01),#7ca7d5)}.offer__price::after{content:"";position:absolute;top:18px;right:calc(100% + 11px);width:425px;height:1px;background-image:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.01)),to(#6899ce));background-image:linear-gradient(to right,rgba(255,255,255,.01),#6899ce)}.offer__price-value{position:relative;padding-right:8px;padding-left:6px;font-size:32px;line-height:1.1875;font-weight:700;font-style:oblique}.offer__price-value::after{content:"";position:absolute;top:-7px;right:-2px;height:52px;width:2px;background-color:#4481c3;-webkit-transform:skew(-12deg);transform:skew(-12deg)}.offer__price-text{font-size:18px;line-height:1.223;font-weight:700;font-style:oblique;opacity:.48}.offer__inside{width:100%;margin-bottom:52px}.offer__inside-title{margin-top:0;margin-bottom:24px;font-size:24px;line-height:1.1667;font-weight:700;font-style:oblique;text-align:center;color:#000}.offer__inside-list{margin:0;padding:0;list-style:none;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.offer__inside-item{position:relative;width:100%;max-width:174px;padding-left:18px;font-size:16px;line-height:1.75;color:#000}.offer__inside-item::before{content:"";position:absolute;top:14px;left:0;width:12px;height:1px;background-color:#000}.offer__host-title{margin-top:0;margin-bottom:25px;font-size:24px;line-height:1.1667;font-weight:700;font-style:oblique;text-align:center;color:#000}.offer__host-user{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px;padding-right:16px}.offer__avatar-wrapper{position:relative;width:74px;min-width:74px;height:74px;margin-bottom:7px}.offer__avatar-wrapper--pro::after{content:"";position:absolute;top:-3px;right:-16px;width:33px;height:33px;border-radius:50%;background-color:#ff9000;background-image:url(../img/star-white.svg);background-size:20px 19px;background-position:center 6px;background-repeat:no-repeat}.offer__user-name{font-size:16px;line-height:1.187;font-weight:700;color:#000}.offer__user-status{font-size:12px;line-height:1.167;color:#696969}.offer__description{margin-bottom:52px}.offer__text{margin-top:0;margin-bottom:28px;font-size:16px;line-height:1.75;color:#000}.offer__reviews{width:100%;margin-bottom:55px}.offer__map{width:100%;height:579px;margin-bottom:50px;background-image:url(../img/map-big.jpg);background-repeat:no-repeat;background-size:1144px auto;background-position:center top}@media (-webkit-min-device-pixel-ratio:1.5),(min-resolution:144dpi),(min-resolution:1.5dppx){.offer__map{background-image:url(../img/map-big@2x.jpg);background-size:1144px auto}}.reviews__title{margin-top:0;margin-bottom:37px;font-size:24px;line-height:1.1667;font-weight:700;font-style:oblique;color:#000;text-align:center}.reviews__avatar-wrapper{min-width:54px;width:54px;height:54px;margin-bottom:10px}.reviews__avatar{display:block}.reviews__user{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:54px;margin-right:22px}.reviews__user-name{font-size:14px;line-height:1.2143;color:#000;word-break:break-word;word-wrap:break-word;overflow-wrap:break-word}.reviews__list{margin:0;padding:0;list-style:none}.reviews__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-bottom:22px}.reviews__text{margin-top:0;margin-bottom:5px;font-size:16px;line-height:1.75;color:#000}.reviews__rating{margin-bottom:7px}.reviews__stars{width:98px;height:16px}.reviews__stars::before{width:98px;background-size:98px 16px}.reviews__stars span{width:0%}.reviews__stars span::before{width:98px;background-size:98px 16px}.reviews__time{font-size:14px;line-height:1;color:#5d5d5d}.reviews__form{margin-right:-30px;padding-left:76px}.reviews__label{display:inline-block;margin-bottom:14px;font-size:14px;line-height:1.2143;font-weight:700;font-style:oblique;color:#000}.reviews__textarea{width:568px;height:92px;margin-bottom:12px;padding:15px 16px}.reviews__rating-form{margin-bottom:21px}.reviews__button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.reviews__help{width:402px;margin-top:8px;margin-bottom:0;font-size:12px;line-height:1.334}.reviews__star{padding-left:15px;background-image:url(../img/star-active.svg);background-size:12px 11px;background-repeat:no-repeat}.reviews__text-amount{font-weight:700}.reviews__submit{width:143px;font-size:16px;line-height:1.1875}.form__rating{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.form__rating-label{display:block;width:37px;height:33px;margin-right:4px;cursor:pointer}.form__rating-label:first-child{margin-right:0}.form__rating-input:checked~.form__rating-label .form__star-image,.form__rating-input:focus~.form__rating-label .form__star-image,.form__rating-label:hover .form__star-image,.form__rating-label:hover~.form__rating-label .form__star-image{fill:#ff9000}.form__star-image{fill:#c7c7c7;-webkit-transition:fill .3s;transition:fill .3s}.form__textarea{font-size:16px;line-height:1.1875;color:#383838;background-color:#fff;border:1px solid #e6e6e6;border-radius:2px}.form__textarea::-webkit-input-placeholder{font-size:16px;line-height:1.1875;color:#9b9b9b}.form__textarea::-moz-placeholder{font-size:16px;line-height:1.1875;color:#9b9b9b}.form__textarea::-ms-input-placeholder{font-size:16px;line-height:1.1875;color:#9b9b9b}.form__textarea::placeholder{font-size:16px;line-height:1.1875;color:#9b9b9b}.form__textarea::-ms-input-placeholder{font-size:16px;line-height:1.1875;color:#9b9b9b}.form__input{padding:15px 14px 13px;font-size:16px;line-height:1.1875;color:#383838;background-color:#fff;border:1px solid #e6e6e6;border-radius:2px}.form__input::-webkit-input-placeholder{font-size:16px;line-height:1.1875;color:#818181}.form__input::-moz-placeholder{font-size:16px;line-height:1.1875;color:#818181}.form__input::-ms-input-placeholder{font-size:16px;line-height:1.1875;color:#818181}.form__input::placeholder{font-size:16px;line-height:1.1875;color:#818181}.form__input::-ms-input-placeholder{font-size:16px;line-height:1.1875;color:#818181}.form__submit{padding:16px 20px 13px;color:#fff;background-color:#4481c3;border-radius:3px}.form__submit:focus,.form__submit:hover{background-color:#3069a6}.form__submit:disabled{background-color:#c7c7c7}.near-places{margin:0 16px 0 12px;padding-bottom:27px;border-bottom:2px solid rgba(222,222,222,.5)}.near-places__title{margin-top:0;margin-bottom:25px;font-size:24px;line-height:1.1667;font-weight:700;font-style:oblique;text-align:center;color:#000}.near-places__list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-left:-8px;padding-left:3px}.near-places__card{width:260px;margin-left:8px;margin-bottom:24px}.login{position:relative;width:520px;padding-top:19.6vh;padding-right:60px;padding-left:13px}.login::after{content:"";position:absolute;width:12.03vh;min-width:195px;height:100vh;min-height:450px;bottom:0;right:-2px;background-color:#f5f5f5;border-right:6px solid #4481c3;-webkit-transform:skew(-6.5deg);transform:skew(-6.5deg)}.login__title{position:relative;z-index:1;margin-top:0;margin-bottom:28px;font-size:32px;line-height:1.1875;font-weight:700;font-style:oblique}.login__form{position:relative;z-index:1;width:341px}.login__input-wrapper{margin-right:2px}.login__input{width:100%;margin-bottom:24px}.login__submit{width:100%}.favorites{padding:0 15px 93px;border-bottom:2px solid rgba(222,222,222,.5)}.favorites--empty{width:100%;padding:0 0 93px 38px}.favorites__title{margin-top:0;margin-bottom:49px;font-size:32px;line-height:1.1429;font-weight:700;font-style:oblique;text-align:center}.favorites__list{margin:0;padding:0;list-style:none}.favorites__locations-items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-bottom:52px}.favorites__locations-items:last-child{margin-bottom:0}.favorites__locations{display:-webkit-box;display:-ms-flexbox;display:flex;width:244px;margin-right:20px}.favorites__card{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;width:421px;margin-bottom:32px}.favorites__card:last-child{margin-bottom:0}.favorites__image-wrapper{min-width:150px;margin-right:16px;margin-bottom:0}.favorites__card-info{padding-top:1px}.favorites__status-wrapper{width:420px;margin-top:16.7vh;margin-right:auto;margin-left:auto;padding-top:94px;text-align:center;background-image:url(../img/ico-saved.svg);background-size:60px 73px;background-position:center top;background-repeat:no-repeat}.favorites__status{display:block;margin-bottom:5px;font-size:32px;line-height:1.1875}.favorites__status-description{margin-top:0;margin-bottom:0;padding:0 30px;font-size:16px;line-height:1.5}.footer{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;padding-top:48px;padding-bottom:52px}.header__logo-link:not(.header__logo-link--active):focus,.header__logo-link:not(.header__logo-link--active):hover{opacity:.5} +/*# sourceMappingURL=main.css.map */ diff --git a/8/css/main.css.map b/8/css/main.css.map new file mode 100644 index 0000000..7df7026 --- /dev/null +++ b/8/css/main.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../libs/normalize-8.0.1.scss","main.css","global/_fonts.scss","global/_global.scss","templates/button.scss","global/_mixins.scss","templates/page.scss","templates/header.scss","templates/user.scss","templates/rating.scss","templates/cities.scss","templates/locations.scss","templates/places.scss","templates/place-card.scss","templates/offer.scss","templates/reviews.scss","templates/form.scss","templates/near-places.scss","templates/login.scss","templates/favorites.scss","templates/footer.scss"],"names":[],"mappings":"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","file":"main.css","sourcesContent":["/* stylelint-disable */\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n","/* stylelint-disable */\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n line-height: 1.15;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */ }\n\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0; }\n\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block; }\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0; }\n\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box;\n /* 1 */\n height: 0;\n /* 1 */\n overflow: visible;\n /* 2 */ }\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace;\n /* 1 */\n font-size: 1em;\n /* 2 */ }\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent; }\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none;\n /* 1 */\n text-decoration: underline;\n /* 2 */\n text-decoration: underline dotted;\n /* 2 */ }\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder; }\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace;\n /* 1 */\n font-size: 1em;\n /* 2 */ }\n\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%; }\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline; }\n\nsub {\n bottom: -0.25em; }\n\nsup {\n top: -0.5em; }\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none; }\n\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n line-height: 1.15;\n /* 1 */\n margin: 0;\n /* 2 */ }\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput {\n /* 1 */\n overflow: visible; }\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect {\n /* 1 */\n text-transform: none; }\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button; }\n\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0; }\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText; }\n\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em; }\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box;\n /* 1 */\n color: inherit;\n /* 2 */\n display: table;\n /* 1 */\n max-width: 100%;\n /* 1 */\n padding: 0;\n /* 3 */\n white-space: normal;\n /* 1 */ }\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline; }\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto; }\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box;\n /* 1 */\n padding: 0;\n /* 2 */ }\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto; }\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=\"search\"] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */ }\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none; }\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */ }\n\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block; }\n\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item; }\n\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none; }\n\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none; }\n\n@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 300;\n src: url(\"../fonts/rubik-light.woff2\") format(\"woff2\"), url(\"../fonts/rubik-light.woff\") format(\"woff\"), url(\"../fonts/rubik-light.ttf\") format(\"truetype\");\n font-display: swap; }\n\n@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 400;\n src: url(\"../fonts/rubik-regular.woff2\") format(\"woff2\"), url(\"../fonts/rubik-regular.woff\") format(\"woff\"), url(\"../fonts/rubik-regular.ttf\") format(\"truetype\");\n font-display: swap; }\n\n@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 500;\n src: url(\"../fonts/rubik-medium.woff2\") format(\"woff2\"), url(\"../fonts/rubik-medium.woff\") format(\"woff\"), url(\"../fonts/rubik-medium.ttf\") format(\"truetype\");\n font-display: swap; }\n\n@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 700;\n src: url(\"../fonts/rubik-bold.woff2\") format(\"woff2\"), url(\"../fonts/rubik-bold.woff\") format(\"woff\"), url(\"../fonts/rubik-bold.ttf\") format(\"truetype\");\n font-display: swap; }\n\nhtml,\nbody {\n width: 100%;\n min-width: 1144px;\n margin: 0;\n padding: 0;\n font-family: \"rubik\", \"arial\", sans-serif;\n font-weight: 400;\n font-style: normal;\n font-size: 16px;\n line-height: 1.15;\n color: #383838;\n background-color: #f5f5f5;\n -webkit-font-smoothing: antialiased;\n font-smoothing: antialiased;\n box-sizing: border-box; }\n\n*,\n*::before,\n*::after {\n box-sizing: inherit; }\n\na {\n color: inherit;\n text-decoration: none;\n transition: color 0.3s, opacity 0.3s;\n cursor: pointer;\n outline: none; }\n\ntextarea {\n resize: none; }\n\nimg {\n max-width: 100%;\n height: auto; }\n\n.visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n border: 0;\n padding: 0;\n white-space: nowrap;\n clip-path: inset(100%);\n clip: rect(0 0 0 0);\n overflow: hidden; }\n\n.container {\n width: 1144px;\n margin-left: auto;\n margin-right: auto;\n padding-left: 58px;\n padding-right: 58px; }\n\n.button {\n padding: 0;\n background: none;\n border: none;\n text-decoration: none;\n cursor: pointer;\n display: inline-block;\n font: inherit;\n text-align: center;\n word-break: break-word;\n word-wrap: wrap;\n overflow-wrap: break-word;\n transition: color 0.3s, background-color 0.3s;\n outline: none; }\n\n.page {\n background-color: white; }\n .page--login {\n display: flex;\n flex-direction: column;\n width: 1144px;\n margin-left: auto;\n margin-right: auto;\n background-image: linear-gradient(to right, #f5f5f5 509px, transparent 509px), url(\"../img/amsterdam.jpg\");\n background-position: top left, right top;\n height: 100vh;\n background-size: auto, auto 100%;\n background-repeat: no-repeat, no-repeat;\n overflow: hidden; }\n @media (min-resolution: 144dpi), (min-resolution: 1.5dppx) {\n .page--login {\n background-image: linear-gradient(to right, #f5f5f5 509px, transparent 509px), url(\"../img/amsterdam@2x.jpg\"); } }\n @media (max-height: 720px) {\n .page--login {\n background-size: auto, auto 715px; } }\n .page--favorites-empty {\n display: flex;\n flex-direction: column;\n height: 100vh; }\n .page--main {\n display: flex;\n flex-direction: column;\n height: 100vh; }\n .page--gray {\n background-color: #f5f5f5; }\n\n.page__main--offer {\n padding-bottom: 129px; }\n\n.page__main--login {\n display: flex;\n flex-grow: 1; }\n\n.page__main--favorites {\n padding-top: 11px; }\n\n.page__main--favorites-empty {\n display: flex;\n flex-grow: 1; }\n .page__main--favorites-empty .page__favorites-container {\n display: flex; }\n\n.page__main--index {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n overflow-y: hidden; }\n\n.page__login-container {\n display: flex; }\n\n.header__wrapper {\n display: flex;\n align-items: flex-start;\n padding: 19px 16px 0; }\n\n.header__left {\n display: flex;\n flex-wrap: wrap;\n flex-shrink: 0;\n margin-right: auto; }\n\n.header__logo-link {\n margin-bottom: 15px; }\n .header__logo-link:not(.header__logo-link--active):hover, .header__logo-link:not(.header__logo-link--active):focus {\n opacity: 0.5; }\n\n.header__nav {\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n margin-top: 11px;\n margin-left: 30px; }\n\n.header__nav-list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start; }\n\n.header__nav-item {\n display: flex;\n min-height: 25px;\n margin-bottom: 15px; }\n .header__nav-item:not(:last-child) {\n margin-right: 15px; }\n\n.header__nav-link {\n display: flex;\n position: relative;\n align-items: center;\n font-size: 14px;\n line-height: 1.2143;\n transition: text-shadow 0.3s; }\n .header__nav-link:hover, .header__nav-link:focus {\n text-shadow: 0.5px 0 0, -0.5px 0 0; }\n\n.header__avatar-wrapper {\n width: 20px;\n height: 20px;\n margin-right: 8px; }\n\n.header__login {\n padding-top: 2px;\n padding-right: 8px; }\n\n.header__user-name,\n.header__signout {\n padding-top: 2px; }\n\n.header__favorite-count {\n display: inline-block;\n min-width: 40px;\n height: 25px;\n margin: 0 10px;\n padding: 5px;\n font-size: 16px;\n font-weight: 600;\n line-height: 16px;\n text-align: center;\n color: #fff;\n background: #4481c3;\n border-radius: 15px; }\n\n.user__avatar-wrapper {\n background-image: url(\"../img/avatar.svg\");\n background-size: 100%;\n background-repeat: no-repeat; }\n\n.user__avatar {\n border-radius: 50%; }\n\n.rating__stars {\n position: relative;\n display: block;\n font-size: 0; }\n .rating__stars::before {\n content: \"\";\n display: inline-block;\n height: 100%;\n background: url(\"../img/stars.svg\") transparent no-repeat center; }\n .rating__stars span {\n position: absolute;\n top: 0;\n left: 0;\n display: inline-block;\n height: 100%;\n overflow: hidden; }\n .rating__stars span::before {\n content: \"\";\n display: inline-block;\n height: 100%;\n background: url(\"../img/stars-active.svg\") transparent no-repeat center; }\n\n.cities {\n display: flex;\n flex-grow: 1;\n background-color: white;\n overflow-y: hidden; }\n\n.cities__places-container {\n display: flex;\n padding-right: 0; }\n .cities__places-container--empty {\n padding-right: 0; }\n\n.cities__no-places {\n position: relative;\n width: 498px;\n padding-left: 18px; }\n .cities__no-places::after {\n content: \"\";\n position: absolute;\n width: 12.06vh;\n min-width: 100px;\n max-width: 120px;\n height: 100%;\n bottom: 0;\n right: -48px;\n background-color: white;\n border-right: 6px solid #4481c3;\n transform: skew(-6.5deg); }\n\n.cities__places {\n width: 572px;\n margin-top: 2px;\n margin-right: 2px;\n padding-top: 29px;\n padding-bottom: 7px;\n padding-left: 9px;\n overflow-y: auto; }\n\n.cities__places-list {\n display: flex;\n flex-wrap: wrap;\n margin-left: -8px;\n padding-left: 5px; }\n\n.cities__card {\n width: 260px;\n margin-left: 8px;\n margin-bottom: 24px; }\n\n.page__main--index-empty .cities__right-section {\n background-image: url(\"../img/no-places@2x.png\");\n background-size: auto 119%;\n background-repeat: no-repeat;\n background-position: right 100%; }\n @media (min-resolution: 144dpi), (min-resolution: 1.5dppx) {\n .page__main--index-empty .cities__right-section {\n background-image: url(\"../img/no-places@2x.png\"); } }\n @media (max-height: 780px) {\n .page__main--index-empty .cities__right-section {\n background-position: right center;\n background-size: 100% auto; } }\n\n.cities__right-section {\n display: flex;\n flex-grow: 1; }\n\n.cities__map {\n width: 100%;\n align-self: stretch;\n background-image: url(\"../img/map.jpg\");\n background-size: 682px auto;\n background-repeat: no-repeat;\n background-position: -170px center; }\n @media (min-resolution: 144dpi), (min-resolution: 1.5dppx) {\n .cities__map {\n background-image: url(\"../img/map@2x.jpg\");\n background-size: 682px 794px; } }\n @media (min-height: 980px) {\n .cities__map {\n background-size: cover; } }\n\n.cities__status-wrapper {\n position: relative;\n z-index: 1;\n width: auto;\n margin-top: 25.4vh;\n margin-right: auto;\n margin-left: auto;\n padding-top: 62px;\n text-align: center;\n background-image: url(\"../img/ico-no-results.svg\");\n background-size: 45px 47px;\n background-position: center top;\n background-repeat: no-repeat; }\n\n.cities__status {\n display: block;\n margin-bottom: 5px;\n font-size: 32px;\n line-height: 1.1875; }\n\n.cities__status-description {\n margin-top: 0;\n margin-bottom: 0;\n padding: 0 45px;\n font-size: 16px;\n line-height: 1.5; }\n\n.locations--login {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n padding: 0 51px 63px 130px; }\n .locations--login .locations__item-link {\n padding: 9px 21px 6px 16px;\n backface-visibility: hidden; }\n\n.locations--current .locations__item {\n margin: 0; }\n\n.locations--current .locations__item-link {\n color: white;\n background-color: #4481c3;\n text-shadow: 1px 0 0, 0.5px 0 0, -1px 0 0; }\n\n.locations__list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n padding: 16px 3px 33px; }\n\n.locations__item {\n display: block;\n margin-right: 36px;\n margin-bottom: 19px; }\n\n.favorites__locations .locations__item-link {\n min-width: 137px;\n padding: 9px 14px 6px 15px;\n text-align: center;\n letter-spacing: 0.9px; }\n\n.locations__item-link {\n display: block;\n padding: 9px 21px 6px 11px;\n font-size: 19px;\n line-height: 1.211;\n font-weight: 300;\n font-style: oblique;\n transform: skew(-15deg);\n border-radius: 3px;\n transition: background 0.3s, color 0.3s, text-shadow 0.3s; }\n .locations__item-link span {\n display: block;\n transform: skew(15deg); }\n .locations__item-link:hover, .locations__item-link:focus {\n text-shadow: 1px 0 0, 0.5px 0 0, -1px 0 0; }\n .locations__item-link.tabs__item--active {\n text-shadow: 1px 0 0, 0.5px 0 0, -1px 0 0;\n color: white;\n background-color: #4481c3; }\n\n.places__found {\n display: block;\n margin-bottom: 22px;\n padding-left: 2px;\n font-size: 24px;\n line-height: 1.167;\n font-weight: 700;\n font-style: oblique; }\n\n.places__sorting {\n position: relative;\n margin-bottom: 33px;\n padding-left: 5px; }\n\n.places__sorting-arrow {\n position: absolute;\n top: 55%;\n transform: translateY(-50%);\n right: 0;\n fill: #0d0d0d; }\n\n.places__options {\n margin: 0;\n padding: 0;\n list-style: none;\n background-color: white;\n border: 1px solid #dfdfdf;\n border-radius: 4px; }\n .places__options--custom {\n position: absolute;\n top: calc(100% + 1px);\n left: 52px;\n z-index: 1;\n display: none; }\n .places__options--opened {\n display: block; }\n\n.places__option {\n min-width: 170px;\n padding: 14px 16px 10px;\n font-size: 14px;\n line-height: 1.2143;\n transition: background 0.3s;\n outline: none;\n cursor: pointer; }\n .places__option:hover, .places__option:focus, .places__option--active {\n background-color: #f2f2f2; }\n .places__option:selected {\n background-color: #f2f2f2; }\n\n.places__sorting-caption {\n font-size: 12px;\n line-height: 1.167;\n font-weight: 700; }\n\n.places__sorting-type {\n position: relative;\n display: inline-block;\n padding-right: 12px;\n font-size: 12px;\n line-height: 1.167;\n cursor: pointer; }\n\n.place-card {\n position: relative; }\n .place-card:hover {\n opacity: 0.6; }\n\n.place-card__image-wrapper {\n margin-bottom: 9px; }\n\n.place-card__image {\n display: block;\n border-radius: 4px; }\n\n.place-card__info {\n flex-grow: 1; }\n\n.place-card__price-wrapper {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: 5px; }\n\n.place-card__price {\n margin-right: 20px; }\n\n.favorites__card .place-card__bookmark-button {\n margin-top: 0;\n transform: skew(10deg); }\n\n.place-card__bookmark-button {\n flex-shrink: 0;\n width: 18px;\n height: 19px;\n margin-top: 2px; }\n .place-card__bookmark-button:hover .place-card__bookmark-icon,\n .place-card__bookmark-button:focus .place-card__bookmark-icon {\n stroke: #4481c3; }\n .place-card__bookmark-button--active .place-card__bookmark-icon {\n stroke: #4481c3;\n fill: #4481c3; }\n\n.place-card__bookmark-icon {\n fill: none;\n stroke: #979797;\n stroke-width: 2;\n transition: fill 0.3s, stroke 0.3s; }\n\n.place-card__price-value {\n font-size: 20px;\n line-height: 1.2;\n font-weight: 700; }\n\n.place-card__price-text {\n font-size: 12px;\n line-height: 1.1667; }\n\n.place-card__rating {\n margin-bottom: 6px; }\n\n.place-card__stars {\n width: 73px;\n height: 12px; }\n .place-card__stars::before {\n width: 73px;\n background-size: 73px 12px; }\n .place-card__stars span {\n width: 0%; }\n .place-card__stars span::before {\n width: 73px;\n background-size: 73px 12px; }\n\n.place-card__name {\n margin-top: 0;\n margin-bottom: 4px;\n font-size: 18px;\n line-height: 1.223;\n font-weight: 700;\n font-style: oblique; }\n .place-card__name a {\n display: inline-block; }\n .place-card__name a:hover,\n .place-card__name a:focus {\n opacity: 0.7; }\n\n.place-card__type {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 12px;\n line-height: 1.1667; }\n\n.place-card__mark {\n position: absolute;\n top: -5px;\n left: -3px;\n padding: 5px 15px 5px 9px;\n font-size: 12px;\n line-height: 1.1667;\n font-weight: 700;\n color: white;\n background-color: #4481c3;\n transform: skew(-10deg);\n border-radius: 3px; }\n .place-card__mark span {\n display: block;\n transform: skew(10deg); }\n\n.offer__gallery-container {\n padding-left: 52px;\n padding-right: 52px; }\n\n.offer__gallery {\n position: relative;\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n justify-content: center;\n width: 785px;\n margin-right: auto;\n margin-left: auto;\n max-height: 452px;\n margin-bottom: 30px;\n overflow: hidden; }\n .offer__gallery::before {\n content: \"\";\n position: absolute;\n top: -1px;\n left: 0;\n width: 34px;\n height: 100%;\n background-image: url(\"../img/triangle.svg\");\n background-repeat: no-repeat;\n background-size: 34px 452px;\n transform: rotate(180deg); }\n .offer__gallery::after {\n content: \"\";\n position: absolute;\n top: -1px;\n right: 0;\n width: 34px;\n height: 100%;\n background-image: url(\"../img/triangle.svg\");\n background-repeat: no-repeat;\n background-size: 34px 452px; }\n\n.offer__image-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 2px;\n margin-right: 2px;\n width: 260px;\n height: 200px;\n overflow: hidden; }\n .offer__image-wrapper:nth-child(3n) {\n margin-right: 0; }\n\n.offer__image {\n display: block;\n min-width: 100%;\n min-height: 100%;\n flex-grow: 1; }\n\n.offer__container {\n position: relative;\n overflow-x: hidden; }\n\n.offer__wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 613px;\n margin-right: auto;\n margin-left: auto; }\n\n.offer__mark {\n margin-bottom: 8px;\n padding: 7px 11px 3px 8px;\n font-size: 16px;\n line-height: 1.1875;\n font-weight: 700;\n font-style: oblique;\n color: white;\n background-color: #4481c3;\n transform: skew(-10deg);\n border-radius: 2px;\n background-color: #4481c3; }\n .offer__mark span {\n display: block;\n transform: skew(10deg); }\n\n.offer__name {\n margin-top: 0;\n margin-bottom: 7px;\n padding: 0 28px;\n font-size: 38px;\n line-height: 1.21053;\n font-weight: 700;\n font-style: oblique;\n text-align: center; }\n\n.offer__bookmark-button {\n position: absolute;\n top: 41px;\n right: 93px;\n width: 31px;\n height: 33px;\n margin-top: 2px; }\n .offer__bookmark-button:hover .offer__bookmark-icon,\n .offer__bookmark-button:focus .offer__bookmark-icon {\n stroke: #4481c3; }\n .offer__bookmark-button--active .offer__bookmark-icon {\n stroke: #4481c3;\n fill: #4481c3; }\n\n.offer__bookmark-icon {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 2;\n transition: fill 0.3s, stroke 0.3s; }\n\n.offer__rating {\n display: flex;\n align-items: flex-start;\n margin-bottom: 24px; }\n\n.offer__stars {\n width: 147px;\n height: 24px; }\n .offer__stars::before {\n width: 147px;\n background-size: 147px 24px; }\n .offer__stars span {\n width: 0%; }\n .offer__stars span::before {\n width: 147px;\n background-size: 147px 24px; }\n\n.offer__rating-value {\n margin-left: 5px;\n padding-top: 2px;\n font-size: 24px;\n line-height: 1;\n font-weight: 700;\n font-style: oblique; }\n\n.offer__features {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n margin-bottom: 38px;\n margin-left: -64px; }\n\n.offer__feature {\n margin-left: 64px;\n padding-left: 18px;\n font-size: 16px;\n line-height: 1.3;\n background-repeat: no-repeat; }\n .offer__feature--entire {\n background-image: url(\"../img/ico-place.svg\");\n background-size: 13px 16px; }\n .offer__feature--bedrooms {\n background-image: url(\"../img/ico-bedrooms.svg\");\n background-size: 14px 18px; }\n .offer__feature--adults {\n background-image: url(\"../img/ico-adults.svg\");\n background-size: 13px 12px;\n background-position: left 3px; }\n\n.offer__price {\n position: relative;\n margin-bottom: 56px; }\n .offer__price::before {\n content: \"\";\n position: absolute;\n top: 18px;\n left: calc(100% + 12px);\n width: 345px;\n height: 1px;\n background-image: linear-gradient(to left, rgba(255, 255, 255, 0.01), #7ca7d5); }\n .offer__price::after {\n content: \"\";\n position: absolute;\n top: 18px;\n right: calc(100% + 11px);\n width: 425px;\n height: 1px;\n background-image: linear-gradient(to right, rgba(255, 255, 255, 0.01), #6899ce); }\n\n.offer__price-value {\n position: relative;\n padding-right: 8px;\n padding-left: 6px;\n font-size: 32px;\n line-height: 1.1875;\n font-weight: 700;\n font-style: oblique; }\n .offer__price-value::after {\n content: \"\";\n position: absolute;\n top: -7px;\n right: -2px;\n height: 52px;\n width: 2px;\n background-color: #4481c3;\n transform: skew(-12deg); }\n\n.offer__price-text {\n font-size: 18px;\n line-height: 1.223;\n font-weight: 700;\n font-style: oblique;\n opacity: 0.48; }\n\n.offer__inside {\n width: 100%;\n margin-bottom: 52px; }\n\n.offer__inside-title {\n margin-top: 0;\n margin-bottom: 24px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n color: black; }\n\n.offer__inside-list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: flex-start; }\n\n.offer__inside-item {\n position: relative;\n width: 100%;\n max-width: 174px;\n padding-left: 18px;\n font-size: 16px;\n line-height: 1.75;\n color: black; }\n .offer__inside-item::before {\n content: \"\";\n position: absolute;\n top: 14px;\n left: 0;\n width: 12px;\n height: 1px;\n background-color: black; }\n\n.offer__host-title {\n margin-top: 0;\n margin-bottom: 25px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n color: black; }\n\n.offer__host-user {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-bottom: 15px;\n padding-right: 16px; }\n\n.offer__avatar-wrapper {\n position: relative;\n width: 74px;\n min-width: 74px;\n height: 74px;\n margin-bottom: 7px; }\n .offer__avatar-wrapper--pro::after {\n content: \"\";\n position: absolute;\n top: -3px;\n right: -16px;\n width: 33px;\n height: 33px;\n border-radius: 50%;\n background-color: #ff9000;\n background-image: url(\"../img/star-white.svg\");\n background-size: 20px 19px;\n background-position: center 6px;\n background-repeat: no-repeat; }\n\n.offer__user-name {\n font-size: 16px;\n line-height: 1.187;\n font-weight: 700;\n color: black; }\n\n.offer__user-status {\n font-size: 12px;\n line-height: 1.167;\n color: #696969; }\n\n.offer__description {\n margin-bottom: 52px; }\n\n.offer__text {\n margin-top: 0;\n margin-bottom: 28px;\n font-size: 16px;\n line-height: 1.75;\n color: black; }\n\n.offer__reviews {\n width: 100%;\n margin-bottom: 55px; }\n\n.offer__map {\n width: 100%;\n height: 579px;\n margin-bottom: 50px;\n background-image: url(\"../img/map-big.jpg\");\n background-repeat: no-repeat;\n background-size: 1144px auto;\n background-position: center top; }\n @media (min-resolution: 144dpi), (min-resolution: 1.5dppx) {\n .offer__map {\n background-image: url(\"../img/map-big@2x.jpg\");\n background-size: 1144px auto; } }\n\n.reviews__title {\n margin-top: 0;\n margin-bottom: 37px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n color: black;\n text-align: center; }\n\n.reviews__avatar-wrapper {\n min-width: 54px;\n width: 54px;\n height: 54px;\n margin-bottom: 10px; }\n\n.reviews__avatar {\n display: block; }\n\n.reviews__user {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 54px;\n margin-right: 22px; }\n\n.reviews__user-name {\n font-size: 14px;\n line-height: 1.2143;\n color: black;\n word-break: break-word;\n word-wrap: break-word;\n overflow-wrap: break-word; }\n\n.reviews__list {\n margin: 0;\n padding: 0;\n list-style: none; }\n\n.reviews__item {\n display: flex;\n align-items: flex-start;\n margin-bottom: 22px; }\n\n.reviews__text {\n margin-top: 0;\n margin-bottom: 5px;\n font-size: 16px;\n line-height: 1.75;\n color: black; }\n\n.reviews__rating {\n margin-bottom: 7px; }\n\n.reviews__stars {\n width: 98px;\n height: 16px; }\n .reviews__stars::before {\n width: 98px;\n background-size: 98px 16px; }\n .reviews__stars span {\n width: 0%; }\n .reviews__stars span::before {\n width: 98px;\n background-size: 98px 16px; }\n\n.reviews__time {\n font-size: 14px;\n line-height: 1;\n color: #5d5d5d; }\n\n.reviews__form {\n margin-right: -30px;\n padding-left: 76px; }\n\n.reviews__label {\n display: inline-block;\n margin-bottom: 14px;\n font-size: 14px;\n line-height: 1.2143;\n font-weight: 700;\n font-style: oblique;\n color: black; }\n\n.reviews__textarea {\n width: 568px;\n height: 92px;\n margin-bottom: 12px;\n padding: 15px 16px; }\n\n.reviews__rating-form {\n margin-bottom: 21px; }\n\n.reviews__button-wrapper {\n display: flex;\n align-items: flex-start;\n justify-content: space-between; }\n\n.reviews__help {\n width: 402px;\n margin-top: 8px;\n margin-bottom: 0;\n font-size: 12px;\n line-height: 1.334; }\n\n.reviews__star {\n padding-left: 15px;\n background-image: url(\"../img/star-active.svg\");\n background-size: 12px 11px;\n background-repeat: no-repeat; }\n\n.reviews__text-amount {\n font-weight: 700; }\n\n.reviews__submit {\n width: 143px;\n font-size: 16px;\n line-height: 1.1875; }\n\n.form__rating {\n display: flex;\n flex-direction: row-reverse;\n justify-content: flex-end;\n align-items: flex-start; }\n\n.form__rating-label {\n display: block;\n width: 37px;\n height: 33px;\n margin-right: 4px;\n cursor: pointer; }\n .form__rating-label:first-child {\n margin-right: 0; }\n\n.form__rating-label:hover .form__star-image,\n.form__rating-label:hover ~ .form__rating-label .form__star-image,\n.form__rating-input:focus ~ .form__rating-label .form__star-image,\n.form__rating-input:checked ~ .form__rating-label .form__star-image {\n fill: #ff9000; }\n\n.form__star-image {\n fill: #c7c7c7;\n transition: fill 0.3s; }\n\n.form__textarea {\n font-size: 16px;\n line-height: 1.1875;\n color: #383838;\n background-color: white;\n border: 1px solid #e6e6e6;\n border-radius: 2px; }\n .form__textarea::placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #9b9b9b; }\n\n.form__textarea::-ms-input-placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #9b9b9b; }\n\n.form__input {\n padding: 15px 14px 13px;\n font-size: 16px;\n line-height: 1.1875;\n color: #383838;\n background-color: white;\n border: 1px solid #e6e6e6;\n border-radius: 2px; }\n .form__input::placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #818181; }\n\n.form__input::-ms-input-placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #818181; }\n\n.form__submit {\n padding: 16px 20px 13px;\n color: white;\n background-color: #4481c3;\n border-radius: 3px; }\n .form__submit:hover, .form__submit:focus {\n background-color: #3069A6; }\n .form__submit:disabled {\n background-color: #c7c7c7; }\n\n.near-places {\n margin: 0 16px 0 12px;\n padding-bottom: 27px;\n border-bottom: 2px solid rgba(222, 222, 222, 0.5); }\n\n.near-places__title {\n margin-top: 0;\n margin-bottom: 25px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n color: black; }\n\n.near-places__list {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-wrap: wrap;\n margin-left: -8px;\n padding-left: 3px; }\n\n.near-places__card {\n width: 260px;\n margin-left: 8px;\n margin-bottom: 24px; }\n\n.login {\n position: relative;\n width: 520px;\n padding-top: 19.6vh;\n padding-right: 60px;\n padding-left: 13px; }\n .login::after {\n content: \"\";\n position: absolute;\n width: 12.03vh;\n min-width: 195px;\n height: 100vh;\n min-height: 450px;\n bottom: 0;\n right: -2px;\n background-color: #f5f5f5;\n border-right: 6px solid #4481c3;\n transform: skew(-6.5deg); }\n\n.login__title {\n position: relative;\n z-index: 1;\n margin-top: 0;\n margin-bottom: 28px;\n font-size: 32px;\n line-height: 1.1875;\n font-weight: 700;\n font-style: oblique; }\n\n.login__form {\n position: relative;\n z-index: 1;\n width: 341px; }\n\n.login__input-wrapper {\n margin-right: 2px; }\n\n.login__input {\n width: 100%;\n margin-bottom: 24px; }\n\n.login__submit {\n width: 100%; }\n\n.favorites {\n padding: 0 15px 93px;\n border-bottom: 2px solid rgba(222, 222, 222, 0.5); }\n .favorites--empty {\n width: 100%;\n padding: 0 0px 93px 38px; }\n\n.favorites__title {\n margin-top: 0;\n margin-bottom: 49px;\n font-size: 32px;\n line-height: 1.1429;\n font-weight: 700;\n font-style: oblique;\n text-align: center; }\n\n.favorites__list {\n margin: 0;\n padding: 0;\n list-style: none; }\n\n.favorites__locations-items {\n display: flex;\n align-items: flex-start;\n margin-bottom: 52px; }\n .favorites__locations-items:last-child {\n margin-bottom: 0; }\n\n.favorites__locations {\n display: flex;\n width: 244px;\n margin-right: 20px; }\n\n.favorites__card {\n display: flex;\n align-items: flex-start;\n width: 421px;\n margin-bottom: 32px; }\n .favorites__card:last-child {\n margin-bottom: 0; }\n\n.favorites__image-wrapper {\n min-width: 150px;\n margin-right: 16px;\n margin-bottom: 0; }\n\n.favorites__card-info {\n padding-top: 1px; }\n\n.favorites__status-wrapper {\n width: 420px;\n margin-top: 16.7vh;\n margin-right: auto;\n margin-left: auto;\n padding-top: 94px;\n text-align: center;\n background-image: url(\"../img/ico-saved.svg\");\n background-size: 60px 73px;\n background-position: center top;\n background-repeat: no-repeat; }\n\n.favorites__status {\n display: block;\n margin-bottom: 5px;\n font-size: 32px;\n line-height: 1.1875; }\n\n.favorites__status-description {\n margin-top: 0;\n margin-bottom: 0;\n padding: 0 30px;\n font-size: 16px;\n line-height: 1.5; }\n\n.footer {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n padding-top: 48px;\n padding-bottom: 52px; }\n\n.header__logo-link:not(.header__logo-link--active):hover, .header__logo-link:not(.header__logo-link--active):focus {\n opacity: 0.5; }\n","@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 300;\n src:\n url(\"../fonts/rubik-light.woff2\") format(\"woff2\"),\n url(\"../fonts/rubik-light.woff\") format(\"woff\"),\n url(\"../fonts/rubik-light.ttf\") format(\"truetype\");\n font-display: swap;\n}\n\n@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 400;\n src:\n url(\"../fonts/rubik-regular.woff2\") format(\"woff2\"),\n url(\"../fonts/rubik-regular.woff\") format(\"woff\"),\n url(\"../fonts/rubik-regular.ttf\") format(\"truetype\");\n font-display: swap;\n}\n\n@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 500;\n src:\n url(\"../fonts/rubik-medium.woff2\") format(\"woff2\"),\n url(\"../fonts/rubik-medium.woff\") format(\"woff\"),\n url(\"../fonts/rubik-medium.ttf\") format(\"truetype\");\n font-display: swap;\n}\n\n@font-face {\n font-family: \"rubik\";\n font-style: normal;\n font-weight: 700;\n src:\n url(\"../fonts/rubik-bold.woff2\") format(\"woff2\"),\n url(\"../fonts/rubik-bold.woff\") format(\"woff\"),\n url(\"../fonts/rubik-bold.ttf\") format(\"truetype\");\n font-display: swap;\n}\n","html,\nbody {\n width: 100%;\n min-width: 1144px;\n margin: 0;\n padding: 0;\n font-family: $rubik;\n font-weight: 400;\n font-style: normal;\n font-size: 16px;\n line-height: 1.15;\n color: $text;\n background-color: $bg;\n -webkit-font-smoothing: antialiased;\n font-smoothing: antialiased;\n box-sizing: border-box;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: inherit;\n}\n\n// main {\n// flex-grow: 1;\n// }\n\na {\n color: inherit;\n text-decoration: none;\n transition: color 0.3s, opacity 0.3s;\n cursor: pointer;\n outline: none;\n}\n\ntextarea {\n resize: none;\n}\n\nimg {\n max-width: 100%;\n height: auto;\n}\n\n.visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n border: 0;\n padding: 0;\n white-space: nowrap;\n clip-path: inset(100%);\n clip: rect(0 0 0 0);\n overflow: hidden;\n}\n\n.container {\n width: 1144px;\n margin-left: auto;\n margin-right: auto;\n padding-left: 58px;\n padding-right: 58px;\n}\n",".button {\n @include button-reset;\n display: inline-block;\n font: inherit;\n text-align: center;\n word-break: break-word;\n word-wrap: wrap;\n overflow-wrap: break-word;\n transition: color 0.3s, background-color 0.3s;\n outline: none;\n}\n","@mixin list-reset {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n@mixin button-reset {\n padding: 0;\n background: none;\n border: none;\n text-decoration: none;\n cursor: pointer;\n}\n",".page {\n background-color: white;\n\n &--login {\n display: flex;\n flex-direction: column;\n width: 1144px;\n margin-left: auto;\n margin-right: auto;\n background-image: linear-gradient(to right, $bg 509px, transparent 509px),\n url(\"../img/amsterdam.jpg\");\n background-position: top left, right top;\n height: 100vh;\n background-size: auto, auto 100%;\n background-repeat: no-repeat, no-repeat;\n overflow: hidden;\n\n @media (min-resolution: $retina-dpi), (min-resolution: $retina-dppx) {\n background-image: linear-gradient(to right, $bg 509px, transparent 509px),\n url(\"../img/amsterdam@2x.jpg\");\n }\n\n @media (max-height: 720px) {\n background-size: auto, auto 715px;\n }\n }\n\n &--favorites-empty {\n display: flex;\n flex-direction: column;\n height: 100vh;\n }\n\n &--main {\n display: flex;\n flex-direction: column;\n height: 100vh;\n }\n\n &--gray {\n background-color: $bg;\n }\n}\n\n.page__main {\n &--offer {\n padding-bottom: 129px;\n }\n\n &--login {\n display: flex;\n flex-grow: 1;\n }\n\n &--favorites {\n padding-top: 11px;\n }\n\n &--favorites-empty {\n display: flex;\n flex-grow: 1;\n\n .page__favorites-container {\n display: flex;\n }\n }\n\n &--index {\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n overflow-y: hidden;\n }\n}\n\n.page__login-container {\n display: flex;\n}\n",".header__wrapper {\n display: flex;\n align-items: flex-start;\n padding: 19px 16px 0;\n}\n\n.header__left {\n display: flex;\n flex-wrap: wrap;\n flex-shrink: 0;\n margin-right: auto;\n}\n\n.header__logo-link {\n margin-bottom: 15px;\n\n &:not(.header__logo-link--active):hover,\n &:not(.header__logo-link--active):focus {\n opacity: 0.5;\n }\n}\n\n.header__nav {\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n margin-top: 11px;\n margin-left: 30px;\n}\n\n.header__nav-list {\n @include list-reset;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n}\n\n.header__nav-item {\n display: flex;\n min-height: 25px;\n margin-bottom: 15px;\n\n &:not(:last-child) {\n margin-right: 15px;\n }\n}\n\n.header__nav-link {\n display: flex;\n position: relative;\n align-items: center;\n font-size: 14px;\n line-height: 1.2143;\n transition: text-shadow 0.3s;\n\n &:hover,\n &:focus {\n text-shadow: 0.5px 0 0,\n -0.5px 0 0;\n }\n}\n\n.header__avatar-wrapper {\n width: 20px;\n height: 20px;\n margin-right: 8px;\n}\n\n.header__login {\n padding-top: 2px;\n padding-right: 8px;\n}\n\n.header__user-name,\n.header__signout {\n padding-top: 2px;\n}\n\n.header__favorite-count {\n display: inline-block;\n min-width: 40px;\n height: 25px;\n margin: 0 10px;\n padding: 5px;\n font-size: 16px;\n font-weight: 600;\n line-height: 16px;\n text-align: center;\n color: #fff;\n background: #4481c3;\n border-radius: 15px;\n}\n",".user__avatar-wrapper {\n background-image: url(\"../img/avatar.svg\");\n background-size: 100%;\n background-repeat: no-repeat;\n}\n\n.user__avatar {\n border-radius: 50%;\n}\n",".rating__stars {\n position: relative;\n display: block;\n font-size: 0;\n\n &::before {\n content: \"\";\n display: inline-block;\n height: 100%;\n background: url(\"../img/stars.svg\") transparent no-repeat center;\n }\n\n span {\n position: absolute;\n top: 0;\n left: 0;\n display: inline-block;\n height: 100%;\n overflow: hidden;\n\n &::before {\n content: \"\";\n display: inline-block;\n height: 100%;\n background: url(\"../img/stars-active.svg\") transparent no-repeat center;\n }\n }\n}\n",".cities {\n display: flex;\n flex-grow: 1;\n background-color: white;\n overflow-y: hidden;\n}\n\n.cities__places-container {\n display: flex;\n padding-right: 0;\n\n &--empty {\n padding-right: 0;\n }\n}\n\n.cities__no-places {\n position: relative;\n width: 498px;\n padding-left: 18px;\n\n &::after {\n content: \"\";\n position: absolute;\n width: 12.06vh;\n min-width: 100px;\n max-width: 120px;\n height: 100%;\n bottom: 0;\n right: -48px;\n background-color: white;\n border-right: 6px solid $main;\n transform: skew(-6.5deg);\n }\n}\n\n.cities__places {\n width: 572px;\n margin-top: 2px;\n margin-right: 2px;\n padding-top: 29px;\n padding-bottom: 7px;\n padding-left: 9px;\n overflow-y: auto;\n}\n\n.cities__places-list {\n display: flex;\n flex-wrap: wrap;\n margin-left: -8px;\n padding-left: 5px;\n}\n\n.cities__card {\n width: 260px;\n margin-left: 8px;\n margin-bottom: 24px;\n}\n\n.page__main--index-empty {\n .cities__right-section {\n background-image: url(\"../img/no-places@2x.png\");\n background-size: auto 119%;\n background-repeat: no-repeat;\n background-position: right 100%;\n\n @media (min-resolution: $retina-dpi), (min-resolution: $retina-dppx) {\n background-image: url(\"../img/no-places@2x.png\");\n }\n\n @media (max-height: 780px) {\n background-position: right center;\n background-size: 100% auto;\n }\n }\n}\n\n.cities__right-section {\n display: flex;\n flex-grow: 1;\n}\n\n.cities__map {\n width: 100%;\n align-self: stretch;\n background-image: url(\"../img/map.jpg\");\n background-size: 682px auto;\n background-repeat: no-repeat;\n background-position: -170px center;\n\n @media (min-resolution: $retina-dpi), (min-resolution: $retina-dppx) {\n background-image: url(\"../img/map@2x.jpg\");\n background-size: 682px 794px;\n }\n\n @media (min-height: 980px) {\n background-size: cover;\n }\n}\n\n.cities__status-wrapper {\n position: relative;\n z-index: 1;\n width: auto;\n margin-top: 25.4vh;\n margin-right: auto;\n margin-left: auto;\n padding-top: 62px;\n text-align: center;\n background-image: url(\"../img/ico-no-results.svg\");\n background-size: 45px 47px;\n background-position: center top;\n background-repeat: no-repeat;\n}\n\n.cities__status {\n display: block;\n margin-bottom: 5px;\n font-size: 32px;\n line-height: 1.1875;\n}\n\n.cities__status-description {\n margin-top: 0;\n margin-bottom: 0;\n padding: 0 45px;\n font-size: 16px;\n line-height: 1.5;\n}\n",".locations {\n &--login {\n display: flex;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n padding: 0 51px 63px 130px;\n\n .locations__item-link {\n padding: 9px 21px 6px 16px;\n backface-visibility: hidden;\n }\n }\n\n &--current .locations__item {\n margin: 0;\n }\n\n &--current .locations__item-link {\n color: white;\n background-color: $main;\n text-shadow: 1px 0 0,\n 0.5px 0 0,\n -1px 0 0;\n }\n}\n\n.locations__list {\n @include list-reset;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n padding: 16px 3px 33px;\n}\n\n.locations__item {\n display: block;\n margin-right: 36px;\n margin-bottom: 19px;\n}\n\n.favorites__locations {\n .locations__item-link {\n min-width: 137px;\n padding: 9px 14px 6px 15px;\n text-align: center;\n letter-spacing: 0.9px; //\n }\n}\n\n.locations__item-link {\n display: block;\n padding: 9px 21px 6px 11px;\n font-size: 19px;\n line-height: 1.211;\n font-weight: 300;\n font-style: oblique;\n transform: skew(-15deg);\n border-radius: 3px;\n transition: background 0.3s, color 0.3s, text-shadow 0.3s;\n\n span {\n display: block;\n transform: skew(15deg);\n }\n\n &:hover,\n &:focus {\n text-shadow: 1px 0 0,\n 0.5px 0 0,\n -1px 0 0;\n }\n\n &.tabs__item--active {\n text-shadow: 1px 0 0,\n 0.5px 0 0,\n -1px 0 0;\n color: white;\n background-color: $main;\n }\n}\n",".places__found {\n display: block;\n margin-bottom: 22px;\n padding-left: 2px;\n font-size: 24px;\n line-height: 1.167;\n font-weight: 700;\n font-style: oblique;\n}\n\n.places__sorting {\n position: relative;\n margin-bottom: 33px;\n padding-left: 5px;\n}\n\n.places__sorting-arrow {\n position: absolute;\n top: 55%;\n transform: translateY(-50%);\n right: 0;\n fill: #0d0d0d;\n}\n\n.places__options {\n @include list-reset;\n background-color: white;\n border: 1px solid #dfdfdf;\n border-radius: 4px;\n\n &--custom {\n position: absolute;\n top: calc(100% + 1px);\n left: 52px;\n z-index: 1;\n display: none;\n }\n\n &--opened {\n display: block;\n }\n}\n\n.places__option {\n min-width: 170px;\n padding: 14px 16px 10px;\n font-size: 14px;\n line-height: 1.2143;\n transition: background 0.3s;\n outline: none;\n cursor: pointer;\n\n &:hover,\n &:focus,\n &--active {\n background-color: #f2f2f2;\n }\n\n &:selected {\n background-color: #f2f2f2;\n }\n}\n\n.places__sorting-caption {\n font-size: 12px;\n line-height: 1.167;\n font-weight: 700;\n}\n\n.places__sorting-type {\n position: relative;\n display: inline-block;\n padding-right: 12px;\n font-size: 12px;\n line-height: 1.167;\n cursor: pointer;\n}\n",".place-card {\n position: relative;\n\n &:hover {\n opacity: 0.6;\n }\n}\n\n.place-card__image-wrapper {\n margin-bottom: 9px;\n}\n\n.place-card__image {\n display: block;\n border-radius: 4px;\n}\n\n.place-card__info {\n flex-grow: 1;\n}\n\n.place-card__price-wrapper {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: 5px;\n}\n\n.place-card__price {\n margin-right: 20px;\n}\n\n.favorites__card {\n .place-card__bookmark-button {\n margin-top: 0;\n transform: skew(10deg);\n }\n}\n\n.place-card__bookmark-button {\n flex-shrink: 0;\n width: 18px;\n height: 19px;\n margin-top: 2px;\n\n &:hover .place-card__bookmark-icon,\n &:focus .place-card__bookmark-icon {\n stroke: $main;\n }\n\n &--active .place-card__bookmark-icon {\n stroke: $main;\n fill: $main;\n }\n}\n\n.place-card__bookmark-icon {\n fill: none;\n stroke: #979797;\n stroke-width: 2;\n transition: fill 0.3s, stroke 0.3s\n}\n\n.place-card__price-value {\n font-size: 20px;\n line-height: 1.2;\n font-weight: 700;\n}\n\n.place-card__price-text {\n font-size: 12px;\n line-height: 1.1667;\n}\n\n.place-card__rating {\n margin-bottom: 6px;\n}\n\n.place-card__stars {\n width: 73px;\n height: 12px;\n\n &::before {\n width: 73px;\n background-size: 73px 12px;\n }\n\n span {\n width: 0%;\n\n &::before {\n width: 73px;\n background-size: 73px 12px;\n }\n }\n}\n\n.place-card__name {\n margin-top: 0;\n margin-bottom: 4px;\n font-size: 18px;\n line-height: 1.223;\n font-weight: 700;\n font-style: oblique;\n\n a {\n display: inline-block;\n }\n\n a:hover,\n a:focus {\n opacity: 0.7;\n }\n}\n\n.place-card__type {\n margin-top: 0;\n margin-bottom: 0;\n font-size: 12px;\n line-height: 1.1667;\n}\n\n.place-card__mark {\n position: absolute;\n top: -5px;\n left: -3px;\n padding: 5px 15px 5px 9px;\n font-size: 12px;\n line-height: 1.1667;\n font-weight: 700;\n color: white;\n background-color: $main;\n transform: skew(-10deg);\n border-radius: 3px;\n\n span {\n display: block;\n transform: skew(10deg);\n }\n}\n",".offer__gallery-container {\n padding-left: 52px;\n padding-right: 52px;\n}\n\n.offer__gallery {\n position: relative;\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n justify-content: center;\n width: 785px;\n margin-right: auto;\n margin-left: auto;\n max-height: 452px;\n margin-bottom: 30px;\n overflow: hidden;\n\n &::before {\n content: \"\";\n position: absolute;\n top: -1px;\n left: 0;\n width: 34px;\n height: 100%;\n background-image: url(\"../img/triangle.svg\");\n background-repeat: no-repeat;\n background-size: 34px 452px;\n transform: rotate(180deg);\n }\n\n &::after {\n content: \"\";\n position: absolute;\n top: -1px;\n right: 0;\n width: 34px;\n height: 100%;\n background-image: url(\"../img/triangle.svg\");\n background-repeat: no-repeat;\n background-size: 34px 452px;\n }\n}\n\n.offer__image-wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-bottom: 2px;\n margin-right: 2px;\n width: 260px;\n height: 200px;\n overflow: hidden;\n\n &:nth-child(3n) {\n margin-right: 0;\n }\n}\n\n.offer__image {\n display: block;\n min-width: 100%;\n min-height: 100%;\n flex-grow: 1;\n}\n\n.offer__container {\n position: relative;\n overflow-x: hidden;\n}\n\n.offer__wrapper {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 613px;\n margin-right: auto;\n margin-left: auto;\n}\n\n.offer__mark {\n margin-bottom: 8px;\n padding: 7px 11px 3px 8px;\n font-size: 16px;\n line-height: 1.1875;\n font-weight: 700;\n font-style: oblique;\n color: white;\n background-color: $main;\n transform: skew(-10deg);\n border-radius: 2px;\n background-color: $main;\n\n span {\n display: block;\n transform: skew(10deg);\n }\n}\n\n.offer__name {\n margin-top: 0;\n margin-bottom: 7px;\n padding: 0 28px;\n font-size: 38px;\n line-height: 1.21053;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n}\n\n.offer__bookmark-button {\n position: absolute;\n top: 41px;\n right: 93px;\n width: 31px;\n height: 33px;\n margin-top: 2px;\n\n &:hover .offer__bookmark-icon,\n &:focus .offer__bookmark-icon {\n stroke: $main;\n }\n\n &--active .place-card__bookmark-icon {\n stroke: $main;\n fill: $main;\n }\n}\n\n.offer__bookmark-icon {\n fill: none;\n stroke: #b8b8b8;\n stroke-width: 2;\n transition: fill 0.3s, stroke 0.3s\n}\n\n.offer__rating {\n display: flex;\n align-items: flex-start;\n margin-bottom: 24px;\n}\n\n.offer__stars {\n width: 147px;\n height: 24px;\n\n &::before {\n width: 147px;\n background-size: 147px 24px;\n }\n\n span {\n width: 0%;\n\n &::before {\n width: 147px;\n background-size: 147px 24px;\n }\n }\n}\n\n.offer__rating-value {\n margin-left: 5px;\n padding-top: 2px;\n font-size: 24px;\n line-height: 1;\n font-weight: 700;\n font-style: oblique;\n}\n\n.offer__features {\n @include list-reset;\n display: flex;\n margin-bottom: 38px;\n margin-left: -64px;\n}\n\n.offer__feature {\n margin-left: 64px;\n padding-left: 18px;\n font-size: 16px;\n line-height: 1.3;\n background-repeat: no-repeat;\n\n &--entire {\n background-image: url(\"../img/ico-place.svg\");\n background-size: 13px 16px;\n }\n\n &--bedrooms {\n background-image: url(\"../img/ico-bedrooms.svg\");\n background-size: 14px 18px;\n }\n\n &--adults {\n background-image: url(\"../img/ico-adults.svg\");\n background-size: 13px 12px;\n background-position: left 3px;\n }\n}\n\n.offer__price {\n position: relative;\n margin-bottom: 56px;\n\n &::before {\n content: \"\";\n position: absolute;\n top: 18px;\n left: calc(100% + 12px);\n width: 345px;\n height: 1px;\n background-image: linear-gradient(to left, rgba(255, 255, 255, 0.01), #7ca7d5);\n }\n\n &::after {\n content: \"\";\n position: absolute;\n top: 18px;\n right: calc(100% + 11px);\n width: 425px;\n height: 1px;\n background-image: linear-gradient(to right, rgba(255, 255, 255, 0.01), #6899ce);\n }\n}\n\n.offer__price-value {\n position: relative;\n padding-right: 8px;\n padding-left: 6px;\n font-size: 32px;\n line-height: 1.1875;\n font-weight: 700;\n font-style: oblique;\n\n &::after {\n content: \"\";\n position: absolute;\n top: -7px;\n right: -2px;\n height: 52px;\n width: 2px;\n background-color: $main;\n transform: skew(-12deg);\n }\n}\n\n.offer__price-text {\n font-size: 18px;\n line-height: 1.223;\n font-weight: 700;\n font-style: oblique;\n opacity: 0.48;\n}\n\n.offer__inside {\n width: 100%;\n margin-bottom: 52px;\n}\n\n.offer__inside-title {\n margin-top: 0;\n margin-bottom: 24px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n color: black;\n}\n\n.offer__inside-list {\n @include list-reset;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n align-items: flex-start;\n}\n\n.offer__inside-item {\n position: relative;\n width: 100%;\n max-width: 174px;\n padding-left: 18px;\n font-size: 16px;\n line-height: 1.75;\n color: black;\n\n &::before {\n content: \"\";\n position: absolute;\n top: 14px;\n left: 0;\n width: 12px;\n height: 1px;\n background-color: black;\n }\n}\n\n.offer__host-title {\n margin-top: 0;\n margin-bottom: 25px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n color: black;\n}\n\n.offer__host-user {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-bottom: 15px;\n padding-right: 16px;\n}\n\n.offer__avatar-wrapper {\n position: relative;\n width: 74px;\n min-width: 74px;\n height: 74px;\n margin-bottom: 7px;\n\n &--pro::after {\n content: \"\";\n position: absolute;\n top: -3px;\n right: -16px;\n width: 33px;\n height: 33px;\n border-radius: 50%;\n background-color: $orange;\n background-image: url(\"../img/star-white.svg\");\n background-size: 20px 19px;\n background-position: center 6px;\n background-repeat: no-repeat;\n }\n}\n\n.offer__user-name {\n font-size: 16px;\n line-height: 1.187;\n font-weight: 700;\n color: black;\n}\n\n.offer__user-status {\n font-size: 12px;\n line-height: 1.167;\n color: #696969;\n}\n\n.offer__description {\n margin-bottom: 52px;\n}\n\n.offer__text {\n margin-top: 0;\n margin-bottom: 28px;\n font-size: 16px;\n line-height: 1.75;\n color: black;\n}\n\n.offer__reviews {\n width: 100%;\n margin-bottom: 55px;\n}\n\n.offer__map {\n width: 100%;\n height: 579px;\n margin-bottom: 50px;\n background-image: url(\"../img/map-big.jpg\");\n background-repeat: no-repeat;\n background-size: 1144px auto;\n background-position: center top;\n\n @media (min-resolution: $retina-dpi), (min-resolution: $retina-dppx) {\n background-image: url(\"../img/map-big@2x.jpg\");\n background-size: 1144px auto;\n }\n}\n",".reviews__title {\n margin-top: 0;\n margin-bottom: 37px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n color: black;\n text-align: center;\n}\n\n.reviews__avatar-wrapper {\n min-width: 54px;\n width: 54px;\n height: 54px;\n margin-bottom: 10px;\n}\n\n.reviews__avatar {\n display: block;\n}\n\n.reviews__user {\n display: flex;\n flex-direction: column;\n align-items: center;\n max-width: 54px;\n margin-right: 22px;\n}\n\n.reviews__user-name {\n font-size: 14px;\n line-height: 1.2143;\n color: black;\n word-break: break-word;\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n\n.reviews__list {\n @include list-reset;\n}\n\n.reviews__item {\n display: flex;\n align-items: flex-start;\n margin-bottom: 22px;\n}\n\n.reviews__text {\n margin-top: 0;\n margin-bottom: 5px;\n font-size: 16px;\n line-height: 1.75;\n color: black;\n}\n\n.reviews__rating {\n margin-bottom: 7px;\n}\n\n.reviews__stars {\n width: 98px;\n height: 16px;\n\n &::before {\n width: 98px;\n background-size: 98px 16px;\n }\n\n span {\n width: 0%;\n\n &::before {\n width: 98px;\n background-size: 98px 16px;\n }\n }\n}\n\n.reviews__time {\n font-size: 14px;\n line-height: 1;\n color: #5d5d5d;\n}\n\n.reviews__form {\n margin-right: -30px;\n padding-left: 76px;\n}\n\n.reviews__label {\n display: inline-block;\n margin-bottom: 14px;\n font-size: 14px;\n line-height: 1.2143;\n font-weight: 700;\n font-style: oblique;\n color: black;\n}\n\n.reviews__textarea {\n width: 568px;\n height: 92px;\n margin-bottom: 12px;\n padding: 15px 16px;\n}\n\n.reviews__rating-form {\n margin-bottom: 21px;\n}\n\n.reviews__button-wrapper {\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n}\n\n.reviews__help {\n width: 402px;\n margin-top: 8px;\n margin-bottom: 0;\n font-size: 12px;\n line-height: 1.334;\n}\n\n.reviews__star {\n padding-left: 15px;\n background-image: url(\"../img/star-active.svg\");\n background-size: 12px 11px;\n background-repeat: no-repeat;\n}\n\n.reviews__text-amount {\n font-weight: 700;\n}\n\n.reviews__submit {\n width: 143px;\n font-size: 16px;\n line-height: 1.1875;\n}\n",".form__rating {\n display: flex;\n flex-direction: row-reverse;\n justify-content: flex-end;\n align-items: flex-start;\n}\n\n.form__rating-label {\n display: block;\n width: 37px;\n height: 33px;\n margin-right: 4px;\n cursor: pointer;\n\n &:first-child {\n margin-right: 0;\n }\n}\n\n\n.form__rating-label:hover .form__star-image,\n.form__rating-label:hover ~ .form__rating-label .form__star-image,\n.form__rating-input:focus ~ .form__rating-label .form__star-image,\n.form__rating-input:checked ~ .form__rating-label .form__star-image {\n fill: $orange;\n}\n\n.form__star-image {\n fill: $inactive;\n transition: fill 0.3s;\n}\n\n.form__textarea {\n font-size: 16px;\n line-height: 1.1875;\n color: $text;\n background-color: white;\n border: 1px solid #e6e6e6;\n border-radius: 2px;\n\n &::placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #9b9b9b;\n }\n}\n\n.form__textarea::-ms-input-placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #9b9b9b;\n}\n\n.form__input {\n padding: 15px 14px 13px;\n font-size: 16px;\n line-height: 1.1875;\n color: $text;\n background-color: white;\n border: 1px solid #e6e6e6;\n border-radius: 2px;\n\n &::placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #818181;\n }\n}\n\n.form__input::-ms-input-placeholder {\n font-size: 16px;\n line-height: 1.1875;\n color: #818181;\n}\n\n.form__submit {\n padding: 16px 20px 13px;\n color: white;\n background-color: $main;\n border-radius: 3px;\n\n &:hover,\n &:focus {\n background-color: #3069A6;\n }\n\n &:disabled {\n background-color: $inactive;\n }\n}\n",".near-places {\n margin: 0 16px 0 12px;\n padding-bottom: 27px;\n border-bottom: 2px solid rgba(#dedede, 0.5);\n}\n\n.near-places__title {\n margin-top: 0;\n margin-bottom: 25px;\n font-size: 24px;\n line-height: 1.1667;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n color: black;\n}\n\n.near-places__list {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-wrap: wrap;\n margin-left: -8px;\n padding-left: 3px;\n}\n\n.near-places__card {\n width: 260px;\n margin-left: 8px;\n margin-bottom: 24px;\n}\n",".login {\n position: relative;\n width: 520px;\n padding-top: 19.6vh;\n padding-right: 60px;\n padding-left: 13px;\n\n &::after {\n content: \"\";\n position: absolute;\n width: 12.03vh; // 86px;\n min-width: 195px;\n height: 100vh;\n min-height: 450px;\n bottom: 0;\n right: -2px;\n background-color: $bg;\n border-right: 6px solid $main;\n transform: skew(-6.5deg);\n }\n}\n\n.login__title {\n position: relative;\n z-index: 1;\n margin-top: 0;\n margin-bottom: 28px;\n font-size: 32px;\n line-height: 1.1875;\n font-weight: 700;\n font-style: oblique;\n}\n\n.login__form {\n position: relative;\n z-index: 1;\n width: 341px;\n}\n\n.login__input-wrapper {\n margin-right: 2px;\n}\n\n.login__input {\n width: 100%;\n margin-bottom: 24px;\n}\n\n.login__submit {\n width: 100%;\n}\n",".favorites {\n padding: 0 15px 93px;\n border-bottom: 2px solid rgba(#dedede, 0.5);\n\n &--empty {\n width: 100%;\n padding: 0 0px 93px 38px;\n }\n}\n\n.favorites__title {\n margin-top: 0;\n margin-bottom: 49px;\n font-size: 32px;\n line-height: 1.1429;\n font-weight: 700;\n font-style: oblique;\n text-align: center;\n}\n\n.favorites__list {\n @include list-reset;\n}\n\n.favorites__locations-items {\n display: flex;\n align-items: flex-start;\n margin-bottom: 52px;\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n.favorites__locations {\n display: flex;\n width: 244px;\n margin-right: 20px;\n}\n\n.favorites__card {\n display: flex;\n align-items: flex-start;\n width: 421px;\n margin-bottom: 32px;\n\n &:last-child {\n margin-bottom: 0;\n }\n}\n\n.favorites__image-wrapper {\n min-width: 150px;\n margin-right: 16px;\n margin-bottom: 0;\n}\n\n.favorites__card-info {\n padding-top: 1px;\n}\n\n.favorites__status-wrapper {\n width: 420px;\n margin-top: 16.7vh;\n margin-right: auto;\n margin-left: auto;\n padding-top: 94px;\n text-align: center;\n background-image: url(\"../img/ico-saved.svg\");\n background-size: 60px 73px;\n background-position: center top;\n background-repeat: no-repeat;\n}\n\n.favorites__status {\n display: block;\n margin-bottom: 5px;\n font-size: 32px;\n line-height: 1.1875;\n}\n\n.favorites__status-description {\n margin-top: 0;\n margin-bottom: 0;\n padding: 0 30px;\n font-size: 16px;\n line-height: 1.5;\n}\n",".footer {\n display: flex;\n justify-content: center;\n align-items: flex-start;\n padding-top: 48px;\n padding-bottom: 52px;\n}\n\n.header__logo-link {\n &:not(.header__logo-link--active):hover,\n &:not(.header__logo-link--active):focus {\n opacity: 0.5;\n }\n}\n"]} diff --git a/8/fonts/rubik-bold.ttf b/8/fonts/rubik-bold.ttf new file mode 100644 index 0000000..9b947db Binary files /dev/null and b/8/fonts/rubik-bold.ttf differ diff --git a/8/fonts/rubik-bold.woff b/8/fonts/rubik-bold.woff new file mode 100644 index 0000000..77272e5 Binary files /dev/null and b/8/fonts/rubik-bold.woff differ diff --git a/8/fonts/rubik-bold.woff2 b/8/fonts/rubik-bold.woff2 new file mode 100644 index 0000000..374e2bd Binary files /dev/null and b/8/fonts/rubik-bold.woff2 differ diff --git a/8/fonts/rubik-light.ttf b/8/fonts/rubik-light.ttf new file mode 100644 index 0000000..1adb7d5 Binary files /dev/null and b/8/fonts/rubik-light.ttf differ diff --git a/8/fonts/rubik-light.woff b/8/fonts/rubik-light.woff new file mode 100644 index 0000000..40d6c14 Binary files /dev/null and b/8/fonts/rubik-light.woff differ diff --git a/8/fonts/rubik-light.woff2 b/8/fonts/rubik-light.woff2 new file mode 100644 index 0000000..ebef69a Binary files /dev/null and b/8/fonts/rubik-light.woff2 differ diff --git a/8/fonts/rubik-medium.ttf b/8/fonts/rubik-medium.ttf new file mode 100644 index 0000000..24519e5 Binary files /dev/null and b/8/fonts/rubik-medium.ttf differ diff --git a/8/fonts/rubik-medium.woff b/8/fonts/rubik-medium.woff new file mode 100644 index 0000000..fd4aa04 Binary files /dev/null and b/8/fonts/rubik-medium.woff differ diff --git a/8/fonts/rubik-medium.woff2 b/8/fonts/rubik-medium.woff2 new file mode 100644 index 0000000..d28cc6f Binary files /dev/null and b/8/fonts/rubik-medium.woff2 differ diff --git a/8/fonts/rubik-regular.ttf b/8/fonts/rubik-regular.ttf new file mode 100644 index 0000000..f99fe15 Binary files /dev/null and b/8/fonts/rubik-regular.ttf differ diff --git a/8/fonts/rubik-regular.woff b/8/fonts/rubik-regular.woff new file mode 100644 index 0000000..34d44d1 Binary files /dev/null and b/8/fonts/rubik-regular.woff differ diff --git a/8/fonts/rubik-regular.woff2 b/8/fonts/rubik-regular.woff2 new file mode 100644 index 0000000..ac77627 Binary files /dev/null and b/8/fonts/rubik-regular.woff2 differ diff --git a/8/img/amsterdam.jpg b/8/img/amsterdam.jpg new file mode 100644 index 0000000..578b005 Binary files /dev/null and b/8/img/amsterdam.jpg differ diff --git a/8/img/amsterdam@2x.jpg b/8/img/amsterdam@2x.jpg new file mode 100644 index 0000000..adaa1ae Binary files /dev/null and b/8/img/amsterdam@2x.jpg differ diff --git a/8/img/apartment-01.jpg b/8/img/apartment-01.jpg new file mode 100644 index 0000000..83f1981 Binary files /dev/null and b/8/img/apartment-01.jpg differ diff --git a/8/img/apartment-02.jpg b/8/img/apartment-02.jpg new file mode 100644 index 0000000..41dbe38 Binary files /dev/null and b/8/img/apartment-02.jpg differ diff --git a/8/img/apartment-03.jpg b/8/img/apartment-03.jpg new file mode 100644 index 0000000..0acd6ef Binary files /dev/null and b/8/img/apartment-03.jpg differ diff --git a/8/img/apartment-small-03.jpg b/8/img/apartment-small-03.jpg new file mode 100644 index 0000000..fa95628 Binary files /dev/null and b/8/img/apartment-small-03.jpg differ diff --git a/8/img/apartment-small-04.jpg b/8/img/apartment-small-04.jpg new file mode 100644 index 0000000..4e98ea9 Binary files /dev/null and b/8/img/apartment-small-04.jpg differ diff --git a/8/img/avatar-angelina.jpg b/8/img/avatar-angelina.jpg new file mode 100644 index 0000000..d8203d7 Binary files /dev/null and b/8/img/avatar-angelina.jpg differ diff --git a/8/img/avatar-max.jpg b/8/img/avatar-max.jpg new file mode 100644 index 0000000..b77b344 Binary files /dev/null and b/8/img/avatar-max.jpg differ diff --git a/8/img/avatar.svg b/8/img/avatar.svg new file mode 100644 index 0000000..c122561 --- /dev/null +++ b/8/img/avatar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/ico-adults.svg b/8/img/ico-adults.svg new file mode 100644 index 0000000..7278dd5 --- /dev/null +++ b/8/img/ico-adults.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/ico-bedrooms.svg b/8/img/ico-bedrooms.svg new file mode 100644 index 0000000..71f9b0e --- /dev/null +++ b/8/img/ico-bedrooms.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/ico-no-results.svg b/8/img/ico-no-results.svg new file mode 100644 index 0000000..3c9eeb7 --- /dev/null +++ b/8/img/ico-no-results.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/ico-place.svg b/8/img/ico-place.svg new file mode 100644 index 0000000..9720cf7 --- /dev/null +++ b/8/img/ico-place.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/ico-saved.svg b/8/img/ico-saved.svg new file mode 100644 index 0000000..01160c1 --- /dev/null +++ b/8/img/ico-saved.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/icon-arrow-select.svg b/8/img/icon-arrow-select.svg new file mode 100644 index 0000000..e58b1fa --- /dev/null +++ b/8/img/icon-arrow-select.svg @@ -0,0 +1 @@ + diff --git a/8/img/icon-bookmark.svg b/8/img/icon-bookmark.svg new file mode 100644 index 0000000..a533a64 --- /dev/null +++ b/8/img/icon-bookmark.svg @@ -0,0 +1 @@ + diff --git a/8/img/icon-star.svg b/8/img/icon-star.svg new file mode 100644 index 0000000..c3fadca --- /dev/null +++ b/8/img/icon-star.svg @@ -0,0 +1 @@ + diff --git a/8/img/logo.svg b/8/img/logo.svg new file mode 100644 index 0000000..7ec7a62 --- /dev/null +++ b/8/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/map-big.jpg b/8/img/map-big.jpg new file mode 100644 index 0000000..b40c3c9 Binary files /dev/null and b/8/img/map-big.jpg differ diff --git a/8/img/map-big@2x.jpg b/8/img/map-big@2x.jpg new file mode 100644 index 0000000..c201045 Binary files /dev/null and b/8/img/map-big@2x.jpg differ diff --git a/8/img/map.jpg b/8/img/map.jpg new file mode 100644 index 0000000..d66c166 Binary files /dev/null and b/8/img/map.jpg differ diff --git a/8/img/map@2x.jpg b/8/img/map@2x.jpg new file mode 100644 index 0000000..db3b664 Binary files /dev/null and b/8/img/map@2x.jpg differ diff --git a/8/img/no-places.png b/8/img/no-places.png new file mode 100644 index 0000000..64cc7ec Binary files /dev/null and b/8/img/no-places.png differ diff --git a/8/img/no-places@2x.png b/8/img/no-places@2x.png new file mode 100644 index 0000000..e9f35f0 Binary files /dev/null and b/8/img/no-places@2x.png differ diff --git a/8/img/pin-active.svg b/8/img/pin-active.svg new file mode 100644 index 0000000..efc07a8 --- /dev/null +++ b/8/img/pin-active.svg @@ -0,0 +1 @@ + diff --git a/8/img/pin.svg b/8/img/pin.svg new file mode 100644 index 0000000..36e4c3b --- /dev/null +++ b/8/img/pin.svg @@ -0,0 +1 @@ + diff --git a/8/img/room-small.jpg b/8/img/room-small.jpg new file mode 100644 index 0000000..2ae182d Binary files /dev/null and b/8/img/room-small.jpg differ diff --git a/8/img/room.jpg b/8/img/room.jpg new file mode 100644 index 0000000..e08d9ab Binary files /dev/null and b/8/img/room.jpg differ diff --git a/8/img/sprite.svg b/8/img/sprite.svg new file mode 100644 index 0000000..39b2fe9 --- /dev/null +++ b/8/img/sprite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/star-active.svg b/8/img/star-active.svg new file mode 100644 index 0000000..d1e936e --- /dev/null +++ b/8/img/star-active.svg @@ -0,0 +1 @@ + diff --git a/8/img/star-white.svg b/8/img/star-white.svg new file mode 100644 index 0000000..dd5feda --- /dev/null +++ b/8/img/star-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/stars-active.svg b/8/img/stars-active.svg new file mode 100644 index 0000000..1ef25d1 --- /dev/null +++ b/8/img/stars-active.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/stars.svg b/8/img/stars.svg new file mode 100644 index 0000000..029dc95 --- /dev/null +++ b/8/img/stars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/img/studio-01.jpg b/8/img/studio-01.jpg new file mode 100644 index 0000000..ad2cde2 Binary files /dev/null and b/8/img/studio-01.jpg differ diff --git a/8/img/studio-photos.jpg b/8/img/studio-photos.jpg new file mode 100644 index 0000000..fdd70a4 Binary files /dev/null and b/8/img/studio-photos.jpg differ diff --git a/8/img/triangle.svg b/8/img/triangle.svg new file mode 100644 index 0000000..5038a06 --- /dev/null +++ b/8/img/triangle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/8/index.html b/8/index.html new file mode 100644 index 0000000..11d6ed3 --- /dev/null +++ b/8/index.html @@ -0,0 +1,32 @@ + + + + + + + + 6 cities + + + + + + +
+ + + + + + + + + + + +
+ +
+ + +