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.