(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9034],{31162:function(n,e,t){"use strict";t.d(e,{Z:function(){return p}});var i,r=t(95235),o=t(7328);t(2784);var a=t(89495),l=t(48840),c=t(60299),s=t(87330),u=t(52322);function d(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),t.push.apply(t,i)}return t}var h=(0,l.zo)(a.kC)(i||(i=(0,o.Z)(["\n flex-basis: 100%;\n align-items: center;\n ","\n ","\n\n color: ",";\n ","\n\n ","\n \n &::before {\n content: '';\n flex-grow: 1;\n background: ",";\n height: ",";\n font-size: 0;\n line-height: 0;\n ",";\n }\n &::after {\n content: '';\n flex-grow: 1;\n background: ",";\n height: ",";\n font-size: 0;\n line-height: 0;\n ","\n }\n"])),function(n){return n.maxWidth&&"max-width: ".concat(n.maxWidth,"px;")},function(n){return n.separatorMargin&&(0,c.e)(n.separatorMargin)},function(n){return n.theme.colors.palette.greys.dark},function(n){return(0,s.xv)(n.theme.separator.font.entry,n.theme.separator.font.style)},function(n){var e,t,i,r;return n.withSpacing&&(null!==(e=n.separatorMargin)&&void 0!==e&&e.top&&null!==(t=n.separatorMargin)&&void 0!==t&&t.bottom?"margin-top: ".concat(null===(i=n.separatorMargin)||void 0===i?void 0:i.top," px; margin-bottom: ").concat(null===(r=n.separatorMargin)||void 0===r?void 0:r.bottom,"px;"):"margin-top: ".concat((0,l.W0)(2.5),"; margin-bottom: ").concat((0,l.W0)(2.5),";"))},function(n){return n.separatorColor||n.theme.colors.palette.greys.light},function(n){return"".concat(n.height||1,"px")},function(n){return n.children?"margin-right: 15px":""},function(n){return n.separatorColor||n.theme.colors.palette.greys.light},function(n){return"".concat(n.height||1,"px")},function(n){return n.children?"margin-left: 15px":""}),p=function(n){return(0,u.jsx)(h,function(n){for(var e=1;e=3?e:"";if(ni(!!t),t){var i=t.split(" ").filter(function(n){return n.length>0}),r=n.accordions.reduce(function(n,e){var t=e.items.filter(function(n){var e;return!!(null!==(e=i.filter(function(e){return RegExp("(>[^<]*?|^[^<]*?)(".concat(e,")([^<]*?)"),"i").test(n.title)}))&&void 0!==e&&e.length)});if(null!=t&&t.length){var r=t.map(function(n){var e=i.reduce(function(n,e){return n.replace(RegExp("(>[^<]*?|^[^<]*?)(".concat(e,")([^<]*?)"),"i"),"$1$2$3")},n.title);return eF(eF({},n),{},{title:e})});return[].concat((0,nm.Z)(n),[eF(eF({},e),{},{items:r})])}return n},[]);D(null!=r&&r.length?r:null),Y(!(null!=r&&r.length)),P(null),E(A.map(function(n){return{title:n.title,active:!1}}))}else D(null),Y(!1),nz();e&&el.searchTermHandler(e)},[nf]);var nA=s.externalRoute;return(0,nI.jsxs)("div",{className:n.className,children:[(0,nI.jsxs)(eg,{children:[(0,nI.jsx)(eh,{textStyling:null===(r=u.widget.helpCenterCollection)||void 0===r?void 0:r.title,children:s.pageTitle}),(0,nI.jsx)(ep,{textStyling:null===(o=u.widget.helpCenterCollection)||void 0===o?void 0:o.subtitle,children:s.pageSubTitle}),(0,nI.jsx)(eB,{searchValue:nd,searchText:s.searchText,foundSearchResults:N,noResultsFound:s.noResultsFound,handleInputOnChange:function(n){np(n)},handleClearInput:function(){np(""),D(null),Y(!1),S||nz()},showNoResultsMessage:J,resultsRef:nl,noResultsMessageRef:nc})]}),(0,nI.jsxs)(nN.r,{columns:12,rows:1,children:[(0,nI.jsxs)(em,{colSpan:[12,5,4,4],leftGrid:!0,children:[(0,nI.jsx)(ef,{textStyling:null===(a=u.widget.helpCenterCollection)||void 0===a?void 0:a.leftRail.title,children:s.leftRailTitle}),(0,nI.jsx)("ul",{children:A.map(function(n,e){var t;return(0,nI.jsx)(ek,{children:(0,nI.jsx)(eZ,{textStyling:null===(t=u.widget.helpCenterCollection)||void 0===t?void 0:t.leftRail.content,"data-testid":"category-button-".concat(e),ref:function(n){return no.current?no.current[e]=n:void 0},active:n.active,onClick:function(){nb(e),el.sendCategoryTitleHandler(n.title)},onKeyDown:function(n){return ny(n,e)},children:n.title})},"category-button-".concat(e))})}),(0,nI.jsx)(eC,{}),(0,nI.jsx)(ef,{textStyling:null===(l=u.widget.helpCenterCollection)||void 0===l?void 0:l.leftRail.title,children:s.customerSupportTitle}),(0,nI.jsx)(function(n){var e=n.hasLivePerson,t=n.hasAdaChatbot,i=n.enabledAppleChat,r=n.i18nText;return(0,nI.jsxs)("ul",{children:[m&&(0,nI.jsx)(eW,{children:(0,nI.jsx)(ee,{})}),e&&!t&&(0,nI.jsx)(eW,{children:(0,nI.jsx)(n2,{outline:!0})}),t&&!e&&(0,nI.jsx)(eW,{children:(0,nI.jsx)(nV,{outline:!0})}),i&&(0,nI.jsx)(eQ,{href:"//bcrw.apple.com/urn:biz:".concat(r.appleBusinessId),content:r.messagesApp,children:(0,nI.jsx)(eK,{})}),(0,nI.jsx)(eQ,{href:x?nA:nZ.Z5.AccountNewMessage,content:r.message,children:(0,nI.jsx)(eV,{})}),!x&&(0,nI.jsx)(eQ,{href:nZ.Z5.AccountViewMessages,content:r.viewMessages,children:(0,nI.jsx)(eH,{})}),v&&(0,nI.jsx)(eQ,{href:"tel:".concat(r.contactUsNumber),content:r.contactUsText,altText:r.contactUsAlttext,children:(0,nI.jsx)(e$,{})})]})},{hasLivePerson:h,hasAdaChatbot:f,hasRingCentral:m,enabledAppleChat:nP,i18nText:s}),(0,nI.jsx)(function(n){var e,t=n.enabledSocialMedia,i=n.facebookUrl,r=n.twitterUrl,o=n.i18nText,a=n.theme;return t?(0,nI.jsxs)(nh.Fragment,{children:[(0,nI.jsx)(eC,{}),(0,nI.jsx)(ef,{textStyling:null===(e=a.widget.helpCenterCollection)||void 0===e?void 0:e.leftRail.title,children:o.socialLinksTitle}),(0,nI.jsxs)("ul",{children:[i&&(0,nI.jsx)(eQ,{href:i,content:o.facebook,children:(0,nI.jsx)(e_,{})}),r&&(0,nI.jsx)(eQ,{href:r,content:o.twitter,children:(0,nI.jsx)(eG,{})})]})]}):null},{enabledSocialMedia:nS,facebookUrl:p,twitterUrl:g,i18nText:s,theme:u})]}),(0,nI.jsx)(em,{colSpan:[12,7,8,8],activeSearch:nt,children:(0,nI.jsxs)(ev,{openedContent:B,ref:na,tabIndex:_,"data-testid":"accordion-container-".concat(null==S?void 0:S.index),children:[(0,nI.jsxs)(eu,{"data-testid":"back-button",onClick:function(){q(!1)},children:[(0,nI.jsx)(eI,{}),s.back]}),nO&&(0,nI.jsx)(eE,{showBackButton:K,children:(0,nI.jsx)(et.zx,{"data-testid":"back-button-accessibility",emphasis:"low",onClick:function(){nC((null==S?void 0:S.index)||0)},onKeyDown:function(n){return"Enter"===n.key&&nC((null==S?void 0:S.index)||0)},children:s.goBack})}),S&&(0,nI.jsx)(ex,{items:S.items,title:S.title,titleStyling:null===(c=u.widget.helpCenterCollection)||void 0===c||null===(c=c.accordion)||void 0===c?void 0:c.title,alignment:"left",subtitle:s.accordionSubTitle,closeAllOnRender:!0,contentPadding:!0,fitTitles:!0,addTitleRightMarginA11y:K,accordionTitleCallback:!0},S.index),!!(null!=N&&N.length)&&(0,nI.jsx)(eb,{"data-testid":"desktop-search-content",tabIndex:0,"aria-label":"".concat(s.searchResults," ").concat(nd),ref:nl,children:N.map(function(n,e){return(0,nI.jsx)(ey,{items:n.items,title:n.title,alignment:"left",closeAllOnRender:!0},"desktop-search-content-".concat(e))})}),J&&(0,nI.jsx)(eU,{"data-testid":"no-results-text",ref:nc,tabIndex:0,children:(0,nI.jsx)(ei.h,{type:"info",text:s.noResultsFound})})]})}),(0,nI.jsx)(function(n){return n.hasLivePerson?(0,nI.jsx)(eD,{children:(0,nI.jsx)("div",{className:"lp-panel",children:(0,nI.jsx)("div",{id:"checkout-lpButtonDiv"})})}):null},{hasLivePerson:h})]})]})})(nc||(nc=(0,nd.Z)(["\n padding: "," 0 ",";\n margin: 0 auto;\n max-width: ",";\n\n "," {\n padding: "," "," ",";\n }\n"])),(0,nP.W0)(3),(0,nP.W0)(1),function(n){return n.theme.site.siteWidth},function(n){return(0,nU.mq)(n.theme.breakpointUtils.map,"sm")},(0,nP.W0)(4),(0,nP.W0)(4),(0,nP.W0)(10)),e5=nP.zo.div(ns||(ns=(0,nd.Z)(["\n padding: ",";\n background-color: ",";\n"])),(0,nP.W0)(7),function(n){return n.theme.colors.palette.greys.white}),e4=(0,np.Z)({on:["visible"]})(eJ.G),e3=function(n){var e,t=(0,ng.ND)(),i=t.trustPilot,r=t.enableHelpCentreTrustPilot;if((null==n||null===(e=n.banners)||void 0===e?void 0:e.length)===0)return null;var o={accordions:n.banners.reduce(function(n,e){return 0===(e.banners||[]).length||n.push({title:e.title||"",items:e.banners.map(function(n){var e;return{title:n.accordionHeading,content:null===(e=n.accordionContent)||void 0===e||null===(e=e.content[0])||void 0===e?void 0:e.content,isOpen:!1}}),alignment:nf.K.LEFT}),n},[])};return(0,nI.jsxs)(e1,{children:[(0,nI.jsx)(e2,e0({},o)),(0,nI.jsx)(function(){return r&&(null!=i&&i.enableTrustBox||null!=i&&i.enableTrustPilot)?(0,nI.jsx)(e5,{children:(0,nI.jsx)(e4,e0({},i))}):null},{})]})}},39138:function(n){n.exports.A={kind:"Document",operationName:"Features",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Features"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identifiers"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"features"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"identifiers"},value:{kind:"Variable",name:{kind:"Name",value:"identifiers"}}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"always"},value:{kind:"BooleanValue",value:!0}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}}],loc:{source:"\nquery Features($identifiers: [String!]!) {\n features(input: { identifiers: $identifiers }) @client(always: true) {\n enabled\n }\n}\n"}}}}]); //# sourceMappingURL=9034.943b19c1956bc6d5.js.map