PageSourceSearch

https://resteko.com/_nuxt/Dxsr5r2N.js

js resteko.com collected 2026-10-07 18:13:56 UTC 2,150 bytes, 1 lines download raw bytes

1import{h as a,aE as b,a7 as D}from"./CbzPAJGE.js";var t=(e=>(e.WARRANTY_REPAIR="warranty-repair",e.REPAIR="repair",e.UPGRADE="upgrade",e.SETTINGS="settings",e.TRADE_IN="trade-in",e))(t||{}),o=(e=>(e.PC="pc",e.LAPTOP="laptop",e.PERIPHERY="periphery",e))(o||{}),P=(e=>(e.SELF="self",e.DELIVERY="delivery",e))(P||{});const A=a([{label:"Гарантийный ремонт",value:t.WARRANTY_REPAIR},{label:"Платный ремонт / ТО",value:t.REPAIR},{label:"Апгрейд (Ускорить ПК/Ноутбук)",value:t.UPGRADE},{label:"Настройка ПО / Windows",value:t.SETTINGS},{label:"Оценка Trade-In",value:t.TRADE_IN}]),I=a([{label:"Системный блок (ПК)",value:o.PC},{label:"Ноутбук",value:o.LAPTOP},{label:"Периферия / Комплектующие",value:o.PERIPHERY}]),f=a([{label:"Самостоятельно привезу в магазин",value:P.SELF},{label:"Отправлю доставкой",value:P.DELIVERY}]),O=new Set(A.value.map(e=>e.value)),L=b("serviceDrawer",()=>{const e=D(),r=a(!1),s=a(!1),n=a(null),c=a(null),u=a(null),v=a(""),i=a(""),p=a(""),E=a(""),d=a(""),R=a(""),_=async()=>{try{return r.value=!0,(await e.post("service/request",{selected_option:n.value,selected_device_option:c.value,selected_logistic_option:u.value,warranty_doc_number:v.value,comment:i.value,contact_name:p.value,contact_phone:E.value,contact_email:d.value,contact_telegram:R.value})).data}catch(l){throw console.error("Не удалось сохранить сервисную заявку: "+l),l}finally{r.value=!1}},w=()=>{s.value=!0},m=()=>{n.value=null,c.value=null,u.value=null,v.value="",i.value="",p.value="",E.value="",d.value="",R.value=""};return{drawerVisible:s,selectedOption:n,selectedDeviceOption:c,selectedLogisticOption:u,warrantyDocNumber:v,comment:i,contactName:p,contactPhone:E,contactEmail:d,contactTelegram:R,serviceOptions:A,devicesOptions:I,logisticOptions:f,pending:r,openDrawer:w,closeDrawer:()=>{s.value=!1,m()},setSelectedOption:l=>{if(typeof l!="string"){n.value=null;return}n.value=O.has(l)?l:null},resetDrawerData:m,storeRequest:_}});export{P as S,t as a,L as u};

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.