PageSourceSearch

https://www.learn-apex.com/_next/static/chunks/app/blog/page-3ab1a11a5544b48d.js

js learn-apex.com collected 2026-10-04 14:32:08 UTC 9,888 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9404],{23062:function(e,t,n){Promise.resolve().then(n.bind(n,7440)),Promise.resolve().then(n.bind(n,70135))},52248:function(e,t,n){"use strict";n.d(t,{BM:function(){return v},Cm:function(){return p},HM:function(){return s},I_:function(){return r},KI:function(){return g},N8:function(){return h},ND:function(){return x},P7:function(){return o},Qb:function(){return f},YX:function(){return w},_I:function(){return d},ff:function(){return l},j6:function(){return u},rK:function(){return c},rq:function(){return b},uF:function(){return m},xC:function(){return j},xi:function(){return i},zr:function(){return a}});let r=e=>e.auth.userEmail,a=e=>e.auth.userName,o=e=>e.auth.subscription,c=e=>e.auth.accessToken,s=e=>e.auth.verify,u=e=>e.auth.progress,l=e=>e.auth.topicsProgress,i=e=>e.auth.lessonsProgress,d=e=>e.auth.projects,p=e=>e.auth.verifyTimeout,f=e=>e.auth.isLoggedIn,m=e=>e.auth.isRefreshing,h=e=>e.auth.isError,x=e=>e.auth.isSuccess,b=e=>e.auth.xp,g=e=>e.auth.xpTimeSpan,v=e=>e.auth.achievements,j=e=>e.auth.totalXp,w=e=>e.auth.streak},87251:function(e,t,n){"use strict";n.d(t,{KX:function(){return a},qQ:function(){return o},rT:function(){return r},sk:function(){return s},uR:function(){return c}});let r=e=>e.popUp.message,a=e=>e.popUp.showPopUp,o=e=>e.popUp.status,c=e=>e.popUp.leftBar,s=e=>e.popUp.xpGained},7440:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(57437),a=n(22169),o=n(61396),c=n.n(o),s=n(99261),u=n(16700),l=e=>{let{ids:t,names:n}=e,a=(0,u.f)(t,n);return(0,r.jsx)("ul",{className:"flex items-center gap-1",children:a.length>2?a.slice(0,2).map(e=>(0,r.jsx)("li",{className:"px-1 rounded-sm py-0.5 shrink-0 bg-black/85",children:(0,r.jsx)("p",{className:"text-editortext leading-4 text-white",children:e.name})},e.id)):a.map(e=>(0,r.jsx)("li",{className:"px-1 rounded-sm py-0.5 shrink-0 bg-black/85",children:(0,r.jsx)("p",{className:"text-editortext leading-4 text-white",children:e.name})},e.id))})},i=e=>{let{elem:t,imgUrl:n,refPage:o}=e;return"Full Apex Guide"===t.title.rendered&&console.log(t),(0,r.jsx)("li",{className:" rounded-xl shadow-editorShadow relative flex-grow 2xl:w-[calc((100%-80px)/3)] md:w-[calc((100%-80px)/2)] upToTablet:w-full border border-black hover:shadow-modulesShadow hover:scale-[1.02] duration-100",children:(0,r.jsxs)(c(),{href:"/blog/".concat(t.slug,"?r=").concat(o),className:"flex h-full flex-col justify-between",children:[(0,r.jsx)("div",{style:{backgroundImage:"none"===n?"":'url("'.concat(n,'")')},className:(0,a.cn)("w-full h-[163px] flex items-center justify-center rounded-xl rounded-b-sm border-b-2 border-b-black/30 shadow-sm overflow-hidden","none"===n?"bg-lightPurple/25":"bg-contain bg-no-repeat bg-center")}),(0,r.jsxs)("div",{className:"flex flex-wrap w-full gap-0.5 justify-between  mt-1 px-4",children:[(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)(s.vlc,{className:"w-5 h-5"}),(0,r.jsx)("p",{className:"text-editortext italic",children:(e=>{let t=new Date(e);return"".concat((0,a.ZY)(t.getMonth())," ").concat(t.getDate(),", ").concat(t.getFullYear())})(t.date)})]}),(0,r.jsx)(l,{ids:t.tags,names:t.class_list})]}),(0,r.jsxs)("div",{className:"py-3 px-6 mt-auto flex flex-grow flex-col justify-between",children:[(0,r.jsx)("h2",{className:"text-subtitle phone:text-paragraph phone:font-bold leading-6 text-center mb-1",children:t.title.rendered}),(0,r.jsx)("button",{type:"button",className:"px-8 mt-2 phone:px-4 py-2 w-fit bg-black block mx-auto rounded-xl text-white text-base font-semibold border-2 border-black hover:bg-mainPurple active:bg-accentPurple active:border-accentPurple",children:"Read more"})]})]})},t.id)}},70135:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var r=n(57437),a=n(24033),o=n(2265),c=n(68447),s=n(22169),u=e=>{let{buttonContent:t,className:n,...a}=e;return(0,r.jsx)(c.default,{buttonContent:t,props:{...a},className:(0,s.cn)("upToTablet:py-1 tablet:px-3 phone:px-2 disabled:grayscale-[75%] disabled:bg-black/50 disabled:cursor-not-allowed",n)})},l=e=>{let{total:t,currentPage:n,handleNav:a}=e;return(0,r.jsx)("ul",{className:"flex items-center gap-0.5 upToTablet:order-3 phone:flex-wrap",children:Array.from({length:t}).map((e,t)=>(0,r.jsx)("li",{children:(0,r.jsx)(u,{buttonContent:(t+1).toString(),onClick:()=>{a("page","".concat(t+1))},className:(0,s.cn)(n===t+1&&"bg-mainPurple")})},t))})},i=n(16700),d=n(88031),p=e=>{let{total:t,currentPage:n,handleNav:a}=e,o=(0,i.L)(n,t);return(0,r.jsx)("ul",{className:"flex items-center upToTablet:w-full justify-center gap-0.5 upToTablet:order-3 phone:flex-wrap",children:o.map((e,t)=>"number"==typeof e?(0,r.jsx)("li",{children:(0,r.jsx)(u,{buttonContent:e.toString(),onClick:()=>{a("page","".concat(e))},className:(0,s.cn)(n===e?"bg-mainPurple":"bg-black")})},t):(0,r.jsx)("li",{className:"flex items-center justify-center",children:(0,r.jsx)(d.Q81,{className:"w-8 h-8"})},t))})},f=e=>{let{currentPage:t,total:n,per_page:c}=e,s=(0,a.useRouter)(),i=(0,a.usePathname)(),d=(0,a.useSearchParams)(),f=(0,o.useCallback)((e,t)=>{let n=new URLSearchParams(d.toString());return n.set(e,t),n.toString()},[d]),m=n>t;return(0,r.jsxs)("div",{className:"flex upToTablet:flex-wrap items-center justify-center gap-4 w-full mx-auto",children:[(0,r.jsx)(u,{buttonContent:"Previous",onClick:()=>{s.push(i+"?"+f("page","".concat(t-1)))},disabled:1===t}),n<=10?(0,r.jsx)(l,{total:n,currentPage:t,handleNav:(e,t)=>{s.push(i+"?"+f(e,t))}}):(0,r.jsx)(p,{currentPage:t,total:n,handleNav:(e,t)=>{s.push(i+"?"+f(e,t))}}),(0,r.jsx)(u,{buttonContent:"Next",onClick:()=>{s.push(i+"?"+f("page","".concat(t+1)))},disabled:!m,className:"upToTablet:order-2"})]})}},16700:function(e,t,n){"use strict";n.d(t,{L:function(){return a},f:function(){return r}});let r=(e,t)=>{let n=t.filter(e=>e.includes("tag-")).map(e=>e.slice(4).split("-").join(" "));return e.map((e,t)=>({id:e,name:n[t]}))},a=(e,t)=>e<=3?[1,2,3,4,5,"delim",t-2,t-1,t]:e>3&&e<=5?[1,2,3,4,5,6,7,"delim",t]:e>=t-2?[1,2,3,"delim",t-4,t-3,t-2,t-1,t]:e<t-2&&e>=t-4?[1,"delim",t-6,t-5,t-4,t-3,t-2,t-1,t]:[1,"delim",e-2,e-1,e,e+1,e+2,"delim",t]},68447:function(e,t,n){"use strict";n.r(t);var r=n(57437),a=n(52248),o=n(87251),c=n(5882),s=n(22169);n(2265);var u=n(5080);t.default=e=>{let{className:t,buttonContent:n,refreshLoader:l=!1,props:i}=e,d=(0,c.v9)(a.uF),p=(0,c.v9)(o.rT);return(0,r.jsx)("button",{...i,className:(0,s.cn)("group rounded-[8px] flex justify-center items-center py-2 px-4 border-2 border-black bg-black hover:bg-mainPurple active:bg-accentPurple active:border-accentPurple",t),children:d&&l?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.Z,{color:"#9747FF",className:"mx-auto w-6 h-6 block shrink-0"}),p&&(0,r.jsx)("p",{className:"font-medium text-sm text-white",children:p})]}):"string"==typeof n?(0,r.jsx)("p",{className:"font-medium text-paragraph text-white",children:n}):n})}},22169:function(e,t,n){"use strict";n.d(t,{ZY:function(){return c},cn:function(){return o}});var r=n(57042),a=n(74769);function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.m6)((0,r.W)(t))}let c=e=>{switch(e){case 0:return"Jan";case 1:return"Feb";case 2:return"Mar";case 3:return"Apr";case 4:return"May";case 5:return"Jun";case 6:return"Jul";case 7:return"Aug";case 8:return"Sep";case 9:return"Oct";case 10:return"Nov";case 11:return"Dec";default:return""}}},24033:function(e,t,n){e.exports=n(15313)},5080:function(e,t,n){"use strict";var r=n(2265),a=n(31678),o=n(82671),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},u=(0,o.i)("ClipLoader","0% {transform: rotate(0deg) scale(1)} 50% {transform: rotate(180deg) scale(0.8)} 100% {transform: rotate(360deg) scale(1)}","clip");t.Z=function(e){var t=e.loading,n=e.color,o=void 0===n?"#000000":n,l=e.speedMultiplier,i=e.cssOverride,d=e.size,p=void 0===d?35:d,f=s(e,["loading","color","speedMultiplier","cssOverride","size"]),m=c({background:"transparent !important",width:(0,a.E)(p),height:(0,a.E)(p),borderRadius:"100%",border:"2px s
1olid",borderTopColor:o,borderBottomColor:"transparent",borderLeftColor:o,borderRightColor:o,display:"inline-block",animation:"".concat(u," ").concat(.75/(void 0===l?1:l),"s 0s infinite linear"),animationFillMode:"both"},void 0===i?{}:i);return void 0===t||t?r.createElement("span",c({style:m},f)):null}},82671:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var a=document.createElement("style");document.head.appendChild(a);var o=a.sheet,c="\n    @keyframes ".concat(r," {\n      ").concat(t,"\n    }\n  ");return o&&o.insertRule(c,0),r}},31678:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function a(e){var t=function(e){if("number"==typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var a=(e.match(/[^0-9]*$/)||"").toString();return r[a]?{value:t,unit:a}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}}},function(e){e.O(0,[614,3985,5580,520,5250,8963,5882,2971,4938,1744],function(){return e(e.s=23062)}),_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.