PageSourceSearch

https://r.drom.ru/js/bundles/my-account-layout-user-desktop.5f5eaaf04b93d231.1.chunk.js

js drom.ru collected 2026-09-24 18:01:21 UTC 15,614 bytes, 1 lines download raw bytes

1try{!function(){var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="149ab62c-942d-4768-8922-edb433d5d995",e._sentryDebugIdIdentifier="sentry-dbid-149ab62c-942d-4768-8922-edb433d5d995")}()}catch(e){}try{("u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{}).SENTRY_RELEASE={id:"bcdbdce2870cd45d56228836b05c7d4fefac18d5"}}catch(e){}"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[16502],{240171:function(e,t,a){var r=a(898040),n=a(693094),s=a(53994),i=a(250185);let o=(0,n.A)("div",{target:"eipxo190"})("display:flex;flex-wrap:wrap;> *{flex:0 0 calc(100% / 2 - 10px);margin-right:20px;margin-bottom:20px;}> *:nth-of-type(even){margin-right:0;}@supports (display:grid){> *{margin-bottom:0;margin-right:0;}display:grid;grid-template-columns:repeat(2,1fr);grid-gap:20px;}");t.A=e=>{let{packs:t,className:a}=e,n=(0,i.A)();return(0,r.jsx)(o,{className:a,"data-ftid":"my-account_available-packs",children:t.map(e=>(0,r.jsx)(s.A,{...e,autoSpendAction:n,statsPrefix:"my-account"},e.id))})}},671523:function(e,t,a){a.d(t,{A:function(){return b}});var r=a(898040),n=a(110864),s=a(558652),i=a(106235),o=a(755741),l=a(482857),d=a(35499),c=a(143675),m=a(863144),u=a(317887),h=a(36454),x=a(989844),p=a(889984),f=a(894486),j=e=>{let{login:t,city:a,settingsLink:n,avatar:s,myId:i,showMyId:o}=e;return(0,r.jsxs)(d.Ay,{align:"left",verticalAlign:"center",children:[(0,r.jsx)(x.A,{...s,size:"xl"}),(0,r.jsx)(c.A,{spacings:[{left:"medium"},{bottom:"verySmall"},{right:"large"}],children:e=>{let[s,l,d]=e;return(0,r.jsxs)("div",{className:s,children:[(0,r.jsx)(m.A,{level:1,as:"h1",className:l,"data-ftid":"my-account_login",children:t??"Личный кабинет"}),null!==a&&(0,r.jsx)(u.A,{className:d,"data-ftid":"my-account_city",children:a}),o&&(0,r.jsx)(p.A,{content:"Номер кабинета на Дроме",position:f.yX.Up,length:f.RU.Big,children:(0,r.jsxs)(u.A,{className:d,"data-ftid":"my-account_myid",children:["ID: ",i]})}),(0,r.jsx)(h.A,{theme:"gray",href:n,border:"none",hoverBorder:"none","data-ftid":"my-account_settings",children:"Настройки"})]})}})]})},g=a(645764),A=a(563697),v=e=>{let{login:t,city:a,settingsLink:n,avatar:s,myId:i,showMyId:o,...l}=e;return(0,r.jsxs)(d.Ay,{verticalAlign:"center",className:A.Ot,children:[(0,r.jsx)(j,{login:t,city:a,settingsLink:n,avatar:s,myId:i,showMyId:o}),(0,r.jsx)(g.A,{...l})]})},b=e=>{let{header:t,account:a,children:d,additionalHeaderContent:c,navigation:m,userNotices:u,customNotifications:h,footer:x}=e;return(0,r.jsx)(i.default,{appName:"my-account",header:t,navigation:m,footer:x,headerContent:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{...a}),c&&(0,r.jsx)(n.A,{bottom:"medium",top:"small",spacingDirection:"inner",children:c})]}),mainContent:(0,r.jsxs)(r.Fragment,{children:[u&&(0,r.jsx)(n.A,{bottom:"huge",children:e=>(0,r.jsx)(s.A,{dealerNoticesData:u,boundaryModuleName:"my-account-user-notices",className:e})}),h.needDisplayNewPriceNotification&&(0,r.jsx)(n.A,{bottom:"huge",children:e=>(0,r.jsx)(o.A,{className:e})}),h.needDisplayCrimeaDiscountNotification&&(0,r.jsx)(n.A,{bottom:"huge",children:e=>(0,r.jsx)(l.A,{className:e})}),d]})})}},449943:function(e,t,a){a.d(t,{A:function(){return l}});var r=a(898040),n=a(802580),s=a.p+"media/seller-card-big.b42b488f82145c7a.svg",i=a(661127),o=a(605024),l=e=>{let{link:t,className:a}=e,l=(0,n.A)();return(0,r.jsx)(o.A,{title:{text:"Карточка продавца",ftid:"my-account_create-dealer-card-banner_title"},description:{text:`Продажа автомобилей - ваш бизнес? С${i.bj}карточкой продавца управлять объявлениями проще`,ftid:"my-account_create-dealer-card-banner_caption"},image:{src:s,imageWidth:l?"100px":"140px",imageHeight:l?"100px":"140px"},primaryControl:{text:"Создать карточку",href:t,fullWidth:!0,overrideControlTheme:"black",ftid:"my-account_create-dealer-card-banner_button"},className:a,"data-ftid":"my-account_create-dealer-card-banner"})}},399095:function(e,t,a){a.r(t),a.d(t,{default:function(){return m}});var r=a(898040),n=a(764133),s=a(671523),i=a(678181),o=a(240171),l=e=>{let{buyPackagesWidget:t,availablePacks:a,className:s}=e;return(0,r.jsxs)(n.A,{bottom:"medium",className:s,children:[(0,r.jsx)(i.A,{...t}),a.length>0&&(0,r.jsx)(o.A,{packs:a})]})},d=a(595234),c=a(449943),m=e=>{let{packs:t,createDealerCardWidget:a,carHistoryReportsWidget:i,...o}=e;return(0,r.jsx)(s.A,{...o,children:(0,r.jsxs)(n.A,{bottom:"huge",children:[(0,r.jsx)(l,{...t}),(0,r.jsx)(d.A,{...i}),a&&(0,r.jsx)(c.A,{...a})]})})}},106235:function(e,t,a){a.r(t),a.d(t,{default:function(){return D}});var r,n=a(898040),s=a(242417),i=a(919434),o=a(693094),l=a(764133),d=a(906619),c=a(36454),m=a(997288),u=a(317887),h=e=>{let{text:t,count:a=0,icon:r}=e;return(0,n.jsxs)(n.Fragment,{children:[r,(0,n.jsx)(u.A,{size:"16px",lineHeight:"24px",children:t}),a>0&&(0,n.jsx)(m.A,{count:a,size:"s",uiTheme:"dark"})]})},x=e=>{let{link:t,current:a}=e;return(0,n.jsx)("div",{children:(0,n.jsx)(c.A,{theme:a?"black":"base",className:"_3v3e8v0",href:t,"data-ftid":"my-account_nav-bar_item",children:(0,n.jsx)(h,{...e})})})};a(835076);var p=a(305977),f=a(977377),j=a(563372),g=a(581985),A=a(770890),v=a(183216),b=a(428042),w=((r=w||{}).MyAccount="myAccount",r.PersonalBulletins="personalBulletins",r.Statistic="statistic",r.Subscriptions="subscriptions",r.Favorites="favorites",r.Messages="messages",r.CarHistoryReports="carHistoryReports",r.Leads="leads",r);let y={[w.MyAccount]:{text:"Личный кабинет",icon:(0,n.jsx)(e=>(0,n.jsxs)("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,n.jsx)("path",{d:"M7.877 5.517a3 3 0 1 1 4.242 4.241 3 3 0 0 1-4.242-4.241",fill:"currentColor"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1.344a6 6 0 0 1 6 0l2.995 1.73a6 6 0 0 1 3.001 5.196v3.46l-.014.399a6 6 0 0 1-2.986 4.796L13 18.655a6 6 0 0 1-6.001.001l-2.995-1.73a6 6 0 0 1-3-5.197V8.27a6 6 0 0 1 2.999-5.196zm6.113 13.687a8.1 8.1 0 0 0-6.544 0l-1.275.562 2.605 1.504c1.3.75 2.901.75 4.2 0l2.466-1.425zM12.1 2.903a4.2 4.2 0 0 0-4.2 0l-2.997 1.73a4.2 4.2 0 0 0-2.1 3.636v3.46a4.2 4.2 0 0 0 .901 2.597l2.139-.943a9.9 9.9 0 0 1 7.998.002l2.367 1.046a4.2 4.2 0 0 0 .987-2.702V8.27l-.009-.28a4.2 4.2 0 0 0-2.09-3.357z",fill:"
1currentColor"})]}),{})},[w.PersonalBulletins]:{text:"Объявления",icon:(0,n.jsx)(p.A,{})},[w.Statistic]:{text:"Статистика",icon:(0,n.jsx)(f.A,{})},[w.Subscriptions]:{text:"Подписки",icon:(0,n.jsx)(j.A,{})},[w.Favorites]:{text:"Избранное",icon:(0,n.jsx)(g.A,{})},[w.Messages]:{text:"Сообщения",icon:(0,n.jsx)(A.A,{})},[w.CarHistoryReports]:{text:"Отчеты по VIN",icon:(0,n.jsx)(v.A,{})},[w.Leads]:{text:"Лиды",icon:(0,n.jsx)(b.A,{})}},_=[w.MyAccount,w.PersonalBulletins,w.Messages,w.Favorites,w.Subscriptions,w.Statistic,w.Leads,w.CarHistoryReports],N=(0,o.A)("div",{target:"en56fn40"})("position:static;",(0,l.s)({bottom:"medium"}),"    @supports (position:sticky){position:sticky;top:",d.G.huge,";will-change:transform;}");var k=e=>{let{navItems:t}=e;return(0,n.jsx)(N,{"data-ftid":"my-account_nav-bar",children:_.map(e=>{let a=t[e];return a&&(0,n.jsx)(x,{...a,...y[a.type]},e)})})},L=a(225294),D=e=>{let{header:t,navigation:a,appName:r,headerContent:o,mainContent:l,footer:d}=e;return(0,n.jsx)(L.default,{header:t,headerContent:o,footer:d,appName:r,mainContent:(0,n.jsxs)(i.Jm,{children:[(0,n.jsx)(i.ZT,{children:(0,n.jsx)(s.A,{moduleName:`${r}_main`,children:l})}),(0,n.jsx)(i.IC,{children:a&&(0,n.jsx)(s.A,{moduleName:`${r}_navigation-bar`,children:(0,n.jsx)(k,{navItems:a})})})]})})}},225294:function(e,t,a){a.r(t),a.d(t,{default:function(){return x}});var r=a(898040),n=a(242417),s=a(432682),i=a(919434),o=a(143675),l=a(795790),d=a(481197),c=a(546206),m=a(225416),u=e=>(0,r.jsx)(d.default,{...e,aboutPageSectionElement:(0,r.jsx)(c.A,{htmlContent:e.aboutPageSection,ftid:"footer_text"}),bottomDescriptionElement:(0,r.jsx)(m.A,{htmlContent:e.bottomDescription,ftid:"footer_text"})}),h=a(498845),x=e=>{let{header:t,appName:a,headerContent:d,footer:c,mainContent:m}=e;return(0,r.jsx)(o.A,{spacings:[{bottom:"huge"},{top:"huge"}],children:e=>{let[o,x]=e;return(0,r.jsxs)(i.Mx,{children:[(0,r.jsxs)("div",{className:h.j9,children:[t?(0,r.jsx)(n.A,{moduleName:`${a}_gradient-block`,children:(0,r.jsxs)(l.A,{hue:t.header.authentication.avatar.hue,className:o,children:[(0,r.jsx)(n.A,{moduleName:`${a}_header`,children:(0,r.jsx)(s.A,{...t})}),(0,r.jsx)(i.HD,{children:d})]})}):(0,r.jsx)("div",{children:(0,r.jsx)(i.HD,{children:d})}),(0,r.jsx)(i.TK,{children:(0,r.jsx)(i.HD,{children:m})})]}),c&&(0,r.jsx)(n.A,{moduleName:`${a}_footer`,children:(0,r.jsx)(u,{...c,className:x})})]})}})}},811984:function(e,t,a){var r=a(415427),n=a(149092);let s="selected_theme",i=e=>{(0,n.TV)(s,e,{domain:".drom.ru",path:"/",expires:0x7fffffff})},o="change-drom-theme",l=e=>{e===r.A.Dark?document.documentElement.classList.replace(r.A.Light,r.A.Dark):document.documentElement.classList.replace(r.A.Dark,r.A.Light)},d="(prefers-color-scheme: dark)";a.d(t,{},{l6:e=>{let t=new CustomEvent(o,{detail:e});window.dispatchEvent(t)},m7:i,s3:e=>{let t,a,n=window.matchMedia(d),s=e=>{l(e.matches?r.A.Dark:r.A.Light)};"addEventListener"in n?(t=()=>{n.addEventListener("change",s)},a=()=>{n.removeEventListener("change",s)}):(t=()=>{n.addListener(s)},a=()=>{n.removeListener(s)}),e===r.A.System&&t(),window.addEventListener(o,e=>{let n=e.detail;i(n),n===r.A.System?(l(window.matchMedia(d).matches?r.A.Dark:r.A.Light),t()):(l(n),a())})},tS:s})},481197:function(e,t,a){a.r(t),a.d(t,{default:function(){return y}});var r=a(898040),n=a(693094),s=a(242417),i=a(17242),o=a(36454),l=a(764133),d=a(499599);let c=[[{name:"Автомобили",url:"https://auto.drom.ru/"},{name:"Подать объявление",url:"https://auto.drom.ru/addbull/"},{name:"Запчасти",url:"https://baza.drom.ru/"},{name:"Шины и диски",url:"https://baza.drom.ru/wheel/"},{name:"Китайские автомобили",url:"https://www.drom.ru/catalog/chinese/"},{name:"Спецтехника",url:"https://auto.drom.ru/spec/"}],[{name:"Мототехника",url:"https://auto.drom.ru/moto/"},{name:"Водная техника",url:"https://water.drom.ru/"}
1,{name:"Магазин запчастей Амаяма",url:"https://www.amayama.com/ru/"},{name:"Отзывы владельцев",url:"https://www.drom.ru/reviews/"},{name:"Договор купли-продажи",url:"https://www.drom.ru/misc/dkp/"},{name:"Автокаталог",url:"https://www.drom.ru/catalog/"}],[{name:"Каталог шин",url:"https://www.drom.ru/shina/"},{name:"Форумы",url:"https://www.forumsdrom.ru/"},{name:"Статьи и новости",url:"https://www.drom.ru/info/"},{name:"Автопутешествия",url:"https://travel.drom.ru/"},{name:"ПДД онлайн",url:"https://www.drom.ru/pdd/"},{name:"Правовые вопросы",url:"https://law.drom.ru/"}],[{name:"Размещение на Дроме",url:"https://www.drom.ru/commerce/"},{name:"Безопасность",url:"https://www.drom.ru/safe/"},{name:"Техподдержка",url:"https://my.drom.ru/help/VozniklaProblemanaDrome/"}]],m=(0,n.A)("div",{target:"e1sjk3pv0"})("display:flex;justify-content:space-between;padding:40px 10px;margin-bottom:60px;border-top:1px solid ",d.T.backgroundSecondary,";border-bottom:1px solid ",d.T.backgroundSecondary,";");var u=()=>(0,r.jsx)(m,{"data-ftid":"footer__links",children:c.map((e,t)=>(0,r.jsx)(l.A,{bottom:"20px",children:e.map(e=>(0,r.jsx)("div",{children:(0,r.jsx)(o.A,{href:e.url,"data-ftid":"footer__link",children:e.name})},e.name))},t))}),h=a(659936),x=a(952456),p=a(110864),f=a(44735),j=a(355132),g=e=>{let{className:t,bottomLinks:a}=e;return(0,r.jsx)(f.A,{className:t,children:a.map(e=>{let{url:t,name:a}=e;return(0,r.jsx)(j.A,{href:t,children:a},t)})})},A=a(903809),v=a(79081),b=e=>
1{let{bottomDescriptionElement:t,region:a,withPlatformSwitcher:n,bottomLinks:s}=e;return(0,r.jsxs)("div",{"data-ga-stats-engine":"va","data-ga-stats-track-view":!0,"data-ga-stats-name":"footerOther",children:[(0,r.jsx)(p.A,{bottom:"medium",children:e=>(0,r.jsx)(g,{bottomLinks:s,className:e})}),(0,r.jsx)(v.A,{region:a}),t,n&&(0,r.jsx)(A.A,{})]})};let w=(0,n.A)("div",{target:"e79f9mm0"})("position:relative;max-width:1266px;margin:0 auto;");var y=e=>{let{bottomDescriptionElement:t,aboutPageSectionElement:a,region:n,sitemap:o,withPlatformSwitcher:l,socialSlot:d,topSlot:c,bottomLinks:m,className:p}=e;return(0,r.jsx)(i.A,{"data-footer":!0,className:p,children:(0,r.jsxs)(w,{"data-ftid":"footer",children:[c&&(0,r.jsx)(s.A,{moduleName:"desktop-footer-top-slot",children:c}),a&&(0,r.jsx)(s.A,{moduleName:"footer-main-text",children:a}),(0,r.jsx)(s.A,{moduleName:"footer-links",children:(0,r.jsx)(u,{})}),d?(0,r.jsx)(s.A,{moduleName:"footer-social-slot",children:d}):(0,r.jsx)(s.A,{moduleName:"footer-social",children:(0,r.jsx)(h.A,{})}),o&&(0,r.jsx)(s.A,{moduleName:"footer-sitemap",children:(0,r.jsx)(x.Ay,{sitemap:o})}),(0,r.jsx)(s.A,{moduleName:"footer-copy",children:(0,r.jsx)(b,{bottomDescriptionElement:t,regi
1on:n,withPlatformSwitcher:l,bottomLinks:m})})]})})}},432682:function(e,t,a){a.d(t,{A:function(){return h}});var r=a(898040),n=a(242417),s=a(919434),i=a(633345),o=a(14030),l=a(835076),d=a(450023),c=(0,l.memo)(e=>{let{yummies:t}=e;return(0,r.jsx)("div",{className:"_1718nxd0",children:t.map(e=>{let{id:t,title:a,img:n,redirectLink:s,retinaImg:i}=e;return(0,r.jsx)("a",{className:"_1718nxd1",href:s,children:(0,r.jsx)("img",{className:"_1718nxd2",src:n,alt:a,title:a,srcSet:(0,d.A)(n,i)})},t)})})}),m=a(360586);let u=e=>{let{breadcrumbs:t,yummies:a}=e;return t||a&&0!==a.length?(0,r.jsxs)(s.HD,{className:"_140mecg0",children:[null!=t&&(0,r.jsx)(o.Q,{children:t.map((e,t)=>(0,r.jsx)(o.J,{name:e.name,url:e.url,position:t+1},e.name))}),a&&a.length>0&&(0,r.jsx)(c,{yummies:a})]}):null};var h=e=>{let{header:t,yummies:a,breadcrumbs:s,toplinesData:o,className:l}=e;return(0,r.jsxs)("div",{className:l,children:[o&&(0,r.jsx)(n.A,{moduleName:"ExtendedHeader-topline",children:o.map(e=>(0,r.jsx)(m.A,{...e},e.id))}),(0,r.jsx)(i.A,{...t}),(0,r.jsx)(n.A,{moduleName:"header-sub",children:(0,r.jsx)(u,{breadcrumbs:s,yummies:a})})]})}},478307:function(e,t,a){var r=a(835076),n=a(419483),s=a(415427),i=a(842815),o=a(149092),l=a(811984);let d=(0,i.A)({name:"theme-menu-button",trackClick:!0,trackView:!0,isInfinityTracking:!0,engine:"va"}),c=(0,i.A)({name:"theme-menu-button",trackClick:!0,isInfinityTracking:!0,engine:"va"}),m=!1,u=(0,i.A)({name:"theme-change",trackView:!0,engine:"va"});a.d(t,{},{MM:d,OH:u,bd:e=>{(0,r.useEffect)(()=>{(0,o.Ri)(l.tS)||e!==s.A.System||((0,n.ZV)({name:"system-theme-value",event:"view",payload:{theme:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}),(0,l.m7)(e))},[])},dS:e=>{(0,n.ZV)({name:"theme-change",event:"click",payload:{theme:e}})},j6:()=>{m||((0,n.ZV)({name:"theme-menu-button",event:"view"}),m=!0)},k3:c})},574013:function(e,t,a){var r=a(835076);t.A=e=>{let t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let a=a=>{!t.current||t.current.contains(a.target)||e(a)},r={passive:!0};return document.addEventListener("mousedown",a,r),document.addEventListener("touchstart",a,r),()=>{document.removeEventListener("mousedown",a,r),document.removeEventListener("touchstart",a,r)}},[e]),t}}}]);

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.