PageSourceSearch

https://desk.bigvu.tv/chunk-2UOTI5SP.js

js bigvu.tv collected 2026-09-24 08:56:35 UTC 18,602 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8055ed94-0748-51ba-a5ec-68487d34c3cf")}catch(e){}}();
3import{a as ie}from"./chunk-Q2WT2IZD.js";import{a as se}from"./chunk-MFWFSVMG.js";import{d as oe}from"./chunk-DDX27UMN.js";import{b as ne}from"./chunk-LGU7AQEH.js";import"./chunk-IZIKZSIY.js";import"./chunk-OUNC6SXQ.js";import{Ed as ee,Fd as ge,Ib as Z,Jb as ue,ee as te,fe as Oe}from"./chunk-3DSPHW6V.js";import"./chunk-63QE6F3C.js";import{n as Y,r as me}from"./chunk-J3ZCYF7X.js";import"./chunk-N6HKC5YM.js";import"./chunk-EHPICUXU.js";import{Db as q,Tb as J,rc as Q,wb as w,zb as fe}from"./chunk-NZAURXIC.js";import{D as W,y as M}from"./chunk-PDBQSBW2.js";import{Bb as V,Da as g,Gc as c,Ib as l,Ja as d,Lc as m,Nc as C,Va as v,Wa as G,Wb as x,Y as k,Zc as N,Zd as f,_c as D,bb as F,ec as z,fb as T,fc as B,gd as p,hc as h,ic as K,jc as X,oc as j,pc as P,q as R,ra as pe,rc as O,sc as E,tc as s,uc as i,vc as r,zc as U}from"./chunk-RX45F3VG.js";import"./chunk-XTLLHG7S.js";import"./chunk-3YV6UUBL.js";import"./chunk-JLENAXOB.js";import"./chunk-2QIXGXOC.js";import"./chunk-SNF2N7IK.js";import"./chunk-NM7LVQTP.js";import"./chunk-IK6B3JC3.js";import{m as y}from"./chunk-C6VPWJCA.js";f();W();me();fe();pe();Oe();ue();f();function Ee(e,a){e&1&&r(0,"span",18);}var ae=(()=>{class e{constructor(){this.channels=[0,1,2];}static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵcmp=d({type:e,selectors:[["app-oneshot-page-shimmer"]],standalone:!0,features:[p],decls:25,vars:0,consts:[[1,"oneshot-shimmer"],[1,"oneshot-shimmer__header"],[1,"oneshot-shimmer__titles"],[1,"shimmer","oneshot-shimmer__title"],[1,"shimmer","oneshot-shimmer__subtitle"],[1,"shimmer","oneshot-shimmer__button"],[1,"shimmer","oneshot-shimmer__divider"],[1,"oneshot-shimmer__section"],[1,"oneshot-shimmer__section-head"],[1,"shimmer","oneshot-shimmer__title","oneshot-shimmer__title--sm"],[1,"shimmer","oneshot-shimmer__note"],[1,"oneshot-shimmer__tiles"],[1,"oneshot-shimmer__tile"],[1,"shimmer","oneshot-shimmer__label"],[1,"shimmer","oneshot-shimmer__voice"],[1,"shimmer","oneshot-shimmer__portrait"],[1,"oneshot-shimmer__tile","oneshot-shimmer__tile--channels"],[1,"oneshot-shimmer__channels"],[1,"shimmer","oneshot-shimmer__channel"]],template:function(t,o){t&1&&(s(0,"section",0)(1,"header",1)(2,"div",2),r(3,"span",3)(4,"span",4),i(),r(5,"span",5),i(),r(6,"span",6),s(7,"div",7)(8,"div",8)(9,"div",2),r(10,"span",9)(11,"span",4),i(),r(12,"span",10),i(),s(13,"div",11)(14,"div",12),r(15,"span",13)(16,"span",14),i(),s(17,"div",12),r(18,"span",13)(19,"span",15),i(),s(20,"div",16),r(21,"span",13),s(22,"div",17),O(23,Ee,1,0,"span",18,P),i()()()()()),t&2&&(l(23),E(o.channels));},styles:["@keyframes _ngcontent-%COMP%_shimmer-sweep{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}[_nghost-%COMP%]{display:block;width:100%}.shimmer[_ngcontent-%COMP%]{display:block;background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0,#f0f0f0 75%);background-size:200px 100%;animation:_ngcontent-%COMP%_shimmer-sweep 1.5s infinite ease-in-out;border-radius:4px}.oneshot-shimmer[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;background:#fff;border-radius:10px;padding:32px;width:100%;box-sizing:border-box}.oneshot-shimmer__header[_ngcontent-%COMP%], .oneshot-shimmer__section-head[_ngcontent-%COMP%]{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;width:100%}.oneshot-shimmer__titles[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-width:0}.oneshot-shimmer__title[_ngcontent-%COMP%]{width:120px;height:18px}.oneshot-shimmer__title--sm[_ngcontent-%COMP%]{width:92px}.oneshot-shimmer__subtitle[_ngcontent-%COMP%]{width:60%;max-width:420px;height:12px}.oneshot-shimmer__button[_ngcontent-%COMP%]{flex-shrink:0;width:150px;height:40px;border-radius:10px}.oneshot-shimmer__divider[_ngcontent-%COMP%]{width:100%;height:1px;border-radius:0}.oneshot-shimmer__section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;width:100%}.oneshot-shimmer__note[_ngcontent-%COMP%]{flex-shrink:0;width:180px;height:12px}.oneshot-shimmer__tiles[_ngcontent-%COMP%]{display:flex;gap:32px;align-items:flex-start;width:100%;flex-wrap:wrap}
3.oneshot-shimmer__tile[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;flex:0 0 auto}.oneshot-shimmer__tile--channels[_ngcontent-%COMP%]{flex:0 1 auto}.oneshot-shimmer__label[_ngcontent-%COMP%]{width:56px;height:12px}.oneshot-shimmer__voice[_ngcontent-%COMP%]{width:100px;height:100px;border-radius:999px}.oneshot-shimmer__portrait[_ngcontent-%COMP%]{width:100px;height:100px;border-radius:12px}.oneshot-shimmer__channels[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.oneshot-shimmer__channel[_ngcontent-%COMP%]{width:150px;height:100px;flex:0 0 auto;border-radius:16px}@media (max-width: 640px){.oneshot-shimmer[_ngcontent-%COMP%]{padding:16px;gap:16px}.oneshot-shimmer__header[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:16px}.oneshot-shimmer__tile--channels[_ngcontent-%COMP%]{width:100%}}"],changeDetection:0});}}return e;})();f();W();Q();f();var re=(()=>{class e{constructor(){this.alt="";}static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵcmp=d({type:e,selectors:[["app-oneshot-channel-card"]],inputs:{iconSrc:"iconSrc",alt:"alt"},standalone:!0,features:[p],decls:2,vars:2,consts:[[1,"oneshot__channel-card"],[1,"oneshot__channel-icon",3,"src","alt"]],template:function(t,o){t&1&&(s(0,"div",0),r(1,"img",1),i()),t&2&&(l(),h("src",o.iconSrc,V)("alt",o.alt));},styles:["[_nghost-%COMP%]{display:block;flex:0 0 auto}.oneshot__channel-card[_ngcontent-%COMP%]{width:150px;height:100px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #C3CFE1;border-radius:16px;overflow:hidden;box-sizing:border-box}.oneshot__channel-icon[_ngcontent-%COMP%]{width:42px;height:42px;object-fit:contain}"],changeDetection:0});}}return e;})();f();Q();f();var b=(()=>{class e{constructor(){this.edit=new T(),this.lightningIcon="/img/icon-library/symbols/energy-lightening.svg";}static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵcmp=d({type:e,selectors:[["app-oneshot-header"]],outputs:{edit:"edit"},standalone:!0,features:[p],decls:8,vars:2,consts:()=>{let n;n="One prompt, one finished video \u2014 captioned, branded, and published. Set your defaults once.";let t;return t=" Edit OneShot ",[n,t,[1,"oneshot-header"],[1,"titles"],[1,"title"],[1,"subtitle"],["size","md",3,"clicked","variant","leftIconContent"]];},template:function(t,o){t&1&&(s(0,"header",2)(1,"div",3)(2,"h1",4),N(3,"OneShot"),i(),s(4,"p",5),c(5,0),i()(),s(6,"lib-button",6),m("clicked",function(){return o.edit.emit();}),c(7,1),i()()),t&2&&(l(6),h("variant","primary")("leftIconContent",o.lightningIcon));},dependencies:[q],styles:["[_nghost-%COMP%]{display:block;width:100%}.oneshot-header[_ngcontent-%COMP%]{display:flex;gap:24px;align-items:flex-start;width:100%}.titles[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}.title[_ngcontent-%COMP%]{margin:0;font-family:Inter,sans-serif;font-weight:700;font-size:18px;line-height:1.1;color:#253658}.subtitle[_ngcontent-%COMP%]{margin:0;font-family:Inter,sans-serif;font-weight:400;font-size:14px;line-height:1.4;letter-spacing:-.14px;color:#6b7280}"],changeDetection:0});}}return e;})();f();var Se=(e,a)=>a.type+a.name;function Ce(e,a){if(e&1&&r(0,"app-oneshot-channel-card",24),e&2){let n=a.$implicit;h("iconSrc",n.iconSrc)("alt",n.name||n.type);}}function Ne(e,a){e&1&&(s(0,"span",25),c(1,6),i());}var Te=3,le=(()=>{class e{constructor(){this.edit=new T();}get visibleChannels(){return this.summary.channels.slice(0,Te);}get portraitAriaLabel(){let n=this.summary.portraitTitle||"select a portrait";return"Edit portrait \u2014 "+n+"";}onEdit(n){this.edit.emit(n);}static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵcmp=d({type:e,selectors:[["app-oneshot-defaults"]],inputs:{summary:"summary"},outputs:{edit:"edit"},standalone:!0,features:[p],decls:29,vars:10,consts:()=>{let n;n="Edit channels";let t;t="Defaults";let o;o="Set these once, then forget them. Change anytime.";let _;_="Applied to every OneShot you run";let L;L="Voice";let H;H="Portrait";let I;I="Channels";let $;return $="No channels selected",[t,o,_,L,H,I,$,[1,"defaults-card"],[3,"edit"],[1,"divi
3der"],[1,"defaults-section"],[1,"section-head"],[1,"titles"],[1,"section-title"],[1,"subtitle"],[1,"applied-note"],[1,"tiles"],[1,"tile"],[1,"tile-label"],["type","circle","size","large","mediaType","audio",3,"input1","mediaUrl","showPlayButton","title"],["type","button",1,"tile-button","portrait-thumb",3,"click"],[1,"tile","channels-tile"],["type","button","aria-label",n,1,"tile-button","channels-button",3,"click"],[1,"channel-cards"],[3,"iconSrc","alt"],[1,"channels-empty"]];},template:function(t,o){t&1&&(s(0,"section",7)(1,"app-oneshot-header",8),m("edit",function(){return o.onEdit("root");}),i(),r(2,"div",9),s(3,"div",10)(4,"div",11)(5,"div",12)(6,"h2",13),c(7,0),i(),s(8,"p",14),c(9,1),i()(),s(10,"span",15),c(11,2),i()(),s(12,"div",16)(13,"div",17)(14,"span",18),c(15,3),i(),r(16,"lib-thumbnail",19),i(),s(17,"div",17)(18,"span",18),c(19,4),i(),s(20,"button",20),m("click",function(){return o.onEdit("portrait");}),i()(),s(21,"div",21)(22,"span",18),c(23,5),i(),s(24,"button",22),m("click",function(){return o.onEdit("channels");}),s(25,"div",23),O(26,Ce,1,2,"app-oneshot-channel-card",24,Se,!1,Ne,2,0,"span",25),i()()()()()()),t&2&&(l(16),h("input1",o.summary.voiceAvatarUrl||void 0)("mediaUrl",o.summary.voiceAudioPreviewUrl)("showPlayButton",!!o.summary.voiceAudioPreviewUrl)("title",o.summary.voiceName),l(4),K("background-image",o.summary.portraitImageUrl?"url("+o.summary.portraitImageUrl+")":null),X("is-empty",!o.summary.portraitImageUrl),B("aria-label",o.portraitAriaLabel),l(6),E(o.visibleChannels));},dependencies:[M,J,re,b],styles:["[_nghost-%COMP%]{display:block;width:100%}.defaults-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;background:#fff;border-radius:10px;padding:32px;width:100%;box-sizing:border-box}.titles[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}.section-title[_ngcontent-%COMP%]{margin:0;font-family:Inter,sans-serif;font-weight:700;font-size:18px;line-height:1.1;color:#253658}.subtitle[_ngcontent-%COMP%]{margin:0;font-family:Inter,sans-serif;font-weight:400;font-size:14px;line-height:1.4;letter-spacing:-.14px;color:#6b7280}.divider[_ngcontent-%COMP%]{width:100%;height:1px;background:#e5e7eb}.defaults-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;width:100%}.section-head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}.applied-note[_ngcontent-%COMP%]{flex-shrink:0;font-family:Inter,sans-serif;font-weight:400;font-size:14px;line-height:1.4;letter-spacing:-.14px;color:#9ca3af}.tiles[_ngcontent-%COMP%]{display:flex;gap:32px;align-items:flex-start;width:100%;flex-wrap:wrap}.tile[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;flex:0 0 auto}.tile-label[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-weight:500;font-size:14px;line-height:1.4;letter-spacing:-.14px;color:#253658}.tile-button[_ngcontent-%COMP%]{padding:0;margin:0;border:none;background:transparent;cursor:pointer;font:inherit;color:inherit;transition:opacity .15s ease,box-shadow .15s ease}.tile-button[_ngcontent-%COMP%]:hover{opacity:.92}.tile-button[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 2px #4481fd}.portrait-thumb[_ngcontent-%COMP%]{width:100px;height:100px;border-radius:12px;border:1px solid #E5E7EB;background-color:#ebf2ff;background-size:cover;background-position:center}.channels-tile[_ngcontent-%COMP%]{flex:0 1 auto}.channels-button[_ngcontent-%COMP%]{display:block}.channel-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.channels-empty[_ngcontent-%COMP%]{font-family:Inter,sans-serif;font-weight:400;font-size:14px;line-height:1.4;letter-spacing:-.14px;color:#6b7280}@media (max-width: 640px){.defaults-card[_ngcontent-%COMP%]{padding:16px;gap:16px}.defaults-header[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:16px}.section-head[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;gap:8px}.channels-tile[_ngcontent-%COMP%]{width:100%}}"],changeDetection:0});}}return e;})();ge();var _e={root:"/oneshot/setup",portrait:"/oneshot/setup/select-portrait",channels:"/oneshot/setup/social-channels"},S="/img/icon-library/social",xe=[{match:e=>e==="youtube",iconSrc:`${S}/youtube.svg`},{match:e=>e==="tiktok",iconSrc:`${S}/tiktok.svg`},{match:e=>e.startsWith("instagram"),iconSrc:`${S}/instagram.svg`},{match:e=>e.startsWith("linkedin"),iconSrc:`${S}/linkedin.svg`},{match:e=>
3e.startsWith("facebook"),iconSrc:"/img/icons/social-dialog/icons-social-facebook.svg"},{match:e=>e==="twitter"||e==="x",iconSrc:`${S}/x.svg`}],Pe=`${S}/messenger.svg`;function Me(e){return xe.find(a=>a.match(e))?.iconSrc??Pe;}function ce(e){let a=e?.result?.[0]??null;if(!a)return null;let t=a.resources?.[0]??a.resource??{},o=t.thumbnails??{};return{name:a.title||"",avatarUrl:o.high?.url||o.medium?.url||o.lower?.url||"",audioPreviewUrl:t.url||""};}function de(e){return!!e.voiceId||!!e.portraitId||(e.channels?.length??0)>0;}function he(e,a){let n=e.portrait?ne(e.portrait):null;return{voiceName:a?.name??"",voiceAvatarUrl:a?.avatarUrl??"",voiceAudioPreviewUrl:a?.audioPreviewUrl??"",portraitImageUrl:n?.imageUrl||n?.thumbnailUrl||"",portraitTitle:n?.title??"",channels:(e.channels??[]).map(t=>{let o=t.account,_=o?.channel?.provider??o?.provider??o?.type;return _?{type:_,name:o?.channel?.title??o?.title??o?.name??"",iconSrc:Me(_)}:null;}).filter(t=>t!==null)};}f();function Ae(e,a){e&1&&r(0,"app-oneshot-page-shimmer");}function be(e,a){if(e&1){let n=U();s(0,"app-oneshot-defaults",0),m("edit",function(o){v(n);let _=C();return G(_.onEditOneShot(o));}),i();}if(e&2){let n=C();h("summary",n.summary());}}function ye(e,a){if(e&1&&(s(0,"li",7)(1,"span",8),N(2),i(),s(3,"p",9),N(4),i()()),e&2){let n=a.$implicit,t=a.$index;l(2),D(t+1),l(2),D(n.text);}}function ve(e,a){if(e&1){let n=U();s(0,"section",1)(1,"app-oneshot-header",2),m("edit",function(){v(n);let o=C();return G(o.onIntroEdit());}),i(),s(2,"div",3)(3,"div",4),r(4,"hls-video-player",5),i(),s(5,"ol",6),O(6,ye,5,2,"li",7,P),i()()();}if(e&2){let n=C();l(4),h("streamUrl",n.tutorialVideo.streamUrl)("thumbnailUrl",n.tutorialVideo.thumbnailUrl),l(2),E(n.steps);}}var mt=(()=>{class e{constructor(){this.tutorialVideo=oe,this.steps=[{text:"You type a prompt"},{text:"BIGVU writes the script and shoots it"},{text:"Captions and branding applied automatically"},{text:"Published to your social channels"}],this.isLoading=x(!0),this.isConfigured=x(!1),this.summary=x(null),this.router=g(Y),this.eventsService=g(te),this.cache=g(ie),this.deskManager=g(Z),this.destroyRef=g(F),this.EVENT_PATH=this.eventsService.events.connect,this.deskManager.workspaceId$.pipe(w(this.destroyRef)).subscribe(n=>this.loadDefaults(n));}onIntroEdit(){this.navigateToSetup("root","intro");}onEditOneShot(n){this.navigateToSetup(n,"default");}navigateToSetup(n,t){this.eventsService.log(this.EVENT_PATH.connectScreenClick,{stage:"oneshot",screen:t,button:"oneshot-edit",section:n}),this.router.navigate([_e[n]]);}loadDefaults(n){this.isLoading.set(!0),R(this.resolveDefaults(n)).pipe(w(this.destroyRef),k(()=>this.isLoading.set(!1))).subscribe({next:t=>{this.summary.set(t),this.isConfigured.set(t!==null),this.eventsService.log(this.EVENT_PATH.connectPageOpen,{stage:"oneshot",screen:t!==null?"default":"intro",isOnboarded:t!==null});},error:t=>{this.isConfigured.set(!1),se(this.eventsService,"oneshot",t);}});}resolveDefaults(n){return y(this,null,function*(){let t=yield this.cache.getOneShotDefaults(n);if(!de(t))return null;let o=yield this.fetchVoiceInfo(t.voiceId);return he(t,o);});}fetchVoiceInfo(n){return y(this,null,function*(){if(!n)return null;try{let t=yield this.cache.getAsset(n);return ce(t);}catch(t){return console.error("OneShot: failed to load voice asset",t),null;}});}static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵcmp=d({type:e,selectors:[["app-oneshot-page"]],standalone:!0,features:[p],decls:3,vars:1,consts:()=>{let n;return n="Video tutorial",[[3,"edit","summary"],[1,"oneshot-card"],[3,"edit"],[1,"oneshot-body"],["aria-label",n,1,"video-tutorial"],["borderRadius","24px",3,"streamUrl","thumbnailUrl"],[1,"steps"],[1,"step"],[1,"step-number"],[1,"step-text"]];},template:function(t,o){t&1&&z(0,Ae,1,0,"app-oneshot-page-shimmer")(1,be,1,1)(2,ve,8,2),t&2&&j(0,o.isLoading()?0:o.isConfigured()?1:2);},dependencies:[M,ae,le,b,ee],styles:["[_nghost-%COMP%]{display:block;width:100%}.oneshot-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;background:#fff;border-radius:10px;padding:32px;width:100%;box-sizing:border-box}.oneshot-body[_ngcontent-%COMP%]{display:flex;gap:24px;align-items:center;width:100%}.video-tutorial[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;max-width:676px;aspect-ratio:676/380.78;border-radius:24px;border:1px solid #EBF2FF;background:linear-gradient(270deg,#f4fbfe 2.37%,#f6f8ff 99.35%)}.steps[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px;flex:1 1 0;min-width:0;align-self:stretch;justify-content:center}.step[_ngcontent-%COMP%]{display:flex;gap:12px;align-items:flex-start}.step-number[_ngcontent-%COMP%]{flex-shrink:0;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:100px;background:#d6e4ff;color:#4481fd;font-family:Inter,sans-serif;font-weight:600;font-size:12px;line-height:1.4;letter-spacing:-.12px}.step-text[_ngcontent-%COMP%]{margin:0;font-family:Inter,sans-serif;font-weight:400;font-size:16px;line-height:1.4;letter-spacing:-.16px;color:#253658}@media (max-width: 1280px){.oneshot-body[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}.steps[_ngcontent-%COMP%], .video-tutorial[_ngcontent-%COMP%]{width:100%}}@media (max-width: 640px){.oneshot-card[_ngcontent-%COMP%]{padding:16px;gap:16px}.oneshot-header[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:16px}}"],changeDetection:0});}}return e;})();export{mt as OneShotPageComponent};/**i18n:e059b5419240afef74436eb5a1887102ff8937e043a8d48b1423a03649476971*/
4//# debugId=8055ed94-0748-51ba-a5ec-68487d34c3cf

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.