PageSourceSearch

https://worbler.ai/_next/static/chunks/5207-66dbf39c5094210b.js

js worbler.ai collected 2026-10-04 13:48:16 UTC 22,217 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5207],{13394:function(t,n,e){e.d(n,{Z:function(){return i}});var o=e(6700);function i(t){let n,e,i,r;if(!t)return{};if(t.jobsApplied){let o=t.jobsApplied.length;for(;o--;){let r=t.jobsApplied[o];if("box"===r.type){e=r.thumbnail,i=[r.url];break}if("lipsync"===r.type){n=r.videoDuration,i=[r.url];break}}}let u=(0,o.yb)("video",t);return u&&(n||(n=u.duration),e||(e=u.image,r=u.thumbnailGrid),i||(i=u.sources)),{duration:n,poster:e,sources:i,thumbnailGrid:r}}},95804:function(t,n,e){e.d(n,{Z:function(){return l}});var o=e(57437),i=e(36760),r=e.n(i),u=e(2265),a=e(18406);function l(t){let{buttonRef:n,children:e,className:i,disabled:l,enableIfJsDisabled:s,submitting:c,submittingClassName:d,...f}=t,[p,y]=(0,u.useState)(!s&&l);return(0,u.useEffect)(()=>{y(l)},[l]),(0,o.jsx)("button",{ref:n,className:r()("btn",i),"data-submitting":c,disabled:p||c,...f,children:c?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:r()("invisible",d),children:e}),(0,o.jsx)(a.Z,{className:"absolute scale-[0.4]"})]}):e})}},18406:function(t,n,e){e.d(n,{Z:function(){return s}});var o=e(57437),i=e(36760),r=e.n(i),u=e(2265);function a(t){let{className:n,estimatedTime:e,fillClassName:i,progress:a,quadrant:s}=t,[c,d]=(0,u.useState)(a?l(a,s):0);return(0,u.useEffect)(()=>{"number"==typeof a&&d(l(a,s))},[a]),(0,u.useEffect)(()=>{requestAnimationFrame(()=>{"number"==typeof e&&d(1)})},[e]),(0,o.jsx)("div",{className:r()("loading-bar relative h-8 w-1 rounded-2xl bg-background-layer-2",n),children:(0,o.jsx)("div",{className:r()("absolute inset-0 rounded-2xl transition-opacity duration-500",i),style:{..."number"==typeof e&&{transitionDuration:"".concat(e/4,"s"),transitionDelay:"".concat(e/4*(s-1),"s")},opacity:c}})})}function l(t,n){return Math.max(0,Math.min(.25,t-(n-1)*.25)/.25)}function s(t){let{className:n,estimatedTime:e,progress:i}=t;return null==i&&null==e&&(i=1),(0,o.jsxs)("div",{className:r()("loading-icon flex h-12 flex-row items-center gap-1",n),children:[(0,o.jsx)(a,{className:"animate-progress -animation-delay-300",estimatedTime:e,fillClassName:"bg-voice",progress:i,quadrant:1}),(0,o.jsx)(a,{className:"animate-progress -animation-delay-500",estimatedTime:e,fillClassName:"bg-sound",progress:i,quadrant:2}),(0,o.jsx)(a,{className:"animate-progress",estimatedTime:e,fillClassName:"bg-primary",progress:i,quadrant:3}),(0,o.jsx)(a,{className:"animate-progress -animation-delay-1000",estimatedTime:e,fillClassName:"bg-filter",progress:i,quadrant:4})]})}},20138:function(t,n,e){e.d(n,{Z:function(){return u}});var o=e(57437),i=e(36760),r=e.n(i);function u(t){let{className:n}=t;return(0,o.jsxs)("svg",{className:r()("icon",n),height:"32",viewBox:"0 0 32 32",width:"32",children:[(0,o.jsx)("path",{d:"M24.2929 6.29289L6.29289 24.2929C6.10536 24.4804 6 24.7348 6 25C6 25.2652 6.10536 25.5196 6.29289 25.7071C6.48043 25.8946 6.73478 26 7 26C7.26522 26 7.51957 25.8946 7.70711 25.7071L25.7071 7.70711C25.8946 7.51957 26 7.26522 26 7C26 6.73478 25.8946 6.48043 25.7071 6.29289C25.5196 6.10536 25.2652 6 25 6C24.7348 6 24.4804 6.10536 24.2929 6.29289Z"}),(0,o.jsx)("path",{d:"M7.70711 6.29289C7.51957 6.10536 7.26522 6 7 6C6.73478 6 6.48043 6.10536 6.29289 6.29289C6.10536 6.48043 6 6.73478 6 7C6 7.26522 6.10536 7.51957 6.29289 7.70711L24.2929 25.7071C24.4804 25.8946 24.7348 26 25 26C25.2652 26 25.5196 25.8946 25.7071 25.7071C25.8946 25.5196 26 25.2652 26 25C26 24.7348 25.8946 24.4804 25.7071 24.2929L7.70711 6.29289Z"})]})}},10278:function(t,n,e){e.d(n,{XV:function(){return h},CP:function(){return d},fH:function(){return y},Zj:function(){return a},QF:function(){return c},vo:function(){return l},WY:function(){return f},w7:function(){return s},w6:function(){return m}});var o=e(50967),i=e.n(o),r=e(80214),u=e(7147);async function a(){return fetch("/filters.json").then(t=>t.json())}async function l(){return fetch("/sounds.json").then(t=>t.json())}async function s(){return fetch("/voices.json").then(t=>t.json())}async function c(){return fetch("/songs.json").then(t=>t.json())}async function d(){return fetch("/categories.json").then(t=>t.json())}let f=i()(async function(){return fetch("/videos.json").then(t=>t.json())}),p=i()(async function(t){return(await s()).find(n=>n.label===t)}
1),y=i()(async function(){return await p("Olivia")});async function h(t){return t.startsWith("filter")?(await a()).find(n=>n.id===t):t.startsWith("sound")?(await l()).find(n=>n.id===t):t.startsWith("voice")?(await s()).find(n=>n.id===t):void 0}let v=/[^0-9a-zA-Z]/g;function m(t,n,e){let o=e.tokens.flatMap(t=>t.options.filter(t=>"voice"===t.type));n=n.filter(t=>!o.find(n=>n.id===t.id)),(!e.tokens.length||e.tokens.some(t=>!(0,u.dd)(t)))&&(n=n.filter(t=>!t.vcOnly));let i=[],a=n.length,l=(function(t){if(!t)throw Error("Empty string not supported");return(0,r.Z)(t,r.Z.URL)})(e.id).replace(v,""),s=[],c=1,d=l.split("").reduce((t,n)=>n.charCodeAt(0)+t,0);for(;s.length<t&&c<3*a;){let t=d**c++%a;s.includes(t)||s.push(t)}for(let t of s)i.push(n[t]);return i}},10601:function(t,n,e){function o(t,n){let e=10**n;return Math.floor(t*e)/e}function i(t,n){let e=10**n;return Math.round(t*e)/e}e.d(n,{j:function(){return i},v:function(){return o}})},4374:function(t,n,e){e.d(n,{Z:function(){return o}});function o(t,n,e){return fetch(t,{credentials:"include",...n,headers:{Accept:"application/json","Cache-Control":"no-cache",...null==n?void 0:n.headers}}).then(async n=>{if(401===n.status)throw window.location.href="/api/auth/logout",Error("Unauthorized");if(n.ok||e&&404===n.status)return 204===n.status&&await n.text(),n;let o=n.statusText;try{o=await n.text()}catch(t){}throw console.log(n.status,t),Error(o)})}},28807:function(t,n,e){e.d(n,{T:function(){return r},u:function(){return i}});var o=e(6700);function i(t){let n;if(t){if("resolution"in t&&(n=t.resolution),!n){var e;let o=null===(e=t.jobsApplied)||void 0===e?void 0:e.find(t=>"box"===t.type||"lipsync"===t.type);n=null==o?void 0:o.resolution}if(!n){if("video"===t.type){let e=(0,o.yb)("video",t);n=null==e?void 0:e.resolution}else if("image"===t.type){let e=(0,o.yb)("image",t);n=null==e?void 0:e.resolution}}return n}}function r(t){let n=i(t);if(n)return n.width>n.height?"landscape":"portrait"}},49642:function(t,n,e){e.d(n,{GB:function(){return f},KN:function(){return l},UU:function(){return r},fU:function(){return s},lm:function(){return u},rD:function(){return a},tH:function(){return p},vo:function(){return d},xU:function(){return c}});var o=e(81350),i=e(4374);async function r(t){return(0,i.Z)("/api/job/user-cancel",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jobId:t})})}function u(t,n){let e="wss://worbler.ai/jobs";if(!e)throw Error("Socket URL is not set");let i=new WebSocket(e);function r(){var n;n={type:"poll",jobId:t},i.readyState===WebSocket.OPEN&&i.send(JSON.stringify(n))}i.addEventListener("error",()=>{n("Error connecting to server"),i.close()}),i.addEventListener("open",r),i.addEventListener("close",n=>{console.log("Socket for ".concat(t," job closed with code: ").concat(n.code))}),i.addEventListener("message",t=>{let e=JSON.parse(t.data.toString());"job"===e.type?(n(void 0,e),e.state===o.Z.pending||e.state===o.Z.running?setTimeout(r,1e3):i.close(1e3,e.state)):"error"===e.type&&(n(e.error),i.close())})}function a(t){return(null==t?void 0:t.filter(t=>"download"===t.type||"transcode"===t.type))||[]}function l(t){return a(t).length>0}function s(t){return!!(null==t?void 0:t.some(t=>"hifitts"===t.type))}function c(t,n){var e;return null!==(e=t.jobs)&&void 0!==e||(t.jobs=[]),t.jobs=t.jobs.filter(t=>t.type!==n.type),t.jobs.push(n),t}function d(t,n){var e;return null!==(e=t.jobsApplied)&&void 0!==e||(t.jobsApplied=[]),t.jobsApplied.push(n),t}function f(t,n){return t.jobs&&(t.jobs=t.jobs.filter(t=>t.id!==n)),t}function p(t,n){var e;return null!==(e=t.jobsQueued)&&void 0!==e||(t.jobsQueued=[]),t.jobsQueued=t.jobsQueued.filter(t=>t.type!==n.type),t.jobsQueued.push(n),t}},14082:function(t,n,e){e.d(n,{Z:function(){return o}});function o(t){t.stopPropagation(),t.preventDefault()}},59301:function(t,n,e){e.d(n,{Ev:function(){return s},MC:function(){return f},V0:function(){return c},Wv:function(){return a},Xr:function(){return d},go:function(){return u},uh:function(){return l}});var o=e(10601),i=e(63219),r=e(6700);function u(t){return!!t&&t.tokens.some(t=>"video"===t.type||"image"===t.type)}function a(t){var n;return"string"==typeof(null==t?void 0:null===(n=t.sources)||void 0===n?void 0:n[0])}function l(t){return!t.type&&"string"==typeof t.source}function s(t){if(!t)return;let n=(0,r.q3)("video",t.tokens);return(0,r.yb)("video",n)}function c(t){let{trimTokenId:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.filter(t=>"video"===t.type||"image"===t.type).reduce((t,e)=>t+(0,i.Z)(e,{addTrim:e.id===n}),0)}function d(t,n){if(t&&n)return{start:(0,o.v)(t.in,3),end:(0,o.v)(n-t.out,3)}}function f(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"portrait",e=t.sources;if(!e){let n=(0,r.yb)("image",t);e=null==n?void 0:n.sources}if(e)return e.find(t=>"portrait"===n?t.resolution.height>t.resolution.width:t.resolution.width>t.resolution.height)}},35073:function(t,n,e){e.d(n,{Z:function(){return o}});function o(t){return Math.floor(Math.random()*t)}},76828:function(t,n,e){e.d(n,{$H:function(){return v},eH:function(){return j},j7:function(){return h},CB:function(){return m},Eu:function(){return p},by:function(){return Z},rd:function(){return k},mT:function(){return g},_w:function(){return b},Ix:function(){return y}});var o=e(59128),i=e.n(o),r=e(10278),u=e(4374);async function a(t,n){let{isVideo:e}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(await (0,u.Z)("/api/convert-voice/v2",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({[e?"video":"audio"]:t,voice:n})})).json()}async function l(t,n){return(await (0,u.Z)("/api/songify",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({url:t,song:n})}
1)).json()}var s=e(49642),c=e(70291),d=e(6700),f=e(7147);function p(t){switch(t.type){case"audio":return function(t){if("audio"!==t.type)return t;let n=i()(t),e=(0,d.yb)("sound",n);return e?(n.jobsApplied=[],n.options=[e],n):t}(t);case"text":return function(t){if("text"!==t.type)return t;let n=i()(t);return n.jobsApplied=[],n}(t);case"video":return function(t){var n;if("video"!==t.type)return t;let e=i()(t),o=(0,d.yb)("video",e),r=(0,d.yb)("sound",e);return o?(e.jobsApplied=null===(n=e.jobsApplied)||void 0===n?void 0:n.filter(t=>"box"===t.type),e.options=[o],r&&e.options.push(r),e):t}(t);default:return t}}function y(t,n){if("voice"!==t.type)return n;if("text"===n.type){let e=i()(n);return e.options=[t].concat(e.options.filter(t=>"voice"!==t.type)),e}if((0,f.dd)(n)){let e=p(n);return e.options=e.options.concat(t),e}return n}function h(t,n){return n.options.filter(n=>"filter"===n.type&&n.id!==t.id).length<4}function v(t,n){if("filter"!==t.type||"text"!==n.type||!h(t,n))return n;let e=i()(n),o=e.options.findIndex(n=>n.id===t.id);return -1===o?e.options.push(t):e.options.splice(o,1),e}function m(t,n){if("text"!==n.type)return;let e=i()(n);return e.options=e.options.filter(t=>"filter"!==t.type).concat(t),e}function b(t,n){if("sound"!==t.type||"audio"!==n.type)return;let e=i()(n);return e.options=[t],e}function g(t,n){if("song"!==t.type||"audio"!==n.type&&!(0,f.dd)(n))return;let e=p(n);return e.options=e.options.concat(t),e}function j(t,n){if(t.lane)return t.lane;if("image"===t.type||"video"===t.type)return 4;let e={lane:0,duration:1/0};for(let t of[0,1,2,3]){let o=n.filter(n=>n.lane===t&&("text"!==n.type||!!n.content)).reduce((t,n)=>t+(n.duration||1),0);o<e.duration&&(e.lane=t,e.duration=o)}return e.lane}async function w(t,n){if("voice"!==t.type||"audio"!==n.type&&"video"!==n.type)return[];let e=y(t,n);if(!e)return[];let o=t.modifiers[0].value,i=e.options.find(f.j5);if(!i)return[];let r=await a(i.modifiers[0].value,o);return r?r.cached?((0,s.vo)(e,{type:"hifivc",url:r.url}),[e]):((0,s.xU)(e,r.job),[e,r.job]):[e]}async function x(t,n){if("song"!==t.type||"audio"!==n.type&&!(0,f.dd)(n))return[];let e=g(t,n);if(!e)return[];let o=e.options.find(f.j5)||(0,d.yb)("sound",e);if(!o)return[];let i=await l(o.modifiers[0].value,t.modifiers[0].value);return i.cached?((0,s.vo)(e,{type:"filter",url:i.url}),[e]):((0,s.xU)(e,i.job),[e,i.job])}async function k(t,n){if("text"===n.type){if("voice"===t.type)return[y(t,n)];if("filter"===t.type)return[v(t,n)]}else if("audio"===n.type&&"sound"===t.type)return[b(t,n)];else if(C(t)&&("audio"===n.type||"video"===n.type)&&(0,f.dd)(n))return w(t,n);else if("song"===t.type&&("audio"===n.type||(0,f.dd)(n)))return x(t,n);return[]}function C(t){return(null==t?void 0:t.type)==="voice"}function T(t){return(null==t?void 0:t.type)==="filter"}function A(t){return(null==t?void 0:t.type)==="sound"}async function Z(t,n){let e=await Promise.all(n.map(r.XV)),o=e.find(C),i=e.filter(T),u=e.filter(A);return[...t.map(t=>("text"===t.type&&(o&&(t=y(o,t)),t=i.reduce((t,n)=>v(n,t),t)),t)),...u.map(t=>(0,c.V3)({options:[t],type:"audio"}))]}},70291:function(t,n,e){e.d(n,{aV:function(){return T},yb:function(){return N},ti:function(){return C},u3:function(){return k},vQ:function(){return Z},Cw:function(){return g},vC:function(){return j},sm:function(){return A},V3:function(){return m},NU:function(){return w},Te:function(){return b},tY:function(){return x}});var o=e(21652),i=e.n(o),r=e(1392),u=JSON.parse('["You must never be defeated, no matter how many defeats you encounter.","The doubts you have today are the only limits you put on success tomorrow.","A smile cures the wounding of a frown.","He draweth out the thread of his verbosity finer than the staple of his argument.","Four rules for life. Show up. Pay attention. Tell the truth. Don\'t be attached to the results.","Your imagination is your preview of life\'s coming attractions","Reality is merely an illusion, although a very persistent one.","The greatest glory in living lies not in never falling, but in rising every time we fall.","Life is what happens when you\'re busy making other plans.","Always remember that you are absolutely unique. Just like everyone else.","Do not go where the path may lead, go instead where there is no path and leave a trail.","You miss 100% of the shots you don\'t take.","Whether you think you can or you think you can\'t, you\'re right.","How wonderful it is that nobody need wait a single moment before starting to improve the world.","Twenty years from now you will be more disappointed by the things that you didn\'t do than by the ones you did do. So, throw off the bowlines, sail away from safe harbor, cat
1ch the trade winds in your sails. Explore, Dream, Discover.","Help me, Obi-Wan Kenobi. You\'re my only hope.","Do. Or do not. There is no try.","You don\'t understand! I coulda had class. I coulda been a contender. I could\'ve been somebody, instead of a bum, which is what I am.","You know how to whistle, don\'t you, Steve? You just put your lips together and blow.","Mama always said life was like a box of chocolates. You never know what you\'re gonna get.","You\'ve got to ask yourself one question: \'Do I feel lucky?\' Well, do ya, punk?","One morning I shot an elephant in my pajamas. How he got in my pajamas, I don\'t know.","Time flies like an arrow; fruit flies like a banana.","It ain\'t about how hard you hit. It\'s about how hard you can get hit and keep moving forward."]'),a=e(10278),l=e(4374);async function s(t){let{projectId:n,resolution:e,videoUrl:o}=t;return(await (0,l.Z)("/api/video/box",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({projectId:n,resolution:e,videoUrl:o})})).json()}var c=e(28807),d=e(49642),f=e(59301),p=e(35073),y=e(76828),h=e(6700),v=e(7147);function m(t){let{options:n=[],type:e,...o}=t,i=(0,r.Z)();return{...o,id:i,options:n,type:e}}function b(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return m({content:u[(0,p.Z)(u.length-1)],options:t,type:"text"})}async function g(){let t=await (0,a.fH)();return b(t?[t]:[])}async function j(){let t=await (0,a.fH)();return m({content:"",options:t?[t]:[],type:"text"})}async function w(t){let n=[t];if("filter"===t.type){let e=await (0,a.fH)();e&&(n=[e,t])}return"sound"===t.type||"song"===t.type?m({options:n,type:"audio"}):"video"===t.type?m({options:n,type:"video"}):m({content:u[(0,p.Z)(u.length-1)],options:n,type:"text"})}function x(t){let n=(0,v.OW)(t,"audio"),e="string"==typeof t.transcript?t.transcript:void 0;return m({duration:t.audioDuration||t.duration,audio:t.audio,bgAudio:t.bgAudio,captions:t.captions,captionsUrl:t.captionsUrl,speech:t.speech,transcript:e,options:[{type:"video",id:(0,r.Z)(),label:t.label,image:t.poster,categories:[],modifiers:[],duration:t.duration,resolution:t.resolution,sources:t.sources,thumbnailGrid:t.thumbnailGrid},...n?[n]:[]],type:"video",videoId:t.id})}async function k(t,n,e){var o;let r;let u=x(t);u.startTime=null!==(o=null==e?void 0:e.startTime)&&void 0!==o?o:(0,f.V0)(n.tokens);let a=(0,f.Ev)(n),l=(0,h.yb)("video",u),p=[...n.tokens,u];if((null==a?void 0:a.resolution)&&(null==l?void 0:l.resolution)&&!i()(a.resolution,l.resolution)){let t=await s({projectId:n.id,resolution:a.resolution,videoUrl:l.sources[0]});t.cached?(0,d.vo)(u,{type:"box",resolution:t.resolution,thumbnail:t.thumbnail,url:t.url,videoDuration:l.duration}):((0,d.xU)(u,t.job),r=t.job)}let y=(0,c.T)(p.find(t=>"video"===t.type));return y&&p.forEach(t=>{if("image"===t.type){let n=(0,h.yb)("image",t);if(n){let e=(0,f.MC)(t,y);e&&(n.image=e.url,n.resolution=e.resolution)}}}),[p,r]}function C(t,n,e){let o={...t,lane:(0,y.eH)(t,n),startTime:e};return[[...n,o],o]}function T(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,o=(0,c.T)(n.tokens.find(t=>"video"===t.type)),i=(0,f.MC)(t,o);if(!i)throw Error("Sorry! We had trouble finding the right source for that image.");let r=m({type:"image",duration:e,options:[{type:"image",categories:[],id:t.id,image:i.url,label:t.label,modifiers:[],resolution:i.resolution,sources:t.sources}],startTime:(0,f.V0)(n.tokens)});return r.lane=(0,y.eH)(r,n.tokens),[...n.tokens,r]}function A(t){return{categories:[],id:t.id,image:t.image,label:t.label,modifiers:[{value:t.source}],soundId:t.id,type:"sound"}}function Z(t){return m({options:[A(t)],type:"audio"})}function N(t,n,e){return C(Z(t),e.tokens,n||0)}},63219:function(t,n,e){e.d(n,{Z:function(){return i}});var o=e(13394);function i(t,n){var e,i,r,u,a,l;let{addTrim:s}=n;if("video"===t.type)return function(t){var n,e,i,r;let{addTrim:u}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("video"!==t.type)return 0;let a=null!==(i=null===(n=t.trim)||void 0===n?void 0:n.in)&&void 0!==i?i:0,l=null!==(r=null===(e=t.trim)||void 0===e?void 0:e.out)&&void 0!==r?r:0,{duration:s}=(0,o.Z)(t);return s?u||(s=s-a-l):(s=t.duration||0,u&&(s+=a+l)),s}(t,{addTrim:s});let c=null!==(i=null!==(e=t.forceDuration)&&void 0!==e?e:t.duration)&&void 0!==i?i:0;return s&&(c+=(null!==(a=null===(r=t.trim)||void 0===r?void 0:r.in)&&void 0!==a?a:0)+(null!==(l=null===(u=t.trim)||void 0===u?void 0:u.out)&&void 0!==l?l:0)),c}},6700:function(t,n,e){e.d(n,{EO:function(){return l},Sr:function(){return u},ZJ:function(){return c},q3:function(){return r},t5:function(){return s},yb:function(){return a}});var o=e(10601),i=e(63219);function r(t,n,e){return n.find(n=>n.type===t&&("number"!=typeof e||n.lane===e))}function u(t,n){var e;let o=null!==(e=t.startTime)&&void 0!==e?e:0;return n.find(t=>{var n;let e=null!==(n=t.startTime)&&void 0!==n?n:0,r=e+(0,i.Z)(t,{addTrim:!1});return"video"===t.type&&o>=e&&o<r})}function a(t,n){return null==n?void 0:n.options.find(n=>n.type===t)}function l(t,n){return null==n?void 0:n.options.filter(n=>n.type===t)}function s(t,n){let{lane:e,trimTokenId:r,types:u}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=(0,o.j)(t,3);let a=n.filter(t=>("number"!=typeof e||t.lane===e)&&(!u||!!u.includes(t.type)));return a.filter((n,e)=>{var l;let s=(0,o.j)(null!==(l=n.startTime)&&void 0!==l?l:0,3),c=(0,o.j)(s+(0,i.Z)(n,{addTrim:n.id===r}),3);return t>=s&&(t<c||((null==u?void 0:u.includes("video"))||(null==u?void 0:u.includes("image")))&&e===a.length-1)})}function c(t,n,e){return s(t,n,e).shift()}},7147:function(t,n,e){e.d(n,{Bf:function(){return d},N9:function(){return h},OW:function(){return i},Tr:function(){return f},WV:function(){return u},cq:function(){return y},dd:function(){return p},hg:function(){return r},j5:function(){return l}});var o=e(6700);function i(t,n){let e=t[n];if(!e)return;let i="";if("video"===t.type){var r;i=(null===(r=(0,o.yb)("video",t))||void 0===r?void 0:r.image)||""}else t.poster?i=t.poster:t.thumbnail&&(i=t.thumbnail);return{categories:["Ambients","Original Audio"],id:"audio"===n?t.bgAudio?"original-combined-audio":"original-audio":"original-".concat(n),image:i,label:"speech"===n?"Original Speech":"bgAudio"===n?"Original Backgroun
1d Audio":t.bgAudio?"Original Combined Audio":"Original Audio",modifiers:[{value:e}],type:"sound"}}function r(t){let n=["audio","bgAudio","speech"],e=[];for(let o of t.tokens)if("video"===o.type)for(let t of n){let n=i(o,t);n&&e.push(n)}return e}function u(t){return t.bgAudio&&t.audio?i(t,"audio"):i(t,"speech")}function a(t){return"original-combined-audio"===t.id}function l(t){return t.id.startsWith("original-")}function s(t){return"original-audio"===t.id}let c=/\bweb\/|^blob:/;function d(t){return t.modifiers.some(t=>c.test(t.value))}function f(t){return t.options.some(a)}function p(t){return t.options.some(l)}function y(t){return t.options.some(s)}function h(t){return p(t)&&!!((0,o.yb)("voice",t)||(0,o.yb)("song",t))}},81350:function(t,n,e){var o,i,r,u;e.d(n,{K:function(){return i},Z:function(){return o}}),(r=o||(o={})).pending="pending",r.running="running",r.completed="completed",r.canceling="canceling",r.canceled="canceled",r.failed="failed",(u=i||(i={})).Canceled="Job canceled",u.Duplicate="Duplicate job",u.ErrorConnectingToServer="Error connecting to server",u.Failed="Job failed",u.NoFaceFound="no_face_found",u.NotFound="Job not found",u.Reclaimed="Job reclaimed"}}]);

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.