diff --git a/9/assets/index-3296a1ff.js b/9/assets/index-3296a1ff.js new file mode 100644 index 0000000..c138259 --- /dev/null +++ b/9/assets/index-3296a1ff.js @@ -0,0 +1,105 @@ +function Ay(e,t){for(var i=0;ir[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))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 Iy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var am={exports:{}},ya={},lm={exports:{}},q={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Co=Symbol.for("react.element"),jy=Symbol.for("react.portal"),Dy=Symbol.for("react.fragment"),by=Symbol.for("react.strict_mode"),By=Symbol.for("react.profiler"),Uy=Symbol.for("react.provider"),Fy=Symbol.for("react.context"),Zy=Symbol.for("react.forward_ref"),$y=Symbol.for("react.suspense"),Hy=Symbol.for("react.memo"),Wy=Symbol.for("react.lazy"),pd=Symbol.iterator;function Vy(e){return e===null||typeof e!="object"?null:(e=pd&&e[pd]||e["@@iterator"],typeof e=="function"?e:null)}var um={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cm=Object.assign,fm={};function hr(e,t,i){this.props=e,this.context=t,this.refs=fm,this.updater=i||um}hr.prototype.isReactComponent={};hr.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")};hr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hm(){}hm.prototype=hr.prototype;function Gc(e,t,i){this.props=e,this.context=t,this.refs=fm,this.updater=i||um}var Kc=Gc.prototype=new hm;Kc.constructor=Gc;cm(Kc,hr.prototype);Kc.isPureReactComponent=!0;var md=Array.isArray,dm=Object.prototype.hasOwnProperty,Qc={current:null},pm={key:!0,ref:!0,__self:!0,__source:!0};function mm(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)dm.call(t,r)&&!pm.hasOwnProperty(r)&&(s[r]=t[r]);var f=arguments.length-2;if(f===1)s.children=i;else if(1>>1,oe=M[V];if(0>>1;Vs(re,b))ses(Qe,re)?(M[V]=Qe,M[se]=b,V=se):(M[V]=re,M[ce]=b,V=ce);else if(ses(Qe,b))M[V]=Qe,M[se]=b,V=se;else break e}}return G}function s(M,G){var b=M.sortIndex-G.sortIndex;return b!==0?b:M.id-G.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,y=null,w=3,N=!1,P=!1,S=!1,I=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function T(M){for(var G=i(p);G!==null;){if(G.callback===null)r(p);else if(G.startTime<=M)r(p),G.sortIndex=G.expirationTime,t(d,G);else break;G=i(p)}}function C(M){if(S=!1,T(M),!P)if(i(d)!==null)P=!0,je(D);else{var G=i(p);G!==null&&Kt(C,G.startTime-M)}}function D(M,G){P=!1,S&&(S=!1,x($),$=-1),N=!0;var b=w;try{for(T(G),y=i(d);y!==null&&(!(y.expirationTime>G)||M&&!Y());){var V=y.callback;if(typeof V=="function"){y.callback=null,w=y.priorityLevel;var oe=V(y.expirationTime<=G);G=e.unstable_now(),typeof oe=="function"?y.callback=oe:y===i(d)&&r(d),T(G)}else r(d);y=i(d)}if(y!==null)var Ce=!0;else{var ce=i(p);ce!==null&&Kt(C,ce.startTime-G),Ce=!1}return Ce}finally{y=null,w=b,N=!1}}var Z=!1,U=null,$=-1,te=5,W=-1;function Y(){return!(e.unstable_now()-WM||125V?(M.sortIndex=b,t(p,M),i(d)===null&&M===i(p)&&(S?(x($),$=-1):S=!0,Kt(C,b-V))):(M.sortIndex=oe,t(d,M),P||N||(P=!0,je(D))),M},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(M){var G=w;return function(){var b=w;w=G;try{return M.apply(this,arguments)}finally{w=b}}}})(ym);gm.exports=ym;var r0=gm.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 wm=j,st=r0;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"),Uu=Object.prototype.hasOwnProperty,o0=/^[: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]*$/,vd={},gd={};function s0(e){return Uu.call(gd,e)?!0:Uu.call(vd,e)?!1:o0.test(e)?gd[e]=!0:(vd[e]=!0,!1)}function a0(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 l0(e,t,i,r){if(t===null||typeof t>"u"||a0(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 Ke(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 Be={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Be[e]=new Ke(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Be[t]=new Ke(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Be[e]=new Ke(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Be[e]=new Ke(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){Be[e]=new Ke(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Be[e]=new Ke(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Be[e]=new Ke(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Be[e]=new Ke(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Be[e]=new Ke(e,5,!1,e.toLowerCase(),null,!1,!1)});var Yc=/[\-:]([a-z])/g;function Xc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Yc,Xc);Be[t]=new Ke(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(Yc,Xc);Be[t]=new Ke(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(Yc,Xc);Be[t]=new Ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Be[e]=new Ke(e,1,!1,e.toLowerCase(),null,!1,!1)});Be.xlinkHref=new Ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Be[e]=new Ke(e,1,!1,e.toLowerCase(),null,!0,!0)});function Jc(e,t,i,r){var s=Be.hasOwnProperty(t)?Be[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{nu=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?Hr(e):""}function u0(e){switch(e.tag){case 5:return Hr(e.type);case 16:return Hr("Lazy");case 13:return Hr("Suspense");case 19:return Hr("SuspenseList");case 0:case 2:case 15:return e=iu(e.type,!1),e;case 11:return e=iu(e.type.render,!1),e;case 1:return e=iu(e.type,!0),e;default:return""}}function Hu(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 Ai:return"Fragment";case Mi:return"Portal";case Fu:return"Profiler";case ef:return"StrictMode";case Zu:return"Suspense";case $u:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Pm:return(e.displayName||"Context")+".Consumer";case Em:return(e._context.displayName||"Context")+".Provider";case tf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nf:return t=e.displayName||null,t!==null?t:Hu(e.type)||"Memo";case En:t=e._payload,e=e._init;try{return Hu(e(t))}catch{}}return null}function c0(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 Hu(t);case 8:return t===ef?"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 Bn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Tm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function f0(e){var t=Tm(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 cs(e){e._valueTracker||(e._valueTracker=f0(e))}function Lm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),r="";return e&&(r=Tm(e)?e.checked?"true":"false":e.value),e=r,e!==i?(t.setValue(e),!0):!1}function Us(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Wu(e,t){var i=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function wd(e,t){var i=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;i=Bn(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 Nm(e,t){t=t.checked,t!=null&&Jc(e,"checked",t,!1)}function Vu(e,t){Nm(e,t);var i=Bn(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")?Gu(e,t.type,i):t.hasOwnProperty("defaultValue")&&Gu(e,t.type,Bn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function xd(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 Gu(e,t,i){(t!=="number"||Us(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Wr=Array.isArray;function Wi(e,t,i,r){if(e=e.options,t){t={};for(var s=0;s"+t.valueOf().toString()+"",t=fs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ao(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var qr={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},h0=["Webkit","ms","Moz","O"];Object.keys(qr).forEach(function(e){h0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qr[t]=qr[e]})});function Rm(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||qr.hasOwnProperty(e)&&qr[e]?(""+t).trim():t+"px"}function Mm(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var r=i.indexOf("--")===0,s=Rm(i,t[i],r);i==="float"&&(i="cssFloat"),r?e.setProperty(i,s):e[i]=s}}var d0=ye({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 qu(e,t){if(t){if(d0[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 Yu(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 Xu=null;function rf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ju=null,Vi=null,Gi=null;function Sd(e){if(e=Ao(e)){if(typeof Ju!="function")throw Error(z(280));var t=e.stateNode;t&&(t=Ta(t),Ju(e.stateNode,e.type,t))}}function Am(e){Vi?Gi?Gi.push(e):Gi=[e]:Vi=e}function Im(){if(Vi){var e=Vi,t=Gi;if(Gi=Vi=null,Sd(e),t)for(e=0;e>>=0,e===0?32:31-(S0(e)/T0|0)|0}var hs=64,ds=4194304;function Vr(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 Hs(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=Vr(f):(a&=u,a!==0&&(r=Vr(a)))}else u=i&~s,u!==0?r=Vr(u):a!==0&&(r=Vr(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-Rt(t),e[t]=i}function O0(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=Xr),Ad=String.fromCharCode(32),Id=!1;function e_(e,t){switch(e){case"keyup":return iw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function t_(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ii=!1;function ow(e,t){switch(e){case"compositionend":return t_(t);case"keypress":return t.which!==32?null:(Id=!0,Ad);case"textInput":return e=t.data,e===Ad&&Id?null:e;default:return null}}function sw(e,t){if(Ii)return e==="compositionend"||!hf&&e_(e,t)?(e=Xm(),ks=uf=Nn=null,Ii=!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=bd(i)}}function o_(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?o_(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function s_(){for(var e=window,t=Us();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Us(e.document)}return t}function df(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 mw(e){var t=s_(),i=e.focusedElem,r=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&o_(i.ownerDocument.documentElement,i)){if(r!==null&&df(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=Bd(i,a);var u=Bd(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,zi=null,oc=null,eo=null,sc=!1;function Ud(e,t,i){var r=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;sc||zi==null||zi!==Us(r)||(r=zi,"selectionStart"in r&&df(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}),eo&&po(eo,r)||(eo=r,r=Gs(oc,"onSelect"),0bi||(e.current=hc[bi],hc[bi]=null,bi--)}function fe(e,t){bi++,hc[bi]=e.current,e.current=t}var Un={},He=Hn(Un),Xe=Hn(!1),ai=Un;function tr(e,t){var i=e.type.contextTypes;if(!i)return Un;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 Je(e){return e=e.childContextTypes,e!=null}function Qs(){de(Xe),de(He)}function Gd(e,t,i){if(He.current!==Un)throw Error(z(168));fe(He,t),fe(Xe,i)}function m_(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,c0(e)||"Unknown",s));return ye({},i,r)}function qs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Un,ai=He.current,fe(He,e),fe(Xe,Xe.current),!0}function Kd(e,t,i){var r=e.stateNode;if(!r)throw Error(z(169));i?(e=m_(e,t,ai),r.__reactInternalMemoizedMergedChildContext=e,de(Xe),de(He),fe(He,e)):de(Xe),fe(Xe,i)}var nn=null,La=!1,vu=!1;function __(e){nn===null?nn=[e]:nn.push(e)}function Nw(e){La=!0,__(e)}function Wn(){if(!vu&&nn!==null){vu=!0;var e=0,t=ae;try{var i=nn;for(ae=1;e>=u,s-=u,rn=1<<32-Rt(t)+s|i<$?(te=U,U=null):te=U.sibling;var W=w(x,U,T[$],C);if(W===null){U===null&&(U=te);break}e&&U&&W.alternate===null&&t(x,U),g=a(W,g,$),Z===null?D=W:Z.sibling=W,Z=W,U=te}if($===T.length)return i(x,U),me&&Jn(x,$),D;if(U===null){for(;$$?(te=U,U=null):te=U.sibling;var Y=w(x,U,W.value,C);if(Y===null){U===null&&(U=te);break}e&&U&&Y.alternate===null&&t(x,U),g=a(Y,g,$),Z===null?D=Y:Z.sibling=Y,Z=Y,U=te}if(W.done)return i(x,U),me&&Jn(x,$),D;if(U===null){for(;!W.done;$++,W=T.next())W=y(x,W.value,C),W!==null&&(g=a(W,g,$),Z===null?D=W:Z.sibling=W,Z=W);return me&&Jn(x,$),D}for(U=r(x,U);!W.done;$++,W=T.next())W=N(U,x,$,W.value,C),W!==null&&(e&&W.alternate!==null&&U.delete(W.key===null?$:W.key),g=a(W,g,$),Z===null?D=W:Z.sibling=W,Z=W);return e&&U.forEach(function(Te){return t(x,Te)}),me&&Jn(x,$),D}function I(x,g,T,C){if(typeof T=="object"&&T!==null&&T.type===Ai&&T.key===null&&(T=T.props.children),typeof T=="object"&&T!==null){switch(T.$$typeof){case us:e:{for(var D=T.key,Z=g;Z!==null;){if(Z.key===D){if(D=T.type,D===Ai){if(Z.tag===7){i(x,Z.sibling),g=s(Z,T.props.children),g.return=x,x=g;break e}}else if(Z.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===En&&tp(D)===Z.type){i(x,Z.sibling),g=s(Z,T.props),g.ref=Ur(x,Z,T),g.return=x,x=g;break e}i(x,Z);break}else t(x,Z);Z=Z.sibling}T.type===Ai?(g=si(T.props.children,x.mode,C,T.key),g.return=x,x=g):(C=js(T.type,T.key,T.props,null,x.mode,C),C.ref=Ur(x,g,T),C.return=x,x=C)}return u(x);case Mi:e:{for(Z=T.key;g!==null;){if(g.key===Z)if(g.tag===4&&g.stateNode.containerInfo===T.containerInfo&&g.stateNode.implementation===T.implementation){i(x,g.sibling),g=s(g,T.children||[]),g.return=x,x=g;break e}else{i(x,g);break}else t(x,g);g=g.sibling}g=Tu(T,x.mode,C),g.return=x,x=g}return u(x);case En:return Z=T._init,I(x,g,Z(T._payload),C)}if(Wr(T))return P(x,g,T,C);if(zr(T))return S(x,g,T,C);ws(x,T)}return typeof T=="string"&&T!==""||typeof T=="number"?(T=""+T,g!==null&&g.tag===6?(i(x,g.sibling),g=s(g,T),g.return=x,x=g):(i(x,g),g=Su(T,x.mode,C),g.return=x,x=g),u(x)):i(x,g)}return I}var ir=S_(!0),T_=S_(!1),Io={},Wt=Hn(Io),go=Hn(Io),yo=Hn(Io);function ri(e){if(e===Io)throw Error(z(174));return e}function Ef(e,t){switch(fe(yo,t),fe(go,e),fe(Wt,Io),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Qu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Qu(t,e)}de(Wt),fe(Wt,t)}function rr(){de(Wt),de(go),de(yo)}function L_(e){ri(yo.current);var t=ri(Wt.current),i=Qu(t,e.type);t!==i&&(fe(go,e),fe(Wt,i))}function Pf(e){go.current===e&&(de(Wt),de(go))}var ve=Hn(0);function na(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 gu=[];function Sf(){for(var e=0;ei?i:4,e(!0);var r=yu.transition;yu.transition={};try{e(!1),t()}finally{ae=i,yu.transition=r}}function Z_(){return xt().memoizedState}function Rw(e,t,i){var r=jn(e);if(i={lane:r,action:i,hasEagerState:!1,eagerState:null,next:null},$_(e))H_(t,i);else if(i=w_(e,t,i,r),i!==null){var s=Ve();Mt(i,e,r,s),W_(i,t,r)}}function Mw(e,t,i){var r=jn(e),s={lane:r,action:i,hasEagerState:!1,eagerState:null,next:null};if($_(e))H_(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,At(f,u)){var d=t.interleaved;d===null?(s.next=s,wf(t)):(s.next=d.next,d.next=s),t.interleaved=s;return}}catch{}finally{}i=w_(e,t,s,r),i!==null&&(s=Ve(),Mt(i,e,r,s),W_(i,t,r))}}function $_(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function H_(e,t){to=ia=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function W_(e,t,i){if(i&4194240){var r=t.lanes;r&=e.pendingLanes,i|=r,t.lanes=i,sf(e,i)}}var ra={readContext:wt,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useInsertionEffect:Ue,useLayoutEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useMutableSource:Ue,useSyncExternalStore:Ue,useId:Ue,unstable_isNewReconciler:!1},Aw={readContext:wt,useCallback:function(e,t){return Ft().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:ip,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,Ms(4194308,4,D_.bind(null,t,e),i)},useLayoutEffect:function(e,t){return Ms(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ms(4,2,e,t)},useMemo:function(e,t){var i=Ft();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var r=Ft();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=Rw.bind(null,ge,e),[r.memoizedState,e]},useRef:function(e){var t=Ft();return e={current:e},t.memoizedState=e},useState:np,useDebugValue:Of,useDeferredValue:function(e){return Ft().memoizedState=e},useTransition:function(){var e=np(!1),t=e[0];return e=Cw.bind(null,e[1]),Ft().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var r=ge,s=Ft();if(me){if(i===void 0)throw Error(z(407));i=i()}else{if(i=t(),Ie===null)throw Error(z(349));ui&30||O_(r,t,i)}s.memoizedState=i;var a={value:i,getSnapshot:t};return s.queue=a,ip(R_.bind(null,r,a,e),[e]),r.flags|=2048,Eo(9,C_.bind(null,r,a,i,t),void 0,null),i},useId:function(){var e=Ft(),t=Ie.identifierPrefix;if(me){var i=on,r=rn;i=(r&~(1<<32-Rt(r)-1)).toString(32)+i,t=":"+t+"R"+i,i=wo++,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[Zt]=t,e[vo]=r,ev(e,t,!1,!1),t.stateNode=e;e:{switch(u=Yu(i,r),i){case"dialog":he("cancel",e),he("close",e),s=r;break;case"iframe":case"object":case"embed":he("load",e),s=r;break;case"video":case"audio":for(s=0;ssr&&(t.flags|=128,r=!0,Fr(a,!1),t.lanes=4194304)}else{if(!r)if(e=na(u),e!==null){if(t.flags|=128,r=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),Fr(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!me)return Fe(t),null}else 2*Pe()-a.renderingStartTime>sr&&i!==1073741824&&(t.flags|=128,r=!0,Fr(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=Pe(),t.sibling=null,i=ve.current,fe(ve,r?i&1|2:i&1),t):(Fe(t),null);case 22:case 23:return zf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tt&1073741824&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),null;case 24:return null;case 25:return null}throw Error(z(156,t.tag))}function Fw(e,t){switch(mf(t),t.tag){case 1:return Je(t.type)&&Qs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return rr(),de(Xe),de(He),Sf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pf(t),null;case 13:if(de(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));nr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return de(ve),null;case 4:return rr(),null;case 10:return yf(t.type._context),null;case 22:case 23:return zf(),null;case 24:return null;default:return null}}var Es=!1,$e=!1,Zw=typeof WeakSet=="function"?WeakSet:Set,F=null;function Zi(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(r){xe(e,t,r)}else i.current=null}function Sc(e,t,i){try{i()}catch(r){xe(e,t,r)}}var hp=!1;function $w(e,t){if(ac=Ws,e=s_(),df(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,y=e,w=null;t:for(;;){for(var N;y!==i||s!==0&&y.nodeType!==3||(f=u+s),y!==a||r!==0&&y.nodeType!==3||(d=u+r),y.nodeType===3&&(u+=y.nodeValue.length),(N=y.firstChild)!==null;)w=y,y=N;for(;;){if(y===e)break t;if(w===i&&++p===s&&(f=u),w===a&&++_===r&&(d=u),(N=y.nextSibling)!==null)break;y=w,w=y.parentNode}y=N}i=f===-1||d===-1?null:{start:f,end:d}}else i=null}i=i||{start:0,end:0}}else i=null;for(lc={focusedElem:e,selectionRange:i},Ws=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var P=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(P!==null){var S=P.memoizedProps,I=P.memoizedState,x=t.stateNode,g=x.getSnapshotBeforeUpdate(t.elementType===t.type?S:Nt(t.type,S),I);x.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var T=t.stateNode.containerInfo;T.nodeType===1?T.textContent="":T.nodeType===9&&T.documentElement&&T.removeChild(T.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(z(163))}}catch(C){xe(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return P=hp,hp=!1,P}function no(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&&Sc(t,i,a)}s=s.next}while(s!==r)}}function Oa(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 Tc(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 iv(e){var t=e.alternate;t!==null&&(e.alternate=null,iv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Zt],delete t[vo],delete t[fc],delete t[Tw],delete t[Lw])),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 rv(e){return e.tag===5||e.tag===3||e.tag===4}function dp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rv(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 Lc(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=Ks));else if(r!==4&&(e=e.child,e!==null))for(Lc(e,t,i),e=e.sibling;e!==null;)Lc(e,t,i),e=e.sibling}function Nc(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(Nc(e,t,i),e=e.sibling;e!==null;)Nc(e,t,i),e=e.sibling}var De=null,kt=!1;function wn(e,t,i){for(i=i.child;i!==null;)ov(e,t,i),i=i.sibling}function ov(e,t,i){if(Ht&&typeof Ht.onCommitFiberUnmount=="function")try{Ht.onCommitFiberUnmount(xa,i)}catch{}switch(i.tag){case 5:$e||Zi(i,t);case 6:var r=De,s=kt;De=null,wn(e,t,i),De=r,kt=s,De!==null&&(kt?(e=De,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):De.removeChild(i.stateNode));break;case 18:De!==null&&(kt?(e=De,i=i.stateNode,e.nodeType===8?_u(e.parentNode,i):e.nodeType===1&&_u(e,i),fo(e)):_u(De,i.stateNode));break;case 4:r=De,s=kt,De=i.stateNode.containerInfo,kt=!0,wn(e,t,i),De=r,kt=s;break;case 0:case 11:case 14:case 15:if(!$e&&(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)&&Sc(i,t,u),s=s.next}while(s!==r)}wn(e,t,i);break;case 1:if(!$e&&(Zi(i,t),r=i.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=i.memoizedProps,r.state=i.memoizedState,r.componentWillUnmount()}catch(f){xe(i,t,f)}wn(e,t,i);break;case 21:wn(e,t,i);break;case 22:i.mode&1?($e=(r=$e)||i.memoizedState!==null,wn(e,t,i),$e=r):wn(e,t,i);break;default:wn(e,t,i)}}function pp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Zw),t.forEach(function(r){var s=Xw.bind(null,e,r);i.has(r)||(i.add(r),r.then(s,s))})}}function Lt(e,t){var i=t.deletions;if(i!==null)for(var r=0;rs&&(s=u),r&=~a}if(r=s,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ww(r/1960))-r,10e?16:e,kn===null)var r=!1;else{if(e=kn,kn=null,aa=0,ee&6)throw Error(z(331));var s=ee;for(ee|=4,F=e.current;F!==null;){var a=F,u=a.child;if(F.flags&16){var f=a.deletions;if(f!==null){for(var d=0;dPe()-Af?oi(e,0):Mf|=i),et(e,t)}function dv(e,t){t===0&&(e.mode&1?(t=ds,ds<<=1,!(ds&130023424)&&(ds=4194304)):t=1);var i=Ve();e=cn(e,t),e!==null&&(Ro(e,t,i),et(e,i))}function Yw(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),dv(e,i)}function Xw(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),dv(e,i)}var pv;pv=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xe.current)Ye=!0;else{if(!(e.lanes&i)&&!(t.flags&128))return Ye=!1,Bw(e,t,i);Ye=!!(e.flags&131072)}else Ye=!1,me&&t.flags&1048576&&v_(t,Xs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;As(e,t),e=t.pendingProps;var s=tr(t,He.current);Qi(t,i),s=Lf(null,t,r,e,s,i);var a=Nf();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,Je(r)?(a=!0,qs(t)):a=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,xf(t),s.updater=Na,t.stateNode=s,s._reactInternals=t,vc(t,r,e,i),t=wc(null,t,r,!0,a,i)):(t.tag=0,me&&a&&pf(t),We(null,t,s,i),t=t.child),t;case 16:r=t.elementType;e:{switch(As(e,t),e=t.pendingProps,s=r._init,r=s(r._payload),t.type=r,s=t.tag=e1(r),e=Nt(r,e),s){case 0:t=yc(null,t,r,e,i);break e;case 1:t=up(null,t,r,e,i);break e;case 11:t=ap(null,t,r,e,i);break e;case 14:t=lp(null,t,r,Nt(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:Nt(r,s),yc(e,t,r,s,i);case 1:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Nt(r,s),up(e,t,r,s,i);case 3:e:{if(Y_(t),e===null)throw Error(z(387));r=t.pendingProps,a=t.memoizedState,s=a.element,x_(e,t),ta(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=or(Error(z(423)),t),t=cp(e,t,r,i,s);break e}else if(r!==s){s=or(Error(z(424)),t),t=cp(e,t,r,i,s);break e}else for(it=An(t.stateNode.containerInfo.firstChild),rt=t,me=!0,Ot=null,i=T_(t,null,r,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(nr(),r===s){t=fn(e,t,i);break e}We(e,t,r,i)}t=t.child}return t;case 5:return L_(t),e===null&&pc(t),r=t.type,s=t.pendingProps,a=e!==null?e.memoizedProps:null,u=s.children,uc(r,s)?u=null:a!==null&&uc(r,a)&&(t.flags|=32),q_(e,t),We(e,t,u,i),t.child;case 6:return e===null&&pc(t),null;case 13:return X_(e,t,i);case 4:return Ef(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ir(t,null,r,i):We(e,t,r,i),t.child;case 11:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Nt(r,s),ap(e,t,r,s,i);case 7:return We(e,t,t.pendingProps,i),t.child;case 8:return We(e,t,t.pendingProps.children,i),t.child;case 12:return We(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,fe(Js,r._currentValue),r._currentValue=u,a!==null)if(At(a.value,u)){if(a.children===s.children&&!Xe.current){t=fn(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=sn(-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),mc(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),mc(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}We(e,t,s.children,i),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Qi(t,i),s=wt(s),r=r(s),t.flags|=1,We(e,t,r,i),t.child;case 14:return r=t.type,s=Nt(r,t.pendingProps),s=Nt(r.type,s),lp(e,t,r,s,i);case 15:return K_(e,t,t.type,t.pendingProps,i);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Nt(r,s),As(e,t),t.tag=1,Je(r)?(e=!0,qs(t)):e=!1,Qi(t,i),P_(t,r,s),vc(t,r,s,i),wc(null,t,r,!0,e,i);case 19:return J_(e,t,i);case 22:return Q_(e,t,i)}throw Error(z(156,t.tag))};function mv(e,t){return Fm(e,t)}function Jw(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 vt(e,t,i,r){return new Jw(e,t,i,r)}function Df(e){return e=e.prototype,!(!e||!e.isReactComponent)}function e1(e){if(typeof e=="function")return Df(e)?1:0;if(e!=null){if(e=e.$$typeof,e===tf)return 11;if(e===nf)return 14}return 2}function Dn(e,t){var i=e.alternate;return i===null?(i=vt(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 js(e,t,i,r,s,a){var u=2;if(r=e,typeof e=="function")Df(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Ai:return si(i.children,s,a,t);case ef:u=8,s|=8;break;case Fu:return e=vt(12,i,t,s|2),e.elementType=Fu,e.lanes=a,e;case Zu:return e=vt(13,i,t,s),e.elementType=Zu,e.lanes=a,e;case $u:return e=vt(19,i,t,s),e.elementType=$u,e.lanes=a,e;case Sm:return Ra(i,s,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Em:u=10;break e;case Pm:u=9;break e;case tf:u=11;break e;case nf:u=14;break e;case En:u=16,r=null;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=vt(u,i,t,s),t.elementType=e,t.type=r,t.lanes=a,t}function si(e,t,i,r){return e=vt(7,e,r,t),e.lanes=i,e}function Ra(e,t,i,r){return e=vt(22,e,r,t),e.elementType=Sm,e.lanes=i,e.stateNode={isHidden:!1},e}function Su(e,t,i){return e=vt(6,e,null,t),e.lanes=i,e}function Tu(e,t,i){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function t1(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=ou(0),this.expirationTimes=ou(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ou(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function bf(e,t,i,r,s,a,u,f,d){return e=new t1(e,t,i,f,d),t===1?(t=1,a===!0&&(t|=8)):t=0,a=vt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},xf(a),e}function n1(e,t,i){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yv)}catch(e){console.error(e)}}yv(),vm.exports=lt;var wv=vm.exports,Ep=wv;Bu.createRoot=Ep.createRoot,Bu.hydrateRoot=Ep.hydrateRoot;var ja=(e=>(e.favourites="favorites__places",e.nearest="near-places__list places__list",e.standart="cities__places-list places__list tabs__content",e))(ja||{});const a1=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"]]),nt={POPULAR:"Popular",LOW_TO_HIGH:"Price: low to high",HIGH_TO_LOW:"Price: high to low",TOP_RATED:"Top rated first"},Pp={[nt.LOW_TO_HIGH]:e=>e.sort((t,i)=>t.price-i.price),[nt.HIGH_TO_LOW]:e=>e.sort((t,i)=>i.price-t.price),[nt.TOP_RATED]:e=>e.sort((t,i)=>i.rating-t.rating)},l1=(e,t)=>{if(Pp[t])return Pp[t](e);if(t===nt.POPULAR)return e},xv=e=>`${e/5*100}%`;var Ev={exports:{}},Pv={};/** + * @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 ar=j;function u1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var c1=typeof Object.is=="function"?Object.is:u1,f1=ar.useState,h1=ar.useEffect,d1=ar.useLayoutEffect,p1=ar.useDebugValue;function m1(e,t){var i=t(),r=f1({inst:{value:i,getSnapshot:t}}),s=r[0].inst,a=r[1];return d1(function(){s.value=i,s.getSnapshot=t,Lu(s)&&a({inst:s})},[e,i,t]),h1(function(){return Lu(s)&&a({inst:s}),e(function(){Lu(s)&&a({inst:s})})},[e]),p1(i),i}function Lu(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!c1(e,i)}catch{return!0}}function _1(e,t){return t()}var v1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_1:m1;Pv.useSyncExternalStore=ar.useSyncExternalStore!==void 0?ar.useSyncExternalStore:v1;Ev.exports=Pv;var g1=Ev.exports,Sv={exports:{}},Tv={};/** + * @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 Da=j,y1=g1;function w1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var x1=typeof Object.is=="function"?Object.is:w1,E1=y1.useSyncExternalStore,P1=Da.useRef,S1=Da.useEffect,T1=Da.useMemo,L1=Da.useDebugValue;Tv.useSyncExternalStoreWithSelector=function(e,t,i,r,s){var a=P1(null);if(a.current===null){var u={hasValue:!1,value:null};a.current=u}else u=a.current;a=T1(function(){function d(N){if(!p){if(p=!0,_=N,N=r(N),s!==void 0&&u.hasValue){var P=u.value;if(s(P,N))return y=P}return y=N}if(P=y,x1(_,N))return P;var S=r(N);return s!==void 0&&s(P,S)?P:(_=N,y=S)}var p=!1,_,y,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=E1(e,a[0],a[1]);return S1(function(){u.hasValue=!0,u.value=f},[f]),L1(f),f};Sv.exports=Tv;var N1=Sv.exports;function k1(e){e()}let Lv=k1;const O1=e=>Lv=e,C1=()=>Lv,Sp=Symbol.for("react-redux-context"),Tp=typeof globalThis<"u"?globalThis:{};function R1(){var e;if(!j.createContext)return{};const t=(e=Tp[Sp])!=null?e:Tp[Sp]=new Map;let i=t.get(j.createContext);return i||(i=j.createContext(null),t.set(j.createContext,i)),i}const Fn=R1();function Zf(e=Fn){return function(){return j.useContext(e)}}const Nv=Zf(),M1=()=>{throw new Error("uSES not initialized!")};let kv=M1;const A1=e=>{kv=e},I1=(e,t)=>e===t;function z1(e=Fn){const t=e===Fn?Nv:Zf(e);return function(r,s={}){const{equalityFn:a=I1,stabilityCheck:u=void 0,noopCheck:f=void 0}=typeof s=="function"?{equalityFn:s}:s,{store:d,subscription:p,getServerState:_,stabilityCheck:y,noopCheck:w}=t();j.useRef(!0);const N=j.useCallback({[r.name](S){return r(S)}}[r.name],[r,y,u]),P=kv(p.addNestedSub,d.getState,_||d.getState,N,a);return j.useDebugValue(P),P}}const j1=z1();var Ov={exports:{}},le={};/** @license React v16.13.1 + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ze=typeof Symbol=="function"&&Symbol.for,$f=ze?Symbol.for("react.element"):60103,Hf=ze?Symbol.for("react.portal"):60106,ba=ze?Symbol.for("react.fragment"):60107,Ba=ze?Symbol.for("react.strict_mode"):60108,Ua=ze?Symbol.for("react.profiler"):60114,Fa=ze?Symbol.for("react.provider"):60109,Za=ze?Symbol.for("react.context"):60110,Wf=ze?Symbol.for("react.async_mode"):60111,$a=ze?Symbol.for("react.concurrent_mode"):60111,Ha=ze?Symbol.for("react.forward_ref"):60112,Wa=ze?Symbol.for("react.suspense"):60113,D1=ze?Symbol.for("react.suspense_list"):60120,Va=ze?Symbol.for("react.memo"):60115,Ga=ze?Symbol.for("react.lazy"):60116,b1=ze?Symbol.for("react.block"):60121,B1=ze?Symbol.for("react.fundamental"):60117,U1=ze?Symbol.for("react.responder"):60118,F1=ze?Symbol.for("react.scope"):60119;function ct(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case $f:switch(e=e.type,e){case Wf:case $a:case ba:case Ua:case Ba:case Wa:return e;default:switch(e=e&&e.$$typeof,e){case Za:case Ha:case Ga:case Va:case Fa:return e;default:return t}}case Hf:return t}}}function Cv(e){return ct(e)===$a}le.AsyncMode=Wf;le.ConcurrentMode=$a;le.ContextConsumer=Za;le.ContextProvider=Fa;le.Element=$f;le.ForwardRef=Ha;le.Fragment=ba;le.Lazy=Ga;le.Memo=Va;le.Portal=Hf;le.Profiler=Ua;le.StrictMode=Ba;le.Suspense=Wa;le.isAsyncMode=function(e){return Cv(e)||ct(e)===Wf};le.isConcurrentMode=Cv;le.isContextConsumer=function(e){return ct(e)===Za};le.isContextProvider=function(e){return ct(e)===Fa};le.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$f};le.isForwardRef=function(e){return ct(e)===Ha};le.isFragment=function(e){return ct(e)===ba};le.isLazy=function(e){return ct(e)===Ga};le.isMemo=function(e){return ct(e)===Va};le.isPortal=function(e){return ct(e)===Hf};le.isProfiler=function(e){return ct(e)===Ua};le.isStrictMode=function(e){return ct(e)===Ba};le.isSuspense=function(e){return ct(e)===Wa};le.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ba||e===$a||e===Ua||e===Ba||e===Wa||e===D1||typeof e=="object"&&e!==null&&(e.$$typeof===Ga||e.$$typeof===Va||e.$$typeof===Fa||e.$$typeof===Za||e.$$typeof===Ha||e.$$typeof===B1||e.$$typeof===U1||e.$$typeof===F1||e.$$typeof===b1)};le.typeOf=ct;Ov.exports=le;var Z1=Ov.exports,Rv=Z1,$1={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},H1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mv={};Mv[Rv.ForwardRef]=$1;Mv[Rv.Memo]=H1;var ue={};/** + * @license React + * react-is.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Vf=Symbol.for("react.element"),Gf=Symbol.for("react.portal"),Ka=Symbol.for("react.fragment"),Qa=Symbol.for("react.strict_mode"),qa=Symbol.for("react.profiler"),Ya=Symbol.for("react.provider"),Xa=Symbol.for("react.context"),W1=Symbol.for("react.server_context"),Ja=Symbol.for("react.forward_ref"),el=Symbol.for("react.suspense"),tl=Symbol.for("react.suspense_list"),nl=Symbol.for("react.memo"),il=Symbol.for("react.lazy"),V1=Symbol.for("react.offscreen"),Av;Av=Symbol.for("react.module.reference");function Et(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Vf:switch(e=e.type,e){case Ka:case qa:case Qa:case el:case tl:return e;default:switch(e=e&&e.$$typeof,e){case W1:case Xa:case Ja:case il:case nl:case Ya:return e;default:return t}}case Gf:return t}}}ue.ContextConsumer=Xa;ue.ContextProvider=Ya;ue.Element=Vf;ue.ForwardRef=Ja;ue.Fragment=Ka;ue.Lazy=il;ue.Memo=nl;ue.Portal=Gf;ue.Profiler=qa;ue.StrictMode=Qa;ue.Suspense=el;ue.SuspenseList=tl;ue.isAsyncMode=function(){return!1};ue.isConcurrentMode=function(){return!1};ue.isContextConsumer=function(e){return Et(e)===Xa};ue.isContextProvider=function(e){return Et(e)===Ya};ue.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vf};ue.isForwardRef=function(e){return Et(e)===Ja};ue.isFragment=function(e){return Et(e)===Ka};ue.isLazy=function(e){return Et(e)===il};ue.isMemo=function(e){return Et(e)===nl};ue.isPortal=function(e){return Et(e)===Gf};ue.isProfiler=function(e){return Et(e)===qa};ue.isStrictMode=function(e){return Et(e)===Qa};ue.isSuspense=function(e){return Et(e)===el};ue.isSuspenseList=function(e){return Et(e)===tl};ue.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ka||e===qa||e===Qa||e===el||e===tl||e===V1||typeof e=="object"&&e!==null&&(e.$$typeof===il||e.$$typeof===nl||e.$$typeof===Ya||e.$$typeof===Xa||e.$$typeof===Ja||e.$$typeof===Av||e.getModuleId!==void 0)};ue.typeOf=Et;function G1(){const e=C1();let t=null,i=null;return{clear(){t=null,i=null},notify(){e(()=>{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 Lp={notify(){},get:()=>[]};function K1(e,t){let i,r=Lp,s=0,a=!1;function u(S){_();const I=r.subscribe(S);let x=!1;return()=>{x||(x=!0,I(),y())}}function f(){r.notify()}function d(){P.onStateChange&&P.onStateChange()}function p(){return a}function _(){s++,i||(i=t?t.addNestedSub(d):e.subscribe(d),r=G1())}function y(){s--,i&&s===0&&(i(),i=void 0,r.clear(),r=Lp)}function w(){a||(a=!0,_())}function N(){a&&(a=!1,y())}const P={addNestedSub:u,notifyNestedSubs:f,handleChangeWrapper:d,isSubscribed:p,trySubscribe:w,tryUnsubscribe:N,getListeners:()=>r};return P}const Q1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",q1=Q1?j.useLayoutEffect:j.useEffect;function Y1({store:e,context:t,children:i,serverState:r,stabilityCheck:s="once",noopCheck:a="once"}){const u=j.useMemo(()=>{const p=K1(e);return{store:e,subscription:p,getServerState:r?()=>r:void 0,stabilityCheck:s,noopCheck:a}},[e,r,s,a]),f=j.useMemo(()=>e.getState(),[e]);q1(()=>{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||Fn;return j.createElement(d.Provider,{value:u},i)}function Iv(e=Fn){const t=e===Fn?Nv:Zf(e);return function(){const{store:r}=t();return r}}const X1=Iv();function J1(e=Fn){const t=e===Fn?X1:Iv(e);return function(){return t().dispatch}}const ex=J1();A1(N1.useSyncExternalStoreWithSelector);O1(wv.unstable_batchedUpdates);const Kf=()=>ex(),It=j1;function Ct(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:Qf(e)?2:qf(e)?3:0}function Yi(e,t){return mr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function tx(e,t){return mr(e)===2?e.get(t):e[t]}function zv(e,t,i){var r=mr(e);r===2?e.set(t,i):r===3?e.add(i):e[t]=i}function jv(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Qf(e){return ax&&e instanceof Map}function qf(e){return lx&&e instanceof Set}function ti(e){return e.o||e.t}function Yf(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=bv(e);delete t[pe];for(var i=Xi(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=nx),Object.freeze(e),t&&hi(e,function(i,r){return Xf(r,!0)},!0)),e}function nx(){Ct(2)}function Jf(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Vt(e){var t=zc[e];return t||Ct(18,e),t}function ix(e,t){zc[e]||(zc[e]=t)}function Mc(){return So}function Nu(e,t){t&&(Vt("Patches"),e.u=[],e.s=[],e.v=t)}function ca(e){Ac(e),e.p.forEach(rx),e.p=null}function Ac(e){e===So&&(So=e.l)}function Np(e){return So={p:[],l:So,h:e,m:!0,_:0}}function rx(e){var t=e[pe];t.i===0||t.i===1?t.j():t.g=!0}function ku(e,t){t._=t.p.length;var i=t.p[0],r=e!==void 0&&e!==i;return t.h.O||Vt("ES5").S(t,e,r),r?(i[pe].P&&(ca(t),Ct(4)),hn(e)&&(e=fa(t,e),t.l||ha(t,e)),t.u&&Vt("Patches").M(i[pe].t,e,t.u,t.s)):e=fa(t,i,[]),ca(t),t.u&&t.v(t.u,t.s),e!==Dv?e:void 0}function fa(e,t,i){if(Jf(t))return t;var r=t[pe];if(!r)return hi(t,function(f,d){return kp(e,r,t,f,d,i)},!0),t;if(r.A!==e)return t;if(!r.P)return ha(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var s=r.i===4||r.i===5?r.o=Yf(r.k):r.o,a=s,u=!1;r.i===3&&(a=new Set(s),s.clear(),u=!0),hi(a,function(f,d){return kp(e,r,s,f,d,i,u)}),ha(e,s,!1),i&&e.u&&Vt("Patches").N(r,i,e.u,e.s)}return r.o}function kp(e,t,i,r,s,a,u){if(Zn(s)){var f=fa(e,s,a&&t&&t.i!==3&&!Yi(t.R,r)?a.concat(r):void 0);if(zv(i,r,f),!Zn(f))return;e.m=!1}else u&&i.add(s);if(hn(s)&&!Jf(s)){if(!e.h.D&&e._<1)return;fa(e,s),t&&t.A.l||ha(e,s)}}function ha(e,t,i){i===void 0&&(i=!1),!e.l&&e.h.D&&e.m&&Xf(t,i)}function Ou(e,t){var i=e[pe];return(i?ti(i):e)[t]}function Op(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 Ln(e){e.P||(e.P=!0,e.l&&Ln(e.l))}function Cu(e){e.o||(e.o=Yf(e.t))}function Ic(e,t,i){var r=Qf(t)?Vt("MapSet").F(t,i):qf(t)?Vt("MapSet").T(t,i):e.O?function(s,a){var u=Array.isArray(s),f={i:u?1:0,A:a?a.A:Mc(),P:!1,I:!1,R:{},l:a,t:s,k:null,o:null,j:null,C:!1},d=f,p=To;u&&(d=[f],p=Kr);var _=Proxy.revocable(d,p),y=_.revoke,w=_.proxy;return f.k=w,f.j=y,w}(t,i):Vt("ES5").J(t,i);return(i?i.A:Mc()).p.push(r),r}function ox(e){return Zn(e)||Ct(22,e),function t(i){if(!hn(i))return i;var r,s=i[pe],a=mr(i);if(s){if(!s.P&&(s.i<4||!Vt("ES5").K(s)))return s.t;s.I=!0,r=Cp(i,a),s.I=!1}else r=Cp(i,a);return hi(r,function(u,f){s&&tx(s.t,u)===f||zv(r,u,t(f))}),a===3?new Set(r):r}(e)}function Cp(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Yf(e)}function sx(){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[pe];return To.get(d,a)},set:function(d){var p=this[pe];To.set(p,a,d)}},f}function t(a){for(var u=a.length-1;u>=0;u--){var f=a[u][pe];if(!f.P)switch(f.i){case 5:r(f)&&Ln(f);break;case 4:i(f)&&Ln(f)}}}function i(a){for(var u=a.t,f=a.k,d=Xi(f),p=d.length-1;p>=0;p--){var _=d[p];if(_!==pe){var y=u[_];if(y===void 0&&!Yi(u,_))return!0;var w=f[_],N=w&&w[pe];if(N?N.t!==y:!jv(w,y))return!0}}var P=!!u[pe];return d.length!==Xi(u).length+(P?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?x-1:0),T=1;T1?_-1:0),w=1;w<_;w++)y[w-1]=arguments[w];return r.produceWithPatches(p,function(N){return s.apply(void 0,[N].concat(y))})};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){hn(i)||Ct(8),Zn(i)&&(i=ox(i));var r=Np(this),s=Ic(this,i,void 0);return s[pe].C=!0,Ac(r),s},t.finishDraft=function(i,r){var s=i&&i[pe],a=s.A;return Nu(a,r),ku(void 0,a)},t.setAutoFreeze=function(i){this.D=i},t.setUseProxies=function(i){i&&!Mp&&Ct(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=Vt("Patches").$;return Zn(i)?u(i,r):this.produce(i,function(f){return u(f,r)})},e}(),at=new cx,fx=at.produce;at.produceWithPatches.bind(at);at.setAutoFreeze.bind(at);at.setUseProxies.bind(at);at.applyPatches.bind(at);at.createDraft.bind(at);at.finishDraft.bind(at);const Bv=fx;function Lo(e){"@babel/helpers - typeof";return Lo=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},Lo(e)}function hx(e,t){if(Lo(e)!=="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var r=i.call(e,t||"default");if(Lo(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dx(e){var t=hx(e,"string");return Lo(t)==="symbol"?t:String(t)}function px(e,t,i){return t=dx(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Ip(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 zp(e){for(var t=1;t"u"&&(i=t,t=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(Ze(1));return i(Uv)(e,t)}if(typeof e!="function")throw new Error(Ze(2));var s=e,a=t,u=[],f=u,d=!1;function p(){f===u&&(f=u.slice())}function _(){if(d)throw new Error(Ze(3));return a}function y(S){if(typeof S!="function")throw new Error(Ze(4));if(d)throw new Error(Ze(5));var I=!0;return p(),f.push(S),function(){if(I){if(d)throw new Error(Ze(6));I=!1,p();var g=f.indexOf(S);f.splice(g,1),u=null}}}function w(S){if(!mx(S))throw new Error(Ze(7));if(typeof S.type>"u")throw new Error(Ze(8));if(d)throw new Error(Ze(9));try{d=!0,a=s(a,S)}finally{d=!1}for(var I=u=f,x=0;x"u")throw new Error(Ze(12));if(typeof i(void 0,{type:da.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ze(13))})}function vx(e){for(var t=Object.keys(e),i={},r=0;r"u")throw p&&p.type,new Error(Ze(14));y[N]=I,_=_||I!==S}return _=_||a.length!==Object.keys(d).length,_?y:d}}function pa(){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=ot("CHANGE_SORT_OPTIONS",e=>({payload:e})),jc=ot("CHANGE_HIGHLIGHTED_MARKER",e=>({payload:e})),Vv=ot("LOAD_OFFERS",e=>({payload:e})),Hx=ot("CHANGE_CHOSEN_OFFER",e=>({payload:e})),Dc=ot("SET_QUESTIONS_DATA_LOADING_STATUS",e=>({payload:e})),nh=ot("SET_ERROR",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 No(){return No=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function ih(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Vx(){return Math.random().toString(36).substr(2,8)}function Hp(e,t){return{usr:e.state,key:e.key,idx:t}}function bc(e,t,i,r){return i===void 0&&(i=null),No({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?_r(t):t,{state:i,key:t&&t.key||r||Vx()})}function ma(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 _r(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}function Gx(e,t,i,r){r===void 0&&(r={});let{window:s=document.defaultView,v5Compat:a=!1}=r,u=s.history,f=On.Pop,d=null,p=_();p==null&&(p=0,u.replaceState(No({},u.state,{idx:p}),""));function _(){return(u.state||{idx:null}).idx}function y(){f=On.Pop;let I=_(),x=I==null?null:I-p;p=I,d&&d({action:f,location:S.location,delta:x})}function w(I,x){f=On.Push;let g=bc(S.location,I,x);i&&i(g,I),p=_()+1;let T=Hp(g,p),C=S.createHref(g);try{u.pushState(T,"",C)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(C)}a&&d&&d({action:f,location:S.location,delta:1})}function N(I,x){f=On.Replace;let g=bc(S.location,I,x);i&&i(g,I),p=_();let T=Hp(g,p),C=S.createHref(g);u.replaceState(T,"",C),a&&d&&d({action:f,location:S.location,delta:0})}function P(I){let x=s.location.origin!=="null"?s.location.origin:s.location.href,g=typeof I=="string"?I:ma(I);return Se(x,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,x)}let S={get action(){return f},get location(){return e(s,u)},listen(I){if(d)throw new Error("A history only accepts one active listener");return s.addEventListener($p,y),d=I,()=>{s.removeEventListener($p,y),d=null}},createHref(I){return t(s,I)},createURL:P,encodeLocation(I){let x=P(I);return{pathname:x.pathname,search:x.search,hash:x.hash}},push:w,replace:N,go(I){return u.go(I)}};return S}var Wp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Wp||(Wp={}));function Kx(e,t,i){i===void 0&&(i="/");let r=typeof t=="string"?_r(t):t,s=rh(r.pathname||"/",i);if(s==null)return null;let a=Gv(e);Qx(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("/")&&(Se(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=bn([r,d.relativePath]),_=i.concat(d);a.children&&a.children.length>0&&(Se(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),Gv(a.children,t,_,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:nE(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 Kv(a.path))s(a,u,d)}),t}function Kv(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=Kv(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 Qx(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:iE(t.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}const qx=/^:\w+$/,Yx=3,Xx=2,Jx=1,eE=10,tE=-2,Vp=e=>e==="*";function nE(e,t){let i=e.split("/"),r=i.length;return i.some(Vp)&&(r+=tE),t&&(r+=Xx),i.filter(s=>!Vp(s)).reduce((s,a)=>s+(qx.test(a)?Yx:a===""?Jx:eE),r)}function iE(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 rE(e,t){let{routesMeta:i}=e,r={},s="/",a=[];for(let u=0;u{if(_==="*"){let w=f[y]||"";u=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}return p[_]=lE(f[y]||"",_),p},{}),pathname:a,pathnameBase:u,pattern:e}}function sE(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!0),ih(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 aE(e){try{return decodeURI(e)}catch(t){return ih(!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 lE(e,t){try{return decodeURIComponent(e)}catch(i){return ih(!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 rh(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 uE(e,t){t===void 0&&(t="/");let{pathname:i,search:r="",hash:s=""}=typeof e=="string"?_r(e):e;return{pathname:i?i.startsWith("/")?i:cE(i,t):t,search:hE(r),hash:dE(s)}}function cE(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 Iu(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 oh(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function sh(e,t,i,r){r===void 0&&(r=!1);let s;typeof e=="string"?s=_r(e):(s=No({},e),Se(!s.pathname||!s.pathname.includes("?"),Iu("?","pathname","search",s)),Se(!s.pathname||!s.pathname.includes("#"),Iu("#","pathname","hash",s)),Se(!s.search||!s.search.includes("#"),Iu("#","search","hash",s)));let a=e===""||s.pathname==="",u=a?"/":s.pathname,f;if(r||u==null)f=i;else{let y=t.length-1;if(u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),y-=1;s.pathname=w.join("/")}f=y>=0?t[y]:"/"}let d=uE(s,f),p=u&&u!=="/"&&u.endsWith("/"),_=(a||u===".")&&i.endsWith("/");return!d.pathname.endsWith("/")&&(p||_)&&(d.pathname+="/"),d}const bn=e=>e.join("/").replace(/\/\/+/g,"/"),fE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),hE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,dE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function pE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Qv=["post","put","patch","delete"];new Set(Qv);const mE=["get",...Qv];new Set(mE);/** + * 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 _a(){return _a=Object.assign?Object.assign.bind():function(e){for(var t=1;td.pathnameBase)),u=j.useRef(!1);return Yv(()=>{u.current=!0}),j.useCallback(function(d,p){if(p===void 0&&(p={}),!u.current)return;if(typeof d=="number"){i.go(d);return}let _=sh(d,JSON.parse(a),s,p.relative==="path");e==null&&t!=="/"&&(_.pathname=_.pathname==="/"?t:bn([t,_.pathname])),(p.replace?i.replace:i.push)(_,p.state,p)},[t,i,a,s,e])}function Jv(e,t){let{relative:i}=t===void 0?{}:t,{matches:r}=j.useContext(Vn),{pathname:s}=zo(),a=JSON.stringify(oh(r).map(u=>u.pathnameBase));return j.useMemo(()=>sh(e,JSON.parse(a),s,i==="path"),[e,a,s,i])}function yE(e,t){return wE(e,t)}function wE(e,t,i){gr()||Se(!1);let{navigator:r}=j.useContext(vr),{matches:s}=j.useContext(Vn),a=s[s.length-1],u=a?a.params:{};a&&a.pathname;let f=a?a.pathnameBase:"/";a&&a.route;let d=zo(),p;if(t){var _;let S=typeof t=="string"?_r(t):t;f==="/"||(_=S.pathname)!=null&&_.startsWith(f)||Se(!1),p=S}else p=d;let y=p.pathname||"/",w=f==="/"?y:y.slice(f.length)||"/",N=Kx(e,{pathname:w}),P=TE(N&&N.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:bn([f,r.encodeLocation?r.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?f:bn([f,r.encodeLocation?r.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),s,i);return t&&P?j.createElement(rl.Provider,{value:{location:_a({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:On.Pop}},P):P}function xE(){let e=OE(),t=pE(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 j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},t),i?j.createElement("pre",{style:s},i):null,a)}const EE=j.createElement(xE,null);class PE extends j.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?j.createElement(Vn.Provider,{value:this.props.routeContext},j.createElement(qv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function SE(e){let{routeContext:t,match:i,children:r}=e,s=j.useContext(ah);return s&&s.static&&s.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=i.route.id),j.createElement(Vn.Provider,{value:t},r)}function TE(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||Se(!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,y=null;i&&(y=d.route.errorElement||EE);let w=t.concat(a.slice(0,p+1)),N=()=>{let P;return _?P=y:d.route.Component?P=j.createElement(d.route.Component,null):d.route.element?P=d.route.element:P=f,j.createElement(SE,{match:d,routeContext:{outlet:f,matches:w,isDataRoute:i!=null},children:P})};return i&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?j.createElement(PE,{location:i.location,revalidation:i.revalidation,component:y,error:_,children:N(),routeContext:{outlet:null,matches:w,isDataRoute:!0}}):N()},null)}var eg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(eg||{}),va=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}(va||{});function LE(e){let t=j.useContext(ah);return t||Se(!1),t}function NE(e){let t=j.useContext(_E);return t||Se(!1),t}function kE(e){let t=j.useContext(Vn);return t||Se(!1),t}function tg(e){let t=kE(),i=t.matches[t.matches.length-1];return i.route.id||Se(!1),i.route.id}function OE(){var e;let t=j.useContext(qv),i=NE(va.UseRouteError),r=tg(va.UseRouteError);return t||((e=i.errors)==null?void 0:e[r])}function CE(){let{router:e}=LE(eg.UseNavigateStable),t=tg(va.UseNavigateStable),i=j.useRef(!1);return Yv(()=>{i.current=!0}),j.useCallback(function(s,a){a===void 0&&(a={}),i.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,_a({fromRouteId:t},a)))},[e,t])}function RE(e){let{to:t,replace:i,state:r,relative:s}=e;gr()||Se(!1);let{matches:a}=j.useContext(Vn),{pathname:u}=zo(),f=Xv(),d=sh(t,oh(a).map(_=>_.pathnameBase),u,s==="path"),p=JSON.stringify(d);return j.useEffect(()=>f(JSON.parse(p),{replace:i,state:r,relative:s}),[f,p,s,i,r]),null}function Ri(e){Se(!1)}function ME(e){let{basename:t="/",children:i=null,location:r,navigationType:s=On.Pop,navigator:a,static:u=!1}=e;gr()&&Se(!1);let f=t.replace(/^\/*/,"/"),d=j.useMemo(()=>({basename:f,navigator:a,static:u}),[f,a,u]);typeof r=="string"&&(r=_r(r));let{pathname:p="/",search:_="",hash:y="",state:w=null,key:N="default"}=r,P=j.useMemo(()=>{let S=rh(p,f);return S==null?null:{location:{pathname:S,search:_,hash:y,state:w,key:N},navigationType:s}},[f,p,_,y,w,N,s]);return P==null?null:j.createElement(vr.Provider,{value:d},j.createElement(rl.Provider,{children:i,value:P}))}function AE(e){let{children:t,location:i}=e;return yE(Bc(t),i)}new Promise(()=>{});function Bc(e,t){t===void 0&&(t=[]);let i=[];return j.Children.forEach(e,(r,s)=>{if(!j.isValidElement(r))return;let a=[...t,s];if(r.type===j.Fragment){i.push.apply(i,Bc(r.props.children,a));return}r.type!==Ri&&Se(!1),!r.props.index||!r.props.children||Se(!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=Bc(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 Uc(){return Uc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(i[s]=e[s]);return i}function zE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function jE(e,t){return e.button===0&&(!t||t==="_self")&&!zE(e)}const DE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],bE="startTransition",Gp=Yy[bE];function BE(e){let{basename:t,children:i,future:r,window:s}=e,a=j.useRef();a.current==null&&(a.current=Wx({window:s,v5Compat:!0}));let u=a.current,[f,d]=j.useState({action:u.action,location:u.location}),{v7_startTransition:p}=r||{},_=j.useCallback(y=>{p&&Gp?Gp(()=>d(y)):d(y)},[d,p]);return j.useLayoutEffect(()=>u.listen(_),[u,_]),j.createElement(ME,{basename:t,children:i,location:f.location,navigationType:f.action,navigator:u})}const UE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",FE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ur=j.forwardRef(function(t,i){let{onClick:r,relative:s,reloadDocument:a,replace:u,state:f,target:d,to:p,preventScrollReset:_}=t,y=IE(t,DE),{basename:w}=j.useContext(vr),N,P=!1;if(typeof p=="string"&&FE.test(p)&&(N=p,UE))try{let g=new URL(window.location.href),T=p.startsWith("//")?new URL(g.protocol+p):new URL(p),C=rh(T.pathname,w);T.origin===g.origin&&C!=null?p=C+T.search+T.hash:P=!0}catch{}let S=vE(p,{relative:s}),I=ZE(p,{replace:u,state:f,target:d,preventScrollReset:_,relative:s});function x(g){r&&r(g),g.defaultPrevented||I(g)}return j.createElement("a",Uc({},y,{href:N||S,onClick:P||a?r:x,ref:i,target:d}))});var Kp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(Kp||(Kp={}));var Qp;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Qp||(Qp={}));function ZE(e,t){let{target:i,replace:r,state:s,preventScrollReset:a,relative:u}=t===void 0?{}:t,f=Xv(),d=zo(),p=Jv(e,{relative:u});return j.useCallback(_=>{if(jE(_,i)){_.preventDefault();let y=r!==void 0?r:ma(d)===ma(p);f(e,{replace:y,state:s,preventScrollReset:a,relative:u})}},[d,f,p,r,s,i,e,a,u])}function $E({offer:e,cardType:t}){const i=Kf();return v.jsxs("article",{className:t,onMouseEnter:()=>i(jc(e.location)),onMouseLeave:()=>i(jc(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:xv(e.rating)}}),v.jsx("span",{className:"visually-hidden",children:"Rating"})]})}),v.jsx("h2",{className:"place-card__name",children:v.jsx(ur,{to:`/offer/${e.id}`,children:e.title})}),v.jsx("p",{className:"place-card__type",children:e.type})]})]})}function lh({offers:e,listType:t}){var s;const i=It(a=>a.sortType),r=a1.get(t);return v.jsx("div",{className:t,children:(s=l1(e,i))==null?void 0:s.map(a=>v.jsx($E,{offer:a,cardType:r!==void 0?r:"cities__card place-card"},a.id))})}var Fc={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)})(Iy,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=T(n)?n:[n];for(var o=0;o0?Math.floor(n):Math.ceil(n)};M.prototype={clone:function(){return new M(this.x,this.y)},add:function(n){return this.clone()._add(b(n))},_add:function(n){return this.x+=n.x,this.y+=n.y,this},subtract:function(n){return this.clone()._subtract(b(n))},_subtract:function(n){return this.x-=n.x,this.y-=n.y,this},divideBy:function(n){return this.clone()._divideBy(n)},_divideBy:function(n){return this.x/=n,this.y/=n,this},multiplyBy:function(n){return this.clone()._multiplyBy(n)},_multiplyBy:function(n){return this.x*=n,this.y*=n,this},scaleBy:function(n){return new M(this.x*n.x,this.y*n.y)},unscaleBy:function(n){return new M(this.x/n.x,this.y/n.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=G(this.x),this.y=G(this.y),this},distanceTo:function(n){n=b(n);var o=n.x-this.x,l=n.y-this.y;return Math.sqrt(o*o+l*l)},equals:function(n){return n=b(n),n.x===this.x&&n.y===this.y},contains:function(n){return n=b(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 b(n,o,l){return n instanceof M?n:T(n)?new M(n[0],n[1]):n==null?n:typeof n=="object"&&"x"in n&&"y"in n?new M(n.x,n.y):new M(n,o,l)}function V(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,E=h.y>=o.y&&c.y<=l.y;return m&&E},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=ce(n);var o=this._southWest,l=this._northEast,c=n.getSouthWest(),h=n.getNorthEast(),m=h.lat>=o.lat&&c.lat<=l.lat,E=h.lng>=o.lng&&c.lng<=l.lng;return m&&E},overlaps:function(n){n=ce(n);var o=this._southWest,l=this._northEast,c=n.getSouthWest(),h=n.getNorthEast(),m=h.lat>o.lat&&c.lato.lng&&c.lng1,vi=function(){var n=!1;try{var o=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("testPassiveEventSupport",y,o),window.removeEventListener("testPassiveEventSupport",y,o)}catch{}return n}(),Th=function(){return!!document.createElement("canvas").getContext}(),Fo=!!(document.createElementNS&&vh("svg").createSVGRect),Zo=!Fo&&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 Dt(n){return navigator.userAgent.toLowerCase().indexOf(n)>=0}var Cg={ie:bo,ielt9:mi,edge:Bo,webkit:ml,android:xr,android23:Er,androidStock:yh,opera:_l,chrome:vl,gecko:gl,safari:Uo,phantom:wh,opera12:xh,win:Eh,ie3d:yl,webkit3d:wl,gecko3d:Ph,any3d:ht,mobile:_i,mobileWebkit:Ng,mobileWebkit3d:kg,msPointer:mn,pointer:zt,touch:jt,mobileOpera:Sh,mobileGecko:Og,retina:_n,passiveEvents:vi,canvas:Th,svg:Fo,vml:Zo},xl=mn?"MSPointerDown":"pointerdown",El=mn?"MSPointerMove":"pointermove",Pl=mn?"MSPointerUp":"pointerup",Sl=mn?"MSPointerCancel":"pointercancel",gi={},Lh=!1;function Rg(n,o,l,c){return o==="touchstart"?Ag(n,l,c):o==="touchmove"?jg(n,l,c):o==="touchend"&&Dg(n,l,c),this}function Mg(n,o,l){var c=n["_leaflet_"+o+l];return o==="touchstart"?n.removeEventListener(xl,c,!1):o==="touchmove"?n.removeEventListener(El,c,!1):o==="touchend"&&(n.removeEventListener(Pl,c,!1),n.removeEventListener(Sl,c,!1)),this}function Ag(n,o,l){var c=u(function(h){h.MSPOINTER_TYPE_TOUCH&&h.pointerType===h.MSPOINTER_TYPE_TOUCH&&pt(h),Tl(h,o)});n["_leaflet_touchstart"+l]=c,n.addEventListener(xl,c,!1),Lh||(document.addEventListener(xl,Ig,!0),document.addEventListener(El,zg,!0),document.addEventListener(Pl,Nh,!0),document.addEventListener(Sl,Nh,!0),Lh=!0)}function Ig(n){gi[n.pointerId]=n}function zg(n){gi[n.pointerId]&&(gi[n.pointerId]=n)}function Nh(n){delete gi[n.pointerId]}function Tl(n,o){n.touches=[];for(var l in gi)n.touches.push(gi[l]);n.changedTouches=[n],o(n)}function jg(n,o,l){var c=function(h){h.pointerType===(h.MSPOINTER_TYPE_MOUSE||"mouse")&&h.buttons===0||Tl(h,o)};n["_leaflet_touchmove"+l]=c,n.addEventListener(El,c,!1)}function Dg(n,o,l){var c=function(h){Tl(h,o)};n["_leaflet_touchend"+l]=c,n.addEventListener(Pl,c,!1),n.addEventListener(Sl,c,!1)}var $o=mn?"MSPointerDown":zt?"pointerdown":"touchstart",Ho=mn?"MSPointerUp":zt?"pointerup":"touchend",yi="_leaflet_";function bg(n,o,l){var c,h,m=!1,E=250;function k(A){if(zt){if(!A.isPrimary||A.pointerType==="mouse")return}else if(A.touches.length>1)return;var B=Date.now(),H=B-(c||B);h=A.touches?A.touches[0]:A,m=H>0&&H<=E,c=B}function O(A){if(m&&!h.cancelBubble){if(zt){if(A.pointerType==="mouse")return;var B={},H,ie;for(ie in h)H=h[ie],B[ie]=H&&H.bind?H.bind(h):H;h=B}h.type="dblclick",h.button=0,o(h),c=null}}return n[yi+$o+l]=k,n[yi+Ho+l]=O,n[yi+"dblclick"+l]=o,n.addEventListener($o,k,vi?{passive:!1}:!1),n.addEventListener(Ho,O,vi?{passive:!1}:!1),n.addEventListener("dblclick",o,!1),this}function Bg(n,o){var l=n[yi+$o+o],c=n[yi+Ho+o],h=n[yi+"dblclick"+o];return n.removeEventListener($o,l,vi?{passive:!1}:!1),n.removeEventListener(Ho,c,vi?{passive:!1}:!1),n.removeEventListener("dblclick",h,!1),this}var Ll=Go(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Pr=Go(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),kh=Pr==="webkitTransition"||Pr==="OTransition"?Pr+"End":"transitionend";function Oh(n){return typeof n=="string"?document.getElementById(n):n}function Sr(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 _e(n){var o=n.parentNode;o&&o.removeChild(n)}function Wo(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function wi(n){var o=n.parentNode;o&&o.lastChild!==n&&o.appendChild(n)}function xi(n){var o=n.parentNode;o&&o.firstChild!==n&&o.insertBefore(n,o.firstChild)}function Nl(n,o){if(n.classList!==void 0)return n.classList.contains(o);var l=Vo(n);return l.length>0&&new RegExp("(^|\\s)"+o+"(\\s|$)").test(l)}function K(n,o){if(n.classList!==void 0)for(var l=P(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,ce(n));return l.equals(c)||this.panTo(c,o),this._enforcingBounds=!1,this},panInside:function(n,o){o=o||{};var l=b(o.paddingTopLeft||o.padding||[0,0]),c=b(o.paddingBottomRight||o.padding||[0,0]),h=this.getCenter(),m=this.project(h),E=this.project(n),k=this.getPixelBounds(),O=k.getSize().divideBy(2),A=oe([k.min.add(l),k.max.subtract(c)]);if(!A.contains(E)){this._enforcingBounds=!0;var B=m.subtract(E),H=b(E.x+B.x,E.y+B.y);(E.xA.max.x)&&(H.x=m.x-B.x,B.x>0?H.x+=O.x-l.x:H.x-=O.x-c.x),(E.yA.max.y)&&(H.y=m.y-B.y,B.y>0?H.y+=O.y-l.y:H.y-=O.y-c.y),this.panTo(this.unproject(H),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 E=this.getBoundsZoom(h);this.setView(c,m.maxZoom?Math.min(E,m.maxZoom):E)}var k={latlng:c,bounds:h,timestamp:n.timestamp};for(var O in n.coords)typeof n.coords[O]=="number"&&(k[O]=n.coords[O]);this.fire("locationfound",k)},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(),_e(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Te(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)_e(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=ce(n),l=b(l||[0,0]);var c=this.getZoom()||0,h=this.getMinZoom(),m=this.getMaxZoom(),E=n.getNorthWest(),k=n.getSouthEast(),O=this.getSize().subtract(l),A=oe(this.project(k,c),this.project(E,c)).getSize(),B=ht?this.options.zoomSnap:1,H=O.x/A.x,ie=O.y/A.y,en=o?Math.max(H,ie):Math.min(H,ie);return c=this.getScaleZoom(en,c),B&&(c=Math.round(c/(B/100))*(B/100),c=o?Math.ceil(c/B)*B:Math.floor(c/B)*B),Math.max(h,Math.min(m,c))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new M(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(n,o){var l=this._getTopLeftPoint(n,o);return new V(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(b(n),o)},layerPointToLatLng:function(n){var o=b(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(ce(n))},distance:function(n,o){return this.options.crs.distance(se(n),se(o))},containerPointToLayerPoint:function(n){return b(n).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(n){return b(n).add(this._getMapPanePos())},containerPointToLatLng:function(n){var o=this.containerPointToLayerPoint(b(n));return this.layerPointToLatLng(o)},latLngToContainerPoint:function(n){return this.layerPointToContainerPoint(this.latLngToLayerPoint(se(n)))},mouseEventToContainerPoint:function(n){return Mh(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=Oh(n);if(o){if(o._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");Q(o,"scroll",this._onScroll,this),this._containerId=d(o)},_initLayout:function(){var n=this._container;this._fadeAnimated=this.options.fadeAnimation&&ht,K(n,"leaflet-container"+(jt?" leaflet-touch":"")+(_n?" leaflet-retina":"")+(mi?" leaflet-oldie":"")+(Uo?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var o=Sr(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),Le(this._mapPane,new M(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(K(n.markerPane,"leaflet-zoom-hide"),K(n.shadowPane,"leaflet-zoom-hide"))},_resetView:function(n,o){Le(this._mapPane,new M(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 Te(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(n){Le(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?Ee:Q;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),ht&&this.options.transform3DLimit&&(n?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Te(this._resizeRequest),this._resizeRequest=Y(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,E=!1;m;){if(c=this._targets[d(m)],c&&(o==="click"||o==="preclick")&&!n._simulated&&this._draggableMoved(c)){E=!0;break}if(c&&c.listens(o,!0)&&(h&&!Yo(m,n)||(l.push(c),h))||m===this._container)break;m=m.parentNode}return!l.length&&!E&&!h&&Yo(m,n)&&(l=[this]),l},_handleDOMEvent:function(n){if(!(!this._loaded||Ul(n))){var o=n.type;(o==="mousedown"||o==="keypress"||o==="keyup"||o==="keydown")&&Al(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)&&pt(n);var m={originalEvent:n};if(n.type!=="keypress"&&n.type!=="keydown"&&n.type!=="keyup"){var E=h.getLatLng&&(!h._radius||h._radius<=10);m.containerPoint=E?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(n),m.layerPoint=this.containerPointToLayerPoint(m.containerPoint),m.latlng=E?h.getLatLng():this.layerPointToLatLng(m.layerPoint)}for(var k=0;k0?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=ht?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(){we(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=Ll,c=this._proxy.style[l];Kn(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(){_e(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var n=this.getCenter(),o=this.getZoom();Kn(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:(Y(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,K(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&&we(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),Y(function(){this._moveEnd(!0)},this))}});function Hg(n,o){return new J(n,o)}var St=ft.extend({options:{position:"topright"},initialize:function(n){S(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 K(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?(_e(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()}}),Or=function(n){return new St(n)};J.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 E=o+h+" "+o+m;n[h+m]=ne("div",E,l)}c("top","left"),c("top","right"),c("bottom","left"),c("bottom","right")},_clearControlPos:function(){for(var n in this._controlCorners)_e(this._controlCorners[n]);_e(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var zh=St.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),Q(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 E=n.overlay?this._overlaysList:this._baseLayersList;return E.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()}}),Wg=function(n,o,l){return new zh(n,o,l)},Fl=St.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),kr(m),Q(m,"click",Qt),Q(m,"click",h,this),Q(m,"click",this._refocusOnMap,this),m},_updateDisabled:function(){var n=this._map,o="leaflet-disabled";we(this._zoomInButton,o),we(this._zoomOutButton,o),(this._disabled||n._zoom===n.getMinZoom())&&K(this._zoomOutButton,o),(this._disabled||n._zoom===n.getMaxZoom())&&K(this._zoomInButton,o)}});J.mergeOptions({zoomControl:!0}),J.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Fl,this.addControl(this.zoomControl))});var Vg=function(n){return new Fl(n)},jh=St.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}}),Gg=function(n){return new jh(n)},Zl=St.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(n){S(this,n),this._attributions={}},onAdd:function(n){n.attributionControl=this,this._container=ne("div","leaflet-control-attribution"),kr(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(" | ")}}});J.mergeOptions({attributionControl:!0}),J.addInitHook(function(){this.options.attributionControl&&new Zl().addTo(this)});var Kg=function(n){return new Zl(n)};St.Layers=zh,St.Zoom=Fl,St.Scale=jh,St.Attribution=Zl,Or.layers=Wg,Or.zoom=Vg,Or.scale=Gg,Or.attribution=Kg;var bt=ft.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}});bt.addTo=function(n,o){return n.addHandler(o,this),this};var Qg={Events:je},Dh=jt?"touchstart mousedown":"mousedown",bh={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},$l={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},qn=Kt.extend({options:{clickTolerance:3},initialize:function(n,o,l,c){S(this,c),this._element=n,this._dragStartTarget=o||n,this._preventOutline=l},enable:function(){this._enabled||(Q(this._dragStartTarget,Dh,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(qn._dragging===this&&this.finishDrag(),Ee(this._dragStartTarget,Dh,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(n){if(!(n._simulated||!this._enabled)&&(this._moved=!1,!Nl(this._element,"leaflet-zoom-anim")&&!(qn._dragging||n.shiftKey||n.which!==1&&n.button!==1&&!n.touches)&&(qn._dragging=this,this._preventOutline&&Al(this._element),Cl(),Tr(),!this._moving))){this.fire("down");var o=n.touches?n.touches[0]:n,l=Ch(this._element);this._startPoint=new M(o.clientX,o.clientY),this._parentScale=Il(l),Q(document,$l[n.type],this._onMove,this),Q(document,bh[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 M(o.clientX,o.clientY)._subtract(this._startPoint);!l.x&&!l.y||Math.abs(l.x)+Math.abs(l.y)m&&(E=k,m=O);m>l&&(o[E]=1,Hl(n,o,l,c,E),Hl(n,o,l,E,h))}function Xg(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 Jg(n,o){var l=o.x-n.x,c=o.y-n.y;return l*l+c*c}function Cr(n,o,l,c){var h=o.x,m=o.y,E=l.x-h,k=l.y-m,O=E*E+k*k,A;return O>0&&(A=((n.x-h)*E+(n.y-m)*k)/O,A>1?(h=l.x,m=l.y):A>0&&(h+=E*A,m+=k*A)),E=n.x-h,k=n.y-m,c?E*E+k*k:new M(h,m)}function qt(n){return!T(n[0])||typeof n[0][0]!="object"&&typeof n[0][0]<"u"}function $h(n){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),qt(n)}var ey={simplify:Bh,pointToSegmentDistance:Uh,closestPointOnSegment:qg,clipSegment:Zh,_getEdgeIntersection:Xo,_getBitCode:Yn,_sqClosestPointOnSegment:Cr,isFlat:qt,_flat:$h};function Hh(n,o,l){var c,h=[1,4,2,8],m,E,k,O,A,B,H,ie;for(m=0,B=n.length;m1e-7;k++)A=h*Math.sin(E),A=Math.pow((1-A)/(1+A),h/2),O=Math.PI/2-2*Math.atan(m*A)-E,E+=O;return new re(E*o,n.x*o/l)}},ny={LonLat:Wl,Mercator:Vl,SphericalMercator:fl},iy=s({},pn,{code:"EPSG:3395",projection:Vl,transformation:function(){var n=.5/(Math.PI*Vl.R);return wr(n,.5,-n,.5)}()}),Wh=s({},pn,{code:"EPSG:4326",projection:Wl,transformation:wr(1/180,1,-1/180,.5)}),ry=s({},Qe,{projection:Wl,transformation:wr(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});Qe.Earth=pn,Qe.EPSG3395=iy,Qe.EPSG3857=dl,Qe.EPSG900913=Tg,Qe.EPSG4326=Wh,Qe.Simple=ry;var Tt=Kt.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})}}});J.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?T(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 E=(c-o)/l,this._map.layerPointToLatLng([m.x-E*(m.x-h.x),m.y-E*(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 qt(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(n){for(var o=[],l=qt(n),c=0,h=n.length;c=2&&o[0]instanceof re&&o[0].equals(o[l-1])&&o.pop(),o},_setLatLngs:function(n){Yt.prototype._setLatLngs.call(this,n),qt(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return qt(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var n=this._renderer._bounds,o=this.options.weight,l=new M(o,o);if(n=new V(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||Yt.prototype._containsPoint.call(this,n,!0)}});function hy(n,o){return new Ti(n,o)}var Xt=Pi.extend({initialize:function(n,o){S(this,o),this._layers={},n&&this.addData(n)},addData:function(n){var o=T(n)?n:n.features,l,c,h;if(o){for(l=0,c=o.length;l0?c:[o.src];return}T(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",K(n,m)):we(n,m),this._containerWidth=this._container.offsetWidth},_animateZoom:function(n){var o=this._map._latLngToNewLayerPoint(this._latlng,n.zoom,n.center),l=this._getAnchor();Le(this._container,o.add(l))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var n=this._map,o=parseInt(Sr(this._container,"marginBottom"),10)||0,l=this._container.offsetHeight+o,c=this._containerWidth,h=new M(this._containerLeft,-l-this._containerBottom);h._add(vn(this._container));var m=n.layerPointToContainerPoint(h),E=b(this.options.autoPanPadding),k=b(this.options.autoPanPaddingTopLeft||E),O=b(this.options.autoPanPaddingBottomRight||E),A=n.getSize(),B=0,H=0;m.x+c+O.x>A.x&&(B=m.x+c-A.x+O.x),m.x-B-k.x<0&&(B=m.x-k.x),m.y+l+O.y>A.y&&(H=m.y+l-A.y+O.y),m.y-H-k.y<0&&(H=m.y-k.y),(B||H)&&n.fire("autopanstart").panBy([B,H])}},_onCloseButtonClick:function(n){this._close(),Qt(n)},_getAnchor:function(){return b(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),vy=function(n,o){return new Ni(n,o)};J.mergeOptions({closePopupOnClick:!0}),J.include({openPopup:function(n,o,l){return n instanceof Ni||(n=new Ni(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}}),Tt.include({bindPopup:function(n,o){return n instanceof Ni?(S(n,o),this._popup=n,n._source=this):((!this._popup||o)&&(this._popup=new Ni(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(Qt(n),o instanceof gn){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 ki=Jt.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(n){Jt.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){Jt.prototype.onRemove.call(this,n),n.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var n=Jt.prototype.getEvents.call(this);return jt&&!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()),E=c.layerPointToContainerPoint(n),k=this.options.direction,O=h.offsetWidth,A=h.offsetHeight,B=b(this.options.offset),H=this._getAnchor();k==="top"?(o=O/2,l=A):k==="bottom"?(o=O/2,l=0):k==="center"?(o=O/2,l=A/2):k==="right"?(o=0,l=A/2):k==="left"?(o=O,l=A/2):E.xthis.options.maxZoom||lc?this._retainParent(h,m,E,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 E=new M(h,m);E.z=l+1;var k=this._tileCoordsToKey(E),O=this._tiles[k];if(O&&O.active){O.retain=!0;continue}else O&&O.loaded&&(O.retain=!0);l+1this.options.maxZoom||this.options.minZoom!==void 0&&h1){this._setView(n,l);return}for(var H=h.min.y;H<=h.max.y;H++)for(var ie=h.min.x;ie<=h.max.x;ie++){var en=new M(ie,H);if(en.z=this._tileZoom,!!this._isValidTile(en)){var Xn=this._tiles[this._tileCoordsToKey(en)];Xn?Xn.current=!0:E.push(en)}}if(E.sort(function(yn,Xl){return yn.distanceTo(m)-Xl.distanceTo(m)}),E.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var ss=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 ce(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),E=o.unproject(h,n.z);return[m,E]},_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 M(+o[0],+o[1]);return l.z=+o[2],l},_removeTile:function(n){var o=this._tiles[n];o&&(_e(o.el),delete this._tiles[n],this.fire("tileunload",{tile:o.el,coords:this._keyToTileCoords(n)}))},_initTile:function(n){K(n,"leaflet-tile");var o=this.getTileSize();n.style.width=o.x+"px",n.style.height=o.y+"px",n.onselectstart=y,n.onmousemove=y,mi&&this.options.opacity<1&&dt(n,this.options.opacity),xr&&!Er&&(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&&Y(u(this._tileReady,this,n,null,h)),Le(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?(dt(l.el,0),Te(this._fadeFrame),this._fadeFrame=Y(this._updateOpacity,this)):(l.active=!0,this._pruneTiles()),o||(K(l.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:l.el,coords:n})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),mi||!this._map._fadeAnimated?Y(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 M(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 V(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 wy(n){return new Mr(n)}var Oi=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=S(this,o),o.detectRetina&&_n&&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("")),xr||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 Q(l,"load",u(this._tileOnLoad,this,o,l)),Q(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:_n?"@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 g(this._url,s(o,this.options))},_tileOnLoad:function(n,o){mi?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=y,o.onerror=y,o.complete||(o.src=D,_e(o),delete this._tiles[n]))},_removeTile:function(n){var o=this._tiles[n];if(o)return yh||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 Xh(n,o){return new Oi(n,o)}var Jh=Oi.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=S(this,o);var h=o.detectRetina&&_n?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,Oi.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,E=(this._wmsVersion>=1.3&&this._crs===Wh?[h.y,h.x,m.y,m.x]:[h.x,h.y,m.x,m.y]).join(","),k=Oi.prototype.getTileUrl.call(this,n);return k+I(this.wmsParams,k,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+E},setParams:function(n,o){return s(this.wmsParams,n),o||this.redraw(),this}});function xy(n,o){return new Jh(n,o)}Oi.WMS=Jh,Xh.wms=xy;var Bt=Tt.extend({options:{padding:.1,tolerance:0},initialize:function(n){S(this,n),d(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&K(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=vn(this._container),h=this._map.getSize().multiplyBy(.5+this.options.padding),m=this._map.project(this._center,o),E=this._map.project(n,o),k=E.subtract(m),O=h.multiplyBy(-l).add(c).add(h).subtract(k);ht?Kn(this._container,O,l):Le(this._container,O)},_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 V(l,l.add(o.multiplyBy(1+n*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ed=Bt.extend({getEvents:function(){var n=Bt.prototype.getEvents.call(this);return n.viewprereset=this._onViewPreReset,n},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Bt.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var n=this._container=document.createElement("canvas");Q(n,"mousemove",this._onMouseMove,this),Q(n,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Q(n,"mouseout",this._handleMouseOut,this),this._ctx=n.getContext("2d")},_destroyContainer:function(){Te(this._redrawRequest),delete this._ctx,_e(this._container),Ee(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)){Bt.prototype._update.call(this);var n=this._bounds,o=this._container,l=n.getSize(),c=_n?2:1;Le(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",_n&&this._ctx.scale(2,2),this._ctx.translate(-n.min.x,-n.min.y),this.fire("update")}},_reset:function(){Bt.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">')}}}(),Ey={_initContainer:function(){this._container=ne("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Bt.prototype._update.call(this),this.fire("update"))},_initPath:function(n){var o=n._container=Ar("shape");K(o,"leaflet-vml-shape "+(this.options.className||"")),o.coordsize="1 1",n._path=Ar("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;_e(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=Ar("stroke")),h.appendChild(o),o.weight=c.weight+"px",o.color=c.color,o.opacity=c.opacity,c.dashArray?o.dashStyle=T(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=Ar("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){wi(n._container)},_bringToBack:function(n){xi(n._container)}},os=Zo?Ar:vh,Ir=Bt.extend({getEvents:function(){var n=Bt.prototype.getEvents.call(this);return n.zoomstart=this._onZoomStart,n},_initContainer:function(){this._container=os("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=os("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){_e(this._container),Ee(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Bt.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)),Le(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=os("path");n.options.className&&K(o,n.options.className),n.options.interactive&&K(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){_e(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,gh(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){wi(n._path)},_bringToBack:function(n){xi(n._path)}});Zo&&Ir.include(Ey);function nd(n){return Fo||Zo?new Ir(n):null}J.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&&td(n)||nd(n)}});var id=Ti.extend({initialize:function(n,o){Ti.prototype.initialize.call(this,this._boundsToLatLngs(n),o)},setBounds:function(n){return this.setLatLngs(this._boundsToLatLngs(n))},_boundsToLatLngs:function(n){return n=ce(n),[n.getSouthWest(),n.getNorthWest(),n.getNorthEast(),n.getSouthEast()]}});function Py(n,o){return new id(n,o)}Ir.create=os,Ir.pointsToPath=gh,Xt.geometryToLayer=Kl,Xt.coordsToLatLng=Ql,Xt.coordsToLatLngs=ts,Xt.latLngToCoords=ql,Xt.latLngsToCoords=ns,Xt.getFeature=Li,Xt.asFeature=is,J.mergeOptions({boxZoom:!0});var rd=bt.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(){Q(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ee(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){_e(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(),Tr(),Cl(),this._startPoint=this._map.mouseEventToContainerPoint(n),Q(document,{contextmenu:Qt,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),K(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(n);var o=new V(this._point,this._startPoint),l=o.getSize();Le(this._box,o.min),this._box.style.width=l.x+"px",this._box.style.height=l.y+"px"},_finish:function(){this._moved&&(_e(this._box),we(this._container,"leaflet-crosshair")),Lr(),Rl(),Ee(document,{contextmenu:Qt,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()}});J.addInitHook("addHandler","boxZoom",rd),J.mergeOptions({doubleClickZoom:!0});var od=bt.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)}});J.addInitHook("addHandler","doubleClickZoom",od),J.mergeOptions({dragging:!0,inertia:!Er,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var sd=bt.extend({addHooks:function(){if(!this._draggable){var n=this._map;this._draggable=new qn(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))}K(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){we(this._map._container,"leaflet-grab"),we(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=ce(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,E=Math.abs(h+l)0?m:-m))-o;this._delta=0,this._startTime=null,E&&(n.options.scrollWheelZoom==="center"?n.setZoom(o+E):n.setZoomAround(this._lastMousePos,o+E))}});J.addInitHook("addHandler","scrollWheelZoom",ld),J.mergeOptions({tap:!0,tapTolerance:15});var ud=bt.extend({addHooks:function(){Q(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ee(this._map._container,"touchstart",this._onDown,this)},_onDown:function(n){if(n.touches){if(pt(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 M(o.clientX,o.clientY),l.tagName&&l.tagName.toLowerCase()==="a"&&K(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),Q(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(n){if(clearTimeout(this._holdTimeout),Ee(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"&&we(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 M(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)}});jt&&(!zt||Uo)&&J.addInitHook("addHandler","tap",ud),J.mergeOptions({touchZoom:jt&&!Er,bounceAtZoomLimits:!0});var cd=bt.extend({addHooks:function(){K(this._map._container,"leaflet-touch-zoom"),Q(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){we(this._map._container,"leaflet-touch-zoom"),Ee(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(),Q(document,"touchmove",this._onTouchMove,this),Q(document,"touchend",this._onTouchEnd,this),pt(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),Te(this._animRequest);var E=u(o._move,o,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=Y(E,this,!0),pt(n)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Te(this._animRequest),Ee(document,"touchmove",this._onTouchMove,this),Ee(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))}});J.addInitHook("addHandler","touchZoom",cd),J.BoxZoom=rd,J.DoubleClickZoom=od,J.Drag=sd,J.Keyboard=ad,J.ScrollWheelZoom=ld,J.Tap=ud,J.TouchZoom=cd,i.version=r,i.Control=St,i.control=Or,i.Browser=Cg,i.Evented=Kt,i.Mixin=Qg,i.Util=Gn,i.Class=ft,i.Handler=bt,i.extend=s,i.bind=u,i.stamp=d,i.setOptions=S,i.DomEvent=$g,i.DomUtil=Fg,i.PosAnimation=Ih,i.Draggable=qn,i.LineUtil=ey,i.PolyUtil=ty,i.Point=M,i.point=b,i.Bounds=V,i.bounds=oe,i.Transformation=hl,i.transformation=wr,i.Projection=ny,i.LatLng=re,i.latLng=se,i.LatLngBounds=Ce,i.latLngBounds=ce,i.CRS=Qe,i.GeoJSON=Xt,i.geoJSON=Kh,i.geoJson=dy,i.Layer=Tt,i.LayerGroup=Ei,i.layerGroup=oy,i.FeatureGroup=Pi,i.featureGroup=sy,i.ImageOverlay=rs,i.imageOverlay=py,i.VideoOverlay=Qh,i.videoOverlay=my,i.SVGOverlay=qh,i.svgOverlay=_y,i.DivOverlay=Jt,i.Popup=Ni,i.popup=vy,i.Tooltip=ki,i.tooltip=gy,i.Icon=Si,i.icon=ay,i.DivIcon=Yh,i.divIcon=yy,i.Marker=Jo,i.marker=ly,i.TileLayer=Oi,i.tileLayer=Xh,i.GridLayer=Mr,i.gridLayer=wy,i.SVG=Ir,i.svg=nd,i.Renderer=Bt,i.Canvas=ed,i.canvas=td,i.Path=gn,i.CircleMarker=es,i.circleMarker=uy,i.Circle=Gl,i.circle=cy,i.Polyline=Yt,i.polyline=fy,i.Polygon=Ti,i.polygon=hy,i.Rectangle=id,i.rectangle=Py,i.Map=J,i.map=Hg;var Sy=window.L;i.noConflict=function(){return window.L=Sy,this},window.L=i})})(Fc,Fc.exports);var cr=Fc.exports;function HE(e,t){const[i,r]=j.useState(null),s=j.useRef(!1);return j.useEffect(()=>{if(e.current&&!s.current){const a=new cr.Map(e.current,{center:{lat:t.location.latitude,lng:t.location.longitude},zoom:10}),u=new cr.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 Hi=(e=>(e.Main="/",e.Login="/login",e.Favorites="/favorites",e.Offer="/offer/:id",e))(Hi||{}),uh=(e=>(e.Auth="AUTH",e.NoAuth="NO_AUTH",e.Unknown="UNKNOWN",e))(uh||{});const WE="/img/pin-active.svg",VE="/img/pin.svg";var ng=(e=>(e.Offers="/offers",e))(ng||{});const ig=[{name:"Paris",location:{latitude:48.864716,longitude:2.349014,zoom:11}},{name:"Brussels",location:{latitude:50.85034,longitude:4.35171,zoom:11}},{name:"Cologne",location:{latitude:50.935173,longitude:6.953101,zoom:11}},{name:"Amsterdam",location:{latitude:52.37403,longitude:4.88969,zoom:11}},{name:"Hamburg",location:{latitude:53.551086,longitude:9.993682,zoom:11}},{name:"Dusseldorf",location:{latitude:51.233334,longitude:6.783333,zoom:11}}],GE=2e3,KE=new cr.Icon({iconUrl:WE,iconSize:[32,32],iconAnchor:[20,40]}),QE=new cr.Icon({iconUrl:VE,iconSize:[32,32],iconAnchor:[20,40]});function rg(e){const t=It(u=>u.city),i=It(u=>u.highlightedMarker),{points:r}=e,s=wa.useRef(null),a=HE(s,t);return j.useEffect(()=>{if(a){const u=cr.layerGroup().addTo(a);return r.forEach(f=>{const d=new cr.Marker({lat:f.latitude,lng:f.longitude});let p;f===i?p=KE: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 qE(){const e=It(r=>r.city),t=Kf(),i=r=>{t(Wv(r))};return v.jsx("ul",{className:"locations__list tabs__list",children:ig.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 YE(){const e=It(s=>s.sortType),t=Kf(),[i,r]=wa.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===nt.POPULAR?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Qr(nt.POPULAR)),children:"Popular"}),v.jsx("li",{className:`places__option ${e===nt.LOW_TO_HIGH?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Qr(nt.LOW_TO_HIGH)),children:"Price: low to high"}),v.jsx("li",{className:`places__option ${e===nt.HIGH_TO_LOW?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Qr(nt.HIGH_TO_LOW)),children:"Price: high to low"}),v.jsx("li",{className:`places__option ${e===nt.TOP_RATED?"places__option--active":""}`,tabIndex:0,onClick:()=>t(Qr(nt.TOP_RATED)),children:"Top rated first"})]})]})}function XE(){const e=It(a=>a.city),t=It(a=>a.offers),i=t.filter(a=>a.city.name===e.name),r=i.map(a=>a.location),s=t.filter(a=>a.isFavorite);return v.jsxs("div",{className:"page page--gray page--main",children:[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("a",{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("nav",{className:"header__nav",children: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",href:"#",children:[v.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),v.jsx("span",{className:"header__user-name user__name",children:"Oliver.conner@gmail.com"}),v.jsx(ur,{to:"/favorites",children:v.jsx("span",{className:"header__favorite-count",children:s.length})})]})}),v.jsx("li",{className:"header__nav-item",children:v.jsx("a",{className:"header__nav-link",href:"#",children:v.jsx("span",{className:"header__signout",children:"Sign out"})})})]})})]})})}),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(qE,{})})}),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(YE,{}),v.jsx(lh,{offers:i,listType:ja.standart})]}),v.jsx("div",{className:"cities__right-section",children:v.jsx("section",{className:"cities__map map",children:v.jsx(rg,{points:r})})})]})})]})]})}function JE(){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("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",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})]}),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})]}),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 eP(){const e=It(t=>t.offers).filter(t=>t.isFavorite);return v.jsxs("div",{className:"page",children:[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(ur,{to:"/",className:"header__logo-link",children:v.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})}),v.jsx("nav",{className:"header__nav",children: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",href:"#",children:[v.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),v.jsx("span",{className:"header__user-name user__name",children:"Oliver.conner@gmail.com"}),v.jsx("span",{className:"header__favorite-count",children:"3"})]})}),v.jsx("li",{className:"header__nav-item",children:v.jsx("a",{className:"header__nav-link",href:"#",children:v.jsx("span",{className:"header__signout",children:"Sign out"})})})]})})]})})}),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(lh,{offers:e,listType:ja.favourites})]})})]})})}),v.jsx("footer",{className:"footer container",children:v.jsx(ur,{to:"/",className:"header__logo-link",children:v.jsx("img",{className:"footer__logo",src:"img/logo.svg",alt:"6 cities logo",width:"64",height:"33"})})})]})}function tP(){return v.jsxs("section",{className:"error__screen",children:[v.jsx("h1",{children:"404 Not Found"}),v.jsx("a",{href:"/",children:"Вернуться на главную"})]})}function nP({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 iP(){const[e,t]=j.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 rP({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(nP,{review:t},t.id))}),v.jsx(iP,{})]})}const oP=[{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 sP(){const[e,t]=It(i=>[i.chosenOffer,i.offers]);return v.jsxs("div",{className:"page",children:[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(ur,{to:"/",className:"header__logo-link",children:v.jsx("img",{className:"header__logo",src:"img/logo.svg",alt:"6 cities logo",width:"81",height:"41"})})}),v.jsx("nav",{className:"header__nav",children: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",href:"#",children:[v.jsx("div",{className:"header__avatar-wrapper user__avatar-wrapper"}),v.jsx("span",{className:"header__user-name user__name",children:"Oliver.conner@gmail.com"}),v.jsx(ur,{to:"/favorites",children:v.jsx("span",{className:"header__favorite-count",children:"3"})})]})}),v.jsx("li",{className:"header__nav-item",children:v.jsx("a",{className:"header__nav-link",href:"#",children:v.jsx("span",{className:"header__signout",children:"Sign out"})})})]})})]})})}),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?xv(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(rP,{reviews:oP})]})}),v.jsx("section",{className:"offer__map map",children:v.jsx(rg,{points:t.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(lh,{offers:t,listType:ja.nearest})]})})]})]})}function aP(e){const{authorizationStatus:t,children:i}=e;return t===uh.Auth?i:v.jsx(RE,{to:Hi.Login})}function lP(){return v.jsx("p",{children:"Loading ..."})}function uP(){return It(t=>t.isQuestionsDataLoading)?v.jsx(lP,{}):v.jsx(BE,{children:v.jsxs(AE,{children:[v.jsx(Ri,{path:"*",element:v.jsx(tP,{})}),v.jsx(Ri,{path:Hi.Main,element:v.jsx(XE,{})}),v.jsx(Ri,{path:Hi.Favorites,element:v.jsx(aP,{authorizationStatus:uh.Auth,children:v.jsx(eP,{})})}),v.jsx(Ri,{path:Hi.Login,element:v.jsx(JE,{})}),v.jsx(Ri,{path:Hi.Offer,element:v.jsx(sP,{})})]})})}const cP={city:ig[0],offers:[],sortType:nt.POPULAR,highlightedMarker:void 0,chosenOffer:void 0,isQuestionsDataLoading:!1,error:null},fP=Dx(cP,e=>{e.addCase(Wv,(t,i)=>{t.city=i.payload}).addCase(Qr,(t,i)=>{t.sortType=i.payload}).addCase(jc,(t,i)=>{t.highlightedMarker=i.payload}).addCase(Vv,(t,i)=>{t.offers=i.payload}).addCase(Hx,(t,i)=>{t.chosenOffer=i.payload}).addCase(Dc,(t,i)=>{t.isQuestionsDataLoading=i.payload}).addCase(nh,(t,i)=>{t.error=i.payload})});function og(e,t){return function(){return e.apply(t,arguments)}}const{toString:hP}=Object.prototype,{getPrototypeOf:ch}=Object,ol=(e=>t=>{const i=hP.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Gt=e=>(e=e.toLowerCase(),t=>ol(t)===e),sl=e=>t=>typeof t===e,{isArray:yr}=Array,ko=sl("undefined");function dP(e){return e!==null&&!ko(e)&&e.constructor!==null&&!ko(e.constructor)&&yt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const sg=Gt("ArrayBuffer");function pP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&sg(e.buffer),t}const mP=sl("string"),yt=sl("function"),ag=sl("number"),al=e=>e!==null&&typeof e=="object",_P=e=>e===!0||e===!1,Ds=e=>{if(ol(e)!=="object")return!1;const t=ch(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},vP=Gt("Date"),gP=Gt("File"),yP=Gt("Blob"),wP=Gt("FileList"),xP=e=>al(e)&&yt(e.pipe),EP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||yt(e.append)&&((t=ol(e))==="formdata"||t==="object"&&yt(e.toString)&&e.toString()==="[object FormData]"))},PP=Gt("URLSearchParams"),SP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jo(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),yr(e))for(r=0,s=e.length;r0;)if(s=i[r],t===s.toLowerCase())return s;return null}const ug=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),cg=e=>!ko(e)&&e!==ug;function Zc(){const{caseless:e}=cg(this)&&this||{},t={},i=(r,s)=>{const a=e&&lg(t,s)||s;Ds(t[a])&&Ds(r)?t[a]=Zc(t[a],r):Ds(r)?t[a]=Zc({},r):yr(r)?t[a]=r.slice():t[a]=r};for(let r=0,s=arguments.length;r(jo(t,(s,a)=>{i&&yt(s)?e[a]=og(s,i):e[a]=s},{allOwnKeys:r}),e),LP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),NP=(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)},kP=(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&&ch(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},OP=(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},CP=e=>{if(!e)return null;if(yr(e))return e;let t=e.length;if(!ag(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},RP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ch(Uint8Array)),MP=(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])}},AP=(e,t)=>{let i;const r=[];for(;(i=e.exec(t))!==null;)r.push(i);return r},IP=Gt("HTMLFormElement"),zP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,r,s){return r.toUpperCase()+s}),qp=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),jP=Gt("RegExp"),fg=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),r={};jo(i,(s,a)=>{let u;(u=t(s,a,e))!==!1&&(r[a]=u||s)}),Object.defineProperties(e,r)},DP=e=>{fg(e,(t,i)=>{if(yt(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const r=e[i];if(yt(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+"'")})}})},bP=(e,t)=>{const i={},r=s=>{s.forEach(a=>{i[a]=!0})};return yr(e)?r(e):r(String(e).split(t)),i},BP=()=>{},UP=(e,t)=>(e=+e,Number.isFinite(e)?e:t),zu="abcdefghijklmnopqrstuvwxyz",Yp="0123456789",hg={DIGIT:Yp,ALPHA:zu,ALPHA_DIGIT:zu+zu.toUpperCase()+Yp},FP=(e=16,t=hg.ALPHA_DIGIT)=>{let i="";const{length:r}=t;for(;e--;)i+=t[Math.random()*r|0];return i};function ZP(e){return!!(e&&yt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const $P=e=>{const t=new Array(10),i=(r,s)=>{if(al(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const a=yr(r)?[]:{};return jo(r,(u,f)=>{const d=i(u,s+1);!ko(d)&&(a[f]=d)}),t[s]=void 0,a}}return r};return i(e,0)},HP=Gt("AsyncFunction"),WP=e=>e&&(al(e)||yt(e))&&yt(e.then)&&yt(e.catch),R={isArray:yr,isArrayBuffer:sg,isBuffer:dP,isFormData:EP,isArrayBufferView:pP,isString:mP,isNumber:ag,isBoolean:_P,isObject:al,isPlainObject:Ds,isUndefined:ko,isDate:vP,isFile:gP,isBlob:yP,isRegExp:jP,isFunction:yt,isStream:xP,isURLSearchParams:PP,isTypedArray:RP,isFileList:wP,forEach:jo,merge:Zc,extend:TP,trim:SP,stripBOM:LP,inherits:NP,toFlatObject:kP,kindOf:ol,kindOfTest:Gt,endsWith:OP,toArray:CP,forEachEntry:MP,matchAll:AP,isHTMLForm:IP,hasOwnProperty:qp,hasOwnProp:qp,reduceDescriptors:fg,freezeMethods:DP,toObjectSet:bP,toCamelCase:zP,noop:BP,toFiniteNumber:UP,findKey:lg,global:ug,isContextDefined:cg,ALPHABET:hg,generateString:FP,isSpecCompliantForm:ZP,toJSONObject:$P,isAsyncFn:HP,isThenable:WP};function X(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(X,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 dg=X.prototype,pg={};["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=>{pg[e]={value:e}});Object.defineProperties(X,pg);Object.defineProperty(dg,"isAxiosError",{value:!0});X.from=(e,t,i,r,s,a)=>{const u=Object.create(dg);return R.toFlatObject(e,u,function(d){return d!==Error.prototype},f=>f!=="isAxiosError"),X.call(u,e.message,t,i,r,s),u.cause=e,u.name=e.name,a&&Object.assign(u,a),u};const VP=null;function $c(e){return R.isPlainObject(e)||R.isArray(e)}function mg(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function Xp(e,t,i){return e?e.concat(t).map(function(s,a){return s=mg(s),!i&&a?"["+s+"]":s}).join(i?".":""):t}function GP(e){return R.isArray(e)&&!e.some($c)}const KP=R.toFlatObject(R,{},null,function(t){return/^is[A-Z]/.test(t)});function ll(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(S,I){return!R.isUndefined(I[S])});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(P){if(P===null)return"";if(R.isDate(P))return P.toISOString();if(!d&&R.isBlob(P))throw new X("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(P)||R.isTypedArray(P)?d&&typeof Blob=="function"?new Blob([P]):Buffer.from(P):P}function _(P,S,I){let x=P;if(P&&!I&&typeof P=="object"){if(R.endsWith(S,"{}"))S=r?S:S.slice(0,-2),P=JSON.stringify(P);else if(R.isArray(P)&&GP(P)||(R.isFileList(P)||R.endsWith(S,"[]"))&&(x=R.toArray(P)))return S=mg(S),x.forEach(function(T,C){!(R.isUndefined(T)||T===null)&&t.append(u===!0?Xp([S],C,a):u===null?S:S+"[]",p(T))}),!1}return $c(P)?!0:(t.append(Xp(I,S,a),p(P)),!1)}const y=[],w=Object.assign(KP,{defaultVisitor:_,convertValue:p,isVisitable:$c});function N(P,S){if(!R.isUndefined(P)){if(y.indexOf(P)!==-1)throw Error("Circular reference detected in "+S.join("."));y.push(P),R.forEach(P,function(x,g){(!(R.isUndefined(x)||x===null)&&s.call(t,x,R.isString(g)?g.trim():g,S,w))===!0&&N(x,S?S.concat(g):[g])}),y.pop()}}if(!R.isObject(e))throw new TypeError("data must be an object");return N(e),t}function Jp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function fh(e,t){this._pairs=[],e&&ll(e,this,t)}const _g=fh.prototype;_g.append=function(t,i){this._pairs.push([t,i])};_g.toString=function(t){const i=t?function(r){return t.call(this,r,Jp)}:Jp;return this._pairs.map(function(s){return i(s[0])+"="+i(s[1])},"").join("&")};function QP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vg(e,t,i){if(!t)return e;const r=i&&i.encode||QP,s=i&&i.serialize;let a;if(s?a=s(t,i):a=R.isURLSearchParams(t)?t.toString():new fh(t,i).toString(r),a){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class qP{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 em=qP,gg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YP=typeof URLSearchParams<"u"?URLSearchParams:fh,XP=typeof FormData<"u"?FormData:null,JP=typeof Blob<"u"?Blob:null,eS=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),tS=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),$t={isBrowser:!0,classes:{URLSearchParams:YP,FormData:XP,Blob:JP},isStandardBrowserEnv:eS,isStandardBrowserWebWorkerEnv:tS,protocols:["http","https","file","blob","url","data"]};function nS(e,t){return ll(e,new $t.classes.URLSearchParams,Object.assign({visitor:function(i,r,s,a){return $t.isNode&&R.isBuffer(i)?(this.append(r,i.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function iS(e){return R.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rS(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]=rS(s[u])),!f)}if(R.isFormData(e)&&R.isFunction(e.entries)){const i={};return R.forEachEntry(e,(r,s)=>{t(iS(r),s,i,0)}),i}return null}function oS(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 hh={transitional:gg,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(yg(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 nS(t,this.formSerializer).toString();if((f=R.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return ll(f?{"files[]":t}:t,d&&new d,this.formSerializer)}}return a||s?(i.setContentType("application/json",!1),oS(t)):t}],transformResponse:[function(t){const i=this.transitional||hh.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"?X.from(f,X.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:$t.classes.FormData,Blob:$t.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=>{hh.headers[e]={}});const dh=hh,sS=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"]),aS=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]&&sS[i])&&(i==="set-cookie"?t[i]?t[i].push(r):t[i]=[r]:t[i]=t[i]?t[i]+", "+r:r)}),t},tm=Symbol("internals");function $r(e){return e&&String(e).trim().toLowerCase()}function bs(e){return e===!1||e==null?e:R.isArray(e)?e.map(bs):String(e)}function lS(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 uS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ju(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 cS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,r)=>i.toUpperCase()+r)}function fS(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 ul{constructor(t){t&&this.set(t)}set(t,i,r){const s=this;function a(f,d,p){const _=$r(d);if(!_)throw new Error("header name must be a non-empty string");const y=R.findKey(s,_);(!y||s[y]===void 0||p===!0||p===void 0&&s[y]!==!1)&&(s[y||d]=bs(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())&&!uS(t)?u(aS(t),i):t!=null&&a(i,t,r),this}get(t,i){if(t=$r(t),t){const r=R.findKey(this,t);if(r){const s=this[r];if(!i)return s;if(i===!0)return lS(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=$r(t),t){const r=R.findKey(this,t);return!!(r&&this[r]!==void 0&&(!i||ju(this,this[r],r,i)))}return!1}delete(t,i){const r=this;let s=!1;function a(u){if(u=$r(u),u){const f=R.findKey(r,u);f&&(!i||ju(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||ju(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]=bs(s),delete i[a];return}const f=t?cS(a):String(a).trim();f!==a&&delete i[a],i[f]=bs(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[tm]=this[tm]={accessors:{}}).accessors,s=this.prototype;function a(u){const f=$r(u);r[f]||(fS(s,u),r[f]=!0)}return R.isArray(t)?t.forEach(a):a(t),this}}ul.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(ul.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[i]=r}}});R.freezeMethods(ul);const an=ul;function Du(e,t){const i=this||dh,r=t||i,s=an.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 wg(e){return!!(e&&e.__CANCEL__)}function Do(e,t,i){X.call(this,e??"canceled",X.ERR_CANCELED,t,i),this.name="CanceledError"}R.inherits(Do,X,{__CANCEL__:!0});function hS(e,t,i){const r=i.config.validateStatus;!i.status||!r||r(i.status)?e(i):t(new X("Request failed with status code "+i.status,[X.ERR_BAD_REQUEST,X.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}const dS=$t.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 pS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function mS(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function xg(e,t){return e&&!pS(t)?mS(e,t):t}const _S=$t.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 vS(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gS(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 y=a,w=0;for(;y!==s;)w+=i[y++],y=y%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 yS=typeof XMLHttpRequest<"u",wS=yS&&function(e){return new Promise(function(i,r){let s=e.data;const a=an.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)&&($t.isStandardBrowserEnv||$t.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 P=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(P+":"+S))}const y=xg(e.baseURL,e.url);_.open(e.method.toUpperCase(),vg(y,e.params,e.paramsSerializer),!0),_.timeout=e.timeout;function w(){if(!_)return;const P=an.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),I={data:!u||u==="text"||u==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:P,config:e,request:_};hS(function(g){i(g),d()},function(g){r(g),d()},I),_=null}if("onloadend"in _?_.onloadend=w:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(w)},_.onabort=function(){_&&(r(new X("Request aborted",X.ECONNABORTED,e,_)),_=null)},_.onerror=function(){r(new X("Network Error",X.ERR_NETWORK,e,_)),_=null},_.ontimeout=function(){let S=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const I=e.transitional||gg;e.timeoutErrorMessage&&(S=e.timeoutErrorMessage),r(new X(S,I.clarifyTimeoutError?X.ETIMEDOUT:X.ECONNABORTED,e,_)),_=null},$t.isStandardBrowserEnv){const P=(e.withCredentials||_S(y))&&e.xsrfCookieName&&dS.read(e.xsrfCookieName);P&&a.set(e.xsrfHeaderName,P)}s===void 0&&a.setContentType(null),"setRequestHeader"in _&&R.forEach(a.toJSON(),function(S,I){_.setRequestHeader(I,S)}),R.isUndefined(e.withCredentials)||(_.withCredentials=!!e.withCredentials),u&&u!=="json"&&(_.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&_.addEventListener("progress",nm(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&_.upload&&_.upload.addEventListener("progress",nm(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=P=>{_&&(r(!P||P.type?new Do(null,e,_):P),_.abort(),_=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const N=vS(y);if(N&&$t.protocols.indexOf(N)===-1){r(new X("Unsupported protocol "+N+":",X.ERR_BAD_REQUEST,e));return}_.send(s||null)})},Hc={http:VP,xhr:wS};R.forEach(Hc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const im=e=>`- ${e}`,xS=e=>R.isFunction(e)||e===null||e===!1,Eg={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(im).join(` +`):" "+im(a[0]):"as no adapter specified";throw new X("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return r},adapters:Hc};function bu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Do(null,e)}function rm(e){return bu(e),e.headers=an.from(e.headers),e.data=Du.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Eg.getAdapter(e.adapter||dh.adapter)(e).then(function(r){return bu(e),r.data=Du.call(e,e.transformResponse,r),r.headers=an.from(r.headers),r},function(r){return wg(r)||(bu(e),r&&r.response&&(r.response.data=Du.call(e,e.transformResponse,r.response),r.response.headers=an.from(r.response.headers))),Promise.reject(r)})}const om=e=>e instanceof an?e.toJSON():e;function fr(e,t){t=t||{};const i={};function r(p,_,y){return R.isPlainObject(p)&&R.isPlainObject(_)?R.merge.call({caseless:y},p,_):R.isPlainObject(_)?R.merge({},_):R.isArray(_)?_.slice():_}function s(p,_,y){if(R.isUndefined(_)){if(!R.isUndefined(p))return r(void 0,p,y)}else return r(p,_,y)}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,_,y){if(y in t)return r(p,_);if(y 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(om(p),om(_),!0)};return R.forEach(Object.keys(Object.assign({},e,t)),function(_){const y=d[_]||s,w=y(e[_],t[_],_);R.isUndefined(w)&&y!==f||(i[_]=w)}),i}const Pg="1.5.1",ph={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ph[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const sm={};ph.transitional=function(t,i,r){function s(a,u){return"[Axios v"+Pg+"] Transitional option '"+a+"'"+u+(r?". "+r:"")}return(a,u,f)=>{if(t===!1)throw new X(s(u," has been removed"+(i?" in "+i:"")),X.ERR_DEPRECATED);return i&&!sm[u]&&(sm[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 ES(e,t,i){if(typeof e!="object")throw new X("options must be an object",X.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 X("option "+a+" must be "+d,X.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new X("Unknown option "+a,X.ERR_BAD_OPTION)}}const Wc={assertOptions:ES,validators:ph},xn=Wc.validators;class ga{constructor(t){this.defaults=t,this.interceptors={request:new em,response:new em}}request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=fr(this.defaults,i);const{transitional:r,paramsSerializer:s,headers:a}=i;r!==void 0&&Wc.assertOptions(r,{silentJSONParsing:xn.transitional(xn.boolean),forcedJSONParsing:xn.transitional(xn.boolean),clarifyTimeoutError:xn.transitional(xn.boolean)},!1),s!=null&&(R.isFunction(s)?i.paramsSerializer={serialize:s}:Wc.assertOptions(s,{encode:xn.function,serialize:xn.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"],P=>{delete a[P]}),i.headers=an.concat(u,a);const f=[];let d=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(i)===!1||(d=d&&S.synchronous,f.unshift(S.fulfilled,S.rejected))});const p=[];this.interceptors.response.forEach(function(S){p.push(S.fulfilled,S.rejected)});let _,y=0,w;if(!d){const P=[rm.bind(this),void 0];for(P.unshift.apply(P,f),P.push.apply(P,p),w=P.length,_=Promise.resolve(i);y{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 Do(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 mh(function(s){t=s}),cancel:t}}}const PS=mh;function SS(e){return function(i){return e.apply(null,i)}}function TS(e){return R.isObject(e)&&e.isAxiosError===!0}const Vc={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(Vc).forEach(([e,t])=>{Vc[t]=e});const LS=Vc;function Sg(e){const t=new Bs(e),i=og(Bs.prototype.request,t);return R.extend(i,Bs.prototype,t,{allOwnKeys:!0}),R.extend(i,t,null,{allOwnKeys:!0}),i.create=function(s){return Sg(fr(e,s))},i}const Oe=Sg(dh);Oe.Axios=Bs;Oe.CanceledError=Do;Oe.CancelToken=PS;Oe.isCancel=wg;Oe.VERSION=Pg;Oe.toFormData=ll;Oe.AxiosError=X;Oe.Cancel=Oe.CanceledError;Oe.all=function(t){return Promise.all(t)};Oe.spread=SS;Oe.isAxiosError=TS;Oe.mergeConfig=fr;Oe.AxiosHeaders=an;Oe.formToJSON=e=>yg(R.isHTMLForm(e)?new FormData(e):e);Oe.getAdapter=Eg.getAdapter;Oe.HttpStatusCode=LS;Oe.default=Oe;const NS=Oe,kS="six-cities-token",OS=()=>localStorage.getItem(kS)??"";var oo;(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"})(oo||(oo={}));const CS=Hv("CLEAR_ERROR_ACTION",()=>{setTimeout(()=>Oo.dispatch(nh(null)),GE)}),RS=Hv("FETCH_OFFERS_ACTION",async(e,{dispatch:t,extra:i})=>{t(Dc(!0));const{data:r}=await i.get(ng.Offers);t(Dc(!1)),t(Vv(r))}),MS=e=>{Oo.dispatch(nh(e)),Oo.dispatch(CS())},AS={[oo.BAD_REQUEST]:!0,[oo.UNAUTHORIZED]:!0,[oo.NOT_FOUND]:!0},IS=e=>!!AS[e.status],zS="https://14.design.htmlacademy.pro/six-cities",jS=5e3,DS=()=>{const e=NS.create({baseURL:zS,timeout:jS});return e.interceptors.request.use(t=>{const i=OS();return i&&t.headers&&(t.headers["x-token"]=i),t}),e.interceptors.response.use(t=>t,t=>{if(t.response&&IS(t.response)){const i=t.response.data;MS(i.message)}throw t}),e},bS=DS(),Oo=Ix({reducer:fP,middleware:e=>e({thunk:{extraArgument:bS}})});function BS(){const e=It(t=>t.error);return e?v.jsx("div",{className:"error-message",children:e}):null}Oo.dispatch(RS());const US=Bu.createRoot(document.getElementById("root"));US.render(v.jsx(wa.StrictMode,{children:v.jsxs(Y1,{store:Oo,children:[v.jsx(BS,{}),v.jsx(uP,{})]})})); diff --git a/9/assets/index-7eb2eee7.css b/9/assets/index-7eb2eee7.css new file mode 100644 index 0000000..663f876 --- /dev/null +++ b/9/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/9/css/main.css b/9/css/main.css new file mode 100644 index 0000000..eb596a6 --- /dev/null +++ b/9/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/9/css/main.css.map b/9/css/main.css.map new file mode 100644 index 0000000..7df7026 --- /dev/null +++ b/9/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/9/fonts/rubik-bold.ttf b/9/fonts/rubik-bold.ttf new file mode 100644 index 0000000..9b947db Binary files /dev/null and b/9/fonts/rubik-bold.ttf differ diff --git a/9/fonts/rubik-bold.woff b/9/fonts/rubik-bold.woff new file mode 100644 index 0000000..77272e5 Binary files /dev/null and b/9/fonts/rubik-bold.woff differ diff --git a/9/fonts/rubik-bold.woff2 b/9/fonts/rubik-bold.woff2 new file mode 100644 index 0000000..374e2bd Binary files /dev/null and b/9/fonts/rubik-bold.woff2 differ diff --git a/9/fonts/rubik-light.ttf b/9/fonts/rubik-light.ttf new file mode 100644 index 0000000..1adb7d5 Binary files /dev/null and b/9/fonts/rubik-light.ttf differ diff --git a/9/fonts/rubik-light.woff b/9/fonts/rubik-light.woff new file mode 100644 index 0000000..40d6c14 Binary files /dev/null and b/9/fonts/rubik-light.woff differ diff --git a/9/fonts/rubik-light.woff2 b/9/fonts/rubik-light.woff2 new file mode 100644 index 0000000..ebef69a Binary files /dev/null and b/9/fonts/rubik-light.woff2 differ diff --git a/9/fonts/rubik-medium.ttf b/9/fonts/rubik-medium.ttf new file mode 100644 index 0000000..24519e5 Binary files /dev/null and b/9/fonts/rubik-medium.ttf differ diff --git a/9/fonts/rubik-medium.woff b/9/fonts/rubik-medium.woff new file mode 100644 index 0000000..fd4aa04 Binary files /dev/null and b/9/fonts/rubik-medium.woff differ diff --git a/9/fonts/rubik-medium.woff2 b/9/fonts/rubik-medium.woff2 new file mode 100644 index 0000000..d28cc6f Binary files /dev/null and b/9/fonts/rubik-medium.woff2 differ diff --git a/9/fonts/rubik-regular.ttf b/9/fonts/rubik-regular.ttf new file mode 100644 index 0000000..f99fe15 Binary files /dev/null and b/9/fonts/rubik-regular.ttf differ diff --git a/9/fonts/rubik-regular.woff b/9/fonts/rubik-regular.woff new file mode 100644 index 0000000..34d44d1 Binary files /dev/null and b/9/fonts/rubik-regular.woff differ diff --git a/9/fonts/rubik-regular.woff2 b/9/fonts/rubik-regular.woff2 new file mode 100644 index 0000000..ac77627 Binary files /dev/null and b/9/fonts/rubik-regular.woff2 differ diff --git a/9/img/amsterdam.jpg b/9/img/amsterdam.jpg new file mode 100644 index 0000000..578b005 Binary files /dev/null and b/9/img/amsterdam.jpg differ diff --git a/9/img/amsterdam@2x.jpg b/9/img/amsterdam@2x.jpg new file mode 100644 index 0000000..adaa1ae Binary files /dev/null and b/9/img/amsterdam@2x.jpg differ diff --git a/9/img/apartment-01.jpg b/9/img/apartment-01.jpg new file mode 100644 index 0000000..83f1981 Binary files /dev/null and b/9/img/apartment-01.jpg differ diff --git a/9/img/apartment-02.jpg b/9/img/apartment-02.jpg new file mode 100644 index 0000000..41dbe38 Binary files /dev/null and b/9/img/apartment-02.jpg differ diff --git a/9/img/apartment-03.jpg b/9/img/apartment-03.jpg new file mode 100644 index 0000000..0acd6ef Binary files /dev/null and b/9/img/apartment-03.jpg differ diff --git a/9/img/apartment-small-03.jpg b/9/img/apartment-small-03.jpg new file mode 100644 index 0000000..fa95628 Binary files /dev/null and b/9/img/apartment-small-03.jpg differ diff --git a/9/img/apartment-small-04.jpg b/9/img/apartment-small-04.jpg new file mode 100644 index 0000000..4e98ea9 Binary files /dev/null and b/9/img/apartment-small-04.jpg differ diff --git a/9/img/avatar-angelina.jpg b/9/img/avatar-angelina.jpg new file mode 100644 index 0000000..d8203d7 Binary files /dev/null and b/9/img/avatar-angelina.jpg differ diff --git a/9/img/avatar-max.jpg b/9/img/avatar-max.jpg new file mode 100644 index 0000000..b77b344 Binary files /dev/null and b/9/img/avatar-max.jpg differ diff --git a/9/img/avatar.svg b/9/img/avatar.svg new file mode 100644 index 0000000..c122561 --- /dev/null +++ b/9/img/avatar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/ico-adults.svg b/9/img/ico-adults.svg new file mode 100644 index 0000000..7278dd5 --- /dev/null +++ b/9/img/ico-adults.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/ico-bedrooms.svg b/9/img/ico-bedrooms.svg new file mode 100644 index 0000000..71f9b0e --- /dev/null +++ b/9/img/ico-bedrooms.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/ico-no-results.svg b/9/img/ico-no-results.svg new file mode 100644 index 0000000..3c9eeb7 --- /dev/null +++ b/9/img/ico-no-results.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/ico-place.svg b/9/img/ico-place.svg new file mode 100644 index 0000000..9720cf7 --- /dev/null +++ b/9/img/ico-place.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/ico-saved.svg b/9/img/ico-saved.svg new file mode 100644 index 0000000..01160c1 --- /dev/null +++ b/9/img/ico-saved.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/icon-arrow-select.svg b/9/img/icon-arrow-select.svg new file mode 100644 index 0000000..e58b1fa --- /dev/null +++ b/9/img/icon-arrow-select.svg @@ -0,0 +1 @@ + diff --git a/9/img/icon-bookmark.svg b/9/img/icon-bookmark.svg new file mode 100644 index 0000000..a533a64 --- /dev/null +++ b/9/img/icon-bookmark.svg @@ -0,0 +1 @@ + diff --git a/9/img/icon-star.svg b/9/img/icon-star.svg new file mode 100644 index 0000000..c3fadca --- /dev/null +++ b/9/img/icon-star.svg @@ -0,0 +1 @@ + diff --git a/9/img/logo.svg b/9/img/logo.svg new file mode 100644 index 0000000..7ec7a62 --- /dev/null +++ b/9/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/map-big.jpg b/9/img/map-big.jpg new file mode 100644 index 0000000..b40c3c9 Binary files /dev/null and b/9/img/map-big.jpg differ diff --git a/9/img/map-big@2x.jpg b/9/img/map-big@2x.jpg new file mode 100644 index 0000000..c201045 Binary files /dev/null and b/9/img/map-big@2x.jpg differ diff --git a/9/img/map.jpg b/9/img/map.jpg new file mode 100644 index 0000000..d66c166 Binary files /dev/null and b/9/img/map.jpg differ diff --git a/9/img/map@2x.jpg b/9/img/map@2x.jpg new file mode 100644 index 0000000..db3b664 Binary files /dev/null and b/9/img/map@2x.jpg differ diff --git a/9/img/no-places.png b/9/img/no-places.png new file mode 100644 index 0000000..64cc7ec Binary files /dev/null and b/9/img/no-places.png differ diff --git a/9/img/no-places@2x.png b/9/img/no-places@2x.png new file mode 100644 index 0000000..e9f35f0 Binary files /dev/null and b/9/img/no-places@2x.png differ diff --git a/9/img/pin-active.svg b/9/img/pin-active.svg new file mode 100644 index 0000000..efc07a8 --- /dev/null +++ b/9/img/pin-active.svg @@ -0,0 +1 @@ + diff --git a/9/img/pin.svg b/9/img/pin.svg new file mode 100644 index 0000000..36e4c3b --- /dev/null +++ b/9/img/pin.svg @@ -0,0 +1 @@ + diff --git a/9/img/room-small.jpg b/9/img/room-small.jpg new file mode 100644 index 0000000..2ae182d Binary files /dev/null and b/9/img/room-small.jpg differ diff --git a/9/img/room.jpg b/9/img/room.jpg new file mode 100644 index 0000000..e08d9ab Binary files /dev/null and b/9/img/room.jpg differ diff --git a/9/img/sprite.svg b/9/img/sprite.svg new file mode 100644 index 0000000..39b2fe9 --- /dev/null +++ b/9/img/sprite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/star-active.svg b/9/img/star-active.svg new file mode 100644 index 0000000..d1e936e --- /dev/null +++ b/9/img/star-active.svg @@ -0,0 +1 @@ + diff --git a/9/img/star-white.svg b/9/img/star-white.svg new file mode 100644 index 0000000..dd5feda --- /dev/null +++ b/9/img/star-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/stars-active.svg b/9/img/stars-active.svg new file mode 100644 index 0000000..1ef25d1 --- /dev/null +++ b/9/img/stars-active.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/stars.svg b/9/img/stars.svg new file mode 100644 index 0000000..029dc95 --- /dev/null +++ b/9/img/stars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/img/studio-01.jpg b/9/img/studio-01.jpg new file mode 100644 index 0000000..ad2cde2 Binary files /dev/null and b/9/img/studio-01.jpg differ diff --git a/9/img/studio-photos.jpg b/9/img/studio-photos.jpg new file mode 100644 index 0000000..fdd70a4 Binary files /dev/null and b/9/img/studio-photos.jpg differ diff --git a/9/img/triangle.svg b/9/img/triangle.svg new file mode 100644 index 0000000..5038a06 --- /dev/null +++ b/9/img/triangle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/9/index.html b/9/index.html new file mode 100644 index 0000000..8c90897 --- /dev/null +++ b/9/index.html @@ -0,0 +1,32 @@ + + + + + + + + 6 cities + + + + + + +
+ + + + + + + + + + + +
+ +
+ + +