diff --git a/10/assets/index-620a2341.js b/10/assets/index-620a2341.js new file mode 100644 index 0000000..f4cbf2e --- /dev/null +++ b/10/assets/index-620a2341.js @@ -0,0 +1,105 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(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"&&r(u)}).observe(document,{childList:!0,subtree:!0});function i(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 r(s){if(s.ep)return;s.ep=!0;const a=i(s);fetch(s.href,a)}})();var Uy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pm={exports:{}},Ta={},mm={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 Co=Symbol.for("react.element"),$y=Symbol.for("react.portal"),Zy=Symbol.for("react.fragment"),Hy=Symbol.for("react.strict_mode"),Wy=Symbol.for("react.profiler"),Vy=Symbol.for("react.provider"),Gy=Symbol.for("react.context"),Ky=Symbol.for("react.forward_ref"),Qy=Symbol.for("react.suspense"),qy=Symbol.for("react.memo"),Yy=Symbol.for("react.lazy"),yd=Symbol.iterator;function Xy(e){return e===null||typeof e!="object"?null:(e=yd&&e[yd]||e["@@iterator"],typeof e=="function"?e:null)}var _m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},vm=Object.assign,gm={};function pr(e,t,i){this.props=e,this.context=t,this.refs=gm,this.updater=i||_m}pr.prototype.isReactComponent={};pr.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")};pr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ym(){}ym.prototype=pr.prototype;function Yc(e,t,i){this.props=e,this.context=t,this.refs=gm,this.updater=i||_m}var Xc=Yc.prototype=new ym;Xc.constructor=Yc;vm(Xc,pr.prototype);Xc.isPureReactComponent=!0;var wd=Array.isArray,wm=Object.prototype.hasOwnProperty,Jc={current:null},xm={key:!0,ref:!0,__self:!0,__source:!0};function Em(e,t,i){var r,s={},a=null,u=null;if(t!=null)for(r in t.ref!==void 0&&(u=t.ref),t.key!==void 0&&(a=""+t.key),t)wm.call(t,r)&&!xm.hasOwnProperty(r)&&(s[r]=t[r]);var f=arguments.length-2;if(f===1)s.children=i;else if(1>>1,oe=A[K];if(0>>1;Ks(re,U))ses(Xe,re)?(A[K]=Xe,A[se]=U,K=se):(A[K]=re,A[fe]=U,K=fe);else if(ses(Xe,U))A[K]=Xe,A[se]=U,K=se;else break e}}return Q}function s(A,Q){var U=A.sortIndex-Q.sortIndex;return U!==0?U:A.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=[],_=1,g=null,w=3,k=!1,E=!1,T=!1,B=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(A){for(var Q=i(p);Q!==null;){if(Q.callback===null)r(p);else if(Q.startTime<=A)r(p),Q.sortIndex=Q.expirationTime,t(d,Q);else break;Q=i(p)}}function C(A){if(T=!1,S(A),!E)if(i(d)!==null)E=!0,De(D);else{var Q=i(p);Q!==null&&qt(C,Q.startTime-A)}}function D(A,Q){E=!1,T&&(T=!1,P(j),j=-1),k=!0;var U=w;try{for(S(Q),g=i(d);g!==null&&(!(g.expirationTime>Q)||A&&!G());){var K=g.callback;if(typeof K=="function"){g.callback=null,w=g.priorityLevel;var oe=K(g.expirationTime<=Q);Q=e.unstable_now(),typeof oe=="function"?g.callback=oe:g===i(d)&&r(d),S(Q)}else r(d);g=i(d)}if(g!==null)var Ce=!0;else{var fe=i(p);fe!==null&&qt(C,fe.startTime-Q),Ce=!1}return Ce}finally{g=null,w=U,k=!1}}var $=!1,I=null,j=-1,V=5,H=-1;function G(){return!(e.unstable_now()-HA||125K?(A.sortIndex=U,t(p,A),i(d)===null&&A===i(p)&&(T?(P(j),j=-1):T=!0,qt(C,U-K))):(A.sortIndex=oe,t(d,A),E||k||(E=!0,De(D))),A},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(A){var Q=w;return function(){var U=w;w=Q;try{return A.apply(this,arguments)}finally{w=U}}}})(Lm);Tm.exports=Lm;var u0=Tm.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 km=b,lt=u0;function z(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hu=Object.prototype.hasOwnProperty,c0=/^[: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]*$/,Ed={},Pd={};function f0(e){return Hu.call(Pd,e)?!0:Hu.call(Ed,e)?!1:c0.test(e)?Pd[e]=!0:(Ed[e]=!0,!1)}function h0(e,t,i,r){if(i!==null&&i.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function d0(e,t,i,r){if(t===null||typeof t>"u"||h0(e,t,i,r))return!0;if(r)return!1;if(i!==null)switch(i.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ye(e,t,i,r,s,a,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=u}var Fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Fe[e]=new Ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Fe[t]=new Ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Fe[e]=new Ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Fe[e]=new Ye(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){Fe[e]=new Ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Fe[e]=new Ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Fe[e]=new Ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Fe[e]=new Ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Fe[e]=new Ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var nf=/[\-:]([a-z])/g;function rf(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(nf,rf);Fe[t]=new Ye(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(nf,rf);Fe[t]=new Ye(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(nf,rf);Fe[t]=new Ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Fe[e]=new Ye(e,1,!1,e.toLowerCase(),null,!1,!1)});Fe.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Fe[e]=new Ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function of(e,t,i,r){var s=Fe.hasOwnProperty(t)?Fe[t]:null;(s!==null?s.type!==0:r||!(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{su=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?Wr(e):""}function p0(e){switch(e.tag){case 5:return Wr(e.type);case 16:return Wr("Lazy");case 13:return Wr("Suspense");case 19:return Wr("SuspenseList");case 0:case 2:case 15:return e=au(e.type,!1),e;case 11:return e=au(e.type.render,!1),e;case 1:return e=au(e.type,!0),e;default:return""}}function Ku(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 Ii:return"Fragment";case Mi:return"Portal";case Wu:return"Profiler";case sf:return"StrictMode";case Vu:return"Suspense";case Gu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cm:return(e.displayName||"Context")+".Consumer";case Nm:return(e._context.displayName||"Context")+".Provider";case af:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lf:return t=e.displayName||null,t!==null?t:Ku(e.type)||"Memo";case Tn:t=e._payload,e=e._init;try{return Ku(e(t))}catch{}}return null}function m0(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 Ku(t);case 8:return t===sf?"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 Fn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Am(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _0(e){var t=Am(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var s=i.get,a=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(u){r=""+u,a.call(this,u)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ms(e){e._valueTracker||(e._valueTracker=_0(e))}function Mm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),r="";return e&&(r=Am(e)?e.checked?"true":"false":e.value),e=r,e!==i?(t.setValue(e),!0):!1}function Ws(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 Qu(e,t){var i=t.checked;return we({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Td(e,t){var i=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;i=Fn(t.value!=null?t.value:i),e._wrapperState={initialChecked:r,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Im(e,t){t=t.checked,t!=null&&of(e,"checked",t,!1)}function qu(e,t){Im(e,t);var i=Fn(t.value),r=t.type;if(i!=null)r==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Yu(e,t.type,i):t.hasOwnProperty("defaultValue")&&Yu(e,t.type,Fn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ld(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Yu(e,t,i){(t!=="number"||Ws(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Vr=Array.isArray;function Vi(e,t,i,r){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=_s.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function lo(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Yr={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},v0=["Webkit","ms","Moz","O"];Object.keys(Yr).forEach(function(e){v0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yr[t]=Yr[e]})});function bm(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||Yr.hasOwnProperty(e)&&Yr[e]?(""+t).trim():t+"px"}function Bm(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var r=i.indexOf("--")===0,s=bm(i,t[i],r);i==="float"&&(i="cssFloat"),r?e.setProperty(i,s):e[i]=s}}var g0=we({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 ec(e,t){if(t){if(g0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(z(62))}}function tc(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 nc=null;function uf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ic=null,Gi=null,Ki=null;function Nd(e){if(e=Mo(e)){if(typeof ic!="function")throw Error(z(280));var t=e.stateNode;t&&(t=Ca(t),ic(e.stateNode,e.type,t))}}function Um(e){Gi?Ki?Ki.push(e):Ki=[e]:Gi=e}function Fm(){if(Gi){var e=Gi,t=Ki;if(Ki=Gi=null,Nd(e),t)for(e=0;e>>=0,e===0?32:31-(N0(e)/C0|0)|0}var vs=64,gs=4194304;function Gr(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 Qs(e,t){var i=e.pendingLanes;if(i===0)return 0;var r=0,s=e.suspendedLanes,a=e.pingedLanes,u=i&268435455;if(u!==0){var f=u&~s;f!==0?r=Gr(f):(a&=u,a!==0&&(r=Gr(a)))}else u=i&~s,u!==0?r=Gr(u):a!==0&&(r=Gr(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&s)&&(s=r&-r,a=t&-t,s>=a||s===16&&(a&4194240)!==0))return t;if(r&4&&(r|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0i;i++)t.push(e);return t}function Ro(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-It(t),e[t]=i}function I0(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Jr),bd=String.fromCharCode(32),Bd=!1;function a_(e,t){switch(e){case"keyup":return lw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function l_(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var zi=!1;function cw(e,t){switch(e){case"compositionend":return l_(t);case"keypress":return t.which!==32?null:(Bd=!0,bd);case"textInput":return e=t.data,e===bd&&Bd?null:e;default:return null}}function fw(e,t){if(zi)return e==="compositionend"||!vf&&a_(e,t)?(e=o_(),Ms=pf=Cn=null,zi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:i,offset:t-e};e=r}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Zd(i)}}function h_(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?h_(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function d_(){for(var e=window,t=Ws();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Ws(e.document)}return t}function gf(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 ww(e){var t=d_(),i=e.focusedElem,r=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&h_(i.ownerDocument.documentElement,i)){if(r!==null&&gf(i)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=i.textContent.length,a=Math.min(r.start,s);r=r.end===void 0?a:Math.min(r.end,s),!e.extend&&a>r&&(s=r,r=a,a=s),s=Hd(i,a);var u=Hd(i,r);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>r?(e.addRange(t),e.extend(u.node,u.offset)):(t.setEnd(u.node,u.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,ji=null,uc=null,to=null,cc=!1;function Wd(e,t,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;cc||ji==null||ji!==Ws(r)||(r=ji,"selectionStart"in r&&gf(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),to&&mo(to,r)||(to=r,r=Xs(uc,"onSelect"),0Bi||(e.current=_c[Bi],_c[Bi]=null,Bi--)}function he(e,t){Bi++,_c[Bi]=e.current,e.current=t}var $n={},Ge=Vn($n),tt=Vn(!1),li=$n;function nr(e,t){var i=e.type.contextTypes;if(!i)return $n;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},a;for(a in i)s[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function nt(e){return e=e.childContextTypes,e!=null}function ea(){pe(tt),pe(Ge)}function Xd(e,t,i){if(Ge.current!==$n)throw Error(z(168));he(Ge,t),he(tt,i)}function E_(e,t,i){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return i;r=r.getChildContext();for(var s in r)if(!(s in t))throw Error(z(108,m0(e)||"Unknown",s));return we({},i,r)}function ta(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$n,li=Ge.current,he(Ge,e),he(tt,tt.current),!0}function Jd(e,t,i){var r=e.stateNode;if(!r)throw Error(z(169));i?(e=E_(e,t,li),r.__reactInternalMemoizedMergedChildContext=e,pe(tt),pe(Ge),he(Ge,e)):pe(tt),he(tt,i)}var on=null,Ra=!1,xu=!1;function P_(e){on===null?on=[e]:on.push(e)}function Aw(e){Ra=!0,P_(e)}function Gn(){if(!xu&&on!==null){xu=!0;var e=0,t=ae;try{var i=on;for(ae=1;e>=u,s-=u,sn=1<<32-It(t)+s|i<j?(V=I,I=null):V=I.sibling;var H=w(P,I,S[j],C);if(H===null){I===null&&(I=V);break}e&&I&&H.alternate===null&&t(P,I),y=a(H,y,j),$===null?D=H:$.sibling=H,$=H,I=V}if(j===S.length)return i(P,I),_e&&ei(P,j),D;if(I===null){for(;jj?(V=I,I=null):V=I.sibling;var G=w(P,I,H.value,C);if(G===null){I===null&&(I=V);break}e&&I&&G.alternate===null&&t(P,I),y=a(G,y,j),$===null?D=G:$.sibling=G,$=G,I=V}if(H.done)return i(P,I),_e&&ei(P,j),D;if(I===null){for(;!H.done;j++,H=S.next())H=g(P,H.value,C),H!==null&&(y=a(H,y,j),$===null?D=H:$.sibling=H,$=H);return _e&&ei(P,j),D}for(I=r(P,I);!H.done;j++,H=S.next())H=k(I,P,j,H.value,C),H!==null&&(e&&H.alternate!==null&&I.delete(H.key===null?j:H.key),y=a(H,y,j),$===null?D=H:$.sibling=H,$=H);return e&&I.forEach(function(ce){return t(P,ce)}),_e&&ei(P,j),D}function B(P,y,S,C){if(typeof S=="object"&&S!==null&&S.type===Ii&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case ps:e:{for(var D=S.key,$=y;$!==null;){if($.key===D){if(D=S.type,D===Ii){if($.tag===7){i(P,$.sibling),y=s($,S.props.children),y.return=P,P=y;break e}}else if($.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===Tn&&sp(D)===$.type){i(P,$.sibling),y=s($,S.props),y.ref=Fr(P,$,S),y.return=P,P=y;break e}i(P,$);break}else t(P,$);$=$.sibling}S.type===Ii?(y=ai(S.props.children,P.mode,C,S.key),y.return=P,P=y):(C=Fs(S.type,S.key,S.props,null,P.mode,C),C.ref=Fr(P,y,S),C.return=P,P=C)}return u(P);case Mi:e:{for($=S.key;y!==null;){if(y.key===$)if(y.tag===4&&y.stateNode.containerInfo===S.containerInfo&&y.stateNode.implementation===S.implementation){i(P,y.sibling),y=s(y,S.children||[]),y.return=P,P=y;break e}else{i(P,y);break}else t(P,y);y=y.sibling}y=Nu(S,P.mode,C),y.return=P,P=y}return u(P);case Tn:return $=S._init,B(P,y,$(S._payload),C)}if(Vr(S))return E(P,y,S,C);if(jr(S))return T(P,y,S,C);Ts(P,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,y!==null&&y.tag===6?(i(P,y.sibling),y=s(y,S),y.return=P,P=y):(i(P,y),y=Ou(S,P.mode,C),y.return=P,P=y),u(P)):i(P,y)}return B}var rr=R_(!0),A_=R_(!1),Io={},Gt=Vn(Io),yo=Vn(Io),wo=Vn(Io);function oi(e){if(e===Io)throw Error(z(174));return e}function kf(e,t){switch(he(wo,t),he(yo,e),he(Gt,Io),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ju(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ju(t,e)}pe(Gt),he(Gt,t)}function or(){pe(Gt),pe(yo),pe(wo)}function M_(e){oi(wo.current);var t=oi(Gt.current),i=Ju(t,e.type);t!==i&&(he(yo,e),he(Gt,i))}function Of(e){yo.current===e&&(pe(Gt),pe(yo))}var ge=Vn(0);function aa(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Eu=[];function Nf(){for(var e=0;ei?i:4,e(!0);var r=Pu.transition;Pu.transition={};try{e(!1),t()}finally{ae=i,Pu.transition=r}}function Q_(){return Pt().memoizedState}function jw(e,t,i){var r=bn(e);if(i={lane:r,action:i,hasEagerState:!1,eagerState:null,next:null},q_(e))Y_(t,i);else if(i=k_(e,t,i,r),i!==null){var s=Qe();zt(i,e,r,s),X_(i,t,r)}}function Dw(e,t,i){var r=bn(e),s={lane:r,action:i,hasEagerState:!1,eagerState:null,next:null};if(q_(e))Y_(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,i);if(s.hasEagerState=!0,s.eagerState=f,jt(f,u)){var d=t.interleaved;d===null?(s.next=s,Tf(t)):(s.next=d.next,d.next=s),t.interleaved=s;return}}catch{}finally{}i=k_(e,t,s,r),i!==null&&(s=Qe(),zt(i,e,r,s),X_(i,t,r))}}function q_(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function Y_(e,t){no=la=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function X_(e,t,i){if(i&4194240){var r=t.lanes;r&=e.pendingLanes,i|=r,t.lanes=i,ff(e,i)}}var ua={readContext:Et,useCallback:$e,useContext:$e,useEffect:$e,useImperativeHandle:$e,useInsertionEffect:$e,useLayoutEffect:$e,useMemo:$e,useReducer:$e,useRef:$e,useState:$e,useDebugValue:$e,useDeferredValue:$e,useTransition:$e,useMutableSource:$e,useSyncExternalStore:$e,useId:$e,unstable_isNewReconciler:!1},bw={readContext:Et,useCallback:function(e,t){return Zt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:lp,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,Ds(4194308,4,H_.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Ds(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ds(4,2,e,t)},useMemo:function(e,t){var i=Zt();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var r=Zt();return t=i!==void 0?i(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=jw.bind(null,ye,e),[r.memoizedState,e]},useRef:function(e){var t=Zt();return e={current:e},t.memoizedState=e},useState:ap,useDebugValue:If,useDeferredValue:function(e){return Zt().memoizedState=e},useTransition:function(){var e=ap(!1),t=e[0];return e=zw.bind(null,e[1]),Zt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var r=ye,s=Zt();if(_e){if(i===void 0)throw Error(z(407));i=i()}else{if(i=t(),Ie===null)throw Error(z(349));ci&30||j_(r,t,i)}s.memoizedState=i;var a={value:i,getSnapshot:t};return s.queue=a,lp(b_.bind(null,r,a,e),[e]),r.flags|=2048,Po(9,D_.bind(null,r,a,i,t),void 0,null),i},useId:function(){var e=Zt(),t=Ie.identifierPrefix;if(_e){var i=an,r=sn;i=(r&~(1<<32-It(r)-1)).toString(32)+i,t=":"+t+"R"+i,i=xo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(i,{is:r.is}):(e=u.createElement(i),i==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,i),e[Ht]=t,e[go]=r,av(e,t,!1,!1),t.stateNode=e;e:{switch(u=tc(i,r),i){case"dialog":de("cancel",e),de("close",e),s=r;break;case"iframe":case"object":case"embed":de("load",e),s=r;break;case"video":case"audio":for(s=0;sar&&(t.flags|=128,r=!0,$r(a,!1),t.lanes=4194304)}else{if(!r)if(e=aa(u),e!==null){if(t.flags|=128,r=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),$r(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!_e)return Ze(t),null}else 2*Se()-a.renderingStartTime>ar&&i!==1073741824&&(t.flags|=128,r=!0,$r(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(i=a.last,i!==null?i.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Se(),t.sibling=null,i=ge.current,he(ge,r?i&1|2:i&1),t):(Ze(t),null);case 22:case 23:return Uf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?rt&1073741824&&(Ze(t),t.subtreeFlags&6&&(t.flags|=8192)):Ze(t),null;case 24:return null;case 25:return null}throw Error(z(156,t.tag))}function Vw(e,t){switch(wf(t),t.tag){case 1:return nt(t.type)&&ea(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return or(),pe(tt),pe(Ge),Nf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Of(t),null;case 13:if(pe(ge),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));ir()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return pe(ge),null;case 4:return or(),null;case 10:return Sf(t.type._context),null;case 22:case 23:return Uf(),null;case 24:return null;default:return null}}var ks=!1,We=!1,Gw=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Zi(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(r){Ee(e,t,r)}else i.current=null}function Oc(e,t,i){try{i()}catch(r){Ee(e,t,r)}}var vp=!1;function Kw(e,t){if(fc=qs,e=d_(),gf(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var s=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{i.nodeType,a.nodeType}catch{i=null;break e}var u=0,f=-1,d=-1,p=0,_=0,g=e,w=null;t:for(;;){for(var k;g!==i||s!==0&&g.nodeType!==3||(f=u+s),g!==a||r!==0&&g.nodeType!==3||(d=u+r),g.nodeType===3&&(u+=g.nodeValue.length),(k=g.firstChild)!==null;)w=g,g=k;for(;;){if(g===e)break t;if(w===i&&++p===s&&(f=u),w===a&&++_===r&&(d=u),(k=g.nextSibling)!==null)break;g=w,w=g.parentNode}g=k}i=f===-1||d===-1?null:{start:f,end:d}}else i=null}i=i||{start:0,end:0}}else i=null;for(hc={focusedElem:e,selectionRange:i},qs=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var E=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var T=E.memoizedProps,B=E.memoizedState,P=t.stateNode,y=P.getSnapshotBeforeUpdate(t.elementType===t.type?T:Ct(t.type,T),B);P.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(z(163))}}catch(C){Ee(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return E=vp,vp=!1,E}function io(e,t,i){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&e)===e){var a=s.destroy;s.destroy=void 0,a!==void 0&&Oc(t,i,a)}s=s.next}while(s!==r)}}function Ia(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var r=i.create;i.destroy=r()}i=i.next}while(i!==t)}}function Nc(e){var t=e.ref;if(t!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof t=="function"?t(e):t.current=e}}function cv(e){var t=e.alternate;t!==null&&(e.alternate=null,cv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ht],delete t[go],delete t[mc],delete t[Cw],delete t[Rw])),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 fv(e){return e.tag===5||e.tag===3||e.tag===4}function gp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fv(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 Cc(e,t,i){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=Js));else if(r!==4&&(e=e.child,e!==null))for(Cc(e,t,i),e=e.sibling;e!==null;)Cc(e,t,i),e=e.sibling}function Rc(e,t,i){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Rc(e,t,i),e=e.sibling;e!==null;)Rc(e,t,i),e=e.sibling}var be=null,Rt=!1;function Pn(e,t,i){for(i=i.child;i!==null;)hv(e,t,i),i=i.sibling}function hv(e,t,i){if(Vt&&typeof Vt.onCommitFiberUnmount=="function")try{Vt.onCommitFiberUnmount(La,i)}catch{}switch(i.tag){case 5:We||Zi(i,t);case 6:var r=be,s=Rt;be=null,Pn(e,t,i),be=r,Rt=s,be!==null&&(Rt?(e=be,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):be.removeChild(i.stateNode));break;case 18:be!==null&&(Rt?(e=be,i=i.stateNode,e.nodeType===8?wu(e.parentNode,i):e.nodeType===1&&wu(e,i),ho(e)):wu(be,i.stateNode));break;case 4:r=be,s=Rt,be=i.stateNode.containerInfo,Rt=!0,Pn(e,t,i),be=r,Rt=s;break;case 0:case 11:case 14:case 15:if(!We&&(r=i.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){s=r=r.next;do{var a=s,u=a.destroy;a=a.tag,u!==void 0&&(a&2||a&4)&&Oc(i,t,u),s=s.next}while(s!==r)}Pn(e,t,i);break;case 1:if(!We&&(Zi(i,t),r=i.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=i.memoizedProps,r.state=i.memoizedState,r.componentWillUnmount()}catch(f){Ee(i,t,f)}Pn(e,t,i);break;case 21:Pn(e,t,i);break;case 22:i.mode&1?(We=(r=We)||i.memoizedState!==null,Pn(e,t,i),We=r):Pn(e,t,i);break;default:Pn(e,t,i)}}function yp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Gw),t.forEach(function(r){var s=i1.bind(null,e,r);i.has(r)||(i.add(r),r.then(s,s))})}}function Nt(e,t){var i=t.deletions;if(i!==null)for(var r=0;rs&&(s=u),r&=~a}if(r=s,r=Se()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qw(r/1960))-r,10e?16:e,Rn===null)var r=!1;else{if(e=Rn,Rn=null,ha=0,te&6)throw Error(z(331));var s=te;for(te|=4,Z=e.current;Z!==null;){var a=Z,u=a.child;if(Z.flags&16){var f=a.deletions;if(f!==null){for(var d=0;dSe()-bf?si(e,0):Df|=i),it(e,t)}function wv(e,t){t===0&&(e.mode&1?(t=gs,gs<<=1,!(gs&130023424)&&(gs=4194304)):t=1);var i=Qe();e=hn(e,t),e!==null&&(Ro(e,t,i),it(e,i))}function n1(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),wv(e,i)}function i1(e,t){var i=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(i=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(z(314))}r!==null&&r.delete(t),wv(e,i)}var xv;xv=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||tt.current)et=!0;else{if(!(e.lanes&i)&&!(t.flags&128))return et=!1,Hw(e,t,i);et=!!(e.flags&131072)}else et=!1,_e&&t.flags&1048576&&S_(t,ia,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;bs(e,t),e=t.pendingProps;var s=nr(t,Ge.current);qi(t,i),s=Rf(null,t,r,e,s,i);var a=Af();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,nt(r)?(a=!0,ta(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Lf(t),s.updater=Aa,t.stateNode=s,s._reactInternals=t,xc(t,r,e,i),t=Sc(null,t,r,!0,a,i)):(t.tag=0,_e&&a&&yf(t),Ke(null,t,s,i),t=t.child),t;case 16:r=t.elementType;e:{switch(bs(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=o1(r),e=Ct(r,e),s){case 0:t=Pc(null,t,r,e,i);break e;case 1:t=pp(null,t,r,e,i);break e;case 11:t=hp(null,t,r,e,i);break e;case 14:t=dp(null,t,r,Ct(r.type,e),i);break e}throw Error(z(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ct(r,s),Pc(e,t,r,s,i);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ct(r,s),pp(e,t,r,s,i);case 3:e:{if(rv(t),e===null)throw Error(z(387));r=t.pendingProps,a=t.memoizedState,s=a.element,O_(e,t),sa(t,r,null,i);var u=t.memoizedState;if(r=u.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){s=sr(Error(z(423)),t),t=mp(e,t,r,i,s);break e}else if(r!==s){s=sr(Error(z(424)),t),t=mp(e,t,r,i,s);break e}else for(st=zn(t.stateNode.containerInfo.firstChild),at=t,_e=!0,At=null,i=A_(t,null,r,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(ir(),r===s){t=dn(e,t,i);break e}Ke(e,t,r,i)}t=t.child}return t;case 5:return M_(t),e===null&&gc(t),r=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,u=s.children,dc(r,s)?u=null:a!==null&&dc(r,a)&&(t.flags|=32),iv(e,t),Ke(e,t,u,i),t.child;case 6:return e===null&&gc(t),null;case 13:return ov(e,t,i);case 4:return kf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=rr(t,null,r,i):Ke(e,t,r,i),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ct(r,s),hp(e,t,r,s,i);case 7:return Ke(e,t,t.pendingProps,i),t.child;case 8:return Ke(e,t,t.pendingProps.children,i),t.child;case 12:return Ke(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,a=t.memoizedProps,u=s.value,he(ra,r._currentValue),r._currentValue=u,a!==null)if(jt(a.value,u)){if(a.children===s.children&&!tt.current){t=dn(e,t,i);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===r){if(a.tag===1){d=ln(-1,i&-i),d.tag=2;var p=a.updateQueue;if(p!==null){p=p.shared;var _=p.pending;_===null?d.next=d:(d.next=_.next,_.next=d),p.pending=d}}a.lanes|=i,d=a.alternate,d!==null&&(d.lanes|=i),yc(a.return,i,t),f.lanes|=i;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(z(341));u.lanes|=i,f=u.alternate,f!==null&&(f.lanes|=i),yc(u,i,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}Ke(e,t,s.children,i),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,qi(t,i),s=Et(s),r=r(s),t.flags|=1,Ke(e,t,r,i),t.child;case 14:return r=t.type,s=Ct(r,t.pendingProps),s=Ct(r.type,s),dp(e,t,r,s,i);case 15:return tv(e,t,t.type,t.pendingProps,i);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ct(r,s),bs(e,t),t.tag=1,nt(r)?(e=!0,ta(t)):e=!1,qi(t,i),C_(t,r,s),xc(t,r,s,i),Sc(null,t,r,!0,e,i);case 19:return sv(e,t,i);case 22:return nv(e,t,i)}throw Error(z(156,t.tag))};function Ev(e,t){return Km(e,t)}function r1(e,t,i,r){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gt(e,t,i,r){return new r1(e,t,i,r)}function $f(e){return e=e.prototype,!(!e||!e.isReactComponent)}function o1(e){if(typeof e=="function")return $f(e)?1:0;if(e!=null){if(e=e.$$typeof,e===af)return 11;if(e===lf)return 14}return 2}function Bn(e,t){var i=e.alternate;return i===null?(i=gt(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function Fs(e,t,i,r,s,a){var u=2;if(r=e,typeof e=="function")$f(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Ii:return ai(i.children,s,a,t);case sf:u=8,s|=8;break;case Wu:return e=gt(12,i,t,s|2),e.elementType=Wu,e.lanes=a,e;case Vu:return e=gt(13,i,t,s),e.elementType=Vu,e.lanes=a,e;case Gu:return e=gt(19,i,t,s),e.elementType=Gu,e.lanes=a,e;case Rm:return ja(i,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Nm:u=10;break e;case Cm:u=9;break e;case af:u=11;break e;case lf:u=14;break e;case Tn:u=16,r=null;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=gt(u,i,t,s),t.elementType=e,t.type=r,t.lanes=a,t}function ai(e,t,i,r){return e=gt(7,e,r,t),e.lanes=i,e}function ja(e,t,i,r){return e=gt(22,e,r,t),e.elementType=Rm,e.lanes=i,e.stateNode={isHidden:!1},e}function Ou(e,t,i){return e=gt(6,e,null,t),e.lanes=i,e}function Nu(e,t,i){return t=gt(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function s1(e,t,i,r,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=uu(0),this.expirationTimes=uu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uu(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Zf(e,t,i,r,s,a,u,f,d){return e=new s1(e,t,i,f,d),t===1?(t=1,a===!0&&(t|=8)):t=0,a=gt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Lf(a),e}function a1(e,t,i){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Lv)}catch(e){console.error(e)}}Lv(),Sm.exports=ct;var kv=Sm.exports,kp=kv;Zu.createRoot=kp.createRoot,Zu.hydrateRoot=kp.hydrateRoot;var Fa=(e=>(e.favourites="favorites__places",e.nearest="near-places__list places__list",e.standart="cities__places-list places__list tabs__content",e))(Fa||{});const h1=new Map([["favorites__places","favorites__card place-card"],["near-places__list places__list","near-places__card place-card"],["cities__places-list places__list tabs__content","cities__card place-card"]]),ot={POPULAR:"Popular",LOW_TO_HIGH:"Price: low to high",HIGH_TO_LOW:"Price: high to low",TOP_RATED:"Top rated first"},Op={[ot.LOW_TO_HIGH]:e=>e.sort((t,i)=>t.price-i.price),[ot.HIGH_TO_LOW]:e=>e.sort((t,i)=>i.price-t.price),[ot.TOP_RATED]:e=>e.sort((t,i)=>i.rating-t.rating)},d1=(e,t)=>{if(Op[t])return Op[t](e);if(t===ot.POPULAR)return e},Ov=e=>`${e/5*100}%`;var Nv={exports:{}},Cv={};/** + * @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 lr=b;function p1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var m1=typeof Object.is=="function"?Object.is:p1,_1=lr.useState,v1=lr.useEffect,g1=lr.useLayoutEffect,y1=lr.useDebugValue;function w1(e,t){var i=t(),r=_1({inst:{value:i,getSnapshot:t}}),s=r[0].inst,a=r[1];return g1(function(){s.value=i,s.getSnapshot=t,Cu(s)&&a({inst:s})},[e,i,t]),v1(function(){return Cu(s)&&a({inst:s}),e(function(){Cu(s)&&a({inst:s})})},[e]),y1(i),i}function Cu(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!m1(e,i)}catch{return!0}}function x1(e,t){return t()}var E1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?x1:w1;Cv.useSyncExternalStore=lr.useSyncExternalStore!==void 0?lr.useSyncExternalStore:E1;Nv.exports=Cv;var P1=Nv.exports,Rv={exports:{}},Av={};/** + * @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 $a=b,S1=P1;function T1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var L1=typeof Object.is=="function"?Object.is:T1,k1=S1.useSyncExternalStore,O1=$a.useRef,N1=$a.useEffect,C1=$a.useMemo,R1=$a.useDebugValue;Av.useSyncExternalStoreWithSelector=function(e,t,i,r,s){var a=O1(null);if(a.current===null){var u={hasValue:!1,value:null};a.current=u}else u=a.current;a=C1(function(){function d(k){if(!p){if(p=!0,_=k,k=r(k),s!==void 0&&u.hasValue){var E=u.value;if(s(E,k))return g=E}return g=k}if(E=g,L1(_,k))return E;var T=r(k);return s!==void 0&&s(E,T)?E:(_=k,g=T)}var p=!1,_,g,w=i===void 0?null:i;return[function(){return d(t())},w===null?void 0:function(){return d(w())}]},[t,i,r,s]);var f=k1(e,a[0],a[1]);return N1(function(){u.hasValue=!0,u.value=f},[f]),R1(f),f};Rv.exports=Av;var A1=Rv.exports;function M1(e){e()}let Mv=M1;const I1=e=>Mv=e,z1=()=>Mv,Np=Symbol.for("react-redux-context"),Cp=typeof globalThis<"u"?globalThis:{};function j1(){var e;if(!b.createContext)return{};const t=(e=Cp[Np])!=null?e:Cp[Np]=new Map;let i=t.get(b.createContext);return i||(i=b.createContext(null),t.set(b.createContext,i)),i}const Zn=j1();function Gf(e=Zn){return function(){return b.useContext(e)}}const Iv=Gf(),D1=()=>{throw new Error("uSES not initialized!")};let zv=D1;const b1=e=>{zv=e},B1=(e,t)=>e===t;function U1(e=Zn){const t=e===Zn?Iv:Gf(e);return function(r,s={}){const{equalityFn:a=B1,stabilityCheck:u=void 0,noopCheck:f=void 0}=typeof s=="function"?{equalityFn:s}:s,{store:d,subscription:p,getServerState:_,stabilityCheck:g,noopCheck:w}=t();b.useRef(!0);const k=b.useCallback({[r.name](T){return r(T)}}[r.name],[r,g,u]),E=zv(p.addNestedSub,d.getState,_||d.getState,k,a);return b.useDebugValue(E),E}}const F1=U1();function ma(){return ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],s=t;for(;s;)r.push(s),s=s.next;return r},subscribe(r){let s=!0,a=i={callback:r,next:null,prev:i};return a.prev?a.prev.next=a:t=a,function(){!s||t===null||(s=!1,a.next?a.next.prev=a.prev:i=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const Rp={notify(){},get:()=>[]};function J1(e,t){let i,r=Rp,s=0,a=!1;function u(T){_();const B=r.subscribe(T);let P=!1;return()=>{P||(P=!0,B(),g())}}function f(){r.notify()}function d(){E.onStateChange&&E.onStateChange()}function p(){return a}function _(){s++,i||(i=t?t.addNestedSub(d):e.subscribe(d),r=X1())}function g(){s--,i&&s===0&&(i(),i=void 0,r.clear(),r=Rp)}function w(){a||(a=!0,_())}function k(){a&&(a=!1,g())}const E={addNestedSub:u,notifyNestedSubs:f,handleChangeWrapper:d,isSubscribed:p,trySubscribe:w,tryUnsubscribe:k,getListeners:()=>r};return E}const ex=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tx=ex?b.useLayoutEffect:b.useEffect;function nx({store:e,context:t,children:i,serverState:r,stabilityCheck:s="once",noopCheck:a="once"}){const u=b.useMemo(()=>{const p=J1(e);return{store:e,subscription:p,getServerState:r?()=>r:void 0,stabilityCheck:s,noopCheck:a}},[e,r,s,a]),f=b.useMemo(()=>e.getState(),[e]);tx(()=>{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||Zn;return b.createElement(d.Provider,{value:u},i)}function Fv(e=Zn){const t=e===Zn?Iv:Gf(e);return function(){const{store:r}=t();return r}}const ix=Fv();function rx(e=Zn){const t=e===Zn?ix:Fv(e);return function(){return t().dispatch}}const ox=rx();b1(A1.useSyncExternalStoreWithSelector);I1(kv.unstable_batchedUpdates);const zo=()=>ox(),Ue=F1;function Mt(e){for(var t=arguments.length,i=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:Jf(e)?2:eh(e)?3:0}function Xi(e,t){return vr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function sx(e,t){return vr(e)===2?e.get(t):e[t]}function $v(e,t,i){var r=vr(e);r===2?e.set(t,i):r===3?e.add(i):e[t]=i}function Zv(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Jf(e){return hx&&e instanceof Map}function eh(e){return dx&&e instanceof Set}function ni(e){return e.o||e.t}function th(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Wv(e);delete t[me];for(var i=Ji(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=ax),Object.freeze(e),t&&di(e,function(i,r){return nh(r,!0)},!0)),e}function ax(){Mt(2)}function ih(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Kt(e){var t=Bc[e];return t||Mt(18,e),t}function lx(e,t){Bc[e]||(Bc[e]=t)}function jc(){return To}function Ru(e,t){t&&(Kt("Patches"),e.u=[],e.s=[],e.v=t)}function _a(e){Dc(e),e.p.forEach(ux),e.p=null}function Dc(e){e===To&&(To=e.l)}function Ap(e){return To={p:[],l:To,h:e,m:!0,_:0}}function ux(e){var t=e[me];t.i===0||t.i===1?t.j():t.g=!0}function Au(e,t){t._=t.p.length;var i=t.p[0],r=e!==void 0&&e!==i;return t.h.O||Kt("ES5").S(t,e,r),r?(i[me].P&&(_a(t),Mt(4)),pn(e)&&(e=va(t,e),t.l||ga(t,e)),t.u&&Kt("Patches").M(i[me].t,e,t.u,t.s)):e=va(t,i,[]),_a(t),t.u&&t.v(t.u,t.s),e!==Hv?e:void 0}function va(e,t,i){if(ih(t))return t;var r=t[me];if(!r)return di(t,function(f,d){return Mp(e,r,t,f,d,i)},!0),t;if(r.A!==e)return t;if(!r.P)return ga(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var s=r.i===4||r.i===5?r.o=th(r.k):r.o,a=s,u=!1;r.i===3&&(a=new Set(s),s.clear(),u=!0),di(a,function(f,d){return Mp(e,r,s,f,d,i,u)}),ga(e,s,!1),i&&e.u&&Kt("Patches").N(r,i,e.u,e.s)}return r.o}function Mp(e,t,i,r,s,a,u){if(Hn(s)){var f=va(e,s,a&&t&&t.i!==3&&!Xi(t.R,r)?a.concat(r):void 0);if($v(i,r,f),!Hn(f))return;e.m=!1}else u&&i.add(s);if(pn(s)&&!ih(s)){if(!e.h.D&&e._<1)return;va(e,s),t&&t.A.l||ga(e,s)}}function ga(e,t,i){i===void 0&&(i=!1),!e.l&&e.h.D&&e.m&&nh(t,i)}function Mu(e,t){var i=e[me];return(i?ni(i):e)[t]}function Ip(e,t){if(t in e)for(var i=Object.getPrototypeOf(e);i;){var r=Object.getOwnPropertyDescriptor(i,t);if(r)return r;i=Object.getPrototypeOf(i)}}function Nn(e){e.P||(e.P=!0,e.l&&Nn(e.l))}function Iu(e){e.o||(e.o=th(e.t))}function bc(e,t,i){var r=Jf(t)?Kt("MapSet").F(t,i):eh(t)?Kt("MapSet").T(t,i):e.O?function(s,a){var u=Array.isArray(s),f={i:u?1:0,A:a?a.A:jc(),P:!1,I:!1,R:{},l:a,t:s,k:null,o:null,j:null,C:!1},d=f,p=Lo;u&&(d=[f],p=Qr);var _=Proxy.revocable(d,p),g=_.revoke,w=_.proxy;return f.k=w,f.j=g,w}(t,i):Kt("ES5").J(t,i);return(i?i.A:jc()).p.push(r),r}function cx(e){return Hn(e)||Mt(22,e),function t(i){if(!pn(i))return i;var r,s=i[me],a=vr(i);if(s){if(!s.P&&(s.i<4||!Kt("ES5").K(s)))return s.t;s.I=!0,r=zp(i,a),s.I=!1}else r=zp(i,a);return di(r,function(u,f){s&&sx(s.t,u)===f||$v(r,u,t(f))}),a===3?new Set(r):r}(e)}function zp(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return th(e)}function fx(){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[me];return Lo.get(d,a)},set:function(d){var p=this[me];Lo.set(p,a,d)}},f}function t(a){for(var u=a.length-1;u>=0;u--){var f=a[u][me];if(!f.P)switch(f.i){case 5:r(f)&&Nn(f);break;case 4:i(f)&&Nn(f)}}}function i(a){for(var u=a.t,f=a.k,d=Ji(f),p=d.length-1;p>=0;p--){var _=d[p];if(_!==me){var g=u[_];if(g===void 0&&!Xi(u,_))return!0;var w=f[_],k=w&&w[me];if(k?k.t!==g:!Zv(w,g))return!0}}var E=!!u[me];return d.length!==Ji(u).length+(E?0:1)}function r(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?P-1:0),S=1;S1?_-1:0),w=1;w<_;w++)g[w-1]=arguments[w];return r.produceWithPatches(p,function(k){return s.apply(void 0,[k].concat(g))})};var u,f,d=r.produce(s,a,function(p,_){u=p,f=_});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,u,f]}):[d,u,f]},typeof(i==null?void 0:i.useProxies)=="boolean"&&this.setUseProxies(i.useProxies),typeof(i==null?void 0:i.autoFreeze)=="boolean"&&this.setAutoFreeze(i.autoFreeze)}var t=e.prototype;return t.createDraft=function(i){pn(i)||Mt(8),Hn(i)&&(i=cx(i));var r=Ap(this),s=bc(this,i,void 0);return s[me].C=!0,Dc(r),s},t.finishDraft=function(i,r){var s=i&&i[me],a=s.A;return Ru(a,r),Au(void 0,a)},t.setAutoFreeze=function(i){this.D=i},t.setUseProxies=function(i){i&&!Dp&&Mt(20),this.O=i},t.applyPatches=function(i,r){var s;for(s=r.length-1;s>=0;s--){var a=r[s];if(a.path.length===0&&a.op==="replace"){i=a.value;break}}s>-1&&(r=r.slice(s+1));var u=Kt("Patches").$;return Hn(i)?u(i,r):this.produce(i,function(f){return u(f,r)})},e}(),ut=new mx,_x=ut.produce;ut.produceWithPatches.bind(ut);ut.setAutoFreeze.bind(ut);ut.setUseProxies.bind(ut);ut.applyPatches.bind(ut);ut.createDraft.bind(ut);ut.finishDraft.bind(ut);const Vv=_x;function ko(e){"@babel/helpers - typeof";return ko=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},ko(e)}function vx(e,t){if(ko(e)!=="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var r=i.call(e,t||"default");if(ko(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gx(e){var t=vx(e,"string");return ko(t)==="symbol"?t:String(t)}function yx(e,t,i){return t=gx(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Bp(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),i.push.apply(i,r)}return i}function Up(e){for(var t=1;t"u"&&(i=t,t=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(He(1));return i(Gv)(e,t)}if(typeof e!="function")throw new Error(He(2));var s=e,a=t,u=[],f=u,d=!1;function p(){f===u&&(f=u.slice())}function _(){if(d)throw new Error(He(3));return a}function g(T){if(typeof T!="function")throw new Error(He(4));if(d)throw new Error(He(5));var B=!0;return p(),f.push(T),function(){if(B){if(d)throw new Error(He(6));B=!1,p();var y=f.indexOf(T);f.splice(y,1),u=null}}}function w(T){if(!wx(T))throw new Error(He(7));if(typeof T.type>"u")throw new Error(He(8));if(d)throw new Error(He(9));try{d=!0,a=s(a,T)}finally{d=!1}for(var B=u=f,P=0;P"u")throw new Error(He(12));if(typeof i(void 0,{type:ya.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(He(13))})}function Ex(e){for(var t=Object.keys(e),i={},r=0;r"u")throw p&&p.type,new Error(He(14));g[k]=B,_=_||B!==T}return _=_||a.length!==Object.keys(d).length,_?g:d}}function wa(){for(var e=arguments.length,t=new Array(e),i=0;i0&&a[a.length-1])&&(p[0]===6||p[0]===2)){i=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]({payload:e})),qr=Ve("CHANGE_SORT_OPTIONS",e=>({payload:e})),Uc=Ve("CHANGE_HIGHLIGHTED_MARKER",e=>({payload:e})),Xv=Ve("LOAD_OFFERS",e=>({payload:e})),Qx=Ve("CHANGE_CHOSEN_OFFER",e=>({payload:e})),Fc=Ve("SET_OFFERS_DATA_LOADING_STATUS",e=>({payload:e})),sh=Ve("SET_ERROR",e=>({payload:e})),Oo=Ve("REQUIRE_AUTHORIZATION",e=>({payload:e})),Jv=Ve("LOAD_USER_DATA",e=>({payload:e})),qx=Ve("REDIRECT_TO_ROUTE",e=>({payload:e}));/** + * @remix-run/router v1.9.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function $c(){return $c=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ah(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Kp(e){let{pathname:t="/",search:i="",hash:r=""}=e;return i&&i!=="?"&&(t+=i.charAt(0)==="?"?i:"?"+i),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Do(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substr(i),e=e.substr(0,i));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var Qp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Qp||(Qp={}));function Yx(e,t,i){i===void 0&&(i="/");let r=typeof t=="string"?Do(t):t,s=lh(r.pathname||"/",i);if(s==null)return null;let a=eg(e);Xx(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("/")&&(Oe(d.relativePath.startsWith(r),'Absolute route path "'+d.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),d.relativePath=d.relativePath.slice(r.length));let p=Un([r,d.relativePath]),_=i.concat(d);a.children&&a.children.length>0&&(Oe(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),eg(a.children,t,_,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:oE(p,a.index),routesMeta:_})};return e.forEach((a,u)=>{var f;if(a.path===""||!((f=a.path)!=null&&f.includes("?")))s(a,u);else for(let d of tg(a.path))s(a,u,d)}),t}function tg(e){let t=e.split("/");if(t.length===0)return[];let[i,...r]=t,s=i.endsWith("?"),a=i.replace(/\?$/,"");if(r.length===0)return s?[a,""]:[a];let u=tg(r.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 Xx(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:sE(t.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}const Jx=/^:\w+$/,eE=3,tE=2,nE=1,iE=10,rE=-2,qp=e=>e==="*";function oE(e,t){let i=e.split("/"),r=i.length;return i.some(qp)&&(r+=rE),t&&(r+=tE),i.filter(s=>!qp(s)).reduce((s,a)=>s+(Jx.test(a)?eE:a===""?nE:iE),r)}function sE(e,t){return e.length===t.length&&e.slice(0,-1).every((r,s)=>r===t[s])?e[e.length-1]-t[t.length-1]:0}function aE(e,t){let{routesMeta:i}=e,r={},s="/",a=[];for(let u=0;u{if(_==="*"){let w=f[g]||"";u=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}return p[_]=fE(f[g]||"",_),p},{}),pathname:a,pathnameBase:u,pattern:e}}function uE(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!0),ah(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 r=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(u,f)=>(r.push(f),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),r]}function cE(e){try{return decodeURI(e)}catch(t){return ah(!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 fE(e,t){try{return decodeURIComponent(e)}catch(i){return ah(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+i+").")),e}}function lh(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,r=e.charAt(i);return r&&r!=="/"?null:e.slice(i)||"/"}function hE(e,t){t===void 0&&(t="/");let{pathname:i,search:r="",hash:s=""}=typeof e=="string"?Do(e):e;return{pathname:i?i.startsWith("/")?i:dE(i,t):t,search:mE(r),hash:_E(s)}}function dE(e,t){let i=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?i.length>1&&i.pop():s!=="."&&i.push(s)}),i.length>1?i.join("/"):"/"}function bu(e,t,i,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+i+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function uh(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function ch(e,t,i,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=Do(e):(s=$c({},e),Oe(!s.pathname||!s.pathname.includes("?"),bu("?","pathname","search",s)),Oe(!s.pathname||!s.pathname.includes("#"),bu("#","pathname","hash",s)),Oe(!s.search||!s.search.includes("#"),bu("#","search","hash",s)));let a=e===""||s.pathname==="",u=a?"/":s.pathname,f;if(r||u==null)f=i;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=hE(s,f),p=u&&u!=="/"&&u.endsWith("/"),_=(a||u===".")&&i.endsWith("/");return!d.pathname.endsWith("/")&&(p||_)&&(d.pathname+="/"),d}const Un=e=>e.join("/").replace(/\/\/+/g,"/"),pE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),mE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_E=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function vE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const ng=["post","put","patch","delete"];new Set(ng);const gE=["get",...ng];new Set(gE);/** + * 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 Ea(){return Ea=Object.assign?Object.assign.bind():function(e){for(var t=1;td.pathnameBase)),u=b.useRef(!1);return rg(()=>{u.current=!0}),b.useCallback(function(d,p){if(p===void 0&&(p={}),!u.current)return;if(typeof d=="number"){i.go(d);return}let _=ch(d,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(_.pathname=_.pathname==="/"?t:Un([t,_.pathname])),(p.replace?i.replace:i.push)(_,p.state,p)},[t,i,a,s,e])}function sg(e,t){let{relative:i}=t===void 0?{}:t,{matches:r}=b.useContext(Kn),{pathname:s}=bo(),a=JSON.stringify(uh(r).map(u=>u.pathnameBase));return b.useMemo(()=>ch(e,JSON.parse(a),s,i==="path"),[e,a,s,i])}function EE(e,t){return PE(e,t)}function PE(e,t,i){yr()||Oe(!1);let{navigator:r}=b.useContext(gr),{matches:s}=b.useContext(Kn),a=s[s.length-1],u=a?a.params:{};a&&a.pathname;let f=a?a.pathnameBase:"/";a&&a.route;let d=bo(),p;if(t){var _;let T=typeof t=="string"?Do(t):t;f==="/"||(_=T.pathname)!=null&&_.startsWith(f)||Oe(!1),p=T}else p=d;let g=p.pathname||"/",w=f==="/"?g:g.slice(f.length)||"/",k=Yx(e,{pathname:w}),E=OE(k&&k.map(T=>Object.assign({},T,{params:Object.assign({},u,T.params),pathname:Un([f,r.encodeLocation?r.encodeLocation(T.pathname).pathname:T.pathname]),pathnameBase:T.pathnameBase==="/"?f:Un([f,r.encodeLocation?r.encodeLocation(T.pathnameBase).pathname:T.pathnameBase])})),s,i);return t&&E?b.createElement(ul.Provider,{value:{location:Ea({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:xa.Pop}},E):E}function SE(){let e=AE(),t=vE(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),i?b.createElement("pre",{style:s},i):null,a)}const TE=b.createElement(SE,null);class LE 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,i){return i.location!==t.location||i.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||i.error,location:i.location,revalidation:t.revalidation||i.revalidation}}componentDidCatch(t,i){console.error("React Router caught the following error during render",t,i)}render(){return this.state.error?b.createElement(Kn.Provider,{value:this.props.routeContext},b.createElement(ig.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function kE(e){let{routeContext:t,match:i,children:r}=e,s=b.useContext(fh);return s&&s.static&&s.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=i.route.id),b.createElement(Kn.Provider,{value:t},r)}function OE(e,t,i){var r;if(t===void 0&&(t=[]),i===void 0&&(i=null),e==null){var s;if((s=i)!=null&&s.errors)e=i.matches;else return null}let a=e,u=(r=i)==null?void 0:r.errors;if(u!=null){let f=a.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id]));f>=0||Oe(!1),a=a.slice(0,Math.min(a.length,f+1))}return a.reduceRight((f,d,p)=>{let _=d.route.id?u==null?void 0:u[d.route.id]:null,g=null;i&&(g=d.route.errorElement||TE);let w=t.concat(a.slice(0,p+1)),k=()=>{let E;return _?E=g:d.route.Component?E=b.createElement(d.route.Component,null):d.route.element?E=d.route.element:E=f,b.createElement(kE,{match:d,routeContext:{outlet:f,matches:w,isDataRoute:i!=null},children:E})};return i&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?b.createElement(LE,{location:i.location,revalidation:i.revalidation,component:g,error:_,children:k(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):k()},null)}var ag=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ag||{}),Pa=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}(Pa||{});function NE(e){let t=b.useContext(fh);return t||Oe(!1),t}function CE(e){let t=b.useContext(yE);return t||Oe(!1),t}function RE(e){let t=b.useContext(Kn);return t||Oe(!1),t}function lg(e){let t=RE(),i=t.matches[t.matches.length-1];return i.route.id||Oe(!1),i.route.id}function AE(){var e;let t=b.useContext(ig),i=CE(Pa.UseRouteError),r=lg(Pa.UseRouteError);return t||((e=i.errors)==null?void 0:e[r])}function ME(){let{router:e}=NE(ag.UseNavigateStable),t=lg(Pa.UseNavigateStable),i=b.useRef(!1);return rg(()=>{i.current=!0}),b.useCallback(function(s,a){a===void 0&&(a={}),i.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,Ea({fromRouteId:t},a)))},[e,t])}function IE(e){let{to:t,replace:i,state:r,relative:s}=e;yr()||Oe(!1);let{matches:a}=b.useContext(Kn),{pathname:u}=bo(),f=og(),d=ch(t,uh(a).map(_=>_.pathnameBase),u,s==="path"),p=JSON.stringify(d);return b.useEffect(()=>f(JSON.parse(p),{replace:i,state:r,relative:s}),[f,p,s,i,r]),null}function Ai(e){Oe(!1)}function zE(e){let{basename:t="/",children:i=null,location:r,navigationType:s=xa.Pop,navigator:a,static:u=!1}=e;yr()&&Oe(!1);let f=t.replace(/^\/*/,"/"),d=b.useMemo(()=>({basename:f,navigator:a,static:u}),[f,a,u]);typeof r=="string"&&(r=Do(r));let{pathname:p="/",search:_="",hash:g="",state:w=null,key:k="default"}=r,E=b.useMemo(()=>{let T=lh(p,f);return T==null?null:{location:{pathname:T,search:_,hash:g,state:w,key:k},navigationType:s}},[f,p,_,g,w,k,s]);return E==null?null:b.createElement(gr.Provider,{value:d},b.createElement(ul.Provider,{children:i,value:E}))}function jE(e){let{children:t,location:i}=e;return EE(Zc(t),i)}new Promise(()=>{});function Zc(e,t){t===void 0&&(t=[]);let i=[];return b.Children.forEach(e,(r,s)=>{if(!b.isValidElement(r))return;let a=[...t,s];if(r.type===b.Fragment){i.push.apply(i,Zc(r.props.children,a));return}r.type!==Ai&&Oe(!1),!r.props.index||!r.props.children||Oe(!1);let u={id:r.props.id||a.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(u.children=Zc(r.props.children,a)),i.push(u)}),i}/** + * React Router DOM v6.16.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Hc(){return Hc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(i[s]=e[s]);return i}function bE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function BE(e,t){return e.button===0&&(!t||t==="_self")&&!bE(e)}const UE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],FE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",$E=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cr=b.forwardRef(function(t,i){let{onClick:r,relative:s,reloadDocument:a,replace:u,state:f,target:d,to:p,preventScrollReset:_}=t,g=DE(t,UE),{basename:w}=b.useContext(gr),k,E=!1;if(typeof p=="string"&&$E.test(p)&&(k=p,FE))try{let y=new URL(window.location.href),S=p.startsWith("//")?new URL(y.protocol+p):new URL(p),C=lh(S.pathname,w);S.origin===y.origin&&C!=null?p=C+S.search+S.hash:E=!0}catch{}let T=wE(p,{relative:s}),B=ZE(p,{replace:u,state:f,target:d,preventScrollReset:_,relative:s});function P(y){r&&r(y),y.defaultPrevented||B(y)}return b.createElement("a",Hc({},g,{href:k||T,onClick:E||a?r:P,ref:i,target:d}))});var Yp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Yp||(Yp={}));var Xp;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Xp||(Xp={}));function ZE(e,t){let{target:i,replace:r,state:s,preventScrollReset:a,relative:u}=t===void 0?{}:t,f=og(),d=bo(),p=sg(e,{relative:u});return b.useCallback(_=>{if(BE(_,i)){_.preventDefault();let g=r!==void 0?r:Kp(d)===Kp(p);f(e,{replace:g,state:s,preventScrollReset:a,relative:u})}},[d,f,p,r,s,i,e,a,u])}function HE({offer:e,cardType:t}){const i=zo();return v.jsxs("article",{className:t,onMouseEnter:()=>i(Uc(e.location)),onMouseLeave:()=>i(Uc(void 0)),children:[e.isPremium?v.jsx("div",{className:"place-card__mark",children:v.jsx("span",{children:"Premium"})}):null,v.jsx("div",{className:"cities__image-wrapper place-card__image-wrapper",children:v.jsx("a",{href:"#",children:v.jsx("img",{className:"place-card__image",src:e.previewImage,width:"260",height:"200",alt:"Place image"})})}),v.jsxs("div",{className:"place-card__info",children:[v.jsxs("div",{className:"place-card__price-wrapper",children:[v.jsxs("div",{className:"place-card__price",children:[v.jsxs("b",{className:"place-card__price-value",children:["€",e.price]}),v.jsx("span",{className:"place-card__price-text",children:"/ night"})]}),v.jsxs("button",{className:e.isFavorite?"place-card__bookmark-button place-card__bookmark-button--active button":"place-card__bookmark-button button",type:"button",children:[v.jsx("svg",{className:"place-card__bookmark-icon",width:"18",height:"19",children:v.jsx("use",{xlinkHref:"#icon-bookmark"})}),v.jsx("span",{className:"visually-hidden",children:"To bookmarks"})]})]}),v.jsx("div",{className:"place-card__rating rating",children:v.jsxs("div",{className:"place-card__stars rating__stars",children:[v.jsx("span",{style:{width:Ov(e.rating)}}),v.jsx("span",{className:"visually-hidden",children:"Rating"})]})}),v.jsx("h2",{className:"place-card__name",children:v.jsx(cr,{to:`/offer/${e.id}`,children:e.title})}),v.jsx("p",{className:"place-card__type",children:e.type})]})]})}function hh({offers:e,listType:t}){var s;const i=Ue(a=>a.sortType),r=h1.get(t);return v.jsx("div",{className:t,children:(s=d1(e,i))==null?void 0:s.map(a=>v.jsx(HE,{offer:a,cardType:r!==void 0?r:"cities__card place-card"},a.id))})}var Wc={exports:{}};/* @preserve + * Leaflet 1.7.1, a JS library for interactive maps. http://leafletjs.com + * (c) 2010-2019 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(e,t){(function(i,r){r(t)})(Uy,function(i){var r="1.7.1";function s(n){var o,l,c,h;for(l=1,c=arguments.length;l"u"||!L||!L.Mixin)){n=S(n)?n:[n];for(var o=0;o0?Math.floor(n):Math.ceil(n)};A.prototype={clone:function(){return new A(this.x,this.y)},add:function(n){return this.clone()._add(U(n))},_add:function(n){return this.x+=n.x,this.y+=n.y,this},subtract:function(n){return this.clone()._subtract(U(n))},_subtract:function(n){return this.x-=n.x,this.y-=n.y,this},divideBy:function(n){return this.clone()._divideBy(n)},_divideBy:function(n){return this.x/=n,this.y/=n,this},multiplyBy:function(n){return this.clone()._multiplyBy(n)},_multiplyBy:function(n){return this.x*=n,this.y*=n,this},scaleBy:function(n){return new A(this.x*n.x,this.y*n.y)},unscaleBy:function(n){return new A(this.x/n.x,this.y/n.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=Q(this.x),this.y=Q(this.y),this},distanceTo:function(n){n=U(n);var o=n.x-this.x,l=n.y-this.y;return Math.sqrt(o*o+l*l)},equals:function(n){return n=U(n),n.x===this.x&&n.y===this.y},contains:function(n){return n=U(n),Math.abs(n.x)<=Math.abs(this.x)&&Math.abs(n.y)<=Math.abs(this.y)},toString:function(){return"Point("+w(this.x)+", "+w(this.y)+")"}};function U(n,o,l){return n instanceof A?n:S(n)?new A(n[0],n[1]):n==null?n:typeof n=="object"&&"x"in n&&"y"in n?new A(n.x,n.y):new A(n,o,l)}function K(n,o){if(n)for(var l=o?[n,o]:n,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(n){n=oe(n);var o=this.min,l=this.max,c=n.min,h=n.max,m=h.x>=o.x&&c.x<=l.x,x=h.y>=o.y&&c.y<=l.y;return m&&x},overlaps:function(n){n=oe(n);var o=this.min,l=this.max,c=n.min,h=n.max,m=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(n){n=fe(n);var o=this._southWest,l=this._northEast,c=n.getSouthWest(),h=n.getNorthEast(),m=h.lat>=o.lat&&c.lat<=l.lat,x=h.lng>=o.lng&&c.lng<=l.lng;return m&&x},overlaps:function(n){n=fe(n);var o=this._southWest,l=this._northEast,c=n.getSouthWest(),h=n.getNorthEast(),m=h.lat>o.lat&&c.lato.lng&&c.lng1,gi=function(){var n=!1;try{var o=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("testPassiveEventSupport",g,o),window.removeEventListener("testPassiveEventSupport",g,o)}catch{}return n}(),Ch=function(){return!!document.createElement("canvas").getContext}(),Vo=!!(document.createElementNS&&Eh("svg").createSVGRect),Go=!Vo&&function(){try{var n=document.createElement("div");n.innerHTML='';var o=n.firstChild;return o.style.behavior="url(#default#VML)",o&&typeof o.adj=="object"}catch{return!1}}();function Bt(n){return navigator.userAgent.toLowerCase().indexOf(n)>=0}var Dg={ie:Zo,ielt9:_i,edge:Ho,webkit:yl,android:Er,android23:Pr,androidStock:Sh,opera:wl,chrome:xl,gecko:El,safari:Wo,phantom:Th,opera12:Lh,win:kh,ie3d:Pl,webkit3d:Sl,gecko3d:Oh,any3d:dt,mobile:vi,mobileWebkit:Ig,mobileWebkit3d:zg,msPointer:gn,pointer:Dt,touch:bt,mobileOpera:Nh,mobileGecko:jg,retina:yn,passiveEvents:gi,canvas:Ch,svg:Vo,vml:Go},Tl=gn?"MSPointerDown":"pointerdown",Ll=gn?"MSPointerMove":"pointermove",kl=gn?"MSPointerUp":"pointerup",Ol=gn?"MSPointerCancel":"pointercancel",yi={},Rh=!1;function bg(n,o,l,c){return o==="touchstart"?Ug(n,l,c):o==="touchmove"?Zg(n,l,c):o==="touchend"&&Hg(n,l,c),this}function Bg(n,o,l){var c=n["_leaflet_"+o+l];return o==="touchstart"?n.removeEventListener(Tl,c,!1):o==="touchmove"?n.removeEventListener(Ll,c,!1):o==="touchend"&&(n.removeEventListener(kl,c,!1),n.removeEventListener(Ol,c,!1)),this}function Ug(n,o,l){var c=u(function(h){h.MSPOINTER_TYPE_TOUCH&&h.pointerType===h.MSPOINTER_TYPE_TOUCH&&mt(h),Nl(h,o)});n["_leaflet_touchstart"+l]=c,n.addEventListener(Tl,c,!1),Rh||(document.addEventListener(Tl,Fg,!0),document.addEventListener(Ll,$g,!0),document.addEventListener(kl,Ah,!0),document.addEventListener(Ol,Ah,!0),Rh=!0)}function Fg(n){yi[n.pointerId]=n}function $g(n){yi[n.pointerId]&&(yi[n.pointerId]=n)}function Ah(n){delete yi[n.pointerId]}function Nl(n,o){n.touches=[];for(var l in yi)n.touches.push(yi[l]);n.changedTouches=[n],o(n)}function Zg(n,o,l){var c=function(h){h.pointerType===(h.MSPOINTER_TYPE_MOUSE||"mouse")&&h.buttons===0||Nl(h,o)};n["_leaflet_touchmove"+l]=c,n.addEventListener(Ll,c,!1)}function Hg(n,o,l){var c=function(h){Nl(h,o)};n["_leaflet_touchend"+l]=c,n.addEventListener(kl,c,!1),n.addEventListener(Ol,c,!1)}var Ko=gn?"MSPointerDown":Dt?"pointerdown":"touchstart",Qo=gn?"MSPointerUp":Dt?"pointerup":"touchend",wi="_leaflet_";function Wg(n,o,l){var c,h,m=!1,x=250;function O(M){if(Dt){if(!M.isPrimary||M.pointerType==="mouse")return}else if(M.touches.length>1)return;var F=Date.now(),W=F-(c||F);h=M.touches?M.touches[0]:M,m=W>0&&W<=x,c=F}function N(M){if(m&&!h.cancelBubble){if(Dt){if(M.pointerType==="mouse")return;var F={},W,ie;for(ie in h)W=h[ie],F[ie]=W&&W.bind?W.bind(h):W;h=F}h.type="dblclick",h.button=0,o(h),c=null}}return n[wi+Ko+l]=O,n[wi+Qo+l]=N,n[wi+"dblclick"+l]=o,n.addEventListener(Ko,O,gi?{passive:!1}:!1),n.addEventListener(Qo,N,gi?{passive:!1}:!1),n.addEventListener("dblclick",o,!1),this}function Vg(n,o){var l=n[wi+Ko+o],c=n[wi+Qo+o],h=n[wi+"dblclick"+o];return n.removeEventListener(Ko,l,gi?{passive:!1}:!1),n.removeEventListener(Qo,c,gi?{passive:!1}:!1),n.removeEventListener("dblclick",h,!1),this}var Cl=Xo(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Sr=Xo(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Mh=Sr==="webkitTransition"||Sr==="OTransition"?Sr+"End":"transitionend";function Ih(n){return typeof n=="string"?document.getElementById(n):n}function Tr(n,o){var l=n.style[o]||n.currentStyle&&n.currentStyle[o];if((!l||l==="auto")&&document.defaultView){var c=document.defaultView.getComputedStyle(n,null);l=c?c[o]:null}return l==="auto"?null:l}function ne(n,o,l){var c=document.createElement(n);return c.className=o||"",l&&l.appendChild(c),c}function ve(n){var o=n.parentNode;o&&o.removeChild(n)}function qo(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function xi(n){var o=n.parentNode;o&&o.lastChild!==n&&o.appendChild(n)}function Ei(n){var o=n.parentNode;o&&o.firstChild!==n&&o.insertBefore(n,o.firstChild)}function Rl(n,o){if(n.classList!==void 0)return n.classList.contains(o);var l=Yo(n);return l.length>0&&new RegExp("(^|\\s)"+o+"(\\s|$)").test(l)}function q(n,o){if(n.classList!==void 0)for(var l=E(o),c=0,h=l.length;cthis.options.maxZoom)?this.setZoom(n):this},panInsideBounds:function(n,o){this._enforcingBounds=!0;var l=this.getCenter(),c=this._limitCenter(l,this._zoom,fe(n));return l.equals(c)||this.panTo(c,o),this._enforcingBounds=!1,this},panInside:function(n,o){o=o||{};var l=U(o.paddingTopLeft||o.padding||[0,0]),c=U(o.paddingBottomRight||o.padding||[0,0]),h=this.getCenter(),m=this.project(h),x=this.project(n),O=this.getPixelBounds(),N=O.getSize().divideBy(2),M=oe([O.min.add(l),O.max.subtract(c)]);if(!M.contains(x)){this._enforcingBounds=!0;var F=m.subtract(x),W=U(x.x+F.x,x.y+F.y);(x.xM.max.x)&&(W.x=m.x-F.x,F.x>0?W.x+=N.x-l.x:W.x-=N.x-c.x),(x.yM.max.y)&&(W.y=m.y-F.y,F.y>0?W.y+=N.y-l.y:W.y-=N.y-c.y),this.panTo(this.unproject(W),o),this._enforcingBounds=!1}return this},invalidateSize:function(n){if(!this._loaded)return this;n=s({animate:!1,pan:!0},n===!0?{animate:!0}:n);var o=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var l=this.getSize(),c=o.divideBy(2).round(),h=l.divideBy(2).round(),m=c.subtract(h);return!m.x&&!m.y?this:(n.animate&&n.pan?this.panBy(m):(n.pan&&this._rawPanBy(m),this.fire("move"),n.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(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(n){if(n=this._locateOptions=s({timeout:1e4,watch:!1},n),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var o=u(this._handleGeolocationResponse,this),l=u(this._handleGeolocationError,this);return n.watch?this._locationWatchId=navigator.geolocation.watchPosition(o,l,n):navigator.geolocation.getCurrentPosition(o,l,n),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(n){var o=n.code,l=n.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(n){var o=n.coords.latitude,l=n.coords.longitude,c=new re(o,l),h=c.toBounds(n.coords.accuracy*2),m=this._locateOptions;if(m.setView){var x=this.getBoundsZoom(h);this.setView(c,m.maxZoom?Math.min(x,m.maxZoom):x)}var O={latlng:c,bounds:h,timestamp:n.timestamp};for(var N in n.coords)typeof n.coords[N]=="number"&&(O[N]=n.coords[N]);this.fire("locationfound",O)},addHandler:function(n,o){if(!o)return this;var l=this[n]=new o(this);return this._handlers.push(l),this.options[n]&&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(),ve(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(ce(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var n;for(n in this._layers)this._layers[n].remove();for(n in this._panes)ve(this._panes[n]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(n,o){var l="leaflet-pane"+(n?" leaflet-"+n.replace("Pane","")+"-pane":""),c=ne("div",l,o||this._mapPane);return n&&(this._panes[n]=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 n=this.getPixelBounds(),o=this.unproject(n.getBottomLeft()),l=this.unproject(n.getTopRight());return new Ce(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(n,o,l){n=fe(n),l=U(l||[0,0]);var c=this.getZoom()||0,h=this.getMinZoom(),m=this.getMaxZoom(),x=n.getNorthWest(),O=n.getSouthEast(),N=this.getSize().subtract(l),M=oe(this.project(O,c),this.project(x,c)).getSize(),F=dt?this.options.zoomSnap:1,W=N.x/M.x,ie=N.y/M.y,nn=o?Math.max(W,ie):Math.min(W,ie);return c=this.getScaleZoom(nn,c),F&&(c=Math.round(c/(F/100))*(F/100),c=o?Math.ceil(c/F)*F:Math.floor(c/F)*F),Math.max(h,Math.min(m,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new A(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(n,o){var l=this._getTopLeftPoint(n,o);return new K(l,l.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(n){return this.options.crs.getProjectedBounds(n===void 0?this.getZoom():n)},getPane:function(n){return typeof n=="string"?this._panes[n]:n},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(n,o){var l=this.options.crs;return o=o===void 0?this._zoom:o,l.scale(n)/l.scale(o)},getScaleZoom:function(n,o){var l=this.options.crs;o=o===void 0?this._zoom:o;var c=l.zoom(n*l.scale(o));return isNaN(c)?1/0:c},project:function(n,o){return o=o===void 0?this._zoom:o,this.options.crs.latLngToPoint(se(n),o)},unproject:function(n,o){return o=o===void 0?this._zoom:o,this.options.crs.pointToLatLng(U(n),o)},layerPointToLatLng:function(n){var o=U(n).add(this.getPixelOrigin());return this.unproject(o)},latLngToLayerPoint:function(n){var o=this.project(se(n))._round();return o._subtract(this.getPixelOrigin())},wrapLatLng:function(n){return this.options.crs.wrapLatLng(se(n))},wrapLatLngBounds:function(n){return this.options.crs.wrapLatLngBounds(fe(n))},distance:function(n,o){return this.options.crs.distance(se(n),se(o))},containerPointToLayerPoint:function(n){return U(n).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(n){return U(n).add(this._getMapPanePos())},containerPointToLatLng:function(n){var o=this.containerPointToLayerPoint(U(n));return this.layerPointToLatLng(o)},latLngToContainerPoint:function(n){return this.layerPointToContainerPoint(this.latLngToLayerPoint(se(n)))},mouseEventToContainerPoint:function(n){return Dh(n,this._container)},mouseEventToLayerPoint:function(n){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(n))},mouseEventToLatLng:function(n){return this.layerPointToLatLng(this.mouseEventToLayerPoint(n))},_initContainer:function(n){var o=this._container=Ih(n);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 n=this._container;this._fadeAnimated=this.options.fadeAnimation&&dt,q(n,"leaflet-container"+(bt?" leaflet-touch":"")+(yn?" leaflet-retina":"")+(_i?" leaflet-oldie":"")+(Wo?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var o=Tr(n,"position");o!=="absolute"&&o!=="relative"&&o!=="fixed"&&(n.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var n=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Te(this._mapPane,new A(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(q(n.markerPane,"leaflet-zoom-hide"),q(n.shadowPane,"leaflet-zoom-hide"))},_resetView:function(n,o){Te(this._mapPane,new A(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(n,o)._moveEnd(c),this.fire("viewreset"),l&&this.fire("load")},_moveStart:function(n,o){return n&&this.fire("zoomstart"),o||this.fire("movestart"),this},_move:function(n,o,l){o===void 0&&(o=this._zoom);var c=this._zoom!==o;return this._zoom=o,this._lastCenter=n,this._pixelOrigin=this._getNewPixelOrigin(n),(c||l&&l.pinch)&&this.fire("zoom",l),this.fire("move",l)},_moveEnd:function(n){return n&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return ce(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(n){Te(this._mapPane,this._getMapPanePos().subtract(n))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(n){this._targets={},this._targets[d(this._container)]=this;var o=n?Pe: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),dt&&this.options.transform3DLimit&&(n?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){ce(this._resizeRequest),this._resizeRequest=G(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var n=this._getMapPanePos();Math.max(Math.abs(n.x),Math.abs(n.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(n,o){for(var l=[],c,h=o==="mouseout"||o==="mouseover",m=n.target||n.srcElement,x=!1;m;){if(c=this._targets[d(m)],c&&(o==="click"||o==="preclick")&&!n._simulated&&this._draggableMoved(c)){x=!0;break}if(c&&c.listens(o,!0)&&(h&&!ns(m,n)||(l.push(c),h))||m===this._container)break;m=m.parentNode}return!l.length&&!x&&!h&&ns(m,n)&&(l=[this]),l},_handleDOMEvent:function(n){if(!(!this._loaded||Hl(n))){var o=n.type;(o==="mousedown"||o==="keypress"||o==="keyup"||o==="keydown")&&Dl(n.target||n.srcElement),this._fireDOMEvent(n,o)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(n,o,l){if(n.type==="click"){var c=s({},n);c.type="preclick",this._fireDOMEvent(c,c.type,l)}if(!n._stopped&&(l=(l||[]).concat(this._findEventTargets(n,o)),!!l.length)){var h=l[0];o==="contextmenu"&&h.listens(o,!0)&&mt(n);var m={originalEvent:n};if(n.type!=="keypress"&&n.type!=="keydown"&&n.type!=="keyup"){var x=h.getLatLng&&(!h._radius||h._radius<=10);m.containerPoint=x?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(n),m.layerPoint=this.containerPointToLayerPoint(m.containerPoint),m.latlng=x?h.getLatLng():this.layerPointToLatLng(m.layerPoint)}for(var O=0;O0?Math.round(n-o)/2:Math.max(0,Math.ceil(n))-Math.max(0,Math.floor(o))},_limitZoom:function(n){var o=this.getMinZoom(),l=this.getMaxZoom(),c=dt?this.options.zoomSnap:1;return c&&(n=Math.round(n/c)*c),Math.max(o,Math.min(l,n))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){xe(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(n,o){var l=this._getCenterOffset(n)._trunc();return(o&&o.animate)!==!0&&!this.getSize().contains(l)?!1:(this.panBy(l,o),!0)},_createAnimProxy:function(){var n=this._proxy=ne("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(n),this.on("zoomanim",function(o){var l=Cl,c=this._proxy.style[l];Qn(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(){ve(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var n=this.getCenter(),o=this.getZoom();Qn(this._proxy,this.project(n,o),this.getZoomScale(o,1))},_catchTransitionEnd:function(n){this._animatingZoom&&n.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(n,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(n)._divideBy(1-1/c);return l.animate!==!0&&!this.getSize().contains(h)?!1:(G(function(){this._moveStart(!0,!1)._animateZoom(n,o,!0)},this),!0)},_animateZoom:function(n,o,l,c){this._mapPane&&(l&&(this._animatingZoom=!0,this._animateToCenter=n,this._animateToZoom=o,q(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:n,zoom:o,noUpdate:c}),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&xe(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),G(function(){this._moveEnd(!0)},this))}});function Yg(n,o){return new ee(n,o)}var kt=je.extend({options:{position:"topright"},initialize:function(n){T(this,n)},getPosition:function(){return this.options.position},setPosition:function(n){var o=this._map;return o&&o.removeControl(this),this.options.position=n,o&&o.addControl(this),this},getContainer:function(){return this._container},addTo:function(n){this.remove(),this._map=n;var o=this._container=this.onAdd(n),l=this.getPosition(),c=n._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?(ve(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(n){this._map&&n&&n.screenX>0&&n.screenY>0&&this._map.getContainer().focus()}}),Cr=function(n){return new kt(n)};ee.include({addControl:function(n){return n.addTo(this),this},removeControl:function(n){return n.remove(),this},_initControlPos:function(){var n=this._controlCorners={},o="leaflet-",l=this._controlContainer=ne("div",o+"control-container",this._container);function c(h,m){var x=o+h+" "+o+m;n[h+m]=ne("div",x,l)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var n in this._controlCorners)ve(this._controlCorners[n]);ve(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Uh=kt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(n,o,l,c){return l1,this._baseLayersList.style.display=n?"":"none"),this._separator.style.display=o&&n?"":"none",this},_onLayerChange:function(n){this._handlingClick||this._update();var o=this._getLayer(d(n.target)),l=o.overlay?n.type==="add"?"overlayadd":"overlayremove":n.type==="add"?"baselayerchange":null;l&&this._map.fire(l,o)},_createRadioElement:function(n,o){var l='",c=document.createElement("div");return c.innerHTML=l,c.firstChild},_addItem:function(n){var o=document.createElement("label"),l=this._map.hasLayer(n.layer),c;n.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(n.layer),Y(c,"click",this._onInputClick,this);var h=document.createElement("span");h.innerHTML=" "+n.name;var m=document.createElement("div");o.appendChild(m),m.appendChild(c),m.appendChild(h);var x=n.overlay?this._overlaysList:this._baseLayersList;return x.appendChild(o),this._checkDisabledLayers(),o},_onInputClick:function(){var n=this._layerControlInputs,o,l,c=[],h=[];this._handlingClick=!0;for(var m=n.length-1;m>=0;m--)o=n[m],l=this._getLayer(o.layerId).layer,o.checked?c.push(l):o.checked||h.push(l);for(m=0;m=0;h--)o=n[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()}}),Xg=function(n,o,l){return new Uh(n,o,l)},Wl=kt.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(n){var o="leaflet-control-zoom",l=ne("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(),n.on("zoomend zoomlevelschange",this._updateDisabled,this),l},onRemove:function(n){n.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(n){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(n.shiftKey?3:1))},_createButton:function(n,o,l,c,h){var m=ne("a",l,c);return m.innerHTML=n,m.href="#",m.title=o,m.setAttribute("role","button"),m.setAttribute("aria-label",o),Nr(m),Y(m,"click",Yt),Y(m,"click",h,this),Y(m,"click",this._refocusOnMap,this),m},_updateDisabled:function(){var n=this._map,o="leaflet-disabled";xe(this._zoomInButton,o),xe(this._zoomOutButton,o),(this._disabled||n._zoom===n.getMinZoom())&&q(this._zoomOutButton,o),(this._disabled||n._zoom===n.getMaxZoom())&&q(this._zoomInButton,o)}});ee.mergeOptions({zoomControl:!0}),ee.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Wl,this.addControl(this.zoomControl))});var Jg=function(n){return new Wl(n)},Fh=kt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(n){var o="leaflet-control-scale",l=ne("div",o),c=this.options;return this._addScales(c,o+"-line",l),n.on(c.updateWhenIdle?"moveend":"move",this._update,this),n.whenReady(this._update,this),l},onRemove:function(n){n.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(n,o,l){n.metric&&(this._mScale=ne("div",o,l)),n.imperial&&(this._iScale=ne("div",o,l))},_update:function(){var n=this._map,o=n.getSize().y/2,l=n.distance(n.containerPointToLatLng([0,o]),n.containerPointToLatLng([this.options.maxWidth,o]));this._updateScales(l)},_updateScales:function(n){this.options.metric&&n&&this._updateMetric(n),this.options.imperial&&n&&this._updateImperial(n)},_updateMetric:function(n){var o=this._getRoundNum(n),l=o<1e3?o+" m":o/1e3+" km";this._updateScale(this._mScale,l,o/n)},_updateImperial:function(n){var o=n*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(n,o,l){n.style.width=Math.round(this.options.maxWidth*l)+"px",n.innerHTML=o},_getRoundNum:function(n){var o=Math.pow(10,(Math.floor(n)+"").length-1),l=n/o;return l=l>=10?10:l>=5?5:l>=3?3:l>=2?2:1,o*l}}),ey=function(n){return new Fh(n)},Vl=kt.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(n){T(this,n),this._attributions={}},onAdd:function(n){n.attributionControl=this,this._container=ne("div","leaflet-control-attribution"),Nr(this._container);for(var o in n._layers)n._layers[o].getAttribution&&this.addAttribution(n._layers[o].getAttribution());return this._update(),this._container},setPrefix:function(n){return this.options.prefix=n,this._update(),this},addAttribution:function(n){return n?(this._attributions[n]||(this._attributions[n]=0),this._attributions[n]++,this._update(),this):this},removeAttribution:function(n){return n?(this._attributions[n]&&(this._attributions[n]--,this._update()),this):this},_update:function(){if(this._map){var n=[];for(var o in this._attributions)this._attributions[o]&&n.push(o);var l=[];this.options.prefix&&l.push(this.options.prefix),n.length&&l.push(n.join(", ")),this._container.innerHTML=l.join(" | ")}}});ee.mergeOptions({attributionControl:!0}),ee.addInitHook(function(){this.options.attributionControl&&new Vl().addTo(this)});var ty=function(n){return new Vl(n)};kt.Layers=Uh,kt.Zoom=Wl,kt.Scale=Fh,kt.Attribution=Vl,Cr.layers=Xg,Cr.zoom=Jg,Cr.scale=ey,Cr.attribution=ty;var Ut=je.extend({initialize:function(n){this._map=n},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ut.addTo=function(n,o){return n.addHandler(o,this),this};var ny={Events:De},$h=bt?"touchstart mousedown":"mousedown",Zh={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},Gl={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},Yn=qt.extend({options:{clickTolerance:3},initialize:function(n,o,l,c){T(this,c),this._element=n,this._dragStartTarget=o||n,this._preventOutline=l},enable:function(){this._enabled||(Y(this._dragStartTarget,$h,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(Yn._dragging===this&&this.finishDrag(),Pe(this._dragStartTarget,$h,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(n){if(!(n._simulated||!this._enabled)&&(this._moved=!1,!Rl(this._element,"leaflet-zoom-anim")&&!(Yn._dragging||n.shiftKey||n.which!==1&&n.button!==1&&!n.touches)&&(Yn._dragging=this,this._preventOutline&&Dl(this._element),Il(),Lr(),!this._moving))){this.fire("down");var o=n.touches?n.touches[0]:n,l=zh(this._element);this._startPoint=new A(o.clientX,o.clientY),this._parentScale=bl(l),Y(document,Gl[n.type],this._onMove,this),Y(document,Zh[n.type],this._onUp,this)}},_onMove:function(n){if(!(n._simulated||!this._enabled)){if(n.touches&&n.touches.length>1){this._moved=!0;return}var o=n.touches&&n.touches.length===1?n.touches[0]:n,l=new A(o.clientX,o.clientY)._subtract(this._startPoint);!l.x&&!l.y||Math.abs(l.x)+Math.abs(l.y)m&&(x=O,m=N);m>l&&(o[x]=1,Kl(n,o,l,c,x),Kl(n,o,l,x,h))}function oy(n,o){for(var l=[n[0]],c=1,h=0,m=n.length;co&&(l.push(n[c]),h=c);return ho.max.x&&(l|=2),n.yo.max.y&&(l|=8),l}function sy(n,o){var l=o.x-n.x,c=o.y-n.y;return l*l+c*c}function Rr(n,o,l,c){var h=o.x,m=o.y,x=l.x-h,O=l.y-m,N=x*x+O*O,M;return N>0&&(M=((n.x-h)*x+(n.y-m)*O)/N,M>1?(h=l.x,m=l.y):M>0&&(h+=x*M,m+=O*M)),x=n.x-h,O=n.y-m,c?x*x+O*O:new A(h,m)}function Xt(n){return!S(n[0])||typeof n[0][0]!="object"&&typeof n[0][0]<"u"}function Kh(n){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),Xt(n)}var ay={simplify:Hh,pointToSegmentDistance:Wh,closestPointOnSegment:iy,clipSegment:Gh,_getEdgeIntersection:is,_getBitCode:Xn,_sqClosestPointOnSegment:Rr,isFlat:Xt,_flat:Kh};function Qh(n,o,l){var c,h=[1,4,2,8],m,x,O,N,M,F,W,ie;for(m=0,F=n.length;m1e-7;O++)M=h*Math.sin(x),M=Math.pow((1-M)/(1+M),h/2),N=Math.PI/2-2*Math.atan(m*M)-x,x+=N;return new re(x*o,n.x*o/l)}},uy={LonLat:Ql,Mercator:ql,SphericalMercator:ml},cy=s({},vn,{code:"EPSG:3395",projection:ql,transformation:function(){var n=.5/(Math.PI*ql.R);return xr(n,.5,-n,.5)}()}),qh=s({},vn,{code:"EPSG:4326",projection:Ql,transformation:xr(1/180,1,-1/180,.5)}),fy=s({},Xe,{projection:Ql,transformation:xr(1,0,-1,0),scale:function(n){return Math.pow(2,n)},zoom:function(n){return Math.log(n)/Math.LN2},distance:function(n,o){var l=o.lng-n.lng,c=o.lat-n.lat;return Math.sqrt(l*l+c*c)},infinite:!0});Xe.Earth=vn,Xe.EPSG3395=cy,Xe.EPSG3857=vl,Xe.EPSG900913=Ag,Xe.EPSG4326=qh,Xe.Simple=fy;var Ot=qt.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(n){return n.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(n){return n&&n.removeLayer(this),this},getPane:function(n){return this._map.getPane(n?this.options[n]||n:this.options.pane)},addInteractiveTarget:function(n){return this._map._targets[d(n)]=this,this},removeInteractiveTarget:function(n){return delete this._map._targets[d(n)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(n){var o=n.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})}}});ee.include({addLayer:function(n){if(!n._layerAdd)throw new Error("The provided object is not a Layer.");var o=d(n);return this._layers[o]?this:(this._layers[o]=n,n._mapToAdd=this,n.beforeAdd&&n.beforeAdd(this),this.whenReady(n._layerAdd,n),this)},removeLayer:function(n){var o=d(n);return this._layers[o]?(this._loaded&&n.onRemove(this),n.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(n.getAttribution()),delete this._layers[o],this._loaded&&(this.fire("layerremove",{layer:n}),n.fire("remove")),n._map=n._mapToAdd=null,this):this},hasLayer:function(n){return!!n&&d(n)in this._layers},eachLayer:function(n,o){for(var l in this._layers)n.call(o,this._layers[l]);return this},_addLayers:function(n){n=n?S(n)?n:[n]:[];for(var o=0,l=n.length;othis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()o)return x=(c-o)/l,this._map.layerPointToLatLng([m.x-x*(m.x-h.x),m.y-x*(m.y-h.y)])},getBounds:function(){return this._bounds},addLatLng:function(n,o){return o=o||this._defaultShape(),n=se(n),o.push(n),this._bounds.extend(n),this.redraw()},_setLatLngs:function(n){this._bounds=new Ce,this._latlngs=this._convertLatLngs(n)},_defaultShape:function(){return Xt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(n){for(var o=[],l=Xt(n),c=0,h=n.length;c=2&&o[0]instanceof re&&o[0].equals(o[l-1])&&o.pop(),o},_setLatLngs:function(n){Jt.prototype._setLatLngs.call(this,n),Xt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return Xt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var n=this._renderer._bounds,o=this.options.weight,l=new A(o,o);if(n=new K(n.min.subtract(l),n.max.add(l)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(n))){if(this.options.noClip){this._parts=this._rings;return}for(var c=0,h=this._rings.length,m;cn.y!=h.y>n.y&&n.x<(h.x-c.x)*(n.y-c.y)/(h.y-c.y)+c.x&&(o=!o);return o||Jt.prototype._containsPoint.call(this,n,!0)}});function yy(n,o){return new Li(n,o)}var en=Si.extend({initialize:function(n,o){T(this,o),this._layers={},n&&this.addData(n)},addData:function(n){var o=S(n)?n:n.features,l,c,h;if(o){for(l=0,c=o.length;l0?c:[o.src];return}S(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 m=0;mh?(o.height=h+"px",q(n,m)):xe(n,m),this._containerWidth=this._container.offsetWidth},_animateZoom:function(n){var o=this._map._latLngToNewLayerPoint(this._latlng,n.zoom,n.center),l=this._getAnchor();Te(this._container,o.add(l))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var n=this._map,o=parseInt(Tr(this._container,"marginBottom"),10)||0,l=this._container.offsetHeight+o,c=this._containerWidth,h=new A(this._containerLeft,-l-this._containerBottom);h._add(wn(this._container));var m=n.layerPointToContainerPoint(h),x=U(this.options.autoPanPadding),O=U(this.options.autoPanPaddingTopLeft||x),N=U(this.options.autoPanPaddingBottomRight||x),M=n.getSize(),F=0,W=0;m.x+c+N.x>M.x&&(F=m.x+c-M.x+N.x),m.x-F-O.x<0&&(F=m.x-O.x),m.y+l+N.y>M.y&&(W=m.y+l-M.y+N.y),m.y-W-O.y<0&&(W=m.y-O.y),(F||W)&&n.fire("autopanstart").panBy([F,W])}},_onCloseButtonClick:function(n){this._close(),Yt(n)},_getAnchor:function(){return U(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Sy=function(n,o){return new Oi(n,o)};ee.mergeOptions({closePopupOnClick:!0}),ee.include({openPopup:function(n,o,l){return n instanceof Oi||(n=new Oi(l).setContent(n)),o&&n.setLatLng(o),this.hasLayer(n)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=n,this.addLayer(n))},closePopup:function(n){return(!n||n===this._popup)&&(n=this._popup,this._popup=null),n&&this.removeLayer(n),this}}),Ot.include({bindPopup:function(n,o){return n instanceof Oi?(T(n,o),this._popup=n,n._source=this):((!this._popup||o)&&(this._popup=new Oi(o,this)),this._popup.setContent(n)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(n,o){return this._popup&&this._map&&(o=this._popup._prepareOpen(this,n,o),this._map.openPopup(this._popup,o)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(n){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(n)),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(n){return this._popup&&this._popup.setContent(n),this},getPopup:function(){return this._popup},_openPopup:function(n){var o=n.layer||n.target;if(this._popup&&this._map){if(Yt(n),o instanceof xn){this.openPopup(n.layer||n.target,n.latlng);return}this._map.hasLayer(this._popup)&&this._popup._source===o?this.closePopup():this.openPopup(o,n.latlng)}},_movePopup:function(n){this._popup.setLatLng(n.latlng)},_onKeyPress:function(n){n.originalEvent.keyCode===13&&this._openPopup(n)}});var Ni=tn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(n){tn.prototype.onAdd.call(this,n),this.setOpacity(this.options.opacity),n.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(n){tn.prototype.onRemove.call(this,n),n.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var n=tn.prototype.getEvents.call(this);return bt&&!this.options.permanent&&(n.preclick=this._close),n},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var n="leaflet-tooltip",o=n+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ne("div",o)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(n){var o,l,c=this._map,h=this._container,m=c.latLngToContainerPoint(c.getCenter()),x=c.layerPointToContainerPoint(n),O=this.options.direction,N=h.offsetWidth,M=h.offsetHeight,F=U(this.options.offset),W=this._getAnchor();O==="top"?(o=N/2,l=M):O==="bottom"?(o=N/2,l=0):O==="center"?(o=N/2,l=M/2):O==="right"?(o=0,l=M/2):O==="left"?(o=N,l=M/2):x.xthis.options.maxZoom||lc?this._retainParent(h,m,x,c):!1)},_retainChildren:function(n,o,l,c){for(var h=2*n;h<2*n+2;h++)for(var m=2*o;m<2*o+2;m++){var x=new A(h,m);x.z=l+1;var O=this._tileCoordsToKey(x),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(n,l);return}for(var W=h.min.y;W<=h.max.y;W++)for(var ie=h.min.x;ie<=h.max.x;ie++){var nn=new A(ie,W);if(nn.z=this._tileZoom,!!this._isValidTile(nn)){var Jn=this._tiles[this._tileCoordsToKey(nn)];Jn?Jn.current=!0:x.push(nn)}}if(x.sort(function(En,nu){return En.distanceTo(m)-nu.distanceTo(m)}),x.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var fs=document.createDocumentFragment();for(ie=0;iel.max.x)||!o.wrapLat&&(n.yl.max.y))return!1}if(!this.options.bounds)return!0;var c=this._tileCoordsToBounds(n);return fe(this.options.bounds).overlaps(c)},_keyToBounds:function(n){return this._tileCoordsToBounds(this._keyToTileCoords(n))},_tileCoordsToNwSe:function(n){var o=this._map,l=this.getTileSize(),c=n.scaleBy(l),h=c.add(l),m=o.unproject(c,n.z),x=o.unproject(h,n.z);return[m,x]},_tileCoordsToBounds:function(n){var o=this._tileCoordsToNwSe(n),l=new Ce(o[0],o[1]);return this.options.noWrap||(l=this._map.wrapLatLngBounds(l)),l},_tileCoordsToKey:function(n){return n.x+":"+n.y+":"+n.z},_keyToTileCoords:function(n){var o=n.split(":"),l=new A(+o[0],+o[1]);return l.z=+o[2],l},_removeTile:function(n){var o=this._tiles[n];o&&(ve(o.el),delete this._tiles[n],this.fire("tileunload",{tile:o.el,coords:this._keyToTileCoords(n)}))},_initTile:function(n){q(n,"leaflet-tile");var o=this.getTileSize();n.style.width=o.x+"px",n.style.height=o.y+"px",n.onselectstart=g,n.onmousemove=g,_i&&this.options.opacity<1&&pt(n,this.options.opacity),Er&&!Pr&&(n.style.WebkitBackfaceVisibility="hidden")},_addTile:function(n,o){var l=this._getTilePos(n),c=this._tileCoordsToKey(n),h=this.createTile(this._wrapCoords(n),u(this._tileReady,this,n));this._initTile(h),this.createTile.length<2&&G(u(this._tileReady,this,n,null,h)),Te(h,l),this._tiles[c]={el:h,coords:n,current:!0},o.appendChild(h),this.fire("tileloadstart",{tile:h,coords:n})},_tileReady:function(n,o,l){o&&this.fire("tileerror",{error:o,tile:l,coords:n});var c=this._tileCoordsToKey(n);l=this._tiles[c],l&&(l.loaded=+new Date,this._map._fadeAnimated?(pt(l.el,0),ce(this._fadeFrame),this._fadeFrame=G(this._updateOpacity,this)):(l.active=!0,this._pruneTiles()),o||(q(l.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:l.el,coords:n})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),_i||!this._map._fadeAnimated?G(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(n){return n.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(n){var o=new A(this._wrapX?_(n.x,this._wrapX):n.x,this._wrapY?_(n.y,this._wrapY):n.y);return o.z=n.z,o},_pxBoundsToTileRange:function(n){var o=this.getTileSize();return new K(n.min.unscaleBy(o).floor(),n.max.unscaleBy(o).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var n in this._tiles)if(!this._tiles[n].loaded)return!1;return!0}});function ky(n){return new Mr(n)}var Ci=Mr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(n,o){this._url=n,o=T(this,o),o.detectRetina&&yn&&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("")),Er||this.on("tileunload",this._onTileRemove)},setUrl:function(n,o){return this._url===n&&o===void 0&&(o=!0),this._url=n,o||this.redraw(),this},createTile:function(n,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(n),l},getTileUrl:function(n){var o={r:yn?"@2x":"",s:this._getSubdomain(n),x:n.x,y:n.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var l=this._globalTileRange.max.y-n.y;this.options.tms&&(o.y=l),o["-y"]=l}return y(this._url,s(o,this.options))},_tileOnLoad:function(n,o){_i?setTimeout(u(n,this,null,o),0):n(null,o)},_tileOnError:function(n,o,l){var c=this.options.errorTileUrl;c&&o.getAttribute("src")!==c&&(o.src=c),n(l,o)},_onTileRemove:function(n){n.tile.onload=null},_getZoomForUrl:function(){var n=this._tileZoom,o=this.options.maxZoom,l=this.options.zoomReverse,c=this.options.zoomOffset;return l&&(n=o-n),n+c},_getSubdomain:function(n){var o=Math.abs(n.x+n.y)%this.options.subdomains.length;return this.options.subdomains[o]},_abortLoading:function(){var n,o;for(n in this._tiles)this._tiles[n].coords.z!==this._tileZoom&&(o=this._tiles[n].el,o.onload=g,o.onerror=g,o.complete||(o.src=D,ve(o),delete this._tiles[n]))},_removeTile:function(n){var o=this._tiles[n];if(o)return Sh||o.el.setAttribute("src",D),Mr.prototype._removeTile.call(this,n)},_tileReady:function(n,o,l){if(!(!this._map||l&&l.getAttribute("src")===D))return Mr.prototype._tileReady.call(this,n,o,l)}});function id(n,o){return new Ci(n,o)}var rd=Ci.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(n,o){this._url=n;var l=s({},this.defaultWmsParams);for(var c in o)c in this.options||(l[c]=o[c]);o=T(this,o);var h=o.detectRetina&&yn?2:1,m=this.getTileSize();l.width=m.x*h,l.height=m.y*h,this.wmsParams=l},onAdd:function(n){this._crs=this.options.crs||n.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var o=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[o]=this._crs.code,Ci.prototype.onAdd.call(this,n)},getTileUrl:function(n){var o=this._tileCoordsToNwSe(n),l=this._crs,c=oe(l.project(o[0]),l.project(o[1])),h=c.min,m=c.max,x=(this._wmsVersion>=1.3&&this._crs===qh?[h.y,h.x,m.y,m.x]:[h.x,h.y,m.x,m.y]).join(","),O=Ci.prototype.getTileUrl.call(this,n);return O+B(this.wmsParams,O,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+x},setParams:function(n,o){return s(this.wmsParams,n),o||this.redraw(),this}});function Oy(n,o){return new rd(n,o)}Ci.WMS=rd,id.wms=Oy;var Ft=Ot.extend({options:{padding:.1,tolerance:0},initialize:function(n){T(this,n),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 n={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(n.zoomanim=this._onAnimZoom),n},_onAnimZoom:function(n){this._updateTransform(n.center,n.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(n,o){var l=this._map.getZoomScale(o,this._zoom),c=wn(this._container),h=this._map.getSize().multiplyBy(.5+this.options.padding),m=this._map.project(this._center,o),x=this._map.project(n,o),O=x.subtract(m),N=h.multiplyBy(-l).add(c).add(h).subtract(O);dt?Qn(this._container,N,l):Te(this._container,N)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var n in this._layers)this._layers[n]._reset()},_onZoomEnd:function(){for(var n in this._layers)this._layers[n]._project()},_updatePaths:function(){for(var n in this._layers)this._layers[n]._update()},_update:function(){var n=this.options.padding,o=this._map.getSize(),l=this._map.containerPointToLayerPoint(o.multiplyBy(-n)).round();this._bounds=new K(l,l.add(o.multiplyBy(1+n*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),od=Ft.extend({getEvents:function(){var n=Ft.prototype.getEvents.call(this);return n.viewprereset=this._onViewPreReset,n},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Ft.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var n=this._container=document.createElement("canvas");Y(n,"mousemove",this._onMouseMove,this),Y(n,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Y(n,"mouseout",this._handleMouseOut,this),this._ctx=n.getContext("2d")},_destroyContainer:function(){ce(this._redrawRequest),delete this._ctx,ve(this._container),Pe(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var n;this._redrawBounds=null;for(var o in this._layers)n=this._layers[o],n._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ft.prototype._update.call(this);var n=this._bounds,o=this._container,l=n.getSize(),c=yn?2:1;Te(o,n.min),o.width=c*l.x,o.height=c*l.y,o.style.width=l.x+"px",o.style.height=l.y+"px",yn&&this._ctx.scale(2,2),this._ctx.translate(-n.min.x,-n.min.y),this.fire("update")}},_reset:function(){Ft.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(n){this._updateDashArray(n),this._layers[d(n)]=n;var o=n._order={layer:n,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=o),this._drawLast=o,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(n){this._requestRedraw(n)},_removePath:function(n){var o=n._order,l=o.next,c=o.prev;l?l.prev=c:this._drawLast=c,c?c.next=l:this._drawFirst=l,delete n._order,delete this._layers[d(n)],this._requestRedraw(n)},_updatePath:function(n){this._extendRedrawBounds(n),n._project(),n._update(),this._requestRedraw(n)},_updateStyle:function(n){this._updateDashArray(n),this._requestRedraw(n)},_updateDashArray:function(n){if(typeof n.options.dashArray=="string"){var o=n.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">')}}}(),Ny={_initContainer:function(){this._container=ne("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Ft.prototype._update.call(this),this.fire("update"))},_initPath:function(n){var o=n._container=Ir("shape");q(o,"leaflet-vml-shape "+(this.options.className||"")),o.coordsize="1 1",n._path=Ir("path"),o.appendChild(n._path),this._updateStyle(n),this._layers[d(n)]=n},_addPath:function(n){var o=n._container;this._container.appendChild(o),n.options.interactive&&n.addInteractiveTarget(o)},_removePath:function(n){var o=n._container;ve(o),n.removeInteractiveTarget(o),delete this._layers[d(n)]},_updateStyle:function(n){var o=n._stroke,l=n._fill,c=n.options,h=n._container;h.stroked=!!c.stroke,h.filled=!!c.fill,c.stroke?(o||(o=n._stroke=Ir("stroke")),h.appendChild(o),o.weight=c.weight+"px",o.color=c.color,o.opacity=c.opacity,c.dashArray?o.dashStyle=S(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),n._stroke=null),c.fill?(l||(l=n._fill=Ir("fill")),h.appendChild(l),l.color=c.fillColor||c.color,l.opacity=c.fillOpacity):l&&(h.removeChild(l),n._fill=null)},_updateCircle:function(n){var o=n._point.round(),l=Math.round(n._radius),c=Math.round(n._radiusY||l);this._setPath(n,n._empty()?"M0 0":"AL "+o.x+","+o.y+" "+l+","+c+" 0,"+65535*360)},_setPath:function(n,o){n._path.v=o},_bringToFront:function(n){xi(n._container)},_bringToBack:function(n){Ei(n._container)}},cs=Go?Ir:Eh,zr=Ft.extend({getEvents:function(){var n=Ft.prototype.getEvents.call(this);return n.zoomstart=this._onZoomStart,n},_initContainer:function(){this._container=cs("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=cs("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ve(this._container),Pe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Ft.prototype._update.call(this);var n=this._bounds,o=n.getSize(),l=this._container;(!this._svgSize||!this._svgSize.equals(o))&&(this._svgSize=o,l.setAttribute("width",o.x),l.setAttribute("height",o.y)),Te(l,n.min),l.setAttribute("viewBox",[n.min.x,n.min.y,o.x,o.y].join(" ")),this.fire("update")}},_initPath:function(n){var o=n._path=cs("path");n.options.className&&q(o,n.options.className),n.options.interactive&&q(o,"leaflet-interactive"),this._updateStyle(n),this._layers[d(n)]=n},_addPath:function(n){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(n._path),n.addInteractiveTarget(n._path)},_removePath:function(n){ve(n._path),n.removeInteractiveTarget(n._path),delete this._layers[d(n)]},_updatePath:function(n){n._project(),n._update()},_updateStyle:function(n){var o=n._path,l=n.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(n,o){this._setPath(n,Ph(n._parts,o))},_updateCircle:function(n){var o=n._point,l=Math.max(Math.round(n._radius),1),c=Math.max(Math.round(n._radiusY),1)||l,h="a"+l+","+c+" 0 1,0 ",m=n._empty()?"M0 0":"M"+(o.x-l)+","+o.y+h+l*2+",0 "+h+-l*2+",0 ";this._setPath(n,m)},_setPath:function(n,o){n._path.setAttribute("d",o)},_bringToFront:function(n){xi(n._path)},_bringToBack:function(n){Ei(n._path)}});Go&&zr.include(Ny);function ad(n){return Vo||Go?new zr(n):null}ee.include({getRenderer:function(n){var o=n.options.renderer||this._getPaneRenderer(n.options.pane)||this.options.renderer||this._renderer;return o||(o=this._renderer=this._createRenderer()),this.hasLayer(o)||this.addLayer(o),o},_getPaneRenderer:function(n){if(n==="overlayPane"||n===void 0)return!1;var o=this._paneRenderers[n];return o===void 0&&(o=this._createRenderer({pane:n}),this._paneRenderers[n]=o),o},_createRenderer:function(n){return this.options.preferCanvas&&sd(n)||ad(n)}});var ld=Li.extend({initialize:function(n,o){Li.prototype.initialize.call(this,this._boundsToLatLngs(n),o)},setBounds:function(n){return this.setLatLngs(this._boundsToLatLngs(n))},_boundsToLatLngs:function(n){return n=fe(n),[n.getSouthWest(),n.getNorthWest(),n.getNorthEast(),n.getSouthEast()]}});function Cy(n,o){return new ld(n,o)}zr.create=cs,zr.pointsToPath=Ph,en.geometryToLayer=Xl,en.coordsToLatLng=Jl,en.coordsToLatLngs=ss,en.latLngToCoords=eu,en.latLngsToCoords=as,en.getFeature=ki,en.asFeature=ls,ee.mergeOptions({boxZoom:!0});var ud=Ut.extend({initialize:function(n){this._map=n,this._container=n._container,this._pane=n._panes.overlayPane,this._resetStateTimeout=0,n.on("unload",this._destroy,this)},addHooks:function(){Y(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Pe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ve(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(n){if(!n.shiftKey||n.which!==1&&n.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Lr(),Il(),this._startPoint=this._map.mouseEventToContainerPoint(n),Y(document,{contextmenu:Yt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(n){this._moved||(this._moved=!0,this._box=ne("div","leaflet-zoom-box",this._container),q(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(n);var o=new K(this._point,this._startPoint),l=o.getSize();Te(this._box,o.min),this._box.style.width=l.x+"px",this._box.style.height=l.y+"px"},_finish:function(){this._moved&&(ve(this._box),xe(this._container,"leaflet-crosshair")),kr(),zl(),Pe(document,{contextmenu:Yt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(n){if(!(n.which!==1&&n.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var o=new Ce(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(o).fire("boxzoomend",{boxZoomBounds:o})}},_onKeyDown:function(n){n.keyCode===27&&this._finish()}});ee.addInitHook("addHandler","boxZoom",ud),ee.mergeOptions({doubleClickZoom:!0});var cd=Ut.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(n){var o=this._map,l=o.getZoom(),c=o.options.zoomDelta,h=n.originalEvent.shiftKey?l-c:l+c;o.options.doubleClickZoom==="center"?o.setZoom(h):o.setZoomAround(n.containerPoint,h)}});ee.addInitHook("addHandler","doubleClickZoom",cd),ee.mergeOptions({dragging:!0,inertia:!Pr,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var fd=Ut.extend({addHooks:function(){if(!this._draggable){var n=this._map;this._draggable=new Yn(n._mapPane,n._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),n.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),n.on("zoomend",this._onZoomEnd,this),n.whenReady(this._onZoomEnd,this))}q(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){xe(this._map._container,"leaflet-grab"),xe(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var n=this._map;if(n._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var o=fe(this._map.options.maxBounds);this._offsetLimit=oe(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;n.fire("movestart").fire("dragstart"),n.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(n){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",n).fire("drag",n)},_prunePositions:function(n){for(;this._positions.length>1&&n-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var n=this._map.getSize().divideBy(2),o=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=o.subtract(n).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(n,o){return n-(n-o)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var n=this._draggable._newPos.subtract(this._draggable._startPos),o=this._offsetLimit;n.xo.max.x&&(n.x=this._viscousLimit(n.x,o.max.x)),n.y>o.max.y&&(n.y=this._viscousLimit(n.y,o.max.y)),this._draggable._newPos=this._draggable._startPos.add(n)}},_onPreDragWrap:function(){var n=this._worldWidth,o=Math.round(n/2),l=this._initialWorldOffset,c=this._draggable._newPos.x,h=(c-o+l)%n+o-l,m=(c+o+l)%n-o-l,x=Math.abs(h+l)0?m:-m))-o;this._delta=0,this._startTime=null,x&&(n.options.scrollWheelZoom==="center"?n.setZoom(o+x):n.setZoomAround(this._lastMousePos,o+x))}});ee.addInitHook("addHandler","scrollWheelZoom",dd),ee.mergeOptions({tap:!0,tapTolerance:15});var pd=Ut.extend({addHooks:function(){Y(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Pe(this._map._container,"touchstart",this._onDown,this)},_onDown:function(n){if(n.touches){if(mt(n),this._fireClick=!0,n.touches.length>1){this._fireClick=!1,clearTimeout(this._holdTimeout);return}var o=n.touches[0],l=o.target;this._startPos=this._newPos=new A(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(n){if(clearTimeout(this._holdTimeout),Pe(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&n&&n.changedTouches){var o=n.changedTouches[0],l=o.target;l&&l.tagName&&l.tagName.toLowerCase()==="a"&&xe(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(n){var o=n.touches[0];this._newPos=new A(o.clientX,o.clientY),this._simulateEvent("mousemove",o)},_simulateEvent:function(n,o){var l=document.createEvent("MouseEvents");l._simulated=!0,o.target._simulatedClick=!0,l.initMouseEvent(n,!0,!0,window,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),o.target.dispatchEvent(l)}});bt&&(!Dt||Wo)&&ee.addInitHook("addHandler","tap",pd),ee.mergeOptions({touchZoom:bt&&!Pr,bounceAtZoomLimits:!0});var md=Ut.extend({addHooks:function(){q(this._map._container,"leaflet-touch-zoom"),Y(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){xe(this._map._container,"leaflet-touch-zoom"),Pe(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(n){var o=this._map;if(!(!n.touches||n.touches.length!==2||o._animatingZoom||this._zooming)){var l=o.mouseEventToContainerPoint(n.touches[0]),c=o.mouseEventToContainerPoint(n.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),mt(n)}},_onTouchMove:function(n){if(!(!n.touches||n.touches.length!==2||!this._zooming)){var o=this._map,l=o.mouseEventToContainerPoint(n.touches[0]),c=o.mouseEventToContainerPoint(n.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 m=l._add(c)._divideBy(2)._subtract(this._centerPoint);if(h===1&&m.x===0&&m.y===0)return;this._center=o.unproject(o.project(this._pinchStartLatLng,this._zoom).subtract(m),this._zoom)}this._moved||(o._moveStart(!0,!1),this._moved=!0),ce(this._animRequest);var x=u(o._move,o,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=G(x,this,!0),mt(n)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,ce(this._animRequest),Pe(document,"touchmove",this._onTouchMove,this),Pe(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))}});ee.addInitHook("addHandler","touchZoom",md),ee.BoxZoom=ud,ee.DoubleClickZoom=cd,ee.Drag=fd,ee.Keyboard=hd,ee.ScrollWheelZoom=dd,ee.Tap=pd,ee.TouchZoom=md,i.version=r,i.Control=kt,i.control=Cr,i.Browser=Dg,i.Evented=qt,i.Mixin=ny,i.Util=Tt,i.Class=je,i.Handler=Ut,i.extend=s,i.bind=u,i.stamp=d,i.setOptions=T,i.DomEvent=qg,i.DomUtil=Kg,i.PosAnimation=Bh,i.Draggable=Yn,i.LineUtil=ay,i.PolyUtil=ly,i.Point=A,i.point=U,i.Bounds=K,i.bounds=oe,i.Transformation=_l,i.transformation=xr,i.Projection=uy,i.LatLng=re,i.latLng=se,i.LatLngBounds=Ce,i.latLngBounds=fe,i.CRS=Xe,i.GeoJSON=en,i.geoJSON=Jh,i.geoJson=wy,i.Layer=Ot,i.LayerGroup=Pi,i.layerGroup=hy,i.FeatureGroup=Si,i.featureGroup=dy,i.ImageOverlay=us,i.imageOverlay=xy,i.VideoOverlay=ed,i.videoOverlay=Ey,i.SVGOverlay=td,i.svgOverlay=Py,i.DivOverlay=tn,i.Popup=Oi,i.popup=Sy,i.Tooltip=Ni,i.tooltip=Ty,i.Icon=Ti,i.icon=py,i.DivIcon=nd,i.divIcon=Ly,i.Marker=rs,i.marker=my,i.TileLayer=Ci,i.tileLayer=id,i.GridLayer=Mr,i.gridLayer=ky,i.SVG=zr,i.svg=ad,i.Renderer=Ft,i.Canvas=od,i.canvas=sd,i.Path=xn,i.CircleMarker=os,i.circleMarker=_y,i.Circle=Yl,i.circle=vy,i.Polyline=Jt,i.polyline=gy,i.Polygon=Li,i.polygon=yy,i.Rectangle=ld,i.rectangle=Cy,i.Map=ee,i.map=Yg;var Ry=window.L;i.noConflict=function(){return window.L=Ry,this},window.L=i})})(Wc,Wc.exports);var fr=Wc.exports;function WE(e,t){const[i,r]=b.useState(null),s=b.useRef(!1);return b.useEffect(()=>{if(e.current&&!s.current){const a=new fr.Map(e.current,{center:{lat:t.location.latitude,lng:t.location.longitude},zoom:10}),u=new fr.TileLayer("https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png",{attribution:'© OpenStreetMap contributors © CARTO'});a.addLayer(u),r(a),s.current=!0}},[e,t]),i}var yt=(e=>(e.Main="/",e.Login="/login",e.Favorites="/favorites",e.Offer="/offer/:id",e))(yt||{}),mn=(e=>(e.Auth="AUTH",e.NoAuth="NO_AUTH",e.Unknown="UNKNOWN",e))(mn||{});const VE="/img/pin-active.svg",GE="/img/pin.svg";var Bo=(e=>(e.Offers="/offers",e.Login="/login",e.Logout="/logout",e))(Bo||{});const ug=[{name:"Paris",location:{latitude:48.864716,longitude:2.349014,zoom:13}},{name:"Brussels",location:{latitude:50.85034,longitude:4.35171,zoom:13}},{name:"Cologne",location:{latitude:50.935173,longitude:6.953101,zoom:13}},{name:"Amsterdam",location:{latitude:52.37403,longitude:4.88969,zoom:13}},{name:"Hamburg",location:{latitude:53.551086,longitude:9.993682,zoom:13}},{name:"Dusseldorf",location:{latitude:51.233334,longitude:6.783333,zoom:13}}],KE=2e3,QE=new fr.Icon({iconUrl:VE,iconSize:[32,32],iconAnchor:[20,40]}),qE=new fr.Icon({iconUrl:GE,iconSize:[32,32],iconAnchor:[20,40]});function cg(e){const t=Ue(u=>u.city),i=Ue(u=>u.highlightedMarker),{points:r}=e,s=tf.useRef(null),a=WE(s,t);return b.useEffect(()=>{if(a){const u=fr.layerGroup().addTo(a);return r.forEach(f=>{const d=new fr.Marker({lat:f.latitude,lng:f.longitude});let p;f===i?p=QE:p=qE,d.setIcon(p).addTo(u)}),a.setView([t.location.latitude,t.location.longitude],t.location.zoom),()=>{a.removeLayer(u)}}},[a,r,i,t]),v.jsx("div",{style:{height:"100%"},ref:s})}function YE(){const e=Ue(r=>r.city),t=zo(),i=r=>{t(Yv(r))};return v.jsx("ul",{className:"locations__list tabs__list",children:ug.map(r=>v.jsx("li",{className:"locations__item",children:v.jsx("a",{className:`locations__item-link tabs__item ${r===e?"tabs__item--active":""}`,onClick:()=>{i(r)},children:v.jsx("span",{children:r.name})})},r.name))})}function XE(){const e=Ue(s=>s.sortType),t=zo(),[i,r]=tf.useState(!1);return v.jsxs("form",{className:"places__sorting",action:"#",method:"get",children:[v.jsx("span",{className:"places__sorting-caption",children:"Sort by"}),v.jsxs("span",{className:"places__sorting-type",tabIndex:0,onClick:()=>r(!i),children:[e,v.jsx("svg",{className:"places__sorting-arrow",width:"7",height:"4",children:v.jsx("use",{xlinkHref:"#icon-arrow-select"})})]}),v.jsxs("ul",{className:`places__options places__options--custom ${i?"places__options--opened":""}`,children:[v.jsx("li",{className:`places__option ${e===ot.POPULAR?"places__option--active":""}`,tabIndex:0,onClick:()=>t(qr(ot.POPULAR)),children:"Popular"}),v.jsx("li",{className:`places__option ${e===ot.LOW_TO_HIGH?"places__option--active":""}`,tabIndex:0,onClick:()=>t(qr(ot.LOW_TO_HIGH)),children:"Price: low to high"}),v.jsx("li",{className:`places__option ${e===ot.HIGH_TO_LOW?"places__option--active":""}`,tabIndex:0,onClick:()=>t(qr(ot.HIGH_TO_LOW)),children:"Price: high to low"}),v.jsx("li",{className:`places__option ${e===ot.TOP_RATED?"places__option--active":""}`,tabIndex:0,onClick:()=>t(qr(ot.TOP_RATED)),children:"Top rated first"})]})]})}const JE={city:ug[0],offers:[],sortType:ot.POPULAR,highlightedMarker:void 0,chosenOffer:void 0,isOffersDataLoading:!1,error:null,authorizationStatus:mn.Unknown,userData:void 0},eP=$x(JE,e=>{e.addCase(Yv,(t,i)=>{t.city=i.payload}).addCase(qr,(t,i)=>{t.sortType=i.payload}).addCase(Uc,(t,i)=>{t.highlightedMarker=i.payload}).addCase(Xv,(t,i)=>{t.offers=i.payload}).addCase(Qx,(t,i)=>{t.chosenOffer=i.payload}).addCase(Fc,(t,i)=>{t.isOffersDataLoading=i.payload}).addCase(sh,(t,i)=>{t.error=i.payload}).addCase(Oo,(t,i)=>{t.authorizationStatus=i.payload}).addCase(Jv,(t,i)=>{t.userData=i.payload})});function fg(e,t){return function(){return e.apply(t,arguments)}}const{toString:tP}=Object.prototype,{getPrototypeOf:dh}=Object,cl=(e=>t=>{const i=tP.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Qt=e=>(e=e.toLowerCase(),t=>cl(t)===e),fl=e=>t=>typeof t===e,{isArray:wr}=Array,No=fl("undefined");function nP(e){return e!==null&&!No(e)&&e.constructor!==null&&!No(e.constructor)&&xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const hg=Qt("ArrayBuffer");function iP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&hg(e.buffer),t}const rP=fl("string"),xt=fl("function"),dg=fl("number"),hl=e=>e!==null&&typeof e=="object",oP=e=>e===!0||e===!1,$s=e=>{if(cl(e)!=="object")return!1;const t=dh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sP=Qt("Date"),aP=Qt("File"),lP=Qt("Blob"),uP=Qt("FileList"),cP=e=>hl(e)&&xt(e.pipe),fP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xt(e.append)&&((t=cl(e))==="formdata"||t==="object"&&xt(e.toString)&&e.toString()==="[object FormData]"))},hP=Qt("URLSearchParams"),dP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Uo(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),wr(e))for(r=0,s=e.length;r0;)if(s=i[r],t===s.toLowerCase())return s;return null}const mg=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_g=e=>!No(e)&&e!==mg;function Vc(){const{caseless:e}=_g(this)&&this||{},t={},i=(r,s)=>{const a=e&&pg(t,s)||s;$s(t[a])&&$s(r)?t[a]=Vc(t[a],r):$s(r)?t[a]=Vc({},r):wr(r)?t[a]=r.slice():t[a]=r};for(let r=0,s=arguments.length;r(Uo(t,(s,a)=>{i&&xt(s)?e[a]=fg(s,i):e[a]=s},{allOwnKeys:r}),e),mP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),_P=(e,t,i,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},vP=(e,t,i,r)=>{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],(!r||r(u,e,t))&&!f[u]&&(t[u]=e[u],f[u]=!0);e=i!==!1&&dh(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},gP=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const r=e.indexOf(t,i);return r!==-1&&r===i},yP=e=>{if(!e)return null;if(wr(e))return e;let t=e.length;if(!dg(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},wP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&dh(Uint8Array)),xP=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const a=s.value;t.call(e,a[0],a[1])}},EP=(e,t)=>{let i;const r=[];for(;(i=e.exec(t))!==null;)r.push(i);return r},PP=Qt("HTMLFormElement"),SP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,r,s){return r.toUpperCase()+s}),Jp=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),TP=Qt("RegExp"),vg=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),r={};Uo(i,(s,a)=>{let u;(u=t(s,a,e))!==!1&&(r[a]=u||s)}),Object.defineProperties(e,r)},LP=e=>{vg(e,(t,i)=>{if(xt(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const r=e[i];if(xt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},kP=(e,t)=>{const i={},r=s=>{s.forEach(a=>{i[a]=!0})};return wr(e)?r(e):r(String(e).split(t)),i},OP=()=>{},NP=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Bu="abcdefghijklmnopqrstuvwxyz",em="0123456789",gg={DIGIT:em,ALPHA:Bu,ALPHA_DIGIT:Bu+Bu.toUpperCase()+em},CP=(e=16,t=gg.ALPHA_DIGIT)=>{let i="";const{length:r}=t;for(;e--;)i+=t[Math.random()*r|0];return i};function RP(e){return!!(e&&xt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AP=e=>{const t=new Array(10),i=(r,s)=>{if(hl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const a=wr(r)?[]:{};return Uo(r,(u,f)=>{const d=i(u,s+1);!No(d)&&(a[f]=d)}),t[s]=void 0,a}}return r};return i(e,0)},MP=Qt("AsyncFunction"),IP=e=>e&&(hl(e)||xt(e))&&xt(e.then)&&xt(e.catch),R={isArray:wr,isArrayBuffer:hg,isBuffer:nP,isFormData:fP,isArrayBufferView:iP,isString:rP,isNumber:dg,isBoolean:oP,isObject:hl,isPlainObject:$s,isUndefined:No,isDate:sP,isFile:aP,isBlob:lP,isRegExp:TP,isFunction:xt,isStream:cP,isURLSearchParams:hP,isTypedArray:wP,isFileList:uP,forEach:Uo,merge:Vc,extend:pP,trim:dP,stripBOM:mP,inherits:_P,toFlatObject:vP,kindOf:cl,kindOfTest:Qt,endsWith:gP,toArray:yP,forEachEntry:xP,matchAll:EP,isHTMLForm:PP,hasOwnProperty:Jp,hasOwnProp:Jp,reduceDescriptors:vg,freezeMethods:LP,toObjectSet:kP,toCamelCase:SP,noop:OP,toFiniteNumber:NP,findKey:pg,global:mg,isContextDefined:_g,ALPHABET:gg,generateString:CP,isSpecCompliantForm:RP,toJSONObject:AP,isAsyncFn:MP,isThenable:IP};function J(e,t,i,r,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),i&&(this.config=i),r&&(this.request=r),s&&(this.response=s)}R.inherits(J,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:R.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const yg=J.prototype,wg={};["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=>{wg[e]={value:e}});Object.defineProperties(J,wg);Object.defineProperty(yg,"isAxiosError",{value:!0});J.from=(e,t,i,r,s,a)=>{const u=Object.create(yg);return R.toFlatObject(e,u,function(d){return d!==Error.prototype},f=>f!=="isAxiosError"),J.call(u,e.message,t,i,r,s),u.cause=e,u.name=e.name,a&&Object.assign(u,a),u};const zP=null;function Gc(e){return R.isPlainObject(e)||R.isArray(e)}function xg(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function tm(e,t,i){return e?e.concat(t).map(function(s,a){return s=xg(s),!i&&a?"["+s+"]":s}).join(i?".":""):t}function jP(e){return R.isArray(e)&&!e.some(Gc)}const DP=R.toFlatObject(R,{},null,function(t){return/^is[A-Z]/.test(t)});function dl(e,t,i){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=R.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,B){return!R.isUndefined(B[T])});const r=i.metaTokens,s=i.visitor||_,a=i.dots,u=i.indexes,d=(i.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(t);if(!R.isFunction(s))throw new TypeError("visitor must be a function");function p(E){if(E===null)return"";if(R.isDate(E))return E.toISOString();if(!d&&R.isBlob(E))throw new J("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(E)||R.isTypedArray(E)?d&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function _(E,T,B){let P=E;if(E&&!B&&typeof E=="object"){if(R.endsWith(T,"{}"))T=r?T:T.slice(0,-2),E=JSON.stringify(E);else if(R.isArray(E)&&jP(E)||(R.isFileList(E)||R.endsWith(T,"[]"))&&(P=R.toArray(E)))return T=xg(T),P.forEach(function(S,C){!(R.isUndefined(S)||S===null)&&t.append(u===!0?tm([T],C,a):u===null?T:T+"[]",p(S))}),!1}return Gc(E)?!0:(t.append(tm(B,T,a),p(E)),!1)}const g=[],w=Object.assign(DP,{defaultVisitor:_,convertValue:p,isVisitable:Gc});function k(E,T){if(!R.isUndefined(E)){if(g.indexOf(E)!==-1)throw Error("Circular reference detected in "+T.join("."));g.push(E),R.forEach(E,function(P,y){(!(R.isUndefined(P)||P===null)&&s.call(t,P,R.isString(y)?y.trim():y,T,w))===!0&&k(P,T?T.concat(y):[y])}),g.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return k(e),t}function nm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ph(e,t){this._pairs=[],e&&dl(e,this,t)}const Eg=ph.prototype;Eg.append=function(t,i){this._pairs.push([t,i])};Eg.toString=function(t){const i=t?function(r){return t.call(this,r,nm)}:nm;return this._pairs.map(function(s){return i(s[0])+"="+i(s[1])},"").join("&")};function bP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Pg(e,t,i){if(!t)return e;const r=i&&i.encode||bP,s=i&&i.serialize;let a;if(s?a=s(t,i):a=R.isURLSearchParams(t)?t.toString():new ph(t,i).toString(r),a){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class BP{constructor(){this.handlers=[]}use(t,i,r){return this.handlers.push({fulfilled:t,rejected:i,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){R.forEach(this.handlers,function(r){r!==null&&t(r)})}}const im=BP,Sg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},UP=typeof URLSearchParams<"u"?URLSearchParams:ph,FP=typeof FormData<"u"?FormData:null,$P=typeof Blob<"u"?Blob:null,ZP=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),HP=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Wt={isBrowser:!0,classes:{URLSearchParams:UP,FormData:FP,Blob:$P},isStandardBrowserEnv:ZP,isStandardBrowserWebWorkerEnv:HP,protocols:["http","https","file","blob","url","data"]};function WP(e,t){return dl(e,new Wt.classes.URLSearchParams,Object.assign({visitor:function(i,r,s,a){return Wt.isNode&&R.isBuffer(i)?(this.append(r,i.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function VP(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GP(e){const t={},i=Object.keys(e);let r;const s=i.length;let a;for(r=0;r=i.length;return u=!u&&R.isArray(s)?s.length:u,d?(R.hasOwnProp(s,u)?s[u]=[s[u],r]:s[u]=r,!f):((!s[u]||!R.isObject(s[u]))&&(s[u]=[]),t(i,r,s[u],a)&&R.isArray(s[u])&&(s[u]=GP(s[u])),!f)}if(R.isFormData(e)&&R.isFunction(e.entries)){const i={};return R.forEachEntry(e,(r,s)=>{t(VP(r),s,i,0)}),i}return null}function KP(e,t,i){if(R.isString(e))try{return(t||JSON.parse)(e),R.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(i||JSON.stringify)(e)}const mh={transitional:Sg,adapter:["xhr","http"],transformRequest:[function(t,i){const r=i.getContentType()||"",s=r.indexOf("application/json")>-1,a=R.isObject(t);if(a&&R.isHTMLForm(t)&&(t=new FormData(t)),R.isFormData(t))return s&&s?JSON.stringify(Tg(t)):t;if(R.isArrayBuffer(t)||R.isBuffer(t)||R.isStream(t)||R.isFile(t)||R.isBlob(t))return t;if(R.isArrayBufferView(t))return t.buffer;if(R.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return WP(t,this.formSerializer).toString();if((f=R.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return dl(f?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||s?(i.setContentType("application/json",!1),KP(t)):t}],transformResponse:[function(t){const i=this.transitional||mh.transitional,r=i&&i.forcedJSONParsing,s=this.responseType==="json";if(t&&R.isString(t)&&(r&&!this.responseType||s)){const u=!(i&&i.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(f){if(u)throw f.name==="SyntaxError"?J.from(f,J.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:Wt.classes.FormData,Blob:Wt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};R.forEach(["delete","get","head","post","put","patch"],e=>{mh.headers[e]={}});const _h=mh,QP=R.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"]),qP=e=>{const t={};let i,r,s;return e&&e.split(` +`).forEach(function(u){s=u.indexOf(":"),i=u.substring(0,s).trim().toLowerCase(),r=u.substring(s+1).trim(),!(!i||t[i]&&QP[i])&&(i==="set-cookie"?t[i]?t[i].push(r):t[i]=[r]:t[i]=t[i]?t[i]+", "+r:r)}),t},rm=Symbol("internals");function Hr(e){return e&&String(e).trim().toLowerCase()}function Zs(e){return e===!1||e==null?e:R.isArray(e)?e.map(Zs):String(e)}function YP(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=i.exec(e);)t[r[1]]=r[2];return t}const XP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Uu(e,t,i,r,s){if(R.isFunction(r))return r.call(this,t,i);if(s&&(t=i),!!R.isString(t)){if(R.isString(r))return t.indexOf(r)!==-1;if(R.isRegExp(r))return r.test(t)}}function JP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,r)=>i.toUpperCase()+r)}function eS(e,t){const i=R.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+i,{value:function(s,a,u){return this[r].call(this,t,s,a,u)},configurable:!0})})}class pl{constructor(t){t&&this.set(t)}set(t,i,r){const s=this;function a(f,d,p){const _=Hr(d);if(!_)throw new Error("header name must be a non-empty string");const g=R.findKey(s,_);(!g||s[g]===void 0||p===!0||p===void 0&&s[g]!==!1)&&(s[g||d]=Zs(f))}const u=(f,d)=>R.forEach(f,(p,_)=>a(p,_,d));return R.isPlainObject(t)||t instanceof this.constructor?u(t,i):R.isString(t)&&(t=t.trim())&&!XP(t)?u(qP(t),i):t!=null&&a(i,t,r),this}get(t,i){if(t=Hr(t),t){const r=R.findKey(this,t);if(r){const s=this[r];if(!i)return s;if(i===!0)return YP(s);if(R.isFunction(i))return i.call(this,s,r);if(R.isRegExp(i))return i.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=Hr(t),t){const r=R.findKey(this,t);return!!(r&&this[r]!==void 0&&(!i||Uu(this,this[r],r,i)))}return!1}delete(t,i){const r=this;let s=!1;function a(u){if(u=Hr(u),u){const f=R.findKey(r,u);f&&(!i||Uu(r,r[f],f,i))&&(delete r[f],s=!0)}}return R.isArray(t)?t.forEach(a):a(t),s}clear(t){const i=Object.keys(this);let r=i.length,s=!1;for(;r--;){const a=i[r];(!t||Uu(this,this[a],a,t,!0))&&(delete this[a],s=!0)}return s}normalize(t){const i=this,r={};return R.forEach(this,(s,a)=>{const u=R.findKey(r,a);if(u){i[u]=Zs(s),delete i[a];return}const f=t?JP(a):String(a).trim();f!==a&&delete i[a],i[f]=Zs(s),r[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return R.forEach(this,(r,s)=>{r!=null&&r!==!1&&(i[s]=t&&R.isArray(r)?r.join(", "):r)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const r=new this(t);return i.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[rm]=this[rm]={accessors:{}}).accessors,s=this.prototype;function a(u){const f=Hr(u);r[f]||(eS(s,u),r[f]=!0)}return R.isArray(t)?t.forEach(a):a(t),this}}pl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(pl.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[i]=r}}});R.freezeMethods(pl);const un=pl;function Fu(e,t){const i=this||_h,r=t||i,s=un.from(r.headers);let a=r.data;return R.forEach(e,function(f){a=f.call(i,a,s.normalize(),t?t.status:void 0)}),s.normalize(),a}function Lg(e){return!!(e&&e.__CANCEL__)}function Fo(e,t,i){J.call(this,e??"canceled",J.ERR_CANCELED,t,i),this.name="CanceledError"}R.inherits(Fo,J,{__CANCEL__:!0});function tS(e,t,i){const r=i.config.validateStatus;!i.status||!r||r(i.status)?e(i):t(new J("Request failed with status code "+i.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}const nS=Wt.isStandardBrowserEnv?function(){return{write:function(i,r,s,a,u,f){const d=[];d.push(i+"="+encodeURIComponent(r)),R.isNumber(s)&&d.push("expires="+new Date(s).toGMTString()),R.isString(a)&&d.push("path="+a),R.isString(u)&&d.push("domain="+u),f===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(i){const r=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function iS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rS(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function kg(e,t){return e&&!iS(t)?rS(e,t):t}const oS=Wt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let r;function s(a){let u=a;return t&&(i.setAttribute("href",u),u=i.href),i.setAttribute("href",u),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return r=s(window.location.href),function(u){const f=R.isString(u)?s(u):u;return f.protocol===r.protocol&&f.host===r.host}}():function(){return function(){return!0}}();function sS(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aS(e,t){e=e||10;const i=new Array(e),r=new Array(e);let s=0,a=0,u;return t=t!==void 0?t:1e3,function(d){const p=Date.now(),_=r[a];u||(u=p),i[s]=d,r[s]=p;let g=a,w=0;for(;g!==s;)w+=i[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-i,d=r(f),p=a<=u;i=a;const _={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};_[t?"download":"upload"]=!0,e(_)}}const lS=typeof XMLHttpRequest<"u",uS=lS&&function(e){return new Promise(function(i,r){let s=e.data;const a=un.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;R.isFormData(s)&&(Wt.isStandardBrowserEnv||Wt.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.getContentType(/^\s*multipart\/form-data/)?R.isString(p=a.getContentType())&&a.setContentType(p.replace(/^\s*(multipart\/form-data);+/,"$1")):a.setContentType("multipart/form-data"));let _=new XMLHttpRequest;if(e.auth){const E=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(E+":"+T))}const g=kg(e.baseURL,e.url);_.open(e.method.toUpperCase(),Pg(g,e.params,e.paramsSerializer),!0),_.timeout=e.timeout;function w(){if(!_)return;const E=un.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),B={data:!u||u==="text"||u==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:E,config:e,request:_};tS(function(y){i(y),d()},function(y){r(y),d()},B),_=null}if("onloadend"in _?_.onloadend=w:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(w)},_.onabort=function(){_&&(r(new J("Request aborted",J.ECONNABORTED,e,_)),_=null)},_.onerror=function(){r(new J("Network Error",J.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let T=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const B=e.transitional||Sg;e.timeoutErrorMessage&&(T=e.timeoutErrorMessage),r(new J(T,B.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,_)),_=null},Wt.isStandardBrowserEnv){const E=(e.withCredentials||oS(g))&&e.xsrfCookieName&&nS.read(e.xsrfCookieName);E&&a.set(e.xsrfHeaderName,E)}s===void 0&&a.setContentType(null),"setRequestHeader"in _&&R.forEach(a.toJSON(),function(T,B){_.setRequestHeader(B,T)}),R.isUndefined(e.withCredentials)||(_.withCredentials=!!e.withCredentials),u&&u!=="json"&&(_.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&_.addEventListener("progress",om(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&_.upload&&_.upload.addEventListener("progress",om(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=E=>{_&&(r(!E||E.type?new Fo(null,e,_):E),_.abort(),_=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const k=sS(g);if(k&&Wt.protocols.indexOf(k)===-1){r(new J("Unsupported protocol "+k+":",J.ERR_BAD_REQUEST,e));return}_.send(s||null)})},Kc={http:zP,xhr:uS};R.forEach(Kc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const sm=e=>`- ${e}`,cS=e=>R.isFunction(e)||e===null||e===!1,Og={getAdapter:e=>{e=R.isArray(e)?e:[e];const{length:t}=e;let i,r;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(sm).join(` +`):" "+sm(a[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return r},adapters:Kc};function $u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Fo(null,e)}function am(e){return $u(e),e.headers=un.from(e.headers),e.data=Fu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Og.getAdapter(e.adapter||_h.adapter)(e).then(function(r){return $u(e),r.data=Fu.call(e,e.transformResponse,r),r.headers=un.from(r.headers),r},function(r){return Lg(r)||($u(e),r&&r.response&&(r.response.data=Fu.call(e,e.transformResponse,r.response),r.response.headers=un.from(r.response.headers))),Promise.reject(r)})}const lm=e=>e instanceof un?e.toJSON():e;function hr(e,t){t=t||{};const i={};function r(p,_,g){return R.isPlainObject(p)&&R.isPlainObject(_)?R.merge.call({caseless:g},p,_):R.isPlainObject(_)?R.merge({},_):R.isArray(_)?_.slice():_}function s(p,_,g){if(R.isUndefined(_)){if(!R.isUndefined(p))return r(void 0,p,g)}else return r(p,_,g)}function a(p,_){if(!R.isUndefined(_))return r(void 0,_)}function u(p,_){if(R.isUndefined(_)){if(!R.isUndefined(p))return r(void 0,p)}else return r(void 0,_)}function f(p,_,g){if(g in t)return r(p,_);if(g in e)return r(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,_)=>s(lm(p),lm(_),!0)};return R.forEach(Object.keys(Object.assign({},e,t)),function(_){const g=d[_]||s,w=g(e[_],t[_],_);R.isUndefined(w)&&g!==f||(i[_]=w)}),i}const Ng="1.5.1",vh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{vh[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const um={};vh.transitional=function(t,i,r){function s(a,u){return"[Axios v"+Ng+"] Transitional option '"+a+"'"+u+(r?". "+r:"")}return(a,u,f)=>{if(t===!1)throw new J(s(u," has been removed"+(i?" in "+i:"")),J.ERR_DEPRECATED);return i&&!um[u]&&(um[u]=!0,console.warn(s(u," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(a,u,f):!0}};function fS(e,t,i){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const a=r[s],u=t[a];if(u){const f=e[a],d=f===void 0||u(f,a,e);if(d!==!0)throw new J("option "+a+" must be "+d,J.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new J("Unknown option "+a,J.ERR_BAD_OPTION)}}const Qc={assertOptions:fS,validators:vh},Sn=Qc.validators;class Sa{constructor(t){this.defaults=t,this.interceptors={request:new im,response:new im}}request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=hr(this.defaults,i);const{transitional:r,paramsSerializer:s,headers:a}=i;r!==void 0&&Qc.assertOptions(r,{silentJSONParsing:Sn.transitional(Sn.boolean),forcedJSONParsing:Sn.transitional(Sn.boolean),clarifyTimeoutError:Sn.transitional(Sn.boolean)},!1),s!=null&&(R.isFunction(s)?i.paramsSerializer={serialize:s}:Qc.assertOptions(s,{encode:Sn.function,serialize:Sn.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let u=a&&R.merge(a.common,a[i.method]);a&&R.forEach(["delete","get","head","post","put","patch","common"],E=>{delete a[E]}),i.headers=un.concat(u,a);const f=[];let d=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(i)===!1||(d=d&&T.synchronous,f.unshift(T.fulfilled,T.rejected))});const p=[];this.interceptors.response.forEach(function(T){p.push(T.fulfilled,T.rejected)});let _,g=0,w;if(!d){const E=[am.bind(this),void 0];for(E.unshift.apply(E,f),E.push.apply(E,p),w=E.length,_=Promise.resolve(i);g{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](s);r._listeners=null}),this.promise.then=s=>{let a;const u=new Promise(f=>{r.subscribe(f),a=f}).then(s);return u.cancel=function(){r.unsubscribe(a)},u},t(function(a,u,f){r.reason||(r.reason=new Fo(a,u,f),i(r.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 i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}static source(){let t;return{token:new gh(function(s){t=s}),cancel:t}}}const hS=gh;function dS(e){return function(i){return e.apply(null,i)}}function pS(e){return R.isObject(e)&&e.isAxiosError===!0}const qc={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(qc).forEach(([e,t])=>{qc[t]=e});const mS=qc;function Cg(e){const t=new Hs(e),i=fg(Hs.prototype.request,t);return R.extend(i,Hs.prototype,t,{allOwnKeys:!0}),R.extend(i,t,null,{allOwnKeys:!0}),i.create=function(s){return Cg(hr(e,s))},i}const Ne=Cg(_h);Ne.Axios=Hs;Ne.CanceledError=Fo;Ne.CancelToken=hS;Ne.isCancel=Lg;Ne.VERSION=Ng;Ne.toFormData=dl;Ne.AxiosError=J;Ne.Cancel=Ne.CanceledError;Ne.all=function(t){return Promise.all(t)};Ne.spread=dS;Ne.isAxiosError=pS;Ne.mergeConfig=hr;Ne.AxiosHeaders=un;Ne.formToJSON=e=>Tg(R.isHTMLForm(e)?new FormData(e):e);Ne.getAdapter=Og.getAdapter;Ne.HttpStatusCode=mS;Ne.default=Ne;const _S=Ne,yh="six-cities-token",vS=()=>localStorage.getItem(yh)??"",gS=e=>{localStorage.setItem(yh,e)},yS=()=>{localStorage.removeItem(yh)};var so;(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"})(so||(so={}));const wS=e=>{dr.dispatch(sh(e)),dr.dispatch(MS())},xS={[so.BAD_REQUEST]:!0,[so.UNAUTHORIZED]:!0,[so.NOT_FOUND]:!0},ES=e=>!!xS[e.status],PS="https://14.design.htmlacademy.pro/six-cities",SS=5e3,TS=()=>{const e=_S.create({baseURL:PS,timeout:SS});return e.interceptors.request.use(t=>{const i=vS();return i&&t.headers&&(t.headers["x-token"]=i),t}),e.interceptors.response.use(t=>t,t=>{if(t.response&&ES(t.response)){const i=t.response.data;wS(i.message)}throw t}),e};var Wi;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Wi||(Wi={}));var cm=function(e){return e},fm="beforeunload",LS="popstate";function kS(e){e===void 0&&(e={});var t=e,i=t.window,r=i===void 0?document.defaultView:i,s=r.history;function a(){var I=r.location,j=I.pathname,V=I.search,H=I.hash,G=s.state||{};return[G.idx,cm({pathname:j,search:V,hash:H,state:G.usr||null,key:G.key||"default"})]}var u=null;function f(){if(u)k.call(u),u=null;else{var I=Wi.Pop,j=a(),V=j[0],H=j[1];if(k.length){if(V!=null){var G=_-V;G&&(u={action:I,location:H,retry:function(){D(G*-1)}},D(G))}}else y(I)}}r.addEventListener(LS,f);var d=Wi.Pop,p=a(),_=p[0],g=p[1],w=dm(),k=dm();_==null&&(_=0,s.replaceState(ma({},s.state,{idx:_}),""));function E(I){return typeof I=="string"?I:NS(I)}function T(I,j){return j===void 0&&(j=null),cm(ma({pathname:g.pathname,hash:"",search:""},typeof I=="string"?CS(I):I,{state:j,key:OS()}))}function B(I,j){return[{usr:I.state,key:I.key,idx:j},E(I)]}function P(I,j,V){return!k.length||(k.call({action:I,location:j,retry:V}),!1)}function y(I){d=I;var j=a();_=j[0],g=j[1],w.call({action:d,location:g})}function S(I,j){var V=Wi.Push,H=T(I,j);function G(){S(I,j)}if(P(V,H,G)){var ce=B(H,_+1),Tt=ce[0],je=ce[1];try{s.pushState(Tt,"",je)}catch{r.location.assign(je)}y(V)}}function C(I,j){var V=Wi.Replace,H=T(I,j);function G(){C(I,j)}if(P(V,H,G)){var ce=B(H,_),Tt=ce[0],je=ce[1];s.replaceState(Tt,"",je),y(V)}}function D(I){s.go(I)}var $={get action(){return d},get location(){return g},createHref:E,push:S,replace:C,go:D,back:function(){D(-1)},forward:function(){D(1)},listen:function(j){return w.push(j)},block:function(j){var V=k.push(j);return k.length===1&&r.addEventListener(fm,hm),function(){V(),k.length||r.removeEventListener(fm,hm)}}};return $}function hm(e){e.preventDefault(),e.returnValue=""}function dm(){var e=[];return{get length(){return e.length},push:function(i){return e.push(i),function(){e=e.filter(function(r){return r!==i})}},call:function(i){e.forEach(function(r){return r&&r(i)})}}}function OS(){return Math.random().toString(36).substr(2,8)}function NS(e){var t=e.pathname,i=t===void 0?"/":t,r=e.search,s=r===void 0?"":r,a=e.hash,u=a===void 0?"":a;return s&&s!=="?"&&(i+=s.charAt(0)==="?"?s:"?"+s),u&&u!=="#"&&(i+=u.charAt(0)==="#"?u:"#"+u),i}function CS(e){var t={};if(e){var i=e.indexOf("#");i>=0&&(t.hash=e.substr(i),e=e.substr(0,i));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}const Rg=kS(),RS=()=>e=>t=>(t.type==="REDIRECT_TO_ROUTE"&&Rg.push(t.payload),e(t)),AS=TS(),dr=Bx({reducer:eP,middleware:e=>e({thunk:{extraArgument:AS}}).concat(RS)}),MS=jo("CLEAR_ERROR_ACTION",()=>{setTimeout(()=>dr.dispatch(sh(null)),KE)}),IS=jo("FETCH_OFFERS_ACTION",async(e,{dispatch:t,extra:i})=>{t(Fc(!0));const{data:r}=await i.get(Bo.Offers);t(Fc(!1)),t(Xv(r))}),zS=jo("CHECK_AUTH_ACTION",async(e,{dispatch:t,extra:i})=>{try{await i.get(Bo.Login),t(Oo(mn.Auth))}catch{t(Oo(mn.NoAuth))}}),jS=jo("LOGIN_ACTION",async({email:e,password:t},{dispatch:i,extra:r})=>{const{data:s}=await r.post(Bo.Login,{email:e,password:t});gS(s.token),i(Oo(mn.Auth)),i(Jv(s)),i(qx(yt.Main))}),DS=jo("LOGOUT_ACTION",async(e,{dispatch:t,extra:i})=>{await i.delete(Bo.Logout),yS(),t(Oo(mn.NoAuth))});function bS(){const e=zo(),i=Ue(a=>a.offers).filter(a=>a.isFavorite),r=Ue(a=>a.userData),s=Ue(a=>a.authorizationStatus);return v.jsx("nav",{className:"header__nav",children:s===mn.Auth?v.jsxs("ul",{className:"header__nav-list",children:[v.jsx("li",{className:"header__nav-item user",children:v.jsxs("a",{className:"header__nav-link header__nav-link--profile",children:[v.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),v.jsxs(cr,{to:yt.Favorites,children:[v.jsx("span",{className:"header__user-name user__name",children:r==null?void 0:r.email}),v.jsx("span",{className:"header__favorite-count",children:i.length})]})]})}),v.jsx("li",{className:"header__nav-item",children:v.jsx("a",{className:"header__nav-link",onClick:()=>e(DS()),children:v.jsx("span",{className:"header__signout",children:"Sign out"})})})]}):v.jsx("ul",{className:"header__nav-list",children:v.jsx("li",{className:"header__nav-item user",children:v.jsxs("a",{className:"header__nav-link header__nav-link--profile",children:[v.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),v.jsx(cr,{to:yt.Login,children:v.jsx("span",{className:"header__login",children:"Sign in"})})]})})})})}function wh(){return v.jsx("header",{className:"header",children:v.jsx("div",{className:"container",children:v.jsxs("div",{className:"header__wrapper",children:[v.jsx("div",{className:"header__left",children:v.jsx(cr,{to:yt.Main,className:"header__logo-link header__logo-link--active",children:v.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})}),v.jsx(bS,{})]})})})}function BS(){const e=Ue(s=>s.city),i=Ue(s=>s.offers).filter(s=>s.city.name===e.name),r=i.map(s=>s.location);return v.jsxs("div",{className:"page page--gray page--main",children:[v.jsx(wh,{}),v.jsxs("main",{className:"page__main page__main--index",children:[v.jsx("h1",{className:"visually-hidden",children:"Cities"}),v.jsx("div",{className:"tabs",children:v.jsx("section",{className:"locations container",children:v.jsx(YE,{})})}),v.jsx("div",{className:"cities",children:v.jsxs("div",{className:"cities__places-container container",children:[v.jsxs("section",{className:"cities__places places",children:[v.jsx("h2",{className:"visually-hidden",children:"Places"}),v.jsxs("b",{className:"places__found",children:[i.length," places to stay in ",e.name]}),v.jsx(XE,{}),v.jsx(hh,{offers:i,listType:Fa.standart})]}),v.jsx("div",{className:"cities__right-section",children:v.jsx("section",{className:"cities__map map",children:v.jsx(cg,{points:r})})})]})})]})]})}function US(){const e=b.useRef(null),t=b.useRef(null),i=zo(),r=s=>{s.preventDefault(),e.current!==null&&t.current!==null&&i(jS({email:e.current.value,password:t.current.value}))};return v.jsxs("div",{className:"page page--gray page--login",children:[v.jsx("header",{className:"header",children:v.jsx("div",{className:"container",children:v.jsx("div",{className:"header__wrapper",children:v.jsx("div",{className:"header__left",children:v.jsx("a",{className:"header__logo-link",href:"main.html",children:v.jsx(cr,{to:yt.Main,children:v.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})})})})})}),v.jsx("main",{className:"page__main page__main--login",children:v.jsxs("div",{className:"page__login-container container",children:[v.jsxs("section",{className:"login",children:[v.jsx("h1",{className:"login__title",children:"Sign in"}),v.jsxs("form",{className:"login__form form",action:"#",method:"post",onSubmit:r,children:[v.jsxs("div",{className:"login__input-wrapper form__input-wrapper",children:[v.jsx("label",{className:"visually-hidden",children:"E-mail"}),v.jsx("input",{className:"login__input form__input",type:"email",name:"email",placeholder:"Email",required:!0,ref:e})]}),v.jsxs("div",{className:"login__input-wrapper form__input-wrapper",children:[v.jsx("label",{className:"visually-hidden",children:"Password"}),v.jsx("input",{className:"login__input form__input",type:"password",name:"password",placeholder:"Password",required:!0,ref:t})]}),v.jsx("button",{className:"login__submit form__submit button",type:"submit",children:"Sign in"})]})]}),v.jsx("section",{className:"locations locations--login locations--current",children:v.jsx("div",{className:"locations__item",children:v.jsx("a",{className:"locations__item-link",href:"#",children:v.jsx("span",{children:"Amsterdam"})})})})]})})]})}function FS(){const e=Ue(t=>t.offers).filter(t=>t.isFavorite);return v.jsxs("div",{className:"page",children:[v.jsx(wh,{}),v.jsx("main",{className:"page__main page__main--favorites",children:v.jsx("div",{className:"page__favorites-container container",children:v.jsxs("section",{className:"favorites",children:[v.jsx("h1",{className:"favorites__title",children:"Saved listing"}),v.jsx("ul",{className:"favorites__list",children:v.jsxs("li",{className:"favorites__locations-items",children:[v.jsx("div",{className:"favorites__locations locations locations--current",children:v.jsx("div",{className:"locations__item",children:v.jsx("a",{className:"locations__item-link",href:"#",children:v.jsx("span",{children:"Amsterdam"})})})}),v.jsx(hh,{offers:e,listType:Fa.favourites})]})})]})})}),v.jsx("footer",{className:"footer container",children:v.jsx(cr,{to:yt.Main,className:"header__logo-link",children:v.jsx("img",{className:"footer__logo",src:"img/logo.svg",alt:"6 cities logo",width:"64",height:"33"})})})]})}function $S(){return v.jsxs("section",{className:"error__screen",children:[v.jsx("h1",{children:"404 Not Found"}),v.jsx("a",{href:"/",children:"Вернуться на главную"})]})}function ZS({review:e}){return v.jsxs("li",{className:"reviews__item",children:[v.jsxs("div",{className:"reviews__user user",children:[v.jsx("div",{className:"reviews__avatar-wrapper user__avatar-wrapper",children:v.jsx("img",{className:"reviews__avatar user__avatar",src:e.avatar,width:"54",height:"54",alt:"Reviews avatar"})}),v.jsx("span",{className:"reviews__user-name",children:e.author})]}),v.jsxs("div",{className:"reviews__info",children:[v.jsx("div",{className:"reviews__rating rating",children:v.jsxs("div",{className:"reviews__stars rating__stars",children:[v.jsx("span",{style:{width:`${e.rating/5*100}%`}}),v.jsx("span",{className:"visually-hidden",children:"Rating"})]})}),v.jsx("p",{className:"reviews__text",children:e.comment}),v.jsx("time",{className:"reviews__time",dateTime:"2019-04-24",children:e.date})]})]})}function HS(){const[e,t]=b.useState({rating:"1",review:""}),i=r=>{const{name:s,value:a}=r.target;t({...e,[s]:a})};return v.jsxs("form",{className:"reviews__form form",action:"#",method:"post",children:[v.jsx("label",{className:"reviews__label form__label",htmlFor:"review",children:"Your review"}),v.jsxs("div",{className:"reviews__rating-form form__rating",children:[v.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"5",id:"5-stars",type:"radio",onChange:i}),v.jsx("label",{htmlFor:"5-stars",className:"reviews__rating-label form__rating-label",title:"perfect",children:v.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:v.jsx("use",{xlinkHref:"#icon-star"})})}),v.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"4",id:"4-stars",type:"radio",onChange:i}),v.jsx("label",{htmlFor:"4-stars",className:"reviews__rating-label form__rating-label",title:"good",children:v.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:v.jsx("use",{xlinkHref:"#icon-star"})})}),v.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"3",id:"3-stars",type:"radio",onChange:i}),v.jsx("label",{htmlFor:"3-stars",className:"reviews__rating-label form__rating-label",title:"not bad",children:v.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:v.jsx("use",{xlinkHref:"#icon-star"})})}),v.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"2",id:"2-stars",type:"radio",onChange:i}),v.jsx("label",{htmlFor:"2-stars",className:"reviews__rating-label form__rating-label",title:"badly",children:v.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:v.jsx("use",{xlinkHref:"#icon-star"})})}),v.jsx("input",{className:"form__rating-input visually-hidden",name:"rating",value:"1",id:"1-star",type:"radio",onChange:i}),v.jsx("label",{htmlFor:"1-star",className:"reviews__rating-label form__rating-label",title:"terribly",children:v.jsx("svg",{className:"form__star-image",width:"37",height:"33",children:v.jsx("use",{xlinkHref:"#icon-star"})})})]}),v.jsx("textarea",{className:"reviews__textarea form__textarea",id:"review",name:"review",value:e.review,onChange:i,placeholder:"Tell how was your stay, what you like and what can be improved"}),v.jsxs("div",{className:"reviews__button-wrapper",children:[v.jsxs("p",{className:"reviews__help",children:["To submit review please make sure to set ",v.jsx("span",{className:"reviews__star",children:"rating"})," and describe your stay with at least ",v.jsx("b",{className:"reviews__text-amount",children:"50 characters"}),"."]}),v.jsx("button",{className:"reviews__submit form__submit button",type:"submit",disabled:!0,children:"Submit"})]})]})}function WS({reviews:e}){return v.jsxs("section",{className:"offer__reviews reviews",children:[v.jsxs("h2",{className:"reviews__title",children:["Reviews · ",v.jsx("span",{className:"reviews__amount",children:e.length})]}),v.jsx("ul",{className:"reviews__list",children:e.map(t=>v.jsx(ZS,{review:t},t.id))}),v.jsx(HS,{})]})}const VS=[{id:"1",avatar:"img/avatar-angelina.jpg",author:"Angelina",rating:5,date:"March 2022",comment:"Beautiful apartments with stunning views, perfect for those who appreciate comfort and beauty."},{id:"2",avatar:"img/avatar-max.jpg",author:"Max",rating:3,date:"December 2023",comment:"The room is cozy but lacks sufficient heating, making it uncomfortable during colder months."},{id:"3",avatar:"img/avatar-angelina.jpg",author:"Angelina",rating:5,date:"May 2024",comment:"Well equipped apartment in a great location with all possible amenities."},{id:"4",avatar:"img/avatar-max.jpg",author:"Max",rating:5,date:"December 2024",comment:"Luxurious apartments with breathtaking views, ideal for those seeking both comfort and elegance in a prime location."}];function GS(){const e=Ue(i=>i.chosenOffer),t=Ue(i=>i.offers);return v.jsxs("div",{className:"page",children:[v.jsx(wh,{}),v.jsxs("main",{className:"page__main page__main--offer",children:[v.jsxs("section",{className:"offer",children:[v.jsx("div",{className:"offer__gallery-container container",children:v.jsxs("div",{className:"offer__gallery",children:[v.jsx("div",{className:"offer__image-wrapper",children:v.jsx("img",{className:"offer__image",src:"img/room.jpg",alt:"Photo studio"})}),v.jsx("div",{className:"offer__image-wrapper",children:v.jsx("img",{className:"offer__image",src:"img/apartment-01.jpg",alt:"Photo studio"})}),v.jsx("div",{className:"offer__image-wrapper",children:v.jsx("img",{className:"offer__image",src:"img/apartment-02.jpg",alt:"Photo studio"})}),v.jsx("div",{className:"offer__image-wrapper",children:v.jsx("img",{className:"offer__image",src:"img/apartment-03.jpg",alt:"Photo studio"})}),v.jsx("div",{className:"offer__image-wrapper",children:v.jsx("img",{className:"offer__image",src:"img/studio-01.jpg",alt:"Photo studio"})}),v.jsx("div",{className:"offer__image-wrapper",children:v.jsx("img",{className:"offer__image",src:"img/apartment-01.jpg",alt:"Photo studio"})})]})}),v.jsx("div",{className:"offer__container container",children:v.jsxs("div",{className:"offer__wrapper",children:[e!=null&&e.isPremium?v.jsx("div",{className:"offer__mark",children:v.jsx("span",{children:"Premium"})}):null,v.jsxs("div",{className:"offer__name-wrapper",children:[v.jsx("h1",{className:"offer__name",children:e==null?void 0:e.title}),v.jsxs("button",{className:"offer__bookmark-button button",type:"button",children:[v.jsx("svg",{className:"offer__bookmark-icon",width:"31",height:"33",children:v.jsx("use",{xlinkHref:"#icon-bookmark"})}),v.jsx("span",{className:"visually-hidden",children:"To bookmarks"})]})]}),v.jsxs("div",{className:"offer__rating rating",children:[v.jsxs("div",{className:"offer__stars rating__stars",children:[v.jsx("span",{style:{width:e&&e.rating?Ov(e.rating):void 0}}),v.jsx("span",{className:"visually-hidden",children:"Rating"})]}),v.jsx("span",{className:"offer__rating-value rating__value",children:e==null?void 0:e.rating})]}),v.jsxs("ul",{className:"offer__features",children:[v.jsx("li",{className:"offer__feature offer__feature--entire",children:e==null?void 0:e.type}),v.jsx("li",{className:"offer__feature offer__feature--bedrooms",children:"3 Bedrooms"}),v.jsx("li",{className:"offer__feature offer__feature--adults",children:"Max 4 adults"})]}),v.jsxs("div",{className:"offer__price",children:[v.jsxs("b",{className:"offer__price-value",children:["€",e==null?void 0:e.price]}),v.jsx("span",{className:"offer__price-text",children:" night"})]}),v.jsxs("div",{className:"offer__inside",children:[v.jsx("h2",{className:"offer__inside-title",children:"What's inside"}),v.jsxs("ul",{className:"offer__inside-list",children:[v.jsx("li",{className:"offer__inside-item",children:"Wi-Fi"}),v.jsx("li",{className:"offer__inside-item",children:"Washing machine"}),v.jsx("li",{className:"offer__inside-item",children:"Towels"}),v.jsx("li",{className:"offer__inside-item",children:"Heating"}),v.jsx("li",{className:"offer__inside-item",children:"Coffee machine"}),v.jsx("li",{className:"offer__inside-item",children:"Baby seat"}),v.jsx("li",{className:"offer__inside-item",children:"Kitchen"}),v.jsx("li",{className:"offer__inside-item",children:"Dishwasher"}),v.jsx("li",{className:"offer__inside-item",children:"Cabel TV"}),v.jsx("li",{className:"offer__inside-item",children:"Fridge"})]})]}),v.jsxs("div",{className:"offer__host",children:[v.jsx("h2",{className:"offer__host-title",children:"Meet the host"}),v.jsxs("div",{className:"offer__host-user user",children:[v.jsx("div",{className:"offer__avatar-wrapper offer__avatar-wrapper--pro user__avatar-wrapper",children:v.jsx("img",{className:"offer__avatar user__avatar",src:"img/avatar-angelina.jpg",width:"74",height:"74",alt:"Host avatar"})}),v.jsx("span",{className:"offer__user-name",children:"Angelina"}),v.jsx("span",{className:"offer__user-status",children:"Pro"})]}),v.jsx("div",{className:"offer__description",children:v.jsx("p",{className:"offer__text",children:"A quiet cozy and picturesque that hides behind a a river by the unique lightness of Amsterdam. The building is green and from 18th century."})})]}),v.jsx(WS,{reviews:VS})]})}),v.jsx("section",{className:"offer__map map",children:v.jsx(cg,{points:[t[0],t[1],t[2]].map(i=>i.location)})})]}),v.jsx("div",{className:"container",children:v.jsxs("section",{className:"near-places places",children:[v.jsx("h2",{className:"near-places__title",children:"Other places in the neighbourhood"}),v.jsx(hh,{offers:[t[0],t[1],t[2]],listType:Fa.nearest})]})})]})]})}function KS(e){const{children:t}=e;return Ue(r=>r.authorizationStatus)===mn.Auth?t:v.jsx(IE,{to:yt.Login})}function QS(){return v.jsx("p",{children:"Loading ..."})}function qS({basename:e,children:t,history:i}){const[r,s]=b.useState({action:i.action,location:i.location});return b.useLayoutEffect(()=>i.listen(s),[i]),v.jsx(zE,{basename:e,location:r.location,navigationType:r.action,navigator:i,children:t})}function YS(){const e=Ue(i=>i.isOffersDataLoading),t=Ue(i=>i.authorizationStatus);return e||t===mn.Unknown?v.jsx(QS,{}):v.jsx(qS,{history:Rg,children:v.jsxs(jE,{children:[v.jsx(Ai,{path:"*",element:v.jsx($S,{})}),v.jsx(Ai,{path:yt.Main,element:v.jsx(BS,{})}),v.jsx(Ai,{path:yt.Favorites,element:v.jsx(KS,{children:v.jsx(FS,{})})}),v.jsx(Ai,{path:yt.Login,element:v.jsx(US,{})}),v.jsx(Ai,{path:yt.Offer,element:v.jsx(GS,{})})]})})}function XS(){const e=Ue(t=>t.error);return e?v.jsx("div",{className:"error-message",children:e}):null}dr.dispatch(IS());dr.dispatch(zS());const JS=Zu.createRoot(document.getElementById("root"));JS.render(v.jsx(tf.StrictMode,{children:v.jsxs(nx,{store:dr,children:[v.jsx(XS,{}),v.jsx(YS,{})]})})); diff --git a/10/assets/index-7eb2eee7.css b/10/assets/index-7eb2eee7.css new file mode 100644 index 0000000..663f876 --- /dev/null +++ b/10/assets/index-7eb2eee7.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}.error-message{position:fixed;top:30px;right:30px;padding:10px;background-color:#d96666;color:#fff;border-radius:5px} diff --git a/10/css/main.css b/10/css/main.css new file mode 100644 index 0000000..eb596a6 --- /dev/null +++ b/10/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/10/css/main.css.map b/10/css/main.css.map new file mode 100644 index 0000000..7df7026 --- /dev/null +++ b/10/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/10/fonts/rubik-bold.ttf b/10/fonts/rubik-bold.ttf new file mode 100644 index 0000000..9b947db Binary files /dev/null and b/10/fonts/rubik-bold.ttf differ diff --git a/10/fonts/rubik-bold.woff b/10/fonts/rubik-bold.woff new file mode 100644 index 0000000..77272e5 Binary files /dev/null and b/10/fonts/rubik-bold.woff differ diff --git a/10/fonts/rubik-bold.woff2 b/10/fonts/rubik-bold.woff2 new file mode 100644 index 0000000..374e2bd Binary files /dev/null and b/10/fonts/rubik-bold.woff2 differ diff --git a/10/fonts/rubik-light.ttf b/10/fonts/rubik-light.ttf new file mode 100644 index 0000000..1adb7d5 Binary files /dev/null and b/10/fonts/rubik-light.ttf differ diff --git a/10/fonts/rubik-light.woff b/10/fonts/rubik-light.woff new file mode 100644 index 0000000..40d6c14 Binary files /dev/null and b/10/fonts/rubik-light.woff differ diff --git a/10/fonts/rubik-light.woff2 b/10/fonts/rubik-light.woff2 new file mode 100644 index 0000000..ebef69a Binary files /dev/null and b/10/fonts/rubik-light.woff2 differ diff --git a/10/fonts/rubik-medium.ttf b/10/fonts/rubik-medium.ttf new file mode 100644 index 0000000..24519e5 Binary files /dev/null and b/10/fonts/rubik-medium.ttf differ diff --git a/10/fonts/rubik-medium.woff b/10/fonts/rubik-medium.woff new file mode 100644 index 0000000..fd4aa04 Binary files /dev/null and b/10/fonts/rubik-medium.woff differ diff --git a/10/fonts/rubik-medium.woff2 b/10/fonts/rubik-medium.woff2 new file mode 100644 index 0000000..d28cc6f Binary files /dev/null and b/10/fonts/rubik-medium.woff2 differ diff --git a/10/fonts/rubik-regular.ttf b/10/fonts/rubik-regular.ttf new file mode 100644 index 0000000..f99fe15 Binary files /dev/null and b/10/fonts/rubik-regular.ttf differ diff --git a/10/fonts/rubik-regular.woff b/10/fonts/rubik-regular.woff new file mode 100644 index 0000000..34d44d1 Binary files /dev/null and b/10/fonts/rubik-regular.woff differ diff --git a/10/fonts/rubik-regular.woff2 b/10/fonts/rubik-regular.woff2 new file mode 100644 index 0000000..ac77627 Binary files /dev/null and b/10/fonts/rubik-regular.woff2 differ diff --git a/10/img/amsterdam.jpg b/10/img/amsterdam.jpg new file mode 100644 index 0000000..578b005 Binary files /dev/null and b/10/img/amsterdam.jpg differ diff --git a/10/img/amsterdam@2x.jpg b/10/img/amsterdam@2x.jpg new file mode 100644 index 0000000..adaa1ae Binary files /dev/null and b/10/img/amsterdam@2x.jpg differ diff --git a/10/img/apartment-01.jpg b/10/img/apartment-01.jpg new file mode 100644 index 0000000..83f1981 Binary files /dev/null and b/10/img/apartment-01.jpg differ diff --git a/10/img/apartment-02.jpg b/10/img/apartment-02.jpg new file mode 100644 index 0000000..41dbe38 Binary files /dev/null and b/10/img/apartment-02.jpg differ diff --git a/10/img/apartment-03.jpg b/10/img/apartment-03.jpg new file mode 100644 index 0000000..0acd6ef Binary files /dev/null and b/10/img/apartment-03.jpg differ diff --git a/10/img/apartment-small-03.jpg b/10/img/apartment-small-03.jpg new file mode 100644 index 0000000..fa95628 Binary files /dev/null and b/10/img/apartment-small-03.jpg differ diff --git a/10/img/apartment-small-04.jpg b/10/img/apartment-small-04.jpg new file mode 100644 index 0000000..4e98ea9 Binary files /dev/null and b/10/img/apartment-small-04.jpg differ diff --git a/10/img/avatar-angelina.jpg b/10/img/avatar-angelina.jpg new file mode 100644 index 0000000..d8203d7 Binary files /dev/null and b/10/img/avatar-angelina.jpg differ diff --git a/10/img/avatar-max.jpg b/10/img/avatar-max.jpg new file mode 100644 index 0000000..b77b344 Binary files /dev/null and b/10/img/avatar-max.jpg differ diff --git a/10/img/avatar.svg b/10/img/avatar.svg new file mode 100644 index 0000000..c122561 --- /dev/null +++ b/10/img/avatar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/ico-adults.svg b/10/img/ico-adults.svg new file mode 100644 index 0000000..7278dd5 --- /dev/null +++ b/10/img/ico-adults.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/ico-bedrooms.svg b/10/img/ico-bedrooms.svg new file mode 100644 index 0000000..71f9b0e --- /dev/null +++ b/10/img/ico-bedrooms.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/ico-no-results.svg b/10/img/ico-no-results.svg new file mode 100644 index 0000000..3c9eeb7 --- /dev/null +++ b/10/img/ico-no-results.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/ico-place.svg b/10/img/ico-place.svg new file mode 100644 index 0000000..9720cf7 --- /dev/null +++ b/10/img/ico-place.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/ico-saved.svg b/10/img/ico-saved.svg new file mode 100644 index 0000000..01160c1 --- /dev/null +++ b/10/img/ico-saved.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/icon-arrow-select.svg b/10/img/icon-arrow-select.svg new file mode 100644 index 0000000..e58b1fa --- /dev/null +++ b/10/img/icon-arrow-select.svg @@ -0,0 +1 @@ + diff --git a/10/img/icon-bookmark.svg b/10/img/icon-bookmark.svg new file mode 100644 index 0000000..a533a64 --- /dev/null +++ b/10/img/icon-bookmark.svg @@ -0,0 +1 @@ + diff --git a/10/img/icon-star.svg b/10/img/icon-star.svg new file mode 100644 index 0000000..c3fadca --- /dev/null +++ b/10/img/icon-star.svg @@ -0,0 +1 @@ + diff --git a/10/img/logo.svg b/10/img/logo.svg new file mode 100644 index 0000000..7ec7a62 --- /dev/null +++ b/10/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/map-big.jpg b/10/img/map-big.jpg new file mode 100644 index 0000000..b40c3c9 Binary files /dev/null and b/10/img/map-big.jpg differ diff --git a/10/img/map-big@2x.jpg b/10/img/map-big@2x.jpg new file mode 100644 index 0000000..c201045 Binary files /dev/null and b/10/img/map-big@2x.jpg differ diff --git a/10/img/map.jpg b/10/img/map.jpg new file mode 100644 index 0000000..d66c166 Binary files /dev/null and b/10/img/map.jpg differ diff --git a/10/img/map@2x.jpg b/10/img/map@2x.jpg new file mode 100644 index 0000000..db3b664 Binary files /dev/null and b/10/img/map@2x.jpg differ diff --git a/10/img/no-places.png b/10/img/no-places.png new file mode 100644 index 0000000..64cc7ec Binary files /dev/null and b/10/img/no-places.png differ diff --git a/10/img/no-places@2x.png b/10/img/no-places@2x.png new file mode 100644 index 0000000..e9f35f0 Binary files /dev/null and b/10/img/no-places@2x.png differ diff --git a/10/img/pin-active.svg b/10/img/pin-active.svg new file mode 100644 index 0000000..efc07a8 --- /dev/null +++ b/10/img/pin-active.svg @@ -0,0 +1 @@ + diff --git a/10/img/pin.svg b/10/img/pin.svg new file mode 100644 index 0000000..36e4c3b --- /dev/null +++ b/10/img/pin.svg @@ -0,0 +1 @@ + diff --git a/10/img/room-small.jpg b/10/img/room-small.jpg new file mode 100644 index 0000000..2ae182d Binary files /dev/null and b/10/img/room-small.jpg differ diff --git a/10/img/room.jpg b/10/img/room.jpg new file mode 100644 index 0000000..e08d9ab Binary files /dev/null and b/10/img/room.jpg differ diff --git a/10/img/sprite.svg b/10/img/sprite.svg new file mode 100644 index 0000000..39b2fe9 --- /dev/null +++ b/10/img/sprite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/star-active.svg b/10/img/star-active.svg new file mode 100644 index 0000000..d1e936e --- /dev/null +++ b/10/img/star-active.svg @@ -0,0 +1 @@ + diff --git a/10/img/star-white.svg b/10/img/star-white.svg new file mode 100644 index 0000000..dd5feda --- /dev/null +++ b/10/img/star-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/stars-active.svg b/10/img/stars-active.svg new file mode 100644 index 0000000..1ef25d1 --- /dev/null +++ b/10/img/stars-active.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/stars.svg b/10/img/stars.svg new file mode 100644 index 0000000..029dc95 --- /dev/null +++ b/10/img/stars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/img/studio-01.jpg b/10/img/studio-01.jpg new file mode 100644 index 0000000..ad2cde2 Binary files /dev/null and b/10/img/studio-01.jpg differ diff --git a/10/img/studio-photos.jpg b/10/img/studio-photos.jpg new file mode 100644 index 0000000..fdd70a4 Binary files /dev/null and b/10/img/studio-photos.jpg differ diff --git a/10/img/triangle.svg b/10/img/triangle.svg new file mode 100644 index 0000000..5038a06 --- /dev/null +++ b/10/img/triangle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/10/index.html b/10/index.html new file mode 100644 index 0000000..712fb28 --- /dev/null +++ b/10/index.html @@ -0,0 +1,32 @@ + + + + + + + + 6 cities + + + + + + +
+ + + + + + + + + + + +
+ +
+ + +