1"use strict";(self.webpackChunke_trade_react=self.webpackChunke_trade_react||[]).push([[1724],{21724:function(e,t,r){r.r(t),r.d(t,{default:function(){return _}});var o=r(98348),a=r(87401),s=r(76082),n=r(20596),u=r(74220),i=r(22125),d=r(11240),c=r(93121),l=r(50522),p=r(17317),g=r(24628),f=r(88137);const m=(0,s.Z)((e=>({root:{backgroundColor:"#F7F6F6","&.MuiAccordionDetails-root":{padding:"0"}},paper:{backgroundColor:"#F7F6F6"},divider:{backgroundColor:"#616161",height:1},managerProfileContainer:{minHeight:"800px",overflow:"visible"},leftSidebarProfile:{minHeight:"800px",height:"100%",boxShadow:"5px 0px 10px 0px rgba(163,163,163,1)",borderRight:"1px solid #bcbcbc",zIndex:"0"},captionSelectComponent:{padding:"0 0 0 20px",fontSize:"24px"},userInfo:{padding:"15px",background:"#e9f4fb",borderBottom:"1px solid #bcbcbc",zIndex:1,position:"relative"},userInfoBg:{padding:"10px",borderRadius:"5px"},tabStyle:{textAlign:"left","& span":{textAlign:"left",alignItems:"start"}},largestIcon:{fontSize:"30px"},newPreOrderHolder:{position:"relative"},toolBarButton:{margin:"0 0 5px",textAlign:"left",justifyContent:"flex-start","&:hover":{background:"#e9f4fb"}},selectSection:{boxShadow:"0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%)",background:"#e9f4fb"},overlay:{position:"fixed",top:"0",width:"100vw",height:"100vh",backgroundColor:"#eee"},blHead:{width:"100%",padding:"10px",background:"#fff"}}))),x=e=>{const{createPreOrder:t,getCreatePreOrder:r,listPreOrder:s,getListPreOrder:u,userProfile:i,frontendData:p,session:x,customer_id:b,sell_currency_id:h,customer:_,getCustomers:C,authentication:R,userSelectedData:S,setCustomerData:P,autoSwitcher:O,searchAutoSwitcher:y,autoComplete:w,setTypingSearchValue:q,languageReducer:v,results:D,query:k,getProductCart:E,productCart:H,currencies:I,main_currency:A,getOrderRequestData:F,getOrderRequest:L,orderRequest:Z,deleteRequestRow:z}=e,B=m(),{t:V}=(0,n.$)(),N=(0,d.Z)(),[T,j]=((0,c.Z)(N.breakpoints.up("md")),a.useState(0)),[M,W]=a.useState([]),[$,U]=a.useState(""),[G,J]=a.useState("currentOrderList"),[K,Q]=a.use
1State(""),[X,Y]=(0,a.useState)(""),[ee,te]=a.useState("panel1"),re=h&&I&&I.find((e=>e.id===h));(0,g.ii)(re,A,h);let oe=Number(window.location.href.split("/").pop()),ae={session_key:x.key,customer_id:b,currency_id:h,request_order_id:oe};(0,a.useEffect)((()=>{L(ae)}),[oe,!1===z.loading]),(0,a.useEffect)((()=>{p.customer_default&&U(p.customer_default)}),[p.customer_default]),(0,a.useEffect)((()=>{void 0!==_.results&&W(_.results)}),[_.results]);let se="",ne="",ue="-";if(R.loggedIn&&void 0!==S.customer_name){se=S.customer_name,ne=null!==S.customer_code?S.customer_code:"Ðод: -";let e=se.split(" ");ue=e[0].substring(0,1)+(void 0!==e[1]?e[1].substring(0,1):"")}return a.createElement("div",{className:(0,l.default)(B.managerProfileContainer,"manager_profile_container")},a.createElement(o.Z,{container:!0,style:{height:"100%"}},a.createElement(o.Z,{item:!0,xs:12,style:{padding:" 0 15px"}},a.createElement("div",{className:B.newPreOrderHolder},a.createElement(f.Z,{componentVersion:"editRequest"})))))};class b extends a.Component{componentDidMount(){}render(){return a.createElement(x,this.props)}}const h={openOrdersList:i.hI.openOrdersList,forgotPW:i.hI.forgotPW,getCreatePreOrder:p.H.getCreatePreOrder,getListPreOrder:p.H.getListPreOrder,getOrderRequestData:p.H.getOrderRequestData,getOrderRequest:p.H.getOrderRequest,getCustomers:i.fy.getCustomers,setCustomerData:i.fy.setCustomerData,autoComplete:i.RR.autoComplete,autoSwitcher:i.RR.searchAutoSwitcher,setTypingSearchValue:i.RR.setTypingSearchValue,getProductCart:i.Uw.getProductCart};var _=(0,u.$j)((function(e){const{userSelectedData:t,userProfile:r,frontendData:o,createPreOrder:a,listPreOrder:s,session:n,customer:u,authentication:i,languageReducer:d,productCart:c,orderRequest:l,deleteRequestRow:p}=e,{results:g,query:f}=e.autoComplete,{currencies:m,main_currency:x}=e.frontendData,{customer_id:b,customer_cart_id:h,sell_currency_id:_}=e.userSelectedData;return{userSelectedData:t,userProfile:r,frontendData:o,createPreOrder:a,listPreOrder:s,session:n,customer_id:b,sell_currency_id:_,customer:u,authentication:i,languageReducer:d,results:g,query:f,productCart:c,currencies:m,main_currency:x,orderRequest:l,deleteRequestRow:p}}),h)(b)}}]);
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.