ui-landing-page 6.1.1 → 6.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advance-profile-section.cjs +1 -1
- package/dist/advance-profile-section.js +1 -1
- package/dist/author-section.cjs +1 -1
- package/dist/author-section.js +1 -1
- package/dist/b-e-d-i-page-section.cjs +1 -1
- package/dist/b-e-d-i-page-section.js +1 -1
- package/dist/bao-ngay-nay2025-section.cjs +1 -1
- package/dist/bao-ngay-nay2025-section.js +1 -1
- package/dist/book-section.cjs +1 -1
- package/dist/book-section.js +1 -1
- package/dist/business-card-section.cjs +1 -1
- package/dist/business-card-section.js +1 -1
- package/dist/{chunk-A5KHH4N5.js → chunk-B4TC2AT3.js} +3 -3
- package/dist/{chunk-A5KHH4N5.js.map → chunk-B4TC2AT3.js.map} +1 -1
- package/dist/{chunk-NLTKS2AW.cjs → chunk-CTHHMFD7.cjs} +2 -2
- package/dist/{chunk-NLTKS2AW.cjs.map → chunk-CTHHMFD7.cjs.map} +1 -1
- package/dist/{chunk-INJYCBBJ.js → chunk-DDFMPDFW.js} +2 -2
- package/dist/{chunk-INJYCBBJ.js.map → chunk-DDFMPDFW.js.map} +1 -1
- package/dist/chunk-E6KUR27O.js +3 -0
- package/dist/chunk-E6KUR27O.js.map +1 -0
- package/dist/{chunk-WNZ75AHP.js → chunk-EGH2TURH.js} +2 -2
- package/dist/{chunk-WNZ75AHP.js.map → chunk-EGH2TURH.js.map} +1 -1
- package/dist/{chunk-K6MORX7I.cjs → chunk-GGSULMPE.cjs} +3 -3
- package/dist/{chunk-K6MORX7I.cjs.map → chunk-GGSULMPE.cjs.map} +1 -1
- package/dist/chunk-KGVF2EDF.cjs +3 -0
- package/dist/chunk-KGVF2EDF.cjs.map +1 -0
- package/dist/{chunk-XD4GVLVZ.cjs → chunk-MF5RMFA7.cjs} +2 -2
- package/dist/{chunk-XD4GVLVZ.cjs.map → chunk-MF5RMFA7.cjs.map} +1 -1
- package/dist/{chunk-VMS6VUOL.js → chunk-MLCV5NUU.js} +2 -2
- package/dist/{chunk-VMS6VUOL.js.map → chunk-MLCV5NUU.js.map} +1 -1
- package/dist/{chunk-IXYHCDGV.cjs → chunk-NGGOZB7L.cjs} +2 -2
- package/dist/{chunk-IXYHCDGV.cjs.map → chunk-NGGOZB7L.cjs.map} +1 -1
- package/dist/{chunk-C64QCBR2.js → chunk-O3Q73VJP.js} +3 -3
- package/dist/{chunk-C64QCBR2.js.map → chunk-O3Q73VJP.js.map} +1 -1
- package/dist/{chunk-U463DIED.cjs → chunk-OFB3WIOY.cjs} +2 -2
- package/dist/chunk-OFB3WIOY.cjs.map +1 -0
- package/dist/{chunk-CD4LRHKJ.js → chunk-OJGO2NUP.js} +2 -2
- package/dist/{chunk-CD4LRHKJ.js.map → chunk-OJGO2NUP.js.map} +1 -1
- package/dist/{chunk-T7UFQMPU.cjs → chunk-PD646JFN.cjs} +2 -2
- package/dist/{chunk-T7UFQMPU.cjs.map → chunk-PD646JFN.cjs.map} +1 -1
- package/dist/{chunk-C6LFO5DZ.js → chunk-RNERKBCT.js} +2 -2
- package/dist/{chunk-C6LFO5DZ.js.map → chunk-RNERKBCT.js.map} +1 -1
- package/dist/{chunk-YNK4LVRZ.cjs → chunk-T6SCB6IF.cjs} +3 -3
- package/dist/{chunk-YNK4LVRZ.cjs.map → chunk-T6SCB6IF.cjs.map} +1 -1
- package/dist/{chunk-5UIHDRL5.cjs → chunk-UZ4TAGXM.cjs} +2 -2
- package/dist/{chunk-5UIHDRL5.cjs.map → chunk-UZ4TAGXM.cjs.map} +1 -1
- package/dist/{chunk-GPBY3OXV.js → chunk-YINS4ZV4.js} +2 -2
- package/dist/chunk-YINS4ZV4.js.map +1 -0
- package/dist/contact-section.cjs +1 -1
- package/dist/contact-section.js +1 -1
- package/dist/cover-setion.cjs +1 -1
- package/dist/cover-setion.js +1 -1
- package/dist/gift-avatar-section.cjs +1 -1
- package/dist/gift-avatar-section.js +1 -1
- package/dist/hesman-cert-section.cjs +1 -1
- package/dist/hesman-cert-section.js +1 -1
- package/dist/hesman-greeting-section.cjs +1 -1
- package/dist/hesman-greeting-section.js +1 -1
- package/dist/hesman-metaverse-section.cjs +1 -1
- package/dist/hesman-metaverse-section.js +1 -1
- package/dist/hesman-thankyou-section.cjs +1 -1
- package/dist/hesman-thankyou-section.js +1 -1
- package/dist/home-section.cjs +1 -1
- package/dist/home-section.js +1 -1
- package/dist/horizontal-book-image-section.cjs +1 -1
- package/dist/horizontal-book-image-section.js +1 -1
- package/dist/horizontal-image-list-section.cjs +1 -1
- package/dist/horizontal-image-list-section.js +1 -1
- package/dist/image-text-array-section.cjs +1 -1
- package/dist/image-text-array-section.js +1 -1
- package/dist/image-text-section.cjs +1 -1
- package/dist/image-text-section.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/khaocoky.cjs +1 -1
- package/dist/khaocoky.js +1 -1
- package/dist/khaocokyv2.cjs +1 -1
- package/dist/khaocokyv2.js +1 -1
- package/dist/letter-section.cjs +1 -1
- package/dist/letter-section.js +1 -1
- package/dist/lexical-letter-section.cjs +1 -1
- package/dist/lexical-letter-section.js +1 -1
- package/dist/navigation-section.cjs +1 -1
- package/dist/navigation-section.js +1 -1
- package/dist/pet-profile-section.cjs +1 -1
- package/dist/pet-profile-section.js +1 -1
- package/dist/profile-section.cjs +1 -1
- package/dist/profile-section.js +1 -1
- package/dist/vertical-carousel-section.cjs +1 -1
- package/dist/vertical-carousel-section.js +1 -1
- package/dist/video-intro-section.cjs +1 -1
- package/dist/video-intro-section.js +1 -1
- package/package.json +1 -1
- package/src/components/LandingPage/common/ui-kit/atomics/ BaseModal.tsx +2 -2
- package/src/components/LandingPage/common/ui-kit/atomics/Screenshot 2026-08-01 at 14.22.09.png +0 -0
- package/src/components/LandingPage/common/ui-kit/moleculars/AuthorModalDeDo.tsx +16 -2
- package/dist/chunk-33FPKSDO.cjs +0 -3
- package/dist/chunk-33FPKSDO.cjs.map +0 -1
- package/dist/chunk-4HYJNMF2.js +0 -3
- package/dist/chunk-4HYJNMF2.js.map +0 -1
- package/dist/chunk-GPBY3OXV.js.map +0 -1
- package/dist/chunk-U463DIED.cjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunk5OFDFIKR_cjs=require('./chunk-5OFDFIKR.cjs');require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-
|
|
1
|
+
'use strict';var chunk5OFDFIKR_cjs=require('./chunk-5OFDFIKR.cjs');require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-OFB3WIOY.cjs'),require('./chunk-5I4Z5UH2.cjs'),require('./chunk-DPN6OBT5.cjs'),require('./chunk-SDQQRSTP.cjs');Object.defineProperty(exports,"AdvanceProfileSectionUI",{enumerable:true,get:function(){return chunk5OFDFIKR_cjs.a}});//# sourceMappingURL=advance-profile-section.cjs.map
|
|
2
2
|
//# sourceMappingURL=advance-profile-section.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as AdvanceProfileSectionUI}from'./chunk-VITZI5ZU.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-
|
|
1
|
+
export{a as AdvanceProfileSectionUI}from'./chunk-VITZI5ZU.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-YINS4ZV4.js';import'./chunk-LSWFX7YA.js';import'./chunk-UIPKSEN4.js';import'./chunk-X4IWMGAB.js';//# sourceMappingURL=advance-profile-section.js.map
|
|
2
2
|
//# sourceMappingURL=advance-profile-section.js.map
|
package/dist/author-section.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkPD646JFN_cjs=require('./chunk-PD646JFN.cjs');require('./chunk-CTHHMFD7.cjs'),require('./chunk-QNKG2DPA.cjs'),require('./chunk-XFF6JIWQ.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-OFB3WIOY.cjs'),require('./chunk-5I4Z5UH2.cjs'),require('./chunk-DPN6OBT5.cjs'),require('./chunk-SDQQRSTP.cjs');Object.defineProperty(exports,"AuthorSectionUI",{enumerable:true,get:function(){return chunkPD646JFN_cjs.a}});//# sourceMappingURL=author-section.cjs.map
|
|
2
2
|
//# sourceMappingURL=author-section.cjs.map
|
package/dist/author-section.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as AuthorSectionUI}from'./chunk-
|
|
1
|
+
export{a as AuthorSectionUI}from'./chunk-MLCV5NUU.js';import'./chunk-OJGO2NUP.js';import'./chunk-QCNAJEOX.js';import'./chunk-HMIZ2FLM.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-YINS4ZV4.js';import'./chunk-LSWFX7YA.js';import'./chunk-UIPKSEN4.js';import'./chunk-X4IWMGAB.js';//# sourceMappingURL=author-section.js.map
|
|
2
2
|
//# sourceMappingURL=author-section.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkI2XSW7Z5_cjs=require('./chunk-I2XSW7Z5.cjs');require('./chunk-MQDQYKWH.cjs'),require('./chunk-NQROZGX3.cjs'),require('./chunk-QYYK7LNR.cjs'),require('./chunk-HHRFK2PR.cjs'),require('./chunk-JEH6Z3MR.cjs'),require('./chunk-XFF6JIWQ.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-
|
|
1
|
+
'use strict';var chunkI2XSW7Z5_cjs=require('./chunk-I2XSW7Z5.cjs');require('./chunk-MQDQYKWH.cjs'),require('./chunk-NQROZGX3.cjs'),require('./chunk-QYYK7LNR.cjs'),require('./chunk-HHRFK2PR.cjs'),require('./chunk-JEH6Z3MR.cjs'),require('./chunk-XFF6JIWQ.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-OFB3WIOY.cjs'),require('./chunk-5I4Z5UH2.cjs'),require('./chunk-DPN6OBT5.cjs'),require('./chunk-SDQQRSTP.cjs');Object.defineProperty(exports,"BEDIMenuOrder",{enumerable:true,get:function(){return chunkI2XSW7Z5_cjs.a}});Object.defineProperty(exports,"BEDIPageSectionUI",{enumerable:true,get:function(){return chunkI2XSW7Z5_cjs.b}});//# sourceMappingURL=b-e-d-i-page-section.cjs.map
|
|
2
2
|
//# sourceMappingURL=b-e-d-i-page-section.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as BEDIMenuOrder,b as BEDIPageSectionUI}from'./chunk-NPQYWNWJ.js';import'./chunk-AH7SOHCK.js';import'./chunk-EOINGUY5.js';import'./chunk-XLPIZNJE.js';import'./chunk-SDUI3BD3.js';import'./chunk-U7XVI2DM.js';import'./chunk-HMIZ2FLM.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-
|
|
1
|
+
export{a as BEDIMenuOrder,b as BEDIPageSectionUI}from'./chunk-NPQYWNWJ.js';import'./chunk-AH7SOHCK.js';import'./chunk-EOINGUY5.js';import'./chunk-XLPIZNJE.js';import'./chunk-SDUI3BD3.js';import'./chunk-U7XVI2DM.js';import'./chunk-HMIZ2FLM.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-YINS4ZV4.js';import'./chunk-LSWFX7YA.js';import'./chunk-UIPKSEN4.js';import'./chunk-X4IWMGAB.js';//# sourceMappingURL=b-e-d-i-page-section.js.map
|
|
2
2
|
//# sourceMappingURL=b-e-d-i-page-section.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkX7RB2GVW_cjs=require('./chunk-X7RB2GVW.cjs');require('./chunk-2TKQPATQ.cjs'),require('./chunk-PANRCNY2.cjs'),require('./chunk-BMQTMYRT.cjs'),require('./chunk-2L3LGNFN.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-
|
|
1
|
+
'use strict';var chunkX7RB2GVW_cjs=require('./chunk-X7RB2GVW.cjs');require('./chunk-2TKQPATQ.cjs'),require('./chunk-PANRCNY2.cjs'),require('./chunk-BMQTMYRT.cjs'),require('./chunk-2L3LGNFN.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-OFB3WIOY.cjs'),require('./chunk-5I4Z5UH2.cjs'),require('./chunk-DPN6OBT5.cjs'),require('./chunk-SDQQRSTP.cjs');Object.defineProperty(exports,"BaoNgayNay2025SectionUI",{enumerable:true,get:function(){return chunkX7RB2GVW_cjs.a}});//# sourceMappingURL=bao-ngay-nay2025-section.cjs.map
|
|
2
2
|
//# sourceMappingURL=bao-ngay-nay2025-section.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as BaoNgayNay2025SectionUI}from'./chunk-YYJKIDZ2.js';import'./chunk-WI4TNNNO.js';import'./chunk-CZW7BABY.js';import'./chunk-UOUTX4UQ.js';import'./chunk-LFC2ZCOA.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-
|
|
1
|
+
export{a as BaoNgayNay2025SectionUI}from'./chunk-YYJKIDZ2.js';import'./chunk-WI4TNNNO.js';import'./chunk-CZW7BABY.js';import'./chunk-UOUTX4UQ.js';import'./chunk-LFC2ZCOA.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-YINS4ZV4.js';import'./chunk-LSWFX7YA.js';import'./chunk-UIPKSEN4.js';import'./chunk-X4IWMGAB.js';//# sourceMappingURL=bao-ngay-nay2025-section.js.map
|
|
2
2
|
//# sourceMappingURL=bao-ngay-nay2025-section.js.map
|
package/dist/book-section.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkHH3WELAD_cjs=require('./chunk-HH3WELAD.cjs');require('./chunk-GXUG743T.cjs'),require('./chunk-XFF6JIWQ.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-
|
|
1
|
+
'use strict';var chunkHH3WELAD_cjs=require('./chunk-HH3WELAD.cjs');require('./chunk-GXUG743T.cjs'),require('./chunk-XFF6JIWQ.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-OFB3WIOY.cjs'),require('./chunk-5I4Z5UH2.cjs'),require('./chunk-DPN6OBT5.cjs'),require('./chunk-SDQQRSTP.cjs');Object.defineProperty(exports,"BookCoverSectionUI",{enumerable:true,get:function(){return chunkHH3WELAD_cjs.d}});Object.defineProperty(exports,"BookSectionUI",{enumerable:true,get:function(){return chunkHH3WELAD_cjs.e}});Object.defineProperty(exports,"NgheLetterSectionUI",{enumerable:true,get:function(){return chunkHH3WELAD_cjs.f}});//# sourceMappingURL=book-section.cjs.map
|
|
2
2
|
//# sourceMappingURL=book-section.cjs.map
|
package/dist/book-section.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{d as BookCoverSectionUI,e as BookSectionUI,f as NgheLetterSectionUI}from'./chunk-D4GX3EGZ.js';import'./chunk-WK65I7SX.js';import'./chunk-HMIZ2FLM.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-
|
|
1
|
+
export{d as BookCoverSectionUI,e as BookSectionUI,f as NgheLetterSectionUI}from'./chunk-D4GX3EGZ.js';import'./chunk-WK65I7SX.js';import'./chunk-HMIZ2FLM.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-YINS4ZV4.js';import'./chunk-LSWFX7YA.js';import'./chunk-UIPKSEN4.js';import'./chunk-X4IWMGAB.js';//# sourceMappingURL=book-section.js.map
|
|
2
2
|
//# sourceMappingURL=book-section.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunkK7T7NPVY_cjs=require('./chunk-K7T7NPVY.cjs');require('./chunk-HHRFK2PR.cjs'),require('./chunk-JEH6Z3MR.cjs'),require('./chunk-XFF6JIWQ.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-
|
|
1
|
+
'use strict';var chunkK7T7NPVY_cjs=require('./chunk-K7T7NPVY.cjs');require('./chunk-HHRFK2PR.cjs'),require('./chunk-JEH6Z3MR.cjs'),require('./chunk-XFF6JIWQ.cjs'),require('./chunk-GEGMACK2.cjs'),require('./chunk-JARFLL3F.cjs'),require('./chunk-OFB3WIOY.cjs'),require('./chunk-5I4Z5UH2.cjs'),require('./chunk-DPN6OBT5.cjs'),require('./chunk-SDQQRSTP.cjs');Object.defineProperty(exports,"BusinessCardSectionUI",{enumerable:true,get:function(){return chunkK7T7NPVY_cjs.a}});//# sourceMappingURL=business-card-section.cjs.map
|
|
2
2
|
//# sourceMappingURL=business-card-section.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as BusinessCardSectionUI}from'./chunk-LTTNSKMY.js';import'./chunk-SDUI3BD3.js';import'./chunk-U7XVI2DM.js';import'./chunk-HMIZ2FLM.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-
|
|
1
|
+
export{a as BusinessCardSectionUI}from'./chunk-LTTNSKMY.js';import'./chunk-SDUI3BD3.js';import'./chunk-U7XVI2DM.js';import'./chunk-HMIZ2FLM.js';import'./chunk-LSVSIJSZ.js';import'./chunk-6GUVMAUD.js';import'./chunk-YINS4ZV4.js';import'./chunk-LSWFX7YA.js';import'./chunk-UIPKSEN4.js';import'./chunk-X4IWMGAB.js';//# sourceMappingURL=business-card-section.js.map
|
|
2
2
|
//# sourceMappingURL=business-card-section.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {a as a$3,b as b$1}from'./chunk-5WVMNLF5.js';import {a as a$4}from'./chunk-BQATTZR6.js';import {a as a$6}from'./chunk-UOUTX4UQ.js';import {b,a as a$8}from'./chunk-LFC2ZCOA.js';import {a}from'./chunk-WK65I7SX.js';import {a as a$2}from'./chunk-HMIZ2FLM.js';import {a as a$1}from'./chunk-LSVSIJSZ.js';import {a as a$5}from'./chunk-6GUVMAUD.js';import {a as a$7}from'./chunk-GPBY3OXV.js';import {l}from'./chunk-LSWFX7YA.js';import {f,g}from'./chunk-UIPKSEN4.js';import {useState,useRef,useEffect}from'react';import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {parse}from'@phygitallabs/helpers';import {ImageNomion}from'@phygitallabs/core-ui/components/image-nomion';import {twMerge}from'tailwind-merge';import Zt from'dayjs';var Xe=()=>jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxs("g",{"clip-path":"url(#clip0_1344_2756)",children:[jsx("path",{d:"M6.0498 8.6178V13.3809C6.0498 13.6759 6.20697 13.9481 6.4623 14.0954L10.5873 16.4772C10.8426 16.6244 11.157 16.6244 11.4123 16.4772L15.5373 14.0954C15.7926 13.9481 15.9498 13.6755 15.9498 13.3809V8.6178C15.9498 8.32287 15.7926 8.05062 15.5373 7.90335L11.4123 5.52158C11.157 5.37432 10.8426 5.37432 10.5873 5.52158L6.4623 7.90335C6.20697 8.05062 6.0498 8.32328 6.0498 8.6178Z",fill:"#DCB9B9"}),jsx("path",{d:"M11.4125 16.4784L15.5375 14.097C15.7928 13.9498 15.95 13.6771 15.95 13.3826V8.61945C15.95 8.32451 15.7928 8.05226 15.5375 7.905L11.4125 5.52364C11.285 5.4498 11.1423 5.41309 11 5.41309V16.5894C11.1423 16.5894 11.285 16.5522 11.4125 16.4784Z",fill:"#BC8686"}),jsx("path",{d:"M11.0001 11.0007L15.8395 8.20684C15.7682 8.08351 15.6651 7.97873 15.5376 7.9049L11.4126 5.52353C11.1573 5.37627 10.8429 5.37627 10.5876 5.52353L6.46259 7.9049C6.33513 7.97873 6.23201 8.08351 6.16064 8.20684L11.0001 11.0007Z",fill:"#DED0D0"}),jsx("path",{d:"M3.67813 13.3727C3.45043 13.3727 3.26562 13.1879 3.26562 12.9602V9.04141C3.26562 8.81371 3.45043 8.62891 3.67813 8.62891C3.90583 8.62891 4.09063 8.81371 4.09063 9.04141V12.9602C4.09063 13.1879 3.90583 13.3727 3.67813 13.3727Z",fill:"#C4C6C6"}),jsx("path",{d:"M12.9599 18.7346C12.8172 18.7346 12.6782 18.6603 12.6019 18.5279C12.4884 18.3303 12.5561 18.0783 12.7537 17.9645L16.1568 16.0051C16.3544 15.8916 16.6064 15.9597 16.7203 16.1569C16.8337 16.3545 16.766 16.6065 16.5685 16.7204L13.1653 18.6797C13.1006 18.7169 13.0296 18.7346 12.9599 18.7346Z",fill:"#C4C6C6"}),jsx("path",{d:"M16.3617 6.05012C16.292 6.05012 16.2211 6.03238 16.1563 5.99526L12.7532 4.03588C12.5556 3.92203 12.4879 3.66999 12.6014 3.47241C12.7152 3.27482 12.9681 3.20717 13.1648 3.32061L16.568 5.27998C16.7656 5.39383 16.8332 5.64587 16.7198 5.84346C16.6435 5.97587 16.5049 6.05012 16.3617 6.05012Z",fill:"#C4C6C6"}),jsx("path",{d:"M18.3217 13.3727C18.094 13.3727 17.9092 13.1879 17.9092 12.9602V9.04141C17.9092 8.81371 18.094 8.62891 18.3217 8.62891C18.5494 8.62891 18.7342 8.81371 18.7342 9.04141V12.9602C18.7342 13.1879 18.5494 13.3727 18.3217 13.3727Z",fill:"#C4C6C6"}),jsx("path",{d:"M9.04043 18.7344C8.97072 18.7344 8.89977 18.7167 8.835 18.6796L5.43188 16.7202C5.23429 16.6063 5.16664 16.3543 5.28008 16.1567C5.39393 15.9595 5.64638 15.8919 5.84355 16.0049L9.24668 17.9643C9.44427 18.0781 9.51192 18.3302 9.39848 18.5278C9.32217 18.6602 9.18357 18.7344 9.04043 18.7344Z",fill:"#C4C6C6"}),jsx("path",{d:"M5.63813 6.04924C5.4954 6.04924 5.35639 5.97499 5.28008 5.84257C5.16664 5.64499 5.23429 5.39295 5.43188 5.2791L8.835 3.31972C9.03259 3.20587 9.28463 3.27435 9.39848 3.47152C9.51192 3.66911 9.44427 3.92115 9.24668 4.035L5.84355 5.99437C5.77879 6.0315 5.70784 6.04924 5.63813 6.04924Z",fill:"#C4C6C6"}),jsx("path",{d:"M11 3.5752C11.5695 3.5752 12.0312 3.11349 12.0312 2.54395C12.0312 1.9744 11.5695 1.5127 11 1.5127C10.4305 1.5127 9.96875 1.9744 9.96875 2.54395C9.96875 3.11349 10.4305 3.5752 11 3.5752Z",fill:"#BC8686"}),jsx("path",{d:"M11 20.4883C11.5695 20.4883 12.0312 20.0266 12.0312 19.457C12.0312 18.8875 11.5695 18.4258 11 18.4258C10.4305 18.4258 9.96875 18.8875 9.96875 19.457C9.96875 20.0266 10.4305 20.4883 11 20.4883Z",fill:"#BC8686"}),jsx("path",{d:"M3.67676 7.80371C4.2463 7.80371 4.70801 7.342 4.70801 6.77246C4.70801 6.20292 4.2463 5.74121 3.67676 5.74121C3.10721 5.74121 2.64551 6.20292 2.64551 6.77246C2.64551 7.342 3.10721 7.80371 3.67676 7.80371Z",fill:"#BC8686"}),jsx("path",{d:"M18.3232 16.2598C18.8928 16.2598 19.3545 15.7981 19.3545 15.2285C19.3545 14.659 18.8928 14.1973 18.3232 14.1973C17.7537 14.1973 17.292 14.659 17.292 15.2285C17.292 15.7981 17.7537 16.2598 18.3232 16.2598Z",fill:"#BC8686"}),jsx("path",{d:"M18.3232 7.80371C18.8928 7.80371 19.3545 7.342 19.3545 6.77246C19.3545 6.20292 18.8928 5.74121 18.3232 5.74121C17.7537 5.74121 17.292 6.20292 17.292 6.77246C17.292 7.342 17.7537 7.80371 18.3232 7.80371Z",fill:"#BC8686"}),jsx("path",{d:"M3.67676 16.2598C4.2463 16.2598 4.70801 15.7981 4.70801 15.2285C4.70801 14.659 4.2463 14.1973 3.67676 14.1973C3.10721 14.1973 2.64551 14.659 2.64551 15.2285C2.64551 15.7981 3.10721 16.2598 3.67676 16.2598Z",fill:"#BC8686"})]}),jsx("path",{d:"M15.9731 12.6846C16.4473 11.9259 17.5523 11.9259 18.0266 12.6846C18.3004 13.1227 18.8221 13.3388 19.3255 13.2226C20.1974 13.0215 20.9787 13.8028 20.7775 14.6746C20.6614 15.1781 20.8775 15.6997 21.3156 15.9736C22.0743 16.4478 22.0743 17.5528 21.3156 18.0271C20.8775 18.3009 20.6614 18.8226 20.7775 19.326C20.9787 20.1978 20.1974 20.9792 19.3255 20.778C18.8221 20.6619 18.3004 20.878 18.0266 21.3161C17.5523 22.0748 16.4473 22.0748 15.9731 21.3161C15.6992 20.878 15.1776 20.6619 14.6742 20.778C13.8023 20.9792 13.021 20.1978 13.2221 19.326C13.3383 18.8226 13.1222 18.3009 12.6841 18.0271C11.9254 17.5528 11.9254 16.4478 12.6841 15.9736C13.1222 15.6997 13.3383 15.1781 13.2221 14.6746C13.021 13.8028 13.8023 13.0215 14.6742 13.2226C15.1776 13.3388 15.6992 13.1227 15.9731 12.6846Z",fill:"#0080FF"}),jsx("path",{d:"M15.229 16.9995L16.4082 18.1786L18.7707 15.8203",stroke:"white","stroke-width":"0.6875","stroke-linecap":"round","stroke-linejoin":"round"}),jsx("defs",{children:jsx("clipPath",{id:"clip0_1344_2756",children:jsx("rect",{width:"19.8",height:"19.8",fill:"white",transform:"translate(1.1001 1.10059)"})})})]}),ue=Xe;var Ke=a=>{let{chainName:i,explorerUrl:r,openseaUrl:t,collectionOpenseaUrl:o,collectionName:l,nftId:n,configTheme:p}=a,[c,C]=useState(false),x=()=>C(s=>!s);return jsxs(Fragment,{children:[jsxs(a$7,{toggleModal:x,isOpen:c,children:[jsx("div",{className:"w-full border-b-[1px] border-b-[#454545] p-[12px] text-center font-semibold italic",children:"Th\xF4ng tin NFT"}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Collection"}),jsx("a",{href:o,target:"_blank",className:"text-[14px] font-semibold underline",children:l})]})}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Market"}),jsx("a",{href:t,target:"_blank",className:"text-[14px] font-semibold underline",children:"Opensea"})]})}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Token"}),jsxs("a",{href:r,target:"_blank",className:"text-[14px] font-semibold underline",children:["#",n]})]})}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Chain"}),jsx("div",{children:i})]})})]}),jsx(a$8,{onClick:x,configTheme:p,children:jsxs("div",{className:"flex gap-1 items-center",children:[jsx(ue,{})," NFT"]})})]})},he=Ke;var Je=()=>jsx("div",{className:"w-full border-t border-t-neutral-6"}),et=({field:a,hardCodeOption:i,configTheme:r})=>{let t=i?.isHPT,{value:o,style_config:l}=a,n=typeof o=="string",p=l?.text_color||r?.secondary_color,[c,C]=useState(false),x=()=>C(d=>!d);return (()=>{if(n&&o)return jsxs("div",{className:"flex gap-1.5",style:{color:l?.text_color||r?.secondary_color},children:[jsx(a$5,{variant:"span",className:"font-thin whitespace-nowrap",color:p,children:"S\u1EDF h\u1EEFu:"}),jsx(a$5,{variant:"span",className:"font-semibold underline !text-black whitespace-nowrap",color:p,children:o}),!!o&&jsx(b$1,{})]});let{label:d,name:v,avatar:g,description:h}=o||{};return jsxs(Fragment,{children:[(!!v||!!d)&&jsxs("div",{className:"flex gap-1.5 items-center",onClick:x,children:[!t&&g?.url&&jsx(ImageNomion,{src:g?.url,alt:v,className:"rounded-full object-contain w-7 h-7",width:28,height:28}),jsx(a$5,{variant:"span",className:"font-thin whitespace-nowrap",color:p,children:d}),jsx(a$5,{variant:"span",className:"font-semibold underline whitespace-nowrap truncate max-w-[300px]",color:p,children:parse(v)}),jsx(b$1,{})]}),jsx(a$7,{isOpen:c,toggleModal:x,className:"backdrop-blur-2xl",hasExitIcon:true,children:jsxs("div",{className:"w-full space-y-5",children:[jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-4",children:[g?.url&&jsx("div",{className:"max-w-[150px] m-auto",children:jsx(ImageNomion,{className:"max-w-[150px]",src:g?.url,alt:v})}),jsxs("div",{className:"flex w-full items-center justify-center gap-2",children:[jsx(a$5,{variant:"span",className:"font-semibold underline",color:p,children:parse(v)}),jsx(b$1,{})]})]}),jsx(Je,{}),h&&jsx("div",{className:"list-inside list-disc text-sm text-neutral-5",children:parse(h||"")})]})})]})})()},Z=et;function ot(){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"none",viewBox:"0 0 32 32",children:[jsx("path",{stroke:"#BFBFBF",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M2.667 12V9.333c0-4 2.666-6.666 6.666-6.666h13.334c4 0 6.666 2.666 6.666 6.666V12M2.667 20v2.667c0 4 2.666 6.666 6.666 6.666h13.334c4 0 6.666-2.666 6.666-6.666V20"}),jsx("path",{stroke:"#BFBFBF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8.933 12.347L16 16.44l7.013-4.067M16 23.693v-7.266"}),jsx("path",{stroke:"#BFBFBF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14.347 8.387L10.08 10.76c-.96.533-1.76 1.88-1.76 2.987v4.52c0 1.106.787 2.453 1.76 2.986l4.267 2.374c.906.506 2.4.506 3.32 0l4.266-2.374c.96-.533 1.76-1.88 1.76-2.986v-4.52c0-1.107-.786-2.454-1.76-2.987l-4.266-2.373c-.92-.52-2.414-.52-3.32 0z"})]})}var j=ot;function rt(){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"32",fill:"none",viewBox:"0 0 33 32",children:[jsx("path",{stroke:"#F0F0F0",strokeWidth:"1.333",d:"M16.5 28c5.891 0 10.667-4.776 10.667-10.667 0-5.89-4.776-10.666-10.667-10.666-5.89 0-10.666 4.775-10.666 10.666C5.834 23.225 10.609 28 16.5 28z",clipRule:"evenodd"}),jsx("path",{stroke:"#F0F0F0",strokeLinecap:"round",strokeWidth:"1.333",d:"M16.5 12v5.333M24.5 9.333l2.666-2.666M20.5 2.667h-8"})]})}var xe=rt;function lt(){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"33",fill:"none",viewBox:"0 0 33 33",children:jsx("path",{fill:"#F0F0F0",d:"M16 2.668c-7.347 0-13.334 5.987-13.334 13.334 0 7.347 5.987 13.334 13.334 13.334 7.347 0 13.334-5.987 13.334-13.334 0-7.347-5.987-13.334-13.334-13.334zm-1 8c0-.546.453-1 1-1 .547 0 1 .454 1 1v6.668c0 .546-.453 1-1 1-.547 0-1-.454-1-1v-6.667zm2.227 11.175c-.067.173-.16.306-.28.44a1.54 1.54 0 01-.44.28c-.16.066-.334.106-.507.106s-.347-.04-.507-.106a1.54 1.54 0 01-.44-.28 1.375 1.375 0 01-.28-.44 1.327 1.327 0 01-.107-.507c0-.173.04-.347.107-.507.067-.16.16-.306.28-.44.133-.12.28-.213.44-.28.32-.133.694-.133 1.014 0 .16.067.306.16.44.28.12.134.213.28.28.44.066.16.106.334.106.507s-.04.347-.106.507z"})})}var Fe=lt;var st=a=>Array.isArray(a)?jsx("ul",{className:"ml-5 flex flex-col",children:a.map((i,r)=>jsx("li",{className:"list-disc",children:i},r))}):a,nt=({productDetail:a,configTheme:i})=>jsxs("div",{className:"flex flex-col gap-5 pt-3",children:[jsx("div",{className:"relative flex items-center justify-center gap-[16px]",children:jsx(a$2,{field:{value:"TH\xD4NG TIN S\u1EA2N PH\u1EA8M"},lineText:true,configTheme:i})}),a.map((r,t)=>!r.value||r.value===" x x "?null:jsx("div",{className:"flex ",children:jsxs("div",{className:"flex items-center gap-[12px] px-[24px]",children:[jsx("div",{children:r.Icon}),jsxs("div",{className:"flex flex-col gap-[2px]",children:[jsx(a$5,{variant:"p",color:i?.secondary_color,children:r.label}),jsx("div",{className:"flex",children:jsx(a$5,{variant:"span",color:i?.secondary_color,children:st(r.value)})})]})]})},t))]}),be=nt;var ct=({field:a,isAbsolute:i=true,configTheme:r})=>{let[t,o]=useState(false),l=()=>o(v=>!v),{value:n}={...a},{product_size:p="",product_pedestal_size:c="",product_weight:C="",product_time:x="",product_material:s=""}={...n},d=p||c||C||x||s;return jsxs(Fragment,{children:[d&&(i?jsx("div",{className:"absolute bottom-[10%] right-3 z-10",children:jsxs("div",{className:"flex flex-col justify-center gap-[8px]",children:[jsx("div",{className:"flex cursor-pointer items-center justify-center",onClick:l,children:jsx(Fe,{})}),jsx("div",{className:"w-[40px] text-center text-[12px] font-medium",children:t?"Xem 3D":"Th\xF4ng tin"})]})}):jsx("div",{className:"",onClick:l,children:jsx("div",{className:"w-full rounded-full bg-white py-2 text-center text-black",children:"Th\xF4ng tin"})})),d&&jsx(a$7,{isOpen:t,toggleModal:l,children:jsx(be,{configTheme:r,productDetail:[{label:"Th\u1EDDi gian \u0111i\xEAu kh\u1EAFc",value:x,Icon:jsx(xe,{})},{label:"K\xEDch th\u01B0\u1EDBc",value:p,Icon:jsx(j,{})},{label:"K\xEDch th\u01B0\u1EDBc \u0111\u1EBF",value:c,Icon:jsx(j,{})},{label:"Tr\u1ECDng l\u01B0\u1EE3ng",value:C,Icon:jsx(j,{})},{label:"Ch\u1EA5t li\u1EC7u",value:s,Icon:jsx(j,{})}]})})]})},B=ct;var mt=({asset3DUrl:a,showArButton:i,isHidden:r=false})=>{let t=useRef(null),[o,l]=useState(0),[n,p]=useState(0),[c,C]=useState(0);return useEffect(()=>{if(t.current&&!r){let s=t.current,d=v=>{let g=s.getCameraOrbit();g.theta;if(v?.detail?.source==="user-interaction"){p(-g.theta);}};return s.addEventListener("camera-change",d),()=>{s.removeEventListener("camera-change",d);}}},[t.current,r]),useEffect(()=>{let d=(n+c)*180/Math.PI%360;d>180?d-=360:d<-180&&(d+=360),l(d);},[n,c]),useEffect(()=>{let s=setInterval(()=>{t.current&&C(t.current.turntableRotation);},100);return ()=>clearInterval(s)},[]),r?void 0:typeof window>"u"?null:jsxs("div",{className:"flex h-full w-full flex-col pt-5 items-center",children:[jsx("div",{className:"rounded border border-neutral-6 px-2 text-sm",children:jsx("span",{className:"text-neutral-6",children:(s=>-90<s&&s<90)(o)?"M\u1EB7t tr\u01B0\u1EDBc":"M\u1EB7t sau"})}),jsx("div",{className:"h-4/5 w-full",children:jsx("model-viewer",{...i&&{ar:true},id:"model-viewer","ar-scale":"fixed","auto-rotate":true,"auto-rotate-delay":1e3,"camera-controls":true,src:a,alt:"3D model","disable-pan":true,"disable-tap":true,"camera-orbit":"0deg 90deg auto","min-camera-orbit":"auto 90deg auto","max-camera-orbit":"auto 90deg auto",ref:s=>{t.current=s;}})})]})},Ne=mt;var gt=a=>{let{children:i}=a,[r,t]=useState(false),o=()=>t(l=>!l);return jsxs(Fragment,{children:[jsx(a$7,{isOpen:r,toggleModal:o,className:"rounded-lg border-none p-6",children:jsx("div",{className:"flex min-h-[150px] items-center justify-center text-lg font-semibold text-neutral-4",children:"Coming Soon!"})}),jsx("div",{className:"flex-1 rounded-xl border-white gap-1 border py-1",onClick:o,children:jsx("div",{className:"flex w-full items-center justify-center gap-2",children:i})})]})},we=gt;var vt=({field:a})=>{let{value:i}=a,{position:r,company_name:t}=i||{};return !!t&&jsxs("div",{className:"flex gap-1.5 text-neutral-6",children:[r&&jsx(a$5,{variant:"span",className:"font-thin",children:r}),jsx(a$5,{variant:"span",className:"font-semibold",children:t})]})},Me=vt;var yt=({field:a})=>{let{value:i}=a,{label:r,owner_name:t}=i||{};return !!t&&jsxs("div",{className:"flex gap-1.5 text-neutral-6",children:[jsx(a$5,{variant:"span",className:"font-thin",children:r}),jsx(a$5,{variant:"span",className:"font-semibold underline",children:parse(t)})]})},Ie=yt;var Se=a=>a.length<=10?a:`${a.substring(0,5)}...${a.substring(a.length-5)}`,te=(a,i,r)=>{let t,o,l;switch(a){case 1:t="https://etherscan.io",o="",l="Ethereum";break;case 137:t="https://polygonscan.com",o="matic",l="Polygon";break;case 56:t="https://bscscan.com",o="binance-smart-chain",l="Binance Smart Chain";break;case 43114:t="https://snowtrace.io",o="avalanche",l="Avalanche";break;case 250:t="https://ftmscan.com",o="fantom",l="Fantom";break;case 10:t="https://optimistic.etherscan.io",o="optimism",l="Optimism";break;case 100:t="https://blockscout.com/xdai/mainnet",o="gnosis",l="Gnosis Chain";break;default:t="https://polygonscan.com",o="matic",l="Polygon";}let n=`${t}/nft/${i}/${r}`,p="https://opensea.io",c=o?`${p}/assets/${o}/${i}`:`${p}/assets/${i}`,C=`${c}/${r}`;return {chainName:l,openseaUrl:C,explorerUrl:n,collectionOpenseaUrl:c}};var wt=({className:a})=>jsxs("svg",{width:"24",height:"24",viewBox:"0 0 240 240",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:[jsx("path",{d:"M177.275 47.4116C170.062 48.605 164.348 54.4925 163.383 61.6573C163.044 64.1875 163.276 66.6206 163.968 68.8574C165.252 72.9934 163.966 77.4913 160.832 80.5156L153.518 87.5766C149.757 91.2075 144.709 93.237 139.455 93.237H103.906C97.8868 93.237 92.1083 90.9119 87.8028 86.756L78.7388 78.0096C75.9176 75.2853 74.5182 71.3258 75.3641 67.5184C75.7837 65.6412 75.8797 63.6492 75.5895 61.5889C74.5762 54.391 68.791 48.5101 61.5282 47.3829C49.9712 45.5895 40.1483 55.333 42.0276 66.7662C43.2128 73.9795 49.2569 79.6817 56.5934 80.5949C58.7093 80.8596 60.7604 80.7317 62.6844 80.2795C66.3961 79.4081 70.2999 80.2883 73.0295 82.92L82.2609 91.8318C87.5729 96.9583 90.566 103.986 90.566 111.321V137.867C90.566 144.564 87.834 150.976 82.9885 155.653L78.962 159.542C75.8507 162.542 71.0877 163.157 67.3403 160.978C64.2155 159.165 60.4547 158.311 56.4595 158.832C49.0717 159.8 43.0655 165.635 41.983 172.921C40.2086 184.874 51.1965 194.885 63.4834 191.62C70.84 189.664 75.757 182.785 75.757 175.255V175.217C75.757 173.838 76.3194 172.519 77.3148 171.555L92.6484 156.756C96.6882 152.854 102.112 150.672 107.759 150.672H136.223C140.709 150.672 145.019 152.408 148.229 155.505L159.011 165.915C161.618 168.432 163.232 171.849 163.23 175.451C163.23 176.618 163.352 177.813 163.618 179.033C165.091 185.803 170.803 191.108 177.742 192.072C189.21 193.669 198.878 183.93 196.941 172.548C195.754 165.564 190.002 159.979 182.922 158.891C179.556 158.373 176.349 158.838 173.532 160.036C169.448 161.774 164.718 160.996 161.535 157.925L155.877 152.463C151.275 148.021 148.679 141.932 148.679 135.57V109.814C148.679 105.246 150.543 100.874 153.849 97.6841L168.55 83.4913C170.923 81.2016 174.242 79.9906 177.516 80.5156C179.436 80.8266 181.469 80.8133 183.56 80.4052C190.482 79.053 195.959 73.4214 196.997 66.5257C198.561 56.1139 190.442 47.1689 180.21 47.1667C179.248 47.1667 178.268 47.2461 177.275 47.4116Z",fill:"url(#paint0_linear_274_267)"}),jsx("path",{d:"M103.397 45.7482C103.397 54.6755 110.718 61.9087 119.749 61.9087C128.779 61.9087 136.102 54.6755 136.102 45.7482C136.102 36.8231 128.779 29.5878 119.749 29.5878C110.718 29.5878 103.397 36.8231 103.397 45.7482Z",fill:"url(#paint1_linear_274_267)"}),jsx("path",{d:"M182.139 121.83C182.139 130.757 189.46 137.992 198.492 137.992C207.523 137.992 214.844 130.757 214.844 121.83C214.844 112.907 207.523 105.669 198.492 105.669C189.46 105.669 182.139 112.907 182.139 121.83Z",fill:"url(#paint2_linear_274_267)"}),jsx("path",{d:"M29.6851 121.83C29.6851 130.757 37.0081 137.992 46.0386 137.992C55.0713 137.992 62.3899 130.757 62.3899 121.83C62.3899 112.907 55.0713 105.669 46.0386 105.669C37.0081 105.669 29.6851 112.907 29.6851 121.83Z",fill:"url(#paint3_linear_274_267)"}),jsx("path",{d:"M108.111 199.557C108.111 208.484 115.434 215.717 124.465 215.717C133.495 215.717 140.816 208.484 140.816 199.557C140.816 190.632 133.495 183.394 124.465 183.394C115.434 183.394 108.111 190.632 108.111 199.557Z",fill:"url(#paint4_linear_274_267)"}),jsx("path",{d:"M0 82.7946C0 88.1527 4.39243 92.4917 9.81385 92.4917C15.2308 92.4917 19.6233 88.1527 19.6233 82.7946C19.6233 77.4408 15.2308 73.0997 9.81385 73.0997C4.39243 73.0997 0 77.4408 0 82.7946Z",fill:"url(#paint5_linear_274_267)"}),jsx("path",{d:"M69.436 9.69554C69.436 15.0537 73.8285 19.3949 79.2455 19.3949C84.6646 19.3949 89.0572 15.0537 89.0572 9.69554C89.0572 4.34182 84.6646 0.00063324 79.2455 0.00063324C73.8285 0.00063324 69.436 4.34182 69.436 9.69554Z",fill:"url(#paint6_linear_274_267)"}),jsx("path",{d:"M147.925 13.4258C147.925 18.7817 152.318 23.1229 157.737 23.1229C163.156 23.1229 167.546 18.7817 167.546 13.4258C167.546 8.06987 163.156 3.73082 157.737 3.73082C152.318 3.73082 147.925 8.06987 147.925 13.4258Z",fill:"url(#paint7_linear_274_267)"}),jsx("path",{d:"M218.868 77.573C218.868 82.9311 223.263 87.2701 228.68 87.2701C234.099 87.2701 238.491 82.9311 238.491 77.573C238.491 72.2193 234.099 67.8781 228.68 67.8781C223.263 67.8781 218.868 72.2193 218.868 77.573Z",fill:"url(#paint8_linear_274_267)"}),jsx("path",{d:"M220.377 167.827C220.377 173.186 224.771 177.527 230.191 177.527C235.608 177.527 240 173.186 240 167.827C240 162.474 235.608 158.132 230.191 158.132C224.771 158.132 220.377 162.474 220.377 167.827Z",fill:"url(#paint9_linear_274_267)"}),jsx("path",{d:"M157.572 230.303C157.572 235.662 161.964 240.001 167.381 240.001C172.803 240.001 177.195 235.662 177.195 230.303C177.195 224.95 172.803 220.609 167.381 220.609C161.964 220.609 157.572 224.95 157.572 230.303Z",fill:"url(#paint10_linear_274_267)"}),jsx("path",{d:"M72.4824 227.224C72.4824 232.577 76.8749 236.919 82.2941 236.919C87.7133 236.919 92.1058 232.577 92.1058 227.224C92.1058 221.866 87.7133 217.524 82.2941 217.524C76.8749 217.524 72.4824 221.866 72.4824 227.224Z",fill:"url(#paint11_linear_274_267)"}),jsx("path",{d:"M1.03809 158.016C1.03809 163.372 5.4328 167.713 10.8498 167.713C16.2689 167.713 20.6614 163.372 20.6614 158.016C20.6614 152.66 16.2689 148.319 10.8498 148.319C5.4328 148.319 1.03809 152.66 1.03809 158.016Z",fill:"url(#paint12_linear_274_267)"}),jsxs("defs",{children:[jsxs("linearGradient",{id:"paint0_linear_274_267",x1:"193.292",y1:"244.13",x2:"42.0723",y2:"-16.8798",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint1_linear_274_267",x1:"226.13",y1:"225.104",x2:"74.9111",y2:"-35.9056",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint2_linear_274_267",x1:"251.149",y1:"210.609",x2:"99.9296",y2:"-50.4001",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint3_linear_274_267",x1:"137.686",y1:"276.345",x2:"-13.5333",y2:"15.3364",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint4_linear_274_267",x1:"161.743",y1:"262.408",x2:"10.5239",y2:"1.39782",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint5_linear_274_267",x1:"127.956",y1:"281.982",x2:"-23.2625",y2:"20.974",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint6_linear_274_267",x1:"211.901",y1:"233.349",x2:"60.6821",y2:"-27.6609",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint7_linear_274_267",x1:"268.671",y1:"200.457",x2:"117.452",y2:"-60.5502",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint8_linear_274_267",x1:"293.154",y1:"186.274",x2:"141.934",y2:"-74.7358",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint9_linear_274_267",x1:"254.435",y1:"208.706",x2:"103.217",y2:"-52.3023",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint10_linear_274_267",x1:"180.113",y1:"251.766",x2:"28.8945",y2:"-9.24282",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint11_linear_274_267",x1:"118.146",y1:"287.667",x2:"-33.0734",y2:"26.6565",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint12_linear_274_267",x1:"95.5238",y1:"300.773",x2:"-55.6949",y2:"39.7648",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]})]})]}),oe=wt;var Mt=a=>{let{explorerUrl:i,nftId:r}=a,[t,o]=useState(false),l=()=>o(n=>!n);return jsxs(Fragment,{children:[jsxs(a$7,{className:"bg-black/80 p-0",toggleModal:l,isOpen:t,children:[jsxs("div",{className:"flex flex-col w-full justify-center items-center",children:[jsx(oe,{className:"w-[150px] h-[150px]"}),jsxs("div",{className:"w-full border-b-[1px] border-neutral-8 text-white p-4 text-center font-semibold",children:["\u0110\xE3 \u0111\u01B0\u1EE3c \u0111\u1ECBnh danh tr\xEAn NDAChain ",jsx("br",{})," N\u1EC1n t\u1EA3ng Chu\u1ED7i kh\u1ED1i Qu\u1ED1c gia"]})]}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-xs font-medium text-neutral-6",children:"M\xE3 \u0111\u1ECBnh danh Phi t\u1EADp trung DID"}),jsx("a",{href:i,target:"_blank",className:"text-sm font-semibold text-white underline",children:r})]})})]}),jsxs("div",{className:"flex gap-1 flex-shrink-0 items-center text-black text-[10px] tracking-tighter rounded-full p-1 px-2 bg-white",onClick:l,children:[jsx(oe,{className:"w-5 h-5"}),jsx("p",{className:"font-medium text-xs uppercase",children:"\u0110\u1ECBnh danh"})]})]})},ke=Mt;var kt=a$5=>{let {sectionData:i,id:r,configTheme:t,hardCodeOption:o,nft:l$1,collection:n,didInfo:p}=a$5,c=o?.isTongla,C=o?.isHPT,x=o?.isSouvenir,s=o?.isUnesco;o?.ownerNameExtraInfo;let v=p?.DID,g$1=v?.split(":"),h=g$1?.[g$1.length-1],E=`${process.env.NEXT_PUBLIC_NDA_EXPLORER_URL}/address/${h}`,{isInViewport:Ae}=f(r),{tags:Ue={},name:Ee={},media:De={},config:re={},background:Le={},meta_info:ie={},author_modal:Pe={},nft_info:Oe={},buy_order_label:le={},nft_id:Ve={},index:He={},total:Ge={},author_context:Ze={},owner_name:Re={}}={...i},je=()=>{let{value:Y}=De,{url:D="",thumbnail_url:ze="",type:We=""}={...Y};switch(We){case "3D":return c?jsx(Ne,{isHidden:!Ae,asset3DUrl:D,showArButton:re?.show_ar_button||false}):jsx(a$4,{isHidden:false,asset3DUrl:D,showArButton:re?.show_ar_button||false});case "image":return jsx(ImageNomion,{src:D,alt:"Media",className:twMerge("m-auto h-4/5 w-auto object-contain",x&&"aspect-[1/1.41] object-fill")});case "video":return jsx(a$3,{videoUrl:D,thumbnailUrl:ze,loop:true,autoPlay:true,muted:true})}},{explorerUrl:$e}=te(n?.chain_id,n?.address,l$1?.token_id),se=!!n?.address&&!!l$1?.token_id;return jsx(Fragment,{children:jsx(g,{name:r,showScrollGuide:true,children:jsxs("div",{className:"relative m-auto h-full flex flex-col items-center",children:[jsx(a,{field:Le}),jsxs("div",{className:"relative flex h-[calc(100%-200px)] item flex-col w-full justify-center pt-[50px]",children:[je(),!c&&jsx(B,{field:ie,configTheme:t}),c&&jsx("div",{className:"flex justify-center items-center",children:jsxs("div",{className:"rounded border border-neutral-6 px-2 text-sm",children:[He?.value||1,jsxs("span",{className:"text-neutral-6",children:["/",Ge?.value||1]})]})})]}),jsxs("div",{className:"z-10 flex w-full flex-col justify-between gap-2 p-3",children:[l(le?.value)&&jsx(a$1,{delay:.5,duration:.5,children:jsx("div",{className:"flex w-full gap-2 px-2",children:le.value.map((Y,D)=>jsx(we,{children:Y},D))})}),jsx(a$2,{field:Ee,configTheme:t}),jsxs("div",{className:"flex gap-2 overflow-x-auto",children:[se&&jsx(he,{field:Oe,configTheme:t,...te(n?.chain_id,n?.address,l$1?.token_id),nftId:l$1?.token_id,collectionName:n?.name}),v&&jsx(ke,{field:p,configTheme:t,explorerUrl:E,nftId:h?.slice(0,6)+"..."+h?.slice(-4)}),jsx(b,{className:"flex-nowrap",field:Ue,configTheme:{...t,primary_color:s?"#BFBFBF":t?.primary_color}})]}),jsx(Z,{field:Pe,hardCodeOption:{isHPT:C},configTheme:t,walletAddress:h,explorerUrl:E}),jsx(Ie,{field:Re}),jsx(Me,{field:Ze,configTheme:t}),se&&!!Ve.value&&jsx("div",{className:"flex w-full justify-start gap-2 text-[14px] font-light text-neutral-6",children:jsxs("a",{href:$e,className:"text-sm font-semibold underline",target:"_blank",children:["\u0110\u1ECBnh danh: ",Se(n.address)]})}),c&&jsx(B,{field:ie,isAbsolute:!c})]})]})})})},Bt=kt;var Et=a$1=>{let{sectionData:i,id:r,configTheme:t}=a$1,{tags:o={},name:l={},media:n={},config:p={},background:c={},meta_info:C={},author_modal:x={},list_button:s={},publish_time:d={}}={...i};return jsx(Fragment,{children:jsx(g,{name:r,showScrollGuide:true,children:jsxs("div",{className:"relative m-auto h-full flex flex-col items-center",children:[jsx(a,{field:c}),jsxs("div",{className:"relative flex h-[calc(100%-250px)] w-full justify-center pt-[50px]",children:[(()=>{let{value:g}=n,{url:h="",thumbnail_url:M="",type:E=""}={...g};switch(E){case "3D":return jsx(a$4,{isHidden:false,asset3DUrl:h,showArButton:p?.show_ar_button||false});case "image":return jsx(ImageNomion,{src:h,alt:"Media",className:"m-auto h-4/5 w-auto object-contain"});case "video":return jsx(a$3,{videoUrl:h,thumbnailUrl:M,loop:true,autoPlay:true,muted:true})}})(),jsx(B,{field:C})]}),jsxs("div",{className:"z-10 flex w-full flex-col justify-between gap-2 p-3",children:[jsx(a$2,{field:l,configTheme:t}),jsx(b,{field:o,configTheme:t}),jsx(Z,{field:x}),jsx(a$5,{variant:"span",className:"font-thin",children:d?.value}),jsx(a$6,{field:s,configTheme:t})]})]})})})},Dt=Et;var Vt="https://storage.googleapis.com/assets-fygito/nomion/sourvenir/bao-nhan-dan/ND-ma%CC%A3%CC%86c-%C4%91i%CC%A3nh.webp",Ht=a=>{let{src:i,...r}=a,[t,o]=useState(i);return useEffect(()=>{o(i);},[i]),jsx("img",{src:t,onError:()=>o(Vt),...r})},Be=Ht;var Rt=a$1=>{let{sectionData:i,id:r,configTheme:t}=a$1,{tags:o={},name:l={},media:n={},config:p={},background:c={},meta_info:C={},author_modal:x={},release_date:s={}}={...i};console.log(s);let d=()=>{let{value:g}=n,{url:h="",thumbnail_url:M="",type:E=""}={...g};switch(E){case "3D":return jsx(a$4,{isHidden:false,asset3DUrl:h,showArButton:p?.show_ar_button||false});case "image":return jsx(Be,{style:{boxShadow:"8.5px 8.074px 20.099px 0px rgba(32, 32, 30, 0.50)"},src:h,alt:"Media",className:"m-auto h-4/5 w-auto aspect-[1/1.41] object-fill"});case "video":return jsx(a$3,{videoUrl:h,thumbnailUrl:M,loop:true,autoPlay:true,muted:true})}};console.log("releaseDate?",s);let v=g=>g?Zt(new Date(g)).format("DD-MM-YYYY"):"";return jsx(Fragment,{children:jsx(g,{name:r,showScrollGuide:true,children:jsxs("div",{className:"relative m-auto h-full flex flex-col items-center",children:[jsx(a,{field:c}),jsxs("div",{className:"relative flex h-[calc(100%-200px)] w-full justify-center pt-[50px]",children:[d(),jsx(B,{field:C})]}),jsxs("div",{className:"z-10 flex w-full flex-col justify-between gap-2 p-3",children:[jsx(a$2,{field:l,configTheme:t}),jsx(b,{field:o,configTheme:t}),jsxs("div",{className:"flex gap-1.5",children:[jsx(a$5,{variant:"span",className:"font-thin",children:"Xu\u1EA5t b\u1EA3n ng\xE0y"}),jsx(a$5,{variant:"span",className:"font-semibold underline",children:v(s?.value)})]}),jsx(Z,{field:x})]})]})})})},jt=Rt;
|
|
2
|
-
export{Bt as a,Dt as b,jt as c};//# sourceMappingURL=chunk-
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {a as a$3,b as b$1}from'./chunk-5WVMNLF5.js';import {a as a$4}from'./chunk-BQATTZR6.js';import {a as a$6}from'./chunk-UOUTX4UQ.js';import {b,a as a$8}from'./chunk-LFC2ZCOA.js';import {a}from'./chunk-WK65I7SX.js';import {a as a$2}from'./chunk-HMIZ2FLM.js';import {a as a$1}from'./chunk-LSVSIJSZ.js';import {a as a$5}from'./chunk-6GUVMAUD.js';import {a as a$7}from'./chunk-YINS4ZV4.js';import {l}from'./chunk-LSWFX7YA.js';import {f,g}from'./chunk-UIPKSEN4.js';import {useState,useRef,useEffect}from'react';import {jsx,Fragment,jsxs}from'react/jsx-runtime';import {parse}from'@phygitallabs/helpers';import {ImageNomion}from'@phygitallabs/core-ui/components/image-nomion';import {twMerge}from'tailwind-merge';import Zt from'dayjs';var Xe=()=>jsxs("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxs("g",{"clip-path":"url(#clip0_1344_2756)",children:[jsx("path",{d:"M6.0498 8.6178V13.3809C6.0498 13.6759 6.20697 13.9481 6.4623 14.0954L10.5873 16.4772C10.8426 16.6244 11.157 16.6244 11.4123 16.4772L15.5373 14.0954C15.7926 13.9481 15.9498 13.6755 15.9498 13.3809V8.6178C15.9498 8.32287 15.7926 8.05062 15.5373 7.90335L11.4123 5.52158C11.157 5.37432 10.8426 5.37432 10.5873 5.52158L6.4623 7.90335C6.20697 8.05062 6.0498 8.32328 6.0498 8.6178Z",fill:"#DCB9B9"}),jsx("path",{d:"M11.4125 16.4784L15.5375 14.097C15.7928 13.9498 15.95 13.6771 15.95 13.3826V8.61945C15.95 8.32451 15.7928 8.05226 15.5375 7.905L11.4125 5.52364C11.285 5.4498 11.1423 5.41309 11 5.41309V16.5894C11.1423 16.5894 11.285 16.5522 11.4125 16.4784Z",fill:"#BC8686"}),jsx("path",{d:"M11.0001 11.0007L15.8395 8.20684C15.7682 8.08351 15.6651 7.97873 15.5376 7.9049L11.4126 5.52353C11.1573 5.37627 10.8429 5.37627 10.5876 5.52353L6.46259 7.9049C6.33513 7.97873 6.23201 8.08351 6.16064 8.20684L11.0001 11.0007Z",fill:"#DED0D0"}),jsx("path",{d:"M3.67813 13.3727C3.45043 13.3727 3.26562 13.1879 3.26562 12.9602V9.04141C3.26562 8.81371 3.45043 8.62891 3.67813 8.62891C3.90583 8.62891 4.09063 8.81371 4.09063 9.04141V12.9602C4.09063 13.1879 3.90583 13.3727 3.67813 13.3727Z",fill:"#C4C6C6"}),jsx("path",{d:"M12.9599 18.7346C12.8172 18.7346 12.6782 18.6603 12.6019 18.5279C12.4884 18.3303 12.5561 18.0783 12.7537 17.9645L16.1568 16.0051C16.3544 15.8916 16.6064 15.9597 16.7203 16.1569C16.8337 16.3545 16.766 16.6065 16.5685 16.7204L13.1653 18.6797C13.1006 18.7169 13.0296 18.7346 12.9599 18.7346Z",fill:"#C4C6C6"}),jsx("path",{d:"M16.3617 6.05012C16.292 6.05012 16.2211 6.03238 16.1563 5.99526L12.7532 4.03588C12.5556 3.92203 12.4879 3.66999 12.6014 3.47241C12.7152 3.27482 12.9681 3.20717 13.1648 3.32061L16.568 5.27998C16.7656 5.39383 16.8332 5.64587 16.7198 5.84346C16.6435 5.97587 16.5049 6.05012 16.3617 6.05012Z",fill:"#C4C6C6"}),jsx("path",{d:"M18.3217 13.3727C18.094 13.3727 17.9092 13.1879 17.9092 12.9602V9.04141C17.9092 8.81371 18.094 8.62891 18.3217 8.62891C18.5494 8.62891 18.7342 8.81371 18.7342 9.04141V12.9602C18.7342 13.1879 18.5494 13.3727 18.3217 13.3727Z",fill:"#C4C6C6"}),jsx("path",{d:"M9.04043 18.7344C8.97072 18.7344 8.89977 18.7167 8.835 18.6796L5.43188 16.7202C5.23429 16.6063 5.16664 16.3543 5.28008 16.1567C5.39393 15.9595 5.64638 15.8919 5.84355 16.0049L9.24668 17.9643C9.44427 18.0781 9.51192 18.3302 9.39848 18.5278C9.32217 18.6602 9.18357 18.7344 9.04043 18.7344Z",fill:"#C4C6C6"}),jsx("path",{d:"M5.63813 6.04924C5.4954 6.04924 5.35639 5.97499 5.28008 5.84257C5.16664 5.64499 5.23429 5.39295 5.43188 5.2791L8.835 3.31972C9.03259 3.20587 9.28463 3.27435 9.39848 3.47152C9.51192 3.66911 9.44427 3.92115 9.24668 4.035L5.84355 5.99437C5.77879 6.0315 5.70784 6.04924 5.63813 6.04924Z",fill:"#C4C6C6"}),jsx("path",{d:"M11 3.5752C11.5695 3.5752 12.0312 3.11349 12.0312 2.54395C12.0312 1.9744 11.5695 1.5127 11 1.5127C10.4305 1.5127 9.96875 1.9744 9.96875 2.54395C9.96875 3.11349 10.4305 3.5752 11 3.5752Z",fill:"#BC8686"}),jsx("path",{d:"M11 20.4883C11.5695 20.4883 12.0312 20.0266 12.0312 19.457C12.0312 18.8875 11.5695 18.4258 11 18.4258C10.4305 18.4258 9.96875 18.8875 9.96875 19.457C9.96875 20.0266 10.4305 20.4883 11 20.4883Z",fill:"#BC8686"}),jsx("path",{d:"M3.67676 7.80371C4.2463 7.80371 4.70801 7.342 4.70801 6.77246C4.70801 6.20292 4.2463 5.74121 3.67676 5.74121C3.10721 5.74121 2.64551 6.20292 2.64551 6.77246C2.64551 7.342 3.10721 7.80371 3.67676 7.80371Z",fill:"#BC8686"}),jsx("path",{d:"M18.3232 16.2598C18.8928 16.2598 19.3545 15.7981 19.3545 15.2285C19.3545 14.659 18.8928 14.1973 18.3232 14.1973C17.7537 14.1973 17.292 14.659 17.292 15.2285C17.292 15.7981 17.7537 16.2598 18.3232 16.2598Z",fill:"#BC8686"}),jsx("path",{d:"M18.3232 7.80371C18.8928 7.80371 19.3545 7.342 19.3545 6.77246C19.3545 6.20292 18.8928 5.74121 18.3232 5.74121C17.7537 5.74121 17.292 6.20292 17.292 6.77246C17.292 7.342 17.7537 7.80371 18.3232 7.80371Z",fill:"#BC8686"}),jsx("path",{d:"M3.67676 16.2598C4.2463 16.2598 4.70801 15.7981 4.70801 15.2285C4.70801 14.659 4.2463 14.1973 3.67676 14.1973C3.10721 14.1973 2.64551 14.659 2.64551 15.2285C2.64551 15.7981 3.10721 16.2598 3.67676 16.2598Z",fill:"#BC8686"})]}),jsx("path",{d:"M15.9731 12.6846C16.4473 11.9259 17.5523 11.9259 18.0266 12.6846C18.3004 13.1227 18.8221 13.3388 19.3255 13.2226C20.1974 13.0215 20.9787 13.8028 20.7775 14.6746C20.6614 15.1781 20.8775 15.6997 21.3156 15.9736C22.0743 16.4478 22.0743 17.5528 21.3156 18.0271C20.8775 18.3009 20.6614 18.8226 20.7775 19.326C20.9787 20.1978 20.1974 20.9792 19.3255 20.778C18.8221 20.6619 18.3004 20.878 18.0266 21.3161C17.5523 22.0748 16.4473 22.0748 15.9731 21.3161C15.6992 20.878 15.1776 20.6619 14.6742 20.778C13.8023 20.9792 13.021 20.1978 13.2221 19.326C13.3383 18.8226 13.1222 18.3009 12.6841 18.0271C11.9254 17.5528 11.9254 16.4478 12.6841 15.9736C13.1222 15.6997 13.3383 15.1781 13.2221 14.6746C13.021 13.8028 13.8023 13.0215 14.6742 13.2226C15.1776 13.3388 15.6992 13.1227 15.9731 12.6846Z",fill:"#0080FF"}),jsx("path",{d:"M15.229 16.9995L16.4082 18.1786L18.7707 15.8203",stroke:"white","stroke-width":"0.6875","stroke-linecap":"round","stroke-linejoin":"round"}),jsx("defs",{children:jsx("clipPath",{id:"clip0_1344_2756",children:jsx("rect",{width:"19.8",height:"19.8",fill:"white",transform:"translate(1.1001 1.10059)"})})})]}),ue=Xe;var Ke=a=>{let{chainName:i,explorerUrl:r,openseaUrl:t,collectionOpenseaUrl:o,collectionName:l,nftId:n,configTheme:p}=a,[c,C]=useState(false),x=()=>C(s=>!s);return jsxs(Fragment,{children:[jsxs(a$7,{toggleModal:x,isOpen:c,children:[jsx("div",{className:"w-full border-b-[1px] border-b-[#454545] p-[12px] text-center font-semibold italic",children:"Th\xF4ng tin NFT"}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Collection"}),jsx("a",{href:o,target:"_blank",className:"text-[14px] font-semibold underline",children:l})]})}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Market"}),jsx("a",{href:t,target:"_blank",className:"text-[14px] font-semibold underline",children:"Opensea"})]})}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Token"}),jsxs("a",{href:r,target:"_blank",className:"text-[14px] font-semibold underline",children:["#",n]})]})}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-[15px] font-medium text-[#bfbfbf]",children:"Chain"}),jsx("div",{children:i})]})})]}),jsx(a$8,{onClick:x,configTheme:p,children:jsxs("div",{className:"flex gap-1 items-center",children:[jsx(ue,{})," NFT"]})})]})},he=Ke;var Je=()=>jsx("div",{className:"w-full border-t border-t-neutral-6"}),et=({field:a,hardCodeOption:i,configTheme:r})=>{let t=i?.isHPT,{value:o,style_config:l}=a,n=typeof o=="string",p=l?.text_color||r?.secondary_color,[c,C]=useState(false),x=()=>C(d=>!d);return (()=>{if(n&&o)return jsxs("div",{className:"flex gap-1.5",style:{color:l?.text_color||r?.secondary_color},children:[jsx(a$5,{variant:"span",className:"font-thin whitespace-nowrap",color:p,children:"S\u1EDF h\u1EEFu:"}),jsx(a$5,{variant:"span",className:"font-semibold underline !text-black whitespace-nowrap",color:p,children:o}),!!o&&jsx(b$1,{})]});let{label:d,name:v,avatar:g,description:h}=o||{};return jsxs(Fragment,{children:[(!!v||!!d)&&jsxs("div",{className:"flex gap-1.5 items-center",onClick:x,children:[!t&&g?.url&&jsx(ImageNomion,{src:g?.url,alt:v,className:"rounded-full object-contain w-7 h-7",width:28,height:28}),jsx(a$5,{variant:"span",className:"font-thin whitespace-nowrap",color:p,children:d}),jsx(a$5,{variant:"span",className:"font-semibold underline whitespace-nowrap truncate max-w-[300px]",color:p,children:parse(v)}),jsx(b$1,{})]}),jsx(a$7,{isOpen:c,toggleModal:x,className:"backdrop-blur-2xl",hasExitIcon:true,children:jsxs("div",{className:"w-full space-y-5",children:[jsxs("div",{className:"flex w-full flex-col items-center justify-center gap-4",children:[g?.url&&jsx("div",{className:"max-w-[150px] m-auto",children:jsx(ImageNomion,{className:"max-w-[150px]",src:g?.url,alt:v})}),jsxs("div",{className:"flex w-full items-center justify-center gap-2",children:[jsx(a$5,{variant:"span",className:"font-semibold underline",color:p,children:parse(v)}),jsx(b$1,{})]})]}),jsx(Je,{}),h&&jsx("div",{className:"list-inside list-disc text-sm text-neutral-5",children:parse(h||"")})]})})]})})()},Z=et;function ot(){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",fill:"none",viewBox:"0 0 32 32",children:[jsx("path",{stroke:"#BFBFBF",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M2.667 12V9.333c0-4 2.666-6.666 6.666-6.666h13.334c4 0 6.666 2.666 6.666 6.666V12M2.667 20v2.667c0 4 2.666 6.666 6.666 6.666h13.334c4 0 6.666-2.666 6.666-6.666V20"}),jsx("path",{stroke:"#BFBFBF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M8.933 12.347L16 16.44l7.013-4.067M16 23.693v-7.266"}),jsx("path",{stroke:"#BFBFBF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M14.347 8.387L10.08 10.76c-.96.533-1.76 1.88-1.76 2.987v4.52c0 1.106.787 2.453 1.76 2.986l4.267 2.374c.906.506 2.4.506 3.32 0l4.266-2.374c.96-.533 1.76-1.88 1.76-2.986v-4.52c0-1.107-.786-2.454-1.76-2.987l-4.266-2.373c-.92-.52-2.414-.52-3.32 0z"})]})}var j=ot;function rt(){return jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"32",fill:"none",viewBox:"0 0 33 32",children:[jsx("path",{stroke:"#F0F0F0",strokeWidth:"1.333",d:"M16.5 28c5.891 0 10.667-4.776 10.667-10.667 0-5.89-4.776-10.666-10.667-10.666-5.89 0-10.666 4.775-10.666 10.666C5.834 23.225 10.609 28 16.5 28z",clipRule:"evenodd"}),jsx("path",{stroke:"#F0F0F0",strokeLinecap:"round",strokeWidth:"1.333",d:"M16.5 12v5.333M24.5 9.333l2.666-2.666M20.5 2.667h-8"})]})}var xe=rt;function lt(){return jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"33",fill:"none",viewBox:"0 0 33 33",children:jsx("path",{fill:"#F0F0F0",d:"M16 2.668c-7.347 0-13.334 5.987-13.334 13.334 0 7.347 5.987 13.334 13.334 13.334 7.347 0 13.334-5.987 13.334-13.334 0-7.347-5.987-13.334-13.334-13.334zm-1 8c0-.546.453-1 1-1 .547 0 1 .454 1 1v6.668c0 .546-.453 1-1 1-.547 0-1-.454-1-1v-6.667zm2.227 11.175c-.067.173-.16.306-.28.44a1.54 1.54 0 01-.44.28c-.16.066-.334.106-.507.106s-.347-.04-.507-.106a1.54 1.54 0 01-.44-.28 1.375 1.375 0 01-.28-.44 1.327 1.327 0 01-.107-.507c0-.173.04-.347.107-.507.067-.16.16-.306.28-.44.133-.12.28-.213.44-.28.32-.133.694-.133 1.014 0 .16.067.306.16.44.28.12.134.213.28.28.44.066.16.106.334.106.507s-.04.347-.106.507z"})})}var Fe=lt;var st=a=>Array.isArray(a)?jsx("ul",{className:"ml-5 flex flex-col",children:a.map((i,r)=>jsx("li",{className:"list-disc",children:i},r))}):a,nt=({productDetail:a,configTheme:i})=>jsxs("div",{className:"flex flex-col gap-5 pt-3",children:[jsx("div",{className:"relative flex items-center justify-center gap-[16px]",children:jsx(a$2,{field:{value:"TH\xD4NG TIN S\u1EA2N PH\u1EA8M"},lineText:true,configTheme:i})}),a.map((r,t)=>!r.value||r.value===" x x "?null:jsx("div",{className:"flex ",children:jsxs("div",{className:"flex items-center gap-[12px] px-[24px]",children:[jsx("div",{children:r.Icon}),jsxs("div",{className:"flex flex-col gap-[2px]",children:[jsx(a$5,{variant:"p",color:i?.secondary_color,children:r.label}),jsx("div",{className:"flex",children:jsx(a$5,{variant:"span",color:i?.secondary_color,children:st(r.value)})})]})]})},t))]}),be=nt;var ct=({field:a,isAbsolute:i=true,configTheme:r})=>{let[t,o]=useState(false),l=()=>o(v=>!v),{value:n}={...a},{product_size:p="",product_pedestal_size:c="",product_weight:C="",product_time:x="",product_material:s=""}={...n},d=p||c||C||x||s;return jsxs(Fragment,{children:[d&&(i?jsx("div",{className:"absolute bottom-[10%] right-3 z-10",children:jsxs("div",{className:"flex flex-col justify-center gap-[8px]",children:[jsx("div",{className:"flex cursor-pointer items-center justify-center",onClick:l,children:jsx(Fe,{})}),jsx("div",{className:"w-[40px] text-center text-[12px] font-medium",children:t?"Xem 3D":"Th\xF4ng tin"})]})}):jsx("div",{className:"",onClick:l,children:jsx("div",{className:"w-full rounded-full bg-white py-2 text-center text-black",children:"Th\xF4ng tin"})})),d&&jsx(a$7,{isOpen:t,toggleModal:l,children:jsx(be,{configTheme:r,productDetail:[{label:"Th\u1EDDi gian \u0111i\xEAu kh\u1EAFc",value:x,Icon:jsx(xe,{})},{label:"K\xEDch th\u01B0\u1EDBc",value:p,Icon:jsx(j,{})},{label:"K\xEDch th\u01B0\u1EDBc \u0111\u1EBF",value:c,Icon:jsx(j,{})},{label:"Tr\u1ECDng l\u01B0\u1EE3ng",value:C,Icon:jsx(j,{})},{label:"Ch\u1EA5t li\u1EC7u",value:s,Icon:jsx(j,{})}]})})]})},B=ct;var mt=({asset3DUrl:a,showArButton:i,isHidden:r=false})=>{let t=useRef(null),[o,l]=useState(0),[n,p]=useState(0),[c,C]=useState(0);return useEffect(()=>{if(t.current&&!r){let s=t.current,d=v=>{let g=s.getCameraOrbit();g.theta;if(v?.detail?.source==="user-interaction"){p(-g.theta);}};return s.addEventListener("camera-change",d),()=>{s.removeEventListener("camera-change",d);}}},[t.current,r]),useEffect(()=>{let d=(n+c)*180/Math.PI%360;d>180?d-=360:d<-180&&(d+=360),l(d);},[n,c]),useEffect(()=>{let s=setInterval(()=>{t.current&&C(t.current.turntableRotation);},100);return ()=>clearInterval(s)},[]),r?void 0:typeof window>"u"?null:jsxs("div",{className:"flex h-full w-full flex-col pt-5 items-center",children:[jsx("div",{className:"rounded border border-neutral-6 px-2 text-sm",children:jsx("span",{className:"text-neutral-6",children:(s=>-90<s&&s<90)(o)?"M\u1EB7t tr\u01B0\u1EDBc":"M\u1EB7t sau"})}),jsx("div",{className:"h-4/5 w-full",children:jsx("model-viewer",{...i&&{ar:true},id:"model-viewer","ar-scale":"fixed","auto-rotate":true,"auto-rotate-delay":1e3,"camera-controls":true,src:a,alt:"3D model","disable-pan":true,"disable-tap":true,"camera-orbit":"0deg 90deg auto","min-camera-orbit":"auto 90deg auto","max-camera-orbit":"auto 90deg auto",ref:s=>{t.current=s;}})})]})},Ne=mt;var gt=a=>{let{children:i}=a,[r,t]=useState(false),o=()=>t(l=>!l);return jsxs(Fragment,{children:[jsx(a$7,{isOpen:r,toggleModal:o,className:"rounded-lg border-none p-6",children:jsx("div",{className:"flex min-h-[150px] items-center justify-center text-lg font-semibold text-neutral-4",children:"Coming Soon!"})}),jsx("div",{className:"flex-1 rounded-xl border-white gap-1 border py-1",onClick:o,children:jsx("div",{className:"flex w-full items-center justify-center gap-2",children:i})})]})},we=gt;var vt=({field:a})=>{let{value:i}=a,{position:r,company_name:t}=i||{};return !!t&&jsxs("div",{className:"flex gap-1.5 text-neutral-6",children:[r&&jsx(a$5,{variant:"span",className:"font-thin",children:r}),jsx(a$5,{variant:"span",className:"font-semibold",children:t})]})},Me=vt;var yt=({field:a})=>{let{value:i}=a,{label:r,owner_name:t}=i||{};return !!t&&jsxs("div",{className:"flex gap-1.5 text-neutral-6",children:[jsx(a$5,{variant:"span",className:"font-thin",children:r}),jsx(a$5,{variant:"span",className:"font-semibold underline",children:parse(t)})]})},Ie=yt;var Se=a=>a.length<=10?a:`${a.substring(0,5)}...${a.substring(a.length-5)}`,te=(a,i,r)=>{let t,o,l;switch(a){case 1:t="https://etherscan.io",o="",l="Ethereum";break;case 137:t="https://polygonscan.com",o="matic",l="Polygon";break;case 56:t="https://bscscan.com",o="binance-smart-chain",l="Binance Smart Chain";break;case 43114:t="https://snowtrace.io",o="avalanche",l="Avalanche";break;case 250:t="https://ftmscan.com",o="fantom",l="Fantom";break;case 10:t="https://optimistic.etherscan.io",o="optimism",l="Optimism";break;case 100:t="https://blockscout.com/xdai/mainnet",o="gnosis",l="Gnosis Chain";break;default:t="https://polygonscan.com",o="matic",l="Polygon";}let n=`${t}/nft/${i}/${r}`,p="https://opensea.io",c=o?`${p}/assets/${o}/${i}`:`${p}/assets/${i}`,C=`${c}/${r}`;return {chainName:l,openseaUrl:C,explorerUrl:n,collectionOpenseaUrl:c}};var wt=({className:a})=>jsxs("svg",{width:"24",height:"24",viewBox:"0 0 240 240",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,children:[jsx("path",{d:"M177.275 47.4116C170.062 48.605 164.348 54.4925 163.383 61.6573C163.044 64.1875 163.276 66.6206 163.968 68.8574C165.252 72.9934 163.966 77.4913 160.832 80.5156L153.518 87.5766C149.757 91.2075 144.709 93.237 139.455 93.237H103.906C97.8868 93.237 92.1083 90.9119 87.8028 86.756L78.7388 78.0096C75.9176 75.2853 74.5182 71.3258 75.3641 67.5184C75.7837 65.6412 75.8797 63.6492 75.5895 61.5889C74.5762 54.391 68.791 48.5101 61.5282 47.3829C49.9712 45.5895 40.1483 55.333 42.0276 66.7662C43.2128 73.9795 49.2569 79.6817 56.5934 80.5949C58.7093 80.8596 60.7604 80.7317 62.6844 80.2795C66.3961 79.4081 70.2999 80.2883 73.0295 82.92L82.2609 91.8318C87.5729 96.9583 90.566 103.986 90.566 111.321V137.867C90.566 144.564 87.834 150.976 82.9885 155.653L78.962 159.542C75.8507 162.542 71.0877 163.157 67.3403 160.978C64.2155 159.165 60.4547 158.311 56.4595 158.832C49.0717 159.8 43.0655 165.635 41.983 172.921C40.2086 184.874 51.1965 194.885 63.4834 191.62C70.84 189.664 75.757 182.785 75.757 175.255V175.217C75.757 173.838 76.3194 172.519 77.3148 171.555L92.6484 156.756C96.6882 152.854 102.112 150.672 107.759 150.672H136.223C140.709 150.672 145.019 152.408 148.229 155.505L159.011 165.915C161.618 168.432 163.232 171.849 163.23 175.451C163.23 176.618 163.352 177.813 163.618 179.033C165.091 185.803 170.803 191.108 177.742 192.072C189.21 193.669 198.878 183.93 196.941 172.548C195.754 165.564 190.002 159.979 182.922 158.891C179.556 158.373 176.349 158.838 173.532 160.036C169.448 161.774 164.718 160.996 161.535 157.925L155.877 152.463C151.275 148.021 148.679 141.932 148.679 135.57V109.814C148.679 105.246 150.543 100.874 153.849 97.6841L168.55 83.4913C170.923 81.2016 174.242 79.9906 177.516 80.5156C179.436 80.8266 181.469 80.8133 183.56 80.4052C190.482 79.053 195.959 73.4214 196.997 66.5257C198.561 56.1139 190.442 47.1689 180.21 47.1667C179.248 47.1667 178.268 47.2461 177.275 47.4116Z",fill:"url(#paint0_linear_274_267)"}),jsx("path",{d:"M103.397 45.7482C103.397 54.6755 110.718 61.9087 119.749 61.9087C128.779 61.9087 136.102 54.6755 136.102 45.7482C136.102 36.8231 128.779 29.5878 119.749 29.5878C110.718 29.5878 103.397 36.8231 103.397 45.7482Z",fill:"url(#paint1_linear_274_267)"}),jsx("path",{d:"M182.139 121.83C182.139 130.757 189.46 137.992 198.492 137.992C207.523 137.992 214.844 130.757 214.844 121.83C214.844 112.907 207.523 105.669 198.492 105.669C189.46 105.669 182.139 112.907 182.139 121.83Z",fill:"url(#paint2_linear_274_267)"}),jsx("path",{d:"M29.6851 121.83C29.6851 130.757 37.0081 137.992 46.0386 137.992C55.0713 137.992 62.3899 130.757 62.3899 121.83C62.3899 112.907 55.0713 105.669 46.0386 105.669C37.0081 105.669 29.6851 112.907 29.6851 121.83Z",fill:"url(#paint3_linear_274_267)"}),jsx("path",{d:"M108.111 199.557C108.111 208.484 115.434 215.717 124.465 215.717C133.495 215.717 140.816 208.484 140.816 199.557C140.816 190.632 133.495 183.394 124.465 183.394C115.434 183.394 108.111 190.632 108.111 199.557Z",fill:"url(#paint4_linear_274_267)"}),jsx("path",{d:"M0 82.7946C0 88.1527 4.39243 92.4917 9.81385 92.4917C15.2308 92.4917 19.6233 88.1527 19.6233 82.7946C19.6233 77.4408 15.2308 73.0997 9.81385 73.0997C4.39243 73.0997 0 77.4408 0 82.7946Z",fill:"url(#paint5_linear_274_267)"}),jsx("path",{d:"M69.436 9.69554C69.436 15.0537 73.8285 19.3949 79.2455 19.3949C84.6646 19.3949 89.0572 15.0537 89.0572 9.69554C89.0572 4.34182 84.6646 0.00063324 79.2455 0.00063324C73.8285 0.00063324 69.436 4.34182 69.436 9.69554Z",fill:"url(#paint6_linear_274_267)"}),jsx("path",{d:"M147.925 13.4258C147.925 18.7817 152.318 23.1229 157.737 23.1229C163.156 23.1229 167.546 18.7817 167.546 13.4258C167.546 8.06987 163.156 3.73082 157.737 3.73082C152.318 3.73082 147.925 8.06987 147.925 13.4258Z",fill:"url(#paint7_linear_274_267)"}),jsx("path",{d:"M218.868 77.573C218.868 82.9311 223.263 87.2701 228.68 87.2701C234.099 87.2701 238.491 82.9311 238.491 77.573C238.491 72.2193 234.099 67.8781 228.68 67.8781C223.263 67.8781 218.868 72.2193 218.868 77.573Z",fill:"url(#paint8_linear_274_267)"}),jsx("path",{d:"M220.377 167.827C220.377 173.186 224.771 177.527 230.191 177.527C235.608 177.527 240 173.186 240 167.827C240 162.474 235.608 158.132 230.191 158.132C224.771 158.132 220.377 162.474 220.377 167.827Z",fill:"url(#paint9_linear_274_267)"}),jsx("path",{d:"M157.572 230.303C157.572 235.662 161.964 240.001 167.381 240.001C172.803 240.001 177.195 235.662 177.195 230.303C177.195 224.95 172.803 220.609 167.381 220.609C161.964 220.609 157.572 224.95 157.572 230.303Z",fill:"url(#paint10_linear_274_267)"}),jsx("path",{d:"M72.4824 227.224C72.4824 232.577 76.8749 236.919 82.2941 236.919C87.7133 236.919 92.1058 232.577 92.1058 227.224C92.1058 221.866 87.7133 217.524 82.2941 217.524C76.8749 217.524 72.4824 221.866 72.4824 227.224Z",fill:"url(#paint11_linear_274_267)"}),jsx("path",{d:"M1.03809 158.016C1.03809 163.372 5.4328 167.713 10.8498 167.713C16.2689 167.713 20.6614 163.372 20.6614 158.016C20.6614 152.66 16.2689 148.319 10.8498 148.319C5.4328 148.319 1.03809 152.66 1.03809 158.016Z",fill:"url(#paint12_linear_274_267)"}),jsxs("defs",{children:[jsxs("linearGradient",{id:"paint0_linear_274_267",x1:"193.292",y1:"244.13",x2:"42.0723",y2:"-16.8798",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint1_linear_274_267",x1:"226.13",y1:"225.104",x2:"74.9111",y2:"-35.9056",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint2_linear_274_267",x1:"251.149",y1:"210.609",x2:"99.9296",y2:"-50.4001",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint3_linear_274_267",x1:"137.686",y1:"276.345",x2:"-13.5333",y2:"15.3364",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint4_linear_274_267",x1:"161.743",y1:"262.408",x2:"10.5239",y2:"1.39782",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint5_linear_274_267",x1:"127.956",y1:"281.982",x2:"-23.2625",y2:"20.974",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint6_linear_274_267",x1:"211.901",y1:"233.349",x2:"60.6821",y2:"-27.6609",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint7_linear_274_267",x1:"268.671",y1:"200.457",x2:"117.452",y2:"-60.5502",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint8_linear_274_267",x1:"293.154",y1:"186.274",x2:"141.934",y2:"-74.7358",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint9_linear_274_267",x1:"254.435",y1:"208.706",x2:"103.217",y2:"-52.3023",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint10_linear_274_267",x1:"180.113",y1:"251.766",x2:"28.8945",y2:"-9.24282",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint11_linear_274_267",x1:"118.146",y1:"287.667",x2:"-33.0734",y2:"26.6565",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]}),jsxs("linearGradient",{id:"paint12_linear_274_267",x1:"95.5238",y1:"300.773",x2:"-55.6949",y2:"39.7648",gradientUnits:"userSpaceOnUse",children:[jsx("stop",{"stop-color":"#00E2EC"}),jsx("stop",{offset:"0.466746","stop-color":"#0073FF"}),jsx("stop",{offset:"0.780609","stop-color":"#AE66FF"}),jsx("stop",{offset:"0.990512","stop-color":"#A670FF"}),jsx("stop",{offset:"1","stop-color":"#A670FF"})]})]})]}),oe=wt;var Mt=a=>{let{explorerUrl:i,nftId:r}=a,[t,o]=useState(false),l=()=>o(n=>!n);return jsxs(Fragment,{children:[jsxs(a$7,{className:"bg-black/80 p-0",toggleModal:l,isOpen:t,children:[jsxs("div",{className:"flex flex-col w-full justify-center items-center",children:[jsx(oe,{className:"w-[150px] h-[150px]"}),jsxs("div",{className:"w-full border-b-[1px] border-neutral-8 text-white p-4 text-center font-semibold",children:["\u0110\xE3 \u0111\u01B0\u1EE3c \u0111\u1ECBnh danh tr\xEAn NDAChain ",jsx("br",{})," N\u1EC1n t\u1EA3ng Chu\u1ED7i kh\u1ED1i Qu\u1ED1c gia"]})]}),jsx("div",{className:"flex w-full flex-col gap-[10px] p-[12px]",children:jsxs("div",{className:"text- flex items-center justify-between",children:[jsx("p",{className:"text-xs font-medium text-neutral-6",children:"M\xE3 \u0111\u1ECBnh danh Phi t\u1EADp trung DID"}),jsx("a",{href:i,target:"_blank",className:"text-sm font-semibold text-white underline",children:r})]})})]}),jsxs("div",{className:"flex gap-1 flex-shrink-0 items-center text-black text-[10px] tracking-tighter rounded-full p-1 px-2 bg-white",onClick:l,children:[jsx(oe,{className:"w-5 h-5"}),jsx("p",{className:"font-medium text-xs uppercase",children:"\u0110\u1ECBnh danh"})]})]})},ke=Mt;var kt=a$5=>{let {sectionData:i,id:r,configTheme:t,hardCodeOption:o,nft:l$1,collection:n,didInfo:p}=a$5,c=o?.isTongla,C=o?.isHPT,x=o?.isSouvenir,s=o?.isUnesco;o?.ownerNameExtraInfo;let v=p?.DID,g$1=v?.split(":"),h=g$1?.[g$1.length-1],E=`${process.env.NEXT_PUBLIC_NDA_EXPLORER_URL}/address/${h}`,{isInViewport:Ae}=f(r),{tags:Ue={},name:Ee={},media:De={},config:re={},background:Le={},meta_info:ie={},author_modal:Pe={},nft_info:Oe={},buy_order_label:le={},nft_id:Ve={},index:He={},total:Ge={},author_context:Ze={},owner_name:Re={}}={...i},je=()=>{let{value:Y}=De,{url:D="",thumbnail_url:ze="",type:We=""}={...Y};switch(We){case "3D":return c?jsx(Ne,{isHidden:!Ae,asset3DUrl:D,showArButton:re?.show_ar_button||false}):jsx(a$4,{isHidden:false,asset3DUrl:D,showArButton:re?.show_ar_button||false});case "image":return jsx(ImageNomion,{src:D,alt:"Media",className:twMerge("m-auto h-4/5 w-auto object-contain",x&&"aspect-[1/1.41] object-fill")});case "video":return jsx(a$3,{videoUrl:D,thumbnailUrl:ze,loop:true,autoPlay:true,muted:true})}},{explorerUrl:$e}=te(n?.chain_id,n?.address,l$1?.token_id),se=!!n?.address&&!!l$1?.token_id;return jsx(Fragment,{children:jsx(g,{name:r,showScrollGuide:true,children:jsxs("div",{className:"relative m-auto h-full flex flex-col items-center",children:[jsx(a,{field:Le}),jsxs("div",{className:"relative flex h-[calc(100%-200px)] item flex-col w-full justify-center pt-[50px]",children:[je(),!c&&jsx(B,{field:ie,configTheme:t}),c&&jsx("div",{className:"flex justify-center items-center",children:jsxs("div",{className:"rounded border border-neutral-6 px-2 text-sm",children:[He?.value||1,jsxs("span",{className:"text-neutral-6",children:["/",Ge?.value||1]})]})})]}),jsxs("div",{className:"z-10 flex w-full flex-col justify-between gap-2 p-3",children:[l(le?.value)&&jsx(a$1,{delay:.5,duration:.5,children:jsx("div",{className:"flex w-full gap-2 px-2",children:le.value.map((Y,D)=>jsx(we,{children:Y},D))})}),jsx(a$2,{field:Ee,configTheme:t}),jsxs("div",{className:"flex gap-2 overflow-x-auto",children:[se&&jsx(he,{field:Oe,configTheme:t,...te(n?.chain_id,n?.address,l$1?.token_id),nftId:l$1?.token_id,collectionName:n?.name}),v&&jsx(ke,{field:p,configTheme:t,explorerUrl:E,nftId:h?.slice(0,6)+"..."+h?.slice(-4)}),jsx(b,{className:"flex-nowrap",field:Ue,configTheme:{...t,primary_color:s?"#BFBFBF":t?.primary_color}})]}),jsx(Z,{field:Pe,hardCodeOption:{isHPT:C},configTheme:t,walletAddress:h,explorerUrl:E}),jsx(Ie,{field:Re}),jsx(Me,{field:Ze,configTheme:t}),se&&!!Ve.value&&jsx("div",{className:"flex w-full justify-start gap-2 text-[14px] font-light text-neutral-6",children:jsxs("a",{href:$e,className:"text-sm font-semibold underline",target:"_blank",children:["\u0110\u1ECBnh danh: ",Se(n.address)]})}),c&&jsx(B,{field:ie,isAbsolute:!c})]})]})})})},Bt=kt;var Et=a$1=>{let{sectionData:i,id:r,configTheme:t}=a$1,{tags:o={},name:l={},media:n={},config:p={},background:c={},meta_info:C={},author_modal:x={},list_button:s={},publish_time:d={}}={...i};return jsx(Fragment,{children:jsx(g,{name:r,showScrollGuide:true,children:jsxs("div",{className:"relative m-auto h-full flex flex-col items-center",children:[jsx(a,{field:c}),jsxs("div",{className:"relative flex h-[calc(100%-250px)] w-full justify-center pt-[50px]",children:[(()=>{let{value:g}=n,{url:h="",thumbnail_url:M="",type:E=""}={...g};switch(E){case "3D":return jsx(a$4,{isHidden:false,asset3DUrl:h,showArButton:p?.show_ar_button||false});case "image":return jsx(ImageNomion,{src:h,alt:"Media",className:"m-auto h-4/5 w-auto object-contain"});case "video":return jsx(a$3,{videoUrl:h,thumbnailUrl:M,loop:true,autoPlay:true,muted:true})}})(),jsx(B,{field:C})]}),jsxs("div",{className:"z-10 flex w-full flex-col justify-between gap-2 p-3",children:[jsx(a$2,{field:l,configTheme:t}),jsx(b,{field:o,configTheme:t}),jsx(Z,{field:x}),jsx(a$5,{variant:"span",className:"font-thin",children:d?.value}),jsx(a$6,{field:s,configTheme:t})]})]})})})},Dt=Et;var Vt="https://storage.googleapis.com/assets-fygito/nomion/sourvenir/bao-nhan-dan/ND-ma%CC%A3%CC%86c-%C4%91i%CC%A3nh.webp",Ht=a=>{let{src:i,...r}=a,[t,o]=useState(i);return useEffect(()=>{o(i);},[i]),jsx("img",{src:t,onError:()=>o(Vt),...r})},Be=Ht;var Rt=a$1=>{let{sectionData:i,id:r,configTheme:t}=a$1,{tags:o={},name:l={},media:n={},config:p={},background:c={},meta_info:C={},author_modal:x={},release_date:s={}}={...i};console.log(s);let d=()=>{let{value:g}=n,{url:h="",thumbnail_url:M="",type:E=""}={...g};switch(E){case "3D":return jsx(a$4,{isHidden:false,asset3DUrl:h,showArButton:p?.show_ar_button||false});case "image":return jsx(Be,{style:{boxShadow:"8.5px 8.074px 20.099px 0px rgba(32, 32, 30, 0.50)"},src:h,alt:"Media",className:"m-auto h-4/5 w-auto aspect-[1/1.41] object-fill"});case "video":return jsx(a$3,{videoUrl:h,thumbnailUrl:M,loop:true,autoPlay:true,muted:true})}};console.log("releaseDate?",s);let v=g=>g?Zt(new Date(g)).format("DD-MM-YYYY"):"";return jsx(Fragment,{children:jsx(g,{name:r,showScrollGuide:true,children:jsxs("div",{className:"relative m-auto h-full flex flex-col items-center",children:[jsx(a,{field:c}),jsxs("div",{className:"relative flex h-[calc(100%-200px)] w-full justify-center pt-[50px]",children:[d(),jsx(B,{field:C})]}),jsxs("div",{className:"z-10 flex w-full flex-col justify-between gap-2 p-3",children:[jsx(a$2,{field:l,configTheme:t}),jsx(b,{field:o,configTheme:t}),jsxs("div",{className:"flex gap-1.5",children:[jsx(a$5,{variant:"span",className:"font-thin",children:"Xu\u1EA5t b\u1EA3n ng\xE0y"}),jsx(a$5,{variant:"span",className:"font-semibold underline",children:v(s?.value)})]}),jsx(Z,{field:x})]})]})})})},jt=Rt;
|
|
2
|
+
export{Bt as a,Dt as b,jt as c};//# sourceMappingURL=chunk-B4TC2AT3.js.map
|
|
3
|
+
//# sourceMappingURL=chunk-B4TC2AT3.js.map
|