1"use strict";(self.webpackChunkexternal_site=self.webpackChunkexternal_site||[]).push([[20688,30607],{8837:function(t,e,n){n.d(e,{Mt:function(){return r}});const i=(t,e)=>(s(e.directus,(t,e)=>"filename_disk"===e,(e,n,i)=>(i.file={publicURL:`${t}/${e}`},e)),e),a=(t,e)=>{t&&Object.entries(t).forEach(n=>{let[i,s]=n;e(s,i,t),"object"==typeof s&&null!==s&&a(s,e)})},s=(t,e,n)=>{a(t,(t,i,a)=>{e(t,i,a)&&(a[i]=n(t,i,a))})},o="https://static.classdojo.com/uploads",r=(l=o,t=>i(l,t));var l},35763:function(t,e,n){n.r(e),n.d(e,{default:function(){return Y}});var i=n(96540),a=n(90644),s=n(31698),o=n(19556),r=n(68926),l=n(17437);const{colors:{dt_taro50:x,dt_taro90:d}}=r.w4,c=(0,a.A)("section",{target:"erc2nn62"})({name:"1k63vzr",styles:"margin-top:60px;margin-bottom:30px"}),p=(0,a.A)("div",{target:"erc2nn61"})("width:100%;",o.HP[0],"{max-width:540px;}"),g=(0,a.A)("h1",{target:"erc2nn60"})("font-weight:800;font-size:30px;line-height:36px;letter-spacing:-0.35px;color:",d,";",o.HP[0],"{font-size:60px;line-height:60px;letter-spacing:-0.583333px;}");var m=t=>{let{hero_title:e,hero_text:n}=t;return(0,l.jsx)(c,null,(0,l.jsx)(s.A,null,(0,l.jsx)(p,null,(0,l.jsx)(g,null,e),(0,l.jsx)(r.DZ,{color:x},n))))},u=n(80162);const{colors:{dt_aqua20:j,dt_grape20:h,dt_white:_,dt_taro50:f,dt_aqua50:y},radii:{dt_radius_s:b,dt_radius_m:w},shadows:{dt_shadow_shadezies:v}}=r.w4,A=(0,a.A)("section",{target:"e1ye14d013"})("width:100%;",o.HP[0],"{padding:0 15px;margin:auto;width:750px;}",o.HP[1],"{width:970px;}",o.HP[2],"{width:1170px;}"),k=(0,a.A)("div",{target:"e1ye14d012"})("padding:0 15px;",o.HP[0],"{padding:0;}"),z=(0,a.A)("div",{target:"e1ye14d011"})("width:100%;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-gap:12px;padding:24px;border-radius:",w,";background-color:",j,";",o.HP[0],"{grid-template-columns:1fr 1fr;grid-gap:18px;}",o.HP[2],"{grid-template-columns:1fr 1fr 1fr;}"),C=(0,a.A)(z,{target:"e1ye14d010"})("background-color:",h,";"),P=(0,a.A)("div",{target:"e1ye14d09"})("width:100%;display:flex;",o.HP[0],"{max-width:420px;}"),$=(0,a.A)("img",{target:"e1ye14d08"})({name:"1h0iiyf",styles:"width:48px;height:48px;margin-right:12px"}),H=(0,a.A)("div",{target:"e1ye14d07"})("padding:18px;display:flex;border-radius:",b,";background-color:",_,";box-shadow:",v,";"),R=(0,a.A)(H,{target:"e1ye14d06"})({name:"17a6lq5",styles:"display:block;position:relative;cursor:auto"}),L=(0,a.A)("div",{target:"e1ye14d05"})("width:42px;height:42px;border-radius:21px;display:flex;justify-content:center;align-items:center;background-color:",_,";box-shadow:",v,";position:absolute;top:-10px;right:-10px;"),D=(0,a.A)("img",{target:"e1ye14d04"})({name:"68x97p",styles:"width:32px;height:32px"}),U=(0,a.A)("div",{target:"e1ye14d03"})({name:"4abkha",styles:"width:100%;display:flex;pointer-events:none"}),q=(0,a.A)("img",{target:"e1ye14d02"})({name:"5grgev",styles:"width:64px;height:64px;margin-right:10px;pointer-events:none"}),I=(0,a.A)("div",{target:"e1ye14d01"})({name:"de3mt7",styles:"display:flex;@media (max-width: 374px){flex-direction:column;}"}),E=(0,a.A)("span",{target:"e1ye14d00"})("font-weight:700;font-size:18px;line-height:24px;color:",y,";padding:12px 18px;margin:0;cursor:pointer;text-align:center;");var F=t=>{let{high_achiever_title:e,expert_title:n,expert_text:a,content:s,gift_icon:o,badges_button_text:x,claim_badge_button_text:d,learn_more_button_text:c}=t;const p=(0,i.useRef)(null),g=(0,i.useContext)(u.Vs);function m(t){const e=(n=t.target,null!==(i=s.find(t=>t.id===n.id))&&void 0!==i?i:null);var n,i;p.current=e,g.showModal(u.q3.BadgesModal,{badge:p.current,gift_icon:o,badges_button_text:x,claim_badge_button_text:d})}return(0,l.jsx)(A,null,(0,l.jsx)(k,null,(0,l.jsx)(r.DZ,null,e)),(0,l.jsx)(r.$x,{size:"m"}),(0,l.jsx)(z,null,s.map(t=>"high-achiever"===t.category&&(0,l.jsx)(H,{key:t.id,id:t.id,ref:p},(0,l.jsx)(q,{src:t.image.file.publicURL,alt:"test"}),(0,l.jsx)("div",{style:{pointerEvents:"none"}},(0,l.jsx)(r.io,null,t.name),(0,l.jsx)(r.zi,null,t.description))))),(0,l.jsx)(r.$x,{size:"l"}),(0,l.jsx)(k,null,(0,l.jsx)(r.DZ,null,n),(0,l.jsx)(r.$x,{size:"m"}),(0,l.jsx)(P,null,(0,l.jsx)($,{src:o.file.publicURL,alt:"gift box"}),(0,l.jsx)(r.a3,{color:f},a))),(0,l.jsx)(r.$x,{size:"m"}),(0,l.jsx)(C,null,s.map(t=>"expert"===t.category&&t.visible_in_page&&(0,l.jsx)(R,{key:t.id},(0,l.jsx)(L,null,(0,l.jsx)(D,{src:o.file.publicURL,alt:"gift box"})),(0,l.jsx)(U,null,(0,l.jsx)(q,{src:t.image.file.publicURL,alt:"test"}),(0,l.jsx)("div",null,(0,l.jsx)(r.io,null,t.name),(0,l.jsx)(r.zi,null,t.description))),(0,l.jsx)(r.$x,{size:"m"}),(0,l.jsx)(I,null,(0,l.jsx)(r.$n,{size:"m",onClick:t=>{t.stopPropagation()},href:t.survey_url?t.survey_url:"",disabled:null===t.survey_url},d),(0,l.jsx)(E,{id:t.id,ref:p,onClick:m},c))))),(0,l.jsx)(r.$x,{size:"l"}))},M=n(64810),V=n(87746),B=n(8837);var Y=()=>{const t=(0,M.GR)("2453009454");(0,B.Mt)(t);const{directus:{badges:e,page_community_badges:{hero_title:n,hero_text:a,high_achiever_title:s,expert_title:o,expert_text:r,gift_icon:x,badges_button_text:d,claim_badge_button_text:c,learn_more_button_text:p}}}=t,g={hero_title:n,hero_text:a},u={hero_title:n,hero_text:a,high_achiever_title:s,expert_title:o,expert_text:r,content:e,gift_icon:x,badges_button_text:d,claim_badge_button_text:c,learn_more_button_text:p};return(0,l.jsx)(i.Fragment,null,(0,l.jsx)(V.A,{title:t.directus.page_community_badges.hero_title,de
1scription:t.directus.page_community_badges.hero_text,twitter:{card:"summary_large_image",site:"@classdojo",creator:"@classdojo",title:t.directus.page_community_badges.hero_title,description:t.directus.page_community_badges.hero_text}}),(0,l.jsx)(m,g),(0,l.jsx)(F,u))}},87746:function(t,e,n){var i=n(96540),a=n(68154),s=n(69591),o=n(30507),r=n(7969),l=n(17437);e.A=t=>{var e,n,x;let{title:d,description:c,image:p,noindex:g,robots:m,twitter:u,url:j,noAppStoreBanner:h,currentPath:_,hasTranslations:f}=t;const y=(0,i.useContext)(s.x),b=d?(null===(e=y.translateIfAble)||void 0===e?void 0:e.call(y,d))+" | ClassDojo":"ClassDojo",w=c?null===(n=y.translateIfAble)||void 0===n?void 0:n.call(y,c):null===(x=y.translate)||void 0===x?void 0:x.call(y,"page_descriptions.default"),v={card:"summary_large_image",site:"@classdojo",creator:"@classdojo",title:b,description:w,image:p||"https://static.classdojo.com/img/opengraph2026.jpg",...u},A=(t,e)=>{const n=t.toLowerCase();return"en-us"===n||"en"===n?`https://www.classdojo.com${e}`:`https://www.classdojo.com/${n}${e}`},k=null!=f?f:!_||!(0,r.fi)(_);return(0,l.jsx)(i.Fragment,null,_&&k&&(0,l.jsx)(a.A,null,o.IB.map(t=>(0,l.jsx)("link",{key:t,rel:"alternate",hrefLang:t.toLowerCase(),href:A(t,_)})),(0,l.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:`https://www.classdojo.com${_}`})),(0,l.jsx)(a.A,null,(0,l.jsx)("title",null,b),(0,l.jsx)("meta",{itemProp:"name",content:b}),(0,l.jsx)("meta",{property:"og:title",content:b})),(0,l.jsx)(a.A,null,(0,l.jsx)("meta",{name:"description",content:w}),(0,l.jsx)("meta",{itemProp:"description",content:w}),(0,l.jsx)("meta",{property:"og:description",content:w})),p?(0,l.jsx)(a.A,null,(0,l.jsx)("meta",{property:"og:image",content:p})):(0,l.jsx)(a.A,null,(0,l.jsx)("meta",{property:"og:image",content:"https://static.classdojo.com/img/opengraph2026.jpg"})),(m||g)&&(0,l.jsx)(a.A,null,(0,l.jsx)("meta",{name:"robots",content:m||"noindex"}),(0,l.jsx)("meta",{name:"googlebot",content:m||"noindex"})),j&&(0,l.jsx)(a.A,null,(0,l.jsx)("meta",{property:"og:url",content:j})),(0,l.jsx)(a.A,null,(0,l.jsx)("meta",{name:"twitter:card",content:v.card}),(0,l.jsx)("meta",{name:"twitter:site",content:v.site}),(0,l.jsx)("meta",{name:"twitter:creator",content:v.creator}),(0,l.jsx)("meta",{name:"twitter:title",content:v.title}),(0,l.jsx)("meta",{name:"twitter:description",content:v.description}),(0,l.jsx)("meta",{name:"twitter:image",content:v.image}),(0,l.jsx)("meta",{name:"twitter:dnt",content:"on"})),(0,l.jsx)(a.A,null,(0,l.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge"}),h?null:(0,l.jsx)("meta",{name:"apple-itunes-app",content:"app-id=552602056"}),(0,l.jsx)("meta",{name:"HandheldFriendly",content:"True"}),(0,l.jsx)("meta",{name:"author",content:"ClassDojo"}),(0,l.jsx)("meta",{property:"og:type",content:"website"}),(0,l.jsx)("meta",{property:"og:site_name",content:"ClassDojo"}),(0,l.jsx)("meta",{property:"fb:app_id",content:"171634556373284"}),(0,l.jsx)("meta",{name:"google-site-verification",content:"Av0W9Fr00yNaww-mYNrSwsA8HRRHYn1Ipm_XYURVVVk"}),(0,l.jsx)("link",{rel:"icon",href:"/favicon.svg",sizes:"any",type:"image/svg+xml"}),(0,l.jsx)("link",{rel:"icon",href:"/favicon-48.png",sizes:"16x16 32x32 48x48",type:"image/png"}),(0,l.jsx)("link",{rel:"icon",href:"/favicon.png",sizes:"64x64 128x128 192x192",type:"image/png"}),(0,l.jsx)("link",{rel:"apple-touch-icon",href:"/apple-touch-icon.png"})))}}}]); 2//# sourceMappingURL=component---src-www-community-badges-tsx-77297d1664c2aa50263c.js.map
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.