PageSourceSearch

https://www.accountsupport.com/help/_next/static/chunks/pages/category/[...category]-f93fe5f64a5ce8a2.js

js accountsupport.com collected 2026-10-03 22:11:59 UTC 5,443 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16],{9643:function(e,a,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[...category]",function(){return c(532)}])},532:function(e,a,c){"use strict";c.r(a),c.d(a,{__N_SSP:function(){return u},default:function(){return y}});var t=c(5893),r=c(7294),o=c(5152),n=c.n(o),i=c(1664),s=c.n(i),l=c(4291),d=c.n(l);let _=n()(()=>c.e(6851).then(c.bind(c,6851)),{loadableGenerated:{webpack:()=>[6851]}}),g=n()(()=>c.e(1305).then(c.bind(c,1305)),{loadableGenerated:{webpack:()=>[1305]}});function h(e){let{title:a,catParent:c,cat:o,basePath:n,hasChildCategories:i=!1,childCategories:l=[],nested:_=!1}=e,[g,u]=(0,r.useState)(),[y,m]=(0,r.useState)([]),[p,x]=(0,r.useState)("idle");return(0,r.useEffect)(()=>{!i&&g&&"idle"===p&&(x("loading"),fetch("".concat(n,"/api/categoryArticles?catParent=").concat(c,"&cat=").concat(o)).then(e=>{if(!e.ok)throw Error("HTTP ".concat(e.status));return e.json()}).then(e=>{let{articles:a}=e;m(a||[]),x("done")}).catch(()=>x("error")))},[g]),(0,t.jsxs)("div",{className:"".concat(d().accordion," ").concat(_?d().accordionNested:""),children:[(0,t.jsxs)("div",{className:d().accordionHeader,children:[_?(0,t.jsx)(s(),{href:"/topic/".concat(o),className:d().accordionTitle,children:a}):(0,t.jsx)("span",{className:d().accordionTitle,children:a}),(0,t.jsx)("button",{className:d().toggleButton,onClick:()=>u(e=>!e),"aria-expanded":g,"aria-label":g?"Collapse":"Expand",children:_?(0,t.jsx)("svg",{className:"".concat(d().chevronIcon," ").concat(g?d().chevronUp:""),width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M3 6l5 5 5-5",stroke:"#0462a7",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,t.jsx)("span",{className:d().toggleIcon,children:g?"-":"+"})})]}),(0,t.jsx)("div",{className:"".concat(d().accordionBody," ").concat(g?d().accordionBodyOpen:""),children:i?l.length>0?l.map(e=>(0,t.jsx)(h,{title:e.name,catParent:o,cat:e.slug,basePath:n,hasChildCategories:!0===e.hasChildCategories,childCategories:e.children||[],nested:!0},e.slug)):(0,t.jsx)("p",{className:d().loadingText,children:"No subcategories found."}):(0,t.jsxs)(t.Fragment,{children:["loading"===p&&(0,t.jsx)("p",{className:d().loadingText,children:"Loading articles..."}),"done"===p&&0===y.length&&(0,t.jsx)("p",{className:d().loadingText,children:"No articles found."}),"error"===p&&(0,t.jsx)("p",{className:d().loadingText,children:"Failed to load articles."}),y.map(e=>(0,t.jsxs)(s(),{href:"/article/".concat(e.urlName),className:d().articleCard,children:[(0,t.jsxs)("div",{className:d().articleContent,children:[(0,t.jsx)("span",{className:d().articleTitle,children:e.title}),(0,t.jsx)("p",{className:d().articleAbstract,children:e.summary})]}),(0,t.jsx)("span",{className:d().articleChevron,children:"›"})]},e.urlName))]})})]})}var u=!0;function y(e){let{brand:a,brandConfig:c,categoryData:r,categorySlug:o}=e;if(!r)return(0,t.jsxs)(_,{title:"Category Not Found",...e,children:[(0,t.jsx)(g,{showSearch:!0,brand:a,brandConfig:c}),(0,t.jsx)("p",{className:d().notFound,children:"Category not found."})]});let n=(null==c?void 0:c.basePath)||"";return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(_,{title:"".concat(r.name," - Knowledge Base"),...e,children:[(0,t.jsx)(g,{showSearch:!0,brand:a,brandConfig:c}),(0,t.jsxs)("nav",{className:d().breadcrumb,"aria-label":"Breadcrumb",children:[(0,t.jsx)(s(),{href:"/",children:"Home"}),(0,t.jsx)("span",{className:d().breadcrumbSeparator,children:"/"}),r.name]}),(0,t.jsxs)("main",{className:d().main,children:[(0,t.jsx)("div",{className:d().categoryHeader,children:(0,t.jsx)("h1",{className:d().categoryTitle,children:r.name})}),((null==r?void 0:r.children)||[]).map((e,a)=>(0,t.jsx)(h,{title:e.name,catParent:o,cat:e.slug,basePath:n,hasChildCategories:!0===e.hasChildCategories,childCategories:e.children||[]},e.slug))]})]})})}},4291:function(e){e.exports={breadcrumb:"category_breadcrumb__Ulpb3",breadcrumbSeparator:"category_breadcrumbSeparator__RxIT4",main:"category_main__M36HY",categoryHeader:"category_categoryHeader__J32UQ",categoryIcon:"category_categoryIcon__pPza_",categoryTitle:"category_categoryTitle__aJY2h",categoryDescription:"category_categoryDescription__DtwGR",categoryCount:"category_categoryCount__hSRbp",accordion:"category_accordion__4vu6v",accordionNested:"category_accordionNested__ja7zx",accordionHeader:"category_accordionHeader__wdjQ0",accordionTitle:"category_accordionTitle__mIZYe",toggleButton:"category_toggleButton__WIilZ",toggleIcon:"category_toggleIcon__VPHLL",chevronIcon:"category_chevronIcon___H5xY",chevronUp:"category_chevronUp__umj4W",accordionBody:"category_accordionBody__J3mtd",accordionBodyOpen:"category_accordionBodyOpen__m4VH2",loadingText:"category_loadingText__YO3a1",subCategorySection:"category_subCategorySection__etLKY",subCategoryTitle:"category_subCategoryTitle__Y7mRX",articleCard:"category_articleCard__PrRga",articleTitle:"category_articleTitle__leztS",articleContent:"category_articleContent__ACE2p",articleAbstract:"category_articleAbstract__OMUz8",articleChevron:"category_articleChevron__uYsj9",accordionItem:"category_accordionItem__j_u1m",chevron:"category_chevron__9W4QP",loader:"category_loader__kF86I",spinner:"category_spinner___tfxa",spin:"category_spin__6H6Cg",notFound:"category_notFound__3G5pc"}}},function(e){e.O(0,[6122,9774,2888,179],function(){return e(e.s=9643)}),_N_E=e.O()}]);

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.