PageSourceSearch

https://www.charlottetilbury.com/_next/static/chunks/pages/[store]…/components/FreeSamples-c94964455c566311.js

js charlottetilbury.com collected 2026-09-24 08:39:22 UTC 2,029 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2377],{57344:(e,n,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[store]/internal/flags-example/components/FreeSamples",function(){return s(98102)}])},85602:e=>{e.exports={flagCard:"components_flagCard__W77Iv",page:"components_page__XVUP9",emoji:"components_emoji__OXoC9",ctas:"components_ctas__4nnHI"}},98102:(e,n,s)=>{"use strict";s.r(n),s.d(n,{FreeSamples:()=>o,default:()=>d});var r=s(77192),t=s(21745),i=s(42413),l=s(49211),a=s(85602),c=s.n(a),o=function(){var e=(0,r._)((0,i.useState)(""),2),n=e[0],s=e[1];return(0,t.jsx)(l.Ay,{flagKey:"free_samples",debug:!0,children:(0,t.jsxs)("div",{className:c().flagCard,children:[(0,t.jsxs)("h2",{children:["The ",(0,t.jsx)("span",{children:"free_samples"})," flag is enabled."]}),(0,t.jsxs)("p",{children:["This component is ",(0,t.jsx)("b",{children:"NOT"})," memoised. Every time the page state changes, this component will re-render."]}),(0,t.jsxs)("p",{children:["The currently selected product is: ",n]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{onClick:function(){return s("Magic Cream")},children:"Set to Magic Cream"}),(0,t.jsx)("button",{onClick:function(){return s("Crystal Elixir")},children:"Set to Crystal Elixir"})]})]})})};let d=(0,i.memo)(function(){var e=(0,r._)((0,i.useState)(""),2),n=e[0],s=e[1];return(0,t.jsx)(l.Ay,{flagKey:"free_samples",debug:!0,children:(0,t.jsxs)("div",{className:c().flagCard,children:[(0,t.jsxs)("h2",{children:["The ",(0,t.jsx)("span",{children:"free_samples"})," flag is enabled."]}),(0,t.jsx)("p",{children:"This component is memoised. The render count will not increase if the page state changes."}),(0,t.jsxs)("p",{children:["The currently selected product is: ",n]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{onClick:function(){return s("Magic Cream")},children:"Set to Magic Cream"}),(0,t.jsx)("button",{onClick:function(){return s("Crystal Elixir")},children:"Set to Crystal Elixir"})]})]})})})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=57344)),_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.