PageSourceSearch

https://my.winchester.gov.uk/icustomer/static/js/1242.6b703a44.chunk.js

js winchester.gov.uk collected 2026-09-24 20:14:04 UTC 10,902 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkmcs=globalThis.webpackChunkmcs||[]).push([[1242,8397],{72131(e,t,l){l.d(t,{A:()=>_});var a=l(96540),o=l(78397),n=l(34714),s=l(93689),c=l(22022),r=l(71468),i=l(46278),u=l(44296);const m={userLogout:i.Ub},_=(0,r.Ng)(e=>{let{themeSlice:t}=e;const{themeSettingsData:l}=t;return{themeSettingsData:l}},m)(e=>{var t;const{themeSettingsData:l,userLogout:r}=e,{t:i,i18n:m}=(0,c.Bd)(),_=(0,n.Z)(),d=(0,s.Gq)("userDetails"),v=(0,s.Gq)("accessKeys"),E=[{id:1,name:i("serviceRequest"),path:"/completed-service-request-list"},{id:2,name:i("bookings"),path:"/upcoming-booking"},{id:5,name:i("personalInformation"),path:"/profile"},{id:7,name:i("changeYourPassword"),path:"/change-password"},1===(null==d?void 0:d.P_COUNCILLOR)&&{id:9,name:i("governance")},{id:8,name:i("logout")}];return a.createElement("div",null,a.createElement("div",{style:{borderTop:`8px solid ${null==l||null===(t=l.P_THEME)||void 0===t?void 0:t.P_SEP_REG_BG_COLOR}`}}),a.createElement("div",{className:"mt-3"},i("viewYour")),a.createElement("div",{className:"d-flex flex-column align-items-start justify-content-between mt-3"},E.map(e=>{var t;return a.createElement(o.default,{key:e.id,className:"p-0 ",themeSettingsData:l,onClick:async()=>{if(8===e.id){var t;const e={P_USER_ID:null==d?void 0:d.P_USER_ID,P_CLIENT_ID:null==v?void 0:v.P_CLIENT_ID,P_ACCESS_KEY:null==v?void 0:v.P_ACCESS_KEY,P_COUNCIL_ID:null==v?void 0:v.P_COUNCIL_ID,P_TOKEN:null==d?void 0:d.token},l=(0,s.yv)(e),a=await r(l);null!=a&&null!==(t=a.payload)&&void 0!==t&&t.P_STATUS&&((0,s.N2)(),(0,s.zs)("userDetails"),(0,s.zs)("userDetails_expires"),(0,s.zs)("session"),_("/"),window.location.reload())}else if(9===e.id){const e={P_USER_ID:null==d?void 0:d.P_USER_ID,P_CLIENT_ID:null==v?void 0:v.P_CLIENT_ID,P_ACCESS_KEY:null==v?void 0:v.P_ACCESS_KEY,P_COUNCIL_ID:null==v?void 0:v.P_COUNCIL_ID,P_LANG_CODE:m.language.toUpperCase(),TOKEN:null==d?void 0:d.token,P_COUNCILLOR_ID:null==d?void 0:d.P_COUNCILLOR_ID,redirectURL:"councillor",...(null==d?void 0:d.P_FIRST_NAME)&&{USER_FIRST_NAME:null==d?void 0:d.P_FIRST_NAME},...(null==d?void 0:d.P_LAST_NAME)&&{USER_LAST_NAME:null==d?void 0:d.P_LAST_NAME}},t=(0,s.yv)(e),l="iPortalProduction"===u.wX?`https://mycouncillor.mycouncilservices.com/login?token=${t}`:"iAppProduction"===u.wX?`https://councillor.mycouncilservices.com/login?token=${t}`:("demo"===u.wX||u.wX,`https://councillor.itouchvision.com/login?token=${t}`);window.open(l,"_blank")}else e.path&&_(e.path)},disable:!1,color:null==l||null===(t=l.P_THEME)||void 0===t?void 0:t.P_SEP_REG_BG_COLOR,size:"18px"},e.name)})))})},78397(e,t,l){l.r(t),l.d(t,{default:()=>n});var a=l(58168),o=l(96540);const n=e=>{let{children:t,onClick:l,disable:n,className:s,style:c,color:r,size:i,backgroundColor:u,ariaLabel:m}=e;const[_,d]=(0,o.useState)(!1);return o.createElement("button",(0,a.A)({role:"link",className:s?`${s} bg-transparent border-0 govuk-link text-start p-0`:"govuk-link  bg-transparent border-0 govuk-link text-start p-0",onClick:e=>{e.preventDefault(),n||l()},style:c||{color:r||"#1F70B8",fontSize:i||"20px",cursor:n?"not-allowed":"pointer",fontWeight:"normal",backgroundColor:u||""},onMouseEnter:()=>d(!0),onMouseLeave:()=>d(!1)},m&&{"aria-label":m}),t)}},81242(e,t,l){l.r(t),l.d(t,{default:()=>m});var a=l(96540),o=l(72131),n=l(44941),s=l(22022),c=l(71468),r=l(93689),i=l(34714);const u={organisationAcceptQuote:n.p0},m=(0,c.Ng)(e=>{let{themeSlice:t,organizationSlice:l}=e;const{themeSettingsData:a}=t,{organisationAcceptQuoteResponse:o}=l;return{themeSettingsData:a,organisationAcceptQuoteResponse:o}},u)(e=>{var t,l,n,c;const{t:u,i18n:m}=(0,s.Bd)(),[_,d]=(0,a.useState)(!1),[v,E]=(0,a.useState)(!1),[g,b]=(0,a.useState)(""),N=(0,i.Z)(),{getOrganisationQuotesDetailsResponse:k,themeSettingsData:p,organisationAcceptQuote:P,state:S}=e;console.log("🚀 ~ OrganisationQuoteReviewComponent ~ getOrganisationQuotesDetailsResponse:",k);const C=(0,r.Gq)("userDetails"),h=(0,r.Gq)("accessKeys"),I=window.matchMedia("(max-width: 768px)").matches;return a.createElement("div",null,a.createElement("div",{className:"container-xxl mb-2 mt-4 "},a.createElement("div",{className:" mt-5 editProfileComponent"},a.createElement("section",{"aria-label":"quote details",style:{width:I?"100%":"55%"}},a.createElement("div",null,a.createElement("span",{className:"me-2",style:{fontSize:"30px",fontWeight:"bold"}},u("information")),a.createElement("table",{className:"govuk-table mt-3 me-3 "},a.createElement("thead",{className:"govuk-table__head"},a.createElement("tr",{className:"govuk-table__row"},a.createElement("th",{scope:"col",className:"govuk-table__header"},u("Quote")),a.createElement("th",{scope:"col",className:"govuk-table__header"},u("details")))),a.createElement("tbody",{className:"govuk-table__body "},a.createElement("tr",{className:"govuk-table__row"},a.createElement("td",{className:"govuk-table__cell fw-bold"},u("number")),a.createElement("td",{className:"govuk-table__cell"},null==k?void 0:k.quoteId)),a.createElement("tr",{className:"govuk-table__row"},a.createElement("td",{className:"govuk-table__cell fw-bold"},u("status")),a.createElement("td",{className:"govuk-table__cell"},null==k?void 0:k.status)),a.createElement("tr",{className:"govuk-table__row"},a.createElement("td",{className:"govuk-table__cell fw-bold"},u("reference")),a.createElement("td",{className:"govuk-table__cell"},null==k?void 0:k.reference)),a.createElement("tr",{className:"govuk-table__row"},a.createElement("td",{className:"govuk-table__cell fw-bold"},u("expiry")),a.createElement("td",{className:"govuk-table__cell"},null==k?void 0:k.quoteExpireDate)))),a.createElement("table",{className:"govuk-table mt-3 me-3 "},a.createElement("thead",{className:"govuk-table__head"},a.createElement("tr",{className:"govuk-table__row"},a.createElement("th",{scope:"col",className:"govuk-table__header"},u("partyInformation")),a.createElement("th",{scope:"col",className:"govuk-table__header"}," ",u("details")))),a.createElement("tbody",{className:"govuk-table__body "},a.createElement("tr",{className:"govuk-table__row"},a.createElement("td",{className:"govuk-table__cell fw-bold "},u("organistaion")),a.createElement("td",{className:"govuk-table__cell"},null==k?void 0:k.oraganisationName)),a.createElement("tr",{className:"govuk-table__row"},a.createElement("td",{className:"govuk-table__cell fw-bold"},u("contact")),a.createElement("td",{className:"govuk-table__cell"},null==k?void 0:k.oraganisationContact)),(null==k?void 0:k.location)&&a.createElement("tr",{className:"govuk-table__row"},a.createElement("td",{className:"govuk-table__cell fw-bold"},u("location")),a.createElement("td",{className:"govuk-table__cell"},null==k?void 0:k.location)))),a.createElement("table",{className:"govuk-table mt-3"},a.createElement("thead",{className:"govuk-table__head "},a.createElement("tr",{className:"govuk-table__row"},a.createElement("th",{className:"govuk-table__header"}," ",u("item")),a.createElement("th",{className:"govuk-table__header"},u("quantity")),a.createElement("th",{className:"govuk-table__header"},u("cost")),a.createElement("th",{className:"govuk-table__header"},u("vat")),a.createElement("th",{className:"govuk-table__header"},u("total")))),a.createElement("tbody",{className:"govuk-table__body"},null==k||null===(t=k.items)||void 0===t||null===(l=t.filter(e=>null!==e.productItemId))||void 0===l?void 0:l.map(e=>a.createElement("tr",{className:"govuk-table__row",key:e.productItemId},a.createElement("td",{className:"govuk-table__cell"},e.item),a.createElement("td",{className:"govuk-table__cell text-center"},e.quantity),a.createElement("td",{className:"govuk-table__cell"},e.cost),a.createElement("td",{className:"govuk-table__cell"},e.vat),a.createElement("td",{className:"govuk-table__cell"},e.cost))),null==k||null===(n=k.items)||void 0===n||null===(c=n.filter(e=>null===e.productItemId))||void 0===c?void 0:c.map((e,t)=>a.createElement("tr",{className:"govuk-table__row",key:t},a.createElement("td",{className:"govuk-table__cell",colSpan:"4",style:{textAlign:"right",fontWeight:"bold"}}),a.createElement("td",{className:"govuk-table__cell",style:{fontWeight:"bold"}},e.total))))),v&&a.createElement("div",{className:"mt-4 mb-4"},a.createElement("div",{className:"govuk-error-summary","data-module":"govuk-error-summary"},a.createElement("div",{role:"alert"},a.createElement("div",{className:"govuk-error-summary__body"}
1,a.createElement("ul",{className:"govuk-list govuk-error-summary__list"},a.createElement("li",null,a.createElement("a",null," ",g))))))),0===(null==k?void 0:k.isFinal)&&a.createElement("div",{className:I?"d-flex-flex column":""},a.createElement("button",{className:"govuk-button mb-0 ","data-module":"govuk-button",type:"button",onClick:async()=>{var e,t,l,a;d(!0);const o={P_USER_ID:null==C?void 0:C.P_USER_ID,P_CLIENT_ID:null==h?void 0:h.P_CLIENT_ID,P_COUNCIL_ID:null==h?void 0:h.P_COUNCIL_ID,P_ACCESS_KEY:null==h?void 0:h.P_ACCESS_KEY,P_LANGUAGE_CODE:m.language.toUpperCase(),P_QUOTE_ID:S,P_IS_ACCEPTED:1},n=(0,r.yv)(o),s=await P(n);if(console.log("🚀 ~ OrganisationQuoteReviewComponent ~ response:",s),1===(null==s||null===(e=s.payload)||void 0===e||null===(t=e.P_RESPONSE)||void 0===t?void 0:t.P_RESULT))N(-1),E(!1),b("");else if(0===(null==s||null===(l=s.payload)||void 0===l||null===(a=l.P_RESPONSE)||void 0===a?void 0:a.P_RESULT)){var c,i;E(!0),b(null==s||null===(c=s.payload)||void 0===c||null===(i=c.P_RESPONSE)||void 0===i?void 0:i.P_MESSAGE)}setTimeout(()=>{d(!1)},3e3)},disabled:_},u("accept")),a.createElement("button",{className:I?"govuk-button--secondary mt-3":"govuk-button--secondary  ms-4","data-module":"govuk-button",type:"button",onClick:async()=>{var e,t,l,a;d(!0);const o={P_USER_ID:null==C?void 0:C.P_USER_ID,P_CLIENT_ID:null==h?void 0:h.P_CLIENT_ID,P_COUNCIL_ID:null==h?void 0:h.P_COUNCIL_ID,P_ACCESS_KEY:null==h?void 0:h.P_ACCESS_KEY,P_LANGUAGE_CODE:m.language.toUpperCase(),P_QUOTE_ID:S,P_IS_ACCEPTED:0},n=(0,r.yv)(o),s=await P(n);if(console.log("🚀 ~ OrganisationQuoteReviewComponent ~ response:",s),1===(null==s||null===(e=s.payload)||void 0===e||null===(t=e.P_RESPONSE)||void 0===t?void 0:t.P_RESULT))N(-1),E(!1),b("");else if(0===(null==s||null===(l=s.payload)||void 0===l||null===(a=l.P_RESPONSE)||void 0===a?void 0:a.P_RESULT)){var c,i;E(!0),b(null==s||null===(c=s.payload)||void 0===c||null===(i=c.P_RESPONSE)||void 0===i?void 0:i.P_MESSAGE)}setTimeout(()=>{d(!1)},3e3)},style:{width:I?"100%":""},disabled:_},u("reject"))))),a.createElement("div",{className:"editProfileMenu mb-4",style:{width:I?"100%":"35%"}},a.createElement("section",{"aria-label":"account right side menu"},a.createElement(o.A,{themeSettingsData:p}))))))})},58168(e,t,l){function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)({}).hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},a.apply(null,arguments)}l.d(t,{A:()=>a})}}]);

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.