PageSourceSearch

https://tatship.com/_next/static/chunks/pages/jewellery-virtual-try-on-fe7aef32866f0548.js

js tatship.com collected 2026-09-24 10:27:37 UTC 15,640 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4971],{8971:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var s=a(91373);/**
2 * @license lucide-react v0.426.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let o=(0,s.Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},90986:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/jewellery-virtual-try-on",function(){return a(5737)}])},94488:function(e,t,a){"use strict";a.d(t,{Z:function(){return FAQSection}});var s=a(85893),o=a(67294),r=a(8971);function FAQSection(e){let t=e.faqs||[{question:"What is this?",answer:"This is a FAQ section. It is used to answer frequently asked questions."}];return(0,s.jsx)("section",{className:"py-16 bg-background",children:(0,s.jsxs)("div",{className:"container px-4 md:px-6",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold tracking-tighter text-center sm:text-5xl mb-12",children:e.title||"Frequently Asked Questions"}),(0,s.jsx)("div",{className:"max-w-3xl mx-auto space-y-4",children:t.map((e,t)=>(0,s.jsx)(FAQItem,{question:e.question,answer:e.answer},t))})]})})}function FAQItem(e){let{question:t,answer:a}=e,[i,n]=(0,o.useState)(!1);return(0,s.jsxs)("div",{className:"border-b border-muted",children:[(0,s.jsxs)("button",{className:"flex justify-between items-center w-full py-4 text-left",onClick:()=>n(!i),"aria-expanded":i,children:[(0,s.jsx)("span",{className:"text-lg font-semibold",children:t}),(0,s.jsx)(r.Z,{className:"w-5 h-5 text-muted-foreground transition-transform duration-200 ".concat(i?"transform rotate-180":"")})]}),(0,s.jsx)("div",{className:"overflow-hidden transition-all duration-300 ease-in-out ".concat(i?"max-h-96 opacity-100":"max-h-0 opacity-0"),children:(0,s.jsx)("p",{className:"py-4 text-muted-foreground",children:a})})]})}},75582:function(e,t,a){"use strict";a.d(t,{Z:function(){return FooterLink}});var s=a(86896),o=a(67294);function FooterLink(e){let{locale:t}=e;(0,s.Z)();let[a,r]=(0,o.useState)(!1);return null}},5737:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return T},default:function(){return JewelleryVirtualTryOnSolutionsPage}});var s=a(85893),o=a(67294),r=a(9008),i=a.n(r),n=a(53317),l=a(67814),
6c=a(59417),d=a(11163),m=a(89395),g=a(43),p=a(53225),h=a(86896),u=a(92193),f=a(77148),x=a(94488),w=a(75582),T=!0;function JewelleryVirtualTryOnSolutionsPage(e){let t=(0,h.Z)(),{user:a,setUser:r}=(0,o.useContext)(p.V),{locale:T,locales:b,defaultLocale:j,push:y}=(0,d.useRouter)(),[N,v]=(0,o.useState)(""),[A,I]=(0,o.useState)(!1);t.formatMessage({id:"navbar.title"});let[M,O]=(0,o.useState)(!1);(0,o.useEffect)(()=>{e.user&&r(e.user),(0,f.x)()},[]);let createDesign=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((0,u.L9)("AttemptGenerate_GenerateLanding",{}),!a&&!e){I(!0),v("design-tattoo");return}O(!0),g.Z.post("/design/create",{}).then(e=>{(0,u.L9)("SuccessCreate_Design",{}),(0,u.L9)("SuccessCreate_Design_Landing",{}),window.location.href="/".concat(T,"/tattoo/design/").concat(e.data.design_id,"?graphicMode=generate&prompt=").concat(encodeURIComponent(J))}).catch(e=>{(0,u.L9)("ErrorCreate_Design",{}),console.log(e),O(!1)})},[J,k]=(0,o.useState)(""),G=[{image:"/assets/ai-tattoo/ai-tattoo-4.webp",title:t.formatMessage({id:"page.arJewelTryOn.feature1.title"}),description:t.formatMessage({id:"page.arJewelTryOn.feature1.description"})},{image:"/assets/tattoo-design-tool-demo-result-3.webp",title:t.formatMessage({id:"page.arJewelTryOn.feature2.title"}),description:t.formatMessage({id:"page.arJewelTryOn.feature2.description"})},{image:"/assets/tattoo-design-tool-demo-result-2.webp",title:t.formatMessage({id:"page.arJewelTryOn.feature3.title"}),description:t.formatMessage({id:"page.arJewelTryOn.feature3.description"})},{image:"/assets/temp-tattoo-3.jpg",title:t.formatMessage({id:"page.arJewelTryOn.feature4.title"}),description:t.formatMessage({id:"page.arJewelTryOn.feature4.description"})}],q=[{question:t.formatMessage({id:"page.arJewelTryOn.faq1.question"}),answer:t.formatMessage({id:"page.arJewelTryOn.faq1.answer"})},{question:t.formatMessage({id:"page.arJewelTryOn.faq2.question"}),answer:t.formatMessage({id:"page.arJewelTryOn.faq2.answer"})},{question:t.formatMessage({id:"page.arJewelTryOn.faq3.question"}),answer:t.formatMessage({id:"page.arJewelTryOn.faq3.answer"})},{question:t.formatMessage({id:"page.arJewelTryOn.faq4.question"}),answer:t.formatMessage({id:"page.arJewelTryOn.faq4.answer"})},{question:t.formatMessage({id:"page.arJewelTryOn.faq5.question"}),answer:t.formatMessage({id:"page.arJewelTryOn.faq5.answer"})},{question:t.formatMessage({id:"page.arJewelTryOn.faq6.question"}),answer:t.formatMessage({id:"page.arJewelTryOn.faq6.answer"})}];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(i(),{children:[(0,s.jsx)("title",{children:t.formatMessage({id:"page.arJewelTryOn.title"})}),(0,s.jsx)("meta",{name:"description",content:t.formatMessage({id:"page.arJewelTryOn.meta.description"})}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1"}),(0,s.jsx)("meta",{property:"og:title",content:t.formatMessage({id:"page.arJewelTryOn.title"})}),(0,s.jsx)("meta",{property:"og:description",content:t.formatMessage({id:"page.arJewelTryOn.meta.description"})}),(0,s.jsx)("meta",{property:"og:image",content:"/assets/design-tool-preview.webp"}),(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:'{\n            "@context": "http://schema.org",\n            "@type": "Product",\n            "name": "'.concat(t.formatMessage({id:"page.arJewelTryOn.title"}),'",\n            "image": "https://tatship.com/assets/ai-tattoo/ai-tattoo-12.webp",\n            "description": "').concat(t.formatMessage({id:"page.arJewelTryOn.meta.description"}),'",\n            "brand": {\n              "@type": "Brand",\n              "name": "').concat(t.formatMessage({id:"page.arJewelTryOn.title"}),'"\n            },\n            "aggregateRating": {\n              "@type": "AggregateRating",\n              "ratingValue": "4.9",\n              "bestRating": "5",\n              "ratingCount": "65231"\n            }\n          }')}}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"en",href:"https://tatship.com/en-US"+e.canonical}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"zh-HK",href:"https://tatship.com/zh-HK"+e.canonical}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"zh-TW",href:"https://tatship.com/zh-TW"+e.canonical}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"fr",href:"https://tatship.com/fr"+e.canonical}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"es",href:"https://tatship.com/es"+e.canonical}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"pt",href:"https://tatship.com/pt"+e.canonical}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"de",href:"https://tatship.com/de"+e.canonical}),(0,s.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:"https://tatship.com/en-US"+e.canonical})]}),(0,s.jsxs)("main",{children:[(0,s.jsx)(n.Z,{open:A,onClose:()=>I(!1),children:(0,s.jsx)(m.Z,{onLogIn:e=>{console.log("login success!"),r(e),I(!1),createDesign(e)}})}),(0,s.jsx)("div",{className:"p-4 flex bg-theme-rice border-b border-t relative",children:(0,s.jsx)("div",{className:"min-h-screen",children:(0,s.jsxs)("div",{className:"",children:[(0,s.jsxs)("div",{className:"sm:px-24 sm:pt-6 pt-4",children:[(0,s.jsx)("h2",{className:"sm:text-sm text-xs text-center text-gray-600 mb-2 font-semibold tracking-tighter",children:t.formatMessage({id:"page.arJewelTryOn.h1SubHeader"})}),(0,s.jsx)("h1",{className:"text-3xl text-center font-bold mb-2 font-bold tracking-tighter sm:text-5xl ",children:t.formatMessage({id:"page.arJewelTryOn.h1"})}),(0,s.jsxs)("div",{className:"text-center sm:px-24 grid grid-cols-3 sm:grid-cols-6 gap-2",children:[(0,s.jsx)("img",{alt:"free ai tattoo generator tool",src:"/assets/ai-tattoo/ai-tattoo-13.webp",className:"paper-bg p-2 shadow-xl border rounded-2xl object-cover h-36 sm:h-44 w-auto"}),(0,s.jsx)("img",{alt:"free ai tattoo generator tool",src:"/assets/ai-tattoo/ai-tattoo-2.webp",className:"paper-bg p-2 shadow-xl border rounded-2xl object-cover h-36 sm:h-44 w-auto"}),(0,s.jsx)("img",{alt:"free ai tattoo generator tool",src:"/assets/ai-tattoo/ai-tattoo-12.webp",className:"paper-bg p-2 shadow-xl border rounded-2xl object-cover h-36 sm:h-44 w-auto"}),(0,s.jsx)("img",{alt:"free ai tattoo generator tool",src:"/assets/ai-tattoo/ai-tattoo-4.webp",className:"paper-bg p-2 shadow-xl border rounded-2xl object-cover h-36 sm:h-44 w-auto"}),(0,s.jsx)("img",{alt:"free ai tattoo generator tool",src:"/assets/ai-tattoo/ai-tattoo-8.webp",className:"paper-bg p-2 shadow-xl border rounded-2xl object-cover h-36 sm:h-44 w-auto"}),(0,s.jsx)("img",{alt:"free ai tattoo generator tool",src:"/assets/ai-tattoo/ai-tattoo-11.webp",className:"paper-bg p-2 shadow-xl border rounded-2xl object-cover h-36 sm:h-44 w-auto"})]}),(0,s.jsxs)("div",{className:"pb-4 pt-3 text-center sm:px-24 sm:pt-4",children:[(0,s.jsx)("textarea",{value:J,onChange:e=>k(e.target.value),className:"p-4 w-full h-18 border border-gray-300 text-sm shadow-inner rounded-lg mb-4 shadow-xl",placeholder:t.formatMessage({id:"page.arJewelTryOn.textareaPlaceholder"})}),(0,s.jsxs)("button",{disabled:M,onClick:()=>createDesign(),className:"bg-theme-blue hover:scale-105 shadow-lg duration-500 transition ease-in-out py-3 px-12 rounded-full text-white font-bold text-lg whitespace-pre",children:[M?"Preparing ...":t.formatMessage({id:"page.arJewelTryOn.call2action"})," ",(0,s.jsx)(l.G,{className:"ml-3",icon:c._tD})]})]}),(0,s.jsx)("div",{className:"",children:(0,s.jsxs)("div",{className:"text-center list-inside text-gray-600 sm:flex block justify-center font-semibold",children:[(0,s.jsxs)("div",{className:"p-2 sm:px-6",children:[(0,s.jsx)("span",{className:"mr-2",children:"\uD83C\uDFC6"})," ",t.formatMessage({id:"page.arJewelTryOn.highQuality"})]}),(0,s.jsxs)("div",{className:"p-2 sm:px-6",children:[(0,s.jsx)("span",{className:"mr-2",children:"\uD83E\uDD11"})," ",t.formatMessage({id:"page.arJewelTryOn.freeToUse"})]}),(0,s.jsxs)("div",{className:"p-2 sm:px-6",children:[(0,s.jsx)("span",{className:"mr-2",children:"✅"})," ",t.formatMessage({id:"page.arJewelTryOn.tryOn"})]})]})})]}),(0,s.jsx)("section",{className:"py-16 sm:px-24 bg-gradient-to-b from-background to-secondary/20",children:(0,s.jsxs)("div",{className:"container px-4 md:px-6",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold tracking-tighter sm:text-5xl",children:t.formatMessage({id:"page.arJewelTryOn.uniqueFeaturesHeading"})}),(0,s.jsx)("p",{className:"mt-4 text-muted-foreground md:text-xl",children:t.formatMessage({id:"page.arJewelTryOn.uniqueFeaturesDescription"})})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-8",children:G.map((e,t)=>(0,s.jsxs)("div",{className:"flex flex-col items-center text-center p-6 bg-background rounded-lg shadow-lg transition-all duration-300 hover:shadow-xl hover:-translate-y-1",children:[(0,s.jsx)("div",{className:"p-3 mb-4",children:(0,s.jsx)("img",{src:e.image,alt:e.title,className:"w-auto h-48 rounded-lg"})}),(0,s.jsx)("h3",{className:"text-xl font-semibold mb-2",children:e.title}),(0,s.jsx)("p",{className:"text-muted-foreground",children:e.description})]},t))})]})}),(0,s.jsx)("section",{className:"py-16 sm:px-24 bg-gradient-to-b from-background to-secondary/20",children:(0,s.jsxs)("div",{className:"container px-4 md:px-6",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold tracking-tighter sm:text-5xl",children:t.formatMessage({id:"page.arJewelTryOn.showcaseHeading"})}),(0,s.jsx)("p",{className:"mt-4 text-muted-foreground md:text-xl",children:t.formatMessage({id:"page.arJewelTryOn.showcaseDescription"})})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-2 sm:gap-4",children:[{image:"/assets/ai-tattoo/ai-tattoo-13.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-2.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-3.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-4.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-5.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-6.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-7.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-8.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-9.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-10.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-11.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-12.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-1.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-14.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-15.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-16.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-17.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."},{image:"/assets/ai-tattoo/ai-tattoo-18.webp",title:"AI Generated Tattoo",description:"This is a showcase of our AI Tattoo Generator."}].map((e,t)=>(0,s.jsx)("div",{className:"rounded-lg shadow-lg transition-all duration-300 hover:shadow-xl hover:-translate-y-1",children:(0,s.jsx)("div",{className:"",children:(0,s.jsx)("img",{src:e.image,alt:e.title,className:"w-full h-36 sm:h-48 object-contain paper-bg p-2"})})},t))})]})}),(0,s.jsx)(x.Z,{title:t.formatMessage({id:"page.arJewelTryOn.faqHeader"}),faqs:q})]})})}),(0,s.jsx)(w.Z,{locale:T})]})]})}}
6,77148:function(e,t,a){"use strict";a.d(t,{F:function(){return htmlLinkClickTrack},x:function(){return logMarketingSource}});var s=a(80691);let htmlLinkClickTrack=(e,t,a)=>{{let s=document.querySelector(e);if(!s)return;let o=s.querySelectorAll("a");o.forEach(e=>{e.target="_blank",e.href.includes(a)&&e.addEventListener("click",()=>{t(e.href)})})}},logMarketingSource=()=>{{let e=new URLSearchParams(window.location.search);for(let[t,a]of e)console.log(t,a),"utm_campaign"===t&&(window.localStorage.setItem("utm_campaign",a),(0,s.d8)("utm_campaign",a,30));let t=e.get("utm_campaign");!t&&(0,s.dh)()&&(window.localStorage.setItem("utm_campaign","instagram_default"),(0,s.d8)("utm_campaign","instagram_default",30))}}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=90986)}),_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.