PageSourceSearch

https://ona.com/_next/static/chunks/0q3v.qqjnx8m0.js?dpl=dpl_FywafHKUpHhhUUCN2PphSAcWmzjj

js ona.com collected 2026-09-24 09:12:29 UTC 4,959 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,89407,e=>{"use strict";var t=e.i(843476),n=e.i(271645),o=e.i(88653),i=e.i(846932),l=e.i(207670),a=e.i(928513),r=e.i(108164);let s={apple:(0,t.jsx)(r.AppleIcon,{}),globe:(0,t.jsx)(r.GlobeIcon,{})};function d({label:e,options:r}){let[u,c]=(0,n.useState)(!1),x=(0,n.useRef)(null);(0,n.useEffect)(()=>{if(!u)return;let e=e=>{x.current&&!x.current.contains(e.target)&&c(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[u]),(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&c(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let f=(0,l.default)("button transition-[background,border] xl:text-[1rem] duration-300 text-center px-2 py-2 md:py-1.75 md:px-2.5 rounded-md md:rounded-lg border leading-none cursor-pointer text-body-110","bg-onyx-black border-onyx-black text-white",a.default.button);return(0,t.jsxs)("div",{className:"relative",ref:x,children:[(0,t.jsx)("button",{className:(0,l.default)(f,"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-onyx-black focus-visible:ring-offset-2"),onClick:()=>c(!u),"aria-haspopup":"menu","aria-expanded":u,"aria-label":"More download options","data-button-type":"fill","data-button-theme":"onyx-black",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[e,(0,t.jsx)("svg",{className:`w-3.5 h-3.5 transition-transform duration-200 ${u?"rotate-180":""}`,viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"m4 6 4 4 4-4"})})]})}),(0,t.jsx)(o.AnimatePresence,{children:u&&(0,t.jsx)(i.motion.div,{className:"absolute pt-1.5 top-full left-1/2 -translate-x-1/2 z-50 w-56",initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4,transition:{duration:.1}},transition:{duration:.2,ease:[.19,1,.22,1]},children:(0,t.jsx)("div",{className:"bg-white rounded-xl shadow-[0_4px_24px_rgba(0,0,0,0.12)] border border-grey-500 p-1 flex flex-col gap-0.5",role:"menu",children:r.map(e=>(0,t.jsxs)("a",{href:e.href,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,role:"menuitem",className:"flex items-center gap-2.5 px-3 py-2.5 rounded-lg text-onyx-black text-[0.9375rem] hover:bg-grey-400 transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-onyx-black focus-visible:ring-offset-2",onClick:()=>c(!1),...e.analytics?{"data-analytics":JSON.stringify(e.analytics)}:{},children:[(0,t.jsx)("span",{className:"flex-shrink-0 w-5 h-5 flex items-center justify-center text-onyx-black",children:s[e.icon]}),e.label]},e.label))})})})]})}var u=e.i(893435),c=e.i(882394);let x=()=>()=>{},f=()=>/Macintosh|Mac OS X/i.test(navigator.userAgent),m=()=>!1;e.s(["default",0,function({button:e,index:o}){return(0,n.useSyncExternalStore)(x,f,m)?(0,t.jsx)(d,{label:e.label||"Get started",options:[{label:"Download for macOS",href:"https://ona.com/ona-desktop/download",icon:"apple",external:!0,analytics:{context:"desktop_download",position:"hero",label:"Download for macOS"}},{label:"Start in the web",href:(0,c.linkToUrl)(e.link),icon:"globe",external:!0,analytics:{context:"signup",position:"hero",label:"Start in the web"}}]}):(0,t.jsx)(u.default,{...e,type:0===o?"fill":"outline"})}],89407)},463410,e=>{e.v({"visual-with-video":"visual-module-scss-module__HN-dhq__visual-with-video"})},464512,e=>{"use strict";var t=e.i(843476),n=e.i(559418),o=e.i(580561),i=e.i(463410),l=e.i(207670);e.s(["default",0,function({fullWidth:e=!1,autoplay:a=!1,loop:r=!1,clipLoop:s=!1,caption:d,media:u,spacing:c,aspectRatio:x="16/9",videoTitle:f,isArticleContext:m=!1,sizing:p="fullWidth",priority:b=!1,noControls:h=!1,showControlsOnStart:v=0,defaultCaptionsOff:g=!1}){let w=(0,n.generateSpacing)(c.top,c.bottom);return(0,t.jsx)("section",{className:`flex flex-col mx-auto ${e?"max-w-full container":"max-w-315.75"} px-5 md:px-10 ${w}`,children:(0,t.jsxs)("div",{className:"flex flex-col overflow-hidden",children:[(0,t.jsx)("figure",{className:(0,l.default)("relative overflow-hidden rounded-md md:rounded-lg mx-auto",(()=>{if(!p||"fullWidth"===p)return"w-full";switch(p){case"original":return"w-auto max-w-none";case"small":return"w-full max-w-[100px] mx-auto";case"medium":return"w-full max-w-sm mx-auto";case"large":return"w-full max-w-md mx-auto";default:return"w-full"}})(),u?.video&&i.default["visual-with-video"]),style:{aspectRatio:"original"===p?void 0:x},children:(0,t.jsx)(o.default,{autoplay:a,loop:r,clipLoop:s,media:u,visible:!0,videoTitle:f||d,isArticleContext:m,priority:b,noControl
1s:h,showControlsOnStart:v,defaultCaptionsOff:g})}),d&&(0,t.jsx)("span",{className:"leading-[1] text-[0.75rem] mt-3",children:d})]})})}])}]);

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.