1import{a as nt,b as xe}from"./chunk-MWXJFLC2.js";import"./chunk-4YAMNBTM.js";import{a as ot,b as rt}from"./chunk-YR6N7CWL.js";import{d as it}from"./chunk-3WRK7X32.js";import{a as tt,b as pe}from"./chunk-VBH7BJNM.js";import"./chunk-BMAVV5TF.js";import{b as et}from"./chunk-XHQTDZQ7.js";import{a as Je}from"./chunk-VYULK3Y3.js";import{a as Be}from"./chunk-ZMMM2NJV.js";import"./chunk-IJ2PWAPC.js";import"./chunk-IKQR3USM.js";import{a as Ze}from"./chunk-4ABKOVHO.js";import{g as ze,i as Re}from"./chunk-ZV7NG4F4.js";import"./chunk-DJ5AJG3T.js";import"./chunk-6EF6RNOO.js";import"./chunk-T3DWPM4S.js";import"./chunk-K6QYQNRN.js";import"./chunk-JS6LICOA.js";import{a as $e}from"./chunk-WF4KZOYP.js";import"./chunk-EB6TJ75L.js";import{D as Xe,c as Ne,g as De,h as je,j as He,l as We,m as Ke,t as Ge,u as Ye,v as qe,z as Qe}from"./chunk-FOJCKIWO.js";import"./chunk-AB6CKZTE.js";import{d as ce,e as Y}from"./chunk-YQZAETCE.js";import{o as Ue,r as le,s as Le,x as Fe}from"./chunk-EO42E46J.js";import{h as $}from"./chunk-3QVSKJ3X.js";import{I as z,c as F,m as Ee,p as Te,r as se,s as G}from"./chunk-ERUCNOOT.js";import{$b as h,Cc as oe,Dc as re,Ec as ae,F as ke,Fa as ie,Gc as he,Hc as K,Ib as k,Ic as Oe,Jb as p,Kb as S,Lb as y,Qb as I,Qc as v,Rb as ne,Rc as x,Sc as R,Tb as N,Ub as D,Uc as E,Vb as s,Wb as c,Xb as g,Yb as V,Z as te,Zb as M,_a as L,da as P,db as r,fc as f,gc as a,ka as Ve,l as ye,la as _,ma as d,mc as j,na as Me,nc as H,oa as Ie,oc as W,p as Pe,s as T,sb as B,sc as O,tc as m,uc as w,va as U,vc as b,wa as Ae,wc as Q,yb as u,yc as Se}from"./chunk-DBE7WQEG.js";import{a as be,g as ee}from"./chunk-W7GRJBO5.js";var _e=class i{http=P($);zone=P(Ae);isBrowser=F(P(ie));buffer=new Map;timer=null;FLUSH_DELAY=4e3;listenersBound=!1;track(t){!this.isBrowser||!t||(this.buffer.set(t,(this.buffer.get(t)||0)+1),this.bindUnloadListeners(),!this.timer&&this.zone.runOutsideAngular(()=>{this.timer=setTimeout(()=>{this.timer=null,this.zone.run(()=>this.flush())},this.FLUSH_DELAY)}))}flush(t=!1){if(!this.isBrowser||this.buffer.size===0)return;let e=Array.from(this.buffer.entries()).map(([o,l])=>({videoId:o,count:l}));this.buffer.clear();let n="/api/live/videos/impressions";if(t&&typeof navigator<"u"&&navigator.sendBeacon)try{navigator.sendBeacon(n,new Blob([JSON.stringify({items:e})],{type:"application/json"}));return}catch{}this.http.post(n,{items:e}).subscribe({error:()=>{}})}bindUnloadListeners(){this.listenersBound||typeof window>"u"||(this.listenersBound=!0,this.zone.runOutsideAngular(()=>{window.addEventListener("pagehide",()=>this.flush(!0)),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&this.flush(!0)})}))}static \u0275fac=function(e){return new(e||i)};static \u0275prov=te({token:i,factory:i.\u0275fac,providedIn:"root"})};function q(i,t){return{id:t,title:i.title,caption:i.label||i.title||"",creatorId:i.workspaceId,creatorName:i.creatorName,creatorUsername:i.creatorSlug,creatorSlug:i.creatorSlug,creatorAvatar:i.creatorAvatar,creatorVerified:i.creatorVerified,creatorLive:!0,thumbnailUrl:i.thumbnailUrl||void 0,likeCount:i.totalHearts,viewCount:i.viewerCount,commentCount:i.totalComments,shareCount:0,isLiked:!1,tags:[],allowRemix:!1,visibility:"public",contentType:"live",live:i}}function at(i,t){if(!i.audiencePivot)return 0;let e=(t||"").trim().toLowerCase();if(!e)return 0;let n=i.photos||[];for(let o=0;o<n.length;o++){let l=(n[o].slotKey||"").trim().toLowerCase();if(l&&l===e)return o}return 0}function ft(i){if(!i)return[];let t=[],e=/#([\p{L}0-9_]+)/gu,n;for(;(n=e.exec(i))!==null;)t.includes(n[1])||t.push(n[1]);return t}var de=class i{http=P($);base="/api";getFeed(t={}){let e={limit:String(t.limit??20)};t.cursor&&(e.cursor=t.cursor),t.seed&&(e.seed=t.seed),t.exclude&&(e.exclude=t.exclude),t.lastWorkspaceId&&(e.lastWorkspaceId=t.lastWorkspaceId);let n=new URLSearchParams(e).toString();return this.http.get(`${this.base}/live/videos?${n}`).pipe(T(o=>({items:(o.items||[]).map(l=>this.toVideoVM(l)),nextCursor:o.nextCursor??null,hasMore:!!o.hasMore})))}getVideo(t){return this.http.get(`${this.base}/live/videos/${t}`).pipe(T(e=>this.toVideoVM(e)))}getVideosByWorkspace(t,e=30){return this.http.get(`${this.base}/live/videos/workspace/${t}?page=1&limit=${e}`).pipe(T(n=>(n.items||[]).map(o=>this.toVideoVM(o))))}getAudioVideos(t,e=30){return this.http.get(`${this.base}/audio/${t}/contents?page=1&limit=${e}`).pipe(T(n=>(n.contents||[]).map(o=>
1o.videoContent).filter(Boolean).map(o=>this.toVideoVM(o))))}getComments(t,e=30){return this.http.get(`${this.base}/live/videos/${t}/comments?page=1&limit=${e}`).pipe(T(n=>(n.items||[]).map(o=>this.toCommentVM(o))))}updateContent(t,e,n){return this.http.patch(`${this.base}/content/${t}`,n,{headers:{"x-workspace-id":e}})}deleteContent(t,e){return this.http.delete(`${this.base}/content/${t}`,{headers:{"x-workspace-id":e}})}toVideoVM(t){let e=t.description||t.title||"",n=t.workspaceAuthor||null,o=t.user||null;return{id:t.id,title:t.title||"",caption:e,videoUrl:t.videoUrl,hlsUrl:t.hlsUrl,thumbnailUrl:t.thumbnailUrl||void 0,duration:t.duration,creatorId:t.workspaceId||o?.id,creatorName:n?.displayName||n?.username||t.workspaceDisplayName||o?.name||"Hou.la",creatorUsername:n?.username||o?.slug||void 0,creatorSlug:n?.username||o?.slug,creatorAvatar:n?.avatarUrl||t.workspaceAvatarUrl||o?.avatarUrl||void 0,creatorVerified:!!(t.isWorkspaceVerified||o?.isVerified),creatorLive:!!n?.isLive,likeCount:t.likeCount??0,viewCount:t.viewCount??0,commentCount:t.commentCount??0,shareCount:t.shareCount??0,isLiked:!!t.isLiked,tags:ft(e),audio:t.audioClip?.audio?[t.audioClip.audio.title,t.audioClip.audio.artistName].filter(Boolean).join(" \xB7 "):void 0,audioId:t.audioClip?.audio?.id??t.audioClip?.audioId??void 0,audioCover:t.audioClip?.audio?.coverUrl||t.audioClip?.audio?.artistPhotoUrl||void 0,allowRemix:t.allowRemix!==!1,pinnedProduct:t.pinnedProduct||null,visibility:t.visibility||"public",contentType:t.contentType==="photo"?"photo":"video",audie
1ncePivot:t.audiencePivot??null,photos:(t.photos||[]).map(l=>({id:l.id,imageUrl:l.imageUrl,width:l.width??void 0,height:l.height??void 0,slotKey:l.slotKey??null})),productPins:(t.productPins||[]).map(l=>({id:l.id,photoId:l.photoId??null,productId:l.productId,xPct:Number(l.xPct),yPct:Number(l.yPct),label:l.label??null,product:l.product||null}))}}toCommentVM(t){let e=t.workspace||t.author||null;return{id:t.id,content:t.content||t.text||"",createdAt:t.createdAt,likeCount:t.likeCount??0,authorName:e?.name||e?.username||"Hou.la",authorSlug:e?.slug,authorAvatar:e?.avatarUrl||void 0,authorVerified:!!e?.isVerified,authorWorkspaceId:t.workspaceId||e?.id||void 0,isLiked:t.isLiked===!0,isHiddenByOwner:t.isHiddenByOwner===!0,replyCount:t.replyCount??0,parentId:t.parentId??null}}addComment(t,e,n){let o={content:e};return n&&(o.parentId=n),this.http.post(`${this.base}/live/videos/${t}/comments`,o).pipe(T(l=>this.toCommentVM(l)))}getReplies(t,e=20){return this.http.get(`${this.base}/live/videos/comments/${t}/replies?page=1&limit=${e}`).pipe(T(n=>(n.items||[]).map(o=>this.toCommentVM(o))))}likeComment(t){return this.http.post(`${this.base}/live/videos/comments/${t}/like`,{})}unlikeComment(t){return this.http.delete(`${this.base}/live/videos/comments/${t}/like`)}deleteComment(t){return this.http.delete(`${this.base}/live/videos/comments/${t}`)}hideComment(t){return this.http.post(`${this.base}/live/videos/comments/${t}/hide`,{})}unhideComment(t){return this.http.delete(`${this.base}/live/videos/comments/${t}/hide`)}reportComment(t,e,n){return this.http.post(`${this.base}/live/videos/comments/${t}/report`,be({reason:e},n?{details:n}:{}))}recordShare(t){return this.http.post(`${this.base}/content/${t}/share`,{})}resolveShareToken(t){return this.http.get(`${this.base}/content/share/${encodeURIComponent(t)}`)}blockWorkspace(t){return this.http.post(`${this.base}/live/videos/blocks/${t}`,{})}static \u0275fac=function(e){return new(e||i)};static \u0275prov=te({token:i,factory:i.\u0275fac,providedIn:"root"})};var ut=/[\p{L}\p{M}\p{N}\p{Cf}_]/u,gt=/[\p{sc=Han}\p{sc=Hiragana}\p{sc=Katakana}\p{sc=Hangul}\p{sc=Thai}\p{sc=Khmer}\p{sc=Lao}\p{sc=Myanmar}]/u;function vt(i,t){if(t<=0)return!0;let e=t-1,n=i.charCodeAt(e);e>0&&n>=56320&&n<=57343&&(e-=1);let o=i.slice(e,t);return ut.test(o)?gt.test(o):!0}function st(i){if(!i)return[];let t=/@\[([^\]]+)\]\(([^)\s]+)\)|@\[([^\]]+)\]|([#@])([a-zA-Z0-9_.Ã-ÿ-]+)/gu,e=[],n=0,o;for(;(o=t.exec(i))!==null;)if(!(o[4]!==void 0&&!vt(i,o.index))){if(o.index>n&&e.push({text:i.slice(n,o.index),kind:"text"}),o[1]!==void 0)e.push({text:`@${o[1]}`,kind:"mention",ref:o[2]});else if(o[3]!==void 0)e.push({text:`@${o[3]}`,kind:"mention",ref:o[3]});else{let l=o[4],C=o[5];e.push({text:`${l}${C}`,kind:l==="#"?"hashtag":"mention",ref:C})}n=o.index+o[0].length}return n<i.length&&e.push({text:i.slice(n),kind:"text"}),e}var Ce=8,lt=24,ht=3,ct=5,me=class{pool=[];rotation=0;lastShownAt=new Map;pos=0;nextSlot=ht;minted=0;setPool(t){this.pool=t||[],this.rotation>=this.pool.length&&(this.rotation=0);let e=new Set(this.pool.map(n=>n.id));for(let n of Array.from(this.lastShownAt.keys()))e.has(n)||this.lastShownAt.delete(n)}get poolSize(){return this.pool.length}addToPool(t){return!t?.id||this.pool.some(e=>e.id===t.id)?!1:(this.pool=[...this.pool,t],!0)}notePlacedAt(t,e){return this.minted+=1,this.lastShownAt.set(t.id,e),this.pos+=1,this.nextSlot=Math.max(this.nextSlot,e+this.cadence()),`live:${t.id}:${this.minted}`}get poolIds(){return this.pool.map(t=>t.id)}cadence(){return this.pool.length?Math.max(Ce,Math.ceil(lt/this.pool.length)):Number.POSITIVE_INFINITY}interleave(t,e){if(!this.pool.length)return this.pos+=t.length,t;let n=[];for(let o of t){if(this.pos>=this.nextSlot){let l=this.takeNext();l&&(this.minted+=1,n.push(e(l,`live:${l.id}:${this.minted}`)),this.lastShownAt.set(l.id,this.pos),this.pos+=1),this.nextSlot=this.pos+this.cadence()}n.push(o),this.pos+=1}return n}takeNext(){for(let t=0;t<this.pool.length;t++){let e=this.pool[(this.rotation+t)%this.pool.length],n=this.lastShownAt.get(e.id);if(n===void 0||this.pos-n>=lt)return this.rotation=(this.rotation+t+1)%this.pool.length,e}return null}};function xt(i,t){if(i&1&&(s(0,"span",13)(1,"span",14),m(2),c()()),i&2){let e=a().$implicit;p("title",e.note),r(2),w(e.note)}}function Ct(i,t){if(i&1&&(V(0),m(1),M()),i&2){let e=a().$implicit;r(),w((e.displayName||"?").charAt(0))}}function wt(i,t){i&1&&(s(0,"span",15),m(1,"LIVE"),c())}function bt(i,t){i&1&&(s(0,"i",16),m(1,"\u2713"),c())}function yt(i,t){if(i&1){let e=h();s(0,"li",4)(1,"button",5),f("click",function(){let o=_(e).$implicit,l=a(2);return d(l.onOpen(o))}),u(2,xt,3,2,"span",6),s(3,"span",7)(4,"span",8),u(5,Ct,2,1,"ng-container",9),c(),u(6,wt,2,0,"span",10),c(),s(7,"span",11),m(8),u(9,bt,2,0,"i",12),c()()()}if(i&2){let e=t.$implicit;r(),k("aria-label",e.displayName),r(),p("ngIf",e.note),r(),y("is-live",e.isLive)("has-story",!e.isLive&&e.hasUnseen)("has-story--seen",!e.isLive&&!e.hasUnseen),r(),S("background-image",e.avatarUrl?"url("+e.avatarUrl+")":""),r(),p("ngIf",!e.avatarUrl),r(),p("ngIf",e.isLive),r(2),w(e.displayName),r(),p("ngIf",e.verified)}}function Pt(i,t){if(i&1&&(s(0,"div",1)(1,"ul",2),u(2,yt,10,14,"li",3),c()()),i&2){let e=a();r(2),p("ngForOf",e.trays)("ngForTrackBy",e.trackByWs)}}var fe=class i{stories=P(ot);surface="for_you";open=new U;openLive=new U;trayReady=new U;trays=[];ngOnInit(){this.stories.getTrays(this.surface).subscribe(t=>{this.trays=t,this.trayReady.emit(t.length>0)})}onOpen(t){if(t.isLive&&t.liveRoomId){this.openLive.emit(t.liveRoomId);return}t.hasUnseen=!1,this.open.emit(t.workspaceId)}trackByWs(t,e){return e.workspaceId}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=B({type:i,selectors:[["app-story-tray"]],inputs:{surface:"surface"},outputs:{open:"open",openLive:"openLive",trayReady:"trayReady"},decls:1,vars:1,consts:[["class","stray",4,"ngIf"],[1,"stray"],[1,"stray__list"],["class","stray__item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"stray__item"],["type","button",1,"stray__btn",3,"click"],["class","stray__note",3,"title",4,"ngIf"],[1,"stray__ring"],[1,"stray__av"],[4,"ngIf"],["class","stray__live",4,"ngIf"],[1,"stray__name"],["class","stray__check",4,"ngIf"],[1,"stray__note",3,"title"],[1,"stray__note-txt"],[1,"stray__live"],[1,"stray__check"]],template:function(e,n){e&1&&u(0,Pt,3,2,"div",0),e&2&&p("ngIf",n.trays.length)},dependencies:[z,se,G,Y],styles:['[_nghost-%COMP%]{--paper: #0a0a14;--surface: #12121e;--surface-2: #1a1a2e;--ink: #ffffff;--ink-soft: rgba(255, 255, 255, .66);--ink-muted: rgba(255, 255, 255, .45);--accent: #2f8eef;--accent-bright: #54a6f6;--live: #ff3b30;--error: #ef4444;--border: rgba(255, 255, 255, .1);--border-soft: rgba(255, 255, 255, .06);--topbar: 64px;--story-ring-a: #ffc83a;--story-ring-b: #ff7a1a;--story-ring-seen: rgba(255, 255, 255, .22);display:block}.stray[_ngcontent-%COMP%]{padding:8px 0 6px;background:var(--paper);border-bottom:1px solid rgba(255,255,255,.06)}.stray__list[_ngcontent-%COMP%]{display:flex;gap:14px;margin:0;padding:26px 12px 6px;list-style:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}.stray__list[_ngcontent-%COMP%]::-webkit-scrollbar{height:4px}.stray__list[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.stray__list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:999px;background:#ffffff2e}.stray__list[_ngcontent-%COMP%]:hover::-webkit-scrollbar-thumb{background:#ffffff57}.stray__item[_ngcontent-%COMP%]{flex:0 0 auto}.stray__btn[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;width:68px;background:none;border:0;padding:0;color:var(--ink);cursor:pointer}.stray__ring[_ngcontent-%COMP%]{display:block;padding:2.5px;border-radius:50%;background:transparent}.stray__ring.has-story[_ngcontent-%COMP%]{background:linear-gradient(135deg,var(--story-ring-a),var(--story-ring-b))}
1.stray__ring.is-live[_ngcontent-%COMP%]{background:var(--live);position:relative}.stray__ring.has-story--seen[_ngcontent-%COMP%]{background:var(--story-ring-seen)}.stray__av[_ngcontent-%COMP%]{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--surface-2) center/cover no-repeat;border:2px solid var(--paper);font-weight:700;font-size:18px;color:var(--ink-soft)}.stray__name[_ngcontent-%COMP%]{max-width:68px;font-size:11px;line-height:1.2;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-flex;align-items:center;gap:2px}.stray__check[_ngcontent-%COMP%]{color:var(--accent-bright);font-style:normal;font-size:9px}.stray__note[_ngcontent-%COMP%]{position:absolute;left:50%;bottom:calc(100% - 10px);transform:translate(-50%);z-index:2;width:max-content;max-width:78px;padding:4px 7px;border-radius:10px;background:#fff;color:#12121e;font-size:10px;font-weight:500;line-height:1.2;text-align:center;box-shadow:0 2px 8px #00000073}.stray__note[_ngcontent-%COMP%]:after{content:"";position:absolute;left:50%;bottom:-4px;transform:translate(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #fff}.stray__note-txt[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.stray__live[_ngcontent-%COMP%]{position:absolute;left:50%;bottom:-5px;transform:translate(-50%);padding:1px 5px;border-radius:999px;background:var(--live);color:#fff;font-size:8px;font-weight:800;letter-spacing:.4px;line-height:1.4;border:1.5px solid var(--paper)}']})};function Vt(i,t){if(i&1&&(s(0,"div",15),m(1),c()),i&2){let e=a(2);r(),w(e.profile==null?null:e.profile.note)}}function Mt(i,t){if(i&1&&(V(0),m(1),M()),i&2){let e=a(2);r(),w((e.displayName||"?").charAt(0))}}function It(i,t){i&1&&g(0,"app-verified-badge")}function At(i,t){if(i&1&&(s(0,"p",16),m(1),c()),i&2){let e=a(2);r(),w("@"+e.slug)}}function St(i,t){if(i&1&&(s(0,"p",17)(1,"b"),m(2),c(),s(3,"span"),m(4),v(5,"translate"),c()()),i&2){let e=a(2);r(2),w(e.count(e.profile.followerCount)),r(2),w(x(5,2,"PROFILE.FOLLOWERS"))}}function Ot(i,t){if(i&1&&(s(0,"p",18),m(1),c()),i&2){let e=a(2);r(),b(" ",e.profile==null?null:e.profile.description," ")}}function Et(i,t){if(i&1){let e=h();s(0,"button",19),f("click",function(){_(e);let o=a(2);return d(o.onAvatarTap())}),m(1),v(2,"translate"),c()}i&2&&(r(),b(" ",x(2,1,"APP.STORY.VIEW_STORY")," "))}function Tt(i,t){if(i&1){let e=h();s(0,"div",1),f("click",function(){_(e);let o=a();return d(o.close())}),s(1,"div",2),f("click",function(o){return _(e),d(o.stopPropagation())}),g(2,"span",3),u(3,Vt,2,1,"div",4),s(4,"button",5),f("click",function(){_(e);let o=a();return d(o.onAvatarTap())}),s(5,"span",6),u(6,Mt,2,1,"ng-container",7),c()(),s(7,"p",8),m(8),u(9,It,1,0,"app-verified-badge",7),c(),u(10,At,2,1,"p",9)(11,St,6,4,"p",10)(12,Ot,2,1,"p",11),s(13,"div",12),u(14,Et,3,3,"button",13),s(15,"button",14),f("click",function(){_(e);let o=a();return d(o.goToProfile())}),m(16),v(17,"translate"),c()()()()}if(i&2){let e=a();r(3),p("ngIf",e.profile==null?null:e.profile.note),r(),y("is-live",e.profile==null?null:e.profile.isLive)("has-story",!(e.profile!=null&&e.profile.isLive)&&(e.profile==null?null:e.profile.hasUnseenStory))("has-story--seen",!(e.profile!=null&&e.profile.isLive)&&(e.profile==null?null:e.profile.hasStory)&&!(e.profile!=null&&e.profile.hasUnseenStory)),k("aria-label",e.displayName),r(),S("background-image",e.avatarUrl?"url("+e.avatarUrl+")":""),r(),p("ngIf",!e.avatarUrl),r(2),b(" ",e.displayName,""),r(),p("ngIf",e.profile==null?null:e.profile.isVerified),r(),p("ngIf",e.slug),r(),p("ngIf",e.profile),r(),p("ngIf",e.profile==null?null:e.profile.description),r(2),p("ngIf",e.profile==null?null:e.profile.hasStory),r(2),b(" ",x(17,18,"APP.STORY.VIEW_PROFILE")," ")}}var _t=new Map,Ut=9e4,ue=class i{http=P($);router=P(le);workspaceId=null;fallbackName="";fallbackAvatar;fallbackSlug;closed=new U;openStory=new U;profile=null;loading=!1;ngOnChanges(t){if(!t.workspaceId||(this.profile=null,!this.workspaceId))return;let e=_t.get(this.workspaceId);if(e&&Date.now()-e.at<Ut){this.profile=e.profile;return}let n=this.workspaceId;
1this.loading=!0,this.http.get(`/api/workspaces/public/${n}`).pipe(ke(()=>ye(null))).subscribe(o=>{this.loading=!1,this.workspaceId===n&&o&&(this.profile=o,_t.set(n,{at:Date.now(),profile:o}))})}get displayName(){return this.profile?.name||this.fallbackName}get avatarUrl(){return this.profile?.avatarUrl||this.fallbackAvatar}get slug(){return this.profile?.slug||this.fallbackSlug}onAvatarTap(){this.profile?.hasStory&&this.workspaceId&&this.openStory.emit(this.workspaceId)}goToProfile(){let t=this.slug;this.closed.emit(),t?this.router.navigateByUrl("/@"+t):this.workspaceId&&this.router.navigateByUrl("/profile/"+this.workspaceId)}close(){this.closed.emit()}count(t){let e=t??0;return e>=1e6?(e/1e6).toFixed(1).replace(".0","")+"M":e>=1e3?(e/1e3).toFixed(1).replace(".0","")+"K":String(e)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=B({type:i,selectors:[["app-workspace-mini-sheet"]],inputs:{workspaceId:"workspaceId",fallbackName:"fallbackName",fallbackAvatar:"fallbackAvatar",fallbackSlug:"fallbackSlug"},outputs:{closed:"closed",openStory:"openStory"},features:[Ve],decls:1,vars:1,consts:[["class","wms",3,"click",4,"ngIf"],[1,"wms",3,"click"],[1,"wms__panel",3,"click"],[1,"wms__grip"],["class","wms__note",4,"ngIf"],["type","button",1,"wms__avwrap",3,"click"],[1,"wms__av"],[4,"ngIf"],[1,"wms__name"],["class","wms__slug",4,"ngIf"],["class","wms__stats",4,"ngIf"],["class","wms__bio",4,"ngIf"],[1,"wms__actions"],["type","button","class","wms__btn wms__btn--primary",3,"click",4,"ngIf"],["type","button",1,"wms__btn",3,"click"],[1,"wms__note"],[1,"wms__slug"],[1,"wms__stats"],[1,"wms__bio"],["type","button",1,"wms__btn","wms__btn--primary",3,"click"]],template:function(e,n){e&1&&u(0,Tt,18,20,"div",0),e&2&&p("ngIf",n.workspaceId)},dependencies:[pe,z,G,Y,ce],styles:['[_nghost-%COMP%]{--paper: #0a0a14;--surface: #12121e;--surface-2: #1a1a2e;--ink: #ffffff;--ink-soft: rgba(255, 255, 255, .66);--ink-muted: rgba(255, 255, 255, .45);--accent: #2f8eef;--accent-bright: #54a6f6;--live: #ff3b30;--error: #ef4444;--border: rgba(255, 255, 255, .1);--border-soft: rgba(255, 255, 255, .06);--topbar: 64px;--story-ring-a: #ffc83a;--story-ring-b: #ff7a1a;--story-ring-seen: rgba(255, 255, 255, .22);display:block}.wms[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:980;display:flex;align-items:flex-end;justify-content:center;background:#05050c99;backdrop-filter:blur(4px);animation:_ngcontent-%COMP%_wmsFade .16s ease}.wms__panel[_ngcontent-%COMP%]{position:relative;width:100%;max-width:460px;padding:8px 18px calc(18px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:var(--surface-2);box-shadow:0 -20px 60px #00000080;text-align:center;animation:_ngcontent-%COMP%_wmsUp .2s ease}.wms__grip[_ngcontent-%COMP%]{display:block;width:40px;height:4px;border-radius:2px;background:#ffffff38;margin:6px auto 14px}.wms__avwrap[_ngcontent-%COMP%]{display:inline-block;padding:0;border:0;border-radius:50%;background:none;cursor:pointer}.wms__avwrap.is-live[_ngcontent-%COMP%]{padding:3px;background:conic-gradient(var(--live),#ff7aa8,var(--live))}.wms__avwrap.has-story[_ngcontent-%COMP%]{padding:3px;background:linear-gradient(135deg,var(--story-ring-a),var(--story-ring-b))}.wms__avwrap.has-story--seen[_ngcontent-%COMP%]{padding:3px;background:var(--story-ring-seen)}.wms__av[_ngcontent-%COMP%]{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--paper) center/cover no-repeat;border:3px solid var(--surface-2);font-size:26px;font-weight:800;color:var(--ink)}.wms__note[_ngcontent-%COMP%]{position:relative;display:inline-block;max-width:80%;margin:0 auto 10px;padding:6px 10px;border-radius:12px;background:#fff;color:#12121e;font-size:12px;font-weight:500;line-height:1.25;box-shadow:0 2px 10px #00000073}.wms__note[_ngcontent-%COMP%]:after{content:"";position:absolute;left:50%;bottom:-5px;transform:translate(-50%);border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #fff}.wms__name[_ngcontent-%COMP%]{margin:10px 0 0;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px}.wms__name[_ngcontent-%COMP%] .pi-verified[_ngcontent-%COMP%]{color:var(--accent-bright);font-size:14px}.wms__slug[_ngcontent-%COMP%]{margin:2px 0 0;font-size:13px;color:var(--ink-muted)}.wms__stats[_ngcontent-%COMP%]{margin:10px 0 0;display:flex;align-items:baseline;justify-content:center;gap:6px;font-size:13px;color:var(--ink-muted)}.wms__stats[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:16px;font-weight:700;color:var(--ink)}.wms__bio[_ngcontent-%COMP%]{margin:10px 0 0;font-size:13px;line-height:1.45;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wms__actions[_ngcontent-%COMP%]{margin-top:16px;display:flex;gap:8px}.wms__btn[_ngcontent-%COMP%]{flex:1;height:42px;border:1px solid var(--border);border-radius:10px;background:#ffffff0f;color:var(--ink);font-size:14px;font-weight:600;cursor:pointer}.wms__btn[_ngcontent-%COMP%]:hover{background:#ffffff1a}.wms__btn--primary[_ngcontent-%COMP%]{background:var(--accent);border-color:transparent}.wms__btn--primary[_ngcontent-%COMP%]:hover{background:var(--accent-bright)}@media (min-width: 900px){.wms[_ngcontent-%COMP%]{align-items:center}.wms__panel[_ngcontent-%COMP%]{max-width:380px;border-radius:22px;animation:_ngcontent-%COMP%_wmsFade .16s ease}.wms__grip[_ngcontent-%COMP%]{display:none}}@keyframes _ngcontent-%COMP%_wmsFade{0%{opacity:0}
1}@keyframes _ngcontent-%COMP%_wmsUp{0%{transform:translateY(20px);opacity:0}}']})};var Lt=(i,t)=>t.key;function Ft(i,t){if(i&1){let e=h();s(0,"button",7),f("click",function(){let o=_(e).$implicit,l=a();return d(l.active=o.key)}),m(1),c()}if(i&2){let e=t.$implicit,n=a();y("is-active",n.active===e.key),r(),b(" ",e.key," ")}}function Bt(i,t){if(i&1){let e=h();s(0,"button",8),f("click",function(){let o=_(e).$implicit,l=a();return d(l.pick(o))}),m(1),c()}if(i&2){let e=t.$implicit;r(),b(" ",e," ")}}var ge=class i{picked=new U;closed=new U;active="\u{1F600}";categories=[{key:"\u{1F600}",emojis:`\u{1F600} \u{1F603} \u{1F604} \u{1F601} \u{1F606} \u{1F605} \u{1F923} \u{1F602} \u{1F642} \u{1F60A} \u{1F607} \u{1F970} \u{1F60D} \u{1F929} \u{1F618} \u{1F617} \u{1F61A} \u{1F619} \u{1F972} \u{1F60B} 2\u{1F61B} \u{1F61C} \u{1F92A} \u{1F61D} \u{1F911} \u{1F917} \u{1F92D} \u{1F92B} \u{1F914} \u{1FAE1} \u{1F910} \u{1F928} \u{1F610} \u{1F611} \u{1F636} \u{1FAE5} \u{1F60F} \u{1F612} \u{1F644} \u{1F62C} 3\u{1F925} \u{1F60C} \u{1F614} \u{1F62A} \u{1F924} \u{1F634} \u{1F637} \u{1F912} \u{1F915} \u{1F922} \u{1F92E} \u{1F975} \u{1F976} \u{1F974} \u{1F635} \u{1F92F} \u{1F920} \u{1F973} \u{1F978} \u{1F60E} 4\u{1F913} \u{1F9D0} \u{1F615} \u{1FAE4} \u{1F61F} \u{1F641} \u{1F62E} \u{1F62F} \u{1F632} \u{1F633} \u{1F97A} \u{1F979} \u{1F626} \u{1F627} \u{1F628} \u{1F630} \u{1F625} \u{1F622} \u{1F62D} \u{1F631} 5\u{1F616} \u{1F623} \u{1F61E} \u{1F613} \u{1F629} \u{1F62B} \u{1F971} \u{1F624} \u{1F621} \u{1F620} \u{1F92C} \u{1F608} \u{1F47F} \u{1F480} \u2620\uFE0F \u{1F4A9} \u{1F921} \u{1F47B} \u{1F47D} \u{1F916}`.split(/\s+/)},{key:"\u{1F44B}",emojis:`\u{1F44B} \u{1F91A} \u{1F590}\uFE0F \u270B \u{1F596} \u{1FAF1} \u{1FAF2} \u{1FAF3} \u{1FAF4} \u{1F44C} \u{1F90C} \u{1F90F} \u270C\uFE0F \u{1F91E} \u{1FAF0} \u{1F91F} \u{1F918} \u{1F919} \u{1F448} \u{1F449} 6\u{1F446} \u{1F595} \u{1F447} \u261D\uFE0F \u{1FAF5} \u{1F44D} \u{1F44E} \u270A \u{1F44A} \u{1F91B} \u{1F91C} \u{1F44F} \u{1F64C} \u{1FAF6} \u{1F450} \u{1F932} \u{1F91D} \u{1F64F} \u270D\uFE0F \u{1F4AA}`.split(/\s+/)},{key:"\u2764\uFE0F",emojis:`\u2764\uFE0F \u{1F9E1} \u{1F49B} \u{1F49A} \u{1F499} \u{1F49C} \u{1F5A4} \u{1F90D} \u{1F90E} \u{1F494} \u2764\uFE0F\u200D\u{1F525} \u2764\uFE0F\u200D\u{1FA79} \u{1F495} \u{1F49E} \u{1F493} \u{1F497} \u{1F496} \u{1F498} \u{1F49D} \u{1F49F} 7\u{1F4AF} \u2728 \u{1F31F} \u2B50 \u{1F525} \u{1F4A5} \u26A1 \u{1F308} \u2600\uFE0F \u{1F319} \u{1F389} \u{1F38A} \u{1F381} \u{1F388} \u{1F3C6} \u{1F947} \u{1F948} \u{1F949} \u{1F3AF} \u{1F48E} 8\u{1F451} \u{1F48B} \u{1F440} \u{1F441}\uFE0F \u{1F4B0} \u{1F4B5} \u{1F4B8} \u{1F4F1} \u{1F4BB} \u{1F4F8}`.split(/\s+/)},{key:"\u{1F355}",emojis:`\u{1F355} \u{1F354} \u{1F35F} \u{1F32E} \u{1F32F} \u{1F363} \u{1F371} \u{1F369} \u{1F36A} \u{1F382} \u{1F370} \u{1F9C1} \u2615 \u{1F9CB} \u{1F37A} \u{1F377} \u{1F942} \u{1F37E} \u{1F9C3} \u{1F964} 9\u{1F3AE} \u{1F3B5} \u{1F3B6} \u{1F3A4} \u{1F3AC} \u26BD \u{1F3C0} \u{1F3C8} \u{1F3BE} \u{1F3D0}`.split(/\s+/)}];get visible(){return this.categories.find(t=>t.key===this.active)?.emojis??[]}pick(t){this.picked.emit(t)}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=B({type:i,selectors:[["app-emoji-picker"]],outputs:{picked:"picked",closed:"closed"},decls:9,vars:0,consts:[["role","dialog","aria-label","Emoji",1,"ep"],[1,"ep__tabs"],["type","button",1,"ep__tab",3,"is-active"],["type","button",1,"ep__close",3,"click"],[1,"pi","pi-times"],[1,"ep__grid"],["type","button",1,"ep__emoji"],["type","button",1,"ep__tab",3,"click"],["type","button",1,"ep__emoji",3,"click"]],template:function(e,n){e&1&&(s(0,"div",0)(1,"div",1),N(2,Ft,2,3,"button",2,Lt),s(4,"button",3),f("click",function(){return n.closed.emit()}),g(5,"i",4),c()(),s(6,"div",5),N(7,Bt,2,1,"button",6,ne),c()()),e&2&&(r(2),D(n.categories),r(5),D(n.visible))},dependencies:[z],styles:['@charset "UTF-8";.ep[_ngcontent-%COMP%]{background:var(--surface-2, #1a1a2e);border:1px solid var(--border, rgba(255, 255, 255, .1));border-radius:12px;overflow:hidden}.ep__tabs[_ngcontent-%COMP%]{display:flex;align-items:center;gap:2px;padding:4px;border-bottom:1px solid var(--border-soft, rgba(255, 255, 255, .06))}.ep__tab[_ngcontent-%COMP%]{flex:0 0 auto;width:34px;height:30px;border:0;border-radius:8px;background:none;font-size:17px;line-height:1;cursor:pointer;opacity:.55}.ep__tab.is-active[_ngcontent-%COMP%]{background:#ffffff1a;opacity:1}.ep__close[_ngcontent-%COMP%]{margin-left:auto;width:28px;height:28px;border:0;border-radius:50%;background:none;color:var(--ink-muted, rgba(255, 255, 255, .45));cursor:pointer}.ep__close[_ngcontent-%COMP%]:hover{color:var(--ink, #fff)}.ep__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:2px;padding:6px;max-height:168px;overflow-y:auto;scrollbar-width:thin}.ep__emoji[_ngcontent-%COMP%]{aspect-ratio:1;border:0;border-radius:8px;background:none;font-size:19px;line-height:1;cursor:pointer}.ep__emoji[_ngcontent-%COMP%]:hover{background:#ffffff1a}']})};var $t=["feed"],zt=["lchat"],Rt=["item"],Nt=["vid"],mt=()=>[],Z=i=>({count:i}),Dt=(i,t)=>({command:i,count:t}),jt=(i,t)=>t.nom;function Ht(i,t){if(i&1){let e=h();s(0,"app-story-tray",26),f("open",function(o){_(e);let l=a();return d(l.openStories(o))})("openLive",function(o){_(e);let l=a();return d(l.openLiveRoom(o))})("trayReady",function(o){_(e);let l=a();return d(l.storyTrayVisible=o)}),c()}}function Wt(i,t){if(i&1){let e=h();s(0,"button",40),f("click",function(o){_(e);let l=a().$implicit,C=a(2);return d(C.openEdit(l,o))}),g(1,"i",41),c()}}function Kt(i,t){if(i&1){let e=h();s(0,"app-live-room",42),f("needLogin",function(){_(e);let o=a(3);return d(o.openLogin())})("ended",function(o){_(e);let l=a(3);return d(l.onLiveEnded(o))})("skipEnded",function(){_(e);let o=a(3);return d(o.skipEndedLive())}),c()}if(i&2){let e=a(),n=e.$implicit,o=e.index,l=a(2);p("live",n.live)("active",o===l.activeIndex)("preheat",l.preheatLive(n,o))("chatIsExternal",!0)("endedProgress",o===l.activeIndex?l.endedProgress:0)}}function Gt(i,t){if(i&1){let e=h();s(0,"video",43,3),f("click",function(){_(e);let o=a().index,l=a(2);return d(l.togglePlay(o))})("timeupdate",function(o){_(e);let l=a().index,C=a(2);return d(C.onTimeUpdate(o,l))})("play",function(){_(e);let o=a().index,l=a(2);return d(l.onPlay(o))})("pause",function(){_(e);let o=a().index,l=a(2);return d(l.onPause(o))}),c()}if(i&2){let e=a(),n=e.$implicit,o=e.index,l=a(2);p("src",l.near(o)?n.videoUrl||n.hlsUrl:null,L)("poster",n.thumbnailUrl||"",L)("muted",l.muted)("preload",l.near(o)?"auto":"none")}}function Yt(i,t){if(i&1){let e=h();s(0,"button",55),f("click",function(o){let l=_(e).$implicit,C=a(3).$implicit,A=a(2);return d(A.openPin(l,C,o))}
9),g(1,"span",56),s(2,"span",57),g(3,"i",58),c()()}if(i&2){let e=t.$implicit;S("left",e.xPct*100,"%")("top",e.yPct*100,"%"),k("aria-label",e.label||"Produit")}}function qt(i,t){if(i&1&&(s(0,"div",51)(1,"div",52),g(2,"img",53),u(3,Yt,4,5,"button",54),c()()),i&2){let e=t.$implicit,n=a(2).$implicit,o=a(2);r(),S("aspect-ratio",o.slideAspect(e)),r(),p("src",e.imageUrl||n.thumbnailUrl||"",L)("alt",n.caption),r(),p("ngForOf",o.pinsForSlide(n,e))}}function Qt(i,t){if(i&1&&(s(0,"div",59),m(1),c()),i&2){let e=a(2).$implicit,n=a(2);r(),Q(" ",n.photoIndexFor(e)+1,"/",e.photos==null?null:e.photos.length," ")}}function Xt(i,t){if(i&1){let e=h();V(0),s(1,"button",60),v(2,"translate"),f("click",function(o){_(e);let l=a(2).$implicit,C=a(2);return d(C.stepPhoto(l,-1,o))}),g(3,"i",61),c(),s(4,"button",62),v(5,"translate"),f("click",function(o){_(e);let l=a(2).$implicit,C=a(2);return d(C.stepPhoto(l,1,o))}),g(6,"i",63),c(),M()}i&2&&(r(),k("aria-label",x(2,2,"APP.PREV")),r(3),k("aria-label",x(5,4,"APP.NEXT")))}function Zt(i,t){if(i&1){let e=h();s(0,"span",66),f("click",function(o){let l=_(e).index,C=a(3).$implicit,A=a(2);return d(A.setPhoto(C,l,o))}),c()}if(i&2){let e=t.index,n=a(3).$implicit,o=a(2);y("active",e===o.photoIndexFor(n))}}function Jt(i,t){if(i&1){let e=h();s(0,"div",64),f("click",function(o){return _(e),d(o.stopPropagation())}),u(1,Zt,1,2,"span",65),c()}if(i&2){let e=a(2).$implicit;r(),p("ngForOf",e.photos)}}function ei(i,t){if(i&1){let e=h();s(0,"div",44),f("pointerdown",function(o){_(e);let l=a().$implicit,C=a(2);return d(C.onGalleryPointerDown(l,o))})("pointermove",function(o){_(e);let l=a().$implicit,C=a(2);return d(C.onGalleryPointerMove(l,o))})("pointerup",function(o){_(e);let l=a().$implicit,C=a(2);return d(C.onGalleryPointerUp(l,o))})("pointercancel",function(){_(e);let o=a().$implicit,l=a(2);return d(l.onGalleryPointerCancel(o))})("pointerleave",function(){_(e);let o=a().$implicit,l=a(2);return d(l.onGalleryPointerCancel(o))}),g(1,"div",45),s(2,"div",46),f("transitionend",function(o){_(e);let l=a().$implicit,C=a(2);return d(C.onGalTransitionEnd(l,o))}),u(3,qt,4,5,"div",47),c(),u(4,Qt,2,2,"div",48)(5,Xt,7,6,"ng-container",49)(6,Jt,2,1,"div",50),c()}if(i&2){let e,n=a().$implicit,o=a(2);r(),S("background-image","url("+(((e=o.currentPhoto(n))==null?null:e.imageUrl)||n.thumbnailUrl||"")+")"),r(),S("transform",o.galTransform(n)),y("is-still",!o.galAnimating(n)),r(),p("ngForOf",o.galSlides(n))("ngForTrackBy",o.trackGalSlide),r(),p("ngIf",((n.photos==null?null:n.photos.length)||0)>1),r(),p("ngIf",((n.photos==null?null:n.photos.length)||0)>1),r(),p("ngIf",((n.photos==null?null:n.photos.length)||0)>1)}}function ti(i,t){if(i&1){let e=h();s(0,"button",67),v(1,"translate"),f("click",function(){_(e);let o=a().index,l=a(2);return d(l.togglePlay(o))}),g(2,"i",68),c()}i&2&&k("aria-label",x(1,1,"APP.PLAY"))}function ii(i,t){if(i&1){let e=h();s(0,"button",69),v(1,"translate"),f("click",function(){_(e);let o=a(3);return d(o.toggleMute())}),g(2,"i",70),c()}if(i&2){let e=a(3);k("aria-label",x(1,5,"APP.SOUND")),r(2),y("pi-volume-up",!e.muted)("pi-volume-off",e.muted)}}function ni(i,t){if(i&1&&g(0,"img",78),i&2){let e=a(5);p("src",e.sharedBy.avatarUrl,L)}}function oi(i,t){if(i&1&&(s(0,"div",76),u(1,ni,1,1,"img",77),s(2,"span"),m(3),c()()),i&2){let e=a(4);r(),p("ngIf",e.sharedBy.avatarUrl),r(2),b("",e.sharedBy.name||"Quelqu\u2019un"," a partag\xE9 ce contenu avec toi")}}function ri(i,t){if(i&1){let e=h();s(0,"a",82),f("click",function(o){_(e);let l=a().$implicit,C=a(5);return d(C.openSpan(l,o))}),m(1),c()}if(i&2){let e=a().$implicit;r(),w(e.text)}}function ai(i,t){if(i&1&&m(0),i&2){let e=a().$implicit;w(e.text)}}function si(i,t){if(i&1&&(V(0),u(1,ri,2,1,"a",81)(2,ai,1,1,"ng-template",null,4,E),M()),i&2){let e=t.$implicit,n=O(3);r(),p("ngIf",e.kind!=="text")("ngIfElse",n)}}function li(i,t){if(i&1&&(s(0,"p",79),u(1,si,4,2,"ng-container",80),c()),i&2){let e=a(2).$implicit,n=a(2);r(),p("ngForOf",n.spans(e.caption))}}function ci(i,t){if(i&1&&(s(0,"p",83),g(1,"i",84),m(2),c()),i&2){let e=a(2).$implicit;r(2),b(" ",e.audio," ")}}function pi(i,t){if(i&1){let e=h();s(0,"div",71),f("click",function(o){return _(e),d(o.stopPropagation())}),u(1,oi,4,2,"div",72),s(2,"button",73),f("click",function(){_(e);let o=a().$implicit,l=a(2);return d(l.openCreator(o))}),m(3),c(),u(4,li,2,1,"p",74)(5,ci,3,1,"p",75),c()}if(i&2){let e=a().$implicit,n=a(2);r(),p("ngIf",n.showSharedBy),r(2),b(" ","@"+(e.creatorUsername||e.creatorName)," "),r(),p("ngIf",e.caption),r(),p("ngIf",e.audio)}}function _i(i,t){if(i&1&&(s(0,"div",85),g(1,"span"),c()),i&2){let e=a(3);r(),S("width",e.progressPct,"%")}}function di(i,t){if(i&1){let e=h();s(0,"img",101),f("error",function(){_(e);let o=a(3).$implicit;return d(o.creatorAvatar=void 0)}),c()}if(i&2){let e=a(3).$implicit;p("src",e.creatorAvatar,L)}}function mi(i,t){if(i&1&&(s(0,"span",102),m(1),c()),i&2){let e=a(3).$implicit,n=a(2);r(),w(n.initial(e.creatorName))}}function fi(i,t){i&1&&(s(0,"span",108)(1,"span",109),m(2,"\u266A"),c(),s(3,"span",110),m(4,"\u266B"),c(),s(5,"span",111),m(6,"\u266C"),c()())}function ui(i,t){i&1&&g(0,"i",84)}function gi(i,t){if(i&1){let e=h();s(0,"div",103),u(1,fi,7,0,"span",104),s(2,"button",105),v(3,"translate"),f("click",function(){_(e);let o=a(3).$implicit,l=a(2);return d(l.openAudio(o))}),s(4,"span",106),u(5,ui,1,0,"i",107),c()()()}if(i&2){let e=a(3).$implicit,n=a(2);r(),p("ngIf",!n.isPaused),r(),k("aria-label",x(3,11,"APP.MUSIC")),r(2),S("background-image",n.discCover(e)?"url("+n.discCover(e)+")":""),y("is-paused",n.isPaused)("is-empty",!n.discCover(e))("is-original",!e.audio
9Id),r(),p("ngIf",!n.discCover(e))}}function vi(i,t){if(i&1){let e=h();V(0),s(1,"button",87),f("click",function(){_(e);let o=a(2).$implicit,l=a(2);return d(l.openCreator(o))}),u(2,di,1,1,"img",88)(3,mi,2,1,"ng-template",null,5,E),s(5,"span",89),g(6,"i",90),c()(),s(7,"button",91),f("click",function(){_(e);let o=a(2).$implicit,l=a(2);return d(l.toggleLike(o))}),s(8,"span",92),g(9,"i",70),c(),s(10,"em"),m(11),c()(),s(12,"button",91),f("click",function(){_(e);let o=a(4);return d(o.focusComposer())}),s(13,"span",92),g(14,"i",93),c(),s(15,"em"),m(16),c()(),s(17,"button",91),f("click",function(){_(e);let o=a(4);return d(o.openLogin())}),s(18,"span",92),g(19,"i",94),c(),s(20,"em"),m(21),v(22,"translate"),c()(),s(23,"button",91),f("click",function(){_(e);let o=a(2).$implicit,l=a(2);return d(l.shareVideo(o))}),s(24,"span",92),g(25,"i",95),c(),s(26,"em"),m(27),c()(),s(28,"button",91),f("click",function(){_(e);let o=a(2).$implicit,l=a(2);return d(l.openGifts(o))}),s(29,"span",96),Me(),s(30,"svg",97),g(31,"path",98)(32,"path",99),c()(),Ie(),s(33,"em"),m(34),v(35,"translate"),c()(),u(36,gi,6,13,"div",100),M()}if(i&2){let e=O(4),n=a(2).$implicit,o=a(2);r(2),p("ngIf",n.creatorAvatar)("ngIfElse",e),r(6),y("is-liked",o.liked[n.id]),r(),y("pi-heart-fill",o.liked[n.id])("pi-heart",!o.liked[n.id]),r(2),w(o.count(n.likeCount)),r(5),w(o.count(n.commentCount)),r(5),w(x(22,14,"APP.SAVE")),r(6),w(o.count(n.shareCount)),r(7),w(x(35,16,"APP.GIFT")),r(2),p("ngIf",n.audioId)}}function hi(i,t){if(i&1&&(s(0,"div",86),u(1,vi,37,18,"ng-container",49),c()),i&2){let e=a().index,n=a(2);r(),p("ngIf",e===n.activeIndex)}}function xi(i,t){if(i&1&&(s(0,"section",29,2)(2,"div",30),u(3,Wt,2,0,"button",31)(4,Kt,1,5,"app-live-room",32)(5,Gt,2,4,"video",33)(6,ei,7,11,"div",34)(7,ti,3,3,"button",35)(8,ii,3,7,"button",36)(9,pi,6,4,"div",37)(10,_i,2,2,"div",38),c(),u(11,hi,2,1,"div",39),c()),i&2){let e=t.$implicit,n=t.index,o=a(2);k("data-idx",n),r(3),p("ngIf",o.isMine(e)&&!o.isLive(e)),r(),p("ngIf",o.isLive(e)),r(),p("ngIf",e.contentType!=="photo"&&e.contentType!=="live"),r(),p("ngIf",e.contentType==="photo"),r(),p("ngIf",e.contentType!=="photo"&&e.contentType!=="live"&&n===o.activeIndex&&o.isPaused),r(),p("ngIf",e.contentType!=="photo"&&e.contentType!=="live"),r(),p("ngIf",!o.isLive(e)),r(),p("ngIf",e.contentType!=="photo"&&e.contentType!=="live"&&n===o.activeIndex),r(),p("ngIf",!o.isLive(e))}}function Ci(i,t){if(i&1){let e=h();s(0,"div",27,1),f("scroll",function(){_(e);let o=a();return d(o.onScroll())}),u(2,xi,12,10,"section",28),c()}if(i&2){let e=a();r(2),p("ngForOf",e.videos)("ngForTrackBy",e.trackById)}}function wi(i,t){i&1&&(s(0,"div",113)(1,"div",114),g(2,"i",115),c(),s(3,"h2",116),m(4),v(5,"translate"),c(),s(6,"p",117),m(7),v(8,"translate"),c(),s(9,"a",118),m(10),v(11,"translate"),c()()),i&2&&(r(4),b(" ",x(5,3,"APP.LIVE.NONE_TITLE")," "),r(3),b(" ",x(8,5,"APP.LIVE.NONE_DESC")," "),r(3),b(" ",x(11,7,"APP.LIVE.NONE_CTA")," "))}function bi(i,t){i&1&&(s(0,"div",119),g(1,"i",120),s(2,"span"),m(3),v(4,"translate"),c()()),i&2&&(r(3),w(x(4,1,"APP.LOADING")))}function yi(i,t){if(i&1&&u(0,wi,12,9,"div",112)(1,bi,5,3,"ng-template",null,6,E),i&2){let e=O(2),n=a();p("ngIf",n.livesOnly&&n.liveFeedLoaded)("ngIfElse",e)}}function Pi(i,t){if(i&1){let e=h();s(0,"img",135),f("error",function(){_(e);let o=a().ngIf;return d(o.creatorAvatar=void 0)}),c()}if(i&2){let e=a().ngIf;p("src",e.creatorAvatar,L)}}function ki(i,t){if(i&1&&(s(0,"span",136),m(1),c()),i&2){let e=a().ngIf,n=a();r(),w(n.initial(e.creatorName))}}function Vi(i,t){i&1&&(s(0,"span",137),m(1,"LIVE"),c())}function Mi(i,t){i&1&&g(0,"app-verified-badge",138),i&2&&p("size",15)}function Ii(i,t){if(i&1&&(s(0,"p",139),m(1),c()),i&2){let e=a().ngIf;r(),b(" ","@"+e.creatorUsername," ")}}function Ai(i,t){i&1&&(V(0),g(1,"i",140),m(2),v(3,"translate"),M()),i&2&&(r(2),b(" ",x(3,1,"APP.LIVE.FOLLOWING")," "))}function Si(i,t){i&1&&(g(0,"i",90),m(1),v(2,"translate")),i&2&&(r(),b(" ",x(2,1,"APP.FOLLOW")," "))}function Oi(i,t){if(i&1&&(s(0,"div",157),g(1,"i",158),s(2,"span",159)(3,"strong"),m(4),c(),m(5),c()()),i&2){let e=t.ngIf;r(4),w(e.authorName),r(),b(" ",e.text," ")}}function Ei(i,t){i&1&&(s(0,"p",160),m(1),v(2,"translate"),c()),i&2&&(r(),b(" ",x(2,1,"APP.LIVE.CHAT_EMPTY")," "))}function Ti(i,t){if(i&1&&g(0,"img",172),i&2){let e=a(2).$implicit;p("src",e.authorAvatar,L)("alt",e.authorName)}}function Ui(i,t){if(i&1&&(V(0),m(1),M()),i&2){let e=a(2).$implicit,n=a(3);r(),w(n.initial(e.authorName))}}function Li(i,t){if(i&1){let e=h();s(0,"button",170),f("click",function(){_(e);let o=a().$implicit,l=a(3);return d(l.openChatAuthor(o))}),u(1,Ti,1,2,"img",171)(2,Ui,2,1,"ng-container",49),c()}if(i&2){let e=a().$implicit;k("aria-label",e.authorName),r(),p("ngIf",e.authorAvatar),r(),p("ngIf",!e.authorAvatar)}}function Fi(i,t){if(i&1&&(s(0,"span",177),m(1),v(2,"translate"),c()),i&2){let e=a(2).$implicit;r(),w(R(2,1,"APP.LIVE.CMD_PRICE",K(4,Z,e.coins)))}}function Bi(i,t){if(i&1&&(s(0,"span",173),g(1,"i",174),s(2,"span",175),m(3),v(4,"translate"),c(),u(5,Fi,3,6,"span",176),c()),i&2){let e=a().$implicit;r(3),w(x(4,2,"APP.LIVE.PRIORITY_BADGE")),r(2),p("ngIf",e.coins)}}function $i(i,t){i&1&&g(0,"app-verified-badge")}function zi(i,t){if(i&1){let e=h();s(0,"strong",178),f("click",function(){_(e);let o=a().$implicit,l=a(3);return d(l.openChatAuthor(o))}),m(1),u(2,$i,1,0,"app-verified-badge",49),c()}if(i&2){let e=a().$implicit;r(),w(e.authorName),r(),p("ngIf",e.authorVerified)}}function Ri(i,t){i&1&&(s(0,"span",179),g(1,"i",180),m(2),v(3,"translate"),c()),i&2&&(r(2),w(x(3,1,"APP.LIVE.BOT_BADGE")))}function Ni(i,t){if(i&1&&(s(0,"span",181),m(1),c()),i&2){let e=a().$implicit;r(),b("/",e.commande,"")}}function Di(i,t){if(i&1&&(s(0,"span",182),m(1),v(2,"translate"),c()),i&2){let e=a().$implicit;r(),w(R(2,1,"APP.LIVE.CMD_PRICE",K(4,Z,e.coins)))}}function ji(i,t){i&1&&(s(0,"em",183),m(1),v(2,"translate"),c()),i&2&&(r(),b("\u{1F5D1} ",x(2,1,"APP.LIVE.MESSAGE_SUPPRIME_MODERATION"),""))}function Hi(i,t){if(i&1){let e=h();s(0,"a",82),f("click",function(o){_(e);let l=a().$implicit,C=a(4);return d(C.openSpan(l,o))}),m(1),c()}if(i&2){let e=a().$implicit;r(),w(e.text)}}function Wi(i,t){if(i&1&&m(0),i&2){let e=a().$implicit;w(e.text)}}function Ki(i,t){if(i&1&&(V(0),u(1,Hi,2,1,"a",81)(2,Wi,1,1,"ng-template",null,10,E),M()),i&2){let e=t.$implicit,n=O(3);r(),p("ngIf",e.kind!=="text")("ngIfElse",n)}}function Gi(i,t){if(i&1&&(s(0,"div",161),u(1,Li,3,3,"button",162),s(2,"span",163),u(3,Bi,6,4,"span",164)(4,zi,3,2,"strong",165)(5,Ri,4,3,"span",166)(6,Ni,2,1,"span",167)(7,Di,3,6,"span",168)(8,ji,3,3,"em",169)(9,Ki,4,2,"ng-container",80),c()()),i&2){let e=t.$implicit,n=a(3);
9y("is-system",e.isSystem)("is-pending",e.pending)("is-welcome",e.welcome)("is-priority",e.kind==="prioritaire")("is-command",e.kind==="commande"),r(),p("ngIf",!e.isSystem),r(2),p("ngIf",e.kind==="prioritaire"&&!e.isSystem),r(),p("ngIf",!e.isSystem),r(),p("ngIf",e.isBot),r(),p("ngIf",e.kind==="commande"&&e.commande),r(),p("ngIf",e.kind==="commande"&&e.coins),r(),p("ngIf",e.supprimeParModeration),r(),p("ngForOf",e.supprimeParModeration?he(18,mt):n.spans(e.text))}}function Yi(i,t){if(i&1){let e=h();s(0,"button",184),f("click",function(){_(e);let o=a(3);return d(o.resumeChatFollow())}),g(1,"i",185),m(2),v(3,"translate"),c()}i&2&&(r(2),b(" ",x(3,1,"APP.LIVE.CHAT_LATEST")," "))}function qi(i,t){if(i&1&&(s(0,"p",186),m(1),v(2,"translate"),c()),i&2){let e=a().ngIf;r(),b(" ",x(2,1,e.chatError)," ")}}function Qi(i,t){if(i&1){let e=h();s(0,"app-emoji-picker",187),f("picked",function(o){_(e);let l=a().ngIf,C=a(2);return d(C.addEmoji(l,o))})("closed",function(){_(e);let o=a(3);return d(o.emojiOpen=!1)}),c()}}function Xi(i,t){i&1&&(s(0,"p",193),g(1,"i",120),c())}function Zi(i,t){if(i&1&&(s(0,"span",195),m(1),c()),i&2){let e=a().$implicit;r(),b("",e.rang,".")}}function Ji(i,t){if(i&1&&(s(0,"span",197),m(1),c()),i&2){let e=a().$implicit;r(),w(e.valeur)}}function en(i,t){if(i&1&&(s(0,"p",194),u(1,Zi,2,1,"span",195),s(2,"span",196),m(3),c(),u(4,Ji,2,1,"span",197),c()),i&2){let e=t.$implicit;r(),I(e.rang?1:-1),r(2),w(e.texte),r(),I(e.valeur?4:-1)}}function tn(i,t){if(i&1){let e=h();s(0,"div",148)(1,"div",188),g(2,"i",189),s(3,"strong"),m(4),c(),s(5,"span",190),m(6),v(7,"translate"),c(),s(8,"button",191),v(9,"translate"),f("click",function(){_(e);let o=a().ngIf;return d(o.fermerReponse())}),g(10,"i",192),c()(),u(11,Xi,2,0,"p",193),N(12,en,5,3,"p",194,ne),c()}if(i&2){let e=a().ngIf;r(4),w((e.reponse==null?null:e.reponse.titre)||e.reponseTitre),r(2),w(x(7,4,"APP.LIVE.CMD_PRIVATE")),r(2),k("aria-label",x(9,6,"APP.CLOSE")),r(3),I(e.reponseEnCours?11:-1),r(),D((e.reponse==null?null:e.reponse.lignes)||he(8,mt))}}function nn(i,t){i&1&&(s(0,"p",193),m(1),v(2,"translate"),c()),i&2&&(r(),b(" ",x(2,1,"APP.LIVE.CMD_NONE")," "))}function on(i,t){if(i&1){let e=h();s(0,"button",200),f("click",function(){let o=_(e).$implicit,l=a(2).ngIf;return d(l.choisirCommande(o))}),s(1,"span",195),m(2),c(),s(3,"span",201),m(4),c(),s(5,"span",197),g(6,"i",202),m(7),c()()}if(i&2){let e=t.$implicit,n=t.$index,o=a(2).ngIf;y("is-active",n===o.indexCommande),r(2),b("/",e.nom,""),r(2),w(e.description),r(),y("is-paid",e.prixCoins>0),r(),p("ngClass",e.prixCoins>0?"pi-bolt":"pi-check"),r(),b(" ",o.prixEnToutesLettres(e)," ")}}function rn(i,t){if(i&1){let e=h();s(0,"div",149)(1,"div",188),g(2,"i",198),s(3,"strong"),m(4),v(5,"translate"),c(),s(6,"span",190),m(7),v(8,"translate"),c(),s(9,"button",191),v(10,"translate"),f("click",function(){_(e);let o=a().ngIf;return d(o.fermerCommandes())}),g(11,"i",192),c()(),u(12,nn,3,3,"p",193),N(13,on,8,8,"button",199,jt),c()}if(i&2){let e=a().ngIf;r(4),w(x(5,4,"APP.LIVE.CMD_TITLE")),r(3),w(x(8,6,"APP.LIVE.CMD_PRIVATE")),r(2),k("aria-label",x(10,8,"APP.CLOSE")),r(3),I(e.commandesFiltrees.length?-1:12),r(),D(e.commandesFiltrees)}}function an(i,t){if(i&1&&(s(0,"p",205),g(1,"i",213),m(2),v(3,"translate"),c()),i&2){let e=a();r(2),b(" ",R(3,1,"APP.LIVE.PAY_PRICE_CHANGED",K(4,Z,e.prix))," ")}}function sn(i,t){if(i&1&&(s(0,"p",206),m(1),c()),i&2){let e=a();r(),w(e.apercu)}}function ln(i,t){if(i&1&&(s(0,"p",207),m(1),v(2,"translate"),c()),i&2){let e=a(2).ngIf;r(),b(" ",R(2,1,"APP.LIVE.PAY_BALANCE",K(4,Z,e.soldeCoins))," ")}}function cn(i,t){if(i&1&&(s(0,"p",208),m(1),v(2,"translate"),c()),i&2){let e=a();r(),b(" ",x(2,1,e.erreur)," ")}}function pn(i,t){if(i&1){let e=h();s(0,"button",214),f("click",function(){_(e);let o=a(2).ngIf;return d(o.confirmerPaiement())}),g(1,"i",198),m(2),v(3,"translate"),c()}if(i&2){let e=a();p("disabled",e.envoi),r(2),b(" ",R(3,2,"APP.LIVE.PAY_CONFIRM",K(5,Z,e.prix))," ")}}function _n(i,t){if(i&1){let e=h();s(0,"button",215),f("click",function(){_(e);let o=a(2).ngIf;return d(o.ouvrirRecharge())}),g(1,"i",216),m(2),v(3,"translate"),c()}i&2&&(r(2),b(" ",x(3,1,"APP.LIVE.PAY_TOPUP")," "))}function dn(i,t){if(i&1){let e=h();s(0,"div",150),v(1,"translate"),s(2,"div",203)(3,"p",204),g(4,"i",198),m(5),v(6,"translate"),c(),u(7,an,4,6,"p",205)(8,sn,2,1,"p",206)(9,ln,3,6,"p",207)(10,cn,3,3,"p",208),s(11,"div",209)(12,"button",210),f("click",function(){_(e);let o=a().ngIf;return d(o.annulerConfirmation())}),m(13),v(14,"translate"),c(),u(15,pn,4,7,"button",211)(16,_n,4,3,"button",212),c()()()}if(i&2){let e=t,n=a().ngIf;k("aria-label",x(1,8,"APP.LIVE.PAY_TITLE")),r(5),b(" ",R(6,10,"APP.LIVE.PAY_TITLE",Oe(15,Dt,"/"+e.commande.nom,e.prix))," "),r(2),I(e.prixAChange?7:-1),r(),I(e.apercu?8:-1),r(),I(n.soldeCoins!==null?9:-1),r(),I(e.erreur?10:-1),r(3),b(" ",x(14,13,"APP.CANCEL")," "),r(2),I(n.soldeSuffit?15:16)}}function mn(i,t){if(i&1){let e=h();s(0,"button",217),v(1,"translate"),f("click",function(){_(e);let o=a().ngIf,l=a(2);return l.emojiOpen=!1,d(o.basculerCommandes())}),m(2," / "),c()}if(i&2){let e=a().ngIf;y("is-open",e.commandesOuvertes),k("aria-label",x(1,4,"APP.LIVE.CMD_TITLE"))("aria-expanded",e.commandesOuvertes)}}function fn(i,t){if(i&1){let e=h();s(0,"button",218),v(1,"translate"),f("click",function(){_(e);let o=a().ngIf;return d(o.sendChat())}),g(2,"i",219),c()}if(i&2){let e=a().ngIf;p("disabled",e.sending),k("aria-label",x(1,2,"APP.SEND"))}}function un(i,t){if(i&1){let e=h();V(0),s(1,"button",220),v(2,"translate"),f("click",function(){_(e);let o=a().ngIf;return d(o.openGifts())}),g(3,"i",221),c(),s(4,"button",222),v(5,"translate"),f("click",function(){_(e);let o=a().ngIf;return d(o.share())}),g(6,"i",223),c(),s(7,"button",224),v(8,"translate"),f("click",function(){_(e);let o=a().ngIf;return d(o.tapHeart())}),g(9,"i",225),c(),M()}i&2&&(r(),k("aria-label",x(2,3,"APP.LIVE.GIFT")),r(3),k("aria-label",x(5,5,"APP.SHARE")),r(3),k("aria-label",x(8,7,"APP.LIVE.LIKE")))}function gn(i,t){if(i&1){let e=h();s(0,"div",141),u(1,Oi,6,2,"div",142),s(2,"div",143,9),f("scroll",function(){_(e);let o=a(2);return d(o.onChatScroll())}),u(4,Ei,3,3,"p",144)(5,Gi,10,19,"div",145),c(),u(6,Yi,4,3,"button",146)(7,qi,3,3,"p",147)(8,Qi,1,0,"app-emoji-picker")(9,tn,14,9,"div",148)(10,rn,15,10,"div",149)(11,dn,17,18,"div",150),s(12,"div",151)(13,"input",152),v(14,"translate"),f("ngModelChange",function(o){let l=_(e).ngIf;return l.draft=o,d(l.onDraftChange())})("keyup.enter",function(){let o=_(e).ngIf;return d(o.validerChamp())})("keydown.arrowdown",function(o){let l=_(e).ngIf;return d(l.toucheListe(o,1))})("keydown.arrowup",function(o){let l=_(e).ngIf;return d(l.toucheListe(o,-1))})("keydown.tab",function(o){let l=_(e).ngIf;return d(l.toucheTab(o))})("keydown.escape",function(){let o=_(e).ngIf;return d(o.fermerCommandes())}
9),c(),u(15,mn,3,6,"button",153),s(16,"button",154),v(17,"translate"),f("click",function(){let o=_(e).ngIf,l=a(2);return l.emojiOpen=!l.emojiOpen,d(o.fermerCommandes())}),g(18,"i",155),c(),u(19,fn,3,4,"button",156)(20,un,10,9,"ng-container",49),c()()}if(i&2){let e,n=t.ngIf,o=a(2);r(),p("ngIf",n.pinnedComment),r(3),p("ngIf",!n.chat.length),r(),p("ngForOf",n.chat)("ngForTrackBy",n.trackChat),r(),p("ngIf",o.chatAway),r(),p("ngIf",n.chatError),r(),I(o.emojiOpen?8:-1),r(),I(n.reponse||n.reponseEnCours?9:-1),r(),I(n.commandesOuvertes?10:-1),r(),I((e=n.confirmation)?11:-1,e),r(2),p("ngModel",n.draft)("placeholder",x(14,19,o.isLoggedIn?"APP.LIVE.SAY_SOMETHING":"APP.LIVE.LOGIN_TO_CHAT")),r(2),p("ngIf",n.commandes.length),r(),y("is-open",o.emojiOpen),k("aria-label",x(17,21,"APP.LIVE.EMOJI"))("aria-expanded",o.emojiOpen),r(3),p("ngIf",n.draft.trim().length),r(),p("ngIf",!n.draft.trim().length)}}function vn(i,t){if(i&1){let e=h();s(0,"img",251),f("error",function(){_(e);let o=a().$implicit;return d(o.authorAvatar=void 0)}),c()}if(i&2){let e=a().$implicit;p("src",e.authorAvatar,L)}}function hn(i,t){if(i&1&&(s(0,"span",252),m(1),c()),i&2){let e=a().$implicit,n=a(4);r(),w(n.initial(e.authorName))}}function xn(i,t){i&1&&g(0,"app-verified-badge")}function Cn(i,t){i&1&&(s(0,"span",253),g(1,"i",254),m(2),v(3,"translate"),c()),i&2&&(r(2),w(x(3,1,"APP.CMTMASKED")))}function wn(i,t){if(i&1){let e=h();s(0,"a",82),f("click",function(o){_(e);let l=a().$implicit,C=a(5);return d(C.openSpan(l,o))}),m(1),c()}if(i&2){let e=a().$implicit;r(),w(e.text)}}function bn(i,t){if(i&1&&m(0),i&2){let e=a().$implicit;w(e.text)}}function yn(i,t){if(i&1&&(V(0),u(1,wn,2,1,"a",81)(2,bn,1,1,"ng-template",null,12,E),M()),i&2){let e=t.$implicit,n=O(3);r(),p("ngIf",e.kind!=="text")("ngIfElse",n)}}function Pn(i,t){if(i&1){let e=h();s(0,"button",244),f("click",function(){_(e);let o=a().$implicit,l=a(4);return d(l.toggleReplies(o))}),m(1),v(2,"translate"),c()}if(i&2){let e=a().$implicit;r(),Q(" ",x(2,2,e.repliesOpen?"APP.HIDEREPLIES":"APP.SHOWREPLIES")," (",e.replyCount,") ")}}function kn(i,t){if(i&1&&(s(0,"em"),m(1),c()),i&2){let e=a().$implicit,n=a(4);r(),w(n.count(e.likeCount))}}function Vn(i,t){if(i&1){let e=h();s(0,"img",251),f("error",function(){_(e);let o=a().$implicit;return d(o.authorAvatar=void 0)}),c()}if(i&2){let e=a().$implicit;p("src",e.authorAvatar,L)}}function Mn(i,t){if(i&1&&(s(0,"span",252),m(1),c()),i&2){let e=a().$implicit,n=a(6);r(),w(n.initial(e.authorName))}}function In(i,t){i&1&&g(0,"app-verified-badge")}function An(i,t){i&1&&(s(0,"span",253),g(1,"i",254),m(2),v(3,"translate"),c()),i&2&&(r(2),w(x(3,1,"APP.CMTMASKED")))}function Sn(i,t){if(i&1){let e=h();s(0,"a",82),f("click",function(o){_(e);let l=a().$implicit,C=a(7);return d(C.openSpan(l,o))}),m(1),c()}if(i&2){let e=a().$implicit;r(),w(e.text)}}function On(i,t){if(i&1&&m(0),i&2){let e=a().$implicit;w(e.text)}}function En(i,t){if(i&1&&(V(0),u(1,Sn,2,1,"a",81)(2,On,1,1,"ng-template",null,13,E),M()),i&2){let e=t.$implicit,n=O(3);r(),p("ngIf",e.kind!=="text")("ngIfElse",n)}}function Tn(i,t){if(i&1&&(s(0,"em"),m(1),c()),i&2){let e=a().$implicit,n=a(6);r(),w(n.count(e.likeCount))}}function Un(i,t){if(i&1){let e=h();s(0,"div",257)(1,"button",236),f("click",function(){let o=_(e).$implicit,l=a(6);return d(l.openCommentAuthor(o))}),u(2,Vn,1,1,"img",237)(3,Mn,2,1,"span",238),c(),s(4,"div",239)(5,"p",240)(6,"b",66),f("click",function(){let o=_(e).$implicit,l=a(6);return d(l.openCommentAuthor(o))}),m(7),c(),u(8,In,1,0,"app-verified-badge",49)(9,An,4,3,"span",241),c(),s(10,"p",242),u(11,En,4,2,"ng-container",80),c(),s(12,"div",243)(13,"button",244),f("click",function(){let o=_(e).$implicit,l=a(6);return d(l.startReply(o))}),m(14),v(15,"translate"),c(),g(16,"span",246),s(17,"button",247),f("click",function(){let o=_(e).$implicit,l=a(6);return d(l.openCommentMenu(o))}),g(18,"i",248),c(),s(19,"button",249),f("click",function(){let o=_(e).$implicit,l=a(6);return d(l.toggleCommentLike(o))}),g(20,"i",70),u(21,Tn,2,1,"em",49),c()()()()}if(i&2){let e=t.$implicit,n=a(6);y("cmt--masked",e.isHiddenByOwner),r(2),p("ngIf",e.authorAvatar),r(),p("ngIf",!e.authorAvatar),r(4),w(e.authorName),r(),p("ngIf",e.authorVerified),r(),p("ngIf",e.isHiddenByOwner),r(2),p("ngForOf",n.spans(e.content)),r(3),b(" ",x(15,16,"APP.REPLY")," "),r(5),y("is-liked",e.isLiked),r(),y("pi-heart-fill",e.isLiked)("pi-heart",!e.isLiked),r(),p("ngIf",e.likeCount)}}function Ln(i,t){if(i&1&&(s(0,"div",255),u(1,Un,22,18,"div",256),c()),i&2){let e=a().$implicit,n=a(4);r(),p("ngForOf",e.replies)("ngForTrackBy",n.trackComment)}}function Fn(i,t){if(i&1){let e=h();s(0,"div",235)(1,"button",236),f("click",function(){let o=_(e).$implicit,l=a(4);return d(l.openCommentAuthor(o))}),u(2,vn,1,1,"img",237)(3,hn,2,1,"span",238),c(),s(4,"div",239)(5,"p",240)(6,"b",66),f("click",function(){let o=_(e).$implicit,l=a(4);return d(l.openCommentAuthor(o))}),m(7),c(),u(8,xn,1,0,"app-verified-badge",49)(9,Cn,4,3,"span",241),c(),s(10,"p",242),u(11,yn,4,2,"ng-container",80),c(),s(12,"div",243)(13,"button",244),f("click",function(){let o=_(e).$implicit,l=a(4);return d(l.startReply(o))}),m(14),v(15,"translate"),c(),u(16,Pn,3,4,"button",245),g(17,"span",246),s(18,"button",247),f("click",function(){let o=_(e).$implicit,l=a(4);return d(l.openCommentMenu(o))}),g(19,"i",248),c(),s(20,"button",249),f("click",function(){let o=_(e).$implicit,l=a(4);return d(l.toggleCommentLike(o))}),g(21,"i",70),u(22,kn,2,1,"em",49),c()(),u(23,Ln,2,2,"div",250),c()()}if(i&2){let e=t.$implicit,n=a(4);y("cmt--masked",e.isHiddenByOwner),r(2),p("ngIf",e.authorAvatar),r(),p("ngIf",!e.authorAvatar),r(4),w(e.authorName),r(),p("ngIf",e.authorVerified),r(),p("ngIf",e.isHiddenByOwner),r(2),p("ngForOf",n.spans(e.content)),r(3),b(" ",x(15,18,"APP.REPLY")," "),r(2),p("ngIf",e.replyCount),r(4),y("is-liked",e.isLiked),r(),y("pi-heart-fill",e.isLiked)("pi-heart",!e.isLiked),r(),p("ngIf",e.likeCount),r(),p("ngIf",e.repliesOpen&&(e.replies==null?null:e.replies.length))}}function Bn(i,t){if(i&1&&(s(0,"div",233),u(1,Fn,24,20,"div",234),c()),i&2){let e=a(3);r(),p("ngForOf",e.activeComments)("ngForTrackBy",e.trackComment)}}function $n(i,t){i&1&&(s(0,"p",258),m(1),v(2,"translate"),c()),i&2&&(r(),b(" ",x(2,1,"APP.NOCOMMENT")," "))}function zn(i,t){i&1&&(s(0,"p",258),g(1,"i",120),c())}function Rn(i,t){if(i&1){let e=h();s(0,"div",259)(1,"span"),m(2),v(3,"translate"),c(),s(4,"button",260),f("click",function(){_(e);let o=a(3);return d(o.cancelReply())}),g(5,"i",192),c()()}if(i&2){let e=a(3);r(2),Q("",x(3,2,"APP.REPLYINGTO")," ",e.replyingTo.authorName,"")}}function Nn(i,t){if(i&1){let e=h();s(0,"button",261),f("click",function(){_(e);let o=a(3);return d(o.openLogin())}),g(1,"i",262),m(2),v(3,"translate"),c()}i&2&&(r(2),b(" ",x(3,1,"APP.LOGIN_TO_COMMENT")," "))}function Dn(i,t){if(i&1){let e=h();s(0,"form",263),f("ngSubmit",function(){_(e);let o=a(3);return d(o.sendComment())}),s(1,"input",264),v(2,"translate"),ae("ngModelChange",function(o){_(e);let l=a(3);return re(l.draft,o)||(l.draft=o),d(o)}),c(),s(3,"button",265),v(4,"translate"),g(5,"i",70),c()()}if(i&2){let e=a(3);r(),oe("ngModel",e.draft),p("placeholder",x(2,10,"APP.ADDCOMMENT")),r(2),p("disabled",e.sending||!e.draft.trim()),k("aria-label",x(4,12,"APP.SEND")),r(2),y("pi-send",!e.sending)("pi-spin",e.sending)("pi-spinner",e.sending)}}function jn(i,t){if(i&1&&(s(0,"div",226)(1,"div",227)(2,"strong"),m(3),v(4,"translate"),c()(),s(5,"div",228),u(6,Bn,2,2,"div",229)(7,$n,3,3,"p",230)(8,zn,2,0,"p",230),c(),u(9,Rn,6,4,"div",231)(10,Nn,4,3,"button",232)(11,Dn,6,14,"ng-template",null,11,E),c()),i&2){let e=O(12),n=a().ngIf,o=a();r(3),Q("",o.count(n.commentCount)," ",x(4,8,"APP.COMMENTS"),""),r(3),p("ngIf",o.activeComments.length),r(),p("ngIf",!o.activeComments.length&&!o.commentsLoading[n.id]),r(),p("ngIf",!o.activeComments.length&&o.commentsLoading[n.id]),r(),p("ngIf",o.replyingTo),r(),p("ngIf",!o.isLoggedIn)("ngIfElse",e)}}function Hn(i,t){if(i&1){let e=h();s(0,"aside",121)(1,"div",122)(2,"button",123),f("click",function(){let o=_(e).ngIf,l=a();return d(l.openCreator(o))}),u(3,Pi,1,1,"img",124)(4,ki,2,1,"ng-template",null,7,E)(6,Vi,2,0,"span",125),c(),s(7,"div",126)(8,"p",127),m(9),u(10,Mi,1,1,"app-verified-badge",128),c(),u(11,Ii,2,1,"p",129),s(12,"p",130),m(13),v(14,"translate"),v(15,"translate"),c()(),s(16,"button",131),f("click",function(){let o=_(e).ngIf,l=a();return d(l.toggleFollowCreator(o))}),u(17,Ai,4,3,"ng-container",132)(18,Si,3,3,"ng-template",null,8,E),c()(),u(20,gn,21,23,"div",133)(21,jn,13,10,"div",134),c()}if(i&2){let e=t.ngIf,n=O(5),o=O(19),l=a();r(3),p("ngIf",e.creatorAvatar)("ngIfElse",n),r(3),p("ngIf",e.creatorLive),r(3),b(" ",e.creatorName," "),r(),p("ngIf",e.creatorVerified),r(),p("ngIf",e.creatorUsername),r(2),Se(" ",l.count(e.viewCount)," ",x(14,16,"APP.VIEWS")," \xB7 ",l.count(e.likeCount)," ",x(15,18,"APP.LIKES")," "),r(3),y("is-following",l.isFollowingCreator(e)),r(),p("ngIf",l.isFollowingCreator(e))("ngIfElse",o),r(3),p("ngIf",l.isLive(e)&&l.activeLive),r(),p("ngIf",!l.isLive(e))}}function Wn(i,t){if(i&1){let e=h();s(0,"button",269),f("click",function(){_(e);let o=a(3);return d(o.toggleHideComment(o.commentMenu))}),g(1,"i",70),m(2),v(3,"translate"),c()}if(i&2){let e=a(3);r(),y("pi-eye",e.commentMenu.isHiddenByOwner)("pi-eye-slash",!e.commentMenu.isHiddenByOwner),r(),b(" ",x(3,5,e.commentMenu.isHiddenByOwner?"APP.CMTUNHIDE":"APP.CMTHIDE")," ")}}function Kn(i,t){if(i&1){let e=h();s(0,"button",269),f("click",function(){_(e);let o=a(3);return d(o.beginReport(o.commentMenu))}),g(1,"i",273),m(2),v(3,"translate"),c()}
9i&2&&(r(2),b("",x(3,1,"APP.CMTREPORT")," "))}function Gn(i,t){if(i&1){let e=h();s(0,"button",269),f("click",function(){_(e);let o=a(3);return d(o.blockCommentAuthor(o.commentMenu))}),g(1,"i",274),m(2),v(3,"translate"),c()}i&2&&(r(2),b("",x(3,1,"APP.CMTBLOCK")," "))}function Yn(i,t){if(i&1){let e=h();s(0,"button",275),f("click",function(){_(e);let o=a(3);return d(o.deleteComment(o.commentMenu))}),g(1,"i",276),m(2),v(3,"translate"),c()}i&2&&(r(2),b("",x(3,1,"APP.CMTDELETE")," "))}function qn(i,t){if(i&1){let e=h();V(0),s(1,"button",269),f("click",function(){_(e);let o=a(2);return o.startReply(o.commentMenu),d(o.closeCommentMenu())}),g(2,"i",223),m(3),v(4,"translate"),c(),s(5,"button",269),f("click",function(){_(e);let o=a(2);return d(o.copyComment(o.commentMenu))}),g(6,"i",270),m(7),v(8,"translate"),c(),u(9,Wn,4,7,"button",271)(10,Kn,4,3,"button",271)(11,Gn,4,3,"button",271)(12,Yn,4,3,"button",272),M()}if(i&2){let e=a(2);r(3),b("",x(4,6,"APP.REPLY")," "),r(4),b("",x(8,8,"APP.CMTCOPY")," "),r(2),p("ngIf",e.isCommentOwner()&&!e.isMyComment(e.commentMenu)),r(),p("ngIf",!e.isMyComment(e.commentMenu)&&e.commentMenu.authorWorkspaceId),r(),p("ngIf",!e.isMyComment(e.commentMenu)&&e.commentMenu.authorWorkspaceId),r(),p("ngIf",e.isMyComment(e.commentMenu)||e.isCommentOwner())}}function Qn(i,t){if(i&1){let e=h();s(0,"button",269),f("click",function(){let o=_(e).$implicit,l=a(3);return d(l.submitReport(l.reportingComment,o.code))}),m(1),v(2,"translate"),c()}if(i&2){let e=t.$implicit;r(),b(" ",x(2,1,e.key)," ")}}function Xn(i,t){if(i&1&&(V(0),s(1,"p",277),m(2),v(3,"translate"),c(),u(4,Qn,3,3,"button",278),M()),i&2){let e=a(2);r(2),w(x(3,2,"APP.CMTREPORTTITLE")),r(2),p("ngForOf",e.reportReasons)}}function Zn(i,t){if(i&1){let e=h();s(0,"div",266),f("click",function(){_(e);let o=a();return d(o.closeCommentMenu())}),s(1,"div",267),f("click",function(o){return _(e),d(o.stopPropagation())}),g(2,"div",268),u(3,qn,13,10,"ng-container",49)(4,Xn,5,4,"ng-container",49),c()()}if(i&2){let e=a();r(3),p("ngIf",!e.reportingComment),r(),p("ngIf",e.reportingComment)}}function Jn(i,t){if(i&1){let e=h();s(0,"app-gift-sheet",279),f("closed",function(){_(e);let o=a();return d(o.closeGifts())})("needLogin",function(){_(e);let o=a();return d(o.onGiftNeedLogin())}),c()}if(i&2){let e=a();p("videoId",e.giftVideo.id)("creatorName",e.giftVideo.creatorName)}}function eo(i,t){if(i&1){let e=h();s(0,"button",295),f("click",function(){_(e);let o=a(2);return d(o.deleteConfirm=!0)}),m(1," Supprimer "),c()}}function to(i,t){if(i&1){let e=h();s(0,"button",296),f("click",function(){_(e);let o=a(2);return d(o.deleteEditing())}),m(1," Confirmer la suppression "),c()}}function io(i,t){if(i&1){let e=h();s(0,"div",280),f("click",function(){_(e);let o=a();return d(o.closeEdit())}),s(1,"div",281),f("click",function(o){return _(e),d(o.stopPropagation())}),s(2,"div",282),m(3,"G\xE9rer le contenu"),c(),s(4,"label",283),m(5,"L\xE9gende"),c(),s(6,"textarea",284),ae("ngModelChange",function(o){_(e);let l=a();return re(l.editCaption,o)||(l.editCaption=o),d(o)}),c(),s(7,"label",283),m(8,"Confidentialit\xE9"),c(),s(9,"select",285),ae("ngModelChange",function(o){_(e);let l=a();return re(l.editVisibility,o)||(l.editVisibility=o),d(o)}),s(10,"option",286),m(11,"Public"),c(),s(12,"option",287),m(13,"Amis"),c(),s(14,"option",288),m(15,"Priv\xE9"),c()(),s(16,"div",289),u(17,eo,2,0,"button",290)(18,to,2,0,"button",291),g(19,"span",292),s(20,"button",293),f("click",function(){_(e);let o=a();return d(o.closeEdit())}),m(21," Annuler "),c(),s(22,"button",294),f("click",function(){_(e);let o=a();return d(o.saveEdit())}),m(23),c()()()()}if(i&2){let e=a();r(6),oe("ngModel",e.editCaption),r(3),oe("ngModel",e.editVisibility),r(8),p("ngIf",!e.deleteConfirm),r(),p("ngIf",e.deleteConfirm),r(4),p("disabled",e.savingEdit),r(),b(" ",e.savingEdit?"\u2026":"Enregistrer"," ")}}function no(i,t){i&1&&g(0,"i",58)}function oo(i,t){if(i&1&&(s(0,"div",306),m(1),c()),i&2){let e=a(2);r(),b(" ",e.formatPinPrice(e.activePin.product)," ")}}function ro(i,t){if(i&1){let e=h();s(0,"div",297),f("click",function(){_(e);let o=a();return d(o.closePin())}),s(1,"div",298),f("click",function(o){return _(e),d(o.stopPropagation())}),s(2,"div",299),u(3,no,1,0,"i",300),c(),s(4,"div",301)(5,"div",302),m(6),c(),u(7,oo,2,1,"div",303),s(8,"button",304),f("click",function(){_(e);let o=a();return d(o.openPinProduct())}
9),m(9," Voir le produit "),c()(),s(10,"button",305),f("click",function(){_(e);let o=a();return d(o.closePin())}),g(11,"i",192),c()()()}if(i&2){let e=a();r(2),S("background-image",e.activePin.product!=null&&e.activePin.product.imageUrl?"url("+(e.activePin.product==null?null:e.activePin.product.imageUrl)+")":""),r(),p("ngIf",!(e.activePin.product!=null&&e.activePin.product.imageUrl)),r(3),b(" ",e.activePin.label||(e.activePin.product==null?null:e.activePin.product.title)||"Produit"," "),r(),p("ngIf",(e.activePin.product==null?null:e.activePin.product.priceCents)!=null)}}function ao(i,t){if(i&1){let e=h();s(0,"app-story-viewer",307),f("closed",function(){_(e);let o=a();return d(o.closeStories())}),c()}if(i&2){let e=a();p("startWorkspaceId",e.storyViewerWorkspaceId)}}var so=45e3,lo=15e3,co=5e3,po=100,dt=class i{seoService=P(Be);platformId=P(ie);feed=P(de);loginService=P(Re);userService=P($e);http=P($);router=P(le);route=P(Ue);location=P(Ee);impressions=P(_e);liveApi=P(et);socket=P(Je);workspaceService=P(ze);follows=P(tt);authPrompt=P(Ze);feedRef;items;vids;liveRooms;activeLive;lchatRef;lastChatLen=-1;chatAway=!1;chatLastPixels=0;chatBackTimer=null;static CHAT_NEAR_BOTTOM_PX=150;static CHAT_SCROLL_BACK_MS=5e3;syncActiveLive(){let t=this.videos[this.activeIndex],e=this.isLive(t)?this.liveRooms?.find(n=>n.live?.id===t.live.id):void 0;e!==this.activeLive&&(this.activeLive=e,this.lastChatLen=-1,this.chatAway=!1,this.chatLastPixels=0,this.clearChatBackTimer())}videos=[];activeIndex=0;resumeVideoId=null;resumeLiveId=null;lastSyncedUrl="";sharedBy=null;sharedContentId=null;liked={};comments={};commentsLoading={};progressPct=0;playlistMode=!1;muted=!1;isPaused=!1;forcedMute=!1;draft="";sending=!1;replyingTo=null;commentMenu=null;reportingComment=null;reportReasons=[{code:"harassment",key:"APP.RSNHARASS"},{code:"spam_scam",key:"APP.RSNSPAM"},{code:"hate_speech",key:"APP.RSNHATE"},{code:"bullying",key:"APP.RSNBULLY"},{code:"misinformation",key:"APP.RSNMISINFO"},{code:"other",key:"APP.RSNOTHER"}];showGifts=!1;giftVideo;cursor=null;hasMore=!0;loading=!1;rafId=0;seed="";seenIds=new Set;emptyLoads=0;livesOnly=!1;storyTrayVisible=!1;storyViewerWorkspaceId=null;lives=new me;liveTimer=null;endedTimer=null;endedProgress=0;liveFeedLoaded=!1;offLiveStarted=null;get active(){return this.videos[this.activeIndex]}me=null;get isLoggedIn(){return this.loginService.isLoggedIn}loadMe(){return ee(this,null,function*(){try{(yield this.userService.getMe()).subscribe(t=>this.me=t)}catch{this.me=null}yield this.loadWorkspaces()})}loadWorkspaces(){return ee(this,null,function*(){try{yield this.workspaceService.listWorkspaces()}catch{}this.follows.ensureLoaded()})}isFollowingCreator(t){return this.follows.isFollowing(t?.creatorId)}toggleFollowCreator(t){if(!this.isLoggedIn)return this.openLogin();let e=t?.creatorId;e&&this.follows.toggle(e).subscribe()}get activeComments(){let t=this.active;return t?this.comments[t.id]||[]:[]}ngOnInit(){if(this.seoService.disableFollow(),F(this.platformId)){this.seed=this.makeSeed();let t=()=>{let n=!1;this.forcedMute&&(this.forcedMute=!1,this.muted=!1,this.applyVolume(this.activeIndex),n=!0),this.activeLive?.unmuteFromGesture?.()&&(n=!0),n&&(window.removeEventListener("pointerdown",t),window.removeEventListener("keydown",t),window.removeEventListener("wheel",t))};window.addEventListener("pointerdown",t),window.addEventListener("keydown",t),window.addEventListener("wheel",t),this.isLoggedIn&&this.loadMe(),this.loginService.onLoginEvent.subscribe(n=>{n.type==="login"?this.loadMe():this.me=null}),this.resolveShareToken(this.route.snapshot.queryParamMap.get("s"));let e=this.route.snapshot.paramMap.get("id");if(e)this.loadPlaylist(e);else{this.livesOnly=this.route.snapshot.data?.livesOnly===!0;let n=this.route.snapshot.queryParamMap;this.resumeVideoId=n.get("v"),this.resumeLiveId=n.get("live"),this.refreshLives(!0),this.listenForNewLives()}}}refreshLives(t){this.liveApi.getLiveFeed(1,30).subscribe({next:e=>{let n=new Set(this.lives.poolIds);this.lives.setPool(e),this.liveFeedLoaded=!0,t?this.loadMore():(this.pruneEndedLives(),this.dropInLives(e.filter(o=>!n.has(o.id)))),this.scheduleLiveRefresh()},error:()=>{this.liveFeedLoaded=!0,t&&this.loadMore(),this.scheduleLiveRefresh()}})}listenForNewLives(){this.offLiveStarted=this.socket.on("live:started",t=>{let e=t?.roomId;e&&(this.lives.poolIds.includes(e)||this.liveApi.getRoom(e).subscribe(n=>{!n||n.isEnded||this.lives.addToPool(n)&&this.dropInLives([n])}))})}scheduleLiveRefresh(){this.liveTimer&&clearTimeout(this.liveTimer);let t=this.lives.poolSize?so:lo;this.liveTimer=setTimeout(()=>this.refreshLives(!1),t)}dropInLives(t){if(!t.length||this.playlistMode)return;if(this.livesOnly){if(!this.videos.length){this.loadMore();return}let o=Math.min(this.activeIndex+1,this.videos.length),l=0;for(let C of t){if(this.videos.some(J=>J.live?.id===C.id))continue;let A=this.lives.notePlacedAt(C,o);this.videos.splice(o,0,q(C,A)),o+=1,l+=1}l&&(this.videos=[...this.videos]);return}if(!this.videos.length)return;let e=Math.min(this.activeIndex+ct,this.videos.length),n=0;for(let o of t){if(this.videos.some(C=>C.live?.id===o.id))continue;let l=this.lives.notePlacedAt(o,e);this.videos.splice(e,0,q(o,l)),n+=1,e=Math.min(e+Ce,this.videos.length)}n&&(this.videos=[...this.videos])}pruneEndedLives(){let t=Array.from(new Set(this.videos.filter(e=>e.contentType==="live"&&e.live).map(e=>e.live.id)));
9t.length&&this.liveApi.getStatusBatch(t).subscribe(e=>{let n=new Set((e||[]).filter(o=>o.isEnded).map(o=>o.id));n.size&&this.dropLives(n)})}dropLives(t){let e=this.videos[this.activeIndex]?.id,n=this.videos.filter(C=>!(C.contentType==="live"&&C.live&&t.has(C.live.id)&&C.id!==e));if(n.length===this.videos.length)return;let o=this.activeIndex;this.videos=n;let l=n.findIndex(C=>C.id===e);this.activeIndex=l>=0?l:Math.min(this.activeIndex,n.length-1),this.activeIndex<0&&(this.activeIndex=0),this.activeIndex!==o&&this.reanchorScroll()}reanchorScroll(){F(this.platformId)&&queueMicrotask(()=>{let t=this.feedRef?.nativeElement;if(!t||!t.clientHeight)return;let e=this.activeIndex*t.clientHeight;Math.abs(t.scrollTop-e)<2||(t.scrollTop=e)})}onLiveEnded(t){this.dropLives(new Set([t]));let e=this.videos[this.activeIndex];e?.contentType==="live"&&e.live?.id===t&&this.startEndedCountdown()}startEndedCountdown(){if(this.endedTimer)return;this.endedProgress=0;let t=Date.now();this.endedTimer=setInterval(()=>{let e=Date.now()-t;this.endedProgress=Math.min(1,e/co),this.endedProgress>=1&&this.skipEndedLive()},po)}skipEndedLive(){this.clearEndedCountdown();let t=this.activeIndex+1;if(t<this.videos.length){this.goTo(t);return}let e=this.videos[this.activeIndex];e?.live?.id&&(this.videos=this.videos.filter(n=>n.id!==e.id),this.activeIndex=Math.max(0,Math.min(this.activeIndex,this.videos.length-1)))}clearEndedCountdown(){this.endedTimer&&clearInterval(this.endedTimer),this.endedTimer=null,this.endedProgress=0}isLive(t){return t?.contentType==="live"&&!!t.live}preheatLive(t,e){if(e===this.activeIndex||!this.near(e))return!1;let n=this.videos[this.activeIndex];return!(this.isLive(n)&&n.live.id===t.live?.id)}loadPlaylist(t){this.playlistMode=!0,this.hasMore=!1;let e=this.route.snapshot.queryParamMap,n=e.get("workspace"),o=e.get("audio");(n?this.feed.getVideosByWorkspace(n):o?this.feed.getAudioVideos(o):this.feed.getVideo(t).pipe(T(C=>[C]))).subscribe({next:C=>{let A=C||[],J=A.findIndex(ve=>ve.id===t);if(J<0){this.feed.getVideo(t).subscribe(ve=>{this.videos=[ve,...A],this.startAt(0)});return}this.videos=A,this.startAt(J)},error:()=>{this.feed.getVideo(t).subscribe({next:C=>{this.videos=[C],this.startAt(0)},error:()=>{}})}})}startAt(t){this.activeIndex=t,setTimeout(()=>{this.goTo(t),this.setActive(t)},60)}makeSeed(){let t="abcdefghijklmnopqrstuvwxyz0123456789",e="";for(let n=0;n<8;n++)e+=t.charAt(Math.floor(Math.random()*t.length));return e}ngAfterViewInit(){this.liveRooms?.changes.subscribe(()=>queueMicrotask(()=>this.syncActiveLive())),queueMicrotask(()=>this.syncActiveLive())}ngAfterViewChecked(){let t=this.lchatRef?.nativeElement,e=this.activeLive?.chat.length??-1;if(!t||e===this.lastChatLen)return;let n=this.lastChatLen<0,o=e-this.lastChatLen>3;this.lastChatLen=e,(n||!this.chatAway)&&this.pinChatToBottom(!n&&!o)}pinChatToBottom(t){let e=this.lchatRef?.nativeElement;if(!e)return;let n=e.scrollHeight;t&&typeof e.scrollTo=="function"?e.scrollTo({top:n,behavior:"smooth"}):e.scrollTop=n,this.chatLastPixels=n}onChatScroll(){let t=this.lchatRef?.nativeElement;if(!t)return;let e=t.scrollTop,n=t.scrollHeight-e-t.clientHeight,o=e<this.chatLastPixels-.5;if(this.chatLastPixels=e,n<=i.CHAT_NEAR_BOTTOM_PX){this.clearChatBackTimer(),this.chatAway=!1;return}o&&!this.chatAway&&(this.chatAway=!0),this.chatAway&&(this.clearChatBackTimer(),this.chatBackTimer=setTimeout(()=>{this.chatBackTimer=null,this.chatAway&&(this.chatAway=!1,this.pinChatToBottom(!0))},i.CHAT_SCROLL_BACK_MS))}resumeChatFollow(){this.clearChatBackTimer(),this.chatAway=!1,this.pinChatToBottom(!0)}clearChatBackTimer(){this.chatBackTimer&&clearTimeout(this.chatBackTimer),this.chatBackTimer=null}ngOnDestroy(){this.seoService.enableFollow(),this.rafId&&cancelAnimationFrame(this.rafId),this.liveTimer&&clearTimeout(this.liveTimer),this.clearEndedCountdown(),this.clearChatBackTimer(),this.offLiveStarted?.(),this.offLiveStarted=null,this.photoAudioEl?.pause(),this.photoAudioEl=void 0}onScroll(){this.rafId||(this.rafId=requestAnimationFrame(()=>{this.rafId=0;let t=this.feedRef?.nativeElement;if(!t||!t.clientHeight)return;let e=Math.round(t.scrollTop/t.clientHeight);e!==this.activeIndex&&e>=0&&e<this.videos.length&&this.setActive(e)}))}near(t){return Math.abs(t-this.activeIndex)<=1}resumeOrStart(){let t=this.resumeLiveId,e=this.resumeVideoId;if(this.resumeLiveId=null,this.resumeVideoId=null,t){this.openLiveRoom(t);return}if(e){let n=this.videos.findIndex(o=>o.id===e);if(n>=0){this.startAt(n);return}this.feed.getVideo(e).subscribe({next:o=>{if(!o)return this.setActive(0);this.videos=[o,...this.videos],this.startAt(0)},error:()=>this.setActive(0)});return}this.setActive(0)}syncUrlToActive(){if(!F(this.platformId)||this.playlistMode)return;let t=this.videos[this.activeIndex];if(!t)return;let e=this.isLive(t)?`live=${encodeURIComponent(t.live.id)}`:`v=${encodeURIComponent(t.id)}`,n=this.router.url.split("?")[0],o=`${n}?${e}`;o!==this.lastSyncedUrl&&(this.lastSyncedUrl=o,this.location.replaceState(n,e))}setActive(t){t!==this.activeIndex&&(this.progressPct=0,this.isPaused=!1,this.clearEndedCountdown()),this.activeIndex=t,this.syncUrlToActive(),queueMicrotask(()=>this.syncActiveLive()),this.playOnly(t);let e=this.videos[t];e&&!this.isLive(e)&&(this.seenIds.add(e.id),this.impressions.track(e.id),this.comments[e.id]||this.loadComments(e.id)),t>=this.videos.length-12&&this.loadMore(),this.maybeGateSignup()}static SIGNUP_WALL_EVERY=4;anonContentsSeen=0;anonCounted=new Set;maybeGateSignup(){if(this.isLoggedIn||this.authPrompt.isOpen)return;let t=this.videos[this.activeIndex];if(!(!t||this.isLive(t)||this.anonCounted.has(t.id))&&(this.anonCounted.add(t.id),this.anonContentsSeen++,this.anonContentsSeen%i.SIGNUP_WALL_EVERY===0)){let e=this.videoAt(this.activeIndex);e&&!e.paused&&(this.isPaused=!0,e.pause()),this.openLogin()}}videoAt(t){return this.items?.get(t)?.nativeElement?.querySelector("video.player__video")??null}playOnly(t){this.videos.forEach((e,n)=>{let o=this.videoAt(n);if(o)if(n===t){let l=this.videos[t]?.videoUrl||this.videos[t]?.hlsUrl;l&&o.getAttribute("src")!==l&&(o.src=l,o.load()),o.muted=this.muted,o.play().catch(()=>{o.muted||(this.forcedMute=!0,this.muted=!0,o.muted=!0,o.play().catch(()=>{}))})}else o.paused||(o.pause(),o.currentTime=0)}),this.syncPhotoAudio(t)}photoAudioEl;photoAudioFor="";syncPhotoAudio(t){if(!F(this.platformId))return;let e=this.videos[t];if(!(e?.contentType==="photo"&&!!e.audioId&&!this.isPaused)){this.photoAudioEl?.pause(),this.photoAudioFor="";return}this.photoAudioEl||(this.photoAudioEl=new Audio,this.photoAudioEl.loop=!0);let o=this.photoAudioEl;this.photoAudioFor!==e.id&&(this.photoAudioFor=e.id,o.src=`/api/audio/${e.audioId}/preview-stream`),o.muted=this.muted,o.play().catch(()=>{o.muted||(this.forcedMute=!0,this.muted=!0,o.muted=!0,o.play().catch(()=>{}))})}applyVolume(t){let e=this.videoAt(t);e&&(e.muted=this.muted),this.photoAudioEl&&(this.photoAudioEl.muted=this.muted)}goTo(t){this.items.get(t)?.nativeElement?.scrollIntoView({behavior:"smooth",block:"start"})}onTimeUpdate(t,e){if(e!==this.activeIndex)return;let n=t.target;n.duration>0&&(this.progressPct=n.currentTime/n.duration*100)}openStories(t){if(!this.isLoggedIn)return this.openLogin();let e=this.videoAt(this.activeIndex);e&&!e.paused&&(this.isPaused=!0,e.pause()),this.storyViewerWorkspaceId=t}openLiveRoom(t){let e=this.videos.findIndex(n=>n.live?.id===t);if(e>=0){this.startAt(e);return}this.liveApi.getRoom(t).subscribe({next:n=>{if(!n||n.isEnded)return;this.lives.addToPool(n);let o=Math.min(this.activeIndex+1,this.videos.length),l=this.lives.notePlacedAt(n,o);this.videos.splice(o,0,q(n,l)),this.videos=[...this.videos],this.startAt(o)},error:()=>{}})}closeStories(){this.storyViewerWorkspaceId=null;let t=this.videoAt(this.activeIndex);t&&this.isPaused&&(this.isPaused=!1,t.play().catch(()=>{}))}togglePlay(t){let e=this.videoAt(t);
9if(!e){if(this.videos[t]?.contentType!=="photo")return;this.isPaused=!this.isPaused,this.syncPhotoAudio(t);return}e.paused?(this.isPaused=!1,e.play().catch(()=>{})):(this.isPaused=!0,e.pause())}onPlay(t){t===this.activeIndex&&(this.isPaused=!1)}onPause(t){t===this.activeIndex&&!this.videoAt(t)?.ended&&(this.isPaused=!0)}toggleMute(){this.muted=!this.muted,this.forcedMute=!1,this.applyVolume(this.activeIndex)}loadMore(){if(this.loading||this.playlistMode)return;if(this.livesOnly)return this.loadMoreLives();let t=!this.hasMore;if(t&&this.emptyLoads>=2)return;this.loading=!0;let e=this.videos[this.videos.length-1];this.feed.getFeed({cursor:t?null:this.cursor,seed:this.seed,limit:20,exclude:Array.from(this.seenIds).slice(-200).join(","),lastWorkspaceId:e?.creatorId??null}).subscribe({next:n=>{let o=this.videos.length===0,l=n.items||[];this.emptyLoads=l.length?0:this.emptyLoads+1,this.videos=[...this.videos,...this.lives.interleave(l,q)],this.cursor=n.nextCursor??null,this.hasMore=!!n.hasMore,this.loading=!1,o&&this.videos.length&&(setTimeout(()=>this.resumeOrStart(),0),this.hasMore&&setTimeout(()=>this.loadMore(),60))},error:()=>{this.loading=!1,this.hasMore=!1}})}loadMoreLives(){if(!this.lives.poolSize)return;let t=this.videos.length===0,n=this.lives.interleave(new Array(24).fill(null),q).filter(o=>!!o);n.length&&(this.videos=[...this.videos,...n],t&&setTimeout(()=>this.resumeOrStart(),0))}loadComments(t){this.commentsLoading[t]=!0,this.feed.getComments(t).subscribe({next:e=>{this.comments[t]=e,this.commentsLoading[t]=!1},error:()=>{this.comments[t]=[],this.commentsLoading[t]=!1}})}toggleLike(t){if(t){if(!this.isLoggedIn)return this.openLogin();this.liked[t.id]=!this.liked[t.id],t.likeCount+=this.liked[t.id]?1:-1}}openCreator(t){if(t){if(t.creatorSlug){this.router.navigateByUrl("/@"+t.creatorSlug);return}this.openLogin()}}openTag(t){this.router.navigate(["/a","tag",t])}photoIdx={};activePin=null;activePinVideo=null;galTrackIdx={};galDrag={};galNoAnim={};photoCount(t){return t.photos?.length||0}trackIndexFor(t){let e=this.galTrackIdx[t.id];return e!==void 0?e:at(t,this.me?.zodiacSign)+1}photoIndexFor(t){let e=this.photoCount(t);return e<2?0:((this.trackIndexFor(t)-1)%e+e)%e}currentPhoto(t){let e=t.photos||[];return e.length?e[Math.min(this.photoIndexFor(t),e.length-1)]:null}galSlides(t){let e=t.photos||[];return e.length<2?e:[e[e.length-1],...e,e[0]]}trackGalSlide=(t,e)=>`${t}:${e.id??e.imageUrl}`;slideAspect(t){return t?.width&&t?.height?String(t.width/t.height):"0.5625"}photoAspect(t){return this.slideAspect(this.currentPhoto(t))}galTransform(t){let e=this.photoCount(t);if(e<2)return"translate3d(0,0,0)";let n=this.galDrag[t.id]||0;return`translate3d(calc(${-100*Math.max(0,Math.min(e+1,this.trackIndexFor(t)))}% + ${n}px), 0, 0)`}galAnimating(t){return!this.galNoAnim[t.id]}onGalTransitionEnd(t,e){if(e.propertyName!=="transform")return;let n=this.photoCount(t);if(n<2)return;let o=this.trackIndexFor(t);o!==0&&o!==n+1||(this.galNoAnim[t.id]=!0,this.galTrackIdx[t.id]=o===0?n:1,requestAnimationFrame(()=>requestAnimationFrame(()=>{this.galNoAnim[t.id]=!1})))}setPhoto(t,e,n){n?.stopPropagation();let o=this.photoCount(t);o&&(this.galNoAnim[t.id]=!1,this.galTrackIdx[t.id]=(e%o+o)%o+1)}stepPhoto(t,e,n){n?.stopPropagation();let o=this.photoCount(t);if(o<2)return;let l=this.trackIndexFor(t);if(l<=0||l>=o+1){this.galNoAnim[t.id]=!0,this.galTrackIdx[t.id]=l<=0?o:1,requestAnimationFrame(()=>{this.galNoAnim[t.id]=!1,this.galTrackIdx[t.id]=this.trackIndexFor(t)+e});return}this.galNoAnim[t.id]=!1,this.galTrackIdx[t.id]=l+e}dragStartX=null;dragVideo=null;static SWIPE_PX=40;onGalleryPointerDown(t,e){this.photoCount(t)<2||(this.dragStartX=e.clientX,this.dragVideo=t,this.galNoAnim[t.id]=!0,this.galDrag[t.id]=0)}onGalleryPointerMove(t,e){this.dragStartX===null||this.dragVideo!==t||(this.galDrag[t.id]=e.clientX-this.dragStartX)}onGalleryPointerUp(t,e){let n=this.dragStartX;if(this.dragStartX=null,n===null||this.dragVideo!==t){this.dragVideo=null;return}this.dragVideo=null,this.galDrag[t.id]=0,this.galNoAnim[t.id]=!1;let o=e.clientX-n;if(Math.abs(o)>=i.SWIPE_PX){this.stepPhoto(t,o<0?1:-1,e);return}let l=e.currentTarget;if(!l)return;let C=l.getBoundingClientRect(),A=e.clientX-C.left;A<C.width*.33?this.stepPhoto(t,-1,e):A>C.width*.67&&this.stepPhoto(t,1,e)}onGalleryPointerCancel(t){t&&(this.galDrag[t.id]=0,this.galNoAnim[t.id]=!1),this.dragStartX=null,this.dragVideo=null}pinsForSlide(t,e){return(t.productPins||[]).filter(n=>!n.photoId||n.photoId===e?.id)}openPin(t,e,n){n.stopPropagation(),this.activePin=t,this.activePinVideo=e}closePin(){this.activePin=null,this.activePinVideo=null}openPinProduct(){let t=this.activePinVideo;this.closePin(),this.openCreator(t??void 0)}editing=null;
9editCaption="";editVisibility="public";savingEdit=!1;deleteConfirm=!1;isMine(t){return!!t&&!!this.me?.defaultWorkspaceId&&this.me.defaultWorkspaceId===t.creatorId}openEdit(t,e){e?.stopPropagation(),this.editing=t,this.editCaption=t.caption||"",this.editVisibility=t.visibility||"public",this.deleteConfirm=!1}closeEdit(){this.editing=null,this.deleteConfirm=!1}saveEdit(){let t=this.editing,e=this.me?.defaultWorkspaceId;!t||!e||this.savingEdit||(this.savingEdit=!0,this.feed.updateContent(t.id,e,{description:this.editCaption.trim(),visibility:this.editVisibility}).subscribe({next:()=>{t.caption=this.editCaption.trim(),t.visibility=this.editVisibility,this.savingEdit=!1,this.closeEdit()},error:()=>this.savingEdit=!1}))}deleteEditing(){let t=this.editing,e=this.me?.defaultWorkspaceId;!t||!e||this.feed.deleteContent(t.id,e).subscribe({next:()=>{this.videos=this.videos.filter(n=>n.id!==t.id),this.activeIndex>=this.videos.length&&(this.activeIndex=Math.max(0,this.videos.length-1)),this.closeEdit()},error:()=>{}})}formatPinPrice(t){if(!t||t.priceCents==null)return"";let e=(t.priceCents/100).toFixed(2).replace(".",","),n=(t.currency||"EUR").toUpperCase();return n==="USD"?"$"+e:n==="GBP"?e+"\xA3":n==="EUR"?e+"\u20AC":e+" "+n}openAudio(t){t?.audioId&&this.router.navigate(["/a","audio",t.audioId])}discCover(t){return t?.audioCover||t?.creatorAvatar||void 0}openGifts(t){t&&(this.giftVideo=t,this.showGifts=!0)}closeGifts(){this.showGifts=!1}onGiftNeedLogin(){this.showGifts=!1,this.openLogin()}focusComposer(){if(!this.isLoggedIn)return this.openLogin();if(!F(this.platformId))return;document.querySelector(".comments__compose input")?.focus()}resolveShareToken(t){!t||!F(this.platformId)||this.feed.resolveShareToken(t).subscribe({next:e=>{e?.sharer&&(this.sharedBy=e.sharer,this.sharedContentId=e.contentId)},error:()=>{}})}get showSharedBy(){if(!this.sharedBy)return!1;let t=this.videos[this.activeIndex];return!!t&&!this.isLive(t)&&t.id===this.sharedContentId}shareVideo(t){if(!t||!F(this.platformId))return;let e=`https://hou.la/content/${t.id}`;if(!this.isLoggedIn)return this.doShare(t,e);this.feed.recordShare(t.id).subscribe({next:n=>this.doShare(t,n?.token?`${e}?s=${n.token}`:e),error:()=>this.doShare(t,e)})}doShare(t,e){let n=navigator;n.share?n.share({title:t.creatorName,url:e}).catch(()=>{}):n.clipboard?.writeText&&n.clipboard.writeText(e).catch(()=>{})}requireAuthThen(t){this.isLoggedIn?t():this.openLogin()}sendComment(){return ee(this,null,function*(){let t=this.active,e=this.draft.trim();if(!t||!e)return;if(!this.isLoggedIn)return this.openLogin();this.sending=!0;let n=this.replyingTo;try{let o=yield Pe(this.feed.addComment(t.id,e,n?.id));n?(n.replies=n.replies||[],n.replies.push(o),n.replyCount=(n.replyCount||0)+1,n.repliesOpen=!0,n.repliesLoaded=!0):(this.comments[t.id]||(this.comments[t.id]=[])).unshift(o),t.commentCount+=1,this.draft="",this.replyingTo=null}catch{this.openLogin()}finally{this.sending=!1}})}get myWorkspaceId(){return this.me?.defaultWorkspaceId||void 0}isMyComment(t){return!!this.myWorkspaceId&&t.authorWorkspaceId===this.myWorkspaceId}isCommentOwner(){return this.isMine(this.active)}toggleCommentLike(t){if(!this.isLoggedIn)return this.openLogin();let e=t.isLiked;t.isLiked=!e,t.likeCount=Math.max(0,t.likeCount+(e?-1:1)),(e?this.feed.unlikeComment(t.id):this.feed.likeComment(t.id)).subscribe({error:()=>{t.isLiked=e,t.likeCount=Math.max(0,t.likeCount+(e?1:-1))}})}toggleReplies(t){if(t.repliesOpen){t.repliesOpen=!1;return}if(t.repliesLoaded){t.repliesOpen=!0;return}this.feed.getReplies(t.id).subscribe({next:e=>{t.replies=e,t.repliesLoaded=!0,t.repliesOpen=!0},error:()=>{t.replies=[],t.repliesLoaded=!0,t.repliesOpen=!0}})}startReply(t){if(!this.isLoggedIn)return this.openLogin();this.replyingTo=t.parentId&&this.parentOf(t)||t}cancelReply(){this.replyingTo=null}parentOf(t){let e=this.active;if(!e)return null;for(let n of this.comments[e.id]||[])if(n.replies?.some(o=>o.id===t.id))return n;return null}openChatAuthor(t){this.openMiniSheet({workspaceId:t.authorWorkspaceId,name:t.authorName,avatar:t.authorAvatar,slug:t.authorSlug})}miniSheetWorkspaceId=null;miniSheetName="";miniSheetAvatar;miniSheetSlug;openMiniSheet(t){if(!t.workspaceId){t.slug&&this.router.navigateByUrl("/@"+t.slug);return}this.miniSheetName=t.name||"",this.miniSheetAvatar=t.avatar,this.miniSheetSlug=t.slug,this.miniSheetWorkspaceId=t.
9workspaceId}closeMiniSheet(){this.miniSheetWorkspaceId=null}openStoryFromMiniSheet(t){this.closeMiniSheet(),this.openStories(t)}openCommentAuthor(t){this.openMiniSheet({workspaceId:t.authorWorkspaceId,name:t.authorName,avatar:t.authorAvatar,slug:t.authorSlug})}openCommentMenu(t){this.reportingComment=null,this.commentMenu=t}closeCommentMenu(){this.commentMenu=null,this.reportingComment=null}deleteComment(t){this.closeCommentMenu(),this.feed.deleteComment(t.id).subscribe({next:()=>this.removeCommentLocal(t),error:()=>{}})}toggleHideComment(t){this.closeCommentMenu();let e=!t.isHiddenByOwner;t.isHiddenByOwner=e,(e?this.feed.hideComment(t.id):this.feed.unhideComment(t.id)).subscribe({error:()=>t.isHiddenByOwner=!e})}beginReport(t){this.reportingComment=t}submitReport(t,e){this.closeCommentMenu(),this.feed.reportComment(t.id,e).subscribe({error:()=>{}})}blockCommentAuthor(t){this.closeCommentMenu();let e=t.authorWorkspaceId,n=this.active;!e||!n||this.feed.blockWorkspace(e).subscribe({next:()=>{this.comments[n.id]=(this.comments[n.id]||[]).filter(o=>o.authorWorkspaceId!==e)},error:()=>{}})}copyComment(t){this.closeCommentMenu();try{navigator.clipboard?.writeText(t.content)}catch{}}removeCommentLocal(t){let e=this.active;if(e){if(t.parentId){let n=this.parentOf(t);n&&(n.replies=(n.replies||[]).filter(o=>o.id!==t.id),n.replyCount=Math.max(0,(n.replyCount||0)-1))}else this.comments[e.id]=(this.comments[e.id]||[]).filter(n=>n.id!==t.id);e.commentCount=Math.max(0,e.commentCount-1)}}openLogin(){this.authPrompt.openLogin()}emojiOpen=!1;addEmoji(t,e){let n=`${t.draft??""}${e}`;t.draft=n.slice(0,200)}spans(t){let e=t||"";if(!e)return[];let n=this.spanCache.get(e);return n||(n=st(e),this.spanCache.size>400&&this.spanCache.clear(),this.spanCache.set(e,n)),n}spanCache=new Map;openSpan(t,e){e?.stopPropagation(),t.ref&&(t.kind==="hashtag"?this.openTag(t.ref):this.router.navigateByUrl("/@"+t.ref))}initial(t){return(t||"H").charAt(0).toUpperCase()}count(t){let e=t||0;return e>=1e6?(e/1e6).toFixed(1).replace(".0","")+"M":e>=1e3?(e/1e3).toFixed(1).replace(".0","")+"K":String(e)}trackById=(t,e)=>e.id;trackComment=(t,e)=>e.id;static \u0275fac=function(e){return new(e||i)};static \u0275cmp=B({type:i,selectors:[["app-view-app-preview"]],viewQuery:function(e,n){if(e&1&&(j($t,5),j(zt,5),j(Rt,5),j(Nt,5),j(xe,5)),e&2){let o;H(o=W())&&(n.feedRef=o.first),H(o=W())&&(n.lchatRef=o.first),H(o=W())&&(n.items=o),H(o=W())&&(n.vids=o),H(o=W())&&(n.liveRooms=o)}},decls:14,vars:17,consts:[["loadingTpl",""],["feed",""],["item",""],["vid",""],["plainCap",""],["avInit",""],["spinnerTpl",""],["cInit",""],["followTpl",""],["lchat",""],["plainSpan",""],["composeTpl",""],["plainCmt",""],["plainReply",""],[3,"fill","scroll"],[1,"feed-row"],[1,"stage"],[3,"open","openLive","trayReady",4,"ngIf"],["class","feed",3,"scroll",4,"ngIf","ngIfElse"],["class","panel",4,"ngIf"],["class","csheet",3,"click",4,"ngIf"],[3,"videoId","creatorName","closed","needLogin",4,"ngIf"],["class","owner-modal",3,"click",4,"ngIf"],["class","pin-sheet",3,"click",4,"ngIf"],[3,"startWorkspaceId","closed",4,"ngIf"],[3,"closed","openStory","workspaceId","fallbackName","fallbackAvatar","fallbackSlug"],[3,"open","openLive","trayReady"],[1,"feed",3,"scroll"],["class","feed__item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"feed__item"],[1,"player"],["type","button","class","player__owner","aria-label","G\xE9rer",3,"click",4,"ngIf"],[3,"live","active","preheat","chatIsExternal","endedProgress","needLogin","ended","skipEnded",4,"ngIf"],["class","player__video","loop","","playsinline","",3,"src","poster","muted","preload","click","timeupdate","play","pause",4,"ngIf"],["class","player__gallery",3,"pointerdown","pointermove","pointerup","pointercancel","pointerleave",4,"ngIf"],["type","button","class","player__playbtn",3,"click",4,"ngIf"],["type","button","class","player__mute",3,"click",4,"ngIf"],["class","player__info",3,"click",4,"ngIf"],["class","player__progress",4,"ngIf"],["class","actions",4,"ngIf"],["type","button","aria-label","G\xE9rer",1,"player__owner",3,"click"],[1,"pi","pi-ellipsis-v"],[3,"needLogin","ended","skipEnded","live","active","preheat","chatIsExternal","endedProgress"],["loop","","playsinline","",1,"player__video",3,"click","timeupdate","play","pause","src","poster","muted","preload"],[1,"player__gallery",3,"pointerdown","pointermove","pointerup","pointercancel","pointerleave"],[1,"player__photo-bg"],[1,"gal__track",3,"transitionend"],["class","gal__slide",4,"ngFor","ngForOf","ngForTrackBy"],["class","player__counter",4,"ngIf"],[4,"ngIf"],["class","player__dots",3,"click",4,"ngIf"],[1,"gal__slide"],[1,"player__photo-box"],["draggable","false",1,"player__photo",3,"src","alt"],["type","button","class","photo-pin",3,"left","top","click",4,"ngFor","ngForOf"],["type","button",1,"photo-pin",3,"click"],[1,"ph
9oto-pin__halo"],[1,"photo-pin__dot"],[1,"pi","pi-shopping-bag"],[1,"player__counter"],["type","button",1,"player__nav","player__nav--prev",3,"click"],[1,"pi","pi-chevron-left"],["type","button",1,"player__nav","player__nav--next",3,"click"],[1,"pi","pi-chevron-right"],[1,"player__dots",3,"click"],[3,"active","click",4,"ngFor","ngForOf"],[3,"click"],["type","button",1,"player__playbtn",3,"click"],[1,"pi","pi-play"],["type","button",1,"player__mute",3,"click"],[1,"pi"],[1,"player__info",3,"click"],["class","player__shared",4,"ngIf"],["type","button",1,"player__author",3,"click"],["class","player__caption",4,"ngIf"],["class","player__sound",4,"ngIf"],[1,"player__shared"],["class","player__shared-av","alt","",3,"src",4,"ngIf"],["alt","",1,"player__shared-av",3,"src"],[1,"player__caption"],[4,"ngFor","ngForOf"],["class","player__tag",3,"click",4,"ngIf","ngIfElse"],[1,"player__tag",3,"click"],[1,"player__sound"],[1,"pi","pi-music"],[1,"player__progress"],[1,"actions"],["type","button",1,"actions__av",3,"click"],["alt","",3,"src","error",4,"ngIf","ngIfElse"],[1,"actions__plus"],[1,"pi","pi-plus"],["type","button",1,"actions__btn",3,"click"],[1,"actions__ic"],[1,"pi","pi-comment"],[1,"pi","pi-bookmark"],[1,"pi","pi-send"],[1,"actions__ic","actions__ic--gift"],["viewBox","0 0 24 24","aria-hidden","true",1,"actions__sparkle"],["d","M12 2.2l1.7 5.3a4 4 0 0 0 2.8 2.8l5.3 1.7-5.3 1.7a4 4 0 0 0-2.8 2.8L12 21.8l-1.7-5.3a4 4 0 0 0-2.8-2.8L2.2 12l5.3-1.7a4 4 0 0 0 2.8-2.8L12 2.2z"],["d","M19 3.5l.6 1.9 1.9.6-1.9.6-.6 1.9-.6-1.9-1.9-.6 1.9-.6.6-1.9z","opacity",".85"],["class","actions__disc-wrap",4,"ngIf"],["alt","",3,"error","src"],[1,"actions__av-init"],[1,"actions__disc-wrap"],["class","actions__notes","aria-hidden","true",4,"ngIf"],["type","button",1,"actions__disc",3,"click"],[1,"actions__disc-spin"],["class","pi pi-music",4,"ngIf"],["aria-hidden","true",1,"actions__notes"],[1,"note","note--1"],[1,"note","note--2"],[1,"note","note--3"],["class","feed-empty feed-empty--live",4,"ngIf","ngIfElse"],[1,"feed-empty","feed-empty--live"],[1,"feed-empty__icon"],[1,"pi","pi-video"],[1,"feed-empty__title"],[1,"feed-empty__text"],["routerLink","/a/for-you",1,"feed-empty__cta"],[1,"feed-empty"],[1,"pi","pi-spin","pi-spinner"],[1,"panel"],[1,"card","creator"],["type","button",1,"creator__avwrap",3,"click"],["class","creator__av","alt","",3,"src","error",4,"ngIf","ngIfElse"],["class","creator__livedot",4,"ngIf"],[1,"creator__info"],[1,"creator__name"],[3,"size",4,"ngIf"],["class","creator__handle",4,"ngIf"],[1,"creator__stats"],["type","button",1,"creator__follow",3,"click"],[4,"ngIf","ngIfElse"],["class","card lchat",4,"ngIf"],["class","card comments",4,"ngIf"],["alt","",1,"creator__av",3,"error","src"],[1,"creator__av","creator__av--init"],[1,"creator__livedot"],[3,"size"],[1,"creator__handle"],[1,"pi","pi-check"],[1,"card","lchat"],["class","lchat__pinned",4,"ngIf"],[1,"lchat__msgs",3,"scroll"],["class","lchat__empty",4,"ngIf"],["class","lchat__msg",3,"is-system","is-pending","is-welcome","is-priority","is-command",4,"ngFor","ngForOf","ngForTrackBy"],["type","button","class","lchat__resume",3,"click",4,"ngIf"],["class","lchat__err",4,"ngIf"],[1,"lcmd","lcmd--reponse"],[1,"lcmd"],["role","dialog","aria-modal","true",1,"lpay"],[1,"lchat__compose"],["type","text","maxlength","200",3,"ngModelChange","keyup.enter","keydown.arrowdown","keydown.arrowup","keydown.tab","keydown.escape","ngModel","placeholder"],["type","button","class","lchat__cmd",3,"is-open","click",4,"ngIf"],["type","button",1,"lchat__emoji",3,"click"],[1,"pi","pi-face-smile"],["type","button","class","lact lact--send",3,"disabled","click",4,"ngIf"],[1,"lchat__pinned"],[1,"pi","pi-thumbtack"],[1,"lchat__pinned-body"],[1,"lchat__empty"],[1,"lchat__msg"],["type","button","class","lchat__av",3,"click",4,"ngIf"],[1,"lchat__body"],["class","lchat__paid",4,"ngIf"],["class","lchat__name",3,"click",4,"ngIf"],["class","lchat__bot",4,"ngIf"],["class","lchat__cmdtag",4,"ngIf"],["class","lchat__coins lchat__coins--inline",4,"ngIf"],["class","lchat__supprime",4,"ngIf"],["type","button",1,"lchat__av",3,"click"],[3,"src","alt",4,"ngIf"],[3,"src","alt"],[1,"lchat__paid"],[1,"pi","pi-megaphone"],[1,"lchat__paid-txt"],["class","lchat__coins",4,"ngIf"],[1,"lchat__coins"],[1,"lchat__name",3,"click"],[1,"lchat__bot"],[1,"pi","pi-android"],[1,"lchat__cmdtag"],[1,"lchat__coins","lchat__coins--inline"],[1,"lchat__supprime"],["type","button",1,"lchat__resume",3,"click"],[1,"pi","pi-arrow-down"],[1,"lchat__err"],[3,"picked","closed"],[1,"lcmd__head"],[1,"pi","pi-chart-bar"],[1,"lcmd__hint"],["type","button",1,"lcmd__close",3,"click"],[1,"pi","pi-times"],[1,"lcmd__empty"],[1,"lcmd__row","lcmd__row--lecture"],[1,"lcmd__name"],[1,"lcmd__desc","lcmd__desc--libre"],[1,"lcmd__price"],[1,"pi","pi-bolt"],["type","button",1,"lcmd__row",3,"is-active"],["type","button",1,"lcmd__row",3,"click"],[1,"lcmd__desc"],[1,"pi",3,"ngClass"],[1,"lpay__box"],[1,"lpay__title"],[1,"lpay__changed"],[1,"lpay__preview"],[1,"lpay__balance"],[1,"lpay__err"],[1,"lpay__actions"],["type","button",1,"lpay__cancel",3,"click"],["type","button",1,"lpay__go",3,"disabled"],["type","button",1,"lpay__go"],[1,"pi","pi-exclamation-triangle"],["type","button",1,"lpay__go",3,"click","disabled"],["type","button",1,"lpay__go",3,"click"],[1,"pi","pi-shopping-cart"],["type","button",1,"lchat__cmd",3,"click"],["type","button",1,"lact","lact--send",3,"click","disabled"],[1,"pi","pi-arrow-up"],["type","button",1,"lact","lact--gift",3,"click"],[1,"pi","pi-sparkles"],["type","button",1,"lact","lact--share",3,"click"],[1,"pi","pi-reply"],["type","button",1,"lact","lact--heart",3,"click"],[1,"pi","pi-heart-fill"],[1,"card","comments"],[1,"comments__head"],[1,"comments__scroll"],["class","comments__list",4,"ngIf"],["class","comments__empty",4,"ngIf"],["class","comments__replybar",4,"ngIf"],["type","button","class","comments__signin",3,"click",4,"ngIf","ngIfElse"],[1,"comments__list"],["class","cmt",3,"cmt--masked",4,"ngFor","ngForOf","ngForTrackBy"],[1,"cmt"],["type","button",1,"cmt__avbtn",3,"click"],["class","cmt__av","alt","",3,"src","error",4,"ngIf"],["class","cmt__av cmt__av--init",4,"ngIf"],[1,"cmt__body"],[1,"cmt__head"],["class","cmt__masked",4,"ngIf"],[1,"cmt__text"],[1,"cmt__actions"],["type","button",1,"cmt__act",3,"click"],["type","button","class","cmt__act",3,"click",4,"ngIf"],[1,"cmt__spacer"],["type","button","aria-label","options",1,"cmt__more",3,"click"],[1,"pi","pi-ellipsis-h"],["type","button",1,"cmt__like",3,"click"],["class","cmt__replies",4,"ngIf"],["alt","",1,"cmt__av",3,"error","src"],[1,"cmt__av","cmt__av--init"],[1,"cmt__masked"],[1,"pi","pi-eye-slash"],[1,"cmt__replies"],["class","cmt cmt--reply",3,"cmt--masked",4,"ngFor","ngForOf","ngForTrackBy"],[1,"cmt","cmt--reply"],[1,"comments__empty"],[1,"comments__replybar"],["type","button","aria-label","cancel",3,"click"],["type","button",1,"comments__signin",3,"click"],[1,"pi","pi-lock"],[1,"comments__compose",3,"ngSubmit"],["type","text","name","draft",3,"ngModelChange","ngModel","placeholder"],["type","submit",3,"disabled"],[1,"csheet",3,"click"],[1,"csheet__panel",3,"click"],[1,"csheet__grip"],["type","button",1,"csheet__item",3,"click"],[1,"pi","pi-copy"],["type","button","class","csheet__item",3,"click",4,"ngIf"],["type","button","class","csheet__item csheet__item--danger",3,"click",4,"ngIf"],[1,"pi","pi-flag"],[1,"pi","pi-ban"],["type","button",1,"csheet__item","csheet__item--danger",3,"click"],[1,"pi","pi-trash"],[1,"csheet__title"],["type","button","class","csheet__item",3,"click",4,"ngFor","ngForOf"],[3,"closed","needLogin","videoId","creatorName"],[1,"owner-modal",3,"click"],[1,"owner-modal__card",3,"click"],[1,"owner-modal__title"],[1,"owner-modal__label"],["rows","3","placeholder","Ajoute une description\u2026",1,"owner-modal__textarea",3,"ngModelChange","ngModel"],[1,"owner-modal__select",3,"ngModelChange","ngModel"],["value","public"],["value","friends"],["value","private"],[1,"owner-modal__actions"],["type","button","class","owner-modal__delete",3,"click",4,"ngIf"],["type","button","class","owner-modal__delete owner-modal__delete--confirm",3,"click",4,"ngIf"],[1,"owner-modal__spacer"],["type","button",1,"owner-modal__cancel",3,"click"],["type","button",1,"owner-modal__save",3,"click","disabled"],["type","button",1,"owner-modal__delete",3,"click"],["type","button",1,"owner-modal__delete","owner-modal__delete--confirm",3,"click"],[1,"pin-sheet",3,"click"],[1,"pin-sheet__card",3,"click"],[1,"pin-sheet__img"],["class","pi pi-shopping-bag",4,"ngIf"],[1,"pin-sheet__info"],[1,"pin-sheet__title"],["class","pin-sheet__price",4,"ngIf"],["type","button",1,"pin-sheet__cta",3,"click"],["type","button","aria-label","Close",1,"pin-sheet__close",3,"click"],[1,"pin-sheet__price"],[3,"closed","startWorkspaceId"]],template:function(e,n){if(e&1){let o=h();s(0,"app-shell",14)(1,"div",15)(2,"main",16),u(3,Ht,1,0,"app-story-tray",17)(4,Ci,3,2,"div",18)(5,yi,3,2,"ng-template",null,0,E),c(),u(7,Hn,22,20,"aside",19),c()(),u(8,Zn,5,2,"div",20)(9,Jn,1,2,"app-gift-sheet",21)(10,io,24,6,"div",22)(11,ro,12,5,"div",23)(12,ao,1,1,"app-story-viewer",24),s(13,"app-workspace-mini-sheet",25),f("closed",function(){return _(o),d(n.closeMiniSheet())})("openStory",function(C){return _(o),d(n.openStoryFromMiniSheet(C))}),c()}if(e&2){let o=O(6);p("fill",!0)("scroll",!1),r(2),y("stage--tray",n.storyTrayVisible),r(),p("ngIf",!n.livesOnly),r(),p("ngIf",n.videos.length)("ngIfElse",o),r(3),p("ngIf",n.active),r(),p("ngIf",n.commentMenu),r(),p("ngIf",n.showGifts&&n.giftVideo),r(),p("ngIf",n.editing),r(),p("ngIf",n.activePin),r(),p("ngIf",n.storyViewerWorkspaceId),r(),p("workspaceId",n.miniSheetWorkspaceId)("fallbackName",n.miniSheetName)("fallbackAvatar",n.miniSheetAvatar)("fallbackSlug",n.miniSheetSlug)}},dependencies:[ge,pe,z,Te,se,G,Xe,Ke,Ye,qe,Ne,Ge,De,je,Qe,We,He,Fe,Le,Y,ce,it,nt,xe,fe,rt,ue],styles:['@charset "UTF-8";@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;
9src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;
9src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;
9src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(https://fonts.gstatic.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}[_nghost-%COMP%]{--paper: #0a0a14;--surface: #12121e;--surface-2: #1a1a2e;--ink: #ffffff;--ink-soft: rgba(255, 255, 255, .66);--ink-muted: rgba(255, 255, 255, .45);--accent: #2f8eef;--accent-bright: #54a6f6;--live: #ff3b30;--border: rgba(255, 255, 255, .1);--border-soft: rgba(255, 255, 255, .06);--topbar: 64px;--story-ring-a: #ffc83a;--story-ring-b: #ff7a1a;--story-ring-seen: rgba(255, 255, 255, .22);display:block;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}*[_ngcontent-%COMP%]{box-sizing:border-box}button[_ngcontent-%COMP%]{font-family:inherit;cursor:pointer}.stage[_ngcontent-%COMP%]{flex:1;min-width:0;position:relative;--stray-h: 0px}.stage--tray[_ngcontent-%COMP%]{--stray-h: 128px}.feed[_ngcontent-%COMP%]{height:calc(100% - var(--stray-h, 0px));overflow-y:auto;scroll-snap-type:y mandatory;scroll-behavior:smooth;scrollbar-width:none}.feed[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.feed__item[_ngcontent-%COMP%]{height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;gap:18px;padding:18px}.feed-empty[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--ink-muted)}.feed-empty[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:26px}.feed-empty--live[_ngcontent-%COMP%]{gap:0;padding:24px;text-align:center}.feed-empty--live[_ngcontent-%COMP%] .feed-empty__icon[_ngcontent-%COMP%]{width:72px;height:72px;border-radius:50%;background:#2f8eef24;display:flex;align-items:center;justify-content:center;margin-bottom:20px}.feed-empty--live[_ngcontent-%COMP%] .feed-empty__icon[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:30px;color:var(--accent, #2f8eef)}.feed-empty--live[_ngcontent-%COMP%] .feed-empty__title[_ngcontent-%COMP%]{margin:0 0 8px;font-size:19px;font-weight:700;color:var(--ink, #fff)}.feed-empty--live[_ngcontent-%COMP%] .feed-empty__text[_ngcontent-%COMP%]{margin:0 0 24px;max-width:340px;font-size:14px;line-height:1.45;color:var(--ink-muted)}
9.feed-empty--live[_ngcontent-%COMP%] .feed-empty__cta[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border-radius:14px;background:var(--accent, #2f8eef);color:#fff;font-weight:600;text-decoration:none}.feed-empty--live[_ngcontent-%COMP%] .feed-empty__cta[_ngcontent-%COMP%]:hover{background:var(--accent-bright, #54a6f6)}.player[_ngcontent-%COMP%]{position:relative;height:100%;aspect-ratio:9/16;max-width:100%;border-radius:18px;overflow:hidden;background:#000;box-shadow:0 30px 60px #00000080;cursor:pointer}.player__video[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block}app-live-room[_ngcontent-%COMP%]{position:absolute;inset:0;display:block;cursor:auto}.player__playbtn[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:84px;height:84px;border-radius:50%;border:none;background:#00000059;backdrop-filter:blur(2px);color:#ffffffeb;display:flex;align-items:center;justify-content:center;z-index:4}.player__playbtn[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:36px;margin-left:4px}.player__mute[_ngcontent-%COMP%]{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;border:none;background:#0006;backdrop-filter:blur(6px);color:#fff;display:flex;align-items:center;justify-content:center;z-index:3}.player__mute[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:16px}.player__info[_ngcontent-%COMP%]{position:absolute;left:0;right:0;bottom:0;padding:48px 16px 16px;z-index:3;color:#fff;background:linear-gradient(to top,rgba(0,0,0,.65) 0%,rgba(0,0,0,.25) 55%,transparent 100%);text-shadow:0 1px 4px rgba(0,0,0,.7)}.player__gallery[_ngcontent-%COMP%] ~ .player__info[_ngcontent-%COMP%]{padding-bottom:30px}.player__author[_ngcontent-%COMP%]{background:none;border:none;padding:0;color:#fff;font-weight:800;font-size:15px;text-shadow:inherit}.player__author[_ngcontent-%COMP%]:hover{text-decoration:underline}.player__caption[_ngcontent-%COMP%]{margin:6px 0 0;font-size:13px;line-height:1.4;word-break:break-word;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.player__tag[_ngcontent-%COMP%]{color:var(--accent-bright);font-weight:600;cursor:pointer;text-decoration:none}.player__tag[_ngcontent-%COMP%]:hover, .player__tag[_ngcontent-%COMP%]:focus{text-decoration:none;filter:brightness(1.15)}.player__sound[_ngcontent-%COMP%]{margin:7px 0 0;font-size:12px;display:flex;align-items:center;gap:6px;color:#ffffffeb}.player__sound[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:12px}.player__progress[_ngcontent-%COMP%]{position:absolute;left:0;right:0;bottom:0;height:3px;background:#ffffff38;z-index:3}.player__progress[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;height:100%;background:var(--accent);transition:width .12s linear}.actions[_ngcontent-%COMP%]{--act: clamp(34px, 3.4vh, 46px);align-self:flex-end;margin-bottom:clamp(12px,2vh,22px);width:var(--act);display:flex;flex-direction:column;align-items:center;gap:clamp(10px,1.7vh,16px);flex-shrink:0}.actions__av[_ngcontent-%COMP%]{position:relative;width:var(--act);height:var(--act);background:none;border:none;padding:0;margin-bottom:6px}.actions__av[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .actions__av[_ngcontent-%COMP%] .actions__av-init[_ngcontent-%COMP%]{width:var(--act);height:var(--act);border-radius:50%;object-fit:cover;border:2px solid var(--border)}.actions__av-init[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--accent),#1f6fd0);color:#fff;font-weight:700;font-size:calc(var(--act) * .36)}.actions__plus[_ngcontent-%COMP%]{position:absolute;bottom:-8px;left:50%;transform:translate(-50%);width:calc(var(--act) * .44);height:calc(var(--act) * .44);border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;border:2px solid var(--paper)}.actions__plus[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:calc(var(--act) * .2)}.actions__btn[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:none;color:var(--ink)}.actions__btn[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-style:normal;font-size:clamp(10px,1.05vh,12px);font-weight:600;color:var(--ink-soft)}.actions__ic[_ngcontent-%COMP%]{width:var(--act);height:var(--act);border-radius:50%;background:var(--surface);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;transition:background .18s,color .18s}.actions__ic[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:calc(var(--act) * .44)}.actions__btn[_ngcontent-%COMP%]:hover .actions__ic[_ngcontent-%COMP%]{background:var(--surface-2)}.actions__ic.is-liked[_ngcontent-%COMP%]{color:var(--live);border-color:#ff3b3080;background:#ff3b301f}.actions__ic--gift[_ngcontent-%COMP%]{color:#ffc83a}
9.actions__sparkle[_ngcontent-%COMP%]{width:24px;height:24px;fill:currentColor;filter:drop-shadow(0 0 4px rgba(255,200,58,.55))}.actions__disc-wrap[_ngcontent-%COMP%]{position:relative;width:var(--act);height:var(--act);margin-top:2px}.actions__disc[_ngcontent-%COMP%]{background:none;border:none;padding:0;width:var(--act);height:var(--act);position:relative;z-index:1}.actions__disc-spin[_ngcontent-%COMP%]{position:relative;width:var(--act);height:var(--act);border-radius:50%;background-size:cover;background-position:center;background-color:#15151c;border:3px solid #0a0a10;box-shadow:0 0 0 1px #ffffff29,0 6px 16px #0000008c;display:flex;align-items:center;justify-content:center;color:#ffffffb3;animation:_ngcontent-%COMP%_discspin 4s linear infinite}.actions__disc-spin[_ngcontent-%COMP%]:after{content:"";position:absolute;width:calc(var(--act) * .22);height:calc(var(--act) * .22);border-radius:50%;background:#000;border:1px solid rgba(255,255,255,.4);z-index:2}.actions__disc-spin.is-paused[_ngcontent-%COMP%]{animation-play-state:paused}.actions__disc-spin.is-empty[_ngcontent-%COMP%]{background-image:linear-gradient(135deg,#4527a0,#7e57c2)}.actions__disc-spin.is-empty.is-original[_ngcontent-%COMP%]{background-image:linear-gradient(135deg,#424242,#7
957575)}.actions__disc-spin[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:calc(var(--act) * .4);z-index:1}@keyframes _ngcontent-%COMP%_discspin{to{transform:rotate(360deg)}}.actions__notes[_ngcontent-%COMP%]{position:absolute;inset:0;pointer-events:none;z-index:0}.note[_ngcontent-%COMP%]{position:absolute;left:58%;top:12px;color:#fff;opacity:0;line-height:1;text-shadow:0 1px 3px rgba(0,0,0,.6);will-change:transform,opacity}.note--1[_ngcontent-%COMP%]{font-size:15px;animation:_ngcontent-%COMP%_floatNote1 2.4s ease-in-out infinite}.note--2[_ngcontent-%COMP%]{font-size:12px;animation:_ngcontent-%COMP%_floatNote2 2.4s ease-in-out infinite .8s}.note--3[_ngcontent-%COMP%]{font-size:17px;animation:_ngcontent-%COMP%_floatNote3 2.4s ease-in-out infinite 1.6s}@keyframes _ngcontent-%COMP%_floatNote1{0%{transform:translateY(6px) rotate(-8deg) scale(.6);opacity:0}25%{opacity:1}to{transform:translate(-26px,-34px) rotate(12deg) scale(1.05);opacity:0}}@keyframes _ngcontent-%COMP%_floatNote2{0%{transform:translateY(6px) rotate(6deg) scale(.6);opacity:0}25%{opacity:1}to{transform:translate(-44px,-26px) rotate(-14deg) scale(1);opacity:0}}@keyframes _ngcontent-%COMP%_floatNote3{0%{transform:translateY(6px) rotate(-2deg) scale(.55);opacity:0}25%{opacity:1}to{transform:translate(-34px,-46px) rotate(16deg) scale(1.1);opacity:0}}.panel[_ngcontent-%COMP%]{width:430px;flex-shrink:0;padding:20px 20px 20px 0;display:flex;flex-direction:column;gap:16px;overflow-y:auto}.card[_ngcontent-%COMP%]{background:var(--surface);border:1px solid var(--border-soft);border-radius:16px;padding:16px;color:var(--ink)}.creator[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:13px}.lchat[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;position:relative}.lchat__pinned[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:7px;padding:8px 10px;border-radius:10px;background:#2f8eef29;border:1px solid rgba(47,142,239,.34);font-size:12.5px;line-height:1.35;color:var(--ink)}.lchat__pinned[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{flex:0 0 auto;margin-top:2px;font-size:11px;color:var(--accent-bright)}.lchat__pinned[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:4px;font-weight:600}.lchat__pinned-body[_ngcontent-%COMP%]{min-width:0;word-break:break-word}.lchat__msgs[_ngcontent-%COMP%]{flex:1;min-height:120px;display:flex;flex-direction:column;gap:6px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}.lchat__msgs[_ngcontent-%COMP%]::-webkit-scrollbar{width:3px}.lchat__msgs[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ffffff29;border-radius:3px}.lchat__empty[_ngcontent-%COMP%]{margin:0;font-size:13px;color:var(--ink-muted)}.lchat__msg[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.35;padding:5px 9px;border-radius:10px;background:#0000002e}.lchat__msg.is-system[_ngcontent-%COMP%]{background:none;color:var(--accent-bright);font-style:italic}.lchat__msg.is-pending[_ngcontent-%COMP%]{opacity:.55}.lchat__msg.is-welcome[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_lchat-welcome 1.8s ease-out 1}.lchat__msg.is-priority[_ngcontent-%COMP%]{background:#ffffff42;border:2px solid rgba(255,255,255,.85);border-left-width:5px;padding:7px 9px;font-weight:500}.lchat__msg.is-command[_ngcontent-%COMP%]{background:#ffffff1a;border-left:3px dashed rgba(255,255,255,.55);padding-left:8px}.lchat__paid[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;margin-bottom:2px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ink)}.lchat__paid[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:11px;color:var(--ink)}.lchat__paid-txt[_ngcontent-%COMP%]{white-space:nowrap}.lchat__coins[_ngcontent-%COMP%]{display:inline-flex;align-items:center;padding:0 6px;border:1px solid rgba(255,255,255,.7);border-radius:999px;font-size:10.5px;font-weight:700;line-height:16px;white-space:nowrap}.lchat__coins--inline[_ngcontent-%COMP%]{margin-right:5px;vertical-align:middle}.lchat__cmdtag[_ngcontent-%COMP%]{display:inline-block;margin-right:5px;padding:0 6px;border-radius:6px;background:#ffffff38;border:1px solid rgba(255,255,255,.5);font-size:11px;font-weight:700;line-height:17px;vertical-align:middle;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.lchat__bot[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:3px;margin-right:5px;padding:0 5px;border:1px dashed rgba(255,255,255,.55);border-radius:5px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;line-height:15px;vertical-align:middle;color:var(--ink-soft)}.lchat__bot[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:9px}.lcmd[_ngcontent-%COMP%]{max-height:210px;overflow-y:auto;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);padding:6px;scrollbar-width:thin}.lcmd__head[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;padding:2px 4px 6px;font-size:12px;color:var(--ink-soft)}.lcmd__head[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:var(--ink)}.lcmd__hint[_ngcontent-%COMP%]{flex:1;min-width:0;font-size:10.5px;color:var(--ink-muted)}.lcmd__close[_ngcontent-%COMP%]{flex:0 0 auto;border:0;background:none;color:var(--ink-muted);font-size:12px;cursor:pointer}.lcmd__close[_ngcontent-%COMP%]:hover{color:var(--ink)}.lcmd__empty[_ngcontent-%COMP%]{margin:0;padding:6px 4px;font-size:12px;color:var(--ink-muted)}.lcmd__row[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:8px;width:100%;padding:6px 8px;border:0;border-radius:8px;background:none;color:var(--ink);font-family:inherit;font-size:12.5px;text-align:left;cursor:pointer}.lcmd__row.is-active[_ngcontent-%COMP%], .lcmd__row[_ngcontent-%COMP%]:hover{background:#ffffff1f;box-shadow:inset 3px 0 #fffc}.lcmd--reponse[_ngcontent-%COMP%]{border-width:2px}.lcmd__row--lecture[_ngcontent-%COMP%]{margin:0;cursor:default}.lcmd__row--lecture[_ngcontent-%COMP%]:hover{background:none;box-shadow:none}.lcmd__desc--libre[_ngcontent-%COMP%]{white-space:normal;overflow:visible}.lcmd__name[_ngcontent-%COMP%]{flex:0 0 auto;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.lcmd__desc[_ngcontent-%COMP%]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink-soft)}.lcmd__price[_ngcontent-%COMP%]{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--ink-soft)}.lcmd__price.is-paid[_ngcontent-%COMP%]{padding:0 7px;border:1px solid rgba(255,255,255,.7);border-radius:999px;font-weight:700;color:var(--ink)}.lcmd__price[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:10px}.lpay[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;padding:10px;background:#0000009e;border-radius:12px}.lpay__box[_ngcontent-%COMP%]{width:100%;max-width:360px;padding:14px;border-radius:14px;border:2px solid rgba(255,255,255,.85);background:var(--surface-2);box-shadow:0 12px 30px #0000008c}.lpay__title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:14px;font-weight:700;color:var(--ink)}.lpay__changed[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:6px;margin:0 0 8px;padding:6px 8px;border:2px solid rgba(255,255,255,.8);border-radius:8px;background:#ffffff24;font-size:12px;font-weight:600;color:var(--ink)}.lpay__preview[_ngcontent-%COMP%]{margin:0 0 8px;padding:8px 10px;border-radius:10px;background:#00000059;font-size:13px;line-height:1.35;color:var(--ink);word-break:break-word}.lpay__balance[_ngcontent-%COMP%]{margin:0 0 8px;font-size:11.5px;color:var(--ink-muted)}.lpay__err[_ngcontent-%COMP%]{margin:0 0 8px;font-size:12px;font-weight:600;color:var(--ink);border-left:3px solid rgba(255,255,255,.8);padding-left:8px}.lpay__actions[_ngcontent-%COMP%]{display:flex;gap:8px;justify-content:flex-end}.lpay__cancel[_ngcontent-%COMP%], .lpay__go[_ngcontent-%COMP%]{border-radius:10px;padding:9px 14px;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}.lpay__cancel[_ngcontent-%COMP%]{border:1px solid var(--border);background:none;color:var(--ink-soft)}.lpay__go[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;border:2px solid rgba(255,255,255,.9);background:var(--accent);color:#fff}.lpay__go[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:default}@keyframes _ngcontent-%COMP%_lchat-welcome{0%{background:#3b82f673;box-shadow:0 0 8px #3b82f64d}25%{background:#3b82f673}to{background:#0000002e;box-shadow:none}}.lchat__av[_ngcontent-%COMP%]{flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;font-size:12px;font-weight:700;overflow:hidden;padding:0;border:0;color:inherit;font-family:inherit;cursor:pointer}.lchat__av[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.lchat__body[_ngcontent-%COMP%]{min-width:0;word-break:break-word}.lchat__body[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:5px;color:var(--ink-soft);font-weight:600}.lchat__body[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:9px;color:var(--accent-bright);margin-left:3px}.lchat__resume[_ngcontent-%COMP%]{align-self:center;margin-top:6px;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:0;border-radius:999px;background:#000000b3;color:#fff;font-size:12px;font-weight:600}.lchat__resume[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:11px}.lchat__err[_ngcontent-%COMP%]{margin:0;font-size:12px;color:var(--live)}.lchat__compose[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;position:relative}.lchat__compose[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1;min-width:0;height:38px;padding:0 14px;border-radius:24px;border:1px solid var(--border);background:var(--surface-2);color:var(--ink);font-family:inherit;font-size:13px;outline:none}.lchat__compose[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:var(--ink-muted)}.lchat__compose[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border-color:var(--accent)}.lact[_ngcontent-%COMP%]{flex:0 0 auto;width:36px;height:36px;border-radius:50%;border:0;background:#0006;color:#fff;display:grid;place-items:center;font-size:19px}.lact[_ngcontent-%COMP%]:hover{background:#0009}.lact--gift[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:gold}.lact--share[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#ffffffb3;
9transform:scaleX(-1)}.lact--heart[_ngcontent-%COMP%]{background:#ff0040}.lact--heart[_ngcontent-%COMP%]:hover{background:#ff2456}.lact--send[_ngcontent-%COMP%]{background:#ff0040}.lact--send[_ngcontent-%COMP%]:hover{background:#ff2456}.creator__avwrap[_ngcontent-%COMP%]{position:relative;flex-shrink:0;line-height:0;background:none;border:none;padding:0}.creator__av[_ngcontent-%COMP%]{width:52px;height:52px;border-radius:50%;object-fit:cover;flex-shrink:0}.creator__av--init[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--accent),#1f6fd0);color:#fff;font-weight:700;font-size:20px}.creator__livedot[_ngcontent-%COMP%]{position:absolute;bottom:-4px;left:50%;transform:translate(-50%);background:var(--live);color:#fff;font-size:9px;font-weight:800;letter-spacing:.4px;padding:1px 6px;border-radius:999px;border:2px solid var(--surface);line-height:1.3}.creator__info[_ngcontent-%COMP%]{flex:1;min-width:0}.creator__name[_ngcontent-%COMP%]{font-weight:700;font-size:15px;margin:0;color:var(--ink);display:flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator__name[_ngcontent-%COMP%] .pi-verified[_ngcontent-%COMP%]{color:var(--accent-bright);font-size:14px;flex-shrink:0}.creator__handle[_ngcontent-%COMP%]{margin:2px 0 0;font-size:12px;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator__stats[_ngcontent-%COMP%]{margin:3px 0 0;font-size:12px;color:var(--ink-muted)}.creator__follow[_ngcontent-%COMP%]{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;background:var(--accent);color:#fff;border:none;border-radius:999px;padding:9px 16px;font-weight:700;font-size:13px;transition:background .18s}.creator__follow[_ngcontent-%COMP%]:hover{background:var(--accent-bright)}.creator__follow.is-following[_ngcontent-%COMP%]{background:#ffffff1a;border:1px solid var(--border);color:var(--ink-soft)}.creator__follow.is-following[_ngcontent-%COMP%]:hover{background:#ffffff29}.creator__follow[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:11px}.comments[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;min-height:0}.comments__head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:15px}.comments__scroll[_ngcontent-%COMP%]{flex:1;min-height:0;overflow-y:auto;padding-right:6px;scrollbar-width:thin;scrollbar-color:var(--border) transparent}.comments__scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.comments__scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.comments__scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ffffff29;border-radius:999px}.comments__scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#ffffff47}.comments__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}.cmt[_ngcontent-%COMP%]{display:flex;gap:10px}.cmt__av[_ngcontent-%COMP%]{width:34px;height:34px;border-radius:50%;object-fit:cover;flex-shrink:0}.cmt__av--init[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background:#2a2a3a;color:#fff;font-weight:700;font-size:13px}.cmt__body[_ngcontent-%COMP%]{flex:1;min-width:0}.cmt__head[_ngcontent-%COMP%]{margin:0 0 3px;font-size:13px;display:flex;align-items:center;gap:4px}.cmt__head[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:var(--ink-soft);font-weight:600}.cmt__head[_ngcontent-%COMP%] .pi-verified[_ngcontent-%COMP%]{color:var(--accent-bright);font-size:12px}.cmt__text[_ngcontent-%COMP%]{margin:0;font-size:14px;color:var(--ink);word-break:break-word}.cmt__avbtn[_ngcontent-%COMP%]{flex-shrink:0;padding:0;border:0;background:none;line-height:0;cursor:pointer}.cmt__head[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{cursor:pointer}.cmt__masked[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:3px;margin-left:4px;padding:1px 6px;border-radius:6px;background:#ffffff1f;color:var(--ink-muted);font-size:10px;font-weight:600}.cmt__masked[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:10px}.cmt--masked[_ngcontent-%COMP%] > .cmt__body[_ngcontent-%COMP%], .cmt--masked[_ngcontent-%COMP%] > .cmt__avbtn[_ngcontent-%COMP%]{opacity:.5}.cmt__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:14px;margin-top:6px}.cmt__spacer[_ngcontent-%COMP%]{flex:1}.cmt__act[_ngcontent-%COMP%]{padding:0;border:0;background:none;color:var(--ink-muted);font-size:12px;font-weight:600;cursor:pointer}.cmt__act[_ngcontent-%COMP%]:hover{color:var(--ink-soft)}.cmt__more[_ngcontent-%COMP%]{padding:6px;border:0;background:none;color:var(--ink-muted);cursor:pointer;line-height:0}.cmt__more[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:15px}.cmt__more[_ngcontent-%COMP%]:hover{color:var(--ink-soft)}.cmt__like[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;min-width:40px;min-height:32px;padding:4px 8px;border:0;background:none;color:var(--ink-muted);cursor:pointer;flex-shrink:0}.cmt__like[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:15px;transition:transform .15s ease}.cmt__like[_ngcontent-%COMP%] em[_ngcontent-%COMP%]{font-style:normal;font-size:11px}.cmt__like.is-liked[_ngcontent-%COMP%]{color:#ff2d55}.cmt__like.is-liked[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_heartPop .42s ease}@keyframes _ngcontent-%COMP%_heartPop{0%{transform:scale(1)}30%{transform:scale(1.5)}55%{transform:scale(.85)}78%{transform:scale(1.12)}to{transform:scale(1)}}.cmt__replies[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;margin-top:12px;padding-left:6px;border-left:2px solid rgba(255,255,255,.08)}.cmt--reply[_ngcontent-%COMP%] .cmt__av[_ngcontent-%COMP%]{width:26px;height:26px}.cmt--reply[_ngcontent-%COMP%] .cmt__text[_ngcontent-%COMP%]{font-size:13px}
9.comments__replybar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 12px;margin-bottom:6px;border-radius:10px;background:#ffffff0f;color:var(--ink-soft);font-size:12px}.comments__replybar[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{border:0;background:none;color:var(--ink-muted);cursor:pointer;line-height:0}.csheet[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:960;display:flex;align-items:flex-end;justify-content:center;background:#05050c99;backdrop-filter:blur(4px);animation:_ngcontent-%COMP%_fadeIn .16s ease}.csheet__panel[_ngcontent-%COMP%]{width:100%;max-width:460px;background:var(--surface-2, #1a1a2e);border-radius:18px 18px 0 0;padding:8px 10px calc(14px + env(safe-area-inset-bottom));box-shadow:0 -20px 60px #00000080;animation:_ngcontent-%COMP%_csheetUp .2s ease}@keyframes _ngcontent-%COMP%_csheetUp{0%{transform:translateY(20px);opacity:0}}.csheet__grip[_ngcontent-%COMP%]{width:40px;height:4px;border-radius:2px;background:#ffffff38;margin:6px auto 10px}.csheet__title[_ngcontent-%COMP%]{margin:4px 12px 8px;color:var(--ink-muted);font-size:13px;font-weight:600}.csheet__item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:14px;width:100%;padding:13px 14px;border:0;border-radius:12px;background:none;color:var(--ink);font-size:15px;text-align:left;cursor:pointer}.csheet__item[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:17px;color:var(--ink-soft);width:18px}.csheet__item[_ngcontent-%COMP%]:hover{background:#ffffff0f}.csheet__item--danger[_ngcontent-%COMP%], .csheet__item--danger[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{color:#ff5a5a}.comments__empty[_ngcontent-%COMP%]{color:var(--ink-muted);font-size:13px;margin:8px 0}.comments__signin[_ngcontent-%COMP%]{width:100%;margin-top:14px;padding:13px 16px;display:flex;align-items:center;justify-content:center;gap:9px;background:var(--surface-2);border:1px dashed var(--border);border-radius:999px;color:var(--ink-soft);font-size:13.5px;font-weight:600}.comments__signin[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:13px}.comments__signin[_ngcontent-%COMP%]:hover{border-color:var(--accent);color:var(--ink)}.comments__compose[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-top:14px;padding:6px 6px 6px 14px;background:var(--surface-2);border:1px solid var(--border);border-radius:999px}.comments__compose[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1;background:none;border:none;outline:none;color:var(--ink);font-size:14px}.comments__compose[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:var(--ink-muted)}.comments__compose[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:36px;height:36px;border-radius:50%;background:var(--accent);border:none;color:#fff;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:background .18s,opacity .18s}.comments__compose[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:var(--accent-bright)}.comments__compose[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{opacity:.45;cursor:default}.comments__compose[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:15px}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}}@media (max-width: 1180px){.panel[_ngcontent-%COMP%]{display:none}}@media (max-width: 820px){[_nghost-%COMP%]{--bottombar: 60px}}@media (max-width: 720px){.feed__item[_ngcontent-%COMP%]{gap:8px;padding:8px}.actions__ic[_ngcontent-%COMP%]{width:42px;height:42px}.actions__ic[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:19px}}.player__gallery[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.player__photo-bg[_ngcontent-%COMP%]{position:absolute;inset:0;background-size:cover;background-position:center;filter:blur(44px) brightness(.45);transform:scale(1.15)}.gal__track[_ngcontent-%COMP%]{position:absolute;inset:0;display:flex;align-items:center;will-change:transform;transition:transform .34s cubic-bezier(.22,.61,.36,1)}.gal__track.is-still[_ngcontent-%COMP%]{transition:none}.gal__slide[_ngcontent-%COMP%]{flex:0 0 100%;width:100%;height:100%;display:flex;align-items:center;justify-content:center;touch-action:pan-y;-webkit-user-select:none;user-select:none}.player__photo-box[_ngcontent-%COMP%]{position:relative;max-width:100%;max-height:100%;height:100%}.player__photo[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block}.photo-pin[_ngcontent-%COMP%]{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:3}.photo-pin__halo[_ngcontent-%COMP%]{position:absolute;width:34px;height:34px;border-radius:50%;background:var(--accent, #2f8eef);animation:_ngcontent-%COMP%_pinPulse 2.4s ease-out infinite}.photo-pin__dot[_ngcontent-%COMP%]{position:relative;width:20px;height:20px;border-radius:50%;background:#fff;border:2.5px solid var(--accent, #2f8eef);display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px #0006}.photo-pin__dot[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:10px;color:var(--accent, #2f8eef)}@keyframes _ngcontent-%COMP%_pinPulse{0%{transform:scale(.6);opacity:.5}to{transform:scale(1.9);opacity:0}
9}.player__dots[_ngcontent-%COMP%]{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:6px;z-index:3}.player__dots[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:6px;height:6px;border-radius:3px;background:#ffffff80;box-shadow:0 1px 2px #00000059;cursor:pointer;transition:all .22s ease}.player__dots[_ngcontent-%COMP%] span.active[_ngcontent-%COMP%]{background:var(--accent, #2f8eef);width:16px}.player__owner[_ngcontent-%COMP%]{position:absolute;top:56px;right:14px;z-index:5;width:32px;height:32px;border:0;border-radius:50%;background:#00000080;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}.player__owner[_ngcontent-%COMP%]:hover{background:#000000b3}.player__nav[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;background:#0000006b;backdrop-filter:blur(6px);color:#fff;opacity:0;transition:opacity .18s}.player__nav[_ngcontent-%COMP%] .pi[_ngcontent-%COMP%]{font-size:15px}.player__nav--prev[_ngcontent-%COMP%]{left:10px}.player__nav--next[_ngcontent-%COMP%]{right:10px}.player[_ngcontent-%COMP%]:hover .player__nav[_ngcontent-%COMP%]{opacity:1}@media (hover: none){.player__nav[_ngcontent-%COMP%]{opacity:.85}}.player__counter[_ngcontent-%COMP%]{position:absolute;top:12px;right:12px;z-index:3;padding:4px 10px;border-radius:12px;background:#0009;color:#fff;font-size:12px;font-weight:600}.pin-sheet[_ngcontent-%COMP%]{position:fixed;inset:0;background:#00000080;z-index:1000;display:flex;align-items:flex-end;justify-content:center}.pin-sheet__card[_ngcontent-%COMP%]{position:relative;width:100%;max-width:520px;background:var(--surface-2, #1a1a2e);border-radius:16px 16px 0 0;padding:18px 18px 28px;display:flex;gap:14px;border-top:1px solid var(--border, rgba(255, 255, 255, .1))}.pin-sheet__img[_ngcontent-%COMP%]{flex:0 0 auto;width:84px;height:84px;border-radius:12px;background-color:#ffffff0f;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center}.pin-sheet__img[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:var(--ink-muted, rgba(255, 255, 255, .45));font-size:24px}.pin-sheet__info[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;gap:8px}.pin-sheet__title[_ngcontent-%COMP%]{color:var(--ink, #fff);font-weight:600;font-size:15px}.pin-sheet__price[_ngcontent-%COMP%]{color:var(--accent, #2f8eef);font-weight:700;font-size:18px}.pin-sheet__cta[_ngcontent-%COMP%]{align-self:flex-start;margin-top:4px;background:var(--accent, #2f8eef);color:#fff;border:0;border-radius:10px;padding:10px 18px;font-weight:600;cursor:pointer}.pin-sheet__close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;background:transparent;border:0;color:var(--ink-muted, rgba(255, 255, 255, .45));cursor:pointer}.owner-modal[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1100;background:#0000008c;display:flex;align-items:center;justify-content:center;padding:16px}.owner-modal__card[_ngcontent-%COMP%]{width:100%;max-width:440px;background:var(--surface-2, #1a1a2e);border:1px solid var(--border, rgba(255, 255, 255, .1));border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px}.owner-modal__title[_ngcontent-%COMP%]{color:var(--ink, #fff);font-size:17px;font-weight:700;margin-bottom:6px}.owner-modal__label[_ngcontent-%COMP%]{color:var(--ink-soft, rgba(255, 255, 255, .66));font-size:12px;margin-top:8px}.owner-modal__textarea[_ngcontent-%COMP%], .owner-modal__select[_ngcontent-%COMP%]{width:100%;background:#ffffff0f;border:1px solid var(--border, rgba(255, 255, 255, .1));border-radius:10px;color:#fff;padding:10px 12px;font-size:14px;resize:vertical}.owner-modal__textarea[_ngcontent-%COMP%]:focus, .owner-modal__select[_ngcontent-%COMP%]:focus{outline:none;border-color:var(--accent, #2f8eef)}.owner-modal__select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{background:#1a1a2e}.owner-modal__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-top:16px}.owner-modal__spacer[_ngcontent-%COMP%]{flex:1 1 auto}
9.owner-modal__delete[_ngcontent-%COMP%]{background:transparent;border:1px solid rgba(239,83,80,.6);color:#ef5350;border-radius:10px;padding:9px 14px;font-weight:600;cursor:pointer}.owner-modal__delete--confirm[_ngcontent-%COMP%]{background:#ef5350;color:#fff;border-color:#ef5350}.owner-modal__cancel[_ngcontent-%COMP%]{background:transparent;border:0;color:var(--ink-soft, rgba(255, 255, 255, .66));padding:9px 12px;cursor:pointer}.owner-modal__save[_ngcontent-%COMP%]{background:var(--accent, #2f8eef);border:0;color:#fff;border-radius:10px;padding:9px 18px;font-weight:600;cursor:pointer}.owner-modal__save[_ngcontent-%COMP%]:disabled{opacity:.6;cursor:default}.lchat__name[_ngcontent-%COMP%]{cursor:pointer}.feed-row[_ngcontent-%COMP%]{display:flex;flex:1;min-height:0;width:100%}.lchat__emoji[_ngcontent-%COMP%], .lchat__cmd[_ngcontent-%COMP%]{position:absolute;right:108px;width:30px;height:30px;border:0;border-radius:50%;background:none;color:var(--ink-muted);font-size:15px;display:grid;place-items:center;cursor:pointer}.lchat__emoji[_ngcontent-%COMP%]:hover, .lchat__emoji.is-open[_ngcontent-%COMP%], .lchat__cmd[_ngcontent-%COMP%]:hover, .lchat__cmd.is-open[_ngcontent-%COMP%]{color:var(--ink);background:#ffffff14}.lchat__cmd[_ngcontent-%COMP%]{right:138px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:17px;font-weight:700;line-height:1}app-emoji-picker[_ngcontent-%COMP%]{display:block;margin-bottom:8px}.player__shared[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;max-width:100%;margin-bottom:6px;padding:4px 9px 4px 4px;border-radius:999px;background:#0000008c;backdrop-filter:blur(6px);color:#fff;font-size:.78rem;line-height:1.25}.player__shared-av[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:50%;object-fit:cover;flex:0 0 auto}']})};export{dt as ViewAppPreviewComponent};
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.