1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cbea61b2-2e0b-426e-805f-3610b3ff1b87",e._sentryDebugIdIdentifier="sentry-dbid-cbea61b2-2e0b-426e-805f-3610b3ff1b87")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7374],{29634:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(37876),a=i(58103),l=i.n(a),o=i(74420),s=i.n(o);let r=e=>{let{files:t,title:i,onClick:a,smallIcons:o,inlineView:r}=e;return(0,n.jsxs)("div",{className:s().itemFiles,children:[i&&(0,n.jsx)("div",{className:s().itemFilesTitle,children:i}),t.map(e=>{let t=(0,n.jsxs)(n.Fragment,{children:[o&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"".concat(s().itemFilesItemIcon," ").concat((e=>{let t=e.filename.split(".").pop();return"pdf"===t?"file-pdf-o":-1!==["png","gif","jpg","jpeg"].indexOf(t)?"file-image-o":-1!==["zip","rar"].indexOf(t)?"file-archive-o":"file-o"})(e))})," "]}),e.description||"Файл"]});return(0,n.jsx)("div",{className:l()(s().itemFilesItem,{[s().itemFilesItemIconOnly]:!e.description,[s().itemFilesItemInline]:r}),title:e.description,children:"function"==typeof a?(0,n.jsx)("span",{className:l()(s().itemFilesItemLink,"link-actually",{[s().itemFilesItemLinkWithIcon]:!o}),title:"СкаÑаÑÑ ".concat(e.description||"Ñайл"),onClick:()=>a("/media/".concat(e.filename)),children:t}):(0,n.jsx)("a",{href:"/media/".concat(e.filename),className:l()(s().itemFilesItemLink,"link-actually",{[s().itemFilesItemLinkWithIcon]:!o}),target:"_blank",rel:"nofollow noopener noreferrer",title:"СкаÑаÑÑ ".concat(e.description||"Ñайл"),children:t})},e.filename)})]})}},47374:(e,t,i)=>{"use strict";i.d(t,{A:()=>N});var n=i(37876),a=i(14232),l=i(58103),o=i.n(l),s=i(47864),r=i(56557),c=i.n(r);i(52204);var d=i(65835),m=i(39121),_=i(96380),u=i(79468),p=i(29046),f=i(82525),g=i(82440),h=i(96160),v=i(88042),y=i(98164),I=i(29634),j=i(71587),x=i.n(j);c().locale("ru");let N=e=>{var t,i;let{listItem:l,regionId:r,itemClick:j,files:N,filesFetching:k,isFindings:b,isPayed:D,isEdited:w,isShortCartItem:P,showStorageGatherTime:T,editMode:C,showInitial:F,orderId:G,priorityCurrency:M,priorityCurrencyRate:L,actualOrderItemsById:O,storages:W,divisions:E,isMobileVersion:S,changeOrderByPtInterval:q}=e,V=(0,f.jL)(),{item:A,price:Q,rule_factor:z,quantity:K,item_group:H}=l,Y={...A,item_group:H.id},B=H.display_name,R=Y.sku,Z=!l.service_name&&((0,s.A)(Y.photos)?H&&H.photo?(0,d.kQB)(H.photo,S?"118x146":"48x60"):null:Y.photos[0].thumbnail_small),X=P?l.pack_type:(0,m.$C)(l.pack_type,Y.pt_groups,l.quantity),J=l.section===u.Cj,U=!!l.service_name,$=X&&X.flags&&!!(X.flags&p.kV.is_perehvat),ee=(null==X?void 0:X.item_state_name)==="not_ordered",et=X&&"samples"===X.unit,ei=X&&"samples_xl"===X.unit,en=et||ei,ea=u.tn[H.measurement_unit],el=ea&&ea.unit||{},eo=X&&u.Le[X.unit]||el,es=l.storage&&(0,d.uGO)(W)&&W.find(e=>e.id===l.storage),er=X&&X.item_state_name,ec=er&&!["common","perehvat"].includes(er)?er:null,ed=ec&&l.item.states[ec]&&l.item.states[ec].arrival_days?(0,d.o3j)(+l.item.states[ec].arrival_days):null,em=ec&&l.item.states[ec]&&("string"==typeof l.item.states[ec]?l.item.states[ec]:l.item.states[ec].arrival_date&&("string"==typeof l.item.states[ec].arrival_date&&l.item.states[ec].arrival_date||"object"==typeof l.item.states[ec].arrival_date&&r&&(0,d.vP)(l.item.states[ec].arrival_date,r,W,E))),e_=ec&&p.eg[ec]?ed&&"".concat(p.eg[ec].titleWithDays||p.eg[ec].title," ").concat(ed)||"string"==typeof em&&"".concat(p.eg[ec].shortTitleWithDate||p.eg[ec].titleWithDate||p.eg[ec].title," ").concat(c()((0,d.y6q)(em)).format("D MMMM"))||"object"==typeof em&&"".concat(p.eg[ec].shortTitleWithDate||p.eg[ec].titleWithDate||p.eg[ec].title," ").concat((0,d.M7i)(c()((0,d.y6q)(em[0])).format("D\xa0MMMM"),c()((0,d.y6q)(em[1])).format("D\xa0MMMM")))||p.eg[ec].title:null,eu=T&&es&&es.gather_time?es.gather_time/86400:null,ep=null==l||null==(t=l.changelog_initial)?void 0:t.data,ef=ep&&l.quantity-ep.quantity||null,eg=J?(null==l||null==(i=l.item)?void 0:i.partner_name)==="leko"?"оÑ\xa015\xa0минÑÑ Ð´Ð¾\xa0неÑколÑкиÑ
ÑаÑов":"не\xa0более 10\xa0минÑÑ":null,eh=(0,a.useMemo)(()=>{var e;let t=null==l||null==(e=l.item)?void 0:e.pt_groups,[i]=(0,m.cO)(l.pack_type,t,null==l?void 0:l.quantity),n=(0,d.uGO)(t)&&t.filter(e=>["ordered","not_ordered"].includes(null==X?void 0:X.item_state_name)?["ordered","not_ordered"].includes(e.state):!["ordered","not_ordered"].includes(e.state)),a=[],o=(0,s.A)(O)?[]:Object.values(O).reduce((e,t)=>
1{var i;return(null==t||null==(i=t.item)?void 0:i.id)===(null==Y?void 0:Y.id)?[...e,t]:e},[]);if((0,d.uGO)(o)&&(0,d.uGO)(n)){let e=(0,_.pm)(o,n);(0,d.uGO)(e)&&a.push(...e)}let r=[];if((0,d.uGO)(a)&&(0,d.uGO)(n)){let e=!!((null==X?void 0:X.unit)!=="roll"&&(0,_.oF)(o,a)),t=a.map(e=>e.activePackType)||[];n.forEach(i=>{let n=null==i?void 0:i.intervals,a=null==i?void 0:i.state,l=n.filter(e=>(!t.includes(e)||e[0]===(null==X?void 0:X.id))&&null!==e[4]);if((0,d.uGO)(l))if(e){let e=l.filter(e=>"roll"!==e[2]||"common"!==a);(0,d.uGO)(e)&&r.push({...i,intervals:e})}else r.push({...i,intervals:l})})}return{cartItem:l,activePackType:i,activePackTypes:a,filteredPtGroups:n,avaliablePacktypes:r}},[l,X]);return(0,n.jsxs)("div",{className:o()(x().container,{[x().containerInitial]:F,[x().containerEdit]:C,[x().containerEdited]:C&&w,[x().containerDeleted]:C&&l.isDeleted,[x().containerIsShortCartItem]:P}),children:[(0,n.jsxs)("span",{className:o()(x().field,x().fieldItem,"order-item"),children:[(0,n.jsxs)("span",{className:o()(x().itemGroupLink,{[x().itemGroupLinkDisabled]:l.service_name}),onClick:l.service_name?void 0:()=>{if("function"==typeof j){var e;j(l,null==l||null==(e=l.item)?void 0:e.id)}},children:[(0,n.jsx)("span",{className:o()(x().itemPhoto,"order-item-photo",{[x().itemPhotoQuickComplectation]:"quick_complectation"===l.service_name,[x().itemPhotoInsurance]:"insurance"===l.service_name,[x().itemPhotoDelivery]:"delivery"===l.service_name,"skeleton-bg":l.isFetching}),style:Z?{backgroundImage:"url('".concat(Z,"')")}:{}}),(0,n.jsxs)("span",{className:x().itemInfo,children:[(0,n.jsx)("span",{className:x().itemGroupName,title:B,children:B}),!J&&(Y.color||Y.tone||Y.size)&&(0,n.jsxs)("span",{className:x().itemColor,children:[Y.color||Y.size,(Y.color||Y.size)&&Y.tone&&"\xa0/ ",Y.tone]}),J&&Y.size&&(0,n.jsxs)("span",{className:x().itemColor,children:["ÑазмеÑ: ",Y.size]}),(0,n.jsxs)("span",{className:x().itemSku,children:[R,C&&!l.isDeleted&&(0,n.jsx)("span",{className:x().delete,title:"УбÑаÑÑ Ð¸Ð· заказа",onClick:e=>{e.stopPropagation();let t={id:l.id,quantity:l.quantity,pack_type:l.pack_type,price:l.price,superDuperNewKey:!0};V(q("-1",{...l.item},X,t))}})]})]})]}),ec&&(0,n.jsx)("div",{className:x().notice,children:(0,n.jsx)(v.A,{icon:"!",title:e_,iconModificator:["blue-border-2"],titleModificator:["yellow"]})}),eu&&(0,n.jsx)("div",{className:o()(x().notice,x().storageNotice),children:(0,n.jsxs)("span",{children:[(0,n.jsxs)("b",{children:["+",eu,"\xa0",(0,d.E5T)(eu,"денÑ","днÑ","дней")]})," комплекÑаÑии"]})}),$&&b&&(0,n.jsx)("div",{className:o()(x().notice,x().storageNotice,x().storageNoticeDelay),children:(0,n.jsxs)("div",{className:x().storageNoticeVal,children:[(0,n.jsx)("span",{className:x().storageNoticeTitle,children:"под заказ"})," ",p.XO]})})]}),!U&&!J&&(0,n.jsxs)("span",{className:o()(x().field,x().fieldQuantity,C&&x().fieldQuantityEdit),children:[et&&(0,n.jsxs)("span",{children:["ÐбÑÐ°Ð·ÐµÑ ",p.dk]}),ei&&(0,n.jsxs)("span",{children:["ÐбÑÐ°Ð·ÐµÑ ",p.z3]}),!en&&!C&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{children:[K," ",el&&el.shortForm]}),F&&ep&&ef&&0!==ef&&(0,n.jsx)("span",{className:o()(x().initialState,{[x().initialStateNegative]:ef<0}),children:"".concat((0,d.VZ2)(ef)>0?"+":"").concat((0,d.VZ2)(ef)," ").concat(el.shortForm)}),!ee&&!!X&&X.quantity>1&&(0,n.jsxs)("div",{children:[(0,d.VZ2)(K/X.quantity)," ",eo&&eo.shortForm]})]}),!en&&C&&(0,n.jsx)(h.A,{disableDelete:!0,item:Y,itemGroup:H,orderId:G,orderItem:l,activePackType:X,cartItem:{...l,pack_type:X,itemGroup:H,superDuperNewKey:!0},isMultyPacktypes:!0,ignoreSamplesInCart:!0,multyPackTypeData:eh,filtredPtGroups:null==eh?void 0:eh.filteredPtGroups,activePackTypes:null==eh?void 0:eh.activePackTypes,avaliablePacktypes:null==eh?void 0:eh.avaliablePacktypes,storages:W,view:"order"})]}),l.isFetching&&(0,n.jsx)("span",{className:o()(x().field,x().fieldTotal,"skeleton-bg skeleton-border"),children:"\xa0"})||et&&(0,n.jsx)("span",{className:o()(x().field,x().fieldTotal),children:"â"})||!P&&(0,n.jsxs)("span",{className:o()(x().field,{[x().fieldTotal]:!J,[x().fieldPrice]:J}),children:[ee&&"~ ",(0,n.jsx)(g.A,{value:Q*K*z,priorityCurrency:M,priorityCurrencyRate:L})]}),J&&(0,n.jsxs)("span",{className:o()(x().field,x().fieldFiles),children:[(0,d.uGO)(N)&&(0,n.jsx)("div",{className:x().filesInfo,children:(0,n.jsx)(I.A,{files:N,smallIcons:!0})}),k&&(0,n.jsx)(y.A,{color:"blue"}),D&&!(0,d.uGO)(N)&&!k&&(0,n.jsxs)("div",{className:x().filesInfo,children:[(0,n.jsx)("span",{className:x().greenSpecText,children:"ÐÑкÑойки еÑÑ ÑоÑмиÑÑÑÑÑÑ"}),". ÐбÑÑно ÑÑо Ð·Ð°Ð½Ð¸Ð¼Ð°ÐµÑ ",(0,n.jsx)("b",{children:eg})," поÑле оплаÑÑ."]}),!D&&!k&&"â"]}),F&&(0,n.jsxs)("span",{className:o()(x().field,x().fieldInitial),children:[l.is_deleted&&(0,n.jsx)("div",{children:"Удален"}),l.changelog_initial.metadata&&l.changelog_initial.metadata.is_additional_buy&&(0,n.jsxs)("div",{children:["Ðозаказ Ð¾Ñ ",c()(l.changelog_initial.date_created).format("DD-MM-YYYY")]})]})]})}},71587:e=>{e.exports={container:"orderItem_container___tfIC",containerEdited:"orderItem_containerEdited__7K82v",containerDeleted:"orderItem_containerDeleted__ybF7T",field:"orderItem_field__2Q
1QEc",fieldItem:"orderItem_fieldItem__TnXIc",itemGroupLink:"orderItem_itemGroupLink__VJYpU",itemGroupLinkDisabled:"orderItem_itemGroupLinkDisabled__JDMuB",itemPhoto:"orderItem_itemPhoto__t_ZM8",itemPhotoQuickComplectation:"orderItem_itemPhotoQuickComplectation__TvsPm",itemPhotoInsurance:"orderItem_itemPhotoInsurance__kT2br",itemPhotoDelivery:"orderItem_itemPhotoDelivery__QuX7D",itemInfo:"orderItem_itemInfo__kKqzI",itemGroupName:"orderItem_itemGroupName__3Sg8F",itemColor:"orderItem_itemColor__4ezFD",itemSku:"orderItem_itemSku__cWqcA",notice:"orderItem_notice__IvfRO",storageNotice:"orderItem_storageNotice__hGnrA",storageNoticeDelay:"orderItem_storageNoticeDelay__wsVK7",storageNoticeVal:"orderItem_storageNoticeVal__SpldV",storageNoticeTitle:"orderItem_storageNoticeTitle__uwewi",fieldQuantity:"orderItem_fieldQuantity__juAqR",fieldQuantityEdit:"orderItem_fieldQuantityEdit__yEYKE",fieldTotal:"orderItem_fieldTotal__z8tcE",fieldFiles:"orderItem_fieldFiles__dkOwK",filesInfo:"orderItem_filesInfo__t9pTE",fieldInitial:"orderItem_fieldInitial____Fy7",delete:"orderItem_delete__rqydm",initialState:"orderItem_initialState__2EwV1",initialStateNegative:"orderItem_initialStateNegative__8BmO5",greenSpecText:"orderItem_greenSpecText__dri_w",fieldPrice:"orderItem_fieldPrice__zLw8e",containerIsShortCartItem:"orderItem_containerIsShortCartItem__l_oP5",containerEdit:"orderItem_containerEdit__HvLBf"}},88042:(e,t,i)=>{"use strict";i.d(t,{A:()=>_});var n=i(37876),a=i(14232),l=i(58103),o=i.n(l),s=i(82525),r=i(59870),c=i(65835),d=i(76608),m=i.n(d);let _=e=>{let{icon:t,title:i,modificator:l,iconModificator:d,iconTitle:_,titleModificator:u,dropdownModificator:p,containerModificator:f,dropdownStyle:g,text:h,additionalClassNames:v,children:y,titleAsPseudoLink:I,onClick:j,showOnClick:x}=e,N=(0,a.useRef)(null),k=(0,s.GV)(r.dG),b=e=>{e.stopPropagation(),(0,c.MaB)()&&N&&(N.current.classList.contains("opened")?N.current.classList.remove("opened"):N.current.classList.add("opened"))},D=h||y;return(0,n.jsxs)("div",{ref:N,className:o()("notice-widget",m().noticeWidget,v,(0,c.LVb)(["notice-widget"],l||[]),{[m().noticeWidgetOnHover]:!k&&!x,[m().noticeWidgetOnClick]:k||x,[m().noticeWidgetInteractive]:"function"==typeof j}),onClick:j,children:[(0,n.jsxs)("span",{className:o()(m().noticeWidgetHeader,"notice-widget__header",{[m().noticeWidgetHeaderInteractive]:D}),onClick:"function"!=typeof j&&(k||x)&&D?b:void 0,title:"",children:[!!t&&(0,n.jsx)("span",{className:o()("notice-widget__icon",(0,c.LVb)(["notice-widget__icon"],d||[]),d,{[m().noticeWidgetIcon]:"object"!=typeof t}),title:_,dangerouslySetInnerHTML:"string"==typeof t&&(0,c.h5y)(t)||void 0,children:"object"==typeof t&&t||void 0}),i&&(0,n.jsx)("span",{className:o()(m().noticeWidgetTitle,"notice-widget__title",(0,c.LVb)(["notice-widget__title"],u||[]),{"pseudo-link":I}),children:i})]}),D&&(0,n.jsx)("div",{className:o()("notice-widget__dropdown-container",m().noticeWidgetDropdownContainer,f),children:(0,n.jsxs)("div",{className:o()("notice-widget__dropdown",m().noticeWidgetDropdown,(0,c.LVb)(["notice-widget__dropdown"],p||[])),onClick:k?b:null,style:g,children:[(k||x)&&(0,n.jsx)("span",{className:m().noticeWidgetCloser,onClick:k?null:b}),"string"==typeof h&&(0,n.jsx)("div",{className:m().noticeWidgetContent,dangerouslySetInnerHTML:(0,c.h5y)(h)}),"object"==typeof h&&(0,n.jsx)("div",{className:"".concat(m().noticeWidgetContent," notice-widget__content"),children:h}),y]})})]})}}}]);
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.