PageSourceSearch

https://www.stannah.com/18.827f22b1e71d5860952e.js

js stannah.com collected 2026-10-09 21:39:39 UTC 15,706 bytes, 88 lines download raw bytes

1/*! @version pwa-studio: 1.41.1, @magento/venia-ui: ^11.7.3, @magento/upward-security-headers: ^1.1.21, @magento/pwa-theme-venia: ^2.4.0, @magento/pwa-buildpack: ^11.5.5, @magento/peregrine: ^15.7.3, @magento/pagebuilder: ^9.3.8, @magento/eslint-config: ~1.5.0, @magento/babel-preset-peregrine: ^1.3.3, @apollo/client: ~3.5.0 */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"04CE":function(e,t,n){"use strict"
3var o=n("q1tI"),r=n.n(o),a=n("TzuY"),i=n.n(a)
4function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]
5for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{}
6var n,o,r=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{}
7var n,o,r={},a=Object.keys(e)
8for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n])
9return r}(e,t)
10if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e)
11for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=Object(o.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=e.size,i=void 0===a?24:a,c=_objectWithoutProperties(e,["color","size"])
12return r.a.createElement("svg",_extends({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),r.a.createElement("polyline",{points:"18 15 12 9 6 15"}))})
13c.propTypes={color:i.a.string,size:i.a.oneOfType([i.a.string,i.a.number])},c.displayName="ChevronUp",t.a=c},"8LhH":function(e,t,n){"use strict"
14n.d(t,"a",function(){return c})
15var o,r=n("VkAN"),a=n.n(r),i=n("cXLW")
16const c=Object(i.a)(o||(o=a()(["\n    query accountChipQuery {\n        # eslint-disable-next-line @graphql-eslint/require-id-when-available\n        customer {\n            firstname\n            lastname\n            prefix\n            addresses {\n                firstname\n                lastname\n                street\n                city\n                region {\n                    region_code\n                    region\n                }\n                postcode\n                country_code\n                telephone\n            }\n            orders {\n                total_count\n                items {\n                    total {\n                        grand_total {\n                            value\n                            currency\n                        }\n                    }\n                }\n            }\n        }\n    }\n"])))},AUXF:function(e,t,n){"use strict"
17n.d(t,"a",function(){return i})
18var o=n("q1tI"),r=n("+TN3"),a=n("FITH")
19const i=e=>{const{queries:{getCustomerDetailsQuery:t}}=e,[{isSignedIn:n}]=Object(a.b)(),{data:i}=Object(r.a)(t,{fetchPolicy:"cache-and-network",nextFetchPolicy:"cache-first",skip:!n}),c=Object(o.useMemo)(()=>i&&i.customer||null,[i])
20return{currentUser:c,isLoadingUserName:n&&!c,isUserSignedIn:n}}},DATc:function(e,t,n){"use strict"
21t.a={root:"accordion-root-WbI border-2 border-solid border-subtle rounded-box"}},Hern:function(e,t,n){"use strict"
22var o=n("q1tI"),r=n.n(o),a=n("dDsW"),i=n("kriW"),c=n("Ty5D"),s=n("55Ip"),l=n("y1Xp"),u=n("FITH"),d=n("xtan"),p=n("qQMA"),m=n("NwDt"),b=n("t/pN"),f=n("LiED"),g={root:"customerAccountMenu-root-Pkd",rootAccordion:"customerAccountMenu-rootAccordion-OM-",rootSection:"customerAccountMenu-rootSection-8D6",titleWrapperSection:"customerAccountMenu-titleWrapperSection-JZs",contentsContainerSection:"customerAccountMenu-contentsContainerSection-Sg9",link:"customerAccountMenu-link-w81",linkTitle:"customerAccountMenu-linkTitle-ALP",checkIcon:"customerAccountMenu-checkIcon-FKc",linkActive:"customerAccountMenu-linkActive-Stw"},h=n("Ji1+"),v=n("M+p9")
23const y=r.a.createElement(h.a,{height:16,id:"Check",width:16,fill:"#06717F"})
24t.a=(e=>{const t=Object(l.a)(g,e.classes),n=Object(c.useHistory)(),h=Object(c.useLocation)(),[,{signOut:w}]=Object(u.b)(),O=Object(d.a)({signOut:w}),{menuItems:_}=O,{formatMessage:j}=Object(a.a)(),x=Object(p.b)().innerWidth>=768,[k,M]=Object(o.useState)(!1),E=null==_?void 0:_.find(e=>e.url===h.pathname),S=E?r.a.createElement(r.a.Fragment,null,E.name):j({id:"customerAccountMenu.dashboard",defaultMessage:"My dashboard"}),L=_.map(e=>r.a.createElement(s.c,{className:"".concat(t.link," ").concat(e.url===h.pathname?t.linkActive:""),key:e.name,title:e.name,to:e.url,onClick:t=>((e,t)=>{"accountMenu.signOutLink"===t&&(e.preventDefault(),M(!0),setTimeout(()=>{w()},3e3))})(t,e.id)},r.a.createElement("div",{className:t.linkTitle},e.name),r.a.createElement("div",{className:t.checkIcon},y)))
25return r.a.createElement(o.Fragment,null,r.a.createElement("div",{className:t.root},r.a.createElement(v.default,{shouldShowButtons:!1,isOpen:k,onCancel:()=>{w(),n.push("/")}},r.a.createElement("div",{className:t.tooltipContent},r.a.createElement("h2",null,r.a.createElement(i.a,{id:"customerAccountMenu.loggedOut",defaultMessage:"You have successfully logged out from your account"})))),x?L:r.a.createElement(m.a,{canOpenMultiple:!1,classes:{root:t.rootAccordion}},r.a.createElement(b.a,{id:"menu_items",classes:{root:t.rootSection,title_wrapper:t.titleWrapperSection,contents_container:t.contentsContainerSection},title:S},r.a.createElement(o.Suspense,{fallback:r.a.createElement(f.a,null)},L)))))})},"Ji1+":function(e,t,n){"use strict"
26var o=n("q1tI"),r=n.n(o),a=n("sRRO"),i=n.n(a),c=n("6k6T"),s=n("y1Xp")
27t.a=(e=>{const{className:t,fill:n,stroke:o,height:a,id:l,width:u}=e,d=Object(s.a)(c.a,e.classes)
28return r.a.createElement("span",{className:d.root},r.a.createElement("svg",{className:t,fill:n,height:a,width:u,stroke:o},r.a.createElement("use",{href:"".concat(i.a,"#").concat(l)})))})},NwDt:function(e,t,n){"use strict"
29n.d(t,"b",function(){return d})
30var o=n("q1tI"),r=n.n(o),a=n("uavz"),i=n("y1Xp"),c=n("DATc"),s={root:"accordion-root-vVq"}
31const l=Object(o.createContext)(),{Provider:u}=l
32t.a=(e=>
32{const{canOpenMultiple:t=!0,children:n}=e,o=Object(a.a)({canOpenMultiple:t,children:n}),{handleSectionToggle:l,openSectionIds:d}=o,p={handleSectionToggle:l,openSectionIds:d},m=Object(i.a)(c.a,s,e.classes)
33return r.a.createElement(u,{value:p},r.a.createElement("div",{className:m.root},n))})
34const d=()=>Object(o.useContext)(l)},TsSr:function(e,t,n){"use strict"
35var o=n("q1tI"),r=n("i8i4"),a=n("17x9")
36const i=e=>{let{children:t,container:n}=e
37const a=!globalThis.document,i=Object(o.useMemo)(()=>a?null:n instanceof HTMLElement?n:document.getElementById("root"),[n,a])
38return a?null:Object(r.createPortal)(t,i)}
39t.a=i,i.propTypes={children:a.node,container:a.object}},j5KG:function(e,t,n){"use strict"
40t.a={root:"section-root-vcS border-b-2 border-solid border-subtle",contents_container:"section-contents_container-BXA pb-sm pt-0 px-sm empty_hidden",contents_container_closed:"section-contents_container_closed-3du section-contents_container-BXA pb-sm pt-0 px-sm empty_hidden hidden",title:"section-title-wZq text-lg",title_container:"section-title_container-Zoo block cursor-pointer w-full m-0",title_wrapper:"section-title_wrapper-lkv gap-sm grid grid-cols-1 grid-flow-col h-[4.5rem] items-center justify-items-start px-sm py-0"}},j7o3:function(e,t,n){"use strict"
41var o=n("q1tI"),r=n.n(o),a=n("TzuY"),i=n.n(a)
42function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]
43for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{}
44var n,o,r=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{}
45var n,o,r={},a=Object.keys(e)
46for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n])
47return r}(e,t)
48if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e)
49for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=Object(o.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=e.size,i=void 0===a?24:a,c=_objectWithoutProperties(e,["color","size"])
50return r.a.createElement("svg",_extends({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),r.a.createElement("polyline",{points:"6 9 12 15 18 9"}))})
51c.propTypes={color:i.a.string,size:i.a.oneOfType([i.a.string,i.a.number])},c.displayName="ChevronDown",t.a=c},sRRO:function(e,t,n){e.exports=n.p+"sprite-f9c.svg"},"t/pN":function(e,t,n){"use strict"
52var o=n("pVnL"),r=n.n(o),a=n("QILm"),i=n.n(a),c=n("q1tI"),s=n.n(c),l=n("04CE"),u=n("j7o3"),d=n("NwDt"),p=n("oTwF"),m=n("y1Xp"),b=n("j5KG"),f={root:"section-root-jPo",title:"section-title-5Wl",contents_container:"section-contents_container-ejY",icon:"section-icon-Ogt"}
53const g=["children","id","title"]
54t.a=(e=>{const{children:t,id:n,title:o}=e,a=i()(e,g)
55delete a.isOpen
56const{handleSectionToggle:h,openSectionIds:v}=Object(d.b)(),y=Object(c.useCallback)(()=>h(n),[h,n]),w=Object(m.a)(b.a,f,e.classes),O=v.has(n),_=O?l.a:u.a,j=s.a.createElement(p.a,{src:_,className:w.icon,size:24}),x=O?w.contents_container:w.contents_container_closed
57return s.a.createElement("div",r()({className:w.root},a),s.a.createElement("button",{className:w.title_container,onClick:y,type:"button"},s.a.createElement("span",{className:w.title_wrapper},s.a.createElement("span",{className:w.title},o),j)),s.a.createElement("div",{className:x},t))})},uSIk:function(e,t,n){"use strict"
58n.d(t,"a",function(){return a})
59var o=n("FQNO")
60const r=e=>{if(!e)return null
61const t=e.value_label||""
62return"WARRANTY"===e.name?{title:t}:"FT_OPK1"===e.name?"OPK5_N"===e.value?{title:"".concat(t||e.name_label||"")}:null:{title:t,ofbizKey:e.name}},a=(e,t,n)=>{var a
63const i=n(o.u.professionalSurvey),c=n(o.u.oneYearWarranty),s=n(o.u.twoYearsWarranty),l=n(o.e.package),u=n(o.e.extras),d=n(o.e.serviceIncluded),p=t.NU_OBQ,m=t.R_RECON
64return{chairName:e,options:{[l]:[{title:"".concat((null==m?void 0:m.value_label)||""," ").concat(e," ").concat(p?"-":"","  ").concat((null==p?void 0:p.value_label)||""),sortKey:-100},...Object.keys(t).filter(e=>!o.h.concat(o.d).includes(e)).map(e=>r(t[e])).filter(e=>null==e?void 0:e.title).sort((e,t)=>
64e.sortKey-t.sortKey)],[d]:[{title:i},{title:"".concat("YES"===(null==m?void 0:null===(a=m.value)||void 0===a?void 0:a.toLocaleUpperCase())?c:s)}],[u]:[...o.h.map(e=>r(t[e])).filter(e=>e&&""!==e.title).sort((e,t)=>e.sortKey-t.sortKey)]}}}},uavz:function(e,t,n){"use strict"
65n.d(t,"a",function(){return r})
66var o=n("q1tI")
67const r=e=>{const{canOpenMultiple:t,children:n}=e,[r,a]=Object(o.useState)(new Set([])),i=Object(o.useCallback)(e=>{a(n=>{const o=new Set(n)
68return n.has(e)?o.delete(e):(t||o.clear(),o.add(e)),o})},[t,a])
69return Object(o.useEffect)(()=>{const e=new Set([])
70let r
71o.Children.toArray(n).forEach(t=>{if((e=>e.props.isOpen)(t)){const{id:n}=t.props
72e.add(n),r||(r=n)}}),!t&&e.size>1&&(e.clear(),e.add(r)),a(e)},[]),{handleSectionToggle:i,openSectionIds:r}}},vPqh:function(e,t,n){"use strict"
73t.a={root:"dialog-root-5kf fixed h-full left-[-100vw] opacity-0 right-0 top-0 w-full z-dialog invisible lg_right-auto",root_open:"dialog-root_open-WgS dialog-root-5kf fixed h-full left-[-100vw] opacity-0 right-0 top-0 w-full z-dialog invisible lg_right-auto",form:"dialog-form-v6v content-stretch grid h-full justify-end w-full lg_content-center lg_justify-center",mask:"dialog-mask-h2K absolute h-full left-0 top-0 w-full bg-gray-600 opacity-50",dialog:"dialog-dialog-jLL h-full max-h-full min-h-[360px] w-[640px] bg-white grid grid-rows-autoFirst max-w-modal overflow-hidden pointer-events-auto rounded-md shadow-dialog z-dialog lg_max-h-modal lg_max-w-full",header:"dialog-header-0Oy border-b border-solid border-subtle h-[3.5rem] pl-4 pr-3 py-0 gap-x-xs grid grid-cols-autoLast grid-flow-col items-center",headerText:"dialog-headerText-GXW capitalize leading-tight text-ellipsis overflow-hidden text-subtle whitespace-nowrap",headerButton:"dialog-headerButton-Yw6 justify-self-end",body:"dialog-body-iRY overflow-auto grid grid-rows-autoLast",contents:"dialog-contents-1DR p-xs",buttons:"dialog-buttons-amm gap-xs grid grid-flow-row justify-center p-md lg_grid-flow-col",confirmButton:"dialog-confirmButton-gqG button-root_highPriority-UpE button-root-MFn border-2 border-solid cursor-pointer font-bold inline-flex items-center justify-center leading-tight max-w-full min-w-[10rem] outline-none pointer-events-auto px-sm rounded-button text-center text-sm uppercase disabled_bg-gray-400 disabled_border-gray-400 disabled_opacity-50 disabled_pointer-events-none disabled_text-white focus_shadow-inputFocus hover_disabled_pointer-events-none bg-brand-dark border-brand-dark text-white active_bg-brand-darkest active_border-brand-darkest active_text-white hover_bg-brand-darkest hover_border-brand-darkest hover_text-white order-first lg_order-unset",cancelButton:"dialog-cancelButton-nBc button-root_lowPriority-Qoh button-root-MFn border-2 border-solid cursor-pointer font-bold inline-flex items-center justify-center leading-tight max-w-full min-w-[10rem] outline-none pointer-events-auto px-sm rounded-button text-center text-sm uppercase disabled_bg-gray-400 disabled_border-gray-400 disabled_opacity-50 disabled_pointer-events-none disabled_text-white focus_shadow-inputFocus hover_disabled_pointer-events-none bg-transparent border-gray-700 text-gray-700 active_border-gray-800 active_text-gray-800 hover_border-gray-800 hover_text-gray-800"}},wHH0:function(e,t,n){"use strict"
74var o=n("q1tI"),r=n.n(o),a=n("TzuY"),i=n.n(a)
75function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]
76for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function _objectWithoutProperties(e,t){if(null==e)return{}
77var n,o,r=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{}
78var n,o,r={},a=Object.keys(e)
79for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n])
80return r}(e,t)
81if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e)
82for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=Object(o.forwardRef)(function(e,t){var n=e.color,o=void 0===n?"currentColor":n,a=e.size,i=void 0===a?24:a,c=_objectWithoutProperties(e,["color","size"])
83return r.a.createElement("svg",_extends({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},c),r.a.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.a.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))})
84c.propTypes={color:i.a.string,size:i.a.oneOfType([i.a.string,i.a.number])},c.displayName="X",t.a=c},xtan:function(e,t,n){"use strict"
85n.d(t,"a",function(){return a})
86var o=n("q1tI"),r=n("dDsW")
87const a=e=>{const{signOut:t}=e,{formatMessage:n}=Object(r.a)()
88return{handleSignOut:Object(o.useCallback)(()=>{t()},[t]),menuItems:[{name:n({id:"accountMenu.orderHistoryLink",defaultMessage:"My orders"}),id:"accountMenu.orderHistoryLink",url:"/order-history"},{name:n({id:"accountMenu.myQuotesLink",defaultMessage:"My quotes"}),id:"accountMenu.myQuotesLink",url:"/account-quotes"},{name:n({id:"accountMenu.myDetailsLink",defaultMessage:"My details"}),id:"accountMenu.myDetailsLink",url:"/account-information"},{name:n({id:"accountMenu.accountClosureLink",defaultMessage:"Account closure"}),id:"accountMenu.accountClosureLink",url:"/account-closure"},{name:n({id:"accountMenu.signOutLink",defaultMessage:"Sign out"}),id:"accountMenu.signOutLink",url:""}]}}}}])

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.