PageSourceSearch

https://r.drom.ru/js/bundles/sales-calls-filter-mobile.8ff329ad6aa2cf26.1.chunk.js

js drom.ru collected 2026-09-24 18:01:13 UTC 14,951 bytes, 24 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]="23a39a9e-a4b8-428d-bd13-ca010a2aec4c",e._sentryDebugIdIdentifier="sentry-dbid-23a39a9e-a4b8-428d-bd13-ca010a2aec4c")}()}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([[13868],{978155:function(e,t,n){n.d(t,{Y:function(){return"_16n1ksl0"}})},144882:function(e,t,n){n.d(t,{V:function(){return"cib25a0"}})},495510:function(e,t,n){e.exports=n.p+"media/12px.3e9e076fbac45830.svg"},283082:function(e,t,n){e.exports=n.p+"media/16px.10715f8451a2fff2.svg"},233590:function(e,t,n){e.exports=n.p+"media/12px.7c6e0a2f9e876768.svg"},721223:function(e,t,n){n.d(t,{A:function(){return u}});var a=n(898040),r=n(569290),l=n(611329),i=n(271700),o=n(31285),s=n(707269),d=n(744789),u=e=>{let t,{categories:n}=e,{currentCategory:u,onChange:c}=(t=(0,d.A)(),(0,o.useSelector)(e=>{let{filter:{currentCategory:n}}=e;return{currentCategory:n,onChange:e=>t((0,s.LP)(parseInt(e,10)||0))}}));return(0,a.jsx)(r.A,{name:"category",value:u in i.A&&u!==i.A.ALL?u:"",emptyLabel:"Все категории",placeholder:"Все категории",onChange:c,children:n.map(e=>{let{id:t,name:n}=e;return(0,a.jsx)(l.Ay,{value:t,active:u===t,label:n},t)})})}},918186:function(e,t,n){n.d(t,{A:function(){return d}});var a=n(898040),r=n(569290),l=n(611329),i=n(31285),o=n(707269),s=n(744789),d=()=>{let e,{childDealers:t,childDealerId:n,changeChildDealer:d}=(e=(0,s.A)(),(0,i.useSelector)(t=>{let{filter:{childDealers:n,childDealerId:a}}=t;return{childDealers:n,childDealerId:a,changeChildDealer:t=>e((0,o.ih)(parseInt(t,10)||null))}}));return(0,a.jsx)(r.A,{value:n?n.toString():"",onChange:d,emptyLabel:"Сбросить",placeholder:"Название дилера",children:t.map(e=>{let{name:t,id:n}=e;return(0,a.jsx)(l.Ay,{value:n,label:t},n)})})}},501684:function(e,t,n){n.r(t);var a=n(898040),r=n(693094),l=n(110864),i=n(807415),o=n(213512),s=n(499599),d=n(978155),u=n(53164),c=n(265262),p=n(721223),h=n(133527),f=n(741587),g=n(918186);let m=(0,r.A)("form",{target:"ezt7hp50"})("padding:15px 15px 20px;margin:0 -15px 40px;background:",s.T.backgroundPrimary,";");t.default=e=>{let{needRoundFilter:t}=e,{submitFilter:n,childDealers:r,isCategorySelectVisible:s,categories:v}=(0,u.A)();return(0,a.jsx)(m,{action:"",method:"GET",onSubmit:n,className:t?d.Y:void 0,children:(0,a.jsx)(l.A,{bottom:"small",children:e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:e,children:(0,a.jsx)(c.A,{})}),(0,a.jsxs)(i.A,{dark:!1,className:e,children:[(0,a.jsx)(h.A,{}),(0,a.jsx)(f.A,{})]}),r.length>0&&(0,a.jsx)("div",{className:e,children:(0,a.jsx)(g.A,{})}),s&&v&&(0,a.jsx)("div",{className:e,children:(0,a.jsx)(p.A,{categories:v})}),(0,a.jsx)(o.A,{theme:"black",type:"submit",fullWidth:!0,children:"Показать"})]})})})}},265262:function(e,t,n){n.d(t,{A:function(){return d}});var a=n(898040),r=n(334776),l=n(31285),i=n(707269),o=n(744789),s=n(580969),d=()=>{let e,{onChange:t,value:n}=(e=(0,o.A)(),(0,l.useSelector)(t=>{let{filter:{pickedPeriodButton:n}}=t;return{value:n,onChange:t=>e((0,i.ZL)(parseInt(t,10)))}}));return(0,a.jsx)(r.A,{options:s.A,value:n,onChange:t,light:!0})}},133527:function(e,t,n){n.d(t,{A:function(){return d}});var a=n(898040),r=n(642199),l=n(31285),i=n(707269),o=n(744789),s=n(716067),d=()=>{let e,t=(e=(0,o.A)(),(0,l.useSelector)(t=>{let{filter:{periodFrom:n,periodTo:a,limitPeriods:r}}=t;return{value:n||void 0,maxDate:a||new Date,minDate:r&&a?new Date(new Date(a.getTime()).setMonth(a.getMonth()-3)):void 0,onChange:t=>{e((0,i._b)(t||null))}}})),{value:n}=t;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("input",{type:"hidden",disabled:!n,name:"dateFrom",value:n?(0,s.Y)(n):""}),(0,a.jsx)(r.A,{placeholder:"Период, с",...t})]})}},741587:function(e,t,n){n.d(t,{A:function(){return c}});var a=n(898040),r=n(642199),l=n(31285),i=n(477040),o=n(932324),s=n(707269),d=n(744789),u=n(716067),c=()=>{let e,t=(e=(0,d.A)(),(0,l.useSelector)(t=>{var n;let a,r,{filter:{periodFrom:l,periodTo:d,limitPeriods:u}}=t,c=new Date,p=u&&l?(n=[new Date(new Date(l.getTime()).setMonth(l.getMonth()+3)),c],r=void 0,n.forEac
1h(e=>{r||"object"!=typeof e||(r=i.w.bind(null,e));let t=(0,o.a)(e,r);(!a||a>t||isNaN(+t))&&(a=t)}),(0,i.w)(r,a||0/0)):c;return{value:d||void 0,minDate:l||void 0,maxDate:p,onChange:t=>{e((0,s.PU)(t||null))}}})),{value:n}=t;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("input",{type:"hidden",disabled:!n,name:"dateTo",value:n?(0,u.Y)(n):""}),(0,a.jsx)(r.A,{placeholder:"по",...t})]})}},716067:function(e,t,n){n.d(t,{},{Y:e=>{let t=e.getMonth()+1,n=e.getDate();return`${n>=10?n:`0${n}`}-${t>=10?t:`0${t}`}-${e.getFullYear()}`}})},53164:function(e,t,n){n.d(t,{A:function(){return s}});var a=n(31285),r=n(134597),l=n(716067),i=n(271700),o=n(744789),s=()=>{let e=(0,o.A)();return(0,a.useSelector)(t=>{let{filter:{childDealers:n,isCategorySelectVisible:a,categories:o}}=t;return{childDealers:n,isCategorySelectVisible:a,categories:o,submitFilter:t=>{t.preventDefault(),e((e,t)=>{let{filter:{currentCategory:n,periodFrom:a,periodTo:o,childDealerId:s}}=t(),d={};n!==i.A.ALL&&(d.categoryId=n),a&&(d.dateFrom=(0,l.Y)(a)),o&&(d.dateTo=(0,l.Y)(o)),null!==s&&(d.childDealerId=s.toString()),window.location.href=(0,r.A)(window.location.pathname,d)})}}})}},642199:function(e,t,n){n.d(t,{A:function(){return R}});var a=n(898040),r=n(835076),l=n(693094),i=n(578963),o=n(65934),s=n(802580);let d=["вс","пн","вт","ср","чт","пт","сб"];var u=n(225176),c=e=>e.toLocaleDateString("ru-RU"),p=n(722713),h=e=>{let[t,n,a]=e.split("."),r=new Date(`${a}-${n}-${t}`);return(0,p.A)(r)?r:void 0},f=n(377174),g=n(287046),m=n.n(g),v=n(611329),x=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:5,height:9,...e,children:(0,a.jsx)("path",{d:"m.5.5 4 4m0 0-4 4",fill:"none",stroke:"#1B75CC",strokeLinecap:"round"})}),b=e=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:5,height:9,...e,children:(0,a.jsx)("path",{d:"m4.5.5-4 4m0 0 4 4",fill:"none",stroke:"#1B75CC",strokeLinecap:"round"})}),A=e=>{let{onPreviousClick:t,onNextClick:n,className:l,showNextButton:i,showPreviousButton:o,clearDate:s}=e,d=(0,r.useCallback)(()=>t(),[t]),u=(0,r.useCallback)(()=>n(),[n]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{style:{margin:"0 -20px 10px"},onClick:s,children:[(0,a.jsx)(v.Ay,{empty:!0,muted:!0,value:"",label:"Сбросить","data-ftid":"component_select_reset"},"_EMPTY_OPTION_"),(0,a.jsx)(v.Ay,{divider:!0,label:"---------------"},"_FIRST_DIVIDER_")]}),(0,a.jsxs)("div",{className:l,children:[(0,a.jsx)("div",{onClick:d,className:m()(`${l}__arrow-left`,{[`${l}__arrow_disabled`]:!o}),children:(0,a.jsx)(b,{})}),(0,a.jsx)("div",{onClick:u,className:m()(`${l}__arrow-right`,{[`${l}__arrow_disabled`]:!i}),children:(0,a.jsx)(x,{})})]})]})},y=n(569290),w=n(968873),j=e=>{let{date:t,changeMonth:n,changeYear:r,years:l}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"DayPicker-Caption",children:[(0,a.jsx)("div",{className:"DayPicker-Caption__month",children:(0,a.jsx)(y.A,{dark:!0,showEmptyOption:!1,value:(t.getMonth()+1).toString(),onChange:n,children:w.US.map((e,t)=>(0,a.jsx)(v.Ay,{value:t+1,label:e},e))})}),(0,a.jsx)("div",{className:"DayPicker-Caption__year",children:(0,a.jsx)(y.A,{dark:!0,value:t.getFullYear().toString(),onChange:r,showEmptyOption:!1,children:l.map(e=>(0,a.jsx)(v.Ay,{value:e,label:String(e)},e))})})]}),(0,a.jsx)("div",{className:"DayPicker-Caption__divider"})]})},D=n(953599),_=n.p+"media/calendar.1d4bbbbcfbae41f6.svg",k=n(651075),C=n(832920),N=n(499599);let S={m:"height: 40px;",l:"height: 50px;"},E=(0,l.A)("div",{target:"e1wik7gt0"})(e=>{let{inputSize:t="m",disabled:n}=e;return(0,D.AH)`
2        ${S[t]}
3        ${n&&"opacity: 0.6;"}
4        width: 19px;
5        position: absolute;
6        right: 10px;
7        top: 0;
8        background: ${(0,k.A)(_,{position:"50%",size:"19px",color:N.T.primaryAlpha20})};
9        z-index: 14;
10    `}),L=(0,l.A)(C.A,{target:"e1wik7gt1"})("input{padding-right:36px;}"),T=(0,l.A)("div",{target:"e1wik7gt2"})("position:relative;max-width:100%;transition:transform 0.15s ease-out;",L,"{transform:unset;}&:active:not([aria-disabled='true']){transform:scale(0.98);}"),$=(0,r.forwardRef)((e,t)=>{let n=(0,r.useRef)(null);return(0,r.useImperativeHandle)(t,()=>n.current),(0,a.jsxs)(T,{"aria-disabled":e.disabled,children:[(0,a.jsx)(L,{type:"tel",autoComplete:"off",maxLength:10,...e,ref:n}),(0,a.jsx)(E,{disabled:e.disabled,inputSize:e.inputSize,onClick:()=>{n.current?.focus()}})]})}),I=(0,l.A)("div",{target:"e1sdw3qu0"})("position:relative;outline:none;"),F=(0,l.A)("div",{target:"e1sdw3qu1"})("position:absolute;display:initial;opacity:0;top:0;right:0;bottom:0;left:0;z-index:15;"),M=(0,o.un)(),P=new Date,Y=/^(\d{1,2})?\.?(\d{1,2})?\.?(\d{1,4})?$/,O=e=>e?(0,u.A)(e):"";var R=(0,r.forwardRef)((e,t)=>{let{value:n,onChange:l,minDate:o,maxDate:p,formatDate:g=c,parseDate:m=h,...v}=e,x=(0,s.A)(),[b,y]=(0,r.useState)(n),[w,D]=(0,r.useState)(n),_=[],k=P.getFullYear()-10,C=P.getFullYear()+10,N=(0,r.useRef)(null),S={...v,ref:N};S.placeholder||="dd.mm.yyyy",(0,r.useImperativeHandle)(t,()=>N.current);let E=(e,t)=>{N.current?.value.length!==10||t.disabled?N.current?.value.length!==0||t.disabled||l(void 0):l(e)},L=()=>
10{l(void 0),N.current?.focus()},T={month:b,selectedDays:n,locale:"ru",weekdaysShort:d,navbarElement:e=>(0,a.jsx)(A,{...e,clearDate:L}),onDayClick:E,showOutsideDays:!0,firstDayOfWeek:1,containerProps:{onKeyDown:f.A}};(o||p)&&(o&&(T.fromMonth=o,k=o.getFullYear()),p&&(T.toMonth=p,C=p.getFullYear()),o&&p?T.disabledDays={before:o,after:p}:o?T.disabledDays={before:o}:p&&(T.disabledDays={after:p}));for(let e=C;e>=k;e--)_.push(e);let R=e=>{let t=Number(e);Number.isNaN(t)||y(new Date(w?w.getFullYear():P.getFullYear(),t-1))},z=e=>{let t=Number(e);if(!Number.isNaN(t)){let e=new Date(t,b?b.getMonth():P.getMonth());D(e),y(e)}};return T.captionElement=e=>(0,a.jsx)(j,{...e,years:_,changeMonth:R,changeYear:z}),S.onChange=e=>{let t=e.target.value.match(Y);if(t){let n=t[1]||"";t[2]&&(n+=`.${t[2]}`),t[3]&&(n+=`.${t[3]}`),e.target.value=n}else e.target.value=e.target.value.substring(0,e.target.value.length-1)},S.onBlur=e=>{if(e.relatedTarget){let t=e.relatedTarget;for(;t&&"DayPickerInput-OverlayWrapper"!==t.className;)t=t.parentElement;if(t){let{target:t}=e;setTimeout(()=>{t.focus()},0)}}},(0,a.jsxs)(a.Fragment,{children:[x?(0,a.jsxs)(I,{children:[(0,a.jsx)($,{...S,onChange:f.A,value:n?g(n,"",""):""}),(0,a.jsx)(F,{children:(0,a.jsx)("input",{type:"date",ref:t,value:O(n),onChange:e=>{l(e.target.value?new Date(e.target.value):void 0),M&&setTimeout(()=>{e.target.defaultValue=""},100)},style:{opacity:0},className:"DayPicker__native",min:O(o),max:O(p),disabled:S.disabled})})]}):(0,a.jsx)(i.default,{component:$,inputProps:S,value:n,dayPickerProps:T,formatDate:g,parseDate:m,onDayChange:E}),S.name&&n&&(0,a.jsx)("input",{type:"hidden",value:(0,u.A)(n),name:S.name})]})})},396624:function(e,t,n){var a=n(898040),r=n(693094),l=n(14463);let i=(0,r.A)("div",{target:"eh830wp0"})("text-align:center;",e=>{let{asInlineBlock:t}=e;return t&&"display: inline-block;"},"    vertical-align:middle;font-size:0;");t.A=e=>{let{asInlineBlock:t=!1,className:n,size:r=20,...o}=e;return(0,a.jsx)(i,{asInlineBlock:t,className:n,children:(0,a.jsx)(l.A,{size:r,...o})})},n.d(t,{},{r:i})},14463:function(e,t,n){var a=n(693094),r=n(953599),l=n(499599);let i=(0,r.i7)("0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}");t.A=(0,a.A)("div",{target:"e12cqmh60"})("display:inline-block;position:relative;&::after{content:'';display:inline-block;border-radius:100%;",e=>{let{size:t=20,spinnerColor:n=l.T.grayIcon,border:a=2}=e;return(0,r.AH)`
11            border: ${a}px solid;
12            width: ${t}px;
13            height: ${t}px;
14            border-color: ${n};
15        `},"        border-top-color:transparent;animation:",i," 1s infinite linear;will-change:transform;z-index:1;position:relative;}"),n.d(t,{},{T:i})},17292:function(e,t,n){var a=n(835076);let r=(0,a.createContext)(void 0);t.A=r,n.d(t,{},{o:()=>(0,a.useContext)(r)})},225176:function(e,t,n){var a=n(374131);t.A=e=>(0,a.GP)(e,"yyyy-MM-dd")},722713:function(e,t){t.A=e=>!isNaN(e.getTime())},968873:function(e,t,n){n.d(t,{},{F_:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"],US:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"],xu:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"]})},5531:function(e,t){t.A=(e,t,n)=>Math.min(Math.max(e,t),n)},592279:function(e,t){t.A=()=>`${String.fromCharCode(26*Math.random()+97)}${Math.random().toString(36).substr(2,28)}`},65934:function(e,t,n){var a=n(636516);let r=()=>{if(!(0,a.A)())return!1;let e=navigator.userAgent||navigator.vendor||window.opera;return/iPad|iPhone|iPod/.test(e)&&!window.MSStream},l=()=>{let e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return e?parseFloat([parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||"0",10)].join(".")):null};n.d(t,{},{D:()=>{if(!r())return!1;let e=l();return!!e&&e<13},UN:l,un:r})},234259:function(e,t){t.A=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e.scrollTop=t.offsetTop-n}},813457:function(e,t,n){var a=n(835076),r=n(592279);t.A=e=>(0,a.useMemo)(()=>e||(0,r.A)(),[e])},574013:function(e,t,n){var a=n(835076);t.A=e=>{let t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let n=n=>{!t.current||t.current.contains(n.target)||e(n)},a={passive:!0};return document.addEventListener("mousedown",n,a),document.addEventListener("touchstart",n,a),()=>{document.removeEventListener("mousedown",n,a),document.removeEventListener("touchstart",n,a)}},[e]),t}},804227:function(e,t,n){var a=n(835076),r=n(17292);t.A=()=>(0,a.useContext)(r.A)},66703:function(e,t,n){var a=n(835076);t.A=()=>{let[e,t]=(0,a.useState)(!1);return(0,a.useLayoutEffect)(()=>t(!0),[]),e}},512995:function(e,t,n){var a=n(835076);t.A=()=>{let e=(0,a.useRef)({}),t=(0,a.useCallback)((t,n)=>{null==n?delete e.current[t]:e.current={...e.current,[t]:n}},[]);return[e,t]}},917608:function(e,t,n){let a=`
16    &::-webkit-scrollbar,
17    &::-webkit-scrollbar-thumb,
18    &::-webkit-scrollbar-track {
19        width: 0 !important;
20        height: 0 !important;
21        display: none !important;
22        background: transparent !important;
23    }
24`;n.d(t,{},{F:a})}}]);

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.