PageSourceSearch

https://3me.ai/_next/static/chunks/app/layout-d79cf26f4f6cc299.js?dpl=dpl_6rDb3C3JppAs9FMW13iTh9ZBG1Km

js 3me.ai collected 2026-10-05 12:56:25 UTC 11,644 bytes, 6 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{9097:(e,t,n)=>{"use strict";n.d(t,{Yt:()=>i,cn:()=>a});var r=n(98241),s=n(78574);function a(...e){return(0,s.QP)((0,r.$)(e))}function i(e){if(e instanceof Error||e&&"object"==typeof e&&"message"in e&&"string"==typeof e.message)return e.message;try{return JSON.stringify(e)}catch{return String(e)}}},11319:(e,t,n)=>{"use strict";n.d(t,{ExternalAnalytics:()=>p});var r=n(21342),s=n(90147),a=n(8406),i=n(78478),l=n(13733),o=n.n(l),c=n(24507),d=n(56035),u=n(9097);function m(){let e=(0,a.usePathname)(),[t,n]=(0,i.useState)("pending");if((0,i.useLayoutEffect)(()=>{let t=()=>n((0,c.l)(e)&&null===(0,d.LM)()?"visible":"hidden");if("function"==typeof window.requestIdleCallback){let e=window.requestIdleCallback(t,{timeout:2500});return()=>window.cancelIdleCallback(e)}let r=window.setTimeout(t,1500);return()=>window.clearTimeout(r)},[e]),!(0,c.l)(e)||"hidden"===t)return null;function s(e){(0,d.l4)(e),n("hidden")}return(0,r.jsx)("div",{role:"region","aria-live":"polite","aria-label":"Cookie notice","aria-hidden":"pending"===t,className:(0,u.cn)("fixed inset-x-0 bottom-0 z-50 border-t border-primary/10 bg-background px-4 py-3 transition-transform duration-300","pending"===t&&"pointer-events-none translate-y-full"),children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-4xl flex-wrap items-center justify-between gap-3 text-sm text-primary/80",children:[(0,r.jsxs)("p",{children:["We use optional cookies for analytics."," ",(0,r.jsx)(o(),{href:"/legal/privacy",className:"underline underline-offset-2",children:"Privacy"})]}),(0,r.jsxs)("div",{className:"flex shrink-0 gap-2",children:[(0,r.jsx)("button",{type:"button",onClick:()=>s("denied"),className:"rounded-md border border-primary/20 px-4 py-1.5 text-sm font-semibold text-primary/80",children:"Reject"}),(0,r.jsx)("button",{type:"button",onClick:()=>s("granted"),className:"rounded-md bg-primary px-4 py-1.5 text-sm font-semibold text-primary-foreground",children:"Accept"})]})]})})}function f({measurementId:e,pathname:t,search:n}){let a=(0,c.l)(t);return(0,i.useEffect)(()=>{if(!a)return;let e=!1,r=()=>{if(!e){if(window.gtag)return void(0,d.UA)(t,n||void 0);window.setTimeout(r,50)}};return r(),()=>{e=!0}},[a,t,n]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{src:`https://www.googletagmanager.com/gtag/js?id=${e}`,strategy:"afterInteractive"}),(0,r.jsx)(s.default,{id:"ga-init",strategy:"afterInteractive",children:`
2          window.dataLayer = window.dataLayer || [];
3          function gtag(){dataLayer.push(arguments);}
4          gtag('js', new Date());
5          gtag('config', '${e}', { send_page_view: false });
6        `})]})}function g(){let e=(0,a.usePathname)(),t=(0,a.useSearchParams)(),n=(0,d.U9)(),s=t.toString()?`?${t.toString()}`:"",[l,o]=(0,i.useState)(null);return((0,i.useEffect)(()=>{function e(){o((0,d.LM)())}return o((0,d.LM)()),window.addEventListener("storage",e),window.addEventListener("3me:analytics-consent",e),()=>{window.removeEventListener("storage",e),window.removeEventListener("3me:analytics-consent",e)}},[]),n&&"granted"===l&&(0,c.l)(e))?(0,r.jsx)(f,{measurementId:n,pathname:e,search:s}
6):null}function p(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m,{}),(0,r.jsx)(i.Suspense,{fallback:null,children:(0,r.jsx)(g,{})})]})}},24507:(e,t,n)=>{"use strict";function r(e){return!(!e||e.startsWith("/dashboard")||e.startsWith("/admin")||e.startsWith("/api")||e.startsWith("/debug")||e.startsWith("/canva-refine-snapshot-host")||e.startsWith("/onboarding")&&!s(e))&&!!("/"===e||e.startsWith("/l/")||e.startsWith("/waitlist")||e.startsWith("/legal/")||e.startsWith("/login")||e.startsWith("/signup")||e.startsWith("/reset-password")||e.startsWith("/update-password")||"/landing-v2"===e||s(e))}function s(e){return"/onboarding/media-upload"===e||e.startsWith("/onboarding/media-upload/")||"/onboarding/callback"===e||e.startsWith("/onboarding/callback/")}n.d(t,{l:()=>r})},26562:()=>{},30434:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var r=n(21342);n(78478);var s=n(9097);function a({checked:e,onCheckedChange:t,disabled:n,id:a,className:i,...l}){return(0,r.jsxs)("label",{htmlFor:a,className:(0,s.cn)("inline-flex h-5 w-9 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors","focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2",e?"bg-primary":"bg-input",n&&"cursor-not-allowed opacity-50",i),children:[(0,r.jsx)("input",{...l,id:a,type:"checkbox",role:"switch","aria-checked":e,checked:e,disabled:n,onChange:e=>t?.(e.target.checked),className:"sr-only"}),(0,r.jsx)("span",{className:(0,s.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform",e?"translate-x-4":"translate-x-0")})]})}},56035:(e,t,n)=>{"use strict";n.d(t,{LM:()=>i,U9:()=>a,UA:()=>c,c5:()=>d,l4:()=>l});var r=n(24507);let s="3me:analytics-consent";function a(){let e="G-E5WVX4NLZV".trim();return e&&/^G-[A-Z0-9]+$/i.test(e)?e:null}function i(){try{let e=localStorage.getItem(s);if("granted"===e||"denied"===e)return e;return null}catch{return null}}function l(e){try{localStorage.setItem(s,e),window.dispatchEvent(new Event("3me:analytics-consent"))}catch{}}function o(e){return!!a()&&"granted"===i()&&(0,r.l)(e)}function c(e,t){if(!window.gtag||!o(e))return;let n=t?`${e}${t.startsWith("?")?t:`?${t}`}`:e,r=a();r&&window.gtag("config",r,{page_path:n})}function d(e,t,n){if(!window.gtag||!o(t))return;let r={};if(n)for(let[e,t]of Object.entries(n))null!=t&&(r[e]=t);window.gtag("event",e,r)}},72522:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,26562,23)),Promise.resolve().then(n.bind(n,11319)),Promise.resolve().then(n.bind(n,95418)),Promise.resolve().then(n.bind(n,95012)),Promise.resolve().then(n.bind(n,86677)),Promise.resolve().then(n.t.bind(n,43063,23)),Promise.resolve().then(n.t.bind(n,72596,23))},85878:(e,t,n)=>{"use strict";n.d(t,{Bf:()=>i,a4:()=>o,rc:()=>l});let r="3me:signup-attribution",s=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],a=["gclid","fbclid","msclkid"];function i(){try{let e=sessionStorage.getItem(r);if(!e)return null;let t=JSON.parse(e);return t&&"object"==typeof t?t:null}catch{return null}}function l(e,t,n){let l=function(e,t,n){let r={landing_path:t||"/",referrer:n?.trim()||null,first_seen_at:new Date().toISOString(),click_ids:{}},i=!1;for(let t of s){let n=e.get(t)?.trim();n&&(r[t]=n,i=!0)}for(let t of a){let n=e.get(t)?.trim();n&&(r.click_ids[t]=n,i=!0)}return(r.referrer&&(i=!0),i||r.landing_path)?r:null}(new URLSearchParams(e.startsWith("?")?e.slice(1):e),t,n),o=function(e,t){if(!e)return{...t,first_seen_at:t.first_seen_at??new Date().toISOString(),landing_path:t.landing_path??"/",click_ids:t.click_ids??{}};let n={...t.click_ids??{},...e.click_ids??{}};return{landing_path:e.landing_path??t.landing_path??"/",referrer:e.referrer??t.referrer??null,first_seen_at:e.first_seen_at??t.first_seen_at??new Date().toISOString(),utm_source:e.utm_source??t.utm_source??null,utm_medium:e.utm_medium??t.utm_medium??null,utm_campaign:e.utm_campaign??t.utm_campaign??null,utm_term:e.utm_term??t.utm_term??null,utm_content:e.utm_content??t.utm_content??null,click_ids:n}}(i(),l??{landing_path:t||"/"});try{sessionStorage.setItem(r,JSON.stringify(o))}catch{}return o}
6function o(){try{sessionStorage.removeItem(r)}catch{}}},86677:(e,t,n)=>{"use strict";n.d(t,{ConditionalToaster:()=>l});var r=n(21342),s=n(93319),a=n(8406);let i=(0,s.default)(()=>Promise.all([n.e(93),n.e(8086)]).then(n.bind(n,18086)).then(e=>({default:e.Toaster})),{loadableGenerated:{webpack:()=>[18086]},ssr:!1});function l(){var e;return"/"===(e=(0,a.usePathname)())||e.startsWith("/legal/")||e.startsWith("/waitlist/")||e.startsWith("/l/")?null:(0,r.jsx)(i,{})}},95012:(e,t,n)=>{"use strict";n.d(t,{DevPlatformControlsBanner:()=>i});var r=n(21342),s=n(78478),a=n(30434);function i(){let[e,t]=(0,s.useState)(null),[n,i]=(0,s.useState)(null),[l,o]=(0,s.useState)(null),[c,d]=(0,s.useState)(null),u=(0,s.useCallback)(async()=>{try{let e=await fetch("/api/dev/platform-controls",{credentials:"include"});if(404===e.status)return void i("unavailable");let n=await e.json();t(n),i(null)}catch{i("fetch")}},[]);(0,s.useEffect)(()=>{u()},[u]);let m=async e=>{let n=await fetch("/api/dev/platform-controls",{method:"PATCH",credentials:"include",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}),r=await n.json().catch(()=>({}));if(!n.ok)throw Error(r.error||n.statusText);t(r)},f=async e=>{o("social"),d(null);try{await m({socialPostingLive:e})}catch(e){d(e instanceof Error?e.message:"Update failed")}finally{o(null)}},g=async e=>{o("content"),d(null);try{await m({contentPipelineAutomations:e})}catch(e){d(e instanceof Error?e.message:"Update failed")}finally{o(null)}};if("unavailable"===n)return null;let p=e?.authenticated===!0,h=!!e?.socialPostingLive,x=!!e?.contentPipelineAutomationsEnabled,w=e?.locks,b=!!e?.canToggleSocialFromDb,v=!!e?.canToggleContentFromDb;return(0,r.jsx)("div",{className:"sticky top-0 z-[100] border-b border-border bg-muted/95 px-3 py-2 text-foreground shadow-sm backdrop-blur-sm",role:"region","aria-label":"Development platform controls",children:(0,r.jsxs)("div",{className:"mx-auto flex max-w-6xl flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-6",children:[(0,r.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:"Dev platform"}),p?n?(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"Could not load controls. Refresh the page."}):(0,r.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:gap-8",children:[(0,r.jsxs)("label",{className:"flex cursor-pointer flex-wrap items-center gap-2 text-xs sm:text-sm",children:[(0,r.jsxs)("span",{className:"min-w-[10rem]",children:["Social posting (Ayrshare)"," ",(0,r.jsx)("span",{className:"font-medium text-foreground",children:h?"ON":"OFF"})]}),(0,r.jsx)(a.d,{id:"dev-social-posting",checked:h,disabled:!b||"social"===l,onCheckedChange:e=>void f(e)}),w?.schedulingLiveEnv?(0,r.jsxs)("span",{className:"max-w-xs text-[10px] leading-tight text-muted-foreground sm:text-xs",children:["Env ",(0,r.jsx)("code",{className:"rounded bg-background/80 px-1",children:"SCHEDULING_LIVE=true"})," locks live posting; unset to use toggle."]}):null]}),(0,r.jsxs)("label",{className:"flex cursor-pointer flex-wrap items-center gap-2 text-xs sm:text-sm",children:[(0,r.jsxs)("span",{className:"min-w-[10rem]",children:["Content pipeline"," ",(0,r.jsx)("span",{className:"font-medium text-foreground",children:x?"ON":"OFF"})]}),(0,r.jsx)(a.d,{id:"dev-content-pipeline",checked:x,disabled:!v||"content"===l,onCheckedChange:e=>void g(e)}),w?.contentPipelineEnvForcedOff?(0,r.jsxs)("span",{className:"max-w-xs text-[10px] leading-tight text-muted-foreground sm:text-xs",children:["Env ",(0,r.jsx)("code",{className:"rounded bg-background/80 px-1",children:"CONTENT_PIPELINE_AUTOMATIONS"})," forces off; unset to use toggle."]}):null]}),c?(0,r.jsx)("p",{className:"w-full text-xs text-destructive",children:c}):null]}):(0,r.jsx)("p",{className:"text-xs text-muted-foreground",children:"Sign in to toggle live social posting and the content creation pipeline (stored in `app_secrets`)."})]})})}},95418:(e,t,n)=>{"use strict";n.d(t,{SignupAttributionCapture:()=>i});var r=n(78478),s=n(8406),a=n(85878);
6function i(){let e=(0,s.usePathname)(),t=(0,s.useSearchParams)();return(0,r.useEffect)(()=>{let n=t.toString(),r=n?`?${n}`:"";(0,a.rc)(r,e,document.referrer||null)},[e,t]),null}}},e=>{e.O(0,[9369,4230,3646,3733,8591,7988,7134,7358],()=>e(e.s=72522)),_N_E=e.O()}]);

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.