PageSourceSearch

https://app.cliquify.me/_next/static/chunks/pages/ai-4f3a80c168d107f6.js

js cliquify.me collected 2026-09-26 04:17:25 UTC 25,723 bytes, 2 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4d35bdc6-f519-4e21-b04d-64e0d1449f58",e._sentryDebugIdIdentifier="sentry-dbid-4d35bdc6-f519-4e21-b04d-64e0d1449f58")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7990],{73545:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ai",function(){return n(23730)}])},23730:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var l=n(85893),i=n(67294),r=n(50447),s=n(18734),a=n(48566),o=n(98842),d=n(28055),c=n(38824),p=n(23279),u=n.n(p);let m=()=>(0,l.jsx)("span",{children:"\uD83D\uDD17"}),f=()=>(0,l.jsx)("span",{children:"\uD83D\uDCCE"}),g=()=>(0,l.jsx)("span",{children:"☁️"}),h=()=>(0,l.jsx)("span",{children:"..."}),x={"Agent mode":(0,l.jsx)(r.B9Z,{size:18}),"Lite mode":(0,l.jsx)(r.B9Z,{size:18}),"Veo 3.1":(0,l.jsx)(r.B9Z,{size:18}),"Sora 2":(0,l.jsx)(r.B9Z,{size:18})},y="#4c64ff",v=[{label:"16:9",icon:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",preserveAspectRatio:"xMidYMid meet",fill:"none",role:"presentation",xmlns:"http://www.w3.org/2000/svg",class:"",children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{"data-follow-fill":"currentColor",d:"M15.833 13.017v1.666H4.167v-1.666h11.666Zm.833-.834V7.808a.833.833 0 0 0-.833-.833H4.167a.833.833 0 0 0-.834.833v4.375c0 .46.373.834.833.834v1.666l-.128-.003a2.5 2.5 0 0 1-2.368-2.368l-.003-.129V7.808a2.5 2.5 0 0 1 2.5-2.5h11.666a2.5 2.5 0 0 1 2.5 2.5v4.375a2.5 2.5 0 0 1-2.5 2.5v-1.666c.46 0 .833-.373.833-.834Z",fill:"rgba(0, 0, 0, 1)"})})})},{label:"4:3",icon:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",preserveAspectRatio:"xMidYMid meet",fill:"none",role:"presentation",xmlns:"http://www.w3.org/2000/svg",class:"",children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{"data-follow-fill":"currentColor",d:"M15.833 14.583v1.667H4.167v-1.667h11.666Zm.833-.833v-7.5a.833.833 0 0 0-.833-.833H4.167a.833.833 0 0 0-.834.833v7.5c0 .46.373.833.833.833v1.667l-.128-.003a2.5 2.5 0 0 1-2.368-2.368l-.003-.129v-7.5a2.5 2.5 0 0 1 2.5-2.5h11.666a2.5 2.5 0 0 1 2.5 2.5v7.5a2.5 2.5 0 0 1-2.371 2.497l-.129.003v-1.667c.46 0 .833-.373.833-.833Z",fill:"rgba(0, 0, 0, 1)"})})})},{label:"1:1",icon:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",preserveAspectRatio:"xMidYMid meet",fill:"none",role:"presentation",xmlns:"http://www.w3.org/2000/svg",class:"",children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{"data-follow-fill":"currentColor",d:"M15 15.833V17.5H5v-1.667h10Zm.833-.833V5A.833.833 0 0 0 15 4.167H5A.833.833 0 0 0 4.167 5v10c0 .46.373.833.833.833V17.5a2.5 2.5 0 0 1-2.497-2.371L2.5 15V5A2.5 2.5 0 0 1 5 2.5h10l.129.003A2.5 2.5 0 0 1 17.5 5v10l-.003.129a2.5 2.5 0 0 1-2.368 2.368L15 17.5v-1.667c.46 0 .833-.373.833-.833Z",fill:"rgba(0, 0, 0, 1)"})})})},{label:"3:4",icon:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",preserveAspectRatio:"xMidYMid meet",fill:"none",role:"presentation",xmlns:"http://www.w3.org/2000/svg",class:"",children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{"data-follow-fill":"currentColor",d:"M13.75 16.667v1.666h-7.5v-1.666h7.5Zm.833-.834V4.167a.833.833 0 0 0-.833-.834h-7.5a.834.834 0 0 0-.83.748l-.003.086v11.666c0 .46.373.834.833.834v1.666l-.129-.003a2.5 2.5 0 0 1-2.371-2.497V4.167A2.5 2.5 0 0 1 6.121 1.67l.129-.003h7.5l.129.003a2.5 2.5 0 0 1 2.371 2.497v11.666l-.003.129a2.5 2.5 0 0 1-2.368 2.368l-.129.003v-1.666c.46 0 .833-.373.833-.834Z",fill:"rgba(0, 0, 0, 1)"})})})},{label:"9:16",icon:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",preserveAspectRatio:"xMidYMid meet",fill:"none",role:"presentation",xmlns:"http://www.w3.org/2000/svg",class:"",children:(0,l.jsx)("g",{children:(0,l.jsx)("path",{"data-follow-fill":"currentColor",d:"M12.183 16.667v1.666H7.808v-1.666h4.375Zm.833-.834V4.167a.833.833 0 0 0-.833-.834H7.808a.834.834 0 0 0-.83.748l-.003.086v11.666c0 .46.373.834.833.834v1.666l-.128-.003a2.5 2.5 0 0 1-2.372-2.497V4.167a2.5 2.5 0 0 1 2.5-2.5h4.375a2.5 2.5 0 0 1 2.5 2.5v11.666a2.5 2.5 0 0 1-2.371 2.497l-.129.003v-1.666c.46 0 .833-.373.833-.834Z",fill:"rgba(0, 0, 0, 1)"})})})}];function b(){let[e,t]=(0,i.useState)([]),[n,r]=(0,i.useState)(!1),[p,b]=(0,i.useState)(!1),[w,j]=(0,i.useState)("Lite mode"),[N,
1C]=(0,i.useState)("9:16"),[E,S]=(0,i.useState)(!1),[k,T]=(0,i.useState)("English"),[R,D]=(0,i.useState)(!1),[A,Z]=(0,i.useState)("Any length"),[B,L]=(0,i.useState)(!1),z={English:"EN",Spanish:"ES",French:"FR",Bulgarian:"BG",Croatian:"HR",Czech:"CS"},M=(0,i.useRef)(null),H=(0,i.useRef)(null),O=(0,i.useRef)(null);(0,i.useEffect)(()=>{if(H.current&&!H.current.querySelector("p.content-wrapper")){let e=document.createElement("p");e.className="content-wrapper",e.style.margin="0",e.style.padding="0",e.style.minHeight="120px",H.current.appendChild(e),H.current.classList.add("is-empty")}H.current&&H.current.focus()},[]),(0,i.useEffect)(()=>()=>{e.forEach(e=>{e.previewUrl&&URL.revokeObjectURL(e.previewUrl)})},[e]),(0,i.useEffect)(()=>{$()},[]);let _=()=>b(e=>!e),U=()=>S(!1),W=e=>{let t=e.previousSibling;for(;t&&t.nodeType===Node.TEXT_NODE&&"​"===t.textContent;)t=t.previousSibling;return t},F=()=>{let e=window.getSelection();if(e.rangeCount>0){let t=e.getRangeAt(0);H.current&&H.current.contains(t.commonAncestorContainer)&&(O.current=t.cloneRange())}},P=()=>{let e=window.getSelection();if(e.removeAllRanges(),O.current)e.addRange(O.current);else if(H.current){H.current.focus();let t=document.createRange(),n=H.current.querySelector(".content-wrapper");n?t.selectNodeContents(n):t.selectNodeContents(H.current),t.collapse(!1),e.addRange(t),O.current=t.cloneRange()}},V=(e,n)=>{t(t=>t.map(t=>t.id.toString()===e?{...t,value:n}:t))},I=e=>{let t=document.createElement("span");t.contentEditable="false",t.dataset.id=e,t.style.display="inline-block",t.style.verticalAlign="middle",t.style.margin="0px 4px";let n=document.createElement("div");n.style.display="inline-flex",n.style.alignItems="center",n.style.backgroundColor="#f0f0f0",n.style.borderRadius="6px",n.style.border="1px solid transparent",n.style.padding="4px 6px",n.style.transition="background-color 0.2s ease";let l=document.createElement("span");l.className="lv-input-group-prefix",l.style.display="inline-flex",l.style.alignItems="center",l.style.gap="4px",l.style.color="#818EA3",l.style.fontSize="14px";let i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttribute("width","16"),i.setAttribute("height","16"),i.setAttribute("viewBox","0 0 16 16"),i.setAttribute("fill","none"),i.innerHTML='<g><path fill="#FD4949" fill-rule="evenodd" clip-rule="evenodd" d="M14.667 7.999a6.667 6.667 0 1 1-13.333 0 6.667 6.667 0 0 1 13.333 0Zm-7.333-3c0-.184.149-.334.333-.334h.667c.184 0 .333.15.333.334v4c0 .184-.15.333-.333.333h-.667a.333.333 0 0 1-.333-.333v-4Zm.333 5a.333.333 0 0 0-.333.333v.667c0 .184.149.333.333.333h.667c.184 0 .333-.15.333-.333v-.667a.333.333 0 0 0-.333-.333h-.667Z"></path></g>',i.style.display="none",l.appendChild(i);let r=document.createElement("span");r.innerText="https://",l.appendChild(r);let s=document.createElement("input");s.type="url",s.placeholder="Enter your link here",s.className="lv-input",s.style.flex="1",s.style.border="none",s.style.outline="none",s.style.backgroundColor="transparent",s.style.padding="0 4px",s.style.fontSize="14px";let a=e=>!!e&&/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([\/\w .-]*)*\/?$/i.test(e.trim()),o=u()(t=>{V(e,t)},300);return s.oninput=e=>{let t=e.target.value.trim(),l=a(t);t.length>0&&!l?(n.style.backgroundColor="#ffe5e5",i.style.display="inline"):(n.style.backgroundColor="#f0f0f0",i.style.display="none"),o(t)},s.onblur=t=>{let l=t.target.value.trim();o.cancel(),V(e,l),!a(l)&&l.length>0&&(n.style.backgroundColor="#ffe5e5",i.style.display="inline")},s.onremove=()=>o.cancel(),n.appendChild(l),n.appendChild(s),t.appendChild(n),t},X=e=>{let n=document.createElement("div");n.contentEditable="false",n.dataset.id=e.id,n.style.display="inline-flex",n.style.alignItems="center",n.style.gap="10px",n.style.padding="4px 12px",n.style.borderRadius="8px",n.style.background="#f3f4f6",n.style.margin="0px 4px",n.style.border="1px solid #e5e7eb",n.style.maxWidth="100%";let l=document.createElement("div");l.innerText="\uD83D\uDCC4",l.style.fontSize="16px",l.style.display="flex",l.style.alignItems="center";let i=document.createElement("div");i.style.display="flex",i.style.flexDirection="column",i.style.overflow="hidden";let r=document.createElement("span");r.innerText=e.file.name,r.style.fontSize="14px",r.style.fontWeight="500",r.style.color="#374151",r.style.whiteSpace="nowrap",r.style.overflow="hidden",r.style.textOverflow="ellipsis",r.style.maxWidth="150px",i.appendChild(r);let s=document.createElement("button");s.innerHTML="&times;",s.style.marginLeft="auto",s.style.border="none",s.style.background="transparent",s.style.color="#9ca3af",s.style.cursor="pointer",s.style.fontSize="18px",s.style.lineHeight="1",s.style.padding="0 4px",s.onclick=n=>{n.stopPropagation(),a.remove(),t(t=>t.filter(t=>t.id!==e.id))},n.appendChild(l),n.appendChild(i),n.appendChild(s);let a=document.createElement("span");return a.contentEditable="false",a.style.display="inline-block",a.style.verticalAlign="middle",a.appendChild(n),a},Y=(n,l)=>{let i=document.createElement("span");i.contentEditable="false",i.className="media-image-block",i.dataset.id=n,i.style.display="inline-block",i.style.position="relative",i.style.margin="0px 4px",i.style.lineHeight="0";let r=document.createElement("img");r.src=URL.createObjectURL(l),r.alt=l.name,r.style.width="40px",r.style.height="40px",r.style.borderRadius="12px",r.style.objectFit="cover",r.style.verticalAlign="middle",r.style.boxShadow="0 4px 12px rgba(0,0,0,0.08)";let s=document.createElement("button");return s.innerHTML="\xd7",s.style.position="absolute",s.style.top="0px",s.style.right="0px",s.style.border="none",s.style.background="rgba(0,0,0,0.6)",s.style.color="#fff",s.style.borderRadius="50%",s.style.width="15px",s.style.height="15px",s.style.cursor="pointer",s.style.display="flex",s.style.fontSize="14px",s.style.alignItems="center",s.style.justifyContent="center",s.onclick=()=>{var l;let r=e.find(e=>e.id===n);r&&(null===(l=r.metadata)||void 0===l?void 0:l.previewUrl)&&URL.revokeObjectURL(r.metadata.previewUrl),i.remove(),t(e=>e.filter(e=>e.id!==n))},i.appendChild(r),i.appendChild(s),i},q=(e,n)=>
1{let l=document.createElement("span");l.contentEditable="false",l.className="media-video-block",l.dataset.id=e,l.style.lineHeight="0",l.style.display="inline-block",l.style.position="relative",l.style.margin="0px 4px";let i=document.createElement("video");i.src=URL.createObjectURL(n),i.style.width="40px",i.style.height="40px",i.style.borderRadius="12px",i.style.objectFit="cover",i.style.verticalAlign="middle",i.style.boxShadow="0 4px 12px rgba(0,0,0,0.08)",i.muted=!0,i.preload="metadata",i.style.pointerEvents="none",i.style.userSelect="none",i.onloadedmetadata=()=>{i.currentTime=.1};let r=document.createElement("button");return r.innerHTML="\xd7",r.style.position="absolute",r.style.top="0px",r.style.right="0px",r.style.border="none",r.style.background="rgba(0,0,0,0.6)",r.style.color="#fff",r.style.borderRadius="50%",r.style.width="15px",r.style.height="15px",r.style.cursor="pointer",r.style.display="flex",r.style.fontSize="14px",r.style.alignItems="center",r.style.justifyContent="center",r.onclick=()=>{l.remove(),t(t=>t.filter(t=>t.id!==e))},l.appendChild(i),l.appendChild(r),l},K=e=>{var t,n;P();let l=O.current;if(!l)return;l.deleteContents(),l.insertNode(e);let i=document.createTextNode("​");(null===(t=i.parentNode)||void 0===t?void 0:t.style)&&(i.parentNode.style.lineHeight="0"),e.after(i);let r=document.createRange();r.setStart(i,1),r.collapse(!0);let s=window.getSelection();s.removeAllRanges(),s.addRange(r),O.current=r.cloneRange(),H.current.focus(),F(),null===(n=H.current)||void 0===n||n.classList.remove("is-empty")},G=()=>{S(!1),requestAnimationFrame(()=>{let e=Date.now(),n={type:"link",value:"",id:e};t(e=>[...e,n]);let l=I(e);K(l)})},$=()=>{if(H.current){H.current.style.height="auto";let e=H.current.scrollHeight;H.current.style.height=Math.max(120,Math.min(e,350))+"px",H.current.style.overflowY=e>350?"auto":"hidden"}},J=e=>new Promise(t=>{let n=new Image,l=URL.createObjectURL(e);n.onload=()=>{t({width:n.naturalWidth,height:n.naturalHeight,aspectRatio:(n.naturalWidth/n.naturalHeight).toFixed(2),previewUrl:l})},n.onerror=()=>{t({width:null,height:null,aspectRatio:null,previewUrl:l})},n.src=l}),Q=e=>new Promise(t=>{let n=document.createElement("video"),l=URL.createObjectURL(e);n.onloadedmetadata=()=>{t({width:n.videoWidth,height:n.videoHeight,aspectRatio:(n.videoWidth/n.videoHeight).toFixed(2),duration:n.duration,durationFormatted:ee(n.duration),previewUrl:l})},n.onerror=()=>{t({width:null,height:null,aspectRatio:null,duration:null,previewUrl:l})},n.src=l}),ee=e=>!e||isNaN(e)?"00:00":"".concat(Math.floor(e/60).toString().padStart(2,"0"),":").concat(Math.floor(e%60).toString().padStart(2,"0")),et=e=>{var t;return{fileName:e.name,fileSize:e.size,fileSizeFormatted:en(e.size),mimeType:e.type,fileExtension:(null===(t=e.name.split(".").pop())||void 0===t?void 0:t.toLowerCase())||""}},en=e=>{if(!e)return"0 B";let t=["B","KB","MB","GB"],n=0,l=e;for(;l>=1024&&n<t.length-1;)l/=1024,n++;return"".concat(l.toFixed(1)," ").concat(t[n])},el=async e=>{var n;let l=Array.from(e.target.files);U();let i=await Promise.all(l.map(async e=>{let t=Date.now()+Math.random(),n=et(e),l={},i="file";e.type.startsWith("image/")?(i="image",l=await J(e)):e.type.startsWith("video/")&&(i="video",l=await Q(e));let r={id:t,type:i,file:e,metadata:{...n,...l,mediaType:i}};return{item:r,node:"image"===i?Y(t,e):"video"===i?q(t,e):X(r)}}));t(e=>[...e,...i.map(e=>e.item)]),requestAnimationFrame(()=>
1{P(),i.forEach(e=>{let{node:t}=e;K(t)})}),null===(n=H.current)||void 0===n||n.focus(),e.target.value=""},ei=()=>{if(!H.current)return!0;let e=H.current.textContent.replace(/\u200B/g,""),t=H.current.querySelector('[contenteditable="false"]');return""===e&&!t},er=()=>{H.current&&(ei()?H.current.classList.add("is-empty"):H.current.classList.remove("is-empty"))},es=e=>{let n=e.dataset.id,l=e.previousSibling,i=e.nextSibling,r=e.parentNode;e.remove(),t(e=>e.filter(e=>e.id!==Number(n)));let s=window.getSelection();if(ei()&&H.current){H.current.innerHTML="",H.current.classList.add("is-empty"),H.current.focus(),O.current=null;return}let a=document.createRange();if(l){if(l.nodeType===Node.TEXT_NODE)a.setStart(l,l.length);else{let e=document.createTextNode("​");l.after(e),a.setStart(e,1)}}else if(i){if(i.nodeType===Node.TEXT_NODE)a.setStart(i,0);else{let e=document.createTextNode("​");i.before(e),a.setStart(e,0)}}else if(r&&r===H.current){let e=document.createTextNode("​");H.current.appendChild(e),a.setStart(e,0)}a.collapse(!0),s.removeAllRanges(),s.addRange(a),O.current=a.cloneRange(),er()},ea=(e,t)=>{if(e.nodeType===Node.TEXT_NODE){if(0===t||""===e.textContent.replace(/\u200B/g,"")){let t=e.previousSibling;for(;t&&t.nodeType===Node.TEXT_NODE&&""===t.textContent.replace(/\u200B/g,"");)t=t.previousSibling;if(t&&"false"===t.contentEditable)return{media:t,spacer:"​"===e.textContent?e:null}}}else if(e===H.current&&t>0){let n=e.childNodes[t-1],l=null;if(n&&n.nodeType===Node.TEXT_NODE&&""===n.textContent.replace(/\u200B/g,"")&&(l=n,n=n.previousSibling),n&&"false"===n.contentEditable)return{media:n,spacer:l}}return null},eo=(e,t)=>{if(e.nodeType===Node.TEXT_NODE){if(t===e.length||""===e.textContent.replace(/\u200B/g,"")){let t=e.nextSibling;for(;t&&t.nodeType===Node.TEXT_NODE&&""===t.textContent.replace(/\u200B/g,"");)t=t.nextSibling;if(t&&"false"===t.contentEditable)return t}}else if(e===H.current&&t<e.childNodes.length){let n=e.childNodes[t];for(;n&&n.nodeType===Node.TEXT_NODE&&""===n.textContent.replace(/\u200B/g,"");)n=n.nextSibling;if(n&&"false"===n.contentEditable)return n}return null},ed=e=>{j(e),r(!1)},ec=e=>{C(e),_()},ep=x[w];return(0,l.jsxs)("div",{className:"bg-light",style:{height:"100vh"},children:[(0,l.jsx)("style",{children:'\n  .editor-placeholder-style {\n    font-size: 16px;\n    font-weight: 400;\n    line-height: 20px;\n    white-space: pre-wrap;\n    word-break: break-word;\n    position: relative;\n  }\n  .editor-placeholder-style.is-empty::before {\n    content: attr(data-placeholder);\n    color: #9ca3af;\n    font-size: 16px !important;\n    font-weight: 400;\n    line-height: 1.5;\n    pointer-events: none;\n    display: block;\n    position: absolute;\n    top: 12px;\n    left: 12px;\n    right: 12px;\n  }\n  .editor-layout-wrapper::after {\n    content: "";\n    display: block;\n    height: 1px;\n    margin-top: -1px;\n  }\n  .caret-spacer {\n    display: inline-block;\n    height: 1em;\n    line-height: 1;\n    user-select: none;\n    opacity: 0;\n  }\n'}),(0,l.jsx)("div",{className:"container h-100",children:(0,l.jsx)("div",{className:"row h-100 justify-content-center align-items-center",children:(0,l.jsx)("div",{className:"col-12 col-md-10 col-lg-8 col-xl-7",children:(0,l.jsxs)("div",{className:"bg-white rounded-4 p-3",children:[(0,l.jsx)("div",{className:"bg-light rounded-3 mb-3",style:{maxHeight:"420px",display:"flex",flexDirection:"column",overflow:"hidden"},children:(0,l.jsx)("div",{className:"position-relative fs-6",children:(0,l.jsx)("div",{ref:H,contentEditable:!0,suppressContentEditableWarning:!0,onKeyDown:e=>{let t=window.getSelection();if(!t.rangeCount)return;let n=t.getRangeAt(0),l=n.startContainer,i=n.startOffset;if("Backspace"===e.key){let t=ea(l,i);if(t&&t.media){e.preventDefault(),e.stopPropagation(),t.spacer&&t.spacer.remove(),es(t.media);return}if(l.nodeType===Node.TEXT_NODE&&"​"===l.textContent){let t=W(l);if(t&&"false"===t.contentEditable){e.preventDefault(),e.stopPropagation(),l.remove(),es(t);return}}}if("Delete"===e.key){let t=eo(l,i);if(t){e.preventDefault(),e.stopPropagation(),es(t);return}}if((" "===e.key||"Spacebar"===e.key)&&er(),"Enter"===e.key&&!e.shiftKey){var r;e.preventDefault();let t=window.getSelection();if(!t.rangeCount)return;let n=t.getRangeAt(0);n.deleteContents();
1let l=document.createElement("br");n.insertNode(l);let i=document.createTextNode("​");l.after(i);let s=document.createRange();s.setStart(i,0),s.collapse(!0),t.removeAllRanges(),t.addRange(s),O.current=s.cloneRange();let a=null===(r=H.current)||void 0===r?void 0:r.getBoundingClientRect(),o=s.getBoundingClientRect();a&&o.bottom>a.bottom&&(H.current.scrollTop+=o.bottom-a.bottom+20)}er(),$()},onKeyUp:F,onMouseUp:F,onClick:F,onInput:e=>{er(),$()},className:"editor-placeholder-style flex-1 overflow-y-auto","data-placeholder":"Tell me what you want. Add links, media, or docs to generate more precise results.",style:{minHeight:"120px",maxHeight:"200px",overflowY:"hidden",outline:"none",cursor:"text",padding:"12px"}})})}),(0,l.jsxs)("div",{className:"d-flex justify-content-between align-items-center pt-3 border-top position-relative",children:[(0,l.jsxs)("div",{className:"d-flex align-items-center gap-2",children:[(0,l.jsxs)(a.Z,{isOpen:E,toggle:()=>S(e=>!e),direction:"down",flip:!1,children:[(0,l.jsx)(o.Z,{tag:"button",className:"d-flex align-items-center justify-content-center rounded-3",style:{width:40,height:40,color:"#000000",backgroundColor:"#f5f5f5c4",border:"1px solid rgba(0, 0, 0, .102)",fontSize:"20px",fontWeight:"bold"},children:"+"}),(0,l.jsxs)(d.Z,{className:"p-2 rounded-4 border-0",style:{maxWidth:320,marginBottom:"4px",marginTop:"4px"},children:[(0,l.jsxs)(c.Z,{onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),U(),G()},className:"d-flex align-items-center gap-2 rounded-2",children:[(0,l.jsx)(m,{}),(0,l.jsx)("span",{children:"Add link"})]}),(0,l.jsxs)(c.Z,{onClick:e=>{e.stopPropagation(),U(),requestAnimationFrame(()=>{var e;null===(e=M.current)||void 0===e||e.click()})},className:"d-flex align-items-center gap-2 rounded-2",children:[(0,l.jsx)(f,{}),(0,l.jsx)("span",{children:"Upload media or file"})]}),(0,l.jsxs)(c.Z,{disabled:!0,className:"d-flex align-items-center gap-2 text-muted",children:[(0,l.jsx)(g,{}),(0,l.jsx)("span",{children:"Choose from Assets"})]}),(0,l.jsxs)(c.Z,{disabled:!0,className:"d-flex justify-content-between text-muted",children:[(0,l.jsxs)("span",{className:"d-flex align-items-center gap-2",children:[(0,l.jsx)(h,{}),(0,l.jsx)("span",{children:"More"})]}),(0,l.jsx)("span",{children:">"})]})]})]}),(0,l.jsx)("input",{ref:M,type:"file",multiple:!0,onChange:el,className:"d-none",accept:"image/*,video/*,.pdf,.doc,.docx"}),(0,l.jsxs)(a.Z,{isOpen:n,toggle:()=>r(e=>!e),direction:"down",flip:!1,children:[(0,l.jsxs)(o.Z,{className:"d-flex align-items-center gap-2 rounded-3 font-medium",style:{fontSize:"14px",fontWeight:"500",color:"#000000",backgroundColor:"#f5f5f5c4",border:"1px solid rgba(0, 0, 0, .102)",padding:"8px 12px"},children:[(0,l.jsx)("span",{children:ep}),w]}),(0,l.jsx)(d.Z,{className:"p-2 rounded-4",style:{minWidth:"250px",marginTop:"4px",marginBottom:"4px"},children:Object.keys(x).map(e=>{let t=w===e,n=x[e];return(0,l.jsxs)(c.Z,{onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),ed(e)},className:"p-2 rounded-2 d-flex align-items-center border-0 font-medium ".concat(t?"bg-light":""),style:{color:t?y:"#212529",fontWeight:t?"600":"400",display:"grid",gridTemplateColumns:"auto 1fr auto",gap:"8px"},children:[(0,l.jsx)("div",{className:"p-2 rounded-3",style:{backgroundColor:"#fff",color:t?y:"#212529",fontSize:"1.2em"},children:n}),(0,l.jsxs)("div",{className:"d-flex flex-column align-items-start",children:[(0,l.jsxs)("span",{className:"font-semibold",children:[e,["Veo 3.1","Sora 2"].includes(e)&&(0,l.jsx)("span",{className:"ps-1",children:"\uD83D\uDC51"})]}),(0,l.jsx)("small",{className:"text-muted",style:{fontSize:"12px"},children:{"Agent mode":"Powered by Nano Banana, for all video types","Lite mode":"Faster, mainly for marketing videos","Veo 3.1":"Richer native audio and more cinematic, for 8-second videos","Sora 2":"Consistent scenes and seamless transitions, for 12-second videos"}[e]})]}),(0,l.jsx)("div",{children:t&&(0,l.jsx)("span",{style:{color:y},children:"✓"})})]},e)})})]}),(0,l.jsxs)(a.Z,{isOpen:p,toggle:_,direction:"down",flip:!1,children:[(0,l.jsxs)(o.Z,{className:"d-flex align-items-center gap-2 rounded-3 font-medium",style:{fontSize:"14px",fontWeight:"500",color:"#000000",backgroundColor:"#f5f5f5c4",border:"1px solid rgba(0, 0, 0, .102)",padding:"8px 12px"},children:[(0,l.jsx)("span",{className:"me-1 fs-14",children:(0,l.jsx)(s.P66,{size:18})}),(0,l.jsxs)("div",{className:"d-flex align-items-center justify-content-center gap-2",children:[(0,l.jsx)("span",{children:N}),(0,l.jsx)("span",{style:{backgroundColor:"rgba(0, 0, 0, .102)",height:12,width:1}}),z[k]||k]})]}),(0,l.jsxs)(d.Z,{className:"p-3 rounded-4 overflow-visible",style:{minWidth:"350px",marginTop:"4px",marginBottom:"4px"},children:[(0,l.jsxs)("div",{className:"mb-3",children:[(0,l.jsx)("h6",{className:"font-medium fs-12 mb-3 text-muted",children:"Aspect ratio"}),(0,l.jsx)("div",{className:"d-flex justify-content-between gap-2",children:v.map(e=>(0,l.jsxs)("button",{type:"button",onClick:()=>ec(e.label),className:"btn flex-fill d-flex flex-column align-items-center p-3 rounded-3",style:{backgroundColor:"#fff",border:N===e.label?"2px solid ".concat(y):"1px solid rgba(0,0,0,.15)"},children:[(0,l.jsx)("span",{style:{fontSize:"1.8em",color:N===e.label?y:"#212529"},children:e.icon}),(0,l.jsx)("small",{className:"mt-1 fw-semibold",style:{color:"#818EA3"},children:e.label})]},e.label))})]}),(0,l.jsxs)("div",{className:"mb-3",children:[(0,l.jsx)("h6",{className:"font-medium fs-12 mb-3 text-muted",children:"Language"}),(0,l.jsxs)(a.Z,{isOpen:R,toggle:()=>D(!R),direction:"down",flip:!1,children:[(0,l.jsx)(o.Z,{tag:"div",className:"d-flex align-items-center justify-content-between px-3 py-2 rounded-3 border cursor-pointer font-semibold",style:{backgroundColor:"#f8f9fa",fontSize:"14px"},children:(0,l.jsx)("span",{children:k})}),(0,l.jsx)(d.Z,{className:"w-100 rounded-4 p-1 overflow-y-auto",style:{maxHeight:220,marginTop:"4px",marginBottom:"4px"},children:Object.keys(z).map(e=>(0,l.jsxs)(c.Z,{toggle:!1,onClick:()=>{T(e),D(!1)},className:"d-flex align-items-center justify-content-between rounded-3 px-3 py-2",style:{fontWeight:k===e?600:400},children:[(0,l.jsx)("span",{children:e}),k===e&&(0,l.jsx)(s.Lrl,{size:16,style:{color:y}})]},e))})]})]}),(0,l.jsxs)("div",{className:"mb-1",children:[(0,l.jsx)("h6",{className:"font-medium fs-12 mb-3 text-muted",children:"Video length"}),(0,l.jsxs)(a.Z,{isOpen:B,toggle:()=>L(!B),direction:"down",flip:!1,children:[(0,l.jsx)(o.Z,{tag:"div",className:"d-flex align-items-center justify-content-between px-3 py-2 rounded-3 border",style:{backgroundColor:"#f8f9fa",cursor:"pointer",fontSize:"14px",fontWeight:500},children:(0,l.jsx)("span",{children:A})}),(0,l.jsx)(d.Z,{className:"w-100 rounded-4 p-1",style:{maxHeight:200,overflowY:"auto",marginTop:"4px",marginBottom:"4px"},children:["Any length","~15s","~30s","45~60s"].map(e=>(0,l.jsxs)(c.Z,{toggle:!1,onClick:()=>{Z(e),L(!1)},className:"d-flex align-items-center justify-content-between rounded-3 px-3 py-2 fs-14",style:{fontWeight:A===e?500:400},children:[(0,l.jsx)("span",{children:e}),A===e&&(0,l.jsx)(s.Lrl,{size:16,style:{color:y}})]},e))})]})]})]})]})]}),(0,l.jsx)("button",{className:"btn btn-dark px-4 py-2 rounded-3 font-medium",children:"Generate"})]})]})})})})]})}var w=function(){return(0,l.jsx)("div",{style:{height:"100vh"},children:(0,l.jsx)(b,{})})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=73545)}),_N_E=e.O()}]);
2//# sourceMappingURL=ai-4f3a80c168d107f6.js.map

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.