1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88653,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(31178),o=e.i(47414),i=e.i(74008),a=e.i(21476),u=e.i(72846),s=r,l=e.i(37806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=(0,u.isHTMLElement)(e)&&e.offsetWidth||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=r-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n,anchorX:o,root:i}){let a=(0,s.useId)(),u=(0,s.useRef)(null),p=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:h}=(0,s.useContext)(l.MotionConfigContext),m=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=c(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():c(e[t],null)}}}}(...e),e)}(u,e.props?.ref??e?.ref);return(0,s.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:s,right:l}=p.current;if(n||!u.current||!e||!t)return;let c="left"===o?`left: ${s}`:`right: ${l}`;u.current.dataset.motionPopId=a;let f=document.createElement("style");h&&(f.nonce=h);let d=i??document.head;return d.appendChild(f),f.sheet&&f.sheet.insertRule(` 2 [data-motion-pop-id="${a}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${c}px !important; 7 top: ${r}px !important; 8 } 9 `),()=>{d.contains(f)&&d.removeChild(f)}},[n]),(0,t.jsx)(f,{isPresent:n,childRef:u,sizeRef:p,children:s.cloneElement(e,{ref:m})})}let p=({children:e,initial:n,isPresent:i,onExitComplete:u,custom:s,presenceAffectsLayout:l,mode:c,anchorX:f,root:p})=>{let m=(0,o.useConstant)(h),g=(0,r.useId)(),y=!0,v=(0,r.useMemo)(()=>(y=!1,{id:g,initial:n,isPresent:i,custom:s,onExitComplete:e=>
9{for(let t of(m.set(e,!0),m.values()))if(!t)return;u&&u()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[i,m,u]);return l&&y&&(v={...v}),(0,r.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[i]),r.useEffect(()=>{i||m.size||!u||u()},[i]),"popLayout"===c&&(e=(0,t.jsx)(d,{isPresent:i,anchorX:f,root:p,children:e})),(0,t.jsx)(a.PresenceContext.Provider,{value:v,children:e})};function h(){return new Map}var m=e.i(64978);let g=e=>e.key||"";function y(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:a,initial:u=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:f=!1,anchorX:d="left",root:h})=>{let[v,b]=(0,m.usePresence)(f),w=(0,r.useMemo)(()=>y(e),[e]),C=f&&!v?[]:w.map(g),P=(0,r.useRef)(!0),S=(0,r.useRef)(w),k=(0,o.useConstant)(()=>new Map),x=(0,r.useRef)(new Set),[_,E]=(0,r.useState)(w),[j,R]=(0,r.useState)(w);(0,i.useIsomorphicLayoutEffect)(()=>{P.current=!1,S.current=w;for(let e=0;e<j.length;e++){let t=g(j[e]);C.includes(t)?(k.delete(t),x.current.delete(t)):!0!==k.get(t)&&k.set(t,!1)}},[j,C.length,C.join("-")]);let A=[];if(w!==_){let e=[...w];for(let t=0;t<j.length;t++){let r=j[t],n=g(r);C.includes(n)||(e.splice(t,0,r),A.push(r))}return"wait"===c&&A.length&&(e=A),R(y(e)),E(w),null}let{forceRender:O}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:j.map(e=>{let r=g(e),n=(!f||!!v)&&(w===j||C.includes(r));return(0,t.jsx)(p,{isPresent:n,initial:(!P.current||!!u)&&void 0,custom:a,presenceAffectsLayout:l,mode:c,root:h,onExitComplete:n?void 0:()=>{if(x.current.has(r)||(x.current.add(r),!k.has(r)))return;k.set(r,!0);let e=!0;k.forEach(t=>{t||(e=!1)}),e&&(O?.(),R(S.current),f&&b?.(),s&&s())},anchorX:d,children:e},r)})})}],88653)},75254,e=>{"use strict";var t=e.i(71645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)(({color:e="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:a,className:u="",children:s,iconNode:l,...c},f)=>(0,t.createElement)("svg",{ref:f,...n,width:o,height:o,stroke:e,strokeWidth:a?24*Number(i)/Number(o):i,className:r("lucide",u),...c},[...l.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,n)=>{let i=(0,t.forwardRef)(({className:i,...a},u)=>(0,t.createElement)(o,{ref:u,iconNode:n,className:r(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,i),...a}
9));return i.displayName=`${e}`,i}],75254)},17923,e=>{"use strict";let t=(0,e.i(75254).default)("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);e.s(["BarChart3",0,t],17923)},20278,e=>{"use strict";let t=(0,e.i(75254).default)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);e.s(["Target",0,t],20278)},37727,e=>{"use strict";let t=(0,e.i(75254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},22016,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809),a=e.r(43476),u=i._(e.r(71645)),s=e.r(95057),l=e.r(8372),c=e.r(18581),f=e.r(18967),d=e.r(5550),p=e.r(88540),h=e.r(91949),m=e.r(73668),g=e.r(9396);function y(t){var r;let n,o,i,[y,b]=(0,u.useOptimistic)(h.IDLE_LINK_STATUS),w=(0,u.useRef)(null),{href:C,as:P,children:S,prefetch:k=null,passHref:x,replace:_,shallow:E,scroll:j,onClick:R,onMouseEnter:A,onTouchStart:O,legacyBehavior:T=!1,onNavigate:M,transitionTypes:N,ref:$,unstable_dynamicOnHover:L,...I}=t;n=S,T&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let U=u.default.useContext(l.AppRouterContext),D=!1!==k,B=!1===k?"none":!0===k?"full":"auto",z="none"!==B?"auto"===B?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,F="string"==typeof(r=P||C)?r:(0,s.formatUrl)(r);if(T){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=u.default.Children.only(n)}let W=T?o&&"object"==typeof o&&o.ref:$,K,J=u.default.useCallback(e=>(null!==U&&(w.current=(0,h.mountLinkInstance)(e,F,U,z,D,b,K)),()=>{w.current&&((0,h.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,h.unmountPrefetchableInstance)(e)}),[D,F,U,z,b,K]),V={ref:(0,c.useMergedRef)(J,W),onClick(t){T||"function"!=typeof R||R(t),T&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,o,i,a,s,l="none"){if("u">typeof window){let c,{nodeName:f}=t.currentTarget;if("A"===f.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);u.default.startTransition(()=>{d(r,o?"replace":"push",!1===i?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,s,l)})}}(t,F,w,_,j,M,N,B)},onMouseEnter(e){T||"function"!=typeof A||A(e),T&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),U&&D&&(0,h.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){T||"function"!=typeof O||O(e),T&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),U&&D&&(0,h.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,f.isAbsoluteUrl)(F)?V.href=F:T&&!x&&("a"!==o.type||"href"in o.props)||(V.href=(0,d.addBasePath)(F)),i=T?u.default.cloneElement(o,V):(0,a.jsx)("a",{...I,...V,children:n}),(0,a.jsx)(v.Provider,{value:y,children:i})}let v=(0,u.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18581,(e,t,r)=>{"use strict";
9Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=i(e,n)),t&&(o.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return i}});let n=e.r(18967),o=e.r(52817);function i(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return u}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function i(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function a(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function u(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,a(e));else t.set(r,a(n));return t}function s(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return u},formatWithValidation:function(){return l},urlObjectKeys:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=e.r(90809)._(e.r(98183)),a=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",u=e.hash||"",s=e.query||"",l=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?l=t+e.host:r&&(l=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(l+=":"+e.port)),s&&"object"==typeof s&&(s=String(i.urlQueryToSearchParams(s)));let c=e.search||s&&`?${s}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||a.test(n))&&!1!==l?(l="//"+(l||""),o&&"/"!==o[0]&&(o="/"+o)):l||(l=""),u&&"#"!==u[0]&&(u="#"+u),c&&"?"!==c[0]&&(c="?"+c),o=o.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${l}${o}${c}${u}`}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return u(e)}},18967,(e,t,r)=>{"use strict";e.i(47167),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return C},MissingStaticPage:function(){return w},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return i},execOnce:function(){return a},getDisplayName:function(){return f},getLocationOrigin:function(){return l},getURL:function(){return c},isAbsoluteUrl:function(){return s},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function a(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&u.test(e)};function l(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=l();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&d(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}
9" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class v extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class w extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class C extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},18566,(e,t,r)=>{t.exports=e.r(76562)},59544,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(75157);let o=r.forwardRef(({className:e,variant:r="default",size:o="default",...i},a)=>(0,t.jsx)("button",{ref:a,className:(0,n.cn)("inline-flex items-center justify-center rounded-lg text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background",{"bg-primary text-primary-foreground hover:bg-primary/90":"default"===r,"border border-input bg-background hover:bg-accent hover:text-accent-foreground text-foreground":"outline"===r,"hover:bg-accent hover:text-accent-foreground":"ghost"===r,"text-primary underline-offset-4 hover:underline":"link"===r,"bg-white text-black hover:bg-gray-200":"white"===r,"h-10 py-2 px-4":"default"===o,"h-9 px-3 rounded-md":"sm"===o,"h-11 px-8 rounded-md":"lg"===o,"h-10 w-10":"icon"===o},e),...i}));o.displayName="Button",e.s(["Button",0,o])},77192,2725,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n={functional:"functional",googleAnalytics:"google-analytics",hubspot:"hubspot"};function o(e){let t=!!e[n.googleAnalytics],r=!!e[n.hubspot],o=e=>e?"granted":"denied";window.dataLayer=window.dataLayer||[],window.gtag=window.gtag||function(...e){window.dataLayer?.push(e)},window.gtag("consent","update",{analytics_storage:o(t),ad_storage:o(r),ad_user_data:o(r),ad_personalization:o(r)})}let i={version:1,elementID:"froomle-klaro",storageMethod:"cookie",storageName:"froomle_consent",cookieName:"froomle_consent",cookieExpiresAfterDays:365,default:!1,acceptAll:!0,hideDeclineAll:!1,groupByPurpose:!0,htmlTexts:!1,mustConsent:!1,noticeAsModal:!1,styling:{theme:["dark","bottom","wide"]},translations:{en:{privacyPolicyUrl:"/privacy",consentModal:{title:"Cookie preferences",description:"Manage which services may store or access information on this device."},consentNotice:{description:"We use optional services for analytics, marketing, and site preferences. You can accept all, reject all, or choose what to enable.",learnMore:"Preferences"},purposes:{functional:{title:"Functional",description:"Stores preferences and chat state so the site can remember your choices."},analytics:{title:"Analytics",description:"Helps us understand how visitors use the site and improve it."},marketing:{title:"Marketing",description:"Helps us measure campaigns and recognize returning contacts."}}}},services:[{name:n.functional,title:"Functional preferences",purposes:["functional"],cookies:["froomle_location","froomle_chat_thread_ts","froomle_chat_last_activity_at","froomle_chat_user_email"]},{name:n.googleAnalytics,title:"Google Analytics",purposes:["analytics"],cookies:[/^_ga.*$/,"_gid","_gat"],onlyOnce:!0},{name:n.hubspot,title:"HubSpot",purposes:["analytics","marketing"],cookies:["hubspotutk",/^__hst.*$/,"__hssc","__hssrc","__hstc",/^messagesUtk$/],onlyOnce:!0}]};e.s(["KLARO_SERVICE_NAMES",0,n,"klaroConfig",0,i,"updateGoogleConsentMode",0,o],2725);let a=(0,r.createContext)(void 0),u={necessary:!0,functional:!1,analytics:!1,marketing:!1},s="froomle_consent";function l(e){if(!e)return;let t=function(e){try{return decodeURIComponent(e)}catch{return e}}(e),r=function(e){try{return JSON.parse(e)}catch{return}}(t);return void 0===r?t:r}function c(e){return{necessary:!0,functional:e>=1,analytics:e>=2,marketing:e>=2}}function f(e){let t=l(e);return"number"==typeof t?c(t):"string"==typeof t&&/^[0-2]$/.test(t)?c(Number(t)):t&&"object"==typeof t&&("analytics"in t||"marketing"in t)?{necessary:!0,functional:!!t.functional,analytics:!!t.analytics,marketing:!!t.marketing}:null}function d(e,t,r){e.updateConsent(n.functional,!!t.functional),e.updateConsent(n.googleAnalytics,!!t.analytics),e.updateConsent(n.hubspot,!!(t.analytics||t.marketing)),e.saveAndApplyConsents(r)}e.s(["ConsentProvider",0,function({children:c}){let[p,h]=(0,r.useState)(u),[m,g]=(0,r.useState)(!1),[y,v]=(0,r.useState)(!1),[b,w]=(0,r.useState)({[n.functional]:!1,[n.googleAnalytics]:!1,[n.hubspot]:!1}),C=(0,r.useRef)(null),P=(0,r.useRef)(null),S=(0,r.useCallback)(e=>{let t,r,i,a,u=e.confirmed,s={[n.functional]:u&&e.getConsent(n.functional),[n.googleAnalytics]:u&&e.getConsent(n.googleAnalytics),[n.hubspot]:u&&e.getConsent(n.hubspot)}
9;w(s),h((r=(t=e.confirmed)&&e.getConsent(n.functional),i=t&&e.getConsent(n.googleAnalytics),a=t&&e.getConsent(n.hubspot),{necessary:!0,functional:r,analytics:i||a,marketing:a})),g(u),o(s)},[]);return(0,r.useEffect)(()=>{let t=null;return(async()=>{let r=await e.A(88166),n="default"in r?r.default:r;window.klaro=n,C.current=n;let o=function(){let e,t=window.localStorage.getItem(s),r=function(e){if("u"<typeof document)return null;let t=`${e}=`,r=document.cookie.split(";").map(e=>e.trim()).find(e=>e.startsWith(t));return r?r.slice(t.length):null}(s),n=f(t)||f(r);return t&&window.localStorage.removeItem(s),r&&(n||!(e=l(r))||"object"!=typeof e)&&("u"<typeof document||(document.cookie=`${s}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; SameSite=Lax`)),n}(),a=n.getManager(i);P.current=a,o&&d(a,o,"migration"),t={update:()=>S(a)},a.watch(t),S(a)})().catch(e=>{console.error("Failed to initialize Klaro consent manager",e)}),()=>{t&&P.current&&P.current.unwatch(t)}},[S]),(0,t.jsx)(a.Provider,{value:{consent:p,hasMadeChoice:m,acceptAll:()=>{let e=P.current;e&&(e.changeAll(!0),e.saveAndApplyConsents("acceptAll"))},savePreferences:e=>{let t=P.current;t&&(d(t,e,"save"),v(!1))},resetConsent:()=>{let e=P.current;e&&e.resetConsents()},openPreferences:()=>{v(!0)},closePreferences:()=>v(!1),isPreferencesOpen:y,hasServiceConsent:e=>b[e]},children:c})},"useConsent",0,()=>{let e=(0,r.useContext)(a);if(!e)throw Error("useConsent must be used within ConsentProvider");return e}],77192)},58245,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566);let o=(0,r.createContext)(void 0);e.s(["IndustryProvider",0,function({children:e}){let[i,a]=(0,r.useState)("news"),u=(0,n.usePathname)(),s=u?.startsWith("/media")?"news":u?.startsWith("/commerce")?"e-commerce":null;return(0,t.jsx)(o.Provider,{value:{industry:s||i,setIndustry:a},children:e})},"useIndustry",0,function(){let e=(0,r.useContext)(o);if(void 0===e)throw Error("useIndustry must be used within an IndustryProvider");return e}])},86323,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(18566),o=e.i(77192),i=e.i(95564),a=e.i(2725),u=e.i(63580);let s=(0,r.createContext)(void 0),l=[3e3,1e4,3e4,6e4];function c(e){if("u"<typeof document)return null;let t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length&&t.pop()?.split(";").shift()||null}e.s(["SessionProvider",0,function({children:e}){let f=(0,n.usePathname)(),d=(0,i.useRemoteServicesEnabled)(),{consent:p,hasServiceConsent:h}=(0,o.useConsent)(),m=h(a.KLARO_SERVICE_NAMES.hubspot),[g,y]=(0,r.useState)({journey:[],timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,startTime:Date.now()}),v=(0,r.useRef)(null),b=(0,r.useRef)(Date.now()),w=(0,r.useRef)(!1),C=(0,r.useRef)(!1),P=(0,r.useRef)(0),S=(0,r.useRef)([]),k=(0,r.useRef)(null),x=(0,r.useRef)(!1),[_,E]=(0,r.useState)(0),[j,R]=(0,r.useState)(0),[A,O]=(0,r.useState)(null),T=(0,u.isPrivateBillingPath)(f),M=m&&d&&!T,N=(0,r.useCallback)(async e=>{if(x.current)return;let t=c("hubspotutk");if(t){x.current=!0;try{for(;S.current.length>0;){let r=S.current[0],n=await fetch("/api/track-hubspot/page-view",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({utk:t,threadTs:e,path:r})});if(!n.ok)break;let o=await n.json();if(!0!==o.replySent){if(!0===o.excluded||!1===o.recognized){S.current.shift();continue}break}S.current.shift()}}catch(e){console.error("Slack page-view sync failed:",e)}finally{x.current=!1}}},[]);return(0,r.useEffect)(()=>{if(p.functional||p.analytics){let e=localStorage.getItem("froomle_location");if(e)try{let t=JSON.parse(e);y(e=>({...e,location:t}))}catch{}}},[p.functional,p.analytics]),(0,r.useEffect)(()=>{let e=Date.now(),t=Math.max(0,Math.round((e-b.current)/1e3));if(v.current&&!(0,u.isPrivateBillingPath)(v.current)){let r=v.current;y(n=>n.journey.find(e=>e.path===r)?{...n,journey:n.journey.map(e=>e.path===r?{...e,duration:e.duration+t}:e)}:{...n,journey:[...n.journey,{path:r,duration:t,timestamp:e}]})}v.current=f,b.current=e},[f]),(0,r.useEffect)(()=>{if(!M){S.current=[],k.current=null;return}k.current!==f&&(k.current=f,S.current.push(f),R(e=>e+1))},[f,M]),(0,r.useEffect)(()=>{M&&A&&N(A)},[N,j,A,M]),(0,r.useEffect)(()=>{let e;if(!M)return;let t=!1,r=setTimeout(async()=>
9{if(C.current)return;C.current=!0;let r=c("hubspotutk")||null,n=!w.current;try{let o=await fetch("/api/track-hubspot",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({utk:r,session:g,isInitial:n,path:f})});if(o.ok){let r=await o.json(),i=!n||!0===r.notificationSent||!0===r.excluded;if(!0===r.recognized&&i)w.current=!0,P.current=0,"string"==typeof r.threadTs&&O(r.threadTs);else if(!t&&n&&P.current<l.length){let t=l[P.current];P.current+=1,e=window.setTimeout(()=>{E(e=>e+1)},t)}r.location&&!g.location&&(y(e=>({...e,location:r.location})),(p.functional||m)&&localStorage.setItem("froomle_location",JSON.stringify(r.location)))}}catch(e){console.error("HubSpot sync failed:",e)}finally{C.current=!1}},2e3);return()=>{t=!0,clearTimeout(r),void 0!==e&&clearTimeout(e)}},[g,p.functional,m,f,_,d,M]),(0,t.jsx)(s.Provider,{value:{session:g,trackDownload:e=>{y(t=>({...t,journey:[...t.journey,{path:`DOWNLOAD: ${e}`,duration:0,timestamp:Date.now()}]}))}},children:e})},"useSession",0,()=>{let e=(0,r.useContext)(s);if(!e)throw Error("useSession must be used within SessionProvider");return e}])},95564,e=>{"use strict";e.i(47167);var t=e.i(71645);let r=new Set(["localhost","127.0.0.1","::1","[::1]"]);function n(){return()=>void 0}function o(){return!r.has(window.location.hostname)}function i(){return!1}e.s(["useRemoteServicesEnabled",0,function(){return(0,t.useSyncExternalStore)(n,o,i)}])},63580,e=>{"use strict";let t=["/billing","/internal/billing"];e.s(["isPrivateBillingPath",0,function(e){let r=e.split(/[?#]/,1)[0].replace(/\/+$/,"")||"/";return t.some(e=>r===e||r.startsWith(`${e}/`))}])}]);
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.