PageSourceSearch

https://edmwarriors.com/_nuxt/eylzXaxE.js

js edmwarriors.com collected 2026-10-04 07:46:10 UTC 17,741 bytes, 13 lines download raw bytes

1import{aK as L,b6 as M,aL as K,aO as T,aP as V,b5 as J,aZ as W,aN as C,bm as q}from"./DGfe1mPV.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"[email protected]"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9260d5fe-5aa8-4e53-b446-664b00600997",t._sentryDebugIdIdentifier="sentry-dbid-9260d5fe-5aa8-4e53-b446-664b00600997")}catch{}})();const G={id:9001,other_user:{id:501,username:"mockproducer",slug:"mockproducer",avatar:"1",role:"producer",last_seen_at:"2026-01-01T12:00:00.000000Z",producer:{artist_verified:!1,verified:!0}}},$={id:501,username:"mockproducer",slug:"mockproducer",avatar:"1",role:"producer",last_seen_at:"2026-01-01T12:00:00.000000Z",producer:{artist_verified:!1,verified:!0}},H=[{id:70001,user_id:501,type:"message",body:"Hi — this is mock data (production demo without API).",reactions:[]}],k={conversation:G,other_user:$,messages:H},U=["I can start tonight — I’ll send a rough bounce tomorrow.","Stems are uploading now; you’ll see the folder link in a minute.",["Quick update on the mix:","I printed two versions — vocal +1 dB in one, and slightly wider drums in the chorus on the other.","Check the low end on monitors first; it should feel tighter without losing weight."].join(`
2`),"Typical turnaround for this scope is 3–5 days.","I’ll export a radio edit plus the extended mix.",["Contract is signed on my side — moving ahead.","Next milestone covers arrangement polish + master prep; I’ll line up the schedule today."].join(`
3`),"I rolled off the low end a touch; check the new version.","MIDI pack goes with the next delivery — same project folder.",["Master is rendering — I’ll ping when it’s up.","If anything clips on your phone speakers, tell me before we print the final; easier to fix now."].join(`
4`),"Invoice is in the thread — shout if anything looks off.",["Weekend rush is available with a small fee — still want it?","If yes, I’ll need stems + refs locked by Friday noon so I can still hit Sunday night."].join(`
5`),"I’ll mark this milestone complete once you approve the bounce.","Say the word if you need a second revision pass.",["Here’s the groove match you asked for — closest reference I could nail.","I matched kick/snare pocket and the off-beat hats; the bass line is simplified to leave room for your vocal.","Shout if you want it closer to ref A or B."].join(`
6`),"I can add an 8-bar intro in the same key.","Licensed vocal take is swapped in — replacing the ghost line.","I’ll keep everything in writing here as we go.","Payment received — thanks, I’ll continue with the next phase."],x=["Hey — thanks for getting back so fast.",["Thanks for the update.","Before the next bounce, can you confirm the key for the bridge? Our vocalist tracks tomorrow.","If easier, a short voice note here is fine."].join(`
7`),"Can you share a reference similar to this groove?","What’s your usual turnaround on a track like this?",["Love the vibe on the demo.","Two small notes: can we push the clap slightly later in the bar, and tame the hi-hat around 1:20?","Nothing urgent — just so we don’t paint ourselves into a corner later."].join(`
8`),"Love the vibe on the demo you sent.","Could we try a slightly faster BPM on the drop?","I’ll review the mix tonight and come back with notes.",["Any chance for a small revision on the second half?","We’re aligned on the hook; it’s mostly transitions and the outro fade."].join(`
9`),"Sounds good — happy to sign whenever you send the contract.","I’ll check the files on my phone later today.","Any update on the ghost vocal replacement?","This is exactly the energy we were looking for.",["I’ll follow up after the weekend on budget.","If you need a deposit structure for the next phase, send what you usually use and I’ll run it past finance."].join(`
10`),"Send the invoice when you’re ready on your side.",["Quick question about the key change in the bridge.","Is it a full semitone or more of a borrowed chord feel? I’ll brief the singer with the exact wording."].join(`
11`),"All good on my side for now — thanks!","I’ll loop my manager in here if that’s OK.","Can we add a short intro before the first verse?","Does the delivery date we discussed still work?",["I’ll drop the refs in this thread in a sec.","Folder has two references + a rough vocal take — please ignore the noisy room."].join(`
12`),"Nice — the arrangement already feels tighter.","Let me know if you need anything else from my end.",["Perfect — let’s lock the milestone you proposed.","Timeline works on our side as long as we get the instrumental lock by next Wednesday."].join(`
13`),"Appreciate the transparency on pricing.","I shared the folder link above — tell me if it opens.","Noted — I’ll wait for the next bounce."],D=[...x,...U],g=9001,b=120;let p=8e5;const u=new Map,y=new Map;function w(t){return JSON.parse(JSON.stringify(t))}function v(){document.dispatchEvent(new CustomEvent("mw-messages-mock-updated"))}const z=Object.freeze(["❤️","👍","😂","😮","😢","🙏"]);function Z(t,e,n){if(!t||!Array.isArray(t.messages))return t;const r=Number(e),s=t.messages.findIndex(a=>Number(a.id)===r);if(s<0)return t;const o=t.messages.slice();return o[s]=n,{...t,messages:o}}function Y(){try{const t=L();return(t.public?.MESSAGES_MOCK===!0||t.public?.MESSAGES_MOCK==="true")&&!t.public?.PRODUCTION}catch{return!1}}function E(t){return 2+(Math.abs(Number(t))||1)%49}function I(){try{const t=M().userData?.id;return typeof t=="number"?t:888888}catch{return 888888}}function Q(t){return t%2===0?"primary":"requests"}function X(t,e){const n=Math.max(0,Number(e)||0),s=E(t)-n-1;return s<0?null:Number(t)*1e4+s+1}function f(){if(u.size>=b)return;const t=Date.now();for(let e=0;e<b;e++){const n=g+e;if(!u.has(n)){const r=e%5===0?1+e%4:0;u.set(n,{unread_count:r,last_read_message_id:X(n,r),bucket:Q(e),last_preview:null,activityAt:t-e*6e4,pinned_at:null})}}}function ee(t){return!t||typeof t!="string"?"":t.length>90?`${t.slice(0,87)}…`:t}function A(t,e){f();const n=u.get(e),r=n?.last_preview??D[t%D.length],s=n?.pinned_at,o=s?new Date(s).toISOString():null;return{id:e,other_user:{id:50001+t,username:`dm_partner_${String(t+1).padStart(3,"0")}`,slug:`dm-partner-${e}`,avatar:"1",role:"producer",last_seen_at:new Date().toISOString(),producer:{artist_verified:t%5===0,verified:!0}},unread_count:n?.unread_count??0,last_message:{preview:ee(r)},pinned_at:o,is_pinned:!!o,_bucket:n?.bucket??"primary",_activityAt:n?.activityAt??0,_pinnedSort:o?new Date(o).getTime():0}}function te(t,e){const n=String(e||"primary").toLowerCase();return n==="all"?t.slice():n==="primary"?t.filter(r=>r._bucket==="primary"):n==="requests"?t.filter(r=>r._bucket==="requests"):t.slice()}function ne(t){const{_bucket:e,_activityAt:n,_pinnedSort:r,...s}=t;return s}function B(){f();let t=0,e=0,n=0;for(const[,r]of u){const s=Number(r.unread_count)||0;n+=s,r.bucket==="primary"?t+=s:r.bucket==="requests"&&(e+=s)}return{primary:t,requests:e,all:n}}function re(t,e=null){f();const n=Number(t),r=u.get(n);if(!r)return;const s=n-g,a=(s>=0&&s<b?A(s,n):null)?.other_user?.id,c=I(),i=F(n,a,c),d=y.get(n)||[],l=[...i,...d].sort((_,S)=>Number(_.id)-Number(S.id)),m=Number(e||l[l.length-1]?.id||r.last_read_message_id||0);let h=0;Number.isFinite(m)&&m>0&&(h=l.filter(_=>Number(_.id)>m&&Number(_.user_id)!==Number(c)).length),u.set(n,{...r,unread_count:Math.max(0,h),last_read_message_id:Number.isFinite(m)&&m>0?m:r.last_read_message_id}),v()}function se(t,e){f();const n=Number(t),r=y.get(n)?y.get(n).slice():[];r.push(e),y.set(n,r)}function oe(t,e){f();const n=Number(t),r=u.get(n);if(!r)return;const s=typeof e=="string"?e:String(e??"");u.set(n,{...r,last_preview:s,activityAt:Date.now()}),v()}function ie(t){f();const e=Number(t),n=u.get(e);n&&(u.set(e,{...n,bucket:"requests"}),v())}function ae(t){f();const e=Number(t),n=u.get(e);if(!n)return{ok:!1};const r=new Date().toISOString();return u.set(e,{...n,pinned_at:r}),v(),{ok:!0,pinned_at:r}}function ce(t){f();const e=Number(t),n=u.get(e);return n?(u.set(e,{...n,pinned_at:null}),v(),{ok:!0}):{ok:!1}}function ue(t){f();const e=[];for(let s=0;s<b;s++){const o=g+s;e.push(A(s,o))}const n=te(e,t);return n.sort((s,o)=>{const a=Number(s._pinnedSort||0),c=Number(o._pinnedSort||0);return a!==c?c-a:(o._activityAt||0)-(s._activityAt||0)}),{conversations:n.map(ne),unread_tabs:B()}}function de(t,e){let n=Number(t),r=Number(e);try{M().userData?.role==="producer"&&(n=Number(e),r=Number(t))}catch{}return{sellerId:n,buyerId:r}}function le(t,e,n){const r=e==null||e===""?0:Number(e),s=Number.isFinite(r)&&r>0?r:0,o=Number(n);if(!Number.isFinite(o))return null;let a=null;
13for(const c of t||[]){if(Number(c.user_id)===o)continue;const i=Number(c.id);!Number.isFinite(i)||i<=s||(a===null||i<a)&&(a=i)}return a}function F(t,e,n){const r=E(t),s=Number(t),{sellerId:o,buyerId:a}=de(e,n),c=[];for(let i=0;i<r;i++){const d=i%2===1,l=d?o:a,m=Math.floor(i/2),h=d?U:x,_=h[(m+s)%h.length],S=i>0&&i%9===0?[{id:92e4+s*100+i,emoji:["👍","❤️","🙏"][i%3],user_id:d?a:o}]:[];c.push({id:s*1e4+i+1,user_id:l,type:"message",body:_,reactions:S})}return c}function me(t){f();const e=Number(t),n=e-g,r=n>=0&&n<b?A(n,e):null,s=r?.other_user?w(r.other_user):w(k.conversation.other_user),o=I(),a=F(e,s.id,o),c=y.get(e)||[],i=[...a,...c].sort((m,h)=>Number(m.id)-Number(h.id)),d=u.get(e),l=r?d?.last_read_message_id??null:null;return{conversation:{id:Number.isFinite(e)?e:k.conversation.id,other_user:s},participant:{unread_count:Number(r?.unread_count||0),last_read_message_id:l,first_unread_message_id:le(i,l,o),pinned_at:d?.pinned_at??null,is_pinned:!!d?.pinned_at},other_user:s,messages:i}}const O=["Ongoing","Completed","Cancelled"];function fe(t){const e=Math.abs(Number(t))||1,n=Math.min(e%21,6),r=[];for(let s=0;s<n;s++){const o=3e5+e%7e4*23+s*11,a=O[(e+s*2)%O.length],c=a==="Completed"||a==="Cancelled",i=!c&&(e+s*5)%3===0,d=c?0:88e3+e%400*50+s*17,l=c?a==="Cancelled"?"cancelled":"completed":"active";r.push({project_id:o,conversation_id:e,status:l,status_label:a,badge_label:c?a:["Demo delivery","In review","Receiving files","Rate service"][(e+s)%4],step:c?5:1+(e+s)%4,step_label:c?"Finished":"In progress",open_chat:!c,has_new_activity:i,unread:i,latest_inbox_id:d})}return{orders:r}}function he(){const t=[];for(let e=0;e<4;e++){const n=g+e,r=31e4+e*17;t.push({project_id:r,conversation_id:n,step:1+e%4,status:"active",status_label:"Ongoing",badge_label:["Demo delivery","In review","Receiving files","Rate service"][e%4],other_user:{id:1e3+e,username:["alex","mira","jon","sam"][e],slug:["alex","mira","jon","sam"][e]},step_updated_at:new Date(Date.now()-e*36e5).toISOString()})}return{projects:t}}function pe(t){const e=Number(t)||1,n=I(),r=new Date(Date.now()-864e5*3).toISOString(),s=new Date(Date.now()+864e5*11).toISOString(),o=[{id:e*10+1,type:"step",step:0,user_id:null,data:{},created_at:r},{id:e*10+2,type:"step",step:1,user_id:null,data:{},created_at:new Date(Date.now()-864e5*2.9).toISOString()},{id:e*10+3,type:"message",user_id:n+1,data:{message:"Hey — starting on the demo now."},created_at:new Date(Date.now()-36e5).toISOString()},{id:e*10+4,type:"message",user_id:n,data:{message:"Sounds good, looking forward to it."},created_at:new Date(Date.now()-18e5).toISOString()}];return{project:{id:e,buyer_id:n,seller_id:n+1,conversation_id:g,
13status:"active",step:1,open_chat:!0,revisions:0,created_at:r,endsOn:s,demoDeliveryTime:5,totalDeliveryTime:14,mainService:{name:"Ghost production",attribution:!0},addons:[{name:"Extra revision",attribution:!1}]},inbox:o,oppositeUser:{id:n+1,username:"producer",slug:"producer"}}}function _e(){return{unread_tabs:B()}}function ge(t){const e=Number(t)||999,n=w(k);n.conversation.id=9003,n.messages=[];const r={id:e,username:"newuser",slug:"newuser",avatar:"1",role:"producer",last_seen_at:new Date().toISOString(),producer:{artist_verified:!1,verified:!0}};return n.other_user=r,n.conversation.other_user=r,n.participant={unread_count:0,last_read_message_id:null,first_unread_message_id:null},n}function ye(t,e,n=null){p+=1;const r={id:p,user_id:e,type:"message",body:t,reactions:[]};if(n&&typeof n=="object"){const s=Number(n.track_id);Number.isFinite(s)&&s>0?r.metadata={track:{id:s,title:"Track",cover_url:"",path:"/"}}:n.track&&typeof n.track=="object"&&(r.metadata=n)}return r}function be(t,e,n){const r=w(t);let s=Number(n);(!Number.isFinite(s)||s<=0)&&(s=I());const o=Array.isArray(r.reactions)?r.reactions.map(i=>({...i})):[],a=o.findIndex(i=>Number(i.user_id)===s&&i.emoji===e),c=o.filter(i=>Number(i.user_id)!==s);return a>=0?o.splice(0,o.length,...c):(p+=1,o.splice(0,o.length,...c,{id:p,emoji:e,user_id:s})),r.reactions=o,r}function ve(t){const e=t&&t.type?String(t.type).toLowerCase():"";return e.startsWith("image/")?{type:"image",fileType:"dm_image"}:e.startsWith("video/")?{type:"video",fileType:"dm_video"}:e.startsWith("audio/")?{type:"audio",fileType:"dm_audio"}:{type:"image",fileType:"dm_image"}}function we(t,e){p+=1;const{type:n,fileType:r}=ve(t),s=n==="image"?{width:1200,height:900}:n==="video"?{width:1280,height:720}:{};return{id:p,user_id:e,type:n,file_name:t.name,reactions:[],files:[{id:p+9e5,file_type:r,file_name:t.name,metadata:s}]}}const Te=Object.freeze(Object.defineProperty({__proto__:null,REACTION_EMOJIS:z,applyMockReactionToMessage:be,createMockFileMessage:we,createMockTextMessage:ye,getMockActiveProjectsResponse:he,getMockConversationDetailResponse:me,getMockConversationsListResponse:ue,getMockOrdersResponse:fe,getMockPostConversationResponse:ge,getMockProjectDetailResponse:pe,getMockUnreadSummaryResponse:_e,isMessagesMockEnabled:Y,messageCountForConversationId:E,mockAppendThreadMessage:se,mockMarkConversationRead:re,mockMoveConversationToRequests:ie,mockPinConversation:ae,mockTouchConversationAfterSend:oe,mockUnpinConversation:ce,replaceMessageInDetail:Z},Symbol.toStringTag,{value:"Module"})),Ie={props:{user:{type:Object,default:null},presenceStatus:{type:String,default:null}},data(){return{random:"?"+Math.random(),authStore:M()}},computed:{userData(){return this.user||this.authStore.userData},showPresenceDot(){return this.presenceStatus==="online"}},watch:{"authStore.updateAvatar"(){this.setRandom()}},methods:{setRandom(){this.random="?"+Math.random()}}},Se={class:"navbar-avatar"},Ne=["src"];function ke(t,e,n,r,s,o){return C(),T("div",Se,[V("img",{src:t.$r2avatar(o.userData)+s.random,class:"navbar-avatar__img",alt:""},null,8,Ne),o.showPresenceDot?(C(),T("span",{key:0,class:J(["navbar-avatar-presence-dot",n.presenceStatus==="online"?"navbar-avatar-presence-dot--online":"navbar-avatar-presence-dot--offline"]),"aria-hidden":"true"},null,2)):W("",!0)])}const Ce=K(Ie,[["render",ke],["__scopeId","data-v-3563e14b"]]),De=q("dmPresence",{state:()=>({onlineByUserId:{}}),getters:{isUserOnline:t=>e=>{const n=Number(e);return!Number.isFinite(n)||n<=0?!1:!!t.onlineByUserId[n]}},actions:{resetFromHere(t){const e={};if(Array.isArray(t))for(const n of t){const r=Number(n?.id);Number.isFinite(r)&&r>0&&(e[r]=!0)}this.onlineByUserId=e},userJoined(t){const e=Number(t?.id);!Number.isFinite(e)||e<=0||(this.onlineByUserId={...this.onlineByUserId,[e]:!0})},userLeft(t){const e=Number(t?.id);if(!Number.isFinite(e)||e<=0)return;const{[e]:n,...r}=this.onlineByUserId;this.onlineByUserId=r},hydrateFromSnapshot(t){if(!t||typeof t!="object")return;const e={...this.onlineByUserId};for(const[n,r]of Object.entries(t)){const s=Number(n);!Number.isFinite(s)||s<=0||(r?e[s]=!0:delete e[s])}this.onlineByUserId=e},setOnline(t,e){const n=Number(t);if(!(!Number.isFinite(n)||n<=0))if(e)this.onlineByUserId={...this.onlineByUserId,[n]:!0};else{const{[n]:r,...s}=this.onlineByUserId;this.onlineByUserId=s}},clear(){this.onlineByUserId={}}}}),Me={NAV_UNREAD_USE_TICK:!0},Oe="mw-dm-unread-tabs",Re=3e4,je=6e4,Ue=5e3,xe=2e4,Be=3e3,Fe=45e3,Pe=5e3;function Le(){return Me.NAV_UNREAD_USE_TICK===!0}function Ee(t,e=0){const n=Number(t)||0,r=Number(e)||0,s=r>0?(Math.random()*2-1)*r:0;return Math.max(0,Math.round(n+s))}function Ke(t,e,n=0){let r=null,s=!1;const o=()=>
13{if(s)return;const a=typeof e=="function"?e():e;r=setTimeout(async()=>{if(!s){try{await t()}catch{}o()}},Ee(a,n))};return o(),{stop(){s=!0,r&&(clearTimeout(r),r=null)}}}const R="mw-presence-session-id";function j(){try{if(typeof crypto<"u"&&typeof crypto.randomUUID=="function")return crypto.randomUUID().replace(/-/g,"").slice(0,32)}catch{}return(Math.random().toString(36).slice(2,12)+Math.random().toString(36).slice(2,12)+Date.now().toString(36)).slice(0,32)}function N(){if(typeof window>"u")return"";try{let t=window.sessionStorage.getItem(R);return(!t||!/^[A-Za-z0-9_-]{8,64}$/.test(t))&&(t=j(),window.sessionStorage.setItem(R,t)),t}catch{return N._fallback||(N._fallback=j()),N._fallback}}function P(t,e){return`${String(t||"").replace(/\/+$/,"")}/${e}`}async function Ve(t,e,n,r){if(!e||!t)return{status:0,data:null};const s=await fetch(P(t,n),{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${e}`},body:JSON.stringify(r||{})});let o=null;try{o=await s.json()}catch{}return{status:s.status,data:o}}function Je(t,e,n,r){try{if(!e||!t)return;fetch(P(t,n),{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${e}`},body:JSON.stringify(r||{})}).catch(()=>{})}catch{}}export{Le as A,_e as B,Ue as C,Te as D,Oe as M,Ce as N,z as R,Be as V,oe as a,xe as b,we as c,ie as d,ce as e,ae as f,N as g,be as h,Y as i,ye as j,re as k,me as l,se as m,ge as n,fe as o,Je as p,he as q,Z as r,Ke as s,ue as t,De as u,Ve as v,je as w,Re as x,Pe as y,Fe as z};

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.