1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="a1a99371-1f72-dc0d-fabd-a07a898be548")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,500802,513018,e=>{"use strict";var t=e.i(474257),i=e.i(452015),r=e.i(870612),L=e.i(53299);function l(e){return(0,L.GenIcon)({tag:"svg",attr:{viewBox:"0 0 32 32"},child:[{tag:"path",attr:{d:"M 16 3 C 15.375 3 14.753906 3.210938 14.21875 3.59375 L 12.5625 4.75 L 10.65625 5 L 10.625 5 L 10.59375 5.03125 C 9.320313 5.316406 8.316406 6.320313 8.03125 7.59375 L 8 7.625 L 8 7.65625 L 7.75 9.59375 L 6.59375 11.09375 L 6.5625 11.125 L 6.5625 11.15625 C 5.863281 12.273438 5.832031 13.714844 6.59375 14.78125 L 7.78125 16.4375 L 8.09375 18.15625 L 4.875 23.0625 L 3.84375 24.59375 L 8.625 24.59375 L 9.78125 27.28125 L 10.5 29 L 11.53125 27.4375 L 14.6875 22.6875 C 15.535156 23.035156 16.492188 23.066406 17.3125 22.6875 L 20.46875 27.4375 L 21.5 29 L 22.21875 27.28125 L 23.375 24.59375 L 28.15625 24.59375 L 27.125 23.0625 L 24 18.3125 L 24.25 16.4375 L 25.40625 14.78125 L 25.4375 14.75 L 25.4375 14.71875 C 26.136719 13.601563 26.167969 12.191406 25.40625 11.125 L 24.25 9.46875 L 23.875 7.59375 L 23.90625 7.59375 C 23.902344 7.570313 23.878906 7.554688 23.875 7.53125 C 23.695313 6.222656 22.660156 5.160156 21.34375 5 L 21.3125 5 L 19.4375 4.75 L 17.78125 3.59375 C 17.246094 3.210938 16.625 3 16 3 Z M 16 5.03125 C 16.230469 5.03125 16.457031 5.101563 16.625 5.21875 L 18.40625 6.5 L 18.625 6.65625 L 18.875 6.6875 L 21.0625 7 L 21.09375 7 C 21.542969 7.050781 21.855469 7.363281 21.90625 7.8125 L 21.90625 7.875 L 22.3125 10.09375 L 22.34375 10.3125 L 22.5 10.5 L 23.78125 12.28125 C 24.019531 12.613281 24.050781 13.175781 23.75 13.65625 L 22.34375 15.625 L 22.3125 15.875 L 22 18.0625 L 22 18.09375 C 21.980469 18.257813 21.925781 18.410156 21.84375 18.53125 L 21.78125 18.5625 L 21.78125 18.59375 C 21.636719 18.765625 21.4375 18.878906 21.1875 18.90625 L 21.125 18.90625 L 18.84375 19.3125 L 18.59375 19.34375 L 18.40625 19.5 L 16.625 20.78125 C 16.292969 21.019531 15.699219 21.050781 15.21875 20.75 L 13.59375 19.5 L 13.40625 19.34375 L 13.125 19.3125 L 10.9375 19 L 10.90625 19 C 10.597656 18.964844 10.359375 18.804688 10.21875 18.5625 C 10.15625 18.453125 10.109375 18.324219 10.09375 18.1875 L 10.09375 18.125 L 9.6875 15.84375 L 9.65625 15.59375 L 9.5 15.40625 L 8.21875 13.625 C 7.980469 13.292969 7.949219 12.699219 8.25 12.21875 L 9.5 10.59375 L 9.65625 10.40625 L 9.6875 10.125 L 9.96875 8.03125 C 9.972656 8.015625 9.996094 8.015625 10 8 C 10.125 7.511719 10.511719 7.125 11 7 C 11.015625 6.996094 11.015625 6.972656 11.03125 6.96875 L 13.125 6.6875 L 13.375 6.65625 L 13.59375 6.5 L 15.375 5.21875 C 15.542969 5.101563 15.769531 5.03125 16 5.03125 Z M 22.90625 20.25 L 24.4375 22.59375 L 22.03125 22.59375 L 21.78125 23.21875 L 21.09375 24.8125 L 18.96875 21.5625 L 19.4375 21.21875 L 21.40625 20.875 L 21.40625 20.90625 C 21.429688 20.902344 21.445313 20.878906 21.46875 20.875 C 22.007813 20.800781 22.496094 20.574219 22.90625 20.25 Z M 9.09375 20.28125 C 9.519531 20.664063 10.0625 20.929688 10.65625 21 C 10.667969 21 10.675781 21 10.6875 21 L 12.59375 21.25 L 13.03125 21.59375 L 10.90625 24.8125 L 10.21875 23.21875 L 9.96875 22.59375 L 7.5625 22.59375 Z"},child:[]}]})(e)}var n=e.i(742628),o=e.i(149436),s=e.i(677607),u=e.i(687352);let a=(0,u.createContext)({});function c(){return(0,u.useContext)(a)}e.s(["CourseRewardProvider",0,function(e){let r,L,l=(0,i.c)(5),{onViewReward:n,children:o}=e;return l[0]!==n?(r={onViewReward:n},l[0]=n,l[1]=r):r=l[1],l[2]!==o||l[3]!==r?(L=(0,t.jsx)(a.Provider,{value:r,children:o}),l[2]=o,l[3]=r,l[4]=L):L=l[4],L},"useCourseReward",0,c],513018);var C=e.i(139580);function d(e){let r,L,l=(0,i.c)(13),{course:n,icon:o,label:u,href:a,linkAs:C}=e,d=void 0===C?"a":C,{onViewReward:f}=c();if(a){let e;return l[0]!==d||l[1]!==a||l[2]!==o||l[3]!==u?(e=(0,t.jsx)(s.Button,{asChild:!0,variant:"outline",size:"sm",className:"group/reward flex-1",children:(0,t.jsxs)(d,{href:a,children:[o,u]})}),l[0]=d,l[1]=a,l[2]=o,l[3]=u,l[4]=e):e=l[4],e}let m=!f;
2return l[5]!==n||l[6]!==f?(r=f?()=>f(n):void 0,l[5]=n,l[6]=f,l[7]=r):r=l[7],l[8]!==o||l[9]!==u||l[10]!==m||l[11]!==r?(L=(0,t.jsxs)(s.Button,{variant:"outline",size:"sm",type:"button",className:"group/reward flex-1",disabled:m,onClick:r,children:[o,u]}),l[8]=o,l[9]=u,l[10]=m,l[11]=r,l[12]=L):L=l[12],L}e.s(["AccomplishmentButton",0,function(e){let L,l,s,u,a,c,f,m=(0,i.c)(19),{course:p,linkAs:h,learnBaseUrl:g}=e,v=(0,o.useTRPC)();m[0]!==v.user.profile?(L=v.user.profile.queryOptions(),m[0]=v.user.profile,m[1]=L):L=m[1];let{data:x}=(0,r.useQuery)(L);m[2]!==x?(l=(0,C.isRewardEntitled)(x),m[2]=x,m[3]=l):l=m[3];let b=l,w="courseId"in p?p.courseId:void 0;m[4]!==v.courseCompletion.getCompletions?(s=v.courseCompletion.getCompletions.queryOptions({}),m[4]=v.courseCompletion.getCompletions,m[5]=s):s=m[5];let y=b&&null!=w;m[6]!==s||m[7]!==y?(u={...s,enabled:y},m[6]=s,m[7]=y,m[8]=u):u=m[8];let{data:j}=(0,r.useQuery)(u);if(m[9]!==j||m[10]!==w||m[11]!==b||m[12]!==g){let e=j?.find(e=>e.course.id===w)?.completionHash;a=b&&e?(0,C.getAccomplishmentHref)(e,g):null,m[9]=j,m[10]=w,m[11]=b,m[12]=g,m[13]=a}else a=m[13];let R=a;return m[14]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(n.RiGiftFill,{className:"text-warning size-5 group-hover/reward:animate-bounce"}),m[14]=c):c=m[14],m[15]!==p||m[16]!==R||m[17]!==h?(f=(0,t.jsx)(d,{course:p,label:"View Accomplishment",href:R,linkAs:h,icon:c}),m[15]=p,m[16]=R,m[17]=h,m[18]=f):f=m[18],f},"CertificateButton",0,function(e){let L,n,s,u,a,c,f,m=(0,i.c)(19),{course:p,linkAs:h,learnBaseUrl:g}=e,v=(0,o.useTRPC)();m[0]!==v.user.profile?(L=v.user.profile.queryOptions(),m[0]=v.user.profile,m[1]=L):L=m[1];let{data:x}=(0,r.useQuery)(L);m[2]!==x?(n=(0,C.isRewardEntitled)(x),m[2]=x,m[3]=n):n=m[3];let b=n;m[4]!==v.certificate.getCertificates?(s=v.certificate.getCertificates.queryOptions(),m[4]=v.certificate.getCertificates,m[5]=s):s=m[5],m[6]!==b||m[7]!==s?(u={...s,enabled:b},m[6]=b,m[7]=s,m[8]=u):u=m[8];let{data:w}=(0,r.useQuery)(u);if(m[9]!==w||m[10]!==p||m[11]!==b||m[12]!==g){let e=w?.find(e=>e.mainSlug===p.slug)?.certIdentifier;a=b&&e?(0,C.getCertificateHref)(e,g):null,m[9]=w,m[10]=p,m[11]=b,m[12]=g,m[13]=a}else a=m[13];let y=a;return m[14]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(l,{className:"text-warning size-4 group-hover/reward:animate-bounce"}),m[14]=c):c=m[14],m[15]!==p||m[16]!==y||m[17]!==h?(f=(0,t.jsx)(d,{course:p,label:"View Certificate",href:y,linkAs:h,icon:c}),m[15]=p,m[16]=y,m[17]=h,m[18]=f):f=m[18],f}],500802)}]); 3 4//# debugId=a1a99371-1f72-dc0d-fabd-a07a898be548
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.