PageSourceSearch

https://imagy.app/_next/static/chunks/3s7ie2q3mesh6.js

js imagy.app collected 2026-09-24 10:29:54 UTC 13,359 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,253595,e=>{"use strict";let t="imagy:library-load-error",r=["convert a bigint","convert bigint","failed to load imagemagick","failed to fetch wasm","initializeimagemagick","webassembly","wasm","linkerror","compileerror","magic word"];e.s(["LIBRARY_LOAD_ERROR_EVENT",0,t,"reportLibraryLoadFailure",0,function(e){return!!function(e){if(!e)return!1;let t=e.toLowerCase();return r.some(e=>t.includes(e))}(e)&&(window.dispatchEvent(new CustomEvent(t,{detail:{message:e}})),!0)}])},190716,e=>{"use strict";var t=e.i(682272),r=e.i(291967),o=e.i(870931),a=e.i(355597),i=e.i(740060),n=e.i(946866),l=e.i(74099),s=e.i(216452),c=e.i(589016),u=e.i(704640),d=e.i(918178),f="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[h,v,b]=(0,o.createCollection)(m),[w,g]=(0,i.createContextScope)(m,[b]),[k,y]=w(m),x=t.forwardRef((e,t)=>(0,d.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(C,{...e,ref:t})})}));x.displayName=m;var C=t.forwardRef((e,o)=>{let{__scopeRovingFocusGroup:i,orientation:n,loop:h=!1,dir:b,currentTabStopId:w,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:y,onEntryFocus:x,preventScrollOnEntryFocus:C=!1,...j}=e,N=t.useRef(null),S=(0,a.useComposedRefs)(o,N),E=(0,u.useDirection)(b),[I,P]=(0,c.useControllableState)({prop:w,defaultProp:g??null,onChange:y,caller:m}),[T,L]=t.useState(!1),R=(0,s.useCallbackRef)(x),F=v(i),O=t.useRef(!1),[D,_]=t.useState(0);return t.useEffect(()=>{let e=N.current;if(e)return e.addEventListener(f,R),()=>e.removeEventListener(f,R)},[R]),(0,d.jsx)(k,{scope:i,orientation:n,dir:E,loop:h,currentTabStopId:I,onItemFocus:t.useCallback(e=>P(e),[P]),onItemShiftTab:t.useCallback(()=>L(!0),[]),onFocusableItemAdd:t.useCallback(()=>_(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>_(e=>e-1),[]),children:(0,d.jsx)(l.Primitive.div,{tabIndex:T||0===D?-1:0,"data-orientation":n,...j,ref:S,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{O.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!O.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=F().filter(e=>e.focusable);A([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),C)}}O.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>L(!1))})})}),j="RovingFocusGroupItem",N=t.forwardRef((e,o)=>{let{__scopeRovingFocusGroup:a,focusable:i=!0,active:s=!1,tabStopId:c,children:u,...f}=e,p=(0,n.useId)(),m=c||p,b=y(j,a),w=b.currentTabStopId===m,g=v(a),{onFocusableItemAdd:k,onFocusableItemRemove:x,currentTabStopId:C}=b;return t.useEffect(()=>{if(i)return k(),()=>x()},[i,k,x]),(0,d.jsx)(h.ItemSlot,{scope:a,id:m,focusable:i,active:s,children:(0,d.jsx)(l.Primitive.span,{tabIndex:w?0:-1,"data-orientation":b.orientation,...f,ref:o,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{i?b.onItemFocus(m):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>b.onItemFocus(m)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void b.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var o;let a=(o=e.key,"rtl"!==r?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(a))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(a)))return S[a]}(e,b.orientation,b.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let a=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)a.reverse();else if("prev"===t||"next"===t){var r,o;"prev"===t&&a.reverse();let i=a.indexOf(e.currentTarget);a=b.loop?(r=a,o=i+1,r.map((e,t)=>r[(o+t)%r.length])):a.slice(i+1)}setTimeout(()=>A(a))}}),children:"function"==typeof u?u({isCurrentTabStop:w,hasTabStop:null!=C}):u})})});N.displayName=j;var S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function A(e,t=!1){let r=document.activeElement;for(let o of e)if(o===r||(o.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",0,N,"Root",0,x,"createRovingFocusGroupScope",0,g])},11231,e=>{"use strict";let t=(0,e.i(459488).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",0,t])},34799,e=>{"use strict";let t=(0,e.i(459488).default)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);e.s(["KeyRound",0,t],34799)},264807,184695,e=>{"use strict";function t(e){if(e&&"code"in e&&"string"==typeof e.code)return e.code}function r(){return"function"==typeof window.PublicKeyCredential}async function o(){if(!r()||"function"!=typeof PublicKeyCredential.isConditionalMediationAvailable)return!1;try{return await PublicKeyCredential.isConditionalMediationAvailable()}catch{return!1}}async function a(){if(!r()||"function"!=typeof PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable)return!1;try{return await PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()}catch{return!1}}e.s(["browserSupportsConditionalPasskeys",0,o,"browserSupportsWebAuthn",0,r,"passkeyErrorCode",0,t,"platformAuthenticatorAvailable",0,a],264807);var i=e.i(721632),n=e.i(396020);function l(){try{let e=JSON.parse(localStorage.getItem("better-auth_cookie")??"{}"),t=Object.keys(e).find(e=>e.endsWith("better-auth-passkey"));return t?e[t]?.value??"":""}catch{return""}}let s=new Set(["PASSKEY_NOT_FOUND","AUTHENTICATION_FAILED","CHALLENGE_NOT_FOUND","UNABLE_TO_CREATE_SESSION"]),c="imagy.passkeyImmediateSkip";function u(){try{return"1"===sessionStorage.getItem(c)}catch{return!1}}let d=null;function f(){return d||(d=(async()=>
1{if("function"!=typeof window.PublicKeyCredential)return!1;let e=window.PublicKeyCredential;if("function"!=typeof e.getClientCapabilities||"function"!=typeof e.parseRequestOptionsFromJSON)return!1;try{let t=await e.getClientCapabilities();return!0===t.immediateGet}catch{return!1}})())}let p=null;function m(){let e=new AbortController,t={promise:Promise.resolve(null),at:Date.now(),abort:()=>e.abort(),failed:!1};return t.promise=(async()=>{if(!await f())return null;try{let t=await i.authClient.$fetch("/passkey/generate-authenticate-options",{method:"GET",signal:e.signal});if(!t.data)return null;return{options:t.data,jar:l()}}catch{return null}})().then(e=>(e||(t.failed=!0,p===t&&(p=null)),e)),t}function h(){return!!p&&!p.failed&&Date.now()-p.at<24e4}let v=null;async function b(e){let r;if(u()||!await f())return{status:"fallback"};let o=Date.now()+2e3,a=e=>Promise.race([e.promise,new Promise(e=>setTimeout(()=>e(null),o-Date.now()))]),d=h()?p:m();p=null;let v=await a(d);if(v&&v.jar!==l()&&(d=m(),v=await a(d)),!v)return d.abort(),{status:"fallback"};let b=v.options,w=null;try{let e=window.PublicKeyCredential.parseRequestOptionsFromJSON(b);w=await navigator.credentials.get({publicKey:e,uiMode:"immediate"})}catch{try{sessionStorage.setItem(c,"1")}catch{}return{status:"fallback"}}if(!w||"function"!=typeof w.toJSON)return{status:"fallback"};(0,n.trackSignInRequest)("passkey",e);let g=w.toJSON();try{r=await i.authClient.$fetch("/passkey/verify-authentication",{method:"POST",body:{response:g},signal:AbortSignal.timeout(15e3)})}catch{return{status:"fallback",errorCode:"AUTHENTICATION_FAILED"}}if(r.error||!r.data){let e=t(r.error??void 0);return{status:"fallback",errorCode:e&&s.has(e)?e:"AUTHENTICATION_FAILED"}}return sessionStorage.setItem("auth_method","passkey"),i.authClient.$store.notify("$sessionSignal"),window.dispatchEvent(new CustomEvent("passkey-signin")),{status:"signed-in"}}e.s(["clearImmediatePasskeySkip",0,function(){try{sessionStorage.removeItem(c)}catch{}},"prefetchImmediatePasskeyOptions",0,function(){u()||h()||(p=m())},"tryImmediatePasskeySignIn",0,function(e){return v||(v=b(e).finally(()=>{v=null}))}],184695)},516048,e=>{"use strict";var t=e.i(918178),r=e.i(682272),o=e.i(233190),a=e.i(322663);e.i(721632);var i=e.i(355334);e.i(889840);var n=e.i(301307),l=e.i(883394);let s={en:"English",de:"Deutsch",es:"Español",pt:"Português",hi:"हिन्दी",id:"Bahasa Indonesia",ja:"日本語",fr:"Français",sv:"Svenska",tr:"Türkçe",it:"Italiano",nl:"Nederlands",ar:"العربية",ko:"한국어",vi:"Tiếng Việt"},c={en:"🇺🇸",de:"🇩🇪",es:"🇪🇸",pt:"🇵🇹",hi:"🇮🇳",id:"🇮🇩",ja:"🇯🇵",fr:"🇫🇷",sv:"🇸🇪",tr:"🇹🇷",it:"🇮🇹",nl:"🇳🇱",ar:"🇸🇦",ko:"🇰🇷",vi:"🇻🇳"};e.s(["default",0,function({className:e=""}){let u,[d,f]=(0,r.useState)(!1),p=(0,o.usePathname)(),m=(0,o.useRouter)(),h=(0,n.useMutation)(l.api.users.updatePreferredLocale),v=(u=p.split("/").filter(Boolean)[0])&&a.locales.includes(u)?u:a.defaultLocale;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`relative ${e}`,children:(0,t.jsxs)("button",{onClick:()=>f(!0),className:"flex items-center gap-2 text-[var(--color-pickled-bluewood-200)] hover:text-[var(--color-pickled-bluewood-50)] transition-colors p-2 rounded-md hover:bg-[var(--color-pickled-bluewood-800)] cursor-pointer","aria-label":"Change language",children:[(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-5 h-5 flex-shrink-0",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"}),(0,t.jsx)("path",{d:"M2 12h20"})]}),(0,t.jsxs)("span",{className:"text-sm font-medium whitespace-nowrap",children:[s[v]," ",c[v]]})]})}),d&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",style:{backgroundColor:"rgba(0, 0, 0, 0.15)"},onClick:()=>f(!1),children:(0,t.jsxs)("div",{className:"bg-white dark:bg-[var(--color-pickled-bluewood-800)] rounded-lg shadow-xl w-80 max-w-[90vw] max-h-[85vh] flex flex-col border border-gray-200 dark:border-[var(--color-pickled-bluewood-700)]",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("div",{className:"p-6 pb-4 flex-shrink-0",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-gray-900 dark:text-[var(--color-pickled-bluewood-50)]",children:"Select Language"}),(0,t.jsx)("button",{onClick:()=>f(!1),className:"text-gray-400 hover:text-gray-600 dark:text-[var(--color-pickled-bluewood-300)] dark:hover:text-[var(--color-pickled-bluewood-100)] curs
1or-pointer","aria-label":"Close modal",children:(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-6 h-6",children:[(0,t.jsx)("path",{d:"M18 6L6 18"}),(0,t.jsx)("path",{d:"M6 6l12 12"})]})})]})}),(0,t.jsx)("div",{className:"px-6 pb-6 overflow-y-auto flex-1 overscroll-contain",children:(0,t.jsx)("div",{className:"space-y-2",children:a.locales.map(e=>(0,t.jsxs)("button",{onClick:()=>{let t,r,o,n;return o=(t=p.split("/").filter(Boolean))[0]&&(r=t[0],a.locales.includes(r)),n="",void(o?e===a.defaultLocale?n=`/${t.slice(1).join("/")}`:(t[0]=e,n=`/${t.join("/")}`):n=e!==a.defaultLocale?`/${e}${p}`:p,(""===n||"/"===n)&&(n=e===a.defaultLocale?"/":`/${e}`),(0,i.hasLocalSessionToken)()&&h({locale:e}).catch(e=>{}),m.push(n),f(!1))},className:`w-full flex items-center gap-3 p-3 rounded-md text-left transition-colors cursor-pointer ${e===v?"bg-blue-50 dark:bg-[var(--color-pickled-bluewood-700)] text-blue-700 dark:text-[var(--color-pickled-bluewood-100)]":"hover:bg-gray-50 dark:hover:bg-[var(--color-pickled-bluewood-700)] text-gray-700 dark:text-[var(--color-pickled-bluewood-200)]"}`,children:[(0,t.jsx)("span",{className:"text-2xl",children:c[e]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-medium",children:s[e]}),(0,t.jsx)("div",{className:"text-sm text-gray-500 dark:text-[var(--color-pickled-bluewood-400)]",children:e.toUpperCase()})]}),e===v&&(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-5 h-5 ml-auto text-blue-600 dark:text-[var(--color-pickled-bluewood-100)]",children:(0,t.jsx)("path",{d:"M20 6L9 17l-5-5"})})]},e))})})]})})]})},"languageNames",0,s])},338519,e=>{"use strict";var t=e.i(918178),r=e.i(682272);e.s(["default",0,function(){let[e,o]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{o(!0)},[]),e)?(0,t.jsx)("div",{id:"ncmp-consent-link",className:"mb-4 text-sm text-[var(--color-pickled-bluewood-200)] hover:text-[var(--color-pickled-bluewood-50)] transition-colors cursor-pointer"}):(0,t.jsx)("div",{className:"mb-4 h-5"})}])},387161,e=>{e.v(t=>Promise.all(["static/chunks/44rg7qmikhe62.js"].map(t=>e.l(t))).then(()=>t(63447)))},497567,e=>{e.v(t=>Promise.all(["static/chunks/2xb0-rs3_mro_.js"].map(t=>e.l(t))).then(()=>t(98871)))},449716,e=>{e.v(t=>Promise.all(["static/chunks/0jxor3z5qb4rr.js"].map(t=>e.l(t))).then(()=>t(836469)))}]);

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.