@socialgen_user/socialgen 2.5.0 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{CqNFF8Vb.js → B034qVHm.js} +1 -1
- package/.output/public/_nuxt/{uELeli_8.js → BRJQ9bKZ.js} +2 -2
- package/.output/public/_nuxt/{Cqodgy4B.js → BvI9K_x8.js} +1 -1
- package/.output/public/_nuxt/BvL2f-CK.js +111 -0
- package/.output/public/_nuxt/{qcjs3SKg.js → DBlOMOzC.js} +1 -1
- package/.output/public/_nuxt/{v33suYXp.js → Dv_9Gpwt.js} +2 -2
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/dd6a9fb4-2d01-42b6-b922-6d913d2e5b14.json +1 -0
- package/.output/public/_nuxt/{DXQyqDUm.js → hy8apAne.js} +1 -1
- package/.output/public/_nuxt/{pages.BNNMR0bP.css → pages.DIMOTVGA.css} +1 -1
- package/.output/server/chunks/_/nitro.mjs +127 -127
- package/.output/server/chunks/build/LivePreview-styles.CNmUJrmb.mjs +8 -0
- package/.output/server/chunks/build/LivePreview-styles.CNmUJrmb.mjs.map +1 -0
- package/.output/server/chunks/build/{TableCard-J91PndXn.mjs → TableCard-S-jfUPmR.mjs} +3 -3
- package/.output/server/chunks/build/{TableCard-J91PndXn.mjs.map → TableCard-S-jfUPmR.mjs.map} +1 -1
- package/.output/server/chunks/build/{_mode_-BzB4uUM9.mjs → _mode_-Cs4c1AsO.mjs} +2 -2
- package/.output/server/chunks/build/{_mode_-BzB4uUM9.mjs.map → _mode_-Cs4c1AsO.mjs.map} +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
- package/.output/server/chunks/build/entry-styles.BXV1uqJL.mjs +8 -0
- package/.output/server/chunks/build/entry-styles.BXV1uqJL.mjs.map +1 -0
- package/.output/server/chunks/build/index-styles-1.mjs-BPqnNiR_.mjs +4 -0
- package/.output/server/chunks/build/index-styles-1.mjs-BPqnNiR_.mjs.map +1 -0
- package/.output/server/chunks/build/{index-styles.B8HyMUMp.mjs → index-styles.D6Stv-gv.mjs} +5 -5
- package/.output/server/chunks/build/index-styles.D6Stv-gv.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-DS-xmAq6.mjs → pages-9bt5fFh9.mjs} +72 -35
- package/.output/server/chunks/build/{pages-DS-xmAq6.mjs.map → pages-9bt5fFh9.mjs.map} +1 -1
- package/.output/server/chunks/build/server.mjs +2 -2
- package/.output/server/chunks/build/styles.mjs +3 -3
- package/.output/server/chunks/build/styles.mjs.map +1 -1
- package/.output/server/package.json +1 -1
- package/data/last_session.json +3 -17
- package/data/templates.json +5 -5
- package/package.json +1 -1
- package/.output/public/_nuxt/N-k_7ft4.js +0 -111
- package/.output/public/_nuxt/builds/meta/12d907e1-63ed-4300-be2b-91cf47d07600.json +0 -1
- package/.output/server/chunks/build/LivePreview-styles.BbGT7KVf.mjs +0 -8
- package/.output/server/chunks/build/LivePreview-styles.BbGT7KVf.mjs.map +0 -1
- package/.output/server/chunks/build/entry-styles.DH5fRIfL.mjs +0 -8
- package/.output/server/chunks/build/entry-styles.DH5fRIfL.mjs.map +0 -1
- package/.output/server/chunks/build/index-styles-1.mjs-CBmp9qkk.mjs +0 -4
- package/.output/server/chunks/build/index-styles-1.mjs-CBmp9qkk.mjs.map +0 -1
- package/.output/server/chunks/build/index-styles.B8HyMUMp.mjs.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, mergeProps, unref, isRef, reactive, nextTick, useSSRContext } from 'vue';
|
|
2
2
|
import { ssrRenderAttrs, ssrInterpolate, ssrRenderClass, ssrRenderComponent, ssrIncludeBooleanAttr, ssrRenderAttr, ssrLooseContain, ssrLooseEqual, ssrRenderList, ssrRenderStyle } from 'vue/server-renderer';
|
|
3
|
-
import { Settings, X, Check, Edit2, Trash2, FileText, Copy, LayoutTemplate, Plus, Code, AlertCircle, RefreshCw, Film, Upload, Music, Clock, Sparkles, Eye, Bookmark, Wand2, Layers, Globe, Sliders, RotateCcw, CheckCircle2, Scissors, Play, ZoomOut, ZoomIn, ShieldAlert, Pause, Volume2, VolumeX } from 'lucide-vue-next';
|
|
4
|
-
import { _ as _sfc_main$3 } from './TableCard-
|
|
3
|
+
import { Settings, X, Check, Edit2, Trash2, FileText, Copy, LayoutTemplate, Plus, Code, AlertCircle, RefreshCw, Film, Upload, Music, Clock, Sparkles, Eye, Bookmark, Wand2, Layers, Globe, Sliders, RotateCcw, CheckCircle2, Scissors, Play, ZoomOut, ZoomIn, ShieldAlert, ChevronLeft, Search, MoreHorizontal, ThumbsUp, MessageCircle, Share2, TrendingUp, AtSign, Smile, Heart, Pause, Volume2, VolumeX } from 'lucide-vue-next';
|
|
4
|
+
import { _ as _sfc_main$3 } from './TableCard-S-jfUPmR.mjs';
|
|
5
5
|
import { _ as _export_sfc } from './server.mjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import '../_/nitro.mjs';
|
|
@@ -1265,28 +1265,29 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1265
1265
|
}
|
|
1266
1266
|
);
|
|
1267
1267
|
return (_ctx, _push, _parent, _attrs) => {
|
|
1268
|
+
var _a, _b, _c, _d;
|
|
1268
1269
|
const _component_TableCard = _sfc_main$3;
|
|
1269
|
-
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-2.5 h-full text-slate-100 min-h-0 justify-between relative" }, _attrs))} data-v-
|
|
1270
|
+
_push(`<div${ssrRenderAttrs(mergeProps({ class: "flex flex-col gap-2.5 h-full text-slate-100 min-h-0 justify-between relative" }, _attrs))} data-v-8e58b0d4>`);
|
|
1270
1271
|
if (__props.isGenerating) {
|
|
1271
|
-
_push(`<div class="absolute inset-0 z-50 bg-slate-950/85 backdrop-blur-md rounded-2xl flex flex-col items-center justify-center p-6 text-center animate-in fade-in duration-200" data-v-
|
|
1272
|
+
_push(`<div class="absolute inset-0 z-50 bg-slate-950/85 backdrop-blur-md rounded-2xl flex flex-col items-center justify-center p-6 text-center animate-in fade-in duration-200" data-v-8e58b0d4><div class="relative flex items-center justify-center mb-5" data-v-8e58b0d4><div class="w-20 h-20 rounded-full border-4 border-sky-500/20 border-t-sky-400 border-r-indigo-500 animate-spin" data-v-8e58b0d4></div><div class="absolute inset-0 flex items-center justify-center" data-v-8e58b0d4>`);
|
|
1272
1273
|
_push(ssrRenderComponent(unref(Sparkles), { class: "w-8 h-8 text-sky-400 animate-pulse" }, null, _parent));
|
|
1273
|
-
_push(`</div></div><h3 class="text-base font-black text-white tracking-wide mb-1.5" data-v-
|
|
1274
|
+
_push(`</div></div><h3 class="text-base font-black text-white tracking-wide mb-1.5" data-v-8e58b0d4> Sedang Men-generate Konten... </h3><p class="text-xs text-sky-300 font-bold mb-4 flex items-center gap-2" data-v-8e58b0d4><span class="w-2 h-2 rounded-full bg-sky-400 animate-ping" data-v-8e58b0d4></span><span data-v-8e58b0d4>${ssrInterpolate(__props.generateStage || "Merender Gambar & Video Reels...")}</span></p><div class="w-64 max-w-full bg-slate-900 border border-slate-800 rounded-full h-2.5 overflow-hidden shadow-inner mb-3" data-v-8e58b0d4><div class="h-full bg-gradient-to-r from-sky-500 via-indigo-500 to-purple-500 rounded-full animate-pulse w-full" data-v-8e58b0d4></div></div><span class="text-[10px] text-slate-400 font-mono tracking-wider uppercase" data-v-8e58b0d4> Multi-Format Studio Engine \u2022 Mohon Tunggu Sebentar </span></div>`);
|
|
1274
1275
|
} else {
|
|
1275
1276
|
_push(`<!---->`);
|
|
1276
1277
|
}
|
|
1277
|
-
_push(`<div class="flex flex-wrap items-center justify-between gap-2 p-2.5 bg-slate-900/90 border border-slate-800 rounded-2xl shadow-lg flex-shrink-0" data-v-
|
|
1278
|
+
_push(`<div class="flex flex-wrap items-center justify-between gap-2 p-2.5 bg-slate-900/90 border border-slate-800 rounded-2xl shadow-lg flex-shrink-0" data-v-8e58b0d4><div class="flex items-center gap-1 bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs font-bold" data-v-8e58b0d4><button class="${ssrRenderClass([unref(activeTab) === "feed" ? "bg-sky-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition"])}" data-v-8e58b0d4> Feed 4:5 </button><button class="${ssrRenderClass([unref(activeTab) === "story" ? "bg-indigo-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition"])}" data-v-8e58b0d4> Story 9:16 </button><button class="${ssrRenderClass([unref(activeTab) === "reels" ? "bg-emerald-500 text-white shadow-md" : "text-slate-400 hover:text-white", "px-3 py-1.5 rounded-lg transition flex items-center gap-1.5"])}" data-v-8e58b0d4><span data-v-8e58b0d4>Reels 9:16 (Video)</span>`);
|
|
1278
1279
|
if (unref(activeTab) === "reels" && unref(isPlaying)) {
|
|
1279
|
-
_push(`<span class="w-1.5 h-1.5 rounded-full bg-white animate-pulse" data-v-
|
|
1280
|
+
_push(`<span class="w-1.5 h-1.5 rounded-full bg-white animate-pulse" data-v-8e58b0d4></span>`);
|
|
1280
1281
|
} else {
|
|
1281
1282
|
_push(`<!---->`);
|
|
1282
1283
|
}
|
|
1283
|
-
_push(`</button></div><div class="flex items-center gap-2 text-xs" data-v-
|
|
1284
|
+
_push(`</button></div><div class="flex items-center gap-2 text-xs" data-v-8e58b0d4><div class="flex items-center gap-1 bg-slate-950 p-1 rounded-xl border border-slate-800 text-xs shadow-inner" data-v-8e58b0d4><button title="Zoom Out (-15%)" class="p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800 transition" data-v-8e58b0d4>`);
|
|
1284
1285
|
_push(ssrRenderComponent(unref(ZoomOut), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1285
|
-
_push(`</button><button title="Klik untuk Reset Zoom (100% Fit)" class="px-2 py-0.5 rounded-lg text-[11px] font-bold text-sky-400 hover:bg-slate-800 hover:text-sky-300 transition font-mono min-w-[42px] text-center" data-v-
|
|
1286
|
+
_push(`</button><button title="Klik untuk Reset Zoom (100% Fit)" class="px-2 py-0.5 rounded-lg text-[11px] font-bold text-sky-400 hover:bg-slate-800 hover:text-sky-300 transition font-mono min-w-[42px] text-center" data-v-8e58b0d4>${ssrInterpolate(Math.round(unref(zoomScale) * 100))}% </button><button title="Zoom In (+15%)" class="p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-slate-800 transition" data-v-8e58b0d4>`);
|
|
1286
1287
|
_push(ssrRenderComponent(unref(ZoomIn), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1287
1288
|
_push(`</button>`);
|
|
1288
1289
|
if (unref(zoomScale) !== 1) {
|
|
1289
|
-
_push(`<button title="Reset ke Ukuran Pas" class="p-1.5 rounded-lg text-amber-400 hover:bg-slate-800 transition" data-v-
|
|
1290
|
+
_push(`<button title="Reset ke Ukuran Pas" class="p-1.5 rounded-lg text-amber-400 hover:bg-slate-800 transition" data-v-8e58b0d4>`);
|
|
1290
1291
|
_push(ssrRenderComponent(unref(RotateCcw), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1291
1292
|
_push(`</button>`);
|
|
1292
1293
|
} else {
|
|
@@ -1294,22 +1295,26 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1294
1295
|
}
|
|
1295
1296
|
_push(`</div>`);
|
|
1296
1297
|
if (unref(activeTab) !== "feed") {
|
|
1297
|
-
_push(`<button class="${ssrRenderClass([unref(showSafeZones) ? "bg-
|
|
1298
|
-
|
|
1299
|
-
|
|
1298
|
+
_push(`<button class="${ssrRenderClass([unref(showSafeZones) ? "bg-sky-500/25 text-sky-300 border-sky-400/60" : "bg-slate-950 text-slate-400 border-slate-800 hover:text-white", "inline-flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg border text-xs font-bold transition shadow-sm"])}"${ssrRenderAttr("title", unref(showSafeZones) ? "Sembunyikan Simulasi UI" : "Tampilkan Simulasi Facebook Reels UI Asli")} data-v-8e58b0d4>`);
|
|
1299
|
+
if (unref(activeTab) === "reels") {
|
|
1300
|
+
_push(ssrRenderComponent(unref(Film), { class: "w-3.5 h-3.5 text-sky-400" }, null, _parent));
|
|
1301
|
+
} else {
|
|
1302
|
+
_push(ssrRenderComponent(unref(ShieldAlert), { class: "w-3.5 h-3.5 text-indigo-400" }, null, _parent));
|
|
1303
|
+
}
|
|
1304
|
+
_push(`<span class="hidden sm:inline" data-v-8e58b0d4>${ssrInterpolate(unref(activeTab) === "reels" ? "Simulasi FB Reels UI" : "Simulasi Story UI")}</span><span class="sm:hidden" data-v-8e58b0d4>Simulasi UI</span></button>`);
|
|
1300
1305
|
} else {
|
|
1301
1306
|
_push(`<!---->`);
|
|
1302
1307
|
}
|
|
1303
|
-
_push(`</div></div><div class="relative flex-1 min-h-0 bg-slate-950/80 canvas-dot-bg border border-slate-800/80 rounded-2xl flex p-4 overflow-auto shadow-inner custom-scrollbar" data-v-
|
|
1308
|
+
_push(`</div></div><div class="relative flex-1 min-h-0 bg-slate-950/80 canvas-dot-bg border border-slate-800/80 rounded-2xl flex p-4 overflow-auto shadow-inner custom-scrollbar" data-v-8e58b0d4><div class="m-auto flex-shrink-0 relative transition-all duration-200 ease-out" style="${ssrRenderStyle({
|
|
1304
1309
|
width: `${Math.round(unref(baseCanvasWidth) * unref(zoomScale))}px`,
|
|
1305
1310
|
height: `${Math.round(unref(baseCanvasHeight) * unref(zoomScale))}px`
|
|
1306
|
-
})}" data-v-
|
|
1311
|
+
})}" data-v-8e58b0d4><div class="origin-top-left transition-transform duration-200 ease-out absolute top-0 left-0" style="${ssrRenderStyle({
|
|
1307
1312
|
width: `${unref(baseCanvasWidth)}px`,
|
|
1308
1313
|
height: `${unref(baseCanvasHeight)}px`,
|
|
1309
1314
|
transform: `scale(${unref(zoomScale)})`
|
|
1310
|
-
})}" data-v-
|
|
1315
|
+
})}" data-v-8e58b0d4>`);
|
|
1311
1316
|
if (unref(activeTab) === "feed") {
|
|
1312
|
-
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:360px;height:450px;" data-v-
|
|
1317
|
+
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:360px;height:450px;" data-v-8e58b0d4><div style="width:1080px;height:1350px;transform:scale(0.333333);transform-origin:top left;" data-v-8e58b0d4>`);
|
|
1313
1318
|
_push(ssrRenderComponent(_component_TableCard, {
|
|
1314
1319
|
data: __props.data,
|
|
1315
1320
|
mode: "feed",
|
|
@@ -1317,13 +1322,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1317
1322
|
}, null, _parent));
|
|
1318
1323
|
_push(`</div></div>`);
|
|
1319
1324
|
} else {
|
|
1320
|
-
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:300px;height:533.33px;" data-v-
|
|
1325
|
+
_push(`<div class="relative shadow-2xl rounded-2xl overflow-hidden border border-slate-700/80 flex-shrink-0" style="width:300px;height:533.33px;" data-v-8e58b0d4>`);
|
|
1321
1326
|
if (unref(activeTab) === "reels") {
|
|
1322
|
-
_push(`<div class="absolute inset-0 z-0 bg-slate-950 overflow-hidden" data-v-
|
|
1327
|
+
_push(`<div class="absolute inset-0 z-0 bg-slate-950 overflow-hidden" data-v-8e58b0d4><video autoplay muted playsinline class="w-full h-full object-cover brightness-90 contrast-105"${ssrRenderAttr("src", unref(activeVideoSrc))} data-v-8e58b0d4></video><div class="absolute inset-0 bg-slate-950/30 backdrop-blur-[0.5px]" data-v-8e58b0d4></div><audio${ssrRenderAttr("src", unref(activeAudioSrc))}${ssrIncludeBooleanAttr(unref(isMuted)) ? " muted" : ""} data-v-8e58b0d4></audio></div>`);
|
|
1323
1328
|
} else {
|
|
1324
1329
|
_push(`<!---->`);
|
|
1325
1330
|
}
|
|
1326
|
-
_push(`<div class="relative z-10 pointer-events-none" style="width:1080px;height:1920px;transform:scale(0.277778);transform-origin:top left;" data-v-
|
|
1331
|
+
_push(`<div class="relative z-10 pointer-events-none" style="width:1080px;height:1920px;transform:scale(0.277778);transform-origin:top left;" data-v-8e58b0d4>`);
|
|
1327
1332
|
_push(ssrRenderComponent(_component_TableCard, {
|
|
1328
1333
|
data: __props.data,
|
|
1329
1334
|
mode: unref(activeTab) === "reels" ? "overlay" : "story",
|
|
@@ -1331,13 +1336,45 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1331
1336
|
}, null, _parent));
|
|
1332
1337
|
_push(`</div>`);
|
|
1333
1338
|
if (unref(showSafeZones)) {
|
|
1334
|
-
_push(`<div class="absolute inset-0 z-
|
|
1339
|
+
_push(`<div class="absolute inset-0 z-30 pointer-events-none flex flex-col justify-between overflow-hidden select-none" data-v-8e58b0d4>`);
|
|
1335
1340
|
if (unref(activeTab) === "reels") {
|
|
1336
|
-
_push(
|
|
1341
|
+
_push(`<!--[--><div class="h-11 bg-gradient-to-b from-black/85 via-black/40 to-transparent px-3 pt-2.5 flex items-center justify-between text-white" data-v-8e58b0d4><div class="flex items-center text-white/95" data-v-8e58b0d4>`);
|
|
1342
|
+
_push(ssrRenderComponent(unref(ChevronLeft), { class: "w-6 h-6 stroke-[2.4]" }, null, _parent));
|
|
1343
|
+
_push(`</div><div class="flex items-center gap-3.5 text-white/95" data-v-8e58b0d4>`);
|
|
1344
|
+
_push(ssrRenderComponent(unref(Search), { class: "w-5 h-5 stroke-[2.2]" }, null, _parent));
|
|
1345
|
+
_push(`<div class="w-7 h-7 rounded-full bg-black/40 backdrop-blur-md flex items-center justify-center border border-white/10 shadow-sm" data-v-8e58b0d4>`);
|
|
1346
|
+
_push(ssrRenderComponent(unref(MoreHorizontal), { class: "w-4 h-4 stroke-[2.2]" }, null, _parent));
|
|
1347
|
+
_push(`</div></div></div><div class="absolute right-2 bottom-[98px] flex flex-col items-center gap-3 z-20" data-v-8e58b0d4><div class="flex flex-col items-center gap-0.5" data-v-8e58b0d4><div class="w-7 h-7 rounded-full bg-[#1877F2] flex items-center justify-center text-white shadow-lg" data-v-8e58b0d4>`);
|
|
1348
|
+
_push(ssrRenderComponent(unref(ThumbsUp), { class: "w-3.5 h-3.5 fill-white text-white" }, null, _parent));
|
|
1349
|
+
_push(`</div><span class="text-[9px] font-bold text-white drop-shadow" data-v-8e58b0d4>1</span></div><div class="flex flex-col items-center gap-0.5" data-v-8e58b0d4><div class="w-7 h-7 rounded-full bg-black/35 backdrop-blur-sm flex items-center justify-center text-white border border-white/10 shadow" data-v-8e58b0d4>`);
|
|
1350
|
+
_push(ssrRenderComponent(unref(MessageCircle), { class: "w-3.5 h-3.5 text-white stroke-[2.2]" }, null, _parent));
|
|
1351
|
+
_push(`</div><span class="text-[9px] font-bold text-white drop-shadow" data-v-8e58b0d4>3</span></div><div class="w-7 h-7 rounded-full bg-black/35 backdrop-blur-sm flex items-center justify-center text-white border border-white/10 shadow" data-v-8e58b0d4>`);
|
|
1352
|
+
_push(ssrRenderComponent(unref(Share2), { class: "w-3.5 h-3.5 text-white stroke-[2.2]" }, null, _parent));
|
|
1353
|
+
_push(`</div><div class="w-7 h-7 rounded-full bg-black/35 backdrop-blur-sm flex items-center justify-center text-white border border-white/10 shadow" data-v-8e58b0d4>`);
|
|
1354
|
+
_push(ssrRenderComponent(unref(Bookmark), { class: "w-3.5 h-3.5 text-white stroke-[2.2]" }, null, _parent));
|
|
1355
|
+
_push(`</div><div class="w-7 h-7 rounded-full bg-black/35 backdrop-blur-sm flex items-center justify-center text-white border border-white/10 shadow" data-v-8e58b0d4>`);
|
|
1356
|
+
_push(ssrRenderComponent(unref(MoreHorizontal), { class: "w-3.5 h-3.5 text-white stroke-[2.2]" }, null, _parent));
|
|
1357
|
+
_push(`</div></div><div class="bg-gradient-to-t from-black via-black/85 to-transparent px-3 pb-2 pt-6 flex flex-col justify-end gap-1 relative z-20" data-v-8e58b0d4><div class="flex items-center gap-1.5" data-v-8e58b0d4><div class="w-6 h-6 rounded-full bg-slate-700 border border-white/50 flex items-center justify-center text-[9px] font-black text-white flex-shrink-0 shadow overflow-hidden" data-v-8e58b0d4>${ssrInterpolate((((_a = __props.data.watermark) == null ? void 0 : _a.replace(/^@/, "")) || "BK").slice(0, 2).toUpperCase())}</div><span class="text-[10.5px] font-bold text-white truncate max-w-[130px] drop-shadow" data-v-8e58b0d4>${ssrInterpolate(((_b = __props.data.watermark) == null ? void 0 : _b.replace(/^@/, "")) || "Brian Ken Junior")}</span><span class="w-3 h-3 rounded-full bg-[#1877F2] text-white flex items-center justify-center text-[7.5px] font-black shadow-sm flex-shrink-0" data-v-8e58b0d4> \u2713 </span>`);
|
|
1358
|
+
_push(ssrRenderComponent(unref(Globe), { class: "w-2.5 h-2.5 text-white/80 flex-shrink-0" }, null, _parent));
|
|
1359
|
+
_push(`</div><div class="flex items-center gap-1.5 text-[9px] text-white/95 font-medium drop-shadow pr-10" data-v-8e58b0d4>`);
|
|
1360
|
+
_push(ssrRenderComponent(unref(Music), { class: "w-2.5 h-2.5 flex-shrink-0 text-white" }, null, _parent));
|
|
1361
|
+
_push(`<span class="truncate" data-v-8e58b0d4>${ssrInterpolate(((_c = __props.data.watermark) == null ? void 0 : _c.replace(/^@/, "")) || "Brian Ken Junior")} \u2022 Audio asli</span></div><p class="text-[9px] text-white/95 leading-tight line-clamp-1 drop-shadow pr-10" data-v-8e58b0d4>${ssrInterpolate(__props.data.viralCaption || __props.data.subtitle || "Financial advisors still say rent shouldn't...")} <span class="text-white font-bold ml-1 cursor-pointer" data-v-8e58b0d4>selengkapnya</span></p><div class="py-0.5" data-v-8e58b0d4><div class="inline-flex items-center gap-1 px-2 py-0.5 rounded-md bg-white/20 backdrop-blur-md text-[8.5px] font-bold text-white border border-white/10 shadow-sm" data-v-8e58b0d4>`);
|
|
1362
|
+
_push(ssrRenderComponent(unref(TrendingUp), { class: "w-2.5 h-2.5 text-white stroke-[2.5]" }, null, _parent));
|
|
1363
|
+
_push(`<span data-v-8e58b0d4>Lihat insight</span></div></div><div class="w-full bg-[#242526]/90 backdrop-blur-md rounded-xl px-2.5 py-1.5 border border-white/10 flex items-center justify-between text-white text-[9px] shadow-md my-0.5" data-v-8e58b0d4><div class="flex items-center gap-1.5 truncate pr-2" data-v-8e58b0d4>`);
|
|
1364
|
+
_push(ssrRenderComponent(unref(Search), { class: "w-3 h-3 text-white/80 flex-shrink-0" }, null, _parent));
|
|
1365
|
+
_push(`<span class="truncate font-medium text-white/95" data-v-8e58b0d4>${ssrInterpolate(__props.data.title || "Vienna public housing")}</span></div>`);
|
|
1366
|
+
_push(ssrRenderComponent(unref(MoreHorizontal), { class: "w-3 h-3 text-white/60 flex-shrink-0" }, null, _parent));
|
|
1367
|
+
_push(`</div><div class="w-full h-6 rounded-full border border-white/20 bg-black/40 px-3 flex items-center justify-between text-white text-[8.5px] shadow-inner" data-v-8e58b0d4><span class="text-white/60" data-v-8e58b0d4>Tambahkan komentar</span><div class="flex items-center gap-2 text-white/80" data-v-8e58b0d4>`);
|
|
1368
|
+
_push(ssrRenderComponent(unref(AtSign), { class: "w-2.5 h-2.5 text-white/70" }, null, _parent));
|
|
1369
|
+
_push(ssrRenderComponent(unref(Smile), { class: "w-2.5 h-2.5 text-white/70" }, null, _parent));
|
|
1370
|
+
_push(`<span class="text-[7.5px] font-bold px-1 rounded border border-white/40 text-white/80 leading-none py-0.5" data-v-8e58b0d4>GIF</span></div></div></div><!--]-->`);
|
|
1337
1371
|
} else {
|
|
1338
|
-
_push(
|
|
1372
|
+
_push(`<!--[--><div class="h-12 bg-gradient-to-b from-black/80 to-transparent px-3 pt-2 flex flex-col justify-between" data-v-8e58b0d4><div class="flex gap-1 w-full" data-v-8e58b0d4><div class="h-0.5 flex-1 bg-white rounded-full" data-v-8e58b0d4></div><div class="h-0.5 flex-1 bg-white/40 rounded-full" data-v-8e58b0d4></div><div class="h-0.5 flex-1 bg-white/40 rounded-full" data-v-8e58b0d4></div></div><div class="flex items-center justify-between text-white pb-1" data-v-8e58b0d4><div class="flex items-center gap-1.5" data-v-8e58b0d4><div class="w-4 h-4 rounded-full bg-gradient-to-tr from-amber-500 to-rose-500 p-0.5" data-v-8e58b0d4><div class="w-full h-full bg-black rounded-full" data-v-8e58b0d4></div></div><span class="text-[9px] font-bold" data-v-8e58b0d4>${ssrInterpolate(((_d = __props.data.watermark) == null ? void 0 : _d.replace(/^@/, "")) || "akunkreator")}</span><span class="text-[8px] text-white/60" data-v-8e58b0d4>2j</span></div></div></div><div class="h-14 bg-gradient-to-t from-black/85 to-transparent px-3 pb-2 flex items-center justify-between gap-2" data-v-8e58b0d4><div class="flex-1 h-7 rounded-full border border-white/30 bg-black/20 px-3 flex items-center text-[9px] text-white/50" data-v-8e58b0d4> Kirim pesan... </div>`);
|
|
1373
|
+
_push(ssrRenderComponent(unref(Heart), { class: "w-4 h-4 text-white/90" }, null, _parent));
|
|
1374
|
+
_push(ssrRenderComponent(unref(Share2), { class: "w-4 h-4 text-white/90" }, null, _parent));
|
|
1375
|
+
_push(`</div><!--]-->`);
|
|
1339
1376
|
}
|
|
1340
|
-
_push(`</div
|
|
1377
|
+
_push(`</div>`);
|
|
1341
1378
|
} else {
|
|
1342
1379
|
_push(`<!---->`);
|
|
1343
1380
|
}
|
|
@@ -1345,27 +1382,27 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1345
1382
|
}
|
|
1346
1383
|
_push(`</div></div></div>`);
|
|
1347
1384
|
if (unref(activeTab) === "reels") {
|
|
1348
|
-
_push(`<div class="flex flex-col bg-slate-900/95 border border-slate-800 rounded-2xl p-2.5 gap-2 shadow-xl flex-shrink-0 text-xs" data-v-
|
|
1385
|
+
_push(`<div class="flex flex-col bg-slate-900/95 border border-slate-800 rounded-2xl p-2.5 gap-2 shadow-xl flex-shrink-0 text-xs" data-v-8e58b0d4><div class="flex items-center justify-between gap-3" data-v-8e58b0d4><button class="p-2 rounded-xl bg-emerald-600 hover:bg-emerald-500 text-white font-bold transition flex items-center gap-1.5 shadow-md"${ssrRenderAttr("title", unref(isPlaying) ? "Pause Preview" : "Putar Preview")} data-v-8e58b0d4>`);
|
|
1349
1386
|
if (unref(isPlaying)) {
|
|
1350
1387
|
_push(ssrRenderComponent(unref(Pause), { class: "w-3.5 h-3.5 fill-current" }, null, _parent));
|
|
1351
1388
|
} else {
|
|
1352
1389
|
_push(ssrRenderComponent(unref(Play), { class: "w-3.5 h-3.5 fill-current" }, null, _parent));
|
|
1353
1390
|
}
|
|
1354
|
-
_push(`<span class="text-[11px] hidden sm:inline" data-v-
|
|
1391
|
+
_push(`<span class="text-[11px] hidden sm:inline" data-v-8e58b0d4>${ssrInterpolate(unref(isPlaying) ? "Pause" : "Play")}</span></button><div class="flex-1 flex items-center gap-2" data-v-8e58b0d4><input type="range" min="0"${ssrRenderAttr("max", unref(totalDuration))} step="0.1"${ssrRenderAttr("value", unref(currentTime))} class="flex-1 h-1.5 bg-slate-950 rounded-lg appearance-none cursor-pointer accent-emerald-500 hover:accent-emerald-400" data-v-8e58b0d4><span class="font-mono text-[11px] font-bold text-slate-300 min-w-[75px] text-right" data-v-8e58b0d4>${ssrInterpolate(formatTime(unref(currentTime)))} / ${ssrInterpolate(formatTime(unref(totalDuration)))}</span></div><button class="${ssrRenderClass([!unref(isMuted) ? "bg-purple-600/40 text-purple-200 border-purple-500/60 shadow-md ring-1 ring-purple-500/40" : "bg-slate-950 text-slate-400 border-slate-800 hover:text-white", "px-2.5 py-2 rounded-xl border transition flex items-center gap-1.5 font-bold text-[11px]"])}"${ssrRenderAttr("title", unref(isMuted) ? "Aktifkan Suara Musik (Unmute)" : "Matikan Suara Musik (Mute)")} data-v-8e58b0d4>`);
|
|
1355
1392
|
if (!unref(isMuted)) {
|
|
1356
1393
|
_push(ssrRenderComponent(unref(Volume2), { class: "w-3.5 h-3.5 text-purple-300 animate-pulse" }, null, _parent));
|
|
1357
1394
|
} else {
|
|
1358
1395
|
_push(ssrRenderComponent(unref(VolumeX), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1359
1396
|
}
|
|
1360
|
-
_push(`<span data-v-
|
|
1397
|
+
_push(`<span data-v-8e58b0d4>${ssrInterpolate(!unref(isMuted) ? "Audio ON" : "Muted")}</span></button><button class="${ssrRenderClass([unref(showOffsetEditor) ? "bg-sky-500/20 text-sky-300 border-sky-500/50" : "bg-slate-950 text-slate-400 border-slate-800 hover:text-white", "px-2.5 py-2 rounded-xl border text-[11px] font-bold flex items-center gap-1.5 transition"])}" title="Atur Detik Awal Video & Musik" data-v-8e58b0d4>`);
|
|
1361
1398
|
_push(ssrRenderComponent(unref(Scissors), { class: "w-3.5 h-3.5 text-sky-400" }, null, _parent));
|
|
1362
|
-
_push(`<span class="hidden sm:inline" data-v-
|
|
1399
|
+
_push(`<span class="hidden sm:inline" data-v-8e58b0d4>Trim Offset</span></button></div>`);
|
|
1363
1400
|
if (unref(showOffsetEditor)) {
|
|
1364
|
-
_push(`<div class="grid grid-cols-1 sm:grid-cols-2 gap-3 p-2.5 bg-slate-950/80 rounded-xl border border-slate-800/80 animate-fadeIn" data-v-
|
|
1401
|
+
_push(`<div class="grid grid-cols-1 sm:grid-cols-2 gap-3 p-2.5 bg-slate-950/80 rounded-xl border border-slate-800/80 animate-fadeIn" data-v-8e58b0d4><div class="flex flex-col gap-1.5" data-v-8e58b0d4><div class="flex items-center justify-between text-[11px]" data-v-8e58b0d4><span class="font-bold text-sky-300 flex items-center gap-1" data-v-8e58b0d4>`);
|
|
1365
1402
|
_push(ssrRenderComponent(unref(Film), { class: "w-3 h-3" }, null, _parent));
|
|
1366
|
-
_push(` Mulai Video: ${ssrInterpolate(Math.min(__props.videoStartOffset || 0, unref(maxVideoOffset)))}s / ${ssrInterpolate(unref(videoFileDuration))}s </span><button class="text-[9px] px-1.5 py-0.5 rounded bg-slate-800 hover:bg-slate-700 text-sky-300 border border-slate-700 transition" title="Gunakan posisi video saat ini sebagai detik mulai" data-v-
|
|
1403
|
+
_push(` Mulai Video: ${ssrInterpolate(Math.min(__props.videoStartOffset || 0, unref(maxVideoOffset)))}s / ${ssrInterpolate(unref(videoFileDuration))}s </span><button class="text-[9px] px-1.5 py-0.5 rounded bg-slate-800 hover:bg-slate-700 text-sky-300 border border-slate-700 transition" title="Gunakan posisi video saat ini sebagai detik mulai" data-v-8e58b0d4> Set Detik Ini </button></div><input type="range" min="0"${ssrRenderAttr("max", unref(maxVideoOffset))} step="1"${ssrRenderAttr("value", Math.min(__props.videoStartOffset || 0, unref(maxVideoOffset)))} class="w-full h-1 bg-slate-900 rounded appearance-none cursor-pointer accent-sky-400" data-v-8e58b0d4><div class="text-[9px] text-slate-500" data-v-8e58b0d4> Maksimal offset: ${ssrInterpolate(unref(maxVideoOffset))} detik (panjang asli video: ${ssrInterpolate(unref(videoFileDuration))}s) </div></div><div class="flex flex-col gap-1.5" data-v-8e58b0d4><div class="flex items-center justify-between text-[11px]" data-v-8e58b0d4><span class="font-bold text-purple-300 flex items-center gap-1" data-v-8e58b0d4>`);
|
|
1367
1404
|
_push(ssrRenderComponent(unref(Music), { class: "w-3 h-3" }, null, _parent));
|
|
1368
|
-
_push(` Mulai Musik: ${ssrInterpolate(Math.min(__props.audioStartOffset || 0, unref(maxAudioOffset)))}s / ${ssrInterpolate(unref(audioFileDuration))}s </span><span class="text-[10px] text-slate-500 font-mono" data-v-
|
|
1405
|
+
_push(` Mulai Musik: ${ssrInterpolate(Math.min(__props.audioStartOffset || 0, unref(maxAudioOffset)))}s / ${ssrInterpolate(unref(audioFileDuration))}s </span><span class="text-[10px] text-slate-500 font-mono" data-v-8e58b0d4> (Skip intro) </span></div><input type="range" min="0"${ssrRenderAttr("max", unref(maxAudioOffset))} step="1"${ssrRenderAttr("value", Math.min(__props.audioStartOffset || 0, unref(maxAudioOffset)))} class="w-full h-1 bg-slate-900 rounded appearance-none cursor-pointer accent-purple-400" data-v-8e58b0d4><div class="text-[9px] text-slate-500" data-v-8e58b0d4> Maksimal offset: ${ssrInterpolate(unref(maxAudioOffset))} detik (panjang asli musik: ${ssrInterpolate(unref(audioFileDuration))}s) </div></div></div>`);
|
|
1369
1406
|
} else {
|
|
1370
1407
|
_push(`<!---->`);
|
|
1371
1408
|
}
|
|
@@ -1373,13 +1410,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1373
1410
|
} else {
|
|
1374
1411
|
_push(`<!---->`);
|
|
1375
1412
|
}
|
|
1376
|
-
_push(`<div class="flex flex-col bg-slate-900/90 border border-slate-800 rounded-2xl p-2.5 gap-1.5 shadow-lg flex-shrink-0" data-v-
|
|
1413
|
+
_push(`<div class="flex flex-col bg-slate-900/90 border border-slate-800 rounded-2xl p-2.5 gap-1.5 shadow-lg flex-shrink-0" data-v-8e58b0d4><div class="flex items-center justify-between text-xs" data-v-8e58b0d4><span class="font-extrabold text-slate-300 text-[11px]" data-v-8e58b0d4>VIRAL CAPTION & HASHTAGS</span><button class="inline-flex items-center gap-1.5 px-3 py-1 bg-slate-800 hover:bg-slate-700 text-sky-300 border border-slate-700 rounded-lg transition text-[11px] font-bold" data-v-8e58b0d4>`);
|
|
1377
1414
|
if (unref(copied)) {
|
|
1378
1415
|
_push(ssrRenderComponent(unref(Check), { class: "w-3.5 h-3.5 text-emerald-400" }, null, _parent));
|
|
1379
1416
|
} else {
|
|
1380
1417
|
_push(ssrRenderComponent(unref(Copy), { class: "w-3.5 h-3.5" }, null, _parent));
|
|
1381
1418
|
}
|
|
1382
|
-
_push(`<span data-v-
|
|
1419
|
+
_push(`<span data-v-8e58b0d4>${ssrInterpolate(unref(copied) ? "Tersalin!" : "Copy Caption")}</span></button></div><textarea rows="2" class="w-full bg-slate-950 text-slate-200 text-xs p-2 rounded-xl border border-slate-800 focus:outline-none focus:border-sky-500/50 resize-none leading-relaxed font-sans" placeholder="Caption will appear here..." data-v-8e58b0d4>${ssrInterpolate(__props.data.caption)}</textarea></div></div>`);
|
|
1383
1420
|
};
|
|
1384
1421
|
}
|
|
1385
1422
|
});
|
|
@@ -1389,7 +1426,7 @@ _sfc_main$1.setup = (props, ctx) => {
|
|
|
1389
1426
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/LivePreview.vue");
|
|
1390
1427
|
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
1391
1428
|
};
|
|
1392
|
-
const __nuxt_component_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
1429
|
+
const __nuxt_component_1 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-8e58b0d4"]]);
|
|
1393
1430
|
const ComparisonRowSchema = z.object({
|
|
1394
1431
|
label: z.string().min(1).max(40),
|
|
1395
1432
|
left: z.string().min(1).max(35),
|
|
@@ -2009,4 +2046,4 @@ _sfc_main.setup = (props, ctx) => {
|
|
|
2009
2046
|
};
|
|
2010
2047
|
|
|
2011
2048
|
export { _sfc_main as default };
|
|
2012
|
-
//# sourceMappingURL=pages-
|
|
2049
|
+
//# sourceMappingURL=pages-9bt5fFh9.mjs.map
|