1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69786,306476,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n(e){var t,r;return(r=t=e.replace(/(<iframe[^>]*\ssrc=["'])https?:\/\/(?:www\.)?youtube\.com\/watch\?v=([a-zA-Z0-9_-]+)([^"']*)(["'][^>]*>)/g,"$1https://www.youtube-nocookie.com/embed/$2$4").replace(/https?:\/\/(?:www\.)?youtube\.com\/embed\//g,"https://www.youtube-nocookie.com/embed/"),!/<blockquote\b[^>]*\btiktok-embed\b/i.test(r)||/<script\b[^>]*\bsrc=["'][^"']*tiktok\.com\/embed\.js/i.test(t))?t:`${t}<script async src="https://www.tiktok.com/embed.js"></script>`}function i(e){return e.replace(/\scolor=(["'])[^"']*\1/gi,"").replace(/\sstyle=(["'])([\s\S]*?)\1/gi,(e,t,r)=>{let n=r.replace(/\bbackground-color\s*:\s*[^;]+;?/gi,"").replace(/\bbackground\s*:\s*[^;]+;?/gi,"").replace(/\bcolor\s*:\s*[^;]+;?/gi,"").replace(/\btext-align\s*:\s*[^;]+;?/gi,"").replace(/\bfloat\s*:\s*[^;]+;?/gi,"").replace(/;\s*;/g,";").trim().replace(/^;+|;+$/g,"");return n?` style=${t}${n}${t}`:""})}function s(e){return e?e.replace(/<[^>]*>/g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/ /g," ").replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(Number(t))).replace(/&#x([0-9a-fA-F]+);/g,(e,t)=>String.fromCharCode(parseInt(t,16))).replace(/\s+/g," ").trim():""}function a(e){e.querySelectorAll("script").forEach(e=>{let t=document.createElement("script");for(let{name:r,value:n}of e.attributes)t.setAttribute(r,n);t.textContent=e.textContent,e.replaceWith(t)})}function o({html:e,as:i="div",className:s}){let o=(0,r.useRef)(null),l=(0,r.useMemo)(()=>n(e),[e]);return(0,r.useEffect)(()=>{let e=o.current;e&&a(e)},[l]),(0,t.jsx)(i,{ref:o,className:s,dangerouslySetInnerHTML:{__html:l}})}e.s(["activateEmbeddedScripts",()=>a,"htmlToPlainText",()=>s,"processCmsHtml",()=>n,"stripInlinePresentationStyles",()=>i],306476),e.s(["default",()=>o],69786)},854056,e=>{"use strict";let t,r,n,i,s;var a,o,l=e.i(271645);function c(){let e=[],t={addEventListener:(e,r,n,i)=>(e.addEventListener(r,n,i),t.add(()=>e.removeEventListener(r,n,i))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(r))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let r=setTimeout(...e);return t.add(()=>clearTimeout(r))},microTask(...e){var r;let n={current:!0};return r=()=>{n.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(r):Promise.resolve().then(r).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{n.current=!1})},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(e){let t=c();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function u(){let[e]=(0,l.useState)(c);return(0,l.useEffect)(()=>()=>e.dispose(),[e]),e}var d=Object.defineProperty,f=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?d(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r};let p=new class{constructor(){f(this,"current",this.detect()),f(this,"handoffState","pending"),f(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},h=(e,t)=>{p.isServer?(0,l.useEffect)(e,t):(0,l.useLayoutEffect)(e,t)};function m(e){let t=(0,l.useRef)(e);return h(()=>{t.current=e},[e]),t}let g=function(e){let t=m(e);return l.default.useCallback((...e)=>t.current(...e),[t])};function y(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in l&&(0,l.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[r,n]=l.useState(p.isHandoffComplete);return r&&!1===p.isHandoffComplete&&n(!1),l.useEffect(()=>{!0!==r&&n(!0)},[r]),l.useEffect(()=>p.handoff(),[]),!t&&r}let b=Symbol();function v(...e){let t=(0,l.useRef)(e);(0,l.useEffect)(()=>{t.current=e},[e]);let r=g(e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)});return e.every(e=>null==e||(null==e?void 0:e[b]))?void 0:r}var w=e.i(247167);void 0!==w.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(a=null==w.default?void 0:w.default.env)?void 0:a.NODE_ENV)==="test"&&void 0===(null==(o=null==Element?void 0:Element.prototype)?void 0:o.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` 2`)),[]});var x=((t=x||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);let C=(0,l.createContext)(null);C.displayName="OpenClosedContext";var j=((r=j||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function S(){return(0,l.useContext)(C)}function k({value:e,children:t}){return l.default.createElement(C.Provider,{value:e},t)}function E(...e){return Array.from(new Set(e.flatMap(e=>
2"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function P(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,P),n}var A=((n=A||{})[n.None=0]="None",n[n.RenderStrategy=1]="RenderStrategy",n[n.Static=2]="Static",n),T=((i=T||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function I(){let e,t,r=(e=(0,l.useRef)([]),t=(0,l.useCallback)(t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]),(...r)=>{if(!r.every(e=>null==e))return e.current=r,t});return(0,l.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:s=!0,name:a,mergeRefs:o}){o=null!=o?o:O;let l=N(t,e);if(s)return _(l,r,n,a,o);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=l;if(e)return _(t,r,n,a,o)}if(1&c){let{unmount:e=!0,...t}=l;return P(+!e,{0:()=>null,1:()=>_({...t,hidden:!0,style:{display:"none"}},r,n,a,o)})}return _(l,r,n,a,o)})({mergeRefs:r,...e}),[r])}function _(e,t={},r,n,i){let{as:s=r,children:a,refName:o="ref",...c}=M(e,["unmount","static"]),u=void 0!==e.ref?{[o]:e.ref}:{},d="function"==typeof a?a(t):a;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let f={};if(t){let e=!1,r=[];for(let[n,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&r.push(n.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(f["data-headlessui-state"]=r.join(" "),r))f[`data-${e}`]=""}if(s===l.Fragment&&(Object.keys(R(c)).length>0||Object.keys(R(f)).length>0))if(!(0,l.isValidElement)(d)||Array.isArray(d)&&d.length>1){if(Object.keys(R(c)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(R(c)).concat(Object.keys(R(f))).map(e=>` - ${e}`).join(` 3`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 4`)].join(` 5`))}else{var p;let e=d.props,t=null==e?void 0:e.className,r="function"==typeof t?(...e)=>E(t(...e),c.className):E(t,c.className),n=N(d.props,R(M(c,["ref"])));for(let e in f)e in n&&delete f[e];return(0,l.cloneElement)(d,Object.assign({},n,f,u,{ref:i((p=d,l.default.version.split(".")[0]>="19"?p.props.ref:p.ref),u.ref)},r?{className:r}:{}))}return(0,l.createElement)(s,Object.assign({},M(c,["ref"]),s!==l.Fragment&&u,s!==l.Fragment&&f),d)}function O(...e){return e.every(e=>null==e)?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}function N(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])for(let e in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(r[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in r)Object.assign(t,{[e](t,...n){for(let i of r[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...n)}}});return t}function L(e){var t;return Object.assign((0,l.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function R(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function M(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function F(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:$)!==l.Fragment||1===l.default.Children.count(e.children)}let U=(0,l.createContext)(null);U.displayName="TransitionContext";var B=((s=B||{}).Visible="visible",s.Hidden="hidden",s);let D=(0,l.createContext)(null);function H(e){return"children"in e?H(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function q(e,t){let r,n=m(e),i=(0,l.useRef)([]),s=(r=(0,l.useRef)(!1),h(()=>(r.current=!0,()=>{r.current=!1}),[]),r),a=u(),o=g((e,t=T.Hidden)=>{let r=i.current.findIndex(({el:t})=>t===e);-1!==r&&(P(t,{[T.Unmount](){i.current.splice(r,1)},[T.Hidden](){i.current[r].state="hidden"}}),a.microTask(()=>{var e;!H(i)&&s.current&&(null==(e=n.current)||e.call(n))}))}),c=g(e=>{let t=i.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):i.current.push({el:e,state:"visible"}),()=>o(e,T.Unmount)}),d=(0,l.useRef)([]),f=(0,l.useRef)(Promise.resolve()),p=(0,l.useRef)({enter:[],leave:[]}
5),y=g((e,r,n)=>{d.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(([t])=>t!==e)),null==t||t.chains.current[r].push([e,new Promise(e=>{d.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(p.current[r].map(([e,t])=>t)).then(()=>e())})]),"enter"===r?f.current=f.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(r)):n(r)}),b=g((e,t,r)=>{Promise.all(p.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=d.current.shift())||e()}).then(()=>r(t))});return(0,l.useMemo)(()=>({children:i,register:c,unregister:o,onStart:y,onStop:b,wait:f,chains:p}),[c,o,i,y,b,p,f])}D.displayName="NestingContext";let $=l.Fragment,z=A.RenderStrategy,V=L(function(e,t){let{show:r,appear:n=!1,unmount:i=!0,...s}=e,a=(0,l.useRef)(null),o=v(...F(e)?[a,t]:null===t?[]:[t]);y();let c=S();if(void 0===r&&null!==c&&(r=(c&j.Open)===j.Open),void 0===r)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,l.useState)(r?"visible":"hidden"),f=q(()=>{r||d("hidden")}),[p,m]=(0,l.useState)(!0),b=(0,l.useRef)([r]);h(()=>{!1!==p&&b.current[b.current.length-1]!==r&&(b.current.push(r),m(!1))},[b,r]);let w=(0,l.useMemo)(()=>({show:r,appear:n,initial:p}),[r,n,p]);h(()=>{r?d("visible"):H(f)||null===a.current||d("hidden")},[r,f]);let x={unmount:i},C=g(()=>{var t;p&&m(!1),null==(t=e.beforeEnter)||t.call(e)}),k=g(()=>{var t;p&&m(!1),null==(t=e.beforeLeave)||t.call(e)}),E=I();return l.default.createElement(D.Provider,{value:f},l.default.createElement(U.Provider,{value:w},E({ourProps:{...x,as:l.Fragment,children:l.default.createElement(W,{ref:o,...x,...s,beforeEnter:C,beforeLeave:k})},theirProps:{},defaultTag:l.Fragment,features:z,visible:"visible"===u,name:"Transition"})))}),W=L(function(e,t){var r,n;let{transition:i=!0,beforeEnter:s,afterEnter:a,beforeLeave:o,afterLeave:d,enter:f,enterFrom:p,enterTo:m,entered:b,leave:w,leaveFrom:x,leaveTo:C,...S}=e,[A,_]=(0,l.useState)(null),O=(0,l.useRef)(null),N=F(e),L=v(...N?[O,t,_]:null===t?[]:[t]),M=null==(r=S.unmount)||r?T.Unmount:T.Hidden,{show:B,appear:V,initial:W}=function(){let e=(0,l.useContext)(U);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[G,Z]=(0,l.useState)(B?"visible":"hidden"),K=function(){let e=(0,l.useContext)(D);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Q,unregister:Y}=K;h(()=>Q(O),[Q,O]),h(()=>
5{if(M===T.Hidden&&O.current)return B&&"visible"!==G?void Z("visible"):P(G,{hidden:()=>Y(O),visible:()=>Q(O)})},[G,O,Q,Y,B,M]);let X=y();h(()=>{if(N&&X&&"visible"===G&&null===O.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[O,G,X,N]);let J=W&&!V,ee=V&&B&&W,et=(0,l.useRef)(!1),er=q(()=>{et.current||(Z("hidden"),Y(O))},K),en=g(e=>{et.current=!0,er.onStart(O,e?"enter":"leave",e=>{"enter"===e?null==s||s():"leave"===e&&(null==o||o())})}),ei=g(e=>{let t=e?"enter":"leave";et.current=!1,er.onStop(O,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==d||d())}),"leave"!==t||H(er)||(Z("hidden"),Y(O))});(0,l.useEffect)(()=>{N&&i||(en(B),ei(B))},[B,N,i]);let[,es]=function(e,t,r,n){let[i,s]=(0,l.useState)(r),{hasFlag:a,addFlag:o,removeFlag:d}=function(e=0){let[t,r]=(0,l.useState)(e),n=(0,l.useCallback)(e=>r(e),[t]),i=(0,l.useCallback)(e=>r(t=>t|e),[t]),s=(0,l.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:i,hasFlag:s,removeFlag:(0,l.useCallback)(e=>r(t=>t&~e),[r]),toggleFlag:(0,l.useCallback)(e=>r(t=>t^e),[r])}}(e&&i?3:0),f=(0,l.useRef)(!1),p=(0,l.useRef)(!1);return h(()=>{var i;if(e){if(r&&s(!0),!t){r&&o(3);return}return null==(i=null==n?void 0:n.start)||i.call(n,r),function(e,{prepare:t,run:r,done:n,inFlight:i}){let s=c();return function(e,{inFlight:t,prepare:r}){if(null!=t&&t.current)return r();let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}(e,{prepare:t,inFlight:i}),s.nextFrame(()=>{r(),s.requestAnimationFrame(()=>{s.add(function(e,t){var r,n;let i=c();if(!e)return i.dispose;let s=!1;i.add(()=>{s=!0});let a=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter(e=>e instanceof CSSTransition))?n:[];return 0===a.length?t():Promise.allSettled(a.map(e=>e.finished)).then(()=>{s||t()}),i.dispose}(e,n))})}),s.dispose}(t,{inFlight:f,prepare(){p.current?p.current=!1:p.current=f.current,f.current=!0,p.current||(r?(o(3),d(4)):(o(4),d(2)))},run(){p.current?r?(d(3),o(4)):(d(4),o(3)):r?d(1):o(1)},done(){var e;p.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(f.current=!1,d(7),r||s(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})}},[e,r,t,u()]),e?[i,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!i||!N||!X||J),A,B,{start:en,end:ei}),ea=R({ref:L,className:(null==(n=E(S.className,ee&&f,ee&&p,es.enter&&f,es.enter&&es.closed&&p,es.enter&&!es.closed&&m,es.leave&&w,es.leave&&!es.closed&&x,es.leave&&es.closed&&C,!es.transition&&B&&b))?void 0:n.trim())||void 0,...function(e){let t={};for(let r in e)!0===e[r]&&(t[`data-${r}`]="");return t}(es)}),eo=0;"visible"===G&&(eo|=j.Open),"hidden"===G&&(eo|=j.Closed),B&&"hidden"===G&&(eo|=j.Opening),B||"visible"!==G||(eo|=j.Closing);let el=I();return l.default.createElement(D.Provider,{value:er},l.default.createElement(k,{value:eo},el({ourProps:ea,theirProps:S,defaultTag:$,features:z,visible:"visible"===G,name:"Transition.Child"})))}),G=L(function(e,t){let r=null!==(0,l.useContext)(U),n=null!==S();return l.default.createElement(l.default.Fragment,null,!r&&n?l.default.createElement(V,{ref:t,...e}):l.default.createElement(W,{ref:t,...e}))}),Z=Object.assign(V,{Child:G,Root:V});e.s(["Transition",()=>Z],854056)},467034,(e,t,r)=>{var n={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,s=l(e),a=s[0],o=s[1],c=new i((a+o)*3/4-o),u=0,d=o>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===o&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===o&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],a=0,o=n-i;a<o;a+=16383)s.push(function(e,t,n){for(var i,s=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}(e,a,a+16383>o?o:a+16383));return 1===i?s.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&s.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),s.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 18,973 bytes, line 5
5+/",a=0,o=s.length;a<o;++a)r[a]=s[a],n[s.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!o.isEncoding(i))throw TypeError("Unknown encoding: "+i);var s=0|p(n,i),l=a(s),c=l.write(n,i);return c!==s&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(T(e,SharedArrayBuffer)||e&&T(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),o.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return o.from(u,t,r);var h=function(e){if(o.isBuffer(e)){var t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(h)return h;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),a(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=o,t.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!o.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(e,t,r){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},o.allocUnsafe=function(e){return u(e)},o.allocUnsafeSlow=function(e){return u(e)};function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return P(e).length;default:if(i)return n?-1:k(e).length;t=(""+t).toLowerCase(),i=!0}}function h(e,t,r){var i,s,a,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",s=t;s<r;++s)i+=I[e[s]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,s=t,a=r,0===s&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(s,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var s;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(s=r*=1)!=s&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var s,a=1,o=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,o/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(s=r;s<o;s++)if(c(e,s)===c(t,-1===u?0:s-u)){if(-1===u&&(u=s),s-u+1===l)return u*a}else -1!==u&&(s-=s-u),u=-1}else for(r+l>o&&(r=o-l),s=r;s>=0;s--){for(var d=!0,f=0;f<l;f++)if(c(e,s+f)!==c(t,f)){d=!1;break}if(d)return s}return -1}o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if(T(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),T(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=o.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var s=e[r];if(T(s,Uint8Array)&&(s=o.from(s)),!o.isBuffer(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(n,i),i+=s.length}return n},o.byteLength=p,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):h.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},s&&(o.prototype[s]=o.prototype.inspect),o.prototype.compare=function(e,t,r,n,i){if(T(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,a=r-t,l=Math.min(s,a),c=this.slice(n,i),u=e.slice(t,r),d=0;d<l;++d)if(c[d]!==u[d]){s=c[d],a=u[d];break}return s<a?-1:+(a<s)},o.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)};function b(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var s,a,o,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(s=e[i+1]))==128&&(l=(31&c)<<6|63&s)>127&&(u=l);break;case 3:s=e[i+1],a=e[i+2],(192&s)==128&&(192&a)==128&&(l=(15&c)<<12|(63&s)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:s=e[i+1],a=e[i+2],o=e[i+3],(192&s)==128&&(192&a)==128&&(192&o)==128&&(l=(15&c)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}var f=n,p=f.length;if(p<=4096)return String.fromCharCode.apply(String,f);for(var h="",m=0;m<p;)h+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return h}function v(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,s){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function x(e,t,r,n,i,s){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function C(e,t,r,n,s){return t*=1,r>>>=0,s||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function j(e,t,r,n,s){return t*=1,r>>>=0,s||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}o.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,s,a,o,l,c,u,d,f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var s=t.length;n>s/2&&(n=s/2);for(var a=0;a<n;++a){var o,l=parseInt(t.substr(2*a,2),16);if((o=l)!=o)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,s=r,A(k(e,this.length-i),this,i,s);case"ascii":return a=t,o=r,A(E(e),this,a,o);case"latin1":case"binary":return function(e,t,r,n){return A(E(t),e,r,n)}(this,e,t,r);case"base64":return l=t,c=r,A(P(e),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,d=r,A(function(e,t){for(var r,n,i=[],s=0;s<e.length&&!((t-=2)<0);++s)n=(r=e.charCodeAt(s))>>8,i.push(r%256),i.push(n);return i}(e,this.length-u),this,u,d);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,o.prototype),n},o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n},o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUInt8=function(e,t){return e>>>=0,t||v(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||v(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||v(e,t,this.length);for(var n=t,i=1,s=this[e+--n];n>0&&(i*=256);)s+=this[e+--n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},o.prototype.readInt8=function(e,t){return(e>>>=0,t||v(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||v(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||v(e,4,this.length),i.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||v(e,8,this.length),i.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var s=1,a=0;for(this[t]=255&e;++a<r&&(s*=256);)this[t+a]=e/s&255;return t+r},o.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var s=r-1,a=1;for(this[t+s]=255&e;--s>=0&&(a*=256);)this[t+s]=e/a&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var s=0,a=1,o=0;for(this[t]=255&e;++s<r&&(a*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var s=r-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,r){return C(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return C(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var s=i-1;s>=0;--s)e[s+t]=this[s+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},o.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!o.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,s=e.charCodeAt(0);("utf8"===n&&s<128||"latin1"===n)&&(e=s)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=o.isBuffer(e)?e:o.from(e,n),l=a.length;
5if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%l]}return this};var S=/[^+/0-9A-Za-z-_]/g;function k(e,t){t=t||1/0;for(var r,n=e.length,i=null,s=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return s}function E(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function P(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function A(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var I=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,l=(1<<o)-1,c=l>>1,u=-7,d=r?i-1:0,f=r?-1:1,p=e[t+d];for(d+=f,s=p&(1<<-u)-1,p>>=-u,u+=o;u>0;s=256*s+e[t+d],d+=f,u-=8);for(a=s&(1<<-u)-1,s>>=-u,u+=n;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===s)s=1-c;else{if(s===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),s-=c}return(p?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var a,o,l,c=8*s-i-1,u=(1<<c)-1,d=u>>1,f=5960464477539062e-23*(23===i),p=n?0:s-1,h=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=u?(o=0,a=u):a+d>=1?(o=(t*l-1)*Math.pow(2,i),a+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+p]=255&o,p+=h,o/=256,i-=8);for(a=a<<i|o,c+=i;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*m}}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},a=!0;try{n[e](r,r.exports,s),a=!1}finally{a&&delete i[e]}return r.exports}s.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=s(72)},424083,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(975157);let i=r.forwardRef(({className:e,type:r,...i},s)=>(0,t.jsx)("input",{type:r,className:(0,n.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:s,...i}));i.displayName="Input",e.s(["Input",()=>i])},667585,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let n=e.r(132061);function i({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new n.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},309885,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},652157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let n=e.r(843476),i=e.r(174080),s=e.r(563599),a=e.r(309885),o=e.r(543369);function l({moduleIds:e}){if("u">typeof window)return null;let t=s.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let n=t.reactLoadableManifest;for(let t of e){if(!n[t])continue;let e=n[t].files;
5r.push(...e)}}if(0===r.length)return null;let l=(0,o.getDeploymentIdQueryOrEmptyString)();return(0,n.jsx)(n.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,a.encodeURIPath)(e)}${l}`;return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},869093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let n=e.r(843476),i=e.r(271645),s=e.r(667585),a=e.r(652157);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...l,...e},r=(0,i.lazy)(()=>t.loader().then(o)),c=t.loading;function u(e){let o=c?(0,n.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,u=l?i.Suspense:i.Fragment,d=t.ssr?(0,n.jsxs)(n.Fragment,{children:["u"<typeof window?(0,n.jsx)(a.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(u,{...l?{fallback:o}:{},children:d})}return u.displayName="LoadableComponent",u}},770703,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let n=e.r(563141)._(e.r(869093));function i(e,t){let r={};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,n.default)({...i,modules:i.loadableGenerated?.modules})}("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)},287506,e=>{"use strict";var t=e.i(843476),r=e.i(271645);e.s(["FragmentNotRegisteredError",0,({fragmentName:e,payload:n})=>{let[i,s]=(0,r.useState)(!0);return(0,t.jsxs)("div",{className:"bg-gray-100 pt-2 pb-6 px-2 w-full mb-2 rounded-lg border-red-500 border-l-4 text-black",children:[(0,t.jsx)("h2",{className:"text-lg text-red-500",children:"Page Builder: Including_Exception"}),(0,t.jsx)("h2",{className:"text-ui-medium-text-desktop py-2",children:"Fragment not registered"}),(0,t.jsxs)("p",{className:"mb-2",children:["Fragment ",(0,t.jsx)("b",{className:"italic",children:e})," is not registered"]}),(0,t.jsx)("p",{className:"p-1 border-l-4 border-orange-400 bg-orange-100 mt-2 flex flex-row",children:"TIP: Please make sure that you have in your ui_fragments.ts configuration file something like"}),(0,t.jsx)("pre",{className:"whitespace-pre-wrap",children:` 6 { 7 ... 8 ${e}: ".../{Design System Component Name}", # make sure this component exist before registering 9 ... 10 } 11 `}),(0,t.jsxs)("label",{children:[(0,t.jsx)("input",{type:"checkbox",checked:i,onChange:e=>s(e.currentTarget.checked)})," ","Show/Hide Payload"]}),i&&(0,t.jsxs)(r.default.Fragment,{children:[(0,t.jsx)("h4",{className:"pt-2 pb-1 text-xl",children:"Using Payload"}),(0,t.jsx)("pre",{className:"whitespace-pre-wrap",children:JSON.stringify(n,null," ")})]})]})}])},290571,e=>{"use strict";var t=function(e,r){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,r)};function r(e,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){var i,s=arguments.length,a=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(a=(s<3?i(a):s>3?i(t,r,a):i(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a}function a(e,t){return function(r,n){t(r,n,e)}}function o(e,t,r,n,i,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var o,l=n.kind,c="getter"===l?"get":"setter"===l?"set":"value",u=!t&&e?n.static?e:e.prototype:null,d=t||(u?Object.getOwnPropertyDescriptor(u,n.name):{}),f=!1,p=r.length-1;p>=0;p--){var h={};for(var m in n)h[m]="access"===m?{}:n[m];for(var m in n.access)h.access[m]=n.access[m];h.addInitializer=function(e){if(f)throw TypeError("Cannot add initializer
11s after decoration has completed");s.push(a(e||null))};var g=(0,r[p])("accessor"===l?{get:d.get,set:d.set}:d[c],h);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(o=a(g.get))&&(d.get=o),(o=a(g.set))&&(d.set=o),(o=a(g.init))&&i.unshift(o)}else(o=a(g))&&("field"===l?i.unshift(o):d[c]=o)}u&&Object.defineProperty(u,n.name,d),f=!0}function l(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function c(e){return"symbol"==typeof e?e:"".concat(e)}function u(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,r,n){return new(r||(r=Promise))(function(i,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((n=n.apply(e,t||[])).next())})}function p(e,t){var r,n,i,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=o(0),a.throw=o(1),a.return=o(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(l){var c=[o,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(s=0)),s;)try{if(r=1,n&&(i=2&c[0]?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,n=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){s=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){s.label=c[1];break}if(6===c[0]&&s.label<i[1]){s.label=i[1],i=c;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(c);break}i[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(e){c=[6,e],n=0}finally{r=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}var h=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function m(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||h(t,e,r)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}function v(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var s=arguments[t],a=0,o=s.length;a<o;a++,i++)n[i]=s[a];return n}function w(e,t,r){if(r||2==arguments.length)for(var n,i=0,s=t.length;i<s;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function x(e){return this instanceof x?(this.v=e,this):new x(e)}function C(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){
11s.push([e,t,r,n])>1||o(e,t)})},t&&(n[e]=t(n[e])))}function o(e,t){try{var r;(r=i[e](t)).value instanceof x?Promise.resolve(r.value.v).then(l,c):u(s[0][2],r)}catch(e){u(s[0][3],e)}}function l(e){o("next",e)}function c(e){o("throw",e)}function u(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}}function j(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:x(e[n](t)),done:!1}:i?i(t):t}:i}}function S(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=g(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){var s,a,o;s=n,a=i,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var E=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},P=function(e){return(P=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=P(e),n=0;n<r.length;n++)"default"!==r[n]&&h(t,e,r[n]);return E(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function I(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function _(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}function O(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function N(e,t,r){if(null!=t){var n,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var L="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function R(e){function t(t){e.error=e.hasError?new L(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function M(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,i,s){return r?t?".jsx":".js":!n||i&&s?n+i+"."+s.toLowerCase()+"js":e}):e}let F={__extends:r,__assign:n,__rest:i,__decorate:s,__param:a,__esDecorate:o,__runInitializers:l,__propKey:c,__setFunctionName:u,__metadata:d,__awaiter:f,__generator:p,__createBinding:h,__exportStar:m,__values:g,__read:y,__spread:b,__spreadArrays:v,__spreadArray:w,__await:x,__asyncGenerator:C,__asyncDelegator:j,__asyncValues:S,__makeTemplateOb
11ject:k,__importStar:A,__importDefault:T,__classPrivateFieldGet:I,__classPrivateFieldSet:_,__classPrivateFieldIn:O,__addDisposableResource:N,__disposeResources:R,__rewriteRelativeImportExtension:M};e.s(["__addDisposableResource",()=>N,"__assign",()=>n,"__asyncDelegator",()=>j,"__asyncGenerator",()=>C,"__asyncValues",()=>S,"__await",()=>x,"__awaiter",()=>f,"__classPrivateFieldGet",()=>I,"__classPrivateFieldIn",()=>O,"__classPrivateFieldSet",()=>_,"__createBinding",()=>h,"__decorate",()=>s,"__disposeResources",()=>R,"__esDecorate",()=>o,"__exportStar",()=>m,"__extends",()=>r,"__generator",()=>p,"__importDefault",()=>T,"__importStar",()=>A,"__makeTemplateObject",()=>k,"__metadata",()=>d,"__param",()=>a,"__propKey",()=>c,"__read",()=>y,"__rest",()=>i,"__rewriteRelativeImportExtension",()=>M,"__runInitializers",()=>l,"__setFunctionName",()=>u,"__spread",()=>b,"__spreadArray",()=>w,"__spreadArrays",()=>v,"__values",()=>g,"default",0,F])},186346,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(376071),i=e.i(234913);e.s(["default",0,({href:e,text:s,className:a="",onClick:o,disabled:l,children:c,size:u="default",variant:d="default"})=>{let{isLightmode:f,themeColor:p}=(0,i.useAppContext)(),h=(0,t.jsx)(n.Button,{variant:d,className:`rounded-full ${f?"text-white":"text-white/80"}`,size:u,style:p?{backgroundColor:p}:void 0,children:(0,t.jsx)("div",{className:"whitespace-nowrap px-4",children:s||c})});return(0,t.jsx)("div",{onClick:o,className:`${"sm"===u?"scale-75":"lg"===u?"scale-100 md:scale-125":"scale-100 md:scale-100"} ${l?"opacity-50 cursor-not-allowed":"cursor-pointer"} flex justify-center z-30 relative ${a}`,children:e?(0,t.jsx)(r.default,{href:e,children:h}):h})}])},664659,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>t],664659)},610772,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;function s(e){let[s,a]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||a(e=>e??String(i++))},[e]),e||(s?`radix-${s}`:"")}e.s(["useId",()=>s])},369340,e=>{"use strict";var t=e.i(271645),r=e.i(934620);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function i({prop:e,defaultProp:r,onChange:i=()=>{},caller:s}){let[a,o,l]=function({defaultProp:e,onChange:r}){let[i,s]=t.useState(e),a=t.useRef(i),o=t.useRef(r);return n(()=>{o.current=r},[r]),t.useEffect(()=>{a.current!==i&&(o.current?.(i),a.current=i)},[i,a]),[i,s,o]}({defaultProp:r,onChange:i}),c=void 0!==e,u=c?e:a;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${s} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,s])}return[u,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else o(t)},[c,e,o,l])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>i],369340)},655900,e=>{"use strict";let t=(0,e.i(475254).default)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["ChevronUp",()=>t],655900)},98919,e=>{"use strict";let t=(0,e.i(475254).default)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);e.s(["Shield",()=>t],98919)},506828,e=>{"use strict";function t(e){switch(e){case"md":return{mobileMediaClass:"w-full max-h-[52vh] sm:max-h-[58vh] h-auto object-contain",leftColumnClass:"flex-1 lg:flex-1",rightColumnClass:"flex-1 lg:flex-[1.3]"};case"lg":return{mobileMediaClass:"w-full max-h-[54vh] sm:max-h-[63vh] h-auto object-contain",leftColumnClass:"flex-1 lg:flex-1",rightColumnClass:"flex-1 lg:flex-[1.45]"};default:return{mobileMediaClass:"w-full h-auto object-contain",leftColumnClass:"flex-1",rightColumnClass:"flex-1"}}}let r=[{id:"21",code:"fashionabc",name:"fashionabc",shortName:"FashionABC",heroFullWidthVideo:!0,aiProductName:"FashionABC AI.DNA",tagline:"Fashion Industry News, Directory & Wiki Profiles",emailFooterLine:"FashionABC — Fashion Industry Encyclopedia",searchResultsTitle:"Profiles & Articles",isLightmode:!1,themeColor:"#000000",cardGradientColor:"black",wikiHeroColor:"#000000",legacyAppIds:["5"],hasMarketplace:!1,hasLogin:!1,hasSearch:!0,showHighlights:!0,archiveRoutes:{postCategory:"/category",articleTag:"/tag",listingTag:"/list-tags",directoryCategory:"/fashion-category",location:"/location"},redirects:[{source:"/insight",destination:"/page/insight",permanent:!0},{source:"/linkdeploy",destination:"/page/linkdeploy",permanent:!0},{source:"/privacy-policy",destination:"/page/privacy-policy",permanent:!0}],highlightsCarouselSource:"recent",solidLogoPaths:["/:slug","/wiki/*","/category/*","/tag/*","/fashion-category/*","/list-tags/*","/location/*"],sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/page/insight",priority:.7,label:"Insight"},{path:"/page/privacy-policy",priority:.3,label:"Privacy Policy"}],dynamic:{news:!0,brands:!0,events:!0,organizations:!0,influencers:!0,education:!0,pages:!0,postCategories:!0,articleTags:!0,listingTags:!0,directoryCategories:!0,locations:!0}}},{id:"13",code:"businessabc",name:"businessabc",shortName:"businessabc",aiProductName:"businessabc AI.DNA",tagline:"Global Business Intelligence, Company Profiles & Leadership Insights",emailFooterLine:"BusinessABC — The Global Business Encyclopedia",searchResultsTitle:"Profiles & Articles",gtmContainerId:"GTM-MRCD4JZ5",a
11hrefsKey:"/g81iVQxxm6XNceBso4uMQ",isLightmode:!0,themeColor:"#0133cd",cardGradientColor:"#010a27",legacyAppIds:["6"],footerId:"1",hasMarketplace:!1,marketplacePageSlug:"test-marketplace",contactFormTypeId:5,hasLogin:!1,heroFullWidthVideo:!0,heroExtendedHeight:240,highlightsCarouselSource:"recent",showHighlights:!0,hasCompanyCTA:!0,hasInfluencerCTA:!0,hasInvestorCTA:!0,hasUniversityCTA:!0,hasOrganizationCTA:!0,hasSearch:!0,googlePreferredSource:{enabled:!0,theme:"light"},rssFeed:{enabled:!0,authorEmail:"[email protected]",itemLimit:100},solidLogoPaths:["/page/businessabc-resources","/page/official-wiki-page","/self-assessment","/press-release/subscription","/businessabc-ai-visibility","/:slug","/author/*","/posts/*"],favicon:"/favicons/businessabc.svg",redirects:[{source:"/results",destination:"/search",permanent:!0},{source:"/results2",destination:"/search",permanent:!0},{source:"/forgot",destination:"/auth/reset-password",permanent:!0},{source:"/signup",destination:"/login",permanent:!0},{source:"/signup/confirm",destination:"/auth/confirm",permanent:!0},{source:"/profile",destination:"/account",permanent:!0},{source:"/aidna",destination:"/ai-chat",permanent:!0},{source:"/api/feed",destination:"/feed",permanent:!0},{source:"/about-us",destination:"/page/about-us",permanent:!0},{source:"/directory",destination:"/page/businessabc-directory",permanent:!0},{source:"/resources",destination:"/page/businessabc-resources",permanent:!0},{source:"/marketplace/esg-risk-rating-self-assessment",destination:"/self-assessment",permanent:!0},{source:"/official-wiki-page",destination:"/businessabc-ai-visibility",permanent:!0}
11,{source:"/official-wiki-page-redesigned",destination:"/businessabc-ai-visibility",permanent:!0},{source:"/official-wiki-page-redesigned-7f3c9a2b",destination:"/businessabc-ai-visibility",permanent:!0},{source:"/wiki/coalition-for-content-provenance-and-authenticity-c2-pa",destination:"/wiki/coalition-for-content-provenance-and-authenticity-c2pa",permanent:!0},{source:"/page/top-100-ai-companies-in-the-uk",destination:"/page/top-100-ai-companies-in-the-uk-1",permanent:!1},{source:"/top-200-blockchain-authors-and-influencers",destination:"/page/top-200-blockchain-authors-and-influencers",permanent:!1},{source:"/page/top-1000-global-digital-agencies",destination:"/page/top-1000-global-digital-agencies-1",permanent:!1},{source:"/page/businessabc-indexes",destination:"/page/businessabc-indexes-1",permanent:!1},{source:"/page/top-1000-businessabc-india-index",destination:"/page/top-1000-businessabc-india-index-1",permanent:!1},{source:"/page/top-1000-uk-index",destination:"/page/top-1000-uk-index-1",permanent:!0},{source:"/page/top-1000-turkiye-index",destination:"/page/top-1000-turkiye-index-1",permanent:!1},{source:"/page/top-1000-vietnam-index",destination:"/page/top-1000-vietnam-index-1",permanent:!1},{source:"/page/top-businessabc-accelerators-and-chambers-of-commerce",destination:"/page/top-businessabc-accelerators-and-chambers-of-commerce-1",permanent:!1},{source:"/page/top-100-businesabc-india-accelerators-index",destination:"/page/top-100-businesabc-india-accelerators-index-1",permanent:!1},{source:"/page/top-100-businessabc-india-chambers-of-commerce-index",destination:"/page/top-100-businessabc-india-chambers-of-commerce-index-1",permanent:!1},{source:"/top-companies-by-market-cap",destination:"/page/top-companies-by-market-cap",permanent:!1},{source:"/page/businessabc-education-index",destination:"/page/businessabc-education-index-1",permanent:!1},{source:"/page/top-100-university-in-india",destination:"/page/top-100-university-in-india-1",permanent:!1},{source:"/page/top-universities-in-london",destination:"/page/top-universities-in-london-1",permanent:!1},{source:"/top-malaysian-companies-by-market-cap",destination:"/page/top-malaysian-companies-by-market-cap",permanent:!1},{source:"/api/sitemaps/index.xml",destination:"/sitemap.xml",permanent:!0},{source:"/sitemap_index.xml",destination:"/sitemap.xml",permanent:!0},{source:"/sitemap/index.xml",destination:"/sitemap.xml",permanent:!0},{source:"/api/sitemaps/posts.xml.gz",destination:"/sitemap.xml",permanent:!0},{source:"/api/sitemaps/companies.xml.gz",destination:"/sitemap.xml",permanent:!0},{source:"/api/sitemaps/posts.xml",destination:"/sitemap.xml",permanent:!0},{source:"/api/sitemaps/companies.xml",destination:"/sitemap.xml",permanent:!0},{source:"/sitemaps/posts.xml",missing:[{type:"query",key:"slice"}],destination:"/sitemaps/posts.xml?slice=0",permanent:!0},{source:"/sitemaps/companies.xml",missing:[{type:"query",key:"slice"}],destination:"/sitemaps/companies.xml?slice=0",permanent:!0},{source:"/api/sitemaps/pages.xml.gz",destination:"/sitemaps/pages.xml",permanent:!0},{source:"/api/sitemaps/influencers.xml.gz",destination:"/sitemaps/influencers.xml",permanent:!0},{source:"/api/sitemaps/organizations.xml.gz",destination:"/sitemaps/organizations.xml",permanent:!0},{source:"/api/sitemaps/investors.xml.gz",destination:"/sitemaps/investors.xml",permanent:!0},{source:"/api/sitemaps/educations.xml.gz",destination:"/sitemaps/educations.xml",permanent:!0},{source:"/api/sitemaps/pages.xml",destination:"/sitemaps/pages.xml",permanent:!0},{source:"/api/sitemaps/influencers.xml",destination:"/sitemaps/influencers.xml",permanent:!0},{source:"/api/sitemaps/organizations.xml",destination:"/sitemaps/organizations.xml",permanent:!0},{source:"/api/sitemaps/investors.xml",destination:"/sitemaps/investors.xml",permanent:!0},{source:"/api/sitemaps/educations.xml",destination:"/sitemaps/educations.xml",permanent:!0},{source:"/api/sitemaps/static.xml.gz",destination:"/sitemaps/static.xml",permanent:!0},{source:"/api/sitemaps/static.xml",destination:"/sitemaps/static.xml",permanent:!0},{source:"/api/sitemaps/brands.xml.gz",destination:"/sitemap.xml",permanent:!0},{source:"/api/sitemaps/brands.xml",destination:"/sitemap.xml",permanent:!0},{source:"/pages.xml.gz",destination:"/sitemaps/pages.xml",permanent:!0}],sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/self-assessment",priority:.5,label:"ESG Self-Assessment Survey"},{path:"/global-business-atlas",priority:.5,label:"Global Business Atlas"},{path:"/marketplace",priority:.5,label:"Marketplace"},{path:"/businessabc-ai-visibility",priority:.7,label:"AI Visibility"},{path:"/press-release/subscription",priority:.7,label:"Submit a Press Release"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"}],postCategoryIds:["1","18","6","8","9","10","11","3","16","2"],dynamic:{news:!0,education:!0,organizations:!0,companies:!0,influencers:!0,investors:!0,brands:!0,pages:!0}}},{id:"3",code:"citiesabc",name:"citiesabc",shortName:"citiesabc",aiProductName:"citiesabc AI.DNA",searchResultsTitle:"Profiles & Articles",gaMeasurementId:"G-P94JY8EDW6",ahrefsKey:"yxEtG9js7lYvVPAlCufSYA",isLightmode:!1,hasMarketplace:!0,hasLogin:!1,hasCityExperiences:!0,favicon:"/favicons/citiesabc.png",logoUrl:"https://hel1.your-objectstorage.com/ztudium-qa-cms/W_citiesabc_beta_bfb3cbeac3.svg",allResourcesSlug:"/page/citiesabc-resources",hasSearch:!0,emailFooterLine:"CitiesABC — Global Cities, Universities, Rankings, Experiences & Smart City Insights",googlePreferredSource:{enabled:!0,theme:"light"},redirects:[{source:"/about-us",destination:"/page/about-us-citiesabc",permanent:!0}],sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/page/about-us-citiesabc",priority:.5,label:"About Us"},{path:"/blueprint-smart-cities",priority:.8,label:"Blueprint: Smart Cities"},{path:"/experiences",priority:.3,label:"Experiences"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"},{path:"/marketplace/collections/cities-of-the-world",priority:.3,label:"Marketplace: Cities of the World"}],dynamic:{news:!0,cities:!0,education:!0,pages:!0}}},{id:"12",code:"impakt",name:"impakt",shortName:"impakt",aiProductName:"citiesabc Impakt AI.DNA",searchResultsTitle:"Profiles & Articles",gaMeasurementId:"",isLightmode:!1,hasMarketplace:!1,hasLogin:!0,hasSearch:!0,emailFooterLine:"impakt — Making Change, Globally.",favicon:"/favicons/citiesabc.png",googlePreferredSource:{enabled:!0,theme:"light"},sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/impakt-app",priority:.9,label:"Impakt App"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"}],dynamic:{news:!0}
11}},{id:"17",code:"new-wisdomia",name:"new-wisdomia",shortName:"new-wisdomia",aiProductName:"wisdomia AI.DNA",searchResultsTitle:"Knowledge & Sources",emailFooterLine:"wisdomia — Where Knowledge Meets Technology",gaMeasurementId:"",isLightmode:!1,hasMarketplace:!0,hasLogin:!0,hasNotifications:!0,hasSearch:!0,hasCustomSearch:{projectId:"336443899767",engineId:"wisdomia-semantic-search_1784088359644",servingConfig:"default_search"},footerId:"4",legacyAppIds:["4"],heroImageFit:"contain",highlightsCarouselSource:"recent",favicon:"/favicons/wisomia.ico",logoUrl:"https://hel1.your-objectstorage.com/ztudium-cms/wisdomia_logo4_f2bfa7cc13.png",loginImageUrl:"https://hel1.your-objectstorage.com/ztudium-cms/image_90_990aaaf10d.png",solidLogoPaths:["/marketplace/*"],googlePreferredSource:{enabled:!0,theme:"light"},sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/marketplace",priority:.8,label:"Marketplace"},{path:"/search",priority:.7,label:"Search"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"}],dynamic:{news:!0,knowledgeCategories:!0,knowledgeBases:!0,pages:!0}},redirects:[{source:"/signin",destination:"/login",permanent:!1},{source:"/city",destination:"/",permanent:!1},{source:"/place",destination:"/",permanent:!1},{source:"/about-us",destination:"/page/wisdomia-about-us",permanent:!1},{source:"/page/wisdomia-homepage",destination:"/",permanent:!1},{source:"/page/titans-of-the-world",destination:"/knowledge/titans-of-the-world",permanent:!1},{source:"/page/wonders-of-the-world",destination:"/knowledge/wonders-of-the-world",permanent:!1},{source:"/page/wonders-of-nature",destination:"/knowledge/wonders-of-nature",permanent:!1},{source:"/page/wisdomia-wonders-of-engineering",destination:"/knowledge/wonders-of-engineering",permanent:!1},{source:"/page/wisdomia-gods-of-india",destination:"/knowledge/hindu-gods",permanent:!1},{source:"/page/wisdomia-museums-of-the-world",destination:"/knowledge/museums-of-the-world",permanent:!1},{source:"/page/wisdomia-top-writers-in-the-world",destination:"/knowledge/top-writers-in-the-world",permanent:!1},{source:"/page/wisdomia-pyramid",destination:"/page/wisdomia-titans-mstore",permanent:!1},{source:"/page/marketplace-wisdomia",destination:"/marketplace",permanent:!1},{source:"/place/leonardo-da-vinci/chat",destination:"/wiki/leonardo-da-vinci/chat",permanent:!1},{source:"/place/cleopatra/chat",destination:"/wiki/cleopatra/chat",permanent:!1},{source:"/place/platao",destination:"/knowledge/titans-of-the-world/plato",permanent:!1},{source:"/place/abraham-lincolm",destination:"/knowledge/titans-of-the-world/abraham-lincoln",permanent:!1},{source:"/place/salomao",destination:"/knowledge/titans-of-the-world/solomon",permanent:!1}]},{id:"15",code:"lifesdna",name:"lifesdna",shortName:"lifesdna",aiProductName:"lifesdna AI.DNA",searchResultsTitle:"Profiles & Articles",emailFooterLine:"lifesdna — The Global Life Sciences Encyclopedia",gaMeasurementId:"",isLightmode:!1,hasMarketplace:!1,hasLogin:!1,hasSearch:!0,heroFullWidthVideo:!0,highlightsCarouselSource:"recent",allResourcesSlug:"/page/lifesdna-resources",showHighlights:!0,favicon:"/favicons/lifesdna/favicon.svg",googlePreferredSource:{enabled:!0,theme:"light"},redirects:[{source:"/about-us",destination:"/page/about-us-lifesdna",permanent:!0}],sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/page/about-us-lifesdna",priority:.5,label:"About Us"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"}],postCategoryIds:[],dynamic:{news:!0}}},{id:"14",code:"sportsdna",name:"sportsdna",shortName:"sportsdna",aiProductName:"sportsdna AI.DNA",searchResultsTitle:"Sports & Articles",emailFooterLine:"SportsDNA — The Global Sports Encyclopedia",gaMeasurementId:"TEST_GA_ID",isLightmode:!0,hasMarketplace:!1,hasLogin:!1,hasSearch:!0,googlePreferredSource:{enabled:!0,theme:"light"},favicon:"/favicons/sportsdna/favicon.svg",sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"}],dynamic:{news:!0}
11}},{id:"18",code:"world-top-ceo",name:"world-top-ceo",shortName:"WTC",aiProductName:"world-top-ceo AI.DNA",searchResultsTitle:"News & Articles",emailFooterLine:"World Top CEO — The Global CEO Encyclopedia",gaMeasurementId:"TEST_GA_ID",isLightmode:!1,basicHeroVideoSize:"lg",hasMarketplace:!1,hasLogin:!1,hasSearch:!1,legacyAppIds:["6"],themeColor:" #AA7C11",wikiHeroColor:"#AA7C11",externalWikiBaseUrl:"https://www.businessabc.net",favicon:"/favicons/world-top-ceo.ico",largeHeader:!0,fontClass:"montserrat",paddingX:"lg",postsTheme:"light",postsTitleTheme:!0,googlePreferredSource:{enabled:!0,theme:"light"},redirects:[{source:"/about-us",destination:"/page/about-us-world-top-ceo",permanent:!0}],sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/page/about-us-world-top-ceo",priority:.5,label:"About Us"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"}],dynamic:{news:!0}},solidLogoPaths:["/world-top-ceo-subscription"]},{id:"19",code:"freedomx",name:"freedomx",shortName:"FreedomX",aiProductName:"FreedomX AI.DNA",searchResultsTitle:"News & Articles",emailFooterLine:"FreedomX — The Next-Generation Web3 platform",gaMeasurementId:"",isLightmode:!1,themeColor:"#7A0100",hasMarketplace:!1,hasLogin:!1,hasSearch:!0,footerId:"1",heroFullWidthVideo:!0,contentWidth:"xl",highlightsCarouselSource:"recent",showHighlights:!0,googlePreferredSource:{enabled:!0,theme:"light"},favicon:"/favicons/freedomx.ico",logoUrl:"https://hel1.your-objectstorage.com/ztudium-cms/Freedom_X_logo_e7c752e5bf.svg",redirects:[{source:"/about-us",destination:"/page/about-us-freedomx",permanent:!0},{source:"/category/news",destination:"/page/freedomx-news",permanent:!0},{source:"/category/news/page/:page",destination:"/page/freedomx-news",permanent:!0},{source:"/category/esports-gaming",destination:"/page/freedomx-esports-and-gaming",permanent:!0},{source:"/category/esports-gaming/page/:page",destination:"/page/freedomx-esports-and-gaming",permanent:!0},{source:"/category/entertainment",destination:"/page/freedomx-entertainment",permanent:!0},{source:"/category/entertainment/page/:page",destination:"/page/freedomx-entertainment",permanent:!0},{source:"/category/ai-ar-vr-avatars",destination:"/page/freedomx-ai-ar-vr-avatars",permanent:!0},{source:"/category/ai-ar-vr-avatars/page/:page",destination:"/page/freedomx-ai-ar-vr-avatars",permanent:!0},{source:"/category/:slug",destination:"/",permanent:!0},{source:"/category/:slug/page/:page",destination:"/",permanent:!0},{source:"/tag/:slug",destination:"/",permanent:!0},{source:"/tag/:slug/page/:page",destination:"/",permanent:!0},{source:"/author/peyman-farahani",destination:"/author/peyman-khosravani",permanent:!0},{source:"/author/peyman-farahani/page/:page",destination:"/author/peyman-khosravani",permanent:!0},{source:"/author/himani",destination:"/author/himani-verma",permanent:!0},{source:"/author/himani/page/:page",destination:"/author/himani-verma",permanent:!0},{source:"/author/sara",destination:"/author/sara-srifi",permanent:!0},{source:"/author/sara/page/:page",destination:"/author/sara-srifi",permanent:!0},{source:"/author/pallavi",destination:"/author/pallavi-singal",permanent:!0},{source:"/author/pallavi/page/:page",destination:"/author/pallavi-singal",permanent:!0},{source:"/author/dinis",destination:"/author/dinis-guarda",permanent:!0},{source:"/author/dinis/page/:page",destination:"/author/dinis-guarda",permanent:!0},{source:"/author/dinis-guarda/page/:page",destination:"/author/dinis-guarda",permanent:!0},{source:"/author/news",destination:"/author/businessabc",permanent:!0},{source:"/author/news/page/:page",destination:"/author/businessabc",permanent:!0},{source:"/:category(esports-gaming|entertainment|news|ai-ar-vr-avatars)/:slug",destination:"/:slug",permanent:!0}],sitemap:{staticPaths:[{path:"/",priority:1,label:"Home"},{path:"/page/about-us-freedomx",priority:.5,label:"About Us"},{path:"/privacy-policy",priority:.3,label:"Privacy Policy"},{path:"/terms-of-service",priority:.3,label:"Terms of Service"},{path:"/disclaimer",priority:.3,label:"Disclaimer"}],postCategoryIds:[],dynamic:{news:!0,pages:!0}}}],n=[{path:"/impakt",footerBg:"#0a250e"}],i=n.map(e=>e.path);function s(e){return e?r.find(t=>
11t.id===e):r.find(e=>"13"===e.id)}function a(e){let t=(e||"").toLowerCase();return t?r.find(e=>t.includes(e.code.toLowerCase()))||r.find(e=>t.includes(e.name.toLowerCase()))||r.find(e=>"businessabc"===e.code)||r[0]:r.find(e=>"businessabc"===e.code)||r[0]}e.s(["APPLICATIONS",0,r,"LANDING_PAGES",0,n,"LANDING_PAGE_PATHS",0,i,"getApplicationConfigByHost",()=>a,"getApplicationConfigById",()=>s,"getBasicHeroVideoClasses",()=>t])},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return s.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let s=e.r(132120),a=e.r(92245),o=e.r(235326)},531278,e=>{"use strict";let t=(0,e.i(475254).default)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",()=>t],531278)},580406,e=>{"use strict";let t=[{name:"ipinfo.io",url:"https://ipinfo.io/json",parse:e=>"string"==typeof e.country?e.country.toUpperCase():null},{name:"geoiplookup.io",url:"https://json.geoiplookup.io/",parse:e=>"string"==typeof e.country_code?e.country_code.toUpperCase():null},{name:"ipapi.co",url:"https://ipapi.co/json/",parse:e=>"string"==typeof e.country_code?e.country_code.toUpperCase():null}];async function r(e){let t=await fetch(e.url);if(!t.ok)return null;let r=await t.json();return e.parse(r)}async function n(){for(let e of t)try{let t=await r(e);if(t)return t}catch{}if("u"<typeof navigator)return null;let e=navigator.language?.split("-")[1];return e?e.toUpperCase():null}e.s(["detectUserCountryCode",()=>n])},806066,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(271645),n=e.i(580406),i=e.i(193049);let s=` 12 query GetShopDetails { 13 localization { 14 availableCountries { 15 isoCode 16 name 17 currency { 18 isoCode 19 symbol 20 } 21 } 22 } 23 } 24`,a=(0,r.createContext)({countries:[],selectedCountry:null,setSelectedCountry:()=>{},loading:!0});function o({children:e}){let[o,l]=(0,r.useState)([]),[c,u]=(0,r.useState)(null),[d,f]=(0,r.useState)(!0),p=()=>{try{let e=localStorage.getItem("preferredCountry");if(e)return JSON.parse(e)}catch(e){console.error("Error loading saved region preference:",e)}return null};return(0,r.useEffect)(()=>{!async function(){f(!0);try{let{localization:e}=await i.shopifyClient.request(s),t=e.availableCountries;l(t);let r=p();if(r){u(r),f(!1);return}let a=await (0,n.detectUserCountryCode)(),o=t&&a&&t.find(e=>e.isoCode===a||e.code===a)||null;u(o||t[0]),o&&localStorage.setItem("preferredCountry",JSON.stringify(o))}catch(t){console.error("Error initializing region context:",t),t instanceof Error&&(console.error("Error details:",t.message),t.message.includes("Failed to connect")&&console.warn("Shopify integration is not available. The app will continue without region selection.")),l([]);let e=p();e?u(e):u({isoCode:"US"})}finally{f(!1)}}()},[]),(0,t.jsx)(a.Provider,{value:{countries:o,selectedCountry:c,setSelectedCountry:e=>{u(e),localStorage.setItem("preferredCountry",JSON.stringify(e))},loading:d},children:e})}e.s(["RegionProvider",()=>o,"useRegion",0,()=>(0,r.useContext)(a)],806066)},619273,e=>{"use strict";var t="u"<typeof window||"Deno"in globalThis;function r(){}function n(e,t){return"function"==typeof e?e(t):e}function i(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function a(e,t){return"function"==typeof e?e(t):e}function o(e,t){return"function"==typeof e?e(t):e}function l(e,t){let{type:r="all",exact:n,fetchStatus:i,predicate:s,queryKey:a,stale:o}=e;if(a){if(n){if(t.queryHash!==u(a,t.options))return!1}else if(!f(t.queryKey,a))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof o||t.isStale()===o)&&(!i||i===t.state.fetchStatus)&&(!s||!!s(t))}function c(e,t){let{exact:r,status:n,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(r){if(d(t.options.mutationKey)!==d(s))return!1}else if(!f(t.options.mutationKey,s))return!1}return(!n||t.state.status===n)&&(!i||!!i(t))}function u(e,t){return(t?.queryKeyHashFn||d)(e)}function d(e){return JSON.stringify(e,(e,t)=>m(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function f(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>f(e[r],t[r]))}function p(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0}function h(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function m(e){if(!g(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!g(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function g(e){return"[object Object]"===Object.prototype.toString.call(e)}function y(e){return new Promise(t=>{setTimeout(t,e)})}function b(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?function e(t,r){if(t===r)return t;let n=h(t)&&h(r);if(n||m(t)&&m(r)){let i=n?t:Object.keys(t),s=i.length,a=n?r:Object.keys(r),o=a.length,l=n?[]:{},c=new Set(i),u=0;for(let i=0;i<o;i++){let s=n?i:a[i];(!n&&c.has(s)||n)&&void 0===t[s]&&void 0===r[s]?(l[s]=void 0,u++):(l[s]=e(t[s],r[s]),l[s]===t[s]&&void 0!==t[s]&&u++)}return s===o&&u===s?t:l}return r}(e,t):t}function v(e,t,r=0){let n=[...e,t];return r&&n.length>r?n.slice(1):n}function w(e,t,r=0){let n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var x=Symbol();function C(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==x?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function j(e,t){return"function"==typeof e?e(...t):!!e}e.s(["addToEnd",()=>v,"addToStart",()=>w,"ensureQueryFn",()=>C,"functionalUpdate",()=>n,"hashKey",()=>d,"hashQueryKeyByOptions",()=>u,"isServer",()=>t,"isValidTimeout",()=>i,"matchMutation",()=>c,"matchQuery",()=>l,"noop",()=>r,"partialMatchKey",()=>f,"replaceData",()=>b,"resolveEnabled",()=>o,"resolveStaleTime",()=>
24a,"shallowEqualObjects",()=>p,"shouldThrowError",()=>j,"skipToken",()=>x,"sleep",()=>y,"timeUntilStale",()=>s])},540143,e=>{"use strict";let t,r,n,i,s,a;var o=(t=[],r=0,n=e=>{e()},i=e=>{e()},s=e=>setTimeout(e,0),{batch:e=>{let a;r++;try{a=e()}finally{let e;--r||(e=t,t=[],e.length&&s(()=>{i(()=>{e.forEach(e=>{n(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{r?t.push(e):s(()=>{n(e)})},setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{s=e}});e.s(["notifyManager",()=>o])},915823,e=>{"use strict";var t=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",()=>t])},175555,e=>{"use strict";var t=e.i(915823),r=e.i(619273),n=new class extends t.Subscribable{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!r.isServer&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",()=>n])},286491,814448,793803,936553,88587,e=>{"use strict";e.i(247167);var t=e.i(619273),r=e.i(540143),n=e.i(175555),i=e.i(915823),s=new class extends i.Subscribable{#n=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!t.isServer&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#n}};function a(){let e,t,r=new Promise((r,n)=>{e=r,t=n});function n(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{n({status:"fulfilled",value:t}),e(t)},r.reject=e=>{n({status:"rejected",reason:e}),t(e)},r}function o(e){return Math.min(1e3*2**e,3e4)}function l(e){return(e??"online")!=="online"||s.isOnline()}e.s(["onlineManager",()=>s],814448),e.s(["pendingThenable",()=>a],793803);var c=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function u(e){return e instanceof c}function d(e){let r,i=!1,u=0,d=!1,f=a(),p=()=>n.focusManager.isFocused()&&("always"===e.networkMode||s.isOnline())&&e.canRun(),h=()=>l(e.networkMode)&&e.canRun(),m=t=>{d||(d=!0,e.onSuccess?.(t),r?.(),f.resolve(t))},g=t=>{d||(d=!0,e.onError?.(t),r?.(),f.reject(t))},y=()=>new Promise(t=>{r=e=>{(d||p())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,d||e.onContinue?.()}),b=()=>{let r;if(d)return;let n=0===u?e.initialPromise:void 0;try{r=n??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(m).catch(r=>{if(d)return;let n=e.retry??3*!t.isServer,s=e.retryDelay??o,a="function"==typeof s?s(u,r):s,l=!0===n||"number"==typeof n&&u<n||"function"==typeof n&&n(u,r);i||!l?g(r):(u++,e.onFail?.(u,r),(0,t.sleep)(a).then(()=>p()?void 0:y()).then(()=>{i?g(r):b()}))})};return{promise:f,cancel:t=>{d||(g(new c(t)),e.abort?.())},continue:()=>(r?.(),f),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1},canStart:h,start:()=>(h()?b():y().then(b),f)}}e.s(["canFetch",()=>l,"createRetryer",()=>d,"isCancelledError",()=>u],936553);var f=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,t.isValidTimeout)(this.gcTime)&&(this.#i=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(t.isServer?1/0:3e5))}clearGcTimeout(){this.#i&&(clearTimeout(this.#i),this.#i=void 0)}};e.s(["Removable",()=>f],88587);var p=class extends f{#s;#a;#o;#l;#c;#u;#d;constructor(e){super(),this.#d=!1,this.#u=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#o=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#s=function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdate
24Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#s,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#c?.promise}setOptions(e){this.options={...this.#u,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#o.remove(this)}setData(e,r){let n=(0,t.replaceData)(this.state.data,e,this.options);return this.#f({data:n,type:"success",dataUpdatedAt:r?.updatedAt,manual:r?.manual}),n}setState(e,t){this.#f({type:"setState",state:e,setStateOptions:t})}cancel(e){let r=this.#c?.promise;return this.#c?.cancel(e),r?r.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#s)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#c?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#c?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#o.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#c&&(this.#d?this.#c.cancel({revert:!0}):this.#c.cancelRetry()),this.scheduleGc()),this.#o.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#f({type:"invalidate"})}fetch(e,r){let n;if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&r?.cancelRefetch)this.cancel({silent:!0});else if(this.#c)return this.#c.continueRetry(),this.#c.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let i=new AbortController,s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#d=!0,i.signal)})},a=()=>{let e,n=(0,t.ensureQueryFn)(this.options,r),i=(s(e={client:this.#l,queryKey:this.queryKey,meta:this.meta}),e);return(this.#d=!1,this.options.persister)?this.options.persister(n,i,this):n(i)},o=(s(n={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:a}),n);this.options.behavior?.onFetch(o,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#f({type:"fetch",meta:o.fetchOptions?.meta});let l=e=>{u(e)&&e.silent||this.#f({type:"error",error:e}),u(e)||(this.#o.config.onError?.(e,this),this.#o.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#c=d({initialPromise:r?.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:e=>{if(void 0===e)return void l(Error(`${this.queryHash} data is undefined`));try{this.setData(e)}catch(e){l(e);return}this.#o.config.onSuccess?.(e,this),this.#o.config.onSettled?.(e,this.state.error,this),this.scheduleGc()},onError:l,onFail:(e,t)=>{this.#f({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}),this.#c.start()}#f(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...h(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let r=e.error;if(u(r)&&r.revert&&this.#a)return{...this.#a,fetchStatus:"idle"};
24return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),r.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#o.notify({query:this,type:"updated",action:e})})}};function h(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:l(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}e.s(["Query",()=>p,"fetchState",()=>h],286491)},992571,e=>{"use strict";var t=e.i(619273);function r(e){return{onFetch:(r,s)=>{let a=r.options,o=r.fetchOptions?.meta?.fetchMore?.direction,l=r.state.data?.pages||[],c=r.state.data?.pageParams||[],u={pages:[],pageParams:[]},d=0,f=async()=>{let s=!1,f=(0,t.ensureQueryFn)(r.options,r.fetchOptions),p=async(e,n,i)=>{let a;if(s)return Promise.reject();if(null==n&&e.pages.length)return Promise.resolve(e);let o=(Object.defineProperty(a={client:r.client,queryKey:r.queryKey,pageParam:n,direction:i?"backward":"forward",meta:r.options.meta},"signal",{enumerable:!0,get:()=>(r.signal.aborted?s=!0:r.signal.addEventListener("abort",()=>{s=!0}),r.signal)}),a),l=await f(o),{maxPages:c}=r.options,u=i?t.addToStart:t.addToEnd;return{pages:u(e.pages,l,c),pageParams:u(e.pageParams,n,c)}};if(o&&l.length){let e="backward"===o,t={pages:l,pageParams:c},r=(e?i:n)(a,t);u=await p(t,r,e)}else{let t=e??l.length;do{let e=0===d?c[0]??a.initialPageParam:n(a,u);if(d>0&&null==e)break;u=await p(u,e),d++}while(d<t)}return u};r.options.persister?r.fetchFn=()=>r.options.persister?.(f,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},s):r.fetchFn=f}}}function n(e,{pages:t,pageParams:r}){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function i(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function s(e,t){return!!t&&null!=n(e,t)}function a(e,t){return!!t&&!!e.getPreviousPageParam&&null!=i(e,t)}e.s(["hasNextPage",()=>s,"hasPreviousPage",()=>a,"infiniteQueryBehavior",()=>r])},912598,e=>{"use strict";var t=e.i(271645),r=e.i(843476),n=t.createContext(void 0),i=e=>{let r=t.useContext(n);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},s=({client:e,children:i})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,r.jsx)(n.Provider,{value:e,children:i}));e.s(["QueryClientProvider",()=>s,"useQueryClient",()=>i])},927587,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(854056);let i=({show:e,setShow:i,message:s,type:a="info",duration:o=5e3,position:l="top-right"})=>((0,r.useEffect)(()=>{let t;return e&&(t=setTimeout(()=>{i(!1)},o)),()=>{clearTimeout(t)}},[e,i,o]),(0,t.jsx)(n.Transition,{show:e,enter:"transition-opacity duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"transition-opacity duration-300",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,t.jsxs)("div",{className:`${(()=>{switch(l){case"top-left":return"fixed top-4 left-4";case"top-center":return"fixed top-4 left-1/2 transform -translate-x-1/2";case"bottom-right":return"fixed bottom-4 right-4";case"bottom-left":return"fixed bottom-4 left-4";default:return"fixed top-4 right-4"}})()} ${(()=>{let e="px-4 py-3 rounded-lg shadow-lg border flex items-center space-x-3 z-[2000000] pointer-events-auto";switch(a){case"success":return`${e} bg-black border-green-500 text-green-400`;case"error":return`${e} bg-black border-red-500 text-red-400`;case"warning":return`${e} bg-black border-yellow-500 text-yellow-400`;default:return`${e} bg-black border-blue-500 text-blue-400`}})()}`,children:[(()=>{switch(a){case"success":return(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})});case"error":return(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})});case"warning":return(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})});default:return(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"})})}})(),(0,t.jsx)("span",{className:"text-sm font-medium",children:s}),(0,t.jsx)("button",{onClick:()=>i(!1),className:"ml-2 text-current opacity-70 hover:opacity-100",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"
24currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})),s=(0,r.createContext)({showToast:()=>{},hideToast:()=>{}});function a({children:e}){let[n,a]=(0,r.useState)({show:!1,message:"",type:"info",duration:5e3}),o=()=>{a(e=>({...e,show:!1}))};return(0,t.jsxs)(s.Provider,{value:{showToast:(e,t="info",r=5e3)=>{a({show:!0,message:e,type:t,duration:r})},hideToast:o},children:[e,(0,t.jsx)(i,{show:n.show,setShow:o,message:n.message,type:n.type,duration:n.duration})]})}e.s(["ToastProvider",()=>a,"useToast",0,()=>{let e=(0,r.useContext)(s);if(void 0===e)throw Error("useToast must be used within a ToastProvider");return e}],927587)},58419,e=>{"use strict";var t=e.i(843476),r=e.i(234913),n=e.i(271645);let i=(0,e.i(770703).default)(()=>e.A(650663),{loadableGenerated:{modules:[318968]},ssr:!1,loading:()=>null});function s(){let{globalAvatar:e,showGlobalAvatar:s}=(0,r.useAppContext)(),[a,o]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{let e=setTimeout(()=>{o(!0)},100);return()=>clearTimeout(e)},[]),s&&e&&e.voice_id&&a)?(0,t.jsx)("div",{id:"global-avatar-wrapper",children:(0,t.jsx)(i,{avatarDescription:e.character_id||"",avatarName:e.name||"",avatarSubtitle:e.title||"",avatarVoiceId:e.voice_id,avatarIdleVideoUrl:e.avatarVideoUrl||"",avatarImageUrl:e.avatarImageUrl||"",avatarPersonality:e.description||"",projectId:e.character_id||"",agentId:e.agent_id||"",placeholder:e.placeholder||"Ask me anything...",summary:e.summary||"",logo:e.logo||"",personality:e.personality||"",isLayoutNull:!1,show_search_results:e.show_search_results})}):null}e.s(["default",0,({children:e,initialIsLightmode:n,initialAppCode:i,initialHasSearch:a,initialHasCustomSearch:o,initialThemeColor:l,initialCardGradientColor:c,initialHeroFullWidthVideo:u,initialHeroImageFit:d,initialHeroExtendedHeight:f,initialBasicHeroVideoSize:p,initialShowHighlights:h,initialAllResourcesSlug:m,initialLogoUrl:g,initialFontClass:y,initialPaddingXClass:b,initialContentWidthClass:v,initialPostsTheme:w,initialPostsTitleTheme:x})=>(0,t.jsxs)(r.AppProvider,{initialIsLightmode:n,initialAppCode:i,initialHasSearch:a,initialHasCustomSearch:o,initialThemeColor:l,initialCardGradientColor:c,initialHeroFullWidthVideo:u,initialHeroImageFit:d,initialHeroExtendedHeight:f,initialBasicHeroVideoSize:p,initialShowHighlights:h,initialAllResourcesSlug:m,initialLogoUrl:g,initialFontClass:y,initialPaddingXClass:b,initialContentWidthClass:v,initialPostsTheme:w,initialPostsTitleTheme:x,children:[e,(0,t.jsx)(s,{})]})],58419)},440160,e=>{"use strict";let t=(0,e.i(475254).default)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);e.s(["Download",()=>t],440160)},178583,e=>{"use strict";let t=(0,e.i(475254).default)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",()=>t],178583)},347717,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n({encodedEmail:e,className:n=""}){let[i,s]=(0,r.useState)(!1),[a,o]=(0,r.useState)("");return((0,r.useEffect)(()=>{if(s(!0),e)try{let t=atob(e);o(t)}catch(e){console.error("Failed to decode email:",e),o("[email protected]")}},[e]),i&&a)?(0,t.jsx)("a",{href:`mailto:${a}`,className:n,rel:"noopener noreferrer nofollow",children:a}):(0,t.jsx)("span",{className:n,"aria-hidden":"true",children:"Contact"})}e.s(["default",()=>n])},37727,e=>{"use strict";let t=(0,e.i(475254).default)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",()=>t],37727)},694351,e=>{"use strict";let t=(0,e.i(475254).default)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);e.s(["Home",()=>t],694351)},13702,e=>{"use strict";var t=e.i(843476);e.s(["default",0,({size:e=20,strokeColor:r="rgba(255, 255, 255, 0.6)",strokeWidth:n=2})=>(0,t.jsx)("div",{className:"inline-flex items-center justify-center",children:(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-transform hover:scale-110",children:(0,t.jsx)("path",{d:"M1 8L1 12M5.5 4L5.5 16M10 1V19M14.5 4V16M19 8V12",stroke:r,strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"})})})])},808341,(e,t,r)=>{"use strict";
24Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return a},requestIdleCallback:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let s="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},a="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("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)},479520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return v},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return y}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let s=e.r(563141),a=e.r(151836),o=e.r(843476),l=s._(e.r(174080)),c=a._(e.r(271645)),u=e.r(742732),d=e.r(922737),f=e.r(808341),p=new Map,h=new Set,m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:s,children:a="",strategy:o="afterInteractive",onError:c,stylesheets:u}=e,f=r||t;if(f&&h.has(f))return;if(p.has(t)){h.add(f),p.get(t).then(n,c);return}let m=()=>{i&&i(),h.add(f)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});s?(g.innerHTML=s.__html||"",m()):a?(g.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",m()):t&&(g.src=t,p.set(t,y)),(0,d.setAttributesFromProps)(g,e),"worker"===o&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",o),u&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(g)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}):m(e)}function y(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function b(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:s="afterInteractive",onError:a,stylesheets:d,...p}=e,{updateScripts:g,scripts:y,getIsSsr:b,appDir:v,nonce:w}=(0,c.useContext)(u.HeadManagerContext);w=p.nonce||w;let x=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;x.current||(i&&e&&h.has(e)&&i(),x.current=!0)},[i,t,r]);let C=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!C.current){if("afterInteractive"===s)m(e);else"lazyOnload"===s&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>m(e))}));C.current=!0}},[e,s]),("beforeInteractive"===s||"worker"===s)&&(g?(y[s]=(y[s]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:a,...p,nonce:w}]),g(y)):b&&b()?h.add(t||r):b&&!b()&&m({...e,nonce:w})),v){if(d&&d.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)if(!r)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...p,id:t}])})`}});else return l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin}),(0,o.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...p,id:t}])})`}});"afterInteractive"===s&&r&&l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let v=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
24dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},727116,e=>{"use strict";var t=e.i(843476);let r={play:e=>(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("g",{clipPath:"url(#clip0_1763_11012)",children:(0,t.jsx)("path",{d:"M22.5 12.0005C22.5006 12.2551 22.4353 12.5056 22.3105 12.7275C22.1856 12.9495 22.0055 13.1353 21.7875 13.267L8.28 21.5302C8.05227 21.6696 7.79144 21.7457 7.52445 21.7507C7.25746 21.7556 6.99399 21.6892 6.76125 21.5583C6.53073 21.4294 6.3387 21.2414 6.2049 21.0137C6.07111 20.786 6.00039 20.5268 6 20.2627V3.73828C6.00039 3.47417 6.07111 3.21493 6.2049 2.98722C6.3387 2.75951 6.53073 2.57155 6.76125 2.44266C6.99399 2.31173 7.25746 2.24531 7.52445 2.25026C7.79144 2.2552 8.05227 2.33133 8.28 2.47078L21.7875 10.7339C22.0055 10.8656 22.1856 11.0515 22.3105 11.2734C22.4353 11.4953 22.5006 11.7458 22.5 12.0005Z",fill:"currentColor"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_1763_11012",children:(0,t.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),pause:e=>(0,t.jsxs)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("g",{clipPath:"url(#clip0_1763_11066)",children:(0,t.jsx)("path",{d:"M20.25 4.5V19.5C20.25 19.8978 20.092 20.2794 19.8107 20.5607C19.5294 20.842 19.1478 21 18.75 21H15C14.6022 21 14.2206 20.842 13.9393 20.5607C13.658 20.2794 13.5 19.8978 13.5 19.5V4.5C13.5 4.10218 13.658 3.72064 13.9393 3.43934C14.2206 3.15804 14.6022 3 15 3H18.75C19.1478 3 19.5294 3.15804 19.8107 3.43934C20.092 3.72064 20.25 4.10218 20.25 4.5ZM9 3H5.25C4.85218 3 4.47064 3.15804 4.18934 3.43934C3.90804 3.72064 3.75 4.10218 3.75 4.5V19.5C3.75 19.8978 3.90804 20.2794 4.18934 20.5607C4.47064 20.842 4.85218 21 5.25 21H9C9.39782 21 9.77936 20.842 10.0607 20.5607C10.342 20.2794 10.5 19.8978 10.5 19.5V4.5C10.5 4.10218 10.342 3.72064 10.0607 3.43934C9.77936 3.15804 9.39782 3 9 3Z",fill:"currentColor"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_1763_11066",children:(0,t.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),menu:e=>(0,t.jsx)("svg",{...e,width:"20",height:"14",viewBox:"0 0 20 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M1 7H19M1 1H19M1 13H19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),close:e=>(0,t.jsx)("svg",{...e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M13 1L1 13M1 1L13 13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),plus:e=>(0,t.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsxs)("g",{clipPath:"url(#clip0_1752_10774)",children:[(0,t.jsx)("path",{d:"M3.75 12H20.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M12 3.75V20.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_1752_10774",children:(0,t.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),minus:e=>(0,t.jsxs)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("g",{clipPath:"url(#clip0_1752_10843)",children:(0,t.jsx)("path",{d:"M3.75 12H20.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_1752_10843",children:(0,t.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),facebook:e=>(0,t.jsx)("svg",{...e,width:"12",height:"24",viewBox:"0 0 12 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M11.2137 13.3278L11.8356 9.23262H7.94521V6.57631C7.94521 5.45568 8.48767 4.36272 10.2301 4.36272H12V0.876308C12 0.876308 10.3945 0.599609 8.86027 0.599609C5.6548 0.599609 3.56164 2.56141 3.56164 6.11145V9.23262H0V13.3278H3.56164V23.2281C4.27671 23.3415 5.00822 23.3996 5.75342 23.3996C6.49863 23.3996 7.23014 23.3415 7.94521 23.2281V13.3278H11.2137Z",fill:"white"})}),instagram:e=>(0,t.jsxs)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsxs)("g",{clipPath:"url(#clip0_2681_481)",children:[(0,t.jsx)("path",{d:"M12 2.16094C15.2063 2.16094 15.5859 2.175 16.8469 2.23125C18.0188 2.28281 18.6516 2.47969 19.0734 2.64375C19.6313 2.85938 20.0344 3.12188 20.4516 3.53906C20.8734 3.96094 21.1313 4.35938 21.3469 4.91719C21.5109 5.33906 21.7078 5.97656 21.7594 7.14375C21.8156 8.40937 21.8297 8.78906 21.8297 11.9906C21.8297 15.1969 21.8156 15.5766 21.7594 16.8375C21.7078 18.0094 21.5109 18.6422 21.3469 19.0641C21.1313 19.6219 20.8687 20.025 20.4516 20.4422C20.0297 20.8641 19.6313 21.1219 19.0734 21.3375C18.6516 21.5016 18.0141 21.6984 16.8469 21.75C15.5813 21.8062 15.2016 21.8203 12 21.8203C8.79375 21.8203 8.41406 21.8062 7.15313 21.75C5.98125 21.6984 5.34844 21.5016 4.92656 21.3375C4.36875 21.1219 3.96563 20.8594 3.54844 20.4422C3.12656 20.0203 2.86875 19.6219 2.65313 19.0641C2.48906 18.6422 2.29219 18.0047 2.24063 16.8375C2.18438 15.5719 2.17031 15.1922 2.17031 11.9906C2.17031 8.78438 2.18438 8.40469 2.24063 7.14375C2.29219 5.97187 2.48906 5.33906 2.65313 4.91719C2.86875 4.35938 3.13125 3.95625 3.54844 3.53906C3.97031 3.11719 4.36875 2.85938 4.92656 2.64375C5.34844 2.47969 5.98594 2.28281 7.15313 2.23125C8.41406 2.175 8.79375 2.16094 12 2.16094ZM12 0C8.74219 0 8.33438 0.0140625 7.05469 0.0703125C5.77969 0.126563 4.90313 0.332812 4.14375 0.628125C3.35156 0.9375 2.68125 1.34531 2.01563 2.01562C1.34531 2.68125 0.9375 3.35156 0.628125 4.13906C0.332812 4.90313 0.126563 5.775 0.0703125 7.05C0.0140625 8.33437 0 8.74219 0 12C0 15.2578 0.0140625 15.6656 0.0703125 16.9453C0.126563 18.2203 0.332812 19.0969 0.628125 19.8563C0.9375 20.6484 1.34531 21.3188 2.01563 21.9844C2.68125 22.65 3.35156 23.0625 4.13906 23.3672C4.90313 23.6625 5.775 23.8687 7.05 23.925C8.32969 23.9812 8.7375 23.9953 11.9953 23.9953C15.2531 23.9953 15.6609 23.9812 16.9406 23.925C18.2156 23.8687 19.0922 23.6625 19.8516 23.3672C20.6391 23.0625 21.3094 22.65 21.975 21.9844C22.6406 21.3188 23.0531 20.6484 23.3578 19.8609C23.6531 19.0969 23.8594 18.225 23.9156 16.95C23.9719 15.6703 23.9859
2415.2625 23.9859 12.0047C23.9859 8.74688 23.9719 8.33906 23.9156 7.05938C23.8594 5.78438 23.6531 4.90781 23.3578 4.14844C23.0625 3.35156 22.6547 2.68125 21.9844 2.01562C21.3188 1.35 20.6484 0.9375 19.8609 0.632812C19.0969 0.3375 18.225 0.13125 16.95 0.075C15.6656 0.0140625 15.2578 0 12 0Z",fill:"white"}),(0,t.jsx)("path",{d:"M12 5.83594C8.59688 5.83594 5.83594 8.59688 5.83594 12C5.83594 15.4031 8.59688 18.1641 12 18.1641C15.4031 18.1641 18.1641 15.4031 18.1641 12C18.1641 8.59688 15.4031 5.83594 12 5.83594ZM12 15.9984C9.79219 15.9984 8.00156 14.2078 8.00156 12C8.00156 9.79219 9.79219 8.00156 12 8.00156C14.2078 8.00156 15.9984 9.79219 15.9984 12C15.9984 14.2078 14.2078 15.9984 12 15.9984Z",fill:"white"}),(0,t.jsx)("path",{d:"M19.8469 5.59141C19.8469 6.38828 19.2 7.03047 18.4078 7.03047C17.6109 7.03047 16.9688 6.3836 16.9688 5.59141C16.9688 4.79453 17.6156 4.15234 18.4078 4.15234C19.2 4.15234 19.8469 4.79922 19.8469 5.59141Z",fill:"white"})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_2681_481",children:(0,t.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),linkedin:e=>(0,t.jsx)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M0 3.2012C0 2.42899 0.270278 1.79192 0.810811 1.29001C1.35134
240.788067 2.05406 0.537109 2.91892 0.537109C3.76835 0.537109 4.45559 0.784198 4.9807 1.27842C5.52123 1.78807 5.79151 2.45215 5.79151 3.2707C5.79151 4.01201 5.52897 4.62976 5.00386 5.12398C4.46333 5.63363 3.7529 5.88846 2.87259 5.88846H2.84942C1.99999 5.88846 1.31275 5.63363 0.787645 5.12398C0.262541 4.61433 0 3.97339 0 3.2012ZM0.301158 23.4715V7.99657H5.44402V23.4715H0.301158ZM8.29344 23.4715H13.4363V14.8305C13.4363 14.29 13.4981 13.873 13.6216 13.5796C13.8378 13.0545 14.166 12.6105 14.6062 12.2475C15.0463 11.8846 15.5984 11.7031 16.2626 11.7031C17.9923 11.7031 18.8571 12.8691 18.8571 15.2012V23.4715H24V14.5989C24 12.3132 23.4595 10.5796 22.3784 9.39811C21.2973 8.21665 19.8687 7.62591 18.0927 7.62591C16.1004 7.62591 14.5483 8.48305 13.4363 10.1973V10.2437H13.4131L13.4363 10.1973V7.99657H8.29344C8.32432 8.49077 8.33977 10.0274 8.33977 12.6066C8.33977 15.1857 8.32432 18.8074 8.29344 23.4715Z",fill:"white"})}),twitterx:e=>(0,t.jsxs)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("g",{clipPath:"url(#clip0_2637_441)",children:(0,t.jsx)("path",{d:"M14.2833 10.1571L23.2178 0H21.1006L13.3427 8.81931L7.14656 0H0L9.36984 13.3364L0 23.9877H2.11732L10.3098 14.6742L16.8534 23.9877H24L14.2827 10.1571H14.2833ZM11.3833 13.4538L10.4339 12.1258L2.88022 1.55881H6.1323L12.2282 10.0867L13.1776 11.4147L21.1016 22.4998H17.8495L11.3833 13.4544V13.4538Z",fill:"white"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_2637_441",children:(0,t.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),arrowUp:e=>(0,t.jsx)("svg",{...e,width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M16.2806 9.96937C16.3503 10.0391 16.4056 10.1218 16.4433 10.2128C16.481 10.3039 16.5004 10.4015 16.5004 10.5C16.5004 10.5985 16.481 10.6961 16.4433 10.7872C16.4056 10.8782 16.3503 10.9609 16.2806 11.0306C16.2109 11.1003 16.1282 11.1556 16.0372 11.1933C15.9461 11.231 15.8485 11.2504 15.75 11.2504C15.6515 11.2504 15.5539 11.231 15.4628 11.1933C15.3718 11.1556 15.2891 11.1003 15.2194 11.0306L9.75 5.56031V18C9.75 18.1989 9.67098 18.3897 9.53033 18.5303C9.38968 18.671 9.19891 18.75 9 18.75C8.80109 18.75 8.61032 18.671 8.46967 18.5303C8.32902 18.3897 8.25 18.1989 8.25 18V5.56031L2.78062 11.0306C2.71094 11.1003 2.62822 11.1556 2.53717 11.1933C2.44613 11.231 2.34855 11.2504 2.25 11.2504C2.15145 11.2504 2.05387 11.231 1.96283 11.1933C1.87178 11.1556 1.78906 11.1003 1.71938 11.0306C1.64969 10.9609 1.59442 10.8782 1.55671 10.7872C1.51899 10.6961 1.49958 10.5985 1.49958 10.5C1.49958 10.4015 1.51899 10.3039 1.55671 10.2128C1.59442 10.1218 1.64969 10.0391 1.71938 9.96937L8.46937 3.21937C8.53903 3.14964 8.62175 3.09432 8.7128 3.05658C8.80384 3.01884 8.90144 2.99941 9 2.99941C9.09856 2.99941 9.19616 3.01884 9.2872 3.05658C9.37825 3.09432 9.46097 3.14964 9.53063 3.21937L16.2806 9.96937ZM17.25 0H0.75C0.551088 0 0.360322 0.0790178 0.21967 0.21967C0.0790178 0.360322 0 0.551088 0 0.75C0 0.948912 0.0790178 1.13968 0.21967 1.28033C0.360322 1.42098 0.551088 1.5 0.75 1.5H17.25C17.4489 1.5 17.6397 1.42098 17.7803 1.28033C17.921 1.13968 18 0.948912 18 0.75C18 0.551088 17.921 0.360322 17.7803 0.21967C17.6397 0.0790178 17.4489 0 17.25 0Z",fill:"currentColor"})}),search:e=>(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrows-down-up":e=>(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M11.0306 15.9694C11.1003 16.039 11.1557 16.1217 11.1934 16.2128C11.2312 16.3038 11.2506 16.4014 11.2506 16.5C11.2506 16.5985 11.2312 16.6961 11.1934 16.7872C11.1557 16.8782 11.1003 16.9609 11.0306 17.0306L8.03061 20.0306C7.96096 20.1003 7.87824 20.1557 7.7872 20.1934C7.69615 20.2311 7.59855 20.2506 7.49999 20.2506C7.40143 20.2506 7.30383 20.2311 7.21278 20.1934C7.12174 20.1557 7.03902 20.1003
246.96936 20.0306L3.96936 17.0306C3.89968 16.9609 3.84441 16.8782 3.80669 16.7872C3.76898 16.6961 3.74957 16.5985 3.74957 16.5C3.74957 16.4014 3.76898 16.3039 3.80669 16.2128C3.84441 16.1218 3.89968 16.039 3.96936 15.9694C4.1101 15.8286 4.30097 15.7496 4.49999 15.7496C4.59854 15.7496 4.69612 15.769 4.78716 15.8067C4.87821 15.8444 4.96093 15.8997 5.03061 15.9694L6.74999 17.6897V4.49998C6.74999 4.30107 6.82901 4.1103 6.96966 3.96965C7.11031 3.829 7.30108 3.74998 7.49999 3.74998C7.6989 3.74998 7.88967 3.829 8.03032 3.96965C8.17097 4.1103 8.24999 4.30107 8.24999 4.49998V17.6897L9.96936 15.9694C10.039 15.8996 10.1217 15.8443 10.2128 15.8066C10.3038 15.7688 10.4014 15.7494 10.5 15.7494C10.5986 15.7494 10.6961 15.7688 10.7872 15.8066C10.8782 15.8443 10.961 15.8996 11.0306 15.9694ZM20.0306 6.96935L17.0306 3.96935C16.961 3.89962 16.8782 3.8443 16.7872 3.80656C16.6961 3.76882 16.5986 3.74939 16.5 3.74939C16.4014 3.74939 16.3038 3.76882 16.2128 3.80656C16.1217 3.8443 16.039 3.89962 15.9694 3.96935L12.9694 6.96935C12.8286 7.11009 12.7496 7.30096 12.7496 7.49998C12.7496 7.699 12.8286 7.88987 12.9694 8.03061C13.1101 8.17134 13.301 8.2504 13.5 8.2504C13.699 8.2504 13.8899 8.17134 14.0306 8.03061L15.75 6.31029V19.5C15.75 19.6989 15.829 19.8897 15.9697 20.0303C16.1103 20.171 16.3011 20.25 16.5 20.25C16.6989 20.25 16.8897 20.171 17.0303 20.0303C17.171 19.8897 17.25 19.6989 17.25 19.5V6.31029L18.9694 8.03061C19.1101 8.17134 19.301 8.2504 19.5 8.2504C19.699 8.2504 19.8899 8.17134 20.0306 8.03061C20.1713 7.88987 20.2504 7.699 20.2504 7.49998C20.2504 7.30096 20.1713 7.11009 20.0306 6.96935Z",fill:"currentColor"})}),spinner:e=>(0,t.jsxs)("svg",{"aria-hidden":"true",className:"w-5 h-5 text-gray-200 animate-spin dark:text-gray-600 fill-primary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,t.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),search2:e=>(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M17.5 17.5L14.5834 14.5833M16.6667 9.58333C16.6667 13.4954 13.4954 16.6667 9.58333 16.6667C5.67132 16.6667 2.5 13.4954 2.5 9.58333C2.5 5.67132 5.67132 2.5 9.58333 2.5C13.4954 2.5 16.6667 5.67132 16.6667 9.58333Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})};e.s(["default",0,({name:e,...n})=>{let i=r[e];return(0,t.jsx)(i,{...n})}])},296626,e=>{"use strict";var t=e.i(271645),r=e.i(820783),n=e.i(934620),i=e=>{var i;let a,o,{present:l,children:c}=e,u=function(e){var r,i;let[a,o]=t.useState(),l=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=s(l.current);u.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=c.current;if(r!==e){let n=u.current,i=s(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>
24{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(r.animationName);if(r.target===a&&n&&(f("ANIMATION_END"),!c.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(u.current=s(l.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(l),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(u.ref,(i=d,(o=(a=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.ref:(o=(a=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:f}):null};function s(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",()=>i])},60475,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(981140),i=e.i(820783),s=e.i(30030),a=e.i(610772),o=e.i(369340),l=e.i(726330),c=e.i(765491),u=e.i(774606),d=e.i(296626),f=e.i(248425),p=e.i(303536),h=e.i(985369),m=e.i(186312),g=e.i(991918),y="Dialog",[b,v]=(0,s.createContextScope)(y),[w,x]=b(y),C=e=>{let{__scopeDialog:n,children:i,open:s,defaultOpen:l,onOpenChange:c,modal:u=!0}=e,d=r.useRef(null),f=r.useRef(null),[p,h]=(0,o.useControllableState)({prop:s,defaultProp:l??!1,onChange:c,caller:y});return(0,t.jsx)(w,{scope:n,triggerRef:d,contentRef:f,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:p,onOpenChange:h,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),modal:u,children:i})};C.displayName=y;var j="DialogTrigger";r.forwardRef((e,r)=>{let{__scopeDialog:s,...a}=e,o=x(j,s),l=(0,i.useComposedRefs)(r,o.triggerRef);return(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":q(o.open),...a,ref:l,onClick:(0,n.composeEventHandlers)(e.onClick,o.onOpenToggle)})}).displayName=j;var S="DialogPortal",[k,E]=b(S,{forceMount:void 0}),P=e=>{let{__scopeDialog:n,forceMount:i,children:s,container:a}=e,o=x(S,n);return(0,t.jsx)(k,{scope:n,forceMount:i,children:r.Children.map(s,e=>(0,t.jsx)(d.Presence,{present:i||o.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:a,children:e})}))})};P.displayName=S;var A="DialogOverlay",T=r.forwardRef((e,r)=>{let n=E(A,e.__scopeDialog),{forceMount:i=n.forceMount,...s}=e,a=x(A,e.__scopeDialog);return a.modal?(0,t.jsx)(d.Presence,{present:i||a.open,children:(0,t.jsx)(_,{...s,ref:r})}):null});T.displayName=A;var I=(0,g.createSlot)("DialogOverlay.RemoveScroll"),_=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,s=x(A,n);return(0,t.jsx)(h.RemoveScroll,{as:I,allowPinchZoom:!0,shards:[s.contentRef],children:(0,t.jsx)(f.Primitive.div,{"data-state":q(s.open),...i,ref:r,style:{pointerEvents:"auto",...i.style}})})}),O="DialogContent",N=r.forwardRef((e,r)=>{let n=E(O,e.__scopeDialog),{forceMount:i=n.forceMount,...s}=e,a=x(O,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:i||a.open,children:a.modal?(0,t.jsx)(L,{...s,ref:r}):(0,t.jsx)(R,{...s,ref:r})})});N.displayName=O;var L=r.forwardRef((e,s)=>{let a=x(O,e.__scopeDialog),o=r.useRef(null),l=(0,i.useComposedRefs)(s,a.contentRef,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,m.hideOthers)(e)},[]),(0,t.jsx)(M,{...e,ref:l,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}
24),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),R=r.forwardRef((e,n)=>{let i=x(O,e.__scopeDialog),s=r.useRef(!1),a=r.useRef(!1);return(0,t.jsx)(M,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(s.current||i.triggerRef.current?.focus(),t.preventDefault()),s.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(s.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;i.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),M=r.forwardRef((e,n)=>{let{__scopeDialog:s,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:u,...d}=e,f=x(O,s),h=r.useRef(null),m=(0,i.useComposedRefs)(n,h);return(0,p.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:o,onUnmountAutoFocus:u,children:(0,t.jsx)(l.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":q(f.open),...d,ref:m,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(W,{titleId:f.titleId}),(0,t.jsx)(G,{contentRef:h,descriptionId:f.descriptionId})]})]})}),F="DialogTitle",U=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,s=x(F,n);return(0,t.jsx)(f.Primitive.h2,{id:s.titleId,...i,ref:r})});U.displayName=F;var B="DialogDescription";r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,s=x(B,n);return(0,t.jsx)(f.Primitive.p,{id:s.descriptionId,...i,ref:r})}).displayName=B;var D="DialogClose",H=r.forwardRef((e,r)=>{let{__scopeDialog:i,...s}=e,a=x(D,i);return(0,t.jsx)(f.Primitive.button,{type:"button",...s,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function q(e){return e?"open":"closed"}H.displayName=D;var $="DialogTitleWarning",[z,V]=(0,s.createContext)($,{contentName:O,titleName:F,docsSlug:"dialog"}),W=({titleId:e})=>{let t=V($),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 25 26If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 27 28For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},G=({contentRef:e,descriptionId:t})=>{let n=V("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null},Z=e.i(234913);e.s(["default",0,({isOpen:e,onClose:r,title:n,children:i,width:s,fitContent:a=!1,theme:o="auto"})=>{let{isLightmode:l}=(0,Z.useAppContext)(),c="auto"===o&&l;return(0,t.jsx)(C,{open:e,onOpenChange:r,children:(0,t.jsxs)(P,{children:[(0,t.jsx)(T,{className:`fixed inset-0 backdrop-blur-sm z-50 transition-colors ${c?"bg-black/40":"bg-black/70"}`}),(0,t.jsxs)(N,{className:`${a?"fixed left-1/2 top-1/2 z-50 max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-[calc(100vw-2rem)] -translate-x-1/2 -translate-y-1/2":"fixed inset-x-4 inset-y-24 z-50"} overflow-hidden rounded-2xl border flex flex-col backdrop-blur ${c?"bg-white border-gray-200":"bg-gray-900/95 border-gray-700"}`,style:s?a?{maxWidth:s}:{width:s,maxWidth:s,margin:"0 auto"}:a?void 0:{width:"100%"},children:[(0,t.jsxs)("div",{className:`flex min-w-0 items-center justify-between gap-3 p-4 md:p-6 border-b ${c?"border-gray-200":"border-gray-700"}`,children:[(0,t.jsx)(U,{className:`min-w-0 flex-1 break-words md:text-2xl text-xl font-bold ${c?"text-gray-900":"text-white"}`,children:n}),(0,t.jsx)(H,{className:`shrink-0 p-2 rounded-lg transition-colors ${c?"text-gray-500 hover:text-gray-900 hover:bg-gray-100":"text-gray-400 hover:text-white hover:bg-gray-700"}`,children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,t.jsx)("div",{className:`min-w-0 overflow-x-hidden overflow-y-auto p-4 md:p-6 ${a?"":"flex-1"}`,children:i})]})]})})}],60475)},488844,e=>{"use strict";let t=(0,e.i(475254).default)("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);e.s(["Package",()=>t],488844)},169530,e=>{"use strict";var t=e.i(271645),r=e.i(95187);
28let n=(0,r.createServerReference)("4061152edccf75a78889885294bad00514e9673b70",r.callServer,void 0,r.findSourceMapURL,"getCustomerAccessTokenServer"),i=(0,r.createServerReference)("406847ee19b8cbcb7d27b6bdc042bc452523f55efd",r.callServer,void 0,r.findSourceMapURL,"associateCustomerWithShopifyServer");function s(){let[e,r]=(0,t.useState)(!1),[s,a]=(0,t.useState)(null);return{associateCustomerWithShopify:async e=>{r(!0),a(null);try{return await i({email:e.email,fullName:e.user_metadata?.full_name})}catch(e){throw a(e instanceof Error?e.message:String(e)),e}finally{r(!1)}},getCustomerAccessToken:async e=>{try{return await n(e)}catch(e){throw a(e instanceof Error?e.message:String(e)),e}},isLoading:e,error:s}}e.s(["useShopifyAuth",()=>s],169530)},343771,806083,e=>{"use strict";var t=e.i(843476),r=e.i(557951),n=e.i(271645),i=e.i(169530),s=e.i(806066),a=e.i(193049),o=e.i(702807);let l=o.gql` 29 mutation cartCreate($input: CartInput) { 30 cartCreate(input: $input) { 31 cart { 32 id 33 checkoutUrl 34 } 35 userErrors { 36 field 37 message 38 } 39 } 40 } 41`,c=o.gql` 42 mutation cartLinesAdd($cartId: ID!, $lines: [CartLineInput!]!) { 43 cartLinesAdd(cartId: $cartId, lines: $lines) { 44 cart { 45 id 46 checkoutUrl 47 lines(first: 50) { 48 edges { 49 node { 50 id 51 quantity 52 } 53 } 54 } 55 } 56 userErrors { 57 field 58 message 59 } 60 } 61 } 62`,u=o.gql` 63 query getCart($cartId: ID!, $country: CountryCode!) @inContext(country: $country) { 64 cart(id: $cartId) { 65 id 66 checkoutUrl 67 lines(first: 50) { 68 edges { 69 node { 70 id 71 quantity 72 merchandise { 73 ... on ProductVariant { 74 id 75 title 76 price { 77 amount 78 currencyCode 79 } 80 product { 81 title 82 handle 83 images(first: 1) { 84 edges { 85 node { 86 url 87 altText 88 } 89 } 90 } 91 } 92 selectedOptions { 93 name 94 value 95 } 96 } 97 } 98 } 99 } 100 } 101 cost { 102 totalAmount { 103 amount 104 currencyCode 105 } 106 } 107 } 108 } 109`,d=o.gql` 110 mutation cartLinesUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!) { 111 cartLinesUpdate(cartId: $cartId, lines: $lines) { 112 cart { 113 id 114 } 115 userErrors { 116 field 117 message 118 } 119 } 120 } 121`,f=o.gql` 122 mutation cartLinesRemove($cartId: ID!, $lineIds: [ID!]!) { 123 cartLinesRemove(cartId: $cartId, lineIds: $lineIds) { 124 cart { 125 id 126 } 127 userErrors { 128 field 129 message 130 } 131 } 132 } 133`,p=o.gql` 134 mutation cartBuyerIdentityUpdate($cartId: ID!, $buyerIdentity: CartBuyerIdentityInput!) { 135 cartBuyerIdentityUpdate(cartId: $cartId, buyerIdentity: $buyerIdentity) { 136 cart { 137 id 138 buyerIdentity { 139 countryCode 140 } 141 } 142 userErrors { 143 field 144 message 145 } 146 } 147 } 148`;e.s(["ADD_TO_CART",0,c,"CREATE_CART",0,l,"GET_CART",0,u,"REMOVE_FROM_CART",0,f,"UPDATE_CART_BUYER_IDENTITY",0,p,"UPDATE_CART_LINES",0,d],806083);let h=(0,n.createContext)(void 0);e.s(["CartProvider",0,({children:e})=>{let{user:o}=(0,r.useAuth)(),{associateCustomerWithShopify:m}=(0,i.useShopifyAuth)(),{selectedCountry:g}=(0,s.useRegion)(),[y,b]=(0,n.useState)(null),[v,w]=(0,n.useState)(0),x=(0,n.useCallback)(()=>{if("u"<typeof document)return null;let e=o?`cartId_${o.id}`:"cartId_guest",t=document.cookie.split("; ").find(t=>t.trim().startsWith(e+"="));return t?decodeURIComponent(t.split("=")[1]):null},[o]),C=(0,n.useCallback)(e=>{if("u"<typeof document)return;let t=o?`cartId_${o.id}`:"cartId_guest",r=new Date;r.setTime(r.getTime()+6048e5),document.cookie=`${t}=${encodeURIComponent(e)}; path=/; expires=${r.toUTCString()}; SameSite=Lax`},[o]),j=(0,n.useCallback)(e=>{e&&(b(e),w(e.lines.edges.reduce((e,{node:t})=>e+t.quantity,0)))},[]),S=(0,n.useCallback)(async()=>{let e=x();if(!e)return null;
148try{let t=await a.shopifyClient.request(u,{cartId:e,country:g?.isoCode||"US"});return j(t.cart),t.cart}catch{return null}},[x,g,j]),k=(0,n.useCallback)(async()=>{let e=x();if(!e)return null;try{let t=await a.shopifyClient.request(u,{cartId:e,country:g?.isoCode||"US"});return j(t.cart),t.cart}catch{return null}},[x,g,j]),E=(0,n.useCallback)(async e=>{let t=x();if(!t)return null;try{return await a.shopifyClient.request(p,{cartId:t,buyerIdentity:e}),await S()}catch(e){return console.error("Error updating cart buyer identity:",e),null}},[x,S]),P=(0,n.useCallback)(async()=>{let e={};if(o?.email)try{e.buyerIdentity={customerAccessToken:(await m({email:o.email,user_metadata:o.user_metadata})).accessToken,email:o.email,countryCode:g?.isoCode||"US"}}catch(e){console.error("Error getting customer token:",e)}let{cartCreate:t}=await a.shopifyClient.request(l,{input:e});return C(t.cart.id),t.cart},[o,m,g,C,j]),A=(0,n.useCallback)(async(e,t)=>{let r=x();r||(r=(await P()).id,await E({countryCode:g?.isoCode}));let{cartLinesAdd:n}=await a.shopifyClient.request(c,{cartId:r,lines:[{merchandiseId:e,quantity:t}]});return j(n.cart),n.cart},[x,P,g,E,j]),T=(0,n.useCallback)(async(e,t)=>{let r=x();if(r)return await a.shopifyClient.request(d,{cartId:r,lines:[{id:e,quantity:t}]}),await S()??void 0},[x,S]),I=(0,n.useCallback)(async e=>{let t=x();if(t)return await a.shopifyClient.request(f,{cartId:t,lineIds:[e]}),await S()??void 0},[x,S]);(0,n.useEffect)(()=>{k()},[k]);let _=(0,n.useMemo)(()=>({cart:y,addToCart:A,updateCartItem:T,removeCartItem:I,getCart:S,cartItemsCount:v,loadInitialCart:k,updateCartBuyerIdentity:E}),[y,A,T,I,S,v,k,E]);return(0,t.jsx)(h.Provider,{value:_,children:e})},"useCart",0,()=>{let e=(0,n.useContext)(h);if(!e)throw Error("useCart must be used within a CartProvider");return e}],343771)},727612,e=>{"use strict";let t=(0,e.i(475254).default)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);e.s(["Trash2",()=>t],727612)},201928,e=>{"use strict";let t=(0,e.i(475254).default)("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);e.s(["ShoppingCart",()=>t],201928)},585476,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function({label:e,id:r,type:n,register:i,required:s,pattern:a,minLength:o,maxLength:l,validate:c,disabled:u,error:d,variant:f="dark"}){let p={};s&&(p.required=s),a&&(p.pattern=a),o&&(p.minLength=o),l&&(p.maxLength=l),c&&(p.validate=c);let h="light"===f?d?"bg-white border-red-500 text-black focus:ring-red-500 focus:border-red-500 disabled:bg-gray-100 disabled:text-gray-400":"bg-white border-gray-300 text-black focus:ring-blue-500 focus:border-blue-500 disabled:bg-gray-100 disabled:text-gray-400":d?"bg-gray-800 border-red-500 text-white focus:ring-red-500 focus:border-red-500 disabled:bg-gray-700 disabled:text-gray-400":"bg-gray-800 border-gray-600 text-white focus:ring-blue-500 focus:border-blue-500 disabled:bg-gray-700 disabled:text-gray-400";return(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("label",{htmlFor:r,className:`block text-sm font-medium mb-2 ${"light"===f?"text-black":"text-white"}`,children:e}),(0,t.jsx)("input",{id:r,type:n,disabled:u,className:`w-full px-3 py-3 border rounded-md shadow-sm focus:outline-none focus:ring-2 disabled:opacity-50 disabled:cursor-not-allowed text-base placeholder-gray-400 ${h}`,...i(r,p)}),d&&(0,t.jsx)("p",{className:"mt-1 text-sm text-red-400",children:d.message})]})}])},906744,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(618566),i=e.i(557951),s=e.i(927587),a=e.i(107471),o=e.i(653145),l=e.i(585476);let c=function({onSubmit:e,switchToRecover:r,switchToSignUp:n,isSubmitting:i,isRedirecting:s=!1}){let{register:a,handleSubmit:c,formState:{errors:u}}=(0,o.useForm)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{onSubmit:c(e),className:"space-y-4",children:[(0,t.jsx)(l.default,{label:"Email",id:"email",type:"email",register:a,required:"Email is required",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Please enter a valid email address"},disabled:i,error:u.email}),(0,t.jsx)(l.default,{label:"Password",id:"password",type:"password",register:a,required:"Password is required",disabled:i,error:u.password}),(0,t.jsx)("div",{className:"mb-6 flex justify-end",children:(0,t.jsx)("button",{type:"button",className:"text-xs underline text-white hover:text-blue-300",onClick:r,children:"Forgot your password?"})}),(0,t.jsx)("button",{className:"w-full bg-blue-600 hover:bg-blue-700 text-white h-12 rounded-xl flex items-center justify-center disabled:opacity-50 disabled:cursor-not-allowed transition-colors",type:"submit",disabled:i,children:s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Redirecting..."]}):(0,t.jsxs)(t.Fragment,{children:["Login",i&&(0,t.jsx)("span",{className:"ml-2",children:"..."})]})})]}),(0,t.jsxs)("div",{className:"flex items-center my-6",children:[(0,t.jsx)("div",{className:"flex-1 border-t border-gray-600"}),(0,t.jsx)("span",{className:"px-3 text-sm text-gray-400",children:"or"}),(0,t.jsx)("div",{className:"flex-1 border-t border-gray-600"})]}),(0,t.jsx)("div",{className:"mt-4 text-center",children:(0,t.jsxs)("p",{className:"text-sm text-white",children:["Don't have an account?"," ",(0,t.jsx)("button",{type:"button",className:"text-xs underline text-blue-300 hover:text-blue-200",onClick:n,children:"Sign Up"})]})})]})};var u=e.i(522016);let d=function({onSubmit:e,switchToLogin:r,isSubmitting:n}){let{register:i,handleSubmit:s,watch:a,formState:{errors:c}}=(0,o.useForm)(),d=a("password",""),f=(e=>{if(!e)return{strength:0,label:"",color:""};let t=0;return e.length>=8&&t++,/[a-z]/.test(e)&&t++,/[A-Z]/.test(e)&&t++,/\d/.test(e)&&t++,{strength:t,label:["Very Weak","Weak","Fair","Good","Strong"][t]||"",color:["text-red-400","text-orange-400","text-yellow-400","text-blue-400","text-green-400"][t]||"text-gray-400"}})(d);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{onSubmit:s(e),className:"space-y-4",children:[(0,t.jsx)(l.default,{label:"Name",id:"name",type:"text",register:i,required:"Name is required",maxLength:{value:50,message:"Name cannot exceed 50 characters"},disabled:n,error:c.name}),(0,t.jsx)(l.default,{label:"Email",id:"email",type:"email",register:i,required:"Email is required",pattern:{value:/^[^\s@]+@[^\s@]+\.[^\s@]+$/,message:"Please enter a valid email address"},disabled:n,error:c.email}),(0,t.jsx)(l.default,{label:"Password",id:"password",type:"password",register:i,required:"Password is required",minLength:{value:8,message:"Password must be at least 8 characters"},pattern:{value:/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}$/,message:"Password must contain at least 8 characters, 1 uppercase, 1 lowercase, and 1 number"},disabled:n,error:c.password}),d&&(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)("div",{className:"flex-1 bg-gray-700 rounded-full h-2",children:(0,t.jsx)("div",{className:`h-2 rounded-full transition-all duration-300 ${f.strength<=1?"bg-red-500":f.strength<=2?"bg-orange-500":f.strength<=3?"bg-yellow-500":"bg-green-500"}`,style:{width:`${f.strength/4*100}%`}})}),(0,t.jsx)("span",{className:`text-xs ${f.color}`,children:f.label})]}),(0,t.jsx)("div",{className:"text-xs text-gray-400",children:"Password must contain: 8+ characters, uppercase, lowercase, and number"})]}),(0,t.jsx)(l.default,{label:"Confirm Password",id:"confirmPassword",type:"password",register:i,required:"Please confirm your password",validate:e=>e===d||"Passwords do not match",disabled:n,error:c.confirmPassword}),(0,t.jsxs)("div",{className:"flex items-start space-x-3",children:[(0,t.jsx)("input",{type:"checkbox",id:"gdpr
148Consent",...i("gdprConsent",{required:"You must accept the Privacy Policy to continue"}),className:"mt-1 h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500",disabled:n}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("label",{htmlFor:"gdprConsent",className:"text-sm text-white",children:["I agree to the"," ",(0,t.jsx)(u.default,{href:"/privacy-policy",className:"underline hover:text-blue-300 text-blue-300",children:"Privacy Policy"})," ","and consent to the processing of my personal data."]}),c.gdprConsent&&(0,t.jsx)("p",{className:"text-red-400 text-xs mt-1",children:c.gdprConsent.message})]})]}),(0,t.jsxs)("button",{className:"w-full bg-blue-600 hover:bg-blue-700 text-white h-12 rounded-xl flex items-center justify-center disabled:opacity-50 disabled:cursor-not-allowed transition-colors",type:"submit",disabled:n,children:["Create Account",n&&(0,t.jsx)("span",{className:"ml-2",children:"..."})]})]}),(0,t.jsx)("div",{className:"mt-4 text-center",children:(0,t.jsxs)("p",{className:"text-sm text-white",children:["Already have an account?"," ",(0,t.jsx)("button",{type:"button",className:"text-xs underline text-blue-300 hover:text-blue-200",onClick:r,children:"Log In"})]})})]})},f=function({onSubmit:e,isSubmitting:r}){let{register:n,handleSubmit:i,formState:{errors:s}}=(0,o.useForm)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("form",{onSubmit:i(e),className:"space-y-4",children:[(0,t.jsx)(l.default,{label:"Email",id:"email",type:"email",register:n,required:"Email is required",pattern:{value:/^\S+@\S+$/i,message:"Invalid email address"},disabled:r,error:s.email}),(0,t.jsxs)("button",{className:"w-full bg-blue-600 hover:bg-blue-700 text-white h-12 rounded-xl flex items-center justify-center disabled:opacity-50 disabled:cursor-not-allowed transition-colors",type:"submit",disabled:r,children:["Recover Password",r&&(0,t.jsx)("span",{className:"ml-2",children:"..."})]})]})})};var p=e.i(657688);e.s(["default",0,function({logoUrl:e}){let o=(0,n.useSearchParams)().get("redirect")||"/",{signIn:l,signUp:u,resetPassword:h,signInWithGoogle:m}=(0,i.useAuth)(),{showToast:g}=(0,s.useToast)(),[y,b]=(0,r.useState)("login"),[v,w]=(0,r.useState)(null),[x,C]=(0,r.useState)(null),[j,S]=(0,r.useState)(!1),[k,E]=(0,r.useState)(!1);(0,r.useEffect)(()=>{"true"===new URLSearchParams(window.location.search).get("recover")&&b("recover")},[]),(0,r.useEffect)(()=>{w(null),C(null)},[y]);let P=async e=>{let{email:t,password:r}=e;w(null),C(null),S(!0);try{let{error:e}=await l(t,r);if(e){let t="Login failed";e.message.includes("Invalid login credentials")?t="Invalid email or password":e.message.includes("Email not confirmed")?t="Please verify your email address before logging in":e.message.includes("network")||e.message.includes("connection")?t="Network error. Please check your connection and try again":e.message.includes("too many requests")&&(t="Too many login attempts. Please try again later"),w(t)}else g("Login successful!","success"),E(!0),await a.supabase.auth.getSession(),setTimeout(()=>{window.location.href=o},500)}catch(e){console.error("Error during login:",e),w("An unexpected error occurred. Please try again."),E(!1)}finally{S(!1)}},A=async e=>{let{name:t,email:r,password:n}=e;w(null),C(null),S(!0);try{let{error:e}=await u(r,n,t);if(e){let t="An error occurred during registration";e.message.includes("invalid email")?t="Please enter a valid email address":e.message.includes("password")?t="Password does not meet requirements":(e.message.includes("network")||e.message.includes("connection"))&&(t="Network error. Please check your connection and try again"),w(t)}else b("login"),g("We have sent you a verification email, please login to your email and verify.","success",8e3)}catch(e){console.error("Error during signup:",e),w("An unexpected error occurred. Please try again.")}finally{S(!1)}},T=async e=>{let{email:t}=e;w(null),C(null),S(!0);try{let{error:e}=await h(t);if(e){let t="Failed to send recovery email";e.message.includes("invalid email")?t="Please enter a valid email address":e.message.includes("network")||e.message.includes("connection")?t="Network error. Please check your connection and try again":e.message.includes("too many requests")&&(t="Too many requests. Please try again later"),w(t)}else g("Password recovery email sent! Please check your inbox.","success"),b("login")}catch(e){console.error("Error during password recovery:",e),w("An unexpected error occurred. Please try again.")}finally{S(!1)}},I=async()=>{w(null),C(null),S(!0);try{let{error:e}=await m();if(e){let t="Google sign-in failed";e.message.includes("popup")||e.message.includes("cancelled")?t="Sign-in was cancelled":(e.message.includes("network")||e.message.includes("connection"))&&(t="Network error. Please check your connection and try again"),w(t)}else g("Login successful!","success"),E(!0),await a.supabase.auth.getSession(),setTimeout(()=>{window.location.href=o},500)}catch(e){console.error("Error during Google sign-in:",e),w("An unexpected error occurred. Please try again."),E(!1)}finally{S(!1)}};return(0,t.jsxs)("div",{className:"w-full max-w-[420px] flex flex-col",children:[(0,t.jsx)("div",{className:"flex justify-center py-12",children:(0,t.jsx)(p.default,{src:e||"https://hel1.your-objectstorage.com/ztudium-cms/Frame_1160445313_fc0ccef217.svg",alt:"logo",width:300,height:70})}),(0,t.jsxs)("div",{className:"mb-8 text-center",children:[(0,t.jsxs)("h1",{className:"text-xl font-bold text-white mb-2",children:["login"===y&&"Welc
148ome Back","signup"===y&&"Create Account","recover"===y&&"Recover Password"]}),(0,t.jsxs)("p",{className:"text-gray-300 text-sm",children:["login"===y&&"Sign in to your account","signup"===y&&"Join us today","recover"===y&&"Reset your password"]})]}),v&&(0,t.jsx)("div",{className:"mb-4 p-3 bg-red-500/10 border border-red-500 rounded-lg text-red-400 text-center text-sm",children:v}),x&&(0,t.jsx)("div",{className:"mb-4 p-3 bg-green-500/10 border border-green-500 rounded-lg text-green-400 text-center text-sm",children:x}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 justify-center",children:["login"===y&&(0,t.jsx)(c,{onSubmit:P,switchToRecover:()=>b("recover"),switchToSignUp:()=>b("signup"),isSubmitting:j||k,isRedirecting:k,handleGoogleSignIn:I}),"signup"===y&&(0,t.jsx)(d,{onSubmit:A,switchToLogin:()=>b("login"),isSubmitting:j}),"recover"===y&&(0,t.jsx)(f,{onSubmit:T,isSubmitting:j})]}),(0,t.jsx)("div",{className:"pb-6"})]})}],906744)},16734,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(727116);function i(){let[e,i]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=()=>{let e=window.scrollY>1200;i(t=>t!==e?e:t)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),e)?(0,t.jsx)("div",{className:"z-50 fixed bottom-[18px] self-center w-full flex items-center",children:(0,t.jsx)("button",{className:"m-auto border border-[#5c51f34b] group rounded-full w-12 h-12 bg-primary flex items-center justify-center transition-all duration-300 ease-in-out hover:bg-primary",onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),children:(0,t.jsx)(n.default,{name:"arrowUp",className:"text-white group-hover:text-white"})})}):null}e.s(["ScrollToTop",()=>i])},46445,e=>{"use strict";var t=e.i(843476),r=e.i(618566),n=e.i(657688),i=e.i(506828);function s({initialBg:e,children:s,isLightmode:a,themeColor:o}){let l=(0,r.usePathname)(),c=i.LANDING_PAGES.find(({path:e})=>l.startsWith(e))?.footerBg,u=!!c;return(0,t.jsxs)("footer",{className:`relative z-20 border-t ${a?o?"text-white border-transparent":"text-gray-900 border-gray-200":"text-white border-[#1a242ea5]"}`,style:{backgroundColor:c??e??(a?o??"transparent":"#04040F")},children:[!u&&!a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"w-full top-0 left-0 h-full absolute z-10",children:(0,t.jsx)(n.default,{src:"/assets/images/footer-bg.png",sizes:"100vw",fill:!0,className:"object-contain",alt:"background"})}),(0,t.jsx)("div",{className:"w-full bg-[#04040fcf] top-0 left-0 h-full absolute z-20"})]}),s]})}e.s(["default",()=>s])},76976,e=>{"use strict";var t=e.i(843476),r=e.i(657688),n=e.i(271645);function i({logo:e,secondaryLogo:i}){let[s,a]=(0,n.useState)(0),o=(0,n.useCallback)(()=>{let e=document.getElementById("footer-main-logo"),t=e?.getBoundingClientRect().height??0;t>0&&a(t)},[]);return((0,n.useEffect)(()=>{if(e)return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e,o]),e||i)?(0,t.jsxs)("div",{className:"relative mb-6 flex items-center justify-center gap-4 lg:justify-start",children:[e?(0,t.jsx)(r.default,{id:"footer-main-logo",src:e,width:280,height:70,className:"h-auto w-auto max-w-[200px] object-contain md:max-w-[280px]",alt:"Logo",sizes:"(max-width: 768px) 200px, 280px",onLoad:o}):null,i?(0,t.jsx)("img",{src:i,alt:"Verified badge",className:"w-auto shrink-0 object-contain",style:s>0?{height:s}:{maxHeight:48}}):null]}):null}e.s(["FooterLogos",()=>i])},650663,e=>{e.v(t=>Promise.all(["static/chunks/1115d9c00ec464ee.js","static/chunks/d1cb7a030b661f38.js"].map(t=>e.l(t))).then(()=>t(318968)))}]);
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.