PageSourceSearch

https://static.growkudos.com/magazine-view/4aacb102573c97fa6ae39b4…/_app/immutable/nodes/17.5ADE0qTI.js

js growkudos.com collected 2026-09-24 08:31:37 UTC 4,609 bytes, 2 lines download raw bytes

1import{b as Q,e as W,i as D}from"../chunks/UpcuHWsf.js";import{C as V,D as X}from"../chunks/LKyze9GD.js";import{g as Y}from"../chunks/B7fph2b5.js";import"../chunks/gJTzsVrq.js";import"../chunks/B0XwC4Ot.js";import"../chunks/DsnmJJEf.js";import"../chunks/DOoDc4tg.js";import{v as E,D as m,G as s,L as t,K as A,i as k,B as H,as as i,ab as M,ar as o,j as x,at as r,A as Z}from"../chunks/Ndri3sLk.js";import{i as N}from"../chunks/DpZMeqx-.js";import{p as O}from"../chunks/DXIylsJt.js";import{g as R,I as j,F,b as U}from"../chunks/RG4J2JtF.js";import{B as tt}from"../chunks/DI7USPam.js";import{s as L}from"../chunks/NBiqQv3d.js";import{i as et}from"../chunks/CQN3pcvY.js";import{s as K,a as T}from"../chunks/BrbxFX-R.js";import{B as q}from"../chunks/CE3Iden7.js";class at{constructor(n,a){this.logger=n,this.fetch=a}async getAll(){const n=new URL("/items/product_updates",Q);n.search=new URLSearchParams({fields:["*","featured.*"].join(",")}).toString();const a=await this.fetch(n.href);if(!a.ok)throw this.logger.error({status:a.status},"Got non-OK response when getting all product updates"),new V("unknown",{cause:new Error("Could not fetch product updates")});const{data:v}=await a.json();return v.map(c=>({...c,featured:c.featured.map(f=>({...f,image:new X(f.image)}))}))}}const st=async({fetch:_,route:n,url:a})=>{const v=Y(a,n);return{updates:await new at(v,_).getAll(),transparentNavBar:{fgColor:"dark"},metadata:{title:"What’s new",description:"We’re always working to make the Kudos platform better. Stay up-to-date with these regular updates, directly from the team that builds Kudos."}}},Lt=Object.freeze(Object.defineProperty({__proto__:null,load:st},Symbol.toStringTag,{value:"Module"}));var rt=x('<section class="featured svelte-14giawc"><img class="svelte-14giawc"/> <div class="contents svelte-14giawc"><h3 class="svelte-14giawc"><span class="title-text svelte-14giawc"> </span> <span><!> <span class="sr-only">&ndash;</span> </span></h3> <!></div></section>'),ot=x('<li class="svelte-14giawc"><span><!> </span> <!></li>'),nt=x('<section class="other svelte-14giawc"><h3 class="svelte-14giawc">All the small things</h3> <ul class="svelte-14giawc"></ul></section>'),it=x('<article class="svelte-14giawc"><h2 class="svelte-14giawc"> </h2> <!> <!></article>');function lt(_,n){E(n,!1);let a=O(n,"content",8);const v={new:{icon:R(j.ProductUpdateNew),text:"New"},improved:{icon:R(j.ProductUpdateImproved),text:"Improved"},fixed:{icon:R(j.ProductUpdateFixed),text:"Fixed"}};N();var d=it(),c=o(d),f=o(c,!0);r(c);var b=i(c,2);W(b,1,()=>(m(a()),s(()=>a().featured)),D,(g,e)=>{const u=M(()=>(t(e),s(()=>v[t(e).category])));var y=rt(),l=o(y),h=i(l,2),w=o(h),p=o(w),B=o(p,!0);r(p);var C=i(p,2),I=o(C);F(I,{get icon(){return m(t(u)),s(()=>t(u).icon)}});var $=i(I,3);r(C),r(w);var G=i(w,2);q(G,{get content(){return t(e),s(()=>t(e).body)},renderHTMLInBlockContent:!0}),r(h),r(y),A((z,J)=>{K(l,"src",z),K(l,"srcset",J),K(l,"alt",(t(e),s(()=>t(e).image_alt))),L(B,(t(e),s(()=>t(e).title))),T(C,1,`pill ${t(e),s(()=>t(e).category)??""}`,"svelte-14giawc"),L($,` ${m(t(u)),s(()=>t(u).text)??""}`)},[()=>(t(e),s(()=>t(e).image.getURL({width:575}).href)),()=>(t(e),s(()=>t(e).image.getSrcset({width:575})))]),k(g,y)});var P=i(b,2);{var S=g=>{var e=nt(),u=i(o(e),2);W(u,5,()=>(m(a()),s(()=>a().other)),D,(y,l)=>{const h=M(()=>(t(l),s(()=>v[t(l).category])));var w=ot(),p=o(w),B=o(p);F(B,{get icon(){return m(t(h)),s(()=>t(h).icon)}});var C=i(B);r(p);var I=i(p,2);q(I,{get content(){return t(l),s(()=>t(l).body)},renderHTMLInBlockContent:!0}),r(w),A(()=>{T(p,1,`pill ${t(l),s(()=>t(l).category)??""}`,"svelte-14giawc"),L(C,` ${m(t(h)),s(()=>t(h).text)??""}`)}),k(y,w)}),r(u),r(e),k(g,e)};et(P,g=>{m(a()),s(()=>a().other.length>0)&&g(S)})}r(d),A(()=>L(f,(m(a()),s(()=>a().dateline)))),k(_,d),H()}var ct=x("<p>There are no updates currently available.</p>"),vt=x(`<header class="svelte-tk0old"><div class="text svelte-tk0old"><h1 class="svelte-tk0old">What&rsquo;s new</h1> <p class="svelte-tk0old">We&rsquo;re always working to make the Kudos platform better. Check back
2			here for the highlights!</p></div> <div class="image svelte-tk0old"><!></div></header> <div class="breadcrumbs-wrapper svelte-tk0old"><!></div> <!>`,1);function Pt(_,n){E(n,!1);let a=O(n,"data",8);N();var v=vt(),d=Z(v),c=i(o(d),2),f=o(c);F(f,{get icon(){return U}}),r(c),r(d);var b=i(d,2),P=o(b);tt(P,{breadcrumbs:[{label:"Home",href:"/"},{label:"What’s new"}]}),r(b);var S=i(b,2);
2W(S,1,()=>(m(a()),s(()=>a().updates)),D,(g,e)=>{lt(g,{get content(){return t(e)}})},g=>{var e=ct();k(g,e)}),k(_,v),H()}export{Pt as component,Lt as universal};

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.