1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1581],{81581:(n,e,t)=>{t.d(e,{yi:()=>N,aO:()=>y,Pe:()=>R,No:()=>A,D2:()=>Q,HN:()=>T,Pz:()=>I,ex:()=>J,rM:()=>_,T8:()=>x,L$:()=>P,Tq:()=>E,Vq:()=>f,cV:()=>L,cI:()=>$});var r=t(1992),o=t(54454),i=t.n(o);let a=(n,e)=>async()=>{try{let{headers:t,...r}=function(n,e){let t={method:"POST",headers:{Accept:"application/json"}},{clone:r,files:o}=i()({query:n,variables:e}),a=JSON.stringify(r);try{if(o.size){let n=new FormData;n.append("operations",a);let e={},r=0;o.forEach(n=>{e[++r]=n}),n.append("map",JSON.stringify(e)),r=0,o.forEach((e,t)=>{n.append("".concat(++r),t)}),t.body=n}else t.headers["Content-Type"]="application/json",t.body=a}catch(n){console.log(n)}return t}(n,e),o=fetch("https://server.qeeper.co.uk/graphql",{headers:{...t},credentials:"include",...r}),a=await o;if(a.ok){let n=await a.json();if(n.errors)throw Error(JSON.stringify(n.errors[0]));return n.data}throw Error("Network Error occured while fetching the data. Please try again later"+a.status+a.statusText)}catch(n){throw Error("Some error occured while fetching the data. Please try again later"+n)}},s="\n fragment ChatMessageFragments_chatMessage on ChatMessage {\n id\n text\n isAdmin\n jobId\n createdAt\n}\n ",l="\n fragment CursorFragments_cursor on CursorPayload {\n id\n date\n score\n}\n ",c="\n fragment ErrorFragments_error on Error {\n path\n message\n}\n ",u="\n fragment SkillFragments_skill on Skill {\n id\n name\n icon\n iconName\n}\n ",p="\n fragment CityFragments_city on City {\n id\n city\n country\n timezone\n currency\n currencySymbol\n}\n ",d="\n fragment JobFragments_job on Job {\n id\n referenceId\n title\n slug\n details\n completionNotes\n remedialNotes\n adminJobReportNotes\n skillList {\n ...SkillFragments_skill\n }\n address\n location {\n type\n coordinates\n }\n postCode\n propertyAccess\n slotDuration\n startTimeSlots {\n date\n slots\n }\n startTime\n images\n completionImages\n videos\n completionVideos\n completionDocuments\n jobStatusId\n jobStatus {\n id\n title\n }\n supplierJobStatusId\n supplierJobStatus {\n id\n title\n }\n profileId\n profile {\n id\n fullName\n }\n authorId\n author {\n id\n fullName\n }\n clientId\n client {\n id\n fullName\n email\n phoneNumber\n }\n supplierId\n supplier {\n id\n fullName\n }\n preferredSupplierList {\n id\n fullName\n }\n cityId\n city {\n ...CityFragments_city\n }\n internalNotes\n labourCost\n materialCost\n otherCost\n clientCost\n supplierCost\n createdAt\n updatedAt\n publishedToApp\n b2cNotes\n}\n ".concat(u,"\n").concat(p),m="\n fragment JobFragments_jobSimple on Job {\n id\n referenceId\n title\n slug\n completionNotes\n details\n address\n location {\n type\n coordinates\n }\n postCode\n propertyAccess\n slotDuration\n startTime\n images\n completionImages\n videos\n completionVideos\n completionDocuments\n cityId\n labourCost\n materialCost\n otherCost\n remedialNotes\n clientCost\n supplierCost\n profit\n createdAt\n updatedAt\n jobStatusId\n jobStatus {\n id\n title\n }\n supplierJobStatusId\n supplierJobStatus {\n id\n title\n }\n}\n ",g="\n fragment ProfileFragments_profile on Profile {\n id\n email\n fullName\n image\n address\n phoneNumber\n refreshTokenVersion\n forgotPasswordLocked\n paymentTerms\n commission\n documents\n confirmed\n reported\n blocked\n createdAt\n updatedAt\n skillList {\n ...SkillFragments_skill\n }\n city {\n id\n city\n }\n roles {\n id\n name\n }\n insuranceExpiryDate\n notes\n rating\n}\n ".concat(u),b="\n fragment ProfileFragments_profileDetailed on Profile {\n id\n email\n fullName\n image\n address\n phoneNumber\n refreshTokenVersion\n forgotPasswordLocked\n confirmed\n reported\n blocked\n createdAt\n updatedAt\n roles {\n id\n name\n }\n skillList {\n ...SkillFragments_skill\n }\n}\n ".concat(u);"\n mutation CreateBooking($input: CreateBookingInput!) {\n createBooking(input: $input) {\n job {\n ...JobFragments_job\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(d,"\n").concat(c),"\n mutation AddChatMessage($input: AddChatMessageInput!) {\n addChatMessage(input: $input) {\n chatMessage {\n ...ChatMessageFragments_chatMessage\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(s,"\n").concat(c),"\n query JobChatList($input: JobChatListInput!) {\n jobChatList(input: $input) {\n chatList {\n ...ChatMessageFragments_chatMessage\n job {\n ...JobFragments_chatList\n }\n }\n hasMore\n cursor {\n ...CursorFragments_cursor\n }\n }\n}\n ".concat(s,"\n").concat("\n fragment JobFragments_chatList on Job {\n id\n title\n address\n chatCheckedAdmin\n chatCheckedSupplier\n profileId\n profile {\n id\n fullName\n }\n authorId\n author {\n id\n fullName\n }\n clientId\n client {\n id\n fullName\n }\n supplierId\n supplier {\n id\n fullName\n }\n preferredSupplierList {\n id\n fullName\n }\n}\n ","\n").concat(l),"\n query SearchChatMessage($input: SearchChatMessageInput!) {\n searchChatMessage(input: $input) {\n chatMessageList {\n ...ChatMessageFragments_chatMessageDetails\n }\n jobDetails {\n ...JobFragments_chatDetails\n }\n hasMore\n cursor {\n ...CursorFragments_cursor\n }\n }\n}\n ".concat("\n fragment ChatMessageFragments_chatMessageDetails on ChatMessage {\n id\n text\n isAdmin\n jobId\n createdAt\n}\n ","\n").concat("\n fragment JobFragments_chatDetails on Job {\n id\n title\n slug\n chatCheckedAdmin\n chatCheckedSupplier\n}
1\n ","\n").concat(l),"\n mutation AddCity($input: AddCityInput!) {\n addCity(input: $input) {\n city {\n ...CityFragments_city\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(p,"\n").concat(c);let f=(n,e)=>(0,r.useQuery)(void 0===n?["SearchCityList"]:["SearchCityList",n],a("\n query SearchCityList {\n searchCityList {\n cityList {\n id\n city\n country\n currency\n currencySymbol\n timezone\n }\n }\n}\n ",n),e);"\n mutation UpdateCity($input: UpdateCityInput!) {\n updateCity(input: $input) {\n city {\n ...CityFragments_city\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(p,"\n").concat(c),"\n mutation CreateClientProfile($input: CreateProfileInput!) {\n createClientProfile(input: $input) {\n profile {\n ...ProfileFragments_profile\n }\n accessToken\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(g,"\n").concat(c),"\n mutation AcceptJob($input: AcceptJobInput!) {\n acceptJob(input: $input) {\n job {\n ...JobFragments_job\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(d,"\n").concat(c);let C="\n mutation CreateJob($input: UpdateJobInput!) {\n createJob(input: $input) {\n job {\n ...JobFragments_job\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(d,"\n").concat(c),y=n=>(0,r.useMutation)(["CreateJob"],n=>a(C,n)(),n),h="\n query JobReportJobDetails($input: JobDetailsInput!) {\n jobReportJobDetails(input: $input) {\n job {\n id\n referenceId\n title\n details\n address\n slotDuration\n startTime\n supplierJobStatusId\n supplierJobStatus {\n id\n title\n }\n jobReport {\n id\n reportJobId\n description\n labourCost\n labourRevenue\n materialQuotes {\n materialText\n materialCost\n materialRevenues\n }\n materialRevenue\n parkingCost\n parkingRevenue\n otherCost\n otherRevenue\n totalCost\n totalRevenues\n beforeImages\n images\n videos\n documents\n }\n quotes {\n id\n description\n labourRevenue\n materialQuotes {\n materialText\n materialCost\n materialRevenues\n }\n parkingRevenue\n otherRevenue\n totalRevenues\n }\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(c),J=(n,e)=>(0,r.useQuery)(["JobReportJobDetails",n],a(h,n),e),F="\n query JobUpdateJobDetails($input: JobDetailsInput!) {\n jobUpdateJobDetails(input: $input) {\n job {\n ...JobFragments_job\n problemCategory {\n id\n name\n }\n problemSubcategory {\n id\n name\n skillId\n }\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(d,"\n").concat(c),_=(n,e)=>(0,r.useQuery)(["JobUpdateJobDetails",n],a(F,n),e),S="\n query JobDetails($input: JobDetailsInput!) {\n jobDetails(input: $input) {\n job {\n ...JobFragments_job\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(d,"\n").concat(c),I=(n,e)=>(0,r.useQuery)(["JobDetails",n],a(S,n),e);"\n query AdminSearchJobList($input: SeachJobListInput!) {\n adminSearchJobList(input: $input) {\n jobList {\n ...JobFragments_adminJobList\n city {\n ...CityFragments_adminCityJobList\n }\n skillList {\n ...SkillFragments_adminJobListSkill\n }\n }\n hasMore\n cursor {\n ...CursorFragments_cursor\n }\n }\n}\n ".concat("\n fragment JobFragments_adminJobList on Job {\n id\n referenceId\n title\n details\n address\n postCode\n slotDuration\n startTimeSlots {\n date\n slots\n }\n jobStatusId\n jobStatus {\n id\n title\n }\n supplierJobStatusId\n supplierJobStatus {\n id\n title\n }\n clientId\n client {\n id\n fullName\n }\n supplierId\n supplier {\n id\n fullName\n }\n startTime\n cityId\n internalNotes\n propertyAccess\n invoiceRef\n supplierCost\n clientCost\n profit\n publishedToApp\n}\n ","\n").concat("\n fragment CityFragments_adminCityJobList on City {\n id\n city\n timezone\n currency\n currencySymbol\n}\n ","\n").concat("\n fragment SkillFragments_adminJobListSkill on Skill {\n id\n name\n}\n ","\n").concat(l),"\n query AppHomeSearchJobList($input: AppHomeSearchJobListInput!) {\n appHomeSearchJobList(input: $input) {\n jobList {\n id\n title\n location {\n type\n coordinates\n }\n address\n slotDuration\n startTimeSlots {\n date\n slots\n }\n startTime\n postCode\n skillList {\n ...SkillFragments_skill\n }\n }\n hasMore\n cursor {\n ...CursorFragments_cursor\n }\n }\n}\n ".concat(u,"\n").concat(l),"\n query SearchJobList($input: SeachJobListInput!) {\n searchJobList(input: $input) {\n jobList {\n ...JobFragments_jobSimple\n jobStatusId\n jobStatus {\n id\n title\n }\n supplierJobStatusId\n supplierJobStatus {\n id\n title\n }\n profileId\n profile {\n id\n fullName\n }\n authorId\n author {\n id\n fullName\n }\n clientId\n client {\n id\n fullName\n }\n supplierId\n supplier {\n id\n fullName\n }\n preferredSupplierList {\n id\n fullName\n }\n city {\n ...CityFragments_city\n }\n skillList {\n ...SkillFragments_skill\n }\n }\n hasMore\n cursor {\n ...CursorFragments_cursor\n }\n }\n}\n ".concat(m,"\n").concat(p,"\n").concat(u,"\n").concat(l),"\n mutation UpdateJob($input: UpdateJobInput!) {\n updateJob(input: $input) {\n job {\n ...JobFragments_jobSimple\n city {\n ...CityFragments_city\n }\n skillList {\n ...SkillFragments_skill\n }\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(m,"\n").concat(p,"\n").concat(u,"\n").concat(c);let k="\n mutation UpdatePartialJob($input: UpdateJobInput!) {\n updatePartialJob(input: $input) {\n job {\n ...JobFragments_jobSimple\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(m,"\n").concat(c),$=n=>(0,r.useMutation)(["UpdatePartialJob"],n=>a(k,n)(),n),L=(n,e)=>(0,r.useQuery)(["SearchCityPrice",n],a("\n query SearchCityPrice($input: SearchCityPriceInput!) {\n searchCityPrice(input: $input) {\n cityPriceList {\n price\n }\n }\n}\n ",n),e),P=(n,e)=>
1(0,r.useQuery)(void 0===n?["ProblemCategoryList"]:["ProblemCategoryList",n],a("\n query ProblemCategoryList {\n problemCategoryList {\n problemCategoryList {\n id\n name\n iconName\n enabled\n problemSubcategoryConnection {\n id\n name\n skillId\n enabled\n }\n }\n }\n}\n ",n),e);"\n mutation ChangePassword($input: ChangePasswordInput!) {\n changePassword(input: $input) {\n profile {\n ...ProfileFragments_profile\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(g,"\n").concat(c);let j="\n mutation CreateB2CClientProfile($input: CreateB2CClientProfileInput!) {\n createB2CClientProfile(input: $input) {\n profile {\n ...ProfileFragments_profile\n }\n accessToken\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(g,"\n").concat(c),N=n=>(0,r.useMutation)(["CreateB2CClientProfile"],n=>a(j,n)(),n);"\n mutation CreateProfile($input: CreateProfileInput!) {\n createProfile(input: $input) {\n profile {\n ...ProfileFragments_profile\n }\n accessToken\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(g,"\n").concat(c);let D="\n query ProfileDetails($input: ProfileDetailsInput!) {\n profileDetails(input: $input) {\n profile {\n ...ProfileFragments_profile\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(g,"\n").concat(c),E=(n,e)=>(0,r.useQuery)(["ProfileDetails",n],a(D,n),e);"\n mutation UpdateProfile($input: UpdateProfileInput!) {\n updateProfile(input: $input) {\n profile {\n ...ProfileFragments_profile\n }\n accessToken\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(g,"\n").concat(c);let M="\n mutation CreateQuote($input: CreateQuoteInput!) {\n createQuote(input: $input) {\n quote {\n id\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(c),R=n=>(0,r.useMutation)(["CreateQuote"],n=>a(M,n)(),n),v="\n mutation CreateRemoteQuote($input: CreateRemoteQuoteInput!) {\n createRemoteQuote(input: $input) {\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(c),A=n=>(0,r.useMutation)(["CreateRemoteQuote"],n=>a(v,n)(),n),w="\n query GetJobReviewDetails($input: FindJobItemInput!) {\n getJobReviewDetails(input: $input) {\n job {\n id\n referenceId\n address\n clientReview {\n supplierFeedbackRating\n supplierFeedbackDetails\n qeeperFeedbackRating\n qeeperFeedbackDetails\n qeeperComments\n reviewStatus\n }\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(c),T=(n,e)=>(0,r.useQuery)(["GetJobReviewDetails",n],a(w,n),e),q="\n mutation CreateReview($input: CreateReviewInput!) {\n createReview(input: $input) {\n review {\n id\n }\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(c),Q=n=>(0,r.useMutation)(["CreateReview"],n=>a(q,n)(),n),U="\n query ListSkill {\n listSkill {\n ...SkillFragments_skill\n }\n}\n ".concat(u),x=(n,e)=>(0,r.useQuery)(void 0===n?["ListSkill"]:["ListSkill",n],a(U,n),e);"\n mutation Login($input: LoginInput!) {\n login(input: $input) {\n profile {\n ...ProfileFragments_profile\n }\n accessToken\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(g,"\n").concat(c),"\n query Me {\n me {\n profile {\n ...ProfileFragments_profileDetailed\n }\n accessToken\n errors {\n ...ErrorFragments_error\n }\n }\n}\n ".concat(b,"\n").concat(c)}}]); 2//# sourceMappingURL=1581-b358c37f85f2bca9.js.map
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.