PageSourceSearch

https://www.getmantle.ai/_next/static/chunks/app/layout-b33214b89a…?dpl=dpl_CP2g479UyQvHPZAi8bZaoFSxue9u

js getmantle.ai collected 2026-10-05 14:30:33 UTC 8,735 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{50408:function(t,e,n){Promise.resolve().then(n.t.bind(n,47960,23)),Promise.resolve().then(n.bind(n,47099)),Promise.resolve().then(n.bind(n,7663)),Promise.resolve().then(n.bind(n,34873)),Promise.resolve().then(n.bind(n,15454)),Promise.resolve().then(n.bind(n,1381)),Promise.resolve().then(n.bind(n,67679)),Promise.resolve().then(n.bind(n,91265)),Promise.resolve().then(n.bind(n,82711)),Promise.resolve().then(n.bind(n,26430)),Promise.resolve().then(n.t.bind(n,19721,23)),Promise.resolve().then(n.t.bind(n,3529,23))},47099:function(t,e,n){"use strict";n.d(e,{AmplitudeInit:function(){return d}});var r=n(2265),i=n(40661),a=n(60070),o=n(87727),c=n(2567),s=n(92410),l=n(40257);try{(0,o.OZ)()}catch(t){console.error("[Amplitude] eager attribution capture failed:",t)}try{(0,c.c1)()}catch(t){console.error("[Amplitude] eager ad-param capture failed:",t)}let u=!1,f={done:!1};function d(){return(0,r.useEffect)(()=>{var t,e,n;if(u||("localhost"===(e=t=window.location.hostname)||"127.0.0.1"===e||"[::1]"===e||"::1"===e||"0.0.0.0"===e||e.endsWith(".local")||"vercel.app"===(n=t)||n.endsWith(".vercel.app"))&&"true"!==l.env.NEXT_PUBLIC_AMPLITUDE_LOCAL||(0,s.f)(window.location.pathname))return;u=!0;let r=l.env.NEXT_PUBLIC_AMPLITUDE_KEY||"a7a3dfd9ffb916677c880a043a7e9521",d=(0,a.kG)({sampleRate:1});i.IH(d),i.IH({name:"mantle-ad-attribution",type:"enrichment",setup:async()=>void 0,execute:async t=>(function(t){try{let e=(0,c.x1)();if(Object.keys(e).length>0&&(t.event_properties={...t.event_properties||{},...e}),!f.done&&!t.user_properties){let e=(0,o.Jg)();e&&(t.user_properties=e,f.done=!0)}}catch(t){}return t})(t)});let m=i.S1(r,void 0,{autocapture:{sessions:!0,pageViews:!0,elementInteractions:!0,formInteractions:!0,webVitals:!0,attribution:!1}});Promise.resolve((null==m?void 0:m.promise)||m).then(()=>(0,o.NL)()).catch(()=>(0,o.NL)())},[]),null}},7663:function(t,e,n){"use strict";n.d(e,{GoogleAds:function(){return u}});var r=n(57437),i=n(2265),a=n(48667),o=n(69320),c=n(92410),s=n(40257);let l="AW-18219786777";function u(){let[t,e]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{(0,o.g)(window.location.hostname,s.env.NEXT_PUBLIC_GOOGLE_ADS_LOCAL)&&!(0,c.f)(window.location.pathname)&&e(!0)},[]),t)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.default,{src:"https://www.googletagmanager.com/gtag/js?id=".concat(l),strategy:"afterInteractive"}),(0,r.jsx)(a.default,{id:"google-ads-init",strategy:"afterInteractive",children:"\n          window.dataLayer = window.dataLayer || [];\n          function gtag(){dataLayer.push(arguments);}\n          gtag('js', new Date());\n          gtag('config', '".concat(l,"');\n        ")})]}):null}},34873:function(t,e,n){"use strict";n.d(e,{Providers:function(){return a}});var r=n(57437),i=n(89534);function a(t){let{children:e}=t;return(0,r.jsx)(i.V,{children:e})}},89534:function(t,e,n){"use strict";n.d(e,{V:function(){return s},p:function(){return l}});var r=n(57437),i=n(57586),a=n(7053),o=n(2265);let c=(0,o.createContext)(null);function s(t){let{children:e}=t,[n,i]=(0,o.useState)([]),a=(0,o.useCallback)(t=>{let e=Math.random().toString(36).slice(2);i(n=>[...n,{...t,id:e}]),setTimeout(()=>{i(t=>t.filter(t=>t.id!==e))},t.duration||4e3)},[]),s=(0,o.useCallback)(t=>{i(e=>e.filter(e=>e.id!==t))},[]),l=(0,o.useCallback)(t=>a({type:"success",message:t}),[a]),f=(0,o.useCallback)(t=>a({type:"error",message:t}),[a]),d=(0,o.useCallback)(t=>a({type:"info",message:t}),[a]),m=(0,o.useCallback)(t=>a({type:"warning",message:t}),[a]);return(0,r.jsxs)(c.Provider,{value:{toasts:n,addToast:a,removeToast:s,success:l,error:f,info:d,warning:m},children:[e,(0,r.jsx)(u,{toasts:n,removeToast:s})]})}function l(){let t=(0,o.useContext)(c);if(!t)throw Error("useToast must be used within ToastProvider");return t}function u(t){let{toasts:e,removeToast:n}=t;return(0,r.jsx)("div",{className:"fixed bottom-4 right-4 z-50 space-y-2",children:(0,r.jsx)(i.M,{children:e.map(t=>(0,r.jsx)(f,{toast:t,onClose:()=>n(t.id)},t.id))})})}function f(t){let{toast:e,onClose:n}=t;return(0,r.jsxs)(a.E.div,{initial:{opacity:0,x:100,scale:.9}
1,animate:{opacity:1,x:0,scale:1},exit:{opacity:0,x:100,scale:.9},className:"\n        ".concat({success:"bg-accent-sage/10 border-accent-sage/30 text-accent-sage",error:"bg-red-50 border-red-200 text-red-700",info:"bg-white border-warm-200 text-warm-700",warning:"bg-amber-50 border-amber-200 text-amber-800"}[e.type],"\n        px-4 py-3 rounded-xl border backdrop-blur-sm\n        flex items-center gap-3 min-w-[280px] max-w-[400px]\n        shadow-lg\n      "),children:[(0,r.jsx)("span",{className:"text-lg",children:{success:"✓",error:"✕",info:"ℹ",warning:"⚠"}[e.type]}),(0,r.jsx)("span",{className:"flex-1 text-sm",children:e.message}),(0,r.jsx)("button",{onClick:n,className:"text-current opacity-60 hover:opacity-100 transition-opacity",children:"✕"})]})}},2567:function(t,e,n){"use strict";n.d(e,{c1:function(){return c},rC:function(){return s},uQ:function(){return a},x1:function(){return o}});let r=["gclid","gbraid","wbraid","msclkid","fbclid","ttclid","twclid","h","s","sl","utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id"],i="mantle_attribution";function a(t,e){let n=null!=t?t:window.location.search,r=null!=e?e:window.location.hash,i=new URLSearchParams(n),a=r.indexOf("?");
1if(-1!==a)try{new URLSearchParams(r.slice(a+1)).forEach((t,e)=>{i.has(e)||i.set(e,t)})}catch(t){}return i}function o(){try{var t;let e=null===(t=window.sessionStorage)||void 0===t?void 0:t.getItem(i);if(!e)return{};let n=JSON.parse(e);if(!n||"object"!=typeof n||Array.isArray(n))return{};let r={};for(let[t,e]of Object.entries(n))"string"==typeof e&&e&&(r[t]=e);return r}catch(t){return{}}}function c(t,e){try{var n;let c=a(t,e),s=o(),l=!1;for(let t of r){let e=c.get(t);e&&!s[t]&&(s[t]=e,l=!0)}return l&&(null===(n=window.sessionStorage)||void 0===n||n.setItem(i,JSON.stringify(s))),s}catch(t){return{}}}function s(t,e){let n=null!=e?e:o(),r=Object.keys(n);if(0===r.length)return t;try{let e=window.location.origin,i=new URL(t,e);for(let t of r)i.searchParams.has(t)||i.searchParams.set(t,n[t]);return i.pathname+i.search+i.hash}catch(e){return t}}},69320:function(t,e,n){"use strict";function r(t,e){return"getmantle.ai"===t||"www.getmantle.ai"===t||"true"===e}n.d(e,{g:function(){return r}})},87727:function(t,e,n){"use strict";n.d(e,{Jg:function(){return d},NL:function(){return f},OZ:function(){return u},mQ:function(){return m}});var r=n(95828),i=n(40661),a=n(2567);let o="mantle.attribution.v1",c=["gclid","gbraid","wbraid","msclkid","fbclid","ttclid","twclid"],s=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","utm_id"];function l(){try{let t=localStorage.getItem(o);if(!t)return null;let e=JSON.parse(t);if(!e||"object"!=typeof e)return null;return{initial:e.initial||{},last:e.last||{},firstTouchAt:e.firstTouchAt||new Date().toISOString(),lastTouchAt:e.lastTouchAt||new Date().toISOString()}}catch(t){return null}}function u(){try{let t=new URL(window.location.href),e=(0,a.uQ)(t.search,t.hash),n=l()||{initial:{},last:{},firstTouchAt:new Date().toISOString(),lastTouchAt:new Date().toISOString()},r=0===Object.keys(n.initial).length,i=new Date().toISOString(),u=!1;for(let t of c){let r=e.get(t);if(!r)continue;n.last[t]!==r&&(n.last[t]=r,u=!0);let i="initial_".concat(t);n.initial[i]||(n.initial[i]=r,u=!0)}for(let t of s){let r=e.get(t);if(!r)continue;n.last[t]!==r&&(n.last[t]=r,u=!0);let i="initial_".concat(t);n.initial[i]||(n.initial[i]=r,u=!0)}r&&(document.referrer&&!n.initial.initial_referrer&&(n.initial.initial_referrer=document.referrer,u=!0),n.initial.initial_landing_path||(n.initial.initial_landing_path=t.pathname+t.search,u=!0)),u&&(n.lastTouchAt=i,function(t){try{localStorage.setItem(o,JSON.stringify(t))}catch(t){}}(n))}catch(t){console.error("[Attribution] capture failed:",t)}}function f(){let t=l();if(t&&(0!==Object.keys(t.initial).length||0!==Object.keys(t.last).length))try{let e=new r.h2,n=!1;for(let[r,i]of Object.entries(t.initial))i&&(e.setOnce(r,i),n=!0);for(let[r,i]of Object.entries(t.last))i&&(e.set(r,i),n=!0);n&&i.yV(e)}catch(t){console.error("[Attribution] apply failed:",t)}}function d(){let t=l();if(!t)return null;let e={};for(let[n,r]of Object.entries(t.initial))r&&(e[n]=r);for(let[n,r]of Object.entries(t.last))r&&(e[n]=r);return Object.keys(e).length>0?e:null}function m(){return l()}},92410:function(t,e,n){"use strict";n.d(e,{f:function(){return i}});let r=["/feedback","/dashboard/admin/feedback"];function i(t){return r.some(e=>t===e||t.startsWith("".concat(e,"/")))}},47960:function(){}},function(t){t.O(0,[3587,2860,661,7053,4353,3152,9008,2971,2117,1744],function(){return t(t.s=50408)}),_N_E=t.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.