1import{i as e,n as t,r as n,t as r}from"./jsx-runtime-Cltr0gcK.js";var i=n((e=>{var n=t();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.8`})),a=n(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=i()}));function o(e){return e[e.length-1]}function s(e){return typeof e==`function`}function c(e,t){return s(e)?e(t):e}var l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;function d(e){for(let t in e)if(l.call(e,t))return!0;return!1}var f=()=>Object.create(null),p=(e,t)=>m(e,t,f);function m(e,t,n=()=>({}),r=0){if(e===t)return e;if(r>500)return t;let i=t,a=v(e)&&v(i);if(!a&&!(g(e)&&g(i)))return i;let o=a?e:h(e);if(!o)return i;let s=a?i:h(i);if(!s)return i;let c=o.length,u=s.length,d=a?Array(u):n(),f=0;for(let t=0;t<u;t++){let o=a?t:s[t],u=e[o],p=i[o];if(u===p){d[o]=u,(a?t<c:l.call(e,o))&&f++;continue}if(u===null||p===null||typeof u!=`object`||typeof p!=`object`){d[o]=p;continue}let h=m(u,p,n,r+1);d[o]=h,h===u&&f++}return c===u&&f===c?e:d}function h(e){let t=Object.getOwnPropertyNames(e);for(let n of t)if(!u.call(e,n))return!1;let n=Object.getOwnPropertySymbols(e);if(n.length===0)return t;let r=t;for(let t of n){if(!u.call(e,t))return!1;r.push(t)}return r}function g(e){if(!_(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!_(n)||!n.hasOwnProperty(`isPrototypeOf`))}function _(e){return Object.prototype.toString.call(e)===`[object Object]`}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function y(e,t,n){if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!y(e[r],t[r],n))return!1;return!0}if(g(e)&&g(t)){let r=n?.ignoreUndefined??!0;if(n?.partial){for(let i in t)if((!r||t[i]!==void 0)&&!y(e[i],t[i],n))return!1;return!0}let i=0;if(!r)i=Object.keys(e).length;else for(let t in e)e[t]!==void 0&&i++;let a=0;for(let o in t)if((!r||t[o]!==void 0)&&(a++,a>i||!y(e[o],t[o],n)))return!1;return i===a}return!1}function b(e){let t,n,r=new Promise((e,r)=>{t=e,n=r});return r.status=`pending`,r.resolve=n=>{r.status=`resolved`,r.value=n,t(n),e?.(n)},r.reject=e=>{r.status=`rejected`,n(e)},r}function x(e){return typeof e?.message==`string`?e.message.startsWith(`Failed to fetch dynamically imported module`)||e.message.startsWith(`error loading dynamically imported module`)||e.message.startsWith(`Importing a module script failed`):!1}function S(e){return!!(e&&typeof e==`object`&&typeof e.then==`function`)}var ee=/[\x00-\x1f\x7f"<>`{}]/g;function C(e){return e.replace(ee,e=>`%`+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,`0`))}function w(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,e=>{try{return decodeURI(e)}catch{return e}})}return C(t)}var T=[`http:`,`https:`,`mailto:`,`tel:`];function te(e,t){if(!e)return!1;try{let n=new URL(e);return!t.has(n.protocol)}catch{return!1}}var E={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},ne=/[&><\u2028\u2029]/g;function re(e){return e.replace(ne,e=>E[e])}function ie(e){if(!e||!/[%\\\x00-\x1f\x7f]/.test(e)&&!e.startsWith(`//`))return{path:e,handledProtocolRelativeURL:!1};let t=/%25|%5C/gi,n=0,r=``,i;for(;(i=t.exec(e))!==null;)r+=w(e.slice(n,i.index))+i[0],n=t.lastIndex;r+=w(n?e.slice(n):e);let a=!1;return r.startsWith(`//`)&&(a=!0,r=`/`+r.replace(/^\/+/,``)),{path:r,handledProtocolRelativeURL:a}}function ae(e){return/\s|[^\u0000-\u007F]/.test(e)?e.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):e}function oe(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function se(){throw Error(`Invariant failed`)}function ce(e){let t=new Map,n,r,i=e=>{e.next&&(e.prev?(e.prev.next=e.next,e.next.prev=e.prev,e.next=void 0,r&&(r.next=e,e.prev=r)):(e.next.prev=void 0,n=e.next,e.next=void 0,r&&(e.prev=r,r.next=e)),r=e)};return{get(e){let n=t.get(e);if(n)return i(n),n.value},set(a,o){if(t.size>=e&&n){let e=n;t.delete(e.key),e.next&&(n=e.next,e.next.prev=void 0),e===r&&(r=void 0)}let s=t.get(a);if(s)s.value=o,i(s);else{let e={key:a,value:o,prev:r};r&&(r.next=e),r=e,n||=e,t.set(a,e)}},clear(){t.clear(),n=void 0,r=void 0}}}var D=4,le=5;function ue(e){let t=e.indexOf(`{`);if(t===-1)return null;let n=e.indexOf(`}`,t);return n===-1||t+1>=e.length?null:[t,n]}function de(e,t,n=new Uint16Array(6)){let r=e.indexOf(`/`,t),i=r===-1?e.length:r,a=e.substring(t,i);if(!a||!a.includes(`$`))return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n;if(a===`$`){let r=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=r,n[4]=r,n[5]=r,n}if(a.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=i,n[4]=i,n[5]=i,n;let o=ue(a);if(o){let[r,s]=o,c=a.charCodeAt(r+1);if(c===45){if(r+2<a.length&&a.charCodeAt(r+2)===36){let e=r+3,a=s;if(e<a)return n[0]=3,n[1]=t+r,n[2]=t+e,n[3]=t+a,n[4]=t+s+1,n[5]=i,n}}else if(c===36){let a=r+1,o=r+2;return o===s?(n[0]=2,n[1]=t+r,n[2]=t+a,n[3]=t+o,n[4]=t+s+1,n[5]=e.length,n):(n[0]=1,n[1]=t+r,n[2]=t+o,n[3]=t+s,n[4]=t+s+1,n[5]=i,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n}function O(e,t,n,r,i,a,o){o?.(n);let s=r;{let r=n.fullPath??n.from,o=r.length,c=n.options?.caseSensitive??e,l=n.options?.params?.parse??n.options?.parseParams;for(;s<o;){let e=de(r,s,t),o,u=s,d=e[5];switch(s=d+1,a++,e[0]){case 0:{let t=r.substring(e[2],e[3]);if(c){let e=i.static?.get(t);if(e)o=e;else{i.static??=new Map;let e=j(n.fullPath??n.from);e.parent=i,e.depth=a,o=e,i.static.set(t,e)}}else{let e=t.toLowerCase(),r=i.staticInsensitive?.get(e);if(r)o=r;else{i.staticInsensitive??=new Map;let t=j(n.fullPath??n.from);t.parent=i,t.depth=a,o=t,i.staticInsensitive.set(e,t)}}break}case 1:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.dynamic?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=M(1,n.fullPath??n.from,f,p,m);o=e,e.depth=a,e.parent=i,i.dynamic??=[],i.dynamic.push(e)}break}case 3:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.optional?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=M(3,n.fullPath??n.from,f,p,m);
1o=e,e.parent=i,e.depth=a,i.optional??=[],i.optional.push(e)}break}case 2:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),l=c&&!!(t||s),f=t?l?t:t.toLowerCase():void 0,p=s?l?s:s.toLowerCase():void 0,m=M(2,n.fullPath??n.from,l,f,p);o=m,m.parent=i,m.depth=a,i.wildcard??=[],i.wildcard.push(m)}}i=o}if(l&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf(`/`)+1)===95){let e=j(n.fullPath??n.from);e.kind=le,e.parent=i,a++,e.depth=a,i.pathless??=[],i.pathless.push(e),i=e}let u=(n.path||!n.children)&&!n.isRoot;if(u&&r.endsWith(`/`)){let e=j(n.fullPath??n.from);e.kind=D,e.parent=i,a++,e.depth=a,i.index=e,i=e}i.parse=l??null,i.priority=n.options?.params?.priority??0,u&&!i.route&&(i.route=n,i.fullPath=n.fullPath??n.from)}if(n.children)for(let r of n.children)O(e,t,r,s,i,a,o)}function k(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function A(e){if(e.pathless)for(let t of e.pathless)A(t);if(e.static)for(let t of e.static.values())A(t);if(e.staticInsensitive)for(let t of e.staticInsensitive.values())A(t);if(e.dynamic?.length){e.dynamic.sort(k);for(let t of e.dynamic)A(t)}if(e.optional?.length){e.optional.sort(k);for(let t of e.optional)A(t)}if(e.wildcard?.length){e.wildcard.sort(k);for(let t of e.wildcard)A(t)}}function j(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function M(e,t,n,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:r,suffix:i}}function fe(e,t){let n=j(`/`),r=new Uint16Array(6);for(let t of e)O(!1,r,t,1,n,0);A(n),t.masksTree=n,t.flatCache=ce(1e3)}function pe(e,t){e||=`/`;let n=t.flatCache.get(e);if(n)return n;let r=L(e,t.masksTree);return t.flatCache.set(e,r),r}function N(e,t,n,r,i){e||=`/`,r||=`/`;let a=t?`case\0${e}`:e,o=i.singleCache.get(a);return o||(o=j(`/`),O(t,new Uint16Array(6),{from:e},1,o,0),i.singleCache.set(a,o)),L(r,o,n)}function P(e,t,n=!1){let r=n?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||=`/`;let a;try{a=L(e,t.segmentTree,n)}catch(e){if(e instanceof URIError)a=null;else throw e}return a&&(a.branch=z(a.route)),t.matchCache.set(r,a),a}function F(e){return e===`/`?e:e.replace(/\/{1,}$/,``)}function I(e,t=!1,n){let r=j(e.fullPath),i=new Uint16Array(6),a={},o={},s=0;return O(t,i,e,1,r,0,e=>{if(n?.(e,s),e.id in a&&se(),a[e.id]=e,s!==0&&e.path){let t=F(e.fullPath);(!o[t]||e.fullPath.endsWith(`/`))&&(o[t]=e)}s++}),A(r),{processedTree:{segmentTree:r,singleCache:ce(1e3),matchCache:ce(1e3),flatCache:null,masksTree:null},routesById:a,routesByPath:o}}function L(e,t,n=!1){let r=e.split(`/`),i=he(e,r,t,n);if(!i)return null;let[a]=R(e,r,i);return{route:i.node.route,rawParams:a}}function R(e,t,n){let r=me(n.node),i=null,a=Object.create(null),o=n.extract?.part??0,s=n.extract?.node??0,c=n.extract?.path??0,l=n.extract?.segment??0;for(;s<r.length;o++,s++,c++,l++){let u=r[s];if(u.kind===D)break;if(u.kind===le){l--,o--,c--;continue}let d=t[o],f=c;if(d&&(c+=d.length),u.kind===1){i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0;if(e.charCodeAt(t)===123){let n=u.suffix?.length??0,r=e.substring(t+2,e.length-n-1),i=d.substring(t,d.length-n);a[r]=decodeURIComponent(i)}else{let t=e.substring(1);a[t]=decodeURIComponent(d)}}else if(u.kind===3){if(n.skipped&1<<s){o--,c=f-1;continue}i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0,r=u.suffix?.length??0,p=e.substring(t+3,e.length-r-1),m=u.suffix||u.prefix?d.substring(t,d.length-r):d;m&&(a[p]=decodeURIComponent(m))}else if(u.kind===2){let t=u,n=e.substring(f+(t.prefix?.length??0),e.length-(t.suffix?.length??0)),r=decodeURIComponent(n);a[`*`]=r,a._splat=r;break}}return n.rawParams&&Object.assign(a,n.rawParams),[a,{part:o,node:s,path:c,segment:l}]}function z(e){let t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function me(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function he(e,t,n,r){if(e===`/`&&n.index)return{node:n.index,skipped:0};let i=!o(t),a=i&&e!==`/`,s=t.length-+!!i,c=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],l=null,u=null;for(;c.length;){let n=c.pop(),{node:i,index:o,skipped:d,depth:f,statics:p,dynamics:m,optionals:h}=n,{extract:g,rawParams:_}=n;if(i.kind===2&&i.route&&!U(u,n))continue;if(i.parse){if(!H(e,t,n))continue;_=n.rawParams,g=n.extract}r&&i.route&&i.kind!==D&&U(l,n)&&(l=n);let v=o===s;if(v&&(i.route&&(!a||i.kind===D||i.kind===2)&&U(u,n)&&(u=n),!i.optional&&!i.wildcard&&!i.index&&!i.pathless))continue;let y=v?void 0:t[o],b;if(v&&i.index){let n={node:i.index,index:o,skipped:d,depth:f+1,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_},r=!0;
1if(i.index.parse&&(H(e,t,n)||(r=!1)),r){if(!m&&!h&&!d&&V(p,s))return n;U(u,n)&&(u=n)}}if(i.wildcard)for(let e=i.wildcard.length-1;e>=0;e--){let n=i.wildcard[e],{prefix:r,suffix:a}=n;if(!(r&&(v||!(n.caseSensitive?y:b??=y.toLowerCase()).startsWith(r)))){if(a){if(v)continue;let e=t.slice(o).join(`/`).slice(-a.length);if((n.caseSensitive?e:e.toLowerCase())!==a)continue}c.push({node:n,index:s,skipped:d,depth:f+1,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}}if(i.optional){let e=d|1<<f,t=f+1;for(let n=i.optional.length-1;n>=0;n--){let r=i.optional[n];c.push({node:r,index:o,skipped:e,depth:t,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}if(!v)for(let e=i.optional.length-1;e>=0;e--){let n=i.optional[e],{prefix:r,suffix:a}=n;if(r||a){let e=n.caseSensitive?y:b??=y.toLowerCase();if(r&&!e.startsWith(r)||a&&!e.endsWith(a))continue}c.push({node:n,index:o+1,skipped:d,depth:t,statics:p,dynamics:m,optionals:h+B(s,o),extract:g,rawParams:_})}}if(!v&&i.dynamic&&y)for(let e=i.dynamic.length-1;e>=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?y:b??=y.toLowerCase();if(n&&!e.startsWith(n)||r&&!e.endsWith(r))continue}c.push({node:t,index:o+1,skipped:d,depth:f+1,statics:p,dynamics:m+B(s,o),optionals:h,extract:g,rawParams:_})}if(!v&&i.staticInsensitive){let e=i.staticInsensitive.get(b??=y.toLowerCase());e&&c.push({node:e,index:o+1,skipped:d,depth:f+1,statics:p+B(s,o),dynamics:m,optionals:h,extract:g,rawParams:_})}if(!v&&i.static){let e=i.static.get(y);e&&c.push({node:e,index:o+1,skipped:d,depth:f+1,statics:p+B(s,o),dynamics:m,optionals:h,extract:g,rawParams:_})}if(i.pathless){let e=f+1;for(let t=i.pathless.length-1;t>=0;t--){let n=i.pathless[t];c.push({node:n,index:o,skipped:d,depth:e,statics:p,dynamics:m,optionals:h,extract:g,rawParams:_})}}}if(u)return u;if(r&&l){let n=l.index;for(let e=0;e<l.index;e++)n+=t[e].length;let r=n===e.length?`/`:e.slice(n);return l.rawParams??=Object.create(null),l.rawParams[`**`]=decodeURIComponent(r),l}return null}function B(e,t){return 2**(e-t-1)}function V(e,t){return e===2**(t-1)-1}function H(e,t,n){let r,i;try{[r,i]=R(e,t,n)}catch{return null}if(n.rawParams=r,n.extract=i,!n.node.parse)return!0;try{if(n.node.parse(r)===!1)return null}catch{}return!0}function U(e,t){return!e||t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===D)>(e.node.kind===D)||t.node.kind===D==(e.node.kind===D)&&t.depth>e.depth)))}function ge(e){return W(e.filter(e=>e!==void 0).join(`/`))}function W(e){return e.replace(/\/{2,}/g,`/`)}function _e(e){return e===`/`?e:e.replace(/^\/{1,}/,``)}function G(e){let t=e.length;return t>1&&e[t-1]===`/`?e.replace(/\/{1,}$/,``):e}function ve(e){return G(_e(e))}function ye(e,t){return e?.endsWith(`/`)&&e!==`/`&&e!==`${t}/`?e.slice(0,-1):e}function be(e,t,n){return ye(e,n)===ye(t,n)}function xe({base:e,to:t,trailingSlash:n=`never`,cache:r}){let i=t.startsWith(`/`),a=!i&&t===`.`,s;if(r){s=i?t:a?e:e+`\0`+t;let n=r.get(s);if(n)return n}let c;if(a)c=e.split(`/`);else if(i)c=t.split(`/`);else{for(c=e.split(`/`);c.length>1&&o(c)===``;)c.pop();let n=t.split(`/`);for(let e=0,t=n.length;e<t;e++){let r=n[e];r===``?e?e===t-1&&c.push(r):c=[r]:r===`..`?c.pop():r===`.`||c.push(r)}}c.length>1&&(o(c)===``?n===`never`&&c.pop():n===`always`&&c.push(``));let l=W(c.join(`/`))||`/`;return s&&r&&r.set(s,l),l}function Se(e){let t=new Map(e.map(e=>[encodeURIComponent(e),e])),n=Array.from(t.keys()).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),r=new RegExp(n,`g`);return e=>e.replace(r,e=>t.get(e)??e)}function Ce(e,t,n){let r=t[e];return typeof r==`string`?e===`_splat`?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split(`/`).map(e=>Te(e,n)).join(`/`):Te(r,n):r}function we({path:e,params:t,decoder:n,...r}){let i=!1,a=Object.create(null);if(!e||e===`/`)return{interpolatedPath:`/`,usedParams:a,isMissingParams:i};if(!e.includes(`$`))return{interpolatedPath:e,usedParams:a,isMissingParams:i};let o=e.length,s=0,c,l=``;for(;s<o;){let r=s;c=de(e,r,c);let o=c[5];if(s=o+1,r===o)continue;let u=c[0];if(u===0){l+=`/`+e.substring(r,o);continue}if(u===2){let s=t._splat;a._splat=s,a[`*`]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o);if(!s){i=!0,(u||d)&&(l+=`/`+u+d);continue}let f=Ce(`_splat`,t,n);l+=`/`+u+f+d;continue}if(u===1){let s=e.substring(c[2],c[3]);!i&&!(s in t)&&(i=!0),a[s]=t[s];let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=Ce(s,t,n)??`undefined`;l+=`/`+u+f+d;continue}if(u===3){let i=e.substring(c[2],c[3]),s=t[i];if(s==null)continue;a[i]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=Ce(i,t,n)??``;l+=`/`+u+f+d;continue}}return e.endsWith(`/`)&&(l+=`/`),{usedParams:a,interpolatedPath:l||`/`,isMissingParams:i}}function Te(e,t){let n=encodeURIComponent(e);return t?.(n)??n}var Ee=`Error preloading route! âï¸`,K=e(t(),1),De=K.use,Oe=typeof window<`u`?K.useLayoutEffect:K.useEffect;function ke(e){let t=K.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function Ae(e,t,n={},r={}){K.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!=`function`)return;let i=new IntersectionObserver(([e])=>{t(e)},n);return i.observe(e.current),()=>{i.disconnect()}},[t,n,r.disabled,e])}function je(e){let t=K.useRef(null);return K.useImperativeHandle(e,()=>t.current,[]),t}var q=r();function Me({children:e,fallback:t=null}){return Ne()?(0,q.jsx)(K.Fragment,{children:e}):(0,q.jsx)(K.Fragment,{children:t})}function Ne(){return K.useSyncExternalStore(Pe,()=>!0,()=>!1)}function Pe(){return()=>{}}var Fe=K.createContext(null);function J(e){return K.useContext(Fe)}var Ie=K.createContext(void 0),Le=K.createContext(void 0),Re=n((e=>{var n=t();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useState,o=n.useEffect,s=n.useLayoutEffect,c=n.useDebugValue;function l(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&l({inst:i})},[e,n,t]),o(function(){return u(i)&&l({inst:i}),e(function(){u(i)&&l({inst:i})})},[e]),c(n),n}function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch{return!0}}function d(e,t){return t()}var f=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?d:l;e.useSyncExternalStore=n.useSyncExternalStore===void 0?f:n.useSyncExternalStore})),ze=n(((e,t)=>{t.exports=Re()})),Be=n((e=>{var n=t(),r=ze();function i(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var a=typeof Object.is==`function`?Object.is:i,o=r.useSyncExternalStore,s=n.useRef,c=n.useEffect,l=n.useMemo,u=n.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var d=s(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=l(function(){function e(e){if(!o){if(o=!0,s=e,e=r(e),i!==void 0&&f.hasValue){var t=f.value;if(i(t,e))return c=t}return c=e}if(t=c,a(s,e))return t;var n=r(e);return i!==void 0&&i(t,n)?(s=e,t):(s=e,c=n)}var o=!1,s,c,l=n===void 0?null:n;return[function(){return e(t())},l===null?void 0:function(){return e(l())}]},[t,n,r,i]);var p=o(e,d[0],d[1]);return c(function(){f.hasValue=!0,f.value=p},[p]),u(p),p}})),Ve=n(((e,t)=>{t.exports=Be()}))();function He(e,t){return e===t}function Ue(e,t,n=He){let r=(0,K.useCallback)(t=>{if(!e)return()=>{};let{unsubscribe:n}=e.subscribe(t);return n},[e]),i=(0,K.useCallback)(()=>e?.get(),[e]);return(0,Ve.useSyncExternalStoreWithSelector)(r,i,i,t,n)}var We={get(){},subscribe(){return{unsubscribe(){}}}};function Ge(e,t){let n=K.useRef();return r=>{let i=e?.select?e.select(r):r;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=m(n.current,i):i}}function Ke(e){let t=J(),n=K.useContext(e.from?Le:Ie),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(n),i=Ge(e,t),a=Ue(r??We,e=>e?i(e):We);if(a!==We)return a;(e.shouldThrow??!0)&&se()}function qe(e){return Ke({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function Je(e){let t=J();return K.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}var Ye=e(a(),1);function Xe(e,t){let n=J(),r=je(t),{activeProps:i,inactiveProps:a,activeOptions:o,to:s,preload:l,preloadDelay:u,preloadIntentProximity:d,hashScrollIntoView:f,replace:p,startTransition:m,resetScroll:h,viewTransition:g,children:_,target:v,disabled:b,style:x,className:S,onClick:ee,onBlur:C,onFocus:w,onMouseEnter:T,onMouseLeave:E,onTouchStart:ne,ignoreBlocker:re,params:ie,search:ae,hash:oe,state:se,mask:ce,reloadDocument:D,unsafeRelative:le,from:ue,_fromLocation:de,...O}=e,k=Ne(),A=K.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),j=Ue(n.stores.location,e=>e,(e,t)=>e.href===t.href),M=K.useMemo(()=>{let e={_fromLocation:j,...A};return n.buildLocation(e)},[n,j,A]),fe=M.maskedLocation?M.maskedLocation.publicHref:M.publicHref,pe=M.maskedLocation?M.maskedLocation.external:M.external,N=K.useMemo(()=>rt(fe,pe,n.history,b),[b,pe,fe,n.history]),P=K.useMemo(()=>
1{if(N?.external)return te(N.href,n.protocolAllowlist)?void 0:N.href;if(!it(s)&&typeof s==`string`&&s.indexOf(`:`)!==-1)try{return new URL(s),te(s,n.protocolAllowlist)?void 0:s}catch{}},[s,N,n.protocolAllowlist]),F=K.useMemo(()=>{if(P)return!1;if(o?.exact){if(!be(j.pathname,M.pathname,n.basepath))return!1}else{let e=ye(j.pathname,n.basepath),t=ye(M.pathname,n.basepath);if(!(e.startsWith(t)&&(e.length===t.length||e[t.length]===`/`)))return!1}return(o?.includeSearch??!0)&&!y(j.search,M.search,{partial:!o?.exact,ignoreUndefined:!o?.explicitUndefined})?!1:!o?.includeHash||k&&j.hash===M.hash},[o?.exact,o?.explicitUndefined,o?.includeHash,o?.includeSearch,j,P,k,M.hash,M.pathname,M.search,n.basepath]),I=F?c(i,{})??Qe:Ze,L=F?Ze:c(a,{})??Ze,R=[S,I.className,L.className].filter(Boolean).join(` `),z=(x||I.style||L.style)&&{...x,...I.style,...L.style},[me,he]=K.useState(!1),B=K.useRef(!1),V=e.reloadDocument||P?!1:l??n.options.defaultPreload,H=u??n.options.defaultPreloadDelay??0,U=K.useCallback(()=>{n.preloadRoute({...A,_builtLocation:M}).catch(e=>{console.warn(e),console.warn(Ee)})},[n,A,M]);Ae(r,K.useCallback(e=>{e?.isIntersecting&&U()},[U]),nt,{disabled:!!b||V!==`viewport`}),K.useEffect(()=>{B.current||!b&&V===`render`&&(U(),B.current=!0)},[b,U,V]);let ge=e=>{let t=e.currentTarget.getAttribute(`target`),r=v===void 0?t:v;if(!b&&!ot(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,Ye.flushSync)(()=>{he(!0)});let t=n.subscribe(`onResolved`,()=>{t(),he(!1)});n.navigate({...A,replace:p,resetScroll:h,hashScrollIntoView:f,startTransition:m,viewTransition:g,ignoreBlocker:re})}};if(P)return{...O,ref:r,href:P,..._&&{children:_},...v&&{target:v},...b&&{disabled:b},...x&&{style:x},...S&&{className:S},...ee&&{onClick:ee},...C&&{onBlur:C},...w&&{onFocus:w},...T&&{onMouseEnter:T},...E&&{onMouseLeave:E},...ne&&{onTouchStart:ne}};let W=e=>{if(b||V!==`intent`)return;if(!H){U();return}let t=e.currentTarget;if(Y.has(t))return;let n=setTimeout(()=>{Y.delete(t),U()},H);Y.set(t,n)},_e=e=>{b||V!==`intent`||U()},G=e=>{if(b||!V||!H)return;let t=e.currentTarget,n=Y.get(t);n&&(clearTimeout(n),Y.delete(t))};return{...O,...I,...L,href:N?.href,ref:r,onClick:X([ee,ge]),onBlur:X([C,G]),onFocus:X([w,W]),onMouseEnter:X([T,W]),onMouseLeave:X([E,G]),onTouchStart:X([ne,_e]),disabled:!!b,target:v,...z&&{style:z},...R&&{className:R},...b&&$e,...F&&et,...k&&me&&tt}}var Ze={},Qe={className:`active`},$e={role:`link`,"aria-disabled":!0},et={"data-status":`active`,"aria-current":`page`},tt={"data-transitioning":`transitioning`},Y=new WeakMap,nt={rootMargin:`100px`},X=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function rt(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function it(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var at=K.forwardRef((e,t)=>{let{_asChild:n,...r}=e,{type:i,...a}=Xe(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return K.createElement(`a`,t,o)}return K.createElement(n,a,o)});function ot(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function st(e){let t=J();return Ue(t.stores.location,Ge(e,t))}var ct=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),lt=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ut=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),dt=e=>{let t=ut(e);return t.charAt(0).toUpperCase()+t.slice(1)},ft={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`},pt=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},mt=(0,K.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,K.createElement)(`svg`,{ref:c,...ft,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ct(`lucide`,i),...!a&&!pt(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,K.createElement)(e,t)),...Array.isArray(a)?a:[a]])),Z=(e,t)=>{let n=(0,K.forwardRef)(({className:n,...r},i)=>(0,K.createElement)(mt,{ref:i,iconNode:t,className:ct(`lucide-${lt(dt(e))}`,`lucide-${e}`,n),...r}));return n.displayName=dt(e),n},Q=Z(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),ht=Z(`facebook`,[[`path`,{d:`M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z`,key:`1jg4f8`}
1]]),gt=Z(`instagram`,[[`rect`,{width:`20`,height:`20`,x:`2`,y:`2`,rx:`5`,ry:`5`,key:`2e1cvw`}],[`path`,{d:`M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z`,key:`9exkf1`}],[`line`,{x1:`17.5`,x2:`17.51`,y1:`6.5`,y2:`6.5`,key:`r4j83e`}]]),_t=Z(`linkedin`,[[`path`,{d:`M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z`,key:`c2jq9f`}],[`rect`,{width:`4`,height:`12`,x:`2`,y:`9`,key:`mk3on5`}],[`circle`,{cx:`4`,cy:`4`,r:`2`,key:`bt5ra8`}]]),vt=Z(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),yt=Z(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),bt=Z(`youtube`,[[`path`,{d:`M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17`,key:`1q2vi4`}],[`path`,{d:`m10 15 5-3-5-3z`,key:`1jp15x`}]]);function xt(e){let[t,n]=(e??``).split(`#`),[r,i]=t.split(`?`);return{pathname:r||`.`,search:i?Object.fromEntries(new URLSearchParams(i)):void 0,hash:n||void 0}}function St(){let e=Je(),t=J();return(0,K.useCallback)((n,r)=>{if(typeof n==`number`){t.history.go(n);return}let{pathname:i,search:a,hash:o}=xt(n);e({to:i,search:a,hash:o,state:r?.state,replace:r?.replace})},[e,t])}function Ct(){let e=st();return(0,K.useMemo)(()=>({pathname:e.pathname,search:e.searchStr?`?${e.searchStr}`:``,hash:e.hash??``,state:e.state??null,key:e.pathname+(e.searchStr??``)}),[e.pathname,e.searchStr,e.hash,e.state])}function wt(){return qe({strict:!1})}var $=(0,K.forwardRef)(function({to:e,replace:t,state:n,children:r,...i},a){let{pathname:o,search:s,hash:c}=xt(e);return(0,q.jsx)(at,{ref:a,to:o,search:s,hash:c,replace:t,state:n,...i??{},children:r})}),Tt=[{label:`Our products`,link:`/products`,items:[{label:`Product overview`,link:`/products`},{label:`Flexi Staff Cover`,link:`/staff-cover`},{label:`Flexi Family Cover`,link:`/family-cover`},{label:`Flexi Domestic Cover`,link:`/domestic-cover`},{label:`Mahala`,link:`/mahala`},{label:`Referral programme`,link:`/referral-programme`}]},{label:`About us`,link:`/about`,items:[{label:`About Simply`,link:`/about`},{label:`About Hollard`,link:`/about-hollard`},{label:`Newsroom`,link:`/newsroom`},{label:`The Simply Blog`,link:`/blog`},{label:`Testimonials`,link:`/testimonials`},{label:`Our partners`,link:`/partners`}]},{label:`Help`,items:[{label:`How to claim`,link:`/how-to-claim`},{label:`Tools`,link:`/tools`},{label:`Contact us`,link:`/contact`},{label:`FAQs`,link:`/faqs`},{label:`Glossary`,link:`/glossary`},{label:`Privacy policy`,link:`/privacy-policy`},{label:`Terms & Conditions`,link:`/terms-conditions`},{label:`Request a Callback`,link:`/request-callback`}]}],Et=`https://admin.simply.co.za/#/client-login`,Dt=`https://www.advisor.simply.co.za/login#/request-otp`,Ot=({label:e,items:t,link:n,isButton:r=!1})=>{let[i,a]=(0,K.useState)(!1),o=(0,K.useRef)(null),s=(0,K.useRef)(void 0);return(0,K.useEffect)(()=>()=>{s.current&&clearTimeout(s.current)},[]),(0,q.jsxs)(`div`,{ref:o,className:`relative`,onMouseEnter:()=>{s.current&&clearTimeout(s.current),a(!0)},onMouseLeave:()=>{s.current=setTimeout(()=>a(!1),150)},children:[n?(0,q.jsxs)($,{to:n,className:r?`font-secondary text-sm font-medium rounded-full border border-border px-4 py-1.5 flex items-center gap-1 text-hollard-purple hover:bg-muted transition-colors duration-200`:`font-secondary text-sm font-medium text-hollard-purple hover:opacity-80 transition-colors duration-200 flex items-center gap-1 uppercase tracking-wide`,children:[e,(0,q.jsx)(Q,{size:12,className:`transition-transform duration-200 ${i?`rotate-180`:``}`})]}):(0,q.jsxs)(`button`,{className:r?`font-secondary text-sm font-medium rounded-full border border-border px-4 py-1.5 flex items-center gap-1 text-hollard-purple hover:bg-muted transition-colors duration-200`:`font-secondary text-sm font-medium text-hollard-purple hover:opacity-80 transition-colors duration-200 flex items-center gap-1 uppercase tracking-wide`,onClick:()=>a(!i),children:[e,(0,q.jsx)(Q,{size:12,className:`transition-transform duration-200 ${i?`rotate-180`:``}`})]}
1),i&&(0,q.jsx)(`div`,{className:`absolute top-full left-0 pt-2 z-50`,style:{minWidth:`200px`},children:(0,q.jsx)(`div`,{className:`bg-background rounded-lg border border-border shadow-lg py-2 animate-fade-in`,children:t.map(e=>e.link?.startsWith(`http`)?(0,q.jsx)(`a`,{href:e.link,target:`_blank`,rel:`noopener noreferrer`,className:`block px-4 py-2.5 font-secondary text-sm text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors duration-150`,onClick:()=>a(!1),children:e.label},e.label):e.link?(0,q.jsx)($,{to:e.link,className:`block px-4 py-2.5 font-secondary text-sm text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors duration-150`,onClick:()=>a(!1),children:e.label},e.label):(0,q.jsx)(`a`,{href:`#`,className:`block px-4 py-2.5 font-secondary text-sm text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors duration-150`,onClick:e=>{e.preventDefault(),a(!1)},children:e.label},e.label))})})]})},kt=({label:e,items:t})=>{let[n,r]=(0,K.useState)(!1);return(0,q.jsxs)(`div`,{children:[(0,q.jsxs)(`button`,{className:`w-full flex items-center justify-between font-secondary text-base text-foreground min-h-[48px] py-3`,onClick:()=>r(!n),children:[(0,q.jsx)(`span`,{className:`uppercase tracking-wide font-medium text-sm`,children:e}),(0,q.jsx)(Q,{size:16,className:`transition-transform duration-200 text-muted-foreground ${n?`rotate-180`:``}`})]}),n&&(0,q.jsx)(`div`,{className:`pl-3 pb-2 space-y-1 animate-fade-in`,children:t.map(e=>e.link?.startsWith(`http`)?(0,q.jsx)(`a`,{href:e.link,target:`_blank`,rel:`noopener noreferrer`,className:`flex items-center font-secondary text-base text-muted-foreground min-h-[48px] py-3`,children:e.label},e.label):e.link?(0,q.jsx)($,{to:e.link,className:`flex items-center font-secondary text-base text-muted-foreground min-h-[48px] py-3`,children:e.label},e.label):(0,q.jsx)(`a`,{href:`#`,className:`flex items-center font-secondary text-base text-muted-foreground min-h-[48px] py-3`,onClick:e=>e.preventDefault(),children:e.label},e.label))})]})},At=({label:e,items:t,bgColor:n,align:r=`right`})=>{let[i,a]=(0,K.useState)(!1),o=(0,K.useRef)(void 0);return(0,K.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]),(0,q.jsxs)(`div`,{className:`relative`,onMouseEnter:()=>{o.current&&clearTimeout(o.current),a(!0)},onMouseLeave:()=>{o.current=setTimeout(()=>a(!1),150)},children:[(0,q.jsxs)(`button`,{onClick:()=>a(e=>!e),className:`font-secondary text-xs font-medium tracking-wide rounded-[20px] px-6 py-2.5 min-w-[140px] inline-flex items-center justify-center gap-1.5 text-white shadow-xs transition-all duration-200 hover:opacity-90 leading-none`,style:{backgroundColor:n},"aria-expanded":i,"aria-haspopup":`true`,children:[e,(0,q.jsx)(Q,{size:12,className:`transition-transform duration-200 ${i?`rotate-180`:``}`})]}),i&&(0,q.jsx)(`div`,{className:`absolute top-full ${r===`right`?`right-0`:`left-0`} pt-2 z-50`,style:{minWidth:`220px`},children:(0,q.jsx)(`div`,{className:`bg-background rounded-lg border border-border shadow-lg py-2 animate-fade-in`,children:t.map(e=>(0,q.jsx)(`a`,{href:e.href,target:e.external?`_blank`:void 0,rel:e.external?`noopener noreferrer`:void 0,className:`block px-4 py-3 font-secondary text-sm text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors duration-150`,onClick:()=>a(!1),children:e.label},e.label))})})]})},jt=[{label:`Broker login`,href:Dt,external:!0},{label:`Customer login`,href:Et,external:!0},{label:`Employer login`,href:`https://www.group.simply.co.za/self-service/login`,external:!0}],Mt=[{label:`For me & my family`,href:`https://www.app.simply.co.za`,external:!0},{label:`For my employees`,href:`https://group.simply.co.za/group-start`,external:!0}],Nt=()=>{let[e,t]=(0,K.useState)(!1);return(0,q.jsxs)(`nav`,{className:`fixed top-0 left-0 right-0 z-50 bg-white border-b border-border shadow-xs`,children:[(0,q.jsxs)(`div`,{className:`container mx-auto px-6 py-3 flex items-center justify-between`,children:[(0,q.jsx)($,{to:`/`,className:`flex items-center`,children:(0,q.jsx)(`img`,{src:`/simply-logo.svg`,alt:`Simply`,className:`h-7 w-auto`})}),(0,q.jsx)(`div`,{className:`hidden md:flex items-center gap-5`,children:Tt.map((e,t)=>(0,q.jsxs)(K.Fragment,{children:[(0,q.jsx)(Ot,{label:e.label,items:e.items,link:e.link}),t===0&&(0,q.jsx)($,{to:`/broker`,className:`font-secondary text-sm font-medium text-hollard-purple hover:opacity-80 transition-colors duration-200 uppercase tracking-wide`,children:`For brokers`})]},e.label))}),(0,q.jsxs)(`div`,{className:`hidden md:flex items-center gap-3`,children:[(0,q.jsx)(At,{label:`Login`,items:jt,bgColor:`#4B286D`}),(0,q.jsx)(At,{label:`Get quote`,items:Mt,bgColor:`#0098E6`})]}),(0,q.jsx)(`button`,{className:`md:hidden text-foreground inline-flex items-center justify-center w-12 h-12 -mr-2`,onClick:()=>
1t(!e),"aria-label":e?`Close menu`:`Open menu`,children:e?(0,q.jsx)(yt,{size:24}):(0,q.jsx)(vt,{size:24})})]}),e&&(0,q.jsxs)(`div`,{className:`md:hidden bg-background border-t border-border px-6 py-4 space-y-1 animate-fade-in max-h-[80vh] overflow-y-auto`,children:[Tt.map(e=>(0,q.jsx)(kt,{label:e.label,items:e.items},e.label)),(0,q.jsxs)(`div`,{className:`pt-4 space-y-3`,children:[(0,q.jsx)(`a`,{href:`https://www.app.simply.co.za`,target:`_blank`,rel:`noopener noreferrer`,className:`flex items-center justify-center w-full text-center font-secondary text-base font-medium rounded-full px-6 min-h-[48px] py-3 text-white transition-all duration-200 hover:opacity-90`,style:{backgroundColor:`#0098E6`},children:`Get quote â For me & my family`}),(0,q.jsx)(`a`,{href:`https://group.simply.co.za/group-start`,target:`_blank`,rel:`noopener noreferrer`,className:`flex items-center justify-center w-full text-center font-secondary text-base font-medium rounded-full px-6 min-h-[48px] py-3 text-white transition-all duration-200 hover:opacity-90`,style:{backgroundColor:`#0098E6`},children:`Get quote â For my employees`}),(0,q.jsx)(`a`,{href:Dt,target:`_blank`,rel:`noopener noreferrer`,className:`flex items-center justify-center w-full text-center font-secondary text-base font-medium rounded-full px-6 min-h-[48px] py-3 text-white transition-all duration-200 hover:opacity-90`,style:{backgroundColor:`#4B286D`},children:`Broker login`}),(0,q.jsx)(`a`,{href:Et,target:`_blank`,rel:`noopener noreferrer`,className:`flex items-center justify-center w-full text-center font-secondary text-base font-medium rounded-full px-6 min-h-[48px] py-3 border border-border text-hollard-purple transition-all duration-200 hover:bg-muted`,children:`Customer login`}),(0,q.jsx)($,{to:`/broker`,className:`flex items-center justify-center w-full text-center font-secondary text-base font-medium rounded-full px-6 min-h-[48px] py-3 border border-hollard-purple text-hollard-purple bg-background transition-all duration-200 hover:bg-muted`,onClick:()=>t(!1),children:`For brokers`})]})]})]})},Pt=({className:e})=>(0,q.jsx)(`img`,{src:`/simply-logo-white.svg`,alt:`Simply`,className:e}),Ft=({className:e})=>(0,q.jsx)(`img`,{src:`/hollard-logo.png`,alt:`Hollard`,className:e}),It=()=>(0,q.jsxs)(`footer`,{className:`text-secondary-foreground`,children:[(0,q.jsx)(`img`,{src:`/colour-strip.png`,alt:``,className:`w-full h-2 object-cover`}),(0,q.jsx)(`div`,{className:`bg-gradient-broker py-12`,children:(0,q.jsxs)(`div`,{className:`container mx-auto px-6`,children:[(0,q.jsxs)(`div`,{className:`flex flex-col md:flex-row md:items-center md:justify-between gap-6 mb-10`,children:[(0,q.jsx)(`nav`,{children:(0,q.jsxs)(`ul`,{className:`flex flex-wrap items-center gap-x-6 gap-y-1 font-secondary`,children:[(0,q.jsx)(`li`,{children:(0,q.jsx)(`a`,{href:`/contact`,className:`inline-flex items-center min-h-[48px] py-2 text-base font-normal text-secondary-foreground hover:text-secondary-foreground/80 transition-colors`,children:`Contact us`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(`a`,{href:`/how-to-claim`,className:`inline-flex items-center min-h-[48px] py-2 text-base font-normal text-secondary-foreground hover:text-secondary-foreground/80 transition-colors`,children:`How to claim`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(`a`,{href:`/privacy-policy`,className:`inline-flex items-center min-h-[48px] py-2 text-base font-normal text-secondary-foreground hover:text-secondary-foreground/80 transition-colors`,children:`Privacy policy`})}),(0,q.jsx)(`li`,{children:(0,q.jsx)(`a`,{href:`/terms-conditions`,className:`inline-flex items-center min-h-[48px] py-2 text-base font-normal text-secondary-foreground hover:text-secondary-foreground/80 transition-colors`,children:`Terms & conditions`})})]})}),(0,q.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,q.jsx)(`h3`,{className:`font-secondary text-base font-normal text-secondary-foreground`,children:`Follow`}),(0,q.jsxs)(`div`,{className:`flex items-center gap-1`,children:[(0,q.jsx)(`a`,{href:`https://www.instagram.com/simply.co.za/`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Instagram`,className:`inline-flex items-center justify-center w-12 h-12 text-secondary-foreground
1/80 hover:text-secondary-foreground transition-colors`,children:(0,q.jsx)(gt,{size:22})}),(0,q.jsx)(`a`,{href:`https://www.facebook.com/simplylifeinsurance/`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`Facebook`,className:`inline-flex items-center justify-center w-12 h-12 text-secondary-foreground/80 hover:text-secondary-foreground transition-colors`,children:(0,q.jsx)(ht,{size:22})}),(0,q.jsx)(`a`,{href:`https://www.linkedin.com/company/simplyfinancialservices/`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`LinkedIn`,className:`inline-flex items-center justify-center w-12 h-12 text-secondary-foreground/80 hover:text-secondary-foreground transition-colors`,children:(0,q.jsx)(_t,{size:22})}),(0,q.jsx)(`a`,{href:`https://www.youtube.com/channel/UClJFOx1HIsQlnM9kUPGZ3pA`,target:`_blank`,rel:`noopener noreferrer`,"aria-label":`YouTube`,className:`inline-flex items-center justify-center w-12 h-12 text-secondary-foreground/80 hover:text-secondary-foreground transition-colors`,children:(0,q.jsx)(bt,{size:22})})]})]})]}),(0,q.jsxs)(`div`,{className:`border-t border-secondary-foreground/10 pt-8`,children:[(0,q.jsxs)(`div`,{className:`flex flex-col md:flex-row items-center md:items-start justify-between gap-8`,children:[(0,q.jsxs)(`div`,{className:`flex flex-col items-center md:items-start gap-2`,children:[(0,q.jsx)(`div`,{className:`h-12 flex items-center`,children:(0,q.jsx)(Pt,{className:`h-9 w-auto`})}),(0,q.jsx)(`p`,{className:`font-secondary text-[11px] text-secondary-foreground/40 leading-relaxed text-center md:text-left max-w-xs`,children:`Simply Financial Services (Pty) Ltd is an authorised financial services provider (FSP 47146). T&Cs apply.`})]}),(0,q.jsxs)(`div`,{className:`flex flex-col items-center md:items-end gap-2`,children:[(0,q.jsx)(`div`,{className:`h-12 flex items-center`,children:(0,q.jsx)(Ft,{className:`h-12 w-auto object-contain`})}),(0,q.jsxs)(`p`,{className:`font-secondary text-[11px] text-secondary-foreground/40 leading-relaxed text-center md:text-right max-w-md`,children:[`Hollard Life Assurance Company Limited (Reg No. 1993/001405/06),`,(0,q.jsx)(`br`,{}),`a Licensed Life Insurer and authorised Financial Services Provider.`]})]})]}),(0,q.jsxs)(`p`,{className:`font-secondary text-[11px] text-secondary-foreground/30 text-center mt-6`,children:[`© `,new Date().getFullYear(),` Simply. All rights reserved.`]})]})]})})]});export{x as $,ge as A,I as B,Ne as C,W as D,ke as E,z as F,b as G,se as H,pe as I,ae as J,ie as K,P as L,ve as M,_e as N,Se as O,G as P,te as Q,N as R,Me as S,Oe as T,T as U,ce as V,oe as W,c as X,re as Y,d as Z,Ke as _,St as a,J as b,yt as c,ht as d,S as et,Q as f,qe as g,Je as h,Ct as i,a as it,xe as j,we as k,_t as l,at as m,Nt as n,p as nt,wt as o,Z as p,y as q,$ as r,m as rt,bt as s,It as t,o as tt,gt as u,Ue as v,De as w,Fe as x,Ie as y,fe as z};
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.