PageSourceSearch

https://thefreakcircus.my/_next/static/chunks/e06f7e52ae9162c8.js?dpl=dpl_885M2CjPuGFd6maW89Zn3vGAQXVY

js thefreakcircus.my collected 2026-10-04 12:17:22 UTC 168,204 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,686247,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(526683);function n(e){let n,a,s,l,o=(0,r.c)(8);return o[0]!==e?({className:n,...a}=e,o[0]=e,o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]!==n?(s=(0,i.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",n),o[3]=n,o[4]=s):s=o[4],o[5]!==a||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card",className:s,...a}),o[5]=a,o[6]=s,o[7]=l):l=o[7],l}function a(e){let n,a,s,l,o=(0,r.c)(8);return o[0]!==e?({className:n,...a}=e,o[0]=e,o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]!==n?(s=(0,i.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",n),o[3]=n,o[4]=s):s=o[4],o[5]!==a||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-header",className:s,...a}),o[5]=a,o[6]=s,o[7]=l):l=o[7],l}function s(e){let n,a,s,l,o=(0,r.c)(8);return o[0]!==e?({className:n,...a}=e,o[0]=e,o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]!==n?(s=(0,i.cn)("leading-none font-semibold",n),o[3]=n,o[4]=s):s=o[4],o[5]!==a||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-title",className:s,...a}),o[5]=a,o[6]=s,o[7]=l):l=o[7],l}function l(e){let n,a,s,l,o=(0,r.c)(8);return o[0]!==e?({className:n,...a}=e,o[0]=e,o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]!==n?(s=(0,i.cn)("text-muted-foreground text-sm",n),o[3]=n,o[4]=s):s=o[4],o[5]!==a||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-description",className:s,...a}),o[5]=a,o[6]=s,o[7]=l):l=o[7],l}function o(e){let n,a,s,l,o=(0,r.c)(8);return o[0]!==e?({className:n,...a}=e,o[0]=e,o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]!==n?(s=(0,i.cn)("col-start-2 row-span-2 row-start-1 self-start justify-self-end",n),o[3]=n,o[4]=s):s=o[4],o[5]!==a||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-action",className:s,...a}),o[5]=a,o[6]=s,o[7]=l):l=o[7],l}function u(e){let n,a,s,l,o=(0,r.c)(8);return o[0]!==e?({className:n,...a}=e,o[0]=e,o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]!==n?(s=(0,i.cn)("px-6",n),o[3]=n,o[4]=s):s=o[4],o[5]!==a||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-content",className:s,...a}),o[5]=a,o[6]=s,o[7]=l):l=o[7],l}function c(e){let n,a,s,l,o=(0,r.c)(8);return o[0]!==e?({className:n,...a}=e,o[0]=e,o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]!==n?(s=(0,i.cn)("flex items-center px-6 [.border-t]:pt-6",n),o[3]=n,o[4]=s):s=o[4],o[5]!==a||o[6]!==s?(l=(0,t.jsx)("div",{"data-slot":"card-footer",className:s,...a}),o[5]=a,o[6]=s,o[7]=l):l=o[7],l}e.s(["Card",()=>n,"CardAction",()=>o,"CardContent",()=>u,"CardDescription",()=>l,"CardFooter",()=>c,"CardHeader",()=>a,"CardTitle",()=>s])},594751,e=>{"use strict";e.i(119635);var t=e.i(927646);e.s(["default",()=>t.Link])},370910,e=>{"use strict";e.i(910416);var t=e.i(440053);e.s(["FrameworkProvider",()=>t.FrameworkProvider,"Image",()=>t.Image,"Link",()=>t.Link,"createContext",()=>t.createContext,"useParams",()=>t.useParams,"usePathname",()=>t.usePathname,"useRouter",()=>t.useRouter])},815762,e=>{"use strict";var t=e.i(927646);e.s(["default",()=>t.Link])},728675,e=>{"use strict";let t=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u
10F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,r=Object.hasOwnProperty;class i{constructor(){this.occurrences,this.reset()}slug(e,i){var n,a;let s=(n=e,a=!0===i,"string"!=typeof n?"":(a||(n=n.toLowerCase()),n.replace(t,"").replace(/ /g,"-"))),l=s;for(;r.call(this.occurrences,s);)this.occurrences[l]++,s=l+"-"+this.occurrences[l];return this.occurrences[s]=0,s}reset(){this.occurrences=Object.create(null)}}e.s(["default",()=>i],728675)},715684,e=>{"use strict";var t=e.i(884702),r=e.i(6140),i=e.i(466471),n=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=t.forwardRef((e,t)=>
1(0,i.jsx)(r.Primitive.span,{...e,ref:t,style:{...n,...e.style}}));a.displayName="VisuallyHidden",e.s(["Root",()=>a,"VISUALLY_HIDDEN_STYLES",()=>n])},850260,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),n=e.i(199978),a=e.i(856270),s=e.i(526683);let l=i.forwardRef(({className:e,children:r,...i},n)=>(0,t.jsxs)(a.Root,{ref:n,className:(0,s.cn)("relative overflow-hidden",e),...i,children:[(0,t.jsx)(a.Viewport,{className:"h-full w-full rounded-[inherit]",children:r}),(0,t.jsx)(o,{}),(0,t.jsx)(a.Corner,{})]}));l.displayName=a.Root.displayName;let o=i.forwardRef(({className:e,orientation:r="vertical",...i},n)=>(0,t.jsx)(a.ScrollAreaScrollbar,{ref:n,orientation:r,className:(0,s.cn)("flex touch-none select-none transition-colors","vertical"===r&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===r&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...i,children:(0,t.jsx)(a.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));o.displayName=a.ScrollAreaScrollbar.displayName;var u=e.i(330771);function c(e){let a,c,h,f,p,x,g,v,b,D,w=(0,r.c)(22),{tabs:F,size:y}=e,j=(0,n.useRouter)();w[0]!==F?(a=F?.find(m)?.name||"",w[0]=F,w[1]=a):a=w[1];let[C,N]=(0,i.useState)(a);w[2]===Symbol.for("react.memo_cache_sentinel")?(c={},w[2]=c):c=w[2],(0,i.useState)(c),w[3]!==j||w[4]!==C||w[5]!==F?(h=()=>{if(C){let e=F?.find(e=>e.name===C)||{};e.url&&j.push(e.url)}},w[3]=j,w[4]=C,w[5]=F,w[6]=h):h=w[6],w[7]!==C?(f=[C],w[7]=C,w[8]=f):f=w[8],(0,i.useEffect)(h,f);let E="sm"===y&&"h-8";return w[9]!==E?(p=(0,s.cn)(E),w[9]=E,w[10]=p):p=w[10],w[11]!==F?(x=F.map(d),w[11]=F,w[12]=x):x=w[12],w[13]!==p||w[14]!==x?(g=(0,t.jsx)(u.TabsList,{className:p,children:x}),w[13]=p,w[14]=x,w[15]=g):g=w[15],w[16]!==g||w[17]!==C?(v=(0,t.jsx)("div",{className:"flex items-center space-x-2",children:(0,t.jsx)(u.Tabs,{value:C,onValueChange:N,children:g})}),w[16]=g,w[17]=C,w[18]=v):v=w[18],w[19]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)(o,{orientation:"horizontal",className:"invisible"}),w[19]=b):b=w[19],w[20]!==v?(D=(0,t.jsx)("div",{className:"relative mb-8",children:(0,t.jsxs)(l,{className:"w-full lg:max-w-none",children:[v,b]})}),w[20]=v,w[21]=D):D=w[21],D}function d(e,r){return(0,t.jsx)(u.TabsTrigger,{value:e.name||"",children:e.title},r)}function m(e){return e.is_active}e.s(["Tabs",()=>c],850260)},330771,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(411960),n=e.i(526683);let a=i.Root,s=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(i.List,{ref:a,className:(0,n.cn)("border inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...r}));s.displayName=i.List.displayName;let l=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(i.Trigger,{ref:a,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-lg px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...r}));l.displayName=i.Trigger.displayName,r.forwardRef(({className:e,...r},a)=>(0,t.jsx)(i.Content,{ref:a,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...r})).displayName=i.Content.displayName,e.s(["Tabs",()=>a,"TabsList",()=>s,"TabsTrigger",()=>l])},856270,e=>{"use strict";var t=e.i(884702),r=e.i(6140),i=e.i(775827),n=e.i(352162),a=e.i(188625),s=e.i(935125),l=e.i(950074),o=e.i(385064),u=e.i(527069),c=e.i(291967),d=e.i(466471),m="ScrollArea",[h,f]=(0,n.createContextScope)(m),[p,x]=h(m),g=t.forwardRef((e,i)=>{let{__scopeScrollArea:n,type:s="hover",dir:o,scrollHideDelay:u=600,...c}=e,[m,h]=t.useState(null),[f,x]=t.useState(null),[g,v]=t.useState(null),[b,D]=t.useState(null),[w,F]=t.useState(null),[y,j]=t.useState(0),[C,N]=t.useState(0),[E,_]=t.useState(!1),[A,k]=t.useState(!1),S=(0,a.useComposedRefs)(i,e=>h(e)),B=(0,l.useDirection)(o);return(0,d.jsx)(p,{scope:n,type:s,dir:B,scrollHideDelay:u,scrollArea:m,viewport:f,onViewportChange:x,content:g,onContentChange:v,scrollbarX:b,onScrollbarXChange:D,scrollbarXEnabled:E,onScrollbarXEnabledChange:_,scrollbarY:w,onScrollbarYChange:F,scrollbarYEnabled:A,onScrollbarYEnabledChange:k,onCornerWidthChange:j,onCornerHeight
1Change:N,children:(0,d.jsx)(r.Primitive.div,{dir:B,...c,ref:S,style:{position:"relative","--radix-scroll-area-corner-width":y+"px","--radix-scroll-area-corner-height":C+"px",...e.style}})})});g.displayName=m;var v="ScrollAreaViewport",b=t.forwardRef((e,i)=>{let{__scopeScrollArea:n,children:s,nonce:l,...o}=e,u=x(v,n),c=t.useRef(null),m=(0,a.useComposedRefs)(i,c,u.onViewportChange);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,d.jsx)(r.Primitive.div,{"data-radix-scroll-area-viewport":"",...o,ref:m,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,d.jsx)("div",{ref:u.onContentChange,style:{minWidth:"100%",display:"table"},children:s})})]})});b.displayName=v;var D="ScrollAreaScrollbar",w=t.forwardRef((e,r)=>{let{forceMount:i,...n}=e,a=x(D,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:l}=a,o="horizontal"===e.orientation;return t.useEffect(()=>(o?s(!0):l(!0),()=>{o?s(!1):l(!1)}),[o,s,l]),"hover"===a.type?(0,d.jsx)(F,{...n,ref:r,forceMount:i}):"scroll"===a.type?(0,d.jsx)(y,{...n,ref:r,forceMount:i}):"auto"===a.type?(0,d.jsx)(j,{...n,ref:r,forceMount:i}):"always"===a.type?(0,d.jsx)(C,{...n,ref:r}):null});w.displayName=D;var F=t.forwardRef((e,r)=>{let{forceMount:n,...a}=e,s=x(D,e.__scopeScrollArea),[l,o]=t.useState(!1);return t.useEffect(()=>{let e=s.scrollArea,t=0;if(e){let r=()=>{window.clearTimeout(t),o(!0)},i=()=>{t=window.setTimeout(()=>o(!1),s.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",i),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",i)}}},[s.scrollArea,s.scrollHideDelay]),(0,d.jsx)(i.Presence,{present:n||l,children:(0,d.jsx)(j,{"data-state":l?"visible":"hidden",...a,ref:r})})}),y=t.forwardRef((e,r)=>{var n;let{forceMount:a,...s}=e,l=x(D,e.__scopeScrollArea),o="horizontal"===e.orientation,u=$(()=>h("SCROLL_END"),100),[m,h]=(n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},t.useReducer((e,t)=>n[e][t]??e,"hidden"));return t.useEffect(()=>{if("idle"===m){let e=window.setTimeout(()=>h("HIDE"),l.scrollHideDelay);return()=>window.clearTimeout(e)}},[m,l.scrollHideDelay,h]),t.useEffect(()=>{let e=l.viewport,t=o?"scrollLeft":"scrollTop";if(e){let r=e[t],i=()=>{let i=e[t];r!==i&&(h("SCROLL"),u()),r=i};return e.addEventListener("scroll",i),()=>e.removeEventListener("scroll",i)}},[l.viewport,o,h,u]),(0,d.jsx)(i.Presence,{present:a||"hidden"!==m,children:(0,d.jsx)(C,{"data-state":"hidden"===m?"hidden":"visible",...s,ref:r,onPointerEnter:(0,c.composeEventHandlers)(e.onPointerEnter,()=>h("POINTER_ENTER")),onPointerLeave:(0,c.composeEventHandlers)(e.onPointerLeave,()=>h("POINTER_LEAVE"))})})}),j=t.forwardRef((e,r)=>{let n=x(D,e.__scopeScrollArea),{forceMount:a,...s}=e,[l,o]=t.useState(!1),u="horizontal"===e.orientation,c=$(()=>{if(n.viewport){let e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;o(u?e:t)}},10);return V(n.viewport,c),V(n.content,c),(0,d.jsx)(i.Presence,{present:a||l,children:(0,d.jsx)(C,{"data-state":l?"visible":"hidden",...s,ref:r})})}),C=t.forwardRef((e,r)=>{let{orientation:i="vertical",...n}=e,a=x(D,e.__scopeScrollArea),s=t.useRef(null),l=t.useRef(0),[o,u]=t.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=I(o.viewport,o.content),m={...n,sizes:o,onSizesChange:u,hasThumb:!!(c>0&&c<1),onThumbChange:e=>s.current=e,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:e=>l.current=e};function h(e,t){return function(e,t,r,i="ltr"){let n=M(r),a=t||n/2,s=r.scrollbar.paddingStart+a,l=r.scrollbar.size-r.scrollbar.paddingEnd-(n-a),o=r.content-r.viewport;return O([s,l],"ltr"===i?[0,o]:[-1*o,0])(e)}(e,l.current,o,t)}return"horizontal"===i?(0,d.jsx)(N,{...m,ref:r,onThumbPositionChange:()=>{if(a.viewport&&s.current){let e=H(a.viewport.scrollLeft,o,a.dir);s.current.style.transform=`translate3d(${e}px, 0, 0)`}}
1,onWheelScroll:e=>{a.viewport&&(a.viewport.scrollLeft=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollLeft=h(e,a.dir))}}):"vertical"===i?(0,d.jsx)(E,{...m,ref:r,onThumbPositionChange:()=>{if(a.viewport&&s.current){let e=H(a.viewport.scrollTop,o);s.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{a.viewport&&(a.viewport.scrollTop=e)},onDragScroll:e=>{a.viewport&&(a.viewport.scrollTop=h(e))}}):null}),N=t.forwardRef((e,r)=>{let{sizes:i,onSizesChange:n,...s}=e,l=x(D,e.__scopeScrollArea),[o,u]=t.useState(),c=t.useRef(null),m=(0,a.useComposedRefs)(r,c,l.onScrollbarXChange);return t.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,d.jsx)(k,{"data-orientation":"horizontal",...s,ref:m,sizes:i,style:{bottom:0,left:"rtl"===l.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===l.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":M(i)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(l.viewport){var i,n;let a=l.viewport.scrollLeft+t.deltaX;e.onWheelScroll(a),i=a,n=r,i>0&&i<n&&t.preventDefault()}},onResize:()=>{c.current&&l.viewport&&o&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:z(o.paddingLeft),paddingEnd:z(o.paddingRight)}})}})}),E=t.forwardRef((e,r)=>{let{sizes:i,onSizesChange:n,...s}=e,l=x(D,e.__scopeScrollArea),[o,u]=t.useState(),c=t.useRef(null),m=(0,a.useComposedRefs)(r,c,l.onScrollbarYChange);return t.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),(0,d.jsx)(k,{"data-orientation":"vertical",...s,ref:m,sizes:i,style:{top:0,right:"ltr"===l.dir?0:void 0,left:"rtl"===l.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":M(i)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(l.viewport){var i,n;let a=l.viewport.scrollTop+t.deltaY;e.onWheelScroll(a),i=a,n=r,i>0&&i<n&&t.preventDefault()}},onResize:()=>{c.current&&l.viewport&&o&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:z(o.paddingTop),paddingEnd:z(o.paddingBottom)}})}})}),[_,A]=h(D),k=t.forwardRef((e,i)=>{let{__scopeScrollArea:n,sizes:l,hasThumb:o,onThumbChange:u,onThumbPointerUp:m,onThumbPointerDown:h,onThumbPositionChange:f,onDragScroll:p,onWheelScroll:g,onResize:v,...b}=e,w=x(D,n),[F,y]=t.useState(null),j=(0,a.useComposedRefs)(i,e=>y(e)),C=t.useRef(null),N=t.useRef(""),E=w.viewport,A=l.content-l.viewport,k=(0,s.useCallbackRef)(g),S=(0,s.useCallbackRef)(f),B=$(v,10);function R(e){C.current&&p({x:e.clientX-C.current.left,y:e.clientY-C.current.top})}return t.useEffect(()=>{let e=e=>{let t=e.target;F?.contains(t)&&k(e,A)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[E,F,A,k]),t.useEffect(S,[l,S]),V(F,B),V(w.content,B),(0,d.jsx)(_,{scope:n,scrollbar:F,hasThumb:o,onThumbChange:(0,s.useCallbackRef)(u),onThumbPointerUp:(0,s.useCallbackRef)(m),onThumbPositionChange:S,onThumbPointerDown:(0,s.useCallbackRef)(h),children:(0,d.jsx)(r.Primitive.div,{...b,ref:j,style:{position:"absolute",...b.style},onPointerDown:(0,c.composeEventHandlers)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),C.current=F.getBoundingClientRect(),N.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",w.viewport&&(w.viewport.style.scrollBehavior="auto"),R(e))}),onPointerMove:(0,c.composeEventHandlers)(e.onPointerMove,R),onPointerUp:(0,c.composeEventHandlers)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=N.current,w.viewport&&(w.viewport.style.scrollBehavior=""),C.current=null})})})}),S="ScrollAreaThumb",B=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=A(S,e.__scopeScrollArea);return(0,d.jsx)(i.Presence,{present:r||a.hasThumb,children:(0,d.jsx)(R,{ref:t,...n})})}),R=t.forwardRef((e,i)=>{let{__scopeScrollArea:n,style:s,...l}=e,o=x(S,n),u=A(S,n),{onThumbPositionChange:m}=u,h=(0,a.useComposedRefs)(i,e=>u.onThumbChange(e)),f=t.useRef(void 0),p=$(()=>{f.current&&(f.current(),f.current=void 0)},100);return t.useEffect(()=>{let e=o.viewport;if(e){let t=()=>{p(),f.current||(f.current=W(e,m),m())};return m(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[o.viewport,p,m]),(0,d.jsx)(r.Primitive.div,{"data-state":u.hasThumb?"visible":"hidden",...l,ref:h,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...s},onPointerDownCapture:(0,c.composeEventHandlers)(e.onPointerDownCapture,e=>{let t=e.target.getBoundingClientRect(),r=e.clientX-t.left,i=e.clientY-t.top;u.onThumbPointerDown({x:r,y:i})}),onPointerUp:(0,c.composeEventHandlers)(e.onPointerUp,u.onThumbPointerUp)})});B.displayName=S;var L="ScrollAreaCorner",T=t.forwardRef((e,t)=>
1{let r=x(L,e.__scopeScrollArea),i=!!(r.scrollbarX&&r.scrollbarY);return"scroll"!==r.type&&i?(0,d.jsx)(P,{...e,ref:t}):null});T.displayName=L;var P=t.forwardRef((e,i)=>{let{__scopeScrollArea:n,...a}=e,s=x(L,n),[l,o]=t.useState(0),[u,c]=t.useState(0),m=!!(l&&u);return V(s.scrollbarX,()=>{let e=s.scrollbarX?.offsetHeight||0;s.onCornerHeightChange(e),c(e)}),V(s.scrollbarY,()=>{let e=s.scrollbarY?.offsetWidth||0;s.onCornerWidthChange(e),o(e)}),m?(0,d.jsx)(r.Primitive.div,{...a,ref:i,style:{width:l,height:u,position:"absolute",right:"ltr"===s.dir?0:void 0,left:"rtl"===s.dir?0:void 0,bottom:0,...e.style}}):null});function z(e){return e?parseInt(e,10):0}function I(e,t){let r=e/t;return isNaN(r)?0:r}function M(e){let t=I(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-r)*t,18)}function H(e,t,r="ltr"){let i=M(t),n=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-n,s=t.content-t.viewport,l=(0,u.clamp)(e,"ltr"===r?[0,s]:[-1*s,0]);return O([0,s],[0,a-i])(l)}function O(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let i=(t[1]-t[0])/(e[1]-e[0]);return t[0]+i*(r-e[0])}}var W=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},i=0;return!function n(){let a={left:e.scrollLeft,top:e.scrollTop},s=r.left!==a.left,l=r.top!==a.top;(s||l)&&t(),r=a,i=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(i)};function $(e,r){let i=(0,s.useCallbackRef)(e),n=t.useRef(0);return t.useEffect(()=>()=>window.clearTimeout(n.current),[]),t.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(i,r)},[i,r])}function V(e,t){let r=(0,s.useCallbackRef)(t);(0,o.useLayoutEffect)(()=>{let t=0;if(e){let i=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return i.observe(e),()=>{window.cancelAnimationFrame(t),i.unobserve(e)}}},[e,r])}e.s(["Corner",()=>T,"Root",()=>g,"ScrollAreaScrollbar",()=>w,"ScrollAreaThumb",()=>B,"Scrollbar",()=>w,"Viewport",()=>b])},615978,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(819232),n=e.i(294237),a=e.i(526683);let s=(0,n.cva)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function l(e){let n,l,o,u,c,d,m=(0,r.c)(12);m[0]!==e?({className:n,variant:u,asChild:o,...l}=e,m[0]=e,m[1]=n,m[2]=l,m[3]=o,m[4]=u):(n=m[1],l=m[2],o=m[3],u=m[4]);let h=void 0!==o&&o?i.Slot:"span";return m[5]!==n||m[6]!==u?(c=(0,a.cn)(s({variant:u}),n),m[5]=n,m[6]=u,m[7]=c):c=m[7],m[8]!==h||m[9]!==l||m[10]!==c?(d=(0,t.jsx)(h,{"data-slot":"badge",className:c,...l}),m[8]=h,m[9]=l,m[10]=c,m[11]=d):d=m[11],d}e.s(["Badge",()=>l])},225578,e=>{"use strict";function t(e,t,r){if(e instanceof EventTarget)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let n=r?.[e]??i.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e)}e.s(["resolveElements",()=>t])},819023,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),n=e.i(98160);e.i(90985);var a=e.i(670983),s=e.i(535505);function l(e){let l,o,u,c,d,m,h,f,p,x,g,v,b,D,w,F=(0,r.c)(38),{children:y,className:j,delay:C,direction:N,stagger:E}=e,_=void 0===j?"":j,A=void 0===C?0:C,k=void 0===N?"up":N,[S,B]=(0,i.useState)(!1);F[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{B(!0)}
1,o=[],F[0]=l,F[1]=o):(l=F[0],o=F[1]),(0,i.useEffect)(l,o);let R=function(){s.hasReducedMotionListener.current||(0,a.initPrefersReducedMotion)();let[e]=(0,i.useState)(s.prefersReducedMotion.current);return e}();if(S&&R){let e;return F[2]!==y||F[3]!==_?(e=(0,t.jsx)("div",{className:_,children:y}),F[2]=y,F[3]=_,F[4]=e):e=F[4],e}F[5]!==k?(u=()=>{switch(k){case"up":default:return{y:30,x:0};case"down":return{y:-30,x:0};case"left":return{x:30,y:0};case"right":return{x:-30,y:0}}},F[5]=k,F[6]=u):u=F[6];let L=u;F[7]===Symbol.for("react.memo_cache_sentinel")?(c={opacity:0},F[7]=c):c=F[7],F[8]!==A?(d={hidden:c,visible:{opacity:1,transition:{staggerChildren:.1,delayChildren:A}}},F[8]=A,F[9]=d):d=F[9];let T=d;F[10]!==L?(m={opacity:0,...L(),filter:"blur(4px)"},F[10]=L,F[11]=m):m=F[11],F[12]===Symbol.for("react.memo_cache_sentinel")?(h=[.22,1,.36,1],F[12]=h):h=F[12],F[13]===Symbol.for("react.memo_cache_sentinel")?(f={opacity:1,x:0,y:0,filter:"blur(0px)",transition:{duration:.6,ease:h}},F[13]=f):f=F[13],F[14]!==m?(p={hidden:m,visible:f},F[14]=m,F[15]=p):p=F[15];let P=p;if(void 0!==E&&E){let e,r,a;if(F[16]===Symbol.for("react.memo_cache_sentinel")?(e={once:!0,margin:"-50px"},F[16]=e):e=F[16],F[17]!==y||F[18]!==P){let e;F[20]!==P?(e=e=>(0,t.jsx)(n.motion.div,{variants:P,children:e}),F[20]=P,F[21]=e):e=F[21],r=i.default.Children.map(y,e),F[17]=y,F[18]=P,F[19]=r}else r=F[19];return F[22]!==_||F[23]!==T||F[24]!==r?(a=(0,t.jsx)(n.motion.div,{variants:T,initial:"hidden",whileInView:"visible",viewport:e,className:_,children:r}),F[22]=_,F[23]=T,F[24]=r,F[25]=a):a=F[25],a}return F[26]!==L?(x={opacity:0,...L(),filter:"blur(4px)"},F[26]=L,F[27]=x):x=F[27],F[28]===Symbol.for("react.memo_cache_sentinel")?(g={opacity:1,x:0,y:0,filter:"blur(0px)"},v={once:!0,margin:"-50px"},F[28]=g,F[29]=v):(g=F[28],v=F[29]),F[30]===Symbol.for("react.memo_cache_sentinel")?(b=[.22,1,.36,1],F[30]=b):b=F[30],F[31]!==A?(D={duration:.6,delay:A,ease:b},F[31]=A,F[32]=D):D=F[32],F[33]!==y||F[34]!==_||F[35]!==x||F[36]!==D?(w=(0,t.jsx)(n.motion.div,{initial:x,whileInView:g,viewport:v,transition:D,className:_,children:y}),F[33]=y,F[34]=_,F[35]=x,F[36]=D,F[37]=w):w=F[37],w}e.s(["ScrollAnimation",()=>l],819023)},943592,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),n=e.i(225578);let a={some:0,all:1},s="http://www.w3.org/2000/svg";class l{constructor(e){this.seed=e}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}function o(e,t,r,i,n){return{type:"path",ops:f(e,t,r,i,n)}}function u(e,t,r){let i=(e||[]).length;if(i>2){let n=[];for(let t=0;t<i-1;t++)n.push(...f(e[t][0],e[t][1],e[t+1][0],e[t+1][1],r));return t&&n.push(...f(e[i-1][0],e[i-1][1],e[0][0],e[0][1],r)),{type:"path",ops:n}}return 2===i?o(e[0][0],e[0][1],e[1][0],e[1][1],r):{type:"path",ops:[]}}function c(e,t,r,i,n){let a,s,l,o,u;return function(e,t,r,i){let[n,a]=g(i.increment,e,t,i.rx,i.ry,1,i.increment*m(.1,m(.4,1,r),r),r),s=x(n,null,r);if(!r.disableMultiStroke){let[n]=g(i.increment,e,t,i.rx,i.ry,1.5,0,r),a=x(n,null,r);s=s.concat(a)}return{estimatedPoints:a,opset:{type:"path",ops:s}}}(e,t,n,(a=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(r/2,2)+Math.pow(i/2,2))/2)),s=2*Math.PI/Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*a),l=Math.abs(r/2),o=Math.abs(i/2),u=1-n.curveFitting,l+=h(l*u,n),o+=h(o*u,n),{increment:s,rx:l,ry:o})).opset}function d(e){return e.randomizer||(e.randomizer=new l(e.seed||0)),e.randomizer.next()}function m(e,t,r,i=1){return r.roughness*i*(d(r)*(t-e)+e)}function h(e,t,r=1){return m(-e,e,t,r)}function f(e,t,r,i,n,a=!1){let s=a?n.disableMultiStrokeFill:n.disableMultiStroke,l=p(e,t,r,i,n,!0,!1);if(s)return l;let o=p(e,t,r,i,n,!0,!0);return l.concat(o)}function p(e,t,r,i,n,a,s){let l=Math.pow(e-r,2)+Math.pow(t-i,2),o=Math.sqrt(l),u=1;u=o<200?1:o>500?.4:-.0016668*o+1.233334;let c=n.maxRandomnessOffset||0;c*c*100>l&&(c=o/10);let m=c/2,f=.2+.2*d(n),p=n.bowing*n.maxRandomnessOffset*(i-t)/200,x=n.bowing*n.maxRandomnessOffset*(e-r)/200;p=h(p,n,u),x=h(x,n,u);let g=[];return a&&(s?g.push({op:"move",data:[e+h(m,n,u),t+h(m,n,u)]}):g.push({op:"move",data:[e+h(c,n,u),t+h(c,n,u)]})),s?g.push({op:"bcurveTo",data:[p+e+(r-e)*f+h(m,n,u),x+t+(i-t)*f+h(m,n,u),p+e+2*(r-e)*f+h(m,n,u),x+t+2*(i-t)*f+h(m,n,u),r+h(m,n,u),i+h(m,n,u)]}):g.push({op:"bcurveTo",data:[p+e+(r-e)*f+h(c,n,u),x+t+(i-t)*f+h(c,n,u),p+e+2*(r-e)*f+h(c,n,u),x+t+2*(i-t)*f+h(c,n,u),r+h(c,n,u),i+h(c,n,u)]}),g}function x(e,t,r){let i=e.length,n=[];if(i>3){let a=[],s=1-r.curveTightness;n.push({op:"move",data:[e[1][0],e[1][1]]});for(let t=1;t+2<i;t++){let r=e[t];a[0]=[r[0],r[1]],a[1]=[r[0]+(s*e[t+1][0]-s*e[t-1][0])/6,r[1]+(s*e[t+1][1]-s*e[t-1][1])/6],a[2]=[e[t+1][0]+(s*e[t][0]-s*e[t+2][0])/6,e[t+1
1][1]+(s*e[t][1]-s*e[t+2][1])/6],a[3]=[e[t+1][0],e[t+1][1]],n.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(t&&2===t.length){let e=r.maxRandomnessOffset;n.push({op:"lineTo",data:[t[0]+h(e,r),t[1]+h(e,r)]})}}else 3===i?(n.push({op:"move",data:[e[1][0],e[1][1]]}),n.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):2===i&&n.push(...f(e[0][0],e[0][1],e[1][0],e[1][1],r));return n}function g(e,t,r,i,n,a,s,l){let o=[],u=[],c=h(.5,l)-Math.PI/2;u.push([h(a,l)+t+.9*i*Math.cos(c-e),h(a,l)+r+.9*n*Math.sin(c-e)]);for(let s=c;s<2*Math.PI+c-.01;s+=e){let e=[h(a,l)+t+i*Math.cos(s),h(a,l)+r+n*Math.sin(s)];o.push(e),u.push(e)}return u.push([h(a,l)+t+i*Math.cos(c+2*Math.PI+.5*s),h(a,l)+r+n*Math.sin(c+2*Math.PI+.5*s)]),u.push([h(a,l)+t+.98*i*Math.cos(c+s),h(a,l)+r+.98*n*Math.sin(c+s)]),u.push([h(a,l)+t+.9*i*Math.cos(c+.5*s),h(a,l)+r+.9*n*Math.sin(c+.5*s)]),[u,o]}function v(e,t){return{maxRandomnessOffset:2,roughness:"highlight"===e?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,combineNestedSvgPaths:!1,disableMultiStroke:"double"!==e,disableMultiStrokeFill:!1,seed:t}}class b{constructor(e,t){this._state="unattached",this._resizing=!1,this._seed=Math.floor(0x80000000*Math.random()),this._lastSizes=[],this._animationDelay=0,this._resizeListener=()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=e,this._config=JSON.parse(JSON.stringify(t)),this.attach()}get animate(){return this._config.animate}set animate(e){this._config.animate=e}get animationDuration(){return this._config.animationDuration}set animationDuration(e){this._config.animationDuration=e}get iterations(){return this._config.iterations}set iterations(e){this._config.iterations=e}get color(){return this._config.color}set color(e){this._config.color!==e&&(this._config.color=e,this.refresh())}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(e){this._config.strokeWidth!==e&&(this._config.strokeWidth=e,this.refresh())}get padding(){return this._config.padding}set padding(e){this._config.padding!==e&&(this._config.padding=e,this.refresh())}attach(){if("unattached"===this._state&&this._e.parentElement){if(!window.__rno_kf_s){let e=window.__rno_kf_s=document.createElement("style");e.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; } }",document.head.appendChild(e)}let e=this._svg=document.createElementNS(s,"svg");e.setAttribute("class","rough-annotation");let t=e.style;t.position="absolute",t.top="0",t.left="0",t.overflow="visible",t.pointerEvents="none",t.width="100px",t.height="100px";let r="highlight"===this._config.type;if(this._e.insertAdjacentElement(r?"beforebegin":"afterend",e),this._state="not-showing",r){let e=window.getComputedStyle(this._e).position;e&&"static"!==e||(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(e=>{for(let t of e)t.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){let e=this.rects();if(e.length!==this._lastSizes.length)return!0;for(let t=0;t<e.length;t++)if(!this.isSameRect(e[t],this._lastSizes[t]))return!0}return!1}isSameRect(e,t){let r=(e,t)=>Math.round(e)===Math.round(t);return r(e.x,t.x)&&r(e.y,t.y)&&r(e.w,t.w)&&r(e.h,t.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}}
1hide(){if(this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(e,t){let r=this._config;t&&((r=JSON.parse(JSON.stringify(this._config))).animate=!1);let i=this.rects(),n=0;i.forEach(e=>n+=e.w);let a=r.animationDuration||800,l=0;for(let t=0;t<i.length;t++){let d=a*(i[t].w/n);(function(e,t,r,i,n,a){let l=[],d=r.strokeWidth||2,m=function(e){let t=e.padding;if(t||0===t){if("number"==typeof t)return[t,t,t,t];if(Array.isArray(t)&&t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}return[5,5,5,5]}(r),h=void 0===r.animate||!!r.animate,f=r.iterations||2,p=+!!r.rtl,x=v("single",a);switch(r.type){case"underline":{let e=t.y+t.h+m[2];for(let r=p;r<f+p;r++)r%2?l.push(o(t.x+t.w,e,t.x,e,x)):l.push(o(t.x,e,t.x+t.w,e,x));break}case"strike-through":{let e=t.y+t.h/2;for(let r=p;r<f+p;r++)r%2?l.push(o(t.x+t.w,e,t.x,e,x)):l.push(o(t.x,e,t.x+t.w,e,x));break}case"box":{let e=t.x-m[3],r=t.y-m[0],i=t.w+(m[1]+m[3]),n=t.h+(m[0]+m[2]);for(let t=0;t<f;t++){var g,b,D,w;l.push(u([[g=e,b=r],[g+(D=i),b],[g+D,b+(w=n)],[g,b+w]],!0,x))}break}case"bracket":{let e=Array.isArray(r.brackets)?r.brackets:r.brackets?[r.brackets]:["right"],i=t.x-2*m[3],n=t.x+t.w+2*m[1],a=t.y-2*m[0],s=t.y+t.h+2*m[2];for(let r of e){let e;switch(r){case"bottom":e=[[i,t.y+t.h],[i,s],[n,s],[n,t.y+t.h]];break;case"top":e=[[i,t.y],[i,a],[n,a],[n,t.y]];break;case"left":e=[[t.x,a],[i,a],[i,s],[t.x,s]];break;case"right":e=[[t.x+t.w,a],[n,a],[n,s],[t.x+t.w,s]]}e&&l.push(u(e,!1,x))}break}case"crossed-off":{let e=t.x,r=t.y,i=e+t.w,n=r+t.h;for(let t=p;t<f+p;t++)t%2?l.push(o(i,n,e,r,x)):l.push(o(e,r,i,n,x));for(let t=p;t<f+p;t++)t%2?l.push(o(e,n,i,r,x)):l.push(o(i,r,e,n,x));break}case"circle":{let e=v("double",a),r=t.w+(m[1]+m[3]),i=t.h+(m[0]+m[2]),n=t.x-m[3]+r/2,s=t.y-m[0]+i/2,o=Math.floor(f/2),u=f-2*o;for(let t=0;t<o;t++)l.push(c(n,s,r,i,e));for(let e=0;e<u;e++)l.push(c(n,s,r,i,x));break}case"highlight":{let e=v("highlight",a);d=.95*t.h;let r=t.y+t.h/2;for(let i=p;i<f+p;i++)i%2?l.push(o(t.x+t.w,r,t.x,r,e)):l.push(o(t.x,r,t.x+t.w,r,e))}}if(l.length){let t=function(e){let t=[];for(let r of e){let e="";for(let i of r.ops){let r=i.data;switch(i.op){case"move":e.trim()&&t.push(e.trim()),e=`M${r[0]} ${r[1]} `;break;case"bcurveTo":e+=`C${r[0]} ${r[1]}, ${r[2]} ${r[3]}, ${r[4]} ${r[5]} `;break;case"lineTo":e+=`L${r[0]} ${r[1]} `}}e.trim()&&t.push(e.trim())}return t}(l),a=[],o=[],u=0,c=(e,t,r)=>e.setAttribute(t,r);for(let i of t){let t=document.createElementNS(s,"path");if(c(t,"d",i),c(t,"fill","none"),c(t,"stroke",r.color||"currentColor"),c(t,"stroke-width",""+d),h){let e=t.getTotalLength();a.push(e),u+=e}e.appendChild(t),o.push(t)}if(h){let e=0;for(let t=0;t<o.length;t++){let r=o[t],s=a[t],l=u?s/u*n:0,c=i+e,d=r.style;d.strokeDashoffset=""+s,d.strokeDasharray=""+s,d.animation=`rough-notation-dash ${l}ms ease-out ${c}ms forwards`,e+=l}}}})(e,i[t],r,l+this._animationDelay,d,this._seed),l+=d}this._lastSizes=i,this._state="showing"}rects(){let e=[];
1if(this._svg)if(this._config.multiline){let t=this._e.getClientRects();for(let r=0;r<t.length;r++)e.push(this.svgRect(this._svg,t[r]))}else e.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return e}svgRect(e,t){let r=e.getBoundingClientRect();return{x:(t.x||t.left)-(r.x||r.left),y:(t.y||t.top)-(r.y||r.top),w:t.width,h:t.height}}}function D(e){let s,l,o,u,c=(0,r.c)(13),{children:d,action:m,color:h,strokeWidth:f,animationDuration:p,iterations:x,padding:g,multiline:v,isView:D}=e,w=void 0===m?"highlight":m,F=void 0===h?"#ffd1dc":h,y=void 0===f?1.5:f,j=void 0===p?600:p,C=void 0===x?2:x,N=void 0===g?2:g,E=void 0===v||v,_=(0,i.useRef)(null),A=(0,i.useRef)(null);c[0]===Symbol.for("react.memo_cache_sentinel")?(s={once:!0,margin:"-10%"},c[0]=s):s=c[0];let k=function(e,{root:t,margin:r,amount:s,once:l=!1,initial:o=!1}={}){let[u,c]=(0,i.useState)(o);return(0,i.useEffect)(()=>{if(!e.current||l&&u)return;let i={root:t&&t.current||void 0,margin:r,amount:s};return function(e,t,{root:r,margin:i,amount:s="some"}={}){let l=(0,n.resolveElements)(e),o=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let r=o.get(e.target);if(!!r!==e.isIntersecting)if(e.isIntersecting){let r=t(e.target,e);"function"==typeof r?o.set(e.target,r):u.unobserve(e.target)}else"function"==typeof r&&(r(e),o.delete(e.target))})},{root:r,rootMargin:i,threshold:"number"==typeof s?s:a[s]});return l.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(c(!0),l?void 0:()=>c(!1)),i)},[t,e,r,l,s]),u}(_,s),S=!(void 0!==D&&D)||k;return c[1]!==w||c[2]!==j||c[3]!==F||c[4]!==C||c[5]!==E||c[6]!==N||c[7]!==S||c[8]!==y?(l=()=>{if(!S)return;let e=_.current;if(!e)return;let t=new b(e,{type:w,color:F,strokeWidth:y,animationDuration:j,iterations:C,padding:N,multiline:E});A.current=t,t.show();let r=new ResizeObserver(()=>{A.current?.hide(),A.current?.show()});return r.observe(e),r.observe(document.body),()=>{A.current?.remove(),A.current=null,r.disconnect()}},o=[S,w,F,y,j,C,N,E],c[1]=w,c[2]=j,c[3]=F,c[4]=C,c[5]=E,c[6]=N,c[7]=S,c[8]=y,c[9]=l,c[10]=o):(l=c[9],o=c[10]),(0,i.useEffect)(l,o),c[11]!==d?(u=(0,t.jsx)("span",{ref:_,className:"relative inline-block bg-transparent",children:d}),c[11]=d,c[12]=u):u=c[12],u}e.s(["Highlighter",()=>D],943592)},389366,e=>{"use strict";var t=e.i(466471),r=e.i(536355);e.i(741820);var i=e.i(24963),n=e.i(819023),a=e.i(526683);function s(e){let i,s,o,u,c,d,m=(0,r.c)(16),{section:h,className:f}=e,p=h.id;return m[0]!==f||m[1]!==h.className?(i=(0,a.cn)("py-16 md:py-24",h.className,f),m[0]=f,m[1]=h.className,m[2]=i):i=m[2],m[3]!==h.title?(s=(0,t.jsx)(n.ScrollAnimation,{children:(0,t.jsx)("p",{className:"text-md text-center font-medium",children:h.title})}),m[3]=h.title,m[4]=s):s=m[4],m[5]!==h.items?(o=h.items?.map(l),m[5]=h.items,m[6]=o):o=m[6],m[7]!==o?(u=(0,t.jsx)(n.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"mx-auto mt-12 flex max-w-4xl flex-wrap items-center justify-center gap-x-12 gap-y-8 sm:gap-x-16 sm:gap-y-12",children:o})}),m[7]=o,m[8]=u):u=m[8],m[9]!==s||m[10]!==u?(c=(0,t.jsxs)("div",{className:"mx-auto max-w-5xl px-6",children:[s,u]}),m[9]=s,m[10]=u,m[11]=c):c=m[11],m[12]!==h.id||m[13]!==i||m[14]!==c?(d=(0,t.jsx)("section",{id:p,className:i,children:c}),m[12]=h.id,m[13]=i,m[14]=c,m[15]=d):d=m[15],d}function l(e,r){return(0,t.jsx)(i.LazyImage,{className:"h-8 w-fit dark:invert",src:e.image?.src??"",alt:e.image?.alt??""},r)}e.s(["Logos",()=>s])},435624,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(819023);function n(e){let n,s,l,o,u,c,d,m=(0,r.c)(18),{section:h,className:f}=e,p=`py-12 md:py-24 ${h.className} ${f}`;return m[0]!==h.title?(n=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:h.title}),m[0]=h.title,m[1]=n):n=m[1],m[2]!==h.description?(s=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:h.description}),m[2]=h.description,m[3]=s):s=m[3],m[4]!==n||m[5]!==s?(l=(0,t.jsx)(i.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"relative z-10 mx-auto max-w-xl space-y-6 text-center",children:[n,s]})}),m[4]=n,m[5]=s,m[6]=l):l=m[6],m[7]!==h.items?(o=h.items?.map(a),m[7]=h.items,m[8]=o):o=m[8],m[9]!==o?(u=(0,t.jsx)(i.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"grid gap-12 divide-y *:text-center md:grid-cols-3 md:gap-2 md:divide-x md:divide-y-0",children:o})}),m[9]=o,m[10]=u):u=m[10],m[11]!==l||m[12]!==u?(c=(0,t.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[l,u]}),m[11]=l,m[12]=u,m[13]=c):c=m[13],m[14]!==h.id||m[15]!==p||m[16]!==c?(d=(0,t.jsx)("section",{id:h.id,className:p,children:c}),m[14]=h.id,m[15]=p,m[16]=c,m[17]=d):d=m[17],d}function a(e,r){return(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("h3",{className:"sr-only",children:[e.title," ",e.description]}),(0,t.jsx)("div",{className:"text-primary text-5xl font-bold",children:e.title}),(0,t.jsx)("p",{children:e.description})]},r)}e.s(["Stats",()=>n])},944560,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978),n=e.i(331597),a=e.i(511398),s=e.i(819023),l=e.i(526683);function o(e){let i,n,a,o,c,d,m,h=(0,r.c)(19),{section:f,className:p}=e,x=f.id;h[0]!==p||h[1]!==f.className?(i=(0,l.cn)("py-16 md:py-24",f.className,p),h[0]=p,h[1]=f.className,h[2]=i):i=h[2],h[3]!==f.title?(n=(0,t.jsx)(s.ScrollAnimation,{children:(0,t.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:f.title})}
1),h[3]=f.title,h[4]=n):n=h[4];let g=f.description??"";return h[5]!==g?(a=(0,t.jsx)(s.ScrollAnimation,{delay:.15,children:(0,t.jsx)("p",{className:"mt-4",dangerouslySetInnerHTML:{__html:g}})}),h[5]=g,h[6]=a):a=h[6],h[7]!==f.buttons?(o=f.buttons?.map(u),h[7]=f.buttons,h[8]=o):o=h[8],h[9]!==o?(c=(0,t.jsx)(s.ScrollAnimation,{delay:.3,children:(0,t.jsx)("div",{className:"mt-12 flex flex-wrap justify-center gap-4",children:o})}),h[9]=o,h[10]=c):c=h[10],h[11]!==n||h[12]!==a||h[13]!==c?(d=(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"text-center",children:[n,a,c]})}),h[11]=n,h[12]=a,h[13]=c,h[14]=d):d=h[14],h[15]!==f.id||h[16]!==i||h[17]!==d?(m=(0,t.jsx)("section",{id:x,className:i,children:d}),h[15]=f.id,h[16]=i,h[17]=d,h[18]=m):m=h[18],m}function u(e,r){return(0,t.jsx)(a.Button,{asChild:!0,size:e.size||"default",variant:e.variant||"default",children:(0,t.jsxs)(i.Link,{href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,t.jsx)(n.SmartIcon,{name:e.icon}),(0,t.jsx)("span",{children:e.title})]})},r)}e.s(["Cta",()=>o])},693287,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(331597),n=e.i(819023),a=e.i(526683);function s(e){let i,s,o,u,c,d,m,h,f=(0,r.c)(21),{section:p,className:x}=e,g=p.id;return f[0]!==x||f[1]!==p.className?(i=(0,a.cn)("py-16 md:py-24",p.className,x),f[0]=x,f[1]=p.className,f[2]=i):i=f[2],f[3]!==p.title?(s=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:p.title}),f[3]=p.title,f[4]=s):s=f[4],f[5]!==p.description?(o=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:p.description}),f[5]=p.description,f[6]=o):o=f[6],f[7]!==s||f[8]!==o?(u=(0,t.jsx)(n.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[s,o]})}),f[7]=s,f[8]=o,f[9]=u):u=f[9],f[10]!==p.items?(c=p.items?.map(l),f[10]=p.items,f[11]=c):c=f[11],f[12]!==c?(d=(0,t.jsx)(n.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"relative mx-auto grid divide-x divide-y border *:p-12 sm:grid-cols-2 lg:grid-cols-3",children:c})}),f[12]=c,f[13]=d):d=f[13],f[14]!==u||f[15]!==d?(m=(0,t.jsxs)("div",{className:"container space-y-8 md:space-y-16",children:[u,d]}),f[14]=u,f[15]=d,f[16]=m):m=f[16],f[17]!==p.id||f[18]!==i||f[19]!==m?(h=(0,t.jsx)("section",{id:g,className:i,children:m}),f[17]=p.id,f[18]=i,f[19]=m,f[20]=h):h=f[20],h}function l(e,r){return(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.SmartIcon,{name:e.icon,size:24}),(0,t.jsx)("h3",{className:"text-sm font-medium",children:e.title})]}),(0,t.jsx)("p",{className:"text-sm",children:e.description})]},r)}e.s(["Features",()=>s])},140880,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(184499),n=e.i(819023);function a(e){let a,l,o,u,c,d,m,h,f,p=(0,r.c)(23),{section:x,className:g}=e,v=`py-16 md:py-24 ${g}`;p[0]!==x.title?(a=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:x.title}),p[0]=x.title,p[1]=a):a=p[1],p[2]!==x.description?(l=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:x.description}),p[2]=x.description,p[3]=l):l=p[3],p[4]!==a||p[5]!==l?(o=(0,t.jsx)(n.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[a,l]})}),p[4]=a,p[5]=l,p[6]=o):o=p[6],p[7]!==x.items?(u=x.items?.map(s),p[7]=x.items,p[8]=u):u=p[8],p[9]!==u?(c=(0,t.jsx)(i.Accordion,{type:"single",collapsible:!0,className:"bg-muted dark:bg-muted/50 w-full rounded-2xl p-1",suppressHydrationWarning:!0,children:u}),p[9]=u,p[10]=c):c=p[10];let b=x.tip||"";return p[11]!==b?(d=(0,t.jsx)("p",{className:"text-muted-foreground mt-6 px-8",dangerouslySetInnerHTML:{__html:b}}),p[11]=b,p[12]=d):d=p[12],p[13]!==c||p[14]!==d?(m=(0,t.jsx)(n.ScrollAnimation,{delay:.2,children:(0,t.jsxs)("div",{className:"mx-auto mt-12 max-w-full",children:[c,d]})}),p[13]=c,p[14]=d,p[15]=m):m=p[15],p[16]!==o||p[17]!==m?(h=(0,t.jsxs)("div",{className:"mx-auto max-w-full px-4 md:max-w-3xl md:px-8",children:[o,m]}),p[16]=o,p[17]=m,p[18]=h):h=p[18],p[19]!==x.id||p[20]!==v||p[21]!==h?(f=(0,t.jsx)("section",{id:x.id,className:v,children:h}),p[19]=x.id,p[20]=v,p[21]=h,p[22]=f):f=p[22],f}function s(e,r){return(0,t.jsxs)("div",{className:"group",children:[(0,t.jsxs)(i.AccordionItem,{value:e.question||e.title||"",className:"data-[state=open]:bg-card dark:data-[state=open]:bg-muted peer rounded-xl border-none px-7 py-1 data-[state=open]:border-none data-[state=open]:shadow-sm",children:[(0,t.jsx)(i.AccordionTrigger,{className:"cursor-pointer text-base hover:no-underline",children:e.question||e.title||""}),(0,t.jsx)(i.AccordionContent,{children:(0,t.jsx)("p",{className:"text-base",children:e.answer||e.description||""})})]}),(0,t.jsx)("hr",{className:"mx-7 border-dashed group-last:hidden peer-data-[state=open]:opacity-0"})]},r)}e.s(["Faq",()=>a])},32943,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(98160);e.i(741820);var n=e.i(24963),a=e.i(526683);function s(e){let n,s,o,u,c,d,m,h,f,p=(0,r.c)(22),{section:x}=e;if(!x.items||0===x.items.length)return null;let g=x.id||x.name;return p[0]!==x.className?(n=(0,a.cn)("py-16 md:py-24",x.className),p[0]=x.className,p[1]=n):n=p[1],p[2]===Symbol.for("react.memo_cache_sentinel")?(s={initial:{opacity:0,y:20,filter:"blur(6px)"}
1,animate:{opacity:1,y:0,filter:"blur(0px)"},transition:{duration:.6,delay:0,ease:[.22,1,.36,1]}},p[2]=s):s=p[2],p[3]!==x.sr_only_title?(o=x.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:x.sr_only_title}),p[3]=x.sr_only_title,p[4]=o):o=p[4],p[5]!==x.title?(u=(0,t.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:x.title}),p[5]=x.title,p[6]=u):u=p[6],p[7]!==x.description?(c=(0,t.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:x.description}),p[7]=x.description,p[8]=c):c=p[8],p[9]!==o||p[10]!==u||p[11]!==c?(d=(0,t.jsxs)(i.motion.div,{className:"container mb-12 text-center",...s,children:[o,u,c]}),p[9]=o,p[10]=u,p[11]=c,p[12]=d):d=p[12],p[13]!==x.items?(m=x.items.map(l),p[13]=x.items,p[14]=m):m=p[14],p[15]!==m?(h=(0,t.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:m}),p[15]=m,p[16]=h):h=p[16],p[17]!==g||p[18]!==n||p[19]!==d||p[20]!==h?(f=(0,t.jsxs)("section",{id:g,className:n,children:[d,h]}),p[17]=g,p[18]=n,p[19]=d,p[20]=h,p[21]=f):f=p[21],f}function l(e,r){let s="right"===e.image_position;return(0,t.jsxs)(i.motion.div,{className:(0,a.cn)("grid items-center gap-6 py-16 sm:grid-cols-2 md:gap-12 lg:gap-24",s&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1"),initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6,delay:.15*r,ease:[.22,1,.36,1]},children:[(0,t.jsx)(i.motion.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.15*r+.2,ease:[.22,1,.36,1]},children:(0,t.jsx)(n.LazyImage,{src:e.image?.src??"",className:"rounded-2xl",alt:e.image?.alt??""})}),(0,t.jsxs)(i.motion.div,{className:"relative space-y-4",initial:{opacity:0,x:s?-20:20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.5,delay:.15*r+.3,ease:[.22,1,.36,1]},children:[(0,t.jsx)("h3",{className:"text-xl font-medium md:text-2xl lg:text-2xl",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground",children:e.description})]})]},r)}e.s(["FeaturesFlow",()=>s])},609639,e=>{"use strict";var t=e.i(466471),r=e.i(536355);e.i(741820);var i=e.i(24963),n=e.i(819023);function a(e){let i,a,l,o,u,c,d,m=(0,r.c)(18),{section:h,className:f}=e,p=`py-16 md:py-24 ${h.className} ${f}`;return m[0]!==h.title?(i=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:h.title}),m[0]=h.title,m[1]=i):i=m[1],m[2]!==h.description?(a=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:h.description}),m[2]=h.description,m[3]=a):a=m[3],m[4]!==i||m[5]!==a?(l=(0,t.jsx)(n.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center text-balance",children:[i,a]})}),m[4]=i,m[5]=a,m[6]=l):l=m[6],m[7]!==h.items?(o=h.items?.map((e,r)=>(0,t.jsx)(s,{item:e},r)),m[7]=h.items,m[8]=o):o=m[8],m[9]!==o?(u=(0,t.jsx)(n.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"border-border/50 relative rounded-(--radius)",children:(0,t.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3 lg:gap-px lg:*:nth-1:rounded-t-none lg:*:nth-2:rounded-tl-none lg:*:nth-2:rounded-br-none lg:*:nth-3:rounded-l-none lg:*:nth-4:rounded-r-none lg:*:nth-5:rounded-tl-none lg:*:nth-5:rounded-br-none lg:*:nth-6:rounded-b-none",children:o})})}),m[9]=o,m[10]=u):u=m[10],m[11]!==l||m[12]!==u?(c=(0,t.jsxs)("div",{className:"container",children:[l,u]}),m[11]=l,m[12]=u,m[13]=c):c=m[13],m[14]!==h.id||m[15]!==p||m[16]!==c?(d=(0,t.jsx)("section",{id:h.id,className:p,children:c}),m[14]=h.id,m[15]=p,m[16]=c,m[17]=d):d=m[17],d}function s(e){let{item:r}=e;return(0,t.jsxs)("div",{className:"bg-card/25 ring-foreground/[0.07] flex flex-col justify-end gap-6 rounded-(--radius) border border-transparent p-8 ring-1",children:[(0,t.jsx)("p",{className:'text-foreground self-end text-balance before:mr-1 before:content-["\\201C"] after:ml-1 after:content-["\\201D"]',children:r.quote||r.description}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"ring-foreground
1/10 aspect-square size-9 overflow-hidden rounded-lg border border-transparent shadow-md ring-1 shadow-black/15",children:(0,t.jsx)(i.LazyImage,{src:r.image?.src||r.avatar?.src||"",alt:r.image?.alt||r.avatar?.alt||r.name||"",className:"h-full w-full object-cover"})}),(0,t.jsxs)("h3",{className:"sr-only",children:[r.name,", ",r.role||r.title]}),(0,t.jsxs)("div",{className:"space-y-px",children:[(0,t.jsxs)("p",{className:"text-sm font-medium",children:[r.name," "]}),(0,t.jsx)("p",{className:"text-muted-foreground text-xs",children:r.role||r.title})]})]})]})}e.s(["Testimonials",()=>a])},79112,e=>{"use strict";let t=(0,e.i(889522).default)("arrow-big-right",[["path",{d:"M11 9a1 1 0 0 0 1-1V5.061a1 1 0 0 1 1.811-.75l6.836 6.836a1.207 1.207 0 0 1 0 1.707l-6.836 6.835a1 1 0 0 1-1.811-.75V16a1 1 0 0 0-1-1H5a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1z",key:"1232du"}]]);e.s(["default",()=>t])},137114,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(79112),i=i;e.i(741820);var n=e.i(331597),a=e.i(819023),s=e.i(526683);function l(e){let l,o,u,c,d,m,h,f,p,x=(0,r.c)(24),{section:g,className:v}=e,b=g.id;return x[0]!==v||x[1]!==g.className?(l=(0,s.cn)("py-16 md:py-24",g.className,v),x[0]=v,x[1]=g.className,x[2]=l):l=x[2],x[3]!==g.label?(o=(0,t.jsx)("span",{className:"text-primary",children:g.label}),x[3]=g.label,x[4]=o):o=x[4],x[5]!==g.title?(u=(0,t.jsx)("h2",{className:"text-foreground mt-4 text-4xl font-semibold",children:g.title}),x[5]=g.title,x[6]=u):u=x[6],x[7]!==g.description?(c=(0,t.jsx)("p",{className:"text-muted-foreground mt-4 text-lg text-balance",children:g.description}),x[7]=g.description,x[8]=c):c=x[8],x[9]!==o||x[10]!==u||x[11]!==c?(d=(0,t.jsx)(a.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl text-center",children:[o,u,c]})}),x[9]=o,x[10]=u,x[11]=c,x[12]=d):d=x[12],x[13]!==g.items?(m=g.items?.map((e,r)=>(0,t.jsx)("div",{className:"space-y-6",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("span",{className:"mx-auto flex size-6 items-center justify-center rounded-full bg-zinc-500/15 text-sm font-medium",children:r+1}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"mx-auto my-6 w-fit",children:e.icon&&(0,t.jsx)(n.SmartIcon,{name:e.icon,size:24})}),r<(g.items?.length??0)-1&&(0,t.jsx)(i.default,{className:"fill-muted stroke-primary absolute inset-y-0 right-0 my-auto mt-1 hidden translate-x-[150%] drop-shadow @3xl:block"})]}),(0,t.jsx)("h3",{className:"text-foreground mb-4 text-lg font-semibold",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground text-balance",children:e.description})]})},r)),x[13]=g.items,x[14]=m):m=x[14],x[15]!==m?(h=(0,t.jsx)(a.ScrollAnimation,{delay:.2,children:(0,t.jsx)("div",{className:"mt-20 grid gap-12 @3xl:grid-cols-4",children:m})}),x[15]=m,x[16]=h):h=x[16],x[17]!==d||x[18]!==h?(f=(0,t.jsx)("div",{className:"m-4 rounded-[2rem]",children:(0,t.jsxs)("div",{className:"@container relative container",children:[d,h]})}),x[17]=d,x[18]=h,x[19]=f):f=x[19],x[20]!==g.id||x[21]!==l||x[22]!==f?(p=(0,t.jsx)("section",{id:b,className:l,children:f}),x[20]=g.id,x[21]=l,x[22]=f,x[23]=p):p=x[23],p}e.s(["FeaturesStep",()=>l],137114)},692604,117550,e=>{"use strict";var t=e.i(889522);let r=(0,t.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["default",()=>r],692604);let i=(0,t.default)("send-horizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]]);e.s(["default",()=>i],117550)},471061,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(462297),n=e.i(692604),n=n,a=e.i(117550),a=a,s=e.i(779342),l=e.i(511398),o=e.i(819023),u=e.i(526683);function c({section:e,className:c}){let[d,m]=(0,r.useState)(""),[h,f]=(0,r.useState)(!1),p=async()=>{if(d&&e.submit?.action)try{f(!0);let t=await fetch(e.submit.action,{method:"POST",body:JSON.stringify({email:d})});if(!t.ok)throw Error(`request failed with status ${t.status}`);let{code:r,message:i,data:n}=await t.json();if(0!==r)throw Error(i);f(!1),i&&s.toast.success(i)}catch(e){f(!1),s.toast.error(e.message||"subscribe failed")}};return(0,t.jsx)("section",{id:e.id,className:(0,u.cn)("py-16 md:py-24",e.className,c),children:(0,t.jsx)("div",{className:"mx-auto max-w-5xl px-6",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)(o.ScrollAnimation,{children:(0,t.jsx)("h2",{className:"text-4xl font-semibold text-balance lg:text-5xl",children:e.title})}),(0,t.jsx)(o.ScrollAnimation,{delay:.15,children:(0,t.jsx)("p",{className:"mt-4",children:e.description})}),(0,t.jsx)(o.ScrollAnimation,{delay:.3,children:(0,t.jsx)("div",{className:"mx-auto mt-10 max-w-xl overflow-hidden lg:mt-12",children:(0,t.jsxs)("div",{className:"bg-background has-[input
1:focus]:ring-muted relative grid grid-cols-[1fr_auto] items-center overflow-hidden rounded-[calc(var(--radius)+0.75rem)] border pr-3 shadow shadow-zinc-950/5 has-[input:focus]:ring-2",children:[(0,t.jsx)(n.default,{className:"text-caption pointer-events-none absolute inset-y-0 left-5 my-auto size-5"}),(0,t.jsx)("input",{placeholder:e.submit?.input?.placeholder||"Enter your email",className:"h-14 w-full bg-transparent pl-12 focus:outline-none",type:"email",required:!0,"aria-required":"true","aria-invalid":!d,"aria-describedby":"email-error",value:d,onChange:e=>m(e.target.value)}),e.submit?.button&&(0,t.jsx)("div",{className:"md:pr-1.5 lg:pr-0",children:(0,t.jsxs)(l.Button,{"aria-label":"submit",className:"rounded-(--radius)",onClick:p,disabled:h,type:"submit",children:[h?(0,t.jsx)(i.Loader2,{className:"animate-spin"}):(0,t.jsx)("span",{className:"hidden md:block",children:e.submit.button.title}),(0,t.jsx)(a.default,{className:"relative mx-auto size-5 md:hidden",strokeWidth:2})]})})]})})})]})})})}e.s(["Subscribe",()=>c],471061)},223833,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978);e.i(741820);var n=e.i(24963),a=e.i(331597),s=e.i(511398),l=e.i(819023),o=e.i(526683);function u(e){let i,a,s,u,m,h,f,p,x,g,v,b=(0,r.c)(30),{section:D,className:w}=e,F=D.id;b[0]!==w||b[1]!==D.className?(i=(0,o.cn)("overflow-x-hidden py-16 md:py-24",D.className,w),b[0]=w,b[1]=D.className,b[2]=i):i=b[2];let y=D.image?.src??"",j=D.image?.alt??"";return b[3]!==y||b[4]!==j?(a=(0,t.jsx)(l.ScrollAnimation,{direction:"left",children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-[500px] flex-shrink-0 md:mx-0",children:(0,t.jsx)(n.LazyImage,{src:y,alt:j,className:"h-auto w-full rounded-lg object-cover"})})}),b[3]=y,b[4]=j,b[5]=a):a=b[5],b[6]!==D.title?(s=(0,t.jsx)(l.ScrollAnimation,{delay:.1,children:(0,t.jsx)("h2",{className:"text-foreground text-4xl font-semibold text-balance break-words",children:D.title})}),b[6]=D.title,b[7]=s):s=b[7],b[8]!==D.description?(u=(0,t.jsx)(l.ScrollAnimation,{delay:.2,children:(0,t.jsx)("p",{className:"text-md text-muted-foreground my-6 text-balance break-words",children:D.description})}),b[8]=D.description,b[9]=u):u=b[9],b[10]!==D.buttons?(m=D.buttons&&D.buttons.length>0&&(0,t.jsx)(l.ScrollAnimation,{delay:.3,children:(0,t.jsx)("div",{className:"flex flex-wrap items-center justify-start gap-2",children:D.buttons?.map(d)})}),b[10]=D.buttons,b[11]=m):m=b[11],b[12]!==s||b[13]!==u||b[14]!==m?(h=(0,t.jsxs)("div",{className:"w-full min-w-0 flex-1",children:[s,u,m]}),b[12]=s,b[13]=u,b[14]=m,b[15]=h):h=b[15],b[16]!==a||b[17]!==h?(f=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-8 pb-12 md:gap-24",children:[a,h]}),b[16]=a,b[17]=h,b[18]=f):f=b[18],b[19]!==D.items?(p=D.items?.map(c),b[19]=D.items,b[20]=p):p=b[20],b[21]!==p?(x=(0,t.jsx)(l.ScrollAnimation,{delay:.1,children:(0,t.jsx)("div",{className:"relative grid min-w-0 grid-cols-1 gap-x-3 gap-y-6 border-t pt-12 break-words sm:grid-cols-2 sm:gap-6 lg:grid-cols-4",children:p})}),b[21]=p,b[22]=x):x=b[22],b[23]!==f||b[24]!==x?(g=(0,t.jsxs)("div",{className:"container overflow-x-hidden",children:[f,x]}),b[23]=f,b[24]=x,b[25]=g):g=b[25],b[26]!==D.id||b[27]!==g||b[28]!==i?(v=(0,t.jsx)("section",{id:F,className:i,children:g}),b[26]=D.id,b[27]=g,b[28]=i,b[29]=v):v=b[29],v}function c(e,r){return(0,t.jsxs)("div",{className:"min-w-0 space-y-3 break-words",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[e.icon&&(0,t.jsx)(a.SmartIcon,{name:e.icon,size:16}),(0,t.jsx)("h3",{className:"min-w-0 text-sm font-medium break-words",children:e.title})]}),(0,t.jsx)("p",{className:"text-muted-foreground min-w-0 text-sm break-words",children:e.description??""})]},r)}function d(e,r){return(0,t.jsx)(s.Button,{asChild:!0,variant:e.variant||"default",size:e.size||"default",children:(0,t.jsxs)(i.Link,{href:e.url??"",target:e.target??"_self",className:(0,o.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-9 px-4 py-2","bg-background ring-foreground
1/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200"),children:[e.icon&&(0,t.jsx)(a.SmartIcon,{name:e.icon,size:24}),e.title]})},r)}e.s(["FeaturesList",()=>u])},514534,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(98160);e.i(741820);var n=e.i(24963),a=e.i(331597),s=e.i(526683);function l(e){let a,l,u,c,d,m,h,f,p,x,g,v,b,D,w,F,y,j,C,N,E,_,A,k,S,B=(0,r.c)(44),{section:R}=e,L="right"===(R.image_position||"left"),T=R.id||R.name;B[0]!==R.className?(a=(0,s.cn)("py-16 md:py-24",R.className),B[0]=R.className,B[1]=a):a=B[1];let P=L&&"sm:[&>*:first-child]:order-2 sm:[&>*:last-child]:order-1";B[2]!==P?(l=(0,s.cn)("grid items-center gap-6 sm:grid-cols-2 md:gap-12 lg:gap-24",P),B[2]=P,B[3]=l):l=B[3],B[4]===Symbol.for("react.memo_cache_sentinel")?(u={opacity:0,y:30},c={opacity:1,y:0},d={once:!0,margin:"-100px"},B[4]=u,B[5]=c,B[6]=d):(u=B[4],c=B[5],d=B[6]),B[7]===Symbol.for("react.memo_cache_sentinel")?(m=[.22,1,.36,1],B[7]=m):m=B[7],B[8]===Symbol.for("react.memo_cache_sentinel")?(h={duration:.6,ease:m},B[8]=h):h=B[8],B[9]===Symbol.for("react.memo_cache_sentinel")?(f={opacity:0,scale:.95},p={opacity:1,scale:1},x={once:!0},B[9]=f,B[10]=p,B[11]=x):(f=B[9],p=B[10],x=B[11]),B[12]===Symbol.for("react.memo_cache_sentinel")?(g=[.22,1,.36,1],B[12]=g):g=B[12],B[13]===Symbol.for("react.memo_cache_sentinel")?(v={duration:.5,delay:.2,ease:g},B[13]=v):v=B[13];let z=R.image?.src??"",I=R.image?.alt??"";B[14]!==z||B[15]!==I?(b=(0,t.jsx)(i.motion.div,{initial:f,whileInView:p,viewport:x,transition:v,children:(0,t.jsx)(n.LazyImage,{src:z,className:"rounded-2xl",alt:I})}),B[14]=z,B[15]=I,B[16]=b):b=B[16];let M=L?-20:20;return B[17]!==M?(D={opacity:0,x:M},B[17]=M,B[18]=D):D=B[18],B[19]===Symbol.for("react.memo_cache_sentinel")?(w={opacity:1,x:0},F={once:!0},B[19]=w,B[20]=F):(w=B[19],F=B[20]),B[21]===Symbol.for("react.memo_cache_sentinel")?(y=[.22,1,.36,1],B[21]=y):y=B[21],B[22]===Symbol.for("react.memo_cache_sentinel")?(j={duration:.5,delay:.3,ease:y},B[22]=j):j=B[22],B[23]!==R.title?(C=(0,t.jsx)("h2",{className:"text-xl font-medium md:text-lg lg:text-lg",children:R.title}),B[23]=R.title,B[24]=C):C=B[24],B[25]!==R.description?(N=(0,t.jsx)("p",{className:"text-muted-foreground text-md",children:R.description}),B[25]=R.description,B[26]=N):N=B[26],B[27]!==R.items?(E=R.items?.map(o),B[27]=R.items,B[28]=E):E=B[28],B[29]!==E?(_=(0,t.jsx)("div",{className:"mt-8 flex flex-wrap gap-4",children:E}),B[29]=E,B[30]=_):_=B[30],B[31]!==D||B[32]!==C||B[33]!==N||B[34]!==_?(A=(0,t.jsxs)(i.motion.div,{className:"relative space-y-4",initial:D,whileInView:w,viewport:F,transition:j,children:[C,N,_]}),B[31]=D,B[32]=C,B[33]=N,B[34]=_,B[35]=A):A=B[35],B[36]!==b||B[37]!==A||B[38]!==l?(k=(0,t.jsx)("div",{className:"container flex flex-col items-center justify-center space-y-8 px-6 md:space-y-16",children:(0,t.jsxs)(i.motion.div,{className:l,initial:u,whileInView:c,viewport:d,transition:h,children:[b,A]})}),B[36]=b,B[37]=A,B[38]=l,B[39]=k):k=B[39],B[40]!==T||B[41]!==a||B[42]!==k?(S=(0,t.jsx)("section",{id:T,className:a,children:k}),B[40]=T,B[41]=a,B[42]=k,B[43]=S):S=B[43],S}function o(e){return(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"mb-2 flex items-center gap-2 text-sm",children:[(0,t.jsx)(a.SmartIcon,{name:e.icon,size:16}),e.title]}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:e.description})]},e.title)}e.s(["FeaturesMedia",()=>l])},417374,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),n=e.i(103979),a=e.i(98160),s=e.i(199978),l=e.i(331597),o=e.i(511398),u=e.i(686247),c=e.i(526683);function d(e){let n,s,l,o,u,d,h,f,p,x,g,v,b,D,w,F,y=(0,r.c)(39),{section:j,className:C}=e;y[0]!==j?(n=j.groups||[],y[0]=j,y[1]=n):n=y[1];let N=n,[E,_]=(0,i.useState)(N.length>0?N[0].name:"");e:{let e;if(!j.items){let e;y[2]===Symbol.for("react.memo_cache_sentinel")?(e=[],y[2]=e):e=y[2],s=e;break e}if(!E||!N.length||"all"===E){s=j.items;break e}if(y[3]!==j.items||y[4]!==E){let t;y[6]!==E?(t=e=>e.group===E,y[6]=E,y[7]=t):t=y[7],e=j.items.filter(t),y[3]=j.items,y[4]=E,y[5]=e}else e=y[5];s=e}let A=s,k=j.id||j.name;return y[8]!==C||y[9]!==j.className?(l=(0,c.cn)("py-24 md:py-36",j.className,C),y[8]=C,y[9]=j.className,y[10]=l):l=y[10],y[11]===Symbol.for("react.memo_cache_sentinel")?(o={opacity:0,y:20},u={opacity:1,y:0},d={once:!0},y[11]=o,y[12]=u,y[13]=d):(o=y[11],u=y[12],d=y[13]),y[14]===Symbol.for("react.memo_cache_sentinel")?(h=[.22,1,.36,1],y[14]=h):h=y[14],y[15]===Symbol.for("react.memo_cache_sentinel")?(f={duration:.6,ease:h},y[15]=f):f=y[15],y[16]!==j.sr_only_title?(p=j.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:j.sr_only_title}),y[16]=j.sr_only_title,y[17]=p):p=y[17],y[18]!==j.title?(x=(0,t.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:j.title}),y[18]=j.title,y[19]=x):x=y[19],y[20]!==j.description?(g=(0,t.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 max-w-full md:max-w-5xl",children:j.description}),y[20]=j.description,y[21]=g):g=y[21],y[22]!==p||y[23]!==x||y[24]!==g?(v=(0,t.jsxs)(a.motion.div,{className:"container mb-12 text-center",initial:o,whileInView:u,viewport:d,transition:f,children:[p,x,g]}),y[22]=p,y[23]=x,y[24]=g,y[25]=v):v=y[25],y[26]!==N||y[27]!==E?(b=N.length>0&&(0,t.jsx)(a.motion.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:N.map((e,r)=>{let i=E===e.name;return(0,t.jsx)(a.motion.button,{onClick:()=>
1_(e.name),className:(0,c.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",i?"":"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*r,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,t.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,t.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,t.jsx)("span",{children:e.title})},e.name)})}),y[26]=N,y[27]=E,y[28]=b):b=y[28],y[29]!==A?(D=A.length>0?A.map(m):(0,t.jsx)(a.motion.div,{className:"text-muted-foreground col-span-full text-center",initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),y[29]=A,y[30]=D):D=y[30],y[31]!==D?(w=(0,t.jsx)("div",{className:"container grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:D}),y[31]=D,y[32]=w):w=y[32],y[33]!==v||y[34]!==b||y[35]!==w||y[36]!==k||y[37]!==l?(F=(0,t.jsxs)("section",{id:k,className:l,children:[v,b,w]}),y[33]=v,y[34]=b,y[35]=w,y[36]=k,y[37]=l,y[38]=F):F=y[38],F}function m(e,r){let i=!!e.button,c=(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*r,ease:[.22,1,.36,1]},children:(0,t.jsx)(u.Card,{className:"dark:hover:shadow-primary/10 overflow-hidden p-0 transition-all hover:shadow-lg",children:(0,t.jsxs)(u.CardContent,{className:"p-0",children:[(0,t.jsx)(a.motion.div,{className:"relative aspect-16/10 w-full overflow-hidden",whileHover:{scale:1.05},transition:{duration:.3},children:(0,t.jsx)(n.default,{src:e.image?.src??"",alt:e.image?.alt??"",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",fill:!0,className:"rounded-t-lg object-cover transition-transform duration-300"})}),(0,t.jsxs)("div",{className:"p-6",children:[(0,t.jsx)("h3",{className:"mb-2 line-clamp-1 text-xl font-semibold text-balance",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground line-clamp-3 text-sm",dangerouslySetInnerHTML:{__html:e.description??""}}),i&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(o.Button,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 h-8 w-full border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,t.jsxs)(s.Link,{href:e.button.url||"",target:e.button.target||"_self",children:[e.button.icon&&(0,t.jsx)(l.SmartIcon,{name:e.button.icon,className:"text-white"}),e.button.title]})})})]})]})})});return i?(0,t.jsx)("div",{children:c},r):(0,t.jsx)(s.Link,{href:e.url||"",target:e.target,children:c},r)}e.s(["Showcases",()=>d])},421616,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),n=e.i(339191),a=e.i(98160),s=e.i(570172),l=e.i(866273),o=e.i(653668),u=e.i(199978);e.i(741820);var c=e.i(24963),d=e.i(331597),m=e.i(511398),h=e.i(526683);function f(e){let f,v,b,D,w,F,y,j,C,N,E,_,A,k,S,B,R,L,T,P,z,I,M=(0,r.c)(57),{section:H,className:O}=e;M[0]!==H?(f=H.groups||[],M[0]=H,M[1]=f):f=M[1];let W=f,[$,V]=(0,i.useState)(W.length>0?W[0].name:""),[q,U]=(0,i.useState)(null);e:{let e;if(!H.items){let e;M[2]===Symbol.for("react.memo_cache_sentinel")?(e=[],M[2]=e):e=M[2],v=e;break e}if(!$||!W.length||"all"===$){v=H.items;break e}if(M[3]!==H.items||M[4]!==$){let t;M[6]!==$?(t=e=>e.group===$,M[6]=$,M[7]=t):t=M[7],e=H.items.filter(t),M[3]=H.items,M[4]=$,M[5]=e}else e=M[5];v=e}let K=v;M[8]!==K.length?(b=()=>{U(e=>null!==e?0===e?(K.length??1)-1:e-1:null)},M[8]=K.length,M[9]=b):b=M[9];let X=b;M[10]!==K.length?(D=()=>{U(e=>null!==e?e===(K.length??1)-1?0:e+1:null)},M[10]=K.length,M[11]=D):D=M[11];let Y=D;M[12]!==Y||M[13]!==X||M[14]!==q?(w=()=>{let e=e=>{null!==q&&("Escape"===e.key&&U(null),"ArrowLeft"===e.key&&X(),"ArrowRight"===e.key&&Y())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},F=[q,X,Y],M[12]=Y,M[13]=X,M[14]=q,M[15]=w,M[16]=F):(w=M[15],F=M[16]),(0,i.useEffect)(w,F);let G=H.id||H.name;return M[17]!==O||M[18]!==H.className?(y=(0,h.cn)("py-24 md:py-36",H.className,O),M[17]=O,M[18]=H.className,M[19]=y):y=M[19],M[20]===Symbol.for("react.memo_cache_sentinel")?(N={opacity:0,y:20},j={opacity:1,y:0},C={once:!0},M[20]=j,M[21]=C,M[22]=N):(j=M[20],C=M[21],N=M[22]),M[23]===Symbol.for("react.memo_cache_sentinel")?(E=[.22,1,.36,1],M[23]=E):E=M[23],M[24]===Symbol.for("react.memo_cache_sentinel")?(_={duration:.6,ease:E},M[24]=_):_=M[24],M[25]!==H.sr_only_title?(A=H.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:H.sr_only_title}),M[25]=H.sr_only_title,M[26]=A):A=M[26],M[27]!==H.title?(k=(0,t.jsx)("h2",{className:"mx-auto mb-6 max-w-full text-3xl font-bold text-pretty md:max-w-5xl lg:text-4xl",children:H.title}),M[27]=H.title,M[28]=k):k=M[28],M[29]!==H.description?(S=(0,t.jsx)("p",{className:"text-muted-foreground text-md mx-auto mb-4 line-clamp-3 max-w-full md:max-w-5xl",children:H.description}),M[29]=H.description,M[30]=S):S=M[30],M[31]!==H.buttons?(B=H.buttons&&H.buttons.length>0&&(0,t.jsx)("div",{className:"container mx-auto mt-8 mb-12 flex flex-wrap justify-center gap-4",children:H.buttons.map(g)}),M[31]=H.buttons,M[32]=B):B=M[32],M[33]!==A||M[34]!==k||M[35]!==S||M[36]!==B?(R=(0,t.jsxs)(a.motion.div,{className:"container mb-12 text-center",initial:N,whileInView:j,viewport:C,transition:_,children:[A,k,S,B]}),M[33]=A,M[34]=k,M[35]=S,M[36]=B,M[37]=R):R=M[37],M[38]!==W||M[39]!==$?(L=W.length>0&&(0,t.jsx)(a.motion.div,{className:"container mb-12 flex flex-wrap justify-center gap-4",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.15,ease:[.22,1,.36,1]},children:W.map((e,r)=>{let i=$===e.name;return(0,t.jsx)(a.motion.button,{onClick:()=>V(e.name),className:(0,h.cn)("relative rounded-lg px-3 py-1.5 text-sm font-medium transition-all",i?"":"border-border bg-background text-foreground hover:bg-accent hover:text-accent-foreground border"),initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.2+.1*r,ease:[.22,1,.36,1]},whileHover:{scale:1.05},whileTap:{scale:.95},children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-primary absolute inset-0 rounded-lg p-[2px]",children:(0,t.jsx)("span",{className:"bg-background block h-full w-full rounded-[calc(0.5rem-2px)]"})}),(0,t.jsx)("span",{className:"bg-primary relative z-10 bg-clip-text text-transparent",children:e.title})]}):(0,t.jsx)("span",{children:e.title})},e.name)})}),M[38]=W,M[39]=$,M[40]=L):L=M[40],M[41]!==K?(T=K.length>0?(0,t.jsx)("div",{className:"container mx-auto columns-1 gap-4 space-y-4 sm:columns-2 lg:columns-3 xl:columns-4",children:K.map((e,r)=>(0,t.jsxs)(a.motion.div,{className:"group relative cursor-zoom-in break-inside-avoid overflow-hidden rounded-xl",onClick:()=>U(r),initial:{opacity:0,y:30,scale:.95},whileInView:{opacity:1,y:0,scale:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,delay:.1*r,ease:[.22,1,.36,1]},whileHover:{scale:1.02},children:[(0,t.jsx)(c.LazyImage,{src:e.image?.src??"",alt:e.image?.alt??"",className:"h-auto w-full transition-transform duration-300 group-hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 25vw"}),(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-end bg-black/60 p-6 opacity-0 transition-opacity duration-300 group-hover:opacity-100",children:[(0,t.jsx)("h3",{className:"mb-2 translate-y-4 text-sm font-medium text-white transition-transform duration-300 group-hover:translate-y-0",children:e.title}),e.button&&(0,t.jsx)("div",{className:"mt-3 translate-y-4 transition-transform delay-100 duration-300 group-hover:translate-y-0",onClick:x,children:(0,t.jsx)(m.Button,{asChild:!0,variant:e.button.variant||"default",size:e.button.size||"sm",className:"bg-primary hover:bg-primary/90 text-primary-foreground h-8 w-full border-0 px-1 py-1.5 text-sm font-medium",children:(0,t.jsxs)(u.Link,{href:e.button.url||"",target:e.button.target||"_self",children:[e.button.icon&&(0,t.jsx)(d.SmartIcon,{name:e.button.icon}),e.button.title]})})})]})]},r))}):(0,t.jsx)(a.motion.div,{className:"text-muted-foreground container text-center",initial:{opacity:0}
1,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.4},children:"No items found in this category."}),M[41]=K,M[42]=T):T=M[42],M[43]!==K||M[44]!==Y||M[45]!==X||M[46]!==q?(P=null!==q&&K&&K.length>0&&(0,t.jsxs)(a.motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 p-4 backdrop-blur-sm md:p-8",onClick:()=>U(null),children:[(0,t.jsx)("button",{className:"absolute top-4 right-4 z-50 text-white/70 transition-colors hover:text-white",onClick:()=>U(null),children:(0,t.jsx)(o.X,{className:"size-8"})}),(0,t.jsx)("button",{className:"absolute top-1/2 left-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:e=>{e.stopPropagation(),X()},children:(0,t.jsx)(s.ChevronLeft,{className:"size-8 md:size-12"})}),(0,t.jsx)("button",{className:"absolute top-1/2 right-4 z-50 -translate-y-1/2 rounded-full bg-black/20 p-2 text-white/70 transition-colors hover:bg-black/40 hover:text-white",onClick:e=>{e.stopPropagation(),Y()},children:(0,t.jsx)(l.ChevronRight,{className:"size-8 md:size-12"})}),(0,t.jsx)(a.motion.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2},className:"relative flex h-full w-full items-center justify-center",onClick:p,children:(0,t.jsxs)("div",{className:"relative max-h-full max-w-full overflow-hidden rounded-lg",children:[(0,t.jsx)(c.LazyImage,{src:K[q].image?.src??"",alt:K[q].image?.alt??"",className:"h-auto max-h-[90vh] w-auto max-w-full object-contain"}),(0,t.jsxs)("div",{className:"absolute right-0 bottom-0 left-0 bg-gradient-to-t from-black/80 via-black/50 to-transparent p-6 text-white",children:[(0,t.jsx)("h3",{className:"mb-2 text-2xl font-bold",children:K[q].title}),K[q].description&&(0,t.jsx)("p",{className:"line-clamp-3 text-base text-white/90",children:K[q].description}),K[q].button&&(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(m.Button,{asChild:!0,variant:K[q].button.variant||"default",size:K[q].button.size||"default",className:"bg-primary hover:bg-primary/90 h-8 border-0 px-3 py-1.5 text-sm font-medium text-white",children:(0,t.jsxs)(u.Link,{href:K[q].button.url||"",target:K[q].button.target||"_self",children:[K[q].button.icon&&(0,t.jsx)(d.SmartIcon,{name:K[q].button.icon,className:"text-white"}),K[q].button.title]})})})]})]})},q)]}),M[43]=K,M[44]=Y,M[45]=X,M[46]=q,M[47]=P):P=M[47],M[48]!==P?(z=(0,t.jsx)(n.AnimatePresence,{children:P}),M[48]=P,M[49]=z):z=M[49],M[50]!==R||M[51]!==L||M[52]!==T||M[53]!==z||M[54]!==G||M[55]!==y?(I=(0,t.jsxs)("section",{id:G,className:y,children:[R,L,T,z]}),M[50]=R,M[51]=L,M[52]=T,M[53]=z,M[54]=G,M[55]=y,M[56]=I):I=M[56],I}function p(e){return e.stopPropagation()}function x(e){return e.stopPropagation()}function g(e){return(0,t.jsx)(m.Button,{variant:e.variant||"default",size:e.size||"sm",asChild:!0,children:(0,t.jsxs)(u.Link,{href:e.url||"",target:e.target||"_self",children:[e.icon&&(0,t.jsx)(d.SmartIcon,{name:e.icon}),e.title]})},e.title)}e.s(["ShowcasesFlow",()=>f])},339191,e=>{"use strict";e.i(90985);var t=e.i(466471),r=e.i(884702),i=e.i(991531),n=e.i(94158),a=e.i(649163),s=e.i(194932),l=e.i(443390),o=r,u=e.i(263137);class c extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=(0,l.isHTMLElement)(e)&&e.offsetWidth||0,i=this.props.sizeRef.current;i.height=t.offsetHeight||0,i.width=t.offsetWidth||0,i.top=t.offsetTop,i.left=t.offsetLeft,i.right=r-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:r,anchorX:i,root:n}){let a=(0,o.useId)(),s=(0,o.useRef)(null),l=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=(0,o.useContext)(u.MotionConfigContext);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:o,left:u,right:c}=l.current;if(r||!s.current||!e||!t)return;let m="left"===i?`left: ${u}`:`right: ${c}`;s.current.dataset.motionPopId=a;let h=document.createElement("style");d&&(h.nonce=d);let f=n??document.head;return f.appendChild(h),h.sheet&&h.sheet.insertRule(`
2          [data-motion-pop-id="${a}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${m}px !important;
7            top: ${o}px !important;
8          }
9        `),()=>{f.contains(h)&&f.removeChild(h)}},[r]),(0,t.jsx)(c,{isPresent:r,childRef:s,sizeRef:l,children:o.cloneElement(e,{ref:s})})}let m=({children:e,initial:i,isPresent:a,onExitComplete:l,custom:o,presenceAffectsLayout:u,mode:c,anch
9orX:m,root:f})=>{let p=(0,n.useConstant)(h),x=(0,r.useId)(),g=!0,v=(0,r.useMemo)(()=>(g=!1,{id:x,initial:i,isPresent:a,custom:o,onExitComplete:e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;l&&l()},register:e=>(p.set(e,!1),()=>p.delete(e))}),[a,p,l]);return u&&g&&(v={...v}),(0,r.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[a]),r.useEffect(()=>{a||p.size||!l||l()},[a]),"popLayout"===c&&(e=(0,t.jsx)(d,{isPresent:a,anchorX:m,root:f,children:e})),(0,t.jsx)(s.PresenceContext.Provider,{value:v,children:e})};function h(){return new Map}var f=e.i(635149);let p=e=>e.key||"";function x(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}let g=({children:e,custom:s,initial:l=!0,onExitComplete:o,presenceAffectsLayout:u=!0,mode:c="sync",propagate:d=!1,anchorX:h="left",root:g})=>{let[v,b]=(0,f.usePresence)(d),D=(0,r.useMemo)(()=>x(e),[e]),w=d&&!v?[]:D.map(p),F=(0,r.useRef)(!0),y=(0,r.useRef)(D),j=(0,n.useConstant)(()=>new Map),[C,N]=(0,r.useState)(D),[E,_]=(0,r.useState)(D);(0,a.useIsomorphicLayoutEffect)(()=>{F.current=!1,y.current=D;for(let e=0;e<E.length;e++){let t=p(E[e]);w.includes(t)?j.delete(t):!0!==j.get(t)&&j.set(t,!1)}},[E,w.length,w.join("-")]);let A=[];if(D!==C){let e=[...D];for(let t=0;t<E.length;t++){let r=E[t],i=p(r);w.includes(i)||(e.splice(t,0,r),A.push(r))}return"wait"===c&&A.length&&(e=A),_(x(e)),N(D),null}let{forceRender:k}=(0,r.useContext)(i.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:E.map(e=>{let r=p(e),i=(!d||!!v)&&(D===E||w.includes(r));return(0,t.jsx)(m,{isPresent:i,initial:(!F.current||!!l)&&void 0,custom:s,presenceAffectsLayout:u,mode:c,root:g,onExitComplete:i?void 0:()=>{if(!j.has(r))return;j.set(r,!0);let e=!0;j.forEach(t=>{t||(e=!1)}),e&&(k?.(),_(y.current),d&&b?.(),o&&o())},anchorX:h,children:e},r)})})};e.s(["AnimatePresence",()=>g],339191)},550974,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),n=e.i(339191),a=e.i(98160);e.i(741820);var s=e.i(24963),l=e.i(331597),o=e.i(526683);let u=e=>{let i,n,s,l,u,c,d,m,h=(0,r.c)(28),{className:f,size:p,delay:x,duration:g,colorFrom:v,colorTo:b,transition:D,style:w,reverse:F,initialOffset:y,borderWidth:j}=e,C=void 0===p?50:p,N=void 0===g?6:g,E=void 0===v?"#ffaa40":v,_=void 0===b?"#9c40ff":b,A=void 0!==F&&F,k=void 0===y?0:y,S=`${void 0===j?1:j}px`;h[0]!==S?(i={"--border-beam-width":S},h[0]=S,h[1]=i):i=h[1];let B=i;h[2]!==f?(n=(0,o.cn)("absolute aspect-square","bg-gradient-to-l from-[var(--color-from)] via-[var(--color-to)] to-transparent",f),h[2]=f,h[3]=n):n=h[3];let R=`rect(0 auto auto 0 round ${C}px)`;h[4]!==E||h[5]!==_||h[6]!==C||h[7]!==w||h[8]!==R?(s={width:C,offsetPath:R,"--color-from":E,"--color-to":_,...w},h[4]=E,h[5]=_,h[6]=C,h[7]=w,h[8]=R,h[9]=s):s=h[9];let L=s,T=`${k}%`;h[10]!==T?(l={offsetDistance:T},h[10]=T,h[11]=l):l=h[11],h[12]!==k||h[13]!==A?(u={offsetDistance:A?[`${100-k}%`,`${-k}%`]:[`${k}%`,`${100+k}%`]},h[12]=k,h[13]=A,h[14]=u):u=h[14];let P=-(void 0===x?0:x);return h[15]!==N||h[16]!==P||h[17]!==D?(c={repeat:1/0,ease:"linear",duration:N,delay:P,...D},h[15]=N,h[16]=P,h[17]=D,h[18]=c):c=h[18],h[19]!==n||h[20]!==L||h[21]!==l||h[22]!==u||h[23]!==c?(d=(0,t.jsx)(a.motion.div,{className:n,style:L,initial:l,animate:u,transition:c}),h[19]=n,h[20]=L,h[21]=l,h[22]=u,h[23]=c,h[24]=d):d=h[24],h[25]!==B||h[26]!==d?(m=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-[inherit] border-transparent [mask-clip:padding-box,border-box] [mask-composite:intersect] [mask-image:linear-gradient(transparent,transparent),linear-gradient(#000,#000)] border-(length:--border-beam-width)",style:B,children:d}),h[25]=B,h[26]=d,h[27]=m):m=h[27],m};var c=e.i(184499),d=e.i(819023);function m(e){let l,m,f,p,x,g,v,b,D,w,F,y,j,C,N,E,_,A,k,S=(0,r.c)(41),{section:B,className:R}=e,[L,T]=(0,i.useState)("item-1");S[0]!==B.items?(l={},B.items?.forEach((e,t)=>{l[`item-${t+1}`]={image:e.image?.src??"",alt:e.image?.alt||e.title||""}}),S[0]=B.items,S[1]=l):l=S[1];let P=B.id;S[2]!==R||S[3]!==B.className?(m=(0,o.cn)("overflow-x-hidden py-16 md:py-24",B.className,R),S[2]=R,S[3]=B.className,S[4]=m):m=S[4],S[5]!==B.title?(f=(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-semibold tracking-tight md:text-4xl",children:B.title}),S[5]=B.title,S[6]=f):f=S[6],S[7]!==B.description?(p=(0,t.jsx)("p",{className:"text-muted-foreground mb-6 md:mb-12 lg:mb-16",children:B.description}),S[7]=B.description,S[8]=p):p=S[8],S[9]!==f||S[10]!==p?(x=(0,t.jsx)(d.ScrollAnimation,{children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl text-center text-balance",children:[f,p]})}),S[9]=f,S[10]=p,S[11]=x):x=S[11],S[12]===Symbol.for("react.memo_cache_sentinel")?(g=e=>T(e),S[12]=g):g=S[12],S[13]!==B.items?(v=B.items?.map(h),S[13]=B.items,S[14]=v):v=S[14],S[15]!==L||S[16]!==v?(b=(0,t.jsx)(d.ScrollAnimation,{delay:.1,direction:"left",children:(0,t.jsx)(c.Accordion,{type:"single",value:L,onValueChange:g,className:"w-full",suppressHydrationWarning:!0,children:v})}),S[15]=L,S[16]=v,S[17]=b):b=S[17];let z=`${L}-id`;S[18]===Symbol.for("react.memo_cache_sentinel")?(D={opacity:0,y:6,scale:.98},w={opacity:1,y:0,scale:1},F={opacity:0,y:6,scale:.98},y={duration:.2},S[18]=D,S[19]=w,S[20]=F,S[21]=y):(D=S[18],w=S[19],F=S[20],y=S[21]);let I=l[L],M=l[L];return S[22]!==I.image||S[23]!==M.alt?(j=(0,t.jsx)(s.LazyImage,{src:I.image,className:"h-full w-full object-cover object-center dark:mix-blend-lighten",wrapperClassName:"block h-full w-full",alt:M.alt}),S[22]=I.image,S[23]=M.alt,S[24]=j):j=S[24],S[25]!==j||S[26]!==z?(C=(0,t.jsx)("div",{className:"bg-background relative aspect-video w-full min-w-0 rounded-2xl",children:(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:(0,t.jsx)(a.motion.div,{initial:D,animate:w,exit:F,transition:y,className:"size-full overflow-hidden rounded-2xl border shadow-md",children:j},z)})}),S[25]=j,S[26]=z,S[27]=C):C=S[27],S[28]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(u,{duration:6,size:200,className:"from-transparent via-yellow-700 to-transparent dark:via-white/50"}),S[28]=N):N=S[28],S[29]!==C?(E=(0,t.jsx)(d.ScrollAnimation,{delay:.2,direction:"right",children:(0,t.jsxs)("div",{className:"bg-background relative flex min-w-0 flex-shrink overflow-hidden rounded-3xl border p-2",children:[C,N]})}),S[29]=C,S[30]=E):E=S[30],S[31]!==E||S[32]!==b?(_=(0,t.jsxs)("div",{className:"grid min-w-0 gap-12 sm:px-6 md:grid-cols-2 lg:gap-20 lg:px-0",children:[b,E]}),S[31]=E,S[32]=b,S[33]=_):_=S[33],S[34]!==_||S[35]!==x?(A=(0,t.jsxs)("div",{className:"container space-y-8 overflow-x-hidden px-2 sm:px-6 md:space-y-16 lg:space-y-20 dark:[--color-border:color-mix(in_oklab,var(--color-white)_10%,transparent)]",children:[x,_]}),S[34]=_,S[35]=x,S[36]=A):A=S[36],S[37]!==B.id||S[38]!==m||S[39]!==A?(k=(0,t.jsx)("section",{id:P,className:m,children:A}),S[37]=B.id,S[38]=m,S[39]=A,S[40]=k):k=S[40],k}function h(e,r){return(0,t.jsxs)(c.AccordionItem,{value:`item-${r+1}`,children:[(0,t.jsx)(c.AccordionTrigger,{children:(0,t.jsxs)("div",{className:"flex items-center gap-2 text-base",children:[e.icon&&(0,t.jsx)(l.SmartIcon,{name:e.icon,size:24}),e.title]})}),(0,t.jsx)(c.AccordionContent,{children:e.description})]},r)}e.s(["FeaturesAccordion",()=>m],550974)},175484,e=>{"use strict";var t=e.i(884702);let r={search:"Search",searchNoResult:"No results found",toc:"On this page",tocNoHeadings:"No Headings",lastUpdate:"Last updated on",chooseLanguage:"Cho
9ose a language",nextPage:"Next Page",previousPage:"Previous Page",chooseTheme:"Theme",editOnGithub:"Edit on GitHub"},i=(0,t.createContext)({text:r});function n(e){let{text:t}=a();return t[e.label]}function a(){return(0,t.useContext)(i)}e.s(["I18nContext",0,i,"I18nLabel",()=>n,"defaultTranslations",0,r,"useI18n",()=>a])},41178,834355,e=>{"use strict";var t=e.i(884702);function r(e,i,n=function e(t,r){return Array.isArray(t)&&Array.isArray(r)?r.length!==t.length||t.some((t,i)=>e(t,r[i])):t!==r}){let[a,s]=(0,t.useState)(e);n(a,e)&&(i(e,a),s(e))}e.s(["useOnChange",()=>r],834355),e.i(368035),e.s([],41178)},187484,e=>{"use strict";let t=e=>"object"==typeof e&&null!=e&&1===e.nodeType,r=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let i,n=getComputedStyle(e,null);return r(n.overflowY,t)||r(n.overflowX,t)||!!(i=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(i.clientHeight<e.scrollHeight||i.clientWidth<e.scrollWidth)}return!1},n=(e,t,r,i,n,a,s,l)=>a<e&&s>t||a>e&&s<t?0:a<=e&&l<=r||s>=t&&l>=r?a-e-i:s>t&&l<r||a<e&&l>r?s-t+n:0,a=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},s=(e,r)=>{var s,l,o,u;let c;if("undefined"==typeof document)return[];let{scrollMode:d,block:m,inline:h,boundary:f,skipOverflowHiddenElements:p}=r,x="function"==typeof f?f:e=>e!==f;if(!t(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,v=[],b=e;for(;t(b)&&x(b);){if((b=a(b))===g){v.push(b);break}null!=b&&b===document.body&&i(b)&&!i(document.documentElement)||null!=b&&i(b,p)&&v.push(b)}let D=null!=(l=null==(s=window.visualViewport)?void 0:s.width)?l:innerWidth,w=null!=(u=null==(o=window.visualViewport)?void 0:o.height)?u:innerHeight,{scrollX:F,scrollY:y}=window,{height:j,width:C,top:N,right:E,bottom:_,left:A}=e.getBoundingClientRect(),{top:k,right:S,bottom:B,left:R}={top:parseFloat((c=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(c.scrollMarginRight)||0,bottom:parseFloat(c.scrollMarginBottom)||0,left:parseFloat(c.scrollMarginLeft)||0},L="start"===m||"nearest"===m?N-k:"end"===m?_+B:N+j/2-k+B,T="center"===h?A+C/2-R+S:"end"===h?E+S:A-R,P=[];for(let e=0;e<v.length;e++){let t=v[e],{height:r,width:a,top:s,right:l,bottom:o,left:u}=t.getBoundingClientRect();if("if-needed"===d&&N>=0&&A>=0&&_<=w&&E<=D&&(t===g&&!i(t)||N>=s&&_<=o&&A>=u&&E<=l))break;let c=getComputedStyle(t),f=parseInt(c.borderLeftWidth,10),p=parseInt(c.borderTopWidth,10),x=parseInt(c.borderRightWidth,10),b=parseInt(c.borderBottomWidth,10),k=0,S=0,B="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-x:0,R="offsetHeight"in t?t.offsetHeight-t.clientHeight-p-b:0,z="offsetWidth"in t?0===t.offsetWidth?0:a/t.offsetWidth:0,I="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(g===t)k="start"===m?L:"end"===m?L-w:"nearest"===m?n(y,y+w,w,p,b,y+L,y+L+j,j):L-w/2,S="start"===h?T:"center"===h?T-D/2:"end"===h?T-D:n(F,F+D,D,f,x,F+T,F+T+C,C),k=Math.max(0,k+y),S=Math.max(0,S+F);else{k="start"===m?L-s-p:"end"===m?L-o+b+R:"nearest"===m?n(s,o,r,p,b+R,L,L+j,j):L-(s+r/2)+R/2,S="start"===h?T-u-f:"center"===h?T-(u+a/2)+B/2:"end"===h?T-l+x+B:n(u,l,a,f,x+B,T,T+C,C);let{scrollLeft:e,scrollTop:i}=t;k=0===I?0:Math.max(0,Math.min(i+k/I,t.scrollHeight-r/I+R)),S=0===z?0:Math.max(0,Math.min(e+S/z,t.scrollWidth-a/z+B)),L+=i-k,T+=e-S}P.push({el:t,top:k,left:S})}return P};function l(e,t){let r;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let i={top:parseFloat((r=window.getComputedStyle(e)).scrollMarginTop)||0,right:parseFloat(r.scrollMarginRight)||0,bottom:parseFloat(r.scrollMarginBottom)||0,left:parseFloat(r.scrollMarginLeft)||0};if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(s(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:a,left:l}of s(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=a-i.top+i.bottom,t=l-i.left+i.right;r.scroll({top:e,left:t,behavior:n})}}e.s(["default",()=>l],187484)},147126,254828,818595,e=>{"use strict";var t=e.i(466471),r=e.i(834355);e.i(368035);var i=e.i(884702),n=e.i(187484),a=(0,i.createContext)([]),s=(0,i.createContext)({current:null});function l(){return(0,i.useContext)(a).at(-1)}function o(){return(0,i.useContext)(a)}function u({containerRef:e,children:r}){return(0,t.jsx)(s.Provider,{value:e,children:r})}function c({toc:e,single:r=!0,children:n}){let s=(0,i.useMemo)(()=>e.map(e=>e.url.split("#")[1]),[e]);return(0,t.jsx)(a.Provider,{value:function(e,t){let[r,n]=(0,i.useState)([]);return(0,i.useEffect)(()=>{let r=[],i=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&!r.includes(t.target.id)?r=[...r,t.target.id]:!t.isIntersecting&&r.includes(t.target.id)&&(r=r.filter(e=>e!==t.target.id));r.length>0&&n(r)},{rootMargin:t?"-80px 0% -70% 0%":"-20px 0% -40% 0%",threshold:1});function a(){let r=document.scrollingElement;if(!r)return;let i=r.scrollTop;i<=0&&t?n(e.slice(0,1)):i+r.clientHeight>=r.scrollHeight-6&&n(r=>r.length>0&&!t?e.slice(e.indexOf(r[0])):e.slice(-1))}for(let t of e){let e=document.getElementById(t);e&&i.observe(e)}return a(),window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a),i.disconnect()}},[t,e]),t?r.slice(0,1):r}(s,r),children:n})}var d=(0,i.forwardRef)(({onActiveChange:e,...a},l)=>{let u=(0,i.useContext)(s),c=o(),d=(0,i.useRef)(null),m=function(...e){return t=>
9{e.forEach(e=>{"function"==typeof e?e(t):null!==e&&(e.current=t)})}}(d,l),h=c.includes(a.href.slice(1));return(0,r.useOnChange)(h,t=>{let r=d.current;r&&(t&&u.current&&(0,n.default)(r,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:u.current}),e?.(t))}),(0,t.jsx)("a",{ref:m,"data-active":h,...a,children:a.children})});d.displayName="TOCItem",e.s(["AnchorProvider",()=>c,"ScrollProvider",()=>u,"TOCItem",()=>d,"useActiveAnchor",()=>l,"useActiveAnchors",()=>o],254828),e.i(857073);var m=e.i(266438),h=e.i(175484);e.i(41178);var f=e.i(739188);function p(e,t){if(0===t.length||0===e.clientHeight)return[0,0];let r=Number.MAX_VALUE,i=0;for(let n of t){let t=e.querySelector(`a[href="#${n}"]`);if(!t)continue;let a=getComputedStyle(t);r=Math.min(r,t.offsetTop+parseFloat(a.paddingTop)),i=Math.max(i,t.offsetTop+t.clientHeight-parseFloat(a.paddingBottom))}return[r,i-r]}function x(e,t){e.style.setProperty("--fd-top",`${t[0]}px`),e.style.setProperty("--fd-height",`${t[1]}px`)}function g({containerRef:e,...n}){let a=o(),s=(0,i.useRef)(null),l=(0,f.useEffectEvent)(()=>{e.current&&s.current&&x(s.current,p(e.current,a))});return(0,i.useEffect)(()=>{if(!e.current)return;let t=e.current;l();let r=new ResizeObserver(l);return r.observe(t),()=>{r.disconnect()}},[e,l]),(0,r.useOnChange)(a,()=>{e.current&&s.current&&x(s.current,p(e.current,a))}),(0,t.jsx)("div",{ref:s,role:"none",...n})}e.s(["TocThumb",()=>g],818595);var v=e.i(315754);let b=(0,i.createContext)([]);function D(){return(0,i.useContext)(b)}function w({toc:e,children:r,...i}){return(0,t.jsx)(b,{value:e,children:(0,t.jsx)(c,{toc:e,...i,children:r})})}function F({ref:e,className:r,...n}){let a=(0,i.useRef)(null);return(0,t.jsx)("div",{ref:(0,v.mergeRefs)(a,e),className:(0,m.cn)("relative min-h-0 text-sm ms-px overflow-auto [scrollbar-width:none] [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] py-3",r),...n,children:(0,t.jsx)(u,{containerRef:a,children:n.children})})}function y({ref:e,className:r,...n}){let a=(0,i.useRef)(null),s=D(),{text:l}=(0,h.useI18n)();return 0===s.length?(0,t.jsx)("div",{className:"rounded-lg border bg-fd-card p-3 text-xs text-fd-muted-foreground",children:l.tocNoHeadings}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g,{containerRef:a,className:"absolute top-(--fd-top) h-(--fd-height) w-px bg-fd-primary transition-all"}),(0,t.jsx)("div",{ref:(0,v.mergeRefs)(e,a),className:(0,m.cn)("flex flex-col border-s border-fd-foreground/10",r),...n,children:s.map(e=>(0,t.jsx)(j,{item:e},e.url))})]})}function j({item:e}){return(0,t.jsx)(d,{href:e.url,className:(0,m.cn)("prose py-1.5 text-sm text-fd-muted-foreground transition-colors [overflow-wrap:anywhere] first:pt-0 last:pb-0 data-[active=true]:text-fd-primary",e.depth<=2&&"ps-3",3===e.depth&&"ps-6",e.depth>=4&&"ps-8"),children:e.title})}e.s(["TOCItems",()=>y,"TOCProvider",()=>w,"TOCScrollArea",()=>F,"useTOCItems",()=>D],147126)},475507,496831,e=>{"use strict";var t=e.i(889522);let r=(0,t.default)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",()=>r],475507);let i=(0,t.default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);e.s(["default",()=>i],496831)},387115,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(147126),n=e.i(475507),n=n,a=e.i(496831),a=a,s=e.i(247835);e.i(741820);var l=e.i(111643),o=e.i(866273),u=e.i(199978),c=e.i(331597);function d(e){let i,n,a=(0,r.c)(4),{items:s}=e;return a[0]!==s?(i=s.map(m),a[0]=s,a[1]=i):i=a[1],a[2]!==i?(n=(0,t.jsx)("nav",{className:"text-muted-foreground flex items-center text-sm md:px-3",children:i}),a[2]=i,a[3]=n):n=a[3],n}function m(e,r){let i=e.is_active;return(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsxs)(u.Link,{href:e.url||"",className:`hover:text-foreground line-clamp-1 flex min-w-8 items-center gap-2 transition-colors ${i?"text-primary hover:text-primary font-medium":""}`,children:[e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon,className:"size-4"}),e.title]}),!i&&(0,t.jsx)(o.ChevronRight,{className:"text-muted-foreground
9/40 mx-2 h-4 w-4"})]},r)}function h(e){let o,u,c,m,h,f,p,x,g,v,b,D,w,F,y,j,C,N,E,_,A=(0,r.c)(56),{post:k}=e,S=(0,s.useTranslations)("pages.blog.messages");A[0]!==S?(o=S("crumb"),A[0]=S,A[1]=o):o=A[1],A[2]!==o?(u={title:o,url:"/blog",icon:"Newspaper",is_active:!1},A[2]=o,A[3]=u):u=A[3];let B=k.title||"",R=`/blog/${k.slug}`;A[4]!==B||A[5]!==R?(c={title:B,url:R,is_active:!0},A[4]=B,A[5]=R,A[6]=c):c=A[6],A[7]!==u||A[8]!==c?(m=[u,c],A[7]=u,A[8]=c,A[9]=m):m=A[9];let L=m,T=k.toc&&k.toc.length>0,P=k.author_name||k.author_image||k.author_role;A[10]!==P||A[11]!==T?(h=()=>T&&P?"lg:col-span-6":T||P?"lg:col-span-9":"lg:col-span-12",A[10]=P,A[11]=T,A[12]=h):h=A[12];let z=h;A[13]!==k.toc?(f=k.toc||[],A[13]=k.toc,A[14]=f):f=A[14];let I=k.id;A[15]!==L?(p=(0,t.jsx)(d,{items:L}),A[15]=L,A[16]=p):p=A[16],A[17]!==k.title?(x=(0,t.jsx)("h1",{className:"text-foreground mx-auto mb-4 w-full text-3xl font-bold md:max-w-4xl md:text-4xl",children:k.title}),A[17]=k.title,A[18]=x):x=A[18],A[19]!==k.created_at?(g=k.created_at&&(0,t.jsxs)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-2",children:[(0,t.jsx)(n.default,{className:"size-4"})," ",k.created_at]}),A[19]=k.created_at,A[20]=g):g=A[20],A[21]!==g?(v=(0,t.jsx)("div",{className:"text-muted-foreground text-md mb-8 flex items-center justify-center gap-4",children:g}),A[21]=g,A[22]=v):v=A[22],A[23]!==x||A[24]!==v?(b=(0,t.jsxs)("div",{className:"mt-16 text-center",children:[x,v]}),A[23]=x,A[24]=v,A[25]=b):b=A[25],A[26]!==T||A[27]!==S?(D=T&&(0,t.jsx)("div",{className:"lg:col-span-3",children:(0,t.jsx)("div",{className:"sticky top-24 hidden md:block",children:(0,t.jsxs)("div",{className:"bg-muted/30 rounded-lg p-4",children:[(0,t.jsxs)("h2",{className:"text-foreground mb-4 flex items-center gap-2 font-semibold",children:[(0,t.jsx)(a.default,{className:"size-4"})," ",S("toc")]}),(0,t.jsx)(i.TOCItems,{})]})})}),A[26]=T,A[27]=S,A[28]=D):D=A[28];let M=z();return A[29]!==k.body||A[30]!==k.content?(w=k.body?(0,t.jsx)("div",{className:"docs text-foreground text-md space-y-4 font-normal *:leading-relaxed",children:k.body}):k.content&&(0,t.jsx)("div",{className:"prose prose-lg text-muted-foreground max-w-none space-y-6 *:leading-relaxed",children:(0,t.jsx)(l.MarkdownPreview,{content:k.content})}),A[29]=k.body,A[30]=k.content,A[31]=w):w=A[31],A[32]!==w?(F=(0,t.jsx)("article",{className:"p-0",children:w}),A[32]=w,A[33]=F):F=A[33],A[34]!==M||A[35]!==F?(y=(0,t.jsx)("div",{className:M,children:F}),A[34]=M,A[35]=F,A[36]=y):y=A[36],A[37]!==k.author_image||A[38]!==k.author_name||A[39]!==k.author_role||A[40]!==P?(j=P&&(0,t.jsx)("div",{className:"lg:col-span-3",children:(0,t.jsx)("div",{className:"sticky top-24",children:(0,t.jsx)("div",{className:"bg-muted/30 rounded-lg p-6",children:(0,t.jsxs)("div",{className:"text-center",children:[k.author_image&&(0,t.jsx)("div",{className:"ring-foreground/10 mx-auto mb-4 aspect-square size-20 overflow-hidden rounded-xl border border-transparent shadow-md ring-1 shadow-black/15",children:(0,t.jsx)("img",{src:k.author_image,alt:k.author_name,className:"h-full w-full object-cover"})}),k.author_name&&(0,t.jsx)("p",{className:"text-foreground mb-1 text-lg font-semibold",children:k.author_name}),k.author_role&&(0,t.jsx)("p",{className:"text-muted-foreground mb-4 text-sm",children:k.author_role})]})})})}),A[37]=k.author_image,A[38]=k.author_name,A[39]=k.author_role,A[40]=P,A[41]=j):j=A[41],A[42]!==D||A[43]!==y||A[44]!==j?(C=(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 md:mt-12 lg:grid-cols-12",children:[D,y,j]}),A[42]=D,A[43]=y,A[44]=j,A[45]=C):C=A[45],A[46]!==p||A[47]!==b||A[48]!==C?(N=(0,t.jsx)("div",{className:"py-24 md:py-32",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-6 md:px-8",children:[p,b,C]})}),A[46]=p,A[47]=b,A[48]=C,A[49]=N):N=A[49],A[50]!==k.id||A[51]!==N?(E=(0,t.jsx)("section",{id:I,children:N}),A[50]=k.id,A[51]=N,A[52]=E):E=A[52],A[53]!==E||A[54]!==f?(_=(0,t.jsx)(i.TOCProvider,{toc:f,children:E}),A[53]=E,A[54]=f,A[55]=_):_=A[55],_}e.s(["BlogDetail",()=>h],387115)},669764,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(636680),n=e.i(462297),a=e.i(623099),s=e.i(247835),l=e.i(779342);e.i(741820);var o=e.i(331597),u=e.i(536355),c=e.i(511398),d=e.i(122913),m=e.i(422812),h=e.i(960568),f=e.i(581682),p=e.i(103979),x=e.i(199978),g=e.i(851239),v=e.i(526683);
9function b({configs:e,callbackUrl:i,loading:o,setLoading:u,pricingItem:d,onCheckout:m,className:f}){(0,s.useTranslations)("common.payment"),(0,x.useRouter)();let{setIsShowPaymentModal:b}=(0,h.useAppContext)(),[D,w]=(0,r.useState)(null);if(i){let e=(0,a.useLocale)();e!==g.defaultLocale&&i.startsWith("/")&&!i.startsWith(`/${e}`)&&(i=`/${e}${i}`)}let F=async({provider:e})=>{e?d?m(d,e):l.toast.error("please select a pricing item"):l.toast.error("please select payment method")},y=d?.payment_providers,j=e=>!y||0===y.length||y.includes(e),C=[];return"true"===e.stripe_enabled&&j("stripe")&&C.push({name:"stripe",title:"Stripe",icon_url:"/imgs/icons/stripe.png",onClick:()=>F({provider:"stripe"})}),"true"===e.creem_enabled&&j("creem")&&C.push({name:"creem",title:"Creem",icon_url:"/imgs/icons/creem.png",onClick:()=>F({provider:"creem"})}),"true"===e.paypal_enabled&&j("paypal")&&C.push({name:"paypal",title:"Paypal",icon_url:"/imgs/icons/paypal.svg",onClick:()=>F({provider:"paypal"})}),(0,t.jsx)("div",{className:(0,v.cn)("flex w-full items-center gap-2","flex-col justify-between",f),children:C.map(e=>(0,t.jsxs)(c.Button,{variant:"outline",className:(0,v.cn)("w-full gap-2"),disabled:o,onClick:()=>{e.onClick&&e.name?(w(e.name),e.onClick()):l.toast.error("invalid payment method")},children:[e.icon_url&&(0,t.jsx)(p.default,{src:e.icon_url,alt:e.title||e.name||"",width:24,height:24,className:"rounded-full"}),(0,t.jsx)("h3",{children:e.title}),D===e.name&&o&&(0,t.jsx)(n.Loader2,{className:"size-4 animate-spin"})]},e.name))})}function D(e){let r,i,n,a,l,o,p,x,g,v,D=(0,u.c)(51),{isLoading:y,pricingItem:j,onCheckout:C}=e,N=(0,s.useTranslations)("common.payment"),{isShowPaymentModal:E,setIsShowPaymentModal:_}=(0,h.useAppContext)(),{configs:A}=(0,h.useAppContext)();if((0,f.useMediaQuery)("(min-width: 768px)")){let e,r,i,n,a,s,l,o;return D[0]!==N?(e=N("choose_payment_method"),D[0]=N,D[1]=e):e=D[1],D[2]!==e?(r=(0,t.jsx)(d.DialogTitle,{children:e}),D[2]=e,D[3]=r):r=D[3],D[4]!==N?(i=N("choose_payment_method_description"),D[4]=N,D[5]=i):i=D[5],D[6]!==i?(n=(0,t.jsx)(d.DialogDescription,{children:i}),D[6]=i,D[7]=n):n=D[7],D[8]!==r||D[9]!==n?(a=(0,t.jsxs)(d.DialogHeader,{children:[r,n]}),D[8]=r,D[9]=n,D[10]=a):a=D[10],D[11]!==A||D[12]!==y||D[13]!==C||D[14]!==j?(s=(0,t.jsx)(b,{callbackUrl:"/",configs:A,loading:y,setLoading:F,pricingItem:j,onCheckout:C}),D[11]=A,D[12]=y,D[13]=C,D[14]=j,D[15]=s):s=D[15],D[16]!==a||D[17]!==s?(l=(0,t.jsxs)(d.DialogContent,{className:"sm:max-w-[425px]",children:[a,s]}),D[16]=a,D[17]=s,D[18]=l):l=D[18],D[19]!==E||D[20]!==_||D[21]!==l?(o=(0,t.jsx)(d.Dialog,{open:E,onOpenChange:_,children:l}),D[19]=E,D[20]=_,D[21]=l,D[22]=o):o=D[22],o}return D[23]!==N?(r=N("choose_payment_method"),D[23]=N,D[24]=r):r=D[24],D[25]!==r?(i=(0,t.jsx)(m.DrawerTitle,{children:r}),D[25]=r,D[26]=i):i=D[26],D[27]!==N?(n=N("choose_payment_method_description"),D[27]=N,D[28]=n):n=D[28],D[29]!==n?(a=(0,t.jsx)(m.DrawerDescription,{children:n}),D[29]=n,D[30]=a):a=D[30],D[31]!==i||D[32]!==a?(l=(0,t.jsxs)(m.DrawerHeader,{className:"text-left",children:[i,a]}),D[31]=i,D[32]=a,D[33]=l):l=D[33],D[34]!==A||D[35]!==y||D[36]!==C||D[37]!==j?(o=(0,t.jsx)(b,{callbackUrl:"/",configs:A,loading:y,setLoading:w,pricingItem:j,onCheckout:C,className:"px-4"}),D[34]=A,D[35]=y,D[36]=C,D[37]=j,D[38]=o):o=D[38],D[39]!==N?(p=N("cancel_title"),D[39]=N,D[40]=p):p=D[40],D[41]!==p?(x=(0,t.jsx)(m.DrawerFooter,{className:"pt-4",children:(0,t.jsx)(m.DrawerClose,{asChild:!0,children:(0,t.jsx)(c.Button,{variant:"outline",children:p})})}),D[41]=p,D[42]=x):x=D[42],D[43]!==l||D[44]!==o||D[45]!==x?(g=(0,t.jsxs)(m.DrawerContent,{children:[l,o,x]}),D[43]=l,D[44]=o,D[45]=x,D[46]=g):g=D[46],D[47]!==E||D[48]!==_||D[49]!==g?(v=(0,t.jsx)(m.Drawer,{open:E,onOpenChange:_,children:g}),D[47]=E,D[48]=_,D[49]=g,D[50]=v):v=D[50],v}function w(){}function F(){}var y=e.i(615978),j=e.i(686247),C=e.i(638678),N=e.i(330771),E=e.i(788250);function _(e){if(!e)return[];let t={currency:e.currency,amount:e.amount,price:e.price||"",original_price:e.original_price||""};return e.currencies&&e.currencies.length>0?[t,...e.currencies]:[t]}function A({section:e,className:u,currentSubscription:d}){let m=(0,a.useLocale)(),f=(0,s.useTranslations)("pages.pricing.messages"),{user:p,isShowPaymentModal:x,setIsShowSignModal:g,setIsShowPaymentModal:b,configs:w}=(0,h.useAppContext)(),[F,A]=(0,r.useState)(()=>{let t=e.items?.find(e=>e.product_id===d?.productId),r=e.groups?.find(e=>e.is_featured);return t?.group||r?.name||e.groups?.[0]?.name}),[k,S]=(0,r.useState)(null),[B,R]=(0,r.useState)(!1),[L,T]=(0,r.useState)(null),[P,z]=(0,r.useState)({});(0,r.useEffect)(()=>
9{if(e.items&&e.items.length>0){let t={};e.items.forEach(e=>{let r=_(e),i=function(e,t,r){if(0===e.length)return r;if("zh"===t){let t=e.find(e=>"cny"===e.currency.toLowerCase());if(t)return t.currency}return r}(r,m,e.currency),n=r.find(e=>e.currency.toLowerCase()===i.toLowerCase()),a=n?{...e,currency:n.currency,amount:n.amount,price:n.price,original_price:n.original_price,payment_product_id:n.payment_product_id||e.payment_product_id,payment_providers:n.payment_providers||e.payment_providers}:e;t[e.product_id]={selectedCurrency:i,displayedItem:a}}),z(t)}},[e.items,m]);let I=async e=>{if(!p)return void g(!0);let t=P[e.product_id]?.displayedItem||e;"true"===w.select_payment_enabled?(S(t),b(!0)):M(t,w.default_payment_provider)},M=async(e,t)=>{try{if(!p)return void g(!0);let r=(({paymentProvider:e})=>{let t={};return"true"===w.affonso_enabled&&["stripe","creem"].includes(e)&&(t.affonso_referral=(0,E.getCookie)("affonso_referral")||""),"true"===w.promotekit_enabled&&["stripe"].includes(e)&&(t.promotekit_referral=window.promotekit_referral?window.promotekit_referral:(0,E.getCookie)("promotekit_referral")||""),t})({paymentProvider:t||""}),i={product_id:e.product_id,currency:e.currency,locale:m||"en",payment_provider:t||"",metadata:r};R(!0),T(e.product_id);let n=await fetch("/api/payment/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(401===n.status){R(!1),T(null),S(null),g(!0);return}if(!n.ok)throw Error(`request failed with status ${n.status}`);let{code:a,message:s,data:l}=await n.json();if(0!==a)throw Error(s);let{checkoutUrl:o}=l;if(!o)throw Error("checkout url not found");window.location.href=o}catch(e){console.log("checkout failed: ",e),l.toast.error("checkout failed: "+e.message),R(!1),T(null)}};return(0,r.useEffect)(()=>{if(e.items){let t=e.items.find(e=>e.is_featured);T(t?.product_id||e.items[0]?.product_id),R(!1)}},[e.items]),(0,t.jsxs)("section",{id:e.id,className:(0,v.cn)("py-24 md:py-36",e.className,u),children:[(0,t.jsxs)("div",{className:"mx-auto mb-12 px-4 text-center md:px-8",children:[e.sr_only_title&&(0,t.jsx)("h1",{className:"sr-only",children:e.sr_only_title}),(0,t.jsx)("h2",{className:"mb-6 text-3xl font-bold text-pretty lg:text-4xl",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground mx-auto mb-4 max-w-xl lg:max-w-none lg:text-lg",children:e.description})]}),(0,t.jsxs)("div",{className:"container",children:[e.groups&&e.groups.length>0&&(0,t.jsx)("div",{className:"mx-auto mt-8 mb-16 flex w-full justify-center md:max-w-lg",children:(0,t.jsx)(N.Tabs,{value:F,onValueChange:A,className:"",children:(0,t.jsx)(N.TabsList,{children:e.groups.map((e,r)=>(0,t.jsxs)(N.TabsTrigger,{value:e.name||"",children:[e.title,e.label&&(0,t.jsx)(y.Badge,{className:"ml-2",children:e.label})]},r))})})}),(0,t.jsx)("div",{className:`mx-auto mt-0 grid w-full gap-6 md:grid-cols-${e.items?.filter(e=>!e.group||e.group===F)?.length}`,children:e.items?.map((r,a)=>{if(r.group&&r.group!==F)return null;let s=!1;d&&d.productId===r.product_id&&(s=!0);let l=P[r.product_id],u=l?.displayedItem||r,m=l?.selectedCurrency||r.currency,h=_(r);return(0,t.jsxs)(j.Card,{className:"relative",children:[r.label&&(0,t.jsx)("span",{className:"absolute inset-x-0 -top-3 mx-auto flex h-6 w-fit items-center rounded-full bg-linear-to-br/increasing from-purple-400 to-amber-300 px-3 py-1 text-xs font-medium text-amber-950 ring-1 ring-white/20 ring-offset-1 ring-offset-gray-950/5 ring-inset",children:r.label}),(0,t.jsxs)(j.CardHeader,{children:[(0,t.jsx)(j.CardTitle,{className:"font-medium",children:(0,t.jsx)("h3",{className:"text-sm font-medium",children:r.title})}),(0,t.jsxs)("div",{className:"my-3 flex items-baseline gap-2",children:[u.original_price&&(0,t.jsx)("span",{className:"text-muted-foreground text-sm line-through",children:u.original_price}),(0,t.jsxs)("div",{className:"my-3 block text-2xl font-semibold",children:[(0,t.jsx)("span",{className:"text-primary",children:u.price})," ",u.unit?(0,t.jsx)("span",{className:"text-muted-foreground text-sm font-normal",children:u.unit}):""]}),h.length>1&&(0,t.jsxs)(C.Select,{value:m,onValueChange:t=>((t,r)=>{let i=e.items?.find(e=>e.product_id===t);if(!i)return;let n=_(i).find(e=>e.currency.toLowerCase()===r.toLowerCase());if(n){let e={...i,currency:n.currency,amount:n.amount,price:n.price,original_price:n.original_price,payment_product_id:n.payment_product_id||i.payment_product_id,payment_providers:n.payment_providers||i.payment_providers};z(i=>({...i,[t]:{selectedCurrency:r,displayedItem:e}}))}})(r.product_id,t),children:[(0,t.jsx)(C.SelectTrigger,{size:"sm",className:"border-muted-foreground
9/30 bg-background/50 h-6 min-w-[60px] px-2 text-xs",children:(0,t.jsx)(C.SelectValue,{placeholder:"Currency"})}),(0,t.jsx)(C.SelectContent,{children:h.map(e=>(0,t.jsx)(C.SelectItem,{value:e.currency,className:"text-xs",children:e.currency.toUpperCase()},e.currency))})]})]}),(0,t.jsx)(j.CardDescription,{className:"text-sm",children:r.description}),r.tip&&(0,t.jsx)("span",{className:"text-muted-foreground text-sm",children:r.tip}),s?(0,t.jsx)(c.Button,{variant:"outline",className:"mt-4 h-9 w-full px-4 py-2",disabled:!0,children:(0,t.jsx)("span",{className:"hidden text-sm md:block",children:f("current_plan")})}):(0,t.jsx)(c.Button,{onClick:()=>I(r),disabled:B,className:(0,v.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","mt-4 h-9 w-full px-4 py-2","bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md shadow-black/20"),children:B&&r.product_id===L?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Loader2,{className:"size-4 animate-spin"}),(0,t.jsx)("span",{className:"block",children:f("processing")})]}):(0,t.jsxs)(t.Fragment,{children:[r.button?.icon&&(0,t.jsx)(o.SmartIcon,{name:r.button?.icon,className:"size-4"}),(0,t.jsx)("span",{className:"block",children:r.button?.title})]})})]}),(0,t.jsxs)(j.CardContent,{className:"space-y-4",children:[(0,t.jsx)("hr",{className:"border-dashed"}),r.features_title&&(0,t.jsx)("p",{className:"text-sm font-medium",children:r.features_title}),(0,t.jsx)("ul",{className:"list-outside space-y-3 text-sm",children:r.features?.map((e,r)=>(0,t.jsxs)("li",{className:"flex items-center gap-2",children:[(0,t.jsx)(i.Check,{className:"size-3"}),e]},r))})]})]},a)})})]}),(0,t.jsx)(D,{isLoading:B,pricingItem:k,onCheckout:(e,t)=>M(e,t)})]})}e.s(["Pricing",()=>A],669764)},900972,e=>{"use strict";let t=(0,e.i(889522).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["default",()=>t])},654243,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(884702),n=e.i(900972),n=n,a=e.i(653668),s=e.i(199978);e.i(741820);var l=e.i(799112),o=e.i(538630),u=e.i(642616),c=e.i(331597),d=e.i(600195),m=e.i(184499),h=e.i(847257),f=e.i(352162),p=e.i(291967),x=e.i(6140),g=e.i(575301),v=e.i(188625),b=e.i(950074),D=e.i(775827),w=e.i(987438),F=e.i(408896),y=e.i(415839),j=e.i(898175),C=e.i(385064),N=e.i(935125),E=e.i(715684),_="NavigationMenu",[A,k,S]=(0,F.createCollection)(_),[B,R,L]=(0,F.createCollection)(_),[T,P]=(0,f.createContextScope)(_,[S,L]),[z,I]=T(_),[M,H]=T(_),O=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,value:a,onValueChange:s,defaultValue:l,delayDuration:o=200,skipDelayDuration:u=300,orientation:c="horizontal",dir:d,...m}=e,[h,f]=i.useState(null),p=(0,v.useComposedRefs)(r,e=>f(e)),D=(0,b.useDirection)(d),w=i.useRef(0),F=i.useRef(0),y=i.useRef(0),[j,C]=i.useState(!0),[N,E]=(0,g.useControllableState)({prop:a,onChange:e=>{let t=u>0;""!==e?(window.clearTimeout(y.current),t&&C(!1)):(window.clearTimeout(y.current),y.current=window.setTimeout(()=>C(!0),u)),s?.(e)},defaultProp:l??"",caller:_}),A=i.useCallback(()=>{window.clearTimeout(F.current),F.current=window.setTimeout(()=>E(""),150)},[E]),k=i.useCallback(e=>{window.clearTimeout(F.current),E(e)},[E]),S=i.useCallback(e=>{N===e?window.clearTimeout(F.current):w.current=window.setTimeout(()=>{window.clearTimeout(F.current),E(e)},o)},[N,E,o]);return i.useEffect(()=>()=>{window.clearTimeout(w.current),window.clearTimeout(F.current),window.clearTimeout(y.current)},[]),(0,t.jsx)($,{scope:n,isRootMenu:!0,value:N,dir:D,orientation:c,rootNavigationMenu:h,onTriggerEnter:e=>{window.clearTimeout(w.current),j?S(e):k(e)},onTriggerLeave:()=>{window.clearTimeout(w.current),A()},onContentEnter:()=>window.clearTimeout(F.current),onContentLeave:A,onItemSelect:e=>{E(t=>t===e?"":e)},onItemDismiss:()=>E(""),children:(0,t.jsx)(x.Primitive.nav,{"aria-label":"Main","data-orientation":c,dir:D,...m,ref:p})})});O.displayName=_;var W="NavigationMenuSub";i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,value:n,onValueChange:a,defaultValue:s,orientation:l="horizontal",...o}=e,u=I(W,i),[c,d]=(0,g.useControllableState)({prop:n,onChange:a,defaultProp:s??"",caller:W});return(0,t.jsx)($,{scope:i,isRootMenu:!1,value:c,dir:u.dir,orientation:l,rootNavigationMenu:u.rootNavigationMenu,onTriggerEnter:e=>d(e),onItemSelect:e=>d(e),onItemDismiss:()=>d(""),children:(0,t.jsx)(x.Primitive.div,{"data-orientation":l,...o,ref:r})})}).displayName=W;var $=e=>{let{scope:r,isRootMenu:n,rootNavigationMenu:a,dir:s,orientation:l,children:o,value:u,onItemSelect:c,onItemDismiss:d,onTriggerEnter:m,onTriggerLeave:h,onContentEnter:f,onContentLeave:p}=e,[x,g]=i.useState(null),[v,b]=i.useState(new Map),[D,F]=i.useState(null);return(0,t.jsx)(z,{scope:r,isRootMenu:n,rootNavigationMenu:a,value:u,previousValue:(0,j.usePrevious)(u),baseId:(0,w.useId)(),dir:s,orientation:l,viewport:x,onViewportChange:g,indicatorTrack:D,onIndicatorTrackChange:F,onTriggerEnter:(0,N.useCallbackRef)(m),onTriggerLeave:(0,N.useCallbackRef)(h),onContentEnter:(0,N.useCallbackRef)(f),onContentLeave:(0,N.useCallbackRef)(p),onItemSelect:(0,N.useCallbackRef)(c),onItemDismiss:(0,N.useCallbackRef)(d),onViewportContentChange:i.useCallback((e,t)=>{b(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:i.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(A.Provider,{scope:r,children:(0,t.jsx)(M,{scope:r,items:v,children:o})})})},V="NavigationMenuList",q=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...n}=e,a=I(V,i),s=(0,t.jsx)(x.Primitive.ul,{"data-orientation":a.orientation,...n,ref:r});return(0,t.jsx)(x.Primitive.div,{style:{position:"relative"},ref:a.onIndicatorTrackChange,children:(0,t.jsx)(A.Slot,{scope:i,children:a.isRootMenu?(0,t.jsx)(ec,{asChild:!0,children:s}):s})})});q.displayName=V;var U="NavigationMenuItem",[K,X]=T(U),Y=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,value:a,...s}=e,l=(0,w.useId)(),o=i.useRef(null),u=i.useRef(null),c=i.useRef(null),d=i.useRef(()=>{}),m=i.useRef(!1),h=i.useCallback((e="start")=>{if(o.current){d.current();let t=eh(o.current);t.length&&ef("start"===e?t:t.reverse())}},[]),f=i.useCallback(()=>
9{if(o.current){var e;let t=eh(o.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),d.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(K,{scope:n,value:a||l||"LEGACY_REACT_AUTO_VALUE",triggerRef:u,contentRef:o,focusProxyRef:c,wasEscapeCloseRef:m,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:f,onContentFocusOutside:f,children:(0,t.jsx)(x.Primitive.li,{...s,ref:r})})});Y.displayName=U;var G="NavigationMenuTrigger",J=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,disabled:a,...s}=e,l=I(G,e.__scopeNavigationMenu),o=X(G,e.__scopeNavigationMenu),u=i.useRef(null),c=(0,v.useComposedRefs)(u,o.triggerRef,r),d=eg(l.baseId,o.value),m=ev(l.baseId,o.value),h=i.useRef(!1),f=i.useRef(!1),g=o.value===l.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.ItemSlot,{scope:n,value:o.value,children:(0,t.jsx)(em,{asChild:!0,children:(0,t.jsx)(x.Primitive.button,{id:d,disabled:a,"data-disabled":a?"":void 0,"data-state":ex(g),"aria-expanded":g,"aria-controls":m,...s,ref:c,onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,()=>{f.current=!1,o.wasEscapeCloseRef.current=!1}),onPointerMove:(0,p.composeEventHandlers)(e.onPointerMove,eb(()=>{a||f.current||o.wasEscapeCloseRef.current||h.current||(l.onTriggerEnter(o.value),h.current=!0)})),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(()=>{a||(l.onTriggerLeave(),h.current=!1)})),onClick:(0,p.composeEventHandlers)(e.onClick,()=>{l.onItemSelect(o.value),f.current=g}),onKeyDown:(0,p.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];g&&e.key===t&&(o.onEntryKeyDown(),e.preventDefault())})})})}),g&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(E.Root,{"aria-hidden":!0,tabIndex:0,ref:o.focusProxyRef,onFocus:e=>{let t=o.contentRef.current,r=e.relatedTarget,i=r===u.current,n=t?.contains(r);(i||!n)&&o.onFocusProxyEnter(i?"start":"end")}}),l.viewport&&(0,t.jsx)("span",{"aria-owns":m})]})]})});J.displayName=G;var Q="navigationMenu.linkSelect",Z=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,active:n,onSelect:a,...s}=e;return(0,t.jsx)(em,{asChild:!0,children:(0,t.jsx)(x.Primitive.a,{"data-active":n?"":void 0,"aria-current":n?"page":void 0,...s,ref:r,onClick:(0,p.composeEventHandlers)(e.onClick,e=>{let t=e.target,r=new CustomEvent(Q,{bubbles:!0,cancelable:!0});if(t.addEventListener(Q,e=>a?.(e),{once:!0}),(0,x.dispatchDiscreteCustomEvent)(t,r),!r.defaultPrevented&&!e.metaKey){let e=new CustomEvent(ea,{bubbles:!0,cancelable:!0});(0,x.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})});Z.displayName="NavigationMenuLink";var ee="NavigationMenuIndicator";i.forwardRef((e,r)=>{let{forceMount:i,...n}=e,a=I(ee,e.__scopeNavigationMenu),s=!!a.value;return a.indicatorTrack?h.default.createPortal((0,t.jsx)(D.Presence,{present:i||s,children:(0,t.jsx)(et,{...n,ref:r})}),a.indicatorTrack):null}).displayName=ee;var et=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,...a}=e,s=I(ee,n),l=k(n),[o,u]=i.useState(null),[c,d]=i.useState(null),m="horizontal"===s.orientation,h=!!s.value;i.useEffect(()=>{let e=l(),t=e.find(e=>e.value===s.value)?.ref.current;t&&u(t)},[l,s.value]);let f=()=>{o&&d({size:m?o.offsetWidth:o.offsetHeight,offset:m?o.offsetLeft:o.offsetTop})};return ep(o,f),ep(s.indicatorTrack,f),c?(0,t.jsx)(x.Primitive.div,{"aria-hidden":!0,"data-state":h?"visible":"hidden","data-orientation":s.orientation,...a,ref:r,style:{position:"absolute",...m?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`},...a.style}}):null}),er="NavigationMenuContent",ei=i.forwardRef((e,r)=>{let{forceMount:i,...n}=e,a=I(er,e.__scopeNavigationMenu),s=X(er,e.__scopeNavigationMenu),l=(0,v.useComposedRefs)(s.contentRef,r),o=s.value===a.value,u={value:s.value,triggerRef:s.triggerRef,focusProxyRef:s.focusProxyRef,wasEscapeCloseRef:s.wasEscapeCloseRef,onContentFocusOutside:s.onContentFocusOutside,onRootContentClose:s.onRootContentClose,...n};return a.viewport?(0,t.jsx)(en,{forceMount:i,...u,ref:l}):(0,t.jsx)(D.Presence,{present:i||o,children:(0,t.jsx)(es,{"data-state":ex(o),...u,ref:l,onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(a.onContentLeave)),style:{pointerEvents:!o&&a.isRootMenu?"none":void 0,...u.style}})})});ei.displayName=er;var en=i.forwardRef((e,t)=>
9{let{onViewportContentChange:r,onViewportContentRemove:i}=I(er,e.__scopeNavigationMenu);return(0,C.useLayoutEffect)(()=>{r(e.value,{ref:t,...e})},[e,t,r]),(0,C.useLayoutEffect)(()=>()=>i(e.value),[e.value,i]),null}),ea="navigationMenu.rootContentDismiss",es=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,value:a,triggerRef:s,focusProxyRef:l,wasEscapeCloseRef:o,onRootContentClose:u,onContentFocusOutside:c,...d}=e,m=I(er,n),h=i.useRef(null),f=(0,v.useComposedRefs)(h,r),x=eg(m.baseId,a),g=ev(m.baseId,a),b=k(n),D=i.useRef(null),{onItemDismiss:w}=m;i.useEffect(()=>{let e=h.current;if(m.isRootMenu&&e){let t=()=>{w(),u(),e.contains(document.activeElement)&&s.current?.focus()};return e.addEventListener(ea,t),()=>e.removeEventListener(ea,t)}},[m.isRootMenu,e.value,s,w,u]);let F=i.useMemo(()=>{let e=b().map(e=>e.value);"rtl"===m.dir&&e.reverse();let t=e.indexOf(m.value),r=e.indexOf(m.previousValue),i=a===m.value,n=r===e.indexOf(a);if(!i&&!n)return D.current;let s=(()=>{if(t!==r){if(i&&-1!==r)return t>r?"from-end":"from-start";if(n&&-1!==t)return t>r?"to-start":"to-end"}return null})();return D.current=s,s},[m.previousValue,m.value,m.dir,b,a]);return(0,t.jsx)(ec,{asChild:!0,children:(0,t.jsx)(y.DismissableLayer,{id:g,"aria-labelledby":x,"data-motion":F,"data-orientation":m.orientation,...d,ref:f,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(ea,{bubbles:!0,cancelable:!0});h.current?.dispatchEvent(e)},onFocusOutside:(0,p.composeEventHandlers)(e.onFocusOutside,e=>{c();let t=e.target;m.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,p.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,r=b().some(e=>e.ref.current?.contains(t)),i=m.isRootMenu&&m.viewport?.contains(t);(r||i||!m.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,p.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eh(e.currentTarget),r=document.activeElement,i=t.findIndex(e=>e===r);ef(e.shiftKey?t.slice(0,i).reverse():t.slice(i+1,t.length))?e.preventDefault():l.current?.focus()}}),onEscapeKeyDown:(0,p.composeEventHandlers)(e.onEscapeKeyDown,e=>{o.current=!0})})})}),el="NavigationMenuViewport",eo=i.forwardRef((e,r)=>{let{forceMount:i,...n}=e,a=!!I(el,e.__scopeNavigationMenu).value;return(0,t.jsx)(D.Presence,{present:i||a,children:(0,t.jsx)(eu,{...n,ref:r})})});eo.displayName=el;var eu=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:n,children:a,...s}=e,l=I(el,n),o=(0,v.useComposedRefs)(r,l.onViewportChange),u=H(er,e.__scopeNavigationMenu),[c,d]=i.useState(null),[m,h]=i.useState(null),f=c?c?.width+"px":void 0,g=c?c?.height+"px":void 0,b=!!l.value,w=b?l.value:l.previousValue;return ep(m,()=>{m&&d({width:m.offsetWidth,height:m.offsetHeight})}),(0,t.jsx)(x.Primitive.div,{"data-state":ex(b),"data-orientation":l.orientation,...s,ref:o,style:{pointerEvents:!b&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":f,"--radix-navigation-menu-viewport-height":g,...s.style},onPointerEnter:(0,p.composeEventHandlers)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,p.composeEventHandlers)(e.onPointerLeave,eb(l.onContentLeave)),children:Array.from(u.items).map(([e,{ref:r,forceMount:i,...n}])=>{let a=w===e;return(0,t.jsx)(D.Presence,{present:i||a,children:(0,t.jsx)(es,{...n,ref:(0,v.composeRefs)(r,e=>{a&&e&&h(e)})})},e)})})}),ec=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...n}=e,a=I("FocusGroup",i);return(0,t.jsx)(B.Provider,{scope:i,children:(0,t.jsx)(B.Slot,{scope:i,children:(0,t.jsx)(x.Primitive.div,{dir:a.dir,...n,ref:r})})})}),ed=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],em=i.forwardRef((e,r)=>{let{__scopeNavigationMenu:i,...n}=e,a=R(i),s=I("FocusGroupItem",i);return(0,t.jsx)(B.ItemSlot,{scope:i,children:(0,t.jsx)(x.Primitive.button,{...n,ref:r,onKeyDown:(0,p.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...ed].includes(e.key)){let t=a().map(e=>e.ref.current);if(["rtl"===s.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ed.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>ef(t)),e.preventDefault()}})})})});function eh(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function ef(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ep(e,t){let r=(0,N.useCallbackRef)(t);(0,C.useLayoutEffect)(()=>{let t=0;if(e){let i=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return i.observe(e),()=>{window.cancelAnimationFrame(t),i.unobserve(e)}}},[e,r])}function ex(e){return e?"open":"closed"}function eg(e,t){return`${e}-trigger-${t}`}function ev(e,t){return`${e}-content-${t}`}function eb(e){return t=>
9"mouse"===t.pointerType?e(t):void 0}var eD=e.i(294237),ew=e.i(152378),eF=e.i(526683);let ey=i.forwardRef((e,i)=>{let n,a,s,l,o,u,c,d=(0,r.c)(16);d[0]!==e?({className:a,children:n,viewport:l,...s}=e,d[0]=e,d[1]=n,d[2]=a,d[3]=s,d[4]=l):(n=d[1],a=d[2],s=d[3],l=d[4]);let m=void 0===l||l;return d[5]!==a?(o=(0,eF.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",a),d[5]=a,d[6]=o):o=d[6],d[7]!==m?(u=m&&(0,t.jsx)(eA,{}),d[7]=m,d[8]=u):u=d[8],d[9]!==n||d[10]!==s||d[11]!==i||d[12]!==o||d[13]!==u||d[14]!==m?(c=(0,t.jsxs)(O,{ref:i,"data-slot":"navigation-menu","data-viewport":m,role:"navigation",className:o,...s,children:[n,u]}),d[9]=n,d[10]=s,d[11]=i,d[12]=o,d[13]=u,d[14]=m,d[15]=c):c=d[15],c});function ej(e){let i,n,a,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...n}=e,l[0]=e,l[1]=i,l[2]=n):(i=l[1],n=l[2]),l[3]!==i?(a=(0,eF.cn)("group flex flex-1 list-none items-center justify-center gap-1",i),l[3]=i,l[4]=a):a=l[4],l[5]!==n||l[6]!==a?(s=(0,t.jsx)(q,{"data-slot":"navigation-menu-list",className:a,...n}),l[5]=n,l[6]=a,l[7]=s):s=l[7],s}function eC(e){let i,n,a,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...n}=e,l[0]=e,l[1]=i,l[2]=n):(i=l[1],n=l[2]),l[3]!==i?(a=(0,eF.cn)("relative",i),l[3]=i,l[4]=a):a=l[4],l[5]!==n||l[6]!==a?(s=(0,t.jsx)(Y,{"data-slot":"navigation-menu-item",className:a,...n}),l[5]=n,l[6]=a,l[7]=s):s=l[7],s}ey.displayName=O.displayName;let eN=(0,eD.cva)("group inline-flex h-8 w-max items-center justify-center rounded-md px-4 py-1 text-sm text-muted-foreground font-medium hover:bg-foreground
9/5 hover:text-foreground focus:bg-foreground/5 focus:text-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-foreground/5 data-[state=open]:text-foreground data-[state=open]:focus:bg-foreground/5 data-[state=open]:bg-foreground/5 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");function eE(e){let i,n,a,s,l,o,u=(0,r.c)(11);return u[0]!==e?({className:n,children:i,...a}=e,u[0]=e,u[1]=i,u[2]=n,u[3]=a):(i=u[1],n=u[2],a=u[3]),u[4]!==n?(s=(0,eF.cn)(eN(),"group",n),u[4]=n,u[5]=s):s=u[5],u[6]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(ew.ChevronDownIcon,{className:"relative top-[1px] ml-1.5 size-3 opacity-75 transition duration-300 group-data-[state=open]:translate-y-px","aria-hidden":"true",strokeWidth:2.5}),u[6]=l):l=u[6],u[7]!==i||u[8]!==a||u[9]!==s?(o=(0,t.jsxs)(J,{"data-slot":"navigation-menu-trigger",className:s,...a,children:[i," ",l]}),u[7]=i,u[8]=a,u[9]=s,u[10]=o):o=u[10],o}function e_(e){let i,n,a,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...n}=e,l[0]=e,l[1]=i,l[2]=n):(i=l[1],n=l[2]),l[3]!==i?(a=(0,eF.cn)("left-0 top-0 w-full p-2 pr-2.5 md:absolute md:w-auto","data-[motion=from-end]:animate-enter-from-right data-[motion=from-start]:animate-enter-from-left data-[motion=to-end]:animate-exit-to-right data-[motion=to-start]:animate-exit-to-left","group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:rounded-(--radius) group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:-translate-x-1/3 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:border-transparent group-data-[viewport=false]/navigation-menu:shadow-lg group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-200",i),l[3]=i,l[4]=a):a=l[4],l[5]!==n||l[6]!==a?(s=(0,t.jsx)(ei,{"data-slot":"navigation-menu-content",className:a,...n}),l[5]=n,l[6]=a,l[7]=s):s=l[7],s}function eA(e){let i,n,a,s,l,o=(0,r.c)(9);return o[0]!==e?({className:i,...n}=e,o[0]=e,o[1]=i,o[2]=n):(i=o[1],n=o[2]),o[3]===Symbol.for("react.memo_cache_sentinel")?(a=(0,eF.cn)("px-(--viewport-outer-px) fixed inset-x-0 top-12 isolate z-50 mx-auto flex max-w-6xl"),o[3]=a):a=o[3],o[4]!==i?(s=(0,eF.cn)("bg-popover text-popover-foreground h-(--radix-navigation-menu-viewport-height) ring-foreground/10 rounded-(--radius) md:w-(--radix-navigation-menu-viewport-width) relative mt-1.5 w-full origin-top overflow-hidden border border-transparent p-0.5 shadow-xl shadow-black/10 ring-1 transition-[width,height] duration-200","data-[state=closed]:animate-scale-out data-[state=open]:animate-scale-in",i),o[4]=i,o[5]=s):s=o[5],o[6]!==n||o[7]!==s?(l=(0,t.jsx)("div",{className:a,children:(0,t.jsx)(eo,{"data-slot":"navigation-menu-viewport",className:s,...n})}),o[6]=n,o[7]=s,o[8]=l):l=o[8],l}function ek(e){let i,n,a,s,l=(0,r.c)(8);return l[0]!==e?({className:i,...n}=e,l[0]=e,l[1]=i,l[2]=n):(i=l[1],n=l[2]),l[3]!==i?(a=(0,eF.cn)("data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 data-[active=true]:text-foreground hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-md p-2 text-sm outline-none transition-all focus-visible:outline-1 focus-visible:ring-[3px] [&_svg:not([class*='size-'])]:size-4",i),l[3]=i,l[4]=a):a=l[4],l[5]!==n||l[6]!==a?(s=(0,t.jsx)(Z,{"data-slot":"navigation-menu-link",className:a,...n}),l[5]=n,l[6]=a,l[7]=s):s=l[7],s}function eS(e){let n,a,s,l=(0,r.c)(4),[o,u]=(0,i.useState)(!1);return(l[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{u(!0)},a=[],l[0]=n,l[1]=a):(n=l[0],a=l[1]),(0,i.useEffect)(n,a),o)?(l[2]!==e?(s=(0,t.jsx)(eE,{...e}),l[2]=e,l[3]=s):s=l[3],s):null}function eB({header:e}){let[h,f]=(0,i.useState)(!1),[p,x]=(0,i.useState)(!1),g=(0,i.useRef)(!1),v=(0,i.useRef)(null),b=function(e){let t,n,a=(0,r.c)(3),[s,l]=(0,i.useState)(!0);return a[0]!==e?(t=()=>{let t=window.matchMedia(e);l(t.matches);let r=()=>l(t.matches);return t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},n=[e],a[0]=e,a[1]=t,a[2]=n):(t=a[1],n=a[2]),(0,i.useEffect)(t,n),s}("(min-width: 64rem)"),D=(0,s.usePathname)();function w({title:e,description:r,children:i,href:n,target:a,...l}){return(0,t.jsx)("li",{...l,children:(0,t.jsx)(ek,{asChild:!0,children:(0,t.jsxs)(s.Link,{href:n,target:a||"_self",className:(0,eF.cn)("grid gap-3.5",i?"grid-cols-[auto_1fr]":"grid-cols-1"),children:[i&&(0,t.jsx)("div",{className:"bg-background ring-foreground
9/10 relative flex size-9 items-center justify-center rounded border border-transparent shadow-sm ring-1",children:i}),(0,t.jsxs)("div",{className:"space-y-0.5",children:[(0,t.jsx)("div",{className:"text-foreground text-sm font-medium",children:e}),(0,t.jsx)("p",{className:"text-muted-foreground line-clamp-1 text-xs",children:r})]})]})})})}return(0,i.useEffect)(()=>{let e=()=>{null==v.current&&(v.current=window.requestAnimationFrame(()=>{v.current=null;let e=window.scrollY>50;e!==g.current&&(g.current=e,x(e))}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),null!=v.current&&(window.cancelAnimationFrame(v.current),v.current=null)}},[]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("header",{"data-state":h?"active":"inactive",...p&&{"data-scrolled":!0},className:"has-data-[state=open]:bg-background/50 fixed inset-x-0 top-0 z-50 has-data-[state=open]:h-screen has-data-[state=open]:backdrop-blur",children:(0,t.jsx)("div",{className:(0,eF.cn)("absolute inset-x-0 top-0 z-50 h-18 border-transparent ring-1 ring-transparent transition-all duration-300","in-data-scrolled:border-foreground
9/5 in-data-scrolled:bg-background/75 in-data-scrolled:border-b in-data-scrolled:backdrop-blur","has-data-[state=open]:ring-foreground/5 has-data-[state=open]:bg-card/75 has-data-[state=open]:h-[calc(var(--navigation-menu-viewport-height)+3.4rem)] has-data-[state=open]:border-b has-data-[state=open]:shadow-lg has-data-[state=open]:shadow-black/10 has-data-[state=open]:backdrop-blur","max-lg:in-data-[state=active]:bg-background/75 max-lg:h-14 max-lg:overflow-hidden max-lg:border-b max-lg:in-data-[state=active]:h-screen max-lg:in-data-[state=active]:backdrop-blur"),children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between lg:py-5",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-8 max-lg:h-14 max-lg:w-full max-lg:border-b",children:[e.brand&&(0,t.jsx)(l.BrandLogo,{brand:e.brand}),b&&(0,t.jsx)(()=>(0,t.jsx)(ey,{viewport:!1,className:"**:data-[slot=navigation-menu-content]:top-10 max-lg:hidden",children:(0,t.jsx)(ej,{className:"gap-2",children:e.nav?.items?.map((e,r)=>e.children&&0!==e.children.length?(0,t.jsxs)(eC,{children:[(0,t.jsxs)(eS,{className:"flex flex-row items-center gap-2 text-sm",children:[e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon,className:"h-4 w-4"}),e.title]}),(0,t.jsx)(e_,{className:"min-w-2xs origin-top p-0.5",children:(0,t.jsx)("div",{className:"border-foreground
9/5 bg-card ring-foreground/5 rounded-[calc(var(--radius)-2px)] border border-transparent p-2 shadow ring-1",children:(0,t.jsx)("ul",{className:"mt-1 space-y-2",children:e.children?.map((e,r)=>(0,t.jsx)(w,{href:e.url||"",target:e.target||"_self",title:e.title||"",description:e.description||"",children:e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon})},r))})})})]},r):(0,t.jsx)(ek,{asChild:!0,children:(0,t.jsxs)(s.Link,{href:e.url||"",target:e.target||"_self",className:`flex flex-row items-center gap-2 px-4 py-1.5 text-sm ${e.is_active||D.endsWith(e.url)?"bg-muted/40 text-muted-foreground":""}`,children:[e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon}),e.title]})},r))})}),{}),(0,t.jsxs)("button",{onClick:()=>f(!h),"aria-label":!0==h?"Close Menu":"Open Menu",className:"relative z-20 -m-2.5 -mr-3 block cursor-pointer p-2.5 lg:hidden",children:[(0,t.jsx)(n.default,{className:"m-auto size-5 duration-200 in-data-[state=active]:scale-0 in-data-[state=active]:rotate-180 in-data-[state=active]:opacity-0"}),(0,t.jsx)(a.X,{className:"absolute inset-0 m-auto size-5 scale-0 -rotate-180 opacity-0 duration-200 in-data-[state=active]:scale-100 in-data-[state=active]:rotate-0 in-data-[state=active]:opacity-100"})]})]}),!b&&h&&(0,t.jsx)(({closeMenu:r})=>(0,t.jsx)("nav",{role:"navigation",className:"w-full [--color-border:--alpha(var(--color-foreground)/5%)] [--color-muted:--alpha(var(--color-foreground)/5%)]",children:(0,t.jsx)(m.Accordion,{type:"single",collapsible:!0,className:"-mx-4 mt-0.5 space-y-0.5 **:hover:no-underline",children:e.nav?.items?.map((e,i)=>(0,t.jsx)(m.AccordionItem,{value:e.title||"",className:"group relative border-b-0 before:pointer-events-none before:absolute before:inset-x-4 before:bottom-0 before:border-b",children:e.children&&e.children.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.AccordionTrigger,{className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title}),(0,t.jsx)(m.AccordionContent,{className:"pb-5",children:(0,t.jsx)("ul",{children:e.children?.map((e,i)=>(0,t.jsx)("li",{children:(0,t.jsxs)(s.Link,{href:e.url||"",onClick:r,className:"grid grid-cols-[auto_1fr] items-center gap-2.5 px-4 py-2",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"flex items-center justify-center *:size-4",children:e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon})}),(0,t.jsx)("div",{className:"text-base",children:e.title})]})},i))})})]}):(0,t.jsx)(s.Link,{href:e.url||"",onClick:r,className:"data-[state=open]:bg-muted flex items-center justify-between px-4 py-3 text-lg **:!font-normal",children:e.title})},i))})}),{closeMenu:()=>f(!1)}),(0,t.jsx)("div",{className:"mb-6 hidden w-full flex-wrap items-center justify-end space-y-8 in-data-[state=active]:flex max-lg:in-data-[state=active]:mt-6 md:flex-nowrap lg:m-0 lg:flex lg:w-fit lg:gap-6 lg:space-y-0 lg:border-transparent lg:bg-transparent lg:p-0 lg:shadow-none dark:shadow-none dark:lg:bg-transparent",children:(0,t.jsxs)("div",{className:"flex w-full flex-row items-center gap-4 sm:flex-row sm:gap-6 sm:space-y-0 md:w-fit",children:[e.buttons&&e.buttons.map((e,r)=>(0,t.jsxs)(s.Link,{href:e.url||"",target:e.target||"_self",className:(0,eF.cn)("focus-visible:ring-ring inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50","h-7 px-3 ring-0","outline"===e.variant?"bg-background border-primary ring-foreground/10 hover:bg-muted/50 dark:ring-foreground/15 dark:hover:bg-muted/50 border border-transparent shadow-sm ring-1 shadow-black/15 duration-200":"bg-primary text-primary-foreground hover:bg-primary/90 border-[0.5px] border-white/25 shadow-md ring-1 shadow-black/20 ring-(--ring-color) [--ring-color:color-mix(in_oklab,var(--color-foreground)15%,var(--color-primary))]"),children:[e.icon&&(0,t.jsx)(c.SmartIcon,{name:e.icon,className:"size-4"}),(0,t.jsx)("span",{children:e.title})]},r)),e.show_theme?(0,t.jsx)(d.ThemeToggler,{}):null,e.show_locale?(0,t.jsx)(o.LocaleSelector,{}):null,(0,t.jsx)("div",{className:"flex-1 md:hidden"}),e.show_sign?(0,t.jsx)(u.SignUser,{userNav:e.user_nav}):null]})})]})})})})})}e.s(["Header",()=>eB],654243)},887739,e=>{"use strict";var t=e.i(466471),r=e.i(536355),i=e.i(199978);e.i(741820);var n=e.i(24963),a=e.i(526683);function s(e){let s,c,d,m,h,f,p,x,g,v,b,D,w,F,y,j,C,N,E,_,A,k,S,B,R,L,T,P,z,I,M,H,O,W,$,V,q,U,K,X,Y,G,J,Q,Z,ee,et,er,ei=(0,r.c)(150),{section:en}=e;ei[0]!==en.characters?(s=en.characters??[],ei[0]=en.characters,ei[1]=s):s=ei[1];let ea=s;ei[2]!==en.quick_facts?(c=en.quick_facts??[],ei[2]=en.quick_facts,ei[3]=c):c=ei[3];let es=c;ei[4]!==en.relationships?(d=en.relationships??[],ei[4]=en.relationships,ei[5]=d):d=ei[5];let el=d;ei[6]!==en.questions?(m=en.questions??[],ei[6]=en.questions,ei[7]=m):m=ei[7];let eo=m;ei[8]!==en.guides?(h=en.guides??[],ei[8]=en.guides,ei[9]=h):h=ei[9];let eu=h,ec=en.id;if(ei[10]!==en.className?(f=(0,a.cn)("bg-muted/20 overflow-x-hidden py-16 md:py-24",en.className),ei[10]=en.className,ei[11]=f):f=ei[11],ei[12]!==en.eyebrow?(p=en.eyebrow&&(0,t.jsx)("p",{className:"text-primary mb-3 text-sm font-semibold tracking-[0.18em] uppercase",children:en.eyebrow}),ei[12]=en.eyebrow,ei[13]=p):p=ei[13],ei[14]!==en.title?(x=(0,t.jsx)("h2",{className:"text-foreground text-3xl font-semibold tracking-tight md:text-4xl",children:en.title}),ei[14]=en.title,ei[15]=x):x=ei[15],ei[16]!==en.description?(g=en.description&&(0,t.jsx)("p",{className:"text-muted-foreground mt-4 text-base leading-7 md:text-lg",children:en.description}),ei[16]=en.description,ei[17]=g):g=ei[17],ei[18]!==en.build_note?(v=en.build_note&&(0,t.jsxs)("div",{className:"bg-card text-muted-foreground mt-6 inline-flex max-w-full flex-wrap items-center justify-center gap-x-2 gap-y-1 rounded-full border px-4 py-2 text-sm shadow-sm",children:[(0,t.jsx)("span",{className:"text-foreground font-medium",children:en.build_note.label}),(0,t.jsx)("span",{children:en.build_note.value})]}),ei[18]=en.build_note,ei[19]=v):v=ei[19],ei[20]!==g||ei[21]!==v||ei[22]!==p||ei[23]!==x?(b=(0,t.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[p,x,g,v]}),ei[20]=g,ei[21]=v,ei[22]=p,ei[23]=x,ei[24]=b):b=ei[24],ei[25]!==ea||ei[26]!==en.profile_label||ei[27]!==en.unavailable_label){let e;ei[29]!==en.profile_label||ei[30]!==en.unavailable_label?(e=e=>(0,t.jsxs)("article",{className:"bg-card min-w-0 overflow-hidden rounded-2xl border shadow-sm",children:[(0,t.jsx)("div",{className:"bg-muted aspect-[4/5] overflow-hidden",children:(0,t.jsx)(n.LazyImage,{src:e.image,alt:e.alt,className:"h-full w-full object-cover"})}),(0,t.jsxs)("div",{className:"space-y-3 p-3 sm:p-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-foreground truncate text-base font-semibold sm:text-lg",children:e.name}),(0,t.jsx)("p",{className:"text-primary mt-1 text-xs leading-5 font-medium sm:text-sm",children:e.role})]}),e.facts&&e.facts.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.facts.map(u)}),e.status&&(0,t.jsx)("p",{className:"text-muted-foreground text-[11px] leading-4",children:e.status}),e.href?(0,t.jsxs)(i.Link,{href:e.href,className:"text-primary inline-flex text-sm font-medium hover:underline",children:[en.profile_label??"View Profile"," ",(0,t.jsx)("span",{"aria-hidden":"true",children:"→"})]}):(0,t.jsx)("span",{className:"text-muted-foreground block text-xs leading-5",children:en.unavailable_label??"Profile not available yet"})]})]},e.name),ei[29]=en.profile_label,ei[30]=en.unavailable_label,ei[31]=e):e=ei[31],D=ea.map(e),ei[25]=ea,ei[26]=en.profile_label,ei[27]=en.unavailable_label,ei[28]=D}else D=ei[28];ei[32]!==D?(w=(0,t.jsx)("div",{className:"mt-10 grid grid-cols-2 gap-3 sm:gap-5 lg:grid-cols-4",children:D}),ei[32]=D,ei[33]=w):w=ei[33];let ed=`${en.id}-facts`,em=`${en.id}-facts`;ei[34]!==en.quick_facts_title||ei[35]!==em?(F=(0,t.jsx)("h3",{id:em,className:"text-2xl font-semibold",children:en.quick_facts_title}),ei[34]=en.quick_facts_title,ei[35]=em,ei[36]=F):F=ei[36],ei[37]!==en.quick_facts_description?(y=(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-6",children:en.quick_facts_description}),ei[37]=en.quick_facts_description,ei[38]=y):y=ei[38],ei[39]!==F||ei[40]!==y?(j=(0,t.jsxs)("div",{className:"mb-6",children:[F,y]}),ei[39]=F,ei[40]=y,ei[41]=j):j=ei[41];let eh=en.fact_labels?.character;ei[42]!==eh?(C=(0,t.jsx)("th",{className:"px-5 py-3 font-medium",children:eh}),ei[42]=eh,ei[43]=C):C=ei[43];let ef=en.fact_labels?.role;ei[44]!==ef?(N=(0,t.jsx)("th",{className:"px-5 py-3 font-medium",children:ef}),ei[44]=ef,ei[45]=N):N=ei[45];let ep=en.fact_labels?.height;ei[46]!==ep?(E=(0,t.jsx)("th",{className:"px-5 py-3 font-medium",children:ep}),ei[46]=ep,ei[47]=E):E=ei[47];let ex=en.fact_labels?.birthday;ei[48]!==ex?(_=(0,t.jsx)("th",{className:"px-5 py-3 font-medium",children:ex}),ei[48]=ex,ei[49]=_):_=ei[49];let eg=en.fact_labels?.profile;if(ei[50]!==eg?(A=(0,t.jsx)("th",{className:"px-5 py-3 font-medium",children:eg}),ei[50]=eg,ei[51]=A):A=ei[51],ei[52]!==C||ei[53]!==N||ei[54]!==E||ei[55]!==_||ei[56]!==A?(k=(0,t.jsx)("thead",{className:"bg-muted/60 text-muted-foreground",children:(0,t.jsxs)("tr",{children:[C,N,E,_,A]})}),ei[52]=C,ei[53]=N,ei[54]=E,ei[55]=_,ei[56]=A,ei[57]=k):k=ei[57],ei[58]!==es||ei[59]!==en.profile_label||ei[60]!==en.unavailable_label){let e;ei[62]!==en.profile_label||ei[63]!==en.unavailable_label?(e=e=>(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"px-5 py-4 font-medium",children:e.character}),(0,t.jsx)("td",{className:"text-muted-foreground px-5 py-4",children:e.role}),(0,t.jsx)("td",{className:"text-muted-foreground px-5 py-4",children:e.height}),(0,t.jsx)("td",{className:"text-muted-foreground px-5 py-4",children:e.birthday}),(0,t.jsx)("td",{className:"px-5 py-4",children:e.href?(0,t.jsx)(i.Link,{href:e.href,className:"text-primary hover:underline",children:en.profile_label??"View Profile"}):(0,t.jsx)("span",{className:"text-muted-foreground",children:en.unavailable_label})})]},e.character),ei[62]=en.profile_label,ei[63]=en.unavailable_label,ei[64]=e):e=ei[64],S=es.map(e),ei[58]=es,ei[59]=en.profile_label,ei[60]=en.unavailable_label,ei[61]=S}else S=ei[61];if(ei[65]!==S?(B=(0,t.jsx)("tbody",{className:"divide-y",children:S}),ei[65]=S,ei[66]=B):B=ei[66],ei[67]!==k||ei[68]!==B?(R=(0,t.jsx)("div",{className:"bg-background hidden overflow-hidden rounded-2xl border md:block",children:(0,t.jsxs)("table",{className:"w-full text-left text-sm",children:[k,B]})}),ei[67]=k,ei[68]=B,ei[69]=R):R=ei[69],ei[70]!==es||ei[71]!==en.fact_labels?.birthday||ei[72]!==e
9n.fact_labels?.height||ei[73]!==en.fact_labels?.role||ei[74]!==en.profile_label){let e;ei[76]!==en.fact_labels?.birthday||ei[77]!==en.fact_labels?.height||ei[78]!==en.fact_labels?.role||ei[79]!==en.profile_label?(e=e=>(0,t.jsxs)("div",{className:"bg-card rounded-2xl border p-4",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("h4",{className:"font-semibold",children:e.character}),e.href&&(0,t.jsx)(i.Link,{href:e.href,className:"text-primary text-xs hover:underline",children:en.profile_label??"View Profile"})]}),(0,t.jsxs)("dl",{className:"text-muted-foreground mt-3 grid grid-cols-2 gap-x-4 gap-y-2 text-xs leading-5",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"font-medium",children:en.fact_labels?.role}),(0,t.jsx)("dd",{children:e.role})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"font-medium",children:en.fact_labels?.height}),(0,t.jsx)("dd",{children:e.height})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("dt",{className:"font-medium",children:en.fact_labels?.birthday}),(0,t.jsx)("dd",{children:e.birthday})]})]})]},e.character),ei[76]=en.fact_labels?.birthday,ei[77]=en.fact_labels?.height,ei[78]=en.fact_labels?.role,ei[79]=en.profile_label,ei[80]=e):e=ei[80],L=es.map(e),ei[70]=es,ei[71]=en.fact_labels?.birthday,ei[72]=en.fact_labels?.height,ei[73]=en.fact_labels?.role,ei[74]=en.profile_label,ei[75]=L}else L=ei[75];ei[81]!==L?(T=(0,t.jsx)("div",{className:"grid gap-3 md:hidden",children:L}),ei[81]=L,ei[82]=T):T=ei[82],ei[83]!==ed||ei[84]!==j||ei[85]!==R||ei[86]!==T?(P=(0,t.jsxs)("section",{className:"mt-16","aria-labelledby":ed,children:[j,R,T]}),ei[83]=ed,ei[84]=j,ei[85]=R,ei[86]=T,ei[87]=P):P=ei[87];let ev=`${en.id}-relationships`,eb=`${en.id}-relationships`;ei[88]!==en.relationships_title||ei[89]!==eb?(z=(0,t.jsx)("h3",{id:eb,className:"text-2xl font-semibold",children:en.relationships_title}),ei[88]=en.relationships_title,ei[89]=eb,ei[90]=z):z=ei[90],ei[91]!==en.relationships_description?(I=(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-6",children:en.relationships_description}),ei[91]=en.relationships_description,ei[92]=I):I=ei[92],ei[93]!==z||ei[94]!==I?(M=(0,t.jsxs)("div",{className:"mb-6",children:[z,I]}),ei[93]=z,ei[94]=I,ei[95]=M):M=ei[95],ei[96]!==el?(H=el.map(o),ei[96]=el,ei[97]=H):H=ei[97],ei[98]!==H?(O=(0,t.jsx)("div",{className:"grid gap-4 md:grid-cols-3",children:H}),ei[98]=H,ei[99]=O):O=ei[99],ei[100]!==ev||ei[101]!==M||ei[102]!==O?(W=(0,t.jsxs)("section",{className:"mt-16","aria-labelledby":ev,children:[M,O]}),ei[100]=ev,ei[101]=M,ei[102]=O,ei[103]=W):W=ei[103];let eD=`${en.id}-questions`,ew=`${en.id}-questions`;if(ei[104]!==en.questions_title||ei[105]!==ew?($=(0,t.jsx)("h3",{id:ew,className:"text-2xl font-semibold",children:en.questions_title}),ei[104]=en.questions_title,ei[105]=ew,ei[106]=$):$=ei[106],ei[107]!==en.questions_description?(V=(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-6",children:en.questions_description}),ei[107]=en.questions_description,ei[108]=V):V=ei[108],ei[109]!==$||ei[110]!==V?(q=(0,t.jsxs)("div",{className:"mb-6",children:[$,V]}),ei[109]=$,ei[110]=V,ei[111]=q):q=ei[111],ei[112]!==eo||ei[113]!==en.read_more_label){let e;ei[115]!==en.read_more_label?(e=e=>(0,t.jsxs)("article",{className:"bg-card rounded-2xl border p-5",children:[(0,t.jsx)("h4",{className:"font-semibold",children:e.question}),(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-6",children:e.answer}),e.href&&(0,t.jsxs)(i.Link,{href:e.href,className:"text-primary mt-3 inline-flex text-sm hover:underline",children:[en.read_more_label??"Read the profile"," ",(0,t.jsx)("span",{"aria-hidden":"true",children:"→"})]}),e.spoiler&&(0,t.jsx)("p",{className:"text-primary mt-3 text-xs font-medium",children:e.spoiler})]},e.question),ei[115]=en.read_more_label,ei[116]=e):e=ei[116],U=eo.map(e),ei[112]=eo,ei[113]=en.read_more_label,ei[114]=U}else U=ei[114];ei[117]!==U?(K=(0,t.jsx)("div",{className:"grid gap-3 md:grid-cols-2",children:U}),ei[117]=U,ei[118]=K):K=ei[118],ei[119]!==eD||ei[120]!==q||ei[121]!==K?(X=(0,t.jsxs)("section",{className:"mt-16","aria-labelledby":eD,children:[q,K]}),ei[119]=eD,ei[120]=q,ei[121]=K,ei[122]=X):X=ei[122];let eF=`${en.id}-guides`,ey=`${en.id}-guides`;
9return ei[123]!==en.guides_title||ei[124]!==ey?(Y=(0,t.jsx)("h3",{id:ey,className:"text-2xl font-semibold",children:en.guides_title}),ei[123]=en.guides_title,ei[124]=ey,ei[125]=Y):Y=ei[125],ei[126]!==en.guides_description?(G=(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-6",children:en.guides_description}),ei[126]=en.guides_description,ei[127]=G):G=ei[127],ei[128]!==Y||ei[129]!==G?(J=(0,t.jsxs)("div",{className:"mb-6",children:[Y,G]}),ei[128]=Y,ei[129]=G,ei[130]=J):J=ei[130],ei[131]!==eu?(Q=eu.map(l),ei[131]=eu,ei[132]=Q):Q=ei[132],ei[133]!==Q?(Z=(0,t.jsx)("div",{className:"grid gap-3 md:grid-cols-3",children:Q}),ei[133]=Q,ei[134]=Z):Z=ei[134],ei[135]!==eF||ei[136]!==J||ei[137]!==Z?(ee=(0,t.jsxs)("section",{className:"mt-16","aria-labelledby":eF,children:[J,Z]}),ei[135]=eF,ei[136]=J,ei[137]=Z,ei[138]=ee):ee=ei[138],ei[139]!==b||ei[140]!==w||ei[141]!==P||ei[142]!==W||ei[143]!==X||ei[144]!==ee?(et=(0,t.jsxs)("div",{className:"container",children:[b,w,P,W,X,ee]}),ei[139]=b,ei[140]=w,ei[141]=P,ei[142]=W,ei[143]=X,ei[144]=ee,ei[145]=et):et=ei[145],ei[146]!==en.id||ei[147]!==et||ei[148]!==f?(er=(0,t.jsx)("section",{id:ec,className:f,children:et}),ei[146]=en.id,ei[147]=et,ei[148]=f,ei[149]=er):er=ei[149],er}function l(e){return(0,t.jsxs)(i.Link,{href:e.href,className:"bg-card hover:bg-muted/60 rounded-2xl border p-5 transition-colors",children:[(0,t.jsx)("h4",{className:"font-semibold",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-6",children:e.description})]},e.href)}function o(e){return(0,t.jsxs)("article",{className:"bg-card rounded-2xl border p-5",children:[(0,t.jsx)("h4",{className:"font-semibold",children:e.pair}),(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-6",children:e.description}),e.spoiler&&(0,t.jsx)("p",{className:"text-primary mt-3 text-xs font-medium",children:e.spoiler})]},e.pair)}function u(e){return(0,t.jsx)("span",{className:"text-muted-foreground rounded-full border px-2 py-1 text-[11px] leading-4 sm:text-xs",children:e},e)}e.s(["CharacterHub",()=>s])},663657,e=>{"use strict";var t=e.i(466471),r=e.i(884702),i=e.i(103979),n=e.i(623099),a=e.i(199978);e.i(741820);var s=e.i(331597),l=e.i(511398),o=e.i(943592),u=e.i(526683);function c({section:e,className:c}){let d=(0,n.useLocale)(),m=d?.startsWith("zh"),h=e.game_embed_mode||"iframe",[f,p]=(0,r.useState)(!e.lazy_load),[x,g]=(0,r.useState)(!1),[v,b]=(0,r.useState)(!1),[D,w]=(0,r.useState)(!1),F=(0,r.useRef)(null),y=(0,r.useRef)(null),j=e.highlight_text??"",C=(0,r.useMemo)(()=>e.title&&j?e.title.split(j,2):null,[e.title,j]),N=(0,r.useMemo)(()=>({version:m?"版本":"Version",updatedAt:m?"更新于":"Updated",fullscreen:m?"全屏":"Fullscreen",refresh:m?"刷新":"Refresh",startGame:m?"开始游戏":"Start Game",loadFailed:m?"加载失败,请重试或使用独立页面。":"Failed to load. Please retry or open the standalone page.",retryLoad:m?"重试加载":"Retry",openStandalone:m?"打开独立页面":"Open Standalone Page",restart:m?"重新开始":"Restart",contentWarning:m?"内容警告":"Content Warning",faq:m?"玩法问答":"FAQ",mobileWarning:m?"如果游戏崩溃后页面自动刷新,通常是 iPhone/iOS 设备的兼容性问题。建议更换电脑或安卓设备后再尝试游玩。":"If the game crashes and the page refreshes automatically, this is usually an iPhone/iOS compatibility issue. Please try playing on a desktop or Android device."}),[m]);(0,r.useEffect)(()=>{"undefined"!=typeof navigator&&w(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))},[]);let E=()=>{g(!1),p(!0),D&&A()},_=()=>{F.current&&(g(!1),F.current.src=F.current.src)},A=async()=>{let e=y.current;if(!e)return;let t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;if(t)try{let r=t.call(e);r&&r.catch&&r.catch(e=>{console.warn("Native fullscreen failed:",e),b(!0)})}catch(e){console.warn("Native fullscreen call failed:",e),b(!0)}else b(!v)};return(0,r.useEffect)(()=>{let e=()=>{b(!!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("msfullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("msfullscreenchange",e)}},[]),(0,r.useEffect)(()=>
9{if(!v)return;let e=e=>{"Escape"===e.key&&(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||b(!1))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[v]),(0,r.useEffect)(()=>{if("serviceWorker"in navigator&&e.game_url){let t=e.game_url.replace("index.html","service-worker.js");if(t&&t.startsWith("/")){let e=()=>{navigator.serviceWorker.register(t,{scope:t.substring(0,t.lastIndexOf("/")+1)}).then(()=>console.log("Game SW pre-registered in background")).catch(e=>console.error("SW pre-registration failed",e))};"requestIdleCallback"in window?window.requestIdleCallback(()=>{setTimeout(e,2e3)}):setTimeout(e,5e3)}}},[e.game_url]),(0,r.useEffect)(()=>{if("undefined"!=typeof document&&v){let e=document.body.style.overflow,t=document.documentElement.style.overflow,r=document.body.style.height;return document.body.style.overflow="hidden",document.body.style.height="100%",document.documentElement.style.overflow="hidden",document.documentElement.style.height="100%",()=>{document.body.style.overflow=e,document.body.style.height=r,document.documentElement.style.overflow=t,document.documentElement.style.height=""}}},[v]),(0,t.jsx)("section",{id:e.id,className:(0,u.cn)("pt-24 pb-8 md:pt-36 md:pb-8",e.className,c),children:(0,t.jsxs)("div",{className:"mx-auto max-w-full px-4 text-center md:max-w-6xl",children:[!e.hide_status_bar&&(0,t.jsxs)("div",{className:"bg-muted mb-5 flex flex-wrap items-center justify-center gap-2 rounded-lg border p-2 text-xs md:justify-between md:text-sm",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[e.version&&(0,t.jsxs)("span",{children:[N.version," ",e.version]}),e.updated_at&&(0,t.jsxs)("span",{children:[N.updatedAt," ",e.updated_at]}),e.content_warning&&(0,t.jsx)("span",{children:e.content_warning})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[e.show_fullscreen&&(0,t.jsxs)(l.Button,{size:"sm",variant:"outline",onClick:A,children:[(0,t.jsx)(s.SmartIcon,{name:"RiFullscreenLine"}),(0,t.jsx)("span",{children:N.fullscreen})]}),(0,t.jsxs)(l.Button,{size:"sm",variant:"outline",onClick:_,children:[(0,t.jsx)(s.SmartIcon,{name:"RiRefreshLine"}),(0,t.jsx)("span",{children:N.refresh})]})]})]}),C&&C.length>0?(0,t.jsxs)("h1",{className:"text-foreground text-4xl font-semibold text-balance sm:text-6xl",children:[C[0],(0,t.jsx)(o.Highlighter,{action:"underline",color:"#FF9800",children:(0,t.jsx)("button",{type:"button",onClick:E,className:"cursor-pointer bg-transparent p-0 font-[inherit] text-inherit","aria-label":e.game_start_text||N.startGame,children:j})}),C[1]]}):(0,t.jsx)("h1",{className:"text-foreground text-4xl font-semibold text-balance sm:text-6xl",children:e.title}),(0,t.jsx)("p",{className:"text-muted-foreground mt-6 mb-8 text-lg text-balance",dangerouslySetInnerHTML:{__html:e.description??""}}),(0,t.jsxs)("div",{ref:y,className:(0,u.cn)("bg-background relative overflow-hidden rounded-xl border transition-all duration-300","overscroll-none touch-none","[&:fullscreen]:rounded-none [&:fullscreen]:border-0 [&:fullscreen]:bg-black","[&:fullscreen]:flex [&:fullscreen]:items-center [&:fullscreen]:justify-center",v&&"undefined"!=typeof document&&!document.fullscreenElement&&"fixed inset-0 z-[9999] rounded-none border-0 bg-black flex items-center justify-center"),children:[v&&(0,t.jsx)(l.Button,{className:"absolute top-4 right-4 z-[10000] h-10 w-10 rounded-full border-white/20 bg-black/40 p-0 text-white shadow-lg backdrop-blur-md hover:bg-black/60",variant:"outline",onClick:()=>{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozCancelFullScreen||e.msExitFullscreen;t?t.call(e).catch(()=>b(!1)):b(!1)},children:(0,t.jsx)(s.SmartIcon,{name:"RiCloseLine"})}),(0,t.jsxs)("div",{className:(0,u.cn)("relative w-full pt-[56.25%]",v&&"aspect-video h-[100dvh] w-auto max-w-[100vw] pt-0"),children:[(0,t.jsx)("div",{className:"absolute inset-0",children:f?"inline_html"===h?(0,t.jsx)("iframe",{ref:F,title:e.game_title||e.title||"Game",className:"h-full w-full border-0",srcDoc:e.game_html||"",sandbox:"allow-scripts allow-forms allow-modals allow-pointer-lock",allow:"fullscreen; autoplay; gamepad",loading:"eager",onError:()=>g(!0)}):(0,t.jsx)("iframe",{ref:F,title:e.game_title||e.title||"Game",className:"h-full w-full border-0",src:e.game_url||"",allow:"fullscreen; autoplay; gamepad",loading:"eager",onError:()=>g(!0)}):null}),!f&&(0,t.jsxs)("div",{className:"absolute inset-0",children:[(0,t.jsx)(i.default,{src:e.game_cover_image||"/imgs/games/the-freak-circus/hero-cover.webp",alt:e.game_cover_alt||e.game_title||"Game cover",fill:!0,className:"object-cover",sizes:"100vw",priority:!0,unoptimized:String(e.game_cover_image||"").startsWith("http")}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/60"}),(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-4 p-4 text-white",children:[(0,t.jsxs)(l.Button,{onClick:E,size:"lg",className:"h-12 px-8 text-lg font-bold transition-all hover:scale-105 active:scale-95 shadow-lg shadow-primary/20",children:[(0,t.jsx)(s.SmartIcon,{name:"RiPlayFill",className:"size-5"}),(0,t.jsx)("span",{children:e.game_start_text||N.startGame})]}),D&&e.game_cover_tip&&(0,t.jsx)("p",{className:"max-w-xl text-sm md:text-base",children:e.game_cover_tip}),D&&(e.game_mobile_warning||N.mobileWarning)&&(0,t.jsx)("p",{className:"max-w-xl text-xs opacity-80 md:text-sm text-yellow-200/90",children:e.game_mobile_warning||N.mobileWarning})]})]}),x&&(0,t.jsxs)("div",{className:"absolute inset-0 z-20 flex flex-col items-center justify-center gap-3 bg-black/80 p-4 text-white",children:[(0,t.jsx)("p",{children:e.game_error_text||N.loadFailed}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(l.Button,{variant:"outline",size:"lg",onClick:_,children:(0,t.jsx)("span",{children:N.retryLoad})}),e.game_fallback_url&&(0,t.jsx)(l.Button,{asChild:!0,size:"lg",children:(0,t.jsx)(a.Link,{href:e.game_fallback_url,target:"_blank",children:(0,t.jsx)("span",{children:N.openStandalone})})})]})]})]})]}),(0,t.jsxs)("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-3",children:[(0,t.jsxs)(l.Button,{variant:"outline",size:"sm",onClick:A,children:[(0,t.jsx)(s.SmartIcon,{name:"RiFullscreenLine"}),(0,t.jsx)("span",{children:N.fullscreen})]}),(0,t.jsxs)(l.Button,{variant:"outline",size:"sm",onClick:_,children:[(0,t.jsx)(s.SmartIcon,{name:"RiRestartLine"}),(0,t.jsx)("span",{children:N.restart})]}),(0,t.jsx)(l.Button,{asChild:!0,variant:"outline",size:"sm",children:(0,t.jsxs)(a.Link,{href:"#warning",children:[(0,t.jsx)(s.SmartIcon,{name:"RiAlarmWarningLine"}),(0,t.jsx)("span",{children:N.contentWarning})]})}),(0,t.jsx)(l.Button,{asChild:!0,variant:"outline",size:"sm",children:(0,t.jsxs)(a.Link,{href:"#faq",children:[(0,t.jsx)(s.SmartIcon,{name:"RiQuestionLine"}),(0,t.jsx)("span",{children:N.faq})]})})]})]})})}e.s(["HeroPlayable",()=>c])},721590,e=>{e.v(t=>
9Promise.all(["static/chunks/3ffac22196fc3493.js","static/chunks/ca74bff9d42db121.js"].map(t=>e.l(t))).then(()=>t(617299)))},639058,e=>{e.v(e=>Promise.resolve().then(()=>e(389125)))}]);

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.