PageSourceSearch

http://cptstudy.com/js/933.aa88c2e56a2fafef.js

js cptstudy.com collected 2026-09-28 12:26:30 UTC 7,326 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d803402f-b970-4d28-a920-d5d4ad852f7a",e._sentryDebugIdIdentifier="sentry-dbid-d803402f-b970-4d28-a920-d5d4ad852f7a")}catch(e){}}();var _sentryModuleMetadataGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"use strict";_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack],{"_sentryBundlerPluginAppKey:issa-error-code":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[933],{40933:function(e,t,n){n.r(t),n.d(t,{BlogNavigation:function(){return M}});var a=n(85893),r=n(41664),o=n.n(r),i=n(11163),l=n(67294),c=n(34052),d=n(5642),s=n(82206),p=n(7345),u=n(31705),h=n(82897),f=n(50066);let g=(0,f.iv)(["text-decoration:underline;text-underline-position:under;text-underline-offset:",";text-decoration-color:",";text-decoration-thickness:3px;"],e=>{let{theme:t}=e;return"".concat(t.spacing.xs,"px")},e=>{let{theme:t}=e;return t.colors.primary.base}),x=f.ZP.div.withConfig({componentId:"sc-fb1fda0a-0"})(["width:100%;position:sticky;top:57px;box-shadow:rgba(0,0,0,0.2) 0px 8px 16px;background-color:",";z-index:1;"],e=>{let{theme:t}=e;return"".concat(t.colors.white.base)}),b=f.ZP.ul.withConfig({componentId:"sc-fb1fda0a-1"})(["display:flex;align-items:center;justify-content:space-between;list-style:none;height:60px;width:100%;margin:0px;max-width:","px;margin:0 auto;"],e=>{let{theme:t}=e;return t.layoutWidth}),y=f.ZP.div.withConfig({componentId:"sc-fb1fda0a-2"})(["display:flex;align-items:center;justify-content:start;flex-wrap:nowrap;padding:",";overflow-x:scroll;&::-webkit-scrollbar{display:none;}scrollbar-width:none;-ms-overflow-style:none;@media (max-width:","px){","}"],e=>{let{theme:t}=e;return"".concat(t.spacing.md,"px 0")},e=>{let{theme:t}=e;return t.breakpoints.sm},e=>{let{showSearch:t}=e;return t&&"display: none;"}),w=f.ZP.li.withConfig({componentId:"sc-fb1fda0a-3"})(["color:",";font-size:",";display:flex;cursor:pointer;white-space:nowrap;padding:",";a{color:",";}a:hover,:hover{",";color:",";}",";"],e=>{let{theme:t}=e;return"".concat(t.colors.black.base)},e=>{let{theme:t}=e;return"".concat(t.fontSize.base,"px")},e=>{let{theme:t}=e;return"".concat(t.spacing.sm,"px ").concat(t.spacing.md,"px ").concat(t.spacing.sm,"px")},e=>{let{theme:t}=e;return"".concat(t.colors.black.base)},g,e=>{let{theme:t}=e;return"".concat(t.colors.darkgray.hover)},e=>{let{highlight:t}=e;return t&&g}),m=f.ZP.span.withConfig({componentId:"sc-fb1fda0a-4"})(["padding:",";"],e=>{let{theme:t}=e;return"".concat(t.spacing.xs,"px 0 0 ").concat(t.spacing.xs,"px")}),v=f.ZP.div.withConfig({componentId:"sc-fb1fda0a-5"})(["position:absolute;right:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;"]),k=f.ZP.ul.withConfig({componentId:"sc-fb1fda0a-6"})(["display:flex;justify-content:flex-end;border-top:1px solid ",";width:100%;max-width:","px;margin:right:30px;position:relative;@media screen and (max-width:","px){max-width:100%;}"],e=>{let{theme:t}=e;return"".concat(t.colors.lightgray.base)},e=>{let{theme:t}=e;return t.breakpoints.sm},e=>{let{theme:t}=e;return t.breakpoints.md}),j=f.ZP.div.withConfig({componentId:"sc-fb1fda0a-7"})(["min-width:440px;background-color:",";column-count:2;padding:",";box-shadow:rgba(0,0,0,0.2) 0px 8px 16px;@media screen and (max-width:","px){width:100%;padding:0 0 "," ",";}"],e=>{let{theme:t}=e;return"".concat(t.colors.white.base)},e=>{let{theme:t}=e;return"".concat(t.spacing.md,"px")},e=>{let{theme:t}=e;return t.breakpoints.md},e=>{let{theme:t}=e;return"".concat(t.spacing.sm,"px")},e=>{let{theme:t}=e;return"".concat(t.spacing.lg,"px")}),C=f.ZP.li.withConfig({componentId:"sc-fb1fda0a-8"})(["list-style:none;padding:",";>
1 a{cursor:pointer;color:black;}a:hover{",";}"],e=>{let{theme:t}=e;return"".concat(t.spacing.sm,"px")},g);var I={SubNavContainer:x,SubNavUl:b,LinkContainer:y,SubNavLink:w,IconContainer:m,Dropdown:v,CategoryList:k,ListItemContainer:j,ListItem:C,Search:f.ZP.div.withConfig({componentId:"sc-fb1fda0a-9"})(["display:flex;flex-direction:row;justify-content:flex-end;align-items:center;@media (max-width:","px){padding-right:30px;}"," @media (max-width:","px){"," "," margin:0 auto;}"],e=>{let{theme:t}=e;return t.layoutWidth},e=>{let{showSearch:t}=e;return t&&"width: 300px;"},e=>{let{theme:t}=e;return t.breakpoints.sm},e=>{let{showSearch:t}=e;return t&&"width: 90%;"},e=>{let{showSearch:t}=e;return t&&"padding-right: 0;"}),SearchInput:f.ZP.div.withConfig({componentId:"sc-fb1fda0a-10"})(["width:100%;> input{height:35px;}@media (max-width:","px){padding:0;}"],e=>{let{theme:t}=e;return t.breakpoints.sm}),SearchIcon:f.ZP.div.withConfig({componentId:"sc-fb1fda0a-11"})(["padding:0 0 0 10px;> svg{height:20px !important;width:20px !important;cursor:pointer;}"])};let M=e=>{let{allCategories:t,visibleArticles:n,setDropdown:r,dropdown:f,currentPage:g}=e,x=(0,i.useRouter)(),[b,y]=(0,l.useState)("More"),[w,m]=(0,l.useState)(!1),[v,k]=(0,l.useState)(""),j=n?n.map(e=>{var t;return null===(t=e.fields)||void 0===t?void 0:t.categories}).filter(e=>void 0!==e):[],C=n?(0,p._r)(t||[],j):t||[],M=(0,p._3)(C);(0,l.useEffect)(()=>{if(x.query.category){let e=x.query.category;(null==M?void 0:M.indexOf(e))<4?y("More"):y(e)}},[]);let _=e=>{let t="".concat(u.i5),{category:n}=x.query;n&&(t="".concat(t,"/").concat(n)),""!==e&&(t="".concat(t,"?search=").concat(e)),g>1&&(t="".concat(t).concat(""!==e?"&":"?","page=").concat(g)),x.push(t,null,{scroll:!1})},S=(0,l.useCallback)((0,p.Ds)(e=>{_(e)},500),[]);return(0,l.useEffect)(()=>{k(""),m(!1)},[x.query.category]),(0,a.jsxs)(I.SubNavContainer,{children:[(0,a.jsxs)(I.SubNavUl,{children:[(0,a.jsxs)(I.LinkContainer,{showSearch:w,children:[(0,a.jsx)(I.SubNavLink,{highlight:!x.query.category,children:(0,a.jsx)(o(),{href:"".concat(u.i5),children:"All Categories"})}),null==C?void 0:C.map((e,t)=>t<4&&e?(0,a.jsx)(I.SubNavLink,{highlight:x.query.category===(0,p.DG)(e),onClick:()=>y("More"),children:(0,a.jsx)(o(),{href:"".concat(u.i5,"/").concat((0,h.l)(e)),legacyBehavior:!0,children:e})},(0,p.hW)(e)):null),C.length>4&&(0,a.jsxs)(I.SubNavLink,{highlight:x.query.category===(0,p.DG)(b),onClick:()=>{r(!0)},children:[b,(0,a.jsx)(I.IconContainer,{children:(0,a.jsx)(c.bTu,{})})]})]}),(0,a.jsxs)(I.Search,{showSearch:w,children:[w&&(0,a.jsx)(I.SearchInput,{children:(0,a.jsx)(s.I,{value:v,onChange:e=>{var t;"string"==typeof(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.value)&&(k(e.target.value),S(e.target.value))},variant:"filled","aria-label":"Search"})}),(0,a.jsx)(I.SearchIcon,{children:(0,a.jsx)(d.vPO,{onClick:()=>{m(e=>!e)}})})]})]}),f&&(0,a.jsx)(I.Dropdown,{children:(0,a.jsx)(I.CategoryList,{children:(0,a.jsx)(I.ListItemContainer,{children:null==C?void 0:C.map((e,t)=>t>=4&&e?(0,a.jsx)(I.ListItem,{onClick:()=>y(e),children:(0,a.jsx)(o(),{href:"".concat(u.i5,"/").concat((0,h.l)(e)),legacyBehavior:!0,children:e})},(0,p.hW)(e)):null)})})})]})}}}]);

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.