diff --git a/17/assets/index-06a10dec.css b/17/assets/index-06a10dec.css new file mode 100644 index 0000000..5e01034 --- /dev/null +++ b/17/assets/index-06a10dec.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}.not_found_main{background-color:#4481c3;font-family:Montserrat,sans-serif;align-items:center;display:flex;flex-direction:column;height:100vh;justify-content:center;text-align:center}.not_found_h1{color:#e7ebf2;font-size:12.5rem;letter-spacing:.1em;margin:.025em 0;text-shadow:.05em .05em 0 rgba(0,0,0,.25);white-space:nowrap}.not_found_h1>span{animation:spooky 2s alternate infinite linear;color:#528cce;display:inline-block}.not_found_h2{color:#e7ebf2;margin-bottom:.4em}.not_found_p{color:#ccc;margin-top:0} diff --git a/17/assets/index-61d8a284.js b/17/assets/index-61d8a284.js new file mode 100644 index 0000000..1a41a5c --- /dev/null +++ b/17/assets/index-61d8a284.js @@ -0,0 +1,106 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function i(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();var L0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function k0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Um={exports:{}},Ba={},$m={exports:{}},X={};/** + * @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 Zo=Symbol.for("react.element"),O0=Symbol.for("react.portal"),C0=Symbol.for("react.fragment"),N0=Symbol.for("react.strict_mode"),R0=Symbol.for("react.profiler"),b0=Symbol.for("react.provider"),I0=Symbol.for("react.context"),A0=Symbol.for("react.forward_ref"),M0=Symbol.for("react.suspense"),z0=Symbol.for("react.memo"),D0=Symbol.for("react.lazy"),Gh=Symbol.iterator;function j0(e){return e===null||typeof e!="object"?null:(e=Gh&&e[Gh]||e["@@iterator"],typeof e=="function"?e:null)}var Zm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hm=Object.assign,Wm={};function ki(e,t,n){this.props=e,this.context=t,this.refs=Wm,this.updater=n||Zm}ki.prototype.isReactComponent={};ki.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")};ki.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Vm(){}Vm.prototype=ki.prototype;function xf(e,t,n){this.props=e,this.context=t,this.refs=Wm,this.updater=n||Zm}var Ef=xf.prototype=new Vm;Ef.constructor=xf;Hm(Ef,ki.prototype);Ef.isPureReactComponent=!0;var Kh=Array.isArray,Gm=Object.prototype.hasOwnProperty,Tf={current:null},Km={key:!0,ref:!0,__self:!0,__source:!0};function Qm(e,t,n){var i,s={},a=null,u=null;if(t!=null)for(i in t.ref!==void 0&&(u=t.ref),t.key!==void 0&&(a=""+t.key),t)Gm.call(t,i)&&!Km.hasOwnProperty(i)&&(s[i]=t[i]);var f=arguments.length-2;if(f===1)s.children=n;else if(1>>1,se=I[K];if(0>>1;Ks(oe,U))aes(rt,oe)?(I[K]=rt,I[ae]=U,K=ae):(I[K]=oe,I[de]=U,K=de);else if(aes(rt,U))I[K]=rt,I[ae]=U,K=ae;else break e}}return Q}function s(I,Q){var U=I.sortIndex-Q.sortIndex;return U!==0?U:I.id-Q.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var d=[],p=[],m=1,g=null,w=3,k=!1,T=!1,P=!1,z=typeof setTimeout=="function"?setTimeout:null,E=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 y(I){for(var Q=n(p);Q!==null;){if(Q.callback===null)i(p);else if(Q.startTime<=I)i(p),Q.sortIndex=Q.expirationTime,t(d,Q);else break;Q=n(p)}}function C(I){if(P=!1,y(I),!T)if(n(d)!==null)T=!0,ke(D);else{var Q=n(p);Q!==null&&ut(C,Q.startTime-I)}}function D(I,Q){T=!1,P&&(P=!1,E(M),M=-1),k=!0;var U=w;try{for(y(Q),g=n(d);g!==null&&(!(g.expirationTime>Q)||I&&!V());){var K=g.callback;if(typeof K=="function"){g.callback=null,w=g.priorityLevel;var se=K(g.expirationTime<=Q);Q=e.unstable_now(),typeof se=="function"?g.callback=se:g===n(d)&&i(d),y(Q)}else i(d);g=n(d)}if(g!==null)var Me=!0;else{var de=n(p);de!==null&&ut(C,de.startTime-Q),Me=!1}return Me}finally{g=null,w=U,k=!1}}var F=!1,R=null,M=-1,W=5,Z=-1;function V(){return!(e.unstable_now()-ZI||125K?(I.sortIndex=U,t(p,I),n(d)===null&&I===n(p)&&(P?(E(M),M=-1):P=!0,ut(C,U-K))):(I.sortIndex=se,t(d,I),T||k||(T=!0,ke(D))),I},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(I){var Q=w;return function(){var U=w;w=Q;try{return I.apply(this,arguments)}finally{w=U}}}})(Jm);Xm.exports=Jm;var Q0=Xm.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 e_=b,ht=Q0;function B(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),lc=Object.prototype.hasOwnProperty,q0=/^[: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]*$/,qh={},Yh={};function Y0(e){return lc.call(Yh,e)?!0:lc.call(qh,e)?!1:q0.test(e)?Yh[e]=!0:(qh[e]=!0,!1)}function X0(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function J0(e,t,n,i){if(t===null||typeof t>"u"||X0(e,t,n,i))return!0;if(i)return!1;if(n!==null)switch(n.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 nt(e,t,n,i,s,a,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=u}var We={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){We[e]=new nt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];We[t]=new nt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){We[e]=new nt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){We[e]=new nt(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){We[e]=new nt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){We[e]=new nt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){We[e]=new nt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){We[e]=new nt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){We[e]=new nt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Sf=/[\-:]([a-z])/g;function Lf(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(Sf,Lf);We[t]=new nt(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(Sf,Lf);We[t]=new nt(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(Sf,Lf);We[t]=new nt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){We[e]=new nt(e,1,!1,e.toLowerCase(),null,!1,!1)});We.xlinkHref=new nt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){We[e]=new nt(e,1,!1,e.toLowerCase(),null,!0,!0)});function kf(e,t,n,i){var s=We.hasOwnProperty(t)?We[t]:null;(s!==null?s.type!==0:i||!(2f||s[u]!==a[f]){var d=` +`+s[u].replace(" at new "," at ");return e.displayName&&d.includes("")&&(d=d.replace("",e.displayName)),d}while(1<=u&&0<=f);break}}}finally{Pu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?oo(e):""}function e1(e){switch(e.tag){case 5:return oo(e.type);case 16:return oo("Lazy");case 13:return oo("Suspense");case 19:return oo("SuspenseList");case 0:case 2:case 15:return e=Su(e.type,!1),e;case 11:return e=Su(e.type.render,!1),e;case 1:return e=Su(e.type,!0),e;default:return""}}function dc(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 Kr:return"Fragment";case Gr:return"Portal";case uc:return"Profiler";case Of:return"StrictMode";case cc:return"Suspense";case fc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case r_:return(e.displayName||"Context")+".Consumer";case n_:return(e._context.displayName||"Context")+".Provider";case Cf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nf:return t=e.displayName||null,t!==null?t:dc(e.type)||"Memo";case bn:t=e._payload,e=e._init;try{return dc(e(t))}catch{}}return null}function t1(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 dc(t);case 8:return t===Of?"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 qn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function o_(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function n1(e){var t=o_(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(u){i=""+u,a.call(this,u)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(u){i=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ls(e){e._valueTracker||(e._valueTracker=n1(e))}function s_(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=o_(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function ia(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 hc(e,t){var n=t.checked;return Ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jh(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=qn(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function a_(e,t){t=t.checked,t!=null&&kf(e,"checked",t,!1)}function pc(e,t){a_(e,t);var n=qn(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mc(e,t.type,n):t.hasOwnProperty("defaultValue")&&mc(e,t.type,qn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ep(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mc(e,t,n){(t!=="number"||ia(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var so=Array.isArray;function ai(e,t,n,i){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=ks.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Eo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var co={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},r1=["Webkit","ms","Moz","O"];Object.keys(co).forEach(function(e){r1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),co[t]=co[e]})});function f_(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||co.hasOwnProperty(e)&&co[e]?(""+t).trim():t+"px"}function d_(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,s=f_(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,s):e[n]=s}}var i1=Ee({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 gc(e,t){if(t){if(i1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(B(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(B(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(B(61))}if(t.style!=null&&typeof t.style!="object")throw Error(B(62))}}function yc(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 wc=null;function Rf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xc=null,li=null,ui=null;function rp(e){if(e=Vo(e)){if(typeof xc!="function")throw Error(B(280));var t=e.stateNode;t&&(t=Ha(t),xc(e.stateNode,e.type,t))}}function h_(e){li?ui?ui.push(e):ui=[e]:li=e}function p_(){if(li){var e=li,t=ui;if(ui=li=null,rp(e),t)for(e=0;e>>=0,e===0?32:31-(m1(e)/_1|0)|0}var Os=64,Cs=4194304;function ao(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 la(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,s=e.suspendedLanes,a=e.pingedLanes,u=n&268435455;if(u!==0){var f=u&~s;f!==0?i=ao(f):(a&=u,a!==0&&(i=ao(a)))}else u=n&~s,u!==0?i=ao(u):a!==0&&(i=ao(a));if(i===0)return 0;if(t!==0&&t!==i&&!(t&s)&&(s=i&-i,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0n;n++)t.push(e);return t}function Ho(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dt(t),e[t]=n}function w1(e,t){var n=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 i=e.eventTimes;for(e=e.expirationTimes;0=ho),dp=String.fromCharCode(32),hp=!1;function A_(e,t){switch(e){case"keyup":return K1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function M_(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Qr=!1;function q1(e,t){switch(e){case"compositionend":return M_(t);case"keypress":return t.which!==32?null:(hp=!0,dp);case"textInput":return e=t.data,e===dp&&hp?null:e;default:return null}}function Y1(e,t){if(Qr)return e==="compositionend"||!Bf&&A_(e,t)?(e=b_(),Hs=zf=jn=null,Qr=!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:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=vp(n)}}function B_(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?B_(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function F_(){for(var e=window,t=ia();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ia(e.document)}return t}function Ff(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 sw(e){var t=F_(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&B_(n.ownerDocument.documentElement,n)){if(i!==null&&Ff(n)){if(t=i.start,e=i.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,a=Math.min(i.start,s);i=i.end===void 0?a:Math.min(i.end,s),!e.extend&&a>i&&(s=i,i=a,a=s),s=gp(n,a);var u=gp(n,i);s&&u&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),a>i?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,qr=null,kc=null,mo=null,Oc=!1;function yp(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Oc||qr==null||qr!==ia(i)||(i=qr,"selectionStart"in i&&Ff(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),mo&&Oo(mo,i)||(mo=i,i=fa(kc,"onSelect"),0Jr||(e.current=Ac[Jr],Ac[Jr]=null,Jr--)}function he(e,t){Jr++,Ac[Jr]=e.current,e.current=t}var Yn={},Ye=tr(Yn),st=tr(!1),xr=Yn;function vi(e,t){var n=e.type.contextTypes;if(!n)return Yn;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in n)s[a]=t[a];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function at(e){return e=e.childContextTypes,e!=null}function ha(){_e(st),_e(Ye)}function Lp(e,t,n){if(Ye.current!==Yn)throw Error(B(168));he(Ye,t),he(st,n)}function Q_(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var s in i)if(!(s in t))throw Error(B(108,t1(e)||"Unknown",s));return Ee({},n,i)}function pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yn,xr=Ye.current,he(Ye,e),he(st,st.current),!0}function kp(e,t,n){var i=e.stateNode;if(!i)throw Error(B(169));n?(e=Q_(e,t,xr),i.__reactInternalMemoizedMergedChildContext=e,_e(st),_e(Ye),he(Ye,e)):_e(st),he(st,n)}var cn=null,Wa=!1,Bu=!1;function q_(e){cn===null?cn=[e]:cn.push(e)}function gw(e){Wa=!0,q_(e)}function nr(){if(!Bu&&cn!==null){Bu=!0;var e=0,t=le;try{var n=cn;for(le=1;e>=u,s-=u,fn=1<<32-Dt(t)+s|n<M?(W=R,R=null):W=R.sibling;var Z=w(E,R,y[M],C);if(Z===null){R===null&&(R=W);break}e&&R&&Z.alternate===null&&t(E,R),v=a(Z,v,M),F===null?D=Z:F.sibling=Z,F=Z,R=W}if(M===y.length)return n(E,R),ge&&cr(E,M),D;if(R===null){for(;MM?(W=R,R=null):W=R.sibling;var V=w(E,R,Z.value,C);if(V===null){R===null&&(R=W);break}e&&R&&V.alternate===null&&t(E,R),v=a(V,v,M),F===null?D=V:F.sibling=V,F=V,R=W}if(Z.done)return n(E,R),ge&&cr(E,M),D;if(R===null){for(;!Z.done;M++,Z=y.next())Z=g(E,Z.value,C),Z!==null&&(v=a(Z,v,M),F===null?D=Z:F.sibling=Z,F=Z);return ge&&cr(E,M),D}for(R=i(E,R);!Z.done;M++,Z=y.next())Z=k(R,E,M,Z.value,C),Z!==null&&(e&&Z.alternate!==null&&R.delete(Z.key===null?M:Z.key),v=a(Z,v,M),F===null?D=Z:F.sibling=Z,F=Z);return e&&R.forEach(function(J){return t(E,J)}),ge&&cr(E,M),D}function z(E,v,y,C){if(typeof y=="object"&&y!==null&&y.type===Kr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Ss:e:{for(var D=y.key,F=v;F!==null;){if(F.key===D){if(D=y.type,D===Kr){if(F.tag===7){n(E,F.sibling),v=s(F,y.props.children),v.return=E,E=v;break e}}else if(F.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===bn&&Ap(D)===F.type){n(E,F.sibling),v=s(F,y.props),v.ref=to(E,F,y),v.return=E,E=v;break e}n(E,F);break}else t(E,F);F=F.sibling}y.type===Kr?(v=gr(y.props.children,E.mode,C,y.key),v.return=E,E=v):(C=Xs(y.type,y.key,y.props,null,E.mode,C),C.ref=to(E,v,y),C.return=E,E=C)}return u(E);case Gr:e:{for(F=y.key;v!==null;){if(v.key===F)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){n(E,v.sibling),v=s(v,y.children||[]),v.return=E,E=v;break e}else{n(E,v);break}else t(E,v);v=v.sibling}v=Gu(y,E.mode,C),v.return=E,E=v}return u(E);case bn:return F=y._init,z(E,v,F(y._payload),C)}if(so(y))return T(E,v,y,C);if(qi(y))return P(E,v,y,C);zs(E,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(n(E,v.sibling),v=s(v,y),v.return=E,E=v):(n(E,v),v=Vu(y,E.mode,C),v.return=E,E=v),u(E)):n(E,v)}return z}var yi=iv(!0),ov=iv(!1),Go={},Xt=tr(Go),bo=tr(Go),Io=tr(Go);function _r(e){if(e===Go)throw Error(B(174));return e}function Qf(e,t){switch(he(Io,t),he(bo,e),he(Xt,Go),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:vc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=vc(t,e)}_e(Xt),he(Xt,t)}function wi(){_e(Xt),_e(bo),_e(Io)}function sv(e){_r(Io.current);var t=_r(Xt.current),n=vc(t,e.type);t!==n&&(he(bo,e),he(Xt,n))}function qf(e){bo.current===e&&(_e(Xt),_e(bo))}var we=tr(0);function wa(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.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 Fu=[];function Yf(){for(var e=0;en?n:4,e(!0);var i=Uu.transition;Uu.transition={};try{e(!1),t()}finally{le=n,Uu.transition=i}}function Ev(){return kt().memoizedState}function Ew(e,t,n){var i=Vn(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},Tv(e))Pv(t,n);else if(n=ev(e,t,n,i),n!==null){var s=et();jt(n,e,i,s),Sv(n,t,i)}}function Tw(e,t,n){var i=Vn(e),s={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Tv(e))Pv(t,s);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var u=t.lastRenderedState,f=a(u,n);if(s.hasEagerState=!0,s.eagerState=f,Bt(f,u)){var d=t.interleaved;d===null?(s.next=s,Gf(t)):(s.next=d.next,d.next=s),t.interleaved=s;return}}catch{}finally{}n=ev(e,t,s,i),n!==null&&(s=et(),jt(n,e,i,s),Sv(n,t,i))}}function Tv(e){var t=e.alternate;return e===xe||t!==null&&t===xe}function Pv(e,t){_o=xa=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Sv(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,If(e,n)}}var Ea={readContext:Lt,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useInsertionEffect:Ge,useLayoutEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useMutableSource:Ge,useSyncExternalStore:Ge,useId:Ge,unstable_isNewReconciler:!1},Pw={readContext:Lt,useCallback:function(e,t){return Gt().memoizedState=[e,t===void 0?null:t],e},useContext:Lt,useEffect:zp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ks(4194308,4,vv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ks(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ks(4,2,e,t)},useMemo:function(e,t){var n=Gt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Gt();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=Ew.bind(null,xe,e),[i.memoizedState,e]},useRef:function(e){var t=Gt();return e={current:e},t.memoizedState=e},useState:Mp,useDebugValue:nd,useDeferredValue:function(e){return Gt().memoizedState=e},useTransition:function(){var e=Mp(!1),t=e[0];return e=xw.bind(null,e[1]),Gt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=xe,s=Gt();if(ge){if(n===void 0)throw Error(B(407));n=n()}else{if(n=t(),Ue===null)throw Error(B(349));Tr&30||uv(i,t,n)}s.memoizedState=n;var a={value:n,getSnapshot:t};return s.queue=a,zp(fv.bind(null,i,a,e),[e]),i.flags|=2048,zo(9,cv.bind(null,i,a,n,t),void 0,null),n},useId:function(){var e=Gt(),t=Ue.identifierPrefix;if(ge){var n=dn,i=fn;n=(i&~(1<<32-Dt(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ao++,0<\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=u.createElement(n,{is:i.is}):(e=u.createElement(n),n==="select"&&(u=e,i.multiple?u.multiple=!0:i.size&&(u.size=i.size))):e=u.createElementNS(e,n),e[Kt]=t,e[Ro]=i,Av(e,t,!1,!1),t.stateNode=e;e:{switch(u=yc(n,i),n){case"dialog":me("cancel",e),me("close",e),s=i;break;case"iframe":case"object":case"embed":me("load",e),s=i;break;case"video":case"audio":for(s=0;sEi&&(t.flags|=128,i=!0,no(a,!1),t.lanes=4194304)}else{if(!i)if(e=wa(u),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),no(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!ge)return Ke(t),null}else 2*Le()-a.renderingStartTime>Ei&&n!==1073741824&&(t.flags|=128,i=!0,no(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(n=a.last,n!==null?n.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Le(),t.sibling=null,n=we.current,he(we,i?n&1|2:n&1),t):(Ke(t),null);case 22:case 23:return ld(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?ct&1073741824&&(Ke(t),t.subtreeFlags&6&&(t.flags|=8192)):Ke(t),null;case 24:return null;case 25:return null}throw Error(B(156,t.tag))}function bw(e,t){switch($f(t),t.tag){case 1:return at(t.type)&&ha(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wi(),_e(st),_e(Ye),Yf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return qf(t),null;case 13:if(_e(we),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(B(340));gi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return _e(we),null;case 4:return wi(),null;case 10:return Vf(t.type._context),null;case 22:case 23:return ld(),null;case 24:return null;default:return null}}var js=!1,qe=!1,Iw=typeof WeakSet=="function"?WeakSet:Set,H=null;function ri(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){Pe(e,t,i)}else n.current=null}function Vc(e,t,n){try{n()}catch(i){Pe(e,t,i)}}var Wp=!1;function Aw(e,t){if(Cc=ua,e=F_(),Ff(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var s=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var u=0,f=-1,d=-1,p=0,m=0,g=e,w=null;t:for(;;){for(var k;g!==n||s!==0&&g.nodeType!==3||(f=u+s),g!==a||i!==0&&g.nodeType!==3||(d=u+i),g.nodeType===3&&(u+=g.nodeValue.length),(k=g.firstChild)!==null;)w=g,g=k;for(;;){if(g===e)break t;if(w===n&&++p===s&&(f=u),w===a&&++m===i&&(d=u),(k=g.nextSibling)!==null)break;g=w,w=g.parentNode}g=k}n=f===-1||d===-1?null:{start:f,end:d}}else n=null}n=n||{start:0,end:0}}else n=null;for(Nc={focusedElem:e,selectionRange:n},ua=!1,H=t;H!==null;)if(t=H,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,H=e;else for(;H!==null;){t=H;try{var T=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(T!==null){var P=T.memoizedProps,z=T.memoizedState,E=t.stateNode,v=E.getSnapshotBeforeUpdate(t.elementType===t.type?P:It(t.type,P),z);E.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(B(163))}}catch(C){Pe(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,H=e;break}H=t.return}return T=Wp,Wp=!1,T}function vo(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&Vc(t,n,a)}s=s.next}while(s!==i)}}function Ka(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function Gc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Dv(e){var t=e.alternate;t!==null&&(e.alternate=null,Dv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Kt],delete t[Ro],delete t[Ic],delete t[_w],delete t[vw])),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 jv(e){return e.tag===5||e.tag===3||e.tag===4}function Vp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jv(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 Kc(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=da));else if(i!==4&&(e=e.child,e!==null))for(Kc(e,t,n),e=e.sibling;e!==null;)Kc(e,t,n),e=e.sibling}function Qc(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}var Ze=null,At=!1;function Nn(e,t,n){for(n=n.child;n!==null;)Bv(e,t,n),n=n.sibling}function Bv(e,t,n){if(Yt&&typeof Yt.onCommitFiberUnmount=="function")try{Yt.onCommitFiberUnmount(Fa,n)}catch{}switch(n.tag){case 5:qe||ri(n,t);case 6:var i=Ze,s=At;Ze=null,Nn(e,t,n),Ze=i,At=s,Ze!==null&&(At?(e=Ze,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ze.removeChild(n.stateNode));break;case 18:Ze!==null&&(At?(e=Ze,n=n.stateNode,e.nodeType===8?ju(e.parentNode,n):e.nodeType===1&&ju(e,n),Lo(e)):ju(Ze,n.stateNode));break;case 4:i=Ze,s=At,Ze=n.stateNode.containerInfo,At=!0,Nn(e,t,n),Ze=i,At=s;break;case 0:case 11:case 14:case 15:if(!qe&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){s=i=i.next;do{var a=s,u=a.destroy;a=a.tag,u!==void 0&&(a&2||a&4)&&Vc(n,t,u),s=s.next}while(s!==i)}Nn(e,t,n);break;case 1:if(!qe&&(ri(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(f){Pe(n,t,f)}Nn(e,t,n);break;case 21:Nn(e,t,n);break;case 22:n.mode&1?(qe=(i=qe)||n.memoizedState!==null,Nn(e,t,n),qe=i):Nn(e,t,n);break;default:Nn(e,t,n)}}function Gp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Iw),t.forEach(function(i){var s=Zw.bind(null,e,i);n.has(i)||(n.add(i),i.then(s,s))})}}function bt(e,t){var n=t.deletions;if(n!==null)for(var i=0;is&&(s=u),i&=~a}if(i=s,i=Le()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*zw(i/1960))-i,10e?16:e,Bn===null)var i=!1;else{if(e=Bn,Bn=null,Sa=0,ne&6)throw Error(B(331));var s=ne;for(ne|=4,H=e.current;H!==null;){var a=H,u=a.child;if(H.flags&16){var f=a.deletions;if(f!==null){for(var d=0;dLe()-sd?vr(e,0):od|=n),lt(e,t)}function Gv(e,t){t===0&&(e.mode&1?(t=Cs,Cs<<=1,!(Cs&130023424)&&(Cs=4194304)):t=1);var n=et();e=gn(e,t),e!==null&&(Ho(e,t,n),lt(e,n))}function $w(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Gv(e,n)}function Zw(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(B(314))}i!==null&&i.delete(t),Gv(e,n)}var Kv;Kv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||st.current)ot=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ot=!1,Nw(e,t,n);ot=!!(e.flags&131072)}else ot=!1,ge&&t.flags&1048576&&Y_(t,_a,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Qs(e,t),e=t.pendingProps;var s=vi(t,Ye.current);fi(t,n),s=Jf(null,t,i,e,s,n);var a=ed();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,at(i)?(a=!0,pa(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Kf(t),s.updater=Va,t.stateNode=s,s._reactInternals=t,Bc(t,i,e,n),t=$c(null,t,i,!0,a,n)):(t.tag=0,ge&&a&&Uf(t),Xe(null,t,s,n),t=t.child),t;case 16:i=t.elementType;e:{switch(Qs(e,t),e=t.pendingProps,s=i._init,i=s(i._payload),t.type=i,s=t.tag=Ww(i),e=It(i,e),s){case 0:t=Uc(null,t,i,e,n);break e;case 1:t=$p(null,t,i,e,n);break e;case 11:t=Fp(null,t,i,e,n);break e;case 14:t=Up(null,t,i,It(i.type,e),n);break e}throw Error(B(306,i,""))}return t;case 0:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:It(i,s),Uc(e,t,i,s,n);case 1:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:It(i,s),$p(e,t,i,s,n);case 3:e:{if(Rv(t),e===null)throw Error(B(387));i=t.pendingProps,a=t.memoizedState,s=a.element,tv(e,t),ya(t,i,null,n);var u=t.memoizedState;if(i=u.element,a.isDehydrated)if(a={element:i,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=xi(Error(B(423)),t),t=Zp(e,t,i,n,s);break e}else if(i!==s){s=xi(Error(B(424)),t),t=Zp(e,t,i,n,s);break e}else for(ft=Zn(t.stateNode.containerInfo.firstChild),dt=t,ge=!0,Mt=null,n=ov(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gi(),i===s){t=yn(e,t,n);break e}Xe(e,t,i,n)}t=t.child}return t;case 5:return sv(t),e===null&&zc(t),i=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,u=s.children,Rc(i,s)?u=null:a!==null&&Rc(i,a)&&(t.flags|=32),Nv(e,t),Xe(e,t,u,n),t.child;case 6:return e===null&&zc(t),null;case 13:return bv(e,t,n);case 4:return Qf(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=yi(t,null,i,n):Xe(e,t,i,n),t.child;case 11:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:It(i,s),Fp(e,t,i,s,n);case 7:return Xe(e,t,t.pendingProps,n),t.child;case 8:return Xe(e,t,t.pendingProps.children,n),t.child;case 12:return Xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,s=t.pendingProps,a=t.memoizedProps,u=s.value,he(va,i._currentValue),i._currentValue=u,a!==null)if(Bt(a.value,u)){if(a.children===s.children&&!st.current){t=yn(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var f=a.dependencies;if(f!==null){u=a.child;for(var d=f.firstContext;d!==null;){if(d.context===i){if(a.tag===1){d=hn(-1,n&-n),d.tag=2;var p=a.updateQueue;if(p!==null){p=p.shared;var m=p.pending;m===null?d.next=d:(d.next=m.next,m.next=d),p.pending=d}}a.lanes|=n,d=a.alternate,d!==null&&(d.lanes|=n),Dc(a.return,n,t),f.lanes|=n;break}d=d.next}}else if(a.tag===10)u=a.type===t.type?null:a.child;else if(a.tag===18){if(u=a.return,u===null)throw Error(B(341));u.lanes|=n,f=u.alternate,f!==null&&(f.lanes|=n),Dc(u,n,t),u=a.sibling}else u=a.child;if(u!==null)u.return=a;else for(u=a;u!==null;){if(u===t){u=null;break}if(a=u.sibling,a!==null){a.return=u.return,u=a;break}u=u.return}a=u}Xe(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,i=t.pendingProps.children,fi(t,n),s=Lt(s),i=i(s),t.flags|=1,Xe(e,t,i,n),t.child;case 14:return i=t.type,s=It(i,t.pendingProps),s=It(i.type,s),Up(e,t,i,s,n);case 15:return Ov(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,s=t.pendingProps,s=t.elementType===i?s:It(i,s),Qs(e,t),t.tag=1,at(i)?(e=!0,pa(t)):e=!1,fi(t,n),rv(t,i,s),Bc(t,i,s,n),$c(null,t,i,!0,e,n);case 19:return Iv(e,t,n);case 22:return Cv(e,t,n)}throw Error(B(156,t.tag))};function Qv(e,t){return x_(e,t)}function Hw(e,t,n,i){this.tag=e,this.key=n,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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tt(e,t,n,i){return new Hw(e,t,n,i)}function cd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ww(e){if(typeof e=="function")return cd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Cf)return 11;if(e===Nf)return 14}return 2}function Gn(e,t){var n=e.alternate;return n===null?(n=Tt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xs(e,t,n,i,s,a){var u=2;if(i=e,typeof e=="function")cd(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Kr:return gr(n.children,s,a,t);case Of:u=8,s|=8;break;case uc:return e=Tt(12,n,t,s|2),e.elementType=uc,e.lanes=a,e;case cc:return e=Tt(13,n,t,s),e.elementType=cc,e.lanes=a,e;case fc:return e=Tt(19,n,t,s),e.elementType=fc,e.lanes=a,e;case i_:return qa(n,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case n_:u=10;break e;case r_:u=9;break e;case Cf:u=11;break e;case Nf:u=14;break e;case bn:u=16,i=null;break e}throw Error(B(130,e==null?e:typeof e,""))}return t=Tt(u,n,t,s),t.elementType=e,t.type=i,t.lanes=a,t}function gr(e,t,n,i){return e=Tt(7,e,i,t),e.lanes=n,e}function qa(e,t,n,i){return e=Tt(22,e,i,t),e.elementType=i_,e.lanes=n,e.stateNode={isHidden:!1},e}function Vu(e,t,n){return e=Tt(6,e,null,t),e.lanes=n,e}function Gu(e,t,n){return t=Tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vw(e,t,n,i,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=ku(0),this.expirationTimes=ku(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ku(0),this.identifierPrefix=i,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function fd(e,t,n,i,s,a,u,f,d){return e=new Vw(e,t,n,f,d),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Tt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Kf(a),e}function Gw(e,t,n){var i=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jv)}catch(e){console.error(e)}}Jv(),Ym.exports=mt;var eg=Ym.exports,tm=eg;ac.createRoot=tm.createRoot,ac.hydrateRoot=tm.hydrateRoot;var ef={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(n,i){i(t)})(L0,function(n){var i="1.7.1";function s(r){var o,l,c,h;for(l=1,c=arguments.length;l"u"||!L||!L.Mixin)){r=y(r)?r:[r];for(var o=0;o0?Math.floor(r):Math.ceil(r)};I.prototype={clone:function(){return new I(this.x,this.y)},add:function(r){return this.clone()._add(U(r))},_add:function(r){return this.x+=r.x,this.y+=r.y,this},subtract:function(r){return this.clone()._subtract(U(r))},_subtract:function(r){return this.x-=r.x,this.y-=r.y,this},divideBy:function(r){return this.clone()._divideBy(r)},_divideBy:function(r){return this.x/=r,this.y/=r,this},multiplyBy:function(r){return this.clone()._multiplyBy(r)},_multiplyBy:function(r){return this.x*=r,this.y*=r,this},scaleBy:function(r){return new I(this.x*r.x,this.y*r.y)},unscaleBy:function(r){return new I(this.x/r.x,this.y/r.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=Q(this.x),this.y=Q(this.y),this},distanceTo:function(r){r=U(r);var o=r.x-this.x,l=r.y-this.y;return Math.sqrt(o*o+l*l)},equals:function(r){return r=U(r),r.x===this.x&&r.y===this.y},contains:function(r){return r=U(r),Math.abs(r.x)<=Math.abs(this.x)&&Math.abs(r.y)<=Math.abs(this.y)},toString:function(){return"Point("+w(this.x)+", "+w(this.y)+")"}};function U(r,o,l){return r instanceof I?r:y(r)?new I(r[0],r[1]):r==null?r:typeof r=="object"&&"x"in r&&"y"in r?new I(r.x,r.y):new I(r,o,l)}function K(r,o){if(r)for(var l=o?[r,o]:r,c=0,h=l.length;c=this.min.x&&l.x<=this.max.x&&o.y>=this.min.y&&l.y<=this.max.y},intersects:function(r){r=se(r);var o=this.min,l=this.max,c=r.min,h=r.max,_=h.x>=o.x&&c.x<=l.x,S=h.y>=o.y&&c.y<=l.y;return _&&S},overlaps:function(r){r=se(r);var o=this.min,l=this.max,c=r.min,h=r.max,_=h.x>o.x&&c.xo.y&&c.y=o.lat&&h.lat<=l.lat&&c.lng>=o.lng&&h.lng<=l.lng},intersects:function(r){r=de(r);var o=this._southWest,l=this._northEast,c=r.getSouthWest(),h=r.getNorthEast(),_=h.lat>=o.lat&&c.lat<=l.lat,S=h.lng>=o.lng&&c.lng<=l.lng;return _&&S},overlaps:function(r){r=de(r);var o=this._southWest,l=this._northEast,c=r.getSouthWest(),h=r.getNorthEast(),_=h.lat>o.lat&&c.lato.lng&&c.lng1,br=function(){var r=!1;try{var o=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("testPassiveEventSupport",g,o),window.removeEventListener("testPassiveEventSupport",g,o)}catch{}return r}(),ih=function(){return!!document.createElement("canvas").getContext}(),rs=!!(document.createElementNS&&qd("svg").createSVGRect),is=!rs&&function(){try{var r=document.createElement("div");r.innerHTML='';var o=r.firstChild;return o.style.behavior="url(#default#VML)",o&&typeof o.adj=="object"}catch{return!1}}();function Zt(r){return navigator.userAgent.toLowerCase().indexOf(r)>=0}var Ty={ie:es,ielt9:Nr,edge:ts,webkit:Dl,android:zi,android23:Di,androidStock:Xd,opera:jl,chrome:Bl,gecko:Fl,safari:ns,phantom:Jd,opera12:eh,win:th,ie3d:Ul,webkit3d:$l,gecko3d:nh,any3d:gt,mobile:Rr,mobileWebkit:wy,mobileWebkit3d:xy,msPointer:Sn,pointer:Ut,touch:$t,mobileOpera:rh,mobileGecko:Ey,retina:Ln,passiveEvents:br,canvas:ih,svg:rs,vml:is},Zl=Sn?"MSPointerDown":"pointerdown",Hl=Sn?"MSPointerMove":"pointermove",Wl=Sn?"MSPointerUp":"pointerup",Vl=Sn?"MSPointerCancel":"pointercancel",Ir={},oh=!1;function Py(r,o,l,c){return o==="touchstart"?Ly(r,l,c):o==="touchmove"?Cy(r,l,c):o==="touchend"&&Ny(r,l,c),this}function Sy(r,o,l){var c=r["_leaflet_"+o+l];return o==="touchstart"?r.removeEventListener(Zl,c,!1):o==="touchmove"?r.removeEventListener(Hl,c,!1):o==="touchend"&&(r.removeEventListener(Wl,c,!1),r.removeEventListener(Vl,c,!1)),this}function Ly(r,o,l){var c=u(function(h){h.MSPOINTER_TYPE_TOUCH&&h.pointerType===h.MSPOINTER_TYPE_TOUCH&&wt(h),Gl(h,o)});r["_leaflet_touchstart"+l]=c,r.addEventListener(Zl,c,!1),oh||(document.addEventListener(Zl,ky,!0),document.addEventListener(Hl,Oy,!0),document.addEventListener(Wl,sh,!0),document.addEventListener(Vl,sh,!0),oh=!0)}function ky(r){Ir[r.pointerId]=r}function Oy(r){Ir[r.pointerId]&&(Ir[r.pointerId]=r)}function sh(r){delete Ir[r.pointerId]}function Gl(r,o){r.touches=[];for(var l in Ir)r.touches.push(Ir[l]);r.changedTouches=[r],o(r)}function Cy(r,o,l){var c=function(h){h.pointerType===(h.MSPOINTER_TYPE_MOUSE||"mouse")&&h.buttons===0||Gl(h,o)};r["_leaflet_touchmove"+l]=c,r.addEventListener(Hl,c,!1)}function Ny(r,o,l){var c=function(h){Gl(h,o)};r["_leaflet_touchend"+l]=c,r.addEventListener(Wl,c,!1),r.addEventListener(Vl,c,!1)}var os=Sn?"MSPointerDown":Ut?"pointerdown":"touchstart",ss=Sn?"MSPointerUp":Ut?"pointerup":"touchend",Ar="_leaflet_";function Ry(r,o,l){var c,h,_=!1,S=250;function O(j){if(Ut){if(!j.isPrimary||j.pointerType==="mouse")return}else if(j.touches.length>1)return;var $=Date.now(),G=$-(c||$);h=j.touches?j.touches[0]:j,_=G>0&&G<=S,c=$}function N(j){if(_&&!h.cancelBubble){if(Ut){if(j.pointerType==="mouse")return;var $={},G,ie;for(ie in h)G=h[ie],$[ie]=G&&G.bind?G.bind(h):G;h=$}h.type="dblclick",h.button=0,o(h),c=null}}return r[Ar+os+l]=O,r[Ar+ss+l]=N,r[Ar+"dblclick"+l]=o,r.addEventListener(os,O,br?{passive:!1}:!1),r.addEventListener(ss,N,br?{passive:!1}:!1),r.addEventListener("dblclick",o,!1),this}function by(r,o){var l=r[Ar+os+o],c=r[Ar+ss+o],h=r[Ar+"dblclick"+o];return r.removeEventListener(os,l,br?{passive:!1}:!1),r.removeEventListener(ss,c,br?{passive:!1}:!1),r.removeEventListener("dblclick",h,!1),this}var Kl=us(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ji=us(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ah=ji==="webkitTransition"||ji==="OTransition"?ji+"End":"transitionend";function lh(r){return typeof r=="string"?document.getElementById(r):r}function Bi(r,o){var l=r.style[o]||r.currentStyle&&r.currentStyle[o];if((!l||l==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(r,null);l=c?c[o]:null}return l==="auto"?null:l}function re(r,o,l){var c=document.createElement(r);return c.className=o||"",l&&l.appendChild(c),c}function ye(r){var o=r.parentNode;o&&o.removeChild(r)}function as(r){for(;r.firstChild;)r.removeChild(r.firstChild)}function Mr(r){var o=r.parentNode;o&&o.lastChild!==r&&o.appendChild(r)}function zr(r){var o=r.parentNode;o&&o.firstChild!==r&&o.insertBefore(r,o.firstChild)}function Ql(r,o){if(r.classList!==void 0)return r.classList.contains(o);var l=ls(r);return l.length>0&&new RegExp("(^|\\s)"+o+"(\\s|$)").test(l)}function q(r,o){if(r.classList!==void 0)for(var l=T(o),c=0,h=l.length;cthis.options.maxZoom)?this.setZoom(r):this},panInsideBounds:function(r,o){this._enforcingBounds=!0;var l=this.getCenter(),c=this._limitCenter(l,this._zoom,de(r));return l.equals(c)||this.panTo(c,o),this._enforcingBounds=!1,this},panInside:function(r,o){o=o||{};var l=U(o.paddingTopLeft||o.padding||[0,0]),c=U(o.paddingBottomRight||o.padding||[0,0]),h=this.getCenter(),_=this.project(h),S=this.project(r),O=this.getPixelBounds(),N=O.getSize().divideBy(2),j=se([O.min.add(l),O.max.subtract(c)]);if(!j.contains(S)){this._enforcingBounds=!0;var $=_.subtract(S),G=U(S.x+$.x,S.y+$.y);(S.xj.max.x)&&(G.x=_.x-$.x,$.x>0?G.x+=N.x-l.x:G.x-=N.x-c.x),(S.yj.max.y)&&(G.y=_.y-$.y,$.y>0?G.y+=N.y-l.y:G.y-=N.y-c.y),this.panTo(this.unproject(G),o),this._enforcingBounds=!1}return this},invalidateSize:function(r){if(!this._loaded)return this;r=s({animate:!1,pan:!0},r===!0?{animate:!0}:r);var o=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var l=this.getSize(),c=o.divideBy(2).round(),h=l.divideBy(2).round(),_=c.subtract(h);return!_.x&&!_.y?this:(r.animate&&r.pan?this.panBy(_):(r.pan&&this._rawPanBy(_),this.fire("move"),r.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:o,newSize:l}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(r){if(r=this._locateOptions=s({timeout:1e4,watch:!1},r),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var o=u(this._handleGeolocationResponse,this),l=u(this._handleGeolocationError,this);return r.watch?this._locationWatchId=navigator.geolocation.watchPosition(o,l,r):navigator.geolocation.getCurrentPosition(o,l,r),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(r){var o=r.code,l=r.message||(o===1?"permission denied":o===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:o,message:"Geolocation error: "+l+"."})},_handleGeolocationResponse:function(r){var o=r.coords.latitude,l=r.coords.longitude,c=new oe(o,l),h=c.toBounds(r.coords.accuracy*2),_=this._locateOptions;if(_.setView){var S=this.getBoundsZoom(h);this.setView(c,_.maxZoom?Math.min(S,_.maxZoom):S)}var O={latlng:c,bounds:h,timestamp:r.timestamp};for(var N in r.coords)typeof r.coords[N]=="number"&&(O[N]=r.coords[N]);this.fire("locationfound",O)},addHandler:function(r,o){if(!o)return this;var l=this[r]=new o(this);return this._handlers.push(l),this.options[r]&&l.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(),ye(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(J(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var r;for(r in this._layers)this._layers[r].remove();for(r in this._panes)ye(this._panes[r]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(r,o){var l="leaflet-pane"+(r?" leaflet-"+r.replace("Pane","")+"-pane":""),c=re("div",l,o||this._mapPane);return r&&(this._panes[r]=c),c},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var r=this.getPixelBounds(),o=this.unproject(r.getBottomLeft()),l=this.unproject(r.getTopRight());return new Me(o,l)},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(r,o,l){r=de(r),l=U(l||[0,0]);var c=this.getZoom()||0,h=this.getMinZoom(),_=this.getMaxZoom(),S=r.getNorthWest(),O=r.getSouthEast(),N=this.getSize().subtract(l),j=se(this.project(O,c),this.project(S,c)).getSize(),$=gt?this.options.zoomSnap:1,G=N.x/j.x,ie=N.y/j.y,ln=o?Math.max(G,ie):Math.min(G,ie);return c=this.getScaleZoom(ln,c),$&&(c=Math.round(c/($/100))*($/100),c=o?Math.ceil(c/$)*$:Math.floor(c/$)*$),Math.max(h,Math.min(_,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new I(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(r,o){var l=this._getTopLeftPoint(r,o);return new K(l,l.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(r){return this.options.crs.getProjectedBounds(r===void 0?this.getZoom():r)},getPane:function(r){return typeof r=="string"?this._panes[r]:r},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(r,o){var l=this.options.crs;return o=o===void 0?this._zoom:o,l.scale(r)/l.scale(o)},getScaleZoom:function(r,o){var l=this.options.crs;o=o===void 0?this._zoom:o;var c=l.zoom(r*l.scale(o));return isNaN(c)?1/0:c},project:function(r,o){return o=o===void 0?this._zoom:o,this.options.crs.latLngToPoint(ae(r),o)},unproject:function(r,o){return o=o===void 0?this._zoom:o,this.options.crs.pointToLatLng(U(r),o)},layerPointToLatLng:function(r){var o=U(r).add(this.getPixelOrigin());return this.unproject(o)},latLngToLayerPoint:function(r){var o=this.project(ae(r))._round();return o._subtract(this.getPixelOrigin())},wrapLatLng:function(r){return this.options.crs.wrapLatLng(ae(r))},wrapLatLngBounds:function(r){return this.options.crs.wrapLatLngBounds(de(r))},distance:function(r,o){return this.options.crs.distance(ae(r),ae(o))},containerPointToLayerPoint:function(r){return U(r).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(r){return U(r).add(this._getMapPanePos())},containerPointToLatLng:function(r){var o=this.containerPointToLayerPoint(U(r));return this.layerPointToLatLng(o)},latLngToContainerPoint:function(r){return this.layerPointToContainerPoint(this.latLngToLayerPoint(ae(r)))},mouseEventToContainerPoint:function(r){return fh(r,this._container)},mouseEventToLayerPoint:function(r){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(r))},mouseEventToLatLng:function(r){return this.layerPointToLatLng(this.mouseEventToLayerPoint(r))},_initContainer:function(r){var o=this._container=lh(r);if(o){if(o._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Y(o,"scroll",this._onScroll,this),this._containerId=d(o)},_initLayout:function(){var r=this._container;this._fadeAnimated=this.options.fadeAnimation&>,q(r,"leaflet-container"+($t?" leaflet-touch":"")+(Ln?" leaflet-retina":"")+(Nr?" leaflet-oldie":"")+(ns?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var o=Bi(r,"position");o!=="absolute"&&o!=="relative"&&o!=="fixed"&&(r.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var r=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Oe(this._mapPane,new I(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(q(r.markerPane,"leaflet-zoom-hide"),q(r.shadowPane,"leaflet-zoom-hide"))},_resetView:function(r,o){Oe(this._mapPane,new I(0,0));var l=!this._loaded;this._loaded=!0,o=this._limitZoom(o),this.fire("viewprereset");var c=this._zoom!==o;this._moveStart(c,!1)._move(r,o)._moveEnd(c),this.fire("viewreset"),l&&this.fire("load")},_moveStart:function(r,o){return r&&this.fire("zoomstart"),o||this.fire("movestart"),this},_move:function(r,o,l){o===void 0&&(o=this._zoom);var c=this._zoom!==o;return this._zoom=o,this._lastCenter=r,this._pixelOrigin=this._getNewPixelOrigin(r),(c||l&&l.pinch)&&this.fire("zoom",l),this.fire("move",l)},_moveEnd:function(r){return r&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return J(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(r){Oe(this._mapPane,this._getMapPanePos().subtract(r))},_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(r){this._targets={},this._targets[d(this._container)]=this;var o=r?Se:Y;o(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&o(window,"resize",this._onResize,this),gt&&this.options.transform3DLimit&&(r?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){J(this._resizeRequest),this._resizeRequest=V(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var r=this._getMapPanePos();Math.max(Math.abs(r.x),Math.abs(r.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(r,o){for(var l=[],c,h=o==="mouseout"||o==="mouseover",_=r.target||r.srcElement,S=!1;_;){if(c=this._targets[d(_)],c&&(o==="click"||o==="preclick")&&!r._simulated&&this._draggableMoved(c)){S=!0;break}if(c&&c.listens(o,!0)&&(h&&!hs(_,r)||(l.push(c),h))||_===this._container)break;_=_.parentNode}return!l.length&&!S&&!h&&hs(_,r)&&(l=[this]),l},_handleDOMEvent:function(r){if(!(!this._loaded||lu(r))){var o=r.type;(o==="mousedown"||o==="keypress"||o==="keyup"||o==="keydown")&&tu(r.target||r.srcElement),this._fireDOMEvent(r,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(r,o,l){if(r.type==="click"){var c=s({},r);c.type="preclick",this._fireDOMEvent(c,c.type,l)}if(!r._stopped&&(l=(l||[]).concat(this._findEventTargets(r,o)),!!l.length)){var h=l[0];o==="contextmenu"&&h.listens(o,!0)&&wt(r);var _={originalEvent:r};if(r.type!=="keypress"&&r.type!=="keydown"&&r.type!=="keyup"){var S=h.getLatLng&&(!h._radius||h._radius<=10);_.containerPoint=S?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(r),_.layerPoint=this.containerPointToLayerPoint(_.containerPoint),_.latlng=S?h.getLatLng():this.layerPointToLatLng(_.layerPoint)}for(var O=0;O0?Math.round(r-o)/2:Math.max(0,Math.ceil(r))-Math.max(0,Math.floor(o))},_limitZoom:function(r){var o=this.getMinZoom(),l=this.getMaxZoom(),c=gt?this.options.zoomSnap:1;return c&&(r=Math.round(r/c)*c),Math.max(o,Math.min(l,r))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Te(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(r,o){var l=this._getCenterOffset(r)._trunc();return(o&&o.animate)!==!0&&!this.getSize().contains(l)?!1:(this.panBy(l,o),!0)},_createAnimProxy:function(){var r=this._proxy=re("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(r),this.on("zoomanim",function(o){var l=Kl,c=this._proxy.style[l];or(this._proxy,this.project(o.center,o.zoom),this.getZoomScale(o.zoom,1)),c===this._proxy.style[l]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ye(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var r=this.getCenter(),o=this.getZoom();or(this._proxy,this.project(r,o),this.getZoomScale(o,1))},_catchTransitionEnd:function(r){this._animatingZoom&&r.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(r,o,l){if(this._animatingZoom)return!0;if(l=l||{},!this._zoomAnimated||l.animate===!1||this._nothingToAnimate()||Math.abs(o-this._zoom)>this.options.zoomAnimationThreshold)return!1;var c=this.getZoomScale(o),h=this._getCenterOffset(r)._divideBy(1-1/c);return l.animate!==!0&&!this.getSize().contains(h)?!1:(V(function(){this._moveStart(!0,!1)._animateZoom(r,o,!0)},this),!0)},_animateZoom:function(r,o,l,c){this._mapPane&&(l&&(this._animatingZoom=!0,this._animateToCenter=r,this._animateToZoom=o,q(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:r,zoom:o,noUpdate:c}),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Te(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),V(function(){this._moveEnd(!0)},this))}});function Dy(r,o){return new te(r,o)}var Nt=Ae.extend({options:{position:"topright"},initialize:function(r){P(this,r)},getPosition:function(){return this.options.position},setPosition:function(r){var o=this._map;return o&&o.removeControl(this),this.options.position=r,o&&o.addControl(this),this},getContainer:function(){return this._container},addTo:function(r){this.remove(),this._map=r;var o=this._container=this.onAdd(r),l=this.getPosition(),c=r._controlCorners[l];return q(o,"leaflet-control"),l.indexOf("bottom")!==-1?c.insertBefore(o,c.firstChild):c.appendChild(o),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ye(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(r){this._map&&r&&r.screenX>0&&r.screenY>0&&this._map.getContainer().focus()}}),Hi=function(r){return new Nt(r)};te.include({addControl:function(r){return r.addTo(this),this},removeControl:function(r){return r.remove(),this},_initControlPos:function(){var r=this._controlCorners={},o="leaflet-",l=this._controlContainer=re("div",o+"control-container",this._container);function c(h,_){var S=o+h+" "+o+_;r[h+_]=re("div",S,l)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var r in this._controlCorners)ye(this._controlCorners[r]);ye(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var ph=Nt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(r,o,l,c){return l1,this._baseLayersList.style.display=r?"":"none"),this._separator.style.display=o&&r?"":"none",this},_onLayerChange:function(r){this._handlingClick||this._update();var o=this._getLayer(d(r.target)),l=o.overlay?r.type==="add"?"overlayadd":"overlayremove":r.type==="add"?"baselayerchange":null;l&&this._map.fire(l,o)},_createRadioElement:function(r,o){var l='",c=document.createElement("div");return c.innerHTML=l,c.firstChild},_addItem:function(r){var o=document.createElement("label"),l=this._map.hasLayer(r.layer),c;r.overlay?(c=document.createElement("input"),c.type="checkbox",c.className="leaflet-control-layers-selector",c.defaultChecked=l):c=this._createRadioElement("leaflet-base-layers_"+d(this),l),this._layerControlInputs.push(c),c.layerId=d(r.layer),Y(c,"click",this._onInputClick,this);var h=document.createElement("span");h.innerHTML=" "+r.name;var _=document.createElement("div");o.appendChild(_),_.appendChild(c),_.appendChild(h);var S=r.overlay?this._overlaysList:this._baseLayersList;return S.appendChild(o),this._checkDisabledLayers(),o},_onInputClick:function(){var r=this._layerControlInputs,o,l,c=[],h=[];this._handlingClick=!0;for(var _=r.length-1;_>=0;_--)o=r[_],l=this._getLayer(o.layerId).layer,o.checked?c.push(l):o.checked||h.push(l);for(_=0;_=0;h--)o=r[h],l=this._getLayer(o.layerId).layer,o.disabled=l.options.minZoom!==void 0&&cl.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),jy=function(r,o,l){return new ph(r,o,l)},uu=Nt.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(r){var o="leaflet-control-zoom",l=re("div",o+" leaflet-bar"),c=this.options;return this._zoomInButton=this._createButton(c.zoomInText,c.zoomInTitle,o+"-in",l,this._zoomIn),this._zoomOutButton=this._createButton(c.zoomOutText,c.zoomOutTitle,o+"-out",l,this._zoomOut),this._updateDisabled(),r.on("zoomend zoomlevelschange",this._updateDisabled,this),l},onRemove:function(r){r.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(r){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(r.shiftKey?3:1))},_createButton:function(r,o,l,c,h){var _=re("a",l,c);return _.innerHTML=r,_.href="#",_.title=o,_.setAttribute("role","button"),_.setAttribute("aria-label",o),Zi(_),Y(_,"click",nn),Y(_,"click",h,this),Y(_,"click",this._refocusOnMap,this),_},_updateDisabled:function(){var r=this._map,o="leaflet-disabled";Te(this._zoomInButton,o),Te(this._zoomOutButton,o),(this._disabled||r._zoom===r.getMinZoom())&&q(this._zoomOutButton,o),(this._disabled||r._zoom===r.getMaxZoom())&&q(this._zoomInButton,o)}});te.mergeOptions({zoomControl:!0}),te.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new uu,this.addControl(this.zoomControl))});var By=function(r){return new uu(r)},mh=Nt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(r){var o="leaflet-control-scale",l=re("div",o),c=this.options;return this._addScales(c,o+"-line",l),r.on(c.updateWhenIdle?"moveend":"move",this._update,this),r.whenReady(this._update,this),l},onRemove:function(r){r.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(r,o,l){r.metric&&(this._mScale=re("div",o,l)),r.imperial&&(this._iScale=re("div",o,l))},_update:function(){var r=this._map,o=r.getSize().y/2,l=r.distance(r.containerPointToLatLng([0,o]),r.containerPointToLatLng([this.options.maxWidth,o]));this._updateScales(l)},_updateScales:function(r){this.options.metric&&r&&this._updateMetric(r),this.options.imperial&&r&&this._updateImperial(r)},_updateMetric:function(r){var o=this._getRoundNum(r),l=o<1e3?o+" m":o/1e3+" km";this._updateScale(this._mScale,l,o/r)},_updateImperial:function(r){var o=r*3.2808399,l,c,h;o>5280?(l=o/5280,c=this._getRoundNum(l),this._updateScale(this._iScale,c+" mi",c/l)):(h=this._getRoundNum(o),this._updateScale(this._iScale,h+" ft",h/o))},_updateScale:function(r,o,l){r.style.width=Math.round(this.options.maxWidth*l)+"px",r.innerHTML=o},_getRoundNum:function(r){var o=Math.pow(10,(Math.floor(r)+"").length-1),l=r/o;return l=l>=10?10:l>=5?5:l>=3?3:l>=2?2:1,o*l}}),Fy=function(r){return new mh(r)},cu=Nt.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(r){P(this,r),this._attributions={}},onAdd:function(r){r.attributionControl=this,this._container=re("div","leaflet-control-attribution"),Zi(this._container);for(var o in r._layers)r._layers[o].getAttribution&&this.addAttribution(r._layers[o].getAttribution());return this._update(),this._container},setPrefix:function(r){return this.options.prefix=r,this._update(),this},addAttribution:function(r){return r?(this._attributions[r]||(this._attributions[r]=0),this._attributions[r]++,this._update(),this):this},removeAttribution:function(r){return r?(this._attributions[r]&&(this._attributions[r]--,this._update()),this):this},_update:function(){if(this._map){var r=[];for(var o in this._attributions)this._attributions[o]&&r.push(o);var l=[];this.options.prefix&&l.push(this.options.prefix),r.length&&l.push(r.join(", ")),this._container.innerHTML=l.join(" | ")}}});te.mergeOptions({attributionControl:!0}),te.addInitHook(function(){this.options.attributionControl&&new cu().addTo(this)});var Uy=function(r){return new cu(r)};Nt.Layers=ph,Nt.Zoom=uu,Nt.Scale=mh,Nt.Attribution=cu,Hi.layers=jy,Hi.zoom=By,Hi.scale=Fy,Hi.attribution=Uy;var Ht=Ae.extend({initialize:function(r){this._map=r},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}});Ht.addTo=function(r,o){return r.addHandler(o,this),this};var $y={Events:ke},_h=$t?"touchstart mousedown":"mousedown",vh={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},fu={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},ar=ut.extend({options:{clickTolerance:3},initialize:function(r,o,l,c){P(this,c),this._element=r,this._dragStartTarget=o||r,this._preventOutline=l},enable:function(){this._enabled||(Y(this._dragStartTarget,_h,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ar._dragging===this&&this.finishDrag(),Se(this._dragStartTarget,_h,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(r){if(!(r._simulated||!this._enabled)&&(this._moved=!1,!Ql(this._element,"leaflet-zoom-anim")&&!(ar._dragging||r.shiftKey||r.which!==1&&r.button!==1&&!r.touches)&&(ar._dragging=this,this._preventOutline&&tu(this._element),Xl(),Fi(),!this._moving))){this.fire("down");var o=r.touches?r.touches[0]:r,l=uh(this._element);this._startPoint=new I(o.clientX,o.clientY),this._parentScale=nu(l),Y(document,fu[r.type],this._onMove,this),Y(document,vh[r.type],this._onUp,this)}},_onMove:function(r){if(!(r._simulated||!this._enabled)){if(r.touches&&r.touches.length>1){this._moved=!0;return}var o=r.touches&&r.touches.length===1?r.touches[0]:r,l=new I(o.clientX,o.clientY)._subtract(this._startPoint);!l.x&&!l.y||Math.abs(l.x)+Math.abs(l.y)_&&(S=O,_=N);_>l&&(o[S]=1,du(r,o,l,c,S),du(r,o,l,S,h))}function Wy(r,o){for(var l=[r[0]],c=1,h=0,_=r.length;c<_;c++)Vy(r[c],r[h])>o&&(l.push(r[c]),h=c);return h<_-1&&l.push(r[_-1]),l}var wh;function xh(r,o,l,c,h){var _=c?wh:lr(r,l),S=lr(o,l),O,N,j;for(wh=S;;){if(!(_|S))return[r,o];if(_&S)return!1;O=_||S,N=ps(r,o,O,l,h),j=lr(N,l),O===_?(r=N,_=j):(o=N,S=j)}}function ps(r,o,l,c,h){var _=o.x-r.x,S=o.y-r.y,O=c.min,N=c.max,j,$;return l&8?(j=r.x+_*(N.y-r.y)/S,$=N.y):l&4?(j=r.x+_*(O.y-r.y)/S,$=O.y):l&2?(j=N.x,$=r.y+S*(N.x-r.x)/_):l&1&&(j=O.x,$=r.y+S*(O.x-r.x)/_),new I(j,$,h)}function lr(r,o){var l=0;return r.xo.max.x&&(l|=2),r.yo.max.y&&(l|=8),l}function Vy(r,o){var l=o.x-r.x,c=o.y-r.y;return l*l+c*c}function Wi(r,o,l,c){var h=o.x,_=o.y,S=l.x-h,O=l.y-_,N=S*S+O*O,j;return N>0&&(j=((r.x-h)*S+(r.y-_)*O)/N,j>1?(h=l.x,_=l.y):j>0&&(h+=S*j,_+=O*j)),S=r.x-h,O=r.y-_,c?S*S+O*O:new I(h,_)}function rn(r){return!y(r[0])||typeof r[0][0]!="object"&&typeof r[0][0]<"u"}function Eh(r){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),rn(r)}var Gy={simplify:gh,pointToSegmentDistance:yh,closestPointOnSegment:Zy,clipSegment:xh,_getEdgeIntersection:ps,_getBitCode:lr,_sqClosestPointOnSegment:Wi,isFlat:rn,_flat:Eh};function Th(r,o,l){var c,h=[1,4,2,8],_,S,O,N,j,$,G,ie;for(_=0,$=r.length;_<$;_++)r[_]._code=lr(r[_],o);for(O=0;O<4;O++){for(G=h[O],c=[],_=0,$=r.length,S=$-1;_<$;S=_++)N=r[_],j=r[S],N._code&G?j._code&G||(ie=ps(j,N,G,o,l),ie._code=lr(ie,o),c.push(ie)):(j._code&G&&(ie=ps(j,N,G,o,l),ie._code=lr(ie,o),c.push(ie)),c.push(N));r=c}return r}var Ky={clipPolygon:Th},hu={project:function(r){return new I(r.lng,r.lat)},unproject:function(r){return new oe(r.y,r.x)},bounds:new K([-180,-90],[180,90])},pu={R:6378137,R_MINOR:6356752314245179e-9,bounds:new K([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(r){var o=Math.PI/180,l=this.R,c=r.lat*o,h=this.R_MINOR/l,_=Math.sqrt(1-h*h),S=_*Math.sin(c),O=Math.tan(Math.PI/4-c/2)/Math.pow((1-S)/(1+S),_/2);return c=-l*Math.log(Math.max(O,1e-10)),new I(r.lng*o*l,c)},unproject:function(r){for(var o=180/Math.PI,l=this.R,c=this.R_MINOR/l,h=Math.sqrt(1-c*c),_=Math.exp(-r.y/l),S=Math.PI/2-2*Math.atan(_),O=0,N=.1,j;O<15&&Math.abs(N)>1e-7;O++)j=h*Math.sin(S),j=Math.pow((1-j)/(1+j),h/2),N=Math.PI/2-2*Math.atan(_*j)-S,S+=N;return new oe(S*o,r.x*o/l)}},Qy={LonLat:hu,Mercator:pu,SphericalMercator:Il},qy=s({},Pn,{code:"EPSG:3395",projection:pu,transformation:function(){var r=.5/(Math.PI*pu.R);return Mi(r,.5,-r,.5)}()}),Ph=s({},Pn,{code:"EPSG:4326",projection:hu,transformation:Mi(1/180,1,-1/180,.5)}),Yy=s({},rt,{projection:hu,transformation:Mi(1,0,-1,0),scale:function(r){return Math.pow(2,r)},zoom:function(r){return Math.log(r)/Math.LN2},distance:function(r,o){var l=o.lng-r.lng,c=o.lat-r.lat;return Math.sqrt(l*l+c*c)},infinite:!0});rt.Earth=Pn,rt.EPSG3395=qy,rt.EPSG3857=Ml,rt.EPSG900913=gy,rt.EPSG4326=Ph,rt.Simple=Yy;var Rt=ut.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(r){return r.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(r){return r&&r.removeLayer(this),this},getPane:function(r){return this._map.getPane(r?this.options[r]||r:this.options.pane)},addInteractiveTarget:function(r){return this._map._targets[d(r)]=this,this},removeInteractiveTarget:function(r){return delete this._map._targets[d(r)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(r){var o=r.target;if(o.hasLayer(this)){if(this._map=o,this._zoomAnimated=o._zoomAnimated,this.getEvents){var l=this.getEvents();o.on(l,this),this.once("remove",function(){o.off(l,this)},this)}this.onAdd(o),this.getAttribution&&o.attributionControl&&o.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),o.fire("layeradd",{layer:this})}}});te.include({addLayer:function(r){if(!r._layerAdd)throw new Error("The provided object is not a Layer.");var o=d(r);return this._layers[o]?this:(this._layers[o]=r,r._mapToAdd=this,r.beforeAdd&&r.beforeAdd(this),this.whenReady(r._layerAdd,r),this)},removeLayer:function(r){var o=d(r);return this._layers[o]?(this._loaded&&r.onRemove(this),r.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(r.getAttribution()),delete this._layers[o],this._loaded&&(this.fire("layerremove",{layer:r}),r.fire("remove")),r._map=r._mapToAdd=null,this):this},hasLayer:function(r){return!!r&&d(r)in this._layers},eachLayer:function(r,o){for(var l in this._layers)r.call(o,this._layers[l]);return this},_addLayers:function(r){r=r?y(r)?r:[r]:[];for(var o=0,l=r.length;othis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()o)return S=(c-o)/l,this._map.layerPointToLatLng([_.x-S*(_.x-h.x),_.y-S*(_.y-h.y)])},getBounds:function(){return this._bounds},addLatLng:function(r,o){return o=o||this._defaultShape(),r=ae(r),o.push(r),this._bounds.extend(r),this.redraw()},_setLatLngs:function(r){this._bounds=new Me,this._latlngs=this._convertLatLngs(r)},_defaultShape:function(){return rn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(r){for(var o=[],l=rn(r),c=0,h=r.length;c=2&&o[0]instanceof oe&&o[0].equals(o[l-1])&&o.pop(),o},_setLatLngs:function(r){on.prototype._setLatLngs.call(this,r),rn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return rn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var r=this._renderer._bounds,o=this.options.weight,l=new I(o,o);if(r=new K(r.min.subtract(l),r.max.add(l)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(r))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,h=this._rings.length,_;cr.y!=h.y>r.y&&r.x<(h.x-c.x)*(r.y-c.y)/(h.y-c.y)+c.x&&(o=!o);return o||on.prototype._containsPoint.call(this,r,!0)}});function o0(r,o){return new Fr(r,o)}var sn=jr.extend({initialize:function(r,o){P(this,o),this._layers={},r&&this.addData(r)},addData:function(r){var o=y(r)?r:r.features,l,c,h;if(o){for(l=0,c=o.length;l0?c:[o.src];return}y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(o.style,"objectFit")&&(o.style.objectFit="fill"),o.autoplay=!!this.options.autoplay,o.loop=!!this.options.loop,o.muted=!!this.options.muted;for(var _=0;_h?(o.height=h+"px",q(r,_)):Te(r,_),this._containerWidth=this._container.offsetWidth},_animateZoom:function(r){var o=this._map._latLngToNewLayerPoint(this._latlng,r.zoom,r.center),l=this._getAnchor();Oe(this._container,o.add(l))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var r=this._map,o=parseInt(Bi(this._container,"marginBottom"),10)||0,l=this._container.offsetHeight+o,c=this._containerWidth,h=new I(this._containerLeft,-l-this._containerBottom);h._add(kn(this._container));var _=r.layerPointToContainerPoint(h),S=U(this.options.autoPanPadding),O=U(this.options.autoPanPaddingTopLeft||S),N=U(this.options.autoPanPaddingBottomRight||S),j=r.getSize(),$=0,G=0;_.x+c+N.x>j.x&&($=_.x+c-j.x+N.x),_.x-$-O.x<0&&($=_.x-O.x),_.y+l+N.y>j.y&&(G=_.y+l-j.y+N.y),_.y-G-O.y<0&&(G=_.y-O.y),($||G)&&r.fire("autopanstart").panBy([$,G])}},_onCloseButtonClick:function(r){this._close(),nn(r)},_getAnchor:function(){return U(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),c0=function(r,o){return new $r(r,o)};te.mergeOptions({closePopupOnClick:!0}),te.include({openPopup:function(r,o,l){return r instanceof $r||(r=new $r(l).setContent(r)),o&&r.setLatLng(o),this.hasLayer(r)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=r,this.addLayer(r))},closePopup:function(r){return(!r||r===this._popup)&&(r=this._popup,this._popup=null),r&&this.removeLayer(r),this}}),Rt.include({bindPopup:function(r,o){return r instanceof $r?(P(r,o),this._popup=r,r._source=this):((!this._popup||o)&&(this._popup=new $r(o,this)),this._popup.setContent(r)),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(r,o){return this._popup&&this._map&&(o=this._popup._prepareOpen(this,r,o),this._map.openPopup(this._popup,o)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(r){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(r)),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(r){return this._popup&&this._popup.setContent(r),this},getPopup:function(){return this._popup},_openPopup:function(r){var o=r.layer||r.target;if(this._popup&&this._map){if(nn(r),o instanceof On){this.openPopup(r.layer||r.target,r.latlng);return}this._map.hasLayer(this._popup)&&this._popup._source===o?this.closePopup():this.openPopup(o,r.latlng)}},_movePopup:function(r){this._popup.setLatLng(r.latlng)},_onKeyPress:function(r){r.originalEvent.keyCode===13&&this._openPopup(r)}});var Zr=an.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(r){an.prototype.onAdd.call(this,r),this.setOpacity(this.options.opacity),r.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(r){an.prototype.onRemove.call(this,r),r.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var r=an.prototype.getEvents.call(this);return $t&&!this.options.permanent&&(r.preclick=this._close),r},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var r="leaflet-tooltip",o=r+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=re("div",o)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(r){var o,l,c=this._map,h=this._container,_=c.latLngToContainerPoint(c.getCenter()),S=c.layerPointToContainerPoint(r),O=this.options.direction,N=h.offsetWidth,j=h.offsetHeight,$=U(this.options.offset),G=this._getAnchor();O==="top"?(o=N/2,l=j):O==="bottom"?(o=N/2,l=0):O==="center"?(o=N/2,l=j/2):O==="right"?(o=0,l=j/2):O==="left"?(o=N,l=j/2):S.x<_.x?(O="right",o=0,l=j/2):(O="left",o=N+($.x+G.x)*2,l=j/2),r=r.subtract(U(o,l,!0)).add($).add(G),Te(h,"leaflet-tooltip-right"),Te(h,"leaflet-tooltip-left"),Te(h,"leaflet-tooltip-top"),Te(h,"leaflet-tooltip-bottom"),q(h,"leaflet-tooltip-"+O),Oe(h,r)},_updatePosition:function(){var r=this._map.latLngToLayerPoint(this._latlng);this._setPosition(r)},setOpacity:function(r){this.options.opacity=r,this._container&&yt(this._container,r)},_animateZoom:function(r){var o=this._map._latLngToNewLayerPoint(this._latlng,r.zoom,r.center);this._setPosition(o)},_getAnchor:function(){return U(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),f0=function(r,o){return new Zr(r,o)};te.include({openTooltip:function(r,o,l){return r instanceof Zr||(r=new Zr(l).setContent(r)),o&&r.setLatLng(o),this.hasLayer(r)?this:this.addLayer(r)},closeTooltip:function(r){return r&&this.removeLayer(r),this}}),Rt.include({bindTooltip:function(r,o){return r instanceof Zr?(P(r,o),this._tooltip=r,r._source=this):((!this._tooltip||o)&&(this._tooltip=new Zr(o,this)),this._tooltip.setContent(r)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(r){if(!(!r&&this._tooltipHandlersAdded)){var o=r?"off":"on",l={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?l.add=this._openTooltip:(l.mouseover=this._openTooltip,l.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(l.mousemove=this._moveTooltip),$t&&(l.click=this._openTooltip)),this[o](l),this._tooltipHandlersAdded=!r}},openTooltip:function(r,o){return this._tooltip&&this._map&&(o=this._tooltip._prepareOpen(this,r,o),this._map.openTooltip(this._tooltip,o),this._tooltip.options.interactive&&this._tooltip._container&&(q(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(Te(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(r){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(r)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(r){return this._tooltip&&this._tooltip.setContent(r),this},getTooltip:function(){return this._tooltip},_openTooltip:function(r){var o=r.layer||r.target;!this._tooltip||!this._map||this.openTooltip(o,this._tooltip.options.sticky?r.latlng:void 0)},_moveTooltip:function(r){var o=r.latlng,l,c;this._tooltip.options.sticky&&r.originalEvent&&(l=this._map.mouseEventToContainerPoint(r.originalEvent),c=this._map.containerPointToLayerPoint(l),o=this._map.layerPointToLatLng(c)),this._tooltip.setLatLng(o)}});var Nh=Br.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(r){var o=r&&r.tagName==="DIV"?r:document.createElement("div"),l=this.options;if(l.html instanceof Element?(as(o),o.appendChild(l.html)):o.innerHTML=l.html!==!1?l.html:"",l.bgPos){var c=U(l.bgPos);o.style.backgroundPosition=-c.x+"px "+-c.y+"px"}return this._setIconStyles(o,"icon"),o},createShadow:function(){return null}});function d0(r){return new Nh(r)}Br.Default=Vi;var Gi=Rt.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Rr,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(r){P(this,r)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(r){r._addZoomLimit(this)},onRemove:function(r){this._removeAllTiles(),ye(this._container),r._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Mr(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(zr(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(r){return this.options.opacity=r,this._updateOpacity(),this},setZIndex:function(r){return this.options.zIndex=r,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var r={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=p(this._onMoveEnd,this.options.updateInterval,this)),r.move=this._onMove),this._zoomAnimated&&(r.zoomanim=this._animateZoom),r},createTile:function(){return document.createElement("div")},getTileSize:function(){var r=this.options.tileSize;return r instanceof I?r:new I(r,r)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(r){for(var o=this.getPane().children,l=-r(-1/0,1/0),c=0,h=o.length,_;cthis.options.maxZoom||lc?this._retainParent(h,_,S,c):!1)},_retainChildren:function(r,o,l,c){for(var h=2*r;h<2*r+2;h++)for(var _=2*o;_<2*o+2;_++){var S=new I(h,_);S.z=l+1;var O=this._tileCoordsToKey(S),N=this._tiles[O];if(N&&N.active){N.retain=!0;continue}else N&&N.loaded&&(N.retain=!0);l+1this.options.maxZoom||this.options.minZoom!==void 0&&h1){this._setView(r,l);return}for(var G=h.min.y;G<=h.max.y;G++)for(var ie=h.min.x;ie<=h.max.x;ie++){var ln=new I(ie,G);if(ln.z=this._tileZoom,!!this._isValidTile(ln)){var ur=this._tiles[this._tileCoordsToKey(ln)];ur?ur.current=!0:S.push(ln)}}if(S.sort(function(Cn,wu){return Cn.distanceTo(_)-wu.distanceTo(_)}),S.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Es=document.createDocumentFragment();for(ie=0;iel.max.x)||!o.wrapLat&&(r.yl.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(r);return de(this.options.bounds).overlaps(c)},_keyToBounds:function(r){return this._tileCoordsToBounds(this._keyToTileCoords(r))},_tileCoordsToNwSe:function(r){var o=this._map,l=this.getTileSize(),c=r.scaleBy(l),h=c.add(l),_=o.unproject(c,r.z),S=o.unproject(h,r.z);return[_,S]},_tileCoordsToBounds:function(r){var o=this._tileCoordsToNwSe(r),l=new Me(o[0],o[1]);return this.options.noWrap||(l=this._map.wrapLatLngBounds(l)),l},_tileCoordsToKey:function(r){return r.x+":"+r.y+":"+r.z},_keyToTileCoords:function(r){var o=r.split(":"),l=new I(+o[0],+o[1]);return l.z=+o[2],l},_removeTile:function(r){var o=this._tiles[r];o&&(ye(o.el),delete this._tiles[r],this.fire("tileunload",{tile:o.el,coords:this._keyToTileCoords(r)}))},_initTile:function(r){q(r,"leaflet-tile");var o=this.getTileSize();r.style.width=o.x+"px",r.style.height=o.y+"px",r.onselectstart=g,r.onmousemove=g,Nr&&this.options.opacity<1&&yt(r,this.options.opacity),zi&&!Di&&(r.style.WebkitBackfaceVisibility="hidden")},_addTile:function(r,o){var l=this._getTilePos(r),c=this._tileCoordsToKey(r),h=this.createTile(this._wrapCoords(r),u(this._tileReady,this,r));this._initTile(h),this.createTile.length<2&&V(u(this._tileReady,this,r,null,h)),Oe(h,l),this._tiles[c]={el:h,coords:r,current:!0},o.appendChild(h),this.fire("tileloadstart",{tile:h,coords:r})},_tileReady:function(r,o,l){o&&this.fire("tileerror",{error:o,tile:l,coords:r});var c=this._tileCoordsToKey(r);l=this._tiles[c],l&&(l.loaded=+new Date,this._map._fadeAnimated?(yt(l.el,0),J(this._fadeFrame),this._fadeFrame=V(this._updateOpacity,this)):(l.active=!0,this._pruneTiles()),o||(q(l.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:l.el,coords:r})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Nr||!this._map._fadeAnimated?V(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(r){return r.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(r){var o=new I(this._wrapX?m(r.x,this._wrapX):r.x,this._wrapY?m(r.y,this._wrapY):r.y);return o.z=r.z,o},_pxBoundsToTileRange:function(r){var o=this.getTileSize();return new K(r.min.unscaleBy(o).floor(),r.max.unscaleBy(o).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var r in this._tiles)if(!this._tiles[r].loaded)return!1;return!0}});function h0(r){return new Gi(r)}var Hr=Gi.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(r,o){this._url=r,o=P(this,o),o.detectRetina&&Ln&&o.maxZoom>0&&(o.tileSize=Math.floor(o.tileSize/2),o.zoomReverse?(o.zoomOffset--,o.minZoom++):(o.zoomOffset++,o.maxZoom--),o.minZoom=Math.max(0,o.minZoom)),typeof o.subdomains=="string"&&(o.subdomains=o.subdomains.split("")),zi||this.on("tileunload",this._onTileRemove)},setUrl:function(r,o){return this._url===r&&o===void 0&&(o=!0),this._url=r,o||this.redraw(),this},createTile:function(r,o){var l=document.createElement("img");return Y(l,"load",u(this._tileOnLoad,this,o,l)),Y(l,"error",u(this._tileOnError,this,o,l)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(l.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),l.alt="",l.setAttribute("role","presentation"),l.src=this.getTileUrl(r),l},getTileUrl:function(r){var o={r:Ln?"@2x":"",s:this._getSubdomain(r),x:r.x,y:r.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var l=this._globalTileRange.max.y-r.y;this.options.tms&&(o.y=l),o["-y"]=l}return v(this._url,s(o,this.options))},_tileOnLoad:function(r,o){Nr?setTimeout(u(r,this,null,o),0):r(null,o)},_tileOnError:function(r,o,l){var c=this.options.errorTileUrl;c&&o.getAttribute("src")!==c&&(o.src=c),r(l,o)},_onTileRemove:function(r){r.tile.onload=null},_getZoomForUrl:function(){var r=this._tileZoom,o=this.options.maxZoom,l=this.options.zoomReverse,c=this.options.zoomOffset;return l&&(r=o-r),r+c},_getSubdomain:function(r){var o=Math.abs(r.x+r.y)%this.options.subdomains.length;return this.options.subdomains[o]},_abortLoading:function(){var r,o;for(r in this._tiles)this._tiles[r].coords.z!==this._tileZoom&&(o=this._tiles[r].el,o.onload=g,o.onerror=g,o.complete||(o.src=D,ye(o),delete this._tiles[r]))},_removeTile:function(r){var o=this._tiles[r];if(o)return Xd||o.el.setAttribute("src",D),Gi.prototype._removeTile.call(this,r)},_tileReady:function(r,o,l){if(!(!this._map||l&&l.getAttribute("src")===D))return Gi.prototype._tileReady.call(this,r,o,l)}});function Rh(r,o){return new Hr(r,o)}var bh=Hr.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(r,o){this._url=r;var l=s({},this.defaultWmsParams);for(var c in o)c in this.options||(l[c]=o[c]);o=P(this,o);var h=o.detectRetina&&Ln?2:1,_=this.getTileSize();l.width=_.x*h,l.height=_.y*h,this.wmsParams=l},onAdd:function(r){this._crs=this.options.crs||r.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var o=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[o]=this._crs.code,Hr.prototype.onAdd.call(this,r)},getTileUrl:function(r){var o=this._tileCoordsToNwSe(r),l=this._crs,c=se(l.project(o[0]),l.project(o[1])),h=c.min,_=c.max,S=(this._wmsVersion>=1.3&&this._crs===Ph?[h.y,h.x,_.y,_.x]:[h.x,h.y,_.x,_.y]).join(","),O=Hr.prototype.getTileUrl.call(this,r);return O+z(this.wmsParams,O,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+S},setParams:function(r,o){return s(this.wmsParams,r),o||this.redraw(),this}});function p0(r,o){return new bh(r,o)}Hr.WMS=bh,Rh.wms=p0;var Wt=Rt.extend({options:{padding:.1,tolerance:0},initialize:function(r){P(this,r),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&q(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 r={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(r.zoomanim=this._onAnimZoom),r},_onAnimZoom:function(r){this._updateTransform(r.center,r.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(r,o){var l=this._map.getZoomScale(o,this._zoom),c=kn(this._container),h=this._map.getSize().multiplyBy(.5+this.options.padding),_=this._map.project(this._center,o),S=this._map.project(r,o),O=S.subtract(_),N=h.multiplyBy(-l).add(c).add(h).subtract(O);gt?or(this._container,N,l):Oe(this._container,N)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var r in this._layers)this._layers[r]._reset()},_onZoomEnd:function(){for(var r in this._layers)this._layers[r]._project()},_updatePaths:function(){for(var r in this._layers)this._layers[r]._update()},_update:function(){var r=this.options.padding,o=this._map.getSize(),l=this._map.containerPointToLayerPoint(o.multiplyBy(-r)).round();this._bounds=new K(l,l.add(o.multiplyBy(1+r*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Ih=Wt.extend({getEvents:function(){var r=Wt.prototype.getEvents.call(this);return r.viewprereset=this._onViewPreReset,r},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Wt.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var r=this._container=document.createElement("canvas");Y(r,"mousemove",this._onMouseMove,this),Y(r,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Y(r,"mouseout",this._handleMouseOut,this),this._ctx=r.getContext("2d")},_destroyContainer:function(){J(this._redrawRequest),delete this._ctx,ye(this._container),Se(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var r;this._redrawBounds=null;for(var o in this._layers)r=this._layers[o],r._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Wt.prototype._update.call(this);var r=this._bounds,o=this._container,l=r.getSize(),c=Ln?2:1;Oe(o,r.min),o.width=c*l.x,o.height=c*l.y,o.style.width=l.x+"px",o.style.height=l.y+"px",Ln&&this._ctx.scale(2,2),this._ctx.translate(-r.min.x,-r.min.y),this.fire("update")}},_reset:function(){Wt.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(r){this._updateDashArray(r),this._layers[d(r)]=r;var o=r._order={layer:r,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=o),this._drawLast=o,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(r){this._requestRedraw(r)},_removePath:function(r){var o=r._order,l=o.next,c=o.prev;l?l.prev=c:this._drawLast=c,c?c.next=l:this._drawFirst=l,delete r._order,delete this._layers[d(r)],this._requestRedraw(r)},_updatePath:function(r){this._extendRedrawBounds(r),r._project(),r._update(),this._requestRedraw(r)},_updateStyle:function(r){this._updateDashArray(r),this._requestRedraw(r)},_updateDashArray:function(r){if(typeof r.options.dashArray=="string"){var o=r.options.dashArray.split(/[, ]+/),l=[],c,h;for(h=0;h')}}catch{return function(o){return document.createElement("<"+o+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),m0={_initContainer:function(){this._container=re("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Wt.prototype._update.call(this),this.fire("update"))},_initPath:function(r){var o=r._container=Ki("shape");q(o,"leaflet-vml-shape "+(this.options.className||"")),o.coordsize="1 1",r._path=Ki("path"),o.appendChild(r._path),this._updateStyle(r),this._layers[d(r)]=r},_addPath:function(r){var o=r._container;this._container.appendChild(o),r.options.interactive&&r.addInteractiveTarget(o)},_removePath:function(r){var o=r._container;ye(o),r.removeInteractiveTarget(o),delete this._layers[d(r)]},_updateStyle:function(r){var o=r._stroke,l=r._fill,c=r.options,h=r._container;h.stroked=!!c.stroke,h.filled=!!c.fill,c.stroke?(o||(o=r._stroke=Ki("stroke")),h.appendChild(o),o.weight=c.weight+"px",o.color=c.color,o.opacity=c.opacity,c.dashArray?o.dashStyle=y(c.dashArray)?c.dashArray.join(" "):c.dashArray.replace(/( *, *)/g," "):o.dashStyle="",o.endcap=c.lineCap.replace("butt","flat"),o.joinstyle=c.lineJoin):o&&(h.removeChild(o),r._stroke=null),c.fill?(l||(l=r._fill=Ki("fill")),h.appendChild(l),l.color=c.fillColor||c.color,l.opacity=c.fillOpacity):l&&(h.removeChild(l),r._fill=null)},_updateCircle:function(r){var o=r._point.round(),l=Math.round(r._radius),c=Math.round(r._radiusY||l);this._setPath(r,r._empty()?"M0 0":"AL "+o.x+","+o.y+" "+l+","+c+" 0,"+65535*360)},_setPath:function(r,o){r._path.v=o},_bringToFront:function(r){Mr(r._container)},_bringToBack:function(r){zr(r._container)}},xs=is?Ki:qd,Qi=Wt.extend({getEvents:function(){var r=Wt.prototype.getEvents.call(this);return r.zoomstart=this._onZoomStart,r},_initContainer:function(){this._container=xs("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=xs("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ye(this._container),Se(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Wt.prototype._update.call(this);var r=this._bounds,o=r.getSize(),l=this._container;(!this._svgSize||!this._svgSize.equals(o))&&(this._svgSize=o,l.setAttribute("width",o.x),l.setAttribute("height",o.y)),Oe(l,r.min),l.setAttribute("viewBox",[r.min.x,r.min.y,o.x,o.y].join(" ")),this.fire("update")}},_initPath:function(r){var o=r._path=xs("path");r.options.className&&q(o,r.options.className),r.options.interactive&&q(o,"leaflet-interactive"),this._updateStyle(r),this._layers[d(r)]=r},_addPath:function(r){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(r._path),r.addInteractiveTarget(r._path)},_removePath:function(r){ye(r._path),r.removeInteractiveTarget(r._path),delete this._layers[d(r)]},_updatePath:function(r){r._project(),r._update()},_updateStyle:function(r){var o=r._path,l=r.options;o&&(l.stroke?(o.setAttribute("stroke",l.color),o.setAttribute("stroke-opacity",l.opacity),o.setAttribute("stroke-width",l.weight),o.setAttribute("stroke-linecap",l.lineCap),o.setAttribute("stroke-linejoin",l.lineJoin),l.dashArray?o.setAttribute("stroke-dasharray",l.dashArray):o.removeAttribute("stroke-dasharray"),l.dashOffset?o.setAttribute("stroke-dashoffset",l.dashOffset):o.removeAttribute("stroke-dashoffset")):o.setAttribute("stroke","none"),l.fill?(o.setAttribute("fill",l.fillColor||l.color),o.setAttribute("fill-opacity",l.fillOpacity),o.setAttribute("fill-rule",l.fillRule||"evenodd")):o.setAttribute("fill","none"))},_updatePoly:function(r,o){this._setPath(r,Yd(r._parts,o))},_updateCircle:function(r){var o=r._point,l=Math.max(Math.round(r._radius),1),c=Math.max(Math.round(r._radiusY),1)||l,h="a"+l+","+c+" 0 1,0 ",_=r._empty()?"M0 0":"M"+(o.x-l)+","+o.y+h+l*2+",0 "+h+-l*2+",0 ";this._setPath(r,_)},_setPath:function(r,o){r._path.setAttribute("d",o)},_bringToFront:function(r){Mr(r._path)},_bringToBack:function(r){zr(r._path)}});is&&Qi.include(m0);function Mh(r){return rs||is?new Qi(r):null}te.include({getRenderer:function(r){var o=r.options.renderer||this._getPaneRenderer(r.options.pane)||this.options.renderer||this._renderer;return o||(o=this._renderer=this._createRenderer()),this.hasLayer(o)||this.addLayer(o),o},_getPaneRenderer:function(r){if(r==="overlayPane"||r===void 0)return!1;var o=this._paneRenderers[r];return o===void 0&&(o=this._createRenderer({pane:r}),this._paneRenderers[r]=o),o},_createRenderer:function(r){return this.options.preferCanvas&&Ah(r)||Mh(r)}});var zh=Fr.extend({initialize:function(r,o){Fr.prototype.initialize.call(this,this._boundsToLatLngs(r),o)},setBounds:function(r){return this.setLatLngs(this._boundsToLatLngs(r))},_boundsToLatLngs:function(r){return r=de(r),[r.getSouthWest(),r.getNorthWest(),r.getNorthEast(),r.getSouthEast()]}});function _0(r,o){return new zh(r,o)}Qi.create=xs,Qi.pointsToPath=Yd,sn.geometryToLayer=_u,sn.coordsToLatLng=vu,sn.coordsToLatLngs=vs,sn.latLngToCoords=gu,sn.latLngsToCoords=gs,sn.getFeature=Ur,sn.asFeature=ys,te.mergeOptions({boxZoom:!0});var Dh=Ht.extend({initialize:function(r){this._map=r,this._container=r._container,this._pane=r._panes.overlayPane,this._resetStateTimeout=0,r.on("unload",this._destroy,this)},addHooks:function(){Y(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Se(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ye(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(r){if(!r.shiftKey||r.which!==1&&r.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Fi(),Xl(),this._startPoint=this._map.mouseEventToContainerPoint(r),Y(document,{contextmenu:nn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(r){this._moved||(this._moved=!0,this._box=re("div","leaflet-zoom-box",this._container),q(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(r);var o=new K(this._point,this._startPoint),l=o.getSize();Oe(this._box,o.min),this._box.style.width=l.x+"px",this._box.style.height=l.y+"px"},_finish:function(){this._moved&&(ye(this._box),Te(this._container,"leaflet-crosshair")),Ui(),Jl(),Se(document,{contextmenu:nn,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(r){if(!(r.which!==1&&r.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var o=new Me(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(o).fire("boxzoomend",{boxZoomBounds:o})}},_onKeyDown:function(r){r.keyCode===27&&this._finish()}});te.addInitHook("addHandler","boxZoom",Dh),te.mergeOptions({doubleClickZoom:!0});var jh=Ht.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(r){var o=this._map,l=o.getZoom(),c=o.options.zoomDelta,h=r.originalEvent.shiftKey?l-c:l+c;o.options.doubleClickZoom==="center"?o.setZoom(h):o.setZoomAround(r.containerPoint,h)}});te.addInitHook("addHandler","doubleClickZoom",jh),te.mergeOptions({dragging:!0,inertia:!Di,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Bh=Ht.extend({addHooks:function(){if(!this._draggable){var r=this._map;this._draggable=new ar(r._mapPane,r._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),r.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),r.on("zoomend",this._onZoomEnd,this),r.whenReady(this._onZoomEnd,this))}q(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Te(this._map._container,"leaflet-grab"),Te(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 r=this._map;if(r._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var o=de(this._map.options.maxBounds);this._offsetLimit=se(this._map.latLngToContainerPoint(o.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(o.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;r.fire("movestart").fire("dragstart"),r.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(r){if(this._map.options.inertia){var o=this._lastTime=+new Date,l=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(l),this._times.push(o),this._prunePositions(o)}this._map.fire("move",r).fire("drag",r)},_prunePositions:function(r){for(;this._positions.length>1&&r-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var r=this._map.getSize().divideBy(2),o=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=o.subtract(r).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(r,o){return r-(r-o)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var r=this._draggable._newPos.subtract(this._draggable._startPos),o=this._offsetLimit;r.xo.max.x&&(r.x=this._viscousLimit(r.x,o.max.x)),r.y>o.max.y&&(r.y=this._viscousLimit(r.y,o.max.y)),this._draggable._newPos=this._draggable._startPos.add(r)}},_onPreDragWrap:function(){var r=this._worldWidth,o=Math.round(r/2),l=this._initialWorldOffset,c=this._draggable._newPos.x,h=(c-o+l)%r+o-l,_=(c+o+l)%r-o-l,S=Math.abs(h+l)0?_:-_))-o;this._delta=0,this._startTime=null,S&&(r.options.scrollWheelZoom==="center"?r.setZoom(o+S):r.setZoomAround(this._lastMousePos,o+S))}});te.addInitHook("addHandler","scrollWheelZoom",Uh),te.mergeOptions({tap:!0,tapTolerance:15});var $h=Ht.extend({addHooks:function(){Y(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Se(this._map._container,"touchstart",this._onDown,this)},_onDown:function(r){if(r.touches){if(wt(r),this._fireClick=!0,r.touches.length>1){this._fireClick=!1,clearTimeout(this._holdTimeout);return}var o=r.touches[0],l=o.target;this._startPos=this._newPos=new I(o.clientX,o.clientY),l.tagName&&l.tagName.toLowerCase()==="a"&&q(l,"leaflet-active"),this._holdTimeout=setTimeout(u(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",o))},this),1e3),this._simulateEvent("mousedown",o),Y(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(r){if(clearTimeout(this._holdTimeout),Se(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&r&&r.changedTouches){var o=r.changedTouches[0],l=o.target;l&&l.tagName&&l.tagName.toLowerCase()==="a"&&Te(l,"leaflet-active"),this._simulateEvent("mouseup",o),this._isTapValid()&&this._simulateEvent("click",o)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(r){var o=r.touches[0];this._newPos=new I(o.clientX,o.clientY),this._simulateEvent("mousemove",o)},_simulateEvent:function(r,o){var l=document.createEvent("MouseEvents");l._simulated=!0,o.target._simulatedClick=!0,l.initMouseEvent(r,!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),o.target.dispatchEvent(l)}});$t&&(!Ut||ns)&&te.addInitHook("addHandler","tap",$h),te.mergeOptions({touchZoom:$t&&!Di,bounceAtZoomLimits:!0});var Zh=Ht.extend({addHooks:function(){q(this._map._container,"leaflet-touch-zoom"),Y(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Te(this._map._container,"leaflet-touch-zoom"),Se(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(r){var o=this._map;if(!(!r.touches||r.touches.length!==2||o._animatingZoom||this._zooming)){var l=o.mouseEventToContainerPoint(r.touches[0]),c=o.mouseEventToContainerPoint(r.touches[1]);this._centerPoint=o.getSize()._divideBy(2),this._startLatLng=o.containerPointToLatLng(this._centerPoint),o.options.touchZoom!=="center"&&(this._pinchStartLatLng=o.containerPointToLatLng(l.add(c)._divideBy(2))),this._startDist=l.distanceTo(c),this._startZoom=o.getZoom(),this._moved=!1,this._zooming=!0,o._stop(),Y(document,"touchmove",this._onTouchMove,this),Y(document,"touchend",this._onTouchEnd,this),wt(r)}},_onTouchMove:function(r){if(!(!r.touches||r.touches.length!==2||!this._zooming)){var o=this._map,l=o.mouseEventToContainerPoint(r.touches[0]),c=o.mouseEventToContainerPoint(r.touches[1]),h=l.distanceTo(c)/this._startDist;if(this._zoom=o.getScaleZoom(h,this._startZoom),!o.options.bounceAtZoomLimits&&(this._zoomo.getMaxZoom()&&h>1)&&(this._zoom=o._limitZoom(this._zoom)),o.options.touchZoom==="center"){if(this._center=this._startLatLng,h===1)return}else{var _=l._add(c)._divideBy(2)._subtract(this._centerPoint);if(h===1&&_.x===0&&_.y===0)return;this._center=o.unproject(o.project(this._pinchStartLatLng,this._zoom).subtract(_),this._zoom)}this._moved||(o._moveStart(!0,!1),this._moved=!0),J(this._animRequest);var S=u(o._move,o,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=V(S,this,!0),wt(r)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,J(this._animRequest),Se(document,"touchmove",this._onTouchMove,this),Se(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))}});te.addInitHook("addHandler","touchZoom",Zh),te.BoxZoom=Dh,te.DoubleClickZoom=jh,te.Drag=Bh,te.Keyboard=Fh,te.ScrollWheelZoom=Uh,te.Tap=$h,te.TouchZoom=Zh,n.version=i,n.Control=Nt,n.control=Hi,n.Browser=Ty,n.Evented=ut,n.Mixin=$y,n.Util=Ve,n.Class=Ae,n.Handler=Ht,n.extend=s,n.bind=u,n.stamp=d,n.setOptions=P,n.DomEvent=zy,n.DomUtil=Ay,n.PosAnimation=hh,n.Draggable=ar,n.LineUtil=Gy,n.PolyUtil=Ky,n.Point=I,n.point=U,n.Bounds=K,n.bounds=se,n.Transformation=Al,n.transformation=Mi,n.Projection=Qy,n.LatLng=oe,n.latLng=ae,n.LatLngBounds=Me,n.latLngBounds=de,n.CRS=rt,n.GeoJSON=sn,n.geoJSON=kh,n.geoJson=s0,n.Layer=Rt,n.LayerGroup=Dr,n.layerGroup=Xy,n.FeatureGroup=jr,n.featureGroup=Jy,n.ImageOverlay=ws,n.imageOverlay=a0,n.VideoOverlay=Oh,n.videoOverlay=l0,n.SVGOverlay=Ch,n.svgOverlay=u0,n.DivOverlay=an,n.Popup=$r,n.popup=c0,n.Tooltip=Zr,n.tooltip=f0,n.Icon=Br,n.icon=e0,n.DivIcon=Nh,n.divIcon=d0,n.Marker=ms,n.marker=t0,n.TileLayer=Hr,n.tileLayer=Rh,n.GridLayer=Gi,n.gridLayer=h0,n.SVG=Qi,n.svg=Mh,n.Renderer=Wt,n.Canvas=Ih,n.canvas=Ah,n.Path=On,n.CircleMarker=_s,n.circleMarker=n0,n.Circle=mu,n.circle=r0,n.Polyline=on,n.polyline=i0,n.Polygon=Fr,n.polygon=o0,n.Rectangle=zh,n.rectangle=_0,n.Map=te,n.map=Dy;var v0=window.L;n.noConflict=function(){return window.L=v0,this},window.L=n})})(ef,ef.exports);var Ti=ef.exports;function Xw(e,t){const[n,i]=b.useState(null),s=b.useRef(!1);return b.useEffect(()=>{if(e.current!==null&&!s.current){const a=new Ti.Map(e.current,{center:{lat:t.location.latitude,lng:t.location.longitude},zoom:t.location.zoom}),u=new Ti.TileLayer("https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png",{attribution:'© OpenStreetMap contributors © CARTO'});a.addLayer(u),i(a),s.current=!0}},[t,e]),b.useEffect(()=>{n&&n.setView([t.location.latitude,t.location.longitude],t.location.zoom)},[n,t]),n}const Jw=new Ti.Icon({iconUrl:"/img/pin.svg",iconSize:[40,40],iconAnchor:[20,40]}),ex=new Ti.Icon({iconUrl:"/img/pin-active.svg",iconSize:[40,40],iconAnchor:[20,40]});function tg(e){const{city:t,points:n,selectedPoint:i}=e,s=b.useRef(null),a=Xw(s,t);return b.useEffect(()=>{if(a){const u=Ti.layerGroup().addTo(a);return n.forEach(f=>{new Ti.Marker({lat:f.location.latitude,lng:f.location.longitude}).setIcon(i!==void 0&&f.id===i.id?ex:Jw).addTo(u)}),()=>{a.removeLayer(u)}}},[a,n,i]),x.jsx("section",{className:"cities__map map",style:{height:"600px"},ref:s})}var ng={exports:{}},rg={};/** + * @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 Pi=b;function tx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nx=typeof Object.is=="function"?Object.is:tx,rx=Pi.useState,ix=Pi.useEffect,ox=Pi.useLayoutEffect,sx=Pi.useDebugValue;function ax(e,t){var n=t(),i=rx({inst:{value:n,getSnapshot:t}}),s=i[0].inst,a=i[1];return ox(function(){s.value=n,s.getSnapshot=t,Ku(s)&&a({inst:s})},[e,n,t]),ix(function(){return Ku(s)&&a({inst:s}),e(function(){Ku(s)&&a({inst:s})})},[e]),sx(n),n}function Ku(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!nx(e,n)}catch{return!0}}function lx(e,t){return t()}var ux=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?lx:ax;rg.useSyncExternalStore=Pi.useSyncExternalStore!==void 0?Pi.useSyncExternalStore:ux;ng.exports=rg;var cx=ng.exports,ig={exports:{}},og={};/** + * @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 tl=b,fx=cx;function dx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var hx=typeof Object.is=="function"?Object.is:dx,px=fx.useSyncExternalStore,mx=tl.useRef,_x=tl.useEffect,vx=tl.useMemo,gx=tl.useDebugValue;og.useSyncExternalStoreWithSelector=function(e,t,n,i,s){var a=mx(null);if(a.current===null){var u={hasValue:!1,value:null};a.current=u}else u=a.current;a=vx(function(){function d(k){if(!p){if(p=!0,m=k,k=i(k),s!==void 0&&u.hasValue){var T=u.value;if(s(T,k))return g=T}return g=k}if(T=g,hx(m,k))return T;var P=i(k);return s!==void 0&&s(T,P)?T:(m=k,g=P)}var p=!1,m,g,w=n===void 0?null:n;return[function(){return d(t())},w===null?void 0:function(){return d(w())}]},[t,n,i,s]);var f=px(e,a[0],a[1]);return _x(function(){u.hasValue=!0,u.value=f},[f]),gx(f),f};ig.exports=og;var yx=ig.exports;function wx(e){e()}let sg=wx;const xx=e=>sg=e,Ex=()=>sg,nm=Symbol.for("react-redux-context"),rm=typeof globalThis<"u"?globalThis:{};function Tx(){var e;if(!b.createContext)return{};const t=(e=rm[nm])!=null?e:rm[nm]=new Map;let n=t.get(b.createContext);return n||(n=b.createContext(null),t.set(b.createContext,n)),n}const Xn=Tx();function md(e=Xn){return function(){return b.useContext(e)}}const ag=md(),Px=()=>{throw new Error("uSES not initialized!")};let lg=Px;const Sx=e=>{lg=e},Lx=(e,t)=>e===t;function kx(e=Xn){const t=e===Xn?ag:md(e);return function(i,s={}){const{equalityFn:a=Lx,stabilityCheck:u=void 0,noopCheck:f=void 0}=typeof s=="function"?{equalityFn:s}:s,{store:d,subscription:p,getServerState:m,stabilityCheck:g,noopCheck:w}=t();b.useRef(!0);const k=b.useCallback({[i.name](P){return i(P)}}[i.name],[i,g,u]),T=lg(p.addNestedSub,d.getState,m||d.getState,k,a);return b.useDebugValue(T),T}}const Ox=kx();function Oa(){return Oa=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let i=t;for(;i;)i.callback(),i=i.next})},get(){let i=[],s=t;for(;s;)i.push(s),s=s.next;return i},subscribe(i){let s=!0,a=n={callback:i,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){!s||t===null||(s=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const im={notify(){},get:()=>[]};function Fx(e,t){let n,i=im,s=0,a=!1;function u(P){m();const z=i.subscribe(P);let E=!1;return()=>{E||(E=!0,z(),g())}}function f(){i.notify()}function d(){T.onStateChange&&T.onStateChange()}function p(){return a}function m(){s++,n||(n=t?t.addNestedSub(d):e.subscribe(d),i=Bx())}function g(){s--,n&&s===0&&(n(),n=void 0,i.clear(),i=im)}function w(){a||(a=!0,m())}function k(){a&&(a=!1,g())}const T={addNestedSub:u,notifyNestedSubs:f,handleChangeWrapper:d,isSubscribed:p,trySubscribe:w,tryUnsubscribe:k,getListeners:()=>i};return T}const Ux=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$x=Ux?b.useLayoutEffect:b.useEffect;function Zx({store:e,context:t,children:n,serverState:i,stabilityCheck:s="once",noopCheck:a="once"}){const u=b.useMemo(()=>{const p=Fx(e);return{store:e,subscription:p,getServerState:i?()=>i:void 0,stabilityCheck:s,noopCheck:a}},[e,i,s,a]),f=b.useMemo(()=>e.getState(),[e]);$x(()=>{const{subscription:p}=u;return p.onStateChange=p.notifyNestedSubs,p.trySubscribe(),f!==e.getState()&&p.notifyNestedSubs(),()=>{p.tryUnsubscribe(),p.onStateChange=void 0}},[u,f]);const d=t||Xn;return b.createElement(d.Provider,{value:u},n)}function pg(e=Xn){const t=e===Xn?ag:md(e);return function(){const{store:i}=t();return i}}const Hx=pg();function Wx(e=Xn){const t=e===Xn?Hx:pg(e);return function(){return t().dispatch}}const Vx=Wx();Sx(yx.useSyncExternalStoreWithSelector);xx(eg.unstable_batchedUpdates);const rr=()=>Vx(),De=Ox;var Be=(e=>(e.Root="/",e.Login="/login",e.Favorites="/favorites",e.Offer="/offer/:id",e))(Be||{});const Gx=5;var Ft=(e=>(e.Offers="/offers",e.Favorites="/favorite",e.Comments="/comments",e.Login="/login",e.Logout="/logout",e))(Ft||{}),zn=(e=>(e.Auth="AUTH",e.NoAuth="NO_AUTH",e.Unknown="UNKNOWN",e))(zn||{}),xd=(e=>(e.Paris="Paris",e.Amsterdam="Amsterdam",e.Cologne="Cologne",e.Brussels="Brussels",e.Hamburg="Hamburg",e.Dusseldorf="Dusseldorf",e))(xd||{});const mg={apartment:"Apartment",room:"Room",house:"House",hotel:"Hotel"},Ca=[{name:"Paris",location:{latitude:48.8534,longitude:2.3488,zoom:12}},{name:"Cologne",location:{latitude:50.9333,longitude:6.95,zoom:12}},{name:"Brussels",location:{latitude:50.8504,longitude:4.34878,zoom:12}},{name:"Amsterdam",location:{latitude:52.374,longitude:4.889969,zoom:12}},{name:"Hamburg",location:{latitude:53.5511,longitude:9.9937,zoom:12}},{name:"Dusseldorf",location:{latitude:51.2217,longitude:6.77616,zoom:12}}],Ed={Paris:{name:"Paris",location:{latitude:48.8534,longitude:2.3488,zoom:12}},Cologne:{name:"Cologne",location:{latitude:50.9333,longitude:6.95,zoom:12}},Brussels:{name:"Brussels",location:{latitude:50.8504,longitude:4.34878,zoom:12}},Amsterdam:{name:"Amsterdam",location:{latitude:52.374,longitude:4.889969,zoom:12}},Hamburg:{name:"Hamburg",location:{latitude:53.5511,longitude:9.9937,zoom:12}},Dusseldorf:{name:"Dusseldorf",location:{latitude:51.2217,longitude:6.77616,zoom:12}}};var Re=(e=>(e.Data="DATA",e.User="USER",e.SingleOffer="SINGLE_OFFER",e))(Re||{}),yr=(e=>(e.Cities="cities__card",e.Nearby="near-places__card",e.Favorites="favorites__card",e))(yr||{}),oi=(e=>(e.Popular="Popular",e.PriceLowToHigh="Price: low to high",e.PriceHighToLow="Price: high to low",e.TopRatedFirst="Top rated first",e))(oi||{});const Kx=["Popular","Price: high to low","Price: low to high","Top rated first"],Qx=e=>e[Re.Data].offerList,qx=e=>e[Re.Data].isOffersDataLoading,Td=e=>e[Re.Data].cityName;function Yx({onSortChange:e}){const[t,n]=b.useState(!1),[i,s]=b.useState(oi.Popular),a=u=>{n(!1),s(u),e(u)};return x.jsxs("form",{className:"places__sorting",action:"#",method:"get",children:[x.jsx("span",{className:"places__sorting-caption",children:"Sort by "}),x.jsxs("span",{className:"places__sorting-type",tabIndex:0,onClick:()=>{n(!t)},children:[i,x.jsx("svg",{className:"places__sorting-arrow",width:7,height:4,children:x.jsx("use",{xlinkHref:"#icon-arrow-select"})})]}),t&&x.jsx("ul",{className:"places__options places__options--custom places__options--opened",children:Kx.map(u=>x.jsx("li",{className:`places__option ${u===i?"places__option--active":""}`,tabIndex:0,onClick:()=>a(u),children:u},u))})]})}const Xx=b.memo(Yx);function Jx(){const e=De(Td);return x.jsxs("div",{className:"cities__places-container cities__places-container--empty container",children:[x.jsx("section",{className:"cities__no-places",children:x.jsxs("div",{className:"cities__status-wrapper tabs__content",children:[x.jsx("b",{className:"cities__status",children:"No places to stay available"}),x.jsx("p",{className:"cities__status-description",children:`We could not find any property available at the moment in ${e}`})]})}),x.jsx("div",{className:"cities__right-section",children:x.jsx("section",{className:"cities__map map"})})]})}/** + * @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 tf(){return tf=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Pd(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function om(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Ko(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var sm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(sm||(sm={}));function eE(e,t,n){n===void 0&&(n="/");let i=typeof t=="string"?Ko(t):t,s=Sd(i.pathname||"/",n);if(s==null)return null;let a=_g(e);tE(a);let u=null;for(let f=0;u==null&&f{let d={relativePath:f===void 0?a.path||"":f,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};d.relativePath.startsWith("/")&&(be(d.relativePath.startsWith(i),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(i.length));let p=Kn([i,d.relativePath]),m=n.concat(d);a.children&&a.children.length>0&&(be(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),_g(a.children,t,m,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:lE(p,a.index),routesMeta:m})};return e.forEach((a,u)=>{var f;if(a.path===""||!((f=a.path)!=null&&f.includes("?")))s(a,u);else for(let d of vg(a.path))s(a,u,d)}),t}function vg(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(i.length===0)return s?[a,""]:[a];let u=vg(i.join("/")),f=[];return f.push(...u.map(d=>d===""?a:[a,d].join("/"))),s&&f.push(...u),f.map(d=>e.startsWith("/")&&d===""?"/":d)}function tE(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:uE(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const nE=/^:\w+$/,rE=3,iE=2,oE=1,sE=10,aE=-2,am=e=>e==="*";function lE(e,t){let n=e.split("/"),i=n.length;return n.some(am)&&(i+=aE),t&&(i+=iE),n.filter(s=>!am(s)).reduce((s,a)=>s+(nE.test(a)?rE:a===""?oE:sE),i)}function uE(e,t){return e.length===t.length&&e.slice(0,-1).every((i,s)=>i===t[s])?e[e.length-1]-t[t.length-1]:0}function cE(e,t){let{routesMeta:n}=e,i={},s="/",a=[];for(let u=0;u{if(m==="*"){let w=f[g]||"";u=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}return p[m]=pE(f[g]||"",m),p},{}),pathname:a,pathnameBase:u,pattern:e}}function dE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Pd(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 i=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(u,f)=>(i.push(f),"/([^\\/]+)"));return e.endsWith("*")?(i.push("*"),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),i]}function hE(e){try{return decodeURI(e)}catch(t){return Pd(!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 pE(e,t){try{return decodeURIComponent(e)}catch(n){return Pd(!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 ("+n+").")),e}}function Sd(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function mE(e,t){t===void 0&&(t="/");let{pathname:n,search:i="",hash:s=""}=typeof e=="string"?Ko(e):e;return{pathname:n?n.startsWith("/")?n:_E(n,t):t,search:gE(i),hash:yE(s)}}function _E(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Qu(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Ld(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function kd(e,t,n,i){i===void 0&&(i=!1);let s;typeof e=="string"?s=Ko(e):(s=tf({},e),be(!s.pathname||!s.pathname.includes("?"),Qu("?","pathname","search",s)),be(!s.pathname||!s.pathname.includes("#"),Qu("#","pathname","hash",s)),be(!s.search||!s.search.includes("#"),Qu("#","search","hash",s)));let a=e===""||s.pathname==="",u=a?"/":s.pathname,f;if(i||u==null)f=n;else{let g=t.length-1;if(u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),g-=1;s.pathname=w.join("/")}f=g>=0?t[g]:"/"}let d=mE(s,f),p=u&&u!=="/"&&u.endsWith("/"),m=(a||u===".")&&n.endsWith("/");return!d.pathname.endsWith("/")&&(p||m)&&(d.pathname+="/"),d}const Kn=e=>e.join("/").replace(/\/\/+/g,"/"),vE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),gE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,yE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function wE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gg=["post","put","patch","delete"];new Set(gg);const xE=["get",...gg];new Set(xE);/** + * 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 Ra(){return Ra=Object.assign?Object.assign.bind():function(e){for(var t=1;td.pathnameBase)),u=b.useRef(!1);return wg(()=>{u.current=!0}),b.useCallback(function(d,p){if(p===void 0&&(p={}),!u.current)return;if(typeof d=="number"){n.go(d);return}let m=kd(d,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Kn([t,m.pathname])),(p.replace?n.replace:n.push)(m,p.state,p)},[t,n,a,s,e])}function SE(){let{matches:e}=b.useContext(Tn),t=e[e.length-1];return t?t.params:{}}function Eg(e,t){let{relative:n}=t===void 0?{}:t,{matches:i}=b.useContext(Tn),{pathname:s}=Qo(),a=JSON.stringify(Ld(i).map(u=>u.pathnameBase));return b.useMemo(()=>kd(e,JSON.parse(a),s,n==="path"),[e,a,s,n])}function LE(e,t){return kE(e,t)}function kE(e,t,n){Ri()||be(!1);let{navigator:i}=b.useContext(Ni),{matches:s}=b.useContext(Tn),a=s[s.length-1],u=a?a.params:{};a&&a.pathname;let f=a?a.pathnameBase:"/";a&&a.route;let d=Qo(),p;if(t){var m;let P=typeof t=="string"?Ko(t):t;f==="/"||(m=P.pathname)!=null&&m.startsWith(f)||be(!1),p=P}else p=d;let g=p.pathname||"/",w=f==="/"?g:g.slice(f.length)||"/",k=eE(e,{pathname:w}),T=bE(k&&k.map(P=>Object.assign({},P,{params:Object.assign({},u,P.params),pathname:Kn([f,i.encodeLocation?i.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?f:Kn([f,i.encodeLocation?i.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),s,n);return t&&T?b.createElement(El.Provider,{value:{location:Ra({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:Na.Pop}},T):T}function OE(){let e=zE(),t=wE(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:s},n):null,a)}const CE=b.createElement(OE,null);class NE extends b.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,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?b.createElement(Tn.Provider,{value:this.props.routeContext},b.createElement(yg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function RE(e){let{routeContext:t,match:n,children:i}=e,s=b.useContext(Od);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Tn.Provider,{value:t},i)}function bE(e,t,n){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var s;if((s=n)!=null&&s.errors)e=n.matches;else return null}let a=e,u=(i=n)==null?void 0:i.errors;if(u!=null){let f=a.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id]));f>=0||be(!1),a=a.slice(0,Math.min(a.length,f+1))}return a.reduceRight((f,d,p)=>{let m=d.route.id?u==null?void 0:u[d.route.id]:null,g=null;n&&(g=d.route.errorElement||CE);let w=t.concat(a.slice(0,p+1)),k=()=>{let T;return m?T=g:d.route.Component?T=b.createElement(d.route.Component,null):d.route.element?T=d.route.element:T=f,b.createElement(RE,{match:d,routeContext:{outlet:f,matches:w,isDataRoute:n!=null},children:T})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?b.createElement(NE,{location:n.location,revalidation:n.revalidation,component:g,error:m,children:k(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):k()},null)}var Tg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Tg||{}),ba=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}(ba||{});function IE(e){let t=b.useContext(Od);return t||be(!1),t}function AE(e){let t=b.useContext(EE);return t||be(!1),t}function ME(e){let t=b.useContext(Tn);return t||be(!1),t}function Pg(e){let t=ME(),n=t.matches[t.matches.length-1];return n.route.id||be(!1),n.route.id}function zE(){var e;let t=b.useContext(yg),n=AE(ba.UseRouteError),i=Pg(ba.UseRouteError);return t||((e=n.errors)==null?void 0:e[i])}function DE(){let{router:e}=IE(Tg.UseNavigateStable),t=Pg(ba.UseNavigateStable),n=b.useRef(!1);return wg(()=>{n.current=!0}),b.useCallback(function(s,a){a===void 0&&(a={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Ra({fromRouteId:t},a)))},[e,t])}function jE(e){let{to:t,replace:n,state:i,relative:s}=e;Ri()||be(!1);let{matches:a}=b.useContext(Tn),{pathname:u}=Qo(),f=xg(),d=kd(t,Ld(a).map(m=>m.pathnameBase),u,s==="path"),p=JSON.stringify(d);return b.useEffect(()=>f(JSON.parse(p),{replace:n,state:i,relative:s}),[f,p,s,n,i]),null}function Vr(e){be(!1)}function BE(e){let{basename:t="/",children:n=null,location:i,navigationType:s=Na.Pop,navigator:a,static:u=!1}=e;Ri()&&be(!1);let f=t.replace(/^\/*/,"/"),d=b.useMemo(()=>({basename:f,navigator:a,static:u}),[f,a,u]);typeof i=="string"&&(i=Ko(i));let{pathname:p="/",search:m="",hash:g="",state:w=null,key:k="default"}=i,T=b.useMemo(()=>{let P=Sd(p,f);return P==null?null:{location:{pathname:P,search:m,hash:g,state:w,key:k},navigationType:s}},[f,p,m,g,w,k,s]);return T==null?null:b.createElement(Ni.Provider,{value:d},b.createElement(El.Provider,{children:n,value:T}))}function FE(e){let{children:t,location:n}=e;return LE(nf(t),n)}new Promise(()=>{});function nf(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(i,s)=>{if(!b.isValidElement(i))return;let a=[...t,s];if(i.type===b.Fragment){n.push.apply(n,nf(i.props.children,a));return}i.type!==Vr&&be(!1),!i.props.index||!i.props.children||be(!1);let u={id:i.props.id||a.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=nf(i.props.children,a)),n.push(u)}),n}/** + * 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 rf(){return rf=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[s]=e[s]);return n}function $E(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ZE(e,t){return e.button===0&&(!t||t==="_self")&&!$E(e)}const HE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],WE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",VE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qt=b.forwardRef(function(t,n){let{onClick:i,relative:s,reloadDocument:a,replace:u,state:f,target:d,to:p,preventScrollReset:m}=t,g=UE(t,HE),{basename:w}=b.useContext(Ni),k,T=!1;if(typeof p=="string"&&VE.test(p)&&(k=p,WE))try{let v=new URL(window.location.href),y=p.startsWith("//")?new URL(v.protocol+p):new URL(p),C=Sd(y.pathname,w);y.origin===v.origin&&C!=null?p=C+y.search+y.hash:T=!0}catch{}let P=TE(p,{relative:s}),z=GE(p,{replace:u,state:f,target:d,preventScrollReset:m,relative:s});function E(v){i&&i(v),v.defaultPrevented||z(v)}return b.createElement("a",rf({},g,{href:k||P,onClick:T||a?i:E,ref:n,target:d}))});var lm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(lm||(lm={}));var um;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(um||(um={}));function GE(e,t){let{target:n,replace:i,state:s,preventScrollReset:a,relative:u}=t===void 0?{}:t,f=xg(),d=Qo(),p=Eg(e,{relative:u});return b.useCallback(m=>{if(ZE(m,n)){m.preventDefault();let g=i!==void 0?i:om(d)===om(p);f(e,{replace:g,state:s,preventScrollReset:a,relative:u})}},[d,f,p,i,s,n,e,a,u])}function zt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i3?t.i-4:t.i:Array.isArray(e)?1:Cd(e)?2:Nd(e)?3:0}function hi(e,t){return bi(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function KE(e,t){return bi(e)===2?e.get(t):e[t]}function Sg(e,t,n){var i=bi(e);i===2?e.set(t,n):i===3?e.add(n):e[t]=n}function Lg(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Cd(e){return eT&&e instanceof Map}function Nd(e){return tT&&e instanceof Set}function dr(e){return e.o||e.t}function Rd(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Og(e);delete t[ve];for(var n=pi(t),i=0;i1&&(e.set=e.add=e.clear=e.delete=QE),Object.freeze(e),t&&Lr(e,function(n,i){return bd(i,!0)},!0)),e}function QE(){zt(2)}function Id(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Jt(e){var t=lf[e];return t||zt(18,e),t}function qE(e,t){lf[e]||(lf[e]=t)}function of(){return jo}function qu(e,t){t&&(Jt("Patches"),e.u=[],e.s=[],e.v=t)}function Ia(e){sf(e),e.p.forEach(YE),e.p=null}function sf(e){e===jo&&(jo=e.l)}function cm(e){return jo={p:[],l:jo,h:e,m:!0,_:0}}function YE(e){var t=e[ve];t.i===0||t.i===1?t.j():t.g=!0}function Yu(e,t){t._=t.p.length;var n=t.p[0],i=e!==void 0&&e!==n;return t.h.O||Jt("ES5").S(t,e,i),i?(n[ve].P&&(Ia(t),zt(4)),wn(e)&&(e=Aa(t,e),t.l||Ma(t,e)),t.u&&Jt("Patches").M(n[ve].t,e,t.u,t.s)):e=Aa(t,n,[]),Ia(t),t.u&&t.v(t.u,t.s),e!==kg?e:void 0}function Aa(e,t,n){if(Id(t))return t;var i=t[ve];if(!i)return Lr(t,function(f,d){return fm(e,i,t,f,d,n)},!0),t;if(i.A!==e)return t;if(!i.P)return Ma(e,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var s=i.i===4||i.i===5?i.o=Rd(i.k):i.o,a=s,u=!1;i.i===3&&(a=new Set(s),s.clear(),u=!0),Lr(a,function(f,d){return fm(e,i,s,f,d,n,u)}),Ma(e,s,!1),n&&e.u&&Jt("Patches").N(i,n,e.u,e.s)}return i.o}function fm(e,t,n,i,s,a,u){if(Jn(s)){var f=Aa(e,s,a&&t&&t.i!==3&&!hi(t.R,i)?a.concat(i):void 0);if(Sg(n,i,f),!Jn(f))return;e.m=!1}else u&&n.add(s);if(wn(s)&&!Id(s)){if(!e.h.D&&e._<1)return;Aa(e,s),t&&t.A.l||Ma(e,s)}}function Ma(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&bd(t,n)}function Xu(e,t){var n=e[ve];return(n?dr(n):e)[t]}function dm(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}function Dn(e){e.P||(e.P=!0,e.l&&Dn(e.l))}function Ju(e){e.o||(e.o=Rd(e.t))}function af(e,t,n){var i=Cd(t)?Jt("MapSet").F(t,n):Nd(t)?Jt("MapSet").T(t,n):e.O?function(s,a){var u=Array.isArray(s),f={i:u?1:0,A:a?a.A:of(),P:!1,I:!1,R:{},l:a,t:s,k:null,o:null,j:null,C:!1},d=f,p=Bo;u&&(d=[f],p=uo);var m=Proxy.revocable(d,p),g=m.revoke,w=m.proxy;return f.k=w,f.j=g,w}(t,n):Jt("ES5").J(t,n);return(n?n.A:of()).p.push(i),i}function XE(e){return Jn(e)||zt(22,e),function t(n){if(!wn(n))return n;var i,s=n[ve],a=bi(n);if(s){if(!s.P&&(s.i<4||!Jt("ES5").K(s)))return s.t;s.I=!0,i=hm(n,a),s.I=!1}else i=hm(n,a);return Lr(i,function(u,f){s&&KE(s.t,u)===f||Sg(i,u,t(f))}),a===3?new Set(i):i}(e)}function hm(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Rd(e)}function JE(){function e(a,u){var f=s[a];return f?f.enumerable=u:s[a]=f={configurable:!0,enumerable:u,get:function(){var d=this[ve];return Bo.get(d,a)},set:function(d){var p=this[ve];Bo.set(p,a,d)}},f}function t(a){for(var u=a.length-1;u>=0;u--){var f=a[u][ve];if(!f.P)switch(f.i){case 5:i(f)&&Dn(f);break;case 4:n(f)&&Dn(f)}}}function n(a){for(var u=a.t,f=a.k,d=pi(f),p=d.length-1;p>=0;p--){var m=d[p];if(m!==ve){var g=u[m];if(g===void 0&&!hi(u,m))return!0;var w=f[m],k=w&&w[ve];if(k?k.t!==g:!Lg(w,g))return!0}}var T=!!u[ve];return d.length!==pi(u).length+(T?0:1)}function i(a){var u=a.k;if(u.length!==a.t.length)return!0;var f=Object.getOwnPropertyDescriptor(u,u.length-1);if(f&&!f.get)return!0;for(var d=0;d1?E-1:0),y=1;y1?m-1:0),w=1;w=0;s--){var a=i[s];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}s>-1&&(i=i.slice(s+1));var u=Jt("Patches").$;return Jn(n)?u(n,i):this.produce(n,function(f){return u(f,i)})},e}(),pt=new rT,Cg=pt.produce;pt.produceWithPatches.bind(pt);pt.setAutoFreeze.bind(pt);pt.setUseProxies.bind(pt);pt.applyPatches.bind(pt);pt.createDraft.bind(pt);pt.finishDraft.bind(pt);function Fo(e){"@babel/helpers - typeof";return Fo=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},Fo(e)}function iT(e,t){if(Fo(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Fo(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oT(e){var t=iT(e,"string");return Fo(t)==="symbol"?t:String(t)}function sT(e,t,n){return t=oT(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,i)}return n}function gm(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Qe(1));return n(Ng)(e,t)}if(typeof e!="function")throw new Error(Qe(2));var s=e,a=t,u=[],f=u,d=!1;function p(){f===u&&(f=u.slice())}function m(){if(d)throw new Error(Qe(3));return a}function g(P){if(typeof P!="function")throw new Error(Qe(4));if(d)throw new Error(Qe(5));var z=!0;return p(),f.push(P),function(){if(z){if(d)throw new Error(Qe(6));z=!1,p();var v=f.indexOf(P);f.splice(v,1),u=null}}}function w(P){if(!aT(P))throw new Error(Qe(7));if(typeof P.type>"u")throw new Error(Qe(8));if(d)throw new Error(Qe(9));try{d=!0,a=s(a,P)}finally{d=!1}for(var z=u=f,E=0;E"u")throw new Error(Qe(12));if(typeof n(void 0,{type:za.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Qe(13))})}function Rg(e){for(var t=Object.keys(e),n={},i=0;i"u")throw p&&p.type,new Error(Qe(14));g[k]=z,m=m||z!==P}return m=m||a.length!==Object.keys(d).length,m?g:d}}function Da(){for(var e=arguments.length,t=new Array(e),n=0;n0&&a[a.length-1])&&(p[0]===6||p[0]===2)){n=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]localStorage.getItem(Dd)??"",zT=e=>{localStorage.setItem(Dd,e)},DT=()=>{localStorage.removeItem(Dd)},jT={singleOffer:null,nearbyOffers:[],reviews:[],isSingleOfferDataLoading:!1,isReviewPosting:!1,isFormAccepted:!1},zg=Md({name:Re.SingleOffer,initialState:jT,reducers:{setSingleOffer:(e,t)=>{e.singleOffer=t.payload.offer},setNearbyOffers:(e,t)=>{e.nearbyOffers=t.payload.nearbyOffers},setReviews:(e,t)=>{e.reviews=t.payload.reviews},setSingleOfferDataLoadingStatus:(e,t)=>{e.isSingleOfferDataLoading=t.payload},sendReview:(e,t)=>{e.reviews.push(t.payload)},setFormAcceptedStatus:(e,t)=>{e.isFormAccepted=t.payload},updateFavoritesNearbyInfo:(e,t)=>{const{offerToUpdate:n}=t.payload,i=e.nearbyOffers.findIndex(s=>s.id===n.id);i!==-1&&(e.nearbyOffers[i]=n)},updateSingleOfferFavoritesStatus:e=>{var t;e.singleOffer!==null&&(e.singleOffer.isFavorite=!((t=e.singleOffer)!=null&&t.isFavorite))}},extraReducers(e){e.addCase(wo.fulfilled,t=>{t.isSingleOfferDataLoading=!1}).addCase(wo.rejected,t=>{t.isSingleOfferDataLoading=!1}).addCase(wo.pending,t=>{t.isSingleOfferDataLoading=!0}).addCase(Js.fulfilled,t=>{t.isSingleOfferDataLoading=!1}).addCase(Js.rejected,t=>{t.isSingleOfferDataLoading=!1}).addCase(Js.pending,t=>{t.isSingleOfferDataLoading=!0}).addCase(ea.fulfilled,t=>{t.isSingleOfferDataLoading=!1}).addCase(ea.rejected,t=>{t.isSingleOfferDataLoading=!1}).addCase(ea.pending,t=>{t.isSingleOfferDataLoading=!0})}}),{setSingleOffer:BT,setNearbyOffers:FT,setReviews:UT,sendReview:ML,setSingleOfferDataLoadingStatus:zL,setFormAcceptedStatus:$T,updateFavoritesNearbyInfo:ZT,updateSingleOfferFavoritesStatus:HT}=zg.actions,WT={authorizationStatus:zn.Unknown,user:null,isUserDataStillLoading:!1,favoriteOffers:[]},Dg=Md({name:Re.User,initialState:WT,reducers:{setUserData:(e,t)=>{e.user=t.payload},setFavoriteOffers:(e,t)=>{e.favoriteOffers=t.payload},updateUserFavorites:(e,t)=>{const{editedOffer:n}=t.payload,i=e.favoriteOffers.findIndex(s=>s.id===n.id);i===-1?e.favoriteOffers.push(n):e.favoriteOffers.splice(i,1)}},extraReducers(e){e.addCase(cf.fulfilled,t=>{t.authorizationStatus=zn.Auth}).addCase(cf.rejected,t=>{t.authorizationStatus=zn.NoAuth}).addCase(ff.fulfilled,t=>{t.authorizationStatus=zn.Auth}).addCase(ff.rejected,t=>{t.authorizationStatus=zn.NoAuth}).addCase(Ug.fulfilled,t=>{t.authorizationStatus=zn.NoAuth})}}),{setUserData:jd,setFavoriteOffers:VT,updateUserFavorites:GT}=Dg.actions,KT={cityName:xd.Paris,offerList:[],isOffersDataLoading:!1},jg=Md({name:Re.Data,initialState:KT,reducers:{changeCityAction:(e,t)=>{const n=t.payload;e.cityName=n.name},updateFavoriteInfo(e,t){const{offerToUpdate:n}=t.payload,i=e.offerList.findIndex(s=>s.id===n.id);i!==-1&&(e.offerList[i]=n)}},extraReducers(e){e.addCase(mi.pending,t=>{t.isOffersDataLoading=!0}).addCase(mi.fulfilled,(t,n)=>{t.offerList=n.payload,t.isOffersDataLoading=!1}).addCase(mi.rejected,t=>{t.isOffersDataLoading=!1})}}),{changeCityAction:Tl,updateFavoriteInfo:QT}=jg.actions,mi=en("data/fetchOffers",async(e,{extra:t})=>{const{data:n}=await t.get(Ft.Offers);return n}),wo=en("data/fetchReviews",async({offerId:e},{dispatch:t,extra:n})=>{const{data:i}=await n.get(`${Ft.Comments}/${e}`);t(UT({reviews:i}))}),qT=en("review/postReview",async({comment:e,rating:t,id:n},{dispatch:i,extra:s})=>{const a=Number(t);await s.post(`${Ft.Comments}/${n}`,{comment:e,rating:a}),i(wo({offerId:n}))}),Js=en("data/fetchNearbyOffers",async({offerId:e},{dispatch:t,extra:n})=>{const{data:i}=await n.get(`${Ft.Offers}/${e}/nearby`);t(FT({nearbyOffers:i.slice(0,3)}))}),ea=en("data/fetchSingleOffer",async({offerId:e},{dispatch:t,extra:n})=>{const{data:i}=await n.get(`${Ft.Offers}/${e}`);t(wo({offerId:e})),t(Js({offerId:e})),t(BT({offer:i}))}),Bg=en("data/fetchFavoriteOffers",async(e,{dispatch:t,extra:n})=>{const{data:i}=await n.get(Ft.Favorites);t(VT(i))}),Fg=en("user/editFavorites",async({offerId:e,isFavoriteNow:t},{dispatch:n,extra:i})=>{const{data:s}=await i.post(`${Ft.Favorites}/${e}/${t?0:1}`);n(GT({editedOffer:s})),n(QT({offerToUpdate:s})),n(ZT({offerToUpdate:s}))}),cf=en("user/checkAuth",async(e,{dispatch:t,extra:n})=>{const{data:i}=await n.get(Ft.Login);t(Bg()),t(jd(i))}),ff=en("user/login",async(e,{dispatch:t,extra:n})=>{const{data:i}=await n.post(Ft.Login,e);zT(i.token),t(Ii(Be.Root)),t(jd(i)),t(Bg()),t(mi())}),Ug=en("user/logout",async(e,{dispatch:t,extra:n})=>{await n.delete(Ft.Logout),DT(),t(mi()),t(jd(null)),t(Tl(Ed[xd.Paris])),t(Ii(Be.Root))}),Pl=e=>e[Re.User].authorizationStatus===zn.Auth,YT=e=>e[Re.User].user,XT=e=>e[Re.User].favoriteOffers,JT=e=>e[Re.User].favoriteOffers.length;function eP(){const e=De(JT),t=De(Pl),n=De(YT),i=rr();return x.jsx("header",{className:"header",children:x.jsx("div",{className:"container",children:x.jsxs("div",{className:"header__wrapper",children:[x.jsx("div",{className:"header__left",children:x.jsx(Qt,{className:"header__logo-link",to:"/",children:x.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})}),x.jsx("nav",{className:"header__nav",children:x.jsxs("ul",{className:"header__nav-list",children:[t&&x.jsx("li",{className:"header__nav-item user",children:x.jsxs(Qt,{className:"header__nav-link header__nav-link--profile",to:Be.Favorites,children:[x.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),x.jsx("span",{className:"header__user-name user__name",children:n==null?void 0:n.name}),x.jsx("span",{className:"header__favorite-count",children:e})]})}),x.jsx("li",{className:"header__nav-item",children:t?x.jsx(Qt,{className:"header__nav-link",onClick:s=>{s.preventDefault(),i(Ug())},to:Be.Root,children:x.jsx("span",{className:"header__signout",children:"Sign out"})}):x.jsx(Qt,{className:"header__nav-link",to:Be.Login,children:x.jsx("span",{className:"header__signout",children:"Sign in"})})})]})})]})})})}const Bd=b.memo(eP);function tP(){const e=rr(),t=De(Td),n=b.useCallback(i=>e(Tl(i)),[e]);return x.jsx("div",{className:"tabs",children:x.jsx("section",{className:"locations container",children:x.jsx("ul",{className:"locations__list tabs__list",children:Ca.map(i=>x.jsx("li",{className:"locations__item",children:x.jsx("a",{className:`locations__item-link tabs__item${t===i.name?" tabs__item--active":""}`,onClick:()=>{n(Ed[i.name])},children:x.jsx("span",{children:i.name})})},i.name))})})})}const nP=b.memo(tP);function rP({offer:e,cardClass:t}){const n=De(Pl),i=rr(),s=()=>{i(n?Fg({offerId:e.id,isFavoriteNow:e.isFavorite}):Ii(Be.Login))};return x.jsxs("article",{className:"cities__card place-card",children:[e.isPremium&&x.jsx("div",{className:"place-card__mark",children:x.jsx("span",{children:"Premium"})}),x.jsx("div",{className:"cities__image-wrapper place-card__image-wrapper",children:x.jsx(Qt,{to:`/offer/${e.id}`,children:x.jsx("img",{className:"place-card__image",src:e.previewImage,width:t===yr.Favorites?150:260,height:t===yr.Favorites?110:200,alt:"Place image"})})}),x.jsxs("div",{className:`${t===yr.Favorites?"favorites__card-info":""} place-card__info`,children:[x.jsxs("div",{className:"place-card__price-wrapper",children:[x.jsxs("div",{className:"place-card__price",children:[x.jsxs("b",{className:"place-card__price-value",children:["€",e.price]}),x.jsx("span",{className:"place-card__price-text",children:"/ night"})]}),x.jsxs("button",{className:e.isFavorite?"place-card__bookmark-button place-card__bookmark-button--active button":"place-card__bookmark-button button",type:"button",onClick:s,children:[x.jsx("svg",{className:"place-card__bookmark-icon",width:18,height:19,children:x.jsx("use",{xlinkHref:"#icon-bookmark"})}),x.jsx("span",{className:"visually-hidden",children:e.isFavorite?"In bookmarks":"To bookmarks"})]})]}),x.jsx("div",{className:"place-card__rating rating",children:x.jsxs("div",{className:"place-card__stars rating__stars",children:[x.jsx("span",{style:{width:`${e.rating/Gx*100}%`}}),x.jsx("span",{className:"visually-hidden",children:"Rating"})]})}),x.jsx("h2",{className:"place-card__name",children:x.jsx(Qt,{to:`/offer/${e.id}`,children:e.title})}),x.jsx("p",{className:"place-card__type",children:mg[e.type]})]})]})}function Fd({offers:e,onActiveOfferChange:t,cardClass:n,wrapperClassName:i}){return x.jsx("div",{className:i,children:e.map(s=>x.jsx("div",{onMouseEnter:()=>t(s),onMouseLeave:()=>t(null),children:x.jsx(rP,{offer:s,cardClass:n})},s.id))})}function iP(){const[e,t]=b.useState(null),[n,i]=b.useState(oi.Popular),s=De(Td),a=De(Qx).filter(d=>d.city.name===s),f=(()=>{const d=[...a];switch(n){case oi.PriceLowToHigh:d.sort((p,m)=>p.price-m.price);break;case oi.PriceHighToLow:d.sort((p,m)=>m.price-p.price);break;case oi.TopRatedFirst:d.sort((p,m)=>m.rating-p.rating);break}return d})();return x.jsxs("div",{className:"page page--gray page--main",children:[x.jsx(Bd,{}),x.jsxs("main",{className:"page__main page__main--index",children:[x.jsx("h1",{className:"visually-hidden",children:"Cities"}),x.jsx(nP,{}),x.jsx("div",{className:"cities",children:f.length>0?x.jsxs("div",{className:"cities__places-container container",children:[x.jsxs("section",{className:"cities__places places",children:[x.jsx("h2",{className:"visually-hidden",children:"Places"}),x.jsxs("b",{className:"places__found",children:[a.length," places to stay in ",s]}),x.jsx(Xx,{onSortChange:i}),x.jsx(Fd,{offers:f,onActiveOfferChange:d=>t(d),cardClass:yr.Cities,wrapperClassName:"cities__places-list places__list tabs__content"})]}),x.jsx("div",{className:"cities__right-section",children:x.jsx(tg,{city:Ed[s],points:f.map(d=>({location:d.location,id:d.id})),selectedPoint:e?{location:e.location,id:e.id}:void 0})})]}):x.jsx(Jx,{})})]})]})}function $g(){return x.jsxs("main",{className:"not_found_main",children:[x.jsx("h1",{className:"not_found_h1",children:"404"}),x.jsx("h2",{className:"not_found_h2",children:"Error: 404 page not found"}),x.jsx("p",{className:"not_found_p",children:"Sorry, the page you're looking for cannot be accessed"})]})}function oP(){const e=rr(),[t,n]=b.useState({email:"",password:""}),i=a=>{const{name:u,value:f}=a.target;n(d=>({...d,[u]:f}))},s=a=>{a.preventDefault(),t.email.length>0&&t.password.length>0&&e(ff({email:t.email,password:t.password}))};return x.jsxs("form",{onSubmit:s,className:"login__form form",children:[x.jsxs("div",{className:"login__input-wrapper form__input-wrapper",children:[x.jsx("label",{className:"visually-hidden",children:"E-mail"}),x.jsx("input",{className:"login__input form__input",type:"email",name:"email",value:t.email,onChange:i,placeholder:"Email",required:!0})]}),x.jsxs("div",{className:"login__input-wrapper form__input-wrapper",children:[x.jsx("label",{className:"visually-hidden",children:"Password"}),x.jsx("input",{className:"login__input form__input",type:"password",name:"password",value:t.password,onChange:i,placeholder:"Password",required:!0})]}),x.jsx("button",{className:"login__submit form__submit button",type:"submit",children:"Sign in"})]})}function sP(){const e=Math.floor(Math.random()*Ca.length),t=Ca[e],n=rr(),i=()=>{n(Tl(t)),n(Ii(Be.Root))};return x.jsx("section",{className:"locations locations--login locations--current",children:x.jsx("div",{className:"locations__item",children:x.jsx(Qt,{className:"locations__item-link",to:Be.Root,onClick:i,children:x.jsx("span",{children:t.name})})})})}function aP(){return x.jsxs("div",{className:"page page--gray page--login",children:[x.jsx("header",{className:"header",children:x.jsx("div",{className:"container",children:x.jsx("div",{className:"header__wrapper",children:x.jsx("div",{className:"header__left",children:x.jsx(Qt,{to:Be.Root,children:x.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:81,height:41})})})})})}),x.jsx("main",{className:"page__main page__main--login",children:x.jsxs("div",{className:"page__login-container container",children:[x.jsxs("section",{className:"login",children:[x.jsx("h1",{className:"login__title",children:"Sign in"}),x.jsx(oP,{})]}),x.jsx(sP,{})]})})]})}function lP(){return x.jsx("div",{className:"page page--favorites-empty",children:x.jsx("main",{className:"page__main page__main--favorites page__main--favorites-empty",children:x.jsx("div",{className:"page__favorites-container container",children:x.jsxs("section",{className:"favorites favorites--empty",children:[x.jsx("h1",{className:"visually-hidden",children:"Favorites (empty)"}),x.jsxs("div",{className:"favorites__status-wrapper",children:[x.jsx("b",{className:"favorites__status",children:"Nothing yet saved."}),x.jsx("p",{className:"favorites__status-description",children:"Save properties to narrow down search or plan your future trips."})]})]})})})})}function Ud(){return x.jsx("p",{children:"Loading ..."})}function uP(){const e=rr(),t=De(XT),n=i=>s=>{s.preventDefault(),e(Tl(i)),e(Ii(Be.Root))};return t?x.jsxs("div",{className:"page",children:[x.jsx(Bd,{}),x.jsx("main",{className:"page__main page__main--favorites",children:x.jsx("div",{className:"page__favorites-container container",children:t.length>0?x.jsxs("section",{className:"favorites",children:[x.jsx("h1",{className:"favorites__title",children:"Saved listing"}),x.jsx("ul",{className:"favorites__list",children:Ca.map(i=>{const s=t.filter(a=>a.city.name===i.name);return s.length>0&&x.jsxs("li",{className:"favorites__locations-items",children:[x.jsx("div",{className:"favorites__locations locations locations--current",children:x.jsx("div",{className:"locations__item",children:x.jsx(Qt,{className:"locations__item-link",onClick:n(i),to:Be.Root,children:x.jsx("span",{children:i.name})})})}),x.jsx(Fd,{offers:s,onActiveOfferChange:()=>{},cardClass:yr.Favorites,wrapperClassName:"favorites__places"})]},i.name)})})]}):x.jsx(lP,{})})}),x.jsx("footer",{className:"footer container",children:x.jsx(Qt,{to:Be.Root,children:x.jsx("img",{className:"footer__logo",src:"img/logo.svg",alt:"6 cities logo",width:64,height:33})})})]}):x.jsx(Ud,{})}const Zg=e=>e[Re.SingleOffer].singleOffer,cP=e=>e[Re.SingleOffer].nearbyOffers,fP=e=>e[Re.SingleOffer].reviews,dP=e=>e[Re.SingleOffer].isSingleOfferDataLoading,hP=e=>e[Re.SingleOffer].isFormAccepted,pP=e=>e[Re.SingleOffer].isReviewPosting;function mP({currentOfferId:e}){const[t,n]=b.useState({rating:0,review:""}),[i,s]=b.useState(!1),a=De(hP),u=De(pP),f=rr(),d=m=>{const{name:g,value:w}=m.target;n({...t,[g]:w})},p=m=>{m.preventDefault(),f(qT({comment:t.review,rating:t.rating,id:e})),a&&(n({review:"",rating:0}),f($T(!1)))};return b.useEffect(()=>{t.review.length>50&&t.review.length<301&&t.rating!==0?s(!0):s(!1)},[t]),x.jsxs("form",{className:"reviews__form form",onSubmit:p,"aria-disabled":!u,children:[x.jsx("label",{className:"reviews__label form__label",htmlFor:"review",children:"Your review"}),x.jsxs("div",{className:"reviews__rating-form form__rating",children:[x.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",id:"5-stars",type:"radio",onChange:d,value:5}),x.jsx("label",{htmlFor:"5-stars",className:"reviews__rating-label form__rating-label",title:"perfect",children:x.jsx("svg",{className:"form__star-image",width:37,height:33,children:x.jsx("use",{xlinkHref:"#icon-star"})})}),x.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",id:"4-stars",type:"radio",onChange:d,value:4}),x.jsx("label",{htmlFor:"4-stars",className:"reviews__rating-label form__rating-label",title:"good",children:x.jsx("svg",{className:"form__star-image",width:37,height:33,children:x.jsx("use",{xlinkHref:"#icon-star"})})}),x.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",id:"3-stars",type:"radio",onChange:d,value:3}),x.jsx("label",{htmlFor:"3-stars",className:"reviews__rating-label form__rating-label",title:"not bad",children:x.jsx("svg",{className:"form__star-image",width:37,height:33,children:x.jsx("use",{xlinkHref:"#icon-star"})})}),x.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",id:"2-stars",type:"radio",onChange:d,value:2}),x.jsx("label",{htmlFor:"2-stars",className:"reviews__rating-label form__rating-label",title:"badly",children:x.jsx("svg",{className:"form__star-image",width:37,height:33,children:x.jsx("use",{xlinkHref:"#icon-star"})})}),x.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",id:"1-star",type:"radio",onChange:d,value:1}),x.jsx("label",{htmlFor:"1-star",className:"reviews__rating-label form__rating-label",title:"terribly",children:x.jsx("svg",{className:"form__star-image",width:37,height:33,children:x.jsx("use",{xlinkHref:"#icon-star"})})})]}),x.jsx("textarea",{className:"reviews__textarea form__textarea",id:"review",name:"review",placeholder:"Tell how was your stay, what you like and what can be improved",value:t.review,onChange:d}),x.jsxs("div",{className:"reviews__button-wrapper",children:[x.jsxs("p",{className:"reviews__help",children:["To submit review please make sure to set"," ",x.jsx("span",{className:"reviews__star",children:"rating"})," and describe your stay with at least ",x.jsx("b",{className:"reviews__text-amount",children:"50 characters"}),"."]}),x.jsx("button",{className:"reviews__submit form__submit button",type:"submit",disabled:!i,children:"Submit"})]})]})}const _P=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long"});function vP({review:e}){const{rating:t,user:n,date:i,comment:s}=e;return x.jsxs("li",{className:"reviews__item",children:[x.jsxs("div",{className:"reviews__user user",children:[x.jsx("div",{className:"reviews__avatar-wrapper user__avatar-wrapper",children:x.jsx("img",{className:"reviews__avatar user__avatar",src:n.avatarUrl,width:54,height:54,alt:"Reviews avatar"})}),x.jsx("span",{className:"reviews__user-name",children:n.name}),n.isPro&&x.jsx("span",{className:"offer__user-status",children:"Pro"})]}),x.jsxs("div",{className:"reviews__info",children:[x.jsx("div",{className:"reviews__rating rating",children:x.jsxs("div",{className:"reviews__stars rating__stars",children:[x.jsx("span",{style:{width:`${t*100/5}%`}}),x.jsx("span",{className:"visually-hidden",children:_P(i)})]})}),x.jsx("p",{className:"reviews__text",children:s}),x.jsx("time",{className:"reviews__time",dateTime:i,children:"April 2019"})]})]})}function gP({reviews:e}){const t=[...e].sort((n,i)=>new Date(i.date).getTime()-new Date(n.date).getTime()).slice(0,10);return x.jsx("ul",{className:"reviews__list",children:t.map(n=>x.jsx(vP,{review:n},n.id))})}function yP(){var t,n;const e=(n=(t=De(Zg))==null?void 0:t.images)==null?void 0:n.slice(0,6);return x.jsx("div",{className:"offer__gallery",children:e==null?void 0:e.map(i=>x.jsx("div",{className:"offer__image-wrapper",children:x.jsx("img",{className:"offer__image",src:i,alt:"Photo studio"})},`image-${i}`))})}function wP(){const e=SE().id,t=rr();b.useEffect(()=>{t(ea({offerId:e}))},[e,t]);const n=De(fP),i=De(Zg),s=De(dP),a=De(Pl),u=De(cP);if(i===null&&!s)return x.jsx($g,{});if(!i||s)return x.jsx(Ud,{});const f={location:i.location,id:i.id},d=p=>{p.preventDefault(),a?(t(Fg({offerId:i.id,isFavoriteNow:i.isFavorite})),t(HT())):t(Ii(Be.Login))};return x.jsxs("div",{className:"page",children:[x.jsx(Bd,{}),x.jsxs("main",{className:"page__main page__main--offer",children:[x.jsxs("section",{className:"offer",children:[x.jsx(yP,{}),x.jsx("div",{className:"offer__container container",children:x.jsxs("div",{className:"offer__wrapper",children:[i.isPremium&&x.jsx("div",{className:"offer__mark",children:x.jsx("span",{children:"Premium"})}),x.jsxs("div",{className:"offer__name-wrapper",children:[x.jsx("h1",{className:"offer__name",children:i.title}),x.jsxs("button",{className:`offer__bookmark-button${i.isFavorite?"--active":""} button`,type:"button",onClick:d,children:[x.jsx("svg",{className:"offer__bookmark-icon",width:"31",height:"33",children:x.jsx("use",{xlinkHref:"#icon-bookmark"})}),i.isFavorite?x.jsx("span",{className:"visually-hidden",children:"In bookmarks"}):x.jsx("span",{className:"visually-hidden",children:"To bookmarks"})]})]}),x.jsxs("div",{className:"offer__rating rating",children:[x.jsxs("div",{className:"offer__stars rating__stars",children:[x.jsx("span",{style:{width:`${Math.round(i.rating)*20}%`}}),x.jsx("span",{className:"visually-hidden",children:"Rating"})]}),x.jsx("span",{className:"offer__rating-value rating__value",children:i.rating})]}),x.jsxs("ul",{className:"offer__features",children:[x.jsx("li",{className:"offer__feature offer__feature--entire",children:mg[i.type]}),x.jsx("li",{className:"offer__feature offer__feature--bedrooms",children:`${i.bedrooms} Bedroom${i.bedrooms>1?"s":""}`}),x.jsx("li",{className:"offer__feature offer__feature--adults",children:`Max ${i.maxAdults} Adult${i.maxAdults>1?"s":""}`})]}),x.jsxs("div",{className:"offer__price",children:[x.jsxs("b",{className:"offer__price-value",children:["€",i.price]}),x.jsx("span",{className:"offer__price-text",children:" night"})]}),x.jsxs("div",{className:"offer__inside",children:[x.jsx("h2",{className:"offer__inside-title",children:"What's inside"}),x.jsx("ul",{className:"offer__inside-list",children:i.goods.map(p=>x.jsx("li",{className:"offer__inside-item",children:p},`good-${p}`))})]}),x.jsxs("div",{className:"offer__host",children:[x.jsx("h2",{className:"offer__host-title",children:"Meet the host"}),x.jsxs("div",{className:"offer__host-user user",children:[x.jsx("div",{className:"offer__avatar-wrapper offer__avatar-wrapper--pro user__avatar-wrapper",children:x.jsx("img",{className:"offer__avatar user__avatar",src:i.host.avatarUrl,width:74,height:74,alt:"Host avatar"})}),x.jsx("span",{className:"offer__user-name",children:i.host.name}),i.host.isPro&&x.jsx("span",{className:"offer__user-status",children:"Pro"})]}),x.jsx("div",{className:"offer__description",children:x.jsx("p",{className:"offer__text",children:i.description})})]}),x.jsxs("section",{className:"offer__reviews reviews",children:[x.jsxs("h2",{className:"reviews__title",children:["Reviews ·"," ",x.jsx("span",{className:"reviews__amount",children:n.length})]}),x.jsx(gP,{reviews:n}),a&&x.jsx(mP,{currentOfferId:i.id})]})]})}),x.jsx(tg,{city:i.city,points:u.map(p=>({location:p.location,id:p.id})).concat(f),selectedPoint:f})]}),x.jsx("div",{className:"container",children:x.jsxs("section",{className:"near-places places",children:[x.jsx("h2",{className:"near-places__title",children:"Other places in the neighbourhood"}),x.jsx(Fd,{offers:u,onActiveOfferChange:()=>{},cardClass:yr.Nearby,wrapperClassName:"near-places__list places__list"})]})})]})]})}function xP({children:e}){return De(Pl)?e:x.jsx(jE,{to:Be.Login})}function EP({basename:e,children:t,history:n}){const[i,s]=b.useState({action:n.action,location:n.location});return b.useLayoutEffect(()=>n.listen(s),[n]),x.jsx(BE,{basename:e,location:i.location,navigationType:i.action,navigator:n,children:t})}var si;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(si||(si={}));var Sm=function(e){return e},Lm="beforeunload",TP="popstate";function PP(e){e===void 0&&(e={});var t=e,n=t.window,i=n===void 0?document.defaultView:n,s=i.history;function a(){var R=i.location,M=R.pathname,W=R.search,Z=R.hash,V=s.state||{};return[V.idx,Sm({pathname:M,search:W,hash:Z,state:V.usr||null,key:V.key||"default"})]}var u=null;function f(){if(u)k.call(u),u=null;else{var R=si.Pop,M=a(),W=M[0],Z=M[1];if(k.length){if(W!=null){var V=m-W;V&&(u={action:R,location:Z,retry:function(){D(V*-1)}},D(V))}}else v(R)}}i.addEventListener(TP,f);var d=si.Pop,p=a(),m=p[0],g=p[1],w=Om(),k=Om();m==null&&(m=0,s.replaceState(Oa({},s.state,{idx:m}),""));function T(R){return typeof R=="string"?R:LP(R)}function P(R,M){return M===void 0&&(M=null),Sm(Oa({pathname:g.pathname,hash:"",search:""},typeof R=="string"?kP(R):R,{state:M,key:SP()}))}function z(R,M){return[{usr:R.state,key:R.key,idx:M},T(R)]}function E(R,M,W){return!k.length||(k.call({action:R,location:M,retry:W}),!1)}function v(R){d=R;var M=a();m=M[0],g=M[1],w.call({action:d,location:g})}function y(R,M){var W=si.Push,Z=P(R,M);function V(){y(R,M)}if(E(W,Z,V)){var J=z(Z,m+1),Ve=J[0],Ae=J[1];try{s.pushState(Ve,"",Ae)}catch{i.location.assign(Ae)}v(W)}}function C(R,M){var W=si.Replace,Z=P(R,M);function V(){C(R,M)}if(E(W,Z,V)){var J=z(Z,m),Ve=J[0],Ae=J[1];s.replaceState(Ve,"",Ae),v(W)}}function D(R){s.go(R)}var F={get action(){return d},get location(){return g},createHref:T,push:y,replace:C,go:D,back:function(){D(-1)},forward:function(){D(1)},listen:function(M){return w.push(M)},block:function(M){var W=k.push(M);return k.length===1&&i.addEventListener(Lm,km),function(){W(),k.length||i.removeEventListener(Lm,km)}}};return F}function km(e){e.preventDefault(),e.returnValue=""}function Om(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(i){return i!==n})}},call:function(n){e.forEach(function(i){return i&&i(n)})}}}function SP(){return Math.random().toString(36).substr(2,8)}function LP(e){var t=e.pathname,n=t===void 0?"/":t,i=e.search,s=i===void 0?"":i,a=e.hash,u=a===void 0?"":a;return s&&s!=="?"&&(n+=s.charAt(0)==="?"?s:"?"+s),u&&u!=="#"&&(n+=u.charAt(0)==="#"?u:"#"+u),n}function kP(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}const Hg=PP();function OP(){return De(qx)?x.jsx(Ud,{}):x.jsx(EP,{history:Hg,children:x.jsxs(FE,{children:[x.jsx(Vr,{path:Be.Root,element:x.jsx(iP,{})}),x.jsx(Vr,{path:Be.Login,element:x.jsx(aP,{})}),x.jsx(Vr,{path:Be.Offer,element:x.jsx(wP,{})}),x.jsx(Vr,{path:Be.Favorites,element:x.jsx(xP,{children:x.jsx(uP,{})})}),x.jsx(Vr,{path:"*",element:x.jsx($g,{})})]})})}function Wg(e,t){return function(){return e.apply(t,arguments)}}const{toString:CP}=Object.prototype,{getPrototypeOf:$d}=Object,Sl=(e=>t=>{const n=CP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),tn=e=>(e=e.toLowerCase(),t=>Sl(t)===e),Ll=e=>t=>typeof t===e,{isArray:Ai}=Array,Uo=Ll("undefined");function NP(e){return e!==null&&!Uo(e)&&e.constructor!==null&&!Uo(e.constructor)&&St(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Vg=tn("ArrayBuffer");function RP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Vg(e.buffer),t}const bP=Ll("string"),St=Ll("function"),Gg=Ll("number"),kl=e=>e!==null&&typeof e=="object",IP=e=>e===!0||e===!1,ta=e=>{if(Sl(e)!=="object")return!1;const t=$d(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},AP=tn("Date"),MP=tn("File"),zP=tn("Blob"),DP=tn("FileList"),jP=e=>kl(e)&&St(e.pipe),BP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||St(e.append)&&((t=Sl(e))==="formdata"||t==="object"&&St(e.toString)&&e.toString()==="[object FormData]"))},FP=tn("URLSearchParams"),UP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qo(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,s;if(typeof e!="object"&&(e=[e]),Ai(e))for(i=0,s=e.length;i0;)if(s=n[i],t===s.toLowerCase())return s;return null}const Qg=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),qg=e=>!Uo(e)&&e!==Qg;function df(){const{caseless:e}=qg(this)&&this||{},t={},n=(i,s)=>{const a=e&&Kg(t,s)||s;ta(t[a])&&ta(i)?t[a]=df(t[a],i):ta(i)?t[a]=df({},i):Ai(i)?t[a]=i.slice():t[a]=i};for(let i=0,s=arguments.length;i(qo(t,(s,a)=>{n&&St(s)?e[a]=Wg(s,n):e[a]=s},{allOwnKeys:i}),e),ZP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),HP=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},WP=(e,t,n,i)=>{let s,a,u;const f={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),a=s.length;a-- >0;)u=s[a],(!i||i(u,e,t))&&!f[u]&&(t[u]=e[u],f[u]=!0);e=n!==!1&&$d(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},VP=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},GP=e=>{if(!e)return null;if(Ai(e))return e;let t=e.length;if(!Gg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},KP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$d(Uint8Array)),QP=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=i.next())&&!s.done;){const a=s.value;t.call(e,a[0],a[1])}},qP=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},YP=tn("HTMLFormElement"),XP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,s){return i.toUpperCase()+s}),Cm=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),JP=tn("RegExp"),Yg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};qo(n,(s,a)=>{let u;(u=t(s,a,e))!==!1&&(i[a]=u||s)}),Object.defineProperties(e,i)},eS=e=>{Yg(e,(t,n)=>{if(St(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(St(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},tS=(e,t)=>{const n={},i=s=>{s.forEach(a=>{n[a]=!0})};return Ai(e)?i(e):i(String(e).split(t)),n},nS=()=>{},rS=(e,t)=>(e=+e,Number.isFinite(e)?e:t),rc="abcdefghijklmnopqrstuvwxyz",Nm="0123456789",Xg={DIGIT:Nm,ALPHA:rc,ALPHA_DIGIT:rc+rc.toUpperCase()+Nm},iS=(e=16,t=Xg.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function oS(e){return!!(e&&St(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const sS=e=>{const t=new Array(10),n=(i,s)=>{if(kl(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[s]=i;const a=Ai(i)?[]:{};return qo(i,(u,f)=>{const d=n(u,s+1);!Uo(d)&&(a[f]=d)}),t[s]=void 0,a}}return i};return n(e,0)},aS=tn("AsyncFunction"),lS=e=>e&&(kl(e)||St(e))&&St(e.then)&&St(e.catch),A={isArray:Ai,isArrayBuffer:Vg,isBuffer:NP,isFormData:BP,isArrayBufferView:RP,isString:bP,isNumber:Gg,isBoolean:IP,isObject:kl,isPlainObject:ta,isUndefined:Uo,isDate:AP,isFile:MP,isBlob:zP,isRegExp:JP,isFunction:St,isStream:jP,isURLSearchParams:FP,isTypedArray:KP,isFileList:DP,forEach:qo,merge:df,extend:$P,trim:UP,stripBOM:ZP,inherits:HP,toFlatObject:WP,kindOf:Sl,kindOfTest:tn,endsWith:VP,toArray:GP,forEachEntry:QP,matchAll:qP,isHTMLForm:YP,hasOwnProperty:Cm,hasOwnProp:Cm,reduceDescriptors:Yg,freezeMethods:eS,toObjectSet:tS,toCamelCase:XP,noop:nS,toFiniteNumber:rS,findKey:Kg,global:Qg,isContextDefined:qg,ALPHABET:Xg,generateString:iS,isSpecCompliantForm:oS,toJSONObject:sS,isAsyncFn:aS,isThenable:lS};function ee(e,t,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s)}A.inherits(ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Jg=ee.prototype,ey={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ey[e]={value:e}});Object.defineProperties(ee,ey);Object.defineProperty(Jg,"isAxiosError",{value:!0});ee.from=(e,t,n,i,s,a)=>{const u=Object.create(Jg);return A.toFlatObject(e,u,function(d){return d!==Error.prototype},f=>f!=="isAxiosError"),ee.call(u,e.message,t,n,i,s),u.cause=e,u.name=e.name,a&&Object.assign(u,a),u};const uS=null;function hf(e){return A.isPlainObject(e)||A.isArray(e)}function ty(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function Rm(e,t,n){return e?e.concat(t).map(function(s,a){return s=ty(s),!n&&a?"["+s+"]":s}).join(n?".":""):t}function cS(e){return A.isArray(e)&&!e.some(hf)}const fS=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Ol(e,t,n){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P,z){return!A.isUndefined(z[P])});const i=n.metaTokens,s=n.visitor||m,a=n.dots,u=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(s))throw new TypeError("visitor must be a function");function p(T){if(T===null)return"";if(A.isDate(T))return T.toISOString();if(!d&&A.isBlob(T))throw new ee("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(T)||A.isTypedArray(T)?d&&typeof Blob=="function"?new Blob([T]):Buffer.from(T):T}function m(T,P,z){let E=T;if(T&&!z&&typeof T=="object"){if(A.endsWith(P,"{}"))P=i?P:P.slice(0,-2),T=JSON.stringify(T);else if(A.isArray(T)&&cS(T)||(A.isFileList(T)||A.endsWith(P,"[]"))&&(E=A.toArray(T)))return P=ty(P),E.forEach(function(y,C){!(A.isUndefined(y)||y===null)&&t.append(u===!0?Rm([P],C,a):u===null?P:P+"[]",p(y))}),!1}return hf(T)?!0:(t.append(Rm(z,P,a),p(T)),!1)}const g=[],w=Object.assign(fS,{defaultVisitor:m,convertValue:p,isVisitable:hf});function k(T,P){if(!A.isUndefined(T)){if(g.indexOf(T)!==-1)throw Error("Circular reference detected in "+P.join("."));g.push(T),A.forEach(T,function(E,v){(!(A.isUndefined(E)||E===null)&&s.call(t,E,A.isString(v)?v.trim():v,P,w))===!0&&k(E,P?P.concat(v):[v])}),g.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return k(e),t}function bm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Zd(e,t){this._pairs=[],e&&Ol(e,this,t)}const ny=Zd.prototype;ny.append=function(t,n){this._pairs.push([t,n])};ny.toString=function(t){const n=t?function(i){return t.call(this,i,bm)}:bm;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function dS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ry(e,t,n){if(!t)return e;const i=n&&n.encode||dS,s=n&&n.serialize;let a;if(s?a=s(t,n):a=A.isURLSearchParams(t)?t.toString():new Zd(t,n).toString(i),a){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class hS{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(i){i!==null&&t(i)})}}const Im=hS,iy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pS=typeof URLSearchParams<"u"?URLSearchParams:Zd,mS=typeof FormData<"u"?FormData:null,_S=typeof Blob<"u"?Blob:null,vS=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),gS=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:pS,FormData:mS,Blob:_S},isStandardBrowserEnv:vS,isStandardBrowserWebWorkerEnv:gS,protocols:["http","https","file","blob","url","data"]};function yS(e,t){return Ol(e,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,i,s,a){return qt.isNode&&A.isBuffer(n)?(this.append(i,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function wS(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function xS(e){const t={},n=Object.keys(e);let i;const s=n.length;let a;for(i=0;i=n.length;return u=!u&&A.isArray(s)?s.length:u,d?(A.hasOwnProp(s,u)?s[u]=[s[u],i]:s[u]=i,!f):((!s[u]||!A.isObject(s[u]))&&(s[u]=[]),t(n,i,s[u],a)&&A.isArray(s[u])&&(s[u]=xS(s[u])),!f)}if(A.isFormData(e)&&A.isFunction(e.entries)){const n={};return A.forEachEntry(e,(i,s)=>{t(wS(i),s,n,0)}),n}return null}function ES(e,t,n){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Hd={transitional:iy,adapter:["xhr","http"],transformRequest:[function(t,n){const i=n.getContentType()||"",s=i.indexOf("application/json")>-1,a=A.isObject(t);if(a&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return s&&s?JSON.stringify(oy(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1)return yS(t,this.formSerializer).toString();if((f=A.isFileList(t))||i.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Ol(f?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||s?(n.setContentType("application/json",!1),ES(t)):t}],transformResponse:[function(t){const n=this.transitional||Hd.transitional,i=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&A.isString(t)&&(i&&!this.responseType||s)){const u=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(f){if(u)throw f.name==="SyntaxError"?ee.from(f,ee.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qt.classes.FormData,Blob:qt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Hd.headers[e]={}});const Wd=Hd,TS=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),PS=e=>{const t={};let n,i,s;return e&&e.split(` +`).forEach(function(u){s=u.indexOf(":"),n=u.substring(0,s).trim().toLowerCase(),i=u.substring(s+1).trim(),!(!n||t[n]&&TS[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},Am=Symbol("internals");function io(e){return e&&String(e).trim().toLowerCase()}function na(e){return e===!1||e==null?e:A.isArray(e)?e.map(na):String(e)}function SS(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const LS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ic(e,t,n,i,s){if(A.isFunction(i))return i.call(this,t,n);if(s&&(t=n),!!A.isString(t)){if(A.isString(i))return t.indexOf(i)!==-1;if(A.isRegExp(i))return i.test(t)}}function kS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function OS(e,t){const n=A.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(s,a,u){return this[i].call(this,t,s,a,u)},configurable:!0})})}class Cl{constructor(t){t&&this.set(t)}set(t,n,i){const s=this;function a(f,d,p){const m=io(d);if(!m)throw new Error("header name must be a non-empty string");const g=A.findKey(s,m);(!g||s[g]===void 0||p===!0||p===void 0&&s[g]!==!1)&&(s[g||d]=na(f))}const u=(f,d)=>A.forEach(f,(p,m)=>a(p,m,d));return A.isPlainObject(t)||t instanceof this.constructor?u(t,n):A.isString(t)&&(t=t.trim())&&!LS(t)?u(PS(t),n):t!=null&&a(n,t,i),this}get(t,n){if(t=io(t),t){const i=A.findKey(this,t);if(i){const s=this[i];if(!n)return s;if(n===!0)return SS(s);if(A.isFunction(n))return n.call(this,s,i);if(A.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=io(t),t){const i=A.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||ic(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let s=!1;function a(u){if(u=io(u),u){const f=A.findKey(i,u);f&&(!n||ic(i,i[f],f,n))&&(delete i[f],s=!0)}}return A.isArray(t)?t.forEach(a):a(t),s}clear(t){const n=Object.keys(this);let i=n.length,s=!1;for(;i--;){const a=n[i];(!t||ic(this,this[a],a,t,!0))&&(delete this[a],s=!0)}return s}normalize(t){const n=this,i={};return A.forEach(this,(s,a)=>{const u=A.findKey(i,a);if(u){n[u]=na(s),delete n[a];return}const f=t?kS(a):String(a).trim();f!==a&&delete n[a],n[f]=na(s),i[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return A.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=t&&A.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(s=>i.set(s)),i}static accessor(t){const i=(this[Am]=this[Am]={accessors:{}}).accessors,s=this.prototype;function a(u){const f=io(u);i[f]||(OS(s,u),i[f]=!0)}return A.isArray(t)?t.forEach(a):a(t),this}}Cl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(Cl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});A.freezeMethods(Cl);const mn=Cl;function oc(e,t){const n=this||Wd,i=t||n,s=mn.from(i.headers);let a=i.data;return A.forEach(e,function(f){a=f.call(n,a,s.normalize(),t?t.status:void 0)}),s.normalize(),a}function sy(e){return!!(e&&e.__CANCEL__)}function Yo(e,t,n){ee.call(this,e??"canceled",ee.ERR_CANCELED,t,n),this.name="CanceledError"}A.inherits(Yo,ee,{__CANCEL__:!0});function CS(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new ee("Request failed with status code "+n.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const NS=qt.isStandardBrowserEnv?function(){return{write:function(n,i,s,a,u,f){const d=[];d.push(n+"="+encodeURIComponent(i)),A.isNumber(s)&&d.push("expires="+new Date(s).toGMTString()),A.isString(a)&&d.push("path="+a),A.isString(u)&&d.push("domain="+u),f===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(n){const i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function RS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bS(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ay(e,t){return e&&!RS(t)?bS(e,t):t}const IS=qt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let i;function s(a){let u=a;return t&&(n.setAttribute("href",u),u=n.href),n.setAttribute("href",u),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=s(window.location.href),function(u){const f=A.isString(u)?s(u):u;return f.protocol===i.protocol&&f.host===i.host}}():function(){return function(){return!0}}();function AS(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function MS(e,t){e=e||10;const n=new Array(e),i=new Array(e);let s=0,a=0,u;return t=t!==void 0?t:1e3,function(d){const p=Date.now(),m=i[a];u||(u=p),n[s]=d,i[s]=p;let g=a,w=0;for(;g!==s;)w+=n[g++],g=g%e;if(s=(s+1)%e,s===a&&(a=(a+1)%e),p-u{const a=s.loaded,u=s.lengthComputable?s.total:void 0,f=a-n,d=i(f),p=a<=u;n=a;const m={loaded:a,total:u,progress:u?a/u:void 0,bytes:f,rate:d||void 0,estimated:d&&u&&p?(u-a)/d:void 0,event:s};m[t?"download":"upload"]=!0,e(m)}}const zS=typeof XMLHttpRequest<"u",DS=zS&&function(e){return new Promise(function(n,i){let s=e.data;const a=mn.from(e.headers).normalize(),u=e.responseType;let f;function d(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let p;A.isFormData(s)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.getContentType(/^\s*multipart\/form-data/)?A.isString(p=a.getContentType())&&a.setContentType(p.replace(/^\s*(multipart\/form-data);+/,"$1")):a.setContentType("multipart/form-data"));let m=new XMLHttpRequest;if(e.auth){const T=e.auth.username||"",P=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(T+":"+P))}const g=ay(e.baseURL,e.url);m.open(e.method.toUpperCase(),ry(g,e.params,e.paramsSerializer),!0),m.timeout=e.timeout;function w(){if(!m)return;const T=mn.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),z={data:!u||u==="text"||u==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:T,config:e,request:m};CS(function(v){n(v),d()},function(v){i(v),d()},z),m=null}if("onloadend"in m?m.onloadend=w:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(w)},m.onabort=function(){m&&(i(new ee("Request aborted",ee.ECONNABORTED,e,m)),m=null)},m.onerror=function(){i(new ee("Network Error",ee.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let P=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const z=e.transitional||iy;e.timeoutErrorMessage&&(P=e.timeoutErrorMessage),i(new ee(P,z.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,m)),m=null},qt.isStandardBrowserEnv){const T=(e.withCredentials||IS(g))&&e.xsrfCookieName&&NS.read(e.xsrfCookieName);T&&a.set(e.xsrfHeaderName,T)}s===void 0&&a.setContentType(null),"setRequestHeader"in m&&A.forEach(a.toJSON(),function(P,z){m.setRequestHeader(z,P)}),A.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),u&&u!=="json"&&(m.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&m.addEventListener("progress",Mm(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&m.upload&&m.upload.addEventListener("progress",Mm(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=T=>{m&&(i(!T||T.type?new Yo(null,e,m):T),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const k=AS(g);if(k&&qt.protocols.indexOf(k)===-1){i(new ee("Unsupported protocol "+k+":",ee.ERR_BAD_REQUEST,e));return}m.send(s||null)})},pf={http:uS,xhr:DS};A.forEach(pf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const zm=e=>`- ${e}`,jS=e=>A.isFunction(e)||e===null||e===!1,ly={getAdapter:e=>{e=A.isArray(e)?e:[e];const{length:t}=e;let n,i;const s={};for(let a=0;a`adapter ${f} `+(d===!1?"is not supported by the environment":"is not available in the build"));let u=t?a.length>1?`since : +`+a.map(zm).join(` +`):" "+zm(a[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return i},adapters:pf};function sc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yo(null,e)}function Dm(e){return sc(e),e.headers=mn.from(e.headers),e.data=oc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ly.getAdapter(e.adapter||Wd.adapter)(e).then(function(i){return sc(e),i.data=oc.call(e,e.transformResponse,i),i.headers=mn.from(i.headers),i},function(i){return sy(i)||(sc(e),i&&i.response&&(i.response.data=oc.call(e,e.transformResponse,i.response),i.response.headers=mn.from(i.response.headers))),Promise.reject(i)})}const jm=e=>e instanceof mn?e.toJSON():e;function Li(e,t){t=t||{};const n={};function i(p,m,g){return A.isPlainObject(p)&&A.isPlainObject(m)?A.merge.call({caseless:g},p,m):A.isPlainObject(m)?A.merge({},m):A.isArray(m)?m.slice():m}function s(p,m,g){if(A.isUndefined(m)){if(!A.isUndefined(p))return i(void 0,p,g)}else return i(p,m,g)}function a(p,m){if(!A.isUndefined(m))return i(void 0,m)}function u(p,m){if(A.isUndefined(m)){if(!A.isUndefined(p))return i(void 0,p)}else return i(void 0,m)}function f(p,m,g){if(g in t)return i(p,m);if(g in e)return i(void 0,p)}const d={url:a,method:a,data:a,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(p,m)=>s(jm(p),jm(m),!0)};return A.forEach(Object.keys(Object.assign({},e,t)),function(m){const g=d[m]||s,w=g(e[m],t[m],m);A.isUndefined(w)&&g!==f||(n[m]=w)}),n}const uy="1.5.1",Vd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vd[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Bm={};Vd.transitional=function(t,n,i){function s(a,u){return"[Axios v"+uy+"] Transitional option '"+a+"'"+u+(i?". "+i:"")}return(a,u,f)=>{if(t===!1)throw new ee(s(u," has been removed"+(n?" in "+n:"")),ee.ERR_DEPRECATED);return n&&!Bm[u]&&(Bm[u]=!0,console.warn(s(u," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,u,f):!0}};function BS(e,t,n){if(typeof e!="object")throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let s=i.length;for(;s-- >0;){const a=i[s],u=t[a];if(u){const f=e[a],d=f===void 0||u(f,a,e);if(d!==!0)throw new ee("option "+a+" must be "+d,ee.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ee("Unknown option "+a,ee.ERR_BAD_OPTION)}}const mf={assertOptions:BS,validators:Vd},Rn=mf.validators;class ja{constructor(t){this.defaults=t,this.interceptors={request:new Im,response:new Im}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Li(this.defaults,n);const{transitional:i,paramsSerializer:s,headers:a}=n;i!==void 0&&mf.assertOptions(i,{silentJSONParsing:Rn.transitional(Rn.boolean),forcedJSONParsing:Rn.transitional(Rn.boolean),clarifyTimeoutError:Rn.transitional(Rn.boolean)},!1),s!=null&&(A.isFunction(s)?n.paramsSerializer={serialize:s}:mf.assertOptions(s,{encode:Rn.function,serialize:Rn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let u=a&&A.merge(a.common,a[n.method]);a&&A.forEach(["delete","get","head","post","put","patch","common"],T=>{delete a[T]}),n.headers=mn.concat(u,a);const f=[];let d=!0;this.interceptors.request.forEach(function(P){typeof P.runWhen=="function"&&P.runWhen(n)===!1||(d=d&&P.synchronous,f.unshift(P.fulfilled,P.rejected))});const p=[];this.interceptors.response.forEach(function(P){p.push(P.fulfilled,P.rejected)});let m,g=0,w;if(!d){const T=[Dm.bind(this),void 0];for(T.unshift.apply(T,f),T.push.apply(T,p),w=T.length,m=Promise.resolve(n);g{if(!i._listeners)return;let a=i._listeners.length;for(;a-- >0;)i._listeners[a](s);i._listeners=null}),this.promise.then=s=>{let a;const u=new Promise(f=>{i.subscribe(f),a=f}).then(s);return u.cancel=function(){i.unsubscribe(a)},u},t(function(a,u,f){i.reason||(i.reason=new Yo(a,u,f),n(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Gd(function(s){t=s}),cancel:t}}}const FS=Gd;function US(e){return function(n){return e.apply(null,n)}}function $S(e){return A.isObject(e)&&e.isAxiosError===!0}const _f={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(_f).forEach(([e,t])=>{_f[t]=e});const ZS=_f;function cy(e){const t=new ra(e),n=Wg(ra.prototype.request,t);return A.extend(n,ra.prototype,t,{allOwnKeys:!0}),A.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return cy(Li(e,s))},n}const Ie=cy(Wd);Ie.Axios=ra;Ie.CanceledError=Yo;Ie.CancelToken=FS;Ie.isCancel=sy;Ie.VERSION=uy;Ie.toFormData=Ol;Ie.AxiosError=ee;Ie.Cancel=Ie.CanceledError;Ie.all=function(t){return Promise.all(t)};Ie.spread=US;Ie.isAxiosError=$S;Ie.mergeConfig=Li;Ie.AxiosHeaders=mn;Ie.formToJSON=e=>oy(A.isHTMLForm(e)?new FormData(e):e);Ie.getAdapter=ly.getAdapter;Ie.HttpStatusCode=ZS;Ie.default=Ie;const HS=Ie;function fy(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}WS(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} +`);var Xo=e=>typeof e=="number"&&!isNaN(e),kr=e=>typeof e=="string",xn=e=>typeof e=="function",VS=e=>kr(e)||Xo(e),vf=e=>kr(e)||xn(e)?e:null,GS=(e,t)=>e===!1||Xo(e)&&e>0?e:t,gf=e=>b.isValidElement(e)||kr(e)||xn(e)||Xo(e);function KS(e,t,n=300){let{scrollHeight:i,style:s}=e;requestAnimationFrame(()=>{s.minHeight="initial",s.height=i+"px",s.transition=`all ${n}ms`,requestAnimationFrame(()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n)})})}function QS({enter:e,exit:t,appendPosition:n=!1,collapse:i=!0,collapseDuration:s=300}){return function({children:a,position:u,preventExitTransition:f,done:d,nodeRef:p,isIn:m,playToast:g}){let w=n?`${e}--${u}`:e,k=n?`${t}--${u}`:t,T=b.useRef(0);return b.useLayoutEffect(()=>{let P=p.current,z=w.split(" "),E=v=>{v.target===p.current&&(g(),P.removeEventListener("animationend",E),P.removeEventListener("animationcancel",E),T.current===0&&v.type!=="animationcancel"&&P.classList.remove(...z))};P.classList.add(...z),P.addEventListener("animationend",E),P.addEventListener("animationcancel",E)},[]),b.useEffect(()=>{let P=p.current,z=()=>{P.removeEventListener("animationend",z),i?KS(P,d,s):d()};m||(f?z():(T.current=1,P.className+=` ${k}`,P.addEventListener("animationend",z)))},[m]),pe.createElement(pe.Fragment,null,a)}}function Fm(e,t){return{content:dy(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function dy(e,t,n=!1){return b.isValidElement(e)&&!kr(e.type)?b.cloneElement(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):xn(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:n}):e}function qS({closeToast:e,theme:t,ariaLabel:n="close"}){return pe.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:i=>{i.stopPropagation(),e(!0)},"aria-label":n},pe.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},pe.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function YS({delay:e,isRunning:t,closeToast:n,type:i="default",hide:s,className:a,controlledProgress:u,progress:f,rtl:d,isIn:p,theme:m}){let g=s||u&&f===0,w={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};u&&(w.transform=`scaleX(${f})`);let k=wr("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),T=xn(a)?a({rtl:d,type:i,defaultClassName:k}):wr(k,a),P={[u&&f>=1?"onTransitionEnd":"onAnimationEnd"]:u&&f<1?null:()=>{p&&n()}};return pe.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":g},pe.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${i}`}),pe.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:T,style:w,...P}))}var XS=1,hy=()=>`${XS++}`;function JS(e,t,n){let i=1,s=0,a=[],u=[],f=t,d=new Map,p=new Set,m=v=>(p.add(v),()=>p.delete(v)),g=()=>{u=Array.from(d.values()),p.forEach(v=>v())},w=({containerId:v,toastId:y,updateId:C})=>{let D=v?v!==e:e!==1,F=d.has(y)&&C==null;return D||F},k=(v,y)=>{d.forEach(C=>{var D;(y==null||y===C.props.toastId)&&((D=C.toggle)==null||D.call(C,v))})},T=v=>{var y,C;(C=(y=v.props)==null?void 0:y.onClose)==null||C.call(y,v.removalReason),v.isActive=!1},P=v=>{if(v==null)d.forEach(T);else{let y=d.get(v);y&&T(y)}g()},z=()=>{s-=a.length,a=[]},E=v=>{var y,C;let{toastId:D,updateId:F}=v.props,R=F==null;v.staleId&&d.delete(v.staleId),v.isActive=!0,d.set(D,v),g(),n(Fm(v,R?"added":"updated")),R&&((C=(y=v.props).onOpen)==null||C.call(y))};return{id:e,props:f,observe:m,toggle:k,removeToast:P,toasts:d,clearQueue:z,buildToast:(v,y)=>{if(w(y))return;let{toastId:C,updateId:D,data:F,staleId:R,delay:M}=y,W=D==null;W&&s++;let Z={...f,style:f.toastStyle,key:i++,...Object.fromEntries(Object.entries(y).filter(([J,Ve])=>Ve!=null)),toastId:C,updateId:D,data:F,isIn:!1,className:vf(y.className||f.toastClassName),progressClassName:vf(y.progressClassName||f.progressClassName),autoClose:y.isLoading?!1:GS(y.autoClose,f.autoClose),closeToast(J){d.get(C).removalReason=J,P(C)},deleteToast(){let J=d.get(C);if(J!=null){if(n(Fm(J,"removed")),d.delete(C),s--,s<0&&(s=0),a.length>0){E(a.shift());return}g()}}};Z.closeButton=f.closeButton,y.closeButton===!1||gf(y.closeButton)?Z.closeButton=y.closeButton:y.closeButton===!0&&(Z.closeButton=gf(f.closeButton)?f.closeButton:!0);let V={content:v,props:Z,staleId:R};f.limit&&f.limit>0&&s>f.limit&&W?a.push(V):Xo(M)?setTimeout(()=>{E(V)},M):E(V)},setProps(v){f=v},setToggle:(v,y)=>{let C=d.get(v);C&&(C.toggle=y)},isToastActive:v=>{var y;return(y=d.get(v))==null?void 0:y.isActive},getSnapshot:()=>u}}var Je=new Map,$o=[],yf=new Set,eL=e=>yf.forEach(t=>t(e)),py=()=>Je.size>0;function tL(){$o.forEach(e=>_y(e.content,e.options)),$o=[]}var nL=(e,{containerId:t})=>{var n;return(n=Je.get(t||1))==null?void 0:n.toasts.get(e)};function my(e,t){var n;if(t)return!!((n=Je.get(t))!=null&&n.isToastActive(e));let i=!1;return Je.forEach(s=>{s.isToastActive(e)&&(i=!0)}),i}function rL(e){if(!py()){$o=$o.filter(t=>e!=null&&t.options.toastId!==e);return}if(e==null||VS(e))Je.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=Je.get(e.containerId);t?t.removeToast(e.id):Je.forEach(n=>{n.removeToast(e.id)})}}var iL=(e={})=>{Je.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})};function _y(e,t){gf(e)&&(py()||$o.push({content:e,options:t}),Je.forEach(n=>{n.buildToast(e,t)}))}function oL(e){var t;(t=Je.get(e.containerId||1))==null||t.setToggle(e.id,e.fn)}function vy(e,t){Je.forEach(n=>{(t==null||!(t!=null&&t.containerId)||(t==null?void 0:t.containerId)===n.id)&&n.toggle(e,t==null?void 0:t.id)})}function sL(e){let t=e.containerId||1;return{subscribe(n){let i=JS(t,e,eL);Je.set(t,i);let s=i.observe(n);return tL(),()=>{s(),Je.delete(t)}},setProps(n){var i;(i=Je.get(t))==null||i.setProps(n)},getSnapshot(){var n;return(n=Je.get(t))==null?void 0:n.getSnapshot()}}}function aL(e){return yf.add(e),()=>{yf.delete(e)}}function lL(e){return e&&(kr(e.toastId)||Xo(e.toastId))?e.toastId:hy()}function Jo(e,t){return _y(e,t),t.toastId}function Nl(e,t){return{...t,type:t&&t.type||e,toastId:lL(t)}}function Rl(e){return(t,n)=>Jo(t,Nl(e,n))}function ce(e,t){return Jo(e,Nl("default",t))}ce.loading=(e,t)=>Jo(e,Nl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t}));function uL(e,{pending:t,error:n,success:i},s){let a;t&&(a=kr(t)?ce.loading(t,s):ce.loading(t.render,{...s,...t}));let u={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},f=(p,m,g)=>{if(m==null){ce.dismiss(a);return}let w={type:p,...u,...s,data:g},k=kr(m)?{render:m}:m;return a?ce.update(a,{...w,...k}):ce(k.render,{...w,...k}),g},d=xn(e)?e():e;return d.then(p=>f("success",i,p)).catch(p=>f("error",n,p)),d}ce.promise=uL;ce.success=Rl("success");ce.info=Rl("info");ce.error=Rl("error");ce.warning=Rl("warning");ce.warn=ce.warning;ce.dark=(e,t)=>Jo(e,Nl("default",{theme:"dark",...t}));function cL(e){rL(e)}ce.dismiss=cL;ce.clearWaitingQueue=iL;ce.isActive=my;ce.update=(e,t={})=>{let n=nL(e,t);if(n){let{props:i,content:s}=n,a={delay:100,...i,...t,toastId:t.toastId||e,updateId:hy()};a.toastId!==e&&(a.staleId=e);let u=a.render||s;delete a.render,Jo(u,a)}};ce.done=e=>{ce.update(e,{progress:1})};ce.onChange=aL;ce.play=e=>vy(!0,e);ce.pause=e=>vy(!1,e);function fL(e){var t;let{subscribe:n,getSnapshot:i,setProps:s}=b.useRef(sL(e)).current;s(e);let a=(t=b.useSyncExternalStore(n,i,i))==null?void 0:t.slice();function u(f){if(!a)return[];let d=new Map;return e.newestOnTop&&a.reverse(),a.forEach(p=>{let{position:m}=p.props;d.has(m)||d.set(m,[]),d.get(m).push(p)}),Array.from(d,p=>f(p[0],p[1]))}return{getToastToRender:u,isToastActive:my,count:a==null?void 0:a.length}}function dL(e){let[t,n]=b.useState(!1),[i,s]=b.useState(!1),a=b.useRef(null),u=b.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:f,pauseOnHover:d,closeToast:p,onClick:m,closeOnClick:g}=e;oL({id:e.toastId,containerId:e.containerId,fn:n}),b.useEffect(()=>{if(e.pauseOnFocusLoss)return w(),()=>{k()}},[e.pauseOnFocusLoss]);function w(){document.hasFocus()||E(),window.addEventListener("focus",z),window.addEventListener("blur",E)}function k(){window.removeEventListener("focus",z),window.removeEventListener("blur",E)}function T(R){if(e.draggable===!0||e.draggable===R.pointerType){v();let M=a.current;u.canCloseOnClick=!0,u.canDrag=!0,M.style.transition="none",e.draggableDirection==="x"?(u.start=R.clientX,u.removalDistance=M.offsetWidth*(e.draggablePercent/100)):(u.start=R.clientY,u.removalDistance=M.offsetHeight*(e.draggablePercent===80?e.draggablePercent*1.5:e.draggablePercent)/100)}}function P(R){let{top:M,bottom:W,left:Z,right:V}=a.current.getBoundingClientRect();R.nativeEvent.type!=="touchend"&&e.pauseOnHover&&R.clientX>=Z&&R.clientX<=V&&R.clientY>=M&&R.clientY<=W?E():z()}function z(){n(!0)}function E(){n(!1)}function v(){u.didMove=!1,document.addEventListener("pointermove",C),document.addEventListener("pointerup",D)}function y(){document.removeEventListener("pointermove",C),document.removeEventListener("pointerup",D)}function C(R){let M=a.current;if(u.canDrag&&M){u.didMove=!0,t&&E(),e.draggableDirection==="x"?u.delta=R.clientX-u.start:u.delta=R.clientY-u.start,u.start!==R.clientX&&(u.canCloseOnClick=!1);let W=e.draggableDirection==="x"?`${u.delta}px, var(--y)`:`0, calc(${u.delta}px + var(--y))`;M.style.transform=`translate3d(${W},0)`,M.style.opacity=`${1-Math.abs(u.delta/u.removalDistance)}`}}function D(){y();let R=a.current;if(u.canDrag&&u.didMove&&R){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance){s(!0),e.closeToast(!0),e.collapseAll();return}R.style.transition="transform 0.2s, opacity 0.2s",R.style.removeProperty("transform"),R.style.removeProperty("opacity")}}let F={onPointerDown:T,onPointerUp:P};return f&&d&&(F.onMouseEnter=E,e.stacked||(F.onMouseLeave=z)),g&&(F.onClick=R=>{m&&m(R),u.canCloseOnClick&&p(!0)}),{playToast:z,pauseToast:E,isRunning:t,preventExitTransition:i,toastRef:a,eventHandlers:F}}var hL=typeof window<"u"?b.useLayoutEffect:b.useEffect,bl=({theme:e,type:t,isLoading:n,...i})=>pe.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:e==="colored"?"currentColor":`var(--toastify-icon-color-${t})`,...i});function pL(e){return pe.createElement(bl,{...e},pe.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))}function mL(e){return pe.createElement(bl,{...e},pe.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))}function _L(e){return pe.createElement(bl,{...e},pe.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))}function vL(e){return pe.createElement(bl,{...e},pe.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))}function gL(){return pe.createElement("div",{className:"Toastify__spinner"})}var wf={info:mL,warning:pL,success:_L,error:vL,spinner:gL},yL=e=>e in wf;function wL({theme:e,type:t,isLoading:n,icon:i}){let s=null,a={theme:e,type:t};return i===!1||(xn(i)?s=i({...a,isLoading:n}):b.isValidElement(i)?s=b.cloneElement(i,a):n?s=wf.spinner():yL(t)&&(s=wf[t](a))),s}var xL=e=>{let{isRunning:t,preventExitTransition:n,toastRef:i,eventHandlers:s,playToast:a}=dL(e),{closeButton:u,children:f,autoClose:d,onClick:p,type:m,hideProgressBar:g,closeToast:w,transition:k,position:T,className:P,style:z,progressClassName:E,updateId:v,role:y,progress:C,rtl:D,toastId:F,deleteToast:R,isIn:M,isLoading:W,closeOnClick:Z,theme:V,ariaLabel:J}=e,Ve=wr("Toastify__toast",`Toastify__toast-theme--${V}`,`Toastify__toast--${m}`,{"Toastify__toast--rtl":D},{"Toastify__toast--close-on-click":Z}),Ae=xn(P)?P({rtl:D,position:T,type:m,defaultClassName:Ve}):wr(Ve,P),ir=wL(e),ke=!!C||!d,ut={closeToast:w,type:m,theme:V},I=null;return u===!1||(xn(u)?I=u(ut):b.isValidElement(u)?I=b.cloneElement(u,ut):I=qS(ut)),pe.createElement(k,{isIn:M,done:R,position:T,preventExitTransition:n,nodeRef:i,playToast:a},pe.createElement("div",{id:F,tabIndex:0,onClick:p,"data-in":M,className:Ae,...s,style:z,ref:i,...M&&{role:y,"aria-label":J}},ir!=null&&pe.createElement("div",{className:wr("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!W})},ir),dy(f,e,!t),I,!e.customProgressBar&&pe.createElement(YS,{...v&&!ke?{key:`p-${v}`}:{},rtl:D,theme:V,delay:d,isRunning:t,isIn:M,closeToast:w,hide:g,type:m,className:E,controlledProgress:ke,progress:C||0})))},EL=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),TL=QS(EL("bounce",!0)),PL={position:"top-right",transition:TL,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&e.code==="KeyT"};function SL(e){let t={...PL,...e},n=e.stacked,[i,s]=b.useState(!0),a=b.useRef(null),{getToastToRender:u,isToastActive:f,count:d}=fL(t),{className:p,style:m,rtl:g,containerId:w,hotKeys:k}=t;function T(z){let E=wr("Toastify__toast-container",`Toastify__toast-container--${z}`,{"Toastify__toast-container--rtl":g});return xn(p)?p({position:z,rtl:g,defaultClassName:E}):wr(E,vf(p))}function P(){n&&(s(!0),ce.play())}return hL(()=>{var z;if(n){let E=a.current.querySelectorAll('[data-in="true"]'),v=12,y=(z=t.position)==null?void 0:z.includes("top"),C=0,D=0;Array.from(E).reverse().forEach((F,R)=>{let M=F;M.classList.add("Toastify__toast--stacked"),R>0&&(M.dataset.collapsed=`${i}`),M.dataset.pos||(M.dataset.pos=y?"top":"bot");let W=C*(i?.2:1)+(i?0:v*R);M.style.setProperty("--y",`${y?W:W*-1}px`),M.style.setProperty("--g",`${v}`),M.style.setProperty("--s",`${1-(i?D:0)}`),C+=M.offsetHeight,D+=.025})}},[i,d,n]),b.useEffect(()=>{function z(E){var v;let y=a.current;k(E)&&((v=y.querySelector('[tabIndex="0"]'))==null||v.focus(),s(!1),ce.pause()),E.key==="Escape"&&(document.activeElement===y||y!=null&&y.contains(document.activeElement))&&(s(!0),ce.play())}return document.addEventListener("keydown",z),()=>{document.removeEventListener("keydown",z)}},[k]),pe.createElement("section",{ref:a,className:"Toastify",id:w,onMouseEnter:()=>{n&&(s(!1),ce.pause())},onMouseLeave:P,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},u((z,E)=>{let v=E.length?{...m}:{...m,pointerEvents:"none"};return pe.createElement("div",{tabIndex:-1,className:T(z),"data-stacked":n,style:v,key:`c-${z}`},E.map(({content:y,props:C})=>pe.createElement(xL,{...C,stacked:n,collapseAll:P,isIn:f(C.toastId,C.containerId),key:`t-${C.key}`},y)))}))}var hr;(function(e){e[e.CONTINUE=100]="CONTINUE",e[e.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",e[e.PROCESSING=102]="PROCESSING",e[e.EARLY_HINTS=103]="EARLY_HINTS",e[e.OK=200]="OK",e[e.CREATED=201]="CREATED",e[e.ACCEPTED=202]="ACCEPTED",e[e.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",e[e.NO_CONTENT=204]="NO_CONTENT",e[e.RESET_CONTENT=205]="RESET_CONTENT",e[e.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",e[e.MULTI_STATUS=207]="MULTI_STATUS",e[e.MULTIPLE_CHOICES=300]="MULTIPLE_CHOICES",e[e.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",e[e.MOVED_TEMPORARILY=302]="MOVED_TEMPORARILY",e[e.SEE_OTHER=303]="SEE_OTHER",e[e.NOT_MODIFIED=304]="NOT_MODIFIED",e[e.USE_PROXY=305]="USE_PROXY",e[e.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",e[e.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",e[e.BAD_REQUEST=400]="BAD_REQUEST",e[e.UNAUTHORIZED=401]="UNAUTHORIZED",e[e.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",e[e.FORBIDDEN=403]="FORBIDDEN",e[e.NOT_FOUND=404]="NOT_FOUND",e[e.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",e[e.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",e[e.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",e[e.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",e[e.CONFLICT=409]="CONFLICT",e[e.GONE=410]="GONE",e[e.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",e[e.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",e[e.REQUEST_TOO_LONG=413]="REQUEST_TOO_LONG",e[e.REQUEST_URI_TOO_LONG=414]="REQUEST_URI_TOO_LONG",e[e.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",e[e.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",e[e.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",e[e.IM_A_TEAPOT=418]="IM_A_TEAPOT",e[e.INSUFFICIENT_SPACE_ON_RESOURCE=419]="INSUFFICIENT_SPACE_ON_RESOURCE",e[e.METHOD_FAILURE=420]="METHOD_FAILURE",e[e.MISDIRECTED_REQUEST=421]="MISDIRECTED_REQUEST",e[e.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",e[e.LOCKED=423]="LOCKED",e[e.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",e[e.UPGRADE_REQUIRED=426]="UPGRADE_REQUIRED",e[e.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",e[e.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",e[e.REQUEST_HEADER_FIELDS_TOO_LARGE=431]="REQUEST_HEADER_FIELDS_TOO_LARGE",e[e.UNAVAILABLE_FOR_LEGAL_REASONS=451]="UNAVAILABLE_FOR_LEGAL_REASONS",e[e.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",e[e.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",e[e.BAD_GATEWAY=502]="BAD_GATEWAY",e[e.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",e[e.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",e[e.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",e[e.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",e[e.NETWORK_AUTHENTICATION_REQUIRED=511]="NETWORK_AUTHENTICATION_REQUIRED"})(hr||(hr={}));const LL="https://14.design.htmlacademy.pro/six-cities",kL=5e3,OL={[hr.NOT_FOUND]:!0,[hr.BAD_REQUEST]:!0,[hr.BAD_GATEWAY]:!0,[hr.GATEWAY_TIMEOUT]:!0,[hr.CONFLICT]:!0},CL=e=>!!OL[e.status],NL=()=>{const e=HS.create({baseURL:LL,timeout:kL});return e.interceptors.request.use(t=>{const n=MT();return n&&t.headers&&(t.headers["X-Token"]=n),t}),e.interceptors.response.use(t=>t,t=>{if(t.response&&CL(t.response)){const n=t.response.data;ce.error(n.message)}throw t}),e},RL=()=>e=>t=>(t.type==="engine/redirectToRoute"&&Hg.push(t.payload),e(t)),bL=Rg({[Re.Data]:jg.reducer,[Re.User]:Dg.reducer,[Re.SingleOffer]:zg.reducer}),IL=NL(),Kd=ST({reducer:bL,middleware:e=>e({thunk:{extraArgument:IL}}).concat(RL)});Kd.dispatch(mi());Kd.dispatch(cf());const AL=ac.createRoot(document.getElementById("root"));AL.render(x.jsx(pe.StrictMode,{children:x.jsxs(Zx,{store:Kd,children:[x.jsx(SL,{}),x.jsx(OP,{})]})})); diff --git a/17/css/main.css b/17/css/main.css new file mode 100644 index 0000000..eb596a6 --- /dev/null +++ b/17/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/17/css/main.css.map b/17/css/main.css.map new file mode 100644 index 0000000..7df7026 --- /dev/null +++ b/17/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/17/fonts/rubik-bold.ttf b/17/fonts/rubik-bold.ttf new file mode 100644 index 0000000..9b947db Binary files /dev/null and b/17/fonts/rubik-bold.ttf differ diff --git a/17/fonts/rubik-bold.woff b/17/fonts/rubik-bold.woff new file mode 100644 index 0000000..77272e5 Binary files /dev/null and b/17/fonts/rubik-bold.woff differ diff --git a/17/fonts/rubik-bold.woff2 b/17/fonts/rubik-bold.woff2 new file mode 100644 index 0000000..374e2bd Binary files /dev/null and b/17/fonts/rubik-bold.woff2 differ diff --git a/17/fonts/rubik-light.ttf b/17/fonts/rubik-light.ttf new file mode 100644 index 0000000..1adb7d5 Binary files /dev/null and b/17/fonts/rubik-light.ttf differ diff --git a/17/fonts/rubik-light.woff b/17/fonts/rubik-light.woff new file mode 100644 index 0000000..40d6c14 Binary files /dev/null and b/17/fonts/rubik-light.woff differ diff --git a/17/fonts/rubik-light.woff2 b/17/fonts/rubik-light.woff2 new file mode 100644 index 0000000..ebef69a Binary files /dev/null and b/17/fonts/rubik-light.woff2 differ diff --git a/17/fonts/rubik-medium.ttf b/17/fonts/rubik-medium.ttf new file mode 100644 index 0000000..24519e5 Binary files /dev/null and b/17/fonts/rubik-medium.ttf differ diff --git a/17/fonts/rubik-medium.woff b/17/fonts/rubik-medium.woff new file mode 100644 index 0000000..fd4aa04 Binary files /dev/null and b/17/fonts/rubik-medium.woff differ diff --git a/17/fonts/rubik-medium.woff2 b/17/fonts/rubik-medium.woff2 new file mode 100644 index 0000000..d28cc6f Binary files /dev/null and b/17/fonts/rubik-medium.woff2 differ diff --git a/17/fonts/rubik-regular.ttf b/17/fonts/rubik-regular.ttf new file mode 100644 index 0000000..f99fe15 Binary files /dev/null and b/17/fonts/rubik-regular.ttf differ diff --git a/17/fonts/rubik-regular.woff b/17/fonts/rubik-regular.woff new file mode 100644 index 0000000..34d44d1 Binary files /dev/null and b/17/fonts/rubik-regular.woff differ diff --git a/17/fonts/rubik-regular.woff2 b/17/fonts/rubik-regular.woff2 new file mode 100644 index 0000000..ac77627 Binary files /dev/null and b/17/fonts/rubik-regular.woff2 differ diff --git a/17/img/amsterdam.jpg b/17/img/amsterdam.jpg new file mode 100644 index 0000000..578b005 Binary files /dev/null and b/17/img/amsterdam.jpg differ diff --git a/17/img/amsterdam@2x.jpg b/17/img/amsterdam@2x.jpg new file mode 100644 index 0000000..adaa1ae Binary files /dev/null and b/17/img/amsterdam@2x.jpg differ diff --git a/17/img/apartment-01.jpg b/17/img/apartment-01.jpg new file mode 100644 index 0000000..83f1981 Binary files /dev/null and b/17/img/apartment-01.jpg differ diff --git a/17/img/apartment-02.jpg b/17/img/apartment-02.jpg new file mode 100644 index 0000000..41dbe38 Binary files /dev/null and b/17/img/apartment-02.jpg differ diff --git a/17/img/apartment-03.jpg b/17/img/apartment-03.jpg new file mode 100644 index 0000000..0acd6ef Binary files /dev/null and b/17/img/apartment-03.jpg differ diff --git a/17/img/apartment-small-03.jpg b/17/img/apartment-small-03.jpg new file mode 100644 index 0000000..fa95628 Binary files /dev/null and b/17/img/apartment-small-03.jpg differ diff --git a/17/img/apartment-small-04.jpg b/17/img/apartment-small-04.jpg new file mode 100644 index 0000000..4e98ea9 Binary files /dev/null and b/17/img/apartment-small-04.jpg differ diff --git a/17/img/avatar-angelina.jpg b/17/img/avatar-angelina.jpg new file mode 100644 index 0000000..d8203d7 Binary files /dev/null and b/17/img/avatar-angelina.jpg differ diff --git a/17/img/avatar-max.jpg b/17/img/avatar-max.jpg new file mode 100644 index 0000000..b77b344 Binary files /dev/null and b/17/img/avatar-max.jpg differ diff --git a/17/img/avatar.svg b/17/img/avatar.svg new file mode 100644 index 0000000..c122561 --- /dev/null +++ b/17/img/avatar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/ico-adults.svg b/17/img/ico-adults.svg new file mode 100644 index 0000000..7278dd5 --- /dev/null +++ b/17/img/ico-adults.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/ico-bedrooms.svg b/17/img/ico-bedrooms.svg new file mode 100644 index 0000000..71f9b0e --- /dev/null +++ b/17/img/ico-bedrooms.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/ico-no-results.svg b/17/img/ico-no-results.svg new file mode 100644 index 0000000..3c9eeb7 --- /dev/null +++ b/17/img/ico-no-results.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/ico-place.svg b/17/img/ico-place.svg new file mode 100644 index 0000000..9720cf7 --- /dev/null +++ b/17/img/ico-place.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/ico-saved.svg b/17/img/ico-saved.svg new file mode 100644 index 0000000..01160c1 --- /dev/null +++ b/17/img/ico-saved.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/icon-arrow-select.svg b/17/img/icon-arrow-select.svg new file mode 100644 index 0000000..e58b1fa --- /dev/null +++ b/17/img/icon-arrow-select.svg @@ -0,0 +1 @@ + diff --git a/17/img/icon-bookmark.svg b/17/img/icon-bookmark.svg new file mode 100644 index 0000000..a533a64 --- /dev/null +++ b/17/img/icon-bookmark.svg @@ -0,0 +1 @@ + diff --git a/17/img/icon-star.svg b/17/img/icon-star.svg new file mode 100644 index 0000000..c3fadca --- /dev/null +++ b/17/img/icon-star.svg @@ -0,0 +1 @@ + diff --git a/17/img/logo.svg b/17/img/logo.svg new file mode 100644 index 0000000..7ec7a62 --- /dev/null +++ b/17/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/map-big.jpg b/17/img/map-big.jpg new file mode 100644 index 0000000..b40c3c9 Binary files /dev/null and b/17/img/map-big.jpg differ diff --git a/17/img/map-big@2x.jpg b/17/img/map-big@2x.jpg new file mode 100644 index 0000000..c201045 Binary files /dev/null and b/17/img/map-big@2x.jpg differ diff --git a/17/img/map.jpg b/17/img/map.jpg new file mode 100644 index 0000000..d66c166 Binary files /dev/null and b/17/img/map.jpg differ diff --git a/17/img/map@2x.jpg b/17/img/map@2x.jpg new file mode 100644 index 0000000..db3b664 Binary files /dev/null and b/17/img/map@2x.jpg differ diff --git a/17/img/no-places.png b/17/img/no-places.png new file mode 100644 index 0000000..64cc7ec Binary files /dev/null and b/17/img/no-places.png differ diff --git a/17/img/no-places@2x.png b/17/img/no-places@2x.png new file mode 100644 index 0000000..e9f35f0 Binary files /dev/null and b/17/img/no-places@2x.png differ diff --git a/17/img/pin-active.svg b/17/img/pin-active.svg new file mode 100644 index 0000000..efc07a8 --- /dev/null +++ b/17/img/pin-active.svg @@ -0,0 +1 @@ + diff --git a/17/img/pin.svg b/17/img/pin.svg new file mode 100644 index 0000000..36e4c3b --- /dev/null +++ b/17/img/pin.svg @@ -0,0 +1 @@ + diff --git a/17/img/room-small.jpg b/17/img/room-small.jpg new file mode 100644 index 0000000..2ae182d Binary files /dev/null and b/17/img/room-small.jpg differ diff --git a/17/img/room.jpg b/17/img/room.jpg new file mode 100644 index 0000000..e08d9ab Binary files /dev/null and b/17/img/room.jpg differ diff --git a/17/img/sprite.svg b/17/img/sprite.svg new file mode 100644 index 0000000..39b2fe9 --- /dev/null +++ b/17/img/sprite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/star-active.svg b/17/img/star-active.svg new file mode 100644 index 0000000..d1e936e --- /dev/null +++ b/17/img/star-active.svg @@ -0,0 +1 @@ + diff --git a/17/img/star-white.svg b/17/img/star-white.svg new file mode 100644 index 0000000..dd5feda --- /dev/null +++ b/17/img/star-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/stars-active.svg b/17/img/stars-active.svg new file mode 100644 index 0000000..1ef25d1 --- /dev/null +++ b/17/img/stars-active.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/stars.svg b/17/img/stars.svg new file mode 100644 index 0000000..029dc95 --- /dev/null +++ b/17/img/stars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/img/studio-01.jpg b/17/img/studio-01.jpg new file mode 100644 index 0000000..ad2cde2 Binary files /dev/null and b/17/img/studio-01.jpg differ diff --git a/17/img/studio-photos.jpg b/17/img/studio-photos.jpg new file mode 100644 index 0000000..fdd70a4 Binary files /dev/null and b/17/img/studio-photos.jpg differ diff --git a/17/img/triangle.svg b/17/img/triangle.svg new file mode 100644 index 0000000..5038a06 --- /dev/null +++ b/17/img/triangle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/17/index.html b/17/index.html new file mode 100644 index 0000000..51eb219 --- /dev/null +++ b/17/index.html @@ -0,0 +1,32 @@ + + + + + + + + 6 cities + + + + + + +
+ + + + + + + + + + + +
+ +
+ + +