PageSourceSearch

https://nailartai.app/_next/static/chunks/app/shop/page-bc3989e9302c1a47.js

js nailartai.app collected 2026-10-06 06:46:26 UTC 10,556 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4895],{375:(e,t,n)=>{"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{window.dataLayer=window.dataLayer||[],("function"==typeof window.gtag?window.gtag:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];window.dataLayer.push(t)})("event",e,t)}catch{}try{if("function"==typeof window.clarity)for(let[n,r]of(window.clarity("event",e),Object.entries(t)))null!=r&&window.clarity("set",n,String(r))}catch{}}function l(e,t){let n="amazon.com";try{n=new URL(e.amazonUrl).hostname.replace(/^www\./,"")}catch{}r("amazon_affiliate_click",{affiliate_network:"amazon_associates",affiliate_product_id:e.id,affiliate_product_name:e.title,affiliate_placement:t,affiliate_destination:n,affiliate_link_type:e.amazonUrl.includes("amzn.to")?"short_link":"product_link",affiliate_page_path:window.location.pathname})}n.d(t,{f:()=>l,u:()=>r})},1402:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return x},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return g}});let r=n(8140),l=n(9417),i=n(5155),a=r._(n(7650)),s=l._(n(2115)),o=n(2073),c=n(4681),d=n(4853),u=new Map,f=new Set,p=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:l=null,dangerouslySetInnerHTML:i,children:s="",strategy:o="afterInteractive",onError:d,stylesheets:p}=e,m=n||t;if(m&&f.has(m))return;if(u.has(t)){f.add(m),u.get(t).then(r,d);return}let g=()=>{l&&l(),f.add(m)},h=document.createElement("script"),x=new Promise((e,t)=>{h.addEventListener("load",function(t){e(),r&&r.call(this,t),g()}),h.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});i?(h.innerHTML=i.__html||"",g()):s?(h.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",g()):t&&(h.src=t,u.set(t,x)),(0,c.setAttributesFromProps)(h,e),"worker"===o&&h.setAttribute("type","text/partytown"),h.setAttribute("data-nscript",o),p&&(e=>{if(a.default.preinit)return e.forEach(e=>{a.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(p),document.body.appendChild(h)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>p(e))}):p(e)}function g(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function h(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:l=null,strategy:c="afterInteractive",onError:u,stylesheets:m,...g}=e,{updateScripts:h,scripts:x,getIsSsr:b,appDir:y,nonce:w}=(0,s.useContext)(o.HeadManagerContext);w=g.nonce||w;let _=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||n;_.current||(l&&e&&f.has(e)&&l(),_.current=!0)},[l,t,n]);let v=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!v.current){if("afterInteractive"===c)p(e);else"lazyOnload"===c&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>p(e))}));v.current=!0}},[e,c]),("beforeInteractive"===c||"worker"===c)&&(h?(x[c]=(x[c]||[]).concat([{id:t,src:n,onLoad:r,onReady:l,onError:u,...g,nonce:w}]),h(x)):b&&b()?f.add(t||n):b&&!b()&&p({...e,nonce:w})),y){if(m&&m.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)if(!n)return g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...g,id:t}])+")"}});else return a.default.preload(n,g.integrity?{as:"script",integrity:g.integrity,nonce:w,crossOrigin:g.crossOrigin}:{as:"script",nonce:w,crossOrigin:g.crossOrigin}),(0,i.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...g,id:t}])+")"}});"afterInteractive"===c&&n&&a.default.preload(n,g.integrity?{as:"script",integrity:g.integrity,nonce:w,crossOrigin:g.crossOrigin}:{as:"script",nonce:w,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(h,"__nextScript",{value:!0});let x=h;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4652:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getImageProps:function(){return s}});let r=n(8140),l=n(5040),i=n(1356),a=r._(n(1124));function s(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=i.Image},4853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5239:(e,t,n)=>{"use strict";n.d(t,{default:()=>l.a});var r=n(4652),l=n.n(r)},5840:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var r=n(5155),l=n(2115),i=n(375),a=n(5239),s=n(2619),o=n.n(s);function c(e){let{product:t,primaryIsLanding:n=!1}=e,s=(0,l.useCallback)(e=>{(0,i.u)("shop_product_card_click",{slug:t.slug,category:t.category,cta:e,price:t.discountPriceUSD})},[t.slug,t.category,t.discountPriceUSD]),c="complete-nail-vault"===t.slug;return(0,r.jsxs)("article",{className:"group flex h-full flex-col overflow-hidden rounded-2xl border border-[#1b0d14]/8 bg-white shadow-sm transition-all duration-300 hover:-translate-y-1 hover:shadow-xl",children:[(0,r.jsxs)("div",{className:"relative aspect-[4/5] w-full overflow-hidden bg-[#fbeaf3]",children:[(0,r.jsx)(a.default,{src:t.coverPath,alt:`${t.name} cover`,fill:!0,sizes:"(min-width: 1024px) 33vw, (min-width: 640px) 50vw, 100vw",className:"object-cover transition-transform duration-500 group-hover:scale-[1.03]"}),(0,r.jsx)("span",{className:"absolute left-3 top-3 rounded-full bg-white/95 px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wide text-[#1b0d14] shadow-sm backdrop-blur-sm",children:t.category}),c&&(0,r.jsx)("span",{className:"absolute right-3 top-3 rounded-full bg-[#c71f74] px-2.5 py-1 text-[10px] font-bold uppercase tracking-wide !text-white shadow-sm",children:"Best value"})]}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col gap-3 p-4 sm:p-5",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h3",{className:"text-base font-semibold leading-tight text-[#1b0d14] sm:text-lg",children:t.name}),(0,r.jsx)("p",{className:"mt-1 text-sm leading-snug text-[#1b0d14]/65",children:t.tagline})]}),(0,r.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,r.jsxs)("span",{className:"text-xs font-medium text-[#1b0d14]/50 line-through",children:["$",t.listPriceUSD]}),(0,r.jsxs)("span",{className:"text-xl font-bold text-[#c71f74]",children:["$",t.discountPriceUSD.toFixed(2)]}),(0,r.jsx)("span",{className:"text-[11px] font-medium uppercase tracking-wide text-[#1b0d14]/55",children:"with NAIL50"})]}),(0,r.jsx)("div",{className:"mt-1 flex flex-col gap-2 sm:flex-row",children:n?(0,r.jsx)(o(),{href:`/shop/${t.slug}`,onClick:()=>s("details"),className:"flex-1 rounded-xl bg-[#c71f74] px-4 py-2.5 text-center text-sm font-semibold !text-white shadow-sm transition-colors hover:bg-[#d62482] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#ee2b8c]/40",children:"See what's inside →"}):(0,r.jsxs)("a",{className:"gumroad-button flex-1 rounded-xl bg-[#c71f74] px-4 py-2.5 text-center text-sm font-semibold !text-white shadow-sm transition-colors hover:bg-[#d62482] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#ee2b8c]/40",href:t.gumroadUrl,target:"_blank",rel:"noopener noreferrer","data-gumroad-single-product":"true",onClick:()=>s("buy"),children:["Buy for $",t.discountPriceUSD.toFixed(2)," →"]})})]})]})}let d=["All","Lookbook","Bundle","AI Tools"];function u(e){let{products:t}=e,[n,a]=(0,l.useState)("All");(0,l.useEffect)(()=>{(0,i.u)("shop_view",{product_count:t.length})},[]);let s=(0,l.useMemo)(()=>"All"===n?t:t.filter(e=>e.category===n),[n,t]);return(0,r.jsxs)("section",{className:"mx-auto max-w-7xl px-4 pb-16 sm:px-6 lg:px-8",children:[(0,r.jsxs)("div",{className:"mb-6 flex flex-wrap items-center gap-2",children:[d.map(e=>{let t=e===n;return(0,r.jsx)("button",{type:"button",onClick:()=>
1{a(e),(0,i.u)("shop_filter_change",{filter:e})},className:`rounded-full border px-4 py-1.5 text-sm font-semibold transition-colors ${t?"border-[#ee2b8c] bg-[#c71f74] text-white":"border-[#1b0d14]/15 bg-white text-[#1b0d14] hover:border-[#ee2b8c]/40 hover:bg-[#fdeaf3]"}`,"aria-pressed":t,children:e},e)}),(0,r.jsxs)("span",{className:"ml-2 text-sm text-[#1b0d14]/55",children:[s.length," ",1===s.length?"product":"products"]})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-3",children:s.map(e=>(0,r.jsx)(c,{product:e,primaryIsLanding:"complete-nail-vault"===e.slug},e.slug))}),0===s.length&&(0,r.jsxs)("p",{className:"py-12 text-center text-sm text-[#1b0d14]/60",children:["Nothing in this category yet — switch back to ",(0,r.jsx)("strong",{children:"All"}),"."]})]})}},8279:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,2619,23)),Promise.resolve().then(n.t.bind(n,1356,23)),Promise.resolve().then(n.t.bind(n,1402,23)),Promise.resolve().then(n.bind(n,5840))}},e=>{e.O(0,[2619,1356,8441,1255,7358],()=>e(e.s=8279)),_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.