1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3036],{1403:(e,n,t)=>{"use strict";t.d(n,{Ag:()=>y,DO:()=>u,Jq:()=>o,K4:()=>p,OS:()=>w,Ou:()=>v,R1:()=>m,Xi:()=>g,Xj:()=>f,hq:()=>c,ht:()=>N,nd:()=>h,p8:()=>d,sz:()=>i,ul:()=>k,vA:()=>S});var a=t(6927),s=t(7684),r=t(2701),l=t(4902);function o(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"list";return"/images/fuel/brands/".concat((n="".concat(e.brand," ").concat(e.name).toLowerCase()).includes("ÑоÑнеÑÑÑ")?"rosneft":n.includes("ннк")?"nnk":n.includes("бÑк")?"brk":"default").concat("marker"===t?"-marker":"",".webp")}function i(e){return!1}function c(e){var n=e.lat.toFixed(6),t=e.lng.toFixed(6);return[{kind:"yandex-navi",label:"Ð¯Ð½Ð´ÐµÐºÑ ÐавигаÑоÑ",shortLabel:"Я.ÐавигаÑоÑ",href:"yandexnavi://build_route_on_map?lat_to=".concat(n,"&lon_to=").concat(t)},{kind:"yandex-maps",label:"Ð¯Ð½Ð´ÐµÐºÑ ÐаÑÑÑ",shortLabel:"Я.ÐаÑÑÑ",href:"https://yandex.ru/maps/?mode=routes&rtext=~".concat(n,",").concat(t,"&rtt=auto"),target:"_blank"},{kind:"2gis",label:"2ÐÐС",shortLabel:"2ÐÐС",href:"https://2gis.ru/ulanude/routeSearch/rsType/car/to/".concat(t,",").concat(n),target:"_blank"}]}var u=[{id:"ai92",label:"ÐÐ-92"},{id:"ai95",label:"ÐÐ-95"},{id:"ai98",label:"ÐÐ-98"},{id:"ai100",label:"ÐÐ-100"},{id:"diesel",label:"ÐТ"},{id:"gas",label:"Ðаз"}],d={available:"ÐÑÑÑ",low:"Ðало",none:"ÐеÑ",unknown:"Ðе знаÑ"},f={unknown:"Ðе знаÑ",none:"5-15 маÑин",small:"15-30 маÑин",medium:"30-60 маÑин",large:"60+ маÑин"},_={none:"Ð½ÐµÑ Ð´Ð°Ð½Ð½ÑÑ
",conflict:"ÐаннÑе ÑаÑÑ
одÑÑÑÑ"};function h(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return"conflict"===n?_.conflict:e&&"unknown"!==e&&"none"!==n?d[e]:_.none}function m(e,n){return"conflict"===n?"low":"none"===n?"unknown":"available"===e?"ok":"low"===e?"low":"none"===e?"none":"unknown"}function p(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return"conflict"===n?_.conflict:"none"===n||"unknown"===e?_.none:f[e]}function v(e){return u.some(function(n){var t,a,s;return t=n.id,("confirmed"===(s=null==(a=e.status.fuel_confidence)?void 0:a[t])||"single"===s)&&("available"===e.status.fuels[n.id]||"low"===e.status.fuels[n.id])})}function g(e,n){return 0===e.fuels.length||e.fuels.includes(n)||void 0!==e.status.fuels[n]}function w(e){if(!e)return"Ð½ÐµÑ ÑвежиÑ
оÑмеÑок";var n=new Date(e).getTime();if(!Number.isFinite(n))return"Ð½ÐµÑ ÑвежиÑ
оÑмеÑок";var t=Math.max(0,Math.round((Date.now()-n)/6e4));if(t<2)return"ÑолÑко ÑÑо";if(t<60)return"".concat(t," мин назад");var a=Math.round(t/60);return a<24?"".concat(a," Ñ Ð½Ð°Ð·Ð°Ð´"):"болÑÑе ÑÑÑок назад"}var b="uuportal:fuel-client-id";function x(){try{var e,n=window.localStorage.getItem(b);if(n)return n;var t="function"==typeof(null==(e=window.crypto)?void 0:e.randomUUID)?window.crypto.randomUUID():"".concat(Date.now().toString(36),"-").concat(Math.random().toString(36).slice(2,14));return window.localStorage.setItem(b,t),t}catch(e){return""}}function j(e,n){return(0,a._)(function(){var t;return(0,l.YH)(this,function(a){switch(a.label){case 0:return[4,fetch("/api/fuel".concat(e),(0,r._)((0,s._)({},n),{headers:(0,s._)({"Content-Type":"application/json"},null==n?void 0:n.headers)}))];case 1:if((t=a.sent()).ok)return[3,3];return[4,t.json().catch(function(){return{}})];case 2:throw Error(a.sent().detail||"API error: ".concat(t.status));case 3:return[2,t.json()]}})})()}function k(){return j("/stations")}function y(){return j("/stats")}function N(e){return j("/reports",{method:"POST",body:JSON.stringify((0,r._)((0,s._)({},e),{client_id:x()}))})}function S(e){var n=JSON.stringify((0,r._)((0,s._)({},e),{client_id:x()})),t="/api/fuel/game-events";try{if(navigator.sendBeacon){var a=new Blob([n],{type:"application/json"});if(navigator.sendBeacon(t,a))return}}catch(e){}fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:n,keepalive:!0}).catch(function(){})}},5440:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>I});var a=t(6927),s=t(5526),r=t(5383),l=t(7684),o=t(2701),i=t(7864),c=t(5861),u=t(4902),d=t(7876),f=t(4232),_=t(8847),h=t.n(_),m=t(564),p=t(7569),v=t(1403),g=t(8695),w=t.n(g),b=h()(function(){return Promise.all([t.e(4480),t.e(9896)]).then(t.bind(t,9896))},{loadableGenerated:{webpack:function(){return[9896]}},ssr:!1}),x=["none","small","medium","large"],j=["available","low","none"],k="https://uuportal.ru/fuel",y="/fuel-game/",N="СпаÑибо! Ð¡Ð²ÐµÐ¶Ð°Ñ Ð¾ÑмеÑка добавлена.",S="uuportal:fuelGameAnalyticsQueue";function C(e){return"open"===e||"start"===e||"finish"===e||"share"===e||"exit"===e}function A(){try{var e=window.localStorage.getItem(S);if(!e)return[];var n=JSON.parse(e);if(!Array.isArray(n))return[];return n.filter(function(e){return C(null==e?void 0:e.event)})}catch(e){return[]}}function B(e){try{if(0===e.length)return void window.localStorage.removeItem(S);window.localStorage.setItem(S,JSON.stringify(e.slice(-40)))}catch(e){}}function L(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,v.vA)({event:e,score:"number"==typeof n.score?n.score:void 0,character:"string"==typeof n.character?n.character:void 0})}function E(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,p.vP)())return!1;var t="fuel_game_".concat(e),a=(0,l._)({event_category:"fuel_game",fuel_game_event:e},n),s=(0,p.oH)(t,a);return Array.isArray(window.dataLayer)&&window.dataLayer.push((0,l._)({event:t},a)),"function"==typeof window.gtag&&(window.gtag("event",t,a),s=!0),s}function M(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};
1if((L(e,n),!E(e,n))&&(0,p.vP)()){var t=A();t.push({event:e,payload:n,at:new Date().toISOString(),firstPartySent:!0}),B(t)}}function O(e){return e.toLowerCase().replace(/Ñ/g,"е").trim()}function F(e){var n=e.status.updated_at;if(!n)return 0;var t=new Date(n).getTime();return Number.isFinite(t)?t:0}function P(e){return"fresh"===e.status.freshness?"обновлено ".concat((0,v.OS)(e.status.updated_at)):"stale"===e.status.freshness?"ÑÑÑаÑело: ".concat((0,v.OS)(e.status.updated_at)):"Ð½ÐµÑ ÑвежиÑ
оÑмеÑок"}function I(){var e,n,t,_,h=(0,i._)((0,f.useState)([]),2),g=h[0],S=h[1],I=(0,i._)((0,f.useState)(0),2),T=I[0],q=I[1],R=(0,i._)((0,f.useState)(!0),2),D=R[0],V=R[1],H=(0,i._)((0,f.useState)(""),2),z=H[0],W=H[1],J=(0,i._)((0,f.useState)(""),2),U=J[0],X=J[1],G=(0,i._)((0,f.useState)("all"),2),Y=G[0],Z=G[1],K=(0,i._)((0,f.useState)(!1),2),Q=K[0],$=K[1],ee=(0,i._)((0,f.useState)(!1),2),en=ee[0],et=ee[1],ea=(0,i._)((0,f.useState)(null),2),es=ea[0],er=ea[1],el=(0,i._)((0,f.useState)({}),2),eo=el[0],ei=el[1],ec=(0,i._)((0,f.useState)("unknown"),2),eu=ec[0],ed=ec[1],ef=(0,i._)((0,f.useState)(!1),2),e_=ef[0],eh=ef[1],em=(0,i._)((0,f.useState)(""),2),ep=em[0],ev=em[1],eg=(0,i._)((0,f.useState)(""),2),ew=eg[0],eb=eg[1],ex=(0,i._)((0,f.useState)(!1),2),ej=ex[0],ek=ex[1],ey=(0,i._)((0,f.useState)(!1),2),eN=ey[0],eS=ey[1],eC=(0,f.useRef)(null),eA=(0,f.useRef)(null),eB=(0,f.useRef)(null),eL=(0,f.useCallback)(function(){V(!0),W(""),(0,v.ul)().then(function(e){S(e),er(function(n){return n?e.find(function(e){return e.id===n.id})||n:null}),(0,v.Ag)().then(function(e){return q(e.reports_today)}).catch(function(){return q(0)})}).catch(function(e){return W((0,r._)(e,Error)?e.message:"Ðе ÑдалоÑÑ Ð·Ð°Ð³ÑÑзиÑÑ ÐÐС")}).finally(function(){return V(!1)})},[]);(0,f.useEffect)(function(){eL()},[eL]),(0,f.useEffect)(function(){ei({}),ed("unknown"),ev(""),eb("")},[null==es?void 0:es.id]),(0,f.useEffect)(function(){var e=function(){if((0,p.vP)()){var e=A();if(0!==e.length){var n=[];e.forEach(function(e){var t,a;e.firstPartySent||L(e.event,null!=(t=e.payload)?t:{}),E(e.event,null!=(a=e.payload)?a:{})||n.push((0,o._)((0,l._)({},e),{firstPartySent:!0}))}),B(n)}}},n=[1e3,4e3,9e3].map(function(n){return window.setTimeout(e,n)});return e(),window.addEventListener("focus",e),window.addEventListener("uuportal:analytics-consent",e),function(){n.forEach(function(e){return window.clearTimeout(e)}),window.removeEventListener("focus",e),window.removeEventListener("uuportal:analytics-consent",e)}},[]),(0,f.useEffect)(function(){var e=function(e){if(e.origin===window.location.origin){var n,t=e.data;if((null==t?void 0:t.type)==="uuportal:fuel-game-close")return void ek(!1);(null==t?void 0:t.type)==="uuportal:fuel-game-analytics"&&C(t.event)&&M(t.event,null!=(n=t.payload)?n:{})}};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}},[]),(0,f.useEffect)(function(){if(ej){var e=document.body.style.overflow,n=function(e){"Escape"===e.key&&ek(!1)};return document.body.style.overflow="hidden",document.addEventListener("keydown",n),function(){document.body.style.overflow=e,document.removeEventListener("keydown",n)}}},[ej]),(0,f.useEffect)(function(){var e,n=0,t=function(){window.cancelAnimationFrame(n),n=window.requestAnimationFrame(function(){eS(window.matchMedia("(max-width: 900px)").matches&&(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0)>48)})};return t(),window.addEventListener("scroll",t,{passive:!0}),document.addEventListener("scroll",t,{passive:!0,capture:!0}),window.addEventListener("resize",t),null==(e=window.visualViewport)||e.addEventListener("resize",t),function(){var e;window.cancelAnimationFrame(n),window.removeEventListener("scroll",t),document.removeEventListener("scroll",t,{capture:!0}),window.removeEventListener("resize",t),null==(e=window.visualViewport)||e.removeEventListener("resize",t)}},[]);var eE=(0,f.useMemo)(function(){var e=O(U),n=g.filter(function(n){if(e&&!O("".concat(n.name," ").concat(n.brand," ").concat(n.address)).includes(e)||"all"!==Y&&!(0,v.Xi)(n,Y))return!1;if(Q)if("all"===Y){if(!(0,v.Ou)(n))return!1}else{var t,a=n.status.fuels[Y],s=null==(t=n.status.fuel_confidence)?void 0:t[Y];if("confirmed"!==s&&"single"!==s||"available"!==a&&"low"!==a)return!1}return!en||!!("none"!==n.status.freshness&&"expired"!==n.status.freshness&&F(n)>0)});return en?(0,c._)(n).sort(function(e,n){return F(n)-F(e)}):n},[Y,Q,en,U,g]),eM=(0,f.useMemo)(function(){return{withFuel:g.filter(v.Ou).length}},[g]),eO=(0,f.useMemo)(function(){return!!es&&(0,v.sz)(es)},[es]),eF=(0,f.useMemo)(function(){return es?(0,v.hq)(es):[]},[es]),eP=(0,f.useMemo)(function(){var e;return es?(e=v.DO.filter(function(e){return es.fuels.includes(e.id)||void 0!==es.status.fuels[e.id]})).length>0?e:v.DO:[]},[es]),eI=(0,f.useMemo)(function(){return!eO&&(Object.values(eo).some(function(e){return e&&"unknown"!==e})||"unknown"!==eu)},[eu,eo,eO]),eT=(0,f.useCallback)(function(){window.setTimeout(function(){var e,n;null==(e=eB.current)||e.scrollIntoView({behavior:"smooth",block:"center"}),null==(n=eB.current)||n.focus({preventScroll:!0})},0)},[]),eq=(0,f.useCallback)(function(){if(es){var e;null==(e=eC.current)||e.scrollIntoView({behavior:"smooth",block:"start"});return}eT()},[eT,es]),eR=(0,f.useCallback)(function(){var e;null==(e=eA.current)||e.scrollIntoView({behavior:"smooth",block:"start"})}
1,[]),eD=(0,f.useCallback)(function(){er(null),ev(""),eb(""),eT()},[eT]),eV=(0,f.useCallback)(function(){if(M("open"),window.matchMedia("(max-width: 760px), (pointer: coarse)").matches)return void window.location.assign(y);ek(!0)},[]),eH=(0,f.useCallback)(function(){M("exit",{source:"modal"}),ek(!1)},[]),ez=(0,f.useCallback)(function(){return(0,a._)(function(){return(0,u.YH)(this,function(e){switch(e.label){case 0:eb(""),e.label=1;case 1:if(e.trys.push([1,6,,7]),"undefined"==typeof navigator||"function"!=typeof navigator.share)return[3,3];return[4,navigator.share({title:"ÐаÑÑа загÑÑженноÑÑи ÐÐС Улан-УдÑ",text:"Свежие оÑмеÑки водиÑелей по оÑеÑедÑм и ÑÐ¾Ð¿Ð»Ð¸Ð²Ñ Ð½Ð° ÐÐС Улан-УдÑ.",url:k})];case 2:return e.sent(),(0,p.vq)("share_click",{object_type:"fuel",object_slug:"fuel",share_method:"web_share"}),eb("СпаÑибо, ÑÑо поделилиÑÑ ÐºÐ°ÑÑой."),[2];case 3:if(!("undefined"!=typeof navigator&&navigator.clipboard))return[3,5];return[4,navigator.clipboard.writeText(k)];case 4:return e.sent(),(0,p.vq)("share_click",{object_type:"fuel",object_slug:"fuel",share_method:"clipboard"}),eb("СÑÑлка ÑкопиÑована."),[2];case 5:return eb(k),[3,7];case 6:return e.sent(),eb("Ðе ÑдалоÑÑ Ð¿Ð¾Ð´ÐµÐ»Ð¸ÑÑÑÑ. СÑÑлка: https://uuportal.ru/fuel"),[3,7];case 7:return[2]}})})()},[]),eW=(0,f.useCallback)(function(e){er(e),ev(""),window.setTimeout(function(){var e;null==(e=eC.current)||e.scrollIntoView({behavior:"smooth",block:"start"})},0)},[]);return(0,d.jsx)(m.A,{title:"Ðензин в Улан-Ð£Ð´Ñ - налиÑие Ñоплива на ÐÐС | UUPortal",description:"ÐаÑÑа ÐÐС Улан-Ð£Ð´Ñ Ñ Ð¿Ð¾Ð»ÑзоваÑелÑÑкими оÑмеÑками налиÑÐ¸Ñ ÐÐ-92, ÐÐ-95, ÐÐ-98, дизелÑ, газа и оÑеÑедей.",ogImage:"/images/fuel-og.jpg",breadcrumb:"Ðензин",backHref:"/",children:(0,d.jsxs)("div",{className:w().page,children:[(0,d.jsxs)("section",{className:w().hero,children:[(0,d.jsx)("span",{className:w().eyebrow,children:"Ðо оÑмеÑкам полÑзоваÑелей"}),(0,d.jsx)("h1",{children:"ÐаÑÑа загÑÑженноÑÑи ÐÐС Улан-УдÑ"}),(0,d.jsx)("p",{children:"Свежие даннÑе, оÑеÑеди и оÑмеÑки водиÑелей"}),(0,d.jsx)("div",{className:w().heroActions,children:(0,d.jsxs)("div",{className:w().heroCta,children:[(0,d.jsx)("strong",{children:"ÐÑ ÑÑдом Ñ ÐÐС?"}),(0,d.jsx)("span",{children:"ÐÑмеÑÑÑе оÑеÑÐµÐ´Ñ Ð¸Ð»Ð¸ Ñопливо - ÑÑо займÑÑ 10 ÑекÑнд. ÐаÑа оÑмеÑка Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ Ð´ÑÑгим водиÑелÑм не ездиÑÑ Ð¿Ð¾ гоÑÐ¾Ð´Ñ Ð²ÑлепÑÑ."}),(0,d.jsx)("button",{type:"button",className:w().heroCtaButton,onClick:eR,children:"ÐÑмеÑиÑÑ Ð¾Ð±ÑÑановкÑ"}),(0,d.jsx)("small",{children:"Ðез ÑегиÑÑÑаÑии \xb7 без ÑкаÑÐ¸Ð²Ð°Ð½Ð¸Ñ \xb7 10 ÑекÑнд"})]})}),(0,d.jsxs)("div",{className:w().heroStats,children:[(0,d.jsxs)("span",{children:[g.length," ÐÐС"]}),(0,d.jsxs)("span",{children:[eM.withFuel," Ñ Ð¾ÑмеÑеннÑм Ñопливом"]}),(0,d.jsxs)("span",{className:w().helpStat,children:[(0,d.jsx)("img",{className:w().helpStatIcon,src:"/images/fuel/medal.png",alt:"",width:"24",height:"24",loading:"lazy"}),T>0?(t=(n=Math.abs(T))%100,_=n%10,"".concat(T," ").concat(t>=11&&t<=14?"Ñаз":_>=2&&_<=4?"Ñаза":"Ñаз"," гоÑодÑкие ÑазведÑики помогли ÑегоднÑ")):"ÐÑдÑÑе пеÑвÑм, кÑо Ð¿Ð¾Ð¼Ð¾Ð¶ÐµÑ Ð²Ð¾Ð´Ð¸ÑелÑм ÑегоднÑ"]})]})]}),(0,d.jsxs)("section",{className:w().workspace,children:[(0,d.jsxs)("div",{className:w().panel,children:[(0,d.jsx)("div",{className:w().searchBox,children:(0,d.jsx)("input",{ref:eB,className:"ym-disable-keys",value:U,onChange:function(e){return X(e.target.value)},placeholder:"ÐайÑи ÐÐС, бÑенд или адÑеÑ","aria-label":"ÐоиÑк ÐÐС"})}),(0,d.jsxs)("div",{className:w().filters,"aria-label":"ФилÑÑÑÑ Ñоплива",children:[(0,d.jsx)("button",{className:"all"===Y?w().chipActive:w().chip,onClick:function(){return Z("all")},children:"ÐÑе"}),v.DO.map(function(e){return(0,d.jsx)("button",{className:Y===e.id?w().chipActive:w().chip,onClick:function(){return Z(e.id)},children:e.label},e.id)}),(0,d.jsx)("button",{className:Q?w().chipActive:w().chip,onClick:function(){return $(function(e){return!e})},children:"ÐÑÑÑ"}),(0,d.jsx)("button",{className:en?w().chipActive:w().chip,onClick:function(){return et(function(e){return!e})},children:"ÐÑмеÑки"})]}),z&&(0,d.jsx)("div",{className:w().error,children:z}),(0,d.jsx)("div",{className:w().stationList,children:D?(0,d.jsx)("div",{className:w().empty,children:"ÐагÑÑжаем ÐÐС..."}):0===eE.length?(0,d.jsx)("div",{className:w().empty,children:"ÐиÑего не найдено"}):eE.map(function(e){var n,t=(n=Object.entries(e.status.fuels||{}).map(function(n){var t,a=(0,i._)(n,2),s=a[0],r=a[1];return(0,v.R1)(r,null==(t=e.status.fuel_confidence)?void 0:t[s])})).includes("ok")?"ok":n.includes("low")?"low":n.length>0&&n.every(function(e){return"none"===e})?"none":"unknown",a=(null==es?void 0:es.id)===e.id;return(0,d.jsxs)("button",{className:"".concat(w().stationCard," ").concat(a?w().stationCardActive:""),onClick:function(){return er(e)},children:[(0,d.jsx)("span",{className:"".concat(w().statusDot," ").concat(w()["status_".concat(t)]),"aria-hidden":"true"}),(0,d.jsx)("img",{className:w().stationBrandLogo,src:(0,v.Jq)(e),alt:"",loading:"lazy","aria-hidden":"true"}),(0,d.jsxs)("span",{className:w().stationBody,children:[(0,d.jsx)("strong",{children:e.name}),(0,d.jsx)("span",{children:e.address||"Улан-УдÑ"}),(0,d.jsx)("span",{className:w().updated,children:P(e)}
1)]}),(0,d.jsx)("span",{className:w().stationFuels,children:v.DO.map(function(n){var t,a=e.status.fuels[n.id];return a||e.fuels.includes(n.id)?(0,d.jsx)("span",{className:"".concat(w().fuelPill," ").concat(w()["fuel_".concat((0,v.R1)(a,null==(t=e.status.fuel_confidence)?void 0:t[n.id]))]),children:n.label},n.id):null})})]},e.id)})})]}),(0,d.jsxs)("div",{ref:eA,className:w().mapColumn,children:[(0,d.jsx)("div",{className:w().mapFrame,children:(0,d.jsx)(b,{stations:eE,selectedId:null==es?void 0:es.id,onSelect:er,onReportIntent:eW,onGameOpen:eV})}),(0,d.jsx)("aside",{ref:eC,className:w().reportPanel,children:es?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:w().reportHeader,children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:w().eyebrow,children:"ÐÑбÑÐ°Ð½Ð½Ð°Ñ ÐÐС"}),(0,d.jsx)("h2",{children:es.name}),(0,d.jsxs)("p",{children:[es.address||"Улан-УдÑ"," \xb7 ",P(es)]})]}),es.status.has_conflict&&(0,d.jsx)("span",{className:w().conflict,children:"даннÑе ÑаÑÑ
одÑÑÑÑ"})]}),(0,d.jsxs)("div",{className:w().currentStatus,children:[eP.map(function(e){var n,t,a=es.status.fuels[e.id];return(0,d.jsxs)("span",{className:"".concat(w().currentPill," ").concat(w()["fuel_".concat((0,v.R1)(a,null==(n=es.status.fuel_confidence)?void 0:n[e.id]))]),children:[e.label,": ",(0,v.nd)(a,(null==(t=es.status.fuel_confidence)?void 0:t[e.id])||"none")]},e.id)}),(0,d.jsxs)("span",{className:w().currentPill,children:["ÐÑеÑедÑ: ",(0,v.K4)(es.status.queue_status,es.status.queue_confidence)]}),es.status.reports_count>0&&(0,d.jsxs)("span",{className:w().currentPill,children:[es.status.reports_count," оÑмеÑок за 48 ÑаÑов"]})]}),(0,d.jsx)("div",{className:w().stationActionNote,children:eO?"ÐÑмеÑки вÑеменно оÑклÑÑенÑ":(e=es).status.has_conflict?"ÐаннÑе ÑаÑÑ
одÑÑÑÑ. ÐÑжна еÑÑ Ð¾Ð´Ð½Ð° ÑÐ²ÐµÐ¶Ð°Ñ Ð¾ÑмеÑка Ð¾Ñ Ð²Ð¾Ð´Ð¸Ñелей ÑÑдом Ñ ÐÐС.":"fresh"===e.status.freshness?e.status.confirmed_sources>=2?"ÐодÑвеÑждено ".concat(e.status.confirmed_sources," водиÑелÑми \xb7 обновлено ").concat((0,v.OS)(e.status.updated_at),"."):"Ð¡Ð²ÐµÐ¶Ð°Ñ Ð¾ÑмеÑка Ð¾Ñ Ð²Ð¾Ð´Ð¸ÑÐµÐ»Ñ \xb7 обновлено ".concat((0,v.OS)(e.status.updated_at),"."):"stale"===e.status.freshness?"ÐаннÑе ÑÑÑаÑели: ".concat((0,v.OS)(e.status.updated_at),". СиÑÑаÑÐ¸Ñ Ð¼Ð¾Ð³Ð»Ð° измениÑÑÑÑ. ÐÑли Ð²Ñ ÑÑдом - обновиÑе."):"Ðо ÑÑой ÐÐС пока Ð½ÐµÑ Ñвежей оÑмеÑки. ÐÑ ÑÑдом? ÐбновиÑе за 10 ÑекÑнд - поможеÑе дÑÑгим водиÑелÑм."}),(0,d.jsxs)("div",{className:w().routeActions,"aria-label":"ÐоÑÑÑоиÑÑ Ð¼Ð°ÑÑÑÑÑ",children:[(0,d.jsx)("span",{children:"ÐаÑÑÑÑÑ"}),eF.map(function(e){return(0,d.jsx)("a",{className:w().routeLink,href:e.href,"aria-label":"".concat(e.label,": маÑÑÑÑÑ Ðº ").concat(es.name),title:e.label,target:e.target,rel:e.target?"noopener noreferrer":void 0,children:e.shortLabel},e.kind)})]}),!eO&&(0,d.jsxs)("div",{className:w().reportForm,children:[(0,d.jsx)("h3",{children:"СообÑиÑÑ Ð½Ð°Ð»Ð¸Ñие"}),eP.map(function(e){return(0,d.jsxs)("div",{className:w().reportRow,children:[(0,d.jsx)("span",{children:e.label}),(0,d.jsx)("div",{className:w().segmented,children:j.map(function(n){return(0,d.jsx)("button",{className:eo[e.id]===n?w().segmentActive:w().segment,onClick:function(){return ei(function(t){return(0,o._)((0,l._)({},t),(0,s._)({},e.id,n))})},children:v.p8[n]},n)})})]},e.id)}),(0,d.jsxs)("div",{className:w().reportRow,children:[(0,d.jsx)("span",{children:"ÐÑеÑедÑ"}),(0,d.jsx)("div",{className:w().segmented,children:x.map(function(e){return(0,d.jsx)("button",{className:eu===e?w().segmentActive:w().segment,onClick:function(){return ed(e)},children:v.Xj[e]},e)})})]}),(0,d.jsx)("div",{className:w().reportActions,children:(0,d.jsx)("button",{className:w().submitBtn,disabled:!eI||e_,onClick:function(){return(0,a._)(function(){var e,n,t,a;return(0,u.YH)(this,function(s){switch(s.label){case 0:if(!es||eO||!eI)return[2];e=Object.values(eo).some(function(e){return e&&"unknown"!==e}),n="unknown"!==eu,eh(!0),ev(""),W(""),s.label=1;case 1:return s.trys.push([1,3,4,5]),[4,(0,v.ht)({station_id:es.id,fuels:eo,queue_status:eu})];case 2:return t=s.sent(),S(function(e){return e.map(function(e){return e.id===t.id?t:e})}),er(t),ei({}),ed("unknown"),q(function(e){return e+1}),(0,p.vq)("fuel_report_submit",{station_id:String(es.id),report_type:e&&n?"fuel_and_queue":e?"fuel_only":"queue_only"}),ev(N),eb(""),[3,5];case 3:return a=s.sent(),ev((0,r._)(a,Error)?a.message:"Ðе ÑдалоÑÑ ÑоÑ
ÑаниÑÑ Ð¾ÑмеÑкÑ"),[3,5];case 4:return eh(!1),[7];case 5:return[2]}})})()},children:e_?"СоÑ
ÑанÑем...":"ÐÑпÑавиÑÑ Ð¾ÑмеÑкÑ"})}),ep===N?(0,d.jsxs)("div",{className:w().thanksBox,children:[(0,d.jsx)("img",{className:w().thanksMedal,src:"/images/fuel/medal.png",alt:"",width:"88",height:"88",loading:"lazy"}),(0,d.jsxs)("div",{className:w().thanksText,children:[(0,d.jsx)("strong",{children:N}),(0,d.jsx)("span",{children:"ТепеÑÑ Ð´ÑÑгим водиÑелÑм бÑÐ´ÐµÑ Ð¿ÑоÑе понÑÑÑ, кÑда еÑ
аÑÑ."})]}),(0,d.jsxs)("div",{className:w().thanksActions,children:[(0,d.jsx)("button",{type:"button",className:w().secondaryBtn,onClick:ez,children:"ÐоделиÑÑÑÑ ÐºÐ°ÑÑой"}),(0,d.jsx)("button",{type:"button",className:w().secondaryBtn,onClick:eD,children:"ÐÑмеÑиÑÑ ÐµÑÑ Ð¾Ð´Ð½Ñ ÐÐС"})]}),ew&&(0,d.jsx)("span",{className:w().notice,children:ew})]}):ep?(0,d.jsx)("span",{className:w().notice,children:ep}):null]})]}):(0,d.jsx)("div",{className:w().emptyReport,children:"ÐÑбеÑиÑе ÐÐС в ÑпиÑке или на каÑÑе"})})]})]}),ej&&(0,d.jsx)("div",{className:w().gameOverlay,role:"dialog","aria-modal":"true","aria-labelledby":"fuel-game-title",onClick:eH,children:(0,d.jsxs)("div",{className:w().gameModal,onClick:function(e){return e.stopPropagation()},children:[(0,d.jsxs)("div",{className:w().gameModalHeader,children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("span",{className:w().eyebrow,children:"ÐгÑа"}),(0,d.jsx)("h2",{id:"fuel-game-title",children:"ÐоÑолева бензоколонки"})]}),(0,d.jsx)("button",{type:"button",className:w().gameCloseBtn,onClick:eH,"aria-label":"ÐакÑÑÑÑ Ð¸Ð³ÑÑ",children:"\xd7"})]}),(0,d.jsx)("iframe",{src:y,title:"ÐоÑолева бензоколонки",className:w().gameFrame,allow:"fullscreen; web-share",allowFullScreen:!0,sandbox:"allow-scripts allow-same-origin allow-popups allow-downloads"}),(0,d.jsx)("div",{className:w().gameFallback,children:(0,d.jsx)("a",{href:y,target:"_blank",rel:"noopener noreferrer",children:"ÐÑкÑÑÑÑ Ð½Ð° веÑÑ ÑкÑан"})})]})}),(0,d.jsxs)("div",{className:"".concat(w().floatingActions," ").concat(eN?w().floatingActionsVisible:""),"aria-hidden":!eN,children:[(0,d.jsx)("button",{type:"button",className:w().floatingReportBtn,onClick:eq,children:"+ ÐÑмеÑиÑÑ"}),(0,d.jsx)("button",{type:"button",className:w().floatingShareBtn,onClick:ez,"aria-label":"ÐоделиÑÑÑÑ ÐºÐ°ÑÑой ÐÐС",title:"ÐоделиÑÑÑÑ ÐºÐ°ÑÑой",children:(0,d.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:(0,d.jsx)("path",{d:"M18 16.1c-1 0-1.9.4-2.5 1.1L8.9 13.4c.1-.4.1-.8 0-1.2l6.5-3.8A3.1 3.1 0 1 0 14.5 7L8 10.8a3.1 3.1 0 1 0 0 4l6.5 3.8a3.1 3.1 0 1 0 3.5-2.5Z"})})}),(0,d.jsx)("button",{type:"button",className:w().floatingGameBtn,onClick:eV,"aria-label":"ÐгÑаÑÑ Ð² ÐоÑÐ¾Ð»ÐµÐ²Ñ Ð±ÐµÐ½Ð·Ð¾ÐºÐ¾Ð»Ð¾Ð½ÐºÐ¸",title:"ÐгÑаÑÑ",children:(0,d.jsxs)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:[(0,d.jsx)("path",{d:"M8.4 10.2h7.2c2.3 0 4.1 1.6 4.5 3.8l.5 3.2a2.8 2.8 0 0 1-4.9 2.2l-1.2-1.5h-5l-1.2 1.5a2.8 2.8 0 0 1-4.9-2.2l.5-3.2c.4-2.2 2.2-3.8 4.5-3.8Z"}),(0,d.jsx)("path",{d:"M10 8.2h4"}),(0,d.jsx)("path",{d:"M12 8.2V5.1"}),(0,d.jsx)("path",{d:"M8.4 14.3h2.8"}),(0,d.jsx)("path",{d:"M9.8 12.9v2.8"}),(0,d.jsx)("path",{d:"M15.8 14.8h.1"}),(0,d.jsx)("path",{d:"M17.7 13.4h.1"})]})})]})]})})}},8695:e=>{e.exports={page:"fuel_page__f30JJ",hero:"fuel_hero__8n2Eg",eyebrow:"fuel_eyebrow__WvNjF",heroActions:"fuel_heroActions__TxCAI",heroCta:"fuel_heroCta__evWXY",heroCtaButton:"fuel_heroCtaButton__OMCM4",heroStats:"fuel_heroStats__y8FuW",helpStat:"fuel_helpStat__lACLg",helpStatIcon:"fuel_helpStatIcon__9rMiC",workspace:"fuel_workspace__V88MZ",panel:"fuel_panel__jepBL",reportPanel:"fuel_reportPanel__JdZ8l",searchBox:"fuel_searchBox__V4yM0",filters:"fuel_filters__RtUtA",chip:"fuel_chip__gn7Uk",chipActive:"fuel_chipActive__7kelW",segment:"fuel_segment__rHdet",segmentActive:"fuel_segmentActive__WGgn6",submitBtn:"fuel_submitBtn__Wh4HV",floatingReportBtn:"fuel_floatingReportBtn__UMPs1",error:"fuel_error__Qy3hy",stationList:"fuel_stationList__3irWN",stationCard:"fuel_stationCard__2lcqq",stationCardActive:"fuel_stationCardActive___w3j5",stationBrandLogo:"fuel_stationBrandLogo__LvoAt",statusDot:"fuel_statusDot__Vf6z9",status_ok:"fuel_status_ok__l11
1hq",status_low:"fuel_status_low__fm5SH",status_none:"fuel_status_none__hKCKl",status_unknown:"fuel_status_unknown__V_mLV",stationBody:"fuel_stationBody__gkOtp",updated:"fuel_updated__qDv9a",stationFuels:"fuel_stationFuels__d9uhh",fuelPill:"fuel_fuelPill__sQ7kl",currentPill:"fuel_currentPill__xrevI",fuel_ok:"fuel_fuel_ok__6_BQs",fuel_low:"fuel_fuel_low__q4LKm",fuel_none:"fuel_fuel_none__YbUbq",fuel_unknown:"fuel_fuel_unknown__QOzsR",empty:"fuel_empty__ipBsH",emptyReport:"fuel_emptyReport__hgZGW",mapColumn:"fuel_mapColumn__c9iok",mapFrame:"fuel_mapFrame__Kc9OP",reportHeader:"fuel_reportHeader__qmWtL",conflict:"fuel_conflict__ayczZ",currentStatus:"fuel_currentStatus__m5I5_",stationActionNote:"fuel_stationActionNote__Tiiq1",routeActions:"fuel_routeActions__OjBGL",routeLink:"fuel_routeLink__WLmDk",reportForm:"fuel_reportForm__Tw6_8",reportRow:"fuel_reportRow__dfXNd",segmented:"fuel_segmented__IJla_",reportActions:"fuel_reportActions__Ps0Y7",thanksBox:"fuel_thanksBox__Et9pF",thanksMedal:"fuel_thanksMedal__v8B6X",thanksText:"fuel_thanksText__sfggS",thanksActions:"fuel_thanksActions__f7Fn9",notice:"fuel_notice__pNWg3",secondaryBtn:"fuel_secondaryBtn__0HMun",gameOverlay:"fuel_gameOverlay__LXZeG",gameFadeIn:"fuel_gameFadeIn__xqT1c",gameModal:"fuel_gameModal__OtCSa",gameModalHeader:"fuel_gameModalHeader__CYgVE",gameCloseBtn:"fuel_gameCloseBtn__2u5Am",gameFrame:"fuel_gameFrame__ZbReP",gameFallback:"fuel_gameFallback__rs3Aw",floatingActions:"fuel_floatingActions__AFBpd",floatingShareBtn:"fuel_floatingShareBtn__X_rFC",floatingGameBtn:"fuel_floatingGameBtn__2uF4U",floatingActionsVisible:"fuel_floatingActionsVisible__JWPh5"}},9212:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/fuel",function(){return t(5440)}])}},e=>{e.O(0,[564,636,6593,8792],()=>e(e.s=9212)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.