@igamingcareer/igaming-components 1.0.63 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +23 -23
- package/dist/index.mjs +1624 -1624
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var LS;function wR(){return LS||(LS=1,process.env.NODE_ENV!=="production"&&function(){var t=S,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),k=Symbol.iterator,m="@@iterator";function x(j){if(j===null||typeof j!="object")return null;var R=k&&j[k]||j[m];return typeof R=="function"?R:null}var v=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(j){{for(var R=arguments.length,F=new Array(R>1?R-1:0),
|
|
18
|
-
`+
|
|
19
|
-
`),
|
|
20
|
-
`),
|
|
21
|
-
`+oe[
|
|
17
|
+
*/var LS;function wR(){return LS||(LS=1,process.env.NODE_ENV!=="production"&&function(){var t=S,e=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),k=Symbol.iterator,m="@@iterator";function x(j){if(j===null||typeof j!="object")return null;var R=k&&j[k]||j[m];return typeof R=="function"?R:null}var v=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(j){{for(var R=arguments.length,F=new Array(R>1?R-1:0),Z=1;Z<R;Z++)F[Z-1]=arguments[Z];M("error",j,F)}}function M(j,R,F){{var Z=v.ReactDebugCurrentFrame,de=Z.getStackAddendum();de!==""&&(R+="%s",F=F.concat([de]));var pe=F.map(function(re){return String(re)});pe.unshift("Warning: "+R),Function.prototype.apply.call(console[j],console,pe)}}var b=!1,C=!1,I=!1,L=!1,A=!1,N;N=Symbol.for("react.module.reference");function q(j){return!!(typeof j=="string"||typeof j=="function"||j===n||j===i||A||j===o||j===h||j===u||L||j===f||b||C||I||typeof j=="object"&&j!==null&&(j.$$typeof===y||j.$$typeof===p||j.$$typeof===c||j.$$typeof===l||j.$$typeof===d||j.$$typeof===N||j.getModuleId!==void 0))}function P(j,R,F){var Z=j.displayName;if(Z)return Z;var de=R.displayName||R.name||"";return de!==""?F+"("+de+")":F}function _(j){return j.displayName||"Context"}function T(j){if(j==null)return null;if(typeof j.tag=="number"&&w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof j=="function")return j.displayName||j.name||null;if(typeof j=="string")return j;switch(j){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case h:return"Suspense";case u:return"SuspenseList"}if(typeof j=="object")switch(j.$$typeof){case l:var R=j;return _(R)+".Consumer";case c:var F=j;return _(F._context)+".Provider";case d:return P(j,j.render,"ForwardRef");case p:var Z=j.displayName||null;return Z!==null?Z:T(j.type)||"Memo";case y:{var de=j,pe=de._payload,re=de._init;try{return T(re(pe))}catch{return null}}}return null}var $=Object.assign,G=0,B,V,O,K,se,Q,Y;function te(){}te.__reactDisabledLog=!0;function ae(){{if(G===0){B=console.log,V=console.info,O=console.warn,K=console.error,se=console.group,Q=console.groupCollapsed,Y=console.groupEnd;var j={configurable:!0,enumerable:!0,value:te,writable:!0};Object.defineProperties(console,{info:j,log:j,warn:j,error:j,group:j,groupCollapsed:j,groupEnd:j})}G++}}function he(){{if(G--,G===0){var j={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:$({},j,{value:B}),info:$({},j,{value:V}),warn:$({},j,{value:O}),error:$({},j,{value:K}),group:$({},j,{value:se}),groupCollapsed:$({},j,{value:Q}),groupEnd:$({},j,{value:Y})})}G<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ke=v.ReactCurrentDispatcher,W;function J(j,R,F){{if(W===void 0)try{throw Error()}catch(de){var Z=de.stack.trim().match(/\n( *(at )?)/);W=Z&&Z[1]||""}return`
|
|
18
|
+
`+W+j}}var ne=!1,ce;{var me=typeof WeakMap=="function"?WeakMap:Map;ce=new me}function le(j,R){if(!j||ne)return"";{var F=ce.get(j);if(F!==void 0)return F}var Z;ne=!0;var de=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var pe;pe=ke.current,ke.current=null,ae();try{if(R){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(yt){Z=yt}Reflect.construct(j,[],re)}else{try{re.call()}catch(yt){Z=yt}j.call(re.prototype)}}else{try{throw Error()}catch(yt){Z=yt}j()}}catch(yt){if(yt&&Z&&typeof yt.stack=="string"){for(var oe=yt.stack.split(`
|
|
19
|
+
`),be=Z.stack.split(`
|
|
20
|
+
`),ge=oe.length-1,Re=be.length-1;ge>=1&&Re>=0&&oe[ge]!==be[Re];)Re--;for(;ge>=1&&Re>=0;ge--,Re--)if(oe[ge]!==be[Re]){if(ge!==1||Re!==1)do if(ge--,Re--,Re<0||oe[ge]!==be[Re]){var _t=`
|
|
21
|
+
`+oe[ge].replace(" at new "," at ");return j.displayName&&_t.includes("<anonymous>")&&(_t=_t.replace("<anonymous>",j.displayName)),typeof j=="function"&&ce.set(j,_t),_t}while(ge>=1&&Re>=0);break}}}finally{ne=!1,ke.current=pe,he(),Error.prepareStackTrace=de}var ls=j?j.displayName||j.name:"",pr=ls?J(ls):"";return typeof j=="function"&&ce.set(j,pr),pr}function ze(j,R,F){return le(j,!1)}function Se(j){var R=j.prototype;return!!(R&&R.isReactComponent)}function We(j,R,F){if(j==null)return"";if(typeof j=="function")return le(j,Se(j));if(typeof j=="string")return J(j);switch(j){case h:return J("Suspense");case u:return J("SuspenseList")}if(typeof j=="object")switch(j.$$typeof){case d:return ze(j.render);case p:return We(j.type,R,F);case y:{var Z=j,de=Z._payload,pe=Z._init;try{return We(pe(de),R,F)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,it={},Pt=v.ReactDebugCurrentFrame;function Fe(j){if(j){var R=j._owner,F=We(j.type,j._source,R?R.type:null);Pt.setExtraStackFrame(F)}else Pt.setExtraStackFrame(null)}function Ze(j,R,F,Z,de){{var pe=Function.call.bind(rt);for(var re in j)if(pe(j,re)){var oe=void 0;try{if(typeof j[re]!="function"){var be=Error((Z||"React class")+": "+F+" type `"+re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof j[re]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw be.name="Invariant Violation",be}oe=j[re](R,re,Z,F,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ge){oe=ge}oe&&!(oe instanceof Error)&&(Fe(de),w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Z||"React class",F,re,typeof oe),Fe(null)),oe instanceof Error&&!(oe.message in it)&&(it[oe.message]=!0,Fe(de),w("Failed %s type: %s",F,oe.message),Fe(null))}}}var Ke=Array.isArray;function Bt(j){return Ke(j)}function Ra(j){{var R=typeof Symbol=="function"&&Symbol.toStringTag,F=R&&j[Symbol.toStringTag]||j.constructor.name||"Object";return F}}function ma(j){try{return pt(j),!1}catch{return!0}}function pt(j){return""+j}function Ae(j){if(ma(j))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ra(j)),pt(j)}var z=v.ReactCurrentOwner,E={key:!0,ref:!0,__self:!0,__source:!0},ee,ve,Pe;Pe={};function _e(j){if(rt.call(j,"ref")){var R=Object.getOwnPropertyDescriptor(j,"ref").get;if(R&&R.isReactWarning)return!1}return j.ref!==void 0}function Ve(j){if(rt.call(j,"key")){var R=Object.getOwnPropertyDescriptor(j,"key").get;if(R&&R.isReactWarning)return!1}return j.key!==void 0}function Ut(j,R){if(typeof j.ref=="string"&&z.current&&R&&z.current.stateNode!==R){var F=T(z.current.type);Pe[F]||(w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',T(z.current.type),j.ref),Pe[F]=!0)}}function ss(j,R){{var F=function(){ee||(ee=!0,w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};F.isReactWarning=!0,Object.defineProperty(j,"key",{get:F,configurable:!0})}}function Qs(j,R){{var F=function(){ve||(ve=!0,w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};F.isReactWarning=!0,Object.defineProperty(j,"ref",{get:F,configurable:!0})}}var dr=function(j,R,F,Z,de,pe,re){var oe={$$typeof:e,type:j,key:R,ref:F,props:re,_owner:pe};return oe._store={},Object.defineProperty(oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(oe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Z}),Object.defineProperty(oe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:de}),Object.freeze&&(Object.freeze(oe.props),Object.freeze(oe)),oe};function hr(j,R,F,Z,de){{var pe,re={},oe=null,be=null;F!==void 0&&(Ae(F),oe=""+F),Ve(R)&&(Ae(R.key),oe=""+R.key),_e(R)&&(be=R.ref,Ut(R,de));for(pe in R)rt.call(R,pe)&&!E.hasOwnProperty(pe)&&(re[pe]=R[pe]);if(j&&j.defaultProps){var ge=j.defaultProps;for(pe in ge)re[pe]===void 0&&(re[pe]=ge[pe])}if(oe||be){var Re=typeof j=="function"?j.displayName||j.name||"Unknown":j;oe&&ss(re,Re),be&&Qs(re,Re)}return dr(j,oe,be,de,Z,z.current,re)}}var Ta=v.ReactCurrentOwner,cs=v.ReactDebugCurrentFrame;function Qt(j){if(j){var R=j._owner,F=We(j.type,j._source,R?R.type:null);cs.setExtraStackFrame(F)}else cs.setExtraStackFrame(null)}var fa;fa=!1;function ur(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function H(){{if(Ta.current){var j=T(Ta.current.type);if(j)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+j+"`."}return""}}function
|
|
23
|
+
Check the render method of \``+j+"`."}return""}}function X(j){return""}var fe={};function Ie(j){{var R=H();if(!R){var F=typeof j=="string"?j:j.displayName||j.name;F&&(R=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+F+">.")}return R}}function Xe(j,R){{if(!j._store||j._store.validated||j.key!=null)return;j._store.validated=!0;var F=Ie(R);if(
|
|
25
|
+
Check the top-level render call using <`+F+">.")}return R}}function Xe(j,R){{if(!j._store||j._store.validated||j.key!=null)return;j._store.validated=!0;var F=Ie(R);if(fe[F])return;fe[F]=!0;var Z="";j&&j._owner&&j._owner!==Ta.current&&(Z=" It was passed a child from "+T(j._owner.type)+"."),Qt(j),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',F,Z),Qt(null)}}function xa(j,R){{if(typeof j!="object")return;if(Bt(j))for(var F=0;F<j.length;F++){var Z=j[F];ur(Z)&&Xe(Z,R)}else if(ur(j))j._store&&(j._store.validated=!0);else if(j){var de=x(j);if(typeof de=="function"&&de!==j.entries)for(var pe=de.call(j),re;!(re=pe.next()).done;)ur(re.value)&&Xe(re.value,R)}}}function Qe(j){{var R=j.type;if(R==null||typeof R=="string")return;var F;if(typeof R=="function")F=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===d||R.$$typeof===p))F=R.propTypes;else return;if(F){var Z=T(R);Ze(F,j.props,"prop",Z,j)}else if(R.PropTypes!==void 0&&!fa){fa=!0;var de=T(R);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",de||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function dt(j){{for(var R=Object.keys(j.props),F=0;F<R.length;F++){var Z=R[F];if(Z!=="children"&&Z!=="key"){Qt(j),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Z),Qt(null);break}}j.ref!==null&&(Qt(j),w("Invalid attribute `ref` supplied to `React.Fragment`."),Qt(null))}}var qa={};function Be(j,R,F,Z,de,pe){{var re=q(j);if(!re){var oe="";(j===void 0||typeof j=="object"&&j!==null&&Object.keys(j).length===0)&&(oe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var be=X();be?oe+=be:oe+=H();var ge;j===null?ge="null":Bt(j)?ge="array":j!==void 0&&j.$$typeof===e?(ge="<"+(T(j.type)||"Unknown")+" />",oe=" Did you accidentally export a JSX literal instead of a component?"):ge=typeof j,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ge,oe)}var Re=hr(j,R,F,de,pe);if(Re==null)return Re;if(re){var _t=R.children;if(_t!==void 0)if(Z)if(Bt(_t)){for(var ls=0;ls<_t.length;ls++)xa(_t[ls],j);Object.freeze&&Object.freeze(_t)}else w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else xa(_t,j)}if(rt.call(R,"key")){var pr=T(j),yt=Object.keys(R).filter(function(kR){return kR!=="key"}),tC=yt.length>0?"{key: someKey, "+yt.join(": ..., ")+": ...}":"{key: someKey}";if(!qa[pr+tC]){var xR=yt.length>0?"{"+yt.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,tC,pr,xR,pr),qa[pr+tC]=!0}}return j===n?dt(Re):Qe(Re),Re}}function ht(j,R,F){return Be(j,R,F,!0)}function ec(j,R,F){return Be(j,R,F,!1)}var Qc=ec,D=ht;ac.Fragment=n,ac.jsx=Qc,ac.jsxs=D}()),ac}process.env.NODE_ENV==="production"?NC.exports=vR():NC.exports=wR();var a=NC.exports;function IS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function MR(...t){return e=>{let r=!1;const n=t.map(o=>{const i=IS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():IS(t[o],null)}}}}function tt(t){const e=CR(t),r=g.forwardRef((n,o)=>{const{children:i,...c}=n,l=g.Children.toArray(i),d=l.find(SR);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return a.jsx(e,{...c,ref:o,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return a.jsx(e,{...c,ref:o,children:i})});return r.displayName=`${t}.Slot`,r}var bR=tt("Slot");function CR(t){const e=g.forwardRef((r,n)=>{const{children:o,...i}=r;if(g.isValidElement(o)){const c=IR(o),l=LR(i,o.props);return o.type!==g.Fragment&&(l.ref=n?MR(n,c):c),g.cloneElement(o,l)}return g.Children.count(o)>1?g.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var ZL=Symbol("radix.slottable");function jR(t){const e=({children:r})=>a.jsx(a.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=ZL,e}function SR(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===ZL}function LR(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{const d=i(...l);return o(...l),d}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function IR(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function XL(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=XL(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function NR(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=XL(t))&&(n&&(n+=" "),n+=e);return n}const NS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,AS=NR,S9=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return AS(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:i}=e,c=Object.keys(o).map(h=>{const u=r==null?void 0:r[h],p=i==null?void 0:i[h];if(u===null)return null;const y=NS(u)||NS(p);return o[h][y]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(k=>{let[m,x]=k;return Array.isArray(x)?x.includes({...i,...l}[m]):{...i,...l}[m]===x})?[...h,p,y]:h},[]);return AS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function JL(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=JL(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function AR(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=JL(t))&&(n&&(n+=" "),n+=e);return n}const dj="-",PR=t=>{const e=RR(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(dj);return l[0]===""&&l.length!==1&&l.shift(),YL(l,e)||_R(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},YL=(t,e)=>{var c;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?YL(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const i=t.join(dj);return(c=e.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},PS=/^\[(.+)\]$/,_R=t=>{if(PS.test(t)){const e=PS.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},RR=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return qR(Object.entries(t.classGroups),r).forEach(([i,c])=>{AC(c,n,i,e)}),n},AC=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const i=o===""?e:_S(e,o);i.classGroupId=r;return}if(typeof o=="function"){if(TR(o)){AC(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,c])=>{AC(c,_S(e,i),r,n)})})},_S=(t,e)=>{let r=t;return e.split(dj).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},TR=t=>t.isThemeGetter,qR=(t,e)=>e?t.map(([r,n])=>{const o=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,l])=>[e+c,l])):i);return[r,o]}):t,DR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const o=(i,c)=>{r.set(i,c),e++,e>t&&(e=0,n=r,r=new Map)};return{get(i){let c=r.get(i);if(c!==void 0)return c;if((c=n.get(i))!==void 0)return o(i,c),c},set(i,c){r.has(i)?r.set(i,c):o(i,c)}}},KL="!",zR=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,o=e[0],i=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let v=l[x];if(h===0){if(v===o&&(n||l.slice(x,x+i)===e)){d.push(l.slice(u,x)),u=x+i;continue}if(v==="/"){p=x;continue}}v==="["?h++:v==="]"&&h--}const y=d.length===0?l:l.substring(u),f=y.startsWith(KL),k=f?y.substring(1):y,m=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:f,baseClassName:k,maybePostfixModifierPosition:m}};return r?l=>r({className:l,parseClassName:c}):c},FR=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},ER=t=>({cache:DR(t.cacheSize),parseClassName:zR(t),...PR(t)}),OR=/\s+/,HR=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,i=[],c=t.trim().split(OR);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:f}=r(h);let k=!!f,m=n(k?y.substring(0,f):y);if(!m){if(!k){l=h+(l.length>0?" "+l:l);continue}if(m=n(y),!m){l=h+(l.length>0?" "+l:l);continue}k=!1}const x=FR(u).join(":"),v=p?x+KL:x,w=v+m;if(i.includes(w))continue;i.push(w);const b=o(m,k);for(let M=0;M<b.length;++M){const C=b[M];i.push(v+C)}l=h+(l.length>0?" "+l:l)}return l};function VR(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=QL(e))&&(n&&(n+=" "),n+=r);return n}const QL=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=QL(t[n]))&&(r&&(r+=" "),r+=e);return r};function BR(t,...e){let r,n,o,i=c;function c(d){const h=e.reduce((u,p)=>p(u),t());return r=ER(h),n=r.cache.get,o=r.cache.set,i=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=HR(d,r);return o(d,u),u}return function(){return i(VR.apply(null,arguments))}}const Te=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},eI=/^\[(?:([a-z-]+):)?(.+)\]$/i,UR=/^\d+\/\d+$/,$R=new Set(["px","full","screen"]),GR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,WR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ZR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,XR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,JR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ka=t=>fs(t)||$R.has(t)||UR.test(t),Da=t=>Xs(t,"length",nT),fs=t=>!!t&&!Number.isNaN(Number(t)),aC=t=>Xs(t,"number",fs),rc=t=>!!t&&Number.isInteger(Number(t)),YR=t=>t.endsWith("%")&&fs(t.slice(0,-1)),he=t=>eI.test(t),za=t=>GR.test(t),KR=new Set(["length","size","percentage"]),QR=t=>Xs(t,KR,tI),eT=t=>Xs(t,"position",tI),tT=new Set(["image","url"]),aT=t=>Xs(t,tT,iT),rT=t=>Xs(t,"",oT),nc=()=>!0,Xs=(t,e,r)=>{const n=eI.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},nT=t=>WR.test(t)&&!ZR.test(t),tI=()=>!1,oT=t=>XR.test(t),iT=t=>JR.test(t),sT=()=>{const t=Te("colors"),e=Te("spacing"),r=Te("blur"),n=Te("brightness"),o=Te("borderColor"),i=Te("borderRadius"),c=Te("borderSpacing"),l=Te("borderWidth"),d=Te("contrast"),h=Te("grayscale"),u=Te("hueRotate"),p=Te("invert"),y=Te("gap"),f=Te("gradientColorStops"),k=Te("gradientColorStopPositions"),m=Te("inset"),x=Te("margin"),v=Te("opacity"),w=Te("padding"),b=Te("saturate"),M=Te("scale"),C=Te("sepia"),N=Te("skew"),L=Te("space"),A=Te("translate"),I=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",he,e],_=()=>[he,e],T=()=>["",ka,Da],G=()=>["auto",fs,he],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",he],ce=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ee=()=>[fs,he];return{cacheSize:500,separator:":",theme:{colors:[nc],spacing:[ka,Da],blur:["none","",za,he],brightness:ee(),borderColor:[t],borderRadius:["none","","full",za,he],borderSpacing:_(),borderWidth:T(),contrast:ee(),grayscale:K(),hueRotate:ee(),invert:K(),gap:_(),gradientColorStops:[t],gradientColorStopPositions:[YR,Da],inset:P(),margin:P(),opacity:ee(),padding:_(),saturate:ee(),scale:ee(),sepia:K(),skew:ee(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",he]}],container:["container"],columns:[{columns:[za]}],"break-after":[{"break-after":ce()}],"break-before":[{"break-before":ce()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),he]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",rc,he]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",he]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",rc,he]}],"grid-cols":[{"grid-cols":[nc]}],"col-start-end":[{col:["auto",{span:["full",rc,he]},he]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[nc]}],"row-start-end":[{row:["auto",{span:[rc,he]},he]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",he]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",he]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",he,e]}],"min-w":[{"min-w":[he,e,"min","max","fit"]}],"max-w":[{"max-w":[he,e,"none","full","min","max","fit","prose",{screen:[za]},za]}],h:[{h:[he,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[he,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[he,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[he,e,"auto","min","max","fit"]}],"font-size":[{text:["base",za,Da]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",aC]}],"font-family":[{font:[nc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",he]}],"line-clamp":[{"line-clamp":["none",fs,aC]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ka,he]}],"list-image":[{"list-image":["none",he]}],"list-style-type":[{list:["none","disc","decimal",he]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ka,Da]}],"underline-offset":[{"underline-offset":["auto",ka,he]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",he]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),eT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",QR]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},aT]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[ka,he]}],"outline-w":[{outline:[ka,Da]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[ka,Da]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",za,rT]}],"shadow-color":[{shadow:[nc]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",za,he]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[b]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",he]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",he]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",he]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[rc,he]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",he]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",he]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",he]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ka,Da,aC]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},cT=BR(sT);function se(...t){return cT(AR(t))}const hj=S9("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",accent:"bg-accent text-accent-foreground hover:bg-accent-hover shadow-accent transform hover:scale-[1.02] hover:shadow-lg",hero:"bg-gradient-accent text-accent-foreground hover:opacity-90 shadow-accent transform hover:scale-[1.05] px-8 py-3 text-base font-bold",gaming:"bg-gaming-gold text-primary hover:bg-gaming-gold/90 shadow-accent transform hover:scale-[1.02]"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),$=g.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...o},i)=>{const c=n?bR:"button";return a.jsx(c,{className:se(hj({variant:e,size:r,className:t})),ref:i,...o})});$.displayName="Button";const Ye=g.forwardRef(({className:t,type:e,...r},n)=>a.jsx("input",{type:e,className:se("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors 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-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:n,...r}));Ye.displayName="Input";function ja(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function lT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,dT(o,...e)]}function dT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function hT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,uT(o,...e)]}function uT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function pT(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function uj(...t){return e=>t.forEach(r=>pT(r,e))}function c9(...t){return g.useCallback(uj(...t),t)}var PC=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(mT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(_C,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(_C,{...n,ref:e,children:r})});PC.displayName="Slot";var _C=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=xT(r);return g.cloneElement(r,{...fT(n,r.props),ref:e?uj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});_C.displayName="SlotClone";var yT=({children:t})=>a.jsx(a.Fragment,{children:t});function mT(t){return g.isValidElement(t)&&t.type===yT}function fT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function xT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function kT(t){const e=t+"CollectionProvider",[r,n]=hT(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:k,children:m}=f,x=S.useRef(null),v=S.useRef(new Map).current;return a.jsx(o,{scope:k,itemMap:v,collectionRef:x,children:m})};c.displayName=e;const l=t+"CollectionSlot",d=S.forwardRef((f,k)=>{const{scope:m,children:x}=f,v=i(l,m),w=c9(k,v.collectionRef);return a.jsx(PC,{ref:w,children:x})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=S.forwardRef((f,k)=>{const{scope:m,children:x,...v}=f,w=S.useRef(null),b=c9(k,w),M=i(h,m);return S.useEffect(()=>(M.itemMap.set(w,{ref:w,...v}),()=>void M.itemMap.delete(w))),a.jsx(PC,{[u]:"",ref:b,children:x})});p.displayName=h;function y(f){const k=i(t+"CollectionConsumer",f);return S.useCallback(()=>{const x=k.collectionRef.current;if(!x)return[];const v=Array.from(x.querySelectorAll(`[${u}]`));return Array.from(k.itemMap.values()).sort((M,C)=>v.indexOf(M.ref.current)-v.indexOf(C.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},y,n]}function gT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,vT(o,...e)]}function vT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var RC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},wT=g.useId||(()=>{}),MT=0;function aI(t){const[e,r]=g.useState(wT());return RC(()=>{t||r(n=>n??String(MT++))},[t]),t||(e?`radix-${e}`:"")}var rI=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(CT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(TC,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(TC,{...n,ref:e,children:r})});rI.displayName="Slot";var TC=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=ST(r);return g.cloneElement(r,{...jT(n,r.props),ref:e?uj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});TC.displayName="SlotClone";var bT=({children:t})=>a.jsx(a.Fragment,{children:t});function CT(t){return g.isValidElement(t)&&t.type===bT}function jT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function ST(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var LT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],as=LT.reduce((t,e)=>{const r=g.forwardRef((n,o)=>{const{asChild:i,...c}=n,l=i?rI:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(l,{...c,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function pj(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function nI({prop:t,defaultProp:e,onChange:r=()=>{}}){const[n,o]=IT({defaultProp:e,onChange:r}),i=t!==void 0,c=i?t:n,l=pj(r),d=g.useCallback(h=>{if(i){const p=typeof h=="function"?h(t):h;p!==t&&l(p)}else o(h)},[i,t,o,l]);return[c,d]}function IT({defaultProp:t,onChange:e}){const r=g.useState(t),[n]=r,o=g.useRef(n),i=pj(e);return g.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}var NT=g.createContext(void 0);function oI(t){const e=g.useContext(NT);return t||e||"ltr"}var rC="rovingFocusGroup.onEntryFocus",AT={bubbles:!1,cancelable:!0},L9="RovingFocusGroup",[qC,iI,PT]=kT(L9),[_T,sI]=gT(L9,[PT]),[RT,TT]=_T(L9),cI=g.forwardRef((t,e)=>a.jsx(qC.Provider,{scope:t.__scopeRovingFocusGroup,children:a.jsx(qC.Slot,{scope:t.__scopeRovingFocusGroup,children:a.jsx(qT,{...t,ref:e})})}));cI.displayName=L9;var qT=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=t,y=g.useRef(null),f=c9(e,y),k=oI(i),[m=null,x]=nI({prop:c,defaultProp:l,onChange:d}),[v,w]=g.useState(!1),b=pj(h),M=iI(r),C=g.useRef(!1),[N,L]=g.useState(0);return g.useEffect(()=>{const A=y.current;if(A)return A.addEventListener(rC,b),()=>A.removeEventListener(rC,b)},[b]),a.jsx(RT,{scope:r,orientation:n,dir:k,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(A=>x(A),[x]),onItemShiftTab:g.useCallback(()=>w(!0),[]),onFocusableItemAdd:g.useCallback(()=>L(A=>A+1),[]),onFocusableItemRemove:g.useCallback(()=>L(A=>A-1),[]),children:a.jsx(as.div,{tabIndex:v||N===0?-1:0,"data-orientation":n,...p,ref:f,style:{outline:"none",...t.style},onMouseDown:ja(t.onMouseDown,()=>{C.current=!0}),onFocus:ja(t.onFocus,A=>{const I=!C.current;if(A.target===A.currentTarget&&I&&!v){const q=new CustomEvent(rC,AT);if(A.currentTarget.dispatchEvent(q),!q.defaultPrevented){const P=M().filter(B=>B.focusable),_=P.find(B=>B.active),T=P.find(B=>B.id===m),W=[_,T,...P].filter(Boolean).map(B=>B.ref.current);hI(W,u)}}C.current=!1}),onBlur:ja(t.onBlur,()=>w(!1))})})}),lI="RovingFocusGroupItem",dI=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...c}=t,l=aI(),d=i||l,h=TT(lI,r),u=h.currentTabStopId===d,p=iI(r),{onFocusableItemAdd:y,onFocusableItemRemove:f}=h;return g.useEffect(()=>{if(n)return y(),()=>f()},[n,y,f]),a.jsx(qC.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:a.jsx(as.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:e,onMouseDown:ja(t.onMouseDown,k=>{n?h.onItemFocus(d):k.preventDefault()}),onFocus:ja(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:ja(t.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){h.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const m=FT(k,h.orientation,h.dir);if(m!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let v=p().filter(w=>w.focusable).map(w=>w.ref.current);if(m==="last")v.reverse();else if(m==="prev"||m==="next"){m==="prev"&&v.reverse();const w=v.indexOf(k.currentTarget);v=h.loop?ET(v,w+1):v.slice(w+1)}setTimeout(()=>hI(v))}})})})});dI.displayName=lI;var DT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zT(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function FT(t,e,r){const n=zT(t.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return DT[n]}function hI(t,e=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function ET(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var OT=cI,HT=dI;function VT(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var uI=t=>{const{present:e,children:r}=t,n=BT(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=c9(n.ref,UT(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};uI.displayName="Presence";function BT(t){const[e,r]=g.useState(),n=g.useRef({}),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=VT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=e1(n.current);i.current=l==="mounted"?h:"none"},[l]),RC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=e1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),RC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=e1(n.current).includes(f.animationName);if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=e1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function e1(t){return(t==null?void 0:t.animationName)||"none"}function UT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var yj="Tabs",[$T,dU]=lT(yj,[sI]),pI=sI(),[GT,mj]=$T(yj),yI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=oI(l),[p,y]=nI({prop:n,onChange:o,defaultProp:i});return a.jsx(GT,{scope:r,baseId:aI(),value:p,onValueChange:y,orientation:c,dir:u,activationMode:d,children:a.jsx(as.div,{dir:u,"data-orientation":c,...h,ref:e})})});yI.displayName=yj;var mI="TabsList",fI=g.forwardRef((t,e)=>{const{__scopeTabs:r,loop:n=!0,...o}=t,i=mj(mI,r),c=pI(r);return a.jsx(OT,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:a.jsx(as.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});fI.displayName=mI;var xI="TabsTrigger",kI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=t,c=mj(xI,r),l=pI(r),d=wI(c.baseId,n),h=MI(c.baseId,n),u=n===c.value;return a.jsx(HT,{asChild:!0,...l,focusable:!o,active:u,children:a.jsx(as.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:d,...i,ref:e,onMouseDown:ja(t.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:ja(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:ja(t.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!o&&p&&c.onValueChange(n)})})})});kI.displayName=xI;var gI="TabsContent",vI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...c}=t,l=mj(gI,r),d=wI(l.baseId,n),h=MI(l.baseId,n),u=n===l.value,p=g.useRef(u);return g.useEffect(()=>{const y=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(y)},[]),a.jsx(uI,{present:o||u,children:({present:y})=>a.jsx(as.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!y,id:h,tabIndex:0,...c,ref:e,style:{...t.style,animationDuration:p.current?"0s":void 0},children:y&&i})})});vI.displayName=gI;function wI(t,e){return`${t}-trigger-${e}`}function MI(t,e){return`${t}-content-${e}`}var WT=yI,bI=fI,CI=kI,jI=vI;const rs=WT,ar=g.forwardRef(({className:t,...e},r)=>a.jsx(bI,{ref:r,className:se("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));ar.displayName=bI.displayName;const Ce=g.forwardRef(({className:t,...e},r)=>a.jsx(CI,{ref:r,className:se("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));Ce.displayName=CI.displayName;const je=g.forwardRef(({className:t,...e},r)=>a.jsx(jI,{ref:r,className:se("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));je.displayName=jI.displayName;const ve=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:se("rounded-xl border bg-card text-card-foreground shadow",t),...e}));ve.displayName="Card";const qe=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:se("flex flex-col space-y-1.5 p-6",t),...e}));qe.displayName="CardHeader";const De=g.forwardRef(({className:t,...e},r)=>a.jsx("h3",{ref:r,className:se("font-semibold leading-none tracking-tight",t),...e}));De.displayName="CardTitle";const Ue=g.forwardRef(({className:t,...e},r)=>a.jsx("p",{ref:r,className:se("text-sm text-muted-foreground",t),...e}));Ue.displayName="CardDescription";const we=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:se("p-6 pt-0",t),...e}));we.displayName="CardContent";const Fs=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:se("flex items-center p-6 pt-0",t),...e}));Fs.displayName="CardFooter";/**
|
|
30
|
+
<%s key={someKey} {...props} />`,tC,pr,xR,pr),qa[pr+tC]=!0}}return j===n?dt(Re):Qe(Re),Re}}function ht(j,R,F){return Be(j,R,F,!0)}function ec(j,R,F){return Be(j,R,F,!1)}var Qc=ec,D=ht;ac.Fragment=n,ac.jsx=Qc,ac.jsxs=D}()),ac}process.env.NODE_ENV==="production"?NC.exports=vR():NC.exports=wR();var a=NC.exports;function IS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function MR(...t){return e=>{let r=!1;const n=t.map(o=>{const i=IS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():IS(t[o],null)}}}}function tt(t){const e=CR(t),r=g.forwardRef((n,o)=>{const{children:i,...c}=n,l=g.Children.toArray(i),d=l.find(SR);if(d){const h=d.props.children,u=l.map(p=>p===d?g.Children.count(h)>1?g.Children.only(null):g.isValidElement(h)?h.props.children:null:p);return a.jsx(e,{...c,ref:o,children:g.isValidElement(h)?g.cloneElement(h,void 0,u):null})}return a.jsx(e,{...c,ref:o,children:i})});return r.displayName=`${t}.Slot`,r}var bR=tt("Slot");function CR(t){const e=g.forwardRef((r,n)=>{const{children:o,...i}=r;if(g.isValidElement(o)){const c=IR(o),l=LR(i,o.props);return o.type!==g.Fragment&&(l.ref=n?MR(n,c):c),g.cloneElement(o,l)}return g.Children.count(o)>1?g.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var ZL=Symbol("radix.slottable");function jR(t){const e=({children:r})=>a.jsx(a.Fragment,{children:r});return e.displayName=`${t}.Slottable`,e.__radixId=ZL,e}function SR(t){return g.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===ZL}function LR(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{const d=i(...l);return o(...l),d}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function IR(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function XL(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=XL(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function NR(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=XL(t))&&(n&&(n+=" "),n+=e);return n}const NS=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,AS=NR,S9=(t,e)=>r=>{var n;if((e==null?void 0:e.variants)==null)return AS(t,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:i}=e,c=Object.keys(o).map(h=>{const u=r==null?void 0:r[h],p=i==null?void 0:i[h];if(u===null)return null;const y=NS(u)||NS(p);return o[h][y]}),l=r&&Object.entries(r).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(n=e.compoundVariants)===null||n===void 0?void 0:n.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(k=>{let[m,x]=k;return Array.isArray(x)?x.includes({...i,...l}[m]):{...i,...l}[m]===x})?[...h,p,y]:h},[]);return AS(t,c,d,r==null?void 0:r.class,r==null?void 0:r.className)};function JL(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(r=JL(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function AR(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=JL(t))&&(n&&(n+=" "),n+=e);return n}const dj="-",PR=t=>{const e=RR(t),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=t;return{getClassGroupId:c=>{const l=c.split(dj);return l[0]===""&&l.length!==1&&l.shift(),YL(l,e)||_R(c)},getConflictingClassGroupIds:(c,l)=>{const d=r[c]||[];return l&&n[c]?[...d,...n[c]]:d}}},YL=(t,e)=>{var c;if(t.length===0)return e.classGroupId;const r=t[0],n=e.nextPart.get(r),o=n?YL(t.slice(1),n):void 0;if(o)return o;if(e.validators.length===0)return;const i=t.join(dj);return(c=e.validators.find(({validator:l})=>l(i)))==null?void 0:c.classGroupId},PS=/^\[(.+)\]$/,_R=t=>{if(PS.test(t)){const e=PS.exec(t)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},RR=t=>{const{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return qR(Object.entries(t.classGroups),r).forEach(([i,c])=>{AC(c,n,i,e)}),n},AC=(t,e,r,n)=>{t.forEach(o=>{if(typeof o=="string"){const i=o===""?e:_S(e,o);i.classGroupId=r;return}if(typeof o=="function"){if(TR(o)){AC(o(n),e,r,n);return}e.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,c])=>{AC(c,_S(e,i),r,n)})})},_S=(t,e)=>{let r=t;return e.split(dj).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},TR=t=>t.isThemeGetter,qR=(t,e)=>e?t.map(([r,n])=>{const o=n.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([c,l])=>[e+c,l])):i);return[r,o]}):t,DR=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,n=new Map;const o=(i,c)=>{r.set(i,c),e++,e>t&&(e=0,n=r,r=new Map)};return{get(i){let c=r.get(i);if(c!==void 0)return c;if((c=n.get(i))!==void 0)return o(i,c),c},set(i,c){r.has(i)?r.set(i,c):o(i,c)}}},KL="!",zR=t=>{const{separator:e,experimentalParseClassName:r}=t,n=e.length===1,o=e[0],i=e.length,c=l=>{const d=[];let h=0,u=0,p;for(let x=0;x<l.length;x++){let v=l[x];if(h===0){if(v===o&&(n||l.slice(x,x+i)===e)){d.push(l.slice(u,x)),u=x+i;continue}if(v==="/"){p=x;continue}}v==="["?h++:v==="]"&&h--}const y=d.length===0?l:l.substring(u),f=y.startsWith(KL),k=f?y.substring(1):y,m=p&&p>u?p-u:void 0;return{modifiers:d,hasImportantModifier:f,baseClassName:k,maybePostfixModifierPosition:m}};return r?l=>r({className:l,parseClassName:c}):c},FR=t=>{if(t.length<=1)return t;const e=[];let r=[];return t.forEach(n=>{n[0]==="["?(e.push(...r.sort(),n),r=[]):r.push(n)}),e.push(...r.sort()),e},ER=t=>({cache:DR(t.cacheSize),parseClassName:zR(t),...PR(t)}),OR=/\s+/,HR=(t,e)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,i=[],c=t.trim().split(OR);let l="";for(let d=c.length-1;d>=0;d-=1){const h=c[d],{modifiers:u,hasImportantModifier:p,baseClassName:y,maybePostfixModifierPosition:f}=r(h);let k=!!f,m=n(k?y.substring(0,f):y);if(!m){if(!k){l=h+(l.length>0?" "+l:l);continue}if(m=n(y),!m){l=h+(l.length>0?" "+l:l);continue}k=!1}const x=FR(u).join(":"),v=p?x+KL:x,w=v+m;if(i.includes(w))continue;i.push(w);const M=o(m,k);for(let b=0;b<M.length;++b){const C=M[b];i.push(v+C)}l=h+(l.length>0?" "+l:l)}return l};function VR(){let t=0,e,r,n="";for(;t<arguments.length;)(e=arguments[t++])&&(r=QL(e))&&(n&&(n+=" "),n+=r);return n}const QL=t=>{if(typeof t=="string")return t;let e,r="";for(let n=0;n<t.length;n++)t[n]&&(e=QL(t[n]))&&(r&&(r+=" "),r+=e);return r};function BR(t,...e){let r,n,o,i=c;function c(d){const h=e.reduce((u,p)=>p(u),t());return r=ER(h),n=r.cache.get,o=r.cache.set,i=l,l(d)}function l(d){const h=n(d);if(h)return h;const u=HR(d,r);return o(d,u),u}return function(){return i(VR.apply(null,arguments))}}const Te=t=>{const e=r=>r[t]||[];return e.isThemeGetter=!0,e},eI=/^\[(?:([a-z-]+):)?(.+)\]$/i,UR=/^\d+\/\d+$/,$R=new Set(["px","full","screen"]),GR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,WR=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ZR=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,XR=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,JR=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ka=t=>fs(t)||$R.has(t)||UR.test(t),Da=t=>Xs(t,"length",nT),fs=t=>!!t&&!Number.isNaN(Number(t)),aC=t=>Xs(t,"number",fs),rc=t=>!!t&&Number.isInteger(Number(t)),YR=t=>t.endsWith("%")&&fs(t.slice(0,-1)),ue=t=>eI.test(t),za=t=>GR.test(t),KR=new Set(["length","size","percentage"]),QR=t=>Xs(t,KR,tI),eT=t=>Xs(t,"position",tI),tT=new Set(["image","url"]),aT=t=>Xs(t,tT,iT),rT=t=>Xs(t,"",oT),nc=()=>!0,Xs=(t,e,r)=>{const n=eI.exec(t);return n?n[1]?typeof e=="string"?n[1]===e:e.has(n[1]):r(n[2]):!1},nT=t=>WR.test(t)&&!ZR.test(t),tI=()=>!1,oT=t=>XR.test(t),iT=t=>JR.test(t),sT=()=>{const t=Te("colors"),e=Te("spacing"),r=Te("blur"),n=Te("brightness"),o=Te("borderColor"),i=Te("borderRadius"),c=Te("borderSpacing"),l=Te("borderWidth"),d=Te("contrast"),h=Te("grayscale"),u=Te("hueRotate"),p=Te("invert"),y=Te("gap"),f=Te("gradientColorStops"),k=Te("gradientColorStopPositions"),m=Te("inset"),x=Te("margin"),v=Te("opacity"),w=Te("padding"),M=Te("saturate"),b=Te("scale"),C=Te("sepia"),I=Te("skew"),L=Te("space"),A=Te("translate"),N=()=>["auto","contain","none"],q=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",ue,e],_=()=>[ue,e],T=()=>["",ka,Da],$=()=>["auto",fs,ue],G=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],K=()=>["","0",ue],se=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[fs,ue];return{cacheSize:500,separator:":",theme:{colors:[nc],spacing:[ka,Da],blur:["none","",za,ue],brightness:Q(),borderColor:[t],borderRadius:["none","","full",za,ue],borderSpacing:_(),borderWidth:T(),contrast:Q(),grayscale:K(),hueRotate:Q(),invert:K(),gap:_(),gradientColorStops:[t],gradientColorStopPositions:[YR,Da],inset:P(),margin:P(),opacity:Q(),padding:_(),saturate:Q(),scale:Q(),sepia:K(),skew:Q(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",ue]}],container:["container"],columns:[{columns:[za]}],"break-after":[{"break-after":se()}],"break-before":[{"break-before":se()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...G(),ue]}],overflow:[{overflow:q()}],"overflow-x":[{"overflow-x":q()}],"overflow-y":[{"overflow-y":q()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",rc,ue]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ue]}],grow:[{grow:K()}],shrink:[{shrink:K()}],order:[{order:["first","last","none",rc,ue]}],"grid-cols":[{"grid-cols":[nc]}],"col-start-end":[{col:["auto",{span:["full",rc,ue]},ue]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[nc]}],"row-start-end":[{row:["auto",{span:[rc,ue]},ue]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ue]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[L]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[L]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ue,e]}],"min-w":[{"min-w":[ue,e,"min","max","fit"]}],"max-w":[{"max-w":[ue,e,"none","full","min","max","fit","prose",{screen:[za]},za]}],h:[{h:[ue,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ue,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ue,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ue,e,"auto","min","max","fit"]}],"font-size":[{text:["base",za,Da]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",aC]}],"font-family":[{font:[nc]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ue]}],"line-clamp":[{"line-clamp":["none",fs,aC]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ka,ue]}],"list-image":[{"list-image":["none",ue]}],"list-style-type":[{list:["none","disc","decimal",ue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ka,Da]}],"underline-offset":[{"underline-offset":["auto",ka,ue]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...G(),eT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",QR]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},aT]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[ka,ue]}],"outline-w":[{outline:[ka,Da]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[ka,Da]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",za,rT]}],"shadow-color":[{shadow:[nc]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",za,ue]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[M]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[M]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ue]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",ue]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",ue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[rc,ue]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ue]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ue]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ue]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[ka,Da,aC]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},cT=BR(sT);function ie(...t){return cT(AR(t))}const hj=S9("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",accent:"bg-accent text-accent-foreground hover:bg-accent-hover shadow-accent transform hover:scale-[1.02] hover:shadow-lg",hero:"bg-gradient-accent text-accent-foreground hover:opacity-90 shadow-accent transform hover:scale-[1.05] px-8 py-3 text-base font-bold",gaming:"bg-gaming-gold text-primary hover:bg-gaming-gold/90 shadow-accent transform hover:scale-[1.02]"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),U=g.forwardRef(({className:t,variant:e,size:r,asChild:n=!1,...o},i)=>{const c=n?bR:"button";return a.jsx(c,{className:ie(hj({variant:e,size:r,className:t})),ref:i,...o})});U.displayName="Button";const Ye=g.forwardRef(({className:t,type:e,...r},n)=>a.jsx("input",{type:e,className:ie("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors 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-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:n,...r}));Ye.displayName="Input";function ja(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function lT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,dT(o,...e)]}function dT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function hT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,uT(o,...e)]}function uT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function pT(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function uj(...t){return e=>t.forEach(r=>pT(r,e))}function c9(...t){return g.useCallback(uj(...t),t)}var PC=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(mT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(_C,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(_C,{...n,ref:e,children:r})});PC.displayName="Slot";var _C=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=xT(r);return g.cloneElement(r,{...fT(n,r.props),ref:e?uj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});_C.displayName="SlotClone";var yT=({children:t})=>a.jsx(a.Fragment,{children:t});function mT(t){return g.isValidElement(t)&&t.type===yT}function fT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function xT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}function kT(t){const e=t+"CollectionProvider",[r,n]=hT(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=f=>{const{scope:k,children:m}=f,x=S.useRef(null),v=S.useRef(new Map).current;return a.jsx(o,{scope:k,itemMap:v,collectionRef:x,children:m})};c.displayName=e;const l=t+"CollectionSlot",d=S.forwardRef((f,k)=>{const{scope:m,children:x}=f,v=i(l,m),w=c9(k,v.collectionRef);return a.jsx(PC,{ref:w,children:x})});d.displayName=l;const h=t+"CollectionItemSlot",u="data-radix-collection-item",p=S.forwardRef((f,k)=>{const{scope:m,children:x,...v}=f,w=S.useRef(null),M=c9(k,w),b=i(h,m);return S.useEffect(()=>(b.itemMap.set(w,{ref:w,...v}),()=>void b.itemMap.delete(w))),a.jsx(PC,{[u]:"",ref:M,children:x})});p.displayName=h;function y(f){const k=i(t+"CollectionConsumer",f);return S.useCallback(()=>{const x=k.collectionRef.current;if(!x)return[];const v=Array.from(x.querySelectorAll(`[${u}]`));return Array.from(k.itemMap.values()).sort((b,C)=>v.indexOf(b.ref.current)-v.indexOf(C.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:c,Slot:d,ItemSlot:p},y,n]}function gT(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];function h(p){const{scope:y,children:f,...k}=p,m=(y==null?void 0:y[t][d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})}function u(p,y){const f=(y==null?void 0:y[t][d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return h.displayName=i+"Provider",[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,vT(o,...e)]}function vT(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var RC=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},wT=g.useId||(()=>{}),MT=0;function aI(t){const[e,r]=g.useState(wT());return RC(()=>{t||r(n=>n??String(MT++))},[t]),t||(e?`radix-${e}`:"")}var rI=g.forwardRef((t,e)=>{const{children:r,...n}=t,o=g.Children.toArray(r),i=o.find(CT);if(i){const c=i.props.children,l=o.map(d=>d===i?g.Children.count(c)>1?g.Children.only(null):g.isValidElement(c)?c.props.children:null:d);return a.jsx(TC,{...n,ref:e,children:g.isValidElement(c)?g.cloneElement(c,void 0,l):null})}return a.jsx(TC,{...n,ref:e,children:r})});rI.displayName="Slot";var TC=g.forwardRef((t,e)=>{const{children:r,...n}=t;if(g.isValidElement(r)){const o=ST(r);return g.cloneElement(r,{...jT(n,r.props),ref:e?uj(e,o):o})}return g.Children.count(r)>1?g.Children.only(null):null});TC.displayName="SlotClone";var bT=({children:t})=>a.jsx(a.Fragment,{children:t});function CT(t){return g.isValidElement(t)&&t.type===bT}function jT(t,e){const r={...e};for(const n in e){const o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...l)=>{i(...l),o(...l)}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}function ST(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var LT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],as=LT.reduce((t,e)=>{const r=g.forwardRef((n,o)=>{const{asChild:i,...c}=n,l=i?rI:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(l,{...c,ref:o})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function pj(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function nI({prop:t,defaultProp:e,onChange:r=()=>{}}){const[n,o]=IT({defaultProp:e,onChange:r}),i=t!==void 0,c=i?t:n,l=pj(r),d=g.useCallback(h=>{if(i){const p=typeof h=="function"?h(t):h;p!==t&&l(p)}else o(h)},[i,t,o,l]);return[c,d]}function IT({defaultProp:t,onChange:e}){const r=g.useState(t),[n]=r,o=g.useRef(n),i=pj(e);return g.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}var NT=g.createContext(void 0);function oI(t){const e=g.useContext(NT);return t||e||"ltr"}var rC="rovingFocusGroup.onEntryFocus",AT={bubbles:!1,cancelable:!0},L9="RovingFocusGroup",[qC,iI,PT]=kT(L9),[_T,sI]=gT(L9,[PT]),[RT,TT]=_T(L9),cI=g.forwardRef((t,e)=>a.jsx(qC.Provider,{scope:t.__scopeRovingFocusGroup,children:a.jsx(qC.Slot,{scope:t.__scopeRovingFocusGroup,children:a.jsx(qT,{...t,ref:e})})}));cI.displayName=L9;var qT=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:i,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:d,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...p}=t,y=g.useRef(null),f=c9(e,y),k=oI(i),[m=null,x]=nI({prop:c,defaultProp:l,onChange:d}),[v,w]=g.useState(!1),M=pj(h),b=iI(r),C=g.useRef(!1),[I,L]=g.useState(0);return g.useEffect(()=>{const A=y.current;if(A)return A.addEventListener(rC,M),()=>A.removeEventListener(rC,M)},[M]),a.jsx(RT,{scope:r,orientation:n,dir:k,loop:o,currentTabStopId:m,onItemFocus:g.useCallback(A=>x(A),[x]),onItemShiftTab:g.useCallback(()=>w(!0),[]),onFocusableItemAdd:g.useCallback(()=>L(A=>A+1),[]),onFocusableItemRemove:g.useCallback(()=>L(A=>A-1),[]),children:a.jsx(as.div,{tabIndex:v||I===0?-1:0,"data-orientation":n,...p,ref:f,style:{outline:"none",...t.style},onMouseDown:ja(t.onMouseDown,()=>{C.current=!0}),onFocus:ja(t.onFocus,A=>{const N=!C.current;if(A.target===A.currentTarget&&N&&!v){const q=new CustomEvent(rC,AT);if(A.currentTarget.dispatchEvent(q),!q.defaultPrevented){const P=b().filter(B=>B.focusable),_=P.find(B=>B.active),T=P.find(B=>B.id===m),G=[_,T,...P].filter(Boolean).map(B=>B.ref.current);hI(G,u)}}C.current=!1}),onBlur:ja(t.onBlur,()=>w(!1))})})}),lI="RovingFocusGroupItem",dI=g.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:i,...c}=t,l=aI(),d=i||l,h=TT(lI,r),u=h.currentTabStopId===d,p=iI(r),{onFocusableItemAdd:y,onFocusableItemRemove:f}=h;return g.useEffect(()=>{if(n)return y(),()=>f()},[n,y,f]),a.jsx(qC.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:a.jsx(as.span,{tabIndex:u?0:-1,"data-orientation":h.orientation,...c,ref:e,onMouseDown:ja(t.onMouseDown,k=>{n?h.onItemFocus(d):k.preventDefault()}),onFocus:ja(t.onFocus,()=>h.onItemFocus(d)),onKeyDown:ja(t.onKeyDown,k=>{if(k.key==="Tab"&&k.shiftKey){h.onItemShiftTab();return}if(k.target!==k.currentTarget)return;const m=FT(k,h.orientation,h.dir);if(m!==void 0){if(k.metaKey||k.ctrlKey||k.altKey||k.shiftKey)return;k.preventDefault();let v=p().filter(w=>w.focusable).map(w=>w.ref.current);if(m==="last")v.reverse();else if(m==="prev"||m==="next"){m==="prev"&&v.reverse();const w=v.indexOf(k.currentTarget);v=h.loop?ET(v,w+1):v.slice(w+1)}setTimeout(()=>hI(v))}})})})});dI.displayName=lI;var DT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zT(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function FT(t,e,r){const n=zT(t.key,r);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return DT[n]}function hI(t,e=!1){const r=document.activeElement;for(const n of t)if(n===r||(n.focus({preventScroll:e}),document.activeElement!==r))return}function ET(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var OT=cI,HT=dI;function VT(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var uI=t=>{const{present:e,children:r}=t,n=BT(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=c9(n.ref,UT(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};uI.displayName="Presence";function BT(t){const[e,r]=g.useState(),n=g.useRef({}),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=VT(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=e1(n.current);i.current=l==="mounted"?h:"none"},[l]),RC(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=e1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),RC(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=e1(n.current).includes(f.animationName);if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=e1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{h&&(n.current=getComputedStyle(h)),r(h)},[])}}function e1(t){return(t==null?void 0:t.animationName)||"none"}function UT(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var yj="Tabs",[$T,dU]=lT(yj,[sI]),pI=sI(),[GT,mj]=$T(yj),yI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:i,orientation:c="horizontal",dir:l,activationMode:d="automatic",...h}=t,u=oI(l),[p,y]=nI({prop:n,onChange:o,defaultProp:i});return a.jsx(GT,{scope:r,baseId:aI(),value:p,onValueChange:y,orientation:c,dir:u,activationMode:d,children:a.jsx(as.div,{dir:u,"data-orientation":c,...h,ref:e})})});yI.displayName=yj;var mI="TabsList",fI=g.forwardRef((t,e)=>{const{__scopeTabs:r,loop:n=!0,...o}=t,i=mj(mI,r),c=pI(r);return a.jsx(OT,{asChild:!0,...c,orientation:i.orientation,dir:i.dir,loop:n,children:a.jsx(as.div,{role:"tablist","aria-orientation":i.orientation,...o,ref:e})})});fI.displayName=mI;var xI="TabsTrigger",kI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...i}=t,c=mj(xI,r),l=pI(r),d=wI(c.baseId,n),h=MI(c.baseId,n),u=n===c.value;return a.jsx(HT,{asChild:!0,...l,focusable:!o,active:u,children:a.jsx(as.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":h,"data-state":u?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:d,...i,ref:e,onMouseDown:ja(t.onMouseDown,p=>{!o&&p.button===0&&p.ctrlKey===!1?c.onValueChange(n):p.preventDefault()}),onKeyDown:ja(t.onKeyDown,p=>{[" ","Enter"].includes(p.key)&&c.onValueChange(n)}),onFocus:ja(t.onFocus,()=>{const p=c.activationMode!=="manual";!u&&!o&&p&&c.onValueChange(n)})})})});kI.displayName=xI;var gI="TabsContent",vI=g.forwardRef((t,e)=>{const{__scopeTabs:r,value:n,forceMount:o,children:i,...c}=t,l=mj(gI,r),d=wI(l.baseId,n),h=MI(l.baseId,n),u=n===l.value,p=g.useRef(u);return g.useEffect(()=>{const y=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(y)},[]),a.jsx(uI,{present:o||u,children:({present:y})=>a.jsx(as.div,{"data-state":u?"active":"inactive","data-orientation":l.orientation,role:"tabpanel","aria-labelledby":d,hidden:!y,id:h,tabIndex:0,...c,ref:e,style:{...t.style,animationDuration:p.current?"0s":void 0},children:y&&i})})});vI.displayName=gI;function wI(t,e){return`${t}-trigger-${e}`}function MI(t,e){return`${t}-content-${e}`}var WT=yI,bI=fI,CI=kI,jI=vI;const rs=WT,ar=g.forwardRef(({className:t,...e},r)=>a.jsx(bI,{ref:r,className:ie("inline-flex items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));ar.displayName=bI.displayName;const Ce=g.forwardRef(({className:t,...e},r)=>a.jsx(CI,{ref:r,className:ie("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));Ce.displayName=CI.displayName;const je=g.forwardRef(({className:t,...e},r)=>a.jsx(jI,{ref:r,className:ie("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));je.displayName=jI.displayName;const we=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:ie("rounded-xl border bg-card text-card-foreground shadow",t),...e}));we.displayName="Card";const qe=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:ie("flex flex-col space-y-1.5 p-6",t),...e}));qe.displayName="CardHeader";const De=g.forwardRef(({className:t,...e},r)=>a.jsx("h3",{ref:r,className:ie("font-semibold leading-none tracking-tight",t),...e}));De.displayName="CardTitle";const Ue=g.forwardRef(({className:t,...e},r)=>a.jsx("p",{ref:r,className:ie("text-sm text-muted-foreground",t),...e}));Ue.displayName="CardDescription";const Me=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:ie("p-6 pt-0",t),...e}));Me.displayName="CardContent";const Fs=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:ie("flex items-center p-6 pt-0",t),...e}));Fs.displayName="CardFooter";/**
|
|
31
31
|
* @license lucide-react v0.451.0 - ISC
|
|
32
32
|
*
|
|
33
33
|
* This source code is licensed under the ISC license.
|
|
@@ -7722,7 +7722,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
7722
7722
|
*
|
|
7723
7723
|
* This source code is licensed under the ISC license.
|
|
7724
7724
|
* See the LICENSE file in the root directory of this source tree.
|
|
7725
|
-
*/const YT=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:y1,AArrowDownIcon:y1,AArrowUp:m1,AArrowUpIcon:m1,ALargeSmall:f1,ALargeSmallIcon:f1,Accessibility:x1,AccessibilityIcon:x1,Activity:k1,ActivityIcon:k1,ActivitySquare:bo,ActivitySquareIcon:bo,AirVent:g1,AirVentIcon:g1,Airplay:v1,AirplayIcon:v1,AlarmCheck:fr,AlarmCheckIcon:fr,AlarmClock:M1,AlarmClockCheck:fr,AlarmClockCheckIcon:fr,AlarmClockIcon:M1,AlarmClockMinus:xr,AlarmClockMinusIcon:xr,AlarmClockOff:w1,AlarmClockOffIcon:w1,AlarmClockPlus:kr,AlarmClockPlusIcon:kr,AlarmMinus:xr,AlarmMinusIcon:xr,AlarmPlus:kr,AlarmPlusIcon:kr,AlarmSmoke:b1,AlarmSmokeIcon:b1,Album:C1,AlbumIcon:C1,AlertCircle:Tt,AlertCircleIcon:Tt,AlertOctagon:Qn,AlertOctagonIcon:Qn,AlertTriangle:bi,AlertTriangleIcon:bi,AlignCenter:L1,AlignCenterHorizontal:j1,AlignCenterHorizontalIcon:j1,AlignCenterIcon:L1,AlignCenterVertical:S1,AlignCenterVerticalIcon:S1,AlignEndHorizontal:I1,AlignEndHorizontalIcon:I1,AlignEndVertical:N1,AlignEndVerticalIcon:N1,AlignHorizontalDistributeCenter:A1,AlignHorizontalDistributeCenterIcon:A1,AlignHorizontalDistributeEnd:P1,AlignHorizontalDistributeEndIcon:P1,AlignHorizontalDistributeStart:_1,AlignHorizontalDistributeStartIcon:_1,AlignHorizontalJustifyCenter:R1,AlignHorizontalJustifyCenterIcon:R1,AlignHorizontalJustifyEnd:T1,AlignHorizontalJustifyEndIcon:T1,AlignHorizontalJustifyStart:q1,AlignHorizontalJustifyStartIcon:q1,AlignHorizontalSpaceAround:D1,AlignHorizontalSpaceAroundIcon:D1,AlignHorizontalSpaceBetween:z1,AlignHorizontalSpaceBetweenIcon:z1,AlignJustify:F1,AlignJustifyIcon:F1,AlignLeft:E1,AlignLeftIcon:E1,AlignRight:O1,AlignRightIcon:O1,AlignStartHorizontal:H1,AlignStartHorizontalIcon:H1,AlignStartVertical:V1,AlignStartVerticalIcon:V1,AlignVerticalDistributeCenter:B1,AlignVerticalDistributeCenterIcon:B1,AlignVerticalDistributeEnd:U1,AlignVerticalDistributeEndIcon:U1,AlignVerticalDistributeStart:$1,AlignVerticalDistributeStartIcon:$1,AlignVerticalJustifyCenter:G1,AlignVerticalJustifyCenterIcon:G1,AlignVerticalJustifyEnd:W1,AlignVerticalJustifyEndIcon:W1,AlignVerticalJustifyStart:Z1,AlignVerticalJustifyStartIcon:Z1,AlignVerticalSpaceAround:X1,AlignVerticalSpaceAroundIcon:X1,AlignVerticalSpaceBetween:J1,AlignVerticalSpaceBetweenIcon:J1,Ambulance:Y1,AmbulanceIcon:Y1,Ampersand:K1,AmpersandIcon:K1,Ampersands:Q1,AmpersandsIcon:Q1,Amphora:el,AmphoraIcon:el,Anchor:tl,AnchorIcon:tl,Angry:al,AngryIcon:al,Annoyed:rl,AnnoyedIcon:rl,Antenna:nl,AntennaIcon:nl,Anvil:ol,AnvilIcon:ol,Aperture:il,ApertureIcon:il,AppWindow:cl,AppWindowIcon:cl,AppWindowMac:sl,AppWindowMacIcon:sl,Apple:ll,AppleIcon:ll,Archive:ul,ArchiveIcon:ul,ArchiveRestore:dl,ArchiveRestoreIcon:dl,ArchiveX:hl,ArchiveXIcon:hl,AreaChart:_r,AreaChartIcon:_r,Armchair:pl,ArmchairIcon:pl,ArrowBigDown:ml,ArrowBigDownDash:yl,ArrowBigDownDashIcon:yl,ArrowBigDownIcon:ml,ArrowBigLeft:xl,ArrowBigLeftDash:fl,ArrowBigLeftDashIcon:fl,ArrowBigLeftIcon:xl,ArrowBigRight:gl,ArrowBigRightDash:kl,ArrowBigRightDashIcon:kl,ArrowBigRightIcon:gl,ArrowBigUp:wl,ArrowBigUpDash:vl,ArrowBigUpDashIcon:vl,ArrowBigUpIcon:wl,ArrowDown:Pl,ArrowDown01:Ml,ArrowDown01Icon:Ml,ArrowDown10:bl,ArrowDown10Icon:bl,ArrowDownAZ:gr,ArrowDownAZIcon:gr,ArrowDownAz:gr,ArrowDownAzIcon:gr,ArrowDownCircle:Ur,ArrowDownCircleIcon:Ur,ArrowDownFromLine:Cl,ArrowDownFromLineIcon:Cl,ArrowDownIcon:Pl,ArrowDownLeft:jl,ArrowDownLeftFromCircle:Gr,ArrowDownLeftFromCircleIcon:Gr,ArrowDownLeftFromSquare:Lo,ArrowDownLeftFromSquareIcon:Lo,ArrowDownLeftIcon:jl,ArrowDownLeftSquare:Co,ArrowDownLeftSquareIcon:Co,ArrowDownNarrowWide:Sl,ArrowDownNarrowWideIcon:Sl,ArrowDownRight:Ll,ArrowDownRightFromCircle:Wr,ArrowDownRightFromCircleIcon:Wr,ArrowDownRightFromSquare:Io,ArrowDownRightFromSquareIcon:Io,ArrowDownRightIcon:Ll,ArrowDownRightSquare:jo,ArrowDownRightSquareIcon:jo,ArrowDownSquare:So,ArrowDownSquareIcon:So,ArrowDownToDot:Il,ArrowDownToDotIcon:Il,ArrowDownToLine:Nl,ArrowDownToLineIcon:Nl,ArrowDownUp:Al,ArrowDownUpIcon:Al,ArrowDownWideNarrow:vr,ArrowDownWideNarrowIcon:vr,ArrowDownZA:wr,ArrowDownZAIcon:wr,ArrowDownZa:wr,ArrowDownZaIcon:wr,ArrowLeft:Oi,ArrowLeftCircle:$r,ArrowLeftCircleIcon:$r,ArrowLeftFromLine:_l,ArrowLeftFromLineIcon:_l,ArrowLeftIcon:Oi,ArrowLeftRight:Rl,ArrowLeftRightIcon:Rl,ArrowLeftSquare:wa,ArrowLeftSquareIcon:wa,ArrowLeftToLine:Tl,ArrowLeftToLineIcon:Tl,ArrowRight:xs,ArrowRightCircle:Jr,ArrowRightCircleIcon:Jr,ArrowRightFromLine:ql,ArrowRightFromLineIcon:ql,ArrowRightIcon:xs,ArrowRightLeft:Dl,ArrowRightLeftIcon:Dl,ArrowRightSquare:Ma,ArrowRightSquareIcon:Ma,ArrowRightToLine:zl,ArrowRightToLineIcon:zl,ArrowUp:Wl,ArrowUp01:Fl,ArrowUp01Icon:Fl,ArrowUp10:El,ArrowUp10Icon:El,ArrowUpAZ:Mr,ArrowUpAZIcon:Mr,ArrowUpAz:Mr,ArrowUpAzIcon:Mr,ArrowUpCircle:Yr,ArrowUpCircleIcon:Yr,ArrowUpDown:Ol,ArrowUpDownIcon:Ol,ArrowUpFromDot:Hl,ArrowUpFromDotIcon:Hl,ArrowUpFromLine:Vl,ArrowUpFromLineIcon:Vl,ArrowUpIcon:Wl,ArrowUpLeft:Bl,ArrowUpLeftFromCircle:Zr,ArrowUpLeftFromCircleIcon:Zr,ArrowUpLeftFromSquare:No,ArrowUpLeftFromSquareIcon:No,ArrowUpLeftIcon:Bl,ArrowUpLeftSquare:Po,ArrowUpLeftSquareIcon:Po,ArrowUpNarrowWide:br,ArrowUpNarrowWideIcon:br,ArrowUpRight:Ul,ArrowUpRightFromCircle:Xr,ArrowUpRightFromCircleIcon:Xr,ArrowUpRightFromSquare:Ao,ArrowUpRightFromSquareIcon:Ao,ArrowUpRightIcon:Ul,ArrowUpRightSquare:_o,ArrowUpRightSquareIcon:_o,ArrowUpSquare:Ro,ArrowUpSquareIcon:Ro,ArrowUpToLine:$l,ArrowUpToLineIcon:$l,ArrowUpWideNarrow:Gl,ArrowUpWideNarrowIcon:Gl,ArrowUpZA:Cr,ArrowUpZAIcon:Cr,ArrowUpZa:Cr,ArrowUpZaIcon:Cr,ArrowsUpFromLine:Zl,ArrowsUpFromLineIcon:Zl,Asterisk:Xl,AsteriskIcon:Xl,AsteriskSquare:To,AsteriskSquareIcon:To,AtSign:Jl,AtSignIcon:Jl,Atom:Yl,AtomIcon:Yl,AudioLines:Kl,AudioLinesIcon:Kl,AudioWaveform:Ql,AudioWaveformIcon:Ql,Award:Ca,AwardIcon:Ca,Axe:ed,AxeIcon:ed,Axis3D:jr,Axis3DIcon:jr,Axis3d:jr,Axis3dIcon:jr,Baby:td,BabyIcon:td,Backpack:ad,BackpackIcon:ad,Badge:kd,BadgeAlert:rd,BadgeAlertIcon:rd,BadgeCent:nd,BadgeCentIcon:nd,BadgeCheck:Sr,BadgeCheckIcon:Sr,BadgeDollarSign:od,BadgeDollarSignIcon:od,BadgeEuro:id,BadgeEuroIcon:id,BadgeHelp:sd,BadgeHelpIcon:sd,BadgeIcon:kd,BadgeIndianRupee:cd,BadgeIndianRupeeIcon:cd,BadgeInfo:ld,BadgeInfoIcon:ld,BadgeJapaneseYen:dd,BadgeJapaneseYenIcon:dd,BadgeMinus:hd,BadgeMinusIcon:hd,BadgePercent:ud,BadgePercentIcon:ud,BadgePlus:pd,BadgePlusIcon:pd,BadgePoundSterling:yd,BadgePoundSterlingIcon:yd,BadgeRussianRuble:md,BadgeRussianRubleIcon:md,BadgeSwissFranc:fd,BadgeSwissFrancIcon:fd,BadgeX:xd,BadgeXIcon:xd,BaggageClaim:gd,BaggageClaimIcon:gd,Ban:vd,BanIcon:vd,Banana:wd,BananaIcon:wd,Bandage:Md,BandageIcon:Md,Banknote:bd,BanknoteIcon:bd,BarChart:Oa,BarChart2:Or,BarChart2Icon:Or,BarChart3:Fr,BarChart3Icon:Fr,BarChart4:zr,BarChart4Icon:zr,BarChartBig:Dr,BarChartBigIcon:Dr,BarChartHorizontal:Tr,BarChartHorizontalBig:Rr,BarChartHorizontalBigIcon:Rr,BarChartHorizontalIcon:Tr,BarChartIcon:Oa,Barcode:Cd,BarcodeIcon:Cd,Baseline:jd,BaselineIcon:jd,Bath:Sd,BathIcon:Sd,Battery:_d,BatteryCharging:Ld,BatteryChargingIcon:Ld,BatteryFull:Id,BatteryFullIcon:Id,BatteryIcon:_d,BatteryLow:Nd,BatteryLowIcon:Nd,BatteryMedium:Ad,BatteryMediumIcon:Ad,BatteryWarning:Pd,BatteryWarningIcon:Pd,Beaker:Rd,BeakerIcon:Rd,Bean:qd,BeanIcon:qd,BeanOff:Td,BeanOffIcon:Td,Bed:Fd,BedDouble:Dd,BedDoubleIcon:Dd,BedIcon:Fd,BedSingle:zd,BedSingleIcon:zd,Beef:Ed,BeefIcon:Ed,Beer:Hd,BeerIcon:Hd,BeerOff:Od,BeerOffIcon:Od,Bell:ks,BellDot:Vd,BellDotIcon:Vd,BellElectric:Bd,BellElectricIcon:Bd,BellIcon:ks,BellMinus:Ud,BellMinusIcon:Ud,BellOff:$d,BellOffIcon:$d,BellPlus:Gd,BellPlusIcon:Gd,BellRing:Wd,BellRingIcon:Wd,BetweenHorizonalEnd:Lr,BetweenHorizonalEndIcon:Lr,BetweenHorizonalStart:Ir,BetweenHorizonalStartIcon:Ir,BetweenHorizontalEnd:Lr,BetweenHorizontalEndIcon:Lr,BetweenHorizontalStart:Ir,BetweenHorizontalStartIcon:Ir,BetweenVerticalEnd:Zd,BetweenVerticalEndIcon:Zd,BetweenVerticalStart:Xd,BetweenVerticalStartIcon:Xd,BicepsFlexed:Jd,BicepsFlexedIcon:Jd,Bike:Yd,BikeIcon:Yd,Binary:Kd,BinaryIcon:Kd,Binoculars:Qd,BinocularsIcon:Qd,Biohazard:e2,BiohazardIcon:e2,Bird:t2,BirdIcon:t2,Bitcoin:a2,BitcoinIcon:a2,Blend:r2,BlendIcon:r2,Blinds:n2,BlindsIcon:n2,Blocks:o2,BlocksIcon:o2,Bluetooth:l2,BluetoothConnected:i2,BluetoothConnectedIcon:i2,BluetoothIcon:l2,BluetoothOff:s2,BluetoothOffIcon:s2,BluetoothSearching:c2,BluetoothSearchingIcon:c2,Bold:d2,BoldIcon:d2,Bolt:h2,BoltIcon:h2,Bomb:u2,BombIcon:u2,Bone:p2,BoneIcon:p2,Book:q2,BookA:y2,BookAIcon:y2,BookAudio:m2,BookAudioIcon:m2,BookCheck:f2,BookCheckIcon:f2,BookCopy:x2,BookCopyIcon:x2,BookDashed:Nr,BookDashedIcon:Nr,BookDown:k2,BookDownIcon:k2,BookHeadphones:g2,BookHeadphonesIcon:g2,BookHeart:v2,BookHeartIcon:v2,BookIcon:q2,BookImage:w2,BookImageIcon:w2,BookKey:M2,BookKeyIcon:M2,BookLock:b2,BookLockIcon:b2,BookMarked:C2,BookMarkedIcon:C2,BookMinus:j2,BookMinusIcon:j2,BookOpen:Ft,BookOpenCheck:S2,BookOpenCheckIcon:S2,BookOpenIcon:Ft,BookOpenText:L2,BookOpenTextIcon:L2,BookPlus:I2,BookPlusIcon:I2,BookTemplate:Nr,BookTemplateIcon:Nr,BookText:N2,BookTextIcon:N2,BookType:A2,BookTypeIcon:A2,BookUp:_2,BookUp2:P2,BookUp2Icon:P2,BookUpIcon:_2,BookUser:R2,BookUserIcon:R2,BookX:T2,BookXIcon:T2,Bookmark:Ga,BookmarkCheck:sa,BookmarkCheckIcon:sa,BookmarkIcon:Ga,BookmarkMinus:D2,BookmarkMinusIcon:D2,BookmarkPlus:lc,BookmarkPlusIcon:lc,BookmarkX:z2,BookmarkXIcon:z2,BoomBox:F2,BoomBoxIcon:F2,Bot:dc,BotIcon:dc,BotMessageSquare:E2,BotMessageSquareIcon:E2,BotOff:O2,BotOffIcon:O2,Box:H2,BoxIcon:H2,BoxSelect:$o,BoxSelectIcon:$o,Boxes:V2,BoxesIcon:V2,Braces:Ar,BracesIcon:Ar,Brackets:B2,BracketsIcon:B2,Brain:G2,BrainCircuit:U2,BrainCircuitIcon:U2,BrainCog:$2,BrainCogIcon:$2,BrainIcon:G2,BrickWall:W2,BrickWallIcon:W2,Briefcase:mt,BriefcaseBusiness:Z2,BriefcaseBusinessIcon:Z2,BriefcaseConveyorBelt:X2,BriefcaseConveyorBeltIcon:X2,BriefcaseIcon:mt,BriefcaseMedical:J2,BriefcaseMedicalIcon:J2,BringToFront:Y2,BringToFrontIcon:Y2,Brush:K2,BrushIcon:K2,Bug:t0,BugIcon:t0,BugOff:Q2,BugOffIcon:Q2,BugPlay:e0,BugPlayIcon:e0,Building:gs,Building2:hc,Building2Icon:hc,BuildingIcon:gs,Bus:r0,BusFront:a0,BusFrontIcon:a0,BusIcon:r0,Cable:o0,CableCar:n0,CableCarIcon:n0,CableIcon:o0,Cake:s0,CakeIcon:s0,CakeSlice:i0,CakeSliceIcon:i0,Calculator:c0,CalculatorIcon:c0,Calendar:uc,CalendarArrowDown:l0,CalendarArrowDownIcon:l0,CalendarArrowUp:d0,CalendarArrowUpIcon:d0,CalendarCheck:u0,CalendarCheck2:h0,CalendarCheck2Icon:h0,CalendarCheckIcon:u0,CalendarClock:p0,CalendarClockIcon:p0,CalendarCog:y0,CalendarCogIcon:y0,CalendarDays:m0,CalendarDaysIcon:m0,CalendarFold:f0,CalendarFoldIcon:f0,CalendarHeart:x0,CalendarHeartIcon:x0,CalendarIcon:uc,CalendarMinus:g0,CalendarMinus2:k0,CalendarMinus2Icon:k0,CalendarMinusIcon:g0,CalendarOff:v0,CalendarOffIcon:v0,CalendarPlus:M0,CalendarPlus2:w0,CalendarPlus2Icon:w0,CalendarPlusIcon:M0,CalendarRange:b0,CalendarRangeIcon:b0,CalendarSearch:C0,CalendarSearchIcon:C0,CalendarX:S0,CalendarX2:j0,CalendarX2Icon:j0,CalendarXIcon:S0,Camera:I0,CameraIcon:I0,CameraOff:L0,CameraOffIcon:L0,CandlestickChart:qr,CandlestickChartIcon:qr,Candy:P0,CandyCane:N0,CandyCaneIcon:N0,CandyIcon:P0,CandyOff:A0,CandyOffIcon:A0,Cannabis:_0,CannabisIcon:_0,Captions:Pr,CaptionsIcon:Pr,CaptionsOff:R0,CaptionsOffIcon:R0,Car:D0,CarFront:T0,CarFrontIcon:T0,CarIcon:D0,CarTaxiFront:q0,CarTaxiFrontIcon:q0,Caravan:z0,CaravanIcon:z0,Carrot:F0,CarrotIcon:F0,CaseLower:E0,CaseLowerIcon:E0,CaseSensitive:O0,CaseSensitiveIcon:O0,CaseUpper:H0,CaseUpperIcon:H0,CassetteTape:V0,CassetteTapeIcon:V0,Cast:B0,CastIcon:B0,Castle:U0,CastleIcon:U0,Cat:$0,CatIcon:$0,Cctv:G0,CctvIcon:G0,ChartArea:_r,ChartAreaIcon:_r,ChartBar:Tr,ChartBarBig:Rr,ChartBarBigIcon:Rr,ChartBarDecreasing:W0,ChartBarDecreasingIcon:W0,ChartBarIcon:Tr,ChartBarIncreasing:Z0,ChartBarIncreasingIcon:Z0,ChartBarStacked:X0,ChartBarStackedIcon:X0,ChartCandlestick:qr,ChartCandlestickIcon:qr,ChartColumn:Fr,ChartColumnBig:Dr,ChartColumnBigIcon:Dr,ChartColumnDecreasing:J0,ChartColumnDecreasingIcon:J0,ChartColumnIcon:Fr,ChartColumnIncreasing:zr,ChartColumnIncreasingIcon:zr,ChartColumnStacked:Y0,ChartColumnStackedIcon:Y0,ChartGantt:K0,ChartGanttIcon:K0,ChartLine:Er,ChartLineIcon:Er,ChartNetwork:Q0,ChartNetworkIcon:Q0,ChartNoAxesColumn:Or,ChartNoAxesColumnDecreasing:eh,ChartNoAxesColumnDecreasingIcon:eh,ChartNoAxesColumnIcon:Or,ChartNoAxesColumnIncreasing:Oa,ChartNoAxesColumnIncreasingIcon:Oa,ChartNoAxesCombined:th,ChartNoAxesCombinedIcon:th,ChartNoAxesGantt:Hr,ChartNoAxesGanttIcon:Hr,ChartPie:Vr,ChartPieIcon:Vr,ChartScatter:Br,ChartScatterIcon:Br,ChartSpline:ah,ChartSplineIcon:ah,Check:vs,CheckCheck:rh,CheckCheckIcon:rh,CheckCircle:bt,CheckCircle2:Kr,CheckCircle2Icon:Kr,CheckCircleIcon:bt,CheckIcon:vs,CheckSquare:Do,CheckSquare2:zo,CheckSquare2Icon:zo,CheckSquareIcon:Do,ChefHat:nh,ChefHatIcon:nh,Cherry:oh,CherryIcon:oh,ChevronDown:Hi,ChevronDownCircle:Qr,ChevronDownCircleIcon:Qr,ChevronDownIcon:Hi,ChevronDownSquare:Fo,ChevronDownSquareIcon:Fo,ChevronFirst:ih,ChevronFirstIcon:ih,ChevronLast:sh,ChevronLastIcon:sh,ChevronLeft:Vi,ChevronLeftCircle:en,ChevronLeftCircleIcon:en,ChevronLeftIcon:Vi,ChevronLeftSquare:Eo,ChevronLeftSquareIcon:Eo,ChevronRight:Wa,ChevronRightCircle:tn,ChevronRightCircleIcon:tn,ChevronRightIcon:Wa,ChevronRightSquare:Oo,ChevronRightSquareIcon:Oo,ChevronUp:pc,ChevronUpCircle:an,ChevronUpCircleIcon:an,ChevronUpIcon:pc,ChevronUpSquare:Ho,ChevronUpSquareIcon:Ho,ChevronsDown:lh,ChevronsDownIcon:lh,ChevronsDownUp:ch,ChevronsDownUpIcon:ch,ChevronsLeft:uh,ChevronsLeftIcon:uh,ChevronsLeftRight:hh,ChevronsLeftRightEllipsis:dh,ChevronsLeftRightEllipsisIcon:dh,ChevronsLeftRightIcon:hh,ChevronsRight:yh,ChevronsRightIcon:yh,ChevronsRightLeft:ph,ChevronsRightLeftIcon:ph,ChevronsUp:fh,ChevronsUpDown:mh,ChevronsUpDownIcon:mh,ChevronsUpIcon:fh,Chrome:xh,ChromeIcon:xh,Church:kh,ChurchIcon:kh,Cigarette:vh,CigaretteIcon:vh,CigaretteOff:gh,CigaretteOffIcon:gh,Circle:Ph,CircleAlert:Tt,CircleAlertIcon:Tt,CircleArrowDown:Ur,CircleArrowDownIcon:Ur,CircleArrowLeft:$r,CircleArrowLeftIcon:$r,CircleArrowOutDownLeft:Gr,CircleArrowOutDownLeftIcon:Gr,CircleArrowOutDownRight:Wr,CircleArrowOutDownRightIcon:Wr,CircleArrowOutUpLeft:Zr,CircleArrowOutUpLeftIcon:Zr,CircleArrowOutUpRight:Xr,CircleArrowOutUpRightIcon:Xr,CircleArrowRight:Jr,CircleArrowRightIcon:Jr,CircleArrowUp:Yr,CircleArrowUpIcon:Yr,CircleCheck:Kr,CircleCheckBig:bt,CircleCheckBigIcon:bt,CircleCheckIcon:Kr,CircleChevronDown:Qr,CircleChevronDownIcon:Qr,CircleChevronLeft:en,CircleChevronLeftIcon:en,CircleChevronRight:tn,CircleChevronRightIcon:tn,CircleChevronUp:an,CircleChevronUpIcon:an,CircleDashed:wh,CircleDashedIcon:wh,CircleDivide:rn,CircleDivideIcon:rn,CircleDollarSign:Mh,CircleDollarSignIcon:Mh,CircleDot:Ch,CircleDotDashed:bh,CircleDotDashedIcon:bh,CircleDotIcon:Ch,CircleEllipsis:jh,CircleEllipsisIcon:jh,CircleEqual:Sh,CircleEqualIcon:Sh,CircleFadingArrowUp:Lh,CircleFadingArrowUpIcon:Lh,CircleFadingPlus:Ih,CircleFadingPlusIcon:Ih,CircleGauge:nn,CircleGaugeIcon:nn,CircleHelp:Ha,CircleHelpIcon:Ha,CircleIcon:Ph,CircleMinus:on,CircleMinusIcon:on,CircleOff:Nh,CircleOffIcon:Nh,CircleParking:cn,CircleParkingIcon:cn,CircleParkingOff:sn,CircleParkingOffIcon:sn,CirclePause:ln,CirclePauseIcon:ln,CirclePercent:dn,CirclePercentIcon:dn,CirclePlay:hn,CirclePlayIcon:hn,CirclePlus:un,CirclePlusIcon:un,CirclePower:pn,CirclePowerIcon:pn,CircleSlash:Ah,CircleSlash2:yn,CircleSlash2Icon:yn,CircleSlashIcon:Ah,CircleSlashed:yn,CircleSlashedIcon:yn,CircleStop:mn,CircleStopIcon:mn,CircleUser:xn,CircleUserIcon:xn,CircleUserRound:fn,CircleUserRoundIcon:fn,CircleX:aa,CircleXIcon:aa,CircuitBoard:_h,CircuitBoardIcon:_h,Citrus:Rh,CitrusIcon:Rh,Clapperboard:Th,ClapperboardIcon:Th,Clipboard:Bh,ClipboardCheck:qh,ClipboardCheckIcon:qh,ClipboardCopy:Dh,ClipboardCopyIcon:Dh,ClipboardEdit:gn,ClipboardEditIcon:gn,ClipboardIcon:Bh,ClipboardList:zh,ClipboardListIcon:zh,ClipboardMinus:Fh,ClipboardMinusIcon:Fh,ClipboardPaste:Eh,ClipboardPasteIcon:Eh,ClipboardPen:gn,ClipboardPenIcon:gn,ClipboardPenLine:kn,ClipboardPenLineIcon:kn,ClipboardPlus:Oh,ClipboardPlusIcon:Oh,ClipboardSignature:kn,ClipboardSignatureIcon:kn,ClipboardType:Hh,ClipboardTypeIcon:Hh,ClipboardX:Vh,ClipboardXIcon:Vh,Clock:Zt,Clock1:Uh,Clock10:$h,Clock10Icon:$h,Clock11:Gh,Clock11Icon:Gh,Clock12:Wh,Clock12Icon:Wh,Clock1Icon:Uh,Clock2:Zh,Clock2Icon:Zh,Clock3:Xh,Clock3Icon:Xh,Clock4:Jh,Clock4Icon:Jh,Clock5:Yh,Clock5Icon:Yh,Clock6:Kh,Clock6Icon:Kh,Clock7:Qh,Clock7Icon:Qh,Clock8:eu,Clock8Icon:eu,Clock9:tu,Clock9Icon:tu,ClockAlert:au,ClockAlertIcon:au,ClockArrowDown:ru,ClockArrowDownIcon:ru,ClockArrowUp:nu,ClockArrowUpIcon:nu,ClockIcon:Zt,Cloud:ku,CloudCog:ou,CloudCogIcon:ou,CloudDownload:vn,CloudDownloadIcon:vn,CloudDrizzle:iu,CloudDrizzleIcon:iu,CloudFog:su,CloudFogIcon:su,CloudHail:cu,CloudHailIcon:cu,CloudIcon:ku,CloudLightning:lu,CloudLightningIcon:lu,CloudMoon:hu,CloudMoonIcon:hu,CloudMoonRain:du,CloudMoonRainIcon:du,CloudOff:uu,CloudOffIcon:uu,CloudRain:yu,CloudRainIcon:yu,CloudRainWind:pu,CloudRainWindIcon:pu,CloudSnow:mu,CloudSnowIcon:mu,CloudSun:xu,CloudSunIcon:xu,CloudSunRain:fu,CloudSunRainIcon:fu,CloudUpload:wn,CloudUploadIcon:wn,Cloudy:gu,CloudyIcon:gu,Clover:vu,CloverIcon:vu,Club:wu,ClubIcon:wu,Code:Mu,Code2:Mn,Code2Icon:Mn,CodeIcon:Mu,CodeSquare:Vo,CodeSquareIcon:Vo,CodeXml:Mn,CodeXmlIcon:Mn,Codepen:bu,CodepenIcon:bu,Codesandbox:Cu,CodesandboxIcon:Cu,Coffee:ju,CoffeeIcon:ju,Cog:Su,CogIcon:Su,Coins:Lu,CoinsIcon:Lu,Columns:bn,Columns2:bn,Columns2Icon:bn,Columns3:Cn,Columns3Icon:Cn,Columns4:Iu,Columns4Icon:Iu,ColumnsIcon:bn,Combine:Nu,CombineIcon:Nu,Command:Au,CommandIcon:Au,Compass:Pu,CompassIcon:Pu,Component:_u,ComponentIcon:_u,Computer:Ru,ComputerIcon:Ru,ConciergeBell:Tu,ConciergeBellIcon:Tu,Cone:qu,ConeIcon:qu,Construction:Du,ConstructionIcon:Du,Contact:zu,Contact2:jn,Contact2Icon:jn,ContactIcon:zu,ContactRound:jn,ContactRoundIcon:jn,Container:Fu,ContainerIcon:Fu,Contrast:Eu,ContrastIcon:Eu,Cookie:Ou,CookieIcon:Ou,CookingPot:Hu,CookingPotIcon:Hu,Copy:Wu,CopyCheck:Vu,CopyCheckIcon:Vu,CopyIcon:Wu,CopyMinus:Bu,CopyMinusIcon:Bu,CopyPlus:Uu,CopyPlusIcon:Uu,CopySlash:$u,CopySlashIcon:$u,CopyX:Gu,CopyXIcon:Gu,Copyleft:Zu,CopyleftIcon:Zu,Copyright:Xu,CopyrightIcon:Xu,CornerDownLeft:Ju,CornerDownLeftIcon:Ju,CornerDownRight:Yu,CornerDownRightIcon:Yu,CornerLeftDown:Ku,CornerLeftDownIcon:Ku,CornerLeftUp:Qu,CornerLeftUpIcon:Qu,CornerRightDown:ep,CornerRightDownIcon:ep,CornerRightUp:tp,CornerRightUpIcon:tp,CornerUpLeft:ap,CornerUpLeftIcon:ap,CornerUpRight:rp,CornerUpRightIcon:rp,Cpu:np,CpuIcon:np,CreativeCommons:op,CreativeCommonsIcon:op,CreditCard:yc,CreditCardIcon:yc,Croissant:ip,CroissantIcon:ip,Crop:sp,CropIcon:sp,Cross:cp,CrossIcon:cp,Crosshair:lp,CrosshairIcon:lp,Crown:dp,CrownIcon:dp,Cuboid:hp,CuboidIcon:hp,CupSoda:up,CupSodaIcon:up,CurlyBraces:Ar,CurlyBracesIcon:Ar,Currency:pp,CurrencyIcon:pp,Cylinder:yp,CylinderIcon:yp,Dam:mp,DamIcon:mp,Database:kp,DatabaseBackup:fp,DatabaseBackupIcon:fp,DatabaseIcon:kp,DatabaseZap:xp,DatabaseZapIcon:xp,Delete:gp,DeleteIcon:gp,Dessert:vp,DessertIcon:vp,Diameter:wp,DiameterIcon:wp,Diamond:Cp,DiamondIcon:Cp,DiamondMinus:Mp,DiamondMinusIcon:Mp,DiamondPercent:Sn,DiamondPercentIcon:Sn,DiamondPlus:bp,DiamondPlusIcon:bp,Dice1:jp,Dice1Icon:jp,Dice2:Sp,Dice2Icon:Sp,Dice3:Lp,Dice3Icon:Lp,Dice4:Ip,Dice4Icon:Ip,Dice5:Np,Dice5Icon:Np,Dice6:Ap,Dice6Icon:Ap,Dices:Pp,DicesIcon:Pp,Diff:_p,DiffIcon:_p,Disc:Dp,Disc2:Rp,Disc2Icon:Rp,Disc3:Tp,Disc3Icon:Tp,DiscAlbum:qp,DiscAlbumIcon:qp,DiscIcon:Dp,Divide:zp,DivideCircle:rn,DivideCircleIcon:rn,DivideIcon:zp,DivideSquare:Go,DivideSquareIcon:Go,Dna:Ep,DnaIcon:Ep,DnaOff:Fp,DnaOffIcon:Fp,Dock:Op,DockIcon:Op,Dog:Hp,DogIcon:Hp,DollarSign:mc,DollarSignIcon:mc,Donut:Vp,DonutIcon:Vp,DoorClosed:Bp,DoorClosedIcon:Bp,DoorOpen:Up,DoorOpenIcon:Up,Dot:$p,DotIcon:$p,DotSquare:Wo,DotSquareIcon:Wo,Download:Gp,DownloadCloud:vn,DownloadCloudIcon:vn,DownloadIcon:Gp,DraftingCompass:Wp,DraftingCompassIcon:Wp,Drama:Zp,DramaIcon:Zp,Dribbble:Xp,DribbbleIcon:Xp,Drill:Jp,DrillIcon:Jp,Droplet:Yp,DropletIcon:Yp,Droplets:Kp,DropletsIcon:Kp,Drum:Qp,DrumIcon:Qp,Drumstick:ey,DrumstickIcon:ey,Dumbbell:ty,DumbbellIcon:ty,Ear:ry,EarIcon:ry,EarOff:ay,EarOffIcon:ay,Earth:Ln,EarthIcon:Ln,EarthLock:ny,EarthLockIcon:ny,Eclipse:oy,EclipseIcon:oy,Edit:wt,Edit2:po,Edit2Icon:po,Edit3:uo,Edit3Icon:uo,EditIcon:wt,Egg:cy,EggFried:iy,EggFriedIcon:iy,EggIcon:cy,EggOff:sy,EggOffIcon:sy,Ellipsis:Nn,EllipsisIcon:Nn,EllipsisVertical:In,EllipsisVerticalIcon:In,Equal:dy,EqualIcon:dy,EqualNot:ly,EqualNotIcon:ly,EqualSquare:Zo,EqualSquareIcon:Zo,Eraser:hy,EraserIcon:hy,EthernetPort:uy,EthernetPortIcon:uy,Euro:py,EuroIcon:py,Expand:yy,ExpandIcon:yy,ExternalLink:Bi,ExternalLinkIcon:Bi,Eye:fc,EyeClosed:my,EyeClosedIcon:my,EyeIcon:fc,EyeOff:fy,EyeOffIcon:fy,Facebook:xy,FacebookIcon:xy,Factory:ky,FactoryIcon:ky,Fan:gy,FanIcon:gy,FastForward:vy,FastForwardIcon:vy,Feather:wy,FeatherIcon:wy,Fence:My,FenceIcon:My,FerrisWheel:by,FerrisWheelIcon:by,Figma:Cy,FigmaIcon:Cy,File:wm,FileArchive:jy,FileArchiveIcon:jy,FileAudio:Ly,FileAudio2:Sy,FileAudio2Icon:Sy,FileAudioIcon:Ly,FileAxis3D:An,FileAxis3DIcon:An,FileAxis3d:An,FileAxis3dIcon:An,FileBadge:Ny,FileBadge2:Iy,FileBadge2Icon:Iy,FileBadgeIcon:Ny,FileBarChart:Pn,FileBarChart2:_n,FileBarChart2Icon:_n,FileBarChartIcon:Pn,FileBox:Ay,FileBoxIcon:Ay,FileChartColumn:_n,FileChartColumnIcon:_n,FileChartColumnIncreasing:Pn,FileChartColumnIncreasingIcon:Pn,FileChartLine:Rn,FileChartLineIcon:Rn,FileChartPie:Tn,FileChartPieIcon:Tn,FileCheck:_y,FileCheck2:Py,FileCheck2Icon:Py,FileCheckIcon:_y,FileClock:Ry,FileClockIcon:Ry,FileCode:qy,FileCode2:Ty,FileCode2Icon:Ty,FileCodeIcon:qy,FileCog:qn,FileCog2:qn,FileCog2Icon:qn,FileCogIcon:qn,FileDiff:Dy,FileDiffIcon:Dy,FileDigit:zy,FileDigitIcon:zy,FileDown:Fy,FileDownIcon:Fy,FileEdit:zn,FileEditIcon:zn,FileHeart:Ey,FileHeartIcon:Ey,FileIcon:wm,FileImage:Oy,FileImageIcon:Oy,FileInput:Hy,FileInputIcon:Hy,FileJson:By,FileJson2:Vy,FileJson2Icon:Vy,FileJsonIcon:By,FileKey:$y,FileKey2:Uy,FileKey2Icon:Uy,FileKeyIcon:$y,FileLineChart:Rn,FileLineChartIcon:Rn,FileLock:Wy,FileLock2:Gy,FileLock2Icon:Gy,FileLockIcon:Wy,FileMinus:Xy,FileMinus2:Zy,FileMinus2Icon:Zy,FileMinusIcon:Xy,FileMusic:Jy,FileMusicIcon:Jy,FileOutput:Yy,FileOutputIcon:Yy,FilePen:zn,FilePenIcon:zn,FilePenLine:Dn,FilePenLineIcon:Dn,FilePieChart:Tn,FilePieChartIcon:Tn,FilePlus:Qy,FilePlus2:Ky,FilePlus2Icon:Ky,FilePlusIcon:Qy,FileQuestion:em,FileQuestionIcon:em,FileScan:tm,FileScanIcon:tm,FileSearch:rm,FileSearch2:am,FileSearch2Icon:am,FileSearchIcon:rm,FileSignature:Dn,FileSignatureIcon:Dn,FileSliders:nm,FileSlidersIcon:nm,FileSpreadsheet:om,FileSpreadsheetIcon:om,FileStack:im,FileStackIcon:im,FileSymlink:sm,FileSymlinkIcon:sm,FileTerminal:cm,FileTerminalIcon:cm,FileText:lm,FileTextIcon:lm,FileType:hm,FileType2:dm,FileType2Icon:dm,FileTypeIcon:hm,FileUp:um,FileUpIcon:um,FileUser:pm,FileUserIcon:pm,FileVideo:mm,FileVideo2:ym,FileVideo2Icon:ym,FileVideoIcon:mm,FileVolume:xm,FileVolume2:fm,FileVolume2Icon:fm,FileVolumeIcon:xm,FileWarning:km,FileWarningIcon:km,FileX:vm,FileX2:gm,FileX2Icon:gm,FileXIcon:vm,Files:Mm,FilesIcon:Mm,Film:bm,FilmIcon:bm,Filter:ws,FilterIcon:ws,FilterX:Cm,FilterXIcon:Cm,Fingerprint:jm,FingerprintIcon:jm,FireExtinguisher:Sm,FireExtinguisherIcon:Sm,Fish:Nm,FishIcon:Nm,FishOff:Lm,FishOffIcon:Lm,FishSymbol:Im,FishSymbolIcon:Im,Flag:xc,FlagIcon:xc,FlagOff:Am,FlagOffIcon:Am,FlagTriangleLeft:Pm,FlagTriangleLeftIcon:Pm,FlagTriangleRight:_m,FlagTriangleRightIcon:_m,Flame:Tm,FlameIcon:Tm,FlameKindling:Rm,FlameKindlingIcon:Rm,Flashlight:Dm,FlashlightIcon:Dm,FlashlightOff:qm,FlashlightOffIcon:qm,FlaskConical:Fm,FlaskConicalIcon:Fm,FlaskConicalOff:zm,FlaskConicalOffIcon:zm,FlaskRound:Em,FlaskRoundIcon:Em,FlipHorizontal:Hm,FlipHorizontal2:Om,FlipHorizontal2Icon:Om,FlipHorizontalIcon:Hm,FlipVertical:Bm,FlipVertical2:Vm,FlipVertical2Icon:Vm,FlipVerticalIcon:Bm,Flower:$m,Flower2:Um,Flower2Icon:Um,FlowerIcon:$m,Focus:Gm,FocusIcon:Gm,FoldHorizontal:Wm,FoldHorizontalIcon:Wm,FoldVertical:Zm,FoldVerticalIcon:Zm,Folder:bf,FolderArchive:Xm,FolderArchiveIcon:Xm,FolderCheck:Jm,FolderCheckIcon:Jm,FolderClock:Ym,FolderClockIcon:Ym,FolderClosed:Km,FolderClosedIcon:Km,FolderCode:Qm,FolderCodeIcon:Qm,FolderCog:Fn,FolderCog2:Fn,FolderCog2Icon:Fn,FolderCogIcon:Fn,FolderDot:ef,FolderDotIcon:ef,FolderDown:tf,FolderDownIcon:tf,FolderEdit:En,FolderEditIcon:En,FolderGit:rf,FolderGit2:af,FolderGit2Icon:af,FolderGitIcon:rf,FolderHeart:nf,FolderHeartIcon:nf,FolderIcon:bf,FolderInput:of,FolderInputIcon:of,FolderKanban:sf,FolderKanbanIcon:sf,FolderKey:cf,FolderKeyIcon:cf,FolderLock:lf,FolderLockIcon:lf,FolderMinus:df,FolderMinusIcon:df,FolderOpen:uf,FolderOpenDot:hf,FolderOpenDotIcon:hf,FolderOpenIcon:uf,FolderOutput:pf,FolderOutputIcon:pf,FolderPen:En,FolderPenIcon:En,FolderPlus:yf,FolderPlusIcon:yf,FolderRoot:mf,FolderRootIcon:mf,FolderSearch:xf,FolderSearch2:ff,FolderSearch2Icon:ff,FolderSearchIcon:xf,FolderSymlink:kf,FolderSymlinkIcon:kf,FolderSync:gf,FolderSyncIcon:gf,FolderTree:vf,FolderTreeIcon:vf,FolderUp:wf,FolderUpIcon:wf,FolderX:Mf,FolderXIcon:Mf,Folders:Cf,FoldersIcon:Cf,Footprints:jf,FootprintsIcon:jf,ForkKnife:Ti,ForkKnifeCrossed:Ri,ForkKnifeCrossedIcon:Ri,ForkKnifeIcon:Ti,Forklift:Sf,ForkliftIcon:Sf,FormInput:mo,FormInputIcon:mo,Forward:Lf,ForwardIcon:Lf,Frame:If,FrameIcon:If,Framer:Nf,FramerIcon:Nf,Frown:Af,FrownIcon:Af,Fuel:Pf,FuelIcon:Pf,Fullscreen:_f,FullscreenIcon:_f,FunctionSquare:Xo,FunctionSquareIcon:Xo,GalleryHorizontal:Tf,GalleryHorizontalEnd:Rf,GalleryHorizontalEndIcon:Rf,GalleryHorizontalIcon:Tf,GalleryThumbnails:qf,GalleryThumbnailsIcon:qf,GalleryVertical:zf,GalleryVerticalEnd:Df,GalleryVerticalEndIcon:Df,GalleryVerticalIcon:zf,Gamepad:Ef,Gamepad2:Ff,Gamepad2Icon:Ff,GamepadIcon:Ef,GanttChart:Hr,GanttChartIcon:Hr,GanttChartSquare:ea,GanttChartSquareIcon:ea,Gauge:Of,GaugeCircle:nn,GaugeCircleIcon:nn,GaugeIcon:Of,Gavel:Hf,GavelIcon:Hf,Gem:Vf,GemIcon:Vf,Ghost:Bf,GhostIcon:Bf,Gift:Uf,GiftIcon:Uf,GitBranch:Gf,GitBranchIcon:Gf,GitBranchPlus:$f,GitBranchPlusIcon:$f,GitCommit:On,GitCommitHorizontal:On,GitCommitHorizontalIcon:On,GitCommitIcon:On,GitCommitVertical:Wf,GitCommitVerticalIcon:Wf,GitCompare:Xf,GitCompareArrows:Zf,GitCompareArrowsIcon:Zf,GitCompareIcon:Xf,GitFork:Jf,GitForkIcon:Jf,GitGraph:Yf,GitGraphIcon:Yf,GitMerge:Kf,GitMergeIcon:Kf,GitPullRequest:n4,GitPullRequestArrow:Qf,GitPullRequestArrowIcon:Qf,GitPullRequestClosed:e4,GitPullRequestClosedIcon:e4,GitPullRequestCreate:a4,GitPullRequestCreateArrow:t4,GitPullRequestCreateArrowIcon:t4,GitPullRequestCreateIcon:a4,GitPullRequestDraft:r4,GitPullRequestDraftIcon:r4,GitPullRequestIcon:n4,Github:o4,GithubIcon:o4,Gitlab:i4,GitlabIcon:i4,GlassWater:s4,GlassWaterIcon:s4,Glasses:c4,GlassesIcon:c4,Globe:Ms,Globe2:Ln,Globe2Icon:Ln,GlobeIcon:Ms,GlobeLock:l4,GlobeLockIcon:l4,Goal:d4,GoalIcon:d4,Grab:h4,GrabIcon:h4,GraduationCap:bs,GraduationCapIcon:bs,Grape:u4,GrapeIcon:u4,Grid:$t,Grid2X2:Hn,Grid2X2Icon:Hn,Grid2x2:Hn,Grid2x2Check:p4,Grid2x2CheckIcon:p4,Grid2x2Icon:Hn,Grid2x2Plus:y4,Grid2x2PlusIcon:y4,Grid2x2X:m4,Grid2x2XIcon:m4,Grid3X3:$t,Grid3X3Icon:$t,Grid3x3:$t,Grid3x3Icon:$t,GridIcon:$t,Grip:k4,GripHorizontal:f4,GripHorizontalIcon:f4,GripIcon:k4,GripVertical:x4,GripVerticalIcon:x4,Group:g4,GroupIcon:g4,Guitar:v4,GuitarIcon:v4,Ham:w4,HamIcon:w4,Hammer:M4,HammerIcon:M4,Hand:L4,HandCoins:b4,HandCoinsIcon:b4,HandHeart:C4,HandHeartIcon:C4,HandHelping:Vn,HandHelpingIcon:Vn,HandIcon:L4,HandMetal:j4,HandMetalIcon:j4,HandPlatter:S4,HandPlatterIcon:S4,Handshake:I4,HandshakeIcon:I4,HardDrive:P4,HardDriveDownload:N4,HardDriveDownloadIcon:N4,HardDriveIcon:P4,HardDriveUpload:A4,HardDriveUploadIcon:A4,HardHat:_4,HardHatIcon:_4,Hash:R4,HashIcon:R4,Haze:T4,HazeIcon:T4,HdmiPort:q4,HdmiPortIcon:q4,Heading:V4,Heading1:D4,Heading1Icon:D4,Heading2:z4,Heading2Icon:z4,Heading3:F4,Heading3Icon:F4,Heading4:E4,Heading4Icon:E4,Heading5:O4,Heading5Icon:O4,Heading6:H4,Heading6Icon:H4,HeadingIcon:V4,HeadphoneOff:B4,HeadphoneOffIcon:B4,Headphones:U4,HeadphonesIcon:U4,Headset:$4,HeadsetIcon:$4,Heart:Cs,HeartCrack:G4,HeartCrackIcon:G4,HeartHandshake:W4,HeartHandshakeIcon:W4,HeartIcon:Cs,HeartOff:Z4,HeartOffIcon:Z4,HeartPulse:X4,HeartPulseIcon:X4,Heater:J4,HeaterIcon:J4,HelpCircle:Ha,HelpCircleIcon:Ha,HelpingHand:Vn,HelpingHandIcon:Vn,Hexagon:Y4,HexagonIcon:Y4,Highlighter:K4,HighlighterIcon:K4,History:Q4,HistoryIcon:Q4,Home:va,HomeIcon:va,Hop:tx,HopIcon:tx,HopOff:ex,HopOffIcon:ex,Hospital:ax,HospitalIcon:ax,Hotel:rx,HotelIcon:rx,Hourglass:nx,HourglassIcon:nx,House:va,HouseIcon:va,HousePlug:ox,HousePlugIcon:ox,HousePlus:ix,HousePlusIcon:ix,IceCream:Un,IceCream2:Bn,IceCream2Icon:Bn,IceCreamBowl:Bn,IceCreamBowlIcon:Bn,IceCreamCone:Un,IceCreamConeIcon:Un,IceCreamIcon:Un,Icon:LI,IdCard:sx,IdCardIcon:sx,Image:yx,ImageDown:cx,ImageDownIcon:cx,ImageIcon:yx,ImageMinus:lx,ImageMinusIcon:lx,ImageOff:dx,ImageOffIcon:dx,ImagePlay:hx,ImagePlayIcon:hx,ImagePlus:ux,ImagePlusIcon:ux,ImageUp:px,ImageUpIcon:px,Images:mx,ImagesIcon:mx,Import:fx,ImportIcon:fx,Inbox:xx,InboxIcon:xx,Indent:Gn,IndentDecrease:$n,IndentDecreaseIcon:$n,IndentIcon:Gn,IndentIncrease:Gn,IndentIncreaseIcon:Gn,IndianRupee:kx,IndianRupeeIcon:kx,Infinity:gx,InfinityIcon:gx,Info:vx,InfoIcon:vx,Inspect:ti,InspectIcon:ti,InspectionPanel:wx,InspectionPanelIcon:wx,Instagram:Mx,InstagramIcon:Mx,Italic:bx,ItalicIcon:bx,IterationCcw:Cx,IterationCcwIcon:Cx,IterationCw:jx,IterationCwIcon:jx,JapaneseYen:Sx,JapaneseYenIcon:Sx,Joystick:Lx,JoystickIcon:Lx,Kanban:Ix,KanbanIcon:Ix,KanbanSquare:Jo,KanbanSquareDashed:Bo,KanbanSquareDashedIcon:Bo,KanbanSquareIcon:Jo,Key:Px,KeyIcon:Px,KeyRound:Nx,KeyRoundIcon:Nx,KeySquare:Ax,KeySquareIcon:Ax,Keyboard:Tx,KeyboardIcon:Tx,KeyboardMusic:_x,KeyboardMusicIcon:_x,KeyboardOff:Rx,KeyboardOffIcon:Rx,Lamp:Ox,LampCeiling:qx,LampCeilingIcon:qx,LampDesk:Dx,LampDeskIcon:Dx,LampFloor:zx,LampFloorIcon:zx,LampIcon:Ox,LampWallDown:Fx,LampWallDownIcon:Fx,LampWallUp:Ex,LampWallUpIcon:Ex,LandPlot:Hx,LandPlotIcon:Hx,Landmark:Vx,LandmarkIcon:Vx,Languages:Bx,LanguagesIcon:Bx,Laptop:Ux,Laptop2:Wn,Laptop2Icon:Wn,LaptopIcon:Ux,LaptopMinimal:Wn,LaptopMinimalIcon:Wn,Lasso:Gx,LassoIcon:Gx,LassoSelect:$x,LassoSelectIcon:$x,Laugh:Wx,LaughIcon:Wx,Layers:Jx,Layers2:Zx,Layers2Icon:Zx,Layers3:Xx,Layers3Icon:Xx,LayersIcon:Jx,Layout:ho,LayoutDashboard:kc,LayoutDashboardIcon:kc,LayoutGrid:Yx,LayoutGridIcon:Yx,LayoutIcon:ho,LayoutList:Kx,LayoutListIcon:Kx,LayoutPanelLeft:Qx,LayoutPanelLeftIcon:Qx,LayoutPanelTop:ek,LayoutPanelTopIcon:ek,LayoutTemplate:tk,LayoutTemplateIcon:tk,Leaf:ak,LeafIcon:ak,LeafyGreen:rk,LeafyGreenIcon:rk,Lectern:nk,LecternIcon:nk,LetterText:ok,LetterTextIcon:ok,Library:sk,LibraryBig:ik,LibraryBigIcon:ik,LibraryIcon:sk,LibrarySquare:Yo,LibrarySquareIcon:Yo,LifeBuoy:ck,LifeBuoyIcon:ck,Ligature:lk,LigatureIcon:lk,Lightbulb:hk,LightbulbIcon:hk,LightbulbOff:dk,LightbulbOffIcon:dk,LineChart:Er,LineChartIcon:Er,Link:gc,Link2:pk,Link2Icon:pk,Link2Off:uk,Link2OffIcon:uk,LinkIcon:gc,Linkedin:yk,LinkedinIcon:yk,List:vc,ListCheck:mk,ListCheckIcon:mk,ListChecks:fk,ListChecksIcon:fk,ListCollapse:xk,ListCollapseIcon:xk,ListEnd:kk,ListEndIcon:kk,ListFilter:gk,ListFilterIcon:gk,ListIcon:vc,ListMinus:vk,ListMinusIcon:vk,ListMusic:wk,ListMusicIcon:wk,ListOrdered:Mk,ListOrderedIcon:Mk,ListPlus:bk,ListPlusIcon:bk,ListRestart:Ck,ListRestartIcon:Ck,ListStart:jk,ListStartIcon:jk,ListTodo:Sk,ListTodoIcon:Sk,ListTree:Lk,ListTreeIcon:Lk,ListVideo:Ik,ListVideoIcon:Ik,ListX:Nk,ListXIcon:Nk,Loader:Pk,Loader2:Zn,Loader2Icon:Zn,LoaderCircle:Zn,LoaderCircleIcon:Zn,LoaderIcon:Pk,LoaderPinwheel:Ak,LoaderPinwheelIcon:Ak,Locate:Tk,LocateFixed:_k,LocateFixedIcon:_k,LocateIcon:Tk,LocateOff:Rk,LocateOffIcon:Rk,Lock:wc,LockIcon:wc,LockKeyhole:qk,LockKeyholeIcon:qk,LockKeyholeOpen:Xn,LockKeyholeOpenIcon:Xn,LockOpen:Jn,LockOpenIcon:Jn,LogIn:Dk,LogInIcon:Dk,LogOut:Mc,LogOutIcon:Mc,Logs:zk,LogsIcon:zk,Lollipop:Fk,LollipopIcon:Fk,LucideAArrowDown:y1,LucideAArrowUp:m1,LucideALargeSmall:f1,LucideAccessibility:x1,LucideActivity:k1,LucideActivitySquare:bo,LucideAirVent:g1,LucideAirplay:v1,LucideAlarmCheck:fr,LucideAlarmClock:M1,LucideAlarmClockCheck:fr,LucideAlarmClockMinus:xr,LucideAlarmClockOff:w1,LucideAlarmClockPlus:kr,LucideAlarmMinus:xr,LucideAlarmPlus:kr,LucideAlarmSmoke:b1,LucideAlbum:C1,LucideAlertCircle:Tt,LucideAlertOctagon:Qn,LucideAlertTriangle:bi,LucideAlignCenter:L1,LucideAlignCenterHorizontal:j1,LucideAlignCenterVertical:S1,LucideAlignEndHorizontal:I1,LucideAlignEndVertical:N1,LucideAlignHorizontalDistributeCenter:A1,LucideAlignHorizontalDistributeEnd:P1,LucideAlignHorizontalDistributeStart:_1,LucideAlignHorizontalJustifyCenter:R1,LucideAlignHorizontalJustifyEnd:T1,LucideAlignHorizontalJustifyStart:q1,LucideAlignHorizontalSpaceAround:D1,LucideAlignHorizontalSpaceBetween:z1,LucideAlignJustify:F1,LucideAlignLeft:E1,LucideAlignRight:O1,LucideAlignStartHorizontal:H1,LucideAlignStartVertical:V1,LucideAlignVerticalDistributeCenter:B1,LucideAlignVerticalDistributeEnd:U1,LucideAlignVerticalDistributeStart:$1,LucideAlignVerticalJustifyCenter:G1,LucideAlignVerticalJustifyEnd:W1,LucideAlignVerticalJustifyStart:Z1,LucideAlignVerticalSpaceAround:X1,LucideAlignVerticalSpaceBetween:J1,LucideAmbulance:Y1,LucideAmpersand:K1,LucideAmpersands:Q1,LucideAmphora:el,LucideAnchor:tl,LucideAngry:al,LucideAnnoyed:rl,LucideAntenna:nl,LucideAnvil:ol,LucideAperture:il,LucideAppWindow:cl,LucideAppWindowMac:sl,LucideApple:ll,LucideArchive:ul,LucideArchiveRestore:dl,LucideArchiveX:hl,LucideAreaChart:_r,LucideArmchair:pl,LucideArrowBigDown:ml,LucideArrowBigDownDash:yl,LucideArrowBigLeft:xl,LucideArrowBigLeftDash:fl,LucideArrowBigRight:gl,LucideArrowBigRightDash:kl,LucideArrowBigUp:wl,LucideArrowBigUpDash:vl,LucideArrowDown:Pl,LucideArrowDown01:Ml,LucideArrowDown10:bl,LucideArrowDownAZ:gr,LucideArrowDownAz:gr,LucideArrowDownCircle:Ur,LucideArrowDownFromLine:Cl,LucideArrowDownLeft:jl,LucideArrowDownLeftFromCircle:Gr,LucideArrowDownLeftFromSquare:Lo,LucideArrowDownLeftSquare:Co,LucideArrowDownNarrowWide:Sl,LucideArrowDownRight:Ll,LucideArrowDownRightFromCircle:Wr,LucideArrowDownRightFromSquare:Io,LucideArrowDownRightSquare:jo,LucideArrowDownSquare:So,LucideArrowDownToDot:Il,LucideArrowDownToLine:Nl,LucideArrowDownUp:Al,LucideArrowDownWideNarrow:vr,LucideArrowDownZA:wr,LucideArrowDownZa:wr,LucideArrowLeft:Oi,LucideArrowLeftCircle:$r,LucideArrowLeftFromLine:_l,LucideArrowLeftRight:Rl,LucideArrowLeftSquare:wa,LucideArrowLeftToLine:Tl,LucideArrowRight:xs,LucideArrowRightCircle:Jr,LucideArrowRightFromLine:ql,LucideArrowRightLeft:Dl,LucideArrowRightSquare:Ma,LucideArrowRightToLine:zl,LucideArrowUp:Wl,LucideArrowUp01:Fl,LucideArrowUp10:El,LucideArrowUpAZ:Mr,LucideArrowUpAz:Mr,LucideArrowUpCircle:Yr,LucideArrowUpDown:Ol,LucideArrowUpFromDot:Hl,LucideArrowUpFromLine:Vl,LucideArrowUpLeft:Bl,LucideArrowUpLeftFromCircle:Zr,LucideArrowUpLeftFromSquare:No,LucideArrowUpLeftSquare:Po,LucideArrowUpNarrowWide:br,LucideArrowUpRight:Ul,LucideArrowUpRightFromCircle:Xr,LucideArrowUpRightFromSquare:Ao,LucideArrowUpRightSquare:_o,LucideArrowUpSquare:Ro,LucideArrowUpToLine:$l,LucideArrowUpWideNarrow:Gl,LucideArrowUpZA:Cr,LucideArrowUpZa:Cr,LucideArrowsUpFromLine:Zl,LucideAsterisk:Xl,LucideAsteriskSquare:To,LucideAtSign:Jl,LucideAtom:Yl,LucideAudioLines:Kl,LucideAudioWaveform:Ql,LucideAward:Ca,LucideAxe:ed,LucideAxis3D:jr,LucideAxis3d:jr,LucideBaby:td,LucideBackpack:ad,LucideBadge:kd,LucideBadgeAlert:rd,LucideBadgeCent:nd,LucideBadgeCheck:Sr,LucideBadgeDollarSign:od,LucideBadgeEuro:id,LucideBadgeHelp:sd,LucideBadgeIndianRupee:cd,LucideBadgeInfo:ld,LucideBadgeJapaneseYen:dd,LucideBadgeMinus:hd,LucideBadgePercent:ud,LucideBadgePlus:pd,LucideBadgePoundSterling:yd,LucideBadgeRussianRuble:md,LucideBadgeSwissFranc:fd,LucideBadgeX:xd,LucideBaggageClaim:gd,LucideBan:vd,LucideBanana:wd,LucideBandage:Md,LucideBanknote:bd,LucideBarChart:Oa,LucideBarChart2:Or,LucideBarChart3:Fr,LucideBarChart4:zr,LucideBarChartBig:Dr,LucideBarChartHorizontal:Tr,LucideBarChartHorizontalBig:Rr,LucideBarcode:Cd,LucideBaseline:jd,LucideBath:Sd,LucideBattery:_d,LucideBatteryCharging:Ld,LucideBatteryFull:Id,LucideBatteryLow:Nd,LucideBatteryMedium:Ad,LucideBatteryWarning:Pd,LucideBeaker:Rd,LucideBean:qd,LucideBeanOff:Td,LucideBed:Fd,LucideBedDouble:Dd,LucideBedSingle:zd,LucideBeef:Ed,LucideBeer:Hd,LucideBeerOff:Od,LucideBell:ks,LucideBellDot:Vd,LucideBellElectric:Bd,LucideBellMinus:Ud,LucideBellOff:$d,LucideBellPlus:Gd,LucideBellRing:Wd,LucideBetweenHorizonalEnd:Lr,LucideBetweenHorizonalStart:Ir,LucideBetweenHorizontalEnd:Lr,LucideBetweenHorizontalStart:Ir,LucideBetweenVerticalEnd:Zd,LucideBetweenVerticalStart:Xd,LucideBicepsFlexed:Jd,LucideBike:Yd,LucideBinary:Kd,LucideBinoculars:Qd,LucideBiohazard:e2,LucideBird:t2,LucideBitcoin:a2,LucideBlend:r2,LucideBlinds:n2,LucideBlocks:o2,LucideBluetooth:l2,LucideBluetoothConnected:i2,LucideBluetoothOff:s2,LucideBluetoothSearching:c2,LucideBold:d2,LucideBolt:h2,LucideBomb:u2,LucideBone:p2,LucideBook:q2,LucideBookA:y2,LucideBookAudio:m2,LucideBookCheck:f2,LucideBookCopy:x2,LucideBookDashed:Nr,LucideBookDown:k2,LucideBookHeadphones:g2,LucideBookHeart:v2,LucideBookImage:w2,LucideBookKey:M2,LucideBookLock:b2,LucideBookMarked:C2,LucideBookMinus:j2,LucideBookOpen:Ft,LucideBookOpenCheck:S2,LucideBookOpenText:L2,LucideBookPlus:I2,LucideBookTemplate:Nr,LucideBookText:N2,LucideBookType:A2,LucideBookUp:_2,LucideBookUp2:P2,LucideBookUser:R2,LucideBookX:T2,LucideBookmark:Ga,LucideBookmarkCheck:sa,LucideBookmarkMinus:D2,LucideBookmarkPlus:lc,LucideBookmarkX:z2,LucideBoomBox:F2,LucideBot:dc,LucideBotMessageSquare:E2,LucideBotOff:O2,LucideBox:H2,LucideBoxSelect:$o,LucideBoxes:V2,LucideBraces:Ar,LucideBrackets:B2,LucideBrain:G2,LucideBrainCircuit:U2,LucideBrainCog:$2,LucideBrickWall:W2,LucideBriefcase:mt,LucideBriefcaseBusiness:Z2,LucideBriefcaseConveyorBelt:X2,LucideBriefcaseMedical:J2,LucideBringToFront:Y2,LucideBrush:K2,LucideBug:t0,LucideBugOff:Q2,LucideBugPlay:e0,LucideBuilding:gs,LucideBuilding2:hc,LucideBus:r0,LucideBusFront:a0,LucideCable:o0,LucideCableCar:n0,LucideCake:s0,LucideCakeSlice:i0,LucideCalculator:c0,LucideCalendar:uc,LucideCalendarArrowDown:l0,LucideCalendarArrowUp:d0,LucideCalendarCheck:u0,LucideCalendarCheck2:h0,LucideCalendarClock:p0,LucideCalendarCog:y0,LucideCalendarDays:m0,LucideCalendarFold:f0,LucideCalendarHeart:x0,LucideCalendarMinus:g0,LucideCalendarMinus2:k0,LucideCalendarOff:v0,LucideCalendarPlus:M0,LucideCalendarPlus2:w0,LucideCalendarRange:b0,LucideCalendarSearch:C0,LucideCalendarX:S0,LucideCalendarX2:j0,LucideCamera:I0,LucideCameraOff:L0,LucideCandlestickChart:qr,LucideCandy:P0,LucideCandyCane:N0,LucideCandyOff:A0,LucideCannabis:_0,LucideCaptions:Pr,LucideCaptionsOff:R0,LucideCar:D0,LucideCarFront:T0,LucideCarTaxiFront:q0,LucideCaravan:z0,LucideCarrot:F0,LucideCaseLower:E0,LucideCaseSensitive:O0,LucideCaseUpper:H0,LucideCassetteTape:V0,LucideCast:B0,LucideCastle:U0,LucideCat:$0,LucideCctv:G0,LucideChartArea:_r,LucideChartBar:Tr,LucideChartBarBig:Rr,LucideChartBarDecreasing:W0,LucideChartBarIncreasing:Z0,LucideChartBarStacked:X0,LucideChartCandlestick:qr,LucideChartColumn:Fr,LucideChartColumnBig:Dr,LucideChartColumnDecreasing:J0,LucideChartColumnIncreasing:zr,LucideChartColumnStacked:Y0,LucideChartGantt:K0,LucideChartLine:Er,LucideChartNetwork:Q0,LucideChartNoAxesColumn:Or,LucideChartNoAxesColumnDecreasing:eh,LucideChartNoAxesColumnIncreasing:Oa,LucideChartNoAxesCombined:th,LucideChartNoAxesGantt:Hr,LucideChartPie:Vr,LucideChartScatter:Br,LucideChartSpline:ah,LucideCheck:vs,LucideCheckCheck:rh,LucideCheckCircle:bt,LucideCheckCircle2:Kr,LucideCheckSquare:Do,LucideCheckSquare2:zo,LucideChefHat:nh,LucideCherry:oh,LucideChevronDown:Hi,LucideChevronDownCircle:Qr,LucideChevronDownSquare:Fo,LucideChevronFirst:ih,LucideChevronLast:sh,LucideChevronLeft:Vi,LucideChevronLeftCircle:en,LucideChevronLeftSquare:Eo,LucideChevronRight:Wa,LucideChevronRightCircle:tn,LucideChevronRightSquare:Oo,LucideChevronUp:pc,LucideChevronUpCircle:an,LucideChevronUpSquare:Ho,LucideChevronsDown:lh,LucideChevronsDownUp:ch,LucideChevronsLeft:uh,LucideChevronsLeftRight:hh,LucideChevronsLeftRightEllipsis:dh,LucideChevronsRight:yh,LucideChevronsRightLeft:ph,LucideChevronsUp:fh,LucideChevronsUpDown:mh,LucideChrome:xh,LucideChurch:kh,LucideCigarette:vh,LucideCigaretteOff:gh,LucideCircle:Ph,LucideCircleAlert:Tt,LucideCircleArrowDown:Ur,LucideCircleArrowLeft:$r,LucideCircleArrowOutDownLeft:Gr,LucideCircleArrowOutDownRight:Wr,LucideCircleArrowOutUpLeft:Zr,LucideCircleArrowOutUpRight:Xr,LucideCircleArrowRight:Jr,LucideCircleArrowUp:Yr,LucideCircleCheck:Kr,LucideCircleCheckBig:bt,LucideCircleChevronDown:Qr,LucideCircleChevronLeft:en,LucideCircleChevronRight:tn,LucideCircleChevronUp:an,LucideCircleDashed:wh,LucideCircleDivide:rn,LucideCircleDollarSign:Mh,LucideCircleDot:Ch,LucideCircleDotDashed:bh,LucideCircleEllipsis:jh,LucideCircleEqual:Sh,LucideCircleFadingArrowUp:Lh,LucideCircleFadingPlus:Ih,LucideCircleGauge:nn,LucideCircleHelp:Ha,LucideCircleMinus:on,LucideCircleOff:Nh,LucideCircleParking:cn,LucideCircleParkingOff:sn,LucideCirclePause:ln,LucideCirclePercent:dn,LucideCirclePlay:hn,LucideCirclePlus:un,LucideCirclePower:pn,LucideCircleSlash:Ah,LucideCircleSlash2:yn,LucideCircleSlashed:yn,LucideCircleStop:mn,LucideCircleUser:xn,LucideCircleUserRound:fn,LucideCircleX:aa,LucideCircuitBoard:_h,LucideCitrus:Rh,LucideClapperboard:Th,LucideClipboard:Bh,LucideClipboardCheck:qh,LucideClipboardCopy:Dh,LucideClipboardEdit:gn,LucideClipboardList:zh,LucideClipboardMinus:Fh,LucideClipboardPaste:Eh,LucideClipboardPen:gn,LucideClipboardPenLine:kn,LucideClipboardPlus:Oh,LucideClipboardSignature:kn,LucideClipboardType:Hh,LucideClipboardX:Vh,LucideClock:Zt,LucideClock1:Uh,LucideClock10:$h,LucideClock11:Gh,LucideClock12:Wh,LucideClock2:Zh,LucideClock3:Xh,LucideClock4:Jh,LucideClock5:Yh,LucideClock6:Kh,LucideClock7:Qh,LucideClock8:eu,LucideClock9:tu,LucideClockAlert:au,LucideClockArrowDown:ru,LucideClockArrowUp:nu,LucideCloud:ku,LucideCloudCog:ou,LucideCloudDownload:vn,LucideCloudDrizzle:iu,LucideCloudFog:su,LucideCloudHail:cu,LucideCloudLightning:lu,LucideCloudMoon:hu,LucideCloudMoonRain:du,LucideCloudOff:uu,LucideCloudRain:yu,LucideCloudRainWind:pu,LucideCloudSnow:mu,LucideCloudSun:xu,LucideCloudSunRain:fu,LucideCloudUpload:wn,LucideCloudy:gu,LucideClover:vu,LucideClub:wu,LucideCode:Mu,LucideCode2:Mn,LucideCodeSquare:Vo,LucideCodeXml:Mn,LucideCodepen:bu,LucideCodesandbox:Cu,LucideCoffee:ju,LucideCog:Su,LucideCoins:Lu,LucideColumns:bn,LucideColumns2:bn,LucideColumns3:Cn,LucideColumns4:Iu,LucideCombine:Nu,LucideCommand:Au,LucideCompass:Pu,LucideComponent:_u,LucideComputer:Ru,LucideConciergeBell:Tu,LucideCone:qu,LucideConstruction:Du,LucideContact:zu,LucideContact2:jn,LucideContactRound:jn,LucideContainer:Fu,LucideContrast:Eu,LucideCookie:Ou,LucideCookingPot:Hu,LucideCopy:Wu,LucideCopyCheck:Vu,LucideCopyMinus:Bu,LucideCopyPlus:Uu,LucideCopySlash:$u,LucideCopyX:Gu,LucideCopyleft:Zu,LucideCopyright:Xu,LucideCornerDownLeft:Ju,LucideCornerDownRight:Yu,LucideCornerLeftDown:Ku,LucideCornerLeftUp:Qu,LucideCornerRightDown:ep,LucideCornerRightUp:tp,LucideCornerUpLeft:ap,LucideCornerUpRight:rp,LucideCpu:np,LucideCreativeCommons:op,LucideCreditCard:yc,LucideCroissant:ip,LucideCrop:sp,LucideCross:cp,LucideCrosshair:lp,LucideCrown:dp,LucideCuboid:hp,LucideCupSoda:up,LucideCurlyBraces:Ar,LucideCurrency:pp,LucideCylinder:yp,LucideDam:mp,LucideDatabase:kp,LucideDatabaseBackup:fp,LucideDatabaseZap:xp,LucideDelete:gp,LucideDessert:vp,LucideDiameter:wp,LucideDiamond:Cp,LucideDiamondMinus:Mp,LucideDiamondPercent:Sn,LucideDiamondPlus:bp,LucideDice1:jp,LucideDice2:Sp,LucideDice3:Lp,LucideDice4:Ip,LucideDice5:Np,LucideDice6:Ap,LucideDices:Pp,LucideDiff:_p,LucideDisc:Dp,LucideDisc2:Rp,LucideDisc3:Tp,LucideDiscAlbum:qp,LucideDivide:zp,LucideDivideCircle:rn,LucideDivideSquare:Go,LucideDna:Ep,LucideDnaOff:Fp,LucideDock:Op,LucideDog:Hp,LucideDollarSign:mc,LucideDonut:Vp,LucideDoorClosed:Bp,LucideDoorOpen:Up,LucideDot:$p,LucideDotSquare:Wo,LucideDownload:Gp,LucideDownloadCloud:vn,LucideDraftingCompass:Wp,LucideDrama:Zp,LucideDribbble:Xp,LucideDrill:Jp,LucideDroplet:Yp,LucideDroplets:Kp,LucideDrum:Qp,LucideDrumstick:ey,LucideDumbbell:ty,LucideEar:ry,LucideEarOff:ay,LucideEarth:Ln,LucideEarthLock:ny,LucideEclipse:oy,LucideEdit:wt,LucideEdit2:po,LucideEdit3:uo,LucideEgg:cy,LucideEggFried:iy,LucideEggOff:sy,LucideEllipsis:Nn,LucideEllipsisVertical:In,LucideEqual:dy,LucideEqualNot:ly,LucideEqualSquare:Zo,LucideEraser:hy,LucideEthernetPort:uy,LucideEuro:py,LucideExpand:yy,LucideExternalLink:Bi,LucideEye:fc,LucideEyeClosed:my,LucideEyeOff:fy,LucideFacebook:xy,LucideFactory:ky,LucideFan:gy,LucideFastForward:vy,LucideFeather:wy,LucideFence:My,LucideFerrisWheel:by,LucideFigma:Cy,LucideFile:wm,LucideFileArchive:jy,LucideFileAudio:Ly,LucideFileAudio2:Sy,LucideFileAxis3D:An,LucideFileAxis3d:An,LucideFileBadge:Ny,LucideFileBadge2:Iy,LucideFileBarChart:Pn,LucideFileBarChart2:_n,LucideFileBox:Ay,LucideFileChartColumn:_n,LucideFileChartColumnIncreasing:Pn,LucideFileChartLine:Rn,LucideFileChartPie:Tn,LucideFileCheck:_y,LucideFileCheck2:Py,LucideFileClock:Ry,LucideFileCode:qy,LucideFileCode2:Ty,LucideFileCog:qn,LucideFileCog2:qn,LucideFileDiff:Dy,LucideFileDigit:zy,LucideFileDown:Fy,LucideFileEdit:zn,LucideFileHeart:Ey,LucideFileImage:Oy,LucideFileInput:Hy,LucideFileJson:By,LucideFileJson2:Vy,LucideFileKey:$y,LucideFileKey2:Uy,LucideFileLineChart:Rn,LucideFileLock:Wy,LucideFileLock2:Gy,LucideFileMinus:Xy,LucideFileMinus2:Zy,LucideFileMusic:Jy,LucideFileOutput:Yy,LucideFilePen:zn,LucideFilePenLine:Dn,LucideFilePieChart:Tn,LucideFilePlus:Qy,LucideFilePlus2:Ky,LucideFileQuestion:em,LucideFileScan:tm,LucideFileSearch:rm,LucideFileSearch2:am,LucideFileSignature:Dn,LucideFileSliders:nm,LucideFileSpreadsheet:om,LucideFileStack:im,LucideFileSymlink:sm,LucideFileTerminal:cm,LucideFileText:lm,LucideFileType:hm,LucideFileType2:dm,LucideFileUp:um,LucideFileUser:pm,LucideFileVideo:mm,LucideFileVideo2:ym,LucideFileVolume:xm,LucideFileVolume2:fm,LucideFileWarning:km,LucideFileX:vm,LucideFileX2:gm,LucideFiles:Mm,LucideFilm:bm,LucideFilter:ws,LucideFilterX:Cm,LucideFingerprint:jm,LucideFireExtinguisher:Sm,LucideFish:Nm,LucideFishOff:Lm,LucideFishSymbol:Im,LucideFlag:xc,LucideFlagOff:Am,LucideFlagTriangleLeft:Pm,LucideFlagTriangleRight:_m,LucideFlame:Tm,LucideFlameKindling:Rm,LucideFlashlight:Dm,LucideFlashlightOff:qm,LucideFlaskConical:Fm,LucideFlaskConicalOff:zm,LucideFlaskRound:Em,LucideFlipHorizontal:Hm,LucideFlipHorizontal2:Om,LucideFlipVertical:Bm,LucideFlipVertical2:Vm,LucideFlower:$m,LucideFlower2:Um,LucideFocus:Gm,LucideFoldHorizontal:Wm,LucideFoldVertical:Zm,LucideFolder:bf,LucideFolderArchive:Xm,LucideFolderCheck:Jm,LucideFolderClock:Ym,LucideFolderClosed:Km,LucideFolderCode:Qm,LucideFolderCog:Fn,LucideFolderCog2:Fn,LucideFolderDot:ef,LucideFolderDown:tf,LucideFolderEdit:En,LucideFolderGit:rf,LucideFolderGit2:af,LucideFolderHeart:nf,LucideFolderInput:of,LucideFolderKanban:sf,LucideFolderKey:cf,LucideFolderLock:lf,LucideFolderMinus:df,LucideFolderOpen:uf,LucideFolderOpenDot:hf,LucideFolderOutput:pf,LucideFolderPen:En,LucideFolderPlus:yf,LucideFolderRoot:mf,LucideFolderSearch:xf,LucideFolderSearch2:ff,LucideFolderSymlink:kf,LucideFolderSync:gf,LucideFolderTree:vf,LucideFolderUp:wf,LucideFolderX:Mf,LucideFolders:Cf,LucideFootprints:jf,LucideForkKnife:Ti,LucideForkKnifeCrossed:Ri,LucideForklift:Sf,LucideFormInput:mo,LucideForward:Lf,LucideFrame:If,LucideFramer:Nf,LucideFrown:Af,LucideFuel:Pf,LucideFullscreen:_f,LucideFunctionSquare:Xo,LucideGalleryHorizontal:Tf,LucideGalleryHorizontalEnd:Rf,LucideGalleryThumbnails:qf,LucideGalleryVertical:zf,LucideGalleryVerticalEnd:Df,LucideGamepad:Ef,LucideGamepad2:Ff,LucideGanttChart:Hr,LucideGanttChartSquare:ea,LucideGauge:Of,LucideGaugeCircle:nn,LucideGavel:Hf,LucideGem:Vf,LucideGhost:Bf,LucideGift:Uf,LucideGitBranch:Gf,LucideGitBranchPlus:$f,LucideGitCommit:On,LucideGitCommitHorizontal:On,LucideGitCommitVertical:Wf,LucideGitCompare:Xf,LucideGitCompareArrows:Zf,LucideGitFork:Jf,LucideGitGraph:Yf,LucideGitMerge:Kf,LucideGitPullRequest:n4,LucideGitPullRequestArrow:Qf,LucideGitPullRequestClosed:e4,LucideGitPullRequestCreate:a4,LucideGitPullRequestCreateArrow:t4,LucideGitPullRequestDraft:r4,LucideGithub:o4,LucideGitlab:i4,LucideGlassWater:s4,LucideGlasses:c4,LucideGlobe:Ms,LucideGlobe2:Ln,LucideGlobeLock:l4,LucideGoal:d4,LucideGrab:h4,LucideGraduationCap:bs,LucideGrape:u4,LucideGrid:$t,LucideGrid2X2:Hn,LucideGrid2x2:Hn,LucideGrid2x2Check:p4,LucideGrid2x2Plus:y4,LucideGrid2x2X:m4,LucideGrid3X3:$t,LucideGrid3x3:$t,LucideGrip:k4,LucideGripHorizontal:f4,LucideGripVertical:x4,LucideGroup:g4,LucideGuitar:v4,LucideHam:w4,LucideHammer:M4,LucideHand:L4,LucideHandCoins:b4,LucideHandHeart:C4,LucideHandHelping:Vn,LucideHandMetal:j4,LucideHandPlatter:S4,LucideHandshake:I4,LucideHardDrive:P4,LucideHardDriveDownload:N4,LucideHardDriveUpload:A4,LucideHardHat:_4,LucideHash:R4,LucideHaze:T4,LucideHdmiPort:q4,LucideHeading:V4,LucideHeading1:D4,LucideHeading2:z4,LucideHeading3:F4,LucideHeading4:E4,LucideHeading5:O4,LucideHeading6:H4,LucideHeadphoneOff:B4,LucideHeadphones:U4,LucideHeadset:$4,LucideHeart:Cs,LucideHeartCrack:G4,LucideHeartHandshake:W4,LucideHeartOff:Z4,LucideHeartPulse:X4,LucideHeater:J4,LucideHelpCircle:Ha,LucideHelpingHand:Vn,LucideHexagon:Y4,LucideHighlighter:K4,LucideHistory:Q4,LucideHome:va,LucideHop:tx,LucideHopOff:ex,LucideHospital:ax,LucideHotel:rx,LucideHourglass:nx,LucideHouse:va,LucideHousePlug:ox,LucideHousePlus:ix,LucideIceCream:Un,LucideIceCream2:Bn,LucideIceCreamBowl:Bn,LucideIceCreamCone:Un,LucideIdCard:sx,LucideImage:yx,LucideImageDown:cx,LucideImageMinus:lx,LucideImageOff:dx,LucideImagePlay:hx,LucideImagePlus:ux,LucideImageUp:px,LucideImages:mx,LucideImport:fx,LucideInbox:xx,LucideIndent:Gn,LucideIndentDecrease:$n,LucideIndentIncrease:Gn,LucideIndianRupee:kx,LucideInfinity:gx,LucideInfo:vx,LucideInspect:ti,LucideInspectionPanel:wx,LucideInstagram:Mx,LucideItalic:bx,LucideIterationCcw:Cx,LucideIterationCw:jx,LucideJapaneseYen:Sx,LucideJoystick:Lx,LucideKanban:Ix,LucideKanbanSquare:Jo,LucideKanbanSquareDashed:Bo,LucideKey:Px,LucideKeyRound:Nx,LucideKeySquare:Ax,LucideKeyboard:Tx,LucideKeyboardMusic:_x,LucideKeyboardOff:Rx,LucideLamp:Ox,LucideLampCeiling:qx,LucideLampDesk:Dx,LucideLampFloor:zx,LucideLampWallDown:Fx,LucideLampWallUp:Ex,LucideLandPlot:Hx,LucideLandmark:Vx,LucideLanguages:Bx,LucideLaptop:Ux,LucideLaptop2:Wn,LucideLaptopMinimal:Wn,LucideLasso:Gx,LucideLassoSelect:$x,LucideLaugh:Wx,LucideLayers:Jx,LucideLayers2:Zx,LucideLayers3:Xx,LucideLayout:ho,LucideLayoutDashboard:kc,LucideLayoutGrid:Yx,LucideLayoutList:Kx,LucideLayoutPanelLeft:Qx,LucideLayoutPanelTop:ek,LucideLayoutTemplate:tk,LucideLeaf:ak,LucideLeafyGreen:rk,LucideLectern:nk,LucideLetterText:ok,LucideLibrary:sk,LucideLibraryBig:ik,LucideLibrarySquare:Yo,LucideLifeBuoy:ck,LucideLigature:lk,LucideLightbulb:hk,LucideLightbulbOff:dk,LucideLineChart:Er,LucideLink:gc,LucideLink2:pk,LucideLink2Off:uk,LucideLinkedin:yk,LucideList:vc,LucideListCheck:mk,LucideListChecks:fk,LucideListCollapse:xk,LucideListEnd:kk,LucideListFilter:gk,LucideListMinus:vk,LucideListMusic:wk,LucideListOrdered:Mk,LucideListPlus:bk,LucideListRestart:Ck,LucideListStart:jk,LucideListTodo:Sk,LucideListTree:Lk,LucideListVideo:Ik,LucideListX:Nk,LucideLoader:Pk,LucideLoader2:Zn,LucideLoaderCircle:Zn,LucideLoaderPinwheel:Ak,LucideLocate:Tk,LucideLocateFixed:_k,LucideLocateOff:Rk,LucideLock:wc,LucideLockKeyhole:qk,LucideLockKeyholeOpen:Xn,LucideLockOpen:Jn,LucideLogIn:Dk,LucideLogOut:Mc,LucideLogs:zk,LucideLollipop:Fk,LucideLuggage:Ek,LucideMSquare:Ko,LucideMagnet:Ok,LucideMail:ca,LucideMailCheck:Hk,LucideMailMinus:Vk,LucideMailOpen:Bk,LucideMailPlus:Uk,LucideMailQuestion:$k,LucideMailSearch:Gk,LucideMailWarning:Wk,LucideMailX:Zk,LucideMailbox:Xk,LucideMails:Jk,LucideMap:cg,LucideMapPin:Et,LucideMapPinCheck:Kk,LucideMapPinCheckInside:Yk,LucideMapPinHouse:Qk,LucideMapPinMinus:tg,LucideMapPinMinusInside:eg,LucideMapPinOff:ag,LucideMapPinPlus:ng,LucideMapPinPlusInside:rg,LucideMapPinX:ig,LucideMapPinXInside:og,LucideMapPinned:sg,LucideMartini:lg,LucideMaximize:hg,LucideMaximize2:dg,LucideMedal:ug,LucideMegaphone:yg,LucideMegaphoneOff:pg,LucideMeh:mg,LucideMemoryStick:fg,LucideMenu:js,LucideMenuSquare:Qo,LucideMerge:xg,LucideMessageCircle:Ig,LucideMessageCircleCode:kg,LucideMessageCircleDashed:gg,LucideMessageCircleHeart:vg,LucideMessageCircleMore:wg,LucideMessageCircleOff:Mg,LucideMessageCirclePlus:bg,LucideMessageCircleQuestion:Cg,LucideMessageCircleReply:jg,LucideMessageCircleWarning:Sg,LucideMessageCircleX:Lg,LucideMessageSquare:Ss,LucideMessageSquareCode:Ng,LucideMessageSquareDashed:Ag,LucideMessageSquareDiff:Pg,LucideMessageSquareDot:_g,LucideMessageSquareHeart:Rg,LucideMessageSquareLock:Tg,LucideMessageSquareMore:qg,LucideMessageSquareOff:Dg,LucideMessageSquarePlus:zg,LucideMessageSquareQuote:Fg,LucideMessageSquareReply:Eg,LucideMessageSquareShare:Og,LucideMessageSquareText:Hg,LucideMessageSquareWarning:Vg,LucideMessageSquareX:Bg,LucideMessagesSquare:Ug,LucideMic:Gg,LucideMic2:Yn,LucideMicOff:$g,LucideMicVocal:Yn,LucideMicrochip:Wg,LucideMicroscope:Zg,LucideMicrowave:Xg,LucideMilestone:Jg,LucideMilk:Kg,LucideMilkOff:Yg,LucideMinimize:e5,LucideMinimize2:Qg,LucideMinus:bc,LucideMinusCircle:on,LucideMinusSquare:ei,LucideMonitor:p5,LucideMonitorCheck:t5,LucideMonitorCog:a5,LucideMonitorDot:r5,LucideMonitorDown:n5,LucideMonitorOff:o5,LucideMonitorPause:i5,LucideMonitorPlay:s5,LucideMonitorSmartphone:c5,LucideMonitorSpeaker:l5,LucideMonitorStop:d5,LucideMonitorUp:h5,LucideMonitorX:u5,LucideMoon:m5,LucideMoonStar:y5,LucideMoreHorizontal:Nn,LucideMoreVertical:In,LucideMountain:x5,LucideMountainSnow:f5,LucideMouse:b5,LucideMouseOff:k5,LucideMousePointer:M5,LucideMousePointer2:g5,LucideMousePointerBan:v5,LucideMousePointerClick:w5,LucideMousePointerSquareDashed:Uo,LucideMove:D5,LucideMove3D:Kn,LucideMove3d:Kn,LucideMoveDiagonal:j5,LucideMoveDiagonal2:C5,LucideMoveDown:I5,LucideMoveDownLeft:S5,LucideMoveDownRight:L5,LucideMoveHorizontal:N5,LucideMoveLeft:A5,LucideMoveRight:P5,LucideMoveUp:T5,LucideMoveUpLeft:_5,LucideMoveUpRight:R5,LucideMoveVertical:q5,LucideMusic:O5,LucideMusic2:z5,LucideMusic3:F5,LucideMusic4:E5,LucideNavigation:U5,LucideNavigation2:V5,LucideNavigation2Off:H5,LucideNavigationOff:B5,LucideNetwork:$5,LucideNewspaper:Sa,LucideNfc:G5,LucideNotebook:J5,LucideNotebookPen:W5,LucideNotebookTabs:Z5,LucideNotebookText:X5,LucideNotepadText:K5,LucideNotepadTextDashed:Y5,LucideNut:e3,LucideNutOff:Q5,LucideOctagon:a3,LucideOctagonAlert:Qn,LucideOctagonMinus:t3,LucideOctagonPause:eo,LucideOctagonX:to,LucideOmega:r3,LucideOption:n3,LucideOrbit:o3,LucideOrigami:i3,LucideOutdent:$n,LucidePackage:y3,LucidePackage2:s3,LucidePackageCheck:c3,LucidePackageMinus:l3,LucidePackageOpen:d3,LucidePackagePlus:h3,LucidePackageSearch:u3,LucidePackageX:p3,LucidePaintBucket:m3,LucidePaintRoller:f3,LucidePaintbrush:x3,LucidePaintbrush2:ao,LucidePaintbrushVertical:ao,LucidePalette:k3,LucidePalmtree:Mi,LucidePanelBottom:w3,LucidePanelBottomClose:g3,LucidePanelBottomDashed:ro,LucidePanelBottomInactive:ro,LucidePanelBottomOpen:v3,LucidePanelLeft:so,LucidePanelLeftClose:no,LucidePanelLeftDashed:oo,LucidePanelLeftInactive:oo,LucidePanelLeftOpen:io,LucidePanelRight:C3,LucidePanelRightClose:M3,LucidePanelRightDashed:co,LucidePanelRightInactive:co,LucidePanelRightOpen:b3,LucidePanelTop:L3,LucidePanelTopClose:j3,LucidePanelTopDashed:lo,LucidePanelTopInactive:lo,LucidePanelTopOpen:S3,LucidePanelsLeftBottom:I3,LucidePanelsLeftRight:Cn,LucidePanelsRightBottom:N3,LucidePanelsTopBottom:ko,LucidePanelsTopLeft:ho,LucidePaperclip:A3,LucideParentheses:P3,LucideParkingCircle:cn,LucideParkingCircleOff:sn,LucideParkingMeter:_3,LucideParkingSquare:ri,LucideParkingSquareOff:ai,LucidePartyPopper:R3,LucidePause:T3,LucidePauseCircle:ln,LucidePauseOctagon:eo,LucidePawPrint:q3,LucidePcCase:D3,LucidePen:po,LucidePenBox:wt,LucidePenLine:uo,LucidePenOff:z3,LucidePenSquare:wt,LucidePenTool:F3,LucidePencil:V3,LucidePencilLine:E3,LucidePencilOff:O3,LucidePencilRuler:H3,LucidePentagon:B3,LucidePercent:U3,LucidePercentCircle:dn,LucidePercentDiamond:Sn,LucidePercentSquare:ni,LucidePersonStanding:$3,LucidePhilippinePeso:G3,LucidePhone:Ui,LucidePhoneCall:W3,LucidePhoneForwarded:Z3,LucidePhoneIncoming:X3,LucidePhoneMissed:J3,LucidePhoneOff:Y3,LucidePhoneOutgoing:K3,LucidePi:Q3,LucidePiSquare:oi,LucidePiano:ev,LucidePickaxe:tv,LucidePictureInPicture:rv,LucidePictureInPicture2:av,LucidePieChart:Vr,LucidePiggyBank:nv,LucidePilcrow:sv,LucidePilcrowLeft:ov,LucidePilcrowRight:iv,LucidePilcrowSquare:ii,LucidePill:lv,LucidePillBottle:cv,LucidePin:hv,LucidePinOff:dv,LucidePipette:uv,LucidePizza:pv,LucidePlane:fv,LucidePlaneLanding:yv,LucidePlaneTakeoff:mv,LucidePlay:Cc,LucidePlayCircle:hn,LucidePlaySquare:si,LucidePlug:kv,LucidePlug2:xv,LucidePlugZap:yo,LucidePlugZap2:yo,LucidePlus:jc,LucidePlusCircle:un,LucidePlusSquare:ci,LucidePocket:vv,LucidePocketKnife:gv,LucidePodcast:wv,LucidePointer:bv,LucidePointerOff:Mv,LucidePopcorn:Cv,LucidePopsicle:jv,LucidePoundSterling:Sv,LucidePower:Iv,LucidePowerCircle:pn,LucidePowerOff:Lv,LucidePowerSquare:li,LucidePresentation:Nv,LucidePrinter:Pv,LucidePrinterCheck:Av,LucideProjector:_v,LucideProportions:Rv,LucidePuzzle:Tv,LucidePyramid:qv,LucideQrCode:Dv,LucideQuote:Ls,LucideRabbit:zv,LucideRadar:Fv,LucideRadiation:Ev,LucideRadical:Ov,LucideRadio:Bv,LucideRadioReceiver:Hv,LucideRadioTower:Vv,LucideRadius:Uv,LucideRailSymbol:$v,LucideRainbow:Gv,LucideRat:Wv,LucideRatio:Zv,LucideReceipt:r6,LucideReceiptCent:Xv,LucideReceiptEuro:Jv,LucideReceiptIndianRupee:Yv,LucideReceiptJapaneseYen:Kv,LucideReceiptPoundSterling:Qv,LucideReceiptRussianRuble:e6,LucideReceiptSwissFranc:t6,LucideReceiptText:a6,LucideRectangleEllipsis:mo,LucideRectangleHorizontal:n6,LucideRectangleVertical:o6,LucideRecycle:i6,LucideRedo:l6,LucideRedo2:s6,LucideRedoDot:c6,LucideRefreshCcw:h6,LucideRefreshCcwDot:d6,LucideRefreshCw:p6,LucideRefreshCwOff:u6,LucideRefrigerator:y6,LucideRegex:m6,LucideRemoveFormatting:f6,LucideRepeat:g6,LucideRepeat1:x6,LucideRepeat2:k6,LucideReplace:w6,LucideReplaceAll:v6,LucideReply:b6,LucideReplyAll:M6,LucideRewind:C6,LucideRibbon:j6,LucideRocket:S6,LucideRockingChair:L6,LucideRollerCoaster:I6,LucideRotate3D:fo,LucideRotate3d:fo,LucideRotateCcw:A6,LucideRotateCcwSquare:N6,LucideRotateCw:_6,LucideRotateCwSquare:P6,LucideRoute:T6,LucideRouteOff:R6,LucideRouter:q6,LucideRows:xo,LucideRows2:xo,LucideRows3:ko,LucideRows4:D6,LucideRss:z6,LucideRuler:F6,LucideRussianRuble:E6,LucideSailboat:O6,LucideSalad:H6,LucideSandwich:V6,LucideSatellite:U6,LucideSatelliteDish:B6,LucideSave:W6,LucideSaveAll:$6,LucideSaveOff:G6,LucideScale:Z6,LucideScale3D:go,LucideScale3d:go,LucideScaling:X6,LucideScan:r8,LucideScanBarcode:J6,LucideScanEye:Y6,LucideScanFace:K6,LucideScanLine:Q6,LucideScanQrCode:e8,LucideScanSearch:t8,LucideScanText:a8,LucideScatterChart:Br,LucideSchool:n8,LucideSchool2:ji,LucideScissors:i8,LucideScissorsLineDashed:o8,LucideScissorsSquare:di,LucideScissorsSquareDashedBottom:qo,LucideScreenShare:c8,LucideScreenShareOff:s8,LucideScroll:d8,LucideScrollText:l8,LucideSearch:Ot,LucideSearchCheck:h8,LucideSearchCode:u8,LucideSearchSlash:p8,LucideSearchX:y8,LucideSection:m8,LucideSend:Sc,LucideSendHorizonal:vo,LucideSendHorizontal:vo,LucideSendToBack:f8,LucideSeparatorHorizontal:x8,LucideSeparatorVertical:k8,LucideServer:M8,LucideServerCog:g8,LucideServerCrash:v8,LucideServerOff:w8,LucideSettings:Is,LucideSettings2:b8,LucideShapes:C8,LucideShare:j8,LucideShare2:Ns,LucideSheet:S8,LucideShell:L8,LucideShield:Lc,LucideShieldAlert:I8,LucideShieldBan:N8,LucideShieldCheck:A8,LucideShieldClose:wo,LucideShieldEllipsis:P8,LucideShieldHalf:_8,LucideShieldMinus:R8,LucideShieldOff:T8,LucideShieldPlus:q8,LucideShieldQuestion:D8,LucideShieldX:wo,LucideShip:F8,LucideShipWheel:z8,LucideShirt:E8,LucideShoppingBag:O8,LucideShoppingBasket:H8,LucideShoppingCart:As,LucideShovel:V8,LucideShowerHead:B8,LucideShrink:U8,LucideShrub:$8,LucideShuffle:G8,LucideSidebar:so,LucideSidebarClose:no,LucideSidebarOpen:io,LucideSigma:W8,LucideSigmaSquare:hi,LucideSignal:Ic,LucideSignalHigh:Z8,LucideSignalLow:X8,LucideSignalMedium:J8,LucideSignalZero:Y8,LucideSignature:K8,LucideSignpost:e7,LucideSignpostBig:Q8,LucideSiren:t7,LucideSkipBack:a7,LucideSkipForward:r7,LucideSkull:n7,LucideSlack:o7,LucideSlash:i7,LucideSlashSquare:ui,LucideSlice:s7,LucideSliders:Mo,LucideSlidersHorizontal:Za,LucideSlidersVertical:Mo,LucideSmartphone:d7,LucideSmartphoneCharging:c7,LucideSmartphoneNfc:l7,LucideSmile:u7,LucideSmilePlus:h7,LucideSnail:p7,LucideSnowflake:y7,LucideSofa:m7,LucideSortAsc:br,LucideSortDesc:vr,LucideSoup:f7,LucideSpace:x7,LucideSpade:k7,LucideSparkle:g7,LucideSparkles:Va,LucideSpeaker:v7,LucideSpeech:w7,LucideSpellCheck:b7,LucideSpellCheck2:M7,LucideSpline:C7,LucideSplit:j7,LucideSplitSquareHorizontal:pi,LucideSplitSquareVertical:yi,LucideSprayCan:S7,LucideSprout:L7,LucideSquare:R7,LucideSquareActivity:bo,LucideSquareArrowDown:So,LucideSquareArrowDownLeft:Co,LucideSquareArrowDownRight:jo,LucideSquareArrowLeft:wa,LucideSquareArrowOutDownLeft:Lo,LucideSquareArrowOutDownRight:Io,LucideSquareArrowOutUpLeft:No,LucideSquareArrowOutUpRight:Ao,LucideSquareArrowRight:Ma,LucideSquareArrowUp:Ro,LucideSquareArrowUpLeft:Po,LucideSquareArrowUpRight:_o,LucideSquareAsterisk:To,LucideSquareBottomDashedScissors:qo,LucideSquareChartGantt:ea,LucideSquareCheck:zo,LucideSquareCheckBig:Do,LucideSquareChevronDown:Fo,LucideSquareChevronLeft:Eo,LucideSquareChevronRight:Oo,LucideSquareChevronUp:Ho,LucideSquareCode:Vo,LucideSquareDashed:$o,LucideSquareDashedBottom:N7,LucideSquareDashedBottomCode:I7,LucideSquareDashedKanban:Bo,LucideSquareDashedMousePointer:Uo,LucideSquareDivide:Go,LucideSquareDot:Wo,LucideSquareEqual:Zo,LucideSquareFunction:Xo,LucideSquareGanttChart:ea,LucideSquareKanban:Jo,LucideSquareLibrary:Yo,LucideSquareM:Ko,LucideSquareMenu:Qo,LucideSquareMinus:ei,LucideSquareMousePointer:ti,LucideSquareParking:ri,LucideSquareParkingOff:ai,LucideSquarePen:wt,LucideSquarePercent:ni,LucideSquarePi:oi,LucideSquarePilcrow:ii,LucideSquarePlay:si,LucideSquarePlus:ci,LucideSquarePower:li,LucideSquareRadical:A7,LucideSquareScissors:di,LucideSquareSigma:hi,LucideSquareSlash:ui,LucideSquareSplitHorizontal:pi,LucideSquareSplitVertical:yi,LucideSquareSquare:P7,LucideSquareStack:_7,LucideSquareTerminal:mi,LucideSquareUser:xi,LucideSquareUserRound:fi,LucideSquareX:ki,LucideSquircle:T7,LucideSquirrel:q7,LucideStamp:D7,LucideStar:qt,LucideStarHalf:z7,LucideStarOff:F7,LucideStars:Va,LucideStepBack:E7,LucideStepForward:O7,LucideStethoscope:H7,LucideSticker:V7,LucideStickyNote:B7,LucideStopCircle:mn,LucideStore:U7,LucideStretchHorizontal:$7,LucideStretchVertical:G7,LucideStrikethrough:W7,LucideSubscript:Z7,LucideSubtitles:Pr,LucideSun:Q7,LucideSunDim:X7,LucideSunMedium:J7,LucideSunMoon:Y7,LucideSunSnow:K7,LucideSunrise:ew,LucideSunset:tw,LucideSuperscript:aw,LucideSwatchBook:rw,LucideSwissFranc:nw,LucideSwitchCamera:ow,LucideSword:iw,LucideSwords:sw,LucideSyringe:cw,LucideTable:fw,LucideTable2:lw,LucideTableCellsMerge:dw,LucideTableCellsSplit:hw,LucideTableColumnsSplit:uw,LucideTableOfContents:pw,LucideTableProperties:yw,LucideTableRowsSplit:mw,LucideTablet:kw,LucideTabletSmartphone:xw,LucideTablets:gw,LucideTag:vw,LucideTags:ww,LucideTally1:Mw,LucideTally2:bw,LucideTally3:Cw,LucideTally4:jw,LucideTally5:Sw,LucideTangent:Lw,LucideTarget:Iw,LucideTelescope:Nw,LucideTent:Pw,LucideTentTree:Aw,LucideTerminal:_w,LucideTerminalSquare:mi,LucideTestTube:Rw,LucideTestTube2:gi,LucideTestTubeDiagonal:gi,LucideTestTubes:Tw,LucideText:Ew,LucideTextCursor:Dw,LucideTextCursorInput:qw,LucideTextQuote:zw,LucideTextSearch:Fw,LucideTextSelect:vi,LucideTextSelection:vi,LucideTheater:Ow,LucideThermometer:Bw,LucideThermometerSnowflake:Hw,LucideThermometerSun:Vw,LucideThumbsDown:Uw,LucideThumbsUp:$w,LucideTicket:Kw,LucideTicketCheck:Gw,LucideTicketMinus:Ww,LucideTicketPercent:Zw,LucideTicketPlus:Xw,LucideTicketSlash:Jw,LucideTicketX:Yw,LucideTickets:eM,LucideTicketsPlane:Qw,LucideTimer:rM,LucideTimerOff:tM,LucideTimerReset:aM,LucideToggleLeft:nM,LucideToggleRight:oM,LucideTornado:iM,LucideTorus:sM,LucideTouchpad:lM,LucideTouchpadOff:cM,LucideTowerControl:dM,LucideToyBrick:hM,LucideTractor:uM,LucideTrafficCone:pM,LucideTrain:wi,LucideTrainFront:mM,LucideTrainFrontTunnel:yM,LucideTrainTrack:fM,LucideTramFront:wi,LucideTrash:xM,LucideTrash2:Nc,LucideTreeDeciduous:kM,LucideTreePalm:Mi,LucideTreePine:gM,LucideTrees:vM,LucideTrello:wM,LucideTrendingDown:MM,LucideTrendingUp:$i,LucideTrendingUpDown:bM,LucideTriangle:jM,LucideTriangleAlert:bi,LucideTriangleRight:CM,LucideTrophy:SM,LucideTruck:LM,LucideTurtle:IM,LucideTv:AM,LucideTv2:Ci,LucideTvMinimal:Ci,LucideTvMinimalPlay:NM,LucideTwitch:PM,LucideTwitter:_M,LucideType:TM,LucideTypeOutline:RM,LucideUmbrella:DM,LucideUmbrellaOff:qM,LucideUnderline:zM,LucideUndo:OM,LucideUndo2:FM,LucideUndoDot:EM,LucideUnfoldHorizontal:HM,LucideUnfoldVertical:VM,LucideUngroup:BM,LucideUniversity:ji,LucideUnlink:$M,LucideUnlink2:UM,LucideUnlock:Jn,LucideUnlockKeyhole:Xn,LucideUnplug:GM,LucideUpload:Ps,LucideUploadCloud:wn,LucideUsb:WM,LucideUser:Ac,LucideUser2:Pi,LucideUserCheck:ZM,LucideUserCheck2:Si,LucideUserCircle:xn,LucideUserCircle2:fn,LucideUserCog:XM,LucideUserCog2:Li,LucideUserMinus:JM,LucideUserMinus2:Ii,LucideUserPen:YM,LucideUserPlus:KM,LucideUserPlus2:Ni,LucideUserRound:Pi,LucideUserRoundCheck:Si,LucideUserRoundCog:Li,LucideUserRoundMinus:Ii,LucideUserRoundPen:QM,LucideUserRoundPlus:Ni,LucideUserRoundSearch:eb,LucideUserRoundX:Ai,LucideUserSearch:tb,LucideUserSquare:xi,LucideUserSquare2:fi,LucideUserX:ab,LucideUserX2:Ai,LucideUsers:La,LucideUsers2:_i,LucideUsersRound:_i,LucideUtensils:Ti,LucideUtensilsCrossed:Ri,LucideUtilityPole:rb,LucideVariable:nb,LucideVault:ob,LucideVegan:ib,LucideVenetianMask:sb,LucideVerified:Sr,LucideVibrate:lb,LucideVibrateOff:cb,LucideVideo:hb,LucideVideoOff:db,LucideVideotape:ub,LucideView:pb,LucideVoicemail:yb,LucideVolleyball:mb,LucideVolume:vb,LucideVolume1:fb,LucideVolume2:xb,LucideVolumeOff:kb,LucideVolumeX:gb,LucideVote:wb,LucideWallet:bb,LucideWallet2:qi,LucideWalletCards:Mb,LucideWalletMinimal:qi,LucideWallpaper:Cb,LucideWand:jb,LucideWand2:Di,LucideWandSparkles:Di,LucideWarehouse:Sb,LucideWashingMachine:Lb,LucideWatch:Ib,LucideWaves:Nb,LucideWaypoints:Ab,LucideWebcam:Pb,LucideWebhook:Rb,LucideWebhookOff:_b,LucideWeight:Tb,LucideWheat:Db,LucideWheatOff:qb,LucideWholeWord:zb,LucideWifi:Vb,LucideWifiHigh:Fb,LucideWifiLow:Eb,LucideWifiOff:Ob,LucideWifiZero:Hb,LucideWind:Bb,LucideWine:$b,LucideWineOff:Ub,LucideWorkflow:Gb,LucideWorm:Wb,LucideWrapText:Zb,LucideWrench:Xb,LucideX:Xt,LucideXCircle:aa,LucideXOctagon:to,LucideXSquare:ki,LucideYoutube:Jb,LucideZap:Kb,LucideZapOff:Yb,LucideZoomIn:Qb,LucideZoomOut:e9,Luggage:Ek,LuggageIcon:Ek,MSquare:Ko,MSquareIcon:Ko,Magnet:Ok,MagnetIcon:Ok,Mail:ca,MailCheck:Hk,MailCheckIcon:Hk,MailIcon:ca,MailMinus:Vk,MailMinusIcon:Vk,MailOpen:Bk,MailOpenIcon:Bk,MailPlus:Uk,MailPlusIcon:Uk,MailQuestion:$k,MailQuestionIcon:$k,MailSearch:Gk,MailSearchIcon:Gk,MailWarning:Wk,MailWarningIcon:Wk,MailX:Zk,MailXIcon:Zk,Mailbox:Xk,MailboxIcon:Xk,Mails:Jk,MailsIcon:Jk,Map:cg,MapIcon:cg,MapPin:Et,MapPinCheck:Kk,MapPinCheckIcon:Kk,MapPinCheckInside:Yk,MapPinCheckInsideIcon:Yk,MapPinHouse:Qk,MapPinHouseIcon:Qk,MapPinIcon:Et,MapPinMinus:tg,MapPinMinusIcon:tg,MapPinMinusInside:eg,MapPinMinusInsideIcon:eg,MapPinOff:ag,MapPinOffIcon:ag,MapPinPlus:ng,MapPinPlusIcon:ng,MapPinPlusInside:rg,MapPinPlusInsideIcon:rg,MapPinX:ig,MapPinXIcon:ig,MapPinXInside:og,MapPinXInsideIcon:og,MapPinned:sg,MapPinnedIcon:sg,Martini:lg,MartiniIcon:lg,Maximize:hg,Maximize2:dg,Maximize2Icon:dg,MaximizeIcon:hg,Medal:ug,MedalIcon:ug,Megaphone:yg,MegaphoneIcon:yg,MegaphoneOff:pg,MegaphoneOffIcon:pg,Meh:mg,MehIcon:mg,MemoryStick:fg,MemoryStickIcon:fg,Menu:js,MenuIcon:js,MenuSquare:Qo,MenuSquareIcon:Qo,Merge:xg,MergeIcon:xg,MessageCircle:Ig,MessageCircleCode:kg,MessageCircleCodeIcon:kg,MessageCircleDashed:gg,MessageCircleDashedIcon:gg,MessageCircleHeart:vg,MessageCircleHeartIcon:vg,MessageCircleIcon:Ig,MessageCircleMore:wg,MessageCircleMoreIcon:wg,MessageCircleOff:Mg,MessageCircleOffIcon:Mg,MessageCirclePlus:bg,MessageCirclePlusIcon:bg,MessageCircleQuestion:Cg,MessageCircleQuestionIcon:Cg,MessageCircleReply:jg,MessageCircleReplyIcon:jg,MessageCircleWarning:Sg,MessageCircleWarningIcon:Sg,MessageCircleX:Lg,MessageCircleXIcon:Lg,MessageSquare:Ss,MessageSquareCode:Ng,MessageSquareCodeIcon:Ng,MessageSquareDashed:Ag,MessageSquareDashedIcon:Ag,MessageSquareDiff:Pg,MessageSquareDiffIcon:Pg,MessageSquareDot:_g,MessageSquareDotIcon:_g,MessageSquareHeart:Rg,MessageSquareHeartIcon:Rg,MessageSquareIcon:Ss,MessageSquareLock:Tg,MessageSquareLockIcon:Tg,MessageSquareMore:qg,MessageSquareMoreIcon:qg,MessageSquareOff:Dg,MessageSquareOffIcon:Dg,MessageSquarePlus:zg,MessageSquarePlusIcon:zg,MessageSquareQuote:Fg,MessageSquareQuoteIcon:Fg,MessageSquareReply:Eg,MessageSquareReplyIcon:Eg,MessageSquareShare:Og,MessageSquareShareIcon:Og,MessageSquareText:Hg,MessageSquareTextIcon:Hg,MessageSquareWarning:Vg,MessageSquareWarningIcon:Vg,MessageSquareX:Bg,MessageSquareXIcon:Bg,MessagesSquare:Ug,MessagesSquareIcon:Ug,Mic:Gg,Mic2:Yn,Mic2Icon:Yn,MicIcon:Gg,MicOff:$g,MicOffIcon:$g,MicVocal:Yn,MicVocalIcon:Yn,Microchip:Wg,MicrochipIcon:Wg,Microscope:Zg,MicroscopeIcon:Zg,Microwave:Xg,MicrowaveIcon:Xg,Milestone:Jg,MilestoneIcon:Jg,Milk:Kg,MilkIcon:Kg,MilkOff:Yg,MilkOffIcon:Yg,Minimize:e5,Minimize2:Qg,Minimize2Icon:Qg,MinimizeIcon:e5,Minus:bc,MinusCircle:on,MinusCircleIcon:on,MinusIcon:bc,MinusSquare:ei,MinusSquareIcon:ei,Monitor:p5,MonitorCheck:t5,MonitorCheckIcon:t5,MonitorCog:a5,MonitorCogIcon:a5,MonitorDot:r5,MonitorDotIcon:r5,MonitorDown:n5,MonitorDownIcon:n5,MonitorIcon:p5,MonitorOff:o5,MonitorOffIcon:o5,MonitorPause:i5,MonitorPauseIcon:i5,MonitorPlay:s5,MonitorPlayIcon:s5,MonitorSmartphone:c5,MonitorSmartphoneIcon:c5,MonitorSpeaker:l5,MonitorSpeakerIcon:l5,MonitorStop:d5,MonitorStopIcon:d5,MonitorUp:h5,MonitorUpIcon:h5,MonitorX:u5,MonitorXIcon:u5,Moon:m5,MoonIcon:m5,MoonStar:y5,MoonStarIcon:y5,MoreHorizontal:Nn,MoreHorizontalIcon:Nn,MoreVertical:In,MoreVerticalIcon:In,Mountain:x5,MountainIcon:x5,MountainSnow:f5,MountainSnowIcon:f5,Mouse:b5,MouseIcon:b5,MouseOff:k5,MouseOffIcon:k5,MousePointer:M5,MousePointer2:g5,MousePointer2Icon:g5,MousePointerBan:v5,MousePointerBanIcon:v5,MousePointerClick:w5,MousePointerClickIcon:w5,MousePointerIcon:M5,MousePointerSquareDashed:Uo,MousePointerSquareDashedIcon:Uo,Move:D5,Move3D:Kn,Move3DIcon:Kn,Move3d:Kn,Move3dIcon:Kn,MoveDiagonal:j5,MoveDiagonal2:C5,MoveDiagonal2Icon:C5,MoveDiagonalIcon:j5,MoveDown:I5,MoveDownIcon:I5,MoveDownLeft:S5,MoveDownLeftIcon:S5,MoveDownRight:L5,MoveDownRightIcon:L5,MoveHorizontal:N5,MoveHorizontalIcon:N5,MoveIcon:D5,MoveLeft:A5,MoveLeftIcon:A5,MoveRight:P5,MoveRightIcon:P5,MoveUp:T5,MoveUpIcon:T5,MoveUpLeft:_5,MoveUpLeftIcon:_5,MoveUpRight:R5,MoveUpRightIcon:R5,MoveVertical:q5,MoveVerticalIcon:q5,Music:O5,Music2:z5,Music2Icon:z5,Music3:F5,Music3Icon:F5,Music4:E5,Music4Icon:E5,MusicIcon:O5,Navigation:U5,Navigation2:V5,Navigation2Icon:V5,Navigation2Off:H5,Navigation2OffIcon:H5,NavigationIcon:U5,NavigationOff:B5,NavigationOffIcon:B5,Network:$5,NetworkIcon:$5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:G5,NfcIcon:G5,Notebook:J5,NotebookIcon:J5,NotebookPen:W5,NotebookPenIcon:W5,NotebookTabs:Z5,NotebookTabsIcon:Z5,NotebookText:X5,NotebookTextIcon:X5,NotepadText:K5,NotepadTextDashed:Y5,NotepadTextDashedIcon:Y5,NotepadTextIcon:K5,Nut:e3,NutIcon:e3,NutOff:Q5,NutOffIcon:Q5,Octagon:a3,OctagonAlert:Qn,OctagonAlertIcon:Qn,OctagonIcon:a3,OctagonMinus:t3,OctagonMinusIcon:t3,OctagonPause:eo,OctagonPauseIcon:eo,OctagonX:to,OctagonXIcon:to,Omega:r3,OmegaIcon:r3,Option:n3,OptionIcon:n3,Orbit:o3,OrbitIcon:o3,Origami:i3,OrigamiIcon:i3,Outdent:$n,OutdentIcon:$n,Package:y3,Package2:s3,Package2Icon:s3,PackageCheck:c3,PackageCheckIcon:c3,PackageIcon:y3,PackageMinus:l3,PackageMinusIcon:l3,PackageOpen:d3,PackageOpenIcon:d3,PackagePlus:h3,PackagePlusIcon:h3,PackageSearch:u3,PackageSearchIcon:u3,PackageX:p3,PackageXIcon:p3,PaintBucket:m3,PaintBucketIcon:m3,PaintRoller:f3,PaintRollerIcon:f3,Paintbrush:x3,Paintbrush2:ao,Paintbrush2Icon:ao,PaintbrushIcon:x3,PaintbrushVertical:ao,PaintbrushVerticalIcon:ao,Palette:k3,PaletteIcon:k3,Palmtree:Mi,PalmtreeIcon:Mi,PanelBottom:w3,PanelBottomClose:g3,PanelBottomCloseIcon:g3,PanelBottomDashed:ro,PanelBottomDashedIcon:ro,PanelBottomIcon:w3,PanelBottomInactive:ro,PanelBottomInactiveIcon:ro,PanelBottomOpen:v3,PanelBottomOpenIcon:v3,PanelLeft:so,PanelLeftClose:no,PanelLeftCloseIcon:no,PanelLeftDashed:oo,PanelLeftDashedIcon:oo,PanelLeftIcon:so,PanelLeftInactive:oo,PanelLeftInactiveIcon:oo,PanelLeftOpen:io,PanelLeftOpenIcon:io,PanelRight:C3,PanelRightClose:M3,PanelRightCloseIcon:M3,PanelRightDashed:co,PanelRightDashedIcon:co,PanelRightIcon:C3,PanelRightInactive:co,PanelRightInactiveIcon:co,PanelRightOpen:b3,PanelRightOpenIcon:b3,PanelTop:L3,PanelTopClose:j3,PanelTopCloseIcon:j3,PanelTopDashed:lo,PanelTopDashedIcon:lo,PanelTopIcon:L3,PanelTopInactive:lo,PanelTopInactiveIcon:lo,PanelTopOpen:S3,PanelTopOpenIcon:S3,PanelsLeftBottom:I3,PanelsLeftBottomIcon:I3,PanelsLeftRight:Cn,PanelsLeftRightIcon:Cn,PanelsRightBottom:N3,PanelsRightBottomIcon:N3,PanelsTopBottom:ko,PanelsTopBottomIcon:ko,PanelsTopLeft:ho,PanelsTopLeftIcon:ho,Paperclip:A3,PaperclipIcon:A3,Parentheses:P3,ParenthesesIcon:P3,ParkingCircle:cn,ParkingCircleIcon:cn,ParkingCircleOff:sn,ParkingCircleOffIcon:sn,ParkingMeter:_3,ParkingMeterIcon:_3,ParkingSquare:ri,ParkingSquareIcon:ri,ParkingSquareOff:ai,ParkingSquareOffIcon:ai,PartyPopper:R3,PartyPopperIcon:R3,Pause:T3,PauseCircle:ln,PauseCircleIcon:ln,PauseIcon:T3,PauseOctagon:eo,PauseOctagonIcon:eo,PawPrint:q3,PawPrintIcon:q3,PcCase:D3,PcCaseIcon:D3,Pen:po,PenBox:wt,PenBoxIcon:wt,PenIcon:po,PenLine:uo,PenLineIcon:uo,PenOff:z3,PenOffIcon:z3,PenSquare:wt,PenSquareIcon:wt,PenTool:F3,PenToolIcon:F3,Pencil:V3,PencilIcon:V3,PencilLine:E3,PencilLineIcon:E3,PencilOff:O3,PencilOffIcon:O3,PencilRuler:H3,PencilRulerIcon:H3,Pentagon:B3,PentagonIcon:B3,Percent:U3,PercentCircle:dn,PercentCircleIcon:dn,PercentDiamond:Sn,PercentDiamondIcon:Sn,PercentIcon:U3,PercentSquare:ni,PercentSquareIcon:ni,PersonStanding:$3,PersonStandingIcon:$3,PhilippinePeso:G3,PhilippinePesoIcon:G3,Phone:Ui,PhoneCall:W3,PhoneCallIcon:W3,PhoneForwarded:Z3,PhoneForwardedIcon:Z3,PhoneIcon:Ui,PhoneIncoming:X3,PhoneIncomingIcon:X3,PhoneMissed:J3,PhoneMissedIcon:J3,PhoneOff:Y3,PhoneOffIcon:Y3,PhoneOutgoing:K3,PhoneOutgoingIcon:K3,Pi:Q3,PiIcon:Q3,PiSquare:oi,PiSquareIcon:oi,Piano:ev,PianoIcon:ev,Pickaxe:tv,PickaxeIcon:tv,PictureInPicture:rv,PictureInPicture2:av,PictureInPicture2Icon:av,PictureInPictureIcon:rv,PieChart:Vr,PieChartIcon:Vr,PiggyBank:nv,PiggyBankIcon:nv,Pilcrow:sv,PilcrowIcon:sv,PilcrowLeft:ov,PilcrowLeftIcon:ov,PilcrowRight:iv,PilcrowRightIcon:iv,PilcrowSquare:ii,PilcrowSquareIcon:ii,Pill:lv,PillBottle:cv,PillBottleIcon:cv,PillIcon:lv,Pin:hv,PinIcon:hv,PinOff:dv,PinOffIcon:dv,Pipette:uv,PipetteIcon:uv,Pizza:pv,PizzaIcon:pv,Plane:fv,PlaneIcon:fv,PlaneLanding:yv,PlaneLandingIcon:yv,PlaneTakeoff:mv,PlaneTakeoffIcon:mv,Play:Cc,PlayCircle:hn,PlayCircleIcon:hn,PlayIcon:Cc,PlaySquare:si,PlaySquareIcon:si,Plug:kv,Plug2:xv,Plug2Icon:xv,PlugIcon:kv,PlugZap:yo,PlugZap2:yo,PlugZap2Icon:yo,PlugZapIcon:yo,Plus:jc,PlusCircle:un,PlusCircleIcon:un,PlusIcon:jc,PlusSquare:ci,PlusSquareIcon:ci,Pocket:vv,PocketIcon:vv,PocketKnife:gv,PocketKnifeIcon:gv,Podcast:wv,PodcastIcon:wv,Pointer:bv,PointerIcon:bv,PointerOff:Mv,PointerOffIcon:Mv,Popcorn:Cv,PopcornIcon:Cv,Popsicle:jv,PopsicleIcon:jv,PoundSterling:Sv,PoundSterlingIcon:Sv,Power:Iv,PowerCircle:pn,PowerCircleIcon:pn,PowerIcon:Iv,PowerOff:Lv,PowerOffIcon:Lv,PowerSquare:li,PowerSquareIcon:li,Presentation:Nv,PresentationIcon:Nv,Printer:Pv,PrinterCheck:Av,PrinterCheckIcon:Av,PrinterIcon:Pv,Projector:_v,ProjectorIcon:_v,Proportions:Rv,ProportionsIcon:Rv,Puzzle:Tv,PuzzleIcon:Tv,Pyramid:qv,PyramidIcon:qv,QrCode:Dv,QrCodeIcon:Dv,Quote:Ls,QuoteIcon:Ls,Rabbit:zv,RabbitIcon:zv,Radar:Fv,RadarIcon:Fv,Radiation:Ev,RadiationIcon:Ev,Radical:Ov,RadicalIcon:Ov,Radio:Bv,RadioIcon:Bv,RadioReceiver:Hv,RadioReceiverIcon:Hv,RadioTower:Vv,RadioTowerIcon:Vv,Radius:Uv,RadiusIcon:Uv,RailSymbol:$v,RailSymbolIcon:$v,Rainbow:Gv,RainbowIcon:Gv,Rat:Wv,RatIcon:Wv,Ratio:Zv,RatioIcon:Zv,Receipt:r6,ReceiptCent:Xv,ReceiptCentIcon:Xv,ReceiptEuro:Jv,ReceiptEuroIcon:Jv,ReceiptIcon:r6,ReceiptIndianRupee:Yv,ReceiptIndianRupeeIcon:Yv,ReceiptJapaneseYen:Kv,ReceiptJapaneseYenIcon:Kv,ReceiptPoundSterling:Qv,ReceiptPoundSterlingIcon:Qv,ReceiptRussianRuble:e6,ReceiptRussianRubleIcon:e6,ReceiptSwissFranc:t6,ReceiptSwissFrancIcon:t6,ReceiptText:a6,ReceiptTextIcon:a6,RectangleEllipsis:mo,RectangleEllipsisIcon:mo,RectangleHorizontal:n6,RectangleHorizontalIcon:n6,RectangleVertical:o6,RectangleVerticalIcon:o6,Recycle:i6,RecycleIcon:i6,Redo:l6,Redo2:s6,Redo2Icon:s6,RedoDot:c6,RedoDotIcon:c6,RedoIcon:l6,RefreshCcw:h6,RefreshCcwDot:d6,RefreshCcwDotIcon:d6,RefreshCcwIcon:h6,RefreshCw:p6,RefreshCwIcon:p6,RefreshCwOff:u6,RefreshCwOffIcon:u6,Refrigerator:y6,RefrigeratorIcon:y6,Regex:m6,RegexIcon:m6,RemoveFormatting:f6,RemoveFormattingIcon:f6,Repeat:g6,Repeat1:x6,Repeat1Icon:x6,Repeat2:k6,Repeat2Icon:k6,RepeatIcon:g6,Replace:w6,ReplaceAll:v6,ReplaceAllIcon:v6,ReplaceIcon:w6,Reply:b6,ReplyAll:M6,ReplyAllIcon:M6,ReplyIcon:b6,Rewind:C6,RewindIcon:C6,Ribbon:j6,RibbonIcon:j6,Rocket:S6,RocketIcon:S6,RockingChair:L6,RockingChairIcon:L6,RollerCoaster:I6,RollerCoasterIcon:I6,Rotate3D:fo,Rotate3DIcon:fo,Rotate3d:fo,Rotate3dIcon:fo,RotateCcw:A6,RotateCcwIcon:A6,RotateCcwSquare:N6,RotateCcwSquareIcon:N6,RotateCw:_6,RotateCwIcon:_6,RotateCwSquare:P6,RotateCwSquareIcon:P6,Route:T6,RouteIcon:T6,RouteOff:R6,RouteOffIcon:R6,Router:q6,RouterIcon:q6,Rows:xo,Rows2:xo,Rows2Icon:xo,Rows3:ko,Rows3Icon:ko,Rows4:D6,Rows4Icon:D6,RowsIcon:xo,Rss:z6,RssIcon:z6,Ruler:F6,RulerIcon:F6,RussianRuble:E6,RussianRubleIcon:E6,Sailboat:O6,SailboatIcon:O6,Salad:H6,SaladIcon:H6,Sandwich:V6,SandwichIcon:V6,Satellite:U6,SatelliteDish:B6,SatelliteDishIcon:B6,SatelliteIcon:U6,Save:W6,SaveAll:$6,SaveAllIcon:$6,SaveIcon:W6,SaveOff:G6,SaveOffIcon:G6,Scale:Z6,Scale3D:go,Scale3DIcon:go,Scale3d:go,Scale3dIcon:go,ScaleIcon:Z6,Scaling:X6,ScalingIcon:X6,Scan:r8,ScanBarcode:J6,ScanBarcodeIcon:J6,ScanEye:Y6,ScanEyeIcon:Y6,ScanFace:K6,ScanFaceIcon:K6,ScanIcon:r8,ScanLine:Q6,ScanLineIcon:Q6,ScanQrCode:e8,ScanQrCodeIcon:e8,ScanSearch:t8,ScanSearchIcon:t8,ScanText:a8,ScanTextIcon:a8,ScatterChart:Br,ScatterChartIcon:Br,School:n8,School2:ji,School2Icon:ji,SchoolIcon:n8,Scissors:i8,ScissorsIcon:i8,ScissorsLineDashed:o8,ScissorsLineDashedIcon:o8,ScissorsSquare:di,ScissorsSquareDashedBottom:qo,ScissorsSquareDashedBottomIcon:qo,ScissorsSquareIcon:di,ScreenShare:c8,ScreenShareIcon:c8,ScreenShareOff:s8,ScreenShareOffIcon:s8,Scroll:d8,ScrollIcon:d8,ScrollText:l8,ScrollTextIcon:l8,Search:Ot,SearchCheck:h8,SearchCheckIcon:h8,SearchCode:u8,SearchCodeIcon:u8,SearchIcon:Ot,SearchSlash:p8,SearchSlashIcon:p8,SearchX:y8,SearchXIcon:y8,Section:m8,SectionIcon:m8,Send:Sc,SendHorizonal:vo,SendHorizonalIcon:vo,SendHorizontal:vo,SendHorizontalIcon:vo,SendIcon:Sc,SendToBack:f8,SendToBackIcon:f8,SeparatorHorizontal:x8,SeparatorHorizontalIcon:x8,SeparatorVertical:k8,SeparatorVerticalIcon:k8,Server:M8,ServerCog:g8,ServerCogIcon:g8,ServerCrash:v8,ServerCrashIcon:v8,ServerIcon:M8,ServerOff:w8,ServerOffIcon:w8,Settings:Is,Settings2:b8,Settings2Icon:b8,SettingsIcon:Is,Shapes:C8,ShapesIcon:C8,Share:j8,Share2:Ns,Share2Icon:Ns,ShareIcon:j8,Sheet:S8,SheetIcon:S8,Shell:L8,ShellIcon:L8,Shield:Lc,ShieldAlert:I8,ShieldAlertIcon:I8,ShieldBan:N8,ShieldBanIcon:N8,ShieldCheck:A8,ShieldCheckIcon:A8,ShieldClose:wo,ShieldCloseIcon:wo,ShieldEllipsis:P8,ShieldEllipsisIcon:P8,ShieldHalf:_8,ShieldHalfIcon:_8,ShieldIcon:Lc,ShieldMinus:R8,ShieldMinusIcon:R8,ShieldOff:T8,ShieldOffIcon:T8,ShieldPlus:q8,ShieldPlusIcon:q8,ShieldQuestion:D8,ShieldQuestionIcon:D8,ShieldX:wo,ShieldXIcon:wo,Ship:F8,ShipIcon:F8,ShipWheel:z8,ShipWheelIcon:z8,Shirt:E8,ShirtIcon:E8,ShoppingBag:O8,ShoppingBagIcon:O8,ShoppingBasket:H8,ShoppingBasketIcon:H8,ShoppingCart:As,ShoppingCartIcon:As,Shovel:V8,ShovelIcon:V8,ShowerHead:B8,ShowerHeadIcon:B8,Shrink:U8,ShrinkIcon:U8,Shrub:$8,ShrubIcon:$8,Shuffle:G8,ShuffleIcon:G8,Sidebar:so,SidebarClose:no,SidebarCloseIcon:no,SidebarIcon:so,SidebarOpen:io,SidebarOpenIcon:io,Sigma:W8,SigmaIcon:W8,SigmaSquare:hi,SigmaSquareIcon:hi,Signal:Ic,SignalHigh:Z8,SignalHighIcon:Z8,SignalIcon:Ic,SignalLow:X8,SignalLowIcon:X8,SignalMedium:J8,SignalMediumIcon:J8,SignalZero:Y8,SignalZeroIcon:Y8,Signature:K8,SignatureIcon:K8,Signpost:e7,SignpostBig:Q8,SignpostBigIcon:Q8,SignpostIcon:e7,Siren:t7,SirenIcon:t7,SkipBack:a7,SkipBackIcon:a7,SkipForward:r7,SkipForwardIcon:r7,Skull:n7,SkullIcon:n7,Slack:o7,SlackIcon:o7,Slash:i7,SlashIcon:i7,SlashSquare:ui,SlashSquareIcon:ui,Slice:s7,SliceIcon:s7,Sliders:Mo,SlidersHorizontal:Za,SlidersHorizontalIcon:Za,SlidersIcon:Mo,SlidersVertical:Mo,SlidersVerticalIcon:Mo,Smartphone:d7,SmartphoneCharging:c7,SmartphoneChargingIcon:c7,SmartphoneIcon:d7,SmartphoneNfc:l7,SmartphoneNfcIcon:l7,Smile:u7,SmileIcon:u7,SmilePlus:h7,SmilePlusIcon:h7,Snail:p7,SnailIcon:p7,Snowflake:y7,SnowflakeIcon:y7,Sofa:m7,SofaIcon:m7,SortAsc:br,SortAscIcon:br,SortDesc:vr,SortDescIcon:vr,Soup:f7,SoupIcon:f7,Space:x7,SpaceIcon:x7,Spade:k7,SpadeIcon:k7,Sparkle:g7,SparkleIcon:g7,Sparkles:Va,SparklesIcon:Va,Speaker:v7,SpeakerIcon:v7,Speech:w7,SpeechIcon:w7,SpellCheck:b7,SpellCheck2:M7,SpellCheck2Icon:M7,SpellCheckIcon:b7,Spline:C7,SplineIcon:C7,Split:j7,SplitIcon:j7,SplitSquareHorizontal:pi,SplitSquareHorizontalIcon:pi,SplitSquareVertical:yi,SplitSquareVerticalIcon:yi,SprayCan:S7,SprayCanIcon:S7,Sprout:L7,SproutIcon:L7,Square:R7,SquareActivity:bo,SquareActivityIcon:bo,SquareArrowDown:So,SquareArrowDownIcon:So,SquareArrowDownLeft:Co,SquareArrowDownLeftIcon:Co,SquareArrowDownRight:jo,SquareArrowDownRightIcon:jo,SquareArrowLeft:wa,SquareArrowLeftIcon:wa,SquareArrowOutDownLeft:Lo,SquareArrowOutDownLeftIcon:Lo,SquareArrowOutDownRight:Io,SquareArrowOutDownRightIcon:Io,SquareArrowOutUpLeft:No,SquareArrowOutUpLeftIcon:No,SquareArrowOutUpRight:Ao,SquareArrowOutUpRightIcon:Ao,SquareArrowRight:Ma,SquareArrowRightIcon:Ma,SquareArrowUp:Ro,SquareArrowUpIcon:Ro,SquareArrowUpLeft:Po,SquareArrowUpLeftIcon:Po,SquareArrowUpRight:_o,SquareArrowUpRightIcon:_o,SquareAsterisk:To,SquareAsteriskIcon:To,SquareBottomDashedScissors:qo,SquareBottomDashedScissorsIcon:qo,SquareChartGantt:ea,SquareChartGanttIcon:ea,SquareCheck:zo,SquareCheckBig:Do,SquareCheckBigIcon:Do,SquareCheckIcon:zo,SquareChevronDown:Fo,SquareChevronDownIcon:Fo,SquareChevronLeft:Eo,SquareChevronLeftIcon:Eo,SquareChevronRight:Oo,SquareChevronRightIcon:Oo,SquareChevronUp:Ho,SquareChevronUpIcon:Ho,SquareCode:Vo,SquareCodeIcon:Vo,SquareDashed:$o,SquareDashedBottom:N7,SquareDashedBottomCode:I7,SquareDashedBottomCodeIcon:I7,SquareDashedBottomIcon:N7,SquareDashedIcon:$o,SquareDashedKanban:Bo,SquareDashedKanbanIcon:Bo,SquareDashedMousePointer:Uo,SquareDashedMousePointerIcon:Uo,SquareDivide:Go,SquareDivideIcon:Go,SquareDot:Wo,SquareDotIcon:Wo,SquareEqual:Zo,SquareEqualIcon:Zo,SquareFunction:Xo,SquareFunctionIcon:Xo,SquareGanttChart:ea,SquareGanttChartIcon:ea,SquareIcon:R7,SquareKanban:Jo,SquareKanbanIcon:Jo,SquareLibrary:Yo,SquareLibraryIcon:Yo,SquareM:Ko,SquareMIcon:Ko,SquareMenu:Qo,SquareMenuIcon:Qo,SquareMinus:ei,SquareMinusIcon:ei,SquareMousePointer:ti,SquareMousePointerIcon:ti,SquareParking:ri,SquareParkingIcon:ri,SquareParkingOff:ai,SquareParkingOffIcon:ai,SquarePen:wt,SquarePenIcon:wt,SquarePercent:ni,SquarePercentIcon:ni,SquarePi:oi,SquarePiIcon:oi,SquarePilcrow:ii,SquarePilcrowIcon:ii,SquarePlay:si,SquarePlayIcon:si,SquarePlus:ci,SquarePlusIcon:ci,SquarePower:li,SquarePowerIcon:li,SquareRadical:A7,SquareRadicalIcon:A7,SquareScissors:di,SquareScissorsIcon:di,SquareSigma:hi,SquareSigmaIcon:hi,SquareSlash:ui,SquareSlashIcon:ui,SquareSplitHorizontal:pi,SquareSplitHorizontalIcon:pi,SquareSplitVertical:yi,SquareSplitVerticalIcon:yi,SquareSquare:P7,SquareSquareIcon:P7,SquareStack:_7,SquareStackIcon:_7,SquareTerminal:mi,SquareTerminalIcon:mi,SquareUser:xi,SquareUserIcon:xi,SquareUserRound:fi,SquareUserRoundIcon:fi,SquareX:ki,SquareXIcon:ki,Squircle:T7,SquircleIcon:T7,Squirrel:q7,SquirrelIcon:q7,Stamp:D7,StampIcon:D7,Star:qt,StarHalf:z7,StarHalfIcon:z7,StarIcon:qt,StarOff:F7,StarOffIcon:F7,Stars:Va,StarsIcon:Va,StepBack:E7,StepBackIcon:E7,StepForward:O7,StepForwardIcon:O7,Stethoscope:H7,StethoscopeIcon:H7,Sticker:V7,StickerIcon:V7,StickyNote:B7,StickyNoteIcon:B7,StopCircle:mn,StopCircleIcon:mn,Store:U7,StoreIcon:U7,StretchHorizontal:$7,StretchHorizontalIcon:$7,StretchVertical:G7,StretchVerticalIcon:G7,Strikethrough:W7,StrikethroughIcon:W7,Subscript:Z7,SubscriptIcon:Z7,Subtitles:Pr,SubtitlesIcon:Pr,Sun:Q7,SunDim:X7,SunDimIcon:X7,SunIcon:Q7,SunMedium:J7,SunMediumIcon:J7,SunMoon:Y7,SunMoonIcon:Y7,SunSnow:K7,SunSnowIcon:K7,Sunrise:ew,SunriseIcon:ew,Sunset:tw,SunsetIcon:tw,Superscript:aw,SuperscriptIcon:aw,SwatchBook:rw,SwatchBookIcon:rw,SwissFranc:nw,SwissFrancIcon:nw,SwitchCamera:ow,SwitchCameraIcon:ow,Sword:iw,SwordIcon:iw,Swords:sw,SwordsIcon:sw,Syringe:cw,SyringeIcon:cw,Table:fw,Table2:lw,Table2Icon:lw,TableCellsMerge:dw,TableCellsMergeIcon:dw,TableCellsSplit:hw,TableCellsSplitIcon:hw,TableColumnsSplit:uw,TableColumnsSplitIcon:uw,TableIcon:fw,TableOfContents:pw,TableOfContentsIcon:pw,TableProperties:yw,TablePropertiesIcon:yw,TableRowsSplit:mw,TableRowsSplitIcon:mw,Tablet:kw,TabletIcon:kw,TabletSmartphone:xw,TabletSmartphoneIcon:xw,Tablets:gw,TabletsIcon:gw,Tag:vw,TagIcon:vw,Tags:ww,TagsIcon:ww,Tally1:Mw,Tally1Icon:Mw,Tally2:bw,Tally2Icon:bw,Tally3:Cw,Tally3Icon:Cw,Tally4:jw,Tally4Icon:jw,Tally5:Sw,Tally5Icon:Sw,Tangent:Lw,TangentIcon:Lw,Target:Iw,TargetIcon:Iw,Telescope:Nw,TelescopeIcon:Nw,Tent:Pw,TentIcon:Pw,TentTree:Aw,TentTreeIcon:Aw,Terminal:_w,TerminalIcon:_w,TerminalSquare:mi,TerminalSquareIcon:mi,TestTube:Rw,TestTube2:gi,TestTube2Icon:gi,TestTubeDiagonal:gi,TestTubeDiagonalIcon:gi,TestTubeIcon:Rw,TestTubes:Tw,TestTubesIcon:Tw,Text:Ew,TextCursor:Dw,TextCursorIcon:Dw,TextCursorInput:qw,TextCursorInputIcon:qw,TextIcon:Ew,TextQuote:zw,TextQuoteIcon:zw,TextSearch:Fw,TextSearchIcon:Fw,TextSelect:vi,TextSelectIcon:vi,TextSelection:vi,TextSelectionIcon:vi,Theater:Ow,TheaterIcon:Ow,Thermometer:Bw,ThermometerIcon:Bw,ThermometerSnowflake:Hw,ThermometerSnowflakeIcon:Hw,ThermometerSun:Vw,ThermometerSunIcon:Vw,ThumbsDown:Uw,ThumbsDownIcon:Uw,ThumbsUp:$w,ThumbsUpIcon:$w,Ticket:Kw,TicketCheck:Gw,TicketCheckIcon:Gw,TicketIcon:Kw,TicketMinus:Ww,TicketMinusIcon:Ww,TicketPercent:Zw,TicketPercentIcon:Zw,TicketPlus:Xw,TicketPlusIcon:Xw,TicketSlash:Jw,TicketSlashIcon:Jw,TicketX:Yw,TicketXIcon:Yw,Tickets:eM,TicketsIcon:eM,TicketsPlane:Qw,TicketsPlaneIcon:Qw,Timer:rM,TimerIcon:rM,TimerOff:tM,TimerOffIcon:tM,TimerReset:aM,TimerResetIcon:aM,ToggleLeft:nM,ToggleLeftIcon:nM,ToggleRight:oM,ToggleRightIcon:oM,Tornado:iM,TornadoIcon:iM,Torus:sM,TorusIcon:sM,Touchpad:lM,TouchpadIcon:lM,TouchpadOff:cM,TouchpadOffIcon:cM,TowerControl:dM,TowerControlIcon:dM,ToyBrick:hM,ToyBrickIcon:hM,Tractor:uM,TractorIcon:uM,TrafficCone:pM,TrafficConeIcon:pM,Train:wi,TrainFront:mM,TrainFrontIcon:mM,TrainFrontTunnel:yM,TrainFrontTunnelIcon:yM,TrainIcon:wi,TrainTrack:fM,TrainTrackIcon:fM,TramFront:wi,TramFrontIcon:wi,Trash:xM,Trash2:Nc,Trash2Icon:Nc,TrashIcon:xM,TreeDeciduous:kM,TreeDeciduousIcon:kM,TreePalm:Mi,TreePalmIcon:Mi,TreePine:gM,TreePineIcon:gM,Trees:vM,TreesIcon:vM,Trello:wM,TrelloIcon:wM,TrendingDown:MM,TrendingDownIcon:MM,TrendingUp:$i,TrendingUpDown:bM,TrendingUpDownIcon:bM,TrendingUpIcon:$i,Triangle:jM,TriangleAlert:bi,TriangleAlertIcon:bi,TriangleIcon:jM,TriangleRight:CM,TriangleRightIcon:CM,Trophy:SM,TrophyIcon:SM,Truck:LM,TruckIcon:LM,Turtle:IM,TurtleIcon:IM,Tv:AM,Tv2:Ci,Tv2Icon:Ci,TvIcon:AM,TvMinimal:Ci,TvMinimalIcon:Ci,TvMinimalPlay:NM,TvMinimalPlayIcon:NM,Twitch:PM,TwitchIcon:PM,Twitter:_M,TwitterIcon:_M,Type:TM,TypeIcon:TM,TypeOutline:RM,TypeOutlineIcon:RM,Umbrella:DM,UmbrellaIcon:DM,UmbrellaOff:qM,UmbrellaOffIcon:qM,Underline:zM,UnderlineIcon:zM,Undo:OM,Undo2:FM,Undo2Icon:FM,UndoDot:EM,UndoDotIcon:EM,UndoIcon:OM,UnfoldHorizontal:HM,UnfoldHorizontalIcon:HM,UnfoldVertical:VM,UnfoldVerticalIcon:VM,Ungroup:BM,UngroupIcon:BM,University:ji,UniversityIcon:ji,Unlink:$M,Unlink2:UM,Unlink2Icon:UM,UnlinkIcon:$M,Unlock:Jn,UnlockIcon:Jn,UnlockKeyhole:Xn,UnlockKeyholeIcon:Xn,Unplug:GM,UnplugIcon:GM,Upload:Ps,UploadCloud:wn,UploadCloudIcon:wn,UploadIcon:Ps,Usb:WM,UsbIcon:WM,User:Ac,User2:Pi,User2Icon:Pi,UserCheck:ZM,UserCheck2:Si,UserCheck2Icon:Si,UserCheckIcon:ZM,UserCircle:xn,UserCircle2:fn,UserCircle2Icon:fn,UserCircleIcon:xn,UserCog:XM,UserCog2:Li,UserCog2Icon:Li,UserCogIcon:XM,UserIcon:Ac,UserMinus:JM,UserMinus2:Ii,UserMinus2Icon:Ii,UserMinusIcon:JM,UserPen:YM,UserPenIcon:YM,UserPlus:KM,UserPlus2:Ni,UserPlus2Icon:Ni,UserPlusIcon:KM,UserRound:Pi,UserRoundCheck:Si,UserRoundCheckIcon:Si,UserRoundCog:Li,UserRoundCogIcon:Li,UserRoundIcon:Pi,UserRoundMinus:Ii,UserRoundMinusIcon:Ii,UserRoundPen:QM,UserRoundPenIcon:QM,UserRoundPlus:Ni,UserRoundPlusIcon:Ni,UserRoundSearch:eb,UserRoundSearchIcon:eb,UserRoundX:Ai,UserRoundXIcon:Ai,UserSearch:tb,UserSearchIcon:tb,UserSquare:xi,UserSquare2:fi,UserSquare2Icon:fi,UserSquareIcon:xi,UserX:ab,UserX2:Ai,UserX2Icon:Ai,UserXIcon:ab,Users:La,Users2:_i,Users2Icon:_i,UsersIcon:La,UsersRound:_i,UsersRoundIcon:_i,Utensils:Ti,UtensilsCrossed:Ri,UtensilsCrossedIcon:Ri,UtensilsIcon:Ti,UtilityPole:rb,UtilityPoleIcon:rb,Variable:nb,VariableIcon:nb,Vault:ob,VaultIcon:ob,Vegan:ib,VeganIcon:ib,VenetianMask:sb,VenetianMaskIcon:sb,Verified:Sr,VerifiedIcon:Sr,Vibrate:lb,VibrateIcon:lb,VibrateOff:cb,VibrateOffIcon:cb,Video:hb,VideoIcon:hb,VideoOff:db,VideoOffIcon:db,Videotape:ub,VideotapeIcon:ub,View:pb,ViewIcon:pb,Voicemail:yb,VoicemailIcon:yb,Volleyball:mb,VolleyballIcon:mb,Volume:vb,Volume1:fb,Volume1Icon:fb,Volume2:xb,Volume2Icon:xb,VolumeIcon:vb,VolumeOff:kb,VolumeOffIcon:kb,VolumeX:gb,VolumeXIcon:gb,Vote:wb,VoteIcon:wb,Wallet:bb,Wallet2:qi,Wallet2Icon:qi,WalletCards:Mb,WalletCardsIcon:Mb,WalletIcon:bb,WalletMinimal:qi,WalletMinimalIcon:qi,Wallpaper:Cb,WallpaperIcon:Cb,Wand:jb,Wand2:Di,Wand2Icon:Di,WandIcon:jb,WandSparkles:Di,WandSparklesIcon:Di,Warehouse:Sb,WarehouseIcon:Sb,WashingMachine:Lb,WashingMachineIcon:Lb,Watch:Ib,WatchIcon:Ib,Waves:Nb,WavesIcon:Nb,Waypoints:Ab,WaypointsIcon:Ab,Webcam:Pb,WebcamIcon:Pb,Webhook:Rb,WebhookIcon:Rb,WebhookOff:_b,WebhookOffIcon:_b,Weight:Tb,WeightIcon:Tb,Wheat:Db,WheatIcon:Db,WheatOff:qb,WheatOffIcon:qb,WholeWord:zb,WholeWordIcon:zb,Wifi:Vb,WifiHigh:Fb,WifiHighIcon:Fb,WifiIcon:Vb,WifiLow:Eb,WifiLowIcon:Eb,WifiOff:Ob,WifiOffIcon:Ob,WifiZero:Hb,WifiZeroIcon:Hb,Wind:Bb,WindIcon:Bb,Wine:$b,WineIcon:$b,WineOff:Ub,WineOffIcon:Ub,Workflow:Gb,WorkflowIcon:Gb,Worm:Wb,WormIcon:Wb,WrapText:Zb,WrapTextIcon:Zb,Wrench:Xb,WrenchIcon:Xb,X:Xt,XCircle:aa,XCircleIcon:aa,XIcon:Xt,XOctagon:to,XOctagonIcon:to,XSquare:ki,XSquareIcon:ki,Youtube:Jb,YoutubeIcon:Jb,Zap:Kb,ZapIcon:Kb,ZapOff:Yb,ZapOffIcon:Yb,ZoomIn:Qb,ZoomInIcon:Qb,ZoomOut:e9,ZoomOutIcon:e9,createLucideIcon:s,icons:JT},Symbol.toStringTag,{value:"Module"}));function KT({groupedIds:t,tabTitles:e,lang:r,url:n,PromotionsTitle:o,buttonMsg:i="Select Plan"}){const[c,l]=S.useState([]),[d,h]=S.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";S.useEffect(()=>{(async()=>{try{const k=r??"en",m=t.map(async v=>(await fetch(`${u}/api/v1/promotions/?ids=${v}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),x=await Promise.all(m);l(x)}catch{}})()},[t,u,r]);const p=f=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:f,tabType:d,timestamp:new Date().toISOString()}}),m=document.querySelector(".group-prices-component");m&&m.dispatchEvent(k)},y=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return a.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:a.jsxs("div",{className:"container px-4 md:px-6",children:[o??a.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:o}),a.jsxs(rs,{defaultValue:"tab-0",className:"w-full",onValueChange:f=>h(f),children:[a.jsx(ar,{className:y,children:e.map((f,k)=>a.jsx(Ce,{value:`tab-${k}`,children:f},k))}),c.map((f,k)=>a.jsx(je,{value:`tab-${k}`,children:a.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:f.map((m,x)=>a.jsxs(ve,{className:"flex flex-col",children:[a.jsxs(qe,{children:[a.jsx(De,{children:m.title}),a.jsx(Ue,{children:m.short_description})]}),a.jsxs(we,{className:"flex-1",children:[a.jsxs("p",{className:"text-3xl font-bold",children:["€",m.price]}),a.jsx("ul",{className:"mt-4 space-y-2",children:m.features&&m.features.map((v,w)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx(vs,{className:"mr-2 h-4 w-4 text-primary"})," ",v]},w))})]}),a.jsx(Fs,{children:a.jsx($,{onClick:()=>p(m),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},x))})},k))]})]})})}function QT({isOpen:t,items:e}){const r=e.reduce((n,o)=>n+o.price,0);return a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:se("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",t?"translate-x-0":"translate-x-full"),children:a.jsxs("div",{className:"h-full flex flex-col",children:[a.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[a.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),a.jsxs("button",{onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")},className:"hover:bg-gray-100 rounded p-2",children:[a.jsx(Xt,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),a.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>a.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[a.jsxs("div",{className:"flex justify-between items-start mb-1",children:[a.jsx("span",{className:"font-medium",children:n.name}),a.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),a.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),a.jsx("div",{className:"p-4 border-t",children:a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"font-semibold",children:"Total:"}),a.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),t&&a.jsx("div",{className:"fixed inset-0 bg-black/20 z-20",onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")}})]})}function ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function II(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
7725
|
+
*/const YT=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:y1,AArrowDownIcon:y1,AArrowUp:m1,AArrowUpIcon:m1,ALargeSmall:f1,ALargeSmallIcon:f1,Accessibility:x1,AccessibilityIcon:x1,Activity:k1,ActivityIcon:k1,ActivitySquare:bo,ActivitySquareIcon:bo,AirVent:g1,AirVentIcon:g1,Airplay:v1,AirplayIcon:v1,AlarmCheck:fr,AlarmCheckIcon:fr,AlarmClock:M1,AlarmClockCheck:fr,AlarmClockCheckIcon:fr,AlarmClockIcon:M1,AlarmClockMinus:xr,AlarmClockMinusIcon:xr,AlarmClockOff:w1,AlarmClockOffIcon:w1,AlarmClockPlus:kr,AlarmClockPlusIcon:kr,AlarmMinus:xr,AlarmMinusIcon:xr,AlarmPlus:kr,AlarmPlusIcon:kr,AlarmSmoke:b1,AlarmSmokeIcon:b1,Album:C1,AlbumIcon:C1,AlertCircle:Tt,AlertCircleIcon:Tt,AlertOctagon:Qn,AlertOctagonIcon:Qn,AlertTriangle:bi,AlertTriangleIcon:bi,AlignCenter:L1,AlignCenterHorizontal:j1,AlignCenterHorizontalIcon:j1,AlignCenterIcon:L1,AlignCenterVertical:S1,AlignCenterVerticalIcon:S1,AlignEndHorizontal:I1,AlignEndHorizontalIcon:I1,AlignEndVertical:N1,AlignEndVerticalIcon:N1,AlignHorizontalDistributeCenter:A1,AlignHorizontalDistributeCenterIcon:A1,AlignHorizontalDistributeEnd:P1,AlignHorizontalDistributeEndIcon:P1,AlignHorizontalDistributeStart:_1,AlignHorizontalDistributeStartIcon:_1,AlignHorizontalJustifyCenter:R1,AlignHorizontalJustifyCenterIcon:R1,AlignHorizontalJustifyEnd:T1,AlignHorizontalJustifyEndIcon:T1,AlignHorizontalJustifyStart:q1,AlignHorizontalJustifyStartIcon:q1,AlignHorizontalSpaceAround:D1,AlignHorizontalSpaceAroundIcon:D1,AlignHorizontalSpaceBetween:z1,AlignHorizontalSpaceBetweenIcon:z1,AlignJustify:F1,AlignJustifyIcon:F1,AlignLeft:E1,AlignLeftIcon:E1,AlignRight:O1,AlignRightIcon:O1,AlignStartHorizontal:H1,AlignStartHorizontalIcon:H1,AlignStartVertical:V1,AlignStartVerticalIcon:V1,AlignVerticalDistributeCenter:B1,AlignVerticalDistributeCenterIcon:B1,AlignVerticalDistributeEnd:U1,AlignVerticalDistributeEndIcon:U1,AlignVerticalDistributeStart:$1,AlignVerticalDistributeStartIcon:$1,AlignVerticalJustifyCenter:G1,AlignVerticalJustifyCenterIcon:G1,AlignVerticalJustifyEnd:W1,AlignVerticalJustifyEndIcon:W1,AlignVerticalJustifyStart:Z1,AlignVerticalJustifyStartIcon:Z1,AlignVerticalSpaceAround:X1,AlignVerticalSpaceAroundIcon:X1,AlignVerticalSpaceBetween:J1,AlignVerticalSpaceBetweenIcon:J1,Ambulance:Y1,AmbulanceIcon:Y1,Ampersand:K1,AmpersandIcon:K1,Ampersands:Q1,AmpersandsIcon:Q1,Amphora:el,AmphoraIcon:el,Anchor:tl,AnchorIcon:tl,Angry:al,AngryIcon:al,Annoyed:rl,AnnoyedIcon:rl,Antenna:nl,AntennaIcon:nl,Anvil:ol,AnvilIcon:ol,Aperture:il,ApertureIcon:il,AppWindow:cl,AppWindowIcon:cl,AppWindowMac:sl,AppWindowMacIcon:sl,Apple:ll,AppleIcon:ll,Archive:ul,ArchiveIcon:ul,ArchiveRestore:dl,ArchiveRestoreIcon:dl,ArchiveX:hl,ArchiveXIcon:hl,AreaChart:_r,AreaChartIcon:_r,Armchair:pl,ArmchairIcon:pl,ArrowBigDown:ml,ArrowBigDownDash:yl,ArrowBigDownDashIcon:yl,ArrowBigDownIcon:ml,ArrowBigLeft:xl,ArrowBigLeftDash:fl,ArrowBigLeftDashIcon:fl,ArrowBigLeftIcon:xl,ArrowBigRight:gl,ArrowBigRightDash:kl,ArrowBigRightDashIcon:kl,ArrowBigRightIcon:gl,ArrowBigUp:wl,ArrowBigUpDash:vl,ArrowBigUpDashIcon:vl,ArrowBigUpIcon:wl,ArrowDown:Pl,ArrowDown01:Ml,ArrowDown01Icon:Ml,ArrowDown10:bl,ArrowDown10Icon:bl,ArrowDownAZ:gr,ArrowDownAZIcon:gr,ArrowDownAz:gr,ArrowDownAzIcon:gr,ArrowDownCircle:Ur,ArrowDownCircleIcon:Ur,ArrowDownFromLine:Cl,ArrowDownFromLineIcon:Cl,ArrowDownIcon:Pl,ArrowDownLeft:jl,ArrowDownLeftFromCircle:Gr,ArrowDownLeftFromCircleIcon:Gr,ArrowDownLeftFromSquare:Lo,ArrowDownLeftFromSquareIcon:Lo,ArrowDownLeftIcon:jl,ArrowDownLeftSquare:Co,ArrowDownLeftSquareIcon:Co,ArrowDownNarrowWide:Sl,ArrowDownNarrowWideIcon:Sl,ArrowDownRight:Ll,ArrowDownRightFromCircle:Wr,ArrowDownRightFromCircleIcon:Wr,ArrowDownRightFromSquare:Io,ArrowDownRightFromSquareIcon:Io,ArrowDownRightIcon:Ll,ArrowDownRightSquare:jo,ArrowDownRightSquareIcon:jo,ArrowDownSquare:So,ArrowDownSquareIcon:So,ArrowDownToDot:Il,ArrowDownToDotIcon:Il,ArrowDownToLine:Nl,ArrowDownToLineIcon:Nl,ArrowDownUp:Al,ArrowDownUpIcon:Al,ArrowDownWideNarrow:vr,ArrowDownWideNarrowIcon:vr,ArrowDownZA:wr,ArrowDownZAIcon:wr,ArrowDownZa:wr,ArrowDownZaIcon:wr,ArrowLeft:Oi,ArrowLeftCircle:$r,ArrowLeftCircleIcon:$r,ArrowLeftFromLine:_l,ArrowLeftFromLineIcon:_l,ArrowLeftIcon:Oi,ArrowLeftRight:Rl,ArrowLeftRightIcon:Rl,ArrowLeftSquare:wa,ArrowLeftSquareIcon:wa,ArrowLeftToLine:Tl,ArrowLeftToLineIcon:Tl,ArrowRight:xs,ArrowRightCircle:Jr,ArrowRightCircleIcon:Jr,ArrowRightFromLine:ql,ArrowRightFromLineIcon:ql,ArrowRightIcon:xs,ArrowRightLeft:Dl,ArrowRightLeftIcon:Dl,ArrowRightSquare:Ma,ArrowRightSquareIcon:Ma,ArrowRightToLine:zl,ArrowRightToLineIcon:zl,ArrowUp:Wl,ArrowUp01:Fl,ArrowUp01Icon:Fl,ArrowUp10:El,ArrowUp10Icon:El,ArrowUpAZ:Mr,ArrowUpAZIcon:Mr,ArrowUpAz:Mr,ArrowUpAzIcon:Mr,ArrowUpCircle:Yr,ArrowUpCircleIcon:Yr,ArrowUpDown:Ol,ArrowUpDownIcon:Ol,ArrowUpFromDot:Hl,ArrowUpFromDotIcon:Hl,ArrowUpFromLine:Vl,ArrowUpFromLineIcon:Vl,ArrowUpIcon:Wl,ArrowUpLeft:Bl,ArrowUpLeftFromCircle:Zr,ArrowUpLeftFromCircleIcon:Zr,ArrowUpLeftFromSquare:No,ArrowUpLeftFromSquareIcon:No,ArrowUpLeftIcon:Bl,ArrowUpLeftSquare:Po,ArrowUpLeftSquareIcon:Po,ArrowUpNarrowWide:br,ArrowUpNarrowWideIcon:br,ArrowUpRight:Ul,ArrowUpRightFromCircle:Xr,ArrowUpRightFromCircleIcon:Xr,ArrowUpRightFromSquare:Ao,ArrowUpRightFromSquareIcon:Ao,ArrowUpRightIcon:Ul,ArrowUpRightSquare:_o,ArrowUpRightSquareIcon:_o,ArrowUpSquare:Ro,ArrowUpSquareIcon:Ro,ArrowUpToLine:$l,ArrowUpToLineIcon:$l,ArrowUpWideNarrow:Gl,ArrowUpWideNarrowIcon:Gl,ArrowUpZA:Cr,ArrowUpZAIcon:Cr,ArrowUpZa:Cr,ArrowUpZaIcon:Cr,ArrowsUpFromLine:Zl,ArrowsUpFromLineIcon:Zl,Asterisk:Xl,AsteriskIcon:Xl,AsteriskSquare:To,AsteriskSquareIcon:To,AtSign:Jl,AtSignIcon:Jl,Atom:Yl,AtomIcon:Yl,AudioLines:Kl,AudioLinesIcon:Kl,AudioWaveform:Ql,AudioWaveformIcon:Ql,Award:Ca,AwardIcon:Ca,Axe:ed,AxeIcon:ed,Axis3D:jr,Axis3DIcon:jr,Axis3d:jr,Axis3dIcon:jr,Baby:td,BabyIcon:td,Backpack:ad,BackpackIcon:ad,Badge:kd,BadgeAlert:rd,BadgeAlertIcon:rd,BadgeCent:nd,BadgeCentIcon:nd,BadgeCheck:Sr,BadgeCheckIcon:Sr,BadgeDollarSign:od,BadgeDollarSignIcon:od,BadgeEuro:id,BadgeEuroIcon:id,BadgeHelp:sd,BadgeHelpIcon:sd,BadgeIcon:kd,BadgeIndianRupee:cd,BadgeIndianRupeeIcon:cd,BadgeInfo:ld,BadgeInfoIcon:ld,BadgeJapaneseYen:dd,BadgeJapaneseYenIcon:dd,BadgeMinus:hd,BadgeMinusIcon:hd,BadgePercent:ud,BadgePercentIcon:ud,BadgePlus:pd,BadgePlusIcon:pd,BadgePoundSterling:yd,BadgePoundSterlingIcon:yd,BadgeRussianRuble:md,BadgeRussianRubleIcon:md,BadgeSwissFranc:fd,BadgeSwissFrancIcon:fd,BadgeX:xd,BadgeXIcon:xd,BaggageClaim:gd,BaggageClaimIcon:gd,Ban:vd,BanIcon:vd,Banana:wd,BananaIcon:wd,Bandage:Md,BandageIcon:Md,Banknote:bd,BanknoteIcon:bd,BarChart:Oa,BarChart2:Or,BarChart2Icon:Or,BarChart3:Fr,BarChart3Icon:Fr,BarChart4:zr,BarChart4Icon:zr,BarChartBig:Dr,BarChartBigIcon:Dr,BarChartHorizontal:Tr,BarChartHorizontalBig:Rr,BarChartHorizontalBigIcon:Rr,BarChartHorizontalIcon:Tr,BarChartIcon:Oa,Barcode:Cd,BarcodeIcon:Cd,Baseline:jd,BaselineIcon:jd,Bath:Sd,BathIcon:Sd,Battery:_d,BatteryCharging:Ld,BatteryChargingIcon:Ld,BatteryFull:Id,BatteryFullIcon:Id,BatteryIcon:_d,BatteryLow:Nd,BatteryLowIcon:Nd,BatteryMedium:Ad,BatteryMediumIcon:Ad,BatteryWarning:Pd,BatteryWarningIcon:Pd,Beaker:Rd,BeakerIcon:Rd,Bean:qd,BeanIcon:qd,BeanOff:Td,BeanOffIcon:Td,Bed:Fd,BedDouble:Dd,BedDoubleIcon:Dd,BedIcon:Fd,BedSingle:zd,BedSingleIcon:zd,Beef:Ed,BeefIcon:Ed,Beer:Hd,BeerIcon:Hd,BeerOff:Od,BeerOffIcon:Od,Bell:ks,BellDot:Vd,BellDotIcon:Vd,BellElectric:Bd,BellElectricIcon:Bd,BellIcon:ks,BellMinus:Ud,BellMinusIcon:Ud,BellOff:$d,BellOffIcon:$d,BellPlus:Gd,BellPlusIcon:Gd,BellRing:Wd,BellRingIcon:Wd,BetweenHorizonalEnd:Lr,BetweenHorizonalEndIcon:Lr,BetweenHorizonalStart:Ir,BetweenHorizonalStartIcon:Ir,BetweenHorizontalEnd:Lr,BetweenHorizontalEndIcon:Lr,BetweenHorizontalStart:Ir,BetweenHorizontalStartIcon:Ir,BetweenVerticalEnd:Zd,BetweenVerticalEndIcon:Zd,BetweenVerticalStart:Xd,BetweenVerticalStartIcon:Xd,BicepsFlexed:Jd,BicepsFlexedIcon:Jd,Bike:Yd,BikeIcon:Yd,Binary:Kd,BinaryIcon:Kd,Binoculars:Qd,BinocularsIcon:Qd,Biohazard:e2,BiohazardIcon:e2,Bird:t2,BirdIcon:t2,Bitcoin:a2,BitcoinIcon:a2,Blend:r2,BlendIcon:r2,Blinds:n2,BlindsIcon:n2,Blocks:o2,BlocksIcon:o2,Bluetooth:l2,BluetoothConnected:i2,BluetoothConnectedIcon:i2,BluetoothIcon:l2,BluetoothOff:s2,BluetoothOffIcon:s2,BluetoothSearching:c2,BluetoothSearchingIcon:c2,Bold:d2,BoldIcon:d2,Bolt:h2,BoltIcon:h2,Bomb:u2,BombIcon:u2,Bone:p2,BoneIcon:p2,Book:q2,BookA:y2,BookAIcon:y2,BookAudio:m2,BookAudioIcon:m2,BookCheck:f2,BookCheckIcon:f2,BookCopy:x2,BookCopyIcon:x2,BookDashed:Nr,BookDashedIcon:Nr,BookDown:k2,BookDownIcon:k2,BookHeadphones:g2,BookHeadphonesIcon:g2,BookHeart:v2,BookHeartIcon:v2,BookIcon:q2,BookImage:w2,BookImageIcon:w2,BookKey:M2,BookKeyIcon:M2,BookLock:b2,BookLockIcon:b2,BookMarked:C2,BookMarkedIcon:C2,BookMinus:j2,BookMinusIcon:j2,BookOpen:Ft,BookOpenCheck:S2,BookOpenCheckIcon:S2,BookOpenIcon:Ft,BookOpenText:L2,BookOpenTextIcon:L2,BookPlus:I2,BookPlusIcon:I2,BookTemplate:Nr,BookTemplateIcon:Nr,BookText:N2,BookTextIcon:N2,BookType:A2,BookTypeIcon:A2,BookUp:_2,BookUp2:P2,BookUp2Icon:P2,BookUpIcon:_2,BookUser:R2,BookUserIcon:R2,BookX:T2,BookXIcon:T2,Bookmark:Ga,BookmarkCheck:sa,BookmarkCheckIcon:sa,BookmarkIcon:Ga,BookmarkMinus:D2,BookmarkMinusIcon:D2,BookmarkPlus:lc,BookmarkPlusIcon:lc,BookmarkX:z2,BookmarkXIcon:z2,BoomBox:F2,BoomBoxIcon:F2,Bot:dc,BotIcon:dc,BotMessageSquare:E2,BotMessageSquareIcon:E2,BotOff:O2,BotOffIcon:O2,Box:H2,BoxIcon:H2,BoxSelect:$o,BoxSelectIcon:$o,Boxes:V2,BoxesIcon:V2,Braces:Ar,BracesIcon:Ar,Brackets:B2,BracketsIcon:B2,Brain:G2,BrainCircuit:U2,BrainCircuitIcon:U2,BrainCog:$2,BrainCogIcon:$2,BrainIcon:G2,BrickWall:W2,BrickWallIcon:W2,Briefcase:mt,BriefcaseBusiness:Z2,BriefcaseBusinessIcon:Z2,BriefcaseConveyorBelt:X2,BriefcaseConveyorBeltIcon:X2,BriefcaseIcon:mt,BriefcaseMedical:J2,BriefcaseMedicalIcon:J2,BringToFront:Y2,BringToFrontIcon:Y2,Brush:K2,BrushIcon:K2,Bug:t0,BugIcon:t0,BugOff:Q2,BugOffIcon:Q2,BugPlay:e0,BugPlayIcon:e0,Building:gs,Building2:hc,Building2Icon:hc,BuildingIcon:gs,Bus:r0,BusFront:a0,BusFrontIcon:a0,BusIcon:r0,Cable:o0,CableCar:n0,CableCarIcon:n0,CableIcon:o0,Cake:s0,CakeIcon:s0,CakeSlice:i0,CakeSliceIcon:i0,Calculator:c0,CalculatorIcon:c0,Calendar:uc,CalendarArrowDown:l0,CalendarArrowDownIcon:l0,CalendarArrowUp:d0,CalendarArrowUpIcon:d0,CalendarCheck:u0,CalendarCheck2:h0,CalendarCheck2Icon:h0,CalendarCheckIcon:u0,CalendarClock:p0,CalendarClockIcon:p0,CalendarCog:y0,CalendarCogIcon:y0,CalendarDays:m0,CalendarDaysIcon:m0,CalendarFold:f0,CalendarFoldIcon:f0,CalendarHeart:x0,CalendarHeartIcon:x0,CalendarIcon:uc,CalendarMinus:g0,CalendarMinus2:k0,CalendarMinus2Icon:k0,CalendarMinusIcon:g0,CalendarOff:v0,CalendarOffIcon:v0,CalendarPlus:M0,CalendarPlus2:w0,CalendarPlus2Icon:w0,CalendarPlusIcon:M0,CalendarRange:b0,CalendarRangeIcon:b0,CalendarSearch:C0,CalendarSearchIcon:C0,CalendarX:S0,CalendarX2:j0,CalendarX2Icon:j0,CalendarXIcon:S0,Camera:I0,CameraIcon:I0,CameraOff:L0,CameraOffIcon:L0,CandlestickChart:qr,CandlestickChartIcon:qr,Candy:P0,CandyCane:N0,CandyCaneIcon:N0,CandyIcon:P0,CandyOff:A0,CandyOffIcon:A0,Cannabis:_0,CannabisIcon:_0,Captions:Pr,CaptionsIcon:Pr,CaptionsOff:R0,CaptionsOffIcon:R0,Car:D0,CarFront:T0,CarFrontIcon:T0,CarIcon:D0,CarTaxiFront:q0,CarTaxiFrontIcon:q0,Caravan:z0,CaravanIcon:z0,Carrot:F0,CarrotIcon:F0,CaseLower:E0,CaseLowerIcon:E0,CaseSensitive:O0,CaseSensitiveIcon:O0,CaseUpper:H0,CaseUpperIcon:H0,CassetteTape:V0,CassetteTapeIcon:V0,Cast:B0,CastIcon:B0,Castle:U0,CastleIcon:U0,Cat:$0,CatIcon:$0,Cctv:G0,CctvIcon:G0,ChartArea:_r,ChartAreaIcon:_r,ChartBar:Tr,ChartBarBig:Rr,ChartBarBigIcon:Rr,ChartBarDecreasing:W0,ChartBarDecreasingIcon:W0,ChartBarIcon:Tr,ChartBarIncreasing:Z0,ChartBarIncreasingIcon:Z0,ChartBarStacked:X0,ChartBarStackedIcon:X0,ChartCandlestick:qr,ChartCandlestickIcon:qr,ChartColumn:Fr,ChartColumnBig:Dr,ChartColumnBigIcon:Dr,ChartColumnDecreasing:J0,ChartColumnDecreasingIcon:J0,ChartColumnIcon:Fr,ChartColumnIncreasing:zr,ChartColumnIncreasingIcon:zr,ChartColumnStacked:Y0,ChartColumnStackedIcon:Y0,ChartGantt:K0,ChartGanttIcon:K0,ChartLine:Er,ChartLineIcon:Er,ChartNetwork:Q0,ChartNetworkIcon:Q0,ChartNoAxesColumn:Or,ChartNoAxesColumnDecreasing:eh,ChartNoAxesColumnDecreasingIcon:eh,ChartNoAxesColumnIcon:Or,ChartNoAxesColumnIncreasing:Oa,ChartNoAxesColumnIncreasingIcon:Oa,ChartNoAxesCombined:th,ChartNoAxesCombinedIcon:th,ChartNoAxesGantt:Hr,ChartNoAxesGanttIcon:Hr,ChartPie:Vr,ChartPieIcon:Vr,ChartScatter:Br,ChartScatterIcon:Br,ChartSpline:ah,ChartSplineIcon:ah,Check:vs,CheckCheck:rh,CheckCheckIcon:rh,CheckCircle:bt,CheckCircle2:Kr,CheckCircle2Icon:Kr,CheckCircleIcon:bt,CheckIcon:vs,CheckSquare:Do,CheckSquare2:zo,CheckSquare2Icon:zo,CheckSquareIcon:Do,ChefHat:nh,ChefHatIcon:nh,Cherry:oh,CherryIcon:oh,ChevronDown:Hi,ChevronDownCircle:Qr,ChevronDownCircleIcon:Qr,ChevronDownIcon:Hi,ChevronDownSquare:Fo,ChevronDownSquareIcon:Fo,ChevronFirst:ih,ChevronFirstIcon:ih,ChevronLast:sh,ChevronLastIcon:sh,ChevronLeft:Vi,ChevronLeftCircle:en,ChevronLeftCircleIcon:en,ChevronLeftIcon:Vi,ChevronLeftSquare:Eo,ChevronLeftSquareIcon:Eo,ChevronRight:Wa,ChevronRightCircle:tn,ChevronRightCircleIcon:tn,ChevronRightIcon:Wa,ChevronRightSquare:Oo,ChevronRightSquareIcon:Oo,ChevronUp:pc,ChevronUpCircle:an,ChevronUpCircleIcon:an,ChevronUpIcon:pc,ChevronUpSquare:Ho,ChevronUpSquareIcon:Ho,ChevronsDown:lh,ChevronsDownIcon:lh,ChevronsDownUp:ch,ChevronsDownUpIcon:ch,ChevronsLeft:uh,ChevronsLeftIcon:uh,ChevronsLeftRight:hh,ChevronsLeftRightEllipsis:dh,ChevronsLeftRightEllipsisIcon:dh,ChevronsLeftRightIcon:hh,ChevronsRight:yh,ChevronsRightIcon:yh,ChevronsRightLeft:ph,ChevronsRightLeftIcon:ph,ChevronsUp:fh,ChevronsUpDown:mh,ChevronsUpDownIcon:mh,ChevronsUpIcon:fh,Chrome:xh,ChromeIcon:xh,Church:kh,ChurchIcon:kh,Cigarette:vh,CigaretteIcon:vh,CigaretteOff:gh,CigaretteOffIcon:gh,Circle:Ph,CircleAlert:Tt,CircleAlertIcon:Tt,CircleArrowDown:Ur,CircleArrowDownIcon:Ur,CircleArrowLeft:$r,CircleArrowLeftIcon:$r,CircleArrowOutDownLeft:Gr,CircleArrowOutDownLeftIcon:Gr,CircleArrowOutDownRight:Wr,CircleArrowOutDownRightIcon:Wr,CircleArrowOutUpLeft:Zr,CircleArrowOutUpLeftIcon:Zr,CircleArrowOutUpRight:Xr,CircleArrowOutUpRightIcon:Xr,CircleArrowRight:Jr,CircleArrowRightIcon:Jr,CircleArrowUp:Yr,CircleArrowUpIcon:Yr,CircleCheck:Kr,CircleCheckBig:bt,CircleCheckBigIcon:bt,CircleCheckIcon:Kr,CircleChevronDown:Qr,CircleChevronDownIcon:Qr,CircleChevronLeft:en,CircleChevronLeftIcon:en,CircleChevronRight:tn,CircleChevronRightIcon:tn,CircleChevronUp:an,CircleChevronUpIcon:an,CircleDashed:wh,CircleDashedIcon:wh,CircleDivide:rn,CircleDivideIcon:rn,CircleDollarSign:Mh,CircleDollarSignIcon:Mh,CircleDot:Ch,CircleDotDashed:bh,CircleDotDashedIcon:bh,CircleDotIcon:Ch,CircleEllipsis:jh,CircleEllipsisIcon:jh,CircleEqual:Sh,CircleEqualIcon:Sh,CircleFadingArrowUp:Lh,CircleFadingArrowUpIcon:Lh,CircleFadingPlus:Ih,CircleFadingPlusIcon:Ih,CircleGauge:nn,CircleGaugeIcon:nn,CircleHelp:Ha,CircleHelpIcon:Ha,CircleIcon:Ph,CircleMinus:on,CircleMinusIcon:on,CircleOff:Nh,CircleOffIcon:Nh,CircleParking:cn,CircleParkingIcon:cn,CircleParkingOff:sn,CircleParkingOffIcon:sn,CirclePause:ln,CirclePauseIcon:ln,CirclePercent:dn,CirclePercentIcon:dn,CirclePlay:hn,CirclePlayIcon:hn,CirclePlus:un,CirclePlusIcon:un,CirclePower:pn,CirclePowerIcon:pn,CircleSlash:Ah,CircleSlash2:yn,CircleSlash2Icon:yn,CircleSlashIcon:Ah,CircleSlashed:yn,CircleSlashedIcon:yn,CircleStop:mn,CircleStopIcon:mn,CircleUser:xn,CircleUserIcon:xn,CircleUserRound:fn,CircleUserRoundIcon:fn,CircleX:aa,CircleXIcon:aa,CircuitBoard:_h,CircuitBoardIcon:_h,Citrus:Rh,CitrusIcon:Rh,Clapperboard:Th,ClapperboardIcon:Th,Clipboard:Bh,ClipboardCheck:qh,ClipboardCheckIcon:qh,ClipboardCopy:Dh,ClipboardCopyIcon:Dh,ClipboardEdit:gn,ClipboardEditIcon:gn,ClipboardIcon:Bh,ClipboardList:zh,ClipboardListIcon:zh,ClipboardMinus:Fh,ClipboardMinusIcon:Fh,ClipboardPaste:Eh,ClipboardPasteIcon:Eh,ClipboardPen:gn,ClipboardPenIcon:gn,ClipboardPenLine:kn,ClipboardPenLineIcon:kn,ClipboardPlus:Oh,ClipboardPlusIcon:Oh,ClipboardSignature:kn,ClipboardSignatureIcon:kn,ClipboardType:Hh,ClipboardTypeIcon:Hh,ClipboardX:Vh,ClipboardXIcon:Vh,Clock:Zt,Clock1:Uh,Clock10:$h,Clock10Icon:$h,Clock11:Gh,Clock11Icon:Gh,Clock12:Wh,Clock12Icon:Wh,Clock1Icon:Uh,Clock2:Zh,Clock2Icon:Zh,Clock3:Xh,Clock3Icon:Xh,Clock4:Jh,Clock4Icon:Jh,Clock5:Yh,Clock5Icon:Yh,Clock6:Kh,Clock6Icon:Kh,Clock7:Qh,Clock7Icon:Qh,Clock8:eu,Clock8Icon:eu,Clock9:tu,Clock9Icon:tu,ClockAlert:au,ClockAlertIcon:au,ClockArrowDown:ru,ClockArrowDownIcon:ru,ClockArrowUp:nu,ClockArrowUpIcon:nu,ClockIcon:Zt,Cloud:ku,CloudCog:ou,CloudCogIcon:ou,CloudDownload:vn,CloudDownloadIcon:vn,CloudDrizzle:iu,CloudDrizzleIcon:iu,CloudFog:su,CloudFogIcon:su,CloudHail:cu,CloudHailIcon:cu,CloudIcon:ku,CloudLightning:lu,CloudLightningIcon:lu,CloudMoon:hu,CloudMoonIcon:hu,CloudMoonRain:du,CloudMoonRainIcon:du,CloudOff:uu,CloudOffIcon:uu,CloudRain:yu,CloudRainIcon:yu,CloudRainWind:pu,CloudRainWindIcon:pu,CloudSnow:mu,CloudSnowIcon:mu,CloudSun:xu,CloudSunIcon:xu,CloudSunRain:fu,CloudSunRainIcon:fu,CloudUpload:wn,CloudUploadIcon:wn,Cloudy:gu,CloudyIcon:gu,Clover:vu,CloverIcon:vu,Club:wu,ClubIcon:wu,Code:Mu,Code2:Mn,Code2Icon:Mn,CodeIcon:Mu,CodeSquare:Vo,CodeSquareIcon:Vo,CodeXml:Mn,CodeXmlIcon:Mn,Codepen:bu,CodepenIcon:bu,Codesandbox:Cu,CodesandboxIcon:Cu,Coffee:ju,CoffeeIcon:ju,Cog:Su,CogIcon:Su,Coins:Lu,CoinsIcon:Lu,Columns:bn,Columns2:bn,Columns2Icon:bn,Columns3:Cn,Columns3Icon:Cn,Columns4:Iu,Columns4Icon:Iu,ColumnsIcon:bn,Combine:Nu,CombineIcon:Nu,Command:Au,CommandIcon:Au,Compass:Pu,CompassIcon:Pu,Component:_u,ComponentIcon:_u,Computer:Ru,ComputerIcon:Ru,ConciergeBell:Tu,ConciergeBellIcon:Tu,Cone:qu,ConeIcon:qu,Construction:Du,ConstructionIcon:Du,Contact:zu,Contact2:jn,Contact2Icon:jn,ContactIcon:zu,ContactRound:jn,ContactRoundIcon:jn,Container:Fu,ContainerIcon:Fu,Contrast:Eu,ContrastIcon:Eu,Cookie:Ou,CookieIcon:Ou,CookingPot:Hu,CookingPotIcon:Hu,Copy:Wu,CopyCheck:Vu,CopyCheckIcon:Vu,CopyIcon:Wu,CopyMinus:Bu,CopyMinusIcon:Bu,CopyPlus:Uu,CopyPlusIcon:Uu,CopySlash:$u,CopySlashIcon:$u,CopyX:Gu,CopyXIcon:Gu,Copyleft:Zu,CopyleftIcon:Zu,Copyright:Xu,CopyrightIcon:Xu,CornerDownLeft:Ju,CornerDownLeftIcon:Ju,CornerDownRight:Yu,CornerDownRightIcon:Yu,CornerLeftDown:Ku,CornerLeftDownIcon:Ku,CornerLeftUp:Qu,CornerLeftUpIcon:Qu,CornerRightDown:ep,CornerRightDownIcon:ep,CornerRightUp:tp,CornerRightUpIcon:tp,CornerUpLeft:ap,CornerUpLeftIcon:ap,CornerUpRight:rp,CornerUpRightIcon:rp,Cpu:np,CpuIcon:np,CreativeCommons:op,CreativeCommonsIcon:op,CreditCard:yc,CreditCardIcon:yc,Croissant:ip,CroissantIcon:ip,Crop:sp,CropIcon:sp,Cross:cp,CrossIcon:cp,Crosshair:lp,CrosshairIcon:lp,Crown:dp,CrownIcon:dp,Cuboid:hp,CuboidIcon:hp,CupSoda:up,CupSodaIcon:up,CurlyBraces:Ar,CurlyBracesIcon:Ar,Currency:pp,CurrencyIcon:pp,Cylinder:yp,CylinderIcon:yp,Dam:mp,DamIcon:mp,Database:kp,DatabaseBackup:fp,DatabaseBackupIcon:fp,DatabaseIcon:kp,DatabaseZap:xp,DatabaseZapIcon:xp,Delete:gp,DeleteIcon:gp,Dessert:vp,DessertIcon:vp,Diameter:wp,DiameterIcon:wp,Diamond:Cp,DiamondIcon:Cp,DiamondMinus:Mp,DiamondMinusIcon:Mp,DiamondPercent:Sn,DiamondPercentIcon:Sn,DiamondPlus:bp,DiamondPlusIcon:bp,Dice1:jp,Dice1Icon:jp,Dice2:Sp,Dice2Icon:Sp,Dice3:Lp,Dice3Icon:Lp,Dice4:Ip,Dice4Icon:Ip,Dice5:Np,Dice5Icon:Np,Dice6:Ap,Dice6Icon:Ap,Dices:Pp,DicesIcon:Pp,Diff:_p,DiffIcon:_p,Disc:Dp,Disc2:Rp,Disc2Icon:Rp,Disc3:Tp,Disc3Icon:Tp,DiscAlbum:qp,DiscAlbumIcon:qp,DiscIcon:Dp,Divide:zp,DivideCircle:rn,DivideCircleIcon:rn,DivideIcon:zp,DivideSquare:Go,DivideSquareIcon:Go,Dna:Ep,DnaIcon:Ep,DnaOff:Fp,DnaOffIcon:Fp,Dock:Op,DockIcon:Op,Dog:Hp,DogIcon:Hp,DollarSign:mc,DollarSignIcon:mc,Donut:Vp,DonutIcon:Vp,DoorClosed:Bp,DoorClosedIcon:Bp,DoorOpen:Up,DoorOpenIcon:Up,Dot:$p,DotIcon:$p,DotSquare:Wo,DotSquareIcon:Wo,Download:Gp,DownloadCloud:vn,DownloadCloudIcon:vn,DownloadIcon:Gp,DraftingCompass:Wp,DraftingCompassIcon:Wp,Drama:Zp,DramaIcon:Zp,Dribbble:Xp,DribbbleIcon:Xp,Drill:Jp,DrillIcon:Jp,Droplet:Yp,DropletIcon:Yp,Droplets:Kp,DropletsIcon:Kp,Drum:Qp,DrumIcon:Qp,Drumstick:ey,DrumstickIcon:ey,Dumbbell:ty,DumbbellIcon:ty,Ear:ry,EarIcon:ry,EarOff:ay,EarOffIcon:ay,Earth:Ln,EarthIcon:Ln,EarthLock:ny,EarthLockIcon:ny,Eclipse:oy,EclipseIcon:oy,Edit:wt,Edit2:po,Edit2Icon:po,Edit3:uo,Edit3Icon:uo,EditIcon:wt,Egg:cy,EggFried:iy,EggFriedIcon:iy,EggIcon:cy,EggOff:sy,EggOffIcon:sy,Ellipsis:Nn,EllipsisIcon:Nn,EllipsisVertical:In,EllipsisVerticalIcon:In,Equal:dy,EqualIcon:dy,EqualNot:ly,EqualNotIcon:ly,EqualSquare:Zo,EqualSquareIcon:Zo,Eraser:hy,EraserIcon:hy,EthernetPort:uy,EthernetPortIcon:uy,Euro:py,EuroIcon:py,Expand:yy,ExpandIcon:yy,ExternalLink:Bi,ExternalLinkIcon:Bi,Eye:fc,EyeClosed:my,EyeClosedIcon:my,EyeIcon:fc,EyeOff:fy,EyeOffIcon:fy,Facebook:xy,FacebookIcon:xy,Factory:ky,FactoryIcon:ky,Fan:gy,FanIcon:gy,FastForward:vy,FastForwardIcon:vy,Feather:wy,FeatherIcon:wy,Fence:My,FenceIcon:My,FerrisWheel:by,FerrisWheelIcon:by,Figma:Cy,FigmaIcon:Cy,File:wm,FileArchive:jy,FileArchiveIcon:jy,FileAudio:Ly,FileAudio2:Sy,FileAudio2Icon:Sy,FileAudioIcon:Ly,FileAxis3D:An,FileAxis3DIcon:An,FileAxis3d:An,FileAxis3dIcon:An,FileBadge:Ny,FileBadge2:Iy,FileBadge2Icon:Iy,FileBadgeIcon:Ny,FileBarChart:Pn,FileBarChart2:_n,FileBarChart2Icon:_n,FileBarChartIcon:Pn,FileBox:Ay,FileBoxIcon:Ay,FileChartColumn:_n,FileChartColumnIcon:_n,FileChartColumnIncreasing:Pn,FileChartColumnIncreasingIcon:Pn,FileChartLine:Rn,FileChartLineIcon:Rn,FileChartPie:Tn,FileChartPieIcon:Tn,FileCheck:_y,FileCheck2:Py,FileCheck2Icon:Py,FileCheckIcon:_y,FileClock:Ry,FileClockIcon:Ry,FileCode:qy,FileCode2:Ty,FileCode2Icon:Ty,FileCodeIcon:qy,FileCog:qn,FileCog2:qn,FileCog2Icon:qn,FileCogIcon:qn,FileDiff:Dy,FileDiffIcon:Dy,FileDigit:zy,FileDigitIcon:zy,FileDown:Fy,FileDownIcon:Fy,FileEdit:zn,FileEditIcon:zn,FileHeart:Ey,FileHeartIcon:Ey,FileIcon:wm,FileImage:Oy,FileImageIcon:Oy,FileInput:Hy,FileInputIcon:Hy,FileJson:By,FileJson2:Vy,FileJson2Icon:Vy,FileJsonIcon:By,FileKey:$y,FileKey2:Uy,FileKey2Icon:Uy,FileKeyIcon:$y,FileLineChart:Rn,FileLineChartIcon:Rn,FileLock:Wy,FileLock2:Gy,FileLock2Icon:Gy,FileLockIcon:Wy,FileMinus:Xy,FileMinus2:Zy,FileMinus2Icon:Zy,FileMinusIcon:Xy,FileMusic:Jy,FileMusicIcon:Jy,FileOutput:Yy,FileOutputIcon:Yy,FilePen:zn,FilePenIcon:zn,FilePenLine:Dn,FilePenLineIcon:Dn,FilePieChart:Tn,FilePieChartIcon:Tn,FilePlus:Qy,FilePlus2:Ky,FilePlus2Icon:Ky,FilePlusIcon:Qy,FileQuestion:em,FileQuestionIcon:em,FileScan:tm,FileScanIcon:tm,FileSearch:rm,FileSearch2:am,FileSearch2Icon:am,FileSearchIcon:rm,FileSignature:Dn,FileSignatureIcon:Dn,FileSliders:nm,FileSlidersIcon:nm,FileSpreadsheet:om,FileSpreadsheetIcon:om,FileStack:im,FileStackIcon:im,FileSymlink:sm,FileSymlinkIcon:sm,FileTerminal:cm,FileTerminalIcon:cm,FileText:lm,FileTextIcon:lm,FileType:hm,FileType2:dm,FileType2Icon:dm,FileTypeIcon:hm,FileUp:um,FileUpIcon:um,FileUser:pm,FileUserIcon:pm,FileVideo:mm,FileVideo2:ym,FileVideo2Icon:ym,FileVideoIcon:mm,FileVolume:xm,FileVolume2:fm,FileVolume2Icon:fm,FileVolumeIcon:xm,FileWarning:km,FileWarningIcon:km,FileX:vm,FileX2:gm,FileX2Icon:gm,FileXIcon:vm,Files:Mm,FilesIcon:Mm,Film:bm,FilmIcon:bm,Filter:ws,FilterIcon:ws,FilterX:Cm,FilterXIcon:Cm,Fingerprint:jm,FingerprintIcon:jm,FireExtinguisher:Sm,FireExtinguisherIcon:Sm,Fish:Nm,FishIcon:Nm,FishOff:Lm,FishOffIcon:Lm,FishSymbol:Im,FishSymbolIcon:Im,Flag:xc,FlagIcon:xc,FlagOff:Am,FlagOffIcon:Am,FlagTriangleLeft:Pm,FlagTriangleLeftIcon:Pm,FlagTriangleRight:_m,FlagTriangleRightIcon:_m,Flame:Tm,FlameIcon:Tm,FlameKindling:Rm,FlameKindlingIcon:Rm,Flashlight:Dm,FlashlightIcon:Dm,FlashlightOff:qm,FlashlightOffIcon:qm,FlaskConical:Fm,FlaskConicalIcon:Fm,FlaskConicalOff:zm,FlaskConicalOffIcon:zm,FlaskRound:Em,FlaskRoundIcon:Em,FlipHorizontal:Hm,FlipHorizontal2:Om,FlipHorizontal2Icon:Om,FlipHorizontalIcon:Hm,FlipVertical:Bm,FlipVertical2:Vm,FlipVertical2Icon:Vm,FlipVerticalIcon:Bm,Flower:$m,Flower2:Um,Flower2Icon:Um,FlowerIcon:$m,Focus:Gm,FocusIcon:Gm,FoldHorizontal:Wm,FoldHorizontalIcon:Wm,FoldVertical:Zm,FoldVerticalIcon:Zm,Folder:bf,FolderArchive:Xm,FolderArchiveIcon:Xm,FolderCheck:Jm,FolderCheckIcon:Jm,FolderClock:Ym,FolderClockIcon:Ym,FolderClosed:Km,FolderClosedIcon:Km,FolderCode:Qm,FolderCodeIcon:Qm,FolderCog:Fn,FolderCog2:Fn,FolderCog2Icon:Fn,FolderCogIcon:Fn,FolderDot:ef,FolderDotIcon:ef,FolderDown:tf,FolderDownIcon:tf,FolderEdit:En,FolderEditIcon:En,FolderGit:rf,FolderGit2:af,FolderGit2Icon:af,FolderGitIcon:rf,FolderHeart:nf,FolderHeartIcon:nf,FolderIcon:bf,FolderInput:of,FolderInputIcon:of,FolderKanban:sf,FolderKanbanIcon:sf,FolderKey:cf,FolderKeyIcon:cf,FolderLock:lf,FolderLockIcon:lf,FolderMinus:df,FolderMinusIcon:df,FolderOpen:uf,FolderOpenDot:hf,FolderOpenDotIcon:hf,FolderOpenIcon:uf,FolderOutput:pf,FolderOutputIcon:pf,FolderPen:En,FolderPenIcon:En,FolderPlus:yf,FolderPlusIcon:yf,FolderRoot:mf,FolderRootIcon:mf,FolderSearch:xf,FolderSearch2:ff,FolderSearch2Icon:ff,FolderSearchIcon:xf,FolderSymlink:kf,FolderSymlinkIcon:kf,FolderSync:gf,FolderSyncIcon:gf,FolderTree:vf,FolderTreeIcon:vf,FolderUp:wf,FolderUpIcon:wf,FolderX:Mf,FolderXIcon:Mf,Folders:Cf,FoldersIcon:Cf,Footprints:jf,FootprintsIcon:jf,ForkKnife:Ti,ForkKnifeCrossed:Ri,ForkKnifeCrossedIcon:Ri,ForkKnifeIcon:Ti,Forklift:Sf,ForkliftIcon:Sf,FormInput:mo,FormInputIcon:mo,Forward:Lf,ForwardIcon:Lf,Frame:If,FrameIcon:If,Framer:Nf,FramerIcon:Nf,Frown:Af,FrownIcon:Af,Fuel:Pf,FuelIcon:Pf,Fullscreen:_f,FullscreenIcon:_f,FunctionSquare:Xo,FunctionSquareIcon:Xo,GalleryHorizontal:Tf,GalleryHorizontalEnd:Rf,GalleryHorizontalEndIcon:Rf,GalleryHorizontalIcon:Tf,GalleryThumbnails:qf,GalleryThumbnailsIcon:qf,GalleryVertical:zf,GalleryVerticalEnd:Df,GalleryVerticalEndIcon:Df,GalleryVerticalIcon:zf,Gamepad:Ef,Gamepad2:Ff,Gamepad2Icon:Ff,GamepadIcon:Ef,GanttChart:Hr,GanttChartIcon:Hr,GanttChartSquare:ea,GanttChartSquareIcon:ea,Gauge:Of,GaugeCircle:nn,GaugeCircleIcon:nn,GaugeIcon:Of,Gavel:Hf,GavelIcon:Hf,Gem:Vf,GemIcon:Vf,Ghost:Bf,GhostIcon:Bf,Gift:Uf,GiftIcon:Uf,GitBranch:Gf,GitBranchIcon:Gf,GitBranchPlus:$f,GitBranchPlusIcon:$f,GitCommit:On,GitCommitHorizontal:On,GitCommitHorizontalIcon:On,GitCommitIcon:On,GitCommitVertical:Wf,GitCommitVerticalIcon:Wf,GitCompare:Xf,GitCompareArrows:Zf,GitCompareArrowsIcon:Zf,GitCompareIcon:Xf,GitFork:Jf,GitForkIcon:Jf,GitGraph:Yf,GitGraphIcon:Yf,GitMerge:Kf,GitMergeIcon:Kf,GitPullRequest:n4,GitPullRequestArrow:Qf,GitPullRequestArrowIcon:Qf,GitPullRequestClosed:e4,GitPullRequestClosedIcon:e4,GitPullRequestCreate:a4,GitPullRequestCreateArrow:t4,GitPullRequestCreateArrowIcon:t4,GitPullRequestCreateIcon:a4,GitPullRequestDraft:r4,GitPullRequestDraftIcon:r4,GitPullRequestIcon:n4,Github:o4,GithubIcon:o4,Gitlab:i4,GitlabIcon:i4,GlassWater:s4,GlassWaterIcon:s4,Glasses:c4,GlassesIcon:c4,Globe:Ms,Globe2:Ln,Globe2Icon:Ln,GlobeIcon:Ms,GlobeLock:l4,GlobeLockIcon:l4,Goal:d4,GoalIcon:d4,Grab:h4,GrabIcon:h4,GraduationCap:bs,GraduationCapIcon:bs,Grape:u4,GrapeIcon:u4,Grid:$t,Grid2X2:Hn,Grid2X2Icon:Hn,Grid2x2:Hn,Grid2x2Check:p4,Grid2x2CheckIcon:p4,Grid2x2Icon:Hn,Grid2x2Plus:y4,Grid2x2PlusIcon:y4,Grid2x2X:m4,Grid2x2XIcon:m4,Grid3X3:$t,Grid3X3Icon:$t,Grid3x3:$t,Grid3x3Icon:$t,GridIcon:$t,Grip:k4,GripHorizontal:f4,GripHorizontalIcon:f4,GripIcon:k4,GripVertical:x4,GripVerticalIcon:x4,Group:g4,GroupIcon:g4,Guitar:v4,GuitarIcon:v4,Ham:w4,HamIcon:w4,Hammer:M4,HammerIcon:M4,Hand:L4,HandCoins:b4,HandCoinsIcon:b4,HandHeart:C4,HandHeartIcon:C4,HandHelping:Vn,HandHelpingIcon:Vn,HandIcon:L4,HandMetal:j4,HandMetalIcon:j4,HandPlatter:S4,HandPlatterIcon:S4,Handshake:I4,HandshakeIcon:I4,HardDrive:P4,HardDriveDownload:N4,HardDriveDownloadIcon:N4,HardDriveIcon:P4,HardDriveUpload:A4,HardDriveUploadIcon:A4,HardHat:_4,HardHatIcon:_4,Hash:R4,HashIcon:R4,Haze:T4,HazeIcon:T4,HdmiPort:q4,HdmiPortIcon:q4,Heading:V4,Heading1:D4,Heading1Icon:D4,Heading2:z4,Heading2Icon:z4,Heading3:F4,Heading3Icon:F4,Heading4:E4,Heading4Icon:E4,Heading5:O4,Heading5Icon:O4,Heading6:H4,Heading6Icon:H4,HeadingIcon:V4,HeadphoneOff:B4,HeadphoneOffIcon:B4,Headphones:U4,HeadphonesIcon:U4,Headset:$4,HeadsetIcon:$4,Heart:Cs,HeartCrack:G4,HeartCrackIcon:G4,HeartHandshake:W4,HeartHandshakeIcon:W4,HeartIcon:Cs,HeartOff:Z4,HeartOffIcon:Z4,HeartPulse:X4,HeartPulseIcon:X4,Heater:J4,HeaterIcon:J4,HelpCircle:Ha,HelpCircleIcon:Ha,HelpingHand:Vn,HelpingHandIcon:Vn,Hexagon:Y4,HexagonIcon:Y4,Highlighter:K4,HighlighterIcon:K4,History:Q4,HistoryIcon:Q4,Home:va,HomeIcon:va,Hop:tx,HopIcon:tx,HopOff:ex,HopOffIcon:ex,Hospital:ax,HospitalIcon:ax,Hotel:rx,HotelIcon:rx,Hourglass:nx,HourglassIcon:nx,House:va,HouseIcon:va,HousePlug:ox,HousePlugIcon:ox,HousePlus:ix,HousePlusIcon:ix,IceCream:Un,IceCream2:Bn,IceCream2Icon:Bn,IceCreamBowl:Bn,IceCreamBowlIcon:Bn,IceCreamCone:Un,IceCreamConeIcon:Un,IceCreamIcon:Un,Icon:LI,IdCard:sx,IdCardIcon:sx,Image:yx,ImageDown:cx,ImageDownIcon:cx,ImageIcon:yx,ImageMinus:lx,ImageMinusIcon:lx,ImageOff:dx,ImageOffIcon:dx,ImagePlay:hx,ImagePlayIcon:hx,ImagePlus:ux,ImagePlusIcon:ux,ImageUp:px,ImageUpIcon:px,Images:mx,ImagesIcon:mx,Import:fx,ImportIcon:fx,Inbox:xx,InboxIcon:xx,Indent:Gn,IndentDecrease:$n,IndentDecreaseIcon:$n,IndentIcon:Gn,IndentIncrease:Gn,IndentIncreaseIcon:Gn,IndianRupee:kx,IndianRupeeIcon:kx,Infinity:gx,InfinityIcon:gx,Info:vx,InfoIcon:vx,Inspect:ti,InspectIcon:ti,InspectionPanel:wx,InspectionPanelIcon:wx,Instagram:Mx,InstagramIcon:Mx,Italic:bx,ItalicIcon:bx,IterationCcw:Cx,IterationCcwIcon:Cx,IterationCw:jx,IterationCwIcon:jx,JapaneseYen:Sx,JapaneseYenIcon:Sx,Joystick:Lx,JoystickIcon:Lx,Kanban:Ix,KanbanIcon:Ix,KanbanSquare:Jo,KanbanSquareDashed:Bo,KanbanSquareDashedIcon:Bo,KanbanSquareIcon:Jo,Key:Px,KeyIcon:Px,KeyRound:Nx,KeyRoundIcon:Nx,KeySquare:Ax,KeySquareIcon:Ax,Keyboard:Tx,KeyboardIcon:Tx,KeyboardMusic:_x,KeyboardMusicIcon:_x,KeyboardOff:Rx,KeyboardOffIcon:Rx,Lamp:Ox,LampCeiling:qx,LampCeilingIcon:qx,LampDesk:Dx,LampDeskIcon:Dx,LampFloor:zx,LampFloorIcon:zx,LampIcon:Ox,LampWallDown:Fx,LampWallDownIcon:Fx,LampWallUp:Ex,LampWallUpIcon:Ex,LandPlot:Hx,LandPlotIcon:Hx,Landmark:Vx,LandmarkIcon:Vx,Languages:Bx,LanguagesIcon:Bx,Laptop:Ux,Laptop2:Wn,Laptop2Icon:Wn,LaptopIcon:Ux,LaptopMinimal:Wn,LaptopMinimalIcon:Wn,Lasso:Gx,LassoIcon:Gx,LassoSelect:$x,LassoSelectIcon:$x,Laugh:Wx,LaughIcon:Wx,Layers:Jx,Layers2:Zx,Layers2Icon:Zx,Layers3:Xx,Layers3Icon:Xx,LayersIcon:Jx,Layout:ho,LayoutDashboard:kc,LayoutDashboardIcon:kc,LayoutGrid:Yx,LayoutGridIcon:Yx,LayoutIcon:ho,LayoutList:Kx,LayoutListIcon:Kx,LayoutPanelLeft:Qx,LayoutPanelLeftIcon:Qx,LayoutPanelTop:ek,LayoutPanelTopIcon:ek,LayoutTemplate:tk,LayoutTemplateIcon:tk,Leaf:ak,LeafIcon:ak,LeafyGreen:rk,LeafyGreenIcon:rk,Lectern:nk,LecternIcon:nk,LetterText:ok,LetterTextIcon:ok,Library:sk,LibraryBig:ik,LibraryBigIcon:ik,LibraryIcon:sk,LibrarySquare:Yo,LibrarySquareIcon:Yo,LifeBuoy:ck,LifeBuoyIcon:ck,Ligature:lk,LigatureIcon:lk,Lightbulb:hk,LightbulbIcon:hk,LightbulbOff:dk,LightbulbOffIcon:dk,LineChart:Er,LineChartIcon:Er,Link:gc,Link2:pk,Link2Icon:pk,Link2Off:uk,Link2OffIcon:uk,LinkIcon:gc,Linkedin:yk,LinkedinIcon:yk,List:vc,ListCheck:mk,ListCheckIcon:mk,ListChecks:fk,ListChecksIcon:fk,ListCollapse:xk,ListCollapseIcon:xk,ListEnd:kk,ListEndIcon:kk,ListFilter:gk,ListFilterIcon:gk,ListIcon:vc,ListMinus:vk,ListMinusIcon:vk,ListMusic:wk,ListMusicIcon:wk,ListOrdered:Mk,ListOrderedIcon:Mk,ListPlus:bk,ListPlusIcon:bk,ListRestart:Ck,ListRestartIcon:Ck,ListStart:jk,ListStartIcon:jk,ListTodo:Sk,ListTodoIcon:Sk,ListTree:Lk,ListTreeIcon:Lk,ListVideo:Ik,ListVideoIcon:Ik,ListX:Nk,ListXIcon:Nk,Loader:Pk,Loader2:Zn,Loader2Icon:Zn,LoaderCircle:Zn,LoaderCircleIcon:Zn,LoaderIcon:Pk,LoaderPinwheel:Ak,LoaderPinwheelIcon:Ak,Locate:Tk,LocateFixed:_k,LocateFixedIcon:_k,LocateIcon:Tk,LocateOff:Rk,LocateOffIcon:Rk,Lock:wc,LockIcon:wc,LockKeyhole:qk,LockKeyholeIcon:qk,LockKeyholeOpen:Xn,LockKeyholeOpenIcon:Xn,LockOpen:Jn,LockOpenIcon:Jn,LogIn:Dk,LogInIcon:Dk,LogOut:Mc,LogOutIcon:Mc,Logs:zk,LogsIcon:zk,Lollipop:Fk,LollipopIcon:Fk,LucideAArrowDown:y1,LucideAArrowUp:m1,LucideALargeSmall:f1,LucideAccessibility:x1,LucideActivity:k1,LucideActivitySquare:bo,LucideAirVent:g1,LucideAirplay:v1,LucideAlarmCheck:fr,LucideAlarmClock:M1,LucideAlarmClockCheck:fr,LucideAlarmClockMinus:xr,LucideAlarmClockOff:w1,LucideAlarmClockPlus:kr,LucideAlarmMinus:xr,LucideAlarmPlus:kr,LucideAlarmSmoke:b1,LucideAlbum:C1,LucideAlertCircle:Tt,LucideAlertOctagon:Qn,LucideAlertTriangle:bi,LucideAlignCenter:L1,LucideAlignCenterHorizontal:j1,LucideAlignCenterVertical:S1,LucideAlignEndHorizontal:I1,LucideAlignEndVertical:N1,LucideAlignHorizontalDistributeCenter:A1,LucideAlignHorizontalDistributeEnd:P1,LucideAlignHorizontalDistributeStart:_1,LucideAlignHorizontalJustifyCenter:R1,LucideAlignHorizontalJustifyEnd:T1,LucideAlignHorizontalJustifyStart:q1,LucideAlignHorizontalSpaceAround:D1,LucideAlignHorizontalSpaceBetween:z1,LucideAlignJustify:F1,LucideAlignLeft:E1,LucideAlignRight:O1,LucideAlignStartHorizontal:H1,LucideAlignStartVertical:V1,LucideAlignVerticalDistributeCenter:B1,LucideAlignVerticalDistributeEnd:U1,LucideAlignVerticalDistributeStart:$1,LucideAlignVerticalJustifyCenter:G1,LucideAlignVerticalJustifyEnd:W1,LucideAlignVerticalJustifyStart:Z1,LucideAlignVerticalSpaceAround:X1,LucideAlignVerticalSpaceBetween:J1,LucideAmbulance:Y1,LucideAmpersand:K1,LucideAmpersands:Q1,LucideAmphora:el,LucideAnchor:tl,LucideAngry:al,LucideAnnoyed:rl,LucideAntenna:nl,LucideAnvil:ol,LucideAperture:il,LucideAppWindow:cl,LucideAppWindowMac:sl,LucideApple:ll,LucideArchive:ul,LucideArchiveRestore:dl,LucideArchiveX:hl,LucideAreaChart:_r,LucideArmchair:pl,LucideArrowBigDown:ml,LucideArrowBigDownDash:yl,LucideArrowBigLeft:xl,LucideArrowBigLeftDash:fl,LucideArrowBigRight:gl,LucideArrowBigRightDash:kl,LucideArrowBigUp:wl,LucideArrowBigUpDash:vl,LucideArrowDown:Pl,LucideArrowDown01:Ml,LucideArrowDown10:bl,LucideArrowDownAZ:gr,LucideArrowDownAz:gr,LucideArrowDownCircle:Ur,LucideArrowDownFromLine:Cl,LucideArrowDownLeft:jl,LucideArrowDownLeftFromCircle:Gr,LucideArrowDownLeftFromSquare:Lo,LucideArrowDownLeftSquare:Co,LucideArrowDownNarrowWide:Sl,LucideArrowDownRight:Ll,LucideArrowDownRightFromCircle:Wr,LucideArrowDownRightFromSquare:Io,LucideArrowDownRightSquare:jo,LucideArrowDownSquare:So,LucideArrowDownToDot:Il,LucideArrowDownToLine:Nl,LucideArrowDownUp:Al,LucideArrowDownWideNarrow:vr,LucideArrowDownZA:wr,LucideArrowDownZa:wr,LucideArrowLeft:Oi,LucideArrowLeftCircle:$r,LucideArrowLeftFromLine:_l,LucideArrowLeftRight:Rl,LucideArrowLeftSquare:wa,LucideArrowLeftToLine:Tl,LucideArrowRight:xs,LucideArrowRightCircle:Jr,LucideArrowRightFromLine:ql,LucideArrowRightLeft:Dl,LucideArrowRightSquare:Ma,LucideArrowRightToLine:zl,LucideArrowUp:Wl,LucideArrowUp01:Fl,LucideArrowUp10:El,LucideArrowUpAZ:Mr,LucideArrowUpAz:Mr,LucideArrowUpCircle:Yr,LucideArrowUpDown:Ol,LucideArrowUpFromDot:Hl,LucideArrowUpFromLine:Vl,LucideArrowUpLeft:Bl,LucideArrowUpLeftFromCircle:Zr,LucideArrowUpLeftFromSquare:No,LucideArrowUpLeftSquare:Po,LucideArrowUpNarrowWide:br,LucideArrowUpRight:Ul,LucideArrowUpRightFromCircle:Xr,LucideArrowUpRightFromSquare:Ao,LucideArrowUpRightSquare:_o,LucideArrowUpSquare:Ro,LucideArrowUpToLine:$l,LucideArrowUpWideNarrow:Gl,LucideArrowUpZA:Cr,LucideArrowUpZa:Cr,LucideArrowsUpFromLine:Zl,LucideAsterisk:Xl,LucideAsteriskSquare:To,LucideAtSign:Jl,LucideAtom:Yl,LucideAudioLines:Kl,LucideAudioWaveform:Ql,LucideAward:Ca,LucideAxe:ed,LucideAxis3D:jr,LucideAxis3d:jr,LucideBaby:td,LucideBackpack:ad,LucideBadge:kd,LucideBadgeAlert:rd,LucideBadgeCent:nd,LucideBadgeCheck:Sr,LucideBadgeDollarSign:od,LucideBadgeEuro:id,LucideBadgeHelp:sd,LucideBadgeIndianRupee:cd,LucideBadgeInfo:ld,LucideBadgeJapaneseYen:dd,LucideBadgeMinus:hd,LucideBadgePercent:ud,LucideBadgePlus:pd,LucideBadgePoundSterling:yd,LucideBadgeRussianRuble:md,LucideBadgeSwissFranc:fd,LucideBadgeX:xd,LucideBaggageClaim:gd,LucideBan:vd,LucideBanana:wd,LucideBandage:Md,LucideBanknote:bd,LucideBarChart:Oa,LucideBarChart2:Or,LucideBarChart3:Fr,LucideBarChart4:zr,LucideBarChartBig:Dr,LucideBarChartHorizontal:Tr,LucideBarChartHorizontalBig:Rr,LucideBarcode:Cd,LucideBaseline:jd,LucideBath:Sd,LucideBattery:_d,LucideBatteryCharging:Ld,LucideBatteryFull:Id,LucideBatteryLow:Nd,LucideBatteryMedium:Ad,LucideBatteryWarning:Pd,LucideBeaker:Rd,LucideBean:qd,LucideBeanOff:Td,LucideBed:Fd,LucideBedDouble:Dd,LucideBedSingle:zd,LucideBeef:Ed,LucideBeer:Hd,LucideBeerOff:Od,LucideBell:ks,LucideBellDot:Vd,LucideBellElectric:Bd,LucideBellMinus:Ud,LucideBellOff:$d,LucideBellPlus:Gd,LucideBellRing:Wd,LucideBetweenHorizonalEnd:Lr,LucideBetweenHorizonalStart:Ir,LucideBetweenHorizontalEnd:Lr,LucideBetweenHorizontalStart:Ir,LucideBetweenVerticalEnd:Zd,LucideBetweenVerticalStart:Xd,LucideBicepsFlexed:Jd,LucideBike:Yd,LucideBinary:Kd,LucideBinoculars:Qd,LucideBiohazard:e2,LucideBird:t2,LucideBitcoin:a2,LucideBlend:r2,LucideBlinds:n2,LucideBlocks:o2,LucideBluetooth:l2,LucideBluetoothConnected:i2,LucideBluetoothOff:s2,LucideBluetoothSearching:c2,LucideBold:d2,LucideBolt:h2,LucideBomb:u2,LucideBone:p2,LucideBook:q2,LucideBookA:y2,LucideBookAudio:m2,LucideBookCheck:f2,LucideBookCopy:x2,LucideBookDashed:Nr,LucideBookDown:k2,LucideBookHeadphones:g2,LucideBookHeart:v2,LucideBookImage:w2,LucideBookKey:M2,LucideBookLock:b2,LucideBookMarked:C2,LucideBookMinus:j2,LucideBookOpen:Ft,LucideBookOpenCheck:S2,LucideBookOpenText:L2,LucideBookPlus:I2,LucideBookTemplate:Nr,LucideBookText:N2,LucideBookType:A2,LucideBookUp:_2,LucideBookUp2:P2,LucideBookUser:R2,LucideBookX:T2,LucideBookmark:Ga,LucideBookmarkCheck:sa,LucideBookmarkMinus:D2,LucideBookmarkPlus:lc,LucideBookmarkX:z2,LucideBoomBox:F2,LucideBot:dc,LucideBotMessageSquare:E2,LucideBotOff:O2,LucideBox:H2,LucideBoxSelect:$o,LucideBoxes:V2,LucideBraces:Ar,LucideBrackets:B2,LucideBrain:G2,LucideBrainCircuit:U2,LucideBrainCog:$2,LucideBrickWall:W2,LucideBriefcase:mt,LucideBriefcaseBusiness:Z2,LucideBriefcaseConveyorBelt:X2,LucideBriefcaseMedical:J2,LucideBringToFront:Y2,LucideBrush:K2,LucideBug:t0,LucideBugOff:Q2,LucideBugPlay:e0,LucideBuilding:gs,LucideBuilding2:hc,LucideBus:r0,LucideBusFront:a0,LucideCable:o0,LucideCableCar:n0,LucideCake:s0,LucideCakeSlice:i0,LucideCalculator:c0,LucideCalendar:uc,LucideCalendarArrowDown:l0,LucideCalendarArrowUp:d0,LucideCalendarCheck:u0,LucideCalendarCheck2:h0,LucideCalendarClock:p0,LucideCalendarCog:y0,LucideCalendarDays:m0,LucideCalendarFold:f0,LucideCalendarHeart:x0,LucideCalendarMinus:g0,LucideCalendarMinus2:k0,LucideCalendarOff:v0,LucideCalendarPlus:M0,LucideCalendarPlus2:w0,LucideCalendarRange:b0,LucideCalendarSearch:C0,LucideCalendarX:S0,LucideCalendarX2:j0,LucideCamera:I0,LucideCameraOff:L0,LucideCandlestickChart:qr,LucideCandy:P0,LucideCandyCane:N0,LucideCandyOff:A0,LucideCannabis:_0,LucideCaptions:Pr,LucideCaptionsOff:R0,LucideCar:D0,LucideCarFront:T0,LucideCarTaxiFront:q0,LucideCaravan:z0,LucideCarrot:F0,LucideCaseLower:E0,LucideCaseSensitive:O0,LucideCaseUpper:H0,LucideCassetteTape:V0,LucideCast:B0,LucideCastle:U0,LucideCat:$0,LucideCctv:G0,LucideChartArea:_r,LucideChartBar:Tr,LucideChartBarBig:Rr,LucideChartBarDecreasing:W0,LucideChartBarIncreasing:Z0,LucideChartBarStacked:X0,LucideChartCandlestick:qr,LucideChartColumn:Fr,LucideChartColumnBig:Dr,LucideChartColumnDecreasing:J0,LucideChartColumnIncreasing:zr,LucideChartColumnStacked:Y0,LucideChartGantt:K0,LucideChartLine:Er,LucideChartNetwork:Q0,LucideChartNoAxesColumn:Or,LucideChartNoAxesColumnDecreasing:eh,LucideChartNoAxesColumnIncreasing:Oa,LucideChartNoAxesCombined:th,LucideChartNoAxesGantt:Hr,LucideChartPie:Vr,LucideChartScatter:Br,LucideChartSpline:ah,LucideCheck:vs,LucideCheckCheck:rh,LucideCheckCircle:bt,LucideCheckCircle2:Kr,LucideCheckSquare:Do,LucideCheckSquare2:zo,LucideChefHat:nh,LucideCherry:oh,LucideChevronDown:Hi,LucideChevronDownCircle:Qr,LucideChevronDownSquare:Fo,LucideChevronFirst:ih,LucideChevronLast:sh,LucideChevronLeft:Vi,LucideChevronLeftCircle:en,LucideChevronLeftSquare:Eo,LucideChevronRight:Wa,LucideChevronRightCircle:tn,LucideChevronRightSquare:Oo,LucideChevronUp:pc,LucideChevronUpCircle:an,LucideChevronUpSquare:Ho,LucideChevronsDown:lh,LucideChevronsDownUp:ch,LucideChevronsLeft:uh,LucideChevronsLeftRight:hh,LucideChevronsLeftRightEllipsis:dh,LucideChevronsRight:yh,LucideChevronsRightLeft:ph,LucideChevronsUp:fh,LucideChevronsUpDown:mh,LucideChrome:xh,LucideChurch:kh,LucideCigarette:vh,LucideCigaretteOff:gh,LucideCircle:Ph,LucideCircleAlert:Tt,LucideCircleArrowDown:Ur,LucideCircleArrowLeft:$r,LucideCircleArrowOutDownLeft:Gr,LucideCircleArrowOutDownRight:Wr,LucideCircleArrowOutUpLeft:Zr,LucideCircleArrowOutUpRight:Xr,LucideCircleArrowRight:Jr,LucideCircleArrowUp:Yr,LucideCircleCheck:Kr,LucideCircleCheckBig:bt,LucideCircleChevronDown:Qr,LucideCircleChevronLeft:en,LucideCircleChevronRight:tn,LucideCircleChevronUp:an,LucideCircleDashed:wh,LucideCircleDivide:rn,LucideCircleDollarSign:Mh,LucideCircleDot:Ch,LucideCircleDotDashed:bh,LucideCircleEllipsis:jh,LucideCircleEqual:Sh,LucideCircleFadingArrowUp:Lh,LucideCircleFadingPlus:Ih,LucideCircleGauge:nn,LucideCircleHelp:Ha,LucideCircleMinus:on,LucideCircleOff:Nh,LucideCircleParking:cn,LucideCircleParkingOff:sn,LucideCirclePause:ln,LucideCirclePercent:dn,LucideCirclePlay:hn,LucideCirclePlus:un,LucideCirclePower:pn,LucideCircleSlash:Ah,LucideCircleSlash2:yn,LucideCircleSlashed:yn,LucideCircleStop:mn,LucideCircleUser:xn,LucideCircleUserRound:fn,LucideCircleX:aa,LucideCircuitBoard:_h,LucideCitrus:Rh,LucideClapperboard:Th,LucideClipboard:Bh,LucideClipboardCheck:qh,LucideClipboardCopy:Dh,LucideClipboardEdit:gn,LucideClipboardList:zh,LucideClipboardMinus:Fh,LucideClipboardPaste:Eh,LucideClipboardPen:gn,LucideClipboardPenLine:kn,LucideClipboardPlus:Oh,LucideClipboardSignature:kn,LucideClipboardType:Hh,LucideClipboardX:Vh,LucideClock:Zt,LucideClock1:Uh,LucideClock10:$h,LucideClock11:Gh,LucideClock12:Wh,LucideClock2:Zh,LucideClock3:Xh,LucideClock4:Jh,LucideClock5:Yh,LucideClock6:Kh,LucideClock7:Qh,LucideClock8:eu,LucideClock9:tu,LucideClockAlert:au,LucideClockArrowDown:ru,LucideClockArrowUp:nu,LucideCloud:ku,LucideCloudCog:ou,LucideCloudDownload:vn,LucideCloudDrizzle:iu,LucideCloudFog:su,LucideCloudHail:cu,LucideCloudLightning:lu,LucideCloudMoon:hu,LucideCloudMoonRain:du,LucideCloudOff:uu,LucideCloudRain:yu,LucideCloudRainWind:pu,LucideCloudSnow:mu,LucideCloudSun:xu,LucideCloudSunRain:fu,LucideCloudUpload:wn,LucideCloudy:gu,LucideClover:vu,LucideClub:wu,LucideCode:Mu,LucideCode2:Mn,LucideCodeSquare:Vo,LucideCodeXml:Mn,LucideCodepen:bu,LucideCodesandbox:Cu,LucideCoffee:ju,LucideCog:Su,LucideCoins:Lu,LucideColumns:bn,LucideColumns2:bn,LucideColumns3:Cn,LucideColumns4:Iu,LucideCombine:Nu,LucideCommand:Au,LucideCompass:Pu,LucideComponent:_u,LucideComputer:Ru,LucideConciergeBell:Tu,LucideCone:qu,LucideConstruction:Du,LucideContact:zu,LucideContact2:jn,LucideContactRound:jn,LucideContainer:Fu,LucideContrast:Eu,LucideCookie:Ou,LucideCookingPot:Hu,LucideCopy:Wu,LucideCopyCheck:Vu,LucideCopyMinus:Bu,LucideCopyPlus:Uu,LucideCopySlash:$u,LucideCopyX:Gu,LucideCopyleft:Zu,LucideCopyright:Xu,LucideCornerDownLeft:Ju,LucideCornerDownRight:Yu,LucideCornerLeftDown:Ku,LucideCornerLeftUp:Qu,LucideCornerRightDown:ep,LucideCornerRightUp:tp,LucideCornerUpLeft:ap,LucideCornerUpRight:rp,LucideCpu:np,LucideCreativeCommons:op,LucideCreditCard:yc,LucideCroissant:ip,LucideCrop:sp,LucideCross:cp,LucideCrosshair:lp,LucideCrown:dp,LucideCuboid:hp,LucideCupSoda:up,LucideCurlyBraces:Ar,LucideCurrency:pp,LucideCylinder:yp,LucideDam:mp,LucideDatabase:kp,LucideDatabaseBackup:fp,LucideDatabaseZap:xp,LucideDelete:gp,LucideDessert:vp,LucideDiameter:wp,LucideDiamond:Cp,LucideDiamondMinus:Mp,LucideDiamondPercent:Sn,LucideDiamondPlus:bp,LucideDice1:jp,LucideDice2:Sp,LucideDice3:Lp,LucideDice4:Ip,LucideDice5:Np,LucideDice6:Ap,LucideDices:Pp,LucideDiff:_p,LucideDisc:Dp,LucideDisc2:Rp,LucideDisc3:Tp,LucideDiscAlbum:qp,LucideDivide:zp,LucideDivideCircle:rn,LucideDivideSquare:Go,LucideDna:Ep,LucideDnaOff:Fp,LucideDock:Op,LucideDog:Hp,LucideDollarSign:mc,LucideDonut:Vp,LucideDoorClosed:Bp,LucideDoorOpen:Up,LucideDot:$p,LucideDotSquare:Wo,LucideDownload:Gp,LucideDownloadCloud:vn,LucideDraftingCompass:Wp,LucideDrama:Zp,LucideDribbble:Xp,LucideDrill:Jp,LucideDroplet:Yp,LucideDroplets:Kp,LucideDrum:Qp,LucideDrumstick:ey,LucideDumbbell:ty,LucideEar:ry,LucideEarOff:ay,LucideEarth:Ln,LucideEarthLock:ny,LucideEclipse:oy,LucideEdit:wt,LucideEdit2:po,LucideEdit3:uo,LucideEgg:cy,LucideEggFried:iy,LucideEggOff:sy,LucideEllipsis:Nn,LucideEllipsisVertical:In,LucideEqual:dy,LucideEqualNot:ly,LucideEqualSquare:Zo,LucideEraser:hy,LucideEthernetPort:uy,LucideEuro:py,LucideExpand:yy,LucideExternalLink:Bi,LucideEye:fc,LucideEyeClosed:my,LucideEyeOff:fy,LucideFacebook:xy,LucideFactory:ky,LucideFan:gy,LucideFastForward:vy,LucideFeather:wy,LucideFence:My,LucideFerrisWheel:by,LucideFigma:Cy,LucideFile:wm,LucideFileArchive:jy,LucideFileAudio:Ly,LucideFileAudio2:Sy,LucideFileAxis3D:An,LucideFileAxis3d:An,LucideFileBadge:Ny,LucideFileBadge2:Iy,LucideFileBarChart:Pn,LucideFileBarChart2:_n,LucideFileBox:Ay,LucideFileChartColumn:_n,LucideFileChartColumnIncreasing:Pn,LucideFileChartLine:Rn,LucideFileChartPie:Tn,LucideFileCheck:_y,LucideFileCheck2:Py,LucideFileClock:Ry,LucideFileCode:qy,LucideFileCode2:Ty,LucideFileCog:qn,LucideFileCog2:qn,LucideFileDiff:Dy,LucideFileDigit:zy,LucideFileDown:Fy,LucideFileEdit:zn,LucideFileHeart:Ey,LucideFileImage:Oy,LucideFileInput:Hy,LucideFileJson:By,LucideFileJson2:Vy,LucideFileKey:$y,LucideFileKey2:Uy,LucideFileLineChart:Rn,LucideFileLock:Wy,LucideFileLock2:Gy,LucideFileMinus:Xy,LucideFileMinus2:Zy,LucideFileMusic:Jy,LucideFileOutput:Yy,LucideFilePen:zn,LucideFilePenLine:Dn,LucideFilePieChart:Tn,LucideFilePlus:Qy,LucideFilePlus2:Ky,LucideFileQuestion:em,LucideFileScan:tm,LucideFileSearch:rm,LucideFileSearch2:am,LucideFileSignature:Dn,LucideFileSliders:nm,LucideFileSpreadsheet:om,LucideFileStack:im,LucideFileSymlink:sm,LucideFileTerminal:cm,LucideFileText:lm,LucideFileType:hm,LucideFileType2:dm,LucideFileUp:um,LucideFileUser:pm,LucideFileVideo:mm,LucideFileVideo2:ym,LucideFileVolume:xm,LucideFileVolume2:fm,LucideFileWarning:km,LucideFileX:vm,LucideFileX2:gm,LucideFiles:Mm,LucideFilm:bm,LucideFilter:ws,LucideFilterX:Cm,LucideFingerprint:jm,LucideFireExtinguisher:Sm,LucideFish:Nm,LucideFishOff:Lm,LucideFishSymbol:Im,LucideFlag:xc,LucideFlagOff:Am,LucideFlagTriangleLeft:Pm,LucideFlagTriangleRight:_m,LucideFlame:Tm,LucideFlameKindling:Rm,LucideFlashlight:Dm,LucideFlashlightOff:qm,LucideFlaskConical:Fm,LucideFlaskConicalOff:zm,LucideFlaskRound:Em,LucideFlipHorizontal:Hm,LucideFlipHorizontal2:Om,LucideFlipVertical:Bm,LucideFlipVertical2:Vm,LucideFlower:$m,LucideFlower2:Um,LucideFocus:Gm,LucideFoldHorizontal:Wm,LucideFoldVertical:Zm,LucideFolder:bf,LucideFolderArchive:Xm,LucideFolderCheck:Jm,LucideFolderClock:Ym,LucideFolderClosed:Km,LucideFolderCode:Qm,LucideFolderCog:Fn,LucideFolderCog2:Fn,LucideFolderDot:ef,LucideFolderDown:tf,LucideFolderEdit:En,LucideFolderGit:rf,LucideFolderGit2:af,LucideFolderHeart:nf,LucideFolderInput:of,LucideFolderKanban:sf,LucideFolderKey:cf,LucideFolderLock:lf,LucideFolderMinus:df,LucideFolderOpen:uf,LucideFolderOpenDot:hf,LucideFolderOutput:pf,LucideFolderPen:En,LucideFolderPlus:yf,LucideFolderRoot:mf,LucideFolderSearch:xf,LucideFolderSearch2:ff,LucideFolderSymlink:kf,LucideFolderSync:gf,LucideFolderTree:vf,LucideFolderUp:wf,LucideFolderX:Mf,LucideFolders:Cf,LucideFootprints:jf,LucideForkKnife:Ti,LucideForkKnifeCrossed:Ri,LucideForklift:Sf,LucideFormInput:mo,LucideForward:Lf,LucideFrame:If,LucideFramer:Nf,LucideFrown:Af,LucideFuel:Pf,LucideFullscreen:_f,LucideFunctionSquare:Xo,LucideGalleryHorizontal:Tf,LucideGalleryHorizontalEnd:Rf,LucideGalleryThumbnails:qf,LucideGalleryVertical:zf,LucideGalleryVerticalEnd:Df,LucideGamepad:Ef,LucideGamepad2:Ff,LucideGanttChart:Hr,LucideGanttChartSquare:ea,LucideGauge:Of,LucideGaugeCircle:nn,LucideGavel:Hf,LucideGem:Vf,LucideGhost:Bf,LucideGift:Uf,LucideGitBranch:Gf,LucideGitBranchPlus:$f,LucideGitCommit:On,LucideGitCommitHorizontal:On,LucideGitCommitVertical:Wf,LucideGitCompare:Xf,LucideGitCompareArrows:Zf,LucideGitFork:Jf,LucideGitGraph:Yf,LucideGitMerge:Kf,LucideGitPullRequest:n4,LucideGitPullRequestArrow:Qf,LucideGitPullRequestClosed:e4,LucideGitPullRequestCreate:a4,LucideGitPullRequestCreateArrow:t4,LucideGitPullRequestDraft:r4,LucideGithub:o4,LucideGitlab:i4,LucideGlassWater:s4,LucideGlasses:c4,LucideGlobe:Ms,LucideGlobe2:Ln,LucideGlobeLock:l4,LucideGoal:d4,LucideGrab:h4,LucideGraduationCap:bs,LucideGrape:u4,LucideGrid:$t,LucideGrid2X2:Hn,LucideGrid2x2:Hn,LucideGrid2x2Check:p4,LucideGrid2x2Plus:y4,LucideGrid2x2X:m4,LucideGrid3X3:$t,LucideGrid3x3:$t,LucideGrip:k4,LucideGripHorizontal:f4,LucideGripVertical:x4,LucideGroup:g4,LucideGuitar:v4,LucideHam:w4,LucideHammer:M4,LucideHand:L4,LucideHandCoins:b4,LucideHandHeart:C4,LucideHandHelping:Vn,LucideHandMetal:j4,LucideHandPlatter:S4,LucideHandshake:I4,LucideHardDrive:P4,LucideHardDriveDownload:N4,LucideHardDriveUpload:A4,LucideHardHat:_4,LucideHash:R4,LucideHaze:T4,LucideHdmiPort:q4,LucideHeading:V4,LucideHeading1:D4,LucideHeading2:z4,LucideHeading3:F4,LucideHeading4:E4,LucideHeading5:O4,LucideHeading6:H4,LucideHeadphoneOff:B4,LucideHeadphones:U4,LucideHeadset:$4,LucideHeart:Cs,LucideHeartCrack:G4,LucideHeartHandshake:W4,LucideHeartOff:Z4,LucideHeartPulse:X4,LucideHeater:J4,LucideHelpCircle:Ha,LucideHelpingHand:Vn,LucideHexagon:Y4,LucideHighlighter:K4,LucideHistory:Q4,LucideHome:va,LucideHop:tx,LucideHopOff:ex,LucideHospital:ax,LucideHotel:rx,LucideHourglass:nx,LucideHouse:va,LucideHousePlug:ox,LucideHousePlus:ix,LucideIceCream:Un,LucideIceCream2:Bn,LucideIceCreamBowl:Bn,LucideIceCreamCone:Un,LucideIdCard:sx,LucideImage:yx,LucideImageDown:cx,LucideImageMinus:lx,LucideImageOff:dx,LucideImagePlay:hx,LucideImagePlus:ux,LucideImageUp:px,LucideImages:mx,LucideImport:fx,LucideInbox:xx,LucideIndent:Gn,LucideIndentDecrease:$n,LucideIndentIncrease:Gn,LucideIndianRupee:kx,LucideInfinity:gx,LucideInfo:vx,LucideInspect:ti,LucideInspectionPanel:wx,LucideInstagram:Mx,LucideItalic:bx,LucideIterationCcw:Cx,LucideIterationCw:jx,LucideJapaneseYen:Sx,LucideJoystick:Lx,LucideKanban:Ix,LucideKanbanSquare:Jo,LucideKanbanSquareDashed:Bo,LucideKey:Px,LucideKeyRound:Nx,LucideKeySquare:Ax,LucideKeyboard:Tx,LucideKeyboardMusic:_x,LucideKeyboardOff:Rx,LucideLamp:Ox,LucideLampCeiling:qx,LucideLampDesk:Dx,LucideLampFloor:zx,LucideLampWallDown:Fx,LucideLampWallUp:Ex,LucideLandPlot:Hx,LucideLandmark:Vx,LucideLanguages:Bx,LucideLaptop:Ux,LucideLaptop2:Wn,LucideLaptopMinimal:Wn,LucideLasso:Gx,LucideLassoSelect:$x,LucideLaugh:Wx,LucideLayers:Jx,LucideLayers2:Zx,LucideLayers3:Xx,LucideLayout:ho,LucideLayoutDashboard:kc,LucideLayoutGrid:Yx,LucideLayoutList:Kx,LucideLayoutPanelLeft:Qx,LucideLayoutPanelTop:ek,LucideLayoutTemplate:tk,LucideLeaf:ak,LucideLeafyGreen:rk,LucideLectern:nk,LucideLetterText:ok,LucideLibrary:sk,LucideLibraryBig:ik,LucideLibrarySquare:Yo,LucideLifeBuoy:ck,LucideLigature:lk,LucideLightbulb:hk,LucideLightbulbOff:dk,LucideLineChart:Er,LucideLink:gc,LucideLink2:pk,LucideLink2Off:uk,LucideLinkedin:yk,LucideList:vc,LucideListCheck:mk,LucideListChecks:fk,LucideListCollapse:xk,LucideListEnd:kk,LucideListFilter:gk,LucideListMinus:vk,LucideListMusic:wk,LucideListOrdered:Mk,LucideListPlus:bk,LucideListRestart:Ck,LucideListStart:jk,LucideListTodo:Sk,LucideListTree:Lk,LucideListVideo:Ik,LucideListX:Nk,LucideLoader:Pk,LucideLoader2:Zn,LucideLoaderCircle:Zn,LucideLoaderPinwheel:Ak,LucideLocate:Tk,LucideLocateFixed:_k,LucideLocateOff:Rk,LucideLock:wc,LucideLockKeyhole:qk,LucideLockKeyholeOpen:Xn,LucideLockOpen:Jn,LucideLogIn:Dk,LucideLogOut:Mc,LucideLogs:zk,LucideLollipop:Fk,LucideLuggage:Ek,LucideMSquare:Ko,LucideMagnet:Ok,LucideMail:ca,LucideMailCheck:Hk,LucideMailMinus:Vk,LucideMailOpen:Bk,LucideMailPlus:Uk,LucideMailQuestion:$k,LucideMailSearch:Gk,LucideMailWarning:Wk,LucideMailX:Zk,LucideMailbox:Xk,LucideMails:Jk,LucideMap:cg,LucideMapPin:Et,LucideMapPinCheck:Kk,LucideMapPinCheckInside:Yk,LucideMapPinHouse:Qk,LucideMapPinMinus:tg,LucideMapPinMinusInside:eg,LucideMapPinOff:ag,LucideMapPinPlus:ng,LucideMapPinPlusInside:rg,LucideMapPinX:ig,LucideMapPinXInside:og,LucideMapPinned:sg,LucideMartini:lg,LucideMaximize:hg,LucideMaximize2:dg,LucideMedal:ug,LucideMegaphone:yg,LucideMegaphoneOff:pg,LucideMeh:mg,LucideMemoryStick:fg,LucideMenu:js,LucideMenuSquare:Qo,LucideMerge:xg,LucideMessageCircle:Ig,LucideMessageCircleCode:kg,LucideMessageCircleDashed:gg,LucideMessageCircleHeart:vg,LucideMessageCircleMore:wg,LucideMessageCircleOff:Mg,LucideMessageCirclePlus:bg,LucideMessageCircleQuestion:Cg,LucideMessageCircleReply:jg,LucideMessageCircleWarning:Sg,LucideMessageCircleX:Lg,LucideMessageSquare:Ss,LucideMessageSquareCode:Ng,LucideMessageSquareDashed:Ag,LucideMessageSquareDiff:Pg,LucideMessageSquareDot:_g,LucideMessageSquareHeart:Rg,LucideMessageSquareLock:Tg,LucideMessageSquareMore:qg,LucideMessageSquareOff:Dg,LucideMessageSquarePlus:zg,LucideMessageSquareQuote:Fg,LucideMessageSquareReply:Eg,LucideMessageSquareShare:Og,LucideMessageSquareText:Hg,LucideMessageSquareWarning:Vg,LucideMessageSquareX:Bg,LucideMessagesSquare:Ug,LucideMic:Gg,LucideMic2:Yn,LucideMicOff:$g,LucideMicVocal:Yn,LucideMicrochip:Wg,LucideMicroscope:Zg,LucideMicrowave:Xg,LucideMilestone:Jg,LucideMilk:Kg,LucideMilkOff:Yg,LucideMinimize:e5,LucideMinimize2:Qg,LucideMinus:bc,LucideMinusCircle:on,LucideMinusSquare:ei,LucideMonitor:p5,LucideMonitorCheck:t5,LucideMonitorCog:a5,LucideMonitorDot:r5,LucideMonitorDown:n5,LucideMonitorOff:o5,LucideMonitorPause:i5,LucideMonitorPlay:s5,LucideMonitorSmartphone:c5,LucideMonitorSpeaker:l5,LucideMonitorStop:d5,LucideMonitorUp:h5,LucideMonitorX:u5,LucideMoon:m5,LucideMoonStar:y5,LucideMoreHorizontal:Nn,LucideMoreVertical:In,LucideMountain:x5,LucideMountainSnow:f5,LucideMouse:b5,LucideMouseOff:k5,LucideMousePointer:M5,LucideMousePointer2:g5,LucideMousePointerBan:v5,LucideMousePointerClick:w5,LucideMousePointerSquareDashed:Uo,LucideMove:D5,LucideMove3D:Kn,LucideMove3d:Kn,LucideMoveDiagonal:j5,LucideMoveDiagonal2:C5,LucideMoveDown:I5,LucideMoveDownLeft:S5,LucideMoveDownRight:L5,LucideMoveHorizontal:N5,LucideMoveLeft:A5,LucideMoveRight:P5,LucideMoveUp:T5,LucideMoveUpLeft:_5,LucideMoveUpRight:R5,LucideMoveVertical:q5,LucideMusic:O5,LucideMusic2:z5,LucideMusic3:F5,LucideMusic4:E5,LucideNavigation:U5,LucideNavigation2:V5,LucideNavigation2Off:H5,LucideNavigationOff:B5,LucideNetwork:$5,LucideNewspaper:Sa,LucideNfc:G5,LucideNotebook:J5,LucideNotebookPen:W5,LucideNotebookTabs:Z5,LucideNotebookText:X5,LucideNotepadText:K5,LucideNotepadTextDashed:Y5,LucideNut:e3,LucideNutOff:Q5,LucideOctagon:a3,LucideOctagonAlert:Qn,LucideOctagonMinus:t3,LucideOctagonPause:eo,LucideOctagonX:to,LucideOmega:r3,LucideOption:n3,LucideOrbit:o3,LucideOrigami:i3,LucideOutdent:$n,LucidePackage:y3,LucidePackage2:s3,LucidePackageCheck:c3,LucidePackageMinus:l3,LucidePackageOpen:d3,LucidePackagePlus:h3,LucidePackageSearch:u3,LucidePackageX:p3,LucidePaintBucket:m3,LucidePaintRoller:f3,LucidePaintbrush:x3,LucidePaintbrush2:ao,LucidePaintbrushVertical:ao,LucidePalette:k3,LucidePalmtree:Mi,LucidePanelBottom:w3,LucidePanelBottomClose:g3,LucidePanelBottomDashed:ro,LucidePanelBottomInactive:ro,LucidePanelBottomOpen:v3,LucidePanelLeft:so,LucidePanelLeftClose:no,LucidePanelLeftDashed:oo,LucidePanelLeftInactive:oo,LucidePanelLeftOpen:io,LucidePanelRight:C3,LucidePanelRightClose:M3,LucidePanelRightDashed:co,LucidePanelRightInactive:co,LucidePanelRightOpen:b3,LucidePanelTop:L3,LucidePanelTopClose:j3,LucidePanelTopDashed:lo,LucidePanelTopInactive:lo,LucidePanelTopOpen:S3,LucidePanelsLeftBottom:I3,LucidePanelsLeftRight:Cn,LucidePanelsRightBottom:N3,LucidePanelsTopBottom:ko,LucidePanelsTopLeft:ho,LucidePaperclip:A3,LucideParentheses:P3,LucideParkingCircle:cn,LucideParkingCircleOff:sn,LucideParkingMeter:_3,LucideParkingSquare:ri,LucideParkingSquareOff:ai,LucidePartyPopper:R3,LucidePause:T3,LucidePauseCircle:ln,LucidePauseOctagon:eo,LucidePawPrint:q3,LucidePcCase:D3,LucidePen:po,LucidePenBox:wt,LucidePenLine:uo,LucidePenOff:z3,LucidePenSquare:wt,LucidePenTool:F3,LucidePencil:V3,LucidePencilLine:E3,LucidePencilOff:O3,LucidePencilRuler:H3,LucidePentagon:B3,LucidePercent:U3,LucidePercentCircle:dn,LucidePercentDiamond:Sn,LucidePercentSquare:ni,LucidePersonStanding:$3,LucidePhilippinePeso:G3,LucidePhone:Ui,LucidePhoneCall:W3,LucidePhoneForwarded:Z3,LucidePhoneIncoming:X3,LucidePhoneMissed:J3,LucidePhoneOff:Y3,LucidePhoneOutgoing:K3,LucidePi:Q3,LucidePiSquare:oi,LucidePiano:ev,LucidePickaxe:tv,LucidePictureInPicture:rv,LucidePictureInPicture2:av,LucidePieChart:Vr,LucidePiggyBank:nv,LucidePilcrow:sv,LucidePilcrowLeft:ov,LucidePilcrowRight:iv,LucidePilcrowSquare:ii,LucidePill:lv,LucidePillBottle:cv,LucidePin:hv,LucidePinOff:dv,LucidePipette:uv,LucidePizza:pv,LucidePlane:fv,LucidePlaneLanding:yv,LucidePlaneTakeoff:mv,LucidePlay:Cc,LucidePlayCircle:hn,LucidePlaySquare:si,LucidePlug:kv,LucidePlug2:xv,LucidePlugZap:yo,LucidePlugZap2:yo,LucidePlus:jc,LucidePlusCircle:un,LucidePlusSquare:ci,LucidePocket:vv,LucidePocketKnife:gv,LucidePodcast:wv,LucidePointer:bv,LucidePointerOff:Mv,LucidePopcorn:Cv,LucidePopsicle:jv,LucidePoundSterling:Sv,LucidePower:Iv,LucidePowerCircle:pn,LucidePowerOff:Lv,LucidePowerSquare:li,LucidePresentation:Nv,LucidePrinter:Pv,LucidePrinterCheck:Av,LucideProjector:_v,LucideProportions:Rv,LucidePuzzle:Tv,LucidePyramid:qv,LucideQrCode:Dv,LucideQuote:Ls,LucideRabbit:zv,LucideRadar:Fv,LucideRadiation:Ev,LucideRadical:Ov,LucideRadio:Bv,LucideRadioReceiver:Hv,LucideRadioTower:Vv,LucideRadius:Uv,LucideRailSymbol:$v,LucideRainbow:Gv,LucideRat:Wv,LucideRatio:Zv,LucideReceipt:r6,LucideReceiptCent:Xv,LucideReceiptEuro:Jv,LucideReceiptIndianRupee:Yv,LucideReceiptJapaneseYen:Kv,LucideReceiptPoundSterling:Qv,LucideReceiptRussianRuble:e6,LucideReceiptSwissFranc:t6,LucideReceiptText:a6,LucideRectangleEllipsis:mo,LucideRectangleHorizontal:n6,LucideRectangleVertical:o6,LucideRecycle:i6,LucideRedo:l6,LucideRedo2:s6,LucideRedoDot:c6,LucideRefreshCcw:h6,LucideRefreshCcwDot:d6,LucideRefreshCw:p6,LucideRefreshCwOff:u6,LucideRefrigerator:y6,LucideRegex:m6,LucideRemoveFormatting:f6,LucideRepeat:g6,LucideRepeat1:x6,LucideRepeat2:k6,LucideReplace:w6,LucideReplaceAll:v6,LucideReply:b6,LucideReplyAll:M6,LucideRewind:C6,LucideRibbon:j6,LucideRocket:S6,LucideRockingChair:L6,LucideRollerCoaster:I6,LucideRotate3D:fo,LucideRotate3d:fo,LucideRotateCcw:A6,LucideRotateCcwSquare:N6,LucideRotateCw:_6,LucideRotateCwSquare:P6,LucideRoute:T6,LucideRouteOff:R6,LucideRouter:q6,LucideRows:xo,LucideRows2:xo,LucideRows3:ko,LucideRows4:D6,LucideRss:z6,LucideRuler:F6,LucideRussianRuble:E6,LucideSailboat:O6,LucideSalad:H6,LucideSandwich:V6,LucideSatellite:U6,LucideSatelliteDish:B6,LucideSave:W6,LucideSaveAll:$6,LucideSaveOff:G6,LucideScale:Z6,LucideScale3D:go,LucideScale3d:go,LucideScaling:X6,LucideScan:r8,LucideScanBarcode:J6,LucideScanEye:Y6,LucideScanFace:K6,LucideScanLine:Q6,LucideScanQrCode:e8,LucideScanSearch:t8,LucideScanText:a8,LucideScatterChart:Br,LucideSchool:n8,LucideSchool2:ji,LucideScissors:i8,LucideScissorsLineDashed:o8,LucideScissorsSquare:di,LucideScissorsSquareDashedBottom:qo,LucideScreenShare:c8,LucideScreenShareOff:s8,LucideScroll:d8,LucideScrollText:l8,LucideSearch:Ot,LucideSearchCheck:h8,LucideSearchCode:u8,LucideSearchSlash:p8,LucideSearchX:y8,LucideSection:m8,LucideSend:Sc,LucideSendHorizonal:vo,LucideSendHorizontal:vo,LucideSendToBack:f8,LucideSeparatorHorizontal:x8,LucideSeparatorVertical:k8,LucideServer:M8,LucideServerCog:g8,LucideServerCrash:v8,LucideServerOff:w8,LucideSettings:Is,LucideSettings2:b8,LucideShapes:C8,LucideShare:j8,LucideShare2:Ns,LucideSheet:S8,LucideShell:L8,LucideShield:Lc,LucideShieldAlert:I8,LucideShieldBan:N8,LucideShieldCheck:A8,LucideShieldClose:wo,LucideShieldEllipsis:P8,LucideShieldHalf:_8,LucideShieldMinus:R8,LucideShieldOff:T8,LucideShieldPlus:q8,LucideShieldQuestion:D8,LucideShieldX:wo,LucideShip:F8,LucideShipWheel:z8,LucideShirt:E8,LucideShoppingBag:O8,LucideShoppingBasket:H8,LucideShoppingCart:As,LucideShovel:V8,LucideShowerHead:B8,LucideShrink:U8,LucideShrub:$8,LucideShuffle:G8,LucideSidebar:so,LucideSidebarClose:no,LucideSidebarOpen:io,LucideSigma:W8,LucideSigmaSquare:hi,LucideSignal:Ic,LucideSignalHigh:Z8,LucideSignalLow:X8,LucideSignalMedium:J8,LucideSignalZero:Y8,LucideSignature:K8,LucideSignpost:e7,LucideSignpostBig:Q8,LucideSiren:t7,LucideSkipBack:a7,LucideSkipForward:r7,LucideSkull:n7,LucideSlack:o7,LucideSlash:i7,LucideSlashSquare:ui,LucideSlice:s7,LucideSliders:Mo,LucideSlidersHorizontal:Za,LucideSlidersVertical:Mo,LucideSmartphone:d7,LucideSmartphoneCharging:c7,LucideSmartphoneNfc:l7,LucideSmile:u7,LucideSmilePlus:h7,LucideSnail:p7,LucideSnowflake:y7,LucideSofa:m7,LucideSortAsc:br,LucideSortDesc:vr,LucideSoup:f7,LucideSpace:x7,LucideSpade:k7,LucideSparkle:g7,LucideSparkles:Va,LucideSpeaker:v7,LucideSpeech:w7,LucideSpellCheck:b7,LucideSpellCheck2:M7,LucideSpline:C7,LucideSplit:j7,LucideSplitSquareHorizontal:pi,LucideSplitSquareVertical:yi,LucideSprayCan:S7,LucideSprout:L7,LucideSquare:R7,LucideSquareActivity:bo,LucideSquareArrowDown:So,LucideSquareArrowDownLeft:Co,LucideSquareArrowDownRight:jo,LucideSquareArrowLeft:wa,LucideSquareArrowOutDownLeft:Lo,LucideSquareArrowOutDownRight:Io,LucideSquareArrowOutUpLeft:No,LucideSquareArrowOutUpRight:Ao,LucideSquareArrowRight:Ma,LucideSquareArrowUp:Ro,LucideSquareArrowUpLeft:Po,LucideSquareArrowUpRight:_o,LucideSquareAsterisk:To,LucideSquareBottomDashedScissors:qo,LucideSquareChartGantt:ea,LucideSquareCheck:zo,LucideSquareCheckBig:Do,LucideSquareChevronDown:Fo,LucideSquareChevronLeft:Eo,LucideSquareChevronRight:Oo,LucideSquareChevronUp:Ho,LucideSquareCode:Vo,LucideSquareDashed:$o,LucideSquareDashedBottom:N7,LucideSquareDashedBottomCode:I7,LucideSquareDashedKanban:Bo,LucideSquareDashedMousePointer:Uo,LucideSquareDivide:Go,LucideSquareDot:Wo,LucideSquareEqual:Zo,LucideSquareFunction:Xo,LucideSquareGanttChart:ea,LucideSquareKanban:Jo,LucideSquareLibrary:Yo,LucideSquareM:Ko,LucideSquareMenu:Qo,LucideSquareMinus:ei,LucideSquareMousePointer:ti,LucideSquareParking:ri,LucideSquareParkingOff:ai,LucideSquarePen:wt,LucideSquarePercent:ni,LucideSquarePi:oi,LucideSquarePilcrow:ii,LucideSquarePlay:si,LucideSquarePlus:ci,LucideSquarePower:li,LucideSquareRadical:A7,LucideSquareScissors:di,LucideSquareSigma:hi,LucideSquareSlash:ui,LucideSquareSplitHorizontal:pi,LucideSquareSplitVertical:yi,LucideSquareSquare:P7,LucideSquareStack:_7,LucideSquareTerminal:mi,LucideSquareUser:xi,LucideSquareUserRound:fi,LucideSquareX:ki,LucideSquircle:T7,LucideSquirrel:q7,LucideStamp:D7,LucideStar:qt,LucideStarHalf:z7,LucideStarOff:F7,LucideStars:Va,LucideStepBack:E7,LucideStepForward:O7,LucideStethoscope:H7,LucideSticker:V7,LucideStickyNote:B7,LucideStopCircle:mn,LucideStore:U7,LucideStretchHorizontal:$7,LucideStretchVertical:G7,LucideStrikethrough:W7,LucideSubscript:Z7,LucideSubtitles:Pr,LucideSun:Q7,LucideSunDim:X7,LucideSunMedium:J7,LucideSunMoon:Y7,LucideSunSnow:K7,LucideSunrise:ew,LucideSunset:tw,LucideSuperscript:aw,LucideSwatchBook:rw,LucideSwissFranc:nw,LucideSwitchCamera:ow,LucideSword:iw,LucideSwords:sw,LucideSyringe:cw,LucideTable:fw,LucideTable2:lw,LucideTableCellsMerge:dw,LucideTableCellsSplit:hw,LucideTableColumnsSplit:uw,LucideTableOfContents:pw,LucideTableProperties:yw,LucideTableRowsSplit:mw,LucideTablet:kw,LucideTabletSmartphone:xw,LucideTablets:gw,LucideTag:vw,LucideTags:ww,LucideTally1:Mw,LucideTally2:bw,LucideTally3:Cw,LucideTally4:jw,LucideTally5:Sw,LucideTangent:Lw,LucideTarget:Iw,LucideTelescope:Nw,LucideTent:Pw,LucideTentTree:Aw,LucideTerminal:_w,LucideTerminalSquare:mi,LucideTestTube:Rw,LucideTestTube2:gi,LucideTestTubeDiagonal:gi,LucideTestTubes:Tw,LucideText:Ew,LucideTextCursor:Dw,LucideTextCursorInput:qw,LucideTextQuote:zw,LucideTextSearch:Fw,LucideTextSelect:vi,LucideTextSelection:vi,LucideTheater:Ow,LucideThermometer:Bw,LucideThermometerSnowflake:Hw,LucideThermometerSun:Vw,LucideThumbsDown:Uw,LucideThumbsUp:$w,LucideTicket:Kw,LucideTicketCheck:Gw,LucideTicketMinus:Ww,LucideTicketPercent:Zw,LucideTicketPlus:Xw,LucideTicketSlash:Jw,LucideTicketX:Yw,LucideTickets:eM,LucideTicketsPlane:Qw,LucideTimer:rM,LucideTimerOff:tM,LucideTimerReset:aM,LucideToggleLeft:nM,LucideToggleRight:oM,LucideTornado:iM,LucideTorus:sM,LucideTouchpad:lM,LucideTouchpadOff:cM,LucideTowerControl:dM,LucideToyBrick:hM,LucideTractor:uM,LucideTrafficCone:pM,LucideTrain:wi,LucideTrainFront:mM,LucideTrainFrontTunnel:yM,LucideTrainTrack:fM,LucideTramFront:wi,LucideTrash:xM,LucideTrash2:Nc,LucideTreeDeciduous:kM,LucideTreePalm:Mi,LucideTreePine:gM,LucideTrees:vM,LucideTrello:wM,LucideTrendingDown:MM,LucideTrendingUp:$i,LucideTrendingUpDown:bM,LucideTriangle:jM,LucideTriangleAlert:bi,LucideTriangleRight:CM,LucideTrophy:SM,LucideTruck:LM,LucideTurtle:IM,LucideTv:AM,LucideTv2:Ci,LucideTvMinimal:Ci,LucideTvMinimalPlay:NM,LucideTwitch:PM,LucideTwitter:_M,LucideType:TM,LucideTypeOutline:RM,LucideUmbrella:DM,LucideUmbrellaOff:qM,LucideUnderline:zM,LucideUndo:OM,LucideUndo2:FM,LucideUndoDot:EM,LucideUnfoldHorizontal:HM,LucideUnfoldVertical:VM,LucideUngroup:BM,LucideUniversity:ji,LucideUnlink:$M,LucideUnlink2:UM,LucideUnlock:Jn,LucideUnlockKeyhole:Xn,LucideUnplug:GM,LucideUpload:Ps,LucideUploadCloud:wn,LucideUsb:WM,LucideUser:Ac,LucideUser2:Pi,LucideUserCheck:ZM,LucideUserCheck2:Si,LucideUserCircle:xn,LucideUserCircle2:fn,LucideUserCog:XM,LucideUserCog2:Li,LucideUserMinus:JM,LucideUserMinus2:Ii,LucideUserPen:YM,LucideUserPlus:KM,LucideUserPlus2:Ni,LucideUserRound:Pi,LucideUserRoundCheck:Si,LucideUserRoundCog:Li,LucideUserRoundMinus:Ii,LucideUserRoundPen:QM,LucideUserRoundPlus:Ni,LucideUserRoundSearch:eb,LucideUserRoundX:Ai,LucideUserSearch:tb,LucideUserSquare:xi,LucideUserSquare2:fi,LucideUserX:ab,LucideUserX2:Ai,LucideUsers:La,LucideUsers2:_i,LucideUsersRound:_i,LucideUtensils:Ti,LucideUtensilsCrossed:Ri,LucideUtilityPole:rb,LucideVariable:nb,LucideVault:ob,LucideVegan:ib,LucideVenetianMask:sb,LucideVerified:Sr,LucideVibrate:lb,LucideVibrateOff:cb,LucideVideo:hb,LucideVideoOff:db,LucideVideotape:ub,LucideView:pb,LucideVoicemail:yb,LucideVolleyball:mb,LucideVolume:vb,LucideVolume1:fb,LucideVolume2:xb,LucideVolumeOff:kb,LucideVolumeX:gb,LucideVote:wb,LucideWallet:bb,LucideWallet2:qi,LucideWalletCards:Mb,LucideWalletMinimal:qi,LucideWallpaper:Cb,LucideWand:jb,LucideWand2:Di,LucideWandSparkles:Di,LucideWarehouse:Sb,LucideWashingMachine:Lb,LucideWatch:Ib,LucideWaves:Nb,LucideWaypoints:Ab,LucideWebcam:Pb,LucideWebhook:Rb,LucideWebhookOff:_b,LucideWeight:Tb,LucideWheat:Db,LucideWheatOff:qb,LucideWholeWord:zb,LucideWifi:Vb,LucideWifiHigh:Fb,LucideWifiLow:Eb,LucideWifiOff:Ob,LucideWifiZero:Hb,LucideWind:Bb,LucideWine:$b,LucideWineOff:Ub,LucideWorkflow:Gb,LucideWorm:Wb,LucideWrapText:Zb,LucideWrench:Xb,LucideX:Xt,LucideXCircle:aa,LucideXOctagon:to,LucideXSquare:ki,LucideYoutube:Jb,LucideZap:Kb,LucideZapOff:Yb,LucideZoomIn:Qb,LucideZoomOut:e9,Luggage:Ek,LuggageIcon:Ek,MSquare:Ko,MSquareIcon:Ko,Magnet:Ok,MagnetIcon:Ok,Mail:ca,MailCheck:Hk,MailCheckIcon:Hk,MailIcon:ca,MailMinus:Vk,MailMinusIcon:Vk,MailOpen:Bk,MailOpenIcon:Bk,MailPlus:Uk,MailPlusIcon:Uk,MailQuestion:$k,MailQuestionIcon:$k,MailSearch:Gk,MailSearchIcon:Gk,MailWarning:Wk,MailWarningIcon:Wk,MailX:Zk,MailXIcon:Zk,Mailbox:Xk,MailboxIcon:Xk,Mails:Jk,MailsIcon:Jk,Map:cg,MapIcon:cg,MapPin:Et,MapPinCheck:Kk,MapPinCheckIcon:Kk,MapPinCheckInside:Yk,MapPinCheckInsideIcon:Yk,MapPinHouse:Qk,MapPinHouseIcon:Qk,MapPinIcon:Et,MapPinMinus:tg,MapPinMinusIcon:tg,MapPinMinusInside:eg,MapPinMinusInsideIcon:eg,MapPinOff:ag,MapPinOffIcon:ag,MapPinPlus:ng,MapPinPlusIcon:ng,MapPinPlusInside:rg,MapPinPlusInsideIcon:rg,MapPinX:ig,MapPinXIcon:ig,MapPinXInside:og,MapPinXInsideIcon:og,MapPinned:sg,MapPinnedIcon:sg,Martini:lg,MartiniIcon:lg,Maximize:hg,Maximize2:dg,Maximize2Icon:dg,MaximizeIcon:hg,Medal:ug,MedalIcon:ug,Megaphone:yg,MegaphoneIcon:yg,MegaphoneOff:pg,MegaphoneOffIcon:pg,Meh:mg,MehIcon:mg,MemoryStick:fg,MemoryStickIcon:fg,Menu:js,MenuIcon:js,MenuSquare:Qo,MenuSquareIcon:Qo,Merge:xg,MergeIcon:xg,MessageCircle:Ig,MessageCircleCode:kg,MessageCircleCodeIcon:kg,MessageCircleDashed:gg,MessageCircleDashedIcon:gg,MessageCircleHeart:vg,MessageCircleHeartIcon:vg,MessageCircleIcon:Ig,MessageCircleMore:wg,MessageCircleMoreIcon:wg,MessageCircleOff:Mg,MessageCircleOffIcon:Mg,MessageCirclePlus:bg,MessageCirclePlusIcon:bg,MessageCircleQuestion:Cg,MessageCircleQuestionIcon:Cg,MessageCircleReply:jg,MessageCircleReplyIcon:jg,MessageCircleWarning:Sg,MessageCircleWarningIcon:Sg,MessageCircleX:Lg,MessageCircleXIcon:Lg,MessageSquare:Ss,MessageSquareCode:Ng,MessageSquareCodeIcon:Ng,MessageSquareDashed:Ag,MessageSquareDashedIcon:Ag,MessageSquareDiff:Pg,MessageSquareDiffIcon:Pg,MessageSquareDot:_g,MessageSquareDotIcon:_g,MessageSquareHeart:Rg,MessageSquareHeartIcon:Rg,MessageSquareIcon:Ss,MessageSquareLock:Tg,MessageSquareLockIcon:Tg,MessageSquareMore:qg,MessageSquareMoreIcon:qg,MessageSquareOff:Dg,MessageSquareOffIcon:Dg,MessageSquarePlus:zg,MessageSquarePlusIcon:zg,MessageSquareQuote:Fg,MessageSquareQuoteIcon:Fg,MessageSquareReply:Eg,MessageSquareReplyIcon:Eg,MessageSquareShare:Og,MessageSquareShareIcon:Og,MessageSquareText:Hg,MessageSquareTextIcon:Hg,MessageSquareWarning:Vg,MessageSquareWarningIcon:Vg,MessageSquareX:Bg,MessageSquareXIcon:Bg,MessagesSquare:Ug,MessagesSquareIcon:Ug,Mic:Gg,Mic2:Yn,Mic2Icon:Yn,MicIcon:Gg,MicOff:$g,MicOffIcon:$g,MicVocal:Yn,MicVocalIcon:Yn,Microchip:Wg,MicrochipIcon:Wg,Microscope:Zg,MicroscopeIcon:Zg,Microwave:Xg,MicrowaveIcon:Xg,Milestone:Jg,MilestoneIcon:Jg,Milk:Kg,MilkIcon:Kg,MilkOff:Yg,MilkOffIcon:Yg,Minimize:e5,Minimize2:Qg,Minimize2Icon:Qg,MinimizeIcon:e5,Minus:bc,MinusCircle:on,MinusCircleIcon:on,MinusIcon:bc,MinusSquare:ei,MinusSquareIcon:ei,Monitor:p5,MonitorCheck:t5,MonitorCheckIcon:t5,MonitorCog:a5,MonitorCogIcon:a5,MonitorDot:r5,MonitorDotIcon:r5,MonitorDown:n5,MonitorDownIcon:n5,MonitorIcon:p5,MonitorOff:o5,MonitorOffIcon:o5,MonitorPause:i5,MonitorPauseIcon:i5,MonitorPlay:s5,MonitorPlayIcon:s5,MonitorSmartphone:c5,MonitorSmartphoneIcon:c5,MonitorSpeaker:l5,MonitorSpeakerIcon:l5,MonitorStop:d5,MonitorStopIcon:d5,MonitorUp:h5,MonitorUpIcon:h5,MonitorX:u5,MonitorXIcon:u5,Moon:m5,MoonIcon:m5,MoonStar:y5,MoonStarIcon:y5,MoreHorizontal:Nn,MoreHorizontalIcon:Nn,MoreVertical:In,MoreVerticalIcon:In,Mountain:x5,MountainIcon:x5,MountainSnow:f5,MountainSnowIcon:f5,Mouse:b5,MouseIcon:b5,MouseOff:k5,MouseOffIcon:k5,MousePointer:M5,MousePointer2:g5,MousePointer2Icon:g5,MousePointerBan:v5,MousePointerBanIcon:v5,MousePointerClick:w5,MousePointerClickIcon:w5,MousePointerIcon:M5,MousePointerSquareDashed:Uo,MousePointerSquareDashedIcon:Uo,Move:D5,Move3D:Kn,Move3DIcon:Kn,Move3d:Kn,Move3dIcon:Kn,MoveDiagonal:j5,MoveDiagonal2:C5,MoveDiagonal2Icon:C5,MoveDiagonalIcon:j5,MoveDown:I5,MoveDownIcon:I5,MoveDownLeft:S5,MoveDownLeftIcon:S5,MoveDownRight:L5,MoveDownRightIcon:L5,MoveHorizontal:N5,MoveHorizontalIcon:N5,MoveIcon:D5,MoveLeft:A5,MoveLeftIcon:A5,MoveRight:P5,MoveRightIcon:P5,MoveUp:T5,MoveUpIcon:T5,MoveUpLeft:_5,MoveUpLeftIcon:_5,MoveUpRight:R5,MoveUpRightIcon:R5,MoveVertical:q5,MoveVerticalIcon:q5,Music:O5,Music2:z5,Music2Icon:z5,Music3:F5,Music3Icon:F5,Music4:E5,Music4Icon:E5,MusicIcon:O5,Navigation:U5,Navigation2:V5,Navigation2Icon:V5,Navigation2Off:H5,Navigation2OffIcon:H5,NavigationIcon:U5,NavigationOff:B5,NavigationOffIcon:B5,Network:$5,NetworkIcon:$5,Newspaper:Sa,NewspaperIcon:Sa,Nfc:G5,NfcIcon:G5,Notebook:J5,NotebookIcon:J5,NotebookPen:W5,NotebookPenIcon:W5,NotebookTabs:Z5,NotebookTabsIcon:Z5,NotebookText:X5,NotebookTextIcon:X5,NotepadText:K5,NotepadTextDashed:Y5,NotepadTextDashedIcon:Y5,NotepadTextIcon:K5,Nut:e3,NutIcon:e3,NutOff:Q5,NutOffIcon:Q5,Octagon:a3,OctagonAlert:Qn,OctagonAlertIcon:Qn,OctagonIcon:a3,OctagonMinus:t3,OctagonMinusIcon:t3,OctagonPause:eo,OctagonPauseIcon:eo,OctagonX:to,OctagonXIcon:to,Omega:r3,OmegaIcon:r3,Option:n3,OptionIcon:n3,Orbit:o3,OrbitIcon:o3,Origami:i3,OrigamiIcon:i3,Outdent:$n,OutdentIcon:$n,Package:y3,Package2:s3,Package2Icon:s3,PackageCheck:c3,PackageCheckIcon:c3,PackageIcon:y3,PackageMinus:l3,PackageMinusIcon:l3,PackageOpen:d3,PackageOpenIcon:d3,PackagePlus:h3,PackagePlusIcon:h3,PackageSearch:u3,PackageSearchIcon:u3,PackageX:p3,PackageXIcon:p3,PaintBucket:m3,PaintBucketIcon:m3,PaintRoller:f3,PaintRollerIcon:f3,Paintbrush:x3,Paintbrush2:ao,Paintbrush2Icon:ao,PaintbrushIcon:x3,PaintbrushVertical:ao,PaintbrushVerticalIcon:ao,Palette:k3,PaletteIcon:k3,Palmtree:Mi,PalmtreeIcon:Mi,PanelBottom:w3,PanelBottomClose:g3,PanelBottomCloseIcon:g3,PanelBottomDashed:ro,PanelBottomDashedIcon:ro,PanelBottomIcon:w3,PanelBottomInactive:ro,PanelBottomInactiveIcon:ro,PanelBottomOpen:v3,PanelBottomOpenIcon:v3,PanelLeft:so,PanelLeftClose:no,PanelLeftCloseIcon:no,PanelLeftDashed:oo,PanelLeftDashedIcon:oo,PanelLeftIcon:so,PanelLeftInactive:oo,PanelLeftInactiveIcon:oo,PanelLeftOpen:io,PanelLeftOpenIcon:io,PanelRight:C3,PanelRightClose:M3,PanelRightCloseIcon:M3,PanelRightDashed:co,PanelRightDashedIcon:co,PanelRightIcon:C3,PanelRightInactive:co,PanelRightInactiveIcon:co,PanelRightOpen:b3,PanelRightOpenIcon:b3,PanelTop:L3,PanelTopClose:j3,PanelTopCloseIcon:j3,PanelTopDashed:lo,PanelTopDashedIcon:lo,PanelTopIcon:L3,PanelTopInactive:lo,PanelTopInactiveIcon:lo,PanelTopOpen:S3,PanelTopOpenIcon:S3,PanelsLeftBottom:I3,PanelsLeftBottomIcon:I3,PanelsLeftRight:Cn,PanelsLeftRightIcon:Cn,PanelsRightBottom:N3,PanelsRightBottomIcon:N3,PanelsTopBottom:ko,PanelsTopBottomIcon:ko,PanelsTopLeft:ho,PanelsTopLeftIcon:ho,Paperclip:A3,PaperclipIcon:A3,Parentheses:P3,ParenthesesIcon:P3,ParkingCircle:cn,ParkingCircleIcon:cn,ParkingCircleOff:sn,ParkingCircleOffIcon:sn,ParkingMeter:_3,ParkingMeterIcon:_3,ParkingSquare:ri,ParkingSquareIcon:ri,ParkingSquareOff:ai,ParkingSquareOffIcon:ai,PartyPopper:R3,PartyPopperIcon:R3,Pause:T3,PauseCircle:ln,PauseCircleIcon:ln,PauseIcon:T3,PauseOctagon:eo,PauseOctagonIcon:eo,PawPrint:q3,PawPrintIcon:q3,PcCase:D3,PcCaseIcon:D3,Pen:po,PenBox:wt,PenBoxIcon:wt,PenIcon:po,PenLine:uo,PenLineIcon:uo,PenOff:z3,PenOffIcon:z3,PenSquare:wt,PenSquareIcon:wt,PenTool:F3,PenToolIcon:F3,Pencil:V3,PencilIcon:V3,PencilLine:E3,PencilLineIcon:E3,PencilOff:O3,PencilOffIcon:O3,PencilRuler:H3,PencilRulerIcon:H3,Pentagon:B3,PentagonIcon:B3,Percent:U3,PercentCircle:dn,PercentCircleIcon:dn,PercentDiamond:Sn,PercentDiamondIcon:Sn,PercentIcon:U3,PercentSquare:ni,PercentSquareIcon:ni,PersonStanding:$3,PersonStandingIcon:$3,PhilippinePeso:G3,PhilippinePesoIcon:G3,Phone:Ui,PhoneCall:W3,PhoneCallIcon:W3,PhoneForwarded:Z3,PhoneForwardedIcon:Z3,PhoneIcon:Ui,PhoneIncoming:X3,PhoneIncomingIcon:X3,PhoneMissed:J3,PhoneMissedIcon:J3,PhoneOff:Y3,PhoneOffIcon:Y3,PhoneOutgoing:K3,PhoneOutgoingIcon:K3,Pi:Q3,PiIcon:Q3,PiSquare:oi,PiSquareIcon:oi,Piano:ev,PianoIcon:ev,Pickaxe:tv,PickaxeIcon:tv,PictureInPicture:rv,PictureInPicture2:av,PictureInPicture2Icon:av,PictureInPictureIcon:rv,PieChart:Vr,PieChartIcon:Vr,PiggyBank:nv,PiggyBankIcon:nv,Pilcrow:sv,PilcrowIcon:sv,PilcrowLeft:ov,PilcrowLeftIcon:ov,PilcrowRight:iv,PilcrowRightIcon:iv,PilcrowSquare:ii,PilcrowSquareIcon:ii,Pill:lv,PillBottle:cv,PillBottleIcon:cv,PillIcon:lv,Pin:hv,PinIcon:hv,PinOff:dv,PinOffIcon:dv,Pipette:uv,PipetteIcon:uv,Pizza:pv,PizzaIcon:pv,Plane:fv,PlaneIcon:fv,PlaneLanding:yv,PlaneLandingIcon:yv,PlaneTakeoff:mv,PlaneTakeoffIcon:mv,Play:Cc,PlayCircle:hn,PlayCircleIcon:hn,PlayIcon:Cc,PlaySquare:si,PlaySquareIcon:si,Plug:kv,Plug2:xv,Plug2Icon:xv,PlugIcon:kv,PlugZap:yo,PlugZap2:yo,PlugZap2Icon:yo,PlugZapIcon:yo,Plus:jc,PlusCircle:un,PlusCircleIcon:un,PlusIcon:jc,PlusSquare:ci,PlusSquareIcon:ci,Pocket:vv,PocketIcon:vv,PocketKnife:gv,PocketKnifeIcon:gv,Podcast:wv,PodcastIcon:wv,Pointer:bv,PointerIcon:bv,PointerOff:Mv,PointerOffIcon:Mv,Popcorn:Cv,PopcornIcon:Cv,Popsicle:jv,PopsicleIcon:jv,PoundSterling:Sv,PoundSterlingIcon:Sv,Power:Iv,PowerCircle:pn,PowerCircleIcon:pn,PowerIcon:Iv,PowerOff:Lv,PowerOffIcon:Lv,PowerSquare:li,PowerSquareIcon:li,Presentation:Nv,PresentationIcon:Nv,Printer:Pv,PrinterCheck:Av,PrinterCheckIcon:Av,PrinterIcon:Pv,Projector:_v,ProjectorIcon:_v,Proportions:Rv,ProportionsIcon:Rv,Puzzle:Tv,PuzzleIcon:Tv,Pyramid:qv,PyramidIcon:qv,QrCode:Dv,QrCodeIcon:Dv,Quote:Ls,QuoteIcon:Ls,Rabbit:zv,RabbitIcon:zv,Radar:Fv,RadarIcon:Fv,Radiation:Ev,RadiationIcon:Ev,Radical:Ov,RadicalIcon:Ov,Radio:Bv,RadioIcon:Bv,RadioReceiver:Hv,RadioReceiverIcon:Hv,RadioTower:Vv,RadioTowerIcon:Vv,Radius:Uv,RadiusIcon:Uv,RailSymbol:$v,RailSymbolIcon:$v,Rainbow:Gv,RainbowIcon:Gv,Rat:Wv,RatIcon:Wv,Ratio:Zv,RatioIcon:Zv,Receipt:r6,ReceiptCent:Xv,ReceiptCentIcon:Xv,ReceiptEuro:Jv,ReceiptEuroIcon:Jv,ReceiptIcon:r6,ReceiptIndianRupee:Yv,ReceiptIndianRupeeIcon:Yv,ReceiptJapaneseYen:Kv,ReceiptJapaneseYenIcon:Kv,ReceiptPoundSterling:Qv,ReceiptPoundSterlingIcon:Qv,ReceiptRussianRuble:e6,ReceiptRussianRubleIcon:e6,ReceiptSwissFranc:t6,ReceiptSwissFrancIcon:t6,ReceiptText:a6,ReceiptTextIcon:a6,RectangleEllipsis:mo,RectangleEllipsisIcon:mo,RectangleHorizontal:n6,RectangleHorizontalIcon:n6,RectangleVertical:o6,RectangleVerticalIcon:o6,Recycle:i6,RecycleIcon:i6,Redo:l6,Redo2:s6,Redo2Icon:s6,RedoDot:c6,RedoDotIcon:c6,RedoIcon:l6,RefreshCcw:h6,RefreshCcwDot:d6,RefreshCcwDotIcon:d6,RefreshCcwIcon:h6,RefreshCw:p6,RefreshCwIcon:p6,RefreshCwOff:u6,RefreshCwOffIcon:u6,Refrigerator:y6,RefrigeratorIcon:y6,Regex:m6,RegexIcon:m6,RemoveFormatting:f6,RemoveFormattingIcon:f6,Repeat:g6,Repeat1:x6,Repeat1Icon:x6,Repeat2:k6,Repeat2Icon:k6,RepeatIcon:g6,Replace:w6,ReplaceAll:v6,ReplaceAllIcon:v6,ReplaceIcon:w6,Reply:b6,ReplyAll:M6,ReplyAllIcon:M6,ReplyIcon:b6,Rewind:C6,RewindIcon:C6,Ribbon:j6,RibbonIcon:j6,Rocket:S6,RocketIcon:S6,RockingChair:L6,RockingChairIcon:L6,RollerCoaster:I6,RollerCoasterIcon:I6,Rotate3D:fo,Rotate3DIcon:fo,Rotate3d:fo,Rotate3dIcon:fo,RotateCcw:A6,RotateCcwIcon:A6,RotateCcwSquare:N6,RotateCcwSquareIcon:N6,RotateCw:_6,RotateCwIcon:_6,RotateCwSquare:P6,RotateCwSquareIcon:P6,Route:T6,RouteIcon:T6,RouteOff:R6,RouteOffIcon:R6,Router:q6,RouterIcon:q6,Rows:xo,Rows2:xo,Rows2Icon:xo,Rows3:ko,Rows3Icon:ko,Rows4:D6,Rows4Icon:D6,RowsIcon:xo,Rss:z6,RssIcon:z6,Ruler:F6,RulerIcon:F6,RussianRuble:E6,RussianRubleIcon:E6,Sailboat:O6,SailboatIcon:O6,Salad:H6,SaladIcon:H6,Sandwich:V6,SandwichIcon:V6,Satellite:U6,SatelliteDish:B6,SatelliteDishIcon:B6,SatelliteIcon:U6,Save:W6,SaveAll:$6,SaveAllIcon:$6,SaveIcon:W6,SaveOff:G6,SaveOffIcon:G6,Scale:Z6,Scale3D:go,Scale3DIcon:go,Scale3d:go,Scale3dIcon:go,ScaleIcon:Z6,Scaling:X6,ScalingIcon:X6,Scan:r8,ScanBarcode:J6,ScanBarcodeIcon:J6,ScanEye:Y6,ScanEyeIcon:Y6,ScanFace:K6,ScanFaceIcon:K6,ScanIcon:r8,ScanLine:Q6,ScanLineIcon:Q6,ScanQrCode:e8,ScanQrCodeIcon:e8,ScanSearch:t8,ScanSearchIcon:t8,ScanText:a8,ScanTextIcon:a8,ScatterChart:Br,ScatterChartIcon:Br,School:n8,School2:ji,School2Icon:ji,SchoolIcon:n8,Scissors:i8,ScissorsIcon:i8,ScissorsLineDashed:o8,ScissorsLineDashedIcon:o8,ScissorsSquare:di,ScissorsSquareDashedBottom:qo,ScissorsSquareDashedBottomIcon:qo,ScissorsSquareIcon:di,ScreenShare:c8,ScreenShareIcon:c8,ScreenShareOff:s8,ScreenShareOffIcon:s8,Scroll:d8,ScrollIcon:d8,ScrollText:l8,ScrollTextIcon:l8,Search:Ot,SearchCheck:h8,SearchCheckIcon:h8,SearchCode:u8,SearchCodeIcon:u8,SearchIcon:Ot,SearchSlash:p8,SearchSlashIcon:p8,SearchX:y8,SearchXIcon:y8,Section:m8,SectionIcon:m8,Send:Sc,SendHorizonal:vo,SendHorizonalIcon:vo,SendHorizontal:vo,SendHorizontalIcon:vo,SendIcon:Sc,SendToBack:f8,SendToBackIcon:f8,SeparatorHorizontal:x8,SeparatorHorizontalIcon:x8,SeparatorVertical:k8,SeparatorVerticalIcon:k8,Server:M8,ServerCog:g8,ServerCogIcon:g8,ServerCrash:v8,ServerCrashIcon:v8,ServerIcon:M8,ServerOff:w8,ServerOffIcon:w8,Settings:Is,Settings2:b8,Settings2Icon:b8,SettingsIcon:Is,Shapes:C8,ShapesIcon:C8,Share:j8,Share2:Ns,Share2Icon:Ns,ShareIcon:j8,Sheet:S8,SheetIcon:S8,Shell:L8,ShellIcon:L8,Shield:Lc,ShieldAlert:I8,ShieldAlertIcon:I8,ShieldBan:N8,ShieldBanIcon:N8,ShieldCheck:A8,ShieldCheckIcon:A8,ShieldClose:wo,ShieldCloseIcon:wo,ShieldEllipsis:P8,ShieldEllipsisIcon:P8,ShieldHalf:_8,ShieldHalfIcon:_8,ShieldIcon:Lc,ShieldMinus:R8,ShieldMinusIcon:R8,ShieldOff:T8,ShieldOffIcon:T8,ShieldPlus:q8,ShieldPlusIcon:q8,ShieldQuestion:D8,ShieldQuestionIcon:D8,ShieldX:wo,ShieldXIcon:wo,Ship:F8,ShipIcon:F8,ShipWheel:z8,ShipWheelIcon:z8,Shirt:E8,ShirtIcon:E8,ShoppingBag:O8,ShoppingBagIcon:O8,ShoppingBasket:H8,ShoppingBasketIcon:H8,ShoppingCart:As,ShoppingCartIcon:As,Shovel:V8,ShovelIcon:V8,ShowerHead:B8,ShowerHeadIcon:B8,Shrink:U8,ShrinkIcon:U8,Shrub:$8,ShrubIcon:$8,Shuffle:G8,ShuffleIcon:G8,Sidebar:so,SidebarClose:no,SidebarCloseIcon:no,SidebarIcon:so,SidebarOpen:io,SidebarOpenIcon:io,Sigma:W8,SigmaIcon:W8,SigmaSquare:hi,SigmaSquareIcon:hi,Signal:Ic,SignalHigh:Z8,SignalHighIcon:Z8,SignalIcon:Ic,SignalLow:X8,SignalLowIcon:X8,SignalMedium:J8,SignalMediumIcon:J8,SignalZero:Y8,SignalZeroIcon:Y8,Signature:K8,SignatureIcon:K8,Signpost:e7,SignpostBig:Q8,SignpostBigIcon:Q8,SignpostIcon:e7,Siren:t7,SirenIcon:t7,SkipBack:a7,SkipBackIcon:a7,SkipForward:r7,SkipForwardIcon:r7,Skull:n7,SkullIcon:n7,Slack:o7,SlackIcon:o7,Slash:i7,SlashIcon:i7,SlashSquare:ui,SlashSquareIcon:ui,Slice:s7,SliceIcon:s7,Sliders:Mo,SlidersHorizontal:Za,SlidersHorizontalIcon:Za,SlidersIcon:Mo,SlidersVertical:Mo,SlidersVerticalIcon:Mo,Smartphone:d7,SmartphoneCharging:c7,SmartphoneChargingIcon:c7,SmartphoneIcon:d7,SmartphoneNfc:l7,SmartphoneNfcIcon:l7,Smile:u7,SmileIcon:u7,SmilePlus:h7,SmilePlusIcon:h7,Snail:p7,SnailIcon:p7,Snowflake:y7,SnowflakeIcon:y7,Sofa:m7,SofaIcon:m7,SortAsc:br,SortAscIcon:br,SortDesc:vr,SortDescIcon:vr,Soup:f7,SoupIcon:f7,Space:x7,SpaceIcon:x7,Spade:k7,SpadeIcon:k7,Sparkle:g7,SparkleIcon:g7,Sparkles:Va,SparklesIcon:Va,Speaker:v7,SpeakerIcon:v7,Speech:w7,SpeechIcon:w7,SpellCheck:b7,SpellCheck2:M7,SpellCheck2Icon:M7,SpellCheckIcon:b7,Spline:C7,SplineIcon:C7,Split:j7,SplitIcon:j7,SplitSquareHorizontal:pi,SplitSquareHorizontalIcon:pi,SplitSquareVertical:yi,SplitSquareVerticalIcon:yi,SprayCan:S7,SprayCanIcon:S7,Sprout:L7,SproutIcon:L7,Square:R7,SquareActivity:bo,SquareActivityIcon:bo,SquareArrowDown:So,SquareArrowDownIcon:So,SquareArrowDownLeft:Co,SquareArrowDownLeftIcon:Co,SquareArrowDownRight:jo,SquareArrowDownRightIcon:jo,SquareArrowLeft:wa,SquareArrowLeftIcon:wa,SquareArrowOutDownLeft:Lo,SquareArrowOutDownLeftIcon:Lo,SquareArrowOutDownRight:Io,SquareArrowOutDownRightIcon:Io,SquareArrowOutUpLeft:No,SquareArrowOutUpLeftIcon:No,SquareArrowOutUpRight:Ao,SquareArrowOutUpRightIcon:Ao,SquareArrowRight:Ma,SquareArrowRightIcon:Ma,SquareArrowUp:Ro,SquareArrowUpIcon:Ro,SquareArrowUpLeft:Po,SquareArrowUpLeftIcon:Po,SquareArrowUpRight:_o,SquareArrowUpRightIcon:_o,SquareAsterisk:To,SquareAsteriskIcon:To,SquareBottomDashedScissors:qo,SquareBottomDashedScissorsIcon:qo,SquareChartGantt:ea,SquareChartGanttIcon:ea,SquareCheck:zo,SquareCheckBig:Do,SquareCheckBigIcon:Do,SquareCheckIcon:zo,SquareChevronDown:Fo,SquareChevronDownIcon:Fo,SquareChevronLeft:Eo,SquareChevronLeftIcon:Eo,SquareChevronRight:Oo,SquareChevronRightIcon:Oo,SquareChevronUp:Ho,SquareChevronUpIcon:Ho,SquareCode:Vo,SquareCodeIcon:Vo,SquareDashed:$o,SquareDashedBottom:N7,SquareDashedBottomCode:I7,SquareDashedBottomCodeIcon:I7,SquareDashedBottomIcon:N7,SquareDashedIcon:$o,SquareDashedKanban:Bo,SquareDashedKanbanIcon:Bo,SquareDashedMousePointer:Uo,SquareDashedMousePointerIcon:Uo,SquareDivide:Go,SquareDivideIcon:Go,SquareDot:Wo,SquareDotIcon:Wo,SquareEqual:Zo,SquareEqualIcon:Zo,SquareFunction:Xo,SquareFunctionIcon:Xo,SquareGanttChart:ea,SquareGanttChartIcon:ea,SquareIcon:R7,SquareKanban:Jo,SquareKanbanIcon:Jo,SquareLibrary:Yo,SquareLibraryIcon:Yo,SquareM:Ko,SquareMIcon:Ko,SquareMenu:Qo,SquareMenuIcon:Qo,SquareMinus:ei,SquareMinusIcon:ei,SquareMousePointer:ti,SquareMousePointerIcon:ti,SquareParking:ri,SquareParkingIcon:ri,SquareParkingOff:ai,SquareParkingOffIcon:ai,SquarePen:wt,SquarePenIcon:wt,SquarePercent:ni,SquarePercentIcon:ni,SquarePi:oi,SquarePiIcon:oi,SquarePilcrow:ii,SquarePilcrowIcon:ii,SquarePlay:si,SquarePlayIcon:si,SquarePlus:ci,SquarePlusIcon:ci,SquarePower:li,SquarePowerIcon:li,SquareRadical:A7,SquareRadicalIcon:A7,SquareScissors:di,SquareScissorsIcon:di,SquareSigma:hi,SquareSigmaIcon:hi,SquareSlash:ui,SquareSlashIcon:ui,SquareSplitHorizontal:pi,SquareSplitHorizontalIcon:pi,SquareSplitVertical:yi,SquareSplitVerticalIcon:yi,SquareSquare:P7,SquareSquareIcon:P7,SquareStack:_7,SquareStackIcon:_7,SquareTerminal:mi,SquareTerminalIcon:mi,SquareUser:xi,SquareUserIcon:xi,SquareUserRound:fi,SquareUserRoundIcon:fi,SquareX:ki,SquareXIcon:ki,Squircle:T7,SquircleIcon:T7,Squirrel:q7,SquirrelIcon:q7,Stamp:D7,StampIcon:D7,Star:qt,StarHalf:z7,StarHalfIcon:z7,StarIcon:qt,StarOff:F7,StarOffIcon:F7,Stars:Va,StarsIcon:Va,StepBack:E7,StepBackIcon:E7,StepForward:O7,StepForwardIcon:O7,Stethoscope:H7,StethoscopeIcon:H7,Sticker:V7,StickerIcon:V7,StickyNote:B7,StickyNoteIcon:B7,StopCircle:mn,StopCircleIcon:mn,Store:U7,StoreIcon:U7,StretchHorizontal:$7,StretchHorizontalIcon:$7,StretchVertical:G7,StretchVerticalIcon:G7,Strikethrough:W7,StrikethroughIcon:W7,Subscript:Z7,SubscriptIcon:Z7,Subtitles:Pr,SubtitlesIcon:Pr,Sun:Q7,SunDim:X7,SunDimIcon:X7,SunIcon:Q7,SunMedium:J7,SunMediumIcon:J7,SunMoon:Y7,SunMoonIcon:Y7,SunSnow:K7,SunSnowIcon:K7,Sunrise:ew,SunriseIcon:ew,Sunset:tw,SunsetIcon:tw,Superscript:aw,SuperscriptIcon:aw,SwatchBook:rw,SwatchBookIcon:rw,SwissFranc:nw,SwissFrancIcon:nw,SwitchCamera:ow,SwitchCameraIcon:ow,Sword:iw,SwordIcon:iw,Swords:sw,SwordsIcon:sw,Syringe:cw,SyringeIcon:cw,Table:fw,Table2:lw,Table2Icon:lw,TableCellsMerge:dw,TableCellsMergeIcon:dw,TableCellsSplit:hw,TableCellsSplitIcon:hw,TableColumnsSplit:uw,TableColumnsSplitIcon:uw,TableIcon:fw,TableOfContents:pw,TableOfContentsIcon:pw,TableProperties:yw,TablePropertiesIcon:yw,TableRowsSplit:mw,TableRowsSplitIcon:mw,Tablet:kw,TabletIcon:kw,TabletSmartphone:xw,TabletSmartphoneIcon:xw,Tablets:gw,TabletsIcon:gw,Tag:vw,TagIcon:vw,Tags:ww,TagsIcon:ww,Tally1:Mw,Tally1Icon:Mw,Tally2:bw,Tally2Icon:bw,Tally3:Cw,Tally3Icon:Cw,Tally4:jw,Tally4Icon:jw,Tally5:Sw,Tally5Icon:Sw,Tangent:Lw,TangentIcon:Lw,Target:Iw,TargetIcon:Iw,Telescope:Nw,TelescopeIcon:Nw,Tent:Pw,TentIcon:Pw,TentTree:Aw,TentTreeIcon:Aw,Terminal:_w,TerminalIcon:_w,TerminalSquare:mi,TerminalSquareIcon:mi,TestTube:Rw,TestTube2:gi,TestTube2Icon:gi,TestTubeDiagonal:gi,TestTubeDiagonalIcon:gi,TestTubeIcon:Rw,TestTubes:Tw,TestTubesIcon:Tw,Text:Ew,TextCursor:Dw,TextCursorIcon:Dw,TextCursorInput:qw,TextCursorInputIcon:qw,TextIcon:Ew,TextQuote:zw,TextQuoteIcon:zw,TextSearch:Fw,TextSearchIcon:Fw,TextSelect:vi,TextSelectIcon:vi,TextSelection:vi,TextSelectionIcon:vi,Theater:Ow,TheaterIcon:Ow,Thermometer:Bw,ThermometerIcon:Bw,ThermometerSnowflake:Hw,ThermometerSnowflakeIcon:Hw,ThermometerSun:Vw,ThermometerSunIcon:Vw,ThumbsDown:Uw,ThumbsDownIcon:Uw,ThumbsUp:$w,ThumbsUpIcon:$w,Ticket:Kw,TicketCheck:Gw,TicketCheckIcon:Gw,TicketIcon:Kw,TicketMinus:Ww,TicketMinusIcon:Ww,TicketPercent:Zw,TicketPercentIcon:Zw,TicketPlus:Xw,TicketPlusIcon:Xw,TicketSlash:Jw,TicketSlashIcon:Jw,TicketX:Yw,TicketXIcon:Yw,Tickets:eM,TicketsIcon:eM,TicketsPlane:Qw,TicketsPlaneIcon:Qw,Timer:rM,TimerIcon:rM,TimerOff:tM,TimerOffIcon:tM,TimerReset:aM,TimerResetIcon:aM,ToggleLeft:nM,ToggleLeftIcon:nM,ToggleRight:oM,ToggleRightIcon:oM,Tornado:iM,TornadoIcon:iM,Torus:sM,TorusIcon:sM,Touchpad:lM,TouchpadIcon:lM,TouchpadOff:cM,TouchpadOffIcon:cM,TowerControl:dM,TowerControlIcon:dM,ToyBrick:hM,ToyBrickIcon:hM,Tractor:uM,TractorIcon:uM,TrafficCone:pM,TrafficConeIcon:pM,Train:wi,TrainFront:mM,TrainFrontIcon:mM,TrainFrontTunnel:yM,TrainFrontTunnelIcon:yM,TrainIcon:wi,TrainTrack:fM,TrainTrackIcon:fM,TramFront:wi,TramFrontIcon:wi,Trash:xM,Trash2:Nc,Trash2Icon:Nc,TrashIcon:xM,TreeDeciduous:kM,TreeDeciduousIcon:kM,TreePalm:Mi,TreePalmIcon:Mi,TreePine:gM,TreePineIcon:gM,Trees:vM,TreesIcon:vM,Trello:wM,TrelloIcon:wM,TrendingDown:MM,TrendingDownIcon:MM,TrendingUp:$i,TrendingUpDown:bM,TrendingUpDownIcon:bM,TrendingUpIcon:$i,Triangle:jM,TriangleAlert:bi,TriangleAlertIcon:bi,TriangleIcon:jM,TriangleRight:CM,TriangleRightIcon:CM,Trophy:SM,TrophyIcon:SM,Truck:LM,TruckIcon:LM,Turtle:IM,TurtleIcon:IM,Tv:AM,Tv2:Ci,Tv2Icon:Ci,TvIcon:AM,TvMinimal:Ci,TvMinimalIcon:Ci,TvMinimalPlay:NM,TvMinimalPlayIcon:NM,Twitch:PM,TwitchIcon:PM,Twitter:_M,TwitterIcon:_M,Type:TM,TypeIcon:TM,TypeOutline:RM,TypeOutlineIcon:RM,Umbrella:DM,UmbrellaIcon:DM,UmbrellaOff:qM,UmbrellaOffIcon:qM,Underline:zM,UnderlineIcon:zM,Undo:OM,Undo2:FM,Undo2Icon:FM,UndoDot:EM,UndoDotIcon:EM,UndoIcon:OM,UnfoldHorizontal:HM,UnfoldHorizontalIcon:HM,UnfoldVertical:VM,UnfoldVerticalIcon:VM,Ungroup:BM,UngroupIcon:BM,University:ji,UniversityIcon:ji,Unlink:$M,Unlink2:UM,Unlink2Icon:UM,UnlinkIcon:$M,Unlock:Jn,UnlockIcon:Jn,UnlockKeyhole:Xn,UnlockKeyholeIcon:Xn,Unplug:GM,UnplugIcon:GM,Upload:Ps,UploadCloud:wn,UploadCloudIcon:wn,UploadIcon:Ps,Usb:WM,UsbIcon:WM,User:Ac,User2:Pi,User2Icon:Pi,UserCheck:ZM,UserCheck2:Si,UserCheck2Icon:Si,UserCheckIcon:ZM,UserCircle:xn,UserCircle2:fn,UserCircle2Icon:fn,UserCircleIcon:xn,UserCog:XM,UserCog2:Li,UserCog2Icon:Li,UserCogIcon:XM,UserIcon:Ac,UserMinus:JM,UserMinus2:Ii,UserMinus2Icon:Ii,UserMinusIcon:JM,UserPen:YM,UserPenIcon:YM,UserPlus:KM,UserPlus2:Ni,UserPlus2Icon:Ni,UserPlusIcon:KM,UserRound:Pi,UserRoundCheck:Si,UserRoundCheckIcon:Si,UserRoundCog:Li,UserRoundCogIcon:Li,UserRoundIcon:Pi,UserRoundMinus:Ii,UserRoundMinusIcon:Ii,UserRoundPen:QM,UserRoundPenIcon:QM,UserRoundPlus:Ni,UserRoundPlusIcon:Ni,UserRoundSearch:eb,UserRoundSearchIcon:eb,UserRoundX:Ai,UserRoundXIcon:Ai,UserSearch:tb,UserSearchIcon:tb,UserSquare:xi,UserSquare2:fi,UserSquare2Icon:fi,UserSquareIcon:xi,UserX:ab,UserX2:Ai,UserX2Icon:Ai,UserXIcon:ab,Users:La,Users2:_i,Users2Icon:_i,UsersIcon:La,UsersRound:_i,UsersRoundIcon:_i,Utensils:Ti,UtensilsCrossed:Ri,UtensilsCrossedIcon:Ri,UtensilsIcon:Ti,UtilityPole:rb,UtilityPoleIcon:rb,Variable:nb,VariableIcon:nb,Vault:ob,VaultIcon:ob,Vegan:ib,VeganIcon:ib,VenetianMask:sb,VenetianMaskIcon:sb,Verified:Sr,VerifiedIcon:Sr,Vibrate:lb,VibrateIcon:lb,VibrateOff:cb,VibrateOffIcon:cb,Video:hb,VideoIcon:hb,VideoOff:db,VideoOffIcon:db,Videotape:ub,VideotapeIcon:ub,View:pb,ViewIcon:pb,Voicemail:yb,VoicemailIcon:yb,Volleyball:mb,VolleyballIcon:mb,Volume:vb,Volume1:fb,Volume1Icon:fb,Volume2:xb,Volume2Icon:xb,VolumeIcon:vb,VolumeOff:kb,VolumeOffIcon:kb,VolumeX:gb,VolumeXIcon:gb,Vote:wb,VoteIcon:wb,Wallet:bb,Wallet2:qi,Wallet2Icon:qi,WalletCards:Mb,WalletCardsIcon:Mb,WalletIcon:bb,WalletMinimal:qi,WalletMinimalIcon:qi,Wallpaper:Cb,WallpaperIcon:Cb,Wand:jb,Wand2:Di,Wand2Icon:Di,WandIcon:jb,WandSparkles:Di,WandSparklesIcon:Di,Warehouse:Sb,WarehouseIcon:Sb,WashingMachine:Lb,WashingMachineIcon:Lb,Watch:Ib,WatchIcon:Ib,Waves:Nb,WavesIcon:Nb,Waypoints:Ab,WaypointsIcon:Ab,Webcam:Pb,WebcamIcon:Pb,Webhook:Rb,WebhookIcon:Rb,WebhookOff:_b,WebhookOffIcon:_b,Weight:Tb,WeightIcon:Tb,Wheat:Db,WheatIcon:Db,WheatOff:qb,WheatOffIcon:qb,WholeWord:zb,WholeWordIcon:zb,Wifi:Vb,WifiHigh:Fb,WifiHighIcon:Fb,WifiIcon:Vb,WifiLow:Eb,WifiLowIcon:Eb,WifiOff:Ob,WifiOffIcon:Ob,WifiZero:Hb,WifiZeroIcon:Hb,Wind:Bb,WindIcon:Bb,Wine:$b,WineIcon:$b,WineOff:Ub,WineOffIcon:Ub,Workflow:Gb,WorkflowIcon:Gb,Worm:Wb,WormIcon:Wb,WrapText:Zb,WrapTextIcon:Zb,Wrench:Xb,WrenchIcon:Xb,X:Xt,XCircle:aa,XCircleIcon:aa,XIcon:Xt,XOctagon:to,XOctagonIcon:to,XSquare:ki,XSquareIcon:ki,Youtube:Jb,YoutubeIcon:Jb,Zap:Kb,ZapIcon:Kb,ZapOff:Yb,ZapOffIcon:Yb,ZoomIn:Qb,ZoomInIcon:Qb,ZoomOut:e9,ZoomOutIcon:e9,createLucideIcon:s,icons:JT},Symbol.toStringTag,{value:"Module"}));function KT({groupedIds:t,tabTitles:e,lang:r,url:n,PromotionsTitle:o,buttonMsg:i="Select Plan"}){const[c,l]=S.useState([]),[d,h]=S.useState("tab-0"),u=n||window.location.origin||"http://localhost:8000";S.useEffect(()=>{(async()=>{try{const k=r??"en",m=t.map(async v=>(await fetch(`${u}/api/v1/promotions/?ids=${v}`,{method:"GET",headers:{"Accept-Language":k,"Content-Type":"application/json"}})).json()),x=await Promise.all(m);l(x)}catch{}})()},[t,u,r]);const p=f=>{const k=new CustomEvent("planSelected",{bubbles:!0,detail:{plan:f,tabType:d,timestamp:new Date().toISOString()}}),m=document.querySelector(".group-prices-component");m&&m.dispatchEvent(k)},y=`grid sm:grid-cols-2 lg:grid-cols-${e.length} mb-8`;return a.jsx("section",{id:"pricing",className:"w-full py-12 md:py-24 lg:py-32",children:a.jsxs("div",{className:"container px-4 md:px-6",children:[o??a.jsx("h2",{className:"text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl text-center mb-8",children:o}),a.jsxs(rs,{defaultValue:"tab-0",className:"w-full",onValueChange:f=>h(f),children:[a.jsx(ar,{className:y,children:e.map((f,k)=>a.jsx(Ce,{value:`tab-${k}`,children:f},k))}),c.map((f,k)=>a.jsx(je,{value:`tab-${k}`,children:a.jsx("div",{className:"grid gap-8 sm:grid-cols-2 lg:grid-cols-3",children:f.map((m,x)=>a.jsxs(we,{className:"flex flex-col",children:[a.jsxs(qe,{children:[a.jsx(De,{children:m.title}),a.jsx(Ue,{children:m.short_description})]}),a.jsxs(Me,{className:"flex-1",children:[a.jsxs("p",{className:"text-3xl font-bold",children:["€",m.price]}),a.jsx("ul",{className:"mt-4 space-y-2",children:m.features&&m.features.map((v,w)=>a.jsxs("li",{className:"flex items-center",children:[a.jsx(vs,{className:"mr-2 h-4 w-4 text-primary"})," ",v]},w))})]}),a.jsx(Fs,{children:a.jsx(U,{onClick:()=>p(m),className:"w-full bg-primary text-primary-foreground hover:bg-primary/90",children:i})})]},x))})},k))]})]})})}function QT({isOpen:t,items:e}){const r=e.reduce((n,o)=>n+o.price,0);return a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:ie("fixed inset-y-0 right-0 w-80 bg-white shadow-lg transform transition-transform duration-300 ease-in-out z-30",t?"translate-x-0":"translate-x-full"),children:a.jsxs("div",{className:"h-full flex flex-col",children:[a.jsxs("div",{className:"p-4 border-b flex items-center justify-between",children:[a.jsx("h2",{className:"text-xl font-semibold",children:"Summary"}),a.jsxs("button",{onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")},className:"hover:bg-gray-100 rounded p-2",children:[a.jsx(Xt,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close panel"})]})]}),a.jsx("div",{className:"flex-1 overflow-auto p-4",children:e.map(n=>a.jsxs("div",{className:"mb-4 p-3 border rounded-lg",children:[a.jsxs("div",{className:"flex justify-between items-start mb-1",children:[a.jsx("span",{className:"font-medium",children:n.name}),a.jsxs("span",{className:"text-sm",children:["$",n.price.toFixed(2)]})]}),a.jsx("p",{className:"text-sm text-gray-600",children:n.description})]},n.id))}),a.jsx("div",{className:"p-4 border-t",children:a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"font-semibold",children:"Total:"}),a.jsxs("span",{className:"font-semibold",children:["$",r.toFixed(2)]})]})})]})}),t&&a.jsx("div",{className:"fixed inset-0 bg-black/20 z-20",onClick:()=>{const n=document.querySelector('.sliding-summary-component[data-open="true"]');n&&n.setAttribute("data-open","false")}})]})}function ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function II(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
7726
7726
|
* GSAP 3.12.5
|
|
7727
7727
|
* https://gsap.com
|
|
7728
7728
|
*
|
|
@@ -7730,7 +7730,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
7730
7730
|
* Subject to the terms at https://gsap.com/standard-license or for
|
|
7731
7731
|
* Club GSAP members, the agreement issued with that membership.
|
|
7732
7732
|
* @author: Jack Doyle, jack@greensock.com
|
|
7733
|
-
*/var Lt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Es={duration:.5,overwrite:!1,delay:0},fj,ct,Ee,Dt=1e8,Ne=1/Dt,DC=Math.PI*2,eq=DC/4,tq=0,NI=Math.sqrt,aq=Math.cos,rq=Math.sin,at=function(e){return typeof e=="string"},$e=function(e){return typeof e=="function"},Ia=function(e){return typeof e=="number"},xj=function(e){return typeof e>"u"},ha=function(e){return typeof e=="object"},ft=function(e){return e!==!1},kj=function(){return typeof window<"u"},t1=function(e){return $e(e)||at(e)},AI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},lt=Array.isArray,zC=/(?:-?\.?\d|\.)+/gi,PI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ys=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,nC=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_I=/[+-]=-?[.\d]+/,RI=/[^,'"\[\]\s]+/gi,nq=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Oe,ta,FC,gj,Nt={},l9={},TI,qI=function(e){return(l9=Ji(e,Nt))&&vt},vj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},zc=function(e,r){return!r&&console.warn(e)},DI=function(e,r){return e&&(Nt[e]=r)&&l9&&(l9[e]=r)||Nt},Fc=function(){return 0},oq={suppressEvents:!0,isStart:!0,kill:!1},t9={suppressEvents:!0,kill:!1},iq={suppressEvents:!0},wj={},Xa=[],EC={},zI,Mt={},oC={},RS=30,a9=[],Mj="",bj=function(e){var r=e[0],n,o;if(ha(r)||$e(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(o=a9.length;o--&&!a9[o].targetTest(r););n=a9[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new sN(e[o],n)))||e.splice(o,1);return e},Gi=function(e){return e._gsap||bj(zt(e))[0]._gsap},FI=function(e,r,n){return(n=e[r])&&$e(n)?e[r]():xj(n)&&e.getAttribute&&e.getAttribute(r)||n},xt=function(e,r){return(e=e.split(",")).forEach(r)||e},Ge=function(e){return Math.round(e*1e5)/1e5||0},et=function(e){return Math.round(e*1e7)/1e7||0},_s=function(e,r){var n=r.charAt(0),o=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+o:n==="-"?e-o:n==="*"?e*o:e/o},sq=function(e,r){for(var n=r.length,o=0;e.indexOf(r[o])<0&&++o<n;);return o<n},d9=function(){var e=Xa.length,r=Xa.slice(0),n,o;for(EC={},Xa.length=0,n=0;n<e;n++)o=r[n],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},EI=function(e,r,n,o){Xa.length&&!ct&&d9(),e.render(r,n,ct&&r<0&&(e._initted||e._startAt)),Xa.length&&!ct&&d9()},OI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(RI).length<2?r:at(e)?e.trim():e},HI=function(e){return e},Ht=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},cq=function(e){return function(r,n){for(var o in n)o in r||o==="duration"&&e||o==="ease"||(r[o]=n[o])}},Ji=function(e,r){for(var n in r)e[n]=r[n];return e},TS=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=ha(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},h9=function(e,r){var n={},o;for(o in e)o in r||(n[o]=e[o]);return n},Pc=function(e){var r=e.parent||Oe,n=e.keyframes?cq(lt(e.keyframes)):Ht;if(ft(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},lq=function(e,r){for(var n=e.length,o=n===r.length;o&&n--&&e[n]===r[n];);return n<0},VI=function(e,r,n,o,i){var c=e[o],l;if(i)for(l=r[i];c&&c[i]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[o]=r,r._prev=c,r.parent=r._dp=e,r},I9=function(e,r,n,o){n===void 0&&(n="_first"),o===void 0&&(o="_last");var i=r._prev,c=r._next;i?i._next=c:e[n]===r&&(e[n]=c),c?c._prev=i:e[o]===r&&(e[o]=i),r._next=r._prev=r.parent=null},Ka=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Wi=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},dq=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},OC=function(e,r,n,o){return e._startAt&&(ct?e._startAt.revert(t9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,o))},hq=function t(e){return!e||e._ts&&t(e.parent)},qS=function(e){return e._repeat?Os(e._tTime,e=e.duration()+e._rDelay)*e:0},Os=function(e,r){var n=Math.floor(e/=r);return e&&n===e?n-1:n},u9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},N9=function(e){return e._end=et(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ne)||0))},A9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=et(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),N9(e),n._dirty||Wi(n,e)),e},BI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=u9(e.rawTime(),r),(!r._dur||Xc(0,r.totalDuration(),n)-r._tTime>Ne)&&r.render(n,!0)),Wi(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-Ne}},ra=function(e,r,n,o){return r.parent&&Ka(r),r._start=et((Ia(n)?n:n||e!==Oe?Rt(e,n,r):e._time)+r._delay),r._end=et(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),VI(e,r,"_first","_last",e._sort?"_start":0),HC(r)||(e._recent=r),o||BI(e,r),e._ts<0&&A9(e,e._tTime),e},UI=function(e,r){return(Nt.ScrollTrigger||vj("scrollTrigger",r))&&Nt.ScrollTrigger.create(r,e)},$I=function(e,r,n,o,i){if(jj(e,r,i),!e._initted)return 1;if(!n&&e._pt&&!ct&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&zI!==jt.frame)return Xa.push(e),e._lazy=[i,o],1},uq=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},HC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},pq=function(e,r,n,o){var i=e.ratio,c=r<0||!r&&(!e._start&&uq(e)&&!(!e._initted&&HC(e))||(e._ts<0||e._dp._ts<0)&&!HC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Xc(0,e._tDur,r),u=Os(d,l),e._yoyo&&u&1&&(c=1-c),u!==Os(e._tTime,l)&&(i=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==i||ct||o||e._zTime===Ne||!r&&e._zTime){if(!e._initted&&$I(e,r,o,n,d))return;for(p=e._zTime,e._zTime=r||(n?Ne:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&OC(e,r,n,!0),e._onUpdate&&!n&&St(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&St(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&Ka(e,1),!n&&!ct&&(St(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},yq=function(e,r,n){var o;if(n>r)for(o=e._first;o&&o._start<=n;){if(o.data==="isPause"&&o._start>r)return o;o=o._next}else for(o=e._last;o&&o._start>=n;){if(o.data==="isPause"&&o._start<r)return o;o=o._prev}},Hs=function(e,r,n,o){var i=e._repeat,c=et(r)||0,l=e._tTime/e._tDur;return l&&!o&&(e._time*=c/e._dur),e._dur=c,e._tDur=i?i<0?1e10:et(c*(i+1)+e._rDelay*i):c,l>0&&!o&&A9(e,e._tTime=e._tDur*l),e.parent&&N9(e),n||Wi(e.parent,e),e},DS=function(e){return e instanceof ut?Wi(e):Hs(e,e._dur)},mq={_start:0,endTime:Fc,totalDuration:Fc},Rt=function t(e,r,n){var o=e.labels,i=e._recent||mq,c=e.duration()>=Dt?i.endTime(!1):e._dur,l,d,h;return at(r)&&(isNaN(r)||r in o)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?i:n).totalDuration()/100:1)):l<0?(r in o||(o[r]=c),o[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(lt(n)?n[0]:n).totalDuration()),l>1?t(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},_c=function(e,r,n){var o=Ia(r[1]),i=(o?2:1)+(e<2?0:1),c=r[i],l,d;if(o&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=ft(d.vars.inherit)&&d.parent;c.immediateRender=ft(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[i-1]}return new Je(r[0],c,r[i+1])},rr=function(e,r){return e||e===0?r(e):r},Xc=function(e,r,n){return n<e?e:n>r?r:n},st=function(e,r){return!at(e)||!(r=nq.exec(e))?"":r[1]},fq=function(e,r,n){return rr(n,function(o){return Xc(e,r,o)})},VC=[].slice,GI=function(e,r){return e&&ha(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&ha(e[0]))&&!e.nodeType&&e!==ta},xq=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(o){var i;return at(o)&&!r||GI(o,1)?(i=n).push.apply(i,zt(o)):n.push(o)})||n},zt=function(e,r,n){return Ee&&!r&&Ee.selector?Ee.selector(e):at(e)&&!n&&(FC||!Vs())?VC.call((r||gj).querySelectorAll(e),0):lt(e)?xq(e,n):GI(e)?VC.call(e,0):e?[e]:[]},BC=function(e){return e=zt(e)[0]||zc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return zt(r,n.querySelectorAll?n:n===e?zc("Invalid scope")||gj.createElement("div"):e)}},WI=function(e){return e.sort(function(){return .5-Math.random()})},ZI=function(e){if($e(e))return e;var r=ha(e)?e:{each:e},n=Zi(r.ease),o=r.from||0,i=parseFloat(r.base)||0,c={},l=o>0&&o<1,d=isNaN(o)||l,h=r.axis,u=o,p=o;return at(o)?u=p={center:.5,edges:.5,end:1}[o]||0:!l&&d&&(u=o[0],p=o[1]),function(y,f,k){var m=(k||r).length,x=c[m],v,w,b,M,C,N,L,A,I;if(!x){if(I=r.grid==="auto"?0:(r.grid||[1,Dt])[1],!I){for(L=-Dt;L<(L=k[I++].getBoundingClientRect().left)&&I<m;);I<m&&I--}for(x=c[m]=[],v=d?Math.min(I,m)*u-.5:o%I,w=I===Dt?0:d?m*p/I-.5:o/I|0,L=0,A=Dt,N=0;N<m;N++)b=N%I-v,M=w-(N/I|0),x[N]=C=h?Math.abs(h==="y"?M:b):NI(b*b+M*M),C>L&&(L=C),C<A&&(A=C);o==="random"&&WI(x),x.max=L-A,x.min=A,x.v=m=(parseFloat(r.amount)||parseFloat(r.each)*(I>m?m-1:h?h==="y"?m/I:I:Math.max(I,m/I))||0)*(o==="edges"?-1:1),x.b=m<0?i-m:i,x.u=st(r.amount||r.each)||0,n=n&&m<0?nN(n):n}return m=(x[y]-x.min)/x.max||0,et(x.b+(n?n(m):m)*x.v)+x.u}},UC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var o=et(Math.round(parseFloat(n)/e)*e*r);return(o-o%1)/r+(Ia(n)?0:st(n))}},XI=function(e,r){var n=lt(e),o,i;return!n&&ha(e)&&(o=n=e.radius||Dt,e.values?(e=zt(e.values),(i=!Ia(e[0]))&&(o*=o)):e=UC(e.increment)),rr(r,n?$e(e)?function(c){return i=e(c),Math.abs(i-c)<=o?i:c}:function(c){for(var l=parseFloat(i?c.x:c),d=parseFloat(i?c.y:0),h=Dt,u=0,p=e.length,y,f;p--;)i?(y=e[p].x-l,f=e[p].y-d,y=y*y+f*f):y=Math.abs(e[p]-l),y<h&&(h=y,u=p);return u=!o||h<=o?e[u]:c,i||u===c||Ia(c)?u:u+st(c)}:UC(e))},JI=function(e,r,n,o){return rr(lt(e)?!r:n===!0?!!(n=0):!o,function(){return lt(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(o=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*o)/o})},kq=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(o){return r.reduce(function(i,c){return c(i)},o)}},gq=function(e,r){return function(n){return e(parseFloat(n))+(r||st(n))}},vq=function(e,r,n){return KI(e,r,0,1,n)},YI=function(e,r,n){return rr(n,function(o){return e[~~r(o)]})},wq=function t(e,r,n){var o=r-e;return lt(e)?YI(e,t(0,e.length),r):rr(n,function(i){return(o+(i-e)%o)%o+e})},Mq=function t(e,r,n){var o=r-e,i=o*2;return lt(e)?YI(e,t(0,e.length-1),r):rr(n,function(c){return c=(i+(c-e)%i)%i||0,e+(c>o?i-c:c)})},Ec=function(e){for(var r=0,n="",o,i,c,l;~(o=e.indexOf("random(",r));)c=e.indexOf(")",o),l=e.charAt(o+7)==="[",i=e.substr(o+7,c-o-7).match(l?RI:zC),n+=e.substr(r,o-r)+JI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+e.substr(r,e.length-r)},KI=function(e,r,n,o,i){var c=r-e,l=o-n;return rr(i,function(d){return n+((d-e)/c*l||0)})},bq=function t(e,r,n,o){var i=isNaN(e+r)?0:function(f){return(1-f)*e+f*r};if(!i){var c=at(e),l={},d,h,u,p,y;if(n===!0&&(o=1)&&(n=null),c)e={p:e},r={p:r};else if(lt(e)&&!lt(r)){for(u=[],p=e.length,y=p-2,h=1;h<p;h++)u.push(t(e[h-1],e[h]));p--,i=function(k){k*=p;var m=Math.min(y,~~k);return u[m](k-m)},n=r}else o||(e=Ji(lt(e)?[]:{},e));if(!u){for(d in r)Cj.call(l,e,d,"get",r[d]);i=function(k){return Ij(k,l)||(c?e.p:e)}}}return rr(n,i)},zS=function(e,r,n){var o=e.labels,i=Dt,c,l,d;for(c in o)l=o[c]-r,l<0==!!n&&l&&i>(l=Math.abs(l))&&(d=c,i=l);return d},St=function(e,r,n){var o=e.vars,i=o[r],c=Ee,l=e._ctx,d,h,u;if(i)return d=o[r+"Params"],h=o.callbackScope||e,n&&Xa.length&&d9(),l&&(Ee=l),u=d?i.apply(h,d):i.call(h),Ee=c,u},ic=function(e){return Ka(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ct),e.progress()<1&&St(e,"onInterrupt"),e},ms,QI=[],eN=function(e){if(e)if(e=!e.name&&e.default||e,kj()||e.headless){var r=e.name,n=$e(e),o=r&&!n&&e.init?function(){this._props=[]}:e,i={init:Fc,render:Ij,add:Cj,kill:Eq,modifier:Fq,rawVars:0},c={targetTest:0,get:0,getSetter:Lj,aliases:{},register:0};if(Vs(),e!==o){if(Mt[r])return;Ht(o,Ht(h9(e,i),c)),Ji(o.prototype,Ji(i,h9(e,c))),Mt[o.prop=r]=o,e.targetTest&&(a9.push(o),wj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}DI(r,o),e.register&&e.register(vt,o,kt)}else QI.push(e)},Le=255,sc={aqua:[0,Le,Le],lime:[0,Le,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Le],navy:[0,0,128],white:[Le,Le,Le],olive:[128,128,0],yellow:[Le,Le,0],orange:[Le,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Le,0,0],pink:[Le,192,203],cyan:[0,Le,Le],transparent:[Le,Le,Le,0]},iC=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Le+.5|0},tN=function(e,r,n){var o=e?Ia(e)?[e>>16,e>>8&Le,e&Le]:0:sc.black,i,c,l,d,h,u,p,y,f,k;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),sc[e])o=sc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+i+i+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return o=parseInt(e.substr(1,6),16),[o>>16,o>>8&Le,o&Le,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),o=[e>>16,e>>8&Le,e&Le]}else if(e.substr(0,3)==="hsl"){if(o=k=e.match(zC),!r)d=+o[0]%360/360,h=+o[1]/100,u=+o[2]/100,c=u<=.5?u*(h+1):u+h-u*h,i=u*2-c,o.length>3&&(o[3]*=1),o[0]=iC(d+1/3,i,c),o[1]=iC(d,i,c),o[2]=iC(d-1/3,i,c);else if(~e.indexOf("="))return o=e.match(PI),n&&o.length<4&&(o[3]=1),o}else o=e.match(zC)||sc.transparent;o=o.map(Number)}return r&&!k&&(i=o[0]/Le,c=o[1]/Le,l=o[2]/Le,p=Math.max(i,c,l),y=Math.min(i,c,l),u=(p+y)/2,p===y?d=h=0:(f=p-y,h=u>.5?f/(2-p-y):f/(p+y),d=p===i?(c-l)/f+(c<l?6:0):p===c?(l-i)/f+2:(i-c)/f+4,d*=60),o[0]=~~(d+.5),o[1]=~~(h*100+.5),o[2]=~~(u*100+.5)),n&&o.length<4&&(o[3]=1),o},aN=function(e){var r=[],n=[],o=-1;return e.split(Ja).forEach(function(i){var c=i.match(ys)||[];r.push.apply(r,c),n.push(o+=c.length+1)}),r.c=n,r},FS=function(e,r,n){var o="",i=(e+o).match(Ja),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return e;if(i=i.map(function(y){return(y=tN(y,r,1))&&c+(r?y[0]+","+y[1]+"%,"+y[2]+"%,"+y[3]:y.join(","))+")"}),n&&(u=aN(e),d=n.c,d.join(o)!==u.c.join(o)))for(h=e.replace(Ja,"1").split(ys),p=h.length-1;l<p;l++)o+=h[l]+(~d.indexOf(l)?i.shift()||c+"0,0,0,0)":(u.length?u:i.length?i:n).shift());if(!h)for(h=e.split(Ja),p=h.length-1;l<p;l++)o+=h[l]+i[l];return o+h[p]},Ja=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in sc)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Cq=/hsl[a]?\(/,rN=function(e){var r=e.join(" "),n;if(Ja.lastIndex=0,Ja.test(r))return n=Cq.test(r),e[1]=FS(e[1],n),e[0]=FS(e[0],n,aN(e[1])),!0},Oc,jt=function(){var t=Date.now,e=500,r=33,n=t(),o=n,i=1e3/240,c=i,l=[],d,h,u,p,y,f,k=function m(x){var v=t()-o,w=x===!0,b,M,C,N;if((v>e||v<0)&&(n+=v-r),o+=v,C=o-n,b=C-c,(b>0||w)&&(N=++p.frame,y=C-p.time*1e3,p.time=C=C/1e3,c+=b+(b>=i?4:i-b),M=1),w||(d=h(m)),M)for(f=0;f<l.length;f++)l[f](C,y,N,x)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(x){return y/(1e3/(x||60))},wake:function(){TI&&(!FC&&kj()&&(ta=FC=window,gj=ta.document||{},Nt.gsap=vt,(ta.gsapVersions||(ta.gsapVersions=[])).push(vt.version),qI(l9||ta.GreenSockGlobals||!ta.gsap&&ta||{}),QI.forEach(eN)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Oc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Oc=0,h=Fc},lagSmoothing:function(x,v){e=x||1/0,r=Math.min(v||33,e)},fps:function(x){i=1e3/(x||240),c=p.time*1e3+i},add:function(x,v,w){var b=v?function(M,C,N,L){x(M,C,N,L),p.remove(b)}:x;return p.remove(x),l[w?"unshift":"push"](b),Vs(),b},remove:function(x,v){~(v=l.indexOf(x))&&l.splice(v,1)&&f>=v&&f--},_listeners:l},p}(),Vs=function(){return!Oc&&jt.wake()},fe={},jq=/^[\d.\-M][\d.\-,\s]/,Sq=/["']/g,Lq=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),o=n[0],i=1,c=n.length,l,d,h;i<c;i++)d=n[i],l=i!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[o]=isNaN(h)?h.replace(Sq,"").trim():+h,o=d.substr(l+1).trim();return r},Iq=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),o=e.indexOf("(",r);return e.substring(r,~o&&o<n?e.indexOf(")",n+1):n)},Nq=function(e){var r=(e+"").split("("),n=fe[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[Lq(r[1])]:Iq(e).split(",").map(OI)):fe._CE&&jq.test(e)?fe._CE("",e):n},nN=function(e){return function(r){return 1-e(1-r)}},oN=function t(e,r){for(var n=e._first,o;n;)n instanceof ut?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(o=n._ease,n._ease=n._yEase,n._yEase=o,n._yoyo=r)),n=n._next},Zi=function(e,r){return e&&($e(e)?e:fe[e]||Nq(e))||r},ns=function(e,r,n,o){n===void 0&&(n=function(d){return 1-r(1-d)}),o===void 0&&(o=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:o},c;return xt(e,function(l){fe[l]=Nt[l]=i,fe[c=l.toLowerCase()]=n;for(var d in i)fe[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=fe[l+"."+d]=i[d]}),i},iN=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},sC=function t(e,r,n){var o=r>=1?r:1,i=(n||(e?.3:.45))/(r<1?r:1),c=i/DC*(Math.asin(1/o)||0),l=function(u){return u===1?1:o*Math.pow(2,-10*u)*rq((u-c)*i)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:iN(l);return i=DC/i,d.config=function(h,u){return t(e,h,u)},d},cC=function t(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},o=e==="out"?n:e==="in"?function(i){return 1-n(1-i)}:iN(n);return o.config=function(i){return t(e,i)},o};xt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;ns(t+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});fe.Linear.easeNone=fe.none=fe.Linear.easeIn;ns("Elastic",sC("in"),sC("out"),sC());(function(t,e){var r=1/e,n=2*r,o=2.5*r,i=function(l){return l<r?t*l*l:l<n?t*Math.pow(l-1.5/e,2)+.75:l<o?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ns("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);ns("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});ns("Circ",function(t){return-(NI(1-t*t)-1)});ns("Sine",function(t){return t===1?1:-aq(t*eq)+1});ns("Back",cC("in"),cC("out"),cC());fe.SteppedEase=fe.steps=Nt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,o=e+(r?0:1),i=r?1:0,c=1-Ne;return function(l){return((o*Xc(0,c,l)|0)+i)*n}}};Es.ease=fe["quad.out"];xt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Mj+=t+","+t+"Params,"});var sN=function(e,r){this.id=tq++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:FI,this.set=r?r.getSetter:Lj},Hc=function(){function t(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Hs(this,+r.duration,1,1),this.data=r.data,Ee&&(this._ctx=Ee,Ee.data.push(this)),Oc||jt.wake()}var e=t.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Hs(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,o){if(Vs(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(A9(this,n),!i._dp||i.parent||BI(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&ra(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===Ne||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),EI(this,n,o)),this},e.time=function(n,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+qS(this))%(this._dur+this._rDelay)||(n?this._dur:0),o):this._time},e.totalProgress=function(n,o){return arguments.length?this.totalTime(this.totalDuration()*n,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(n,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+qS(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,o):this._repeat?Os(this._tTime,i)+1:1},e.timeScale=function(n,o){if(!arguments.length)return this._rts===-Ne?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?u9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Ne?0:this._rts,this.totalTime(Xc(-Math.abs(this._delay),this._tDur,i),o!==!1),N9(this),dq(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Vs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ne&&(this._tTime-=Ne)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&ra(o,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(ft(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var o=this.parent||this._dp;return o?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?u9(o.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=iq);var o=ct;return ct=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),ct=o,this},e.globalTime=function(n){for(var o=this,i=arguments.length?n:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,DS(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var o=this._time;return this._rDelay=n,DS(this),o?this.time(o):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,o){return this.totalTime(Rt(this,n),ft(o))},e.restart=function(n,o){return this.play().totalTime(n?-this._delay:0,ft(o))},e.play=function(n,o){return n!=null&&this.seek(n,o),this.reversed(!1).paused(!1)},e.reverse=function(n,o){return n!=null&&this.seek(n||this.totalDuration(),o),this.reversed(!0).paused(!1)},e.pause=function(n,o){return n!=null&&this.seek(n,o),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Ne:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ne,this},e.isActive=function(){var n=this.parent||this._dp,o=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=o&&i<this.endTime(!0)-Ne)},e.eventCallback=function(n,o,i){var c=this.vars;return arguments.length>1?(o?(c[n]=o,i&&(c[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=o)):delete c[n],this):c[n]},e.then=function(n){var o=this;return new Promise(function(i){var c=$e(n)?n:HI,l=function(){var h=o.then;o.then=null,$e(c)&&(c=c(o))&&(c.then||c===o)&&(o.then=h),i(c),o.then=h};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?l():o._prom=l})},e.kill=function(){ic(this)},t}();Ht(Hc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ne,_prom:0,_ps:!1,_rts:1});var ut=function(t){II(e,t);function e(n,o){var i;return n===void 0&&(n={}),i=t.call(this,n)||this,i.labels={},i.smoothChildTiming=!!n.smoothChildTiming,i.autoRemoveChildren=!!n.autoRemoveChildren,i._sort=ft(n.sortChildren),Oe&&ra(n.parent||Oe,ga(i),o),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&UI(ga(i),n.scrollTrigger),i}var r=e.prototype;return r.to=function(o,i,c){return _c(0,arguments,this),this},r.from=function(o,i,c){return _c(1,arguments,this),this},r.fromTo=function(o,i,c,l){return _c(2,arguments,this),this},r.set=function(o,i,c){return i.duration=0,i.parent=this,Pc(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Je(o,i,Rt(this,c),1),this},r.call=function(o,i,c){return ra(this,Je.delayedCall(0,o,i),c)},r.staggerTo=function(o,i,c,l,d,h,u){return c.duration=i,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Je(o,c,Rt(this,d)),this},r.staggerFrom=function(o,i,c,l,d,h,u){return c.runBackwards=1,Pc(c).immediateRender=ft(c.immediateRender),this.staggerTo(o,i,c,l,d,h,u)},r.staggerFromTo=function(o,i,c,l,d,h,u,p){return l.startAt=c,Pc(l).immediateRender=ft(l.immediateRender),this.staggerTo(o,i,l,d,h,u,p)},r.render=function(o,i,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=o<=0?0:et(o),p=this._zTime<0!=o<0&&(this._initted||!h),y,f,k,m,x,v,w,b,M,C,N,L;if(this!==Oe&&u>d&&o>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,o+=this._time-l),y=u,M=this._start,b=this._ts,v=!b,p&&(h||(l=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(N=this._yoyo,x=h+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(x*100+o,i,c);if(y=et(u%x),u===d?(m=this._repeat,y=h):(m=~~(u/x),m&&m===u/x&&(y=h,m--),y>h&&(y=h)),C=Os(this._tTime,x),!l&&this._tTime&&C!==m&&this._tTime-C*x-this._dur<=0&&(C=m),N&&m&1&&(y=h-y,L=1),m!==C&&!this._lock){var A=N&&C&1,I=A===(N&&m&1);if(m<C&&(A=!A),l=A?0:u%h?h:u,this._lock=1,this.render(l||(L?0:et(m*x)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&St(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1),l&&l!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,I&&(this._lock=2,l=A?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;oN(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=yq(this,et(l),et(y)),w&&(u-=y-(y=w._start))),this._tTime=u,this._time=y,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,l=0),!l&&y&&!i&&!m&&(St(this,"onStart"),this._tTime!==u))return this;if(y>=l&&o>=0)for(f=this._first;f;){if(k=f._next,(f._act||y>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(y-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(y-f._start)*f._ts,i,c),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=-Ne);break}}f=k}else{f=this._last;for(var q=o<0?o:y;f;){if(k=f._prev,(f._act||q<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(q-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(q-f._start)*f._ts,i,c||ct&&(f._initted||f._startAt)),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=q?-Ne:Ne);break}}f=k}}if(w&&!i&&(this.pause(),w.render(y>=l?0:-Ne)._zTime=y>=l?1:-1,this._ts))return this._start=M,N9(this),this.render(o,i,c);this._onUpdate&&!i&&St(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(M===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((o||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&Ka(this,1),!i&&!(o<0&&!l)&&(u||l||!d)&&(St(this,u===d&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(o,i){var c=this;if(Ia(i)||(i=Rt(this,i,o)),!(o instanceof Hc)){if(lt(o))return o.forEach(function(l){return c.add(l,i)}),this;if(at(o))return this.addLabel(o,i);if($e(o))o=Je.delayedCall(0,o);else return this}return this!==o?ra(this,o,i):this},r.getChildren=function(o,i,c,l){o===void 0&&(o=!0),i===void 0&&(i=!0),c===void 0&&(c=!0),l===void 0&&(l=-Dt);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Je?i&&d.push(h):(c&&d.push(h),o&&d.push.apply(d,h.getChildren(!0,i,c)))),h=h._next;return d},r.getById=function(o){for(var i=this.getChildren(1,1,1),c=i.length;c--;)if(i[c].vars.id===o)return i[c]},r.remove=function(o){return at(o)?this.removeLabel(o):$e(o)?this.killTweensOf(o):(I9(this,o),o===this._recent&&(this._recent=this._last),Wi(this))},r.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=et(jt.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),t.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},r.addLabel=function(o,i){return this.labels[o]=Rt(this,i),this},r.removeLabel=function(o){return delete this.labels[o],this},r.addPause=function(o,i,c){var l=Je.delayedCall(0,i||Fc,c);return l.data="isPause",this._hasPause=1,ra(this,l,Rt(this,o))},r.removePause=function(o){var i=this._first;for(o=Rt(this,o);i;)i._start===o&&i.data==="isPause"&&Ka(i),i=i._next},r.killTweensOf=function(o,i,c){for(var l=this.getTweensOf(o,c),d=l.length;d--;)Ba!==l[d]&&l[d].kill(o,i);return this},r.getTweensOf=function(o,i){for(var c=[],l=zt(o),d=this._first,h=Ia(i),u;d;)d instanceof Je?sq(d._targets,l)&&(h?(!Ba||d._initted&&d._ts)&&d.globalTime(0)<=i&&d.globalTime(d.totalDuration())>i:!i||d.isActive())&&c.push(d):(u=d.getTweensOf(l,i)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(o,i){i=i||{};var c=this,l=Rt(c,o),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,y=d.immediateRender,f,k=Je.to(c,Ht({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||Ne,onStart:function(){if(c.pause(),!f){var x=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==x&&Hs(k,x,0,1).render(k._time,!0,!0),f=1}u&&u.apply(k,p||[])}},i));return y?k.render(0):k},r.tweenFromTo=function(o,i,c){return this.tweenTo(i,Ht({startAt:{time:Rt(this,o)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(o){return o===void 0&&(o=this._time),zS(this,Rt(this,o))},r.previousLabel=function(o){return o===void 0&&(o=this._time),zS(this,Rt(this,o),1)},r.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+Ne)},r.shiftChildren=function(o,i,c){c===void 0&&(c=0);for(var l=this._first,d=this.labels,h;l;)l._start>=c&&(l._start+=o,l._end+=o),l=l._next;if(i)for(h in d)d[h]>=c&&(d[h]+=o);return Wi(this)},r.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return t.prototype.invalidate.call(this,o)},r.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,c;i;)c=i._next,this.remove(i),i=c;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),Wi(this)},r.totalDuration=function(o){var i=0,c=this,l=c._last,d=Dt,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-o:o));if(c._dirty){for(p=c.parent;l;)h=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>d&&c._sort&&l._ts&&!c._lock?(c._lock=1,ra(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(i-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=u/c._ts,c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>i&&l._ts&&(i=l._end),l=h;Hs(c,c===Oe&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(o){if(Oe._ts&&(EI(Oe,u9(o,Oe)),zI=jt.frame),jt.frame>=RS){RS+=Lt.autoSleep||120;var i=Oe._first;if((!i||!i._ts)&&Lt.autoSleep&&jt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||jt.sleep()}}},e}(Hc);Ht(ut.prototype,{_lock:0,_hasPause:0,_forcing:0});var Aq=function(e,r,n,o,i,c,l){var d=new kt(this._pt,e,r,0,1,pN,null,i),h=0,u=0,p,y,f,k,m,x,v,w;for(d.b=n,d.e=o,n+="",o+="",(v=~o.indexOf("random("))&&(o=Ec(o)),c&&(w=[n,o],c(w,e,r),n=w[0],o=w[1]),y=n.match(nC)||[];p=nC.exec(o);)k=p[0],m=o.substring(h,p.index),f?f=(f+1)%5:m.substr(-5)==="rgba("&&(f=1),k!==y[u++]&&(x=parseFloat(y[u-1])||0,d._pt={_next:d._pt,p:m||u===1?m:",",s:x,c:k.charAt(1)==="="?_s(x,k)-x:parseFloat(k)-x,m:f&&f<4?Math.round:0},h=nC.lastIndex);return d.c=h<o.length?o.substring(h,o.length):"",d.fp=l,(_I.test(o)||v)&&(d.e=0),this._pt=d,d},Cj=function(e,r,n,o,i,c,l,d,h,u){$e(o)&&(o=o(i||0,e,c));var p=e[r],y=n!=="get"?n:$e(p)?h?e[r.indexOf("set")||!$e(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,f=$e(p)?h?qq:hN:Sj,k;if(at(o)&&(~o.indexOf("random(")&&(o=Ec(o)),o.charAt(1)==="="&&(k=_s(y,o)+(st(y)||0),(k||k===0)&&(o=k))),!u||y!==o||$C)return!isNaN(y*o)&&o!==""?(k=new kt(this._pt,e,r,+y||0,o-(y||0),typeof p=="boolean"?zq:uN,0,f),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&vj(r,o),Aq.call(this,e,r,y,o,f,d||Lt.stringFilter,h))},Pq=function(e,r,n,o,i){if($e(e)&&(e=Rc(e,i,r,n,o)),!ha(e)||e.style&&e.nodeType||lt(e)||AI(e))return at(e)?Rc(e,i,r,n,o):e;var c={},l;for(l in e)c[l]=Rc(e[l],i,r,n,o);return c},cN=function(e,r,n,o,i,c){var l,d,h,u;if(Mt[e]&&(l=new Mt[e]).init(i,l.rawVars?r[e]:Pq(r[e],o,i,c,n),n,o,c)!==!1&&(n._pt=d=new kt(n._pt,i,e,0,1,l.render,l,0,l.priority),n!==ms))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ba,$C,jj=function t(e,r,n){var o=e.vars,i=o.ease,c=o.startAt,l=o.immediateRender,d=o.lazy,h=o.onUpdate,u=o.runBackwards,p=o.yoyoEase,y=o.keyframes,f=o.autoRevert,k=e._dur,m=e._startAt,x=e._targets,v=e.parent,w=v&&v.data==="nested"?v.vars.targets:x,b=e._overwrite==="auto"&&!fj,M=e.timeline,C,N,L,A,I,q,P,_,T,G,W,B,H;if(M&&(!y||!i)&&(i="none"),e._ease=Zi(i,Es.ease),e._yEase=p?nN(Zi(p===!0?i:p,Es.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!M&&!!o.runBackwards,!M||y&&!o.stagger){if(_=x[0]?Gi(x[0]).harness:0,B=_&&o[_.prop],C=h9(o,wj),m&&(m._zTime<0&&m.progress(1),r<0&&u&&l&&!f?m.render(-1,!0):m.revert(u&&k?t9:oq),m._lazy=0),c){if(Ka(e._startAt=Je.set(x,Ht({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!m&&ft(d),startAt:null,delay:0,onUpdate:h&&function(){return St(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ct||!l&&!f)&&e._startAt.revert(t9),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!m){if(r&&(l=!1),L=Ht({overwrite:!1,data:"isFromStart",lazy:l&&!m&&ft(d),immediateRender:l,stagger:0,parent:v},C),B&&(L[_.prop]=B),Ka(e._startAt=Je.set(x,L)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ct?e._startAt.revert(t9):e._startAt.render(-1,!0)),e._zTime=r,!l)t(e._startAt,Ne,Ne);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&ft(d)||d&&!k,N=0;N<x.length;N++){if(I=x[N],P=I._gsap||bj(x)[N]._gsap,e._ptLookup[N]=G={},EC[P.id]&&Xa.length&&d9(),W=w===x?N:w.indexOf(I),_&&(T=new _).init(I,B||C,e,W,w)!==!1&&(e._pt=A=new kt(e._pt,I,T.name,0,1,T.render,T,0,T.priority),T._props.forEach(function(O){G[O]=A}),T.priority&&(q=1)),!_||B)for(L in C)Mt[L]&&(T=cN(L,C,e,W,I,w))?T.priority&&(q=1):G[L]=A=Cj.call(e,I,L,"get",C[L],W,w,0,o.stringFilter);e._op&&e._op[N]&&e.kill(I,e._op[N]),b&&e._pt&&(Ba=e,Oe.killTweensOf(I,G,e.globalTime(r)),H=!e.parent,Ba=0),e._pt&&d&&(EC[P.id]=1)}q&&yN(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!H,y&&r<=0&&M.render(Dt,!0,!0)},_q=function(e,r,n,o,i,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,y,f;if(!h)for(h=e._ptCache[r]=[],y=e._ptLookup,f=e._targets.length;f--;){if(u=y[f][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return $C=1,e.vars[r]="+=0",jj(e,l),$C=0,d?zc(r+" not eligible for reset"):1;h.push(u)}for(f=h.length;f--;)p=h[f],u=p._pt||p,u.s=(o||o===0)&&!i?o:u.s+(o||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Ge(n)+st(p.e)),p.b&&(p.b=u.s+st(p.b))},Rq=function(e,r){var n=e[0]?Gi(e[0]).harness:0,o=n&&n.aliases,i,c,l,d;if(!o)return r;i=Ji({},r);for(c in o)if(c in i)for(d=o[c].split(","),l=d.length;l--;)i[d[l]]=i[c];return i},Tq=function(e,r,n,o){var i=r.ease||o||"power1.inOut",c,l;if(lt(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:i})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:i})},Rc=function(e,r,n,o,i){return $e(e)?e.call(r,n,o,i):at(e)&&~e.indexOf("random(")?Ec(e):e},lN=Mj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",dN={};xt(lN+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return dN[t]=1});var Je=function(t){II(e,t);function e(n,o,i,c){var l;typeof o=="number"&&(i.duration=o,o=i,i=null),l=t.call(this,c?o:Pc(o))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,y=d.stagger,f=d.overwrite,k=d.keyframes,m=d.defaults,x=d.scrollTrigger,v=d.yoyoEase,w=o.parent||Oe,b=(lt(n)||AI(n)?Ia(n[0]):"length"in o)?[n]:zt(n),M,C,N,L,A,I,q,P;if(l._targets=b.length?bj(b):zc("GSAP target "+n+" not found. https://gsap.com",!Lt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=f,k||y||t1(h)||t1(u)){if(o=l.vars,M=l.timeline=new ut({data:"nested",defaults:m||{},targets:w&&w.data==="nested"?w.vars.targets:b}),M.kill(),M.parent=M._dp=ga(l),M._start=0,y||t1(h)||t1(u)){if(L=b.length,q=y&&ZI(y),ha(y))for(A in y)~lN.indexOf(A)&&(P||(P={}),P[A]=y[A]);for(C=0;C<L;C++)N=h9(o,dN),N.stagger=0,v&&(N.yoyoEase=v),P&&Ji(N,P),I=b[C],N.duration=+Rc(h,ga(l),C,I,b),N.delay=(+Rc(u,ga(l),C,I,b)||0)-l._delay,!y&&L===1&&N.delay&&(l._delay=u=N.delay,l._start+=u,N.delay=0),M.to(I,N,q?q(C,I,b):0),M._ease=fe.none;M.duration()?h=u=0:l.timeline=0}else if(k){Pc(Ht(M.vars.defaults,{ease:"none"})),M._ease=Zi(k.ease||o.ease||"none");var _=0,T,G,W;if(lt(k))k.forEach(function(B){return M.to(b,B,">")}),M.duration();else{N={};for(A in k)A==="ease"||A==="easeEach"||Tq(A,k[A],N,k.easeEach);for(A in N)for(T=N[A].sort(function(B,H){return B.t-H.t}),_=0,C=0;C<T.length;C++)G=T[C],W={ease:G.e,duration:(G.t-(C?T[C-1].t:0))/100*h},W[A]=G.v,M.to(b,W,_),_+=W.duration;M.duration()<h&&M.to({},{duration:h-M.duration()})}}h||l.duration(h=M.duration())}else l.timeline=0;return f===!0&&!fj&&(Ba=ga(l),Oe.killTweensOf(b),Ba=0),ra(w,ga(l),i),o.reversed&&l.reverse(),o.paused&&l.paused(!0),(p||!h&&!k&&l._start===et(w._time)&&ft(p)&&hq(ga(l))&&w.data!=="nested")&&(l._tTime=-Ne,l.render(Math.max(0,-u)||0)),x&&UI(ga(l),x),l}var r=e.prototype;return r.render=function(o,i,c){var l=this._time,d=this._tDur,h=this._dur,u=o<0,p=o>d-Ne&&!u?d:o<Ne?0:o,y,f,k,m,x,v,w,b,M;if(!h)pq(this,o,i,c);else if(p!==this._tTime||!o||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(y=p,b=this.timeline,this._repeat){if(m=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(m*100+o,i,c);if(y=et(p%m),p===d?(k=this._repeat,y=h):(k=~~(p/m),k&&k===et(p/m)&&(y=h,k--),y>h&&(y=h)),v=this._yoyo&&k&1,v&&(M=this._yEase,y=h-y),x=Os(this._tTime,m),y===l&&!c&&this._initted&&k===x)return this._tTime=p,this;k!==x&&(b&&this._yEase&&oN(b,v),this.vars.repeatRefresh&&!v&&!this._lock&&this._time!==m&&this._initted&&(this._lock=c=1,this.render(et(m*k),!0).invalidate()._lock=0))}if(!this._initted){if($I(this,u?o:y,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==x))return this;if(h!==this._dur)return this.render(o,i,c)}if(this._tTime=p,this._time=y,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(M||this._ease)(y/h),this._from&&(this.ratio=w=1-w),y&&!l&&!i&&!k&&(St(this,"onStart"),this._tTime!==p))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;b&&b.render(o<0?o:b._dur*b._ease(y/this._dur),i,c)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&OC(this,o,i,c),St(this,"onUpdate")),this._repeat&&k!==x&&this.vars.onRepeat&&!i&&this.parent&&St(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&OC(this,o,!0,!0),(o||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Ka(this,1),!i&&!(u&&!l)&&(p||l||v)&&(St(this,p===d?"onComplete":"onReverseComplete",!0),this._prom&&!(p<d&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),t.prototype.invalidate.call(this,o)},r.resetTo=function(o,i,c,l,d){Oc||jt.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||jj(this,h),u=this._ease(h/this._dur),_q(this,o,i,c,l,u,h,d)?this.resetTo(o,i,c,l,1):(A9(this,0),this.parent||VI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?ic(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Ba&&Ba.vars.overwrite!==!0)._first||ic(this),this.parent&&c!==this.timeline.totalDuration()&&Hs(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=o?zt(o):l,h=this._ptLookup,u=this._pt,p,y,f,k,m,x,v;if((!i||i==="all")&&lq(l,d))return i==="all"&&(this._pt=0),ic(this);for(p=this._op=this._op||[],i!=="all"&&(at(i)&&(m={},xt(i,function(w){return m[w]=1}),i=m),i=Rq(l,i)),v=l.length;v--;)if(~d.indexOf(l[v])){y=h[v],i==="all"?(p[v]=i,k=y,f={}):(f=p[v]=p[v]||{},k=i);for(m in k)x=y&&y[m],x&&((!("kill"in x.d)||x.d.kill(m)===!0)&&I9(this,x,"_pt"),delete y[m]),f!=="all"&&(f[m]=1)}return this._initted&&!this._pt&&u&&ic(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return _c(1,arguments)},e.delayedCall=function(o,i,c,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(o,i,c){return _c(2,arguments)},e.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(o,i)},e.killTweensOf=function(o,i,c){return Oe.killTweensOf(o,i,c)},e}(Hc);Ht(Je.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});xt("staggerTo,staggerFrom,staggerFromTo",function(t){Je[t]=function(){var e=new ut,r=VC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var Sj=function(e,r,n){return e[r]=n},hN=function(e,r,n){return e[r](n)},qq=function(e,r,n,o){return e[r](o.fp,n)},Dq=function(e,r,n){return e.setAttribute(r,n)},Lj=function(e,r){return $e(e[r])?hN:xj(e[r])&&e.setAttribute?Dq:Sj},uN=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},zq=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},pN=function(e,r){var n=r._pt,o="";if(!e&&r.b)o=r.b;else if(e===1&&r.e)o=r.e;else{for(;n;)o=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+o,n=n._next;o+=r.c}r.set(r.t,r.p,o,r)},Ij=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},Fq=function(e,r,n,o){for(var i=this._pt,c;i;)c=i._next,i.p===o&&i.modifier(e,r,n),i=c},Eq=function(e){for(var r=this._pt,n,o;r;)o=r._next,r.p===e&&!r.op||r.op===e?I9(this,r,"_pt"):r.dep||(n=1),r=o;return!n},Oq=function(e,r,n,o){o.mSet(e,r,o.m.call(o.tween,n,o.mt),o)},yN=function(e){for(var r=e._pt,n,o,i,c;r;){for(n=r._next,o=i;o&&o.pr>r.pr;)o=o._next;(r._prev=o?o._prev:c)?r._prev._next=r:i=r,(r._next=o)?o._prev=r:c=r,r=n}e._pt=i},kt=function(){function t(r,n,o,i,c,l,d,h,u){this.t=n,this.s=i,this.c=c,this.p=o,this.r=l||uN,this.d=d||this,this.set=h||Sj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=t.prototype;return e.modifier=function(n,o,i){this.mSet=this.mSet||this.set,this.set=Oq,this.m=n,this.mt=i,this.tween=o},t}();xt(Mj+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return wj[t]=1});Nt.TweenMax=Nt.TweenLite=Je;Nt.TimelineLite=Nt.TimelineMax=ut;Oe=new ut({sortChildren:!1,defaults:Es,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Lt.stringFilter=rN;var Xi=[],r9={},Hq=[],ES=0,Vq=0,lC=function(e){return(r9[e]||Hq).map(function(r){return r()})},GC=function(){var e=Date.now(),r=[];e-ES>2&&(lC("matchMediaInit"),Xi.forEach(function(n){var o=n.queries,i=n.conditions,c,l,d,h;for(l in o)c=ta.matchMedia(o[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),lC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(o){return n.add(null,o)})}),ES=e,lC("matchMedia"))},mN=function(){function t(r,n){this.selector=n&&BC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Vq++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,o,i){$e(n)&&(i=o,o=n,n=$e);var c=this,l=function(){var h=Ee,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=BC(i)),Ee=c,p=o.apply(c,arguments),$e(p)&&c._r.push(p),Ee=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===$e?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var o=Ee;Ee=null,n(this),Ee=o},e.getTweens=function(){var n=[];return this.data.forEach(function(o){return o instanceof t?n.push.apply(n,o.getTweens()):o instanceof Je&&!(o.parent&&o.parent.data==="nested")&&n.push(o)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,o){var i=this;if(n?function(){for(var l=i.getTweens(),d=i.data.length,h;d--;)h=i.data[d],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,p){return p.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),d=i.data.length;d--;)h=i.data[d],h instanceof ut?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Je)&&h.revert&&h.revert(n);i._r.forEach(function(u){return u(n,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),o)for(var c=Xi.length;c--;)Xi[c].id===this.id&&Xi.splice(c,1)},e.revert=function(n){this.kill(n||{})},t}(),Bq=function(){function t(r){this.contexts=[],this.scope=r,Ee&&Ee.data.push(this)}var e=t.prototype;return e.add=function(n,o,i){ha(n)||(n={matches:n});var c=new mN(0,i||this.scope),l=c.conditions={},d,h,u;Ee&&!c.selector&&(c.selector=Ee.selector),this.contexts.push(c),o=c.add("onMatch",o),c.queries=n;for(h in n)h==="all"?u=1:(d=ta.matchMedia(n[h]),d&&(Xi.indexOf(c)<0&&Xi.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(GC):d.addEventListener("change",GC)));return u&&o(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(o){return o.kill(n,!0)})},t}(),p9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(o){return eN(o)})},timeline:function(e){return new ut(e)},getTweensOf:function(e,r){return Oe.getTweensOf(e,r)},getProperty:function(e,r,n,o){at(e)&&(e=zt(e)[0]);var i=Gi(e||{}).get,c=n?HI:OI;return n==="native"&&(n=""),e&&(r?c((Mt[r]&&Mt[r].get||i)(e,r,n,o)):function(l,d,h){return c((Mt[l]&&Mt[l].get||i)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=zt(e),e.length>1){var o=e.map(function(u){return vt.quickSetter(u,r,n)}),i=o.length;return function(u){for(var p=i;p--;)o[p](u)}}e=e[0]||{};var c=Mt[r],l=Gi(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;ms._pt=0,p.init(e,n?u+n:u,ms,0,[e]),p.render(1,p),ms._pt&&Ij(1,ms)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var o,i=vt.to(e,Ji((o={},o[r]="+=0.1",o.paused=!0,o),n||{})),c=function(d,h,u){return i.resetTo(r,d,h,u)};return c.tween=i,c},isTweening:function(e){return Oe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Zi(e.ease,Es.ease)),TS(Es,e||{})},config:function(e){return TS(Lt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,o=e.plugins,i=e.defaults,c=e.extendTimeline;(o||"").split(",").forEach(function(l){return l&&!Mt[l]&&!Nt[l]&&zc(r+" effect requires "+l+" plugin.")}),oC[r]=function(l,d,h){return n(zt(l),Ht(d||{},i),h)},c&&(ut.prototype[r]=function(l,d,h){return this.add(oC[r](l,ha(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){fe[e]=Zi(r)},parseEase:function(e,r){return arguments.length?Zi(e,r):fe},getById:function(e){return Oe.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ut(e),o,i;for(n.smoothChildTiming=ft(e.smoothChildTiming),Oe.remove(n),n._dp=0,n._time=n._tTime=Oe._time,o=Oe._first;o;)i=o._next,(r||!(!o._dur&&o instanceof Je&&o.vars.onComplete===o._targets[0]))&&ra(n,o,o._start-o._delay),o=i;return ra(Oe,n,0),n},context:function(e,r){return e?new mN(e,r):Ee},matchMedia:function(e){return new Bq(e)},matchMediaRefresh:function(){return Xi.forEach(function(e){var r=e.conditions,n,o;for(o in r)r[o]&&(r[o]=!1,n=1);n&&e.revert()})||GC()},addEventListener:function(e,r){var n=r9[e]||(r9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=r9[e],o=n&&n.indexOf(r);o>=0&&n.splice(o,1)},utils:{wrap:wq,wrapYoyo:Mq,distribute:ZI,random:JI,snap:XI,normalize:vq,getUnit:st,clamp:fq,splitColor:tN,toArray:zt,selector:BC,mapRange:KI,pipe:kq,unitize:gq,interpolate:bq,shuffle:WI},install:qI,effects:oC,ticker:jt,updateRoot:ut.updateRoot,plugins:Mt,globalTimeline:Oe,core:{PropTween:kt,globals:DI,Tween:Je,Timeline:ut,Animation:Hc,getCache:Gi,_removeLinkedListItem:I9,reverting:function(){return ct},context:function(e){return e&&Ee&&(Ee.data.push(e),e._ctx=Ee),Ee},suppressOverwrites:function(e){return fj=e}}};xt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return p9[t]=Je[t]});jt.add(ut.updateRoot);ms=p9.to({},{duration:0});var Uq=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},$q=function(e,r){var n=e._targets,o,i,c;for(o in r)for(i=n.length;i--;)c=e._ptLookup[i][o],c&&(c=c.d)&&(c._pt&&(c=Uq(c,o)),c&&c.modifier&&c.modifier(r[o],e,n[i],o))},dC=function(e,r){return{name:e,rawVars:1,init:function(o,i,c){c._onInit=function(l){var d,h;if(at(i)&&(d={},xt(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}$q(l,i)}}}},vt=p9.registerPlugin({name:"attr",init:function(e,r,n,o,i){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],o,i,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)ct?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},dC("roundProps",UC),dC("modifiers"),dC("snap",XI))||p9;Je.version=ut.version=vt.version="3.12.5";TI=1;kj()&&Vs();fe.Power0;fe.Power1;fe.Power2;fe.Power3;fe.Power4;fe.Linear;fe.Quad;fe.Cubic;fe.Quart;fe.Quint;fe.Strong;fe.Elastic;fe.Back;fe.SteppedEase;fe.Bounce;fe.Sine;fe.Expo;fe.Circ;/*!
|
|
7733
|
+
*/var Lt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Es={duration:.5,overwrite:!1,delay:0},fj,ct,Ee,Dt=1e8,Ne=1/Dt,DC=Math.PI*2,eq=DC/4,tq=0,NI=Math.sqrt,aq=Math.cos,rq=Math.sin,at=function(e){return typeof e=="string"},$e=function(e){return typeof e=="function"},Ia=function(e){return typeof e=="number"},xj=function(e){return typeof e>"u"},ha=function(e){return typeof e=="object"},ft=function(e){return e!==!1},kj=function(){return typeof window<"u"},t1=function(e){return $e(e)||at(e)},AI=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},lt=Array.isArray,zC=/(?:-?\.?\d|\.)+/gi,PI=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ys=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,nC=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_I=/[+-]=-?[.\d]+/,RI=/[^,'"\[\]\s]+/gi,nq=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Oe,ta,FC,gj,Nt={},l9={},TI,qI=function(e){return(l9=Ji(e,Nt))&&vt},vj=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},zc=function(e,r){return!r&&console.warn(e)},DI=function(e,r){return e&&(Nt[e]=r)&&l9&&(l9[e]=r)||Nt},Fc=function(){return 0},oq={suppressEvents:!0,isStart:!0,kill:!1},t9={suppressEvents:!0,kill:!1},iq={suppressEvents:!0},wj={},Xa=[],EC={},zI,Mt={},oC={},RS=30,a9=[],Mj="",bj=function(e){var r=e[0],n,o;if(ha(r)||$e(r)||(e=[e]),!(n=(r._gsap||{}).harness)){for(o=a9.length;o--&&!a9[o].targetTest(r););n=a9[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new sN(e[o],n)))||e.splice(o,1);return e},Gi=function(e){return e._gsap||bj(zt(e))[0]._gsap},FI=function(e,r,n){return(n=e[r])&&$e(n)?e[r]():xj(n)&&e.getAttribute&&e.getAttribute(r)||n},xt=function(e,r){return(e=e.split(",")).forEach(r)||e},Ge=function(e){return Math.round(e*1e5)/1e5||0},et=function(e){return Math.round(e*1e7)/1e7||0},_s=function(e,r){var n=r.charAt(0),o=parseFloat(r.substr(2));return e=parseFloat(e),n==="+"?e+o:n==="-"?e-o:n==="*"?e*o:e/o},sq=function(e,r){for(var n=r.length,o=0;e.indexOf(r[o])<0&&++o<n;);return o<n},d9=function(){var e=Xa.length,r=Xa.slice(0),n,o;for(EC={},Xa.length=0,n=0;n<e;n++)o=r[n],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},EI=function(e,r,n,o){Xa.length&&!ct&&d9(),e.render(r,n,ct&&r<0&&(e._initted||e._startAt)),Xa.length&&!ct&&d9()},OI=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(RI).length<2?r:at(e)?e.trim():e},HI=function(e){return e},Ht=function(e,r){for(var n in r)n in e||(e[n]=r[n]);return e},cq=function(e){return function(r,n){for(var o in n)o in r||o==="duration"&&e||o==="ease"||(r[o]=n[o])}},Ji=function(e,r){for(var n in r)e[n]=r[n];return e},TS=function t(e,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(e[n]=ha(r[n])?t(e[n]||(e[n]={}),r[n]):r[n]);return e},h9=function(e,r){var n={},o;for(o in e)o in r||(n[o]=e[o]);return n},Pc=function(e){var r=e.parent||Oe,n=e.keyframes?cq(lt(e.keyframes)):Ht;if(ft(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},lq=function(e,r){for(var n=e.length,o=n===r.length;o&&n--&&e[n]===r[n];);return n<0},VI=function(e,r,n,o,i){var c=e[o],l;if(i)for(l=r[i];c&&c[i]>l;)c=c._prev;return c?(r._next=c._next,c._next=r):(r._next=e[n],e[n]=r),r._next?r._next._prev=r:e[o]=r,r._prev=c,r.parent=r._dp=e,r},I9=function(e,r,n,o){n===void 0&&(n="_first"),o===void 0&&(o="_last");var i=r._prev,c=r._next;i?i._next=c:e[n]===r&&(e[n]=c),c?c._prev=i:e[o]===r&&(e[o]=i),r._next=r._prev=r.parent=null},Ka=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Wi=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},dq=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},OC=function(e,r,n,o){return e._startAt&&(ct?e._startAt.revert(t9):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,o))},hq=function t(e){return!e||e._ts&&t(e.parent)},qS=function(e){return e._repeat?Os(e._tTime,e=e.duration()+e._rDelay)*e:0},Os=function(e,r){var n=Math.floor(e/=r);return e&&n===e?n-1:n},u9=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},N9=function(e){return e._end=et(e._start+(e._tDur/Math.abs(e._ts||e._rts||Ne)||0))},A9=function(e,r){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=et(n._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),N9(e),n._dirty||Wi(n,e)),e},BI=function(e,r){var n;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(n=u9(e.rawTime(),r),(!r._dur||Xc(0,r.totalDuration(),n)-r._tTime>Ne)&&r.render(n,!0)),Wi(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-Ne}},ra=function(e,r,n,o){return r.parent&&Ka(r),r._start=et((Ia(n)?n:n||e!==Oe?Rt(e,n,r):e._time)+r._delay),r._end=et(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),VI(e,r,"_first","_last",e._sort?"_start":0),HC(r)||(e._recent=r),o||BI(e,r),e._ts<0&&A9(e,e._tTime),e},UI=function(e,r){return(Nt.ScrollTrigger||vj("scrollTrigger",r))&&Nt.ScrollTrigger.create(r,e)},$I=function(e,r,n,o,i){if(jj(e,r,i),!e._initted)return 1;if(!n&&e._pt&&!ct&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&zI!==jt.frame)return Xa.push(e),e._lazy=[i,o],1},uq=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},HC=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},pq=function(e,r,n,o){var i=e.ratio,c=r<0||!r&&(!e._start&&uq(e)&&!(!e._initted&&HC(e))||(e._ts<0||e._dp._ts<0)&&!HC(e))?0:1,l=e._rDelay,d=0,h,u,p;if(l&&e._repeat&&(d=Xc(0,e._tDur,r),u=Os(d,l),e._yoyo&&u&1&&(c=1-c),u!==Os(e._tTime,l)&&(i=1-c,e.vars.repeatRefresh&&e._initted&&e.invalidate())),c!==i||ct||o||e._zTime===Ne||!r&&e._zTime){if(!e._initted&&$I(e,r,o,n,d))return;for(p=e._zTime,e._zTime=r||(n?Ne:0),n||(n=r&&!p),e.ratio=c,e._from&&(c=1-c),e._time=0,e._tTime=d,h=e._pt;h;)h.r(c,h.d),h=h._next;r<0&&OC(e,r,n,!0),e._onUpdate&&!n&&St(e,"onUpdate"),d&&e._repeat&&!n&&e.parent&&St(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===c&&(c&&Ka(e,1),!n&&!ct&&(St(e,c?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},yq=function(e,r,n){var o;if(n>r)for(o=e._first;o&&o._start<=n;){if(o.data==="isPause"&&o._start>r)return o;o=o._next}else for(o=e._last;o&&o._start>=n;){if(o.data==="isPause"&&o._start<r)return o;o=o._prev}},Hs=function(e,r,n,o){var i=e._repeat,c=et(r)||0,l=e._tTime/e._tDur;return l&&!o&&(e._time*=c/e._dur),e._dur=c,e._tDur=i?i<0?1e10:et(c*(i+1)+e._rDelay*i):c,l>0&&!o&&A9(e,e._tTime=e._tDur*l),e.parent&&N9(e),n||Wi(e.parent,e),e},DS=function(e){return e instanceof ut?Wi(e):Hs(e,e._dur)},mq={_start:0,endTime:Fc,totalDuration:Fc},Rt=function t(e,r,n){var o=e.labels,i=e._recent||mq,c=e.duration()>=Dt?i.endTime(!1):e._dur,l,d,h;return at(r)&&(isNaN(r)||r in o)?(d=r.charAt(0),h=r.substr(-1)==="%",l=r.indexOf("="),d==="<"||d===">"?(l>=0&&(r=r.replace(/=/,"")),(d==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(l<0?i:n).totalDuration()/100:1)):l<0?(r in o||(o[r]=c),o[r]):(d=parseFloat(r.charAt(l-1)+r.substr(l+1)),h&&n&&(d=d/100*(lt(n)?n[0]:n).totalDuration()),l>1?t(e,r.substr(0,l-1),n)+d:c+d)):r==null?c:+r},_c=function(e,r,n){var o=Ia(r[1]),i=(o?2:1)+(e<2?0:1),c=r[i],l,d;if(o&&(c.duration=r[1]),c.parent=n,e){for(l=c,d=n;d&&!("immediateRender"in l);)l=d.vars.defaults||{},d=ft(d.vars.inherit)&&d.parent;c.immediateRender=ft(l.immediateRender),e<2?c.runBackwards=1:c.startAt=r[i-1]}return new Je(r[0],c,r[i+1])},rr=function(e,r){return e||e===0?r(e):r},Xc=function(e,r,n){return n<e?e:n>r?r:n},st=function(e,r){return!at(e)||!(r=nq.exec(e))?"":r[1]},fq=function(e,r,n){return rr(n,function(o){return Xc(e,r,o)})},VC=[].slice,GI=function(e,r){return e&&ha(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&ha(e[0]))&&!e.nodeType&&e!==ta},xq=function(e,r,n){return n===void 0&&(n=[]),e.forEach(function(o){var i;return at(o)&&!r||GI(o,1)?(i=n).push.apply(i,zt(o)):n.push(o)})||n},zt=function(e,r,n){return Ee&&!r&&Ee.selector?Ee.selector(e):at(e)&&!n&&(FC||!Vs())?VC.call((r||gj).querySelectorAll(e),0):lt(e)?xq(e,n):GI(e)?VC.call(e,0):e?[e]:[]},BC=function(e){return e=zt(e)[0]||zc("Invalid scope")||{},function(r){var n=e.current||e.nativeElement||e;return zt(r,n.querySelectorAll?n:n===e?zc("Invalid scope")||gj.createElement("div"):e)}},WI=function(e){return e.sort(function(){return .5-Math.random()})},ZI=function(e){if($e(e))return e;var r=ha(e)?e:{each:e},n=Zi(r.ease),o=r.from||0,i=parseFloat(r.base)||0,c={},l=o>0&&o<1,d=isNaN(o)||l,h=r.axis,u=o,p=o;return at(o)?u=p={center:.5,edges:.5,end:1}[o]||0:!l&&d&&(u=o[0],p=o[1]),function(y,f,k){var m=(k||r).length,x=c[m],v,w,M,b,C,I,L,A,N;if(!x){if(N=r.grid==="auto"?0:(r.grid||[1,Dt])[1],!N){for(L=-Dt;L<(L=k[N++].getBoundingClientRect().left)&&N<m;);N<m&&N--}for(x=c[m]=[],v=d?Math.min(N,m)*u-.5:o%N,w=N===Dt?0:d?m*p/N-.5:o/N|0,L=0,A=Dt,I=0;I<m;I++)M=I%N-v,b=w-(I/N|0),x[I]=C=h?Math.abs(h==="y"?b:M):NI(M*M+b*b),C>L&&(L=C),C<A&&(A=C);o==="random"&&WI(x),x.max=L-A,x.min=A,x.v=m=(parseFloat(r.amount)||parseFloat(r.each)*(N>m?m-1:h?h==="y"?m/N:N:Math.max(N,m/N))||0)*(o==="edges"?-1:1),x.b=m<0?i-m:i,x.u=st(r.amount||r.each)||0,n=n&&m<0?nN(n):n}return m=(x[y]-x.min)/x.max||0,et(x.b+(n?n(m):m)*x.v)+x.u}},UC=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var o=et(Math.round(parseFloat(n)/e)*e*r);return(o-o%1)/r+(Ia(n)?0:st(n))}},XI=function(e,r){var n=lt(e),o,i;return!n&&ha(e)&&(o=n=e.radius||Dt,e.values?(e=zt(e.values),(i=!Ia(e[0]))&&(o*=o)):e=UC(e.increment)),rr(r,n?$e(e)?function(c){return i=e(c),Math.abs(i-c)<=o?i:c}:function(c){for(var l=parseFloat(i?c.x:c),d=parseFloat(i?c.y:0),h=Dt,u=0,p=e.length,y,f;p--;)i?(y=e[p].x-l,f=e[p].y-d,y=y*y+f*f):y=Math.abs(e[p]-l),y<h&&(h=y,u=p);return u=!o||h<=o?e[u]:c,i||u===c||Ia(c)?u:u+st(c)}:UC(e))},JI=function(e,r,n,o){return rr(lt(e)?!r:n===!0?!!(n=0):!o,function(){return lt(e)?e[~~(Math.random()*e.length)]:(n=n||1e-5)&&(o=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(r-e+n*.99))/n)*n*o)/o})},kq=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(o){return r.reduce(function(i,c){return c(i)},o)}},gq=function(e,r){return function(n){return e(parseFloat(n))+(r||st(n))}},vq=function(e,r,n){return KI(e,r,0,1,n)},YI=function(e,r,n){return rr(n,function(o){return e[~~r(o)]})},wq=function t(e,r,n){var o=r-e;return lt(e)?YI(e,t(0,e.length),r):rr(n,function(i){return(o+(i-e)%o)%o+e})},Mq=function t(e,r,n){var o=r-e,i=o*2;return lt(e)?YI(e,t(0,e.length-1),r):rr(n,function(c){return c=(i+(c-e)%i)%i||0,e+(c>o?i-c:c)})},Ec=function(e){for(var r=0,n="",o,i,c,l;~(o=e.indexOf("random(",r));)c=e.indexOf(")",o),l=e.charAt(o+7)==="[",i=e.substr(o+7,c-o-7).match(l?RI:zC),n+=e.substr(r,o-r)+JI(l?i:+i[0],l?0:+i[1],+i[2]||1e-5),r=c+1;return n+e.substr(r,e.length-r)},KI=function(e,r,n,o,i){var c=r-e,l=o-n;return rr(i,function(d){return n+((d-e)/c*l||0)})},bq=function t(e,r,n,o){var i=isNaN(e+r)?0:function(f){return(1-f)*e+f*r};if(!i){var c=at(e),l={},d,h,u,p,y;if(n===!0&&(o=1)&&(n=null),c)e={p:e},r={p:r};else if(lt(e)&&!lt(r)){for(u=[],p=e.length,y=p-2,h=1;h<p;h++)u.push(t(e[h-1],e[h]));p--,i=function(k){k*=p;var m=Math.min(y,~~k);return u[m](k-m)},n=r}else o||(e=Ji(lt(e)?[]:{},e));if(!u){for(d in r)Cj.call(l,e,d,"get",r[d]);i=function(k){return Ij(k,l)||(c?e.p:e)}}}return rr(n,i)},zS=function(e,r,n){var o=e.labels,i=Dt,c,l,d;for(c in o)l=o[c]-r,l<0==!!n&&l&&i>(l=Math.abs(l))&&(d=c,i=l);return d},St=function(e,r,n){var o=e.vars,i=o[r],c=Ee,l=e._ctx,d,h,u;if(i)return d=o[r+"Params"],h=o.callbackScope||e,n&&Xa.length&&d9(),l&&(Ee=l),u=d?i.apply(h,d):i.call(h),Ee=c,u},ic=function(e){return Ka(e),e.scrollTrigger&&e.scrollTrigger.kill(!!ct),e.progress()<1&&St(e,"onInterrupt"),e},ms,QI=[],eN=function(e){if(e)if(e=!e.name&&e.default||e,kj()||e.headless){var r=e.name,n=$e(e),o=r&&!n&&e.init?function(){this._props=[]}:e,i={init:Fc,render:Ij,add:Cj,kill:Eq,modifier:Fq,rawVars:0},c={targetTest:0,get:0,getSetter:Lj,aliases:{},register:0};if(Vs(),e!==o){if(Mt[r])return;Ht(o,Ht(h9(e,i),c)),Ji(o.prototype,Ji(i,h9(e,c))),Mt[o.prop=r]=o,e.targetTest&&(a9.push(o),wj[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}DI(r,o),e.register&&e.register(vt,o,kt)}else QI.push(e)},Le=255,sc={aqua:[0,Le,Le],lime:[0,Le,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Le],navy:[0,0,128],white:[Le,Le,Le],olive:[128,128,0],yellow:[Le,Le,0],orange:[Le,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Le,0,0],pink:[Le,192,203],cyan:[0,Le,Le],transparent:[Le,Le,Le,0]},iC=function(e,r,n){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(n-r)*e*6:e<.5?n:e*3<2?r+(n-r)*(2/3-e)*6:r)*Le+.5|0},tN=function(e,r,n){var o=e?Ia(e)?[e>>16,e>>8&Le,e&Le]:0:sc.black,i,c,l,d,h,u,p,y,f,k;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),sc[e])o=sc[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),c=e.charAt(2),l=e.charAt(3),e="#"+i+i+c+c+l+l+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return o=parseInt(e.substr(1,6),16),[o>>16,o>>8&Le,o&Le,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),o=[e>>16,e>>8&Le,e&Le]}else if(e.substr(0,3)==="hsl"){if(o=k=e.match(zC),!r)d=+o[0]%360/360,h=+o[1]/100,u=+o[2]/100,c=u<=.5?u*(h+1):u+h-u*h,i=u*2-c,o.length>3&&(o[3]*=1),o[0]=iC(d+1/3,i,c),o[1]=iC(d,i,c),o[2]=iC(d-1/3,i,c);else if(~e.indexOf("="))return o=e.match(PI),n&&o.length<4&&(o[3]=1),o}else o=e.match(zC)||sc.transparent;o=o.map(Number)}return r&&!k&&(i=o[0]/Le,c=o[1]/Le,l=o[2]/Le,p=Math.max(i,c,l),y=Math.min(i,c,l),u=(p+y)/2,p===y?d=h=0:(f=p-y,h=u>.5?f/(2-p-y):f/(p+y),d=p===i?(c-l)/f+(c<l?6:0):p===c?(l-i)/f+2:(i-c)/f+4,d*=60),o[0]=~~(d+.5),o[1]=~~(h*100+.5),o[2]=~~(u*100+.5)),n&&o.length<4&&(o[3]=1),o},aN=function(e){var r=[],n=[],o=-1;return e.split(Ja).forEach(function(i){var c=i.match(ys)||[];r.push.apply(r,c),n.push(o+=c.length+1)}),r.c=n,r},FS=function(e,r,n){var o="",i=(e+o).match(Ja),c=r?"hsla(":"rgba(",l=0,d,h,u,p;if(!i)return e;if(i=i.map(function(y){return(y=tN(y,r,1))&&c+(r?y[0]+","+y[1]+"%,"+y[2]+"%,"+y[3]:y.join(","))+")"}),n&&(u=aN(e),d=n.c,d.join(o)!==u.c.join(o)))for(h=e.replace(Ja,"1").split(ys),p=h.length-1;l<p;l++)o+=h[l]+(~d.indexOf(l)?i.shift()||c+"0,0,0,0)":(u.length?u:i.length?i:n).shift());if(!h)for(h=e.split(Ja),p=h.length-1;l<p;l++)o+=h[l]+i[l];return o+h[p]},Ja=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in sc)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Cq=/hsl[a]?\(/,rN=function(e){var r=e.join(" "),n;if(Ja.lastIndex=0,Ja.test(r))return n=Cq.test(r),e[1]=FS(e[1],n),e[0]=FS(e[0],n,aN(e[1])),!0},Oc,jt=function(){var t=Date.now,e=500,r=33,n=t(),o=n,i=1e3/240,c=i,l=[],d,h,u,p,y,f,k=function m(x){var v=t()-o,w=x===!0,M,b,C,I;if((v>e||v<0)&&(n+=v-r),o+=v,C=o-n,M=C-c,(M>0||w)&&(I=++p.frame,y=C-p.time*1e3,p.time=C=C/1e3,c+=M+(M>=i?4:i-M),b=1),w||(d=h(m)),b)for(f=0;f<l.length;f++)l[f](C,y,I,x)};return p={time:0,frame:0,tick:function(){k(!0)},deltaRatio:function(x){return y/(1e3/(x||60))},wake:function(){TI&&(!FC&&kj()&&(ta=FC=window,gj=ta.document||{},Nt.gsap=vt,(ta.gsapVersions||(ta.gsapVersions=[])).push(vt.version),qI(l9||ta.GreenSockGlobals||!ta.gsap&&ta||{}),QI.forEach(eN)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,d&&p.sleep(),h=u||function(x){return setTimeout(x,c-p.time*1e3+1|0)},Oc=1,k(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(d),Oc=0,h=Fc},lagSmoothing:function(x,v){e=x||1/0,r=Math.min(v||33,e)},fps:function(x){i=1e3/(x||240),c=p.time*1e3+i},add:function(x,v,w){var M=v?function(b,C,I,L){x(b,C,I,L),p.remove(M)}:x;return p.remove(x),l[w?"unshift":"push"](M),Vs(),M},remove:function(x,v){~(v=l.indexOf(x))&&l.splice(v,1)&&f>=v&&f--},_listeners:l},p}(),Vs=function(){return!Oc&&jt.wake()},xe={},jq=/^[\d.\-M][\d.\-,\s]/,Sq=/["']/g,Lq=function(e){for(var r={},n=e.substr(1,e.length-3).split(":"),o=n[0],i=1,c=n.length,l,d,h;i<c;i++)d=n[i],l=i!==c-1?d.lastIndexOf(","):d.length,h=d.substr(0,l),r[o]=isNaN(h)?h.replace(Sq,"").trim():+h,o=d.substr(l+1).trim();return r},Iq=function(e){var r=e.indexOf("(")+1,n=e.indexOf(")"),o=e.indexOf("(",r);return e.substring(r,~o&&o<n?e.indexOf(")",n+1):n)},Nq=function(e){var r=(e+"").split("("),n=xe[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[Lq(r[1])]:Iq(e).split(",").map(OI)):xe._CE&&jq.test(e)?xe._CE("",e):n},nN=function(e){return function(r){return 1-e(1-r)}},oN=function t(e,r){for(var n=e._first,o;n;)n instanceof ut?t(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?t(n.timeline,r):(o=n._ease,n._ease=n._yEase,n._yEase=o,n._yoyo=r)),n=n._next},Zi=function(e,r){return e&&($e(e)?e:xe[e]||Nq(e))||r},ns=function(e,r,n,o){n===void 0&&(n=function(d){return 1-r(1-d)}),o===void 0&&(o=function(d){return d<.5?r(d*2)/2:1-r((1-d)*2)/2});var i={easeIn:r,easeOut:n,easeInOut:o},c;return xt(e,function(l){xe[l]=Nt[l]=i,xe[c=l.toLowerCase()]=n;for(var d in i)xe[c+(d==="easeIn"?".in":d==="easeOut"?".out":".inOut")]=xe[l+"."+d]=i[d]}),i},iN=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},sC=function t(e,r,n){var o=r>=1?r:1,i=(n||(e?.3:.45))/(r<1?r:1),c=i/DC*(Math.asin(1/o)||0),l=function(u){return u===1?1:o*Math.pow(2,-10*u)*rq((u-c)*i)+1},d=e==="out"?l:e==="in"?function(h){return 1-l(1-h)}:iN(l);return i=DC/i,d.config=function(h,u){return t(e,h,u)},d},cC=function t(e,r){r===void 0&&(r=1.70158);var n=function(c){return c?--c*c*((r+1)*c+r)+1:0},o=e==="out"?n:e==="in"?function(i){return 1-n(1-i)}:iN(n);return o.config=function(i){return t(e,i)},o};xt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;ns(t+",Power"+(r-1),e?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});xe.Linear.easeNone=xe.none=xe.Linear.easeIn;ns("Elastic",sC("in"),sC("out"),sC());(function(t,e){var r=1/e,n=2*r,o=2.5*r,i=function(l){return l<r?t*l*l:l<n?t*Math.pow(l-1.5/e,2)+.75:l<o?t*(l-=2.25/e)*l+.9375:t*Math.pow(l-2.625/e,2)+.984375};ns("Bounce",function(c){return 1-i(1-c)},i)})(7.5625,2.75);ns("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});ns("Circ",function(t){return-(NI(1-t*t)-1)});ns("Sine",function(t){return t===1?1:-aq(t*eq)+1});ns("Back",cC("in"),cC("out"),cC());xe.SteppedEase=xe.steps=Nt.SteppedEase={config:function(e,r){e===void 0&&(e=1);var n=1/e,o=e+(r?0:1),i=r?1:0,c=1-Ne;return function(l){return((o*Xc(0,c,l)|0)+i)*n}}};Es.ease=xe["quad.out"];xt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Mj+=t+","+t+"Params,"});var sN=function(e,r){this.id=tq++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:FI,this.set=r?r.getSetter:Lj},Hc=function(){function t(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Hs(this,+r.duration,1,1),this.data=r.data,Ee&&(this._ctx=Ee,Ee.data.push(this)),Oc||jt.wake()}var e=t.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,Hs(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,o){if(Vs(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(A9(this,n),!i._dp||i.parent||BI(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&ra(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===Ne||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),EI(this,n,o)),this},e.time=function(n,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+qS(this))%(this._dur+this._rDelay)||(n?this._dur:0),o):this._time},e.totalProgress=function(n,o){return arguments.length?this.totalTime(this.totalDuration()*n,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(n,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+qS(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,o):this._repeat?Os(this._tTime,i)+1:1},e.timeScale=function(n,o){if(!arguments.length)return this._rts===-Ne?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?u9(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-Ne?0:this._rts,this.totalTime(Xc(-Math.abs(this._delay),this._tDur,i),o!==!1),N9(this),dq(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Vs(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==Ne&&(this._tTime-=Ne)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&ra(o,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(ft(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var o=this.parent||this._dp;return o?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?u9(o.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=iq);var o=ct;return ct=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),ct=o,this},e.globalTime=function(n){for(var o=this,i=arguments.length?n:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,DS(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var o=this._time;return this._rDelay=n,DS(this),o?this.time(o):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,o){return this.totalTime(Rt(this,n),ft(o))},e.restart=function(n,o){return this.play().totalTime(n?-this._delay:0,ft(o))},e.play=function(n,o){return n!=null&&this.seek(n,o),this.reversed(!1).paused(!1)},e.reverse=function(n,o){return n!=null&&this.seek(n||this.totalDuration(),o),this.reversed(!0).paused(!1)},e.pause=function(n,o){return n!=null&&this.seek(n,o),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-Ne:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-Ne,this},e.isActive=function(){var n=this.parent||this._dp,o=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=o&&i<this.endTime(!0)-Ne)},e.eventCallback=function(n,o,i){var c=this.vars;return arguments.length>1?(o?(c[n]=o,i&&(c[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=o)):delete c[n],this):c[n]},e.then=function(n){var o=this;return new Promise(function(i){var c=$e(n)?n:HI,l=function(){var h=o.then;o.then=null,$e(c)&&(c=c(o))&&(c.then||c===o)&&(o.then=h),i(c),o.then=h};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?l():o._prom=l})},e.kill=function(){ic(this)},t}();Ht(Hc.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Ne,_prom:0,_ps:!1,_rts:1});var ut=function(t){II(e,t);function e(n,o){var i;return n===void 0&&(n={}),i=t.call(this,n)||this,i.labels={},i.smoothChildTiming=!!n.smoothChildTiming,i.autoRemoveChildren=!!n.autoRemoveChildren,i._sort=ft(n.sortChildren),Oe&&ra(n.parent||Oe,ga(i),o),n.reversed&&i.reverse(),n.paused&&i.paused(!0),n.scrollTrigger&&UI(ga(i),n.scrollTrigger),i}var r=e.prototype;return r.to=function(o,i,c){return _c(0,arguments,this),this},r.from=function(o,i,c){return _c(1,arguments,this),this},r.fromTo=function(o,i,c,l){return _c(2,arguments,this),this},r.set=function(o,i,c){return i.duration=0,i.parent=this,Pc(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new Je(o,i,Rt(this,c),1),this},r.call=function(o,i,c){return ra(this,Je.delayedCall(0,o,i),c)},r.staggerTo=function(o,i,c,l,d,h,u){return c.duration=i,c.stagger=c.stagger||l,c.onComplete=h,c.onCompleteParams=u,c.parent=this,new Je(o,c,Rt(this,d)),this},r.staggerFrom=function(o,i,c,l,d,h,u){return c.runBackwards=1,Pc(c).immediateRender=ft(c.immediateRender),this.staggerTo(o,i,c,l,d,h,u)},r.staggerFromTo=function(o,i,c,l,d,h,u,p){return l.startAt=c,Pc(l).immediateRender=ft(l.immediateRender),this.staggerTo(o,i,l,d,h,u,p)},r.render=function(o,i,c){var l=this._time,d=this._dirty?this.totalDuration():this._tDur,h=this._dur,u=o<=0?0:et(o),p=this._zTime<0!=o<0&&(this._initted||!h),y,f,k,m,x,v,w,M,b,C,I,L;if(this!==Oe&&u>d&&o>=0&&(u=d),u!==this._tTime||c||p){if(l!==this._time&&h&&(u+=this._time-l,o+=this._time-l),y=u,b=this._start,M=this._ts,v=!M,p&&(h||(l=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(I=this._yoyo,x=h+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(x*100+o,i,c);if(y=et(u%x),u===d?(m=this._repeat,y=h):(m=~~(u/x),m&&m===u/x&&(y=h,m--),y>h&&(y=h)),C=Os(this._tTime,x),!l&&this._tTime&&C!==m&&this._tTime-C*x-this._dur<=0&&(C=m),I&&m&1&&(y=h-y,L=1),m!==C&&!this._lock){var A=I&&C&1,N=A===(I&&m&1);if(m<C&&(A=!A),l=A?0:u%h?h:u,this._lock=1,this.render(l||(L?0:et(m*x)),i,!h)._lock=0,this._tTime=u,!i&&this.parent&&St(this,"onRepeat"),this.vars.repeatRefresh&&!L&&(this.invalidate()._lock=1),l&&l!==this._time||v!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,d=this._tDur,N&&(this._lock=2,l=A?h:-1e-4,this.render(l,!0),this.vars.repeatRefresh&&!L&&this.invalidate()),this._lock=0,!this._ts&&!v)return this;oN(this,L)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(w=yq(this,et(l),et(y)),w&&(u-=y-(y=w._start))),this._tTime=u,this._time=y,this._act=!M,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,l=0),!l&&y&&!i&&!m&&(St(this,"onStart"),this._tTime!==u))return this;if(y>=l&&o>=0)for(f=this._first;f;){if(k=f._next,(f._act||y>=f._start)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(y-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(y-f._start)*f._ts,i,c),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=-Ne);break}}f=k}else{f=this._last;for(var q=o<0?o:y;f;){if(k=f._prev,(f._act||q<=f._end)&&f._ts&&w!==f){if(f.parent!==this)return this.render(o,i,c);if(f.render(f._ts>0?(q-f._start)*f._ts:(f._dirty?f.totalDuration():f._tDur)+(q-f._start)*f._ts,i,c||ct&&(f._initted||f._startAt)),y!==this._time||!this._ts&&!v){w=0,k&&(u+=this._zTime=q?-Ne:Ne);break}}f=k}}if(w&&!i&&(this.pause(),w.render(y>=l?0:-Ne)._zTime=y>=l?1:-1,this._ts))return this._start=b,N9(this),this.render(o,i,c);this._onUpdate&&!i&&St(this,"onUpdate",!0),(u===d&&this._tTime>=this.totalDuration()||!u&&l)&&(b===this._start||Math.abs(M)!==Math.abs(this._ts))&&(this._lock||((o||!h)&&(u===d&&this._ts>0||!u&&this._ts<0)&&Ka(this,1),!i&&!(o<0&&!l)&&(u||l||!d)&&(St(this,u===d&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<d&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(o,i){var c=this;if(Ia(i)||(i=Rt(this,i,o)),!(o instanceof Hc)){if(lt(o))return o.forEach(function(l){return c.add(l,i)}),this;if(at(o))return this.addLabel(o,i);if($e(o))o=Je.delayedCall(0,o);else return this}return this!==o?ra(this,o,i):this},r.getChildren=function(o,i,c,l){o===void 0&&(o=!0),i===void 0&&(i=!0),c===void 0&&(c=!0),l===void 0&&(l=-Dt);for(var d=[],h=this._first;h;)h._start>=l&&(h instanceof Je?i&&d.push(h):(c&&d.push(h),o&&d.push.apply(d,h.getChildren(!0,i,c)))),h=h._next;return d},r.getById=function(o){for(var i=this.getChildren(1,1,1),c=i.length;c--;)if(i[c].vars.id===o)return i[c]},r.remove=function(o){return at(o)?this.removeLabel(o):$e(o)?this.killTweensOf(o):(I9(this,o),o===this._recent&&(this._recent=this._last),Wi(this))},r.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=et(jt.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),t.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},r.addLabel=function(o,i){return this.labels[o]=Rt(this,i),this},r.removeLabel=function(o){return delete this.labels[o],this},r.addPause=function(o,i,c){var l=Je.delayedCall(0,i||Fc,c);return l.data="isPause",this._hasPause=1,ra(this,l,Rt(this,o))},r.removePause=function(o){var i=this._first;for(o=Rt(this,o);i;)i._start===o&&i.data==="isPause"&&Ka(i),i=i._next},r.killTweensOf=function(o,i,c){for(var l=this.getTweensOf(o,c),d=l.length;d--;)Ba!==l[d]&&l[d].kill(o,i);return this},r.getTweensOf=function(o,i){for(var c=[],l=zt(o),d=this._first,h=Ia(i),u;d;)d instanceof Je?sq(d._targets,l)&&(h?(!Ba||d._initted&&d._ts)&&d.globalTime(0)<=i&&d.globalTime(d.totalDuration())>i:!i||d.isActive())&&c.push(d):(u=d.getTweensOf(l,i)).length&&c.push.apply(c,u),d=d._next;return c},r.tweenTo=function(o,i){i=i||{};var c=this,l=Rt(c,o),d=i,h=d.startAt,u=d.onStart,p=d.onStartParams,y=d.immediateRender,f,k=Je.to(c,Ht({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:l,overwrite:"auto",duration:i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale())||Ne,onStart:function(){if(c.pause(),!f){var x=i.duration||Math.abs((l-(h&&"time"in h?h.time:c._time))/c.timeScale());k._dur!==x&&Hs(k,x,0,1).render(k._time,!0,!0),f=1}u&&u.apply(k,p||[])}},i));return y?k.render(0):k},r.tweenFromTo=function(o,i,c){return this.tweenTo(i,Ht({startAt:{time:Rt(this,o)}},c))},r.recent=function(){return this._recent},r.nextLabel=function(o){return o===void 0&&(o=this._time),zS(this,Rt(this,o))},r.previousLabel=function(o){return o===void 0&&(o=this._time),zS(this,Rt(this,o),1)},r.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+Ne)},r.shiftChildren=function(o,i,c){c===void 0&&(c=0);for(var l=this._first,d=this.labels,h;l;)l._start>=c&&(l._start+=o,l._end+=o),l=l._next;if(i)for(h in d)d[h]>=c&&(d[h]+=o);return Wi(this)},r.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return t.prototype.invalidate.call(this,o)},r.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,c;i;)c=i._next,this.remove(i),i=c;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),Wi(this)},r.totalDuration=function(o){var i=0,c=this,l=c._last,d=Dt,h,u,p;if(arguments.length)return c.timeScale((c._repeat<0?c.duration():c.totalDuration())/(c.reversed()?-o:o));if(c._dirty){for(p=c.parent;l;)h=l._prev,l._dirty&&l.totalDuration(),u=l._start,u>d&&c._sort&&l._ts&&!c._lock?(c._lock=1,ra(c,l,u-l._delay,1)._lock=0):d=u,u<0&&l._ts&&(i-=u,(!p&&!c._dp||p&&p.smoothChildTiming)&&(c._start+=u/c._ts,c._time-=u,c._tTime-=u),c.shiftChildren(-u,!1,-1/0),d=0),l._end>i&&l._ts&&(i=l._end),l=h;Hs(c,c===Oe&&c._time>i?c._time:i,1,1),c._dirty=0}return c._tDur},e.updateRoot=function(o){if(Oe._ts&&(EI(Oe,u9(o,Oe)),zI=jt.frame),jt.frame>=RS){RS+=Lt.autoSleep||120;var i=Oe._first;if((!i||!i._ts)&&Lt.autoSleep&&jt._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||jt.sleep()}}},e}(Hc);Ht(ut.prototype,{_lock:0,_hasPause:0,_forcing:0});var Aq=function(e,r,n,o,i,c,l){var d=new kt(this._pt,e,r,0,1,pN,null,i),h=0,u=0,p,y,f,k,m,x,v,w;for(d.b=n,d.e=o,n+="",o+="",(v=~o.indexOf("random("))&&(o=Ec(o)),c&&(w=[n,o],c(w,e,r),n=w[0],o=w[1]),y=n.match(nC)||[];p=nC.exec(o);)k=p[0],m=o.substring(h,p.index),f?f=(f+1)%5:m.substr(-5)==="rgba("&&(f=1),k!==y[u++]&&(x=parseFloat(y[u-1])||0,d._pt={_next:d._pt,p:m||u===1?m:",",s:x,c:k.charAt(1)==="="?_s(x,k)-x:parseFloat(k)-x,m:f&&f<4?Math.round:0},h=nC.lastIndex);return d.c=h<o.length?o.substring(h,o.length):"",d.fp=l,(_I.test(o)||v)&&(d.e=0),this._pt=d,d},Cj=function(e,r,n,o,i,c,l,d,h,u){$e(o)&&(o=o(i||0,e,c));var p=e[r],y=n!=="get"?n:$e(p)?h?e[r.indexOf("set")||!$e(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():p,f=$e(p)?h?qq:hN:Sj,k;if(at(o)&&(~o.indexOf("random(")&&(o=Ec(o)),o.charAt(1)==="="&&(k=_s(y,o)+(st(y)||0),(k||k===0)&&(o=k))),!u||y!==o||$C)return!isNaN(y*o)&&o!==""?(k=new kt(this._pt,e,r,+y||0,o-(y||0),typeof p=="boolean"?zq:uN,0,f),h&&(k.fp=h),l&&k.modifier(l,this,e),this._pt=k):(!p&&!(r in e)&&vj(r,o),Aq.call(this,e,r,y,o,f,d||Lt.stringFilter,h))},Pq=function(e,r,n,o,i){if($e(e)&&(e=Rc(e,i,r,n,o)),!ha(e)||e.style&&e.nodeType||lt(e)||AI(e))return at(e)?Rc(e,i,r,n,o):e;var c={},l;for(l in e)c[l]=Rc(e[l],i,r,n,o);return c},cN=function(e,r,n,o,i,c){var l,d,h,u;if(Mt[e]&&(l=new Mt[e]).init(i,l.rawVars?r[e]:Pq(r[e],o,i,c,n),n,o,c)!==!1&&(n._pt=d=new kt(n._pt,i,e,0,1,l.render,l,0,l.priority),n!==ms))for(h=n._ptLookup[n._targets.indexOf(i)],u=l._props.length;u--;)h[l._props[u]]=d;return l},Ba,$C,jj=function t(e,r,n){var o=e.vars,i=o.ease,c=o.startAt,l=o.immediateRender,d=o.lazy,h=o.onUpdate,u=o.runBackwards,p=o.yoyoEase,y=o.keyframes,f=o.autoRevert,k=e._dur,m=e._startAt,x=e._targets,v=e.parent,w=v&&v.data==="nested"?v.vars.targets:x,M=e._overwrite==="auto"&&!fj,b=e.timeline,C,I,L,A,N,q,P,_,T,$,G,B,V;if(b&&(!y||!i)&&(i="none"),e._ease=Zi(i,Es.ease),e._yEase=p?nN(Zi(p===!0?i:p,Es.ease)):0,p&&e._yoyo&&!e._repeat&&(p=e._yEase,e._yEase=e._ease,e._ease=p),e._from=!b&&!!o.runBackwards,!b||y&&!o.stagger){if(_=x[0]?Gi(x[0]).harness:0,B=_&&o[_.prop],C=h9(o,wj),m&&(m._zTime<0&&m.progress(1),r<0&&u&&l&&!f?m.render(-1,!0):m.revert(u&&k?t9:oq),m._lazy=0),c){if(Ka(e._startAt=Je.set(x,Ht({data:"isStart",overwrite:!1,parent:v,immediateRender:!0,lazy:!m&&ft(d),startAt:null,delay:0,onUpdate:h&&function(){return St(e,"onUpdate")},stagger:0},c))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ct||!l&&!f)&&e._startAt.revert(t9),l&&k&&r<=0&&n<=0){r&&(e._zTime=r);return}}else if(u&&k&&!m){if(r&&(l=!1),L=Ht({overwrite:!1,data:"isFromStart",lazy:l&&!m&&ft(d),immediateRender:l,stagger:0,parent:v},C),B&&(L[_.prop]=B),Ka(e._startAt=Je.set(x,L)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ct?e._startAt.revert(t9):e._startAt.render(-1,!0)),e._zTime=r,!l)t(e._startAt,Ne,Ne);else if(!r)return}for(e._pt=e._ptCache=0,d=k&&ft(d)||d&&!k,I=0;I<x.length;I++){if(N=x[I],P=N._gsap||bj(x)[I]._gsap,e._ptLookup[I]=$={},EC[P.id]&&Xa.length&&d9(),G=w===x?I:w.indexOf(N),_&&(T=new _).init(N,B||C,e,G,w)!==!1&&(e._pt=A=new kt(e._pt,N,T.name,0,1,T.render,T,0,T.priority),T._props.forEach(function(O){$[O]=A}),T.priority&&(q=1)),!_||B)for(L in C)Mt[L]&&(T=cN(L,C,e,G,N,w))?T.priority&&(q=1):$[L]=A=Cj.call(e,N,L,"get",C[L],G,w,0,o.stringFilter);e._op&&e._op[I]&&e.kill(N,e._op[I]),M&&e._pt&&(Ba=e,Oe.killTweensOf(N,$,e.globalTime(r)),V=!e.parent,Ba=0),e._pt&&d&&(EC[P.id]=1)}q&&yN(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!V,y&&r<=0&&b.render(Dt,!0,!0)},_q=function(e,r,n,o,i,c,l,d){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],u,p,y,f;if(!h)for(h=e._ptCache[r]=[],y=e._ptLookup,f=e._targets.length;f--;){if(u=y[f][r],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==r&&u.fp!==r;)u=u._next;if(!u)return $C=1,e.vars[r]="+=0",jj(e,l),$C=0,d?zc(r+" not eligible for reset"):1;h.push(u)}for(f=h.length;f--;)p=h[f],u=p._pt||p,u.s=(o||o===0)&&!i?o:u.s+(o||0)+c*u.c,u.c=n-u.s,p.e&&(p.e=Ge(n)+st(p.e)),p.b&&(p.b=u.s+st(p.b))},Rq=function(e,r){var n=e[0]?Gi(e[0]).harness:0,o=n&&n.aliases,i,c,l,d;if(!o)return r;i=Ji({},r);for(c in o)if(c in i)for(d=o[c].split(","),l=d.length;l--;)i[d[l]]=i[c];return i},Tq=function(e,r,n,o){var i=r.ease||o||"power1.inOut",c,l;if(lt(r))l=n[e]||(n[e]=[]),r.forEach(function(d,h){return l.push({t:h/(r.length-1)*100,v:d,e:i})});else for(c in r)l=n[c]||(n[c]=[]),c==="ease"||l.push({t:parseFloat(e),v:r[c],e:i})},Rc=function(e,r,n,o,i){return $e(e)?e.call(r,n,o,i):at(e)&&~e.indexOf("random(")?Ec(e):e},lN=Mj+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",dN={};xt(lN+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return dN[t]=1});var Je=function(t){II(e,t);function e(n,o,i,c){var l;typeof o=="number"&&(i.duration=o,o=i,i=null),l=t.call(this,c?o:Pc(o))||this;var d=l.vars,h=d.duration,u=d.delay,p=d.immediateRender,y=d.stagger,f=d.overwrite,k=d.keyframes,m=d.defaults,x=d.scrollTrigger,v=d.yoyoEase,w=o.parent||Oe,M=(lt(n)||AI(n)?Ia(n[0]):"length"in o)?[n]:zt(n),b,C,I,L,A,N,q,P;if(l._targets=M.length?bj(M):zc("GSAP target "+n+" not found. https://gsap.com",!Lt.nullTargetWarn)||[],l._ptLookup=[],l._overwrite=f,k||y||t1(h)||t1(u)){if(o=l.vars,b=l.timeline=new ut({data:"nested",defaults:m||{},targets:w&&w.data==="nested"?w.vars.targets:M}),b.kill(),b.parent=b._dp=ga(l),b._start=0,y||t1(h)||t1(u)){if(L=M.length,q=y&&ZI(y),ha(y))for(A in y)~lN.indexOf(A)&&(P||(P={}),P[A]=y[A]);for(C=0;C<L;C++)I=h9(o,dN),I.stagger=0,v&&(I.yoyoEase=v),P&&Ji(I,P),N=M[C],I.duration=+Rc(h,ga(l),C,N,M),I.delay=(+Rc(u,ga(l),C,N,M)||0)-l._delay,!y&&L===1&&I.delay&&(l._delay=u=I.delay,l._start+=u,I.delay=0),b.to(N,I,q?q(C,N,M):0),b._ease=xe.none;b.duration()?h=u=0:l.timeline=0}else if(k){Pc(Ht(b.vars.defaults,{ease:"none"})),b._ease=Zi(k.ease||o.ease||"none");var _=0,T,$,G;if(lt(k))k.forEach(function(B){return b.to(M,B,">")}),b.duration();else{I={};for(A in k)A==="ease"||A==="easeEach"||Tq(A,k[A],I,k.easeEach);for(A in I)for(T=I[A].sort(function(B,V){return B.t-V.t}),_=0,C=0;C<T.length;C++)$=T[C],G={ease:$.e,duration:($.t-(C?T[C-1].t:0))/100*h},G[A]=$.v,b.to(M,G,_),_+=G.duration;b.duration()<h&&b.to({},{duration:h-b.duration()})}}h||l.duration(h=b.duration())}else l.timeline=0;return f===!0&&!fj&&(Ba=ga(l),Oe.killTweensOf(M),Ba=0),ra(w,ga(l),i),o.reversed&&l.reverse(),o.paused&&l.paused(!0),(p||!h&&!k&&l._start===et(w._time)&&ft(p)&&hq(ga(l))&&w.data!=="nested")&&(l._tTime=-Ne,l.render(Math.max(0,-u)||0)),x&&UI(ga(l),x),l}var r=e.prototype;return r.render=function(o,i,c){var l=this._time,d=this._tDur,h=this._dur,u=o<0,p=o>d-Ne&&!u?d:o<Ne?0:o,y,f,k,m,x,v,w,M,b;if(!h)pq(this,o,i,c);else if(p!==this._tTime||!o||c||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(y=p,M=this.timeline,this._repeat){if(m=h+this._rDelay,this._repeat<-1&&u)return this.totalTime(m*100+o,i,c);if(y=et(p%m),p===d?(k=this._repeat,y=h):(k=~~(p/m),k&&k===et(p/m)&&(y=h,k--),y>h&&(y=h)),v=this._yoyo&&k&1,v&&(b=this._yEase,y=h-y),x=Os(this._tTime,m),y===l&&!c&&this._initted&&k===x)return this._tTime=p,this;k!==x&&(M&&this._yEase&&oN(M,v),this.vars.repeatRefresh&&!v&&!this._lock&&this._time!==m&&this._initted&&(this._lock=c=1,this.render(et(m*k),!0).invalidate()._lock=0))}if(!this._initted){if($I(this,u?o:y,c,i,p))return this._tTime=0,this;if(l!==this._time&&!(c&&this.vars.repeatRefresh&&k!==x))return this;if(h!==this._dur)return this.render(o,i,c)}if(this._tTime=p,this._time=y,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(b||this._ease)(y/h),this._from&&(this.ratio=w=1-w),y&&!l&&!i&&!k&&(St(this,"onStart"),this._tTime!==p))return this;for(f=this._pt;f;)f.r(w,f.d),f=f._next;M&&M.render(o<0?o:M._dur*M._ease(y/this._dur),i,c)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&OC(this,o,i,c),St(this,"onUpdate")),this._repeat&&k!==x&&this.vars.onRepeat&&!i&&this.parent&&St(this,"onRepeat"),(p===this._tDur||!p)&&this._tTime===p&&(u&&!this._onUpdate&&OC(this,o,!0,!0),(o||!h)&&(p===this._tDur&&this._ts>0||!p&&this._ts<0)&&Ka(this,1),!i&&!(u&&!l)&&(p||l||v)&&(St(this,p===d?"onComplete":"onReverseComplete",!0),this._prom&&!(p<d&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),t.prototype.invalidate.call(this,o)},r.resetTo=function(o,i,c,l,d){Oc||jt.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||jj(this,h),u=this._ease(h/this._dur),_q(this,o,i,c,l,u,h,d)?this.resetTo(o,i,c,l,1):(A9(this,0),this.parent||VI(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?ic(this):this;if(this.timeline){var c=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Ba&&Ba.vars.overwrite!==!0)._first||ic(this),this.parent&&c!==this.timeline.totalDuration()&&Hs(this,this._dur*this.timeline._tDur/c,0,1),this}var l=this._targets,d=o?zt(o):l,h=this._ptLookup,u=this._pt,p,y,f,k,m,x,v;if((!i||i==="all")&&lq(l,d))return i==="all"&&(this._pt=0),ic(this);for(p=this._op=this._op||[],i!=="all"&&(at(i)&&(m={},xt(i,function(w){return m[w]=1}),i=m),i=Rq(l,i)),v=l.length;v--;)if(~d.indexOf(l[v])){y=h[v],i==="all"?(p[v]=i,k=y,f={}):(f=p[v]=p[v]||{},k=i);for(m in k)x=y&&y[m],x&&((!("kill"in x.d)||x.d.kill(m)===!0)&&I9(this,x,"_pt"),delete y[m]),f!=="all"&&(f[m]=1)}return this._initted&&!this._pt&&u&&ic(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return _c(1,arguments)},e.delayedCall=function(o,i,c,l){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:c,onReverseCompleteParams:c,callbackScope:l})},e.fromTo=function(o,i,c){return _c(2,arguments)},e.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(o,i)},e.killTweensOf=function(o,i,c){return Oe.killTweensOf(o,i,c)},e}(Hc);Ht(Je.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});xt("staggerTo,staggerFrom,staggerFromTo",function(t){Je[t]=function(){var e=new ut,r=VC.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var Sj=function(e,r,n){return e[r]=n},hN=function(e,r,n){return e[r](n)},qq=function(e,r,n,o){return e[r](o.fp,n)},Dq=function(e,r,n){return e.setAttribute(r,n)},Lj=function(e,r){return $e(e[r])?hN:xj(e[r])&&e.setAttribute?Dq:Sj},uN=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},zq=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},pN=function(e,r){var n=r._pt,o="";if(!e&&r.b)o=r.b;else if(e===1&&r.e)o=r.e;else{for(;n;)o=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+o,n=n._next;o+=r.c}r.set(r.t,r.p,o,r)},Ij=function(e,r){for(var n=r._pt;n;)n.r(e,n.d),n=n._next},Fq=function(e,r,n,o){for(var i=this._pt,c;i;)c=i._next,i.p===o&&i.modifier(e,r,n),i=c},Eq=function(e){for(var r=this._pt,n,o;r;)o=r._next,r.p===e&&!r.op||r.op===e?I9(this,r,"_pt"):r.dep||(n=1),r=o;return!n},Oq=function(e,r,n,o){o.mSet(e,r,o.m.call(o.tween,n,o.mt),o)},yN=function(e){for(var r=e._pt,n,o,i,c;r;){for(n=r._next,o=i;o&&o.pr>r.pr;)o=o._next;(r._prev=o?o._prev:c)?r._prev._next=r:i=r,(r._next=o)?o._prev=r:c=r,r=n}e._pt=i},kt=function(){function t(r,n,o,i,c,l,d,h,u){this.t=n,this.s=i,this.c=c,this.p=o,this.r=l||uN,this.d=d||this,this.set=h||Sj,this.pr=u||0,this._next=r,r&&(r._prev=this)}var e=t.prototype;return e.modifier=function(n,o,i){this.mSet=this.mSet||this.set,this.set=Oq,this.m=n,this.mt=i,this.tween=o},t}();xt(Mj+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return wj[t]=1});Nt.TweenMax=Nt.TweenLite=Je;Nt.TimelineLite=Nt.TimelineMax=ut;Oe=new ut({sortChildren:!1,defaults:Es,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Lt.stringFilter=rN;var Xi=[],r9={},Hq=[],ES=0,Vq=0,lC=function(e){return(r9[e]||Hq).map(function(r){return r()})},GC=function(){var e=Date.now(),r=[];e-ES>2&&(lC("matchMediaInit"),Xi.forEach(function(n){var o=n.queries,i=n.conditions,c,l,d,h;for(l in o)c=ta.matchMedia(o[l]).matches,c&&(d=1),c!==i[l]&&(i[l]=c,h=1);h&&(n.revert(),d&&r.push(n))}),lC("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(o){return n.add(null,o)})}),ES=e,lC("matchMedia"))},mN=function(){function t(r,n){this.selector=n&&BC(n),this.data=[],this._r=[],this.isReverted=!1,this.id=Vq++,r&&this.add(r)}var e=t.prototype;return e.add=function(n,o,i){$e(n)&&(i=o,o=n,n=$e);var c=this,l=function(){var h=Ee,u=c.selector,p;return h&&h!==c&&h.data.push(c),i&&(c.selector=BC(i)),Ee=c,p=o.apply(c,arguments),$e(p)&&c._r.push(p),Ee=h,c.selector=u,c.isReverted=!1,p};return c.last=l,n===$e?l(c,function(d){return c.add(null,d)}):n?c[n]=l:l},e.ignore=function(n){var o=Ee;Ee=null,n(this),Ee=o},e.getTweens=function(){var n=[];return this.data.forEach(function(o){return o instanceof t?n.push.apply(n,o.getTweens()):o instanceof Je&&!(o.parent&&o.parent.data==="nested")&&n.push(o)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,o){var i=this;if(n?function(){for(var l=i.getTweens(),d=i.data.length,h;d--;)h=i.data[d],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(u){return l.splice(l.indexOf(u),1)}));for(l.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,p){return p.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),d=i.data.length;d--;)h=i.data[d],h instanceof ut?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Je)&&h.revert&&h.revert(n);i._r.forEach(function(u){return u(n,i)}),i.isReverted=!0}():this.data.forEach(function(l){return l.kill&&l.kill()}),this.clear(),o)for(var c=Xi.length;c--;)Xi[c].id===this.id&&Xi.splice(c,1)},e.revert=function(n){this.kill(n||{})},t}(),Bq=function(){function t(r){this.contexts=[],this.scope=r,Ee&&Ee.data.push(this)}var e=t.prototype;return e.add=function(n,o,i){ha(n)||(n={matches:n});var c=new mN(0,i||this.scope),l=c.conditions={},d,h,u;Ee&&!c.selector&&(c.selector=Ee.selector),this.contexts.push(c),o=c.add("onMatch",o),c.queries=n;for(h in n)h==="all"?u=1:(d=ta.matchMedia(n[h]),d&&(Xi.indexOf(c)<0&&Xi.push(c),(l[h]=d.matches)&&(u=1),d.addListener?d.addListener(GC):d.addEventListener("change",GC)));return u&&o(c,function(p){return c.add(null,p)}),this},e.revert=function(n){this.kill(n||{})},e.kill=function(n){this.contexts.forEach(function(o){return o.kill(n,!0)})},t}(),p9={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(function(o){return eN(o)})},timeline:function(e){return new ut(e)},getTweensOf:function(e,r){return Oe.getTweensOf(e,r)},getProperty:function(e,r,n,o){at(e)&&(e=zt(e)[0]);var i=Gi(e||{}).get,c=n?HI:OI;return n==="native"&&(n=""),e&&(r?c((Mt[r]&&Mt[r].get||i)(e,r,n,o)):function(l,d,h){return c((Mt[l]&&Mt[l].get||i)(e,l,d,h))})},quickSetter:function(e,r,n){if(e=zt(e),e.length>1){var o=e.map(function(u){return vt.quickSetter(u,r,n)}),i=o.length;return function(u){for(var p=i;p--;)o[p](u)}}e=e[0]||{};var c=Mt[r],l=Gi(e),d=l.harness&&(l.harness.aliases||{})[r]||r,h=c?function(u){var p=new c;ms._pt=0,p.init(e,n?u+n:u,ms,0,[e]),p.render(1,p),ms._pt&&Ij(1,ms)}:l.set(e,d);return c?h:function(u){return h(e,d,n?u+n:u,l,1)}},quickTo:function(e,r,n){var o,i=vt.to(e,Ji((o={},o[r]="+=0.1",o.paused=!0,o),n||{})),c=function(d,h,u){return i.resetTo(r,d,h,u)};return c.tween=i,c},isTweening:function(e){return Oe.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Zi(e.ease,Es.ease)),TS(Es,e||{})},config:function(e){return TS(Lt,e||{})},registerEffect:function(e){var r=e.name,n=e.effect,o=e.plugins,i=e.defaults,c=e.extendTimeline;(o||"").split(",").forEach(function(l){return l&&!Mt[l]&&!Nt[l]&&zc(r+" effect requires "+l+" plugin.")}),oC[r]=function(l,d,h){return n(zt(l),Ht(d||{},i),h)},c&&(ut.prototype[r]=function(l,d,h){return this.add(oC[r](l,ha(d)?d:(h=d)&&{},this),h)})},registerEase:function(e,r){xe[e]=Zi(r)},parseEase:function(e,r){return arguments.length?Zi(e,r):xe},getById:function(e){return Oe.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var n=new ut(e),o,i;for(n.smoothChildTiming=ft(e.smoothChildTiming),Oe.remove(n),n._dp=0,n._time=n._tTime=Oe._time,o=Oe._first;o;)i=o._next,(r||!(!o._dur&&o instanceof Je&&o.vars.onComplete===o._targets[0]))&&ra(n,o,o._start-o._delay),o=i;return ra(Oe,n,0),n},context:function(e,r){return e?new mN(e,r):Ee},matchMedia:function(e){return new Bq(e)},matchMediaRefresh:function(){return Xi.forEach(function(e){var r=e.conditions,n,o;for(o in r)r[o]&&(r[o]=!1,n=1);n&&e.revert()})||GC()},addEventListener:function(e,r){var n=r9[e]||(r9[e]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(e,r){var n=r9[e],o=n&&n.indexOf(r);o>=0&&n.splice(o,1)},utils:{wrap:wq,wrapYoyo:Mq,distribute:ZI,random:JI,snap:XI,normalize:vq,getUnit:st,clamp:fq,splitColor:tN,toArray:zt,selector:BC,mapRange:KI,pipe:kq,unitize:gq,interpolate:bq,shuffle:WI},install:qI,effects:oC,ticker:jt,updateRoot:ut.updateRoot,plugins:Mt,globalTimeline:Oe,core:{PropTween:kt,globals:DI,Tween:Je,Timeline:ut,Animation:Hc,getCache:Gi,_removeLinkedListItem:I9,reverting:function(){return ct},context:function(e){return e&&Ee&&(Ee.data.push(e),e._ctx=Ee),Ee},suppressOverwrites:function(e){return fj=e}}};xt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return p9[t]=Je[t]});jt.add(ut.updateRoot);ms=p9.to({},{duration:0});var Uq=function(e,r){for(var n=e._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},$q=function(e,r){var n=e._targets,o,i,c;for(o in r)for(i=n.length;i--;)c=e._ptLookup[i][o],c&&(c=c.d)&&(c._pt&&(c=Uq(c,o)),c&&c.modifier&&c.modifier(r[o],e,n[i],o))},dC=function(e,r){return{name:e,rawVars:1,init:function(o,i,c){c._onInit=function(l){var d,h;if(at(i)&&(d={},xt(i,function(u){return d[u]=1}),i=d),r){d={};for(h in i)d[h]=r(i[h]);i=d}$q(l,i)}}}},vt=p9.registerPlugin({name:"attr",init:function(e,r,n,o,i){var c,l,d;this.tween=n;for(c in r)d=e.getAttribute(c)||"",l=this.add(e,"setAttribute",(d||0)+"",r[c],o,i,0,0,c),l.op=c,l.b=d,this._props.push(c)},render:function(e,r){for(var n=r._pt;n;)ct?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",init:function(e,r){for(var n=r.length;n--;)this.add(e,n,e[n]||0,r[n],0,0,0,0,0,1)}},dC("roundProps",UC),dC("modifiers"),dC("snap",XI))||p9;Je.version=ut.version=vt.version="3.12.5";TI=1;kj()&&Vs();xe.Power0;xe.Power1;xe.Power2;xe.Power3;xe.Power4;xe.Linear;xe.Quad;xe.Cubic;xe.Quart;xe.Quint;xe.Strong;xe.Elastic;xe.Back;xe.SteppedEase;xe.Bounce;xe.Sine;xe.Expo;xe.Circ;/*!
|
|
7734
7734
|
* CSSPlugin 3.12.5
|
|
7735
7735
|
* https://gsap.com
|
|
7736
7736
|
*
|
|
@@ -7738,22 +7738,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
7738
7738
|
* Subject to the terms at https://gsap.com/standard-license or for
|
|
7739
7739
|
* Club GSAP members, the agreement issued with that membership.
|
|
7740
7740
|
* @author: Jack Doyle, jack@greensock.com
|
|
7741
|
-
*/var OS,Ua,Rs,Nj,Ei,HS,Aj,Gq=function(){return typeof window<"u"},Na={},zi=180/Math.PI,Ts=Math.PI/180,ds=Math.atan2,VS=1e8,Pj=/([A-Z])/g,Wq=/(left|right|width|margin|padding|x)/i,Zq=/[\s,\(]\S/,oa={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},WC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Xq=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Jq=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Yq=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},fN=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},xN=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Kq=function(e,r,n){return e.style[r]=n},Qq=function(e,r,n){return e.style.setProperty(r,n)},eD=function(e,r,n){return e._gsap[r]=n},tD=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},aD=function(e,r,n,o,i){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},rD=function(e,r,n,o,i){var c=e._gsap;c[r]=n,c.renderTransform(i,c)},He="transform",gt=He+"Origin",nD=function t(e,r){var n=this,o=this.target,i=o.style,c=o._gsap;if(e in Na&&i){if(this.tfm=this.tfm||{},e!=="transform")e=oa[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=ba(o,l)}):this.tfm[e]=c.x?c[e]:ba(o,e),e===gt&&(this.tfm.zOrigin=c.zOrigin);else return oa.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(He)>=0)return;c.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(gt,r,"")),e=He}(i||r)&&this.props.push(e,r,i[e])},kN=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},oD=function(){var e=this.props,r=this.target,n=r.style,o=r._gsap,i,c;for(i=0;i<e.length;i+=3)e[i+1]?r[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Pj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)o[c]=this.tfm[c];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=Aj(),(!i||!i.isStart)&&!n[He]&&(kN(n),o.zOrigin&&n[gt]&&(n[gt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},gN=function(e,r){var n={target:e,props:[],revert:oD,save:nD};return e._gsap||vt.core.getCache(e),r&&r.split(",").forEach(function(o){return n.save(o)}),n},vN,ZC=function(e,r){var n=Ua.createElementNS?Ua.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ua.createElement(e);return n&&n.style?n:Ua.createElement(e)},la=function t(e,r,n){var o=getComputedStyle(e);return o[r]||o.getPropertyValue(r.replace(Pj,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&t(e,Bs(r)||r,1)||""},BS="O,Moz,ms,Ms,Webkit".split(","),Bs=function(e,r,n){var o=r||Ei,i=o.style,c=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(BS[c]+e in i););return c<0?null:(c===3?"ms":c>=0?BS[c]:"")+e},XC=function(){Gq()&&window.document&&(OS=window,Ua=OS.document,Rs=Ua.documentElement,Ei=ZC("div")||{style:{}},ZC("div"),He=Bs(He),gt=He+"Origin",Ei.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",vN=!!Bs("perspective"),Aj=vt.core.reverting,Nj=1)},hC=function t(e){var r=ZC("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,i=this.style.cssText,c;if(Rs.appendChild(r),r.appendChild(this),this.style.display="block",e)try{c=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(c=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Rs.removeChild(r),this.style.cssText=i,c},US=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},wN=function(e){var r;try{r=e.getBBox()}catch{r=hC.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===hC||(r=hC.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+US(e,["x","cx","x1"])||0,y:+US(e,["y","cy","y1"])||0,width:0,height:0}:r},MN=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&wN(e))},Yi=function(e,r){if(r){var n=e.style,o;r in Na&&r!==gt&&(r=He),n.removeProperty?(o=r.substr(0,2),(o==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(o==="--"?r:r.replace(Pj,"-$1").toLowerCase())):n.removeAttribute(r)}},$a=function(e,r,n,o,i,c){var l=new kt(e._pt,r,n,0,1,c?xN:fN);return e._pt=l,l.b=o,l.e=i,e._props.push(n),l},$S={deg:1,rad:1,turn:1},iD={grid:1,flex:1},Qa=function t(e,r,n,o){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=Ei.style,d=Wq.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,y=o==="px",f=o==="%",k,m,x,v;if(o===c||!i||$S[o]||$S[c])return i;if(c!=="px"&&!y&&(i=t(e,r,n,"px")),v=e.getCTM&&MN(e),(f||c==="%")&&(Na[r]||~r.indexOf("adius")))return k=v?e.getBBox()[d?"width":"height"]:e[u],Ge(f?i/k*p:i/100*k);if(l[d?"width":"height"]=p+(y?c:o),m=~r.indexOf("adius")||o==="em"&&e.appendChild&&!h?e:e.parentNode,v&&(m=(e.ownerSVGElement||{}).parentNode),(!m||m===Ua||!m.appendChild)&&(m=Ua.body),x=m._gsap,x&&f&&x.width&&d&&x.time===jt.time&&!x.uncache)return Ge(i/x.width*p);if(f&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+o,k=e[u],w?e.style[r]=w:Yi(e,r)}else(f||c==="%")&&!iD[la(m,"display")]&&(l.position=la(e,"position")),m===e&&(l.position="static"),m.appendChild(Ei),k=Ei[u],m.removeChild(Ei),l.position="absolute";return d&&f&&(x=Gi(m),x.time=jt.time,x.width=m[u]),Ge(y?k*i/p:k&&i?p/k*i:0)},ba=function(e,r,n,o){var i;return Nj||XC(),r in oa&&r!=="transform"&&(r=oa[r],~r.indexOf(",")&&(r=r.split(",")[0])),Na[r]&&r!=="transform"?(i=Bc(e,o),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:m9(la(e,gt))+" "+i.zOrigin+"px"):(i=e.style[r],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=y9[r]&&y9[r](e,r,n)||la(e,r)||FI(e,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Qa(e,r,i,n)+n:i},sD=function(e,r,n,o){if(!n||n==="none"){var i=Bs(r,e,1),c=i&&la(e,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=la(e,"borderTopColor"))}var l=new kt(this._pt,e.style,r,0,1,pN),d=0,h=0,u,p,y,f,k,m,x,v,w,b,M,C;if(l.b=n,l.e=o,n+="",o+="",o==="auto"&&(m=e.style[r],e.style[r]=o,o=la(e,r)||o,m?e.style[r]=m:Yi(e,r)),u=[n,o],rN(u),n=u[0],o=u[1],y=n.match(ys)||[],C=o.match(ys)||[],C.length){for(;p=ys.exec(o);)x=p[0],w=o.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),x!==(m=y[h++]||"")&&(f=parseFloat(m)||0,M=m.substr((f+"").length),x.charAt(1)==="="&&(x=_s(f,x)+M),v=parseFloat(x),b=x.substr((v+"").length),d=ys.lastIndex-b.length,b||(b=b||Lt.units[r]||M,d===o.length&&(o+=b,l.e+=b)),M!==b&&(f=Qa(e,r,m,b)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:f,c:v-f,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<o.length?o.substring(d,o.length):""}else l.r=r==="display"&&o==="none"?xN:fN;return _I.test(o)&&(l.e=0),this._pt=l,l},GS={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cD=function(e){var r=e.split(" "),n=r[0],o=r[1]||"50%";return(n==="top"||n==="bottom"||o==="left"||o==="right")&&(e=n,n=o,o=e),r[0]=GS[n]||n,r[1]=GS[o]||o,r.join(" ")},lD=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,o=n.style,i=r.u,c=n._gsap,l,d,h;if(i==="all"||i===!0)o.cssText="",d=1;else for(i=i.split(","),h=i.length;--h>-1;)l=i[h],Na[l]&&(d=1,l=l==="transformOrigin"?gt:He),Yi(n,l);d&&(Yi(n,He),c&&(c.svg&&n.removeAttribute("transform"),Bc(n,1),c.uncache=1,kN(o)))}},y9={clearProps:function(e,r,n,o,i){if(i.data!=="isFromStart"){var c=e._pt=new kt(e._pt,r,n,0,0,lD);return c.u=o,c.pr=-10,c.tween=i,e._props.push(n),1}}},Vc=[1,0,0,1,0,0],bN={},CN=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},WS=function(e){var r=la(e,He);return CN(r)?Vc:r.substr(7).match(PI).map(Ge)},_j=function(e,r){var n=e._gsap||Gi(e),o=e.style,i=WS(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,i=[d.a,d.b,d.c,d.d,d.e,d.f],i.join(",")==="1,0,0,1,0,0"?Vc:i):(i===Vc&&!e.offsetParent&&e!==Rs&&!n.svg&&(d=o.display,o.display="block",c=e.parentNode,(!c||!e.offsetParent)&&(h=1,l=e.nextElementSibling,Rs.appendChild(e)),i=WS(e),d?o.display=d:Yi(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Rs.removeChild(e))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},JC=function(e,r,n,o,i,c){var l=e._gsap,d=i||_j(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,y=l.yOffset||0,f=d[0],k=d[1],m=d[2],x=d[3],v=d[4],w=d[5],b=r.split(" "),M=parseFloat(b[0])||0,C=parseFloat(b[1])||0,N,L,A,I;n?d!==Vc&&(L=f*x-k*m)&&(A=M*(x/L)+C*(-m/L)+(m*w-x*v)/L,I=M*(-k/L)+C*(f/L)-(f*w-k*v)/L,M=A,C=I):(N=wN(e),M=N.x+(~b[0].indexOf("%")?M/100*N.width:M),C=N.y+(~(b[1]||b[0]).indexOf("%")?C/100*N.height:C)),o||o!==!1&&l.smooth?(v=M-h,w=C-u,l.xOffset=p+(v*f+w*m)-v,l.yOffset=y+(v*k+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=M,l.yOrigin=C,l.smooth=!!o,l.origin=r,l.originIsAbsolute=!!n,e.style[gt]="0px 0px",c&&($a(c,l,"xOrigin",h,M),$a(c,l,"yOrigin",u,C),$a(c,l,"xOffset",p,l.xOffset),$a(c,l,"yOffset",y,l.yOffset)),e.setAttribute("data-svg-origin",M+" "+C)},Bc=function(e,r){var n=e._gsap||new sN(e);if("x"in n&&!r&&!n.uncache)return n;var o=e.style,i=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=la(e,gt)||"0",u,p,y,f,k,m,x,v,w,b,M,C,N,L,A,I,q,P,_,T,G,W,B,H,O,K,ce,ee,Q,be,xe,te;return u=p=y=m=x=v=w=b=M=0,f=k=1,n.svg=!!(e.getCTM&&MN(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(o[He]=(d.translate!=="none"?"translate3d("+(d.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(d.rotate!=="none"?"rotate("+d.rotate+") ":"")+(d.scale!=="none"?"scale("+d.scale.split(" ").join(",")+") ":"")+(d[He]!=="none"?d[He]:"")),o.scale=o.rotate=o.translate="none"),L=_j(e,n.svg),n.svg&&(n.uncache?(O=e.getBBox(),h=n.xOrigin-O.x+"px "+(n.yOrigin-O.y)+"px",H=""):H=!r&&e.getAttribute("data-svg-origin"),JC(e,H||h,!!H||n.originIsAbsolute,n.smooth!==!1,L)),C=n.xOrigin||0,N=n.yOrigin||0,L!==Vc&&(P=L[0],_=L[1],T=L[2],G=L[3],u=W=L[4],p=B=L[5],L.length===6?(f=Math.sqrt(P*P+_*_),k=Math.sqrt(G*G+T*T),m=P||_?ds(_,P)*zi:0,w=T||G?ds(T,G)*zi+m:0,w&&(k*=Math.abs(Math.cos(w*Ts))),n.svg&&(u-=C-(C*P+N*T),p-=N-(C*_+N*G))):(te=L[6],be=L[7],ce=L[8],ee=L[9],Q=L[10],xe=L[11],u=L[12],p=L[13],y=L[14],A=ds(te,Q),x=A*zi,A&&(I=Math.cos(-A),q=Math.sin(-A),H=W*I+ce*q,O=B*I+ee*q,K=te*I+Q*q,ce=W*-q+ce*I,ee=B*-q+ee*I,Q=te*-q+Q*I,xe=be*-q+xe*I,W=H,B=O,te=K),A=ds(-T,Q),v=A*zi,A&&(I=Math.cos(-A),q=Math.sin(-A),H=P*I-ce*q,O=_*I-ee*q,K=T*I-Q*q,xe=G*q+xe*I,P=H,_=O,T=K),A=ds(_,P),m=A*zi,A&&(I=Math.cos(A),q=Math.sin(A),H=P*I+_*q,O=W*I+B*q,_=_*I-P*q,B=B*I-W*q,P=H,W=O),x&&Math.abs(x)+Math.abs(m)>359.9&&(x=m=0,v=180-v),f=Ge(Math.sqrt(P*P+_*_+T*T)),k=Ge(Math.sqrt(B*B+te*te)),A=ds(W,B),w=Math.abs(A)>2e-4?A*zi:0,M=xe?1/(xe<0?-xe:xe):0),n.svg&&(H=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!CN(la(e,He)),H&&e.setAttribute("transform",H))),Math.abs(w)>90&&Math.abs(w)<270&&(i?(f*=-1,w+=m<=0?180:-180,m+=m<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=y+c,n.scaleX=Ge(f),n.scaleY=Ge(k),n.rotation=Ge(m)+l,n.rotationX=Ge(x)+l,n.rotationY=Ge(v)+l,n.skewX=w+l,n.skewY=b+l,n.transformPerspective=M+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(o[gt]=m9(h)),n.xOffset=n.yOffset=0,n.force3D=Lt.force3D,n.renderTransform=n.svg?hD:vN?jN:dD,n.uncache=0,n},m9=function(e){return(e=e.split(" "))[0]+" "+e[1]},uC=function(e,r,n){var o=st(r);return Ge(parseFloat(r)+parseFloat(Qa(e,"x",n+"px",o)))+o},dD=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,jN(e,r)},yr="0deg",oc="0px",mr=") ",jN=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,y=n.skewX,f=n.skewY,k=n.scaleX,m=n.scaleY,x=n.transformPerspective,v=n.force3D,w=n.target,b=n.zOrigin,M="",C=v==="auto"&&e&&e!==1||v===!0;if(b&&(p!==yr||u!==yr)){var N=parseFloat(u)*Ts,L=Math.sin(N),A=Math.cos(N),I;N=parseFloat(p)*Ts,I=Math.cos(N),c=uC(w,c,L*I*-b),l=uC(w,l,-Math.sin(N)*-b),d=uC(w,d,A*I*-b+b)}x!==oc&&(M+="perspective("+x+mr),(o||i)&&(M+="translate("+o+"%, "+i+"%) "),(C||c!==oc||l!==oc||d!==oc)&&(M+=d!==oc||C?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+mr),h!==yr&&(M+="rotate("+h+mr),u!==yr&&(M+="rotateY("+u+mr),p!==yr&&(M+="rotateX("+p+mr),(y!==yr||f!==yr)&&(M+="skew("+y+", "+f+mr),(k!==1||m!==1)&&(M+="scale("+k+", "+m+mr),w.style[He]=M||"translate(0, 0)"},hD=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,y=n.scaleY,f=n.target,k=n.xOrigin,m=n.yOrigin,x=n.xOffset,v=n.yOffset,w=n.forceCSS,b=parseFloat(c),M=parseFloat(l),C,N,L,A,I;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ts,h*=Ts,C=Math.cos(d)*p,N=Math.sin(d)*p,L=Math.sin(d-h)*-y,A=Math.cos(d-h)*y,h&&(u*=Ts,I=Math.tan(h-u),I=Math.sqrt(1+I*I),L*=I,A*=I,u&&(I=Math.tan(u),I=Math.sqrt(1+I*I),C*=I,N*=I)),C=Ge(C),N=Ge(N),L=Ge(L),A=Ge(A)):(C=p,A=y,N=L=0),(b&&!~(c+"").indexOf("px")||M&&!~(l+"").indexOf("px"))&&(b=Qa(f,"x",c,"px"),M=Qa(f,"y",l,"px")),(k||m||x||v)&&(b=Ge(b+k-(k*C+m*L)+x),M=Ge(M+m-(k*N+m*A)+v)),(o||i)&&(I=f.getBBox(),b=Ge(b+o/100*I.width),M=Ge(M+i/100*I.height)),I="matrix("+C+","+N+","+L+","+A+","+b+","+M+")",f.setAttribute("transform",I),w&&(f.style[He]=I)},uD=function(e,r,n,o,i){var c=360,l=at(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?zi:1),h=d-o,u=o+h+"deg",p,y;return l&&(p=i.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*VS)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*VS)%c-~~(h/c)*c)),e._pt=y=new kt(e._pt,r,n,o,h,Xq),y.e=u,y.u="deg",e._props.push(n),y},ZS=function(e,r){for(var n in r)e[n]=r[n];return e},pD=function(e,r,n){var o=ZS({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,y,f,k;o.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[He]=r,l=Bc(n,1),Yi(n,He),n.setAttribute("transform",h)):(h=getComputedStyle(n)[He],c[He]=r,l=Bc(n,1),c[He]=h);for(d in Na)h=o[d],u=l[d],h!==u&&i.indexOf(d)<0&&(f=st(h),k=st(u),p=f!==k?Qa(n,d,h,k):parseFloat(h),y=parseFloat(u),e._pt=new kt(e._pt,l,d,p,y-p,WC),e._pt.u=k||0,e._props.push(d));ZS(l,o)};xt("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",o="Bottom",i="Left",c=(e<3?[r,n,o,i]:[r+i,r+n,o+n,o+i]).map(function(l){return e<2?t+l:"border"+l+t});y9[e>1?"border"+t:t]=function(l,d,h,u,p){var y,f;if(arguments.length<4)return y=c.map(function(k){return ba(l,k,h)}),f=y.join(" "),f.split(y[0]).length===5?y[0]:f;y=(u+"").split(" "),f={},c.forEach(function(k,m){return f[k]=y[m]=y[m]||y[(m-1)/2|0]}),l.init(d,f,p)}});var SN={name:"css",register:XC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,o,i){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,y,f,k,m,x,v,w,b,M,C,N,L,A;Nj||XC(),this.styles=this.styles||gN(e),A=this.styles.props,this.tween=n;for(m in r)if(m!=="autoRound"&&(u=r[m],!(Mt[m]&&cN(m,r,n,o,e,i)))){if(f=typeof u,k=y9[m],f==="function"&&(u=u.call(n,o,e,i),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=Ec(u)),k)k(this,e,m,u,n)&&(L=1);else if(m.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(m)+"").trim(),u+="",Ja.lastIndex=0,Ja.test(h)||(x=st(h),v=st(u)),v?x!==v&&(h=Qa(e,m,h,v)+v):x&&(u+=x),this.add(l,"setProperty",h,u,o,i,0,0,m),c.push(m),A.push(m,0,l[m]);else if(f!=="undefined"){if(d&&m in d?(h=typeof d[m]=="function"?d[m].call(n,o,e,i):d[m],at(h)&&~h.indexOf("random(")&&(h=Ec(h)),st(h+"")||h==="auto"||(h+=Lt.units[m]||st(ba(e,m))||""),(h+"").charAt(1)==="="&&(h=ba(e,m))):h=ba(e,m),y=parseFloat(h),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),m in oa&&(m==="autoAlpha"&&(y===1&&ba(e,"visibility")==="hidden"&&p&&(y=0),A.push("visibility",0,l.visibility),$a(this,l,"visibility",y?"inherit":"hidden",p?"inherit":"hidden",!p)),m!=="scale"&&m!=="transform"&&(m=oa[m],~m.indexOf(",")&&(m=m.split(",")[0]))),b=m in Na,b){if(this.styles.save(m),M||(C=e._gsap,C.renderTransform&&!r.parseTransform||Bc(e,r.parseTransform),N=r.smoothOrigin!==!1&&C.smooth,M=this._pt=new kt(this._pt,l,He,0,1,C.renderTransform,C,0,-1),M.dep=1),m==="scale")this._pt=new kt(this._pt,C,"scaleY",C.scaleY,(w?_s(C.scaleY,w+p):p)-C.scaleY||0,WC),this._pt.u=0,c.push("scaleY",m),m+="X";else if(m==="transformOrigin"){A.push(gt,0,l[gt]),u=cD(u),C.svg?JC(e,u,0,N,0,this):(v=parseFloat(u.split(" ")[2])||0,v!==C.zOrigin&&$a(this,C,"zOrigin",C.zOrigin,v),$a(this,l,m,m9(h),m9(u)));continue}else if(m==="svgOrigin"){JC(e,u,1,N,0,this);continue}else if(m in bN){uD(this,C,m,y,w?_s(y,w+u):u);continue}else if(m==="smoothOrigin"){$a(this,C,"smooth",C.smooth,u);continue}else if(m==="force3D"){C[m]=u;continue}else if(m==="transform"){pD(this,u,e);continue}}else m in l||(m=Bs(m)||m);if(b||(p||p===0)&&(y||y===0)&&!Zq.test(u)&&m in l)x=(h+"").substr((y+"").length),p||(p=0),v=st(u)||(m in Lt.units?Lt.units[m]:x),x!==v&&(y=Qa(e,m,h,v)),this._pt=new kt(this._pt,b?C:l,m,y,(w?_s(y,w+p):p)-y,!b&&(v==="px"||m==="zIndex")&&r.autoRound!==!1?Yq:WC),this._pt.u=v||0,x!==v&&v!=="%"&&(this._pt.b=h,this._pt.r=Jq);else if(m in l)sD.call(this,e,m,h,w?w+u:u);else if(m in e)this.add(e,m,h||e[m],w?w+u:u,o,i);else if(m!=="parseTransform"){vj(m,u);continue}b||(m in l?A.push(m,0,l[m]):A.push(m,1,h||e[m])),c.push(m)}}L&&yN(this)},render:function(e,r){if(r.tween._time||!Aj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:ba,aliases:oa,getSetter:function(e,r,n){var o=oa[r];return o&&o.indexOf(",")<0&&(r=o),r in Na&&r!==gt&&(e._gsap.x||ba(e,"x"))?n&&HS===n?r==="scale"?tD:eD:(HS=n||{})&&(r==="scale"?aD:rD):e.style&&!xj(e.style[r])?Kq:~r.indexOf("-")?Qq:Lj(e,r)},core:{_removeProperty:Yi,_getMatrix:_j}};vt.utils.checkPrefix=Bs;vt.core.getStyleSaver=gN;(function(t,e,r,n){var o=xt(t+","+e+","+r,function(i){Na[i]=1});xt(e,function(i){Lt.units[i]="deg",bN[i]=1}),oa[o[13]]=t+","+e,xt(n,function(i){var c=i.split(":");oa[c[1]]=o[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");xt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Lt.units[t]="px"});vt.registerPlugin(SN);var LN=vt.registerPlugin(SN)||vt;LN.core.Tween;function Rj(t){return YT[t]||Ha}function IN({advantages:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>{const i=Rj(n.icon);return a.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[a.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?a.jsx("div",{className:"mt-auto",children:a.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,a.jsx(xs,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},o)})})]})})}function yD({title:t="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:o="Message",namePlaceholder:i="Your full name",emailPlaceholder:c="you@example.com",messagePlaceholder:l="How can we help?",submitButtonLabel:d="Send Message",contactEmail:h="contact@globalenglish.com",contactPhone:u="+1 (555) 123-4567",contactMessage:p="Live chat available 24/7",onSubmit:y,showContactDetails:f=!0}){const k=m=>{m.preventDefault();const x=new FormData(m.currentTarget);y==null||y({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.get("message")??"")})};return a.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[a.jsxs("form",{className:"space-y-6",onSubmit:k,children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),a.jsx("input",{type:"text",id:"name",name:"name",placeholder:i,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),a.jsx("input",{type:"email",id:"email",name:"email",placeholder:c,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:o}),a.jsx("textarea",{id:"message",name:"message",rows:4,placeholder:l,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),f&&a.jsxs("div",{className:"mt-12 space-y-4",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(ca,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:h})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ui,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:u})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ss,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:p})]})]})]})]})})}const NN=S.createContext(void 0);function mD({children:t}){const[e,r]=S.useState([]),[n,o]=S.useState(!1),i=S.useCallback(u=>{r(p=>p.find(f=>f.id===u.id)?p.map(f=>f.id===u.id?{...f,quantity:f.quantity+1}:f):[...p,{...u,quantity:1}]),o(!0)},[]),c=S.useCallback(u=>{r(p=>p.filter(y=>y.id!==u))},[]),l=S.useCallback((u,p)=>{r(y=>y.map(f=>f.id===u?{...f,quantity:Math.max(0,p)}:f))},[]),d=S.useCallback(()=>{o(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return a.jsx(NN.Provider,{value:{items:e,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function AN(){const t=S.useContext(NN);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function PN({courses:t,title:e,description:r}){const{addItem:n}=AN();return a.jsx("section",{id:"courses",className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:t.map(o=>a.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:o.title}),a.jsxs("div",{className:"space-y-3 mb-6",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Zt,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.duration})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(La,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.type})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ic,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.level})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:o.description}),a.jsx("div",{className:"flex items-center justify-between mb-4",children:a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",o.price]})}),a.jsxs("button",{onClick:()=>n({id:o.id,name:o.title,price:o.price,duration:o.duration}),className:"w-full bg-yellow-600 text-white py-2 px-4 rounded-md hover:bg-yellow-700 transition-colors flex items-center justify-center space-x-2",children:[a.jsx(As,{className:"h-5 w-5"}),a.jsx("span",{children:"Add to Cart"})]})]},o.id))})]})})}function _N({destinations:t,title:e,description:r}){const[n,o]=S.useState(0),[i,c]=S.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=S.useState(l());S.useEffect(()=>{const f=()=>{h(l())};return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[]),S.useEffect(()=>{let f;return i&&(f=setInterval(()=>{o(k=>(k+1)%(t.length-d+1))},5e3)),()=>clearInterval(f)},[i]);const u=()=>{o(f=>Math.max(0,f-1)),c(!1)},p=()=>{o(f=>Math.min(t.length-d,f+1)),c(!1)},y=t.slice(n,n+d);return a.jsx("section",{id:"destinations",className:"py-20",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsxs("div",{className:"mt-16 relative",children:[a.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:y.map((f,k)=>a.jsxs("div",{className:"w-full md:w-1/2 lg:w-1/4 relative group overflow-hidden rounded-lg shadow-lg hover:shadow-xl transition-all",children:[a.jsx("img",{src:f.image,alt:f.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:a.jsxs("div",{className:"absolute bottom-0 p-6",children:[a.jsxs("div",{className:"flex items-center text-white mb-2",children:[a.jsx(Et,{className:"h-5 w-5 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold",children:f.name})]}),a.jsx("p",{className:"text-white/90 text-sm",children:f.description})]})})]},n+k))}),a.jsx("button",{onClick:u,disabled:n===0,className:`absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n===0?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Vi,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:p,disabled:n>=t.length-d,className:`absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n>=t.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Wa,{className:"h-6 w-6 text-gray-800"})})]}),a.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(t.length/d)}).map((f,k)=>a.jsx("button",{onClick:()=>{o(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const fD=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function xD({title:t="GlobalEnglish",navItems:e=fD,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:o=a.jsx(Ms,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:i=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=S.useState(i),p=c??h,y=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},f=k=>a.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return a.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex items-center",children:[o,a.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:t})]}),a.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(f),a.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),a.jsx("div",{className:"md:hidden flex items-center",children:a.jsx("button",{onClick:y,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?a.jsx(Xt,{className:"h-6 w-6"}):a.jsx(js,{className:"h-6 w-6"})})})]})}),p&&a.jsx("div",{className:"md:hidden",children:a.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>a.jsx("a",{href:k.href,onClick:()=>{var m;(m=k.onClick)==null||m.call(k),y()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),a.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function RN({title:t,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:o,secondary_btn_text:i,secondary_btn_link:c}){return a.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[a.jsx("div",{className:"absolute inset-0",children:a.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),a.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[a.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:t}),a.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[o&&n?a.jsxs("a",{href:o,className:"inline-flex items-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-yellow-600 bg-white hover:bg-gray-50",children:[n,a.jsx(xs,{className:"ml-2 h-5 w-5"})]}):"",c&&i?a.jsx("a",{href:c,className:"inline-flex items-center px-8 py-3 border border-white text-base font-medium rounded-md text-white hover:bg-yellow-700",children:i}):""]})]})]})}function TN({title:t,description:e,services:r}){return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,o)=>{const i=Rj(n.icon);return a.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[a.jsxs("div",{className:"text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},o)})})]})})}function qN({testimonials:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[a.jsx("div",{className:"absolute -top-4 -left-4",children:a.jsx(Ls,{className:"h-8 w-8 text-yellow-600"})}),a.jsxs("div",{className:"flex items-center mb-6",children:[a.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),a.jsxs("div",{className:"ml-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),a.jsx("p",{className:"text-gray-600",children:n.from})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),a.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((i,c)=>a.jsx(qt,{className:"h-5 w-5 fill-current"},c))})]},o))})]})})}function DN({videos:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative group",children:[a.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[a.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:a.jsx(Cc,{className:"h-8 w-8 text-yellow-600"})})})}),a.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),a.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},o))})]})})}function zN({features:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-24",children:t.map((n,o)=>a.jsxs("div",{className:`flex flex-col gap-8 items-center ${o%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[a.jsx("div",{className:"w-full lg:w-1/2",children:a.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:a.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),a.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),a.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),a.jsx("button",{className:"mt-8 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-yellow-600 hover:bg-yellow-700 transition-colors",children:"Learn More"})]})]},o))})]})})}function FN({faqs:t,title:e,description:r}){const[n,o]=S.useState(null),i=c=>{o(l=>l===c?null:c)};return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-4",children:t.map((c,l)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[a.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>i(l),children:[a.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?a.jsx(pc,{className:"h-5 w-5 text-gray-500"}):a.jsx(Hi,{className:"h-5 w-5 text-gray-500"})]}),a.jsx("div",{className:`px-6 overflow-hidden transition-all duration-300 ease-in-out ${n===l?"max-h-96 py-4":"max-h-0"}`,children:a.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function kD({images:t,autoPlayInterval:e=5e3}){const[r,n]=S.useState(0);S.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%t.length)},e);return()=>clearInterval(l)},[t.length,e]);const o=l=>{n(l)},i=()=>{n(l=>(l-1+t.length)%t.length)},c=()=>{n(l=>(l+1)%t.length)};return a.jsxs("div",{className:"relative w-full h-[600px] group",children:[a.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:t.map((l,d)=>a.jsxs("div",{className:`absolute w-full h-full transition-transform duration-500 ease-out ${d===r?"translate-x-0":"translate-x-full"}`,style:{transform:`translateX(${100*(d-r)}%)`},children:[a.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&a.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:a.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),a.jsx("button",{onClick:i,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Vi,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:c,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Wa,{className:"h-6 w-6 text-gray-800"})}),a.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:t.map((l,d)=>a.jsx("button",{onClick:()=>o(d),className:`w-2 h-2 rounded-full transition-all ${d===r?"bg-white w-4":"bg-white/50 hover:bg-white/80"}`},d))})]})}function EN({images:t,title:e,description:r,autoPlayInterval:n=5e3}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx(kD,{images:t,autoPlayInterval:n})]})})}function ON({initialMessages:t}){const[e,r]=S.useState(!1),[n,o]=S.useState(t),[i,c]=S.useState(""),l=d=>{if(d.preventDefault(),!i.trim())return;const h={text:i,isBot:!1,timestamp:new Date},u=["I'll help you find the perfect English course for your needs. Could you tell me your current English level?","That's a great question! Our courses are available in multiple locations. Would you like to know more about a specific destination?","We offer flexible course durations ranging from 2 weeks to 12 months. When would you like to start?","I can help you with visa requirements. Which country are you from?"],y={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};o(f=>[...f,h,y]),c("")};return a.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?a.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center text-white",children:[a.jsx(dc,{className:"h-6 w-6 mr-2"}),a.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),a.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:a.jsx(Xt,{className:"h-5 w-5"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>a.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:a.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[a.jsx("p",{className:"text-sm",children:d.text}),a.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),a.jsx("form",{onSubmit:l,className:"p-4 border-t",children:a.jsxs("div",{className:"flex space-x-2",children:[a.jsx("input",{type:"text",value:i,onChange:d=>c(d.target.value),placeholder:"Type your message...",className:"flex-1 border rounded-lg px-4 py-2 focus:outline-none focus:border-yellow-500"}),a.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Sc,{className:"h-5 w-5"})})]})})]}):a.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Ss,{className:"h-6 w-6"})})})}function HN({title:t="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:o="$",floatingButtonAriaLabel:i="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:y,total:f}=AN(),k=()=>{l==null||l(!h),u()};return h?a.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[a.jsx("h2",{className:"text-xl font-semibold",children:t}),a.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:a.jsx(Xt,{className:"h-6 w-6"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?a.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):a.jsx("div",{className:"space-y-4",children:d.map(m=>a.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:m.name}),a.jsx("p",{className:"text-sm text-gray-500",children:m.duration})]}),a.jsx("button",{onClick:()=>p(m.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${m.name}`,children:a.jsx(Nc,{className:"h-5 w-5"})})]}),a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>y(m.id,m.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${m.name}`,children:a.jsx(bc,{className:"h-4 w-4"})}),a.jsx("span",{className:"w-8 text-center",children:m.quantity}),a.jsx("button",{onClick:()=>y(m.id,m.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${m.name}`,children:a.jsx(jc,{className:"h-4 w-4"})})]}),a.jsxs("p",{className:"font-medium",children:[o,(m.price*m.quantity).toFixed(2)]})]})]},m.id))})}),a.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("span",{className:"font-medium",children:r}),a.jsxs("span",{className:"text-xl font-bold",children:[o,f.toFixed(2)]})]}),a.jsx("button",{className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-lg hover:bg-yellow-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:d.length===0,onClick:c,children:n})]})]}):a.jsx("button",{onClick:k,"aria-label":i,className:"fixed bottom-20 right-4 z-40 bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsxs("div",{className:"relative",children:[a.jsx(As,{className:"h-6 w-6"}),d.length>0&&a.jsx("span",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center",children:d.length})]})})}function VN({services:t,title:e,description:r,showBtn:n="Show",hideBtn:o="Hide",featuresBtn:i="Features"}){const[c,l]=S.useState(null),d=h=>{l(c===h?null:h)};return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:t.map((h,u)=>a.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),a.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),a.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:a.jsxs("div",{className:"mt-4 space-y-4",children:[a.jsx("p",{className:"text-gray-700",children:h.fullDescription}),a.jsxs("div",{className:"border-t pt-4",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:i}),a.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,y)=>a.jsxs("li",{className:"text-gray-600",children:["• ",p]},y))})]})]})}),a.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?o:n})]})},u))})]})})}function BN({courses:t=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:o="€",perDurationLabel:i="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,y=5-Math.ceil(h);return a.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((f,k)=>a.jsx(qt,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&a.jsxs("div",{className:"relative w-5 h-5",children:[a.jsx(qt,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),a.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:a.jsx(qt,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(y)].map((f,k)=>a.jsx(qt,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:t.map((d,h)=>a.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),a.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),a.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),a.jsxs("div",{className:"mb-4",children:[a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,o]}),a.jsxs("span",{className:"text-gray-600",children:["/",i]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),a.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const y=Rj(u.icon);return a.jsxs("div",{className:"flex items-center text-gray-700",children:[y?a.jsx(y,{className:"w-5 h-5"}):null,a.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?a.jsx("div",{className:"mt-8",children:a.jsx("a",{href:d.ctaLink,className:"w-full bg-black text-white py-3 px-6 rounded-lg hover:bg-gray-800 transition-colors",children:d.ctaText})}):""]},h))})]})})}const gD=[{title:"Asistencia con el Visado",shortDescription:"Orientación experta durante todo el proceso de solicitud de visado para tu experiencia de estudio en el extranjero.",fullDescription:"Nuestro equipo dedicado a soporte de visados ofrece asistencia integral durante todo el proceso de solicitud. Te ayudamos a comprender los requisitos, preparar la documentación y asegurarnos de que tu solicitud cumpla con todos los criterios necesarios.",features:["Preparación y verificación de documentos","Asistencia con el formulario de solicitud","Orientación para la preparación de entrevistas","Consulta sobre los requisitos del visado","Soporte de seguimiento","Asistencia de emergencia"]},{title:"Servicios de Alojamiento",shortDescription:"Encuentra tu hogar perfecto lejos de casa con nuestras opciones de alojamiento cuidadosamente seleccionadas.",fullDescription:"Ofrecemos una amplia variedad de opciones de alojamiento previamente inspeccionadas para adaptarse a cada preferencia y presupuesto. Nuestro equipo de vivienda inspecciona personalmente todas las propiedades para garantizar que cumplan con nuestros estándares de calidad.",features:["Alojamiento en familia local","Residencias estudiantiles","Apartamentos compartidos","Estudios privados","Opciones a corto y largo plazo","Todos los servicios incluidos"]},{title:"Selección en Cursos de Idiomas",shortDescription:"Selección de cursos personalizada para adaptarse a tus objetivos de aprendizaje y nivel de competencia actual.",fullDescription:"Nuestros asesores académicos trabajan contigo para crear un plan de estudio personalizado basado en tus metas, horario y nivel actual de inglés. Nos aseguramos de que estés en el curso adecuado para maximizar tu potencial de aprendizaje.",features:["Evaluación de nivel gratuita","Planes de estudio personalizados","Monitoreo regular del progreso","Opciones de horario flexibles","Cursos especializados disponibles","Preparación para certificaciones"]},{title:"Seguro para Estudiantes",shortDescription:"Cobertura de seguro integral para una experiencia de estudio sin preocupaciones en el extranjero.",fullDescription:"Colaboramos con proveedores de seguros líderes para ofrecer coberturas integrales diseñadas específicamente para estudiantes internacionales. Nuestros paquetes incluyen protección de salud, viajes y bienes personales.",features:["Cobertura de seguro médico","Seguro de viajes","Protección de bienes personales","Asistencia de emergencia","Línea de soporte 24/7","Facturación directa con hospitales"]},{title:"Programa de Integración Cultural",shortDescription:"Sumérgete en la cultura local con actividades y eventos organizados.",fullDescription:"Nuestro programa de integración cultural te ayuda a adaptarte a tu nuevo entorno y a aprovechar al máximo tu experiencia de estudio en el extranjero. Organizamos actividades regulares, eventos y excursiones para que explores y comprendas la cultura local.",features:["Actividades sociales semanales","Talleres culturales","Sistema de compañeros locales","Eventos de intercambio de idiomas","Recorridos por la ciudad y excursiones","Celebraciones de festivales"]},{title:"Soporte para el Desarrollo Profesional",shortDescription:"Mejora tus perspectivas profesionales con nuestros servicios integrales de desarrollo profesional.",fullDescription:"Nuestro equipo de desarrollo profesional brinda orientación y apoyo para ayudarte a alcanzar tus metas laborales. Desde la redacción de CV hasta la preparación para entrevistas, te ayudamos a prepararte para tu carrera futura.",features:["Redacción de CV y cartas de presentación","Preparación para entrevistas","Asistencia en la búsqueda de empleo","Eventos de networking","Talleres de la industria","Colocación en prácticas profesionales"]}],vD=[{icon:"Plane",title:"Visa Assistance",description:"Complete support with visa applications and documentation."},{icon:"Home",title:"Accommodation",description:"Find the perfect place to stay with our accommodation services."},{icon:"BookOpen",title:"Language Courses",description:"Comprehensive English courses for all levels."},{icon:"Shield",title:"Travel Insurance",description:"Stay protected with our travel insurance packages."},{icon:"Map",title:"Local Activities",description:"Explore the local culture with organized activities."},{icon:"Briefcase",title:"Job Opportunities",description:"Access to job markets and career guidance."}],wD=[{title:"Learn in World-Class Facilities",description:"Our modern campuses are equipped with state-of-the-art technology and comfortable learning spaces. Each classroom is designed to facilitate interactive learning with smart boards, multimedia equipment, and flexible seating arrangements. Students also have access to self-study areas, a library with extensive English learning resources, and comfortable student lounges.",image:"https://images.unsplash.com/photo-1592280771190-3e2e4d571952?auto=format&fit=crop&q=80",imageAlt:"Modern classroom facility"},{title:"Cultural Immersion Programs",description:"Go beyond traditional language learning with our immersive cultural programs. Participate in local events, join conversation clubs with native speakers, and engage in cultural workshops. Our programs include guided city tours, cooking classes featuring local cuisine, and regular social activities where you can practice English in real-world situations.",image:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&q=80",imageAlt:"Students engaging in cultural activities"},{title:"Career Development Support",description:"Launch your international career with our comprehensive career support services. We offer professional development workshops, CV writing assistance, and interview preparation in English. Our partnerships with local businesses provide internship opportunities, and our career counselors help you navigate the job market in English-speaking countries.",image:"https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&q=80",imageAlt:"Career counseling session"}],MD=[{icon:"Users",title:"Small Class Sizes",description:"Maximum of 12 students per class ensures personalized attention"},{icon:"Trophy",title:"Certified Teachers",description:"Native speakers with CELTA/DELTA qualifications"},{icon:"Calendar",title:"Flexible Schedule",description:"Morning, afternoon, and evening classes available"},{icon:"GraduationCap",title:"Recognized Certificates",description:"Internationally recognized certifications upon completion"},{icon:"Globe2",title:"Cultural Exchange",description:"Regular events and activities with international students"},{icon:"CheckCircle",title:"Job Support",description:"CV workshops and job placement assistance"}],bD=[{url:"https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80",alt:"Students studying together",caption:"Collaborative learning environment"},{url:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80",alt:"Modern campus library",caption:"State-of-the-art study facilities"},{url:"https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&q=80",alt:"Student accommodation",caption:"Comfortable student residences"},{url:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",alt:"Group activity",caption:"Engaging extracurricular activities"},{url:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",alt:"Student life",caption:"Vibrant campus community"}],CD=[{name:"London, UK",image:"https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80",description:"Study English in the heart of the UK with access to world-class institutions."},{name:"New York, USA",image:"https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?auto=format&fit=crop&q=80",description:"Experience American English while living in the most vibrant city in the world."},{name:"Sydney, Australia",image:"https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&q=80",description:"Combine English studies with an amazing lifestyle in beautiful Sydney."},{name:"Toronto, Canada",image:"https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&q=80",description:"Study in one of the most multicultural cities with excellent quality of life."},{name:"Dublin, Ireland",image:"https://images.unsplash.com/photo-1590089415225-401ed6f9db8e?auto=format&fit=crop&q=80",description:"Experience Irish hospitality while studying in this historic and vibrant city."},{name:"Vancouver, Canada",image:"https://images.unsplash.com/photo-1559511260-66a654ae982a?auto=format&fit=crop&q=80",description:"Study surrounded by stunning nature and a high quality of life."},{name:"Melbourne, Australia",image:"https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&q=80",description:"Join the world's most liveable city with excellent educational opportunities."},{name:"Edinburgh, UK",image:"https://images.unsplash.com/photo-1506377585622-bedcbb027afc?auto=format&fit=crop&q=80",description:"Study in Scotland's historic capital surrounded by stunning architecture."},{name:"San Francisco, USA",image:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?auto=format&fit=crop&q=80",description:"Learn English in the tech capital of the world."},{name:"Auckland, New Zealand",image:"https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&q=80",description:"Study in New Zealand's largest city surrounded by natural beauty."},{name:"Manchester, UK",image:"https://images.unsplash.com/photo-1519677100203-a0e668c92439?auto=format&fit=crop&q=80",description:"Experience northern English culture in this vibrant student city."},{name:"Boston, USA",image:"https://images.unsplash.com/photo-1501979376754-f1e8d89c7fe0?auto=format&fit=crop&q=80",description:"Study in America's premier educational hub."},{name:"Brisbane, Australia",image:"https://images.unsplash.com/photo-1452859030917-45a0de82ef4c?auto=format&fit=crop&q=80",description:"Enjoy subtropical climate while studying in this growing city."},{name:"Montreal, Canada",image:"https://images.unsplash.com/photo-1519178614-68673b201f36?auto=format&fit=crop&q=80",description:"Experience bilingual culture in this historic Canadian city."},{name:"Oxford, UK",image:"https://images.unsplash.com/photo-1590510616176-67c87a688639?auto=format&fit=crop&q=80",description:"Study in one of the world's most prestigious academic cities."},{name:"Seattle, USA",image:"https://images.unsplash.com/photo-1502175353174-a7a70e73b362?auto=format&fit=crop&q=80",description:"Learn English in the innovative Pacific Northwest."},{name:"Perth, Australia",image:"https://images.unsplash.com/photo-1573935448851-e0a5d7507f4e?auto=format&fit=crop&q=80",description:"Study in Australia's sunniest capital city."},{name:"Cambridge, UK",image:"https://images.unsplash.com/photo-1579619002916-88cd4c81a70c?auto=format&fit=crop&q=80",description:"Experience academic excellence in this historic university city."},{name:"Wellington, New Zealand",image:"https://images.unsplash.com/photo-1589871973318-9ca1258faa5d?auto=format&fit=crop&q=80",description:"Study in New Zealand's cultural capital."},{name:"Chicago, USA",image:"https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&q=80",description:"Experience American culture in the heart of the Midwest."}],jD=[{id:"1",title:"Intensive English",type:"in-person",duration:"4-12 weeks",level:"All levels",description:"Accelerated learning with focused daily classes.",price:1299},{id:"2",title:"Business English",type:"in-person",duration:"8-16 weeks",level:"Intermediate to Advanced",description:"Specialized English for professional environments.",price:1599},{id:"3",title:"Online Live Classes",type:"online",duration:"Flexible",level:"All levels",description:"Interactive online classes with expert teachers.",price:799},{id:"4",title:"IELTS Preparation",type:"in-person",duration:"12 weeks",level:"Intermediate to Advanced",description:"Comprehensive preparation for IELTS exam.",price:1499}],SD=[{thumbnail:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",title:"Campus Life in London",duration:"3:45",description:"Experience a day in the life of our London students"},{thumbnail:"https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&q=80",title:"Student Success Stories",duration:"5:20",description:"See how our students achieved their English learning goals"},{thumbnail:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",title:"Virtual Campus Tour",duration:"4:15",description:"Take a tour of our modern facilities and classrooms"}],LD=[{name:"Sarah Chen",from:"Singapore",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80",text:"The support I received from GlobalEnglish was exceptional. From visa assistance to finding accommodation, everything was handled professionally.",rating:5},{name:"Carlos Rodriguez",from:"Spain",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80",text:"The Business English course helped me secure a job at an international company. The teachers were experienced and the course material was practical.",rating:5},{name:"Maria Kowalski",from:"Poland",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80",text:"Studying in London through GlobalEnglish was a life-changing experience. The cultural immersion and quality of education exceeded my expectations.",rating:5}],ID=[{text:"👋 Hi! I'm here to help you with any questions about our English courses. How can I assist you today?",isBot:!0,timestamp:new Date}],ND=[{question:"What visa requirements are needed to study English abroad?",answer:"Requirements vary by destination. Generally, you'll need: a valid passport, proof of enrollment in an accredited language school, proof of sufficient funds (usually 3-6 months of living expenses), and health insurance. We provide comprehensive visa assistance to ensure a smooth application process."},{question:"How long are the English courses?",answer:"We offer flexible course durations ranging from 2 weeks to 12 months. Intensive courses typically run for 4-12 weeks, while standard courses can be taken for any duration. Business English and exam preparation courses usually require a minimum commitment of 8-12 weeks for optimal results."},{question:"What accommodation options are available?",answer:"We offer various accommodation options including: homestays with local families, student residences, shared apartments, and private studios. All options are carefully vetted and located within easy reach of our schools. Homestays are particularly popular for full language immersion."},{question:"Can I work while studying?",answer:"Work possibilities depend on your visa type and destination country. Many student visas allow part-time work (usually 20 hours per week). Our student services team can provide detailed information about work rights and help with job searching in your chosen destination."},{question:"What level of English do I need to start?",answer:"We accept students at all levels, from complete beginners to advanced speakers. Before starting, you'll take a placement test to ensure you're placed in the appropriate level. Our courses follow the Common European Framework of Reference (CEFR) from A1 to C2 levels."}],AD=[{title:"General English",rating:9.5,reviews:226,pricePerWeek:95,description:"Learn English at your own pace while making the most of your stay in Malta.",features:[{icon:"Clock",text:"20 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"Intensive English",rating:9.2,reviews:229,pricePerWeek:189,description:"For those who want to learn faster. Combine exclusive Speaking classes with your General English course.",features:[{icon:"Clock",text:"30 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"English 30+",rating:9.5,reviews:190,pricePerWeek:180,description:"For those who want to study with people of a similar age.",features:[{icon:"Clock",text:"20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 30 years onwards"}]},{title:"Business English",rating:9.2,reviews:195,pricePerWeek:190,description:"For those looking to boost their professional career and access job opportunities worldwide.",features:[{icon:"Clock",text:"10, 20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"Reduced groups"},{icon:"LineChart",text:"B1 level or higher"},{icon:"User",text:"From 18 years"}]}],PD=()=>(S.useEffect(()=>{LN.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),a.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[a.jsx(mD,{children:a.jsxs("div",{className:"min-h-screen bg-white",children:[a.jsx(xD,{}),a.jsx(RN,{title:"Estudia inglés en Malta: Vive, Aprende trabaja y Crece",subtitle:"Tu aventura comienza aquí: Te ayudamos con visado, viaje, estadía, trabajo y más para que aprendas inglés en Malta.",bg_img:"https://maltalovers.com/wp-content/uploads/2017/05/cropped-Valletta2-2.jpg",main_btn_text:"Explore Courses",main_btn_link:"#courses",secondary_btn_text:"View Destinations",secondary_btn_link:"#destinations"}),a.jsx(TN,{services:vD,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),a.jsx(VN,{services:gD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(IN,{advantages:MD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(zN,{features:wD,title:"Titulo",description:"description"}),a.jsx(BN,{courses:AD,title:"Test",description:"test"}),a.jsx(EN,{images:bD,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),a.jsx(_N,{destinations:CD,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),a.jsx(PN,{courses:jD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(DN,{videos:SD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(qN,{testimonials:LD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(FN,{faqs:ND,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(yD,{}),a.jsx(ON,{initialMessages:ID}),a.jsx(HN,{})]})}),a.jsx("footer",{className:"bg-gray-800 text-white py-8",children:a.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[a.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),a.jsxs("nav",{className:"flex justify-center space-x-6",children:[a.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),a.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),a.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function _D({title:t,icon:e,jobs:r,viewAllText:n,viewAllHref:o,apiUrl:i}){const[c,l]=S.useState(r||[]),[d,h]=S.useState(!r),[u,p]=S.useState(null);S.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const m=await fetch(i||"/api/featured-jobs");if(!m.ok)throw new Error(`Failed to fetch jobs: ${m.status}`);const x=await m.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(y())}finally{h(!1)}})()},[r,i]);const y=()=>{const f=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],m=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,v)=>({id:`mock-job-${v}`,title:k[v%k.length],company:f[v%f.length],companyLogo:`/logos/${f[v%f.length].toLowerCase()}.png`,location:m[v%m.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((f,k)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),a.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4 text-center",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[a.jsx("p",{children:u}),a.jsx($,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):a.jsx("section",{className:"py-16 bg-white",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&a.jsx("div",{children:e}),a.jsx("h2",{className:"text-2xl font-bold",children:t})]}),c.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(f=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:a.jsx("img",{src:f.companyLogo||"/placeholder.svg",alt:`${f.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold",children:f.title}),a.jsx("p",{className:"text-gray-600 text-sm",children:f.company})]})]}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[a.jsx(Et,{size:16}),a.jsx("span",{children:f.location})]}),a.jsx("div",{className:"text-green-600 font-medium mb-4",children:f.salary}),a.jsx($,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},f.id))}),a.jsx("div",{className:"mt-8 text-center",children:a.jsx($,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=o,children:n})})]}):a.jsx("div",{className:"text-center py-8",children:a.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function UN({title:t,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:o,secondaryButtonHref:i}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:t}),a.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx($,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),a.jsx($,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=i,children:o})]})]})})})}function $N({title:t,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:o="#",secondaryButtonText:i,secondaryButtonLink:c="#"}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:a.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[a.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[t," ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),a.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[a.jsxs("a",{href:o,className:`justify-center whitespace-nowrap text-sm transition-colors
|
|
7741
|
+
*/var OS,Ua,Rs,Nj,Ei,HS,Aj,Gq=function(){return typeof window<"u"},Na={},zi=180/Math.PI,Ts=Math.PI/180,ds=Math.atan2,VS=1e8,Pj=/([A-Z])/g,Wq=/(left|right|width|margin|padding|x)/i,Zq=/[\s,\(]\S/,oa={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},WC=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Xq=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Jq=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Yq=function(e,r){var n=r.s+r.c*e;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},fN=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},xN=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Kq=function(e,r,n){return e.style[r]=n},Qq=function(e,r,n){return e.style.setProperty(r,n)},eD=function(e,r,n){return e._gsap[r]=n},tD=function(e,r,n){return e._gsap.scaleX=e._gsap.scaleY=n},aD=function(e,r,n,o,i){var c=e._gsap;c.scaleX=c.scaleY=n,c.renderTransform(i,c)},rD=function(e,r,n,o,i){var c=e._gsap;c[r]=n,c.renderTransform(i,c)},He="transform",gt=He+"Origin",nD=function t(e,r){var n=this,o=this.target,i=o.style,c=o._gsap;if(e in Na&&i){if(this.tfm=this.tfm||{},e!=="transform")e=oa[e]||e,~e.indexOf(",")?e.split(",").forEach(function(l){return n.tfm[l]=ba(o,l)}):this.tfm[e]=c.x?c[e]:ba(o,e),e===gt&&(this.tfm.zOrigin=c.zOrigin);else return oa.transform.split(",").forEach(function(l){return t.call(n,l,r)});if(this.props.indexOf(He)>=0)return;c.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(gt,r,"")),e=He}(i||r)&&this.props.push(e,r,i[e])},kN=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},oD=function(){var e=this.props,r=this.target,n=r.style,o=r._gsap,i,c;for(i=0;i<e.length;i+=3)e[i+1]?r[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Pj,"-$1").toLowerCase());if(this.tfm){for(c in this.tfm)o[c]=this.tfm[c];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),i=Aj(),(!i||!i.isStart)&&!n[He]&&(kN(n),o.zOrigin&&n[gt]&&(n[gt]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},gN=function(e,r){var n={target:e,props:[],revert:oD,save:nD};return e._gsap||vt.core.getCache(e),r&&r.split(",").forEach(function(o){return n.save(o)}),n},vN,ZC=function(e,r){var n=Ua.createElementNS?Ua.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Ua.createElement(e);return n&&n.style?n:Ua.createElement(e)},la=function t(e,r,n){var o=getComputedStyle(e);return o[r]||o.getPropertyValue(r.replace(Pj,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&t(e,Bs(r)||r,1)||""},BS="O,Moz,ms,Ms,Webkit".split(","),Bs=function(e,r,n){var o=r||Ei,i=o.style,c=5;if(e in i&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);c--&&!(BS[c]+e in i););return c<0?null:(c===3?"ms":c>=0?BS[c]:"")+e},XC=function(){Gq()&&window.document&&(OS=window,Ua=OS.document,Rs=Ua.documentElement,Ei=ZC("div")||{style:{}},ZC("div"),He=Bs(He),gt=He+"Origin",Ei.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",vN=!!Bs("perspective"),Aj=vt.core.reverting,Nj=1)},hC=function t(e){var r=ZC("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,i=this.style.cssText,c;if(Rs.appendChild(r),r.appendChild(this),this.style.display="block",e)try{c=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(c=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Rs.removeChild(r),this.style.cssText=i,c},US=function(e,r){for(var n=r.length;n--;)if(e.hasAttribute(r[n]))return e.getAttribute(r[n])},wN=function(e){var r;try{r=e.getBBox()}catch{r=hC.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===hC||(r=hC.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+US(e,["x","cx","x1"])||0,y:+US(e,["y","cy","y1"])||0,width:0,height:0}:r},MN=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&wN(e))},Yi=function(e,r){if(r){var n=e.style,o;r in Na&&r!==gt&&(r=He),n.removeProperty?(o=r.substr(0,2),(o==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(o==="--"?r:r.replace(Pj,"-$1").toLowerCase())):n.removeAttribute(r)}},$a=function(e,r,n,o,i,c){var l=new kt(e._pt,r,n,0,1,c?xN:fN);return e._pt=l,l.b=o,l.e=i,e._props.push(n),l},$S={deg:1,rad:1,turn:1},iD={grid:1,flex:1},Qa=function t(e,r,n,o){var i=parseFloat(n)||0,c=(n+"").trim().substr((i+"").length)||"px",l=Ei.style,d=Wq.test(r),h=e.tagName.toLowerCase()==="svg",u=(h?"client":"offset")+(d?"Width":"Height"),p=100,y=o==="px",f=o==="%",k,m,x,v;if(o===c||!i||$S[o]||$S[c])return i;if(c!=="px"&&!y&&(i=t(e,r,n,"px")),v=e.getCTM&&MN(e),(f||c==="%")&&(Na[r]||~r.indexOf("adius")))return k=v?e.getBBox()[d?"width":"height"]:e[u],Ge(f?i/k*p:i/100*k);if(l[d?"width":"height"]=p+(y?c:o),m=~r.indexOf("adius")||o==="em"&&e.appendChild&&!h?e:e.parentNode,v&&(m=(e.ownerSVGElement||{}).parentNode),(!m||m===Ua||!m.appendChild)&&(m=Ua.body),x=m._gsap,x&&f&&x.width&&d&&x.time===jt.time&&!x.uncache)return Ge(i/x.width*p);if(f&&(r==="height"||r==="width")){var w=e.style[r];e.style[r]=p+o,k=e[u],w?e.style[r]=w:Yi(e,r)}else(f||c==="%")&&!iD[la(m,"display")]&&(l.position=la(e,"position")),m===e&&(l.position="static"),m.appendChild(Ei),k=Ei[u],m.removeChild(Ei),l.position="absolute";return d&&f&&(x=Gi(m),x.time=jt.time,x.width=m[u]),Ge(y?k*i/p:k&&i?p/k*i:0)},ba=function(e,r,n,o){var i;return Nj||XC(),r in oa&&r!=="transform"&&(r=oa[r],~r.indexOf(",")&&(r=r.split(",")[0])),Na[r]&&r!=="transform"?(i=Bc(e,o),i=r!=="transformOrigin"?i[r]:i.svg?i.origin:m9(la(e,gt))+" "+i.zOrigin+"px"):(i=e.style[r],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=y9[r]&&y9[r](e,r,n)||la(e,r)||FI(e,r)||(r==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?Qa(e,r,i,n)+n:i},sD=function(e,r,n,o){if(!n||n==="none"){var i=Bs(r,e,1),c=i&&la(e,i,1);c&&c!==n?(r=i,n=c):r==="borderColor"&&(n=la(e,"borderTopColor"))}var l=new kt(this._pt,e.style,r,0,1,pN),d=0,h=0,u,p,y,f,k,m,x,v,w,M,b,C;if(l.b=n,l.e=o,n+="",o+="",o==="auto"&&(m=e.style[r],e.style[r]=o,o=la(e,r)||o,m?e.style[r]=m:Yi(e,r)),u=[n,o],rN(u),n=u[0],o=u[1],y=n.match(ys)||[],C=o.match(ys)||[],C.length){for(;p=ys.exec(o);)x=p[0],w=o.substring(d,p.index),k?k=(k+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(k=1),x!==(m=y[h++]||"")&&(f=parseFloat(m)||0,b=m.substr((f+"").length),x.charAt(1)==="="&&(x=_s(f,x)+b),v=parseFloat(x),M=x.substr((v+"").length),d=ys.lastIndex-M.length,M||(M=M||Lt.units[r]||b,d===o.length&&(o+=M,l.e+=M)),b!==M&&(f=Qa(e,r,m,M)||0),l._pt={_next:l._pt,p:w||h===1?w:",",s:f,c:v-f,m:k&&k<4||r==="zIndex"?Math.round:0});l.c=d<o.length?o.substring(d,o.length):""}else l.r=r==="display"&&o==="none"?xN:fN;return _I.test(o)&&(l.e=0),this._pt=l,l},GS={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cD=function(e){var r=e.split(" "),n=r[0],o=r[1]||"50%";return(n==="top"||n==="bottom"||o==="left"||o==="right")&&(e=n,n=o,o=e),r[0]=GS[n]||n,r[1]=GS[o]||o,r.join(" ")},lD=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,o=n.style,i=r.u,c=n._gsap,l,d,h;if(i==="all"||i===!0)o.cssText="",d=1;else for(i=i.split(","),h=i.length;--h>-1;)l=i[h],Na[l]&&(d=1,l=l==="transformOrigin"?gt:He),Yi(n,l);d&&(Yi(n,He),c&&(c.svg&&n.removeAttribute("transform"),Bc(n,1),c.uncache=1,kN(o)))}},y9={clearProps:function(e,r,n,o,i){if(i.data!=="isFromStart"){var c=e._pt=new kt(e._pt,r,n,0,0,lD);return c.u=o,c.pr=-10,c.tween=i,e._props.push(n),1}}},Vc=[1,0,0,1,0,0],bN={},CN=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},WS=function(e){var r=la(e,He);return CN(r)?Vc:r.substr(7).match(PI).map(Ge)},_j=function(e,r){var n=e._gsap||Gi(e),o=e.style,i=WS(e),c,l,d,h;return n.svg&&e.getAttribute("transform")?(d=e.transform.baseVal.consolidate().matrix,i=[d.a,d.b,d.c,d.d,d.e,d.f],i.join(",")==="1,0,0,1,0,0"?Vc:i):(i===Vc&&!e.offsetParent&&e!==Rs&&!n.svg&&(d=o.display,o.display="block",c=e.parentNode,(!c||!e.offsetParent)&&(h=1,l=e.nextElementSibling,Rs.appendChild(e)),i=WS(e),d?o.display=d:Yi(e,"display"),h&&(l?c.insertBefore(e,l):c?c.appendChild(e):Rs.removeChild(e))),r&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},JC=function(e,r,n,o,i,c){var l=e._gsap,d=i||_j(e,!0),h=l.xOrigin||0,u=l.yOrigin||0,p=l.xOffset||0,y=l.yOffset||0,f=d[0],k=d[1],m=d[2],x=d[3],v=d[4],w=d[5],M=r.split(" "),b=parseFloat(M[0])||0,C=parseFloat(M[1])||0,I,L,A,N;n?d!==Vc&&(L=f*x-k*m)&&(A=b*(x/L)+C*(-m/L)+(m*w-x*v)/L,N=b*(-k/L)+C*(f/L)-(f*w-k*v)/L,b=A,C=N):(I=wN(e),b=I.x+(~M[0].indexOf("%")?b/100*I.width:b),C=I.y+(~(M[1]||M[0]).indexOf("%")?C/100*I.height:C)),o||o!==!1&&l.smooth?(v=b-h,w=C-u,l.xOffset=p+(v*f+w*m)-v,l.yOffset=y+(v*k+w*x)-w):l.xOffset=l.yOffset=0,l.xOrigin=b,l.yOrigin=C,l.smooth=!!o,l.origin=r,l.originIsAbsolute=!!n,e.style[gt]="0px 0px",c&&($a(c,l,"xOrigin",h,b),$a(c,l,"yOrigin",u,C),$a(c,l,"xOffset",p,l.xOffset),$a(c,l,"yOffset",y,l.yOffset)),e.setAttribute("data-svg-origin",b+" "+C)},Bc=function(e,r){var n=e._gsap||new sN(e);if("x"in n&&!r&&!n.uncache)return n;var o=e.style,i=n.scaleX<0,c="px",l="deg",d=getComputedStyle(e),h=la(e,gt)||"0",u,p,y,f,k,m,x,v,w,M,b,C,I,L,A,N,q,P,_,T,$,G,B,V,O,K,se,Q,Y,te,ae,he;return u=p=y=m=x=v=w=M=b=0,f=k=1,n.svg=!!(e.getCTM&&MN(e)),d.translate&&((d.translate!=="none"||d.scale!=="none"||d.rotate!=="none")&&(o[He]=(d.translate!=="none"?"translate3d("+(d.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(d.rotate!=="none"?"rotate("+d.rotate+") ":"")+(d.scale!=="none"?"scale("+d.scale.split(" ").join(",")+") ":"")+(d[He]!=="none"?d[He]:"")),o.scale=o.rotate=o.translate="none"),L=_j(e,n.svg),n.svg&&(n.uncache?(O=e.getBBox(),h=n.xOrigin-O.x+"px "+(n.yOrigin-O.y)+"px",V=""):V=!r&&e.getAttribute("data-svg-origin"),JC(e,V||h,!!V||n.originIsAbsolute,n.smooth!==!1,L)),C=n.xOrigin||0,I=n.yOrigin||0,L!==Vc&&(P=L[0],_=L[1],T=L[2],$=L[3],u=G=L[4],p=B=L[5],L.length===6?(f=Math.sqrt(P*P+_*_),k=Math.sqrt($*$+T*T),m=P||_?ds(_,P)*zi:0,w=T||$?ds(T,$)*zi+m:0,w&&(k*=Math.abs(Math.cos(w*Ts))),n.svg&&(u-=C-(C*P+I*T),p-=I-(C*_+I*$))):(he=L[6],te=L[7],se=L[8],Q=L[9],Y=L[10],ae=L[11],u=L[12],p=L[13],y=L[14],A=ds(he,Y),x=A*zi,A&&(N=Math.cos(-A),q=Math.sin(-A),V=G*N+se*q,O=B*N+Q*q,K=he*N+Y*q,se=G*-q+se*N,Q=B*-q+Q*N,Y=he*-q+Y*N,ae=te*-q+ae*N,G=V,B=O,he=K),A=ds(-T,Y),v=A*zi,A&&(N=Math.cos(-A),q=Math.sin(-A),V=P*N-se*q,O=_*N-Q*q,K=T*N-Y*q,ae=$*q+ae*N,P=V,_=O,T=K),A=ds(_,P),m=A*zi,A&&(N=Math.cos(A),q=Math.sin(A),V=P*N+_*q,O=G*N+B*q,_=_*N-P*q,B=B*N-G*q,P=V,G=O),x&&Math.abs(x)+Math.abs(m)>359.9&&(x=m=0,v=180-v),f=Ge(Math.sqrt(P*P+_*_+T*T)),k=Ge(Math.sqrt(B*B+he*he)),A=ds(G,B),w=Math.abs(A)>2e-4?A*zi:0,b=ae?1/(ae<0?-ae:ae):0),n.svg&&(V=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!CN(la(e,He)),V&&e.setAttribute("transform",V))),Math.abs(w)>90&&Math.abs(w)<270&&(i?(f*=-1,w+=m<=0?180:-180,m+=m<=0?180:-180):(k*=-1,w+=w<=0?180:-180)),r=r||n.uncache,n.x=u-((n.xPercent=u&&(!r&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+c,n.y=p-((n.yPercent=p&&(!r&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-p)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+c,n.z=y+c,n.scaleX=Ge(f),n.scaleY=Ge(k),n.rotation=Ge(m)+l,n.rotationX=Ge(x)+l,n.rotationY=Ge(v)+l,n.skewX=w+l,n.skewY=M+l,n.transformPerspective=b+c,(n.zOrigin=parseFloat(h.split(" ")[2])||!r&&n.zOrigin||0)&&(o[gt]=m9(h)),n.xOffset=n.yOffset=0,n.force3D=Lt.force3D,n.renderTransform=n.svg?hD:vN?jN:dD,n.uncache=0,n},m9=function(e){return(e=e.split(" "))[0]+" "+e[1]},uC=function(e,r,n){var o=st(r);return Ge(parseFloat(r)+parseFloat(Qa(e,"x",n+"px",o)))+o},dD=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,jN(e,r)},yr="0deg",oc="0px",mr=") ",jN=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.z,h=n.rotation,u=n.rotationY,p=n.rotationX,y=n.skewX,f=n.skewY,k=n.scaleX,m=n.scaleY,x=n.transformPerspective,v=n.force3D,w=n.target,M=n.zOrigin,b="",C=v==="auto"&&e&&e!==1||v===!0;if(M&&(p!==yr||u!==yr)){var I=parseFloat(u)*Ts,L=Math.sin(I),A=Math.cos(I),N;I=parseFloat(p)*Ts,N=Math.cos(I),c=uC(w,c,L*N*-M),l=uC(w,l,-Math.sin(I)*-M),d=uC(w,d,A*N*-M+M)}x!==oc&&(b+="perspective("+x+mr),(o||i)&&(b+="translate("+o+"%, "+i+"%) "),(C||c!==oc||l!==oc||d!==oc)&&(b+=d!==oc||C?"translate3d("+c+", "+l+", "+d+") ":"translate("+c+", "+l+mr),h!==yr&&(b+="rotate("+h+mr),u!==yr&&(b+="rotateY("+u+mr),p!==yr&&(b+="rotateX("+p+mr),(y!==yr||f!==yr)&&(b+="skew("+y+", "+f+mr),(k!==1||m!==1)&&(b+="scale("+k+", "+m+mr),w.style[He]=b||"translate(0, 0)"},hD=function(e,r){var n=r||this,o=n.xPercent,i=n.yPercent,c=n.x,l=n.y,d=n.rotation,h=n.skewX,u=n.skewY,p=n.scaleX,y=n.scaleY,f=n.target,k=n.xOrigin,m=n.yOrigin,x=n.xOffset,v=n.yOffset,w=n.forceCSS,M=parseFloat(c),b=parseFloat(l),C,I,L,A,N;d=parseFloat(d),h=parseFloat(h),u=parseFloat(u),u&&(u=parseFloat(u),h+=u,d+=u),d||h?(d*=Ts,h*=Ts,C=Math.cos(d)*p,I=Math.sin(d)*p,L=Math.sin(d-h)*-y,A=Math.cos(d-h)*y,h&&(u*=Ts,N=Math.tan(h-u),N=Math.sqrt(1+N*N),L*=N,A*=N,u&&(N=Math.tan(u),N=Math.sqrt(1+N*N),C*=N,I*=N)),C=Ge(C),I=Ge(I),L=Ge(L),A=Ge(A)):(C=p,A=y,I=L=0),(M&&!~(c+"").indexOf("px")||b&&!~(l+"").indexOf("px"))&&(M=Qa(f,"x",c,"px"),b=Qa(f,"y",l,"px")),(k||m||x||v)&&(M=Ge(M+k-(k*C+m*L)+x),b=Ge(b+m-(k*I+m*A)+v)),(o||i)&&(N=f.getBBox(),M=Ge(M+o/100*N.width),b=Ge(b+i/100*N.height)),N="matrix("+C+","+I+","+L+","+A+","+M+","+b+")",f.setAttribute("transform",N),w&&(f.style[He]=N)},uD=function(e,r,n,o,i){var c=360,l=at(i),d=parseFloat(i)*(l&&~i.indexOf("rad")?zi:1),h=d-o,u=o+h+"deg",p,y;return l&&(p=i.split("_")[1],p==="short"&&(h%=c,h!==h%(c/2)&&(h+=h<0?c:-c)),p==="cw"&&h<0?h=(h+c*VS)%c-~~(h/c)*c:p==="ccw"&&h>0&&(h=(h-c*VS)%c-~~(h/c)*c)),e._pt=y=new kt(e._pt,r,n,o,h,Xq),y.e=u,y.u="deg",e._props.push(n),y},ZS=function(e,r){for(var n in r)e[n]=r[n];return e},pD=function(e,r,n){var o=ZS({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",c=n.style,l,d,h,u,p,y,f,k;o.svg?(h=n.getAttribute("transform"),n.setAttribute("transform",""),c[He]=r,l=Bc(n,1),Yi(n,He),n.setAttribute("transform",h)):(h=getComputedStyle(n)[He],c[He]=r,l=Bc(n,1),c[He]=h);for(d in Na)h=o[d],u=l[d],h!==u&&i.indexOf(d)<0&&(f=st(h),k=st(u),p=f!==k?Qa(n,d,h,k):parseFloat(h),y=parseFloat(u),e._pt=new kt(e._pt,l,d,p,y-p,WC),e._pt.u=k||0,e._props.push(d));ZS(l,o)};xt("padding,margin,Width,Radius",function(t,e){var r="Top",n="Right",o="Bottom",i="Left",c=(e<3?[r,n,o,i]:[r+i,r+n,o+n,o+i]).map(function(l){return e<2?t+l:"border"+l+t});y9[e>1?"border"+t:t]=function(l,d,h,u,p){var y,f;if(arguments.length<4)return y=c.map(function(k){return ba(l,k,h)}),f=y.join(" "),f.split(y[0]).length===5?y[0]:f;y=(u+"").split(" "),f={},c.forEach(function(k,m){return f[k]=y[m]=y[m]||y[(m-1)/2|0]}),l.init(d,f,p)}});var SN={name:"css",register:XC,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,n,o,i){var c=this._props,l=e.style,d=n.vars.startAt,h,u,p,y,f,k,m,x,v,w,M,b,C,I,L,A;Nj||XC(),this.styles=this.styles||gN(e),A=this.styles.props,this.tween=n;for(m in r)if(m!=="autoRound"&&(u=r[m],!(Mt[m]&&cN(m,r,n,o,e,i)))){if(f=typeof u,k=y9[m],f==="function"&&(u=u.call(n,o,e,i),f=typeof u),f==="string"&&~u.indexOf("random(")&&(u=Ec(u)),k)k(this,e,m,u,n)&&(L=1);else if(m.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(m)+"").trim(),u+="",Ja.lastIndex=0,Ja.test(h)||(x=st(h),v=st(u)),v?x!==v&&(h=Qa(e,m,h,v)+v):x&&(u+=x),this.add(l,"setProperty",h,u,o,i,0,0,m),c.push(m),A.push(m,0,l[m]);else if(f!=="undefined"){if(d&&m in d?(h=typeof d[m]=="function"?d[m].call(n,o,e,i):d[m],at(h)&&~h.indexOf("random(")&&(h=Ec(h)),st(h+"")||h==="auto"||(h+=Lt.units[m]||st(ba(e,m))||""),(h+"").charAt(1)==="="&&(h=ba(e,m))):h=ba(e,m),y=parseFloat(h),w=f==="string"&&u.charAt(1)==="="&&u.substr(0,2),w&&(u=u.substr(2)),p=parseFloat(u),m in oa&&(m==="autoAlpha"&&(y===1&&ba(e,"visibility")==="hidden"&&p&&(y=0),A.push("visibility",0,l.visibility),$a(this,l,"visibility",y?"inherit":"hidden",p?"inherit":"hidden",!p)),m!=="scale"&&m!=="transform"&&(m=oa[m],~m.indexOf(",")&&(m=m.split(",")[0]))),M=m in Na,M){if(this.styles.save(m),b||(C=e._gsap,C.renderTransform&&!r.parseTransform||Bc(e,r.parseTransform),I=r.smoothOrigin!==!1&&C.smooth,b=this._pt=new kt(this._pt,l,He,0,1,C.renderTransform,C,0,-1),b.dep=1),m==="scale")this._pt=new kt(this._pt,C,"scaleY",C.scaleY,(w?_s(C.scaleY,w+p):p)-C.scaleY||0,WC),this._pt.u=0,c.push("scaleY",m),m+="X";else if(m==="transformOrigin"){A.push(gt,0,l[gt]),u=cD(u),C.svg?JC(e,u,0,I,0,this):(v=parseFloat(u.split(" ")[2])||0,v!==C.zOrigin&&$a(this,C,"zOrigin",C.zOrigin,v),$a(this,l,m,m9(h),m9(u)));continue}else if(m==="svgOrigin"){JC(e,u,1,I,0,this);continue}else if(m in bN){uD(this,C,m,y,w?_s(y,w+u):u);continue}else if(m==="smoothOrigin"){$a(this,C,"smooth",C.smooth,u);continue}else if(m==="force3D"){C[m]=u;continue}else if(m==="transform"){pD(this,u,e);continue}}else m in l||(m=Bs(m)||m);if(M||(p||p===0)&&(y||y===0)&&!Zq.test(u)&&m in l)x=(h+"").substr((y+"").length),p||(p=0),v=st(u)||(m in Lt.units?Lt.units[m]:x),x!==v&&(y=Qa(e,m,h,v)),this._pt=new kt(this._pt,M?C:l,m,y,(w?_s(y,w+p):p)-y,!M&&(v==="px"||m==="zIndex")&&r.autoRound!==!1?Yq:WC),this._pt.u=v||0,x!==v&&v!=="%"&&(this._pt.b=h,this._pt.r=Jq);else if(m in l)sD.call(this,e,m,h,w?w+u:u);else if(m in e)this.add(e,m,h||e[m],w?w+u:u,o,i);else if(m!=="parseTransform"){vj(m,u);continue}M||(m in l?A.push(m,0,l[m]):A.push(m,1,h||e[m])),c.push(m)}}L&&yN(this)},render:function(e,r){if(r.tween._time||!Aj())for(var n=r._pt;n;)n.r(e,n.d),n=n._next;else r.styles.revert()},get:ba,aliases:oa,getSetter:function(e,r,n){var o=oa[r];return o&&o.indexOf(",")<0&&(r=o),r in Na&&r!==gt&&(e._gsap.x||ba(e,"x"))?n&&HS===n?r==="scale"?tD:eD:(HS=n||{})&&(r==="scale"?aD:rD):e.style&&!xj(e.style[r])?Kq:~r.indexOf("-")?Qq:Lj(e,r)},core:{_removeProperty:Yi,_getMatrix:_j}};vt.utils.checkPrefix=Bs;vt.core.getStyleSaver=gN;(function(t,e,r,n){var o=xt(t+","+e+","+r,function(i){Na[i]=1});xt(e,function(i){Lt.units[i]="deg",bN[i]=1}),oa[o[13]]=t+","+e,xt(n,function(i){var c=i.split(":");oa[c[1]]=o[c[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");xt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Lt.units[t]="px"});vt.registerPlugin(SN);var LN=vt.registerPlugin(SN)||vt;LN.core.Tween;function Rj(t){return YT[t]||Ha}function IN({advantages:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gradient-to-b from-white to-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>{const i=Rj(n.icon);return a.jsxs("div",{className:"relative bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition-shadow flex flex-col",children:[a.jsxs("div",{className:"w-12 h-12 flex items-center justify-center bg-yellow-50 rounded-lg text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.description}),n.ctaLink&&n.ctaText?a.jsx("div",{className:"mt-auto",children:a.jsxs("a",{href:n.ctaLink,className:"inline-flex items-center text-yellow-600 hover:text-yellow-700 font-medium group",children:[n.ctaText,a.jsx(xs,{className:"ml-2 h-4 w-4 transform group-hover:translate-x-1 transition-transform"})]})}):""]},o)})})]})})}function yD({title:t="Get in Touch",description:e="Have questions? We're here to help you start your journey",nameLabel:r="Full Name",emailLabel:n="Email",messageLabel:o="Message",namePlaceholder:i="Your full name",emailPlaceholder:c="you@example.com",messagePlaceholder:l="How can we help?",submitButtonLabel:d="Send Message",contactEmail:h="contact@globalenglish.com",contactPhone:u="+1 (555) 123-4567",contactMessage:p="Live chat available 24/7",onSubmit:y,showContactDetails:f=!0}){const k=m=>{m.preventDefault();const x=new FormData(m.currentTarget);y==null||y({name:String(x.get("name")??""),email:String(x.get("email")??""),message:String(x.get("message")??"")})};return a.jsx("section",{id:"contact",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsxs("div",{className:"mt-16 max-w-lg mx-auto",children:[a.jsxs("form",{className:"space-y-6",onSubmit:k,children:[a.jsxs("div",{children:[a.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-700",children:r}),a.jsx("input",{type:"text",id:"name",name:"name",placeholder:i,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-700",children:n}),a.jsx("input",{type:"email",id:"email",name:"email",placeholder:c,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsxs("div",{children:[a.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-700",children:o}),a.jsx("textarea",{id:"message",name:"message",rows:4,placeholder:l,className:"mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-yellow-500 focus:ring-blue-500"})]}),a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-md hover:bg-yellow-700 transition-colors",children:d})]}),f&&a.jsxs("div",{className:"mt-12 space-y-4",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(ca,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:h})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ui,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:u})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ss,{className:"h-6 w-6 mr-3"}),a.jsx("span",{children:p})]})]})]})]})})}const NN=S.createContext(void 0);function mD({children:t}){const[e,r]=S.useState([]),[n,o]=S.useState(!1),i=S.useCallback(u=>{r(p=>p.find(f=>f.id===u.id)?p.map(f=>f.id===u.id?{...f,quantity:f.quantity+1}:f):[...p,{...u,quantity:1}]),o(!0)},[]),c=S.useCallback(u=>{r(p=>p.filter(y=>y.id!==u))},[]),l=S.useCallback((u,p)=>{r(y=>y.map(f=>f.id===u?{...f,quantity:Math.max(0,p)}:f))},[]),d=S.useCallback(()=>{o(u=>!u)},[]),h=e.reduce((u,p)=>u+p.price*p.quantity,0);return a.jsx(NN.Provider,{value:{items:e,isOpen:n,addItem:i,removeItem:c,updateQuantity:l,toggleCart:d,total:h},children:t})}function AN(){const t=S.useContext(NN);if(t===void 0)throw new Error("useCart must be used within a CartProvider");return t}function PN({courses:t,title:e,description:r}){const{addItem:n}=AN();return a.jsx("section",{id:"courses",className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-4",children:t.map(o=>a.jsxs("div",{className:"bg-white border border-gray-200 rounded-lg p-6 hover:border-yellow-500 transition-colors",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-4",children:o.title}),a.jsxs("div",{className:"space-y-3 mb-6",children:[a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Zt,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.duration})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(La,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.type})]}),a.jsxs("div",{className:"flex items-center text-gray-600",children:[a.jsx(Ic,{className:"h-5 w-5 mr-2"}),a.jsx("span",{children:o.level})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:o.description}),a.jsx("div",{className:"flex items-center justify-between mb-4",children:a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:["$",o.price]})}),a.jsxs("button",{onClick:()=>n({id:o.id,name:o.title,price:o.price,duration:o.duration}),className:"w-full bg-yellow-600 text-white py-2 px-4 rounded-md hover:bg-yellow-700 transition-colors flex items-center justify-center space-x-2",children:[a.jsx(As,{className:"h-5 w-5"}),a.jsx("span",{children:"Add to Cart"})]})]},o.id))})]})})}function _N({destinations:t,title:e,description:r}){const[n,o]=S.useState(0),[i,c]=S.useState(!0),l=()=>typeof window<"u"?window.innerWidth<640?1:window.innerWidth<1024?2:4:4,[d,h]=S.useState(l());S.useEffect(()=>{const f=()=>{h(l())};return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[]),S.useEffect(()=>{let f;return i&&(f=setInterval(()=>{o(k=>(k+1)%(t.length-d+1))},5e3)),()=>clearInterval(f)},[i]);const u=()=>{o(f=>Math.max(0,f-1)),c(!1)},p=()=>{o(f=>Math.min(t.length-d,f+1)),c(!1)},y=t.slice(n,n+d);return a.jsx("section",{id:"destinations",className:"py-20",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsxs("div",{className:"mt-16 relative",children:[a.jsx("div",{className:"flex gap-4 md:gap-6 lg:gap-8",children:y.map((f,k)=>a.jsxs("div",{className:"w-full md:w-1/2 lg:w-1/4 relative group overflow-hidden rounded-lg shadow-lg hover:shadow-xl transition-all",children:[a.jsx("img",{src:f.image,alt:f.name,className:"w-full h-64 object-cover group-hover:scale-110 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent",children:a.jsxs("div",{className:"absolute bottom-0 p-6",children:[a.jsxs("div",{className:"flex items-center text-white mb-2",children:[a.jsx(Et,{className:"h-5 w-5 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold",children:f.name})]}),a.jsx("p",{className:"text-white/90 text-sm",children:f.description})]})})]},n+k))}),a.jsx("button",{onClick:u,disabled:n===0,className:`absolute left-0 top-1/2 -translate-y-1/2 -translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n===0?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Vi,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:p,disabled:n>=t.length-d,className:`absolute right-0 top-1/2 -translate-y-1/2 translate-x-4 bg-white/90 p-2 rounded-full shadow-lg transition-opacity ${n>=t.length-d?"opacity-50 cursor-not-allowed":"hover:bg-white"}`,children:a.jsx(Wa,{className:"h-6 w-6 text-gray-800"})})]}),a.jsx("div",{className:"flex justify-center mt-8 space-x-2",children:Array.from({length:Math.ceil(t.length/d)}).map((f,k)=>a.jsx("button",{onClick:()=>{o(k*d),c(!1)},className:`w-2 h-2 rounded-full transition-all ${Math.floor(n/d)===k?"bg-yellow-600 w-4":"bg-gray-300 hover:bg-gray-400"}`},k))})]})})}const fD=[{label:"Destinations",href:"#destinations"},{label:"Courses",href:"#courses"},{label:"Services",href:"#services"}];function xD({title:t="GlobalEnglish",navItems:e=fD,ctaLabel:r="Contact Us",ctaHref:n="#contact",brandIcon:o=a.jsx(Ms,{className:"h-8 w-8 text-yellow-600"}),defaultOpen:i=!1,isOpen:c,onToggleMenu:l,menuButtonAriaLabel:d="Toggle navigation"}){const[h,u]=S.useState(i),p=c??h,y=()=>{const k=!p;c===void 0&&u(k),l==null||l(k)},f=k=>a.jsx("a",{href:k.href,onClick:k.onClick,className:"text-gray-600 hover:text-yellow-600",children:k.label},k.label);return a.jsxs("nav",{className:"bg-white shadow-lg fixed w-full z-50",children:[a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex items-center",children:[o,a.jsx("span",{className:"ml-2 text-xl font-bold text-gray-800",children:t})]}),a.jsxs("div",{className:"hidden md:flex items-center space-x-8",children:[e.map(f),a.jsx("a",{href:n,className:"bg-yellow-600 text-white px-4 py-2 rounded-md hover:bg-yellow-700",children:r})]}),a.jsx("div",{className:"md:hidden flex items-center",children:a.jsx("button",{onClick:y,className:"text-gray-600 hover:text-gray-900 focus:outline-none","aria-label":d,children:p?a.jsx(Xt,{className:"h-6 w-6"}):a.jsx(js,{className:"h-6 w-6"})})})]})}),p&&a.jsx("div",{className:"md:hidden",children:a.jsxs("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[e.map(k=>a.jsx("a",{href:k.href,onClick:()=>{var m;(m=k.onClick)==null||m.call(k),y()},className:"block px-3 py-2 text-gray-600 hover:text-yellow-600",children:k.label},k.label)),a.jsx("a",{href:n,className:"block px-3 py-2 text-yellow-600 font-medium",children:r})]})})]})}function RN({title:t,subtitle:e,bg_img:r,main_btn_text:n,main_btn_link:o,secondary_btn_text:i,secondary_btn_link:c}){return a.jsxs("div",{className:"relative bg-yellow-600 h-screen flex items-center justify-center",children:[a.jsx("div",{className:"absolute inset-0",children:a.jsx("img",{src:r,alt:"Students studying",className:"w-full h-full object-cover opacity-20"})}),a.jsxs("div",{className:"relative max-w-7xl mx-auto py-24 px-4 sm:py-32 sm:px-6 lg:px-8",children:[a.jsx("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-8",children:t}),a.jsx("p",{className:"text-xl text-white mb-12 max-w-3xl",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[o&&n?a.jsxs("a",{href:o,className:"inline-flex items-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-yellow-600 bg-white hover:bg-gray-50",children:[n,a.jsx(xs,{className:"ml-2 h-5 w-5"})]}):"",c&&i?a.jsx("a",{href:c,className:"inline-flex items-center px-8 py-3 border border-white text-base font-medium rounded-md text-white hover:bg-yellow-700",children:i}):""]})]})]})}function TN({title:t,description:e,services:r}){return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:t}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:e})]}),a.jsx("div",{className:"mt-20 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:r.map((n,o)=>{const i=Rj(n.icon);return a.jsxs("div",{className:"relative group bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-all",children:[a.jsxs("div",{className:"text-yellow-600 mb-4",children:[i?a.jsx(i,{className:"h-8 w-8"}):null," "]}),a.jsx("h3",{className:"text-lg font-medium text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-500",children:n.description})]},o)})})]})})}function qN({testimonials:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative bg-white p-8 rounded-xl shadow-lg",children:[a.jsx("div",{className:"absolute -top-4 -left-4",children:a.jsx(Ls,{className:"h-8 w-8 text-yellow-600"})}),a.jsxs("div",{className:"flex items-center mb-6",children:[a.jsx("img",{src:n.image,alt:n.name,className:"h-14 w-14 rounded-full object-cover"}),a.jsxs("div",{className:"ml-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:n.name}),a.jsx("p",{className:"text-gray-600",children:n.from})]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:n.text}),a.jsx("div",{className:"flex text-yellow-400",children:[...Array(n.rating)].map((i,c)=>a.jsx(qt,{className:"h-5 w-5 fill-current"},c))})]},o))})]})})}function DN({videos:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3",children:t.map((n,o)=>a.jsxs("div",{className:"relative group",children:[a.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[a.jsx("img",{src:n.thumbnail,alt:n.title,className:"w-full h-64 object-cover group-hover:scale-105 transition-transform duration-300"}),a.jsx("div",{className:"absolute inset-0 bg-black/40 group-hover:bg-black/50 transition-colors",children:a.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:a.jsx("button",{className:"bg-white/90 p-4 rounded-full group-hover:bg-white transition-colors",children:a.jsx(Cc,{className:"h-8 w-8 text-yellow-600"})})})}),a.jsx("div",{className:"absolute bottom-4 right-4 bg-black/70 px-2 py-1 rounded text-white text-sm",children:n.duration})]}),a.jsx("h3",{className:"mt-4 text-xl font-semibold text-gray-900",children:n.title}),a.jsx("p",{className:"mt-2 text-gray-600",children:n.description})]},o))})]})})}function zN({features:t,title:e,description:r}){return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-24",children:t.map((n,o)=>a.jsxs("div",{className:`flex flex-col gap-8 items-center ${o%2===0?"lg:flex-row":"lg:flex-row-reverse"}`,children:[a.jsx("div",{className:"w-full lg:w-1/2",children:a.jsx("div",{className:"relative h-[400px] overflow-hidden rounded-xl shadow-lg",children:a.jsx("img",{src:n.image,alt:n.imageAlt,className:"absolute inset-0 w-full h-full object-cover"})})}),a.jsxs("div",{className:"w-full lg:w-1/2 lg:px-8",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:n.title}),a.jsx("p",{className:"text-lg text-gray-600 leading-relaxed",children:n.description}),a.jsx("button",{className:"mt-8 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-yellow-600 hover:bg-yellow-700 transition-colors",children:"Learn More"})]})]},o))})]})})}function FN({faqs:t,title:e,description:r}){const[n,o]=S.useState(null),i=c=>{o(l=>l===c?null:c)};return a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"space-y-4",children:t.map((c,l)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:[a.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between bg-white hover:bg-gray-50 transition-colors",onClick:()=>i(l),children:[a.jsx("span",{className:"text-lg font-medium text-gray-900 text-left",children:c.question}),n===l?a.jsx(pc,{className:"h-5 w-5 text-gray-500"}):a.jsx(Hi,{className:"h-5 w-5 text-gray-500"})]}),a.jsx("div",{className:`px-6 overflow-hidden transition-all duration-300 ease-in-out ${n===l?"max-h-96 py-4":"max-h-0"}`,children:a.jsx("p",{className:"text-gray-600 leading-relaxed",children:c.answer})})]},l))})]})})}function kD({images:t,autoPlayInterval:e=5e3}){const[r,n]=S.useState(0);S.useEffect(()=>{const l=setInterval(()=>{n(d=>(d+1)%t.length)},e);return()=>clearInterval(l)},[t.length,e]);const o=l=>{n(l)},i=()=>{n(l=>(l-1+t.length)%t.length)},c=()=>{n(l=>(l+1)%t.length)};return a.jsxs("div",{className:"relative w-full h-[600px] group",children:[a.jsx("div",{className:"relative h-full overflow-hidden rounded-xl",children:t.map((l,d)=>a.jsxs("div",{className:`absolute w-full h-full transition-transform duration-500 ease-out ${d===r?"translate-x-0":"translate-x-full"}`,style:{transform:`translateX(${100*(d-r)}%)`},children:[a.jsx("img",{src:l.url,alt:l.alt,className:"absolute w-full h-full object-cover"}),l.caption&&a.jsx("div",{className:"absolute bottom-0 left-0 right-0 bg-black/50 text-white p-4",children:a.jsx("p",{className:"text-lg",children:l.caption})})]},d))}),a.jsx("button",{onClick:i,className:"absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Vi,{className:"h-6 w-6 text-gray-800"})}),a.jsx("button",{onClick:c,className:"absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white p-2 rounded-full shadow-lg opacity-0 group-hover:opacity-100 transition-opacity",children:a.jsx(Wa,{className:"h-6 w-6 text-gray-800"})}),a.jsx("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 flex space-x-2",children:t.map((l,d)=>a.jsx("button",{onClick:()=>o(d),className:`w-2 h-2 rounded-full transition-all ${d===r?"bg-white w-4":"bg-white/50 hover:bg-white/80"}`},d))})]})}function EN({images:t,title:e,description:r,autoPlayInterval:n=5e3}){return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-12",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx(kD,{images:t,autoPlayInterval:n})]})})}function ON({initialMessages:t}){const[e,r]=S.useState(!1),[n,o]=S.useState(t),[i,c]=S.useState(""),l=d=>{if(d.preventDefault(),!i.trim())return;const h={text:i,isBot:!1,timestamp:new Date},u=["I'll help you find the perfect English course for your needs. Could you tell me your current English level?","That's a great question! Our courses are available in multiple locations. Would you like to know more about a specific destination?","We offer flexible course durations ranging from 2 weeks to 12 months. When would you like to start?","I can help you with visa requirements. Which country are you from?"],y={text:u[Math.floor(Math.random()*u.length)],isBot:!0,timestamp:new Date};o(f=>[...f,h,y]),c("")};return a.jsx("div",{className:"fixed bottom-4 right-4 z-50",children:e?a.jsxs("div",{className:"bg-white rounded-lg shadow-xl w-96 max-h-[600px] flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 rounded-t-lg flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center text-white",children:[a.jsx(dc,{className:"h-6 w-6 mr-2"}),a.jsx("span",{className:"font-medium",children:"GlobalEnglish Assistant"})]}),a.jsx("button",{onClick:()=>r(!1),className:"text-white hover:text-gray-200 transition-colors",children:a.jsx(Xt,{className:"h-5 w-5"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:n.map((d,h)=>a.jsx("div",{className:`flex ${d.isBot?"justify-start":"justify-end"}`,children:a.jsxs("div",{className:`max-w-[80%] rounded-lg p-3 ${d.isBot?"bg-gray-100 text-gray-800":"bg-yellow-600 text-white"}`,children:[a.jsx("p",{className:"text-sm",children:d.text}),a.jsx("span",{className:"text-xs opacity-75 mt-1 block",children:d.timestamp.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})})]})},h))}),a.jsx("form",{onSubmit:l,className:"p-4 border-t",children:a.jsxs("div",{className:"flex space-x-2",children:[a.jsx("input",{type:"text",value:i,onChange:d=>c(d.target.value),placeholder:"Type your message...",className:"flex-1 border rounded-lg px-4 py-2 focus:outline-none focus:border-yellow-500"}),a.jsx("button",{type:"submit",className:"bg-yellow-600 text-white p-2 rounded-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Sc,{className:"h-5 w-5"})})]})})]}):a.jsx("button",{onClick:()=>r(!0),className:"bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsx(Ss,{className:"h-6 w-6"})})})}function HN({title:t="Your Cart",emptyMessage:e="Your cart is empty",totalLabel:r="Total:",checkoutButtonLabel:n="Proceed to Checkout",currencySymbol:o="$",floatingButtonAriaLabel:i="Toggle cart",onCheckout:c,onToggleCart:l}){const{items:d,isOpen:h,toggleCart:u,removeItem:p,updateQuantity:y,total:f}=AN(),k=()=>{l==null||l(!h),u()};return h?a.jsxs("div",{className:"fixed right-0 top-0 h-full w-96 bg-white shadow-xl z-50 flex flex-col",children:[a.jsxs("div",{className:"p-4 bg-yellow-600 text-white flex justify-between items-center",children:[a.jsx("h2",{className:"text-xl font-semibold",children:t}),a.jsx("button",{onClick:k,className:"text-white hover:text-gray-200 transition-colors","aria-label":i,children:a.jsx(Xt,{className:"h-6 w-6"})})]}),a.jsx("div",{className:"flex-1 overflow-y-auto p-4",children:d.length===0?a.jsx("p",{className:"text-gray-500 text-center mt-8",children:e}):a.jsx("div",{className:"space-y-4",children:d.map(m=>a.jsxs("div",{className:"border rounded-lg p-4 flex flex-col space-y-2",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"font-medium",children:m.name}),a.jsx("p",{className:"text-sm text-gray-500",children:m.duration})]}),a.jsx("button",{onClick:()=>p(m.id),className:"text-red-500 hover:text-red-600","aria-label":`Remove ${m.name}`,children:a.jsx(Nc,{className:"h-5 w-5"})})]}),a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>y(m.id,m.quantity-1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Decrease quantity for ${m.name}`,children:a.jsx(bc,{className:"h-4 w-4"})}),a.jsx("span",{className:"w-8 text-center",children:m.quantity}),a.jsx("button",{onClick:()=>y(m.id,m.quantity+1),className:"p-1 rounded-md hover:bg-gray-100","aria-label":`Increase quantity for ${m.name}`,children:a.jsx(jc,{className:"h-4 w-4"})})]}),a.jsxs("p",{className:"font-medium",children:[o,(m.price*m.quantity).toFixed(2)]})]})]},m.id))})}),a.jsxs("div",{className:"border-t p-4 bg-gray-50",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("span",{className:"font-medium",children:r}),a.jsxs("span",{className:"text-xl font-bold",children:[o,f.toFixed(2)]})]}),a.jsx("button",{className:"w-full bg-yellow-600 text-white py-3 px-4 rounded-lg hover:bg-yellow-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",disabled:d.length===0,onClick:c,children:n})]})]}):a.jsx("button",{onClick:k,"aria-label":i,className:"fixed bottom-20 right-4 z-40 bg-yellow-600 text-white p-4 rounded-full shadow-lg hover:bg-yellow-700 transition-colors",children:a.jsxs("div",{className:"relative",children:[a.jsx(As,{className:"h-6 w-6"}),d.length>0&&a.jsx("span",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center",children:d.length})]})})}function VN({services:t,title:e,description:r,showBtn:n="Show",hideBtn:o="Hide",featuresBtn:i="Features"}){const[c,l]=S.useState(null),d=h=>{l(c===h?null:h)};return a.jsx("section",{id:"services",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"mt-16 grid grid-cols-1 gap-8 lg:grid-cols-2",children:t.map((h,u)=>a.jsx("div",{className:"bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300",children:a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-3",children:h.title}),a.jsx("p",{className:"text-gray-600 mb-4",children:h.shortDescription}),a.jsx("div",{className:`transition-all duration-300 overflow-hidden ${c===u?"max-h-[500px]":"max-h-0"}`,children:a.jsxs("div",{className:"mt-4 space-y-4",children:[a.jsx("p",{className:"text-gray-700",children:h.fullDescription}),a.jsxs("div",{className:"border-t pt-4",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:i}),a.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:h.features.map((p,y)=>a.jsxs("li",{className:"text-gray-600",children:["• ",p]},y))})]})]})}),a.jsx("button",{onClick:()=>d(u),className:"mt-4 text-yellow-600 hover:text-yellow-700 font-medium focus:outline-none",children:c===u?o:n})]})},u))})]})})}function BN({courses:t=[],title:e="Available Courses",description:r="Choose the best course for you.",priceLabel:n="From",currencySymbol:o="€",perDurationLabel:i="/week",reviewsText:c="reviews"}){const l=d=>{const h=d/10*5,u=Math.floor(h),p=h%1,y=5-Math.ceil(h);return a.jsxs("div",{className:"flex items-center",children:[[...Array(u)].map((f,k)=>a.jsx(qt,{className:"w-5 h-5 text-yellow-400 fill-current"},`full-${k}`)),p>0&&a.jsxs("div",{className:"relative w-5 h-5",children:[a.jsx(qt,{className:"absolute w-5 h-5 text-gray-300 fill-current"}),a.jsx("div",{className:"absolute overflow-hidden",style:{width:`${p*100}%`},children:a.jsx(qt,{className:"w-5 h-5 text-yellow-400 fill-current"})})]}),[...Array(y)].map((f,k)=>a.jsx(qt,{className:"w-5 h-5 text-gray-300"},`empty-${k}`))]})};return a.jsx("section",{className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("h2",{className:"text-3xl font-bold text-gray-900 sm:text-4xl",children:e}),a.jsx("p",{className:"mt-4 text-xl text-gray-600",children:r})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:t.map((d,h)=>a.jsxs("div",{className:"bg-white rounded-xl p-8 shadow-sm hover:shadow-md transition-shadow flex flex-col h-full",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:d.title}),a.jsxs("div",{className:"flex items-center mb-4",children:[l(d.rating),a.jsxs("span",{className:"ml-2 text-gray-600",children:[d.rating,"/10 (",d.reviews," ",c,")"]})]}),a.jsxs("div",{className:"mb-4",children:[a.jsxs("span",{className:"text-2xl font-bold text-gray-900",children:[n," ",d.pricePerWeek,o]}),a.jsxs("span",{className:"text-gray-600",children:["/",i]})]}),a.jsx("p",{className:"text-gray-600 mb-6",children:d.description}),a.jsx("div",{className:"space-y-4",children:d.features.map((u,p)=>{const y=Rj(u.icon);return a.jsxs("div",{className:"flex items-center text-gray-700",children:[y?a.jsx(y,{className:"w-5 h-5"}):null,a.jsx("span",{className:"ml-3",children:u.text})]},p)})})]}),d.ctaLink&&d.ctaText?a.jsx("div",{className:"mt-8",children:a.jsx("a",{href:d.ctaLink,className:"w-full bg-black text-white py-3 px-6 rounded-lg hover:bg-gray-800 transition-colors",children:d.ctaText})}):""]},h))})]})})}const gD=[{title:"Asistencia con el Visado",shortDescription:"Orientación experta durante todo el proceso de solicitud de visado para tu experiencia de estudio en el extranjero.",fullDescription:"Nuestro equipo dedicado a soporte de visados ofrece asistencia integral durante todo el proceso de solicitud. Te ayudamos a comprender los requisitos, preparar la documentación y asegurarnos de que tu solicitud cumpla con todos los criterios necesarios.",features:["Preparación y verificación de documentos","Asistencia con el formulario de solicitud","Orientación para la preparación de entrevistas","Consulta sobre los requisitos del visado","Soporte de seguimiento","Asistencia de emergencia"]},{title:"Servicios de Alojamiento",shortDescription:"Encuentra tu hogar perfecto lejos de casa con nuestras opciones de alojamiento cuidadosamente seleccionadas.",fullDescription:"Ofrecemos una amplia variedad de opciones de alojamiento previamente inspeccionadas para adaptarse a cada preferencia y presupuesto. Nuestro equipo de vivienda inspecciona personalmente todas las propiedades para garantizar que cumplan con nuestros estándares de calidad.",features:["Alojamiento en familia local","Residencias estudiantiles","Apartamentos compartidos","Estudios privados","Opciones a corto y largo plazo","Todos los servicios incluidos"]},{title:"Selección en Cursos de Idiomas",shortDescription:"Selección de cursos personalizada para adaptarse a tus objetivos de aprendizaje y nivel de competencia actual.",fullDescription:"Nuestros asesores académicos trabajan contigo para crear un plan de estudio personalizado basado en tus metas, horario y nivel actual de inglés. Nos aseguramos de que estés en el curso adecuado para maximizar tu potencial de aprendizaje.",features:["Evaluación de nivel gratuita","Planes de estudio personalizados","Monitoreo regular del progreso","Opciones de horario flexibles","Cursos especializados disponibles","Preparación para certificaciones"]},{title:"Seguro para Estudiantes",shortDescription:"Cobertura de seguro integral para una experiencia de estudio sin preocupaciones en el extranjero.",fullDescription:"Colaboramos con proveedores de seguros líderes para ofrecer coberturas integrales diseñadas específicamente para estudiantes internacionales. Nuestros paquetes incluyen protección de salud, viajes y bienes personales.",features:["Cobertura de seguro médico","Seguro de viajes","Protección de bienes personales","Asistencia de emergencia","Línea de soporte 24/7","Facturación directa con hospitales"]},{title:"Programa de Integración Cultural",shortDescription:"Sumérgete en la cultura local con actividades y eventos organizados.",fullDescription:"Nuestro programa de integración cultural te ayuda a adaptarte a tu nuevo entorno y a aprovechar al máximo tu experiencia de estudio en el extranjero. Organizamos actividades regulares, eventos y excursiones para que explores y comprendas la cultura local.",features:["Actividades sociales semanales","Talleres culturales","Sistema de compañeros locales","Eventos de intercambio de idiomas","Recorridos por la ciudad y excursiones","Celebraciones de festivales"]},{title:"Soporte para el Desarrollo Profesional",shortDescription:"Mejora tus perspectivas profesionales con nuestros servicios integrales de desarrollo profesional.",fullDescription:"Nuestro equipo de desarrollo profesional brinda orientación y apoyo para ayudarte a alcanzar tus metas laborales. Desde la redacción de CV hasta la preparación para entrevistas, te ayudamos a prepararte para tu carrera futura.",features:["Redacción de CV y cartas de presentación","Preparación para entrevistas","Asistencia en la búsqueda de empleo","Eventos de networking","Talleres de la industria","Colocación en prácticas profesionales"]}],vD=[{icon:"Plane",title:"Visa Assistance",description:"Complete support with visa applications and documentation."},{icon:"Home",title:"Accommodation",description:"Find the perfect place to stay with our accommodation services."},{icon:"BookOpen",title:"Language Courses",description:"Comprehensive English courses for all levels."},{icon:"Shield",title:"Travel Insurance",description:"Stay protected with our travel insurance packages."},{icon:"Map",title:"Local Activities",description:"Explore the local culture with organized activities."},{icon:"Briefcase",title:"Job Opportunities",description:"Access to job markets and career guidance."}],wD=[{title:"Learn in World-Class Facilities",description:"Our modern campuses are equipped with state-of-the-art technology and comfortable learning spaces. Each classroom is designed to facilitate interactive learning with smart boards, multimedia equipment, and flexible seating arrangements. Students also have access to self-study areas, a library with extensive English learning resources, and comfortable student lounges.",image:"https://images.unsplash.com/photo-1592280771190-3e2e4d571952?auto=format&fit=crop&q=80",imageAlt:"Modern classroom facility"},{title:"Cultural Immersion Programs",description:"Go beyond traditional language learning with our immersive cultural programs. Participate in local events, join conversation clubs with native speakers, and engage in cultural workshops. Our programs include guided city tours, cooking classes featuring local cuisine, and regular social activities where you can practice English in real-world situations.",image:"https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&q=80",imageAlt:"Students engaging in cultural activities"},{title:"Career Development Support",description:"Launch your international career with our comprehensive career support services. We offer professional development workshops, CV writing assistance, and interview preparation in English. Our partnerships with local businesses provide internship opportunities, and our career counselors help you navigate the job market in English-speaking countries.",image:"https://images.unsplash.com/photo-1552581234-26160f608093?auto=format&fit=crop&q=80",imageAlt:"Career counseling session"}],MD=[{icon:"Users",title:"Small Class Sizes",description:"Maximum of 12 students per class ensures personalized attention"},{icon:"Trophy",title:"Certified Teachers",description:"Native speakers with CELTA/DELTA qualifications"},{icon:"Calendar",title:"Flexible Schedule",description:"Morning, afternoon, and evening classes available"},{icon:"GraduationCap",title:"Recognized Certificates",description:"Internationally recognized certifications upon completion"},{icon:"Globe2",title:"Cultural Exchange",description:"Regular events and activities with international students"},{icon:"CheckCircle",title:"Job Support",description:"CV workshops and job placement assistance"}],bD=[{url:"https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&q=80",alt:"Students studying together",caption:"Collaborative learning environment"},{url:"https://images.unsplash.com/photo-1541339907198-e08756dedf3f?auto=format&fit=crop&q=80",alt:"Modern campus library",caption:"State-of-the-art study facilities"},{url:"https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&q=80",alt:"Student accommodation",caption:"Comfortable student residences"},{url:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",alt:"Group activity",caption:"Engaging extracurricular activities"},{url:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",alt:"Student life",caption:"Vibrant campus community"}],CD=[{name:"London, UK",image:"https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80",description:"Study English in the heart of the UK with access to world-class institutions."},{name:"New York, USA",image:"https://images.unsplash.com/photo-1496442226666-8d4d0e62e6e9?auto=format&fit=crop&q=80",description:"Experience American English while living in the most vibrant city in the world."},{name:"Sydney, Australia",image:"https://images.unsplash.com/photo-1506973035872-a4ec16b8e8d9?auto=format&fit=crop&q=80",description:"Combine English studies with an amazing lifestyle in beautiful Sydney."},{name:"Toronto, Canada",image:"https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&q=80",description:"Study in one of the most multicultural cities with excellent quality of life."},{name:"Dublin, Ireland",image:"https://images.unsplash.com/photo-1590089415225-401ed6f9db8e?auto=format&fit=crop&q=80",description:"Experience Irish hospitality while studying in this historic and vibrant city."},{name:"Vancouver, Canada",image:"https://images.unsplash.com/photo-1559511260-66a654ae982a?auto=format&fit=crop&q=80",description:"Study surrounded by stunning nature and a high quality of life."},{name:"Melbourne, Australia",image:"https://images.unsplash.com/photo-1514395462725-fb4566210144?auto=format&fit=crop&q=80",description:"Join the world's most liveable city with excellent educational opportunities."},{name:"Edinburgh, UK",image:"https://images.unsplash.com/photo-1506377585622-bedcbb027afc?auto=format&fit=crop&q=80",description:"Study in Scotland's historic capital surrounded by stunning architecture."},{name:"San Francisco, USA",image:"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?auto=format&fit=crop&q=80",description:"Learn English in the tech capital of the world."},{name:"Auckland, New Zealand",image:"https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&q=80",description:"Study in New Zealand's largest city surrounded by natural beauty."},{name:"Manchester, UK",image:"https://images.unsplash.com/photo-1519677100203-a0e668c92439?auto=format&fit=crop&q=80",description:"Experience northern English culture in this vibrant student city."},{name:"Boston, USA",image:"https://images.unsplash.com/photo-1501979376754-f1e8d89c7fe0?auto=format&fit=crop&q=80",description:"Study in America's premier educational hub."},{name:"Brisbane, Australia",image:"https://images.unsplash.com/photo-1452859030917-45a0de82ef4c?auto=format&fit=crop&q=80",description:"Enjoy subtropical climate while studying in this growing city."},{name:"Montreal, Canada",image:"https://images.unsplash.com/photo-1519178614-68673b201f36?auto=format&fit=crop&q=80",description:"Experience bilingual culture in this historic Canadian city."},{name:"Oxford, UK",image:"https://images.unsplash.com/photo-1590510616176-67c87a688639?auto=format&fit=crop&q=80",description:"Study in one of the world's most prestigious academic cities."},{name:"Seattle, USA",image:"https://images.unsplash.com/photo-1502175353174-a7a70e73b362?auto=format&fit=crop&q=80",description:"Learn English in the innovative Pacific Northwest."},{name:"Perth, Australia",image:"https://images.unsplash.com/photo-1573935448851-e0a5d7507f4e?auto=format&fit=crop&q=80",description:"Study in Australia's sunniest capital city."},{name:"Cambridge, UK",image:"https://images.unsplash.com/photo-1579619002916-88cd4c81a70c?auto=format&fit=crop&q=80",description:"Experience academic excellence in this historic university city."},{name:"Wellington, New Zealand",image:"https://images.unsplash.com/photo-1589871973318-9ca1258faa5d?auto=format&fit=crop&q=80",description:"Study in New Zealand's cultural capital."},{name:"Chicago, USA",image:"https://images.unsplash.com/photo-1494522855154-9297ac14b55f?auto=format&fit=crop&q=80",description:"Experience American culture in the heart of the Midwest."}],jD=[{id:"1",title:"Intensive English",type:"in-person",duration:"4-12 weeks",level:"All levels",description:"Accelerated learning with focused daily classes.",price:1299},{id:"2",title:"Business English",type:"in-person",duration:"8-16 weeks",level:"Intermediate to Advanced",description:"Specialized English for professional environments.",price:1599},{id:"3",title:"Online Live Classes",type:"online",duration:"Flexible",level:"All levels",description:"Interactive online classes with expert teachers.",price:799},{id:"4",title:"IELTS Preparation",type:"in-person",duration:"12 weeks",level:"Intermediate to Advanced",description:"Comprehensive preparation for IELTS exam.",price:1499}],SD=[{thumbnail:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&q=80",title:"Campus Life in London",duration:"3:45",description:"Experience a day in the life of our London students"},{thumbnail:"https://images.unsplash.com/photo-1571260899304-425eee4c7efc?auto=format&fit=crop&q=80",title:"Student Success Stories",duration:"5:20",description:"See how our students achieved their English learning goals"},{thumbnail:"https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&q=80",title:"Virtual Campus Tour",duration:"4:15",description:"Take a tour of our modern facilities and classrooms"}],LD=[{name:"Sarah Chen",from:"Singapore",image:"https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80",text:"The support I received from GlobalEnglish was exceptional. From visa assistance to finding accommodation, everything was handled professionally.",rating:5},{name:"Carlos Rodriguez",from:"Spain",image:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80",text:"The Business English course helped me secure a job at an international company. The teachers were experienced and the course material was practical.",rating:5},{name:"Maria Kowalski",from:"Poland",image:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?auto=format&fit=crop&q=80",text:"Studying in London through GlobalEnglish was a life-changing experience. The cultural immersion and quality of education exceeded my expectations.",rating:5}],ID=[{text:"👋 Hi! I'm here to help you with any questions about our English courses. How can I assist you today?",isBot:!0,timestamp:new Date}],ND=[{question:"What visa requirements are needed to study English abroad?",answer:"Requirements vary by destination. Generally, you'll need: a valid passport, proof of enrollment in an accredited language school, proof of sufficient funds (usually 3-6 months of living expenses), and health insurance. We provide comprehensive visa assistance to ensure a smooth application process."},{question:"How long are the English courses?",answer:"We offer flexible course durations ranging from 2 weeks to 12 months. Intensive courses typically run for 4-12 weeks, while standard courses can be taken for any duration. Business English and exam preparation courses usually require a minimum commitment of 8-12 weeks for optimal results."},{question:"What accommodation options are available?",answer:"We offer various accommodation options including: homestays with local families, student residences, shared apartments, and private studios. All options are carefully vetted and located within easy reach of our schools. Homestays are particularly popular for full language immersion."},{question:"Can I work while studying?",answer:"Work possibilities depend on your visa type and destination country. Many student visas allow part-time work (usually 20 hours per week). Our student services team can provide detailed information about work rights and help with job searching in your chosen destination."},{question:"What level of English do I need to start?",answer:"We accept students at all levels, from complete beginners to advanced speakers. Before starting, you'll take a placement test to ensure you're placed in the appropriate level. Our courses follow the Common European Framework of Reference (CEFR) from A1 to C2 levels."}],AD=[{title:"General English",rating:9.5,reviews:226,pricePerWeek:95,description:"Learn English at your own pace while making the most of your stay in Malta.",features:[{icon:"Clock",text:"20 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"Intensive English",rating:9.2,reviews:229,pricePerWeek:189,description:"For those who want to learn faster. Combine exclusive Speaking classes with your General English course.",features:[{icon:"Clock",text:"30 classes of 45 min per week"},{icon:"Calendar",text:"You choose the number of weeks"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 16 to 99 years"}]},{title:"English 30+",rating:9.5,reviews:190,pricePerWeek:180,description:"For those who want to study with people of a similar age.",features:[{icon:"Clock",text:"20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"15 students maximum per class"},{icon:"LineChart",text:"All levels"},{icon:"User",text:"From 30 years onwards"}]},{title:"Business English",rating:9.2,reviews:195,pricePerWeek:190,description:"For those looking to boost their professional career and access job opportunities worldwide.",features:[{icon:"Clock",text:"10, 20 or 30 classes per week"},{icon:"Calendar",text:"You choose the duration"},{icon:"Users",text:"Reduced groups"},{icon:"LineChart",text:"B1 level or higher"},{icon:"User",text:"From 18 years"}]}],PD=()=>(S.useEffect(()=>{LN.fromTo(".animated-text",{opacity:0,y:30},{opacity:1,y:0,duration:1,stagger:.2})},[]),a.jsxs("div",{className:"relative min-h-screen flex flex-col bg-gray-50",children:[a.jsx(mD,{children:a.jsxs("div",{className:"min-h-screen bg-white",children:[a.jsx(xD,{}),a.jsx(RN,{title:"Estudia inglés en Malta: Vive, Aprende trabaja y Crece",subtitle:"Tu aventura comienza aquí: Te ayudamos con visado, viaje, estadía, trabajo y más para que aprendas inglés en Malta.",bg_img:"https://maltalovers.com/wp-content/uploads/2017/05/cropped-Valletta2-2.jpg",main_btn_text:"Explore Courses",main_btn_link:"#courses",secondary_btn_text:"View Destinations",secondary_btn_link:"#destinations"}),a.jsx(TN,{services:vD,title:"Nuestro Servicios",description:"Todo lo que necesitas para aprender inglés en el menor tiempo y al mejor costo"}),a.jsx(VN,{services:gD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(IN,{advantages:MD,title:"Why Choose GlobalEnglish?",description:"Discover what sets us apart from other language schools"}),a.jsx(zN,{features:wD,title:"Titulo",description:"description"}),a.jsx(BN,{courses:AD,title:"Test",description:"test"}),a.jsx(EN,{images:bD,autoPlayInterval:5e3,title:"Campus Life Gallery",description:"Take a visual tour of our facilities and student activities"}),a.jsx(_N,{destinations:CD,title:"Popular Destinations",description:"Choose from our carefully selected locations worldwide"}),a.jsx(PN,{courses:jD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(DN,{videos:SD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(qN,{testimonials:LD,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(FN,{faqs:ND,title:"Our Courses",description:"Find the perfect course to match your goals"}),a.jsx(yD,{}),a.jsx(ON,{initialMessages:ID}),a.jsx(HN,{})]})}),a.jsx("footer",{className:"bg-gray-800 text-white py-8",children:a.jsxs("div",{className:"max-w-7xl mx-auto text-center space-y-4",children:[a.jsx("p",{className:"text-sm",children:"© 2024 Learn English. All Rights Reserved."}),a.jsxs("nav",{className:"flex justify-center space-x-6",children:[a.jsx("a",{href:"#home",className:"hover:text-yellow-400",children:"Home"}),a.jsx("a",{href:"#courses",className:"hover:text-yellow-400",children:"Courses"}),a.jsx("a",{href:"#contact",className:"hover:text-yellow-400",children:"Contact Us"})]})]})})]}));function _D({title:t,icon:e,jobs:r,viewAllText:n,viewAllHref:o,apiUrl:i}){const[c,l]=S.useState(r||[]),[d,h]=S.useState(!r),[u,p]=S.useState(null);S.useEffect(()=>{if(r)return;(async()=>{h(!0),p(null);try{const m=await fetch(i||"/api/featured-jobs");if(!m.ok)throw new Error(`Failed to fetch jobs: ${m.status}`);const x=await m.json();if(!Array.isArray(x))throw new Error("Expected an array of jobs");l(x)}catch(k){console.error("Error fetching jobs:",k),p(k instanceof Error?k.message:"Failed to load jobs"),l(y())}finally{h(!1)}})()},[r,i]);const y=()=>{const f=["Bet365","Entain","Flutter","DraftKings","Pinnacle"],k=["Game Developer","CRM Manager","VIP Account Manager","Compliance Specialist","UX Designer"],m=["Malta","London","Gibraltar","Remote","New York"];return Array.from({length:6},(x,v)=>({id:`mock-job-${v}`,title:k[v%k.length],company:f[v%f.length],companyLogo:`/logos/${f[v%f.length].toLowerCase()}.png`,location:m[v%m.length],salary:`€${Math.floor(Math.random()*30)+40},000`}))};return d?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[...Array(3)].map((f,k)=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 animate-pulse",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-200 rounded"}),a.jsxs("div",{className:"space-y-2",children:[a.jsx("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2"})]})]}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/2 mb-4"}),a.jsx("div",{className:"h-3 bg-gray-200 rounded w-1/4 mb-4"}),a.jsx("div",{className:"h-10 bg-gray-200 rounded"})]},k))})})}):u&&c.length===0?a.jsx("section",{className:"py-16 bg-white",children:a.jsx("div",{className:"container mx-auto px-4 text-center",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6 inline-block",children:[a.jsx("p",{children:u}),a.jsx(U,{variant:"outline",className:"mt-4 border-red-300 text-red-800",onClick:()=>window.location.reload(),children:"Try Again"})]})})}):a.jsx("section",{className:"py-16 bg-white",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[e&&a.jsx("div",{children:e}),a.jsx("h2",{className:"text-2xl font-bold",children:t})]}),c.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:c.map(f=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-6 hover:shadow-md transition-shadow",children:[a.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[a.jsx("div",{className:"w-12 h-12 bg-gray-100 rounded flex items-center justify-center",children:a.jsx("img",{src:f.companyLogo||"/placeholder.svg",alt:`${f.company} logo`,width:48,height:48,className:"rounded",onError:k=>{k.target.src="/placeholder.svg"}})}),a.jsxs("div",{children:[a.jsx("h3",{className:"font-bold",children:f.title}),a.jsx("p",{className:"text-gray-600 text-sm",children:f.company})]})]}),a.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 mb-2",children:[a.jsx(Et,{size:16}),a.jsx("span",{children:f.location})]}),a.jsx("div",{className:"text-green-600 font-medium mb-4",children:f.salary}),a.jsx(U,{className:"w-full bg-[#0f1219] hover:bg-[#1a2236]",children:"Apply Now"})]},f.id))}),a.jsx("div",{className:"mt-8 text-center",children:a.jsx(U,{variant:"outline",className:"border-[#0f1219] text-[#0f1219] hover:bg-[#0f1219] hover:text-white",onClick:()=>window.location.href=o,children:n})})]}):a.jsx("div",{className:"text-center py-8",children:a.jsx("p",{className:"text-gray-500",children:"No featured jobs available at the moment."})})]})})}function UN({title:t,description:e,primaryButtonText:r,primaryButtonHref:n,secondaryButtonText:o,secondaryButtonHref:i}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#1a2236] to-[#0f1219] text-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("h2",{className:"text-3xl font-bold mb-4",children:t}),a.jsx("p",{className:"text-xl text-gray-300 mb-8",children:e}),a.jsxs("div",{className:"flex flex-wrap justify-center gap-4",children:[a.jsx(U,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6 py-2 rounded",onClick:()=>window.location.href=n,children:r}),a.jsx(U,{variant:"outline",className:"bg-transparent border-white hover:bg-white/10 text-white font-medium px-6 py-2 rounded",onClick:()=>window.location.href=i,children:o})]})]})})})}function $N({title:t,subtitle:e,backgroundImage:r="/placeholder.svg?height=800&width=1600",primaryButtonText:n,primaryButtonLink:o="#",secondaryButtonText:i,secondaryButtonLink:c="#"}){return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsx("div",{className:"container mx-auto px-4 relative z-10",children:a.jsx("div",{className:"relative z-10 container mx-auto px-4 text-center",children:a.jsxs("div",{className:"max-w-4xl mx-auto animate-fade-in",children:[a.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-primary-foreground mb-6 leading-tight",children:[t," ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"iGaming"})]}),a.jsx("p",{className:"text-xl md:text-2xl text-primary-foreground/80 mb-8 leading-relaxed",children:e}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center animate-slide-in",children:[a.jsxs("a",{href:o,className:`justify-center whitespace-nowrap text-sm transition-colors
|
|
7742
7742
|
focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
|
|
7743
7743
|
disabled:opacity-50 shadow h-9 bg-yellow-500 hover:bg-yellow-400 text-black font-medium px-6
|
|
7744
7744
|
py-2 rounded flex items-center gap-2`,children:[a.jsx(Ot,{size:18}),n]}),a.jsxs("a",{href:c,className:`justify-center whitespace-nowrap text-sm transition-colors focus-visible:outline-none
|
|
7745
7745
|
focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none
|
|
7746
7746
|
disabled:opacity-50 border shadow-sm hover:text-accent-foreground h-9
|
|
7747
7747
|
bg-transparent border-white hover:bg-white/10 text-white font-medium
|
|
7748
|
-
px-6 py-2 rounded flex items-center gap-2`,children:[a.jsx(Ps,{size:18}),i]})]}),a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function GN({title:t,values:e}){return a.jsx("section",{className:"py-16 bg-white",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:t}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((r,n)=>{const o=r.icon;return a.jsxs("div",{className:"flex flex-col items-center text-center",children:[a.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:a.jsx(o,{className:"w-8 h-8 text-yellow-500"})}),a.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),a.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function WN({title:t,testimonial:e,stats:r,partnerLogos:n}){const[o,i]=S.useState(0),c=[{id:1,name:"Sarah Mitchell",role:"Product Manager",company:"BetTech Gaming",image:"/placeholder.svg",rating:5,content:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",location:"Malta"},{id:2,name:"Marcus Chen",role:"Software Engineer",company:"Casino Solutions",image:"/placeholder.svg",rating:5,content:"The salary insights feature helped me negotiate a 25% increase. Best iGaming job platform I've used.",location:"London"},{id:3,name:"Elena Rodriguez",role:"UX Designer",company:"SportsBet Pro",image:"/placeholder.svg",rating:5,content:"Found multiple interview opportunities within days. The quality of companies on this platform is outstanding.",location:"Gibraltar"},{id:4,name:"James Wilson",role:"Data Analyst",company:"Gaming Analytics",image:"/placeholder.svg",rating:5,content:"Professional, efficient, and results-driven. Helped me transition from fintech to iGaming seamlessly.",location:"Remote"}];S.useEffect(()=>{const h=setInterval(()=>{i(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{i(h=>(h+1)%c.length)},d=()=>{i(h=>(h-1+c.length)%c.length)};return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:t}),a.jsx("p",{className:"text-xl text-primary-foreground/80 max-w-2xl mx-auto",children:"Join thousands of professionals who've found their dream careers through our platform"})]}),a.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[a.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[a.jsx(Ls,{className:"h-12 w-12 text-yellow-500 mb-6"}),a.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[o].content,'"']}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:a.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[o].name.charAt(0)})}),a.jsxs("div",{children:[a.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[o].name}),a.jsxs("div",{className:"text-primary-foreground/70",children:[c[o].role," at ",c[o].company]}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[o].location})]})]}),a.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[o].rating)].map((h,u)=>a.jsx(qt,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),a.jsxs("div",{className:"flex items-center justify-between mt-8",children:[a.jsx($,{variant:"outline",size:"icon",onClick:d,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:a.jsx(Vi,{className:"h-6 w-6"})}),a.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>a.jsx("button",{onClick:()=>i(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===o?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),a.jsx($,{variant:"outline",size:"icon",onClick:l,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:a.jsx(Wa,{className:"h-6 w-6"})})]})]}),a.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function ZN({title:t,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:o,isSubscribed:i=!1,email:c=null}){const[l,d]=S.useState(c??""),[h,u]=S.useState(!1),[p,y]=S.useState(!1);S.useEffect(()=>{if(i){y(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),v=localStorage.getItem("leadId");x&&v&&(y(!0),d(x))}catch{}},[i,c]);const f=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const x=await fetch(`${n}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,source:"newsletter",utmCampaign:"general",utmMedium:"ui",utmSource:"newsletter_component"})});if(x.ok){const v=await x.json();localStorage.setItem("leadId",v.id),localStorage.setItem("email",l),y(!0)}else{const v=await x.text();alert("Submission failed: "+v)}}catch{alert("Network error while submitting")}finally{u(!1)}},k=p||i,m=c??l;return a.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("h2",{className:"text-2xl font-bold mb-4",children:t}),a.jsx("p",{className:"text-gray-300 mb-6",children:e}),k?a.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",m?` as ${m}`:"","."]}):a.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[a.jsx(Ye,{type:"email",placeholder:r,value:l,onChange:x=>d(x.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),a.jsx($,{onClick:f,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":o})]})]})})})}function XN({title:t,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:o,className:i="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=S.useState(""),[y,f]=S.useState(""),[k,m]=S.useState([]),[x,v]=S.useState(!1),w="Browse 3,500+ iGaming Jobs",b=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],M=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];S.useEffect(()=>{const I=new URLSearchParams(window.location.search),q=I.get("q")||"",P=I.get("location")||"";p(q),f(P)},[]),S.useEffect(()=>{if(u.length<3){m([]);return}const I=setTimeout(()=>{C(u)},300);return()=>clearTimeout(I)},[u]);const C=async I=>{if(!o||d){m([`${I} Developer`,`${I} Manager`,`${I} Specialist`,`${I} Coordinator`,`${I} Agent`]);return}try{v(!0);const q=await fetch(`${o}/suggestions?q=${encodeURIComponent(I)}`);if(!q.ok)throw new Error("Failed to fetch suggestions");const P=await q.json();m(P.suggestions||[])}catch(q){console.error("Error fetching suggestions:",q),m([])}finally{v(!1)}},N=I=>p(I),L=I=>{I.key==="Enter"&&A()},A=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${y}`);return}const I=new URLSearchParams;u&&I.set("q",u),y&&I.set("location",y),window.location.href=`/jobs?${I.toString()}`};return a.jsxs("section",{className:`py-12 bg-gray-100 ${i}`,children:[a.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:t||w}),a.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Find your next opportunity at the world's leading gaming companies"})]}),a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[a.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[a.jsxs("div",{className:"flex-grow relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ot,{className:"h-5 w-5 text-gray-400"})}),a.jsx(Ye,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:I=>N(I.target.value),onKeyDown:L,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:k.map((I,q)=>a.jsx("option",{value:I},q))}),u&&a.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(aa,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),x&&a.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:a.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&a.jsx("div",{className:"w-full md:w-1/3",children:a.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:y,onChange:I=>f(I.target.value),children:[a.jsx("option",{value:"",children:"All Locations"}),(e||b).map(I=>a.jsx("option",{value:I.id,children:I.name},I.id))]})}),a.jsxs($,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:A,disabled:x,children:[a.jsx(Ot,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||M).length>0&&a.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[a.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||M).map((I,q)=>a.jsx("a",{href:I.href,className:"inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 rounded-md text-xs h-8 px-3 text-yellow-600 hover:text-yellow-800-hover hover:bg-accent/10",children:I.label},q))]})]})})]})}function JN({logo:t,navItems:e}){const[r,n]=S.useState(!1);return a.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[a.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[a.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:a.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),a.jsx("span",{className:"font-bold text-xl",children:t.text})]}),a.jsx("nav",{className:"hidden md:flex items-center gap-6",children:e.map((o,i)=>a.jsx("a",{href:o.href,className:"hover:text-yellow-400 transition-colors",children:o.label},i))}),a.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?a.jsx(Xt,{size:24}):a.jsx(js,{size:24})})]}),r&&a.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:a.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:e.map((o,i)=>a.jsx("a",{href:o.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:o.label},i))})})]})}function YN({logo:t,tagline:e,socialLinks:r,columns:n,contactInfo:o,copyright:i,poweredBy:c}){return a.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[a.jsxs("div",{className:"col-span-1",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:a.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),a.jsx("span",{className:"font-bold text-xl",children:t.text})]}),a.jsx("p",{className:"text-gray-400 mb-4",children:e}),a.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>a.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>a.jsxs("div",{className:"col-span-1",children:[a.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),a.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>a.jsx("li",{children:a.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),a.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:a.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(ca,{size:16}),a.jsx("span",{children:o.email})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Ui,{size:16}),a.jsx("span",{children:o.phone})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Et,{size:16}),a.jsx("span",{children:o.location})]})]})}),a.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 pt-6 border-t border-gray-800 text-gray-400 text-sm",children:[a.jsx("p",{children:i}),a.jsx("p",{children:c})]})]})})}const KN=()=>{const[t,e]=S.useState(null),r=[{id:1,name:"BetTech Gaming",logo:"BG",description:"Leading casino platform provider"},{id:2,name:"SportsBet Pro",logo:"SP",description:"Premier sportsbook solutions"},{id:3,name:"Casino Solutions",logo:"CS",description:"Innovative gaming technology"},{id:4,name:"Gaming Analytics",logo:"GA",description:"Data-driven gaming insights"},{id:5,name:"PokerTech",logo:"PT",description:"Advanced poker platforms"},{id:6,name:"SlotMaster",logo:"SM",description:"Premium slot game developer"},{id:7,name:"LiveCasino",logo:"LC",description:"Live dealer solutions"},{id:8,name:"BetSafe Tech",logo:"BT",description:"Secure betting infrastructure"},{id:9,name:"GameHub",logo:"GH",description:"Multi-game platform provider"},{id:10,name:"WinTech",logo:"WT",description:"Winning gaming solutions"}];return a.jsx("section",{className:"py-20 bg-gray-100",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),a.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,o)=>a.jsxs("div",{className:"group relative bg-card p-6 rounded-xl shadow-card hover:shadow-elegant transition-all duration-300 transform hover:-translate-y-2 cursor-pointer animate-scale-in",style:{animationDelay:`${o*.05}s`},onMouseEnter:()=>e(n.id),onMouseLeave:()=>e(null),children:[a.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:a.jsx("div",{className:"w-16 h-16 bg-gradient-accent rounded-xl flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:a.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),a.jsx("h3",{className:"text-center font-bold text-card-foreground group-hover:text-accent transition-colors duration-300 text-sm",children:n.name}),t===n.id&&a.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),a.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),a.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),a.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),a.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[a.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),a.jsx("p",{className:"text-muted-foreground mb-6 max-w-lg mx-auto",children:"Join hundreds of leading iGaming companies finding top talent through our platform"}),a.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:a.jsx("a",{href:"/partners",className:"bg-yellow-500 hover:bg-accent-hover font-semibold py-3 px-8 rounded-lg transition-all duration-300 transform hover:scale-105 shadow-accent",children:"Become a Partner"})})]})]})})};function RD(){const[t,e]=S.useState(null);return S.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!t,email:t}}const QN=S.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function eA({notification_url:t="http://localhost:5147",children:e}){const[r,n]=S.useState({analytics:!1,marketing:!1,preferences:!1}),[o,i]=S.useState(!1),l=(p=>p.replace(/\/+$/,""))(t??"http://localhost:5147"),[d,h]=S.useState(null);S.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),S.useEffect(()=>{const p=localStorage.getItem("consent");if(p)try{n(JSON.parse(p)),i(!0);return}catch{}if(!d){i(!0);return}fetch(`${l}/api/leads/${d}/consents/latest`).then(y=>y.ok?y.json():null).then(y=>{y&&n({analytics:!!y.analytics,marketing:!!y.marketing,preferences:!!y.preferences,timestamp:y.createdAt})}).catch(()=>{}).finally(()=>i(!0))},[d]);const u=async p=>{const y={...r,...p,timestamp:new Date().toISOString()};n(y),localStorage.setItem("consent",JSON.stringify(y));const f={analytics:y.analytics,marketing:y.marketing,preferences:y.preferences,policyVersion:"cmp-v1.0",source:"web:banner"};try{d?await fetch(`${l}/api/leads/${d}/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(f)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(f)})}catch(k){console.warn("Consent API unavailable, kept only locally",k)}};return a.jsx(QN.Provider,{value:{consent:r,ready:o,update:u},children:e})}const Tj=()=>S.useContext(QN);function TD({allow:t,children:e}){const{consent:r,ready:n}=Tj();return!n||!r[t]?null:a.jsx(a.Fragment,{children:e})}function tA({title:t="Cookie consent",description:e="We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",buttonAcceptLabel:r="Accept all",buttonRejectLabel:n="Reject non-essential",defaultOpen:o=!1,isOpen:i,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=Tj(),[p,y]=S.useState(o);S.useEffect(()=>{i===void 0&&u&&!d.timestamp&&y(!0)},[d.timestamp,i,u]);const f=S.useMemo(()=>i??p,[i,p]),k=()=>{i===void 0&&y(!1)};if(!f)return null;const m=()=>{h({analytics:!0,marketing:!0,preferences:!0}),k(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),k(),l==null||l()};return a.jsxs("div",{role:"dialog","aria-label":t,className:"fixed bottom-4 left-4 right-4 z-50 rounded-2xl bg-white p-4 shadow-xl",children:[a.jsx("p",{className:"text-sm",children:e}),a.jsxs("div",{className:"mt-3 flex gap-2",children:[a.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:x,children:n}),a.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:m,children:r})]})]})}const qD={logo:{text:"iGamingCareer.com",initials:"iG"},navItems:[{label:"Home",href:"/"},{label:"iGaming Salaries 2025",href:"/salaries"},{label:"Jobs",href:"/jobs"},{label:"About Us",href:"/about"},{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"}]},DD={title:"Find Your Dream Job in",subtitle:`The #1 platform for iGaming careers—connecting top talent with leading casinos,
|
|
7749
|
-
sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},zD={title:"Why Choose Us?",values:[{icon:mt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:La,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Oa,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:bs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},FD={title:"Browse 3,500+ iGaming Jobs",locations:[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],trendingKeywords:[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}],searchButtonText:"Search"},ED={title:"Trusted by Professionals & Companies",testimonial:{quote:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",name:"Sarah",title:"Product Manager",avatar:"/placeholder.svg?height=80&width=80"},stats:[{value:"10,000+",label:"Candidates hired through our platform"},{value:"500+",label:"iGaming companies trust us"},{value:"25+",label:"Countries with active job listings"}],partnerLogos:Array(5).fill("/placeholder.svg?height=60&width=120")},OD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},HD={title:"Hire Top iGaming Talent",description:"Access 50,000+ skilled professionals. Post a job in 5 minutes.",primaryButtonText:"Post a Job",primaryButtonHref:"/employers/post-job",secondaryButtonText:"Learn More",secondaryButtonHref:"/employers"},VD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-linkedin",children:[a.jsx("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),a.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),a.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-instagram",children:[a.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),a.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),a.jsx("line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]}),href:"#"}],columns:[{title:"Company",links:[{label:"About Us",href:"/about"},{label:"Careers",href:"/careers"},{label:"Press",href:"/press"}]},{title:"Resources",links:[{label:"Job Board",href:"/jobs"},{label:"Courses",href:"/courses"},{label:"Salary Guide",href:"/salary-guide"}]},{title:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"Contact Us",href:"/contact"}]}],contactInfo:{email:"info@igamingcareer.com",phone:"+1 (234) 567-89",location:"Malta, Europe"},copyright:"© 2025 iGaming Career Finder. All rights reserved.",poweredBy:"Powered by iGamingCareer.com"},Fa=(t,e)=>({...t,...e??{}});function BD({headerData:t,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:o,newsletterData:i,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:y=!0,showForEmployers:f=!0,showConsentBanner:k=!0,consentNotificationUrl:m="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:v,email:w}=RD(),b=Fa(qD,t),M=Fa(DD,e),C=Fa(zD,r),N=Fa(FD,n),L=Fa(ED,o),A=Fa(OD,i),I=Fa(HD,c),q=Fa(VD,l),P={...A,isSubscribed:(i==null?void 0:i.isSubscribed)??v,email:(i==null?void 0:i.email)??w};return a.jsx(eA,{notification_url:m,children:a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx(JN,{...b}),a.jsxs("main",{className:"flex-grow",children:[a.jsx($N,{...M}),d&&a.jsx(GN,{...C}),h&&a.jsx(XN,{...N}),u&&a.jsx(WN,{...L}),p&&a.jsx(KN,{}),y&&a.jsx(ZN,{...P}),f&&a.jsx(UN,{...I})]}),a.jsx(YN,{...q}),k&&a.jsx(tA,{...x})]})})}function qj({title:t="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:o="http://localhost:5147"}){const[i,c]=S.useState(""),[l,d]=S.useState(!1),[h,u]=S.useState(!1);S.useEffect(()=>{const y=localStorage.getItem("email");y&&(u(!0),c(y))},[]);const p=async()=>{if(!i||!i.includes("@")){alert("Please enter a valid email");return}d(!0);try{const y=await fetch(`${o}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:i,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(y.ok){const f=await y.json();localStorage.setItem("leadId",f.id),localStorage.setItem("email",i),u(!0)}else{const f=await y.text();alert("Submission failed: "+f)}}catch{alert("Network error while submitting")}finally{d(!1)}};return a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:t}),a.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?a.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"flex flex-col",children:[a.jsx(Ye,{type:"email",value:i,onChange:y=>c(y.target.value),placeholder:r,className:"mb-3"}),a.jsx($,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function aA({open:t,type:e,message:r,onClose:n}){if(S.useEffect(()=>{if(t){const i=setTimeout(n,5e3);return()=>clearTimeout(i)}},[t,n]),!t)return null;const o={success:"bg-green-100 text-green-800 border-green-300",error:"bg-red-100 text-red-800 border-red-300",info:"bg-yellow-100 text-yellow-800 border-yellow-300"};return a.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${o[e]}`,children:a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsx("p",{className:"text-sm font-medium",children:r}),a.jsx("button",{onClick:n,className:"ml-4",children:a.jsx(aa,{className:"w-5 h-5"})})]})})}const Uc=({position:t,url:e,alt:r,link:n})=>{let o="",i="";switch(t){case"top":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":o="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",i="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return a.jsx("div",{className:o,children:a.jsx("a",{href:n,target:"_blank",children:c?a.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${i} object-cover`,children:[a.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):a.jsx("img",{src:e,alt:r,className:`${i} object-cover`})})})},P9=({options:t,value:e,onChange:r,placeholder:n,className:o=""})=>{const[i,c]=S.useState(!1),[l,d]=S.useState(""),h=S.useRef(null),u=t.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return S.useEffect(()=>{const p=y=>{h.current&&!h.current.contains(y.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),a.jsxs("div",{className:`searchable-select-container relative ${o}`,ref:h,children:[a.jsxs("div",{className:"searchable-select-header px-3 py-2 border border-gray-300 rounded-lg bg-white cursor-pointer flex justify-between items-center",onClick:()=>c(!i),children:[a.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),a.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${i?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:a.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),i&&a.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[a.jsx("div",{className:"p-2",children:a.jsx("input",{type:"text",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",placeholder:"Search...",value:l,onChange:p=>d(p.target.value),onClick:p=>p.stopPropagation(),autoFocus:!0})}),a.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[a.jsx("div",{className:"py-1 px-2 hover:bg-gray-100 cursor-pointer text-gray-500",onClick:()=>{r(""),c(!1),d("")},children:n}),u.length>0?u.map((p,y)=>a.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},y)):a.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},UD=({filterKeys:t,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:o,removeSearchFilter:i,clearAllFilters:c,searchableFilters:l})=>a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"filters-grid",children:t.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?a.jsx(P9,{options:((u=e[d])==null?void 0:u.filter(y=>typeof y=="string"))||[],value:r[d]||"",onChange:y=>n(d,y),placeholder:`Select ${d.replace(/_/g," ")}`},d):a.jsxs("select",{className:"filter-select",onChange:y=>n(d,y.target.value),value:r[d]||"",children:[a.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((y,f)=>typeof y!="string"?null:a.jsx("option",{value:y,children:y},`${d}-${f}`))]},d)})}),a.jsxs("div",{className:"active-filters",children:[o.map(d=>a.jsxs("div",{className:"filter-badge search-filter-badge",children:[a.jsx("span",{className:"filter-value",children:d}),a.jsx("button",{className:"remove-filter",onClick:()=>i(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>a.jsxs("div",{className:"filter-badge",children:[a.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),a.jsx("span",{className:"filter-value",children:h}),a.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||o.length>0)&&a.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),$D=({searchTerm:t,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>a.jsx("div",{className:"search-container",children:a.jsxs("div",{className:"search-input-wrapper",children:[a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"search-icon",children:[a.jsx("circle",{cx:"11",cy:"11",r:"8"}),a.jsx("path",{d:"m21 21-4.3-4.3"})]}),a.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:t,onChange:o=>e(o.target.value),onKeyDown:r,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:n.map((o,i)=>a.jsx("option",{value:o},i))})]})}),GD={not_registered:{status:"not_registered",allowSaving:!1,maskExternalLinks:!1},freemium:{status:"freemium",allowSaving:!0,maskExternalLinks:!1},premium:{status:"premium",allowSaving:!0,maskExternalLinks:!1}},_9=t=>{const e=(t==null?void 0:t.status)??"not_registered",r=GD[e];return{...r,allowSaving:(t==null?void 0:t.allowSaving)??r.allowSaving,maskExternalLinks:(t==null?void 0:t.maskExternalLinks)??r.maskExternalLinks,note:t==null?void 0:t.note}},Dj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},rA=({job:t,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:o,isSaved:i,layout:c="grid",userAccess:l})=>{var M;if(!t||typeof t!="object")return console.error("❌ Invalid job data:",t),a.jsx("div",{className:"job-card bg-red-50",children:a.jsxs("div",{className:"p-4",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=C=>{if(x){C.preventDefault(),C.stopPropagation();return}const N=x?"external":t.description&&t.description!==""?"same_tab":"new_tab";o==null||o(t,e,"external"),n(t,e,N)},h=C=>{C.preventDefault(),C.stopPropagation(),m&&r(t,e)};t.published_at||t.created_at||t.scraped_at;const u=t.min_salary||0,p=t.max_salary||0,y=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(C=>{if(!C)return"Recently posted";try{const N=new Date(C),A=Math.abs(new Date().getTime()-N.getTime()),I=Math.floor(A/(1e3*60*60*24));return I===0?"Today":I===1?"Yesterday":I<7?`${I} days ago`:I<30?`${Math.floor(I/7)} weeks ago`:I<365?`${Math.floor(I/30)} months ago`:`${Math.floor(I/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at),m=l.allowSaving,x=l.maskExternalLinks,v=Dj[l.status],w=m?"Save job":"Log in to save this job",b=t.description&&t.description!==""?"/jobs/"+(t.slug||t.id):t.link;return a.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
|
|
7750
|
-
${c==="grid"?"flex flex-col h-full":"flex flex-col md:flex-row md:items-center md:space-x-4"}`,children:[a.jsxs("div",{className:"flex items-start space-x-4",children:[a.jsx("img",{src:t.logo||`/placeholder.svg?height=48&width=48&text=${((
|
|
7748
|
+
px-6 py-2 rounded flex items-center gap-2`,children:[a.jsx(Ps,{size:18}),i]})]}),a.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 mt-12 animate-fade-in",style:{animationDelay:"0.2s"},children:[a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"10,000+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Active Candidates"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"500+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Partner Companies"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary-foreground",children:"25+"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Countries"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:"95%"}),a.jsx("div",{className:"text-primary-foreground/70 text-sm",children:"Success Rate"})]})]})]})})})})}function GN({title:t,values:e}){return a.jsx("section",{className:"py-16 bg-white",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsx("h2",{className:"text-3xl font-bold text-center mb-12",children:t}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:e.map((r,n)=>{const o=r.icon;return a.jsxs("div",{className:"flex flex-col items-center text-center",children:[a.jsx("div",{className:"w-16 h-16 rounded-full bg-yellow-100 flex items-center justify-center mb-4",children:a.jsx(o,{className:"w-8 h-8 text-yellow-500"})}),a.jsx("h3",{className:"text-xl font-bold mb-2",children:r.title}),a.jsx("p",{className:"text-gray-600",children:r.description})]},n)})})]})})}function WN({title:t,testimonial:e,stats:r,partnerLogos:n}){const[o,i]=S.useState(0),c=[{id:1,name:"Sarah Mitchell",role:"Product Manager",company:"BetTech Gaming",image:"/placeholder.svg",rating:5,content:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",location:"Malta"},{id:2,name:"Marcus Chen",role:"Software Engineer",company:"Casino Solutions",image:"/placeholder.svg",rating:5,content:"The salary insights feature helped me negotiate a 25% increase. Best iGaming job platform I've used.",location:"London"},{id:3,name:"Elena Rodriguez",role:"UX Designer",company:"SportsBet Pro",image:"/placeholder.svg",rating:5,content:"Found multiple interview opportunities within days. The quality of companies on this platform is outstanding.",location:"Gibraltar"},{id:4,name:"James Wilson",role:"Data Analyst",company:"Gaming Analytics",image:"/placeholder.svg",rating:5,content:"Professional, efficient, and results-driven. Helped me transition from fintech to iGaming seamlessly.",location:"Remote"}];S.useEffect(()=>{const h=setInterval(()=>{i(u=>(u+1)%c.length)},5e3);return()=>clearInterval(h)},[c.length]);const l=()=>{i(h=>(h+1)%c.length)},d=()=>{i(h=>(h-1+c.length)%c.length)};return a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236]",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:t}),a.jsx("p",{className:"text-xl text-primary-foreground/80 max-w-2xl mx-auto",children:"Join thousands of professionals who've found their dream careers through our platform"})]}),a.jsxs("div",{className:"max-w-4xl mx-auto relative animate-scale-in",children:[a.jsxs("div",{className:"bg-card/10 backdrop-blur-sm border border-primary-foreground/20 p-8 md:p-12 rounded-2xl shadow-accent",children:[a.jsx(Ls,{className:"h-12 w-12 text-yellow-500 mb-6"}),a.jsxs("blockquote",{className:"text-xl md:text-2xl text-primary-foreground mb-8 leading-relaxed font-medium",children:['"',c[o].content,'"']}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-4",children:[a.jsx("div",{className:"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center",children:a.jsx("span",{className:"text-yellow-500 font-bold text-xl",children:c[o].name.charAt(0)})}),a.jsxs("div",{children:[a.jsx("div",{className:"text-primary-foreground font-bold text-lg",children:c[o].name}),a.jsxs("div",{className:"text-primary-foreground/70",children:[c[o].role," at ",c[o].company]}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:c[o].location})]})]}),a.jsx("div",{className:"flex items-center gap-1",children:[...Array(c[o].rating)].map((h,u)=>a.jsx(qt,{className:"h-5 w-5 text-yellow-500 fill-current"},u))})]})]}),a.jsxs("div",{className:"flex items-center justify-between mt-8",children:[a.jsx(U,{variant:"outline",size:"icon",onClick:d,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:a.jsx(Vi,{className:"h-6 w-6"})}),a.jsx("div",{className:"flex gap-2",children:c.map((h,u)=>a.jsx("button",{onClick:()=>i(u),className:`w-3 h-3 rounded-full transition-all duration-300 ${u===o?"bg-accent scale-125":"bg-primary-foreground/30 hover:bg-primary-foreground/50"}`},u))}),a.jsx(U,{variant:"outline",size:"icon",onClick:l,className:"bg-card/20 border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground hover:text-primary",children:a.jsx(Wa,{className:"h-6 w-6"})})]})]}),a.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-3 gap-8 animate-fade-in",style:{animationDelay:"0.2s"},children:[a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"95%"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Success Rate"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"Candidates placed successfully"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"48h"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Average Response"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"From application to interview"})]}),a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-4xl font-bold text-yellow-500 mb-2",children:"€15k"}),a.jsx("div",{className:"text-primary-foreground/80",children:"Avg. Salary Increase"}),a.jsx("div",{className:"text-primary-foreground/60 text-sm",children:"When switching through our platform"})]})]})]})})}function ZN({title:t,description:e,inputPlaceholder:r,api_url:n="http://localhost:5147",buttonText:o,isSubscribed:i=!1,email:c=null}){const[l,d]=S.useState(c??""),[h,u]=S.useState(!1),[p,y]=S.useState(!1);S.useEffect(()=>{if(i){y(!0),c&&d(c);return}try{const x=localStorage.getItem("email"),v=localStorage.getItem("leadId");x&&v&&(y(!0),d(x))}catch{}},[i,c]);const f=async()=>{if(!l||!l.includes("@")){alert("Please enter a valid email");return}u(!0);try{const x=await fetch(`${n}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,source:"newsletter",utmCampaign:"general",utmMedium:"ui",utmSource:"newsletter_component"})});if(x.ok){const v=await x.json();localStorage.setItem("leadId",v.id),localStorage.setItem("email",l),y(!0)}else{const v=await x.text();alert("Submission failed: "+v)}}catch{alert("Network error while submitting")}finally{u(!1)}},k=p||i,m=c??l;return a.jsx("section",{className:"py-12 bg-[#0f1219] text-white",children:a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[a.jsx("h2",{className:"text-2xl font-bold mb-4",children:t}),a.jsx("p",{className:"text-gray-300 mb-6",children:e}),k?a.jsxs("p",{className:"text-green-400 font-semibold",children:["✅ Thanks! You’re subscribed",m?` as ${m}`:"","."]}):a.jsxs("div",{className:"flex flex-col sm:flex-row gap-2 max-w-lg mx-auto",children:[a.jsx(Ye,{type:"email",placeholder:r,value:l,onChange:x=>d(x.target.value),className:"px-4 py-2 rounded bg-gray-800 border border-gray-700 text-white flex-grow"}),a.jsx(U,{onClick:f,disabled:h,className:"px-6 py-2 bg-yellow-500 text-black font-medium rounded hover:bg-yellow-400 transition-colors",children:h?"Subscribing...":o})]})]})})})}function XN({title:t,locations:e,trendingKeywords:r,searchButtonText:n,apiUrl:o,className:i="",showTrending:c=!0,showLocationFilter:l=!0,mockMode:d=!1,searchPageUrl:h="#"}){const[u,p]=S.useState(""),[y,f]=S.useState(""),[k,m]=S.useState([]),[x,v]=S.useState(!1),w="Browse 3,500+ iGaming Jobs",M=[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],b=[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}];S.useEffect(()=>{const N=new URLSearchParams(window.location.search),q=N.get("q")||"",P=N.get("location")||"";p(q),f(P)},[]),S.useEffect(()=>{if(u.length<3){m([]);return}const N=setTimeout(()=>{C(u)},300);return()=>clearTimeout(N)},[u]);const C=async N=>{if(!o||d){m([`${N} Developer`,`${N} Manager`,`${N} Specialist`,`${N} Coordinator`,`${N} Agent`]);return}try{v(!0);const q=await fetch(`${o}/suggestions?q=${encodeURIComponent(N)}`);if(!q.ok)throw new Error("Failed to fetch suggestions");const P=await q.json();m(P.suggestions||[])}catch(q){console.error("Error fetching suggestions:",q),m([])}finally{v(!1)}},I=N=>p(N),L=N=>{N.key==="Enter"&&A()},A=()=>{if(d){console.log(`Mock Search - Term: ${u}, Location: ${y}`);return}const N=new URLSearchParams;u&&N.set("q",u),y&&N.set("location",y),window.location.href=`/jobs?${N.toString()}`};return a.jsxs("section",{className:`py-12 bg-gray-100 ${i}`,children:[a.jsxs("div",{className:"text-center mb-12 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:t||w}),a.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Find your next opportunity at the world's leading gaming companies"})]}),a.jsx("div",{className:"container mx-auto px-4",children:a.jsxs("div",{className:"bg-card p-6 rounded-2xl shadow-card mb-12 animate-scale-in",children:[a.jsxs("div",{className:"flex flex-col md:flex-row gap-4",children:[a.jsxs("div",{className:"flex-grow relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ot,{className:"h-5 w-5 text-gray-400"})}),a.jsx(Ye,{type:"text",placeholder:"Search by role, company, or keyword",className:"w-full pl-10 border-gray-300",value:u,onChange:N=>I(N.target.value),onKeyDown:L,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:k.map((N,q)=>a.jsx("option",{value:N},q))}),u&&a.jsx("button",{onClick:()=>p(""),className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(aa,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})}),x&&a.jsx("div",{className:"absolute inset-y-0 right-0 pr-10 flex items-center",children:a.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-b-2 border-gray-400"})})]}),l&&a.jsx("div",{className:"w-full md:w-1/3",children:a.jsxs("select",{className:"w-full h-10 px-3 border border-gray-300 rounded-md",value:y,onChange:N=>f(N.target.value),children:[a.jsx("option",{value:"",children:"All Locations"}),(e||M).map(N=>a.jsx("option",{value:N.id,children:N.name},N.id))]})}),a.jsxs(U,{className:"bg-yellow-500 hover:bg-yellow-400 text-black font-medium",onClick:A,disabled:x,children:[a.jsx(Ot,{size:18}),x?"Searching...":n||"Search"]})]}),c&&(r||b).length>0&&a.jsxs("div",{className:"mt-4 flex flex-wrap gap-2 items-center",children:[a.jsx("span",{className:"text-muted-foreground font-medium",children:"Trending:"}),(r||b).map((N,q)=>a.jsx("a",{href:N.href,className:"inline-flex items-center justify-center whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 rounded-md text-xs h-8 px-3 text-yellow-600 hover:text-yellow-800-hover hover:bg-accent/10",children:N.label},q))]})]})})]})}function JN({logo:t,navItems:e}){const[r,n]=S.useState(!1);return a.jsxs("header",{className:"bg-[#0f1219] text-white py-4",children:[a.jsxs("div",{className:"container mx-auto px-4 flex justify-between items-center",children:[a.jsxs("a",{href:"/",className:"flex items-center gap-2",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:a.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),a.jsx("span",{className:"font-bold text-xl",children:t.text})]}),a.jsx("nav",{className:"hidden md:flex items-center gap-6",children:e.map((o,i)=>a.jsx("a",{href:o.href,className:"hover:text-yellow-400 transition-colors",children:o.label},i))}),a.jsx("button",{className:"md:hidden text-white",onClick:()=>n(!r),children:r?a.jsx(Xt,{size:24}):a.jsx(js,{size:24})})]}),r&&a.jsx("div",{className:"md:hidden bg-[#0f1219] py-4",children:a.jsx("nav",{className:"container mx-auto px-4 flex flex-col gap-4",children:e.map((o,i)=>a.jsx("a",{href:o.href,className:"hover:text-yellow-400 transition-colors py-2",onClick:()=>n(!1),children:o.label},i))})})]})}function YN({logo:t,tagline:e,socialLinks:r,columns:n,contactInfo:o,copyright:i,poweredBy:c}){return a.jsx("footer",{className:"bg-[#0f1219] text-white py-12 border-t border-gray-800",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 mb-12",children:[a.jsxs("div",{className:"col-span-1",children:[a.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[a.jsx("div",{className:"w-10 h-10 rounded-full bg-yellow-500 flex items-center justify-center",children:a.jsx("span",{className:"text-black font-bold text-sm",children:t.initials})}),a.jsx("span",{className:"font-bold text-xl",children:t.text})]}),a.jsx("p",{className:"text-gray-400 mb-4",children:e}),a.jsx("div",{className:"flex gap-4",children:r.map((l,d)=>a.jsx("a",{href:l.href,className:"text-gray-400 hover:text-white",children:l.icon},d))})]}),n.map((l,d)=>a.jsxs("div",{className:"col-span-1",children:[a.jsx("h3",{className:"font-bold text-lg mb-4",children:l.title}),a.jsx("ul",{className:"space-y-2",children:l.links.map((h,u)=>a.jsx("li",{children:a.jsx("a",{href:h.href,className:"text-gray-400 hover:text-white",children:h.label})},u))})]},d))]}),a.jsx("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 py-6 border-t border-gray-800",children:a.jsxs("div",{className:"flex flex-col md:flex-row gap-6",children:[a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(ca,{size:16}),a.jsx("span",{children:o.email})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Ui,{size:16}),a.jsx("span",{children:o.phone})]}),a.jsxs("div",{className:"flex items-center gap-2 text-gray-400",children:[a.jsx(Et,{size:16}),a.jsx("span",{children:o.location})]})]})}),a.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4 pt-6 border-t border-gray-800 text-gray-400 text-sm",children:[a.jsx("p",{children:i}),a.jsx("p",{children:c})]})]})})}const KN=()=>{const[t,e]=S.useState(null),r=[{id:1,name:"BetTech Gaming",logo:"BG",description:"Leading casino platform provider"},{id:2,name:"SportsBet Pro",logo:"SP",description:"Premier sportsbook solutions"},{id:3,name:"Casino Solutions",logo:"CS",description:"Innovative gaming technology"},{id:4,name:"Gaming Analytics",logo:"GA",description:"Data-driven gaming insights"},{id:5,name:"PokerTech",logo:"PT",description:"Advanced poker platforms"},{id:6,name:"SlotMaster",logo:"SM",description:"Premium slot game developer"},{id:7,name:"LiveCasino",logo:"LC",description:"Live dealer solutions"},{id:8,name:"BetSafe Tech",logo:"BT",description:"Secure betting infrastructure"},{id:9,name:"GameHub",logo:"GH",description:"Multi-game platform provider"},{id:10,name:"WinTech",logo:"WT",description:"Winning gaming solutions"}];return a.jsx("section",{className:"py-20 bg-gray-100",children:a.jsxs("div",{className:"container mx-auto px-4",children:[a.jsxs("div",{className:"text-center mb-16 animate-fade-in",children:[a.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Our Partners"}),a.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Trusted by 500+ leading iGaming companies worldwide"})]}),a.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6 mb-12",children:r.map((n,o)=>a.jsxs("div",{className:"group relative bg-card p-6 rounded-xl shadow-card hover:shadow-elegant transition-all duration-300 transform hover:-translate-y-2 cursor-pointer animate-scale-in",style:{animationDelay:`${o*.05}s`},onMouseEnter:()=>e(n.id),onMouseLeave:()=>e(null),children:[a.jsx("div",{className:"aspect-square flex items-center justify-center mb-4",children:a.jsx("div",{className:"w-16 h-16 bg-gradient-accent rounded-xl flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:a.jsx("span",{className:"text-accent-foreground font-bold text-lg",children:n.logo})})}),a.jsx("h3",{className:"text-center font-bold text-card-foreground group-hover:text-accent transition-colors duration-300 text-sm",children:n.name}),t===n.id&&a.jsx("div",{className:"absolute inset-0 bg-primary/95 rounded-xl flex items-center justify-center p-4 animate-fade-in",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"text-primary-foreground font-bold mb-2",children:n.name}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:n.description}),a.jsx("div",{className:"mt-3 text-yellow-500 text-sm font-medium",children:"View Jobs →"})]})}),a.jsx("div",{className:"absolute inset-0 border-2 border-transparent group-hover:border-accent/50 rounded-xl transition-colors duration-300"})]},n.id))}),a.jsx("div",{className:"bg-gradient-hero p-8 rounded-2xl shadow-accent animate-fade-in",style:{animationDelay:"0.5s"},children:a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6 text-center text-primary-foreground",children:[a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"500+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Gaming Companies Trust Us"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"50+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Countries Worldwide"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"€2B+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Combined Revenue"})]}),a.jsxs("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:"10M+"}),a.jsx("div",{className:"text-primary-foreground/80 text-sm",children:"Players Served"})]})]})}),a.jsxs("div",{className:"text-center mt-12 animate-slide-in",style:{animationDelay:"0.6s"},children:[a.jsx("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Want to Partner with Us?"}),a.jsx("p",{className:"text-muted-foreground mb-6 max-w-lg mx-auto",children:"Join hundreds of leading iGaming companies finding top talent through our platform"}),a.jsx("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:a.jsx("a",{href:"/partners",className:"bg-yellow-500 hover:bg-accent-hover font-semibold py-3 px-8 rounded-lg transition-all duration-300 transform hover:scale-105 shadow-accent",children:"Become a Partner"})})]})]})})};function RD(){const[t,e]=S.useState(null);return S.useEffect(()=>{try{const r=localStorage.getItem("email");r&&e(r)}catch{}},[]),{isSubscribed:!!t,email:t}}const QN=S.createContext({consent:{analytics:!1,marketing:!1,preferences:!1},ready:!1,update:async()=>{console.log("ConsentContext not initialized")}});function eA({notification_url:t="http://localhost:5147",children:e}){const[r,n]=S.useState({analytics:!1,marketing:!1,preferences:!1}),[o,i]=S.useState(!1),l=(p=>p.replace(/\/+$/,""))(t??"http://localhost:5147"),[d,h]=S.useState(null);S.useEffect(()=>{try{const p=localStorage.getItem("leadId");p&&h(p)}catch{}},[]),S.useEffect(()=>{const p=localStorage.getItem("consent");if(p)try{n(JSON.parse(p)),i(!0);return}catch{}if(!d){i(!0);return}fetch(`${l}/api/leads/${d}/consents/latest`).then(y=>y.ok?y.json():null).then(y=>{y&&n({analytics:!!y.analytics,marketing:!!y.marketing,preferences:!!y.preferences,timestamp:y.createdAt})}).catch(()=>{}).finally(()=>i(!0))},[d]);const u=async p=>{const y={...r,...p,timestamp:new Date().toISOString()};n(y),localStorage.setItem("consent",JSON.stringify(y));const f={analytics:y.analytics,marketing:y.marketing,preferences:y.preferences,policyVersion:"cmp-v1.0",source:"web:banner"};try{d?await fetch(`${l}/api/leads/${d}/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(f)}):await fetch(`${l}/api/consents`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(f)})}catch(k){console.warn("Consent API unavailable, kept only locally",k)}};return a.jsx(QN.Provider,{value:{consent:r,ready:o,update:u},children:e})}const Tj=()=>S.useContext(QN);function TD({allow:t,children:e}){const{consent:r,ready:n}=Tj();return!n||!r[t]?null:a.jsx(a.Fragment,{children:e})}function tA({title:t="Cookie consent",description:e="We use cookies to improve your experience. You can accept all or manage preferences. Non-essential cookies are off until you opt in.",buttonAcceptLabel:r="Accept all",buttonRejectLabel:n="Reject non-essential",defaultOpen:o=!1,isOpen:i,onAccept:c,onReject:l}){const{consent:d,update:h,ready:u}=Tj(),[p,y]=S.useState(o);S.useEffect(()=>{i===void 0&&u&&!d.timestamp&&y(!0)},[d.timestamp,i,u]);const f=S.useMemo(()=>i??p,[i,p]),k=()=>{i===void 0&&y(!1)};if(!f)return null;const m=()=>{h({analytics:!0,marketing:!0,preferences:!0}),k(),c==null||c()},x=()=>{h({analytics:!1,marketing:!1,preferences:!1}),k(),l==null||l()};return a.jsxs("div",{role:"dialog","aria-label":t,className:"fixed bottom-4 left-4 right-4 z-50 rounded-2xl bg-white p-4 shadow-xl",children:[a.jsx("p",{className:"text-sm",children:e}),a.jsxs("div",{className:"mt-3 flex gap-2",children:[a.jsx("button",{className:"px-3 py-2 rounded-xl border",onClick:x,children:n}),a.jsx("button",{className:"px-3 py-2 rounded-xl bg-black text-white",onClick:m,children:r})]})]})}const qD={logo:{text:"iGamingCareer.com",initials:"iG"},navItems:[{label:"Home",href:"/"},{label:"iGaming Salaries 2025",href:"/salaries"},{label:"Jobs",href:"/jobs"},{label:"About Us",href:"/about"},{label:"Blog",href:"/blog"},{label:"Contact",href:"/contact"}]},DD={title:"Find Your Dream Job in",subtitle:`The #1 platform for iGaming careers—connecting top talent with leading casinos,
|
|
7749
|
+
sportsbooks, and tech providers worldwide.`,backgroundImage:"/placeholder.svg?height=800&width=1600",primaryButtonText:"Search Jobs",secondaryButtonText:"Upload CV"},zD={title:"Why Choose Us?",values:[{icon:mt,title:"Niche Expertise",description:"Dedicated solely to iGaming jobs worldwide."},{icon:La,title:"Recruiter Network",description:"Direct access to hiring managers at top brands."},{icon:Oa,title:"Salary Insights",description:"Transparent data to negotiate your best offer."},{icon:bs,title:"Career Growth",description:"Courses and certifications to level up your skills."}]},FD={title:"Browse 3,500+ iGaming Jobs",locations:[{id:"malta",name:"Malta"},{id:"remote",name:"Remote"},{id:"uk",name:"United Kingdom"},{id:"gibraltar",name:"Gibraltar"}],trendingKeywords:[{label:"CRM Manager",href:"/jobs?q=crm-manager"},{label:"Game Developer",href:"/jobs?q=game-developer"},{label:"Compliance Specialist",href:"/jobs?q=compliance-specialist"}],searchButtonText:"Search"},ED={title:"Trusted by Professionals & Companies",testimonial:{quote:"Landed my dream job at DraftKings in 2 weeks! The platform was easy to use and the team provided great support throughout the process.",name:"Sarah",title:"Product Manager",avatar:"/placeholder.svg?height=80&width=80"},stats:[{value:"10,000+",label:"Candidates hired through our platform"},{value:"500+",label:"iGaming companies trust us"},{value:"25+",label:"Countries with active job listings"}],partnerLogos:Array(5).fill("/placeholder.svg?height=60&width=120")},OD={title:"Get Exclusive iGaming Job Alerts",description:"Weekly openings + salary reports. Unsubscribe anytime.",inputPlaceholder:"Your email address",buttonText:"Subscribe"},HD={title:"Hire Top iGaming Talent",description:"Access 50,000+ skilled professionals. Post a job in 5 minutes.",primaryButtonText:"Post a Job",primaryButtonHref:"/employers/post-job",secondaryButtonText:"Learn More",secondaryButtonHref:"/employers"},VD={logo:{text:"iGamingCareer.com",initials:"iG"},tagline:"We bet on the people behind the game.",socialLinks:[{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-linkedin",children:[a.jsx("path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}),a.jsx("rect",{width:"4",height:"12",x:"2",y:"9"}),a.jsx("circle",{cx:"4",cy:"4",r:"2"})]}),href:"#"},{icon:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-instagram",children:[a.jsx("rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5"}),a.jsx("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),a.jsx("line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5"})]}),href:"#"}],columns:[{title:"Company",links:[{label:"About Us",href:"/about"},{label:"Careers",href:"/careers"},{label:"Press",href:"/press"}]},{title:"Resources",links:[{label:"Job Board",href:"/jobs"},{label:"Courses",href:"/courses"},{label:"Salary Guide",href:"/salary-guide"}]},{title:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"Contact Us",href:"/contact"}]}],contactInfo:{email:"info@igamingcareer.com",phone:"+1 (234) 567-89",location:"Malta, Europe"},copyright:"© 2025 iGaming Career Finder. All rights reserved.",poweredBy:"Powered by iGamingCareer.com"},Fa=(t,e)=>({...t,...e??{}});function BD({headerData:t,heroData:e,valuePropositionData:r,jobSearchData:n,trustSignalsData:o,newsletterData:i,forEmployersData:c,footerData:l,showValueProposition:d=!0,showJobSearchWidget:h=!0,showTrustSignals:u=!0,showPartners:p=!0,showNewsletter:y=!0,showForEmployers:f=!0,showConsentBanner:k=!0,consentNotificationUrl:m="http://localhost:5147",consentBannerProps:x}){const{isSubscribed:v,email:w}=RD(),M=Fa(qD,t),b=Fa(DD,e),C=Fa(zD,r),I=Fa(FD,n),L=Fa(ED,o),A=Fa(OD,i),N=Fa(HD,c),q=Fa(VD,l),P={...A,isSubscribed:(i==null?void 0:i.isSubscribed)??v,email:(i==null?void 0:i.email)??w};return a.jsx(eA,{notification_url:m,children:a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx(JN,{...M}),a.jsxs("main",{className:"flex-grow",children:[a.jsx($N,{...b}),d&&a.jsx(GN,{...C}),h&&a.jsx(XN,{...I}),u&&a.jsx(WN,{...L}),p&&a.jsx(KN,{}),y&&a.jsx(ZN,{...P}),f&&a.jsx(UN,{...N})]}),a.jsx(YN,{...q}),k&&a.jsx(tA,{...x})]})})}function qj({title:t="Premium Job Alerts",description:e="Get notified about new jobs that match your skills and preferences.",inputPlaceholder:r="Your email address",buttonText:n="Subscribe",api_url:o="http://localhost:5147"}){const[i,c]=S.useState(""),[l,d]=S.useState(!1),[h,u]=S.useState(!1);S.useEffect(()=>{const y=localStorage.getItem("email");y&&(u(!0),c(y))},[]);const p=async()=>{if(!i||!i.includes("@")){alert("Please enter a valid email");return}d(!0);try{const y=await fetch(`${o}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:i,source:"sidebar_newsletter",utmCampaign:"jobs_sidebar",utmMedium:"ui",utmSource:"sidebar_component"})});if(y.ok){const f=await y.json();localStorage.setItem("leadId",f.id),localStorage.setItem("email",i),u(!0)}else{const f=await y.text();alert("Submission failed: "+f)}}catch{alert("Network error while submitting")}finally{d(!1)}};return a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:t}),a.jsx("p",{className:"text-sm text-gray-600 mb-4",children:e}),h?a.jsxs("p",{className:"text-green-600 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"flex flex-col",children:[a.jsx(Ye,{type:"email",value:i,onChange:y=>c(y.target.value),placeholder:r,className:"mb-3"}),a.jsx(U,{type:"button",onClick:p,disabled:l,className:"bg-yellow-600 text-white hover:bg-yellow-700 transition-colors",children:l?"Subscribing...":n})]})]})}function aA({open:t,type:e,message:r,onClose:n}){if(S.useEffect(()=>{if(t){const i=setTimeout(n,5e3);return()=>clearTimeout(i)}},[t,n]),!t)return null;const o={success:"bg-green-100 text-green-800 border-green-300",error:"bg-red-100 text-red-800 border-red-300",info:"bg-yellow-100 text-yellow-800 border-yellow-300"};return a.jsx("div",{className:`fixed top-6 right-6 z-50 max-w-sm w-full p-4 rounded-lg border shadow-md ${o[e]}`,children:a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsx("p",{className:"text-sm font-medium",children:r}),a.jsx("button",{onClick:n,className:"ml-4",children:a.jsx(aa,{className:"w-5 h-5"})})]})})}const Uc=({position:t,url:e,alt:r,link:n})=>{let o="",i="";switch(t){case"top":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-yellow-100",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"bottom":o="w-screen h-[48px] md:h-[90px] flex justify-center items-center bg-green-100 mt-8",i="w-[390px] h-[48px] md:w-[728px] md:h-[90px]";break;case"sidebar":o="w-[300px] h-[250px] flex justify-center items-center bg-yellow-100",i="w-[300px] h-[250px]";break}const c=e.match(/\.(mp4|webm|ogg)$/i);return a.jsx("div",{className:o,children:a.jsx("a",{href:n,target:"_blank",children:c?a.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:`${i} object-cover`,children:[a.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}):a.jsx("img",{src:e,alt:r,className:`${i} object-cover`})})})},P9=({options:t,value:e,onChange:r,placeholder:n,className:o=""})=>{const[i,c]=S.useState(!1),[l,d]=S.useState(""),h=S.useRef(null),u=t.filter(p=>p.toLowerCase().includes(l.toLowerCase()));return S.useEffect(()=>{const p=y=>{h.current&&!h.current.contains(y.target)&&c(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),a.jsxs("div",{className:`searchable-select-container relative ${o}`,ref:h,children:[a.jsxs("div",{className:"searchable-select-header px-3 py-2 border border-gray-300 rounded-lg bg-white cursor-pointer flex justify-between items-center",onClick:()=>c(!i),children:[a.jsx("span",{className:e?"text-gray-900":"text-gray-500",children:e||n}),a.jsx("svg",{className:`h-5 w-5 text-gray-400 transition-transform ${i?"transform rotate-180":""}`,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:a.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),i&&a.jsxs("div",{className:"searchable-select-dropdown absolute z-10 mt-1 w-full bg-white border border-gray-300 rounded-lg shadow-lg",children:[a.jsx("div",{className:"p-2",children:a.jsx("input",{type:"text",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",placeholder:"Search...",value:l,onChange:p=>d(p.target.value),onClick:p=>p.stopPropagation(),autoFocus:!0})}),a.jsxs("div",{className:"max-h-60 overflow-y-auto",children:[a.jsx("div",{className:"py-1 px-2 hover:bg-gray-100 cursor-pointer text-gray-500",onClick:()=>{r(""),c(!1),d("")},children:n}),u.length>0?u.map((p,y)=>a.jsx("div",{className:`py-1 px-2 cursor-pointer ${e===p?"bg-yellow-50 text-indigo-700":"hover:bg-gray-100 text-gray-900"}`,onClick:()=>{r(p),c(!1),d("")},children:p},y)):a.jsx("div",{className:"py-1 px-2 text-gray-500 italic",children:"No results found"})]})]})]})},UD=({filterKeys:t,filtersData:e,activeFilters:r,handleFilterChange:n,searchFilters:o,removeSearchFilter:i,clearAllFilters:c,searchableFilters:l})=>a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"filters-grid",children:t.map(d=>{var u,p;return(l==null?void 0:l.includes(d))?a.jsx(P9,{options:((u=e[d])==null?void 0:u.filter(y=>typeof y=="string"))||[],value:r[d]||"",onChange:y=>n(d,y),placeholder:`Select ${d.replace(/_/g," ")}`},d):a.jsxs("select",{className:"filter-select",onChange:y=>n(d,y.target.value),value:r[d]||"",children:[a.jsxs("option",{value:"",children:["Select ",d.replace(/_/g," ")]}),(p=e[d])==null?void 0:p.map((y,f)=>typeof y!="string"?null:a.jsx("option",{value:y,children:y},`${d}-${f}`))]},d)})}),a.jsxs("div",{className:"active-filters",children:[o.map(d=>a.jsxs("div",{className:"filter-badge search-filter-badge",children:[a.jsx("span",{className:"filter-value",children:d}),a.jsx("button",{className:"remove-filter",onClick:()=>i(d),"aria-label":`Remove search filter ${d}`,children:"×"})]},`search-${d}`)),Object.entries(r).map(([d,h])=>a.jsxs("div",{className:"filter-badge",children:[a.jsxs("span",{className:"filter-label",children:[d.replace(/_/g," "),":"]}),a.jsx("span",{className:"filter-value",children:h}),a.jsx("button",{className:"remove-filter",onClick:()=>n(d,""),"aria-label":`Remove ${d} filter`,children:"×"})]},d)),(Object.keys(r).length>0||o.length>0)&&a.jsx("button",{className:"clear-all-filters",onClick:c,children:"Clear All"})]})]}),$D=({searchTerm:t,handleSearchChange:e,handleSearchKeyDown:r,suggestions:n})=>a.jsx("div",{className:"search-container",children:a.jsxs("div",{className:"search-input-wrapper",children:[a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"search-icon",children:[a.jsx("circle",{cx:"11",cy:"11",r:"8"}),a.jsx("path",{d:"m21 21-4.3-4.3"})]}),a.jsx("input",{type:"text",className:"search-input",placeholder:"Search jobs and press Enter to add as filter...",value:t,onChange:o=>e(o.target.value),onKeyDown:r,list:"job-suggestions"}),a.jsx("datalist",{id:"job-suggestions",children:n.map((o,i)=>a.jsx("option",{value:o},i))})]})}),GD={not_registered:{status:"not_registered",allowSaving:!1,maskExternalLinks:!1},freemium:{status:"freemium",allowSaving:!0,maskExternalLinks:!1},premium:{status:"premium",allowSaving:!0,maskExternalLinks:!1}},_9=t=>{const e=(t==null?void 0:t.status)??"not_registered",r=GD[e];return{...r,allowSaving:(t==null?void 0:t.allowSaving)??r.allowSaving,maskExternalLinks:(t==null?void 0:t.maskExternalLinks)??r.maskExternalLinks,note:t==null?void 0:t.note}},Dj={not_registered:"Guest access",freemium:"Freemium member",premium:"Premium member"},rA=({job:t,positionInList:e,onSaveJob:r,onViewJob:n,onApplyJob:o,isSaved:i,layout:c="grid",userAccess:l})=>{var b;if(!t||typeof t!="object")return console.error("❌ Invalid job data:",t),a.jsx("div",{className:"job-card bg-red-50",children:a.jsxs("div",{className:"p-4",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]})});const d=C=>{if(x){C.preventDefault(),C.stopPropagation();return}const I=x?"external":t.description&&t.description!==""?"same_tab":"new_tab";o==null||o(t,e,"external"),n(t,e,I)},h=C=>{C.preventDefault(),C.stopPropagation(),m&&r(t,e)};t.published_at||t.created_at||t.scraped_at;const u=t.min_salary||0,p=t.max_salary||0,y=`$${u.toLocaleString()} - $${p.toLocaleString()}`,k=(C=>{if(!C)return"Recently posted";try{const I=new Date(C),A=Math.abs(new Date().getTime()-I.getTime()),N=Math.floor(A/(1e3*60*60*24));return N===0?"Today":N===1?"Yesterday":N<7?`${N} days ago`:N<30?`${Math.floor(N/7)} weeks ago`:N<365?`${Math.floor(N/30)} months ago`:`${Math.floor(N/365)} years ago`}catch{return"Recently posted"}})(t.published_at||t.created_at||t.scraped_at),m=l.allowSaving,x=l.maskExternalLinks,v=Dj[l.status],w=m?"Save job":"Log in to save this job",M=t.description&&t.description!==""?"/jobs/"+(t.slug||t.id):t.link;return a.jsxs("div",{className:`bg-white rounded-lg shadow-sm border border-gray-200 p-3 hover:shadow-md transition-shadow
|
|
7750
|
+
${c==="grid"?"flex flex-col h-full":"flex flex-col md:flex-row md:items-center md:space-x-4"}`,children:[a.jsxs("div",{className:"flex items-start space-x-4",children:[a.jsx("img",{src:t.logo||`/placeholder.svg?height=48&width=48&text=${((b=t.company)==null?void 0:b.charAt(0))||"C"}`,alt:`${t.company} logo`,className:"w-12 h-12 rounded-lg object-contain bg-gray-50"}),a.jsxs("div",{className:"flex-1",children:[a.jsx("h3",{className:"font-semibold text-gray-900",children:t.title||"No Title Available"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:t.company||"Unknown Company"}),a.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:v}),l.note&&a.jsx("span",{className:"text-xs text-gray-500",children:l.note})]})]})]}),a.jsxs("div",{className:`
|
|
7751
7751
|
mt-4 ${c==="list"?"md:mt-0 md:flex-1":""}
|
|
7752
7752
|
`,children:[a.jsx("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"w-4 h-4 mr-1"}),t.location||"Remote"]})}),a.jsxs("div",{className:"flex items-center space-x-4 text-xs text-gray-500 mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(mt,{className:"w-4 h-4 mr-1"}),t.department||"Full-time"]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"h-3.5 w-3.5 mr-1.5"}),a.jsx("span",{children:k})]})]}),a.jsx("div",{className:"hidden mt-2 text-xs text-gray-500",children:y})]}),a.jsxs("div",{className:`mt-auto pt-4 flex items-center space-x-3 ${c==="list"?"md:mt-0 md:ml-4":""}`,children:[a.jsx("button",{onClick:h,disabled:!m,className:`
|
|
7753
7753
|
p-2 rounded-lg transition-colors
|
|
7754
7754
|
${i?"text-yellow-600 bg-yellow-50 hover:bg-yellow-100":"text-gray-400 hover:text-gray-600 hover:bg-gray-100"}
|
|
7755
|
-
`,"aria-label":i?"Unsave job":"Save job",title:w,children:a.jsx(Ga,{size:20,className:`transition-colors ${i?"fill-blue-600 text-yellow-600":""}`})}),x?a.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):a.jsx("a",{href:
|
|
7756
|
-
transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!m&&a.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},WD=({jobs:t,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:o})=>t.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No jobs found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:"jobs-grid",children:t.map(i=>a.jsx(rA,{job:i,onSaveJob:e,onViewJob:r,isSaved:n(i),userAccess:o},i.link))}),ZD=({currentPage:t,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let i=1;i<=e;i++)n.push(i);else if(t<=3)for(let i=1;i<=5;i++)n.push(i);else if(t>=e-2)for(let i=e-4;i<=e;i++)n.push(i);else for(let i=t-2;i<=t+2;i++)n.push(i);return a.jsxs("div",{className:"pagination",children:[a.jsx("button",{className:"pagination-button prev-button",disabled:t===1,onClick:()=>r(t-1),children:a.jsx(wa,{})}),n.map(i=>a.jsx("button",{className:`pagination-button ${t===i?"active":""}`,onClick:()=>r(i),children:i},i)),a.jsx("button",{className:"pagination-button next-button",disabled:t===e,onClick:()=>r(t+1),children:a.jsx(Ma,{})})]})},XD=({isOpen:t,onClose:e,filterKeys:r,filtersData:n,activeFilters:o,handleFilterChange:i,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>a.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${t?"opacity-100":"opacity-0 pointer-events-none"}`,children:a.jsx("div",{className:`fixed right-0 top-0 w-4/5 max-w-sm bg-white h-full shadow-xl transition-transform duration-300 ease-in-out ${t?"transform translate-x-0":"transform translate-x-full"}`,children:a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),a.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:a.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"mb-4",children:a.jsx("input",{type:"text",className:"w-full p-2 border border-gray-300 rounded-md",placeholder:"Search jobs...",value:l,onChange:p=>c(p.target.value)})}),r.map(p=>{var y;return a.jsxs("div",{className:"mb-4",children:[a.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),a.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:f=>i(p,f.target.value),value:o[p]||"",children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=n[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),Object.keys(o).length>0&&a.jsxs("div",{className:"mt-4",children:[a.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(o).map(([p,y])=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-yellow-800 rounded-full px-3 py-1 text-sm mr-2 mb-2",children:[a.jsxs("span",{children:[p.replace(/_/g," "),": ",y]}),a.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>i(p,""),children:"×"})]},p)),a.jsx("button",{className:"mt-2 w-full bg-red-100 text-red-800 rounded-md px-3 py-2 text-sm font-medium",onClick:d,children:"Clear All Filters"})]})]})})}),JD=({apiUrl:t,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:o,enableMobileFilter:i,banners:c,userAccess:l})=>{const[d,h]=S.useState([]),[u,p]=S.useState([]),[y,f]=S.useState(1),[k,m]=S.useState({}),[x,v]=S.useState([]),[w,b]=S.useState({}),[M,C]=S.useState(""),[N,L]=S.useState([]),[A,I]=S.useState(!1),q=_9(l);S.useEffect(()=>{fetch(`${t}/items`).then(te=>te.json()).then(te=>{h(te),p(te);const le=P(te);b(le)}).catch(te=>console.error("Error fetching items:",te))},[t]);const P=te=>{const le={};te.forEach(Z=>{r.forEach(Y=>{le[Y]||(le[Y]=new Set);const ne=Z[Y];ne!=null&&le[Y].add(String(ne))})});const U={};return Object.keys(le).forEach(Z=>{U[Z]=Array.from(le[Z])}),U},_=te=>{const le=P(te);b(le)},T=(te,le)=>{m(U=>{const Z=le?{...U,[te]:le}:{...U};le||delete Z[te];const Y=H(d,Z,x);return p(Y),f(1),_(Y),Z})},G=te=>{if(C(te),te){const le=d.map(U=>U.title).filter((U,Z,Y)=>U&&U.toLowerCase().includes(te.toLowerCase())&&Y.indexOf(U)===Z).slice(0,5);L(le)}else L([])},W=te=>{if(te.key==="Enter"&&M.trim()){te.preventDefault();const le=[...x,M.trim()];v(le);const U=H(d,k,le);p(U),f(1),_(U),C("")}},B=te=>{const le=x.filter(Z=>Z!==te);v(le);const U=H(d,k,le);p(U),f(1),_(U)},H=(te,le,U)=>{let Z=te.filter(Y=>Object.entries(le).every(([ne,ue])=>{const ie=Y[ne];return typeof ie=="string"&&ie.toLowerCase()===ue.toLowerCase()}));return U.length>0&&(Z=Z.filter(Y=>U.every(ne=>Y.title.toLowerCase().includes(ne.toLowerCase())))),Z},O=()=>{m({}),v([]),p(d),f(1),_(d)},K=()=>{I(!A)},ce=(te,le)=>{},ee=te=>{},Q=te=>!1,be=Math.ceil(u.length/e),xe=u.slice((y-1)*e,y*e);return a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx("div",{className:"flex-grow",children:a.jsxs("div",{className:"job-listings-container",children:[a.jsx("div",{className:"header-container",children:a.jsxs("div",{className:"header-content",children:[a.jsx("h1",{className:"main-title",children:"Job Listings"}),a.jsxs("p",{className:"items-count",children:["Total: ",a.jsx("span",{className:"count-value",children:u.length})]})]})}),a.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:K,children:A?"Close Filters":"Open Filters"}),a.jsxs("div",{className:"hidden md:block filters-container",children:[a.jsx($D,{searchTerm:M,handleSearchChange:G,handleSearchKeyDown:W,suggestions:N}),a.jsx(UD,{filterKeys:r,filtersData:w,activeFilters:k,handleFilterChange:T,searchFilters:x,removeSearchFilter:B,clearAllFilters:O,searchableFilters:["company"]})]}),a.jsx(XD,{isOpen:A,onClose:K,filterKeys:r,filtersData:w,activeFilters:k,handleFilterChange:T,handleSearchChange:G,searchTerm:M,clearAllFilters:O,handleSearchKeyDown:W,searchFilters:x,removeSearchFilter:B}),a.jsxs("div",{className:"flex flex-col md:flex-row",children:[a.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[a.jsx("h2",{className:"section-title",children:"Open Positions"}),a.jsx(WD,{jobs:xe,onSaveJob:ce,onViewJob:ee,isJobSaved:Q,userAccess:q}),a.jsx(ZD,{currentPage:y,totalPages:be,setCurrentPage:f})]}),a.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:a.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&a.jsx(Uc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&a.jsx(Uc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},YD=({title:t="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,o]=S.useState(!1),[i,c]=S.useState(null);S.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(o(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return a.jsx("footer",{className:"bg-gray-800 text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[a.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:a.jsx("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:Array.isArray(r)&&r.map((d,h)=>{var u;return Array.isArray(d)&&d.length>0?a.jsxs("div",{className:"mt-12 md:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),a.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,y)=>a.jsx("li",{children:a.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},y))})]},h):null})})}),a.jsxs("div",{className:"mt-8 xl:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:t}),a.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?a.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[a.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),a.jsx("input",{type:"email",name:"email-address",id:"email-address",autoComplete:"email",required:!0,className:"appearance-none min-w-0 w-full bg-white border border-transparent rounded-md py-2 px-4 text-base text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white focus:border-white focus:placeholder-gray-400",placeholder:"Enter your email"}),a.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-blue-500",children:"Subscribe"})})]})]})]}),a.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:a.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},KD=({logo:t="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>a.jsx("nav",{className:"bg-white shadow-md",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex",children:[a.jsx("div",{className:"flex-shrink-0 flex items-center",children:a.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:t?a.jsx("img",{src:t,alt:"Logo",className:"h-6 w-6"}):a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"mercado-match h-6 w-6",focusable:"false",children:a.jsx("path",{d:"M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"})})})}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((o,i)=>a.jsx("a",{href:o.url,className:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium",children:o.text},i))})]}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:a.jsx("a",{href:n,className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-yellow-600 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",children:r})})]})})}),nA=({savedJobsCount:t})=>{const[e,r]=S.useState("");S.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=o=>e===o;return a.jsx("nav",{className:"fixed bottom-0 left-0 right-0 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 md:hidden z-50",children:a.jsxs("div",{className:"grid grid-cols-5 h-16",children:[a.jsxs("a",{href:"/","aria-label":"Home",className:`flex flex-col items-center justify-center ${n("/")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(va,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),a.jsxs("a",{href:"/jobs","aria-label":"Jobs",className:`flex flex-col items-center justify-center ${n("/jobs")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(mt,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),a.jsxs("a",{href:"/saved","aria-label":"Saved Jobs",className:`flex flex-col items-center justify-center relative ${n("/saved")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(lc,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Saved"}),t>0&&a.jsx("span",{className:"absolute -top-1 -right-1 bg-primary-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs",children:t})]}),a.jsxs("a",{href:"/courses","aria-label":"Courses",className:`flex flex-col items-center justify-center ${n("/courses")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(Ft,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),a.jsxs("a",{href:"/news","aria-label":"News",className:`flex flex-col items-center justify-center ${n("/news")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(Sa,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},QD=t=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],o=["New York","San Francisco","Austin","Seattle","Chicago"],i=["USA","Canada","UK","Germany","Australia"],c=["Startup","Enterprise","Agency","Nonprofit","Government"],l=d=>{const h=new Date;return h.setDate(h.getDate()-Math.floor(Math.random()*d)),h.toISOString()};return Array.from({length:t},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:o[h%o.length],country:i[h%i.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},oA=({activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsxs("div",{className:"date-filter",children:[r&&a.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),a.jsx("select",{id:"date-filter",value:t,onChange:o=>e(o.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",children:n.map(o=>a.jsx("option",{value:o.value,children:o.label},o.value))})]}),iA=({activeDateFilter:t,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:o,activeFilters:i,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:y,dateOptions:f=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsx("div",{children:a.jsxs("div",{className:p?"block":"hidden",children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>y(!p)}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),a.jsx("button",{onClick:()=>y(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[a.jsx("span",{className:"text-sm font-medium text-gray-900",children:o}),a.jsx(oA,{activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:"",options:f})]}),r.map(k=>{var x;const m=k.replace(/_/g," ");return a.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[a.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:m}),n.includes(k)?a.jsx(P9,{options:d[k]||[],value:i[k]||"",onChange:v=>c(k,v),placeholder:`Select ${m}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow-500 focus:border-yellow-500 bg-white",value:i[k]||"",onChange:v=>c(k,v.target.value),children:[a.jsxs("option",{value:"",children:["Select ",m]}),(x=d[k])==null?void 0:x.map(v=>a.jsx("option",{value:v,children:v},v))]})]},k)}),a.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:a.jsx("button",{onClick:()=>y(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),zj=({totalColumns:t=2})=>a.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"animate-pulse",children:[a.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${t} gap-6`,children:[...Array(4)].map((e,r)=>a.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[a.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),a.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),a.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),Fj=({data:t,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:o,className:i="",showSubmitButton:c=!1})=>{const[l,d]=S.useState(""),[h,u]=S.useState([]),[p,y]=S.useState(!1),f=S.useRef(null),k=v=>{d(v),y(!0),o&&o(v)},m=()=>{d(""),u([]),y(!1),o==null||o("")},x=v=>{e(v),d(""),u([]),y(!1)};return S.useEffect(()=>{f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{if(!l){u([]);return}const v=t.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,b,M)=>M.indexOf(w)===b).slice(0,5);u(v)},n)},[l,t]),a.jsxs("div",{className:`relative w-full ${i}`,children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ot,{className:"h-4 w-4 text-gray-400"})}),a.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 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-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:v=>k(v.target.value),onFocus:()=>y(h.length>0),onBlur:()=>setTimeout(()=>y(!1),200),onKeyDown:v=>{v.key==="Enter"&&l.trim()&&(v.preventDefault(),x(l.trim()))}}),l&&!c&&a.jsx("button",{onClick:m,className:"absolute inset-y-0 right-2 flex items-center",children:a.jsx(Xt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&a.jsx("button",{onClick:()=>l.trim()&&x(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:a.jsx(Ot,{className:"h-4 w-4"})})]}),p&&h.length>0&&a.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((v,w)=>a.jsx("li",{children:a.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>x(v),children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ot,{className:"h-4 w-4 mr-2 text-gray-400"}),v]})})},w))})]})},Ej=({onSearchChange:t,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:o=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:i=c=>`?q=${encodeURIComponent(c)}`})=>(S.useState(""),a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:a.jsx("div",{className:"flex items-center justify-between",children:a.jsxs("div",{children:[a.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),a.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[a.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),o.map(c=>a.jsxs("a",{href:i(c),className:"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent text-yellow-600 bg-yellow-50 hover:bg-yellow-100 cursor-pointer",children:["#",c]},c))]})})})})]})),ez=t=>t.toLowerCase().replace(/anti[-\s]?money[-\s]?laundering/g,"aml").replace(/counter[-\s]?terrorist[-\s]?financing/g,"cft").replace(/personal management licence/g,"pml").replace(/general data protection regulation/g,"gdpr");function Oj(t){const e=ez(t),r={gambling:["igaming","casino","slot","slots","bingo","poker","blackjack","roulette","lottery","rgs","rng","rmg","betting","sportsbook","land based"],compliance:["aml","money laundering","gdpr","compliance","licence","mlro","data protection","responsible gaming","player protection","key function","pml","mga","cft"],business:["crm","vip","affiliate","payments","analytics","marketing","governance","leadership","strategy"],format:["course","tutorial","guide","webinar","workshop","lecture","series","academy","masterclass"],misc:["ai","blockchain","gamification","diversity","inclusion","metaverse","remote","advanced"]},n=[...r.gambling,...r.compliance,...r.business,...r.format,...r.misc];for(const o of n)if(new RegExp(`\\b${o.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return o;return null}function tz(t){const e=Oj(t);return e||az(t)}function az(t){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=t.toLowerCase().split(/\W+/).filter(i=>i.length>2&&!e.has(i)),n={};for(const i of r)n[i]=(n[i]||0)+1;const o=Object.entries(n).sort((i,c)=>c[1]-i[1]);return o.length>0?o[0][0]:null}const Hj=({filters:t,onClearAll:e,handleCreateAlert:r,className:n=""})=>t.length===0?null:a.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[t.map(o=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[o.label&&a.jsxs("span",{className:"font-medium mr-1",children:[o.label,":"]}),a.jsx("span",{children:o.value}),a.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:o.onRemove,"aria-label":`Remove ${o.label||o.key} filter`,children:a.jsx(aa,{size:14})})]},`${o.key}-${o.value}`)),a.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),a.jsx("button",{onClick:r,className:"inline-flex items-center bg-indigo-100 text-indigo-800 hover:bg-indigo-200 rounded-full px-3 py-1 text-sm font-medium",children:"🔔 Create Alert"})]}),rz=({viewMode:t,onToggle:e,className:r=""})=>a.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":t==="grid",children:[a.jsx($t,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":t==="list",children:[a.jsx(vc,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),nz=({value:t,onChange:e,options:r=[5,10,20,50],className:n=""})=>a.jsxs("div",{className:`flex items-center ${n}`,children:[a.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),a.jsx("select",{id:"items-per-page",value:t,onChange:o=>e(Number(o.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(o=>a.jsx("option",{value:o,children:o},o))})]}),Vj=({viewMode:t,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:o,startIndex:i,endIndex:c,title:l})=>a.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),a.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",a.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",a.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",a.jsx("span",{className:"font-semibold text-gray-900",children:o})," articles"]})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[a.jsx(rz,{viewMode:t,onToggle:e}),a.jsx(nz,{value:r,onChange:n})]})]})}),oz=({title:t,description:e,ctaText:r,ctaLink:n,bgColor:o="bg-yellow-50",textColor:i="text-yellow-800"})=>a.jsx("div",{className:`promo-card ${o} p-4 rounded-lg shadow-sm hidden md:block`,children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("h3",{className:`font-bold text-lg ${i}`,children:t}),a.jsx("p",{className:`text-sm mt-1 ${i} opacity-90`,children:e})]}),a.jsx("a",{href:n,className:"bg-white text-yellow-600 hover:bg-yellow-50 px-4 py-2 rounded-md text-sm font-medium shadow-sm transition-colors",children:r})]})}),iz=({items:t,cardType:e,viewMode:r,savedJobs:n,onSaveJob:o,onViewJob:i,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=S.useState([]),[p,y]=S.useState(null);S.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),y("Invalid data format received"),u([]);return}const k=[...t];t.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),y(null)}catch(k){console.error("Error processing items:",k),y(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[t]);const f=(k,m)=>{const v=m===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return a.jsx("div",{className:"col-span-full my-4",children:a.jsx(oz,{title:"Upgrade Your Job Search",description:"Get personalized job recommendations and stand out to employers.",ctaText:"Learn More",ctaLink:"#premium-features",bgColor:"bg-yellow-50",textColor:"text-yellow-800"})},`promo-${m}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${m}`:k.slug?`${k.slug}-${m}`:`item-${m}`;switch(e){case"job":return a.jsx("div",{...v,children:a.jsx(rA,{job:k,positionInList:m,onSaveJob:b=>o(b,m),onViewJob:(b,M,C)=>i(b,m,C),onApplyJob:c?(b,M,C)=>c(b,m,C):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),a.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[a.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),a.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),a.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),a.jsx("p",{children:p})]}):h.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No items found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,m)=>f(k,m))})},Bj=({currentPage:t,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,o=Math.max(1,t-Math.floor(n/2)),i=Math.min(e,o+n-1),c=[];for(let l=o;l<=i;l++)c.push(l);return a.jsx("div",{className:"mt-6 flex justify-center",children:a.jsxs("nav",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>r(Math.max(1,t-1)),disabled:t===1,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(wa,{})}),c.map(l=>a.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${t===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),a.jsx("button",{onClick:()=>r(Math.min(e,t+1)),disabled:t===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(Ma,{})})]})})},sz=({jobs:t,onViewJob:e})=>!t||t.length===0?null:a.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[a.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.map((r,n)=>a.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[a.jsxs("div",{className:"flex items-center mb-2",children:[a.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),a.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),a.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),a.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),cz=(t,e,r="date")=>{if(e==="all")return t;const n=new Date,o=new Date(n.getFullYear(),n.getMonth(),n.getDate());return t.filter(i=>{const c=i[r]||i.created_at||i.published_at||i.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=o;case"this_week":{const d=new Date(n);return d.setDate(n.getDate()-n.getDay()),d.setHours(0,0,0,0),l>=d}case"this_month":{const d=new Date(n.getFullYear(),n.getMonth(),1);return l>=d}case"last_30_days":{const d=new Date(n);return d.setDate(n.getDate()-30),l>=d}case"last_90_days":{const d=new Date(n);return d.setDate(n.getDate()-90),l>=d}default:return!0}})},lz=(t,e)=>t.filter(r=>{var n,o,i,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((o=r.title)==null?void 0:o.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((i=r.location)==null?void 0:i.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),Tc=(t,e)=>{const r={};for(const n of t)for(const o of e){r[o]||(r[o]=new Set);const i=n[o];Array.isArray(i)?i.forEach(c=>{typeof c=="string"&&c.trim()&&r[o].add(c.trim())}):typeof i=="string"&&i.trim()&&r[o].add(i.trim())}return Object.fromEntries(Object.entries(r).map(([n,o])=>[n,Array.from(o)]))},sA=t=>{const e=new URLSearchParams(window.location.search);t==="all"?e.delete("date_filter"):e.set("date_filter",t);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},Fi=(t,e,r,n,o="date")=>{let i=t.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(i=i.filter(c=>r.every(l=>{var d,h;return((d=c.title)==null?void 0:d.toLowerCase().includes(l.toLowerCase()))||((h=c.overview)==null?void 0:h.toLowerCase().includes(l.toLowerCase()))}))),i=cz(i,n,o),i},a1=(t,e,r=[],n="date")=>{const o=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},i=d=>{var u;const h=d.views??d.viewCount??((u=d.metrics)==null?void 0:u.views)??0;return typeof h=="number"?h:0},c=d=>{if(r.length===0)return 0;const h=(d.title??"").toLowerCase(),u=(d.overview??"").toLowerCase();return r.reduce((p,y)=>{const f=y.toLowerCase();let k=p;return h.includes(f)&&(k+=3),u.includes(f)&&(k+=1),k},0)},l=[...t];return l.sort((d,h)=>{switch(e){case"date_asc":return o(d)-o(h);case"views_desc":return i(h)-i(d);case"views_asc":return i(d)-i(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:o(h)-o(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:o(h)-o(d)}case"date_desc":default:return o(h)-o(d)}}),l},cA=({dateFieldLabel:t,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:o,filtersData:i,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:t}),a.jsx(oA,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var y;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ")}),o.includes(p)?a.jsx(P9,{options:i[p]||[],value:c[p]||"",onChange:f=>l(p,f),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:f=>l(p,f.target.value),children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=i[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),a.jsx("div",{className:"mt-6",children:a.jsxs("button",{onClick:d,className:`w-full px-4 py-2 rounded-lg flex items-center justify-center ${h?"bg-yellow-100 text-indigo-800":"bg-gray-100 text-gray-800 hover:bg-gray-200"}`,children:[a.jsx(Ga,{size:16,className:"mr-2"}),a.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function qc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function XS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function dz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=XS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():XS(t[o],null)}}}}function R9(...t){return g.useCallback(dz(...t),t)}function hz(t,e){const r=g.createContext(e),n=i=>{const{children:c,...l}=i,d=g.useMemo(()=>l,Object.values(l));return a.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function o(i){const c=g.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[n,o]}function uz(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,pz(o,...e)]}function pz(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var f9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},yz=g[" useId ".trim().toString()]||(()=>{}),mz=0;function pC(t){const[e,r]=g.useState(yz());return f9(()=>{t||r(n=>n??String(mz++))},[t]),t||(e?`radix-${e}`:"")}var fz=g[" useInsertionEffect ".trim().toString()]||f9;function xz({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=kz({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=gz(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function kz({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return fz(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function gz(t){return typeof t=="function"}function yC(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var vz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],lA=vz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function wz(t,e){t&&j9.flushSync(()=>t.dispatchEvent(e))}function JS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Mz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=JS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():JS(t[o],null)}}}}function dA(...t){return g.useCallback(Mz(...t),t)}function hA(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function bz(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function Cz(t,e=globalThis==null?void 0:globalThis.document){const r=bz(t);g.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var jz="DismissableLayer",YC="dismissableLayer.update",Sz="dismissableLayer.pointerDownOutside",Lz="dismissableLayer.focusOutside",YS,uA=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T9=g.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=g.useContext(uA),[u,p]=g.useState(null),y=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=g.useState({}),k=dA(e,L=>p(L)),m=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(x),w=u?m.indexOf(u):-1,b=h.layersWithOutsidePointerEventsDisabled.size>0,M=w>=v,C=Az(L=>{const A=L.target,I=[...h.branches].some(q=>q.contains(A));!M||I||(o==null||o(L),c==null||c(L),L.defaultPrevented||l==null||l())},y),N=Pz(L=>{const A=L.target;[...h.branches].some(q=>q.contains(A))||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},y);return Cz(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},y),g.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(YS=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),KS(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=YS)}},[u,y,r,h]),g.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),KS())},[u,h]),g.useEffect(()=>{const L=()=>f({});return document.addEventListener(YC,L),()=>document.removeEventListener(YC,L)},[]),a.jsx(lA.div,{...d,ref:k,style:{pointerEvents:b?M?"auto":"none":void 0,...t.style},onFocusCapture:yC(t.onFocusCapture,N.onFocusCapture),onBlurCapture:yC(t.onBlurCapture,N.onBlurCapture),onPointerDownCapture:yC(t.onPointerDownCapture,C.onPointerDownCapture)})});T9.displayName=jz;var Iz="DismissableLayerBranch",Nz=g.forwardRef((t,e)=>{const r=g.useContext(uA),n=g.useRef(null),o=dA(e,n);return g.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),a.jsx(lA.div,{...t,ref:o})});Nz.displayName=Iz;function Az(t,e=globalThis==null?void 0:globalThis.document){const r=hA(t),n=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){pA(Sz,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=d,e.addEventListener("click",o.current,{once:!0})):d()}else e.removeEventListener("click",o.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function Pz(t,e=globalThis==null?void 0:globalThis.document){const r=hA(t),n=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!n.current&&pA(Lz,r,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function KS(){const t=new CustomEvent(YC);document.dispatchEvent(t)}function pA(t,e,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&o.addEventListener(t,e,{once:!0}),n?wz(o,i):o.dispatchEvent(i)}function QS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function _z(...t){return e=>{let r=!1;const n=t.map(o=>{const i=QS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():QS(t[o],null)}}}}function Rz(...t){return g.useCallback(_z(...t),t)}var Tz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],qz=Tz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function eL(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var mC="focusScope.autoFocusOnMount",fC="focusScope.autoFocusOnUnmount",tL={bubbles:!1,cancelable:!0},Dz="FocusScope",q9=g.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=t,[l,d]=g.useState(null),h=eL(o),u=eL(i),p=g.useRef(null),y=Rz(e,m=>d(m)),f=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(n){let m=function(b){if(f.paused||!l)return;const M=b.target;l.contains(M)?p.current=M:Ea(p.current,{select:!0})},x=function(b){if(f.paused||!l)return;const M=b.relatedTarget;M!==null&&(l.contains(M)||Ea(p.current,{select:!0}))},v=function(b){if(document.activeElement===document.body)for(const C of b)C.removedNodes.length>0&&Ea(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",x);const w=new MutationObserver(v);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,f.paused]),g.useEffect(()=>{if(l){rL.add(f);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(mC,tL);l.addEventListener(mC,h),l.dispatchEvent(v),v.defaultPrevented||(zz(Vz(yA(l)),{select:!0}),document.activeElement===m&&Ea(l))}return()=>{l.removeEventListener(mC,h),setTimeout(()=>{const v=new CustomEvent(fC,tL);l.addEventListener(fC,u),l.dispatchEvent(v),v.defaultPrevented||Ea(m??document.body,{select:!0}),l.removeEventListener(fC,u),rL.remove(f)},0)}}},[l,h,u,f]);const k=g.useCallback(m=>{if(!r&&!n||f.paused)return;const x=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(x&&v){const w=m.currentTarget,[b,M]=Fz(w);b&&M?!m.shiftKey&&v===M?(m.preventDefault(),r&&Ea(b,{select:!0})):m.shiftKey&&v===b&&(m.preventDefault(),r&&Ea(M,{select:!0})):v===w&&m.preventDefault()}},[r,n,f.paused]);return a.jsx(qz.div,{tabIndex:-1,...c,ref:y,onKeyDown:k})});q9.displayName=Dz;function zz(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(Ea(n,{select:e}),document.activeElement!==r)return}function Fz(t){const e=yA(t),r=aL(e,t),n=aL(e.reverse(),t);return[r,n]}function yA(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function aL(t,e){for(const r of t)if(!Ez(r,{upTo:e}))return r}function Ez(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Oz(t){return t instanceof HTMLInputElement&&"select"in t}function Ea(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&Oz(t)&&e&&t.select()}}var rL=Hz();function Hz(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=nL(t,e),t.unshift(e)},remove(e){var r;t=nL(t,e),(r=t[0])==null||r.resume()}}}function nL(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function Vz(t){return t.filter(e=>e.tagName!=="A")}var Bz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Uz=Bz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),$z=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Gz="Portal",D9=g.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[o,i]=g.useState(!1);$z(()=>i(!0),[]);const c=r||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?lj.createPortal(a.jsx(Uz.div,{...n,ref:e}),c):null});D9.displayName=Gz;function Wz(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var z9=t=>{const{present:e,children:r}=t,n=Zz(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=R9(n.ref,Xz(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};z9.displayName="Presence";function Zz(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=Wz(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=r1(n.current);i.current=l==="mounted"?h:"none"},[l]),f9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=r1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),f9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=r1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=r1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function r1(t){return(t==null?void 0:t.animationName)||"none"}function Xz(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var Jz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Jc=Jz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),xC=0;function Uj(){g.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??oL()),document.body.insertAdjacentElement("beforeend",t[1]??oL()),xC++,()=>{xC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),xC--}},[])}function oL(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var na=function(){return na=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},na.apply(this,arguments)};function mA(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function Yz(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}var n9="right-scroll-bar-position",o9="width-before-scroll-bar",Kz="with-scroll-bars-hidden",Qz="--removed-body-scroll-bar-size";function kC(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function eF(t,e){var r=S.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=e,r.facade}var tF=typeof window<"u"?g.useLayoutEffect:g.useEffect,iL=new WeakMap;function aF(t,e){var r=eF(null,function(n){return t.forEach(function(o){return kC(o,n)})});return tF(function(){var n=iL.get(r);if(n){var o=new Set(n),i=new Set(t),c=r.current;o.forEach(function(l){i.has(l)||kC(l,null)}),i.forEach(function(l){o.has(l)||kC(l,c)})}iL.set(r,t)},[t]),r}function rF(t){return t}function nF(t,e){e===void 0&&(e=rF);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(i){var c=e(i,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(i){for(n=!0;r.length;){var c=r;r=[],c.forEach(i)}r={push:function(l){return i(l)},filter:function(){return r}}},assignMedium:function(i){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(i),c=r}var d=function(){var u=c;c=[],u.forEach(i)},h=function(){return Promise.resolve().then(d)};h(),r={push:function(u){c.push(u),h()},filter:function(u){return c=c.filter(u),r}}}};return o}function oF(t){t===void 0&&(t={});var e=nF(null);return e.options=na({async:!0,ssr:!1},t),e}var fA=function(t){var e=t.sideCar,r=mA(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return g.createElement(n,na({},r))};fA.isSideCarExport=!0;function iF(t,e){return t.useMedium(e),fA}var xA=oF(),gC=function(){},F9=g.forwardRef(function(t,e){var r=g.useRef(null),n=g.useState({onScrollCapture:gC,onWheelCapture:gC,onTouchMoveCapture:gC}),o=n[0],i=n[1],c=t.forwardProps,l=t.children,d=t.className,h=t.removeScrollBar,u=t.enabled,p=t.shards,y=t.sideCar,f=t.noRelative,k=t.noIsolation,m=t.inert,x=t.allowPinchZoom,v=t.as,w=v===void 0?"div":v,b=t.gapMode,M=mA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=y,N=aF([r,e]),L=na(na({},M),o);return g.createElement(g.Fragment,null,u&&g.createElement(C,{sideCar:xA,removeScrollBar:h,shards:p,noRelative:f,noIsolation:k,inert:m,setCallbacks:i,allowPinchZoom:!!x,lockRef:r,gapMode:b}),c?g.cloneElement(g.Children.only(l),na(na({},L),{ref:N})):g.createElement(w,na({},L,{className:d,ref:N}),l))});F9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};F9.classNames={fullWidth:o9,zeroRight:n9};var sF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=sF();return e&&t.setAttribute("nonce",e),t}function lF(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function dF(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var hF=function(){var t=0,e=null;return{add:function(r){t==0&&(e=cF())&&(lF(e,r),dF(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},uF=function(){var t=hF();return function(e,r){g.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},kA=function(){var t=uF(),e=function(r){var n=r.styles,o=r.dynamic;return t(n,o),null};return e},pF={left:0,top:0,right:0,gap:0},vC=function(t){return parseInt(t||"",10)||0},yF=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[vC(r),vC(n),vC(o)]},mF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return pF;var e=yF(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},fF=kA(),qs="data-scroll-locked",xF=function(t,e,r,n){var o=t.left,i=t.top,c=t.right,l=t.gap;return r===void 0&&(r="margin"),`
|
|
7755
|
+
`,"aria-label":i?"Unsave job":"Save job",title:w,children:a.jsx(Ga,{size:20,className:`transition-colors ${i?"fill-blue-600 text-yellow-600":""}`})}),x?a.jsx("button",{className:"flex-1 px-4 py-2 bg-gray-200 text-gray-600 rounded-lg cursor-not-allowed text-sm font-medium text-center","aria-disabled":"true",onClick:d,children:"Sign in to view links"}):a.jsx("a",{href:M,target:t.description&&t.description!=""?"_self":"_blank",rel:"noopener noreferrer",className:`flex-1 px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700
|
|
7756
|
+
transition-colors text-sm font-medium text-center`,onClick:d,children:"Apply Now"})]}),!m&&a.jsx("p",{className:"mt-2 text-xs text-gray-500",children:"Create an account to save this item."})]})},WD=({jobs:t,onSaveJob:e,onViewJob:r,isJobSaved:n,userAccess:o})=>t.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No jobs found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:"jobs-grid",children:t.map(i=>a.jsx(rA,{job:i,onSaveJob:e,onViewJob:r,isSaved:n(i),userAccess:o},i.link))}),ZD=({currentPage:t,totalPages:e,setCurrentPage:r})=>{if(e<=1)return null;const n=[];if(e<=5)for(let i=1;i<=e;i++)n.push(i);else if(t<=3)for(let i=1;i<=5;i++)n.push(i);else if(t>=e-2)for(let i=e-4;i<=e;i++)n.push(i);else for(let i=t-2;i<=t+2;i++)n.push(i);return a.jsxs("div",{className:"pagination",children:[a.jsx("button",{className:"pagination-button prev-button",disabled:t===1,onClick:()=>r(t-1),children:a.jsx(wa,{})}),n.map(i=>a.jsx("button",{className:`pagination-button ${t===i?"active":""}`,onClick:()=>r(i),children:i},i)),a.jsx("button",{className:"pagination-button next-button",disabled:t===e,onClick:()=>r(t+1),children:a.jsx(Ma,{})})]})},XD=({isOpen:t,onClose:e,filterKeys:r,filtersData:n,activeFilters:o,handleFilterChange:i,handleSearchChange:c,searchTerm:l,clearAllFilters:d,searchFilters:h,removeSearchFilter:u})=>a.jsx("div",{className:`fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full transition-opacity ${t?"opacity-100":"opacity-0 pointer-events-none"}`,children:a.jsx("div",{className:`fixed right-0 top-0 w-4/5 max-w-sm bg-white h-full shadow-xl transition-transform duration-300 ease-in-out ${t?"transform translate-x-0":"transform translate-x-full"}`,children:a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"flex justify-between items-center mb-4",children:[a.jsx("h2",{className:"text-lg font-semibold",children:"Filters"}),a.jsx("button",{onClick:e,className:"text-gray-500 hover:text-gray-700",children:a.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"mb-4",children:a.jsx("input",{type:"text",className:"w-full p-2 border border-gray-300 rounded-md",placeholder:"Search jobs...",value:l,onChange:p=>c(p.target.value)})}),r.map(p=>{var y;return a.jsxs("div",{className:"mb-4",children:[a.jsx("label",{htmlFor:`mobile-${p}`,className:"block text-sm font-medium text-gray-700 mb-1",children:p.replace(/_/g," ")}),a.jsxs("select",{id:`mobile-${p}`,className:"w-full p-2 border border-gray-300 rounded-md",onChange:f=>i(p,f.target.value),value:o[p]||"",children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=n[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),Object.keys(o).length>0&&a.jsxs("div",{className:"mt-4",children:[a.jsx("h3",{className:"text-sm font-semibold mb-2",children:"Active Filters:"}),Object.entries(o).map(([p,y])=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-yellow-800 rounded-full px-3 py-1 text-sm mr-2 mb-2",children:[a.jsxs("span",{children:[p.replace(/_/g," "),": ",y]}),a.jsx("button",{className:"ml-2 text-yellow-600 hover:text-yellow-800",onClick:()=>i(p,""),children:"×"})]},p)),a.jsx("button",{className:"mt-2 w-full bg-red-100 text-red-800 rounded-md px-3 py-2 text-sm font-medium",onClick:d,children:"Clear All Filters"})]})]})})}),JD=({apiUrl:t,itemsPerPage:e,filterKeys:r,enableSearch:n,enablePagination:o,enableMobileFilter:i,banners:c,userAccess:l})=>{const[d,h]=S.useState([]),[u,p]=S.useState(1),[y,f]=S.useState({}),[k,m]=S.useState([]),[x,v]=S.useState({}),[w,M]=S.useState(""),[b,C]=S.useState([]),[I,L]=S.useState(!1),A=_9(l);S.useEffect(()=>{fetch(`${t}/items`).then(te=>te.json()).then(te=>{h(te)}).catch(te=>console.error("Error fetching items:",te))},[t]);const N=te=>{const ae={};te.forEach(ke=>{r.forEach(W=>{ae[W]||(ae[W]=new Set);const J=ke[W];J!=null&&ae[W].add(String(J))})});const he={};return Object.keys(ae).forEach(ke=>{he[ke]=Array.from(ae[ke])}),he};function q(te,ae,he){let ke=te.filter(W=>Object.entries(ae).every(([J,ne])=>{const ce=W[J];return typeof ce=="string"&&ce.toLowerCase()===ne.toLowerCase()}));return he.length>0&&(ke=ke.filter(W=>he.every(J=>W.title.toLowerCase().includes(J.toLowerCase())))),ke}const P=S.useMemo(()=>q(d,y,k),[y,d,k]),_=(te,ae)=>{f(he=>{const ke=ae?{...he,[te]:ae}:{...he};return ae||delete ke[te],ke})},T=te=>{if(M(te),te){const ae=d.map(he=>he.title).filter((he,ke,W)=>he&&he.toLowerCase().includes(te.toLowerCase())&&W.indexOf(he)===ke).slice(0,5);C(ae)}else C([])},$=te=>{if(te.key==="Enter"&&w.trim()){te.preventDefault();const ae=[...k,w.trim()];m(ae),M("")}},G=te=>{const ae=k.filter(he=>he!==te);m(ae)},B=()=>{f({}),m([]),p(1)};S.useEffect(()=>{v(N(P))},[r,P]),S.useEffect(()=>{p(1)},[y,k]);const V=()=>{L(!I)},O=(te,ae)=>{},K=te=>{},se=te=>!1,Q=Math.ceil(P.length/e),Y=P.slice((u-1)*e,u*e);return a.jsxs("div",{className:"flex flex-col min-h-screen",children:[a.jsx("div",{className:"flex-grow",children:a.jsxs("div",{className:"job-listings-container",children:[a.jsx("div",{className:"header-container",children:a.jsxs("div",{className:"header-content",children:[a.jsx("h1",{className:"main-title",children:"Job Listings"}),a.jsxs("p",{className:"items-count",children:["Total: ",a.jsx("span",{className:"count-value",children:P.length})]})]})}),a.jsx("button",{className:"md:hidden w-full mb-4 px-4 py-2 bg-yellow-600 text-white rounded-md",onClick:V,children:I?"Close Filters":"Open Filters"}),a.jsxs("div",{className:"hidden md:block filters-container",children:[a.jsx($D,{searchTerm:w,handleSearchChange:T,handleSearchKeyDown:$,suggestions:b}),a.jsx(UD,{filterKeys:r,filtersData:x,activeFilters:y,handleFilterChange:_,searchFilters:k,removeSearchFilter:G,clearAllFilters:B,searchableFilters:["company"]})]}),a.jsx(XD,{isOpen:I,onClose:V,filterKeys:r,filtersData:x,activeFilters:y,handleFilterChange:_,handleSearchChange:T,searchTerm:w,clearAllFilters:B,handleSearchKeyDown:$,searchFilters:k,removeSearchFilter:G}),a.jsxs("div",{className:"flex flex-col md:flex-row",children:[a.jsxs("div",{className:"w-full md:w-3/4 md:pr-4",children:[a.jsx("h2",{className:"section-title",children:"Open Positions"}),a.jsx(WD,{jobs:Y,onSaveJob:O,onViewJob:K,isJobSaved:se,userAccess:A}),a.jsx(ZD,{currentPage:u,totalPages:Q,setCurrentPage:p})]}),a.jsx("div",{className:"w-full md:w-1/4 mt-4 md:mt-0",children:a.jsx("div",{className:"sticky top-4",children:c.sidebar.enabled&&c.sidebar.url&&a.jsx(Uc,{position:"sidebar",url:c.sidebar.url,link:c.sidebar.link,alt:c.sidebar.alt})})})]})]})}),c.bottom.enabled&&c.bottom.url&&a.jsx(Uc,{position:"top",url:c.bottom.url,link:c.bottom.link,alt:c.bottom.alt})]})},YD=({title:t="Subscribe to our newsletter",description:e="The latest job opportunities and career tips, weekly in your inbox.",links:r=[]})=>{const[n,o]=S.useState(!1),[i,c]=S.useState(null);S.useEffect(()=>{try{const d=localStorage.getItem("email");d&&(o(!0),c(d))}catch{}},[]);const l=d=>{d.preventDefault()};return a.jsx("footer",{className:"bg-gray-800 text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8",children:[a.jsxs("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a.jsx("div",{className:"grid grid-cols-2 gap-8 xl:col-span-2",children:a.jsx("div",{className:"md:grid md:grid-cols-2 md:gap-8",children:Array.isArray(r)&&r.map((d,h)=>{var u;return Array.isArray(d)&&d.length>0?a.jsxs("div",{className:"mt-12 md:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:((u=d[0])==null?void 0:u.text)||"Section"}),a.jsx("ul",{className:"mt-4 space-y-4",children:d.map((p,y)=>a.jsx("li",{children:a.jsx("a",{href:p.url,className:"hover:text-gray-300",children:p.text})},y))})]},h):null})})}),a.jsxs("div",{className:"mt-8 xl:mt-0",children:[a.jsx("h3",{className:"text-sm font-semibold text-gray-400 tracking-wider uppercase",children:t}),a.jsx("p",{className:"mt-4 text-base text-gray-300",children:e}),n?a.jsxs("p",{className:"mt-4 text-green-400 font-medium",children:["✅ You’re subscribed",i?` as ${i}`:"","!"]}):a.jsxs("form",{className:"mt-4 sm:flex sm:max-w-md",onSubmit:l,children:[a.jsx("label",{htmlFor:"email-address",className:"sr-only",children:"Email address"}),a.jsx("input",{type:"email",name:"email-address",id:"email-address",autoComplete:"email",required:!0,className:"appearance-none min-w-0 w-full bg-white border border-transparent rounded-md py-2 px-4 text-base text-gray-900 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white focus:border-white focus:placeholder-gray-400",placeholder:"Enter your email"}),a.jsx("div",{className:"mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0",children:a.jsx("button",{type:"submit",className:"w-full bg-yellow-600 border border-transparent rounded-md py-2 px-4 flex items-center justify-center text-base font-medium text-white hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-blue-500",children:"Subscribe"})})]})]})]}),a.jsx("div",{className:"mt-8 border-t border-gray-700 pt-8",children:a.jsxs("p",{className:"text-base text-gray-400 xl:text-center",children:["© ",new Date().getFullYear()," JobBoard, Inc. All rights reserved."]})})]})})},KD=({logo:t="",links:e=[],buttonText:r="Post a Job",buttonUrl:n="/post-job"})=>a.jsx("nav",{className:"bg-white shadow-md",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between h-16",children:[a.jsxs("div",{className:"flex",children:[a.jsx("div",{className:"flex-shrink-0 flex items-center",children:a.jsx("a",{href:"/",className:"text-xl font-bold text-yellow-600",children:t?a.jsx("img",{src:t,alt:"Logo",className:"h-6 w-6"}):a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"mercado-match h-6 w-6",focusable:"false",children:a.jsx("path",{d:"M20.5 2h-17A1.5 1.5 0 002 3.5v17A1.5 1.5 0 003.5 22h17a1.5 1.5 0 001.5-1.5v-17A1.5 1.5 0 0020.5 2zM8 19H5v-9h3zM6.5 8.25A1.75 1.75 0 118.3 6.5a1.78 1.78 0 01-1.8 1.75zM19 19h-3v-4.74c0-1.42-.6-1.93-1.38-1.93A1.74 1.74 0 0013 14.19a.66.66 0 000 .14V19h-3v-9h2.9v1.3a3.11 3.11 0 012.7-1.4c1.55 0 3.36.86 3.36 3.66z"})})})}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:e.map((o,i)=>a.jsx("a",{href:o.url,className:"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium",children:o.text},i))})]}),a.jsx("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:a.jsx("a",{href:n,className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-yellow-600 hover:bg-yellow-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",children:r})})]})})}),nA=({savedJobsCount:t})=>{const[e,r]=S.useState("");S.useEffect(()=>{typeof window<"u"&&r(window.location.pathname)},[]);const n=o=>e===o;return a.jsx("nav",{className:"fixed bottom-0 left-0 right-0 bg-white dark:bg-gray-800 border-t border-gray-200 dark:border-gray-700 md:hidden z-50",children:a.jsxs("div",{className:"grid grid-cols-5 h-16",children:[a.jsxs("a",{href:"/","aria-label":"Home",className:`flex flex-col items-center justify-center ${n("/")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(va,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Home"})]}),a.jsxs("a",{href:"/jobs","aria-label":"Jobs",className:`flex flex-col items-center justify-center ${n("/jobs")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(mt,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Jobs"})]}),a.jsxs("a",{href:"/saved","aria-label":"Saved Jobs",className:`flex flex-col items-center justify-center relative ${n("/saved")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(lc,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Saved"}),t>0&&a.jsx("span",{className:"absolute -top-1 -right-1 bg-primary-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs",children:t})]}),a.jsxs("a",{href:"/courses","aria-label":"Courses",className:`flex flex-col items-center justify-center ${n("/courses")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(Ft,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"Courses"})]}),a.jsxs("a",{href:"/news","aria-label":"News",className:`flex flex-col items-center justify-center ${n("/news")?"text-gray-900 font-semibold dark:text-white":"text-gray-500 dark:text-gray-500"} hover:text-primary-500`,children:[a.jsx(Sa,{className:"w-6 h-6"}),a.jsx("span",{className:"text-xs mt-1",children:"News"})]})]})})},QD=t=>{const e=["Acme Inc","TechCorp","Global Solutions","Innovate Labs","Future Tech"],r=["Engineering","Marketing","Sales","Design","Product","HR"],n=["New York, NY","San Francisco, CA","Austin, TX","Seattle, WA","Remote"],o=["New York","San Francisco","Austin","Seattle","Chicago"],i=["USA","Canada","UK","Germany","Australia"],c=["Startup","Enterprise","Agency","Nonprofit","Government"],l=d=>{const h=new Date;return h.setDate(h.getDate()-Math.floor(Math.random()*d)),h.toISOString()};return Array.from({length:t},(d,h)=>{const u=l(120);return{id:`job-${h}`,title:`${r[h%r.length]} ${h%3===0?"Senior":h%3===1?"Mid-level":"Junior"} Position`,company:e[h%e.length],department:r[h%r.length],location:n[h%n.length],city:o[h%o.length],country:i[h%i.length],company_type:c[h%c.length],link:"#job-link",logo:`/placeholder.svg?height=50&width=50&text=${e[h%e.length].charAt(0)}`,overview:"This is a mock job description for preview purposes. The actual job details would appear here with information about responsibilities, requirements, and company culture.",slug:`job-${h}`,scraped_at:new Date().toISOString(),published_at:u,created_at:u,views:Math.floor(Math.random()*2e3),sponsored:h%7===0}})},oA=({activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:r="Published",options:n=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsxs("div",{className:"date-filter",children:[r&&a.jsxs("label",{htmlFor:"date-filter",className:"text-sm font-medium text-gray-700 mr-2",children:[r,":"]}),a.jsx("select",{id:"date-filter",value:t,onChange:o=>e(o.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",children:n.map(o=>a.jsx("option",{value:o.value,children:o.label},o.value))})]}),iA=({activeDateFilter:t,handleDateFilterChange:e,filterKeys:r,searchableFilters:n,dateFieldLabel:o,activeFilters:i,handleFilterChange:c,toggleSavedJobsFilter:l,filtersData:d,savedJobs:h=[],showOnlySaved:u=!1,isMobileFilterOpen:p,toggleMobileFilter:y,dateOptions:f=[{value:"all",label:"All Time"},{value:"today",label:"Today"},{value:"this_week",label:"This Week"},{value:"this_month",label:"This Month"},{value:"last_30_days",label:"Last 30 Days"},{value:"last_90_days",label:"Last 90 Days"}]})=>a.jsx("div",{children:a.jsxs("div",{className:p?"block":"hidden",children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:()=>y(!p)}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),a.jsx("button",{onClick:()=>y(!p),className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsxs("div",{className:"p-4",children:[a.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[a.jsx("span",{className:"text-sm font-medium text-gray-900",children:o}),a.jsx(oA,{activeDateFilter:t,onDateFilterChange:e,dateFieldLabel:"",options:f})]}),r.map(k=>{var x;const m=k.replace(/_/g," ");return a.jsxs("div",{className:"grid grid-cols-[120px_1fr] items-center gap-1 mb-4",children:[a.jsx("span",{className:"text-sm font-medium text-gray-900 capitalize whitespace-nowrap",children:m}),n.includes(k)?a.jsx(P9,{options:d[k]||[],value:i[k]||"",onChange:v=>c(k,v),placeholder:`Select ${m}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow-500 focus:border-yellow-500 bg-white",value:i[k]||"",onChange:v=>c(k,v.target.value),children:[a.jsxs("option",{value:"",children:["Select ",m]}),(x=d[k])==null?void 0:x.map(v=>a.jsx("option",{value:v,children:v},v))]})]},k)}),a.jsx("div",{className:"mt-4 pt-4 border-t border-gray-200",children:a.jsx("button",{onClick:()=>y(!p),className:"w-full py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Apply Filters"})})]})]})]})}),zj=({totalColumns:t=2})=>a.jsx("div",{className:"flex-grow p-8 animate-fade-in",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"animate-pulse",children:[a.jsx("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),a.jsx("div",{className:`grid grid-cols-1 md:grid-cols-${t} gap-6`,children:[...Array(4)].map((e,r)=>a.jsxs("div",{className:"bg-white rounded-lg shadow-sm p-6",children:[a.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-4"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/2 mb-2"}),a.jsx("div",{className:"h-4 bg-gray-200 rounded w-1/3 mb-4"}),a.jsx("div",{className:"h-20 bg-gray-200 rounded mb-4"}),a.jsx("div",{className:"h-8 bg-gray-200 rounded w-full"})]},r))})]})})}),Fj=({data:t,onSelect:e,placeholder:r="Search...",debounceMs:n=250,onTyping:o,className:i="",showSubmitButton:c=!1})=>{const[l,d]=S.useState(""),[h,u]=S.useState([]),[p,y]=S.useState(!1),f=S.useRef(null),k=v=>{d(v),y(!0),o&&o(v)},m=()=>{d(""),u([]),y(!1),o==null||o("")},x=v=>{e(v),d(""),u([]),y(!1)};return S.useEffect(()=>{f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{if(!l){u([]);return}const v=t.filter(w=>w.toLowerCase().includes(l.toLowerCase())).filter((w,M,b)=>b.indexOf(w)===M).slice(0,5);u(v)},n)},[l,t]),a.jsxs("div",{className:`relative w-full ${i}`,children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ot,{className:"h-4 w-4 text-gray-400"})}),a.jsx("input",{type:"text",className:"w-full py-2 pl-9 pr-12 flex w-full rounded-md border border-input bg-background px-3 py-2 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-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm pl-10 h-12 text-lg",placeholder:r,value:l,onChange:v=>k(v.target.value),onFocus:()=>y(h.length>0),onBlur:()=>setTimeout(()=>y(!1),200),onKeyDown:v=>{v.key==="Enter"&&l.trim()&&(v.preventDefault(),x(l.trim()))}}),l&&!c&&a.jsx("button",{onClick:m,className:"absolute inset-y-0 right-2 flex items-center",children:a.jsx(Xt,{className:"h-4 w-4 text-gray-400 hover:text-gray-600"})}),c&&a.jsx("button",{onClick:()=>l.trim()&&x(l.trim()),className:"absolute right-2 top-1/2 -translate-y-1/2 bg-yellow-500 text-white py-1.5 px-2 rounded-md hover:bg-yellow-600",children:a.jsx(Ot,{className:"h-4 w-4"})})]}),p&&h.length>0&&a.jsx("ul",{className:"absolute z-10 mt-1 w-full bg-white border border-gray-200 rounded-lg shadow-md",children:h.map((v,w)=>a.jsx("li",{children:a.jsx("button",{className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100",onClick:()=>x(v),children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ot,{className:"h-4 w-4 mr-2 text-gray-400"}),v]})})},w))})]})},Ej=({onSearchChange:t,title:e="Gaming News",description:r="Latest news and insights from the gaming industry",searchPlaceholder:n="Search news...",popularTags:o=["AI Gaming","Esports","VR/AR","Mobile Gaming","Regulation","Market Analysis"],generateHref:i=c=>`?q=${encodeURIComponent(c)}`})=>(S.useState(""),a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:a.jsx("div",{className:"flex items-center justify-between",children:a.jsxs("div",{children:[a.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-4",children:e}),a.jsx("p",{className:"hidden lg:block text-gray-600",children:r})]})})})}),a.jsx("div",{className:"bg-white border-b",children:a.jsx("div",{className:"max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8",children:a.jsx("div",{className:"overflow-x-auto",children:a.jsxs("div",{className:"flex items-center space-x-6 py-2 text-sm",children:[a.jsx("span",{className:"text-gray-600 font-medium flex-shrink-0",children:"Popular:"}),o.map(c=>a.jsxs("a",{href:i(c),className:"inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent text-yellow-600 bg-yellow-50 hover:bg-yellow-100 cursor-pointer",children:["#",c]},c))]})})})})]})),ez=t=>t.toLowerCase().replace(/anti[-\s]?money[-\s]?laundering/g,"aml").replace(/counter[-\s]?terrorist[-\s]?financing/g,"cft").replace(/personal management licence/g,"pml").replace(/general data protection regulation/g,"gdpr");function Oj(t){const e=ez(t),r={gambling:["igaming","casino","slot","slots","bingo","poker","blackjack","roulette","lottery","rgs","rng","rmg","betting","sportsbook","land based"],compliance:["aml","money laundering","gdpr","compliance","licence","mlro","data protection","responsible gaming","player protection","key function","pml","mga","cft"],business:["crm","vip","affiliate","payments","analytics","marketing","governance","leadership","strategy"],format:["course","tutorial","guide","webinar","workshop","lecture","series","academy","masterclass"],misc:["ai","blockchain","gamification","diversity","inclusion","metaverse","remote","advanced"]},n=[...r.gambling,...r.compliance,...r.business,...r.format,...r.misc];for(const o of n)if(new RegExp(`\\b${o.replace(/\s+/g,"\\s+")}\\b`,"i").test(e))return o;return null}function tz(t){const e=Oj(t);return e||az(t)}function az(t){const e=new Set(["the","of","and","to","a","in","for","with","on","at","by","is","from","as","it","that","this","how","new","you","your"]),r=t.toLowerCase().split(/\W+/).filter(i=>i.length>2&&!e.has(i)),n={};for(const i of r)n[i]=(n[i]||0)+1;const o=Object.entries(n).sort((i,c)=>c[1]-i[1]);return o.length>0?o[0][0]:null}const Hj=({filters:t,onClearAll:e,handleCreateAlert:r,className:n=""})=>t.length===0?null:a.jsxs("div",{className:`flex flex-wrap gap-2 ${n}`,children:[t.map(o=>a.jsxs("div",{className:"inline-flex items-center bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm",children:[o.label&&a.jsxs("span",{className:"font-medium mr-1",children:[o.label,":"]}),a.jsx("span",{children:o.value}),a.jsx("button",{className:"ml-2 text-indigo-600 hover:text-indigo-800",onClick:o.onRemove,"aria-label":`Remove ${o.label||o.key} filter`,children:a.jsx(aa,{size:14})})]},`${o.key}-${o.value}`)),a.jsx("button",{className:"inline-flex items-center bg-gray-100 text-gray-800 hover:bg-gray-200 rounded-full px-3 py-1 text-sm",onClick:e,children:"Clear All"}),a.jsx("button",{onClick:r,className:"inline-flex items-center bg-indigo-100 text-indigo-800 hover:bg-indigo-200 rounded-full px-3 py-1 text-sm font-medium",children:"🔔 Create Alert"})]}),rz=({viewMode:t,onToggle:e,className:r=""})=>a.jsxs("div",{className:`view-mode-toggle flex bg-gray-100 p-1 rounded-lg ${r}`,children:[a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="grid"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"Grid view","aria-pressed":t==="grid",children:[a.jsx($t,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"Grid"})]}),a.jsxs("button",{onClick:e,className:`px-3 py-1.5 rounded-md flex items-center justify-center transition-colors ${t==="list"?"bg-yellow-600 text-white shadow-sm":"text-gray-700 hover:bg-gray-200"}`,"aria-label":"List view","aria-pressed":t==="list",children:[a.jsx(vc,{size:16,className:"mr-1.5"}),a.jsx("span",{className:"text-sm font-medium",children:"List"})]})]}),nz=({value:t,onChange:e,options:r=[5,10,20,50],className:n=""})=>a.jsxs("div",{className:`flex items-center ${n}`,children:[a.jsx("label",{htmlFor:"items-per-page",className:"mr-2 text-sm font-medium text-gray-700",children:"Show:"}),a.jsx("select",{id:"items-per-page",value:t,onChange:o=>e(Number(o.target.value)),className:"px-2 py-1.5 border border-gray-300 rounded-md text-sm bg-white",children:r.map(o=>a.jsx("option",{value:o,children:o},o))})]}),Vj=({viewMode:t,onToggleViewMode:e,selectedItemsPerPage:r,onItemsPerPageChange:n,totalCount:o,startIndex:i,endIndex:c,title:l})=>a.jsx("div",{className:"lg:block hidden bg-white rounded-lg shadow-sm border border-gray-200 p-4 mb-6",children:a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-semibold text-gray-900",children:l}),a.jsxs("p",{className:"text-sm text-gray-600",children:["Showing ",a.jsx("span",{className:"font-semibold text-gray-900",children:i}),"–",a.jsx("span",{className:"font-semibold text-gray-900",children:c})," of"," ",a.jsx("span",{className:"font-semibold text-gray-900",children:o})," articles"]})]}),a.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3",children:[a.jsx(rz,{viewMode:t,onToggle:e}),a.jsx(nz,{value:r,onChange:n})]})]})}),oz=({title:t,description:e,ctaText:r,ctaLink:n,bgColor:o="bg-yellow-50",textColor:i="text-yellow-800"})=>a.jsx("div",{className:`promo-card ${o} p-4 rounded-lg shadow-sm hidden md:block`,children:a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx("h3",{className:`font-bold text-lg ${i}`,children:t}),a.jsx("p",{className:`text-sm mt-1 ${i} opacity-90`,children:e})]}),a.jsx("a",{href:n,className:"bg-white text-yellow-600 hover:bg-yellow-50 px-4 py-2 rounded-md text-sm font-medium shadow-sm transition-colors",children:r})]})}),iz=({items:t,cardType:e,viewMode:r,savedJobs:n,onSaveJob:o,onViewJob:i,onApplyJob:c,firstItemRef:l=null,userAccess:d})=>{const[h,u]=S.useState([]),[p,y]=S.useState(null);S.useEffect(()=>{try{if(!Array.isArray(t)){console.error("❌ Items is not an array:",t),y("Invalid data format received"),u([]);return}const k=[...t];t.length>5&&k.splice(5,0,{id:"promo-1",title:"Promo",isPromo:!0}),u(k),y(null)}catch(k){console.error("Error processing items:",k),y(`Error processing items: ${k instanceof Error?k.message:String(k)}`),u([])}},[t]);const f=(k,m)=>{const v=m===0&&!k.isPromo?{ref:l}:{};try{if(k.isPromo)return a.jsx("div",{className:"col-span-full my-4",children:a.jsx(oz,{title:"Upgrade Your Job Search",description:"Get personalized job recommendations and stand out to employers.",ctaText:"Learn More",ctaLink:"#premium-features",bgColor:"bg-yellow-50",textColor:"text-yellow-800"})},`promo-${m}`);if(!k||typeof k!="object")return console.error("❌ Invalid item detected:",k),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Invalid Job Data"}),a.jsx("p",{className:"text-red-600 text-sm",children:"The job data is in an unexpected format."})]});const w=k.id?`${k._id}-${m}`:k.slug?`${k.slug}-${m}`:`item-${m}`;switch(e){case"job":return a.jsx("div",{...v,children:a.jsx(rA,{job:k,positionInList:m,onSaveJob:M=>o(M,m),onViewJob:(M,b,C)=>i(M,m,C),onApplyJob:c?(M,b,C)=>c(M,m,C):void 0,isSaved:n.includes(k.id||k.slug||k.link),userAccess:d})},w);default:return console.warn(`⚠️ Unknown cardType: ${e}`),a.jsxs("div",{className:"error-card bg-yellow-50 p-4 rounded-md border border-yellow-200",children:[a.jsx("p",{className:"text-yellow-800 font-medium",children:"Unknown Card Type"}),a.jsx("p",{className:"text-yellow-700 text-sm",children:"The specified card type is not supported."})]})}}catch(w){return console.error("Error rendering card:",w),a.jsxs("div",{className:"error-card bg-red-50 p-4 rounded-md border border-red-200",children:[a.jsx("p",{className:"text-red-800 font-medium",children:"Error Rendering Card"}),a.jsx("p",{className:"text-red-600 text-sm",children:w instanceof Error?w.message:String(w)})]})}};return p?a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h3",{className:"font-semibold mb-2",children:"Error Loading Items"}),a.jsx("p",{children:p})]}):h.length===0?a.jsxs("div",{className:"no-results",children:[a.jsx("h3",{children:"No items found matching your criteria"}),a.jsx("p",{children:"Try adjusting your filters or search term"})]}):a.jsx("div",{className:r==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4":"flex flex-col gap-4","data-view-mode":r,children:h.map((k,m)=>f(k,m))})},Bj=({currentPage:t,totalPages:e,onPageChange:r})=>{if(e<=1)return null;const n=5,o=Math.max(1,t-Math.floor(n/2)),i=Math.min(e,o+n-1),c=[];for(let l=o;l<=i;l++)c.push(l);return a.jsx("div",{className:"mt-6 flex justify-center",children:a.jsxs("nav",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>r(Math.max(1,t-1)),disabled:t===1,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(wa,{})}),c.map(l=>a.jsx("button",{onClick:()=>r(l),className:`px-3 py-2 text-sm font-medium rounded-md ${t===l?"bg-yellow-600 text-white":"text-gray-700 bg-white border border-gray-300 hover:bg-gray-50"}`,children:l},l)),a.jsx("button",{onClick:()=>r(Math.min(e,t+1)),disabled:t===e,className:"px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-md hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:a.jsx(Ma,{})})]})})},sz=({jobs:t,onViewJob:e})=>!t||t.length===0?null:a.jsxs("div",{className:"last-visited-jobs mt-8 bg-white rounded-lg shadow p-4",children:[a.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Recently Viewed Jobs"}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:t.map((r,n)=>a.jsxs("div",{className:"p-3 border rounded-md hover:shadow-md transition-shadow cursor-pointer",onClick:()=>e(r,n,"same_tab","last_visited"),children:[a.jsxs("div",{className:"flex items-center mb-2",children:[a.jsx("img",{src:r.logo||"/placeholder.svg?height=30&width=30",alt:`${r.company} logo`,className:"w-6 h-6 mr-2"}),a.jsx("h3",{className:"font-medium text-sm truncate",children:r.title})]}),a.jsx("p",{className:"text-xs text-gray-600 truncate",children:r.company}),a.jsx("p",{className:"text-xs text-gray-500 truncate",children:r.location})]},r._id||r.slug||r.link))})]}),cz=(t,e,r="date")=>{if(e==="all")return t;const n=new Date,o=new Date(n.getFullYear(),n.getMonth(),n.getDate());return t.filter(i=>{const c=i[r]||i.created_at||i.published_at||i.scraped_at;if(!c)return!1;const l=new Date(c);switch(e){case"today":return l>=o;case"this_week":{const d=new Date(n);return d.setDate(n.getDate()-n.getDay()),d.setHours(0,0,0,0),l>=d}case"this_month":{const d=new Date(n.getFullYear(),n.getMonth(),1);return l>=d}case"last_30_days":{const d=new Date(n);return d.setDate(n.getDate()-30),l>=d}case"last_90_days":{const d=new Date(n);return d.setDate(n.getDate()-90),l>=d}default:return!0}})},lz=(t,e)=>t.filter(r=>{var n,o,i,c,l;if(e.jobTypes.length>0){const d=((n=r.department)==null?void 0:n.toLowerCase())||"";if(!e.jobTypes.some(h=>d.includes(h)))return!1}if(e.experienceLevels.length>0){const d=((o=r.title)==null?void 0:o.toLowerCase())||"";if(!e.experienceLevels.some(h=>!!(h==="senior"&&d.includes("senior")||h==="mid"&&(d.includes("mid")||d.includes("mid-level"))||h==="entry"&&(d.includes("junior")||d.includes("entry")))))return!1}return!(e.country&&!(((i=r.location)==null?void 0:i.toLowerCase())||((c=r.city)==null?void 0:c.toLowerCase())||"").includes(e.country.toLowerCase())||e.city&&!(((l=r.company_type)==null?void 0:l.toLowerCase())||"").includes(e.city.toLowerCase()))}),Tc=(t,e)=>{const r={};for(const n of t)for(const o of e){r[o]||(r[o]=new Set);const i=n[o];Array.isArray(i)?i.forEach(c=>{typeof c=="string"&&c.trim()&&r[o].add(c.trim())}):typeof i=="string"&&i.trim()&&r[o].add(i.trim())}return Object.fromEntries(Object.entries(r).map(([n,o])=>[n,Array.from(o)]))},sA=t=>{const e=new URLSearchParams(window.location.search);t==="all"?e.delete("date_filter"):e.set("date_filter",t);const r=`${window.location.pathname}?${e.toString()}`;window.history.replaceState({},"",r)},Fi=(t,e,r,n,o="date")=>{let i=t.filter(c=>Object.entries(e).every(([l,d])=>{const h=c[l];return typeof h=="string"?h.toLowerCase()===d.toLowerCase():Array.isArray(h)?h.some(u=>typeof u=="string"&&u.toLowerCase()===d.toLowerCase()):!1}));return r.length>0&&(i=i.filter(c=>r.every(l=>{var d,h;return((d=c.title)==null?void 0:d.toLowerCase().includes(l.toLowerCase()))||((h=c.overview)==null?void 0:h.toLowerCase().includes(l.toLowerCase()))}))),i=cz(i,n,o),i},a1=(t,e,r=[],n="date")=>{const o=d=>{const h=d[n]||d.created_at||d.published_at||d.scraped_at;return h?new Date(h).getTime():0},i=d=>{var u;const h=d.views??d.viewCount??((u=d.metrics)==null?void 0:u.views)??0;return typeof h=="number"?h:0},c=d=>{if(r.length===0)return 0;const h=(d.title??"").toLowerCase(),u=(d.overview??"").toLowerCase();return r.reduce((p,y)=>{const f=y.toLowerCase();let k=p;return h.includes(f)&&(k+=3),u.includes(f)&&(k+=1),k},0)},l=[...t];return l.sort((d,h)=>{switch(e){case"date_asc":return o(d)-o(h);case"views_desc":return i(h)-i(d);case"views_asc":return i(d)-i(h);case"relevance":{const u=c(h)-c(d);return u!==0?u:o(h)-o(d)}case"title_asc":{const u=(d.title??"").localeCompare(h.title??"",void 0,{sensitivity:"base"});return u!==0?u:o(h)-o(d)}case"date_desc":default:return o(h)-o(d)}}),l},cA=({dateFieldLabel:t,activeDateFilter:e,onDateFilterChange:r,filterKeys:n,searchableFilters:o,filtersData:i,activeFilters:c,handleFilterChange:l,toggleSavedJobsFilter:d,showOnlySaved:h,savedJobs:u})=>a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filters"}),a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:t}),a.jsx(oA,{activeDateFilter:e,onDateFilterChange:r,dateFieldLabel:""})]}),n.map(p=>{var y;return a.jsxs("div",{className:"mb-6",children:[a.jsx("h3",{className:"text-sm font-medium text-gray-900 mb-2",children:p.replace(/_/g," ").replace(/^\w/,f=>f.toUpperCase())}),o.includes(p)?a.jsx(P9,{options:i[p]||[],value:c[p]||"",onChange:f=>l(p,f),placeholder:`Select ${p.replace(/_/g," ")}`,className:"w-full"}):a.jsxs("select",{className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500 bg-white",value:c[p]||"",onChange:f=>l(p,f.target.value),children:[a.jsxs("option",{value:"",children:["Select ",p.replace(/_/g," ")]}),(y=i[p])==null?void 0:y.map(f=>a.jsx("option",{value:f,children:f},f))]})]},p)}),a.jsx("div",{className:"mt-6",children:a.jsxs("button",{onClick:d,className:`w-full px-4 py-2 rounded-lg flex items-center justify-center ${h?"bg-yellow-100 text-indigo-800":"bg-gray-100 text-gray-800 hover:bg-gray-200"}`,children:[a.jsx(Ga,{size:16,className:"mr-2"}),a.jsxs("span",{children:["Saved Jobs (",u.length,")"]})]})})]})});function qc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function XS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function dz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=XS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():XS(t[o],null)}}}}function R9(...t){return g.useCallback(dz(...t),t)}function hz(t,e){const r=g.createContext(e),n=i=>{const{children:c,...l}=i,d=g.useMemo(()=>l,Object.values(l));return a.jsx(r.Provider,{value:d,children:c})};n.displayName=t+"Provider";function o(i){const c=g.useContext(r);if(c)return c;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[n,o]}function uz(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,pz(o,...e)]}function pz(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var f9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},yz=g[" useId ".trim().toString()]||(()=>{}),mz=0;function pC(t){const[e,r]=g.useState(yz());return f9(()=>{t||r(n=>n??String(mz++))},[t]),t||(e?`radix-${e}`:"")}var fz=g[" useInsertionEffect ".trim().toString()]||f9;function xz({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=kz({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=gz(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function kz({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return fz(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function gz(t){return typeof t=="function"}function yC(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var vz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],lA=vz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function wz(t,e){t&&j9.flushSync(()=>t.dispatchEvent(e))}function JS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Mz(...t){return e=>{let r=!1;const n=t.map(o=>{const i=JS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():JS(t[o],null)}}}}function dA(...t){return g.useCallback(Mz(...t),t)}function hA(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function bz(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function Cz(t,e=globalThis==null?void 0:globalThis.document){const r=bz(t);g.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var jz="DismissableLayer",YC="dismissableLayer.update",Sz="dismissableLayer.pointerDownOutside",Lz="dismissableLayer.focusOutside",YS,uA=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T9=g.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:c,onDismiss:l,...d}=t,h=g.useContext(uA),[u,p]=g.useState(null),y=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=g.useState({}),k=dA(e,L=>p(L)),m=Array.from(h.layers),[x]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(x),w=u?m.indexOf(u):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,b=w>=v,C=Az(L=>{const A=L.target,N=[...h.branches].some(q=>q.contains(A));!b||N||(o==null||o(L),c==null||c(L),L.defaultPrevented||l==null||l())},y),I=Pz(L=>{const A=L.target;[...h.branches].some(q=>q.contains(A))||(i==null||i(L),c==null||c(L),L.defaultPrevented||l==null||l())},y);return Cz(L=>{w===h.layers.size-1&&(n==null||n(L),!L.defaultPrevented&&l&&(L.preventDefault(),l()))},y),g.useEffect(()=>{if(u)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(YS=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(u)),h.layers.add(u),KS(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(y.body.style.pointerEvents=YS)}},[u,y,r,h]),g.useEffect(()=>()=>{u&&(h.layers.delete(u),h.layersWithOutsidePointerEventsDisabled.delete(u),KS())},[u,h]),g.useEffect(()=>{const L=()=>f({});return document.addEventListener(YC,L),()=>document.removeEventListener(YC,L)},[]),a.jsx(lA.div,{...d,ref:k,style:{pointerEvents:M?b?"auto":"none":void 0,...t.style},onFocusCapture:yC(t.onFocusCapture,I.onFocusCapture),onBlurCapture:yC(t.onBlurCapture,I.onBlurCapture),onPointerDownCapture:yC(t.onPointerDownCapture,C.onPointerDownCapture)})});T9.displayName=jz;var Iz="DismissableLayerBranch",Nz=g.forwardRef((t,e)=>{const r=g.useContext(uA),n=g.useRef(null),o=dA(e,n);return g.useEffect(()=>{const i=n.current;if(i)return r.branches.add(i),()=>{r.branches.delete(i)}},[r.branches]),a.jsx(lA.div,{...t,ref:o})});Nz.displayName=Iz;function Az(t,e=globalThis==null?void 0:globalThis.document){const r=hA(t),n=g.useRef(!1),o=g.useRef(()=>{});return g.useEffect(()=>{const i=l=>{if(l.target&&!n.current){let d=function(){pA(Sz,r,h,{discrete:!0})};const h={originalEvent:l};l.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=d,e.addEventListener("click",o.current,{once:!0})):d()}else e.removeEventListener("click",o.current);n.current=!1},c=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(c),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function Pz(t,e=globalThis==null?void 0:globalThis.document){const r=hA(t),n=g.useRef(!1);return g.useEffect(()=>{const o=i=>{i.target&&!n.current&&pA(Lz,r,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function KS(){const t=new CustomEvent(YC);document.dispatchEvent(t)}function pA(t,e,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&o.addEventListener(t,e,{once:!0}),n?wz(o,i):o.dispatchEvent(i)}function QS(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function _z(...t){return e=>{let r=!1;const n=t.map(o=>{const i=QS(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():QS(t[o],null)}}}}function Rz(...t){return g.useCallback(_z(...t),t)}var Tz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],qz=Tz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function eL(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var mC="focusScope.autoFocusOnMount",fC="focusScope.autoFocusOnUnmount",tL={bubbles:!1,cancelable:!0},Dz="FocusScope",q9=g.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...c}=t,[l,d]=g.useState(null),h=eL(o),u=eL(i),p=g.useRef(null),y=Rz(e,m=>d(m)),f=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(n){let m=function(M){if(f.paused||!l)return;const b=M.target;l.contains(b)?p.current=b:Ea(p.current,{select:!0})},x=function(M){if(f.paused||!l)return;const b=M.relatedTarget;b!==null&&(l.contains(b)||Ea(p.current,{select:!0}))},v=function(M){if(document.activeElement===document.body)for(const C of M)C.removedNodes.length>0&&Ea(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",x);const w=new MutationObserver(v);return l&&w.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",x),w.disconnect()}}},[n,l,f.paused]),g.useEffect(()=>{if(l){rL.add(f);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(mC,tL);l.addEventListener(mC,h),l.dispatchEvent(v),v.defaultPrevented||(zz(Vz(yA(l)),{select:!0}),document.activeElement===m&&Ea(l))}return()=>{l.removeEventListener(mC,h),setTimeout(()=>{const v=new CustomEvent(fC,tL);l.addEventListener(fC,u),l.dispatchEvent(v),v.defaultPrevented||Ea(m??document.body,{select:!0}),l.removeEventListener(fC,u),rL.remove(f)},0)}}},[l,h,u,f]);const k=g.useCallback(m=>{if(!r&&!n||f.paused)return;const x=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(x&&v){const w=m.currentTarget,[M,b]=Fz(w);M&&b?!m.shiftKey&&v===b?(m.preventDefault(),r&&Ea(M,{select:!0})):m.shiftKey&&v===M&&(m.preventDefault(),r&&Ea(b,{select:!0})):v===w&&m.preventDefault()}},[r,n,f.paused]);return a.jsx(qz.div,{tabIndex:-1,...c,ref:y,onKeyDown:k})});q9.displayName=Dz;function zz(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(Ea(n,{select:e}),document.activeElement!==r)return}function Fz(t){const e=yA(t),r=aL(e,t),n=aL(e.reverse(),t);return[r,n]}function yA(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function aL(t,e){for(const r of t)if(!Ez(r,{upTo:e}))return r}function Ez(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Oz(t){return t instanceof HTMLInputElement&&"select"in t}function Ea(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&Oz(t)&&e&&t.select()}}var rL=Hz();function Hz(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=nL(t,e),t.unshift(e)},remove(e){var r;t=nL(t,e),(r=t[0])==null||r.resume()}}}function nL(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function Vz(t){return t.filter(e=>e.tagName!=="A")}var Bz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Uz=Bz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),$z=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Gz="Portal",D9=g.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[o,i]=g.useState(!1);$z(()=>i(!0),[]);const c=r||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return c?lj.createPortal(a.jsx(Uz.div,{...n,ref:e}),c):null});D9.displayName=Gz;function Wz(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var z9=t=>{const{present:e,children:r}=t,n=Zz(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=R9(n.ref,Xz(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};z9.displayName="Presence";function Zz(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=Wz(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=r1(n.current);i.current=l==="mounted"?h:"none"},[l]),f9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=r1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),f9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=r1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=r1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function r1(t){return(t==null?void 0:t.animationName)||"none"}function Xz(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var Jz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Jc=Jz.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),xC=0;function Uj(){g.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??oL()),document.body.insertAdjacentElement("beforeend",t[1]??oL()),xC++,()=>{xC===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),xC--}},[])}function oL(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var na=function(){return na=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},na.apply(this,arguments)};function mA(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function Yz(t,e,r){if(r||arguments.length===2)for(var n=0,o=e.length,i;n<o;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}var n9="right-scroll-bar-position",o9="width-before-scroll-bar",Kz="with-scroll-bars-hidden",Qz="--removed-body-scroll-bar-size";function kC(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function eF(t,e){var r=S.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=e,r.facade}var tF=typeof window<"u"?g.useLayoutEffect:g.useEffect,iL=new WeakMap;function aF(t,e){var r=eF(null,function(n){return t.forEach(function(o){return kC(o,n)})});return tF(function(){var n=iL.get(r);if(n){var o=new Set(n),i=new Set(t),c=r.current;o.forEach(function(l){i.has(l)||kC(l,null)}),i.forEach(function(l){o.has(l)||kC(l,c)})}iL.set(r,t)},[t]),r}function rF(t){return t}function nF(t,e){e===void 0&&(e=rF);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(i){var c=e(i,n);return r.push(c),function(){r=r.filter(function(l){return l!==c})}},assignSyncMedium:function(i){for(n=!0;r.length;){var c=r;r=[],c.forEach(i)}r={push:function(l){return i(l)},filter:function(){return r}}},assignMedium:function(i){n=!0;var c=[];if(r.length){var l=r;r=[],l.forEach(i),c=r}var d=function(){var u=c;c=[],u.forEach(i)},h=function(){return Promise.resolve().then(d)};h(),r={push:function(u){c.push(u),h()},filter:function(u){return c=c.filter(u),r}}}};return o}function oF(t){t===void 0&&(t={});var e=nF(null);return e.options=na({async:!0,ssr:!1},t),e}var fA=function(t){var e=t.sideCar,r=mA(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return g.createElement(n,na({},r))};fA.isSideCarExport=!0;function iF(t,e){return t.useMedium(e),fA}var xA=oF(),gC=function(){},F9=g.forwardRef(function(t,e){var r=g.useRef(null),n=g.useState({onScrollCapture:gC,onWheelCapture:gC,onTouchMoveCapture:gC}),o=n[0],i=n[1],c=t.forwardProps,l=t.children,d=t.className,h=t.removeScrollBar,u=t.enabled,p=t.shards,y=t.sideCar,f=t.noRelative,k=t.noIsolation,m=t.inert,x=t.allowPinchZoom,v=t.as,w=v===void 0?"div":v,M=t.gapMode,b=mA(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=y,I=aF([r,e]),L=na(na({},b),o);return g.createElement(g.Fragment,null,u&&g.createElement(C,{sideCar:xA,removeScrollBar:h,shards:p,noRelative:f,noIsolation:k,inert:m,setCallbacks:i,allowPinchZoom:!!x,lockRef:r,gapMode:M}),c?g.cloneElement(g.Children.only(l),na(na({},L),{ref:I})):g.createElement(w,na({},L,{className:d,ref:I}),l))});F9.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};F9.classNames={fullWidth:o9,zeroRight:n9};var sF=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function cF(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=sF();return e&&t.setAttribute("nonce",e),t}function lF(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function dF(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var hF=function(){var t=0,e=null;return{add:function(r){t==0&&(e=cF())&&(lF(e,r),dF(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},uF=function(){var t=hF();return function(e,r){g.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},kA=function(){var t=uF(),e=function(r){var n=r.styles,o=r.dynamic;return t(n,o),null};return e},pF={left:0,top:0,right:0,gap:0},vC=function(t){return parseInt(t||"",10)||0},yF=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[vC(r),vC(n),vC(o)]},mF=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return pF;var e=yF(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},fF=kA(),qs="data-scroll-locked",xF=function(t,e,r,n){var o=t.left,i=t.top,c=t.right,l=t.gap;return r===void 0&&(r="margin"),`
|
|
7757
7757
|
.`.concat(Kz,` {
|
|
7758
7758
|
overflow: hidden `).concat(n,`;
|
|
7759
7759
|
padding-right: `).concat(l,"px ").concat(n,`;
|
|
@@ -7793,32 +7793,32 @@ React keys must be passed directly to JSX without using spread:
|
|
|
7793
7793
|
`)},sL=function(){var t=parseInt(document.body.getAttribute(qs)||"0",10);return isFinite(t)?t:0},kF=function(){g.useEffect(function(){return document.body.setAttribute(qs,(sL()+1).toString()),function(){var t=sL()-1;t<=0?document.body.removeAttribute(qs):document.body.setAttribute(qs,t.toString())}},[])},gF=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,o=n===void 0?"margin":n;kF();var i=g.useMemo(function(){return mF(o)},[o]);return g.createElement(fF,{styles:xF(i,!e,o,r?"":"!important")})},KC=!1;if(typeof window<"u")try{var n1=Object.defineProperty({},"passive",{get:function(){return KC=!0,!0}});window.addEventListener("test",n1,n1),window.removeEventListener("test",n1,n1)}catch{KC=!1}var hs=KC?{passive:!1}:!1,vF=function(t){return t.tagName==="TEXTAREA"},gA=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!vF(t)&&r[e]==="visible")},wF=function(t){return gA(t,"overflowY")},MF=function(t){return gA(t,"overflowX")},cL=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=vA(t,n);if(o){var i=wA(t,n),c=i[1],l=i[2];if(c>l)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},bF=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},CF=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},vA=function(t,e){return t==="v"?wF(e):MF(e)},wA=function(t,e){return t==="v"?bF(e):CF(e)},jF=function(t,e){return t==="h"&&e==="rtl"?-1:1},SF=function(t,e,r,n,o){var i=jF(t,window.getComputedStyle(e).direction),c=i*n,l=r.target,d=e.contains(l),h=!1,u=c>0,p=0,y=0;do{if(!l)break;var f=wA(t,l),k=f[0],m=f[1],x=f[2],v=m-x-i*k;(k||v)&&vA(t,l)&&(p+=v,y+=k);var w=l.parentNode;l=w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE?w.host:w}while(!d&&l!==document.body||d&&(e.contains(l)||e===l));return(u&&(Math.abs(p)<1||!o)||!u&&(Math.abs(y)<1||!o))&&(h=!0),h},o1=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},lL=function(t){return[t.deltaX,t.deltaY]},dL=function(t){return t&&"current"in t?t.current:t},LF=function(t,e){return t[0]===e[0]&&t[1]===e[1]},IF=function(t){return`
|
|
7794
7794
|
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|
7795
7795
|
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|
7796
|
-
`)},NF=0,us=[];function AF(t){var e=g.useRef([]),r=g.useRef([0,0]),n=g.useRef(),o=g.useState(NF++)[0],i=g.useState(kA)[0],c=g.useRef(t);g.useEffect(function(){c.current=t},[t]),g.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Yz([t.lockRef.current],(t.shards||[]).map(dL),!0).filter(Boolean);return m.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var l=g.useCallback(function(m,x){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!c.current.allowPinchZoom;var v=o1(m),w=r.current,
|
|
7796
|
+
`)},NF=0,us=[];function AF(t){var e=g.useRef([]),r=g.useRef([0,0]),n=g.useRef(),o=g.useState(NF++)[0],i=g.useState(kA)[0],c=g.useRef(t);g.useEffect(function(){c.current=t},[t]),g.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Yz([t.lockRef.current],(t.shards||[]).map(dL),!0).filter(Boolean);return m.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var l=g.useCallback(function(m,x){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!c.current.allowPinchZoom;var v=o1(m),w=r.current,M="deltaX"in m?m.deltaX:w[0]-v[0],b="deltaY"in m?m.deltaY:w[1]-v[1],C,I=m.target,L=Math.abs(M)>Math.abs(b)?"h":"v";if("touches"in m&&L==="h"&&I.type==="range")return!1;var A=cL(L,I);if(!A)return!0;if(A?C=L:(C=L==="v"?"h":"v",A=cL(L,I)),!A)return!1;if(!n.current&&"changedTouches"in m&&(M||b)&&(n.current=C),!C)return!0;var N=n.current||C;return SF(N,x,m,N==="h"?M:b,!0)},[]),d=g.useCallback(function(m){var x=m;if(!(!us.length||us[us.length-1]!==i)){var v="deltaY"in x?lL(x):o1(x),w=e.current.filter(function(C){return C.name===x.type&&(C.target===x.target||x.target===C.shadowParent)&&LF(C.delta,v)})[0];if(w&&w.should){x.cancelable&&x.preventDefault();return}if(!w){var M=(c.current.shards||[]).map(dL).filter(Boolean).filter(function(C){return C.contains(x.target)}),b=M.length>0?l(x,M[0]):!c.current.noIsolation;b&&x.cancelable&&x.preventDefault()}}},[]),h=g.useCallback(function(m,x,v,w){var M={name:m,delta:x,target:v,should:w,shadowParent:PF(v)};e.current.push(M),setTimeout(function(){e.current=e.current.filter(function(b){return b!==M})},1)},[]),u=g.useCallback(function(m){r.current=o1(m),n.current=void 0},[]),p=g.useCallback(function(m){h(m.type,lL(m),m.target,l(m,t.lockRef.current))},[]),y=g.useCallback(function(m){h(m.type,o1(m),m.target,l(m,t.lockRef.current))},[]);g.useEffect(function(){return us.push(i),t.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:y}),document.addEventListener("wheel",d,hs),document.addEventListener("touchmove",d,hs),document.addEventListener("touchstart",u,hs),function(){us=us.filter(function(m){return m!==i}),document.removeEventListener("wheel",d,hs),document.removeEventListener("touchmove",d,hs),document.removeEventListener("touchstart",u,hs)}},[]);var f=t.removeScrollBar,k=t.inert;return g.createElement(g.Fragment,null,k?g.createElement(i,{styles:IF(o)}):null,f?g.createElement(gF,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function PF(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const _F=iF(xA,AF);var E9=g.forwardRef(function(t,e){return g.createElement(F9,na({},t,{ref:e,sideCar:_F}))});E9.classNames=F9.classNames;var RF=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},ps=new WeakMap,i1=new WeakMap,s1={},wC=0,MA=function(t){return t&&(t.host||MA(t.parentNode))},TF=function(t,e){return e.map(function(r){if(t.contains(r))return r;var n=MA(r);return n&&t.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},qF=function(t,e,r,n){var o=TF(e,Array.isArray(t)?t:[t]);s1[r]||(s1[r]=new WeakMap);var i=s1[r],c=[],l=new Set,d=new Set(o),h=function(p){!p||l.has(p)||(l.add(p),h(p.parentNode))};o.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(l.has(y))u(y);else try{var f=y.getAttribute(n),k=f!==null&&f!=="false",m=(ps.get(y)||0)+1,x=(i.get(y)||0)+1;ps.set(y,m),i.set(y,x),c.push(y),m===1&&k&&i1.set(y,!0),x===1&&y.setAttribute(r,"true"),k||y.setAttribute(n,"true")}catch(v){console.error("aria-hidden: cannot operate on ",y,v)}})};return u(e),l.clear(),wC++,function(){c.forEach(function(p){var y=ps.get(p)-1,f=i.get(p)-1;ps.set(p,y),i.set(p,f),y||(i1.has(p)||p.removeAttribute(n),i1.delete(p)),f||p.removeAttribute(r)}),wC--,wC||(ps=new WeakMap,ps=new WeakMap,i1=new WeakMap,s1={})}},$j=function(t,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),o=RF(t);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),qF(n,o,r,"aria-hidden")):function(){return null}},O9="Dialog",[bA,CA]=uz(O9),[DF,Kt]=bA(O9),jA=t=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!0}=t,l=g.useRef(null),d=g.useRef(null),[h,u]=xz({prop:n,defaultProp:o??!1,onChange:i,caller:O9});return a.jsx(DF,{scope:e,triggerRef:l,contentRef:d,contentId:pC(),titleId:pC(),descriptionId:pC(),open:h,onOpenChange:u,onOpenToggle:g.useCallback(()=>u(p=>!p),[u]),modal:c,children:r})};jA.displayName=O9;var SA="DialogTrigger",LA=g.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(SA,r),i=R9(e,o.triggerRef);return a.jsx(Jc.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Zj(o.open),...n,ref:i,onClick:qc(t.onClick,o.onOpenToggle)})});LA.displayName=SA;var Gj="DialogPortal",[zF,IA]=bA(Gj,{forceMount:void 0}),NA=t=>{const{__scopeDialog:e,forceMount:r,children:n,container:o}=t,i=Kt(Gj,e);return a.jsx(zF,{scope:e,forceMount:r,children:g.Children.map(n,c=>a.jsx(z9,{present:r||i.open,children:a.jsx(D9,{asChild:!0,container:o,children:c})}))})};NA.displayName=Gj;var x9="DialogOverlay",AA=g.forwardRef((t,e)=>{const r=IA(x9,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=Kt(x9,t.__scopeDialog);return i.modal?a.jsx(z9,{present:n||i.open,children:a.jsx(EF,{...o,ref:e})}):null});AA.displayName=x9;var FF=tt("DialogOverlay.RemoveScroll"),EF=g.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(x9,r);return a.jsx(E9,{as:FF,allowPinchZoom:!0,shards:[o.contentRef],children:a.jsx(Jc.div,{"data-state":Zj(o.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),Ki="DialogContent",PA=g.forwardRef((t,e)=>{const r=IA(Ki,t.__scopeDialog),{forceMount:n=r.forceMount,...o}=t,i=Kt(Ki,t.__scopeDialog);return a.jsx(z9,{present:n||i.open,children:i.modal?a.jsx(OF,{...o,ref:e}):a.jsx(HF,{...o,ref:e})})});PA.displayName=Ki;var OF=g.forwardRef((t,e)=>{const r=Kt(Ki,t.__scopeDialog),n=g.useRef(null),o=R9(e,r.contentRef,n);return g.useEffect(()=>{const i=n.current;if(i)return $j(i)},[]),a.jsx(_A,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qc(t.onCloseAutoFocus,i=>{var c;i.preventDefault(),(c=r.triggerRef.current)==null||c.focus()}),onPointerDownOutside:qc(t.onPointerDownOutside,i=>{const c=i.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&i.preventDefault()}),onFocusOutside:qc(t.onFocusOutside,i=>i.preventDefault())})}),HF=g.forwardRef((t,e)=>{const r=Kt(Ki,t.__scopeDialog),n=g.useRef(!1),o=g.useRef(!1);return a.jsx(_A,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var c,l;(c=t.onCloseAutoFocus)==null||c.call(t,i),i.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),i.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:i=>{var d,h;(d=t.onInteractOutside)==null||d.call(t,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),_A=g.forwardRef((t,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,...c}=t,l=Kt(Ki,r),d=g.useRef(null),h=R9(e,d);return Uj(),a.jsxs(a.Fragment,{children:[a.jsx(q9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(T9,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Zj(l.open),...c,ref:h,onDismiss:()=>l.onOpenChange(!1)})}),a.jsxs(a.Fragment,{children:[a.jsx(BF,{titleId:l.titleId}),a.jsx($F,{contentRef:d,descriptionId:l.descriptionId})]})]})}),Wj="DialogTitle",RA=g.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(Wj,r);return a.jsx(Jc.h2,{id:o.titleId,...n,ref:e})});RA.displayName=Wj;var TA="DialogDescription",qA=g.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(TA,r);return a.jsx(Jc.p,{id:o.descriptionId,...n,ref:e})});qA.displayName=TA;var DA="DialogClose",zA=g.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,o=Kt(DA,r);return a.jsx(Jc.button,{type:"button",...n,ref:e,onClick:qc(t.onClick,()=>o.onOpenChange(!1))})});zA.displayName=DA;function Zj(t){return t?"open":"closed"}var FA="DialogTitleWarning",[VF,EA]=hz(FA,{contentName:Ki,titleName:Wj,docsSlug:"dialog"}),BF=({titleId:t})=>{const e=EA(FA),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
|
|
7797
7797
|
|
|
7798
7798
|
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
7799
7799
|
|
|
7800
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return g.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},UF="DialogDescriptionWarning",$F=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${EA(UF).contentName}}.`;return g.useEffect(()=>{var i;const o=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&o&&(document.getElementById(e)||console.warn(n))},[n,t,e]),null},OA=jA,GF=LA,HA=NA,Xj=AA,Jj=PA,Yj=RA,Kj=qA,Qj=zA;function H9(t,e){if(t==null)return{};var r={},n=Object.keys(t),o,i;for(i=0;i<n.length;i++)o=n[i],!(e.indexOf(o)>=0)&&(r[o]=t[o]);return r}var WF=["color"],ZF=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,WF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),XF=["color"],VA=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,XF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),JF=["color"],YF=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,JF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),KF=["color"],QF=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,KF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const os=OA,eE=HA,BA=g.forwardRef(({className:t,...e},r)=>a.jsx(Xj,{ref:r,className:se("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));BA.displayName=Xj.displayName;const nr=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(eE,{children:[a.jsx(BA,{}),a.jsxs(Jj,{ref:n,className:se("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...r,children:[e,a.jsxs(Qj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[a.jsx(QF,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));nr.displayName=Jj.displayName;const is=({className:t,...e})=>a.jsx("div",{className:se("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});is.displayName="DialogHeader";const or=({className:t,...e})=>a.jsx("div",{className:se("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});or.displayName="DialogFooter";const ir=g.forwardRef(({className:t,...e},r)=>a.jsx(Yj,{ref:r,className:se("text-lg font-semibold leading-none tracking-tight",t),...e}));ir.displayName=Yj.displayName;const eS=g.forwardRef(({className:t,...e},r)=>a.jsx(Kj,{ref:r,className:se("text-sm text-muted-foreground",t),...e}));eS.displayName=Kj.displayName;var tE="Label",UA=g.forwardRef((t,e)=>a.jsx(as.label,{...t,ref:e,onMouseDown:r=>{var o;r.target.closest("button, input, select, textarea")||((o=t.onMouseDown)==null||o.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));UA.displayName=tE;var $A=UA;const aE=S9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ye=g.forwardRef(({className:t,...e},r)=>a.jsx($A,{ref:r,className:se(aE(),t),...e}));ye.displayName=$A.displayName;const rE=1,nE=1e6;let MC=0;function oE(){return MC=(MC+1)%Number.MAX_SAFE_INTEGER,MC.toString()}const bC=new Map,hL=t=>{if(bC.has(t))return;const e=setTimeout(()=>{bC.delete(t),i9({type:"REMOVE_TOAST",toastId:t})},nE);bC.set(t,e)},iE=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,rE)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?hL(r):t.toasts.forEach(n=>{hL(n.id)}),{...t,toasts:t.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},sE=[];let CC={toasts:[]};function i9(t){CC=iE(CC,t),sE.forEach(e=>{e(CC)})}function uL({...t}){const e=oE(),r=o=>i9({type:"UPDATE_TOAST",toast:{...o,id:e}}),n=()=>i9({type:"DISMISS_TOAST",toastId:e});return i9({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:o=>{o||n()}}}),{id:e,dismiss:n,update:r}}const cE=new Set([200,201,202,204]);function lE(t){return t===400?"BAD_REQUEST":t===401?"UNAUTHORIZED":t===403?"FORBIDDEN":t===404?"NOT_FOUND":t===409?"CONFLICT":t===429?"RATE_LIMITED":t>=500?"SERVER":"UNKNOWN"}function dE(t){if(t.friendly)return t.friendly;switch(t.code){case"TIMEOUT":return"The request took too long. Please try again.";case"NETWORK":return"You appear to be offline or the server can’t be reached.";case"RATE_LIMITED":return"Too many requests. Please wait a moment and try again.";case"SERVER":return"The server had an issue. Please try again shortly.";case"CONFLICT":return"This email may already be subscribed.";case"BAD_REQUEST":return"Please check your input and try again.";case"UNAUTHORIZED":return"Please sign in to continue.";default:return"Something went wrong. Please try again."}}async function hE(t,e){const{timeoutMs:r=12e3,...n}=e??{},o=new AbortController,i=setTimeout(()=>o.abort(),r);try{const c=await fetch(t,{...n,signal:o.signal});if(cE.has(c.status)){if(c.status===204)return{ok:!0,data:void 0};const u=await c.text();return{ok:!0,data:u?JSON.parse(u):void 0}}let l=null;try{l=await c.json()}catch{}return{ok:!1,error:{code:lE(c.status),status:c.status,message:(l==null?void 0:l.message)||`${c.status} ${c.statusText}`,details:l}}}catch(c){const l=(c==null?void 0:c.name)==="AbortError";return{ok:!1,error:{code:l?"TIMEOUT":"NETWORK",message:l?"Request aborted by timeout":(c==null?void 0:c.message)||"Network error"}}}finally{clearTimeout(i)}}function uE({open:t,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:o,apiUrl:i="http://localhost:5147"}){const[c,l]=S.useState(""),[d,h]=S.useState(!1),[u,p]=S.useState(null),y=async f=>{if(f.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await hE(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(dE(k.error)),uL({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),uL({title:"You're subscribed",description:`We'll notify you at ${c} when new jobs match your criteria.`}),r==null||r(),l("")}finally{h(!1)}};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{className:"sm:max-w-md",children:[a.jsxs(is,{children:[a.jsxs(ir,{className:"flex items-center gap-2",children:[a.jsx(ks,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),a.jsx(eS,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),a.jsxs("form",{onSubmit:y,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ca,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:f=>l(f.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&a.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&a.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[a.jsx("p",{className:"font-medium",children:"Alert criteria:"}),a.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),a.jsxs(or,{className:"gap-2 sm:gap-0",children:[a.jsx($,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),a.jsx($,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function GA(){const t="savedJobs",[e,r]=S.useState([]);return S.useEffect(()=>{try{const i=localStorage.getItem(t);i&&r(JSON.parse(i))}catch(i){console.error("Failed to load saved jobs:",i)}},[]),{savedJobs:e,toggleJob:i=>{r(c=>{const d=c.includes(i)?c.filter(h=>h!==i):[...c,i];try{localStorage.setItem(t,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:i=>i?e.includes(i):!1}}const pE=({value:t,options:e,onChange:r})=>a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),a.jsxs("div",{className:"relative",children:[a.jsx("select",{"aria-label":"Order results",value:t,onChange:n=>r(n.target.value),className:"block w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-9 text-sm text-gray-700 shadow-sm focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-100",children:e.map(n=>a.jsx("option",{value:n.value,children:n.label},n.value))}),a.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),yE=6,jC={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},mE=({apiUrl:t,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:o=!0,cardType:i,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:y})=>{var Qc;const[f,k]=S.useState([]),[m,x]=S.useState([]),[v,w]=S.useState([]),[b,M]=S.useState(1),[C,N]=S.useState({}),[L,A]=S.useState([]),[I,q]=S.useState({}),[P,_]=S.useState(""),[T,G]=S.useState([]),[W,B]=S.useState(!1),[H,O]=S.useState(e),[K,ce]=S.useState("grid"),[ee,Q]=S.useState(!1),[be,xe]=S.useState([]),[te,le]=S.useState(!0),[U,Z]=S.useState(null),[Y,ne]=S.useState("all"),[ue,ie]=S.useState(!1),[ze,Se]=S.useState(!1),[We,rt]=S.useState({...jC}),[it,Pt]=S.useState({open:!1,type:"info",message:""}),[Fe,Ze]=S.useState("date_desc"),{savedJobs:Ke,toggleJob:Bt}=GA(),Ra=_9(u),ma=S.useMemo(()=>({component:"Listing",...y??{}}),[y]),pt=S.useMemo(()=>[{value:"relevance",label:"Best match (relevance)"},{value:"date_desc",label:`${l} (newest)`},{value:"date_asc",label:`${l} (oldest)`},{value:"views_desc",label:"Most viewed"},{value:"views_asc",label:"Least viewed"},{value:"title_asc",label:"Title A → Z"}],[l]),Ae=S.useCallback((D,j)=>{p&&p({domain:"jobs",name:D,payload:j,timestamp:new Date().toISOString(),context:ma})},[ma,p]),z=S.useCallback(()=>({filters:{...C},advancedFilters:We,dateFilter:Y}),[C,Y,We]),E=S.useCallback(()=>({page:b,pageSize:H,totalResults:m.length,viewMode:K,showOnlySaved:ee}),[b,m.length,H,ee,K]),ae=S.useRef(!1),ge=(D,j)=>{Pt({open:!0,type:D,message:j})};S.useEffect(()=>{try{const D=localStorage.getItem("lastVisitedJobs");D&&xe(JSON.parse(D));try{localStorage.getItem("email")&&Se(!0)}catch(j){console.error("Error checking subscription state:",j)}}catch(D){console.error("Error loading data from localStorage:",D)}},[]),S.useEffect(()=>{const j=new URLSearchParams(window.location.search).get("date_filter");j&&j!=="all"&&ne(j)},[]),S.useEffect(()=>{if(!t){Z("❌ Missing API URL for Listing component!"),le(!1);return}le(!0),Z(null),(async()=>{try{const j=await fetch(t);if(!j.ok)throw new Error(`API responded with status: ${j.status}`);const R=await j.json();if(!Array.isArray(R))throw new Error("Expected an array but received: "+typeof R);const F=R.map((re,oe)=>({...re,sponsored:oe%7===0,topTag:Oj(re.title||"")})),X=Array.from(new Set(F.map(re=>re.topTag).filter(re=>typeof re=="string"))).slice(0,10);w(X);const de=a1(F,Fe,L,c);k(F),x(de);const pe=Tc(F,r);q(pe)}catch(j){console.error("Error fetching data:",j),Z(`Failed to load data: ${j instanceof Error?j.message:String(j)}`);const R=QD(20),F=a1(R,Fe,L,c);k(R),x(F);const X=Tc(R,r);q(X)}finally{le(!1)}})()},[t,c,L,Fe]),S.useEffect(()=>{const D=new URLSearchParams(window.location.search),j={};r.forEach(X=>{const de=D.get(X);de&&(j[X]=de)}),N(j);const R=D.get("q")||D.get("searchTerm")||"";R&&_(R);const F={};r.forEach(X=>{const de=D.get(X);de&&(F[X]=de)}),N(F)},[]),S.useEffect(()=>{if(ee){const D=f.filter(R=>Ke.includes(R.id||R.slug||R.link)),j=a1(D,Fe,L,c);x(j),M(1)}else _e()},[]),S.useEffect(()=>{ae.current||te||!m.length&&!f.length||(Ae("jobs_listing_viewed",{...z(),...E()}),ae.current=!0)},[f.length,Ae,m.length,z,E,te]);const Pe=S.useCallback(D=>{const j=Tc(D,r);q(j)},[r]),_e=S.useCallback(D=>{const j=(D==null?void 0:D.baseItems)??f,R=(D==null?void 0:D.filters)??C,F=(D==null?void 0:D.search)??L,X=(D==null?void 0:D.dateFilter)??Y,de=(D==null?void 0:D.advanced)??We;let pe=Fi(j,R,F,X,c);pe=lz(pe,de);const re=a1(pe,Fe,F,c);return x(re),((D==null?void 0:D.resetPage)??!0)&&M(1),((D==null?void 0:D.refreshFiltersData)??!0)&&Pe(re),re},[Y,C,We,f,c,L,Fe,Pe]);S.useEffect(()=>{_e({resetPage:!1,refreshFiltersData:!1})},[Fe,_e]);const Ve=(D,j)=>{const R={...C};j?R[D]=j:delete R[D],ee&&Q(!1),N(R),_e({filters:R});const F={...z(),filters:R};j?Ae("jobs_filter_selected",{key:D,value:j,...F}):Ae("jobs_filter_cleared",{key:D,...F})},Ut=()=>{Se(!0),V().then(()=>ie(!1))},ss=S.useRef(null),Qs=D=>{M(D),Ae("jobs_listing_page_changed",{page:D,pageSize:H,totalResults:m.length}),setTimeout(()=>{var j;(j=ss.current)==null||j.scrollIntoView({behavior:"smooth",block:"start"})},100)},dr=D=>{ee&&Q(!1),ne(D),_e({dateFilter:D}),sA(D),Ae("jobs_date_filter_changed",{dateFilter:D})},hr=D=>{if(_(D),D){const j=f.map(R=>R.title).filter((R,F,X)=>R&&R.toLowerCase().includes(D.toLowerCase())&&X.indexOf(R)===F).slice(0,5);G(j)}else G([])},Ta=D=>{if(!D.trim())return;ee&&Q(!1);const j=[...L,D.trim()];A(j),_e({search:j}),_(""),Ae("jobs_search_submitted",{searchKeywords:j,query:D.trim(),...z()})},cs=D=>{const j=L.filter(R=>R!==D);A(j),_e({search:j}),Ae("jobs_search_filter_removed",{removedKeyword:D,remainingKeywords:j})},Qt=()=>{N({}),A([]),Q(!1),ne("all"),rt({...jC}),_e({filters:{},search:[],dateFilter:"all",advanced:jC}),Ae("jobs_filters_cleared_all",{})},fa=D=>{const j=new Set,R=[];for(const F of D){const X=`${F.key??""}|${F.value.toLowerCase()}`;j.has(X)||(j.add(X),R.push(F))}return R},ur=D=>D.replace(/\/+$/,""),V=async()=>{if(Ae("jobs_alert_cta_clicked",{searchKeywords:L,query:P.trim()||void 0,...z()}),!ze)ie(!0),Ae("jobs_subscription_modal_opened",{});else{const D=localStorage.getItem("email"),j=localStorage.getItem("leadId");if(!D||!j){ge("info","Please subscribe first to create alerts.");return}const R="keyword",F=(Me,ke)=>ke&&ke.trim()?{key:Me.toLowerCase(),value:ke.trim()}:null,X=Object.entries(C).map(([Me,ke])=>F(Me,ke)).filter(Me=>Me!==null),de=L.map(Me=>F(R,Me)).filter(Me=>Me!==null),pe=F(R,P),re=pe?[pe]:[],oe=fa([...X,...de,...re]);if(oe.length===0){ge("info","No filters/keywords to save.");return}try{const Me=ur(h??"http://localhost:5147"),ke=await fetch(`${Me}/api/leads/${j}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(oe)});if(!ke.ok){let Re="";try{Re=await ke.text()}catch{}throw new Error(`${ke.status} ${ke.statusText} ${Re}`.trim())}ge("success","Alert saved. We’ll notify you about new matching jobs."),_(""),Ae("jobs_alert_created",{preferences:oe.filter(Re=>Re!==null)})}catch(Me){console.error("Create alert failed:",Me),ge("error","Failed to save alert.")}}},J=()=>{B(!W)},me=m.length===0?0:(b-1)*H+1,Ie=Math.min(b*H,m.length),Xe=D=>{O(D),M(1),Ae("jobs_listing_items_per_page_changed",{pageSize:D})},xa=()=>{ce(D=>{const j=D==="grid"?"list":"grid";return Ae("jobs_listing_viewmode_changed",{viewMode:j}),j})},Qe=(D,j,R="same_tab",F="listing")=>{const X=D.id||D.slug||D.link;X&&(xe(de=>{const pe=de.filter(oe=>(oe.id||oe.slug||oe.link)!==X),re=[D,...pe].slice(0,yE);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(re))}catch(oe){console.error("Error saving to localStorage:",oe)}return re}),Ae("job_opened",{jobId:X,slug:D.slug,positionInList:j,openedFrom:F,openedIn:R}))},dt=(D,j)=>{const R=D.id||D.slug||D.link;if(!R)return;const F=Ke.includes(R);Bt(R),Ae(F?"job_unsaved":"job_saved",{jobId:R,slug:D.slug,positionInList:j})},qa=(D,j,R="external")=>{const F=D.id||D.slug||D.link;F&&Ae("job_apply_clicked",{jobId:F,slug:D.slug,positionInList:j,applyType:R})},Be=()=>{Q(!ee)},ht=Math.ceil(m.length/H),ec=m.slice((b-1)*H,b*H);return U&&!f.length?a.jsx("div",{className:"flex-grow p-8",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),a.jsx("p",{className:"mb-4",children:U}),a.jsx("button",{onClick:()=>window.location.reload(),className:"bg-red-100 hover:bg-red-200 text-red-800 font-medium py-2 px-4 rounded",children:"Retry"})]})})}):a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(Ej,{onSearchChange:hr,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:v,generateHref:D=>`/jobs?q=${D.toLowerCase().replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Fj,{data:f.map(D=>D.title).filter(Boolean),onSelect:D=>{Ta(D)},onTyping:D=>{_(D),hr(D)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:J,children:a.jsx(Za,{size:16,className:"mr-1.5"})})]}),a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Hj,{filters:[...Y!=="all"?[{key:"date",label:l,value:Y.replace(/_/g," "),onRemove:()=>dr("all")}]:[],...L.map(D=>({key:"search",label:"",value:D,onRemove:()=>cs(D)})),...Object.entries(C).map(([D,j])=>({key:D,label:D.replace(/_/g," "),value:j,onRemove:()=>Ve(D,"")}))],onClearAll:Qt,handleCreateAlert:V})})]}),o&&a.jsxs("button",{className:"md:hidden w-full mb-6 px-4 py-3 bg-yellow-600 text-white rounded-lg flex items-center justify-center",onClick:J,"aria-expanded":W,children:[a.jsx(Za,{className:"w-4 h-4 mr-2"}),W?"Close Filters":"Filters"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(cA,{dateFieldLabel:"Date",activeDateFilter:Y,onDateFilterChange:dr,filterKeys:r,searchableFilters:d,filtersData:I,activeFilters:C,handleFilterChange:Ve,toggleSavedJobsFilter:Be,showOnlySaved:ee,savedJobs:Ke}),te?a.jsx(zj,{}):a.jsxs("div",{className:"lg:gap-6",children:[a.jsx(Vj,{viewMode:K,onToggleViewMode:xa,selectedItemsPerPage:H,onItemsPerPageChange:Xe,totalCount:m.length,startIndex:me,endIndex:Ie,title:"Latest Jobs"}),a.jsxs("div",{className:"",children:[a.jsx("div",{className:"mb-6",children:a.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[ee?"Saved Jobs":"Open Positions",Y!=="all"&&!ee&&a.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",Y.replace(/_/g," "),")"]})]}),a.jsxs("p",{className:"text-sm text-gray-600",children:[a.jsx("span",{className:"font-semibold text-gray-900",children:m.length})," found"]})]}),a.jsx(pE,{value:Fe,options:pt,onChange:Ze})]})}),a.jsx(iz,{items:ec,cardType:i,viewMode:K,savedJobs:Ke,onSaveJob:dt,onViewJob:Qe,onApplyJob:qa,firstItemRef:ss,userAccess:Ra}),m.length>0&&a.jsx("div",{className:"mt-6",children:a.jsx(Bj,{currentPage:b,totalPages:ht,onPageChange:Qs})})]}),be.length>0&&a.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:a.jsx(sz,{jobs:be,onViewJob:Qe})})]}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((Qc=n==null?void 0:n.sidebar)==null?void 0:Qc.enabled)&&a.jsxs("div",{className:"sticky top-4",children:[a.jsx(Uc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),a.jsx(qj,{api_url:h}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((D,j)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+j)}`,alt:`Featured employer ${j+1}`,className:"w-10 h-10 object-contain"})},j))})]})]})})]})]})]}),a.jsx(iA,{activeDateFilter:Y,handleDateFilterChange:dr,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:C,handleFilterChange:Ve,toggleSavedJobsFilter:Be,filtersData:I,savedJobs:Ke,showOnlySaved:ee,isMobileFilterOpen:W,toggleMobileFilter:J}),a.jsx(nA,{savedJobsCount:Ke.length}),a.jsx(aA,{open:it.open,type:it.type,message:it.message,onClose:()=>Pt(D=>({...D,open:!1}))}),a.jsx(uE,{open:ue,onOpenChange:ie,onSubscriptionSuccess:Ut,apiUrl:h})]})};function pL(t=window.location.pathname){const e=t.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(o=>o.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function fE(){const[t,e]=S.useState(()=>pL());return S.useEffect(()=>{const r=()=>e(pL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function yL(t){window.location.assign(t)}function mL(t){window.history.length>1?window.history.back():window.location.assign(t)}function xE(t){const e=WA,r=t??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function kE(t){return!Array.isArray(t)||t.length===0?ZA:t.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const WA={id:"1",title:"Senior Game Developer",company:"Wazdan",companyLogo:"https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=100",location:"Malta",salary:"€80,000 - €120,000",jobType:"Full-time",experienceLevel:"Senior Level",department:"Engineering",postedDate:"2025-01-15",applicationDeadline:"2025-02-15",description:"We are seeking a talented Senior Game Developer to join our innovative team at Wazdan...",requirements:["5+ years of experience in game development","Strong proficiency in C# and Unity","Experience with HTML5 and JavaScript","Knowledge of casino game mechanics","Understanding of RNG and game mathematics","Experience with version control systems (Git)","Strong problem-solving skills","Excellent communication skills in English"],responsibilities:["Design and develop high-quality casino games","Implement game features and mechanics","Optimize game performance across multiple platforms","Collaborate with artists and designers on game assets","Write clean, maintainable, and well-documented code","Participate in code reviews and technical discussions","Debug and resolve technical issues","Stay updated with industry trends and technologies"],benefits:["Competitive salary and performance bonuses","Health insurance coverage","Flexible working hours","Remote work options","Professional development opportunities","25 days paid vacation","Modern office in Malta","Team building events and activities"],skills:["Unity","C#","JavaScript","HTML5","CSS3","Git","Agile","Game Design"],companyDescription:"Wazdan is a leading provider of innovative casino games...",companySize:"100-200 employees",companyWebsite:"https://wazdan.com",contactEmail:"careers@wazdan.com",contactPhone:"+356 2123 4567",isRemote:!1,isUrgent:!0,isFeatured:!0,applicationUrl:"https://wazdan.com/careers/apply",viewCount:1247,applicantCount:23},ZA=[{id:"2",title:"Frontend Game Developer",company:"Pragmatic Play",location:"Malta",salary:"€60,000 - €80,000",postedDate:"2025-01-10"},{id:"3",title:"Unity Developer",company:"Evolution Gaming",location:"Remote",salary:"€70,000 - €90,000",postedDate:"2025-01-12"},{id:"4",title:"Game Developer",company:"NetEnt",location:"Stockholm",salary:"€65,000 - €85,000",postedDate:"2025-01-08"}],gE=({job:t=WA,similarJobs:e=ZA})=>{var N;const r=fE(),[n,o]=S.useState(()=>kE(e)),[i,c]=S.useState(!1),[l,d]=S.useState(null),[h,u]=S.useState(!1),[p,y]=S.useState(!1),{savedJobs:f,toggleJob:k,isSaved:m}=GA(),x=xE(t);S.useEffect(()=>{(async()=>{c(!0);try{if(await new Promise(I=>setTimeout(I,300)),!r)throw new Error("Missing slug in URL.");o(n);const A=JSON.parse(localStorage.getItem("appliedJobs")||"[]");y(A.includes(r))}catch(A){d((A==null?void 0:A.message)||"Failed to load job details")}finally{c(!1)}})()},[r]);const v=()=>{r&&k(r)},w=()=>{if(!r)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):u(!0);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");L.includes(r)||(L.push(r),localStorage.setItem("appliedJobs",JSON.stringify(L)),y(!0))},b=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(L){console.log("Error sharing:",L)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},M=L=>new Date(L).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),C=L=>{const A=new Date(L),q=Math.abs(new Date().getTime()-A.getTime());return Math.ceil(q/(1e3*60*60*24))};return i?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),a.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):l||!x?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx(Tt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:l||"The job you are looking for does not exist."}),a.jsx("button",{onClick:()=>mL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx("div",{className:"bg-white border-b border-gray-200",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[a.jsxs("button",{onClick:()=>mL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[a.jsx(Oi,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[a.jsx("div",{className:"flex-1",children:a.jsxs("div",{className:"flex items-start space-x-4",children:[x.companyLogo&&a.jsx("img",{src:x.companyLogo,alt:`${x.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[x.isUrgent&&a.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.isFeatured&&a.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),a.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:x.title}),a.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(hc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{className:"font-medium",children:x.company})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.location}),x.isRemote&&a.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(mc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.salary})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"h-4 w-4 mr-1"}),a.jsxs("span",{children:[C(x.postedDate)," days ago"]})]})]})]})]})}),a.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[a.jsxs("button",{onClick:v,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Cs,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save Job"]}),a.jsxs("button",{onClick:b,className:"flex items-center px-4 py-2 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:[a.jsx(Ns,{className:"h-4 w-4 mr-2"}),"Share"]}),a.jsx("button",{onClick:w,disabled:p,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(bt,{className:"h-4 w-4 mr-2"}),"Applied"]}):a.jsxs(a.Fragment,{children:[a.jsx(Bi,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(mt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),a.jsx("p",{className:"font-medium",children:x.jobType})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(bs,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),a.jsx("p",{className:"font-medium",children:x.experienceLevel})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(La,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),a.jsx("p",{className:"font-medium",children:x.department})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(uc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),a.jsx("p",{className:"font-medium text-sm",children:x.applicationDeadline?M(x.applicationDeadline):"Open"})]})]}),a.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[a.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[a.jsxs("span",{children:[x.viewCount," views"]}),a.jsxs("span",{children:[x.applicantCount," applicants"]})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(qt,{className:"h-4 w-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),a.jsx("div",{className:"prose prose-gray max-w-none",children:a.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:x.description})})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),a.jsx("ul",{className:"space-y-3",children:(N=x.responsibilities)==null?void 0:N.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(x.requirements)?a.jsx("ul",{className:"space-y-3",children:x.requirements.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.requirements})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(x.skills)?a.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((L,A)=>a.jsx("span",{className:"bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full",children:L},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.skills})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(x.benefits)?a.jsx("ul",{className:"space-y-3",children:x.benefits.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.benefits})]})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",x.company]}),a.jsxs("div",{className:"space-y-4",children:[a.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.companySize&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(La,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("span",{className:"text-gray-600",children:x.companySize})]}),x.companyWebsite&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ms,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:x.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),a.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.contactEmail&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(ca,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`mailto:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ui,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.contactPhone})]})]})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),a.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",x.company," and take your career to the next level in the exciting world of iGaming."]}),a.jsx("button",{onClick:w,disabled:p,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(bt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):a.jsxs(a.Fragment,{children:[a.jsx(Bi,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!p&&a.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[a.jsxs("button",{onClick:v,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Ga,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save"]}),a.jsx("button",{className:"flex items-center justify-center p-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:a.jsx(xc,{className:"h-4 w-4"})})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),a.jsx("div",{className:"space-y-4",children:n.map(L=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>yL(`/jobs/${L.id}`),children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:L.title}),a.jsx("p",{className:"text-sm text-gray-600 mb-2",children:L.company}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"h-3 w-3 mr-1"}),a.jsx("span",{children:L.location})]}),a.jsxs("span",{children:[C(L.postedDate),"d ago"]})]}),L.salary&&a.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:L.salary})]},L.id))}),a.jsx("button",{onClick:()=>yL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),h&&a.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:a.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),a.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:a.jsx("p",{className:"font-medium",children:x.contactEmail})}),a.jsxs("div",{className:"flex space-x-3",children:[a.jsx("button",{onClick:()=>u(!1),className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:"Close"}),a.jsx("button",{onClick:()=>{window.location.href=`mailto:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,u(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},vE=()=>a.jsx("div",{children:a.jsx("h2",{children:"Welcome to the Header!"})}),wE=({article:t,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:o,layout:i="card",userAccess:c,positionInList:l})=>{const[d,h]=S.useState(!1),u=m=>{const x=new Date(m),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=m=>m>=1e3?`${(m/1e3).toFixed(1)}k`:m.toString(),y=m=>m.length>1?m[1]:m[0],f=(m,x)=>m.length<=x?m:m.substring(0,x).trim()+"...",k=i==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return a.jsxs("article",{className:`
|
|
7800
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return g.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},UF="DialogDescriptionWarning",$F=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${EA(UF).contentName}}.`;return g.useEffect(()=>{var i;const o=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&o&&(document.getElementById(e)||console.warn(n))},[n,t,e]),null},OA=jA,GF=LA,HA=NA,Xj=AA,Jj=PA,Yj=RA,Kj=qA,Qj=zA;function H9(t,e){if(t==null)return{};var r={},n=Object.keys(t),o,i;for(i=0;i<n.length;i++)o=n[i],!(e.indexOf(o)>=0)&&(r[o]=t[o]);return r}var WF=["color"],ZF=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,WF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),XF=["color"],VA=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,XF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),JF=["color"],YF=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,JF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))}),KF=["color"],QF=S.forwardRef(function(t,e){var r=t.color,n=r===void 0?"currentColor":r,o=H9(t,KF);return S.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o,{ref:e}),S.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:n,fillRule:"evenodd",clipRule:"evenodd"}))});const os=OA,eE=HA,BA=g.forwardRef(({className:t,...e},r)=>a.jsx(Xj,{ref:r,className:ie("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e}));BA.displayName=Xj.displayName;const nr=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(eE,{children:[a.jsx(BA,{}),a.jsxs(Jj,{ref:n,className:ie("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...r,children:[e,a.jsxs(Qj,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[a.jsx(QF,{className:"h-4 w-4"}),a.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));nr.displayName=Jj.displayName;const is=({className:t,...e})=>a.jsx("div",{className:ie("flex flex-col space-y-1.5 text-center sm:text-left",t),...e});is.displayName="DialogHeader";const or=({className:t,...e})=>a.jsx("div",{className:ie("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});or.displayName="DialogFooter";const ir=g.forwardRef(({className:t,...e},r)=>a.jsx(Yj,{ref:r,className:ie("text-lg font-semibold leading-none tracking-tight",t),...e}));ir.displayName=Yj.displayName;const eS=g.forwardRef(({className:t,...e},r)=>a.jsx(Kj,{ref:r,className:ie("text-sm text-muted-foreground",t),...e}));eS.displayName=Kj.displayName;var tE="Label",UA=g.forwardRef((t,e)=>a.jsx(as.label,{...t,ref:e,onMouseDown:r=>{var o;r.target.closest("button, input, select, textarea")||((o=t.onMouseDown)==null||o.call(t,r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));UA.displayName=tE;var $A=UA;const aE=S9("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ye=g.forwardRef(({className:t,...e},r)=>a.jsx($A,{ref:r,className:ie(aE(),t),...e}));ye.displayName=$A.displayName;const rE=1,nE=1e6;let MC=0;function oE(){return MC=(MC+1)%Number.MAX_SAFE_INTEGER,MC.toString()}const bC=new Map,hL=t=>{if(bC.has(t))return;const e=setTimeout(()=>{bC.delete(t),i9({type:"REMOVE_TOAST",toastId:t})},nE);bC.set(t,e)},iE=(t,e)=>{switch(e.type){case"ADD_TOAST":return{...t,toasts:[e.toast,...t.toasts].slice(0,rE)};case"UPDATE_TOAST":return{...t,toasts:t.toasts.map(r=>r.id===e.toast.id?{...r,...e.toast}:r)};case"DISMISS_TOAST":{const{toastId:r}=e;return r?hL(r):t.toasts.forEach(n=>{hL(n.id)}),{...t,toasts:t.toasts.map(n=>n.id===r||r===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(r=>r.id!==e.toastId)}}},sE=[];let CC={toasts:[]};function i9(t){CC=iE(CC,t),sE.forEach(e=>{e(CC)})}function uL({...t}){const e=oE(),r=o=>i9({type:"UPDATE_TOAST",toast:{...o,id:e}}),n=()=>i9({type:"DISMISS_TOAST",toastId:e});return i9({type:"ADD_TOAST",toast:{...t,id:e,open:!0,onOpenChange:o=>{o||n()}}}),{id:e,dismiss:n,update:r}}const cE=new Set([200,201,202,204]);function lE(t){return t===400?"BAD_REQUEST":t===401?"UNAUTHORIZED":t===403?"FORBIDDEN":t===404?"NOT_FOUND":t===409?"CONFLICT":t===429?"RATE_LIMITED":t>=500?"SERVER":"UNKNOWN"}function dE(t){if(t.friendly)return t.friendly;switch(t.code){case"TIMEOUT":return"The request took too long. Please try again.";case"NETWORK":return"You appear to be offline or the server can’t be reached.";case"RATE_LIMITED":return"Too many requests. Please wait a moment and try again.";case"SERVER":return"The server had an issue. Please try again shortly.";case"CONFLICT":return"This email may already be subscribed.";case"BAD_REQUEST":return"Please check your input and try again.";case"UNAUTHORIZED":return"Please sign in to continue.";default:return"Something went wrong. Please try again."}}async function hE(t,e){const{timeoutMs:r=12e3,...n}=e??{},o=new AbortController,i=setTimeout(()=>o.abort(),r);try{const c=await fetch(t,{...n,signal:o.signal});if(cE.has(c.status)){if(c.status===204)return{ok:!0,data:void 0};const u=await c.text();return{ok:!0,data:u?JSON.parse(u):void 0}}let l=null;try{l=await c.json()}catch{}return{ok:!1,error:{code:lE(c.status),status:c.status,message:(l==null?void 0:l.message)||`${c.status} ${c.statusText}`,details:l}}}catch(c){const l=(c==null?void 0:c.name)==="AbortError";return{ok:!1,error:{code:l?"TIMEOUT":"NETWORK",message:l?"Request aborted by timeout":(c==null?void 0:c.message)||"Network error"}}}finally{clearTimeout(i)}}function uE({open:t,onOpenChange:e,onSubscriptionSuccess:r,searchQuery:n,filters:o,apiUrl:i="http://localhost:5147"}){const[c,l]=S.useState(""),[d,h]=S.useState(!1),[u,p]=S.useState(null),y=async f=>{if(f.preventDefault(),p(null),!c||!c.includes("@")){p("Please enter a valid email address.");return}h(!0);try{const k=await hE(`${i}/api/leads`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:"filters_modal",utmCampaign:"jobs_filters",utmMedium:"ui",utmSource:"subscription_modal"}),timeoutMs:1e4});if(!k.ok){p(dE(k.error)),uL({title:"Subscription failed",description:k.error.message});return}localStorage.setItem("leadId",k.data.id),localStorage.setItem("email",c),uL({title:"You're subscribed",description:`We'll notify you at ${c} when new jobs match your criteria.`}),r==null||r(),l("")}finally{h(!1)}};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{className:"sm:max-w-md",children:[a.jsxs(is,{children:[a.jsxs(ir,{className:"flex items-center gap-2",children:[a.jsx(ks,{className:"h-5 w-5 text-orange-500"}),"Create Job Alert"]}),a.jsx(eS,{children:"Subscribe to get notified when new jobs matching your search criteria are posted."})]}),a.jsxs("form",{onSubmit:y,className:"space-y-4",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ca,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"email",type:"email",placeholder:"Enter your email address",value:c,onChange:f=>l(f.target.value),className:"pl-10",required:!0,"aria-invalid":!!u,"aria-describedby":u?"email-error":void 0})]}),u&&a.jsx("p",{id:"email-error",role:"alert",className:"text-sm text-red-600",children:u})]}),n&&a.jsxs("div",{className:"rounded-lg bg-muted p-3 text-sm",children:[a.jsx("p",{className:"font-medium",children:"Alert criteria:"}),a.jsxs("p",{className:"text-muted-foreground",children:['"',n,'"']})]}),a.jsxs(or,{className:"gap-2 sm:gap-0",children:[a.jsx(U,{type:"button",variant:"outline",onClick:()=>e(!1),disabled:d,children:"Cancel"}),a.jsx(U,{type:"submit",disabled:d,children:d?"Creating Alert...":"Create Alert"})]})]})]})})}function GA(){const t="savedJobs",[e,r]=S.useState([]);return S.useEffect(()=>{try{const i=localStorage.getItem(t);i&&r(JSON.parse(i))}catch(i){console.error("Failed to load saved jobs:",i)}},[]),{savedJobs:e,toggleJob:i=>{r(c=>{const d=c.includes(i)?c.filter(h=>h!==i):[...c,i];try{localStorage.setItem(t,JSON.stringify(d))}catch(h){console.error("Failed to persist saved jobs:",h)}return d})},isSaved:i=>i?e.includes(i):!1}}const pE=({value:t,options:e,onChange:r})=>a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("span",{className:"text-sm font-medium text-gray-700",children:"Order by"}),a.jsxs("div",{className:"relative",children:[a.jsx("select",{"aria-label":"Order results",value:t,onChange:n=>r(n.target.value),className:"block w-full rounded-lg border border-gray-300 bg-white px-3 py-2 pr-9 text-sm text-gray-700 shadow-sm focus:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-100",children:e.map(n=>a.jsx("option",{value:n.value,children:n.label},n.value))}),a.jsx("span",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400",children:"▼"})]})]}),yE=6,jC={jobTypes:[],experienceLevels:[],country:"",city:"",location:"",minSalary:"",maxSalary:"",industry:""},mE=({apiUrl:t,itemsPerPage:e=12,filterKeys:r,banner:n,enableMobileFilter:o=!0,cardType:i,dateField:c="created_at",dateFieldLabel:l="Published",searchableFilters:d=["companies"],notification_url:h="http://localhost:5147",userAccess:u,onEmitEvent:p,eventContext:y})=>{var Qc;const[f,k]=S.useState([]),[m,x]=S.useState([]),[v,w]=S.useState([]),[M,b]=S.useState(1),[C,I]=S.useState({}),[L,A]=S.useState([]),[N,q]=S.useState({}),[P,_]=S.useState(""),[T,$]=S.useState([]),[G,B]=S.useState(!1),[V,O]=S.useState(e),[K,se]=S.useState("grid"),[Q,Y]=S.useState(!1),[te,ae]=S.useState([]),[he,ke]=S.useState(!0),[W,J]=S.useState(null),[ne,ce]=S.useState("all"),[me,le]=S.useState(!1),[ze,Se]=S.useState(!1),[We,rt]=S.useState({...jC}),[it,Pt]=S.useState({open:!1,type:"info",message:""}),[Fe,Ze]=S.useState("date_desc"),{savedJobs:Ke,toggleJob:Bt}=GA(),Ra=_9(u),ma=S.useMemo(()=>({component:"Listing",...y??{}}),[y]),pt=S.useMemo(()=>[{value:"relevance",label:"Best match (relevance)"},{value:"date_desc",label:`${l} (newest)`},{value:"date_asc",label:`${l} (oldest)`},{value:"views_desc",label:"Most viewed"},{value:"views_asc",label:"Least viewed"},{value:"title_asc",label:"Title A → Z"}],[l]),Ae=S.useCallback((D,j)=>{p&&p({domain:"jobs",name:D,payload:j,timestamp:new Date().toISOString(),context:ma})},[ma,p]),z=S.useCallback(()=>({filters:{...C},advancedFilters:We,dateFilter:ne}),[C,ne,We]),E=S.useCallback(()=>({page:M,pageSize:V,totalResults:m.length,viewMode:K,showOnlySaved:Q}),[M,m.length,V,Q,K]),ee=S.useRef(!1),ve=(D,j)=>{Pt({open:!0,type:D,message:j})};S.useEffect(()=>{try{const D=localStorage.getItem("lastVisitedJobs");D&&ae(JSON.parse(D));try{localStorage.getItem("email")&&Se(!0)}catch(j){console.error("Error checking subscription state:",j)}}catch(D){console.error("Error loading data from localStorage:",D)}},[]),S.useEffect(()=>{const j=new URLSearchParams(window.location.search).get("date_filter");j&&j!=="all"&&ce(j)},[]),S.useEffect(()=>{if(!t){J("❌ Missing API URL for Listing component!"),ke(!1);return}ke(!0),J(null),(async()=>{try{const j=await fetch(t);if(!j.ok)throw new Error(`API responded with status: ${j.status}`);const R=await j.json();if(!Array.isArray(R))throw new Error("Expected an array but received: "+typeof R);const F=R.map((re,oe)=>({...re,sponsored:oe%7===0,topTag:Oj(re.title||"")})),Z=Array.from(new Set(F.map(re=>re.topTag).filter(re=>typeof re=="string"))).slice(0,10);w(Z);const de=a1(F,Fe,L,c);k(F),x(de);const pe=Tc(F,r);q(pe)}catch(j){console.error("Error fetching data:",j),J(`Failed to load data: ${j instanceof Error?j.message:String(j)}`);const R=QD(20),F=a1(R,Fe,L,c);k(R),x(F);const Z=Tc(R,r);q(Z)}finally{ke(!1)}})()},[t,c,L,Fe]),S.useEffect(()=>{const D=new URLSearchParams(window.location.search),j={};r.forEach(Z=>{const de=D.get(Z);de&&(j[Z]=de)}),I(j);const R=D.get("q")||D.get("searchTerm")||"";R&&_(R);const F={};r.forEach(Z=>{const de=D.get(Z);de&&(F[Z]=de)}),I(F)},[]),S.useEffect(()=>{if(Q){const D=f.filter(R=>Ke.includes(R.id||R.slug||R.link)),j=a1(D,Fe,L,c);x(j),b(1)}else _e()},[]),S.useEffect(()=>{ee.current||he||!m.length&&!f.length||(Ae("jobs_listing_viewed",{...z(),...E()}),ee.current=!0)},[f.length,Ae,m.length,z,E,he]);const Pe=S.useCallback(D=>{const j=Tc(D,r);q(j)},[r]),_e=S.useCallback(D=>{const j=(D==null?void 0:D.baseItems)??f,R=(D==null?void 0:D.filters)??C,F=(D==null?void 0:D.search)??L,Z=(D==null?void 0:D.dateFilter)??ne,de=(D==null?void 0:D.advanced)??We;let pe=Fi(j,R,F,Z,c);pe=lz(pe,de);const re=a1(pe,Fe,F,c);return x(re),((D==null?void 0:D.resetPage)??!0)&&b(1),((D==null?void 0:D.refreshFiltersData)??!0)&&Pe(re),re},[ne,C,We,f,c,L,Fe,Pe]);S.useEffect(()=>{_e({resetPage:!1,refreshFiltersData:!1})},[Fe,_e]);const Ve=(D,j)=>{const R={...C};j?R[D]=j:delete R[D],Q&&Y(!1),I(R),_e({filters:R});const F={...z(),filters:R};j?Ae("jobs_filter_selected",{key:D,value:j,...F}):Ae("jobs_filter_cleared",{key:D,...F})},Ut=()=>{Se(!0),H().then(()=>le(!1))},ss=S.useRef(null),Qs=D=>{b(D),Ae("jobs_listing_page_changed",{page:D,pageSize:V,totalResults:m.length}),setTimeout(()=>{var j;(j=ss.current)==null||j.scrollIntoView({behavior:"smooth",block:"start"})},100)},dr=D=>{Q&&Y(!1),ce(D),_e({dateFilter:D}),sA(D),Ae("jobs_date_filter_changed",{dateFilter:D})},hr=D=>{if(_(D),D){const j=f.map(R=>R.title).filter((R,F,Z)=>R&&R.toLowerCase().includes(D.toLowerCase())&&Z.indexOf(R)===F).slice(0,5);$(j)}else $([])},Ta=D=>{if(!D.trim())return;Q&&Y(!1);const j=[...L,D.trim()];A(j),_e({search:j}),_(""),Ae("jobs_search_submitted",{searchKeywords:j,query:D.trim(),...z()})},cs=D=>{const j=L.filter(R=>R!==D);A(j),_e({search:j}),Ae("jobs_search_filter_removed",{removedKeyword:D,remainingKeywords:j})},Qt=()=>{I({}),A([]),Y(!1),ce("all"),rt({...jC}),_e({filters:{},search:[],dateFilter:"all",advanced:jC}),Ae("jobs_filters_cleared_all",{})},fa=D=>{const j=new Set,R=[];for(const F of D){const Z=`${F.key??""}|${F.value.toLowerCase()}`;j.has(Z)||(j.add(Z),R.push(F))}return R},ur=D=>D.replace(/\/+$/,""),H=async()=>{if(Ae("jobs_alert_cta_clicked",{searchKeywords:L,query:P.trim()||void 0,...z()}),!ze)le(!0),Ae("jobs_subscription_modal_opened",{});else{const D=localStorage.getItem("email"),j=localStorage.getItem("leadId");if(!D||!j){ve("info","Please subscribe first to create alerts.");return}const R="keyword",F=(be,ge)=>ge&&ge.trim()?{key:be.toLowerCase(),value:ge.trim()}:null,Z=Object.entries(C).map(([be,ge])=>F(be,ge)).filter(be=>be!==null),de=L.map(be=>F(R,be)).filter(be=>be!==null),pe=F(R,P),re=pe?[pe]:[],oe=fa([...Z,...de,...re]);if(oe.length===0){ve("info","No filters/keywords to save.");return}try{const be=ur(h??"http://localhost:5147"),ge=await fetch(`${be}/api/leads/${j}/preferences/bulk`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(oe)});if(!ge.ok){let Re="";try{Re=await ge.text()}catch{}throw new Error(`${ge.status} ${ge.statusText} ${Re}`.trim())}ve("success","Alert saved. We’ll notify you about new matching jobs."),_(""),Ae("jobs_alert_created",{preferences:oe.filter(Re=>Re!==null)})}catch(be){console.error("Create alert failed:",be),ve("error","Failed to save alert.")}}},X=()=>{B(!G)},fe=m.length===0?0:(M-1)*V+1,Ie=Math.min(M*V,m.length),Xe=D=>{O(D),b(1),Ae("jobs_listing_items_per_page_changed",{pageSize:D})},xa=()=>{se(D=>{const j=D==="grid"?"list":"grid";return Ae("jobs_listing_viewmode_changed",{viewMode:j}),j})},Qe=(D,j,R="same_tab",F="listing")=>{const Z=D.id||D.slug||D.link;Z&&(ae(de=>{const pe=de.filter(oe=>(oe.id||oe.slug||oe.link)!==Z),re=[D,...pe].slice(0,yE);try{localStorage.setItem("lastVisitedJobs",JSON.stringify(re))}catch(oe){console.error("Error saving to localStorage:",oe)}return re}),Ae("job_opened",{jobId:Z,slug:D.slug,positionInList:j,openedFrom:F,openedIn:R}))},dt=(D,j)=>{const R=D.id||D.slug||D.link;if(!R)return;const F=Ke.includes(R);Bt(R),Ae(F?"job_unsaved":"job_saved",{jobId:R,slug:D.slug,positionInList:j})},qa=(D,j,R="external")=>{const F=D.id||D.slug||D.link;F&&Ae("job_apply_clicked",{jobId:F,slug:D.slug,positionInList:j,applyType:R})},Be=()=>{Y(!Q)},ht=Math.ceil(m.length/V),ec=m.slice((M-1)*V,M*V);return W&&!f.length?a.jsx("div",{className:"flex-grow p-8",children:a.jsx("div",{className:"max-w-7xl mx-auto",children:a.jsxs("div",{className:"bg-red-50 border border-red-200 text-red-800 rounded-lg p-6",children:[a.jsx("h2",{className:"text-lg font-semibold mb-2",children:"Error Loading Jobs"}),a.jsx("p",{className:"mb-4",children:W}),a.jsx("button",{onClick:()=>window.location.reload(),className:"bg-red-100 hover:bg-red-200 text-red-800 font-medium py-2 px-4 rounded",children:"Retry"})]})})}):a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(Ej,{onSearchChange:hr,searchPlaceholder:"Search jobs, companies, or keywords...",title:"Job Listings",description:"",popularTags:v,generateHref:D=>`/jobs?q=${D.toLowerCase().replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Fj,{data:f.map(D=>D.title).filter(Boolean),onSelect:D=>{Ta(D)},onTyping:D=>{_(D),hr(D)},placeholder:"Search for jobs, companies, or keywords...",className:"w-full",showSubmitButton:!0}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:X,children:a.jsx(Za,{size:16,className:"mr-1.5"})})]}),a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Hj,{filters:[...ne!=="all"?[{key:"date",label:l,value:ne.replace(/_/g," "),onRemove:()=>dr("all")}]:[],...L.map(D=>({key:"search",label:"",value:D,onRemove:()=>cs(D)})),...Object.entries(C).map(([D,j])=>({key:D,label:D.replace(/_/g," "),value:j,onRemove:()=>Ve(D,"")}))],onClearAll:Qt,handleCreateAlert:H})})]}),o&&a.jsxs("button",{className:"md:hidden w-full mb-6 px-4 py-3 bg-yellow-600 text-white rounded-lg flex items-center justify-center",onClick:X,"aria-expanded":G,children:[a.jsx(Za,{className:"w-4 h-4 mr-2"}),G?"Close Filters":"Filters"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(cA,{dateFieldLabel:"Date",activeDateFilter:ne,onDateFilterChange:dr,filterKeys:r,searchableFilters:d,filtersData:N,activeFilters:C,handleFilterChange:Ve,toggleSavedJobsFilter:Be,showOnlySaved:Q,savedJobs:Ke}),he?a.jsx(zj,{}):a.jsxs("div",{className:"lg:gap-6 w-fit",children:[a.jsx(Vj,{viewMode:K,onToggleViewMode:xa,selectedItemsPerPage:V,onItemsPerPageChange:Xe,totalCount:m.length,startIndex:fe,endIndex:Ie,title:"Latest Jobs"}),a.jsxs("div",{className:"",children:[a.jsx("div",{className:"mb-6",children:a.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsxs("h3",{className:"text-xl font-semibold text-gray-900 flex items-center",children:[Q?"Saved Jobs":"Open Positions",ne!=="all"&&!Q&&a.jsxs("span",{className:"text-sm font-normal text-gray-500 ml-2",children:["(",ne.replace(/_/g," "),")"]})]}),a.jsxs("p",{className:"text-sm text-gray-600",children:[a.jsx("span",{className:"font-semibold text-gray-900",children:m.length})," found"]})]}),a.jsx(pE,{value:Fe,options:pt,onChange:Ze})]})}),a.jsx(iz,{items:ec,cardType:i,viewMode:K,savedJobs:Ke,onSaveJob:dt,onViewJob:Qe,onApplyJob:qa,firstItemRef:ss,userAccess:Ra}),m.length>0&&a.jsx("div",{className:"mt-6",children:a.jsx(Bj,{currentPage:M,totalPages:ht,onPageChange:Qs})})]}),te.length>0&&a.jsx("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:a.jsx(sz,{jobs:te,onViewJob:Qe})})]}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:((Qc=n==null?void 0:n.sidebar)==null?void 0:Qc.enabled)&&a.jsxs("div",{className:"sticky top-4",children:[a.jsx(Uc,{position:"sidebar",url:n.sidebar.url,link:n.sidebar.link,alt:n.sidebar.alt}),a.jsx(qj,{api_url:h}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((D,j)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+j)}`,alt:`Featured employer ${j+1}`,className:"w-10 h-10 object-contain"})},j))})]})]})})]})]})]}),a.jsx(iA,{activeDateFilter:ne,handleDateFilterChange:dr,filterKeys:r,searchableFilters:d,dateFieldLabel:l,activeFilters:C,handleFilterChange:Ve,toggleSavedJobsFilter:Be,filtersData:N,savedJobs:Ke,showOnlySaved:Q,isMobileFilterOpen:G,toggleMobileFilter:X}),a.jsx(nA,{savedJobsCount:Ke.length}),a.jsx(aA,{open:it.open,type:it.type,message:it.message,onClose:()=>Pt(D=>({...D,open:!1}))}),a.jsx(uE,{open:me,onOpenChange:le,onSubscriptionSuccess:Ut,apiUrl:h})]})};function pL(t=window.location.pathname){const e=t.replace(/^\/+|\/+$/g,"").split("/"),r=e.findIndex(o=>o.toLowerCase()==="jobs");if(r===-1)return null;const n=e[r+1];return n?decodeURIComponent(n):null}function fE(){const[t,e]=S.useState(()=>pL());return S.useEffect(()=>{const r=()=>e(pL());return window.addEventListener("popstate",r),()=>window.removeEventListener("popstate",r)},[]),t}function yL(t){window.location.assign(t)}function mL(t){window.history.length>1?window.history.back():window.location.assign(t)}function xE(t){const e=WA,r=t??{};return{id:r.id??e.id,title:r.title??e.title,company:r.company??e.company,companyLogo:r.companyLogo??e.companyLogo,location:r.location??e.location,salary:r.salary??void 0,jobType:r.jobType??e.jobType,experienceLevel:r.experienceLevel??e.experienceLevel,department:r.department??e.department,postedDate:r.postedDate??e.postedDate,applicationDeadline:r.applicationDeadline??void 0,description:r.description??e.description,requirements:Array.isArray(r.requirements)?r.requirements:[],responsibilities:Array.isArray(r.responsibilities)?r.responsibilities:[],benefits:Array.isArray(r.benefits)?r.benefits:[],skills:Array.isArray(r.skills)?r.skills:[],companyDescription:r.companyDescription??"",companySize:r.companySize??void 0,companyWebsite:r.companyWebsite??void 0,contactEmail:r.contactEmail??void 0,contactPhone:r.contactPhone??void 0,isRemote:r.isRemote??!1,isUrgent:r.isUrgent??!1,isFeatured:r.isFeatured??!1,applicationUrl:r.applicationUrl??void 0,viewCount:r.viewCount??void 0,applicantCount:r.applicantCount??void 0}}function kE(t){return!Array.isArray(t)||t.length===0?ZA:t.map(e=>({id:e.id??"unknown",title:e.title??"Untitled",company:e.company??"",location:e.location??"",salary:e.salary??void 0,postedDate:e.postedDate??new Date().toISOString().slice(0,10)}))}const WA={id:"1",title:"Senior Game Developer",company:"Wazdan",companyLogo:"https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=100",location:"Malta",salary:"€80,000 - €120,000",jobType:"Full-time",experienceLevel:"Senior Level",department:"Engineering",postedDate:"2025-01-15",applicationDeadline:"2025-02-15",description:"We are seeking a talented Senior Game Developer to join our innovative team at Wazdan...",requirements:["5+ years of experience in game development","Strong proficiency in C# and Unity","Experience with HTML5 and JavaScript","Knowledge of casino game mechanics","Understanding of RNG and game mathematics","Experience with version control systems (Git)","Strong problem-solving skills","Excellent communication skills in English"],responsibilities:["Design and develop high-quality casino games","Implement game features and mechanics","Optimize game performance across multiple platforms","Collaborate with artists and designers on game assets","Write clean, maintainable, and well-documented code","Participate in code reviews and technical discussions","Debug and resolve technical issues","Stay updated with industry trends and technologies"],benefits:["Competitive salary and performance bonuses","Health insurance coverage","Flexible working hours","Remote work options","Professional development opportunities","25 days paid vacation","Modern office in Malta","Team building events and activities"],skills:["Unity","C#","JavaScript","HTML5","CSS3","Git","Agile","Game Design"],companyDescription:"Wazdan is a leading provider of innovative casino games...",companySize:"100-200 employees",companyWebsite:"https://wazdan.com",contactEmail:"careers@wazdan.com",contactPhone:"+356 2123 4567",isRemote:!1,isUrgent:!0,isFeatured:!0,applicationUrl:"https://wazdan.com/careers/apply",viewCount:1247,applicantCount:23},ZA=[{id:"2",title:"Frontend Game Developer",company:"Pragmatic Play",location:"Malta",salary:"€60,000 - €80,000",postedDate:"2025-01-10"},{id:"3",title:"Unity Developer",company:"Evolution Gaming",location:"Remote",salary:"€70,000 - €90,000",postedDate:"2025-01-12"},{id:"4",title:"Game Developer",company:"NetEnt",location:"Stockholm",salary:"€65,000 - €85,000",postedDate:"2025-01-08"}],gE=({job:t=WA,similarJobs:e=ZA})=>{var I;const r=fE(),[n,o]=S.useState(()=>kE(e)),[i,c]=S.useState(!1),[l,d]=S.useState(null),[h,u]=S.useState(!1),[p,y]=S.useState(!1),{savedJobs:f,toggleJob:k,isSaved:m}=GA(),x=xE(t);S.useEffect(()=>{(async()=>{c(!0);try{if(await new Promise(N=>setTimeout(N,300)),!r)throw new Error("Missing slug in URL.");o(n);const A=JSON.parse(localStorage.getItem("appliedJobs")||"[]");y(A.includes(r))}catch(A){d((A==null?void 0:A.message)||"Failed to load job details")}finally{c(!1)}})()},[r]);const v=()=>{r&&k(r)},w=()=>{if(!r)return;x!=null&&x.applicationUrl?window.open(x.applicationUrl,"_blank","noopener,noreferrer"):u(!0);const L=JSON.parse(localStorage.getItem("appliedJobs")||"[]");L.includes(r)||(L.push(r),localStorage.setItem("appliedJobs",JSON.stringify(L)),y(!0))},M=async()=>{if(navigator.share)try{await navigator.share({title:x==null?void 0:x.title,text:`Check out this job opportunity: ${x==null?void 0:x.title} at ${x==null?void 0:x.company}`,url:window.location.href})}catch(L){console.log("Error sharing:",L)}else navigator.clipboard.writeText(window.location.href),alert("Job URL copied to clipboard!")},b=L=>new Date(L).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),C=L=>{const A=new Date(L),q=Math.abs(new Date().getTime()-A.getTime());return Math.ceil(q/(1e3*60*60*24))};return i?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"animate-spin rounded-full h-12 w-12 border-b-2 border-blue-600 mx-auto"}),a.jsx("p",{className:"mt-4 text-gray-600",children:"Loading job details..."})]})}):l||!x?a.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx(Tt,{className:"h-12 w-12 text-red-500 mx-auto mb-4"}),a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Job Not Found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:l||"The job you are looking for does not exist."}),a.jsx("button",{onClick:()=>mL("/jobs"),className:"bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 transition-colors",children:"Back to Jobs"})]})}):a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx("div",{className:"bg-white border-b border-gray-200",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:[a.jsxs("button",{onClick:()=>mL("/jobs"),className:"flex items-center text-gray-600 hover:text-gray-900 mb-4",children:[a.jsx(Oi,{className:"h-4 w-4 mr-2"}),"Back to Jobs"]}),a.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-start lg:justify-between",children:[a.jsx("div",{className:"flex-1",children:a.jsxs("div",{className:"flex items-start space-x-4",children:[x.companyLogo&&a.jsx("img",{src:x.companyLogo,alt:`${x.company} logo`,className:"w-16 h-16 rounded-lg object-cover border border-gray-200"}),a.jsxs("div",{className:"flex-1",children:[a.jsxs("div",{className:"flex items-center space-x-2 mb-2",children:[x.isUrgent&&a.jsx("span",{className:"bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full",children:"Urgent"}),x.isFeatured&&a.jsx("span",{className:"bg-yellow-100 text-yellow-800 text-xs font-medium px-2 py-1 rounded-full",children:"Featured"})]}),a.jsx("h1",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:x.title}),a.jsxs("div",{className:"flex flex-wrap items-center gap-4 text-gray-600",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(hc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{className:"font-medium",children:x.company})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.location}),x.isRemote&&a.jsx("span",{className:"ml-1",children:"(Remote)"})]}),x.salary&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(mc,{className:"h-4 w-4 mr-1"}),a.jsx("span",{children:x.salary})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"h-4 w-4 mr-1"}),a.jsxs("span",{children:[C(x.postedDate)," days ago"]})]})]})]})]})}),a.jsxs("div",{className:"flex items-center space-x-3 mt-4 lg:mt-0",children:[a.jsxs("button",{onClick:v,className:`flex items-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Cs,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save Job"]}),a.jsxs("button",{onClick:M,className:"flex items-center px-4 py-2 bg-white border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:[a.jsx(Ns,{className:"h-4 w-4 mr-2"}),"Share"]}),a.jsx("button",{onClick:w,disabled:p,className:`flex items-center px-6 py-2 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(bt,{className:"h-4 w-4 mr-2"}),"Applied"]}):a.jsxs(a.Fragment,{children:[a.jsx(Bi,{className:"h-4 w-4 mr-2"}),"Apply Now"]})})]})]})]})}),a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-8",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mb-6",children:[a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(mt,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Job Type"}),a.jsx("p",{className:"font-medium",children:x.jobType})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(bs,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Experience"}),a.jsx("p",{className:"font-medium",children:x.experienceLevel})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(La,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Department"}),a.jsx("p",{className:"font-medium",children:x.department})]}),a.jsxs("div",{className:"text-center p-4 bg-gray-50 rounded-lg",children:[a.jsx(uc,{className:"h-6 w-6 text-blue-600 mx-auto mb-2"}),a.jsx("p",{className:"text-sm text-gray-600",children:"Deadline"}),a.jsx("p",{className:"font-medium text-sm",children:x.applicationDeadline?b(x.applicationDeadline):"Open"})]})]}),a.jsxs("div",{className:"flex items-center justify-between pt-4 border-t border-gray-200",children:[a.jsxs("div",{className:"flex items-center space-x-4 text-sm text-gray-600",children:[a.jsxs("span",{children:[x.viewCount," views"]}),a.jsxs("span",{children:[x.applicantCount," applicants"]})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(qt,{className:"h-4 w-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"text-sm text-gray-600",children:"4.8 company rating"})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Job Description"}),a.jsx("div",{className:"prose prose-gray max-w-none",children:a.jsx("p",{className:"text-gray-700 leading-relaxed whitespace-pre-line",children:x.description})})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Key Responsibilities"}),a.jsx("ul",{className:"space-y-3",children:(I=x.responsibilities)==null?void 0:I.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Requirements"}),Array.isArray(x.requirements)?a.jsx("ul",{className:"space-y-3",children:x.requirements.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-blue-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.requirements})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Required Skills"}),Array.isArray(x.skills)?a.jsx("div",{className:"flex flex-wrap gap-2",children:x.skills.map((L,A)=>a.jsx("span",{className:"bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full",children:L},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.skills})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h2",{className:"text-xl font-semibold text-gray-900 mb-4",children:"Benefits & Perks"}),Array.isArray(x.benefits)?a.jsx("ul",{className:"space-y-3",children:x.benefits.map((L,A)=>a.jsxs("li",{className:"flex items-start",children:[a.jsx(bt,{className:"h-5 w-5 text-green-500 mr-3 mt-0.5 flex-shrink-0"}),a.jsx("span",{className:"text-gray-700",children:L})]},A))}):a.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:x.benefits})]})]}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsxs("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:["About ",x.company]}),a.jsxs("div",{className:"space-y-4",children:[a.jsx("p",{className:"text-gray-700 text-sm leading-relaxed",children:x.companyDescription}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.companySize&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(La,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("span",{className:"text-gray-600",children:x.companySize})]}),x.companyWebsite&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ms,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:x.companyWebsite,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800",children:"Visit Website"})]})]}),a.jsxs("div",{className:"pt-4 border-t border-gray-200",children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-2",children:"Contact Information"}),a.jsxs("div",{className:"space-y-2 text-sm",children:[x.contactEmail&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(ca,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`mailto:${x.contactEmail}`,className:"text-blue-600 hover:text-blue-800",children:x.contactEmail})]}),x.contactPhone&&a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ui,{className:"h-4 w-4 text-gray-400 mr-2"}),a.jsx("a",{href:`tel:${x.contactPhone}`,className:"text-blue-600 hover:text-blue-800",children:x.contactPhone})]})]})]})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Ready to Apply?"}),a.jsxs("p",{className:"text-gray-600 text-sm mb-4",children:["Join ",x.company," and take your career to the next level in the exciting world of iGaming."]}),a.jsx("button",{onClick:w,disabled:p,className:`w-full flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-colors ${p?"bg-green-100 text-green-800 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700"}`,children:p?a.jsxs(a.Fragment,{children:[a.jsx(bt,{className:"h-5 w-5 mr-2"}),"Application Submitted"]}):a.jsxs(a.Fragment,{children:[a.jsx(Bi,{className:"h-5 w-5 mr-2"}),"Apply for this Position"]})}),!p&&a.jsxs("div",{className:"mt-4 flex items-center space-x-2",children:[a.jsxs("button",{onClick:v,className:`flex-1 flex items-center justify-center px-4 py-2 rounded-lg border transition-colors ${m(x.id)?"bg-blue-50 border-blue-200 text-blue-700":"bg-white border-gray-300 text-gray-700 hover:bg-gray-50"}`,children:[a.jsx(Ga,{className:`h-4 w-4 mr-2 ${m(x.id)?"fill-current":""}`}),m(x.id)?"Saved":"Save"]}),a.jsx("button",{className:"flex items-center justify-center p-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:a.jsx(xc,{className:"h-4 w-4"})})]})]}),a.jsxs("div",{className:"bg-white rounded-lg shadow-sm border border-gray-200 p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Similar Jobs"}),a.jsx("div",{className:"space-y-4",children:n.map(L=>a.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:bg-gray-50 cursor-pointer transition-colors",onClick:()=>yL(`/jobs/${L.id}`),children:[a.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:L.title}),a.jsx("p",{className:"text-sm text-gray-600 mb-2",children:L.company}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Et,{className:"h-3 w-3 mr-1"}),a.jsx("span",{children:L.location})]}),a.jsxs("span",{children:[C(L.postedDate),"d ago"]})]}),L.salary&&a.jsx("p",{className:"text-sm font-medium text-blue-600 mt-2",children:L.salary})]},L.id))}),a.jsx("button",{onClick:()=>yL("/jobs"),className:"w-full mt-4 text-center text-blue-600 hover:text-blue-800 text-sm font-medium",children:"View All Jobs"})]})]})]})}),h&&a.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:a.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Apply for this Position"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"To apply for this position, please send your CV and cover letter to:"}),a.jsx("div",{className:"bg-gray-50 p-4 rounded-lg mb-4",children:a.jsx("p",{className:"font-medium",children:x.contactEmail})}),a.jsxs("div",{className:"flex space-x-3",children:[a.jsx("button",{onClick:()=>u(!1),className:"flex-1 px-4 py-2 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition-colors",children:"Close"}),a.jsx("button",{onClick:()=>{window.location.href=`mailto:${x.contactEmail}?subject=Application for ${x.title}&body=Dear Hiring Manager,%0D%0A%0D%0AI am interested in applying for the ${x.title} position at ${x.company}.%0D%0A%0D%0APlease find my CV attached.%0D%0A%0D%0ABest regards`,u(!1)},className:"flex-1 px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors",children:"Send Email"})]})]})})]})},vE=()=>a.jsx("div",{children:a.jsx("h2",{children:"Welcome to the Header!"})}),wE=({article:t,isBookmarked:e,onToggleBookmark:r,onShare:n,onOpenArticle:o,layout:i="card",userAccess:c,positionInList:l})=>{const[d,h]=S.useState(!1),u=m=>{const x=new Date(m),w=Math.floor((new Date().getTime()-x.getTime())/(1e3*60*60));return w<1?"Just now":w<24?`${w}h ago`:w<48?"Yesterday":x.toLocaleDateString("en-US",{month:"short",day:"numeric"})},p=m=>m>=1e3?`${(m/1e3).toFixed(1)}k`:m.toString(),y=m=>m.length>1?m[1]:m[0],f=(m,x)=>m.length<=x?m:m.substring(0,x).trim()+"...",k=i==="grid"?"flex flex-col":"flex flex-col md:flex-row md:items-center";return a.jsxs("article",{className:`
|
|
7801
7801
|
news-grid bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden
|
|
7802
7802
|
hover:shadow-md transition-shadow duration-300 ${k}
|
|
7803
|
-
`,children:[a.jsxs("div",{className:`relative ${i==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[a.jsx("img",{src:t.image||"/placeholder.svg?height=200&width=400&text=News",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${i==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBreaking&&a.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),t.isTrending&&a.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[a.jsx($i,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),a.jsx("button",{onClick:()=>r(t._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:a.jsx(Ga,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:`p-4 ${i==="list"?"md:w-2/3":""}`,children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((m,x)=>a.jsx("a",{href:`?category=${m}`,children:a.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:m},x)}))}),a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?a.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:t.title}):a.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:t.title})}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:f(t.content,i==="list"?150:200)}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[a.jsxs("div",{className:"flex items-center space-x-4",children:[a.jsxs("span",{children:["By ",y(t.author)]}),a.jsx("span",{children:t.company})]}),a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"w-4 h-4 mr-1"}),a.jsxs("span",{children:[t.readTime,"m read"]})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(fc,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:p(t.viewCount||0)})]})]})]}),a.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((m,x)=>a.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",m]},x))}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-sm text-gray-500",children:u(t.date)}),a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Dj[c.status]}),c.note&&a.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>n(t,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:a.jsx(Ns,{className:"w-4 h-4"})}),c.maskExternalLinks?a.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):a.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:["Read More",a.jsx(Bi,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},ME=({apiUrl:t="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:o="latest",bookmarkStorageKey:i="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,y]=S.useState([]),[f,k]=S.useState([]),[m,x]=S.useState([]),[v,w]=S.useState({}),[b,M]=S.useState(""),[C,N]=S.useState({}),[L,A]=S.useState(!1),[I,q]=S.useState(c),[P,_]=S.useState(new Set),[T,G]=S.useState(o),[W,B]=S.useState("grid"),[H,O]=S.useState(1),[K,ce]=S.useState([]),[ee,Q]=S.useState(!1),[be,xe]=S.useState([]),[te,le]=S.useState([]),[U,Z]=S.useState(!0),[Y,ne]=S.useState("all"),[ue,ie]=S.useState(""),ze=V=>V.trim().toLowerCase().replace(/\s+/g,"-"),[Se,We]=S.useState(n),[rt,it]=S.useState(null),Pt=_9(d),Fe=S.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ze=S.useCallback((V,J)=>{h&&h({domain:"news",name:V,payload:J,timestamp:new Date().toISOString(),context:Fe})},[Fe,h]),Ke=S.useCallback(()=>({filters:{...C},categories:Se.categories.length?Se.categories:C.categories?[C.categories]:[],tags:Se.tags,authors:Se.authors.length?Se.authors:C.author?[C.author]:[],companies:Se.companies.length?Se.companies:C.company?[C.company]:[],dateFilter:Y,readTimeRange:Se.readTime}),[Y,C,Se]),Bt=S.useCallback(()=>({page:H,pageSize:I,totalResults:f.length,sortBy:T,viewMode:W}),[H,f.length,I,T,W]),Ra=S.useRef(!1);S.useEffect(()=>{const V=localStorage.getItem(i);V&&_(new Set(JSON.parse(V)))},[i]),S.useEffect(()=>{const V=new URLSearchParams(window.location.search),J={};e.forEach(Qe=>{const dt=V.get(Qe);dt&&(J[Qe]=dt)}),N(J);const me=V.get("q"),Ie=V.get("categories");let Xe=[...p];if(me&&(Xe=Xe.filter(Qe=>Qe.title.toLowerCase().includes(me.toLowerCase())),M(me),ma(me)),Ie){const Qe=Ie.trim().toLowerCase().replace(/\s+/g,"-");We(dt=>({...dt,categories:[Qe]})),Xe=Xe.filter(dt=>dt.categories.some(qa=>ze(qa)===Qe))}x(Xe);const xa={};e.forEach(Qe=>{const dt=V.get(Qe);dt&&(xa[Qe]=dt)}),N(xa)},[p]),S.useEffect(()=>{const J=new URLSearchParams(window.location.search).get("date_filter");if(J&&J!=="all"){ne(J);const me=Fi(p,C,be,J);k(me),O(1),pt(me)}},[p]);const ma=V=>{if(!V.trim())return;const J=[...be,V.trim()];xe(J);const me=Fi(p,C,J,Y);k(me),O(1),pt(me),M(""),Ze("news_search_submitted",{query:V,searchFilters:J,...Ke()})},pt=V=>{const J=Tc(V,e);w(J)},Ae=V=>{ne(V),z(V),sA(V)},z=V=>{const J=Fi(p,C,be,V);k(J),O(1),pt(J)};S.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(P)))},[P,i]),S.useEffect(()=>{Z(!0),it(null),(async()=>{try{const J=await fetch(t);if(!J.ok)throw new Error(`API responded with status: ${J.status}`);const me=await J.json();if(!Array.isArray(me))throw new Error("Expected an array but received: "+typeof me);const Ie=me.map(Be=>({...Be,categories:Array.isArray(Be.categories)?Be.categories:[],topTag:tz(Be.title||"")})),Xe={};for(const Be of Ie){const ht=Be.topTag;ht&&(Xe[ht]=(Xe[ht]||0)+1)}const xa=Object.entries(Xe).sort((Be,ht)=>ht[1]-Be[1]).slice(0,10).map(([Be])=>Be);le(xa);const Qe=new Set;Ie.forEach(Be=>{Be.categories.forEach(ht=>{Qe.add(ze(ht))})});const dt=Array.from(Qe).map(Be=>({id:Be,name:Be.replace(/-/g," ").replace(/\b\w/g,ht=>ht.toUpperCase()),icon:"📰",count:Ie.filter(ht=>ht.categories.some(ec=>ze(ec)===Be)).length,color:"bg-gray-100 text-gray-800"}));y(Ie),k(Ie),x(Ie),ce(dt);const qa=Tc(Ie,e);w(qa)}catch(J){console.error("Failed to fetch articles",J)}finally{Z(!1)}})()},[t]);const E=()=>{B(V=>{const J=V==="grid"?"list":"grid";return Ze("news_listing_viewmode_changed",{viewMode:J}),J})};S.useMemo(()=>p.filter(V=>V.isTrending).slice(0,6),[p]),S.useMemo(()=>p.filter(V=>V.isBreaking),[p]);const ae=Math.ceil(f.length/I),ge=f.slice((H-1)*I,H*I),Pe=(V,J)=>{Pt.allowSaving&&_(me=>{const Ie=new Set(me),Xe=Ie.has(V);return Xe?Ie.delete(V):Ie.add(V),Ze(Xe?"news_article_unbookmarked":"news_article_bookmarked",{articleId:V,positionInList:J}),Ie})},_e=(V,J)=>{navigator.share?navigator.share({title:V.title,text:V.title,url:V.link}):(navigator.clipboard.writeText(V.link),alert("Article link copied to clipboard!")),Ze("news_article_shared",{articleId:V._id,channel:"copy_link"})},Ve=(V,J,me="new_tab",Ie="listing")=>{Ze("news_article_opened",{articleId:V._id,slug:V.slug,positionInList:J,openedFrom:Ie,openedIn:me})},Ut=()=>{Q(!ee)},ss=f.length===0?0:(H-1)*I+1,Qs=Math.min(H*I,f.length),dr=()=>{We({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),O(1);const V=Fi(p,C,be,Y);k(V),O(1),pt(V)},hr=()=>{N({}),xe([]),ne("all"),dr(),k(p),O(1),pt(p),Ze("news_filters_cleared_all",{})},Ta=S.useRef(null),cs=V=>{O(V),Ze("news_listing_page_changed",{page:V,pageSize:I,totalResults:f.length}),setTimeout(()=>{var J;(J=Ta.current)==null||J.scrollIntoView({behavior:"smooth",block:"start"})},100)},Qt=V=>{q(V),O(1),Ze("news_listing_items_per_page_changed",{pageSize:V})},fa=(V,J)=>{const me={...C};J?me[V]=J:delete me[V];const Ie=Fi(p,me,be,Y);N(me),k(Ie),O(1),pt(Ie);const Xe=Ke();J?Ze("news_filter_selected",{key:V,value:J,...Xe}):Ze("news_filter_cleared",{key:V,...Xe})},ur=V=>{const J=be.filter(Ie=>Ie!==V);xe(J);const me=Fi(p,C,J,Y);k(me),O(1),pt(me),Ze("news_search_filter_removed",{removedKeyword:V,remainingKeywords:J})};return S.useEffect(()=>{Ra.current||U||!f.length&&!p.length||(Ze("news_listing_viewed",{...Ke(),...Bt()}),Ra.current=!0)},[p.length,Ze,f.length,Ke,Bt,U]),a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(Ej,{onSearchChange:V=>{const J=p.filter(me=>me.title.toLowerCase().includes(V.toLowerCase()));x(J),M(V)},title:"Latest News",popularTags:te,generateHref:V=>`/news?q=${V.replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Fj,{data:p.map(V=>V.title),onSelect:V=>{ma(V)},onTyping:V=>{A(!!V),V||(x(p),M(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:Ut,children:a.jsx(Za,{size:16,className:"mr-1.5"})}),b&&a.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[a.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[b,a.jsx("button",{onClick:()=>{x(p),M("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),a.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),M("")},children:"Clear Search"})]})]}),a.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:a.jsx("div",{className:"block w-full",children:a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Hj,{filters:[...ue?[{key:"categories",label:"Categories",value:ue.replace(/-/g," "),onRemove:()=>ie("")}]:[],...be.map(V=>({key:"search",label:"",value:V,onRemove:()=>ur(V)})),...Object.entries(C).map(([V,J])=>({key:V,label:V.replace(/_/g," "),value:J,onRemove:()=>fa(V,"")}))],onClearAll:hr})})})})]}),a.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(cA,{dateFieldLabel:"Date",activeDateFilter:Y,onDateFilterChange:Ae,filterKeys:e,searchableFilters:r,filtersData:v,activeFilters:C,handleFilterChange:fa,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),U?a.jsx(zj,{}):a.jsx(a.Fragment,{children:a.jsxs("div",{className:"lg:w-2/4",children:[a.jsx(Vj,{viewMode:W,onToggleViewMode:E,selectedItemsPerPage:I,onItemsPerPageChange:Qt,totalCount:f.length,startIndex:ss,endIndex:Qs,title:"Latest News"}),f.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:W==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:ge.map((V,J)=>a.jsx("div",{ref:J===0?Ta:null,children:a.jsx(wE,{article:V,isBookmarked:P.has(V._id),positionInList:J,onToggleBookmark:me=>Pe(me,J),onShare:me=>_e(me),onOpenArticle:Ve,layout:W,userAccess:Pt})},V._id))}),ae>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Bj,{currentPage:H,totalPages:ae,onPageChange:cs})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Sa,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),a.jsx("button",{onClick:hr,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"sticky top-4",children:[a.jsx(Uc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),a.jsx(qj,{api_url:""}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((V,J)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+J)}`,alt:`Featured employer ${J+1}`,className:"w-10 h-10 object-contain"})},J))})]})]})})]})})]})]}),a.jsx(iA,{activeDateFilter:Y,handleDateFilterChange:Ae,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:C,handleFilterChange:fa,filtersData:v,isMobileFilterOpen:ee,toggleMobileFilter:Ut})]})},c1=[{id:"1",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course. Perfect for beginners looking to understand the fundamentals.",instructor:"Sarah Johnson",price:299,originalPrice:399,currency:"EUR",duration:"8 hours",level:"Beginner",category:"fundamentals",subcategory:"intro-igaming",rating:4.8,reviewCount:1247,enrollmentCount:5420,thumbnail:"/placeholder.svg?height=200&width=300&text=iGaming+Intro",tags:["iGaming","Fundamentals","Industry Overview"],features:["Lifetime Access","Certificate","Mobile Access"],lastUpdated:"2024-01-15",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"2",title:"Payments & Banking in Gaming Masterclass",description:"Master the complex world of payment processing, banking regulations, and financial compliance in the iGaming industry.",instructor:"Michael Chen",price:699,currency:"EUR",duration:"12 hours",level:"Advanced",category:"fundamentals",subcategory:"payments-banking",rating:4.9,reviewCount:892,enrollmentCount:2156,thumbnail:"/placeholder.svg?height=200&width=300&text=Payments+Banking",tags:["Payments","Banking","Compliance","FinTech"],features:["Lifetime Access","Certificate","Expert Support"],lastUpdated:"2024-02-20",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"3",title:"The Psychology of Gambling Addiction",description:"Gain insight into the psychological reasons behind gambling, the nature of addiction, and the scientific aspects of the challenges players encounter.",instructor:"Dr. Emma Rodriguez",price:449,currency:"EUR",duration:"6 hours",level:"Intermediate",category:"responsible-gaming",subcategory:"addiction-psychology",rating:4.7,reviewCount:634,enrollmentCount:1890,thumbnail:"/placeholder.svg?height=200&width=300&text=Psychology+Addiction",tags:["Psychology","Addiction","Player Behavior","Mental Health"],features:["Lifetime Access","Certificate","Case Studies"],lastUpdated:"2024-01-30",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"4",title:"AI in Gaming & Betting",description:"Explore the cutting-edge applications of artificial intelligence in gaming platforms, player analytics, and betting algorithms.",instructor:"Alex Thompson",price:599,currency:"EUR",duration:"10 hours",level:"Advanced",category:"technology",subcategory:"game-development",rating:4.6,reviewCount:445,enrollmentCount:1234,thumbnail:"/placeholder.svg?height=200&width=300&text=AI+Gaming",tags:["AI","Machine Learning","Analytics","Technology"],features:["Lifetime Access","Certificate","Code Examples"],lastUpdated:"2024-03-01",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"5",title:"Slot Academy LIVE!",description:"Interactive live sessions covering slot game mechanics, RTP calculations, and game design principles with industry experts.",instructor:"Gaming Academy Team",price:1500,currency:"EUR",duration:"20 hours",level:"Advanced",category:"specialized",subcategory:"slot-mechanics",rating:4.9,reviewCount:156,enrollmentCount:423,thumbnail:"/placeholder.svg?height=200&width=300&text=Slot+Academy",tags:["Slots","Game Mechanics","Live Training","RTP"],features:["Live Sessions","Certificate","Expert Mentoring"],lastUpdated:"2024-02-15",language:"English",certificate:!0,accessType:"Limited",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"6",title:"English Language for IGaming & Betting",description:"Specialized English language course designed for non-native speakers working in the iGaming and betting industry.",instructor:"Linda Parker",price:300,currency:"EUR",duration:"15 hours",level:"Beginner",category:"specialized",subcategory:"industry-overview",rating:4.5,reviewCount:789,enrollmentCount:2890,thumbnail:"/placeholder.svg?height=200&width=300&text=English+iGaming",tags:["English","Language","Communication","Industry Terms"],features:["Lifetime Access","Certificate","Audio Lessons"],lastUpdated:"2024-01-10",language:"Multiple",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"7",title:"VIP and Premium Service Masterclass",description:"Learn how to deliver exceptional VIP experiences and premium customer service in the competitive iGaming landscape.",instructor:"Robert Williams",price:499,currency:"EUR",duration:"8 hours",level:"Intermediate",category:"business",subcategory:"vip-management",rating:4.8,reviewCount:567,enrollmentCount:1456,thumbnail:"/placeholder.svg?height=200&width=300&text=VIP+Service",tags:["VIP","Customer Service","Premium","Hospitality"],features:["Lifetime Access","Certificate","Templates"],lastUpdated:"2024-02-05",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"8",title:"Fundamentals of CRM for Online Gaming",description:"Master customer relationship management strategies specifically tailored for online gaming and betting platforms.",instructor:"Maria Garcia",price:425,currency:"EUR",duration:"9 hours",level:"Intermediate",category:"business",subcategory:"crm-customer-service",rating:4.7,reviewCount:423,enrollmentCount:1123,thumbnail:"/placeholder.svg?height=200&width=300&text=CRM+Gaming",tags:["CRM","Customer Management","Gaming","Analytics"],features:["Lifetime Access","Certificate","CRM Tools"],lastUpdated:"2024-01-25",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"introduction-to-igaming-iga",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course, featuring real-world case studies from leading operators.",instructor:"Igaming Academy",price:200,originalPrice:250,currency:"EUR",duration:"3 hours",level:"Intermediate",category:"fundamentals",subcategory:"intro-igaming",rating:4.7,reviewCount:0,enrollmentCount:0,thumbnail:"https://igacademy.com/app/uploads/2019/02/Introduction-to-iGaming-800x628.png",link:"https://igacademy.com/courses/introduction-to-igaming/",tags:["iGaming Academy","eLearning"],features:["Certificate","Next date: Online Access Anytime"],lastUpdated:"2025-06-03",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"compliance-roadmap-2025",title:"Global Compliance Roadmap 2025",description:"Stay ahead of emerging regulatory requirements across Europe, North America, and Asia with a practical roadmap for compliance teams and product managers.",instructor:"Priya Natarajan",price:540,originalPrice:620,currency:"EUR",duration:"7 hours",level:"Advanced",category:"fundamentals",subcategory:"regulations",rating:4.9,reviewCount:312,enrollmentCount:1840,thumbnail:"/placeholder.svg?height=200&width=300&text=Compliance+2025",link:"https://example.com/courses/compliance-roadmap-2025",tags:["Compliance","AML","Licensing","Legal"],features:["Certificate","Downloadable checklists","Quarterly updates"],lastUpdated:"2025-05-20",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"data-driven-retention-lab",title:"Data-Driven Retention Lab",description:"Hands-on laboratory course where teams design, launch, and measure retention campaigns using cohort analysis and real-time segmentation tools.",instructor:"Dr. Kevin Müller",price:380,currency:"EUR",duration:"5.5 hours",level:"Intermediate",category:"marketing",subcategory:"retention-strategies",rating:4.6,reviewCount:154,enrollmentCount:920,thumbnail:"/placeholder.svg?height=200&width=300&text=Retention+Lab",link:"https://example.com/courses/data-driven-retention",tags:["Retention","Analytics","Lifecycle","CRM"],features:["Certificate","Workbook","Live coaching"],lastUpdated:"2025-04-28",language:"English",certificate:!0,accessType:"Limited",isFeatured:!1,isNew:!0,isBestseller:!0}],bE=({courses:t,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[o,i]=S.useState(""),[c,l]=S.useState([]),[d,h]=S.useState(!1);S.useEffect(()=>{if(o.length>0){const f=t.filter(v=>{var b,M,C,N,L;const w=o.toLowerCase();return v.title.toLowerCase().includes(w)||((b=v.description)==null?void 0:b.toLowerCase().includes(w))||((M=v.instructor)==null?void 0:M.toLowerCase().includes(w))||((C=v.tags)==null?void 0:C.some(A=>A.toLowerCase().includes(w)))||((N=v.category)==null?void 0:N.toLowerCase().includes(w))||((L=v.subcategory)==null?void 0:L.toLowerCase().includes(w))});e(f);const k=t.filter(v=>v.title.toLowerCase().includes(o.toLowerCase())).map(v=>v.title).slice(0,3),m=t.flatMap(v=>v.tags??[]).filter(v=>v.toLowerCase().includes(o.toLowerCase())).filter((v,w,b)=>b.indexOf(v)===w).slice(0,3),x=t.filter(v=>v.instructor?v.instructor.toLowerCase().includes(o.toLowerCase()):!1).map(v=>v.instructor).filter((v,w,b)=>b.indexOf(v)===w).slice(0,2);l([...k,...m,...x]),h(!0)}else e(t),l([]),h(!1)},[o,t,e]);const u=f=>{i(f),r==null||r(f.length>0,f)},p=f=>{i(f),h(!1)},y=()=>{i(""),h(!1),r==null||r(!1,"")};return a.jsxs("div",{className:"course-search relative",children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ot,{className:"h-5 w-5 text-gray-400"})}),a.jsx("input",{type:"text",value:o,onChange:f=>u(f.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),o&&a.jsx("button",{onClick:y,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(Xt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&a.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:a.jsx("ul",{className:"py-1",children:c.map((f,k)=>a.jsx("li",{children:a.jsx("button",{onClick:()=>p(f),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ot,{className:"h-4 w-4 text-gray-400 mr-2"}),f]})})},k))})}),o&&a.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',o,'"']})]})},CE=({title:t,subtitle:e,placeholder:r,courses:n=[],onSearchResults:o})=>a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[t||"Master the ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),a.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),a.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&o&&a.jsx(bE,{courses:n,onSearchResults:o,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),jE=({categories:t,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:o})=>{const[i,c]=S.useState(new Set),l=h=>{const u=new Set(i);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return a.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),a.jsx("div",{className:"space-y-2",children:t.map(h=>{const u=i.has(h.id),p=e===h.id;return a.jsxs("div",{className:"category-group",children:[a.jsxs("button",{onClick:()=>d(h.id),className:`
|
|
7803
|
+
`,children:[a.jsxs("div",{className:`relative ${i==="list"?"md:w-1/3 md:flex-shrink-0":""}`,children:[a.jsx("img",{src:t.image||"/placeholder.svg?height=200&width=400&text=News",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${d?"opacity-100":"opacity-0"} ${i==="list"?"md:h-32":""}`,onLoad:()=>h(!0)}),!d&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx("div",{className:"w-12 h-12 text-gray-400",children:"📰"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBreaking&&a.jsx("span",{className:"px-2 py-1 bg-red-500 text-white text-xs font-semibold rounded animate-pulse",children:"BREAKING"}),t.isTrending&&a.jsxs("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded flex items-center",children:[a.jsx($i,{className:"w-3 h-3 mr-1"}),"TRENDING"]})]}),a.jsx("button",{onClick:()=>r(t._id,l),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-yellow-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${c.allowSaving?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove bookmark":"Add bookmark",disabled:!c.allowSaving,title:c.allowSaving?void 0:"Sign in to save articles",children:a.jsx(Ga,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:`p-4 ${i==="list"?"md:w-2/3":""}`,children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-2",children:t.categories.slice(0,2).map((m,x)=>a.jsx("a",{href:`?category=${m}`,children:a.jsx("span",{className:"px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded-full",children:m},x)}))}),a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2 hover:text-yellow-600 transition-colors",children:c.maskExternalLinks?a.jsx("button",{className:"text-left w-full text-gray-700 cursor-not-allowed","aria-label":"Sign in to view article",title:"Sign in to view external article",children:t.title}):a.jsx("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:t.title})}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-3",children:f(t.content,i==="list"?150:200)}),a.jsxs("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-3",children:[a.jsxs("div",{className:"flex items-center space-x-4",children:[a.jsxs("span",{children:["By ",y(t.author)]}),a.jsx("span",{children:t.company})]}),a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"w-4 h-4 mr-1"}),a.jsxs("span",{children:[t.readTime,"m read"]})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(fc,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:p(t.viewCount||0)})]})]})]}),a.jsx("div",{className:"flex flex-wrap gap-1 mb-3",children:t.tags.slice(0,3).map((m,x)=>a.jsxs("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 text-xs rounded",children:["#",m]},x))}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("span",{className:"text-sm text-gray-500",children:u(t.date)}),a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Dj[c.status]}),c.note&&a.jsx("span",{className:"text-xs text-gray-500",children:c.note})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx("button",{onClick:()=>n(t,l),className:"p-2 text-gray-400 hover:text-gray-600 hover:bg-gray-100 rounded-full transition-colors","aria-label":"Share article",children:a.jsx(Ns,{className:"w-4 h-4"})}),c.maskExternalLinks?a.jsx("button",{className:"flex items-center px-3 py-1.5 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to read",children:"Sign in to read"}):a.jsxs("a",{href:t.link,target:"_blank",rel:"noopener noreferrer",className:"flex items-center px-3 py-1.5 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",onClick:()=>o==null?void 0:o(t,l,"new_tab",t.isTrending?"trending":t.isBreaking?"breaking":"listing"),children:["Read More",a.jsx(Bi,{className:"w-3 h-3 ml-1"})]})]})]})]})]})},ME=({apiUrl:t="http://localhost:5000/api/news",filterKeys:e=["categories","author","company"],searchableFilters:r=["company","author","categories"],defaultFilters:n={categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]},defaultSort:o="latest",bookmarkStorageKey:i="news-bookmarks",itemsPerPage:c=12,dateFieldLabel:l="Published",userAccess:d,onEmitEvent:h,eventContext:u})=>{const[p,y]=S.useState([]),[f,k]=S.useState([]),[m,x]=S.useState([]),[v,w]=S.useState({}),[M,b]=S.useState(""),[C,I]=S.useState({}),[L,A]=S.useState(!1),[N,q]=S.useState(c),[P,_]=S.useState(new Set),[T,$]=S.useState(o),[G,B]=S.useState("grid"),[V,O]=S.useState(1),[K,se]=S.useState([]),[Q,Y]=S.useState(!1),[te,ae]=S.useState([]),[he,ke]=S.useState([]),[W,J]=S.useState(!0),[ne,ce]=S.useState("all"),[me,le]=S.useState(""),ze=H=>H.trim().toLowerCase().replace(/\s+/g,"-"),[Se,We]=S.useState(n),[rt,it]=S.useState(null),Pt=_9(d),Fe=S.useMemo(()=>({component:"NewsPage",...u??{}}),[u]),Ze=S.useCallback((H,X)=>{h&&h({domain:"news",name:H,payload:X,timestamp:new Date().toISOString(),context:Fe})},[Fe,h]),Ke=S.useCallback(()=>({filters:{...C},categories:Se.categories.length?Se.categories:C.categories?[C.categories]:[],tags:Se.tags,authors:Se.authors.length?Se.authors:C.author?[C.author]:[],companies:Se.companies.length?Se.companies:C.company?[C.company]:[],dateFilter:ne,readTimeRange:Se.readTime}),[ne,C,Se]),Bt=S.useCallback(()=>({page:V,pageSize:N,totalResults:f.length,sortBy:T,viewMode:G}),[V,f.length,N,T,G]),Ra=S.useRef(!1);S.useEffect(()=>{const H=localStorage.getItem(i);H&&_(new Set(JSON.parse(H)))},[i]),S.useEffect(()=>{const H=new URLSearchParams(window.location.search),X={};e.forEach(Qe=>{const dt=H.get(Qe);dt&&(X[Qe]=dt)}),I(X);const fe=H.get("q"),Ie=H.get("categories");let Xe=[...p];if(fe&&(Xe=Xe.filter(Qe=>Qe.title.toLowerCase().includes(fe.toLowerCase())),b(fe),ma(fe)),Ie){const Qe=Ie.trim().toLowerCase().replace(/\s+/g,"-");We(dt=>({...dt,categories:[Qe]})),Xe=Xe.filter(dt=>dt.categories.some(qa=>ze(qa)===Qe))}x(Xe);const xa={};e.forEach(Qe=>{const dt=H.get(Qe);dt&&(xa[Qe]=dt)}),I(xa)},[p]),S.useEffect(()=>{const X=new URLSearchParams(window.location.search).get("date_filter");if(X&&X!=="all"){ce(X);const fe=Fi(p,C,te,X);k(fe),O(1),pt(fe)}},[p]);const ma=H=>{if(!H.trim())return;const X=[...te,H.trim()];ae(X);const fe=Fi(p,C,X,ne);k(fe),O(1),pt(fe),b(""),Ze("news_search_submitted",{query:H,searchFilters:X,...Ke()})},pt=H=>{const X=Tc(H,e);w(X)},Ae=H=>{ce(H),z(H),sA(H)},z=H=>{const X=Fi(p,C,te,H);k(X),O(1),pt(X)};S.useEffect(()=>{localStorage.setItem(i,JSON.stringify(Array.from(P)))},[P,i]),S.useEffect(()=>{J(!0),it(null),(async()=>{try{const X=await fetch(t);if(!X.ok)throw new Error(`API responded with status: ${X.status}`);const fe=await X.json();if(!Array.isArray(fe))throw new Error("Expected an array but received: "+typeof fe);const Ie=fe.map(Be=>({...Be,categories:Array.isArray(Be.categories)?Be.categories:[],topTag:tz(Be.title||"")})),Xe={};for(const Be of Ie){const ht=Be.topTag;ht&&(Xe[ht]=(Xe[ht]||0)+1)}const xa=Object.entries(Xe).sort((Be,ht)=>ht[1]-Be[1]).slice(0,10).map(([Be])=>Be);ke(xa);const Qe=new Set;Ie.forEach(Be=>{Be.categories.forEach(ht=>{Qe.add(ze(ht))})});const dt=Array.from(Qe).map(Be=>({id:Be,name:Be.replace(/-/g," ").replace(/\b\w/g,ht=>ht.toUpperCase()),icon:"📰",count:Ie.filter(ht=>ht.categories.some(ec=>ze(ec)===Be)).length,color:"bg-gray-100 text-gray-800"}));y(Ie),k(Ie),x(Ie),se(dt);const qa=Tc(Ie,e);w(qa)}catch(X){console.error("Failed to fetch articles",X)}finally{J(!1)}})()},[t]);const E=()=>{B(H=>{const X=H==="grid"?"list":"grid";return Ze("news_listing_viewmode_changed",{viewMode:X}),X})};S.useMemo(()=>p.filter(H=>H.isTrending).slice(0,6),[p]),S.useMemo(()=>p.filter(H=>H.isBreaking),[p]);const ee=Math.ceil(f.length/N),ve=f.slice((V-1)*N,V*N),Pe=(H,X)=>{Pt.allowSaving&&_(fe=>{const Ie=new Set(fe),Xe=Ie.has(H);return Xe?Ie.delete(H):Ie.add(H),Ze(Xe?"news_article_unbookmarked":"news_article_bookmarked",{articleId:H,positionInList:X}),Ie})},_e=(H,X)=>{navigator.share?navigator.share({title:H.title,text:H.title,url:H.link}):(navigator.clipboard.writeText(H.link),alert("Article link copied to clipboard!")),Ze("news_article_shared",{articleId:H._id,channel:"copy_link"})},Ve=(H,X,fe="new_tab",Ie="listing")=>{Ze("news_article_opened",{articleId:H._id,slug:H.slug,positionInList:X,openedFrom:Ie,openedIn:fe})},Ut=()=>{Y(!Q)},ss=f.length===0?0:(V-1)*N+1,Qs=Math.min(V*N,f.length),dr=()=>{We({categories:[],tags:[],authors:[],companies:[],dateRange:["",""],readTime:[0,999]}),O(1);const H=Fi(p,C,te,ne);k(H),O(1),pt(H)},hr=()=>{I({}),ae([]),ce("all"),dr(),k(p),O(1),pt(p),Ze("news_filters_cleared_all",{})},Ta=S.useRef(null),cs=H=>{O(H),Ze("news_listing_page_changed",{page:H,pageSize:N,totalResults:f.length}),setTimeout(()=>{var X;(X=Ta.current)==null||X.scrollIntoView({behavior:"smooth",block:"start"})},100)},Qt=H=>{q(H),O(1),Ze("news_listing_items_per_page_changed",{pageSize:H})},fa=(H,X)=>{const fe={...C};X?fe[H]=X:delete fe[H];const Ie=Fi(p,fe,te,ne);I(fe),k(Ie),O(1),pt(Ie);const Xe=Ke();X?Ze("news_filter_selected",{key:H,value:X,...Xe}):Ze("news_filter_cleared",{key:H,...Xe})},ur=H=>{const X=te.filter(Ie=>Ie!==H);ae(X);const fe=Fi(p,C,X,ne);k(fe),O(1),pt(fe),Ze("news_search_filter_removed",{removedKeyword:H,remainingKeywords:X})};return S.useEffect(()=>{Ra.current||W||!f.length&&!p.length||(Ze("news_listing_viewed",{...Ke(),...Bt()}),Ra.current=!0)},[p.length,Ze,f.length,Ke,Bt,W]),a.jsxs("div",{className:"flex flex-col min-h-screen pb-16 md:pb-0",children:[a.jsxs("div",{className:"flex-grow",children:[a.jsx(Ej,{onSearchChange:H=>{const X=p.filter(fe=>fe.title.toLowerCase().includes(H.toLowerCase()));x(X),b(H)},title:"Latest News",popularTags:he,generateHref:H=>`/news?q=${H.replace(/\s+/g,"+")}`}),a.jsxs("div",{className:"container mx-auto py-8 pb-20 md:pb-8",children:[a.jsxs("div",{className:"relative",children:[a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Fj,{data:p.map(H=>H.title),onSelect:H=>{ma(H)},onTyping:H=>{A(!!H),H||(x(p),b(""))},placeholder:"Search news, topics, or authors...",showSubmitButton:!0,className:"w-full"}),a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:Ut,children:a.jsx(Za,{size:16,className:"mr-1.5"})}),M&&a.jsxs("div",{className:"flex gap-2 mt-3 px-4 sm:px-6 lg:px-8",children:[a.jsxs("span",{className:"bg-yellow-100 text-indigo-800 rounded-full px-3 py-1 text-sm flex items-center",children:[M,a.jsx("button",{onClick:()=>{x(p),b("")},className:"ml-2 text-indigo-600 hover:text-indigo-800",children:"×"})]}),a.jsx("button",{className:"text-sm text-gray-600 hover:underline",onClick:()=>{x(p),b("")},children:"Clear Search"})]})]}),a.jsx("div",{className:"max-w-7xl mx-auto md:pb-8",children:a.jsx("div",{className:"block w-full",children:a.jsx("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:a.jsx(Hj,{filters:[...me?[{key:"categories",label:"Categories",value:me.replace(/-/g," "),onRemove:()=>le("")}]:[],...te.map(H=>({key:"search",label:"",value:H,onRemove:()=>ur(H)})),...Object.entries(C).map(([H,X])=>({key:H,label:H.replace(/_/g," "),value:X,onRemove:()=>fa(H,"")}))],onClearAll:hr})})})})]}),a.jsx("main",{className:"max-w-7xl mx-auto px-4 pb-8 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex flex-col lg:flex-row lg:gap-6",children:[a.jsx(cA,{dateFieldLabel:"Date",activeDateFilter:ne,onDateFilterChange:Ae,filterKeys:e,searchableFilters:r,filtersData:v,activeFilters:C,handleFilterChange:fa,toggleSavedJobsFilter:()=>console.log("toggle saved jobs filter"),showOnlySaved:!1,savedJobs:[]}),W?a.jsx(zj,{}):a.jsx(a.Fragment,{children:a.jsxs("div",{className:"lg:w-2/4",children:[a.jsx(Vj,{viewMode:G,onToggleViewMode:E,selectedItemsPerPage:N,onItemsPerPageChange:Qt,totalCount:f.length,startIndex:ss,endIndex:Qs,title:"Latest News"}),f.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:G==="grid"?"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-2 gap-6":"space-y-6",children:ve.map((H,X)=>a.jsx("div",{ref:X===0?Ta:null,children:a.jsx(wE,{article:H,isBookmarked:P.has(H._id),positionInList:X,onToggleBookmark:fe=>Pe(fe,X),onShare:fe=>_e(fe),onOpenArticle:Ve,layout:G,userAccess:Pt})},H._id))}),ee>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Bj,{currentPage:V,totalPages:ee,onPageChange:cs})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Sa,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No articles found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more articles."}),a.jsx("button",{onClick:hr,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4 space-y-6",children:a.jsxs("div",{className:"sticky top-4",children:[a.jsx(Uc,{position:"sidebar",url:"https://video-previews.elements.envatousercontent.com/h264-video-previews/e08912ad-6856-4e36-89b5-cf1465cc79cb/32651312.mp4",link:"",alt:""}),a.jsx(qj,{api_url:""}),a.jsxs("div",{className:"mt-6 bg-white rounded-lg shadow-sm border border-gray-200 p-5",children:[a.jsx("h3",{className:"font-semibold text-lg mb-3",children:"Featured Employers"}),a.jsx("div",{className:"grid grid-cols-3 gap-2",children:[...Array(6)].map((H,X)=>a.jsx("div",{className:"flex items-center justify-center p-2 bg-gray-50 rounded-md",children:a.jsx("img",{src:`/placeholder.svg?height=40&width=40&text=${String.fromCharCode(65+X)}`,alt:`Featured employer ${X+1}`,className:"w-10 h-10 object-contain"})},X))})]})]})})]})})]})]}),a.jsx(iA,{activeDateFilter:ne,handleDateFilterChange:Ae,filterKeys:e,searchableFilters:r,dateFieldLabel:l,activeFilters:C,handleFilterChange:fa,filtersData:v,isMobileFilterOpen:Q,toggleMobileFilter:Ut})]})},c1=[{id:"1",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course. Perfect for beginners looking to understand the fundamentals.",instructor:"Sarah Johnson",price:299,originalPrice:399,currency:"EUR",duration:"8 hours",level:"Beginner",category:"fundamentals",subcategory:"intro-igaming",rating:4.8,reviewCount:1247,enrollmentCount:5420,thumbnail:"/placeholder.svg?height=200&width=300&text=iGaming+Intro",tags:["iGaming","Fundamentals","Industry Overview"],features:["Lifetime Access","Certificate","Mobile Access"],lastUpdated:"2024-01-15",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"2",title:"Payments & Banking in Gaming Masterclass",description:"Master the complex world of payment processing, banking regulations, and financial compliance in the iGaming industry.",instructor:"Michael Chen",price:699,currency:"EUR",duration:"12 hours",level:"Advanced",category:"fundamentals",subcategory:"payments-banking",rating:4.9,reviewCount:892,enrollmentCount:2156,thumbnail:"/placeholder.svg?height=200&width=300&text=Payments+Banking",tags:["Payments","Banking","Compliance","FinTech"],features:["Lifetime Access","Certificate","Expert Support"],lastUpdated:"2024-02-20",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"3",title:"The Psychology of Gambling Addiction",description:"Gain insight into the psychological reasons behind gambling, the nature of addiction, and the scientific aspects of the challenges players encounter.",instructor:"Dr. Emma Rodriguez",price:449,currency:"EUR",duration:"6 hours",level:"Intermediate",category:"responsible-gaming",subcategory:"addiction-psychology",rating:4.7,reviewCount:634,enrollmentCount:1890,thumbnail:"/placeholder.svg?height=200&width=300&text=Psychology+Addiction",tags:["Psychology","Addiction","Player Behavior","Mental Health"],features:["Lifetime Access","Certificate","Case Studies"],lastUpdated:"2024-01-30",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"4",title:"AI in Gaming & Betting",description:"Explore the cutting-edge applications of artificial intelligence in gaming platforms, player analytics, and betting algorithms.",instructor:"Alex Thompson",price:599,currency:"EUR",duration:"10 hours",level:"Advanced",category:"technology",subcategory:"game-development",rating:4.6,reviewCount:445,enrollmentCount:1234,thumbnail:"/placeholder.svg?height=200&width=300&text=AI+Gaming",tags:["AI","Machine Learning","Analytics","Technology"],features:["Lifetime Access","Certificate","Code Examples"],lastUpdated:"2024-03-01",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"5",title:"Slot Academy LIVE!",description:"Interactive live sessions covering slot game mechanics, RTP calculations, and game design principles with industry experts.",instructor:"Gaming Academy Team",price:1500,currency:"EUR",duration:"20 hours",level:"Advanced",category:"specialized",subcategory:"slot-mechanics",rating:4.9,reviewCount:156,enrollmentCount:423,thumbnail:"/placeholder.svg?height=200&width=300&text=Slot+Academy",tags:["Slots","Game Mechanics","Live Training","RTP"],features:["Live Sessions","Certificate","Expert Mentoring"],lastUpdated:"2024-02-15",language:"English",certificate:!0,accessType:"Limited",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"6",title:"English Language for IGaming & Betting",description:"Specialized English language course designed for non-native speakers working in the iGaming and betting industry.",instructor:"Linda Parker",price:300,currency:"EUR",duration:"15 hours",level:"Beginner",category:"specialized",subcategory:"industry-overview",rating:4.5,reviewCount:789,enrollmentCount:2890,thumbnail:"/placeholder.svg?height=200&width=300&text=English+iGaming",tags:["English","Language","Communication","Industry Terms"],features:["Lifetime Access","Certificate","Audio Lessons"],lastUpdated:"2024-01-10",language:"Multiple",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"7",title:"VIP and Premium Service Masterclass",description:"Learn how to deliver exceptional VIP experiences and premium customer service in the competitive iGaming landscape.",instructor:"Robert Williams",price:499,currency:"EUR",duration:"8 hours",level:"Intermediate",category:"business",subcategory:"vip-management",rating:4.8,reviewCount:567,enrollmentCount:1456,thumbnail:"/placeholder.svg?height=200&width=300&text=VIP+Service",tags:["VIP","Customer Service","Premium","Hospitality"],features:["Lifetime Access","Certificate","Templates"],lastUpdated:"2024-02-05",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!0,isNew:!1,isBestseller:!1},{id:"8",title:"Fundamentals of CRM for Online Gaming",description:"Master customer relationship management strategies specifically tailored for online gaming and betting platforms.",instructor:"Maria Garcia",price:425,currency:"EUR",duration:"9 hours",level:"Intermediate",category:"business",subcategory:"crm-customer-service",rating:4.7,reviewCount:423,enrollmentCount:1123,thumbnail:"/placeholder.svg?height=200&width=300&text=CRM+Gaming",tags:["CRM","Customer Management","Gaming","Analytics"],features:["Lifetime Access","Certificate","CRM Tools"],lastUpdated:"2024-01-25",language:"English",certificate:!0,accessType:"Lifetime",isFeatured:!1,isNew:!1,isBestseller:!0},{id:"introduction-to-igaming-iga",title:"Introduction to iGaming",description:"Gain a comprehensive and practical overview of the iGaming industry with this all-encompassing course, featuring real-world case studies from leading operators.",instructor:"Igaming Academy",price:200,originalPrice:250,currency:"EUR",duration:"3 hours",level:"Intermediate",category:"fundamentals",subcategory:"intro-igaming",rating:4.7,reviewCount:0,enrollmentCount:0,thumbnail:"https://igacademy.com/app/uploads/2019/02/Introduction-to-iGaming-800x628.png",link:"https://igacademy.com/courses/introduction-to-igaming/",tags:["iGaming Academy","eLearning"],features:["Certificate","Next date: Online Access Anytime"],lastUpdated:"2025-06-03",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!1,isBestseller:!0},{id:"compliance-roadmap-2025",title:"Global Compliance Roadmap 2025",description:"Stay ahead of emerging regulatory requirements across Europe, North America, and Asia with a practical roadmap for compliance teams and product managers.",instructor:"Priya Natarajan",price:540,originalPrice:620,currency:"EUR",duration:"7 hours",level:"Advanced",category:"fundamentals",subcategory:"regulations",rating:4.9,reviewCount:312,enrollmentCount:1840,thumbnail:"/placeholder.svg?height=200&width=300&text=Compliance+2025",link:"https://example.com/courses/compliance-roadmap-2025",tags:["Compliance","AML","Licensing","Legal"],features:["Certificate","Downloadable checklists","Quarterly updates"],lastUpdated:"2025-05-20",language:"English",certificate:!0,accessType:"Subscription",isFeatured:!0,isNew:!0,isBestseller:!1},{id:"data-driven-retention-lab",title:"Data-Driven Retention Lab",description:"Hands-on laboratory course where teams design, launch, and measure retention campaigns using cohort analysis and real-time segmentation tools.",instructor:"Dr. Kevin Müller",price:380,currency:"EUR",duration:"5.5 hours",level:"Intermediate",category:"marketing",subcategory:"retention-strategies",rating:4.6,reviewCount:154,enrollmentCount:920,thumbnail:"/placeholder.svg?height=200&width=300&text=Retention+Lab",link:"https://example.com/courses/data-driven-retention",tags:["Retention","Analytics","Lifecycle","CRM"],features:["Certificate","Workbook","Live coaching"],lastUpdated:"2025-04-28",language:"English",certificate:!0,accessType:"Limited",isFeatured:!1,isNew:!0,isBestseller:!0}],bE=({courses:t,onSearchResults:e,onTyping:r,placeholder:n="Search courses, instructors, or topics..."})=>{const[o,i]=S.useState(""),[c,l]=S.useState([]),[d,h]=S.useState(!1);S.useEffect(()=>{if(o.length>0){const f=t.filter(v=>{var M,b,C,I,L;const w=o.toLowerCase();return v.title.toLowerCase().includes(w)||((M=v.description)==null?void 0:M.toLowerCase().includes(w))||((b=v.instructor)==null?void 0:b.toLowerCase().includes(w))||((C=v.tags)==null?void 0:C.some(A=>A.toLowerCase().includes(w)))||((I=v.category)==null?void 0:I.toLowerCase().includes(w))||((L=v.subcategory)==null?void 0:L.toLowerCase().includes(w))});e(f);const k=t.filter(v=>v.title.toLowerCase().includes(o.toLowerCase())).map(v=>v.title).slice(0,3),m=t.flatMap(v=>v.tags??[]).filter(v=>v.toLowerCase().includes(o.toLowerCase())).filter((v,w,M)=>M.indexOf(v)===w).slice(0,3),x=t.filter(v=>v.instructor?v.instructor.toLowerCase().includes(o.toLowerCase()):!1).map(v=>v.instructor).filter((v,w,M)=>M.indexOf(v)===w).slice(0,2);l([...k,...m,...x]),h(!0)}else e(t),l([]),h(!1)},[o,t,e]);const u=f=>{i(f),r==null||r(f.length>0,f)},p=f=>{i(f),h(!1)},y=()=>{i(""),h(!1),r==null||r(!1,"")};return a.jsxs("div",{className:"course-search relative",children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:a.jsx(Ot,{className:"h-5 w-5 text-gray-400"})}),a.jsx("input",{type:"text",value:o,onChange:f=>u(f.target.value),onFocus:()=>h(c.length>0),onBlur:()=>setTimeout(()=>h(!1),200),className:"block w-full pl-10 pr-10 py-3 border border-gray-300 rounded-lg bg-white shadow-sm focus:outline-none focus:ring-2 focus:ring-yellow--500 focus:border-yellow--500 text-gray-900 placeholder-gray-500",placeholder:n}),o&&a.jsx("button",{onClick:y,className:"absolute inset-y-0 right-0 pr-3 flex items-center",children:a.jsx(Xt,{className:"h-5 w-5 text-gray-400 hover:text-gray-600"})})]}),d&&c.length>0&&a.jsx("div",{className:"absolute z-10 w-full mt-1 bg-white border border-gray-200 rounded-lg shadow-lg",children:a.jsx("ul",{className:"py-1",children:c.map((f,k)=>a.jsx("li",{children:a.jsx("button",{onClick:()=>p(f),className:"w-full px-4 py-2 text-left text-sm text-gray-700 hover:bg-gray-100 focus:bg-gray-100 focus:outline-none",children:a.jsxs("div",{className:"flex items-center",children:[a.jsx(Ot,{className:"h-4 w-4 text-gray-400 mr-2"}),f]})})},k))})}),o&&a.jsxs("div",{className:"mt-2 text-sm text-gray-600",children:['Search results for "',o,'"']})]})},CE=({title:t,subtitle:e,placeholder:r,courses:n=[],onSearchResults:o})=>a.jsx("section",{className:"py-16 bg-gradient-to-r from-[#0f1219] to-[#1a2236] text-white relative overflow-hidden",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-8",children:[a.jsxs("h2",{className:"text-4xl font-bold text-white mb-4",children:[t||"Master the ",a.jsx("span",{className:"bg-gradient-accent bg-clip-text text-transparent",children:"IGaming Industry"})]}),a.jsx("p",{className:"text-xl text-indigo-100 max-w-2xl mx-auto",children:e||"Learn from industry experts and advance your career with our comprehensive course catalog"})]}),a.jsx("div",{className:"hidden lg:block max-w-2xl mx-auto",children:n&&o&&a.jsx(bE,{courses:n,onSearchResults:o,placeholder:r||"Search IGaming courses, instructors, or topics..."})})]})}),jE=({categories:t,selectedCategory:e,selectedSubcategory:r,onCategorySelect:n,onSubcategorySelect:o})=>{const[i,c]=S.useState(new Set),l=h=>{const u=new Set(i);u.has(h)?u.delete(h):u.add(h),c(u)},d=h=>{l(h),n(h)};return a.jsxs("nav",{className:"course-navigation bg-white rounded-lg shadow-sm border border-gray-200 p-4",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Course Categories"}),a.jsx("div",{className:"space-y-2",children:t.map(h=>{const u=i.has(h.id),p=e===h.id;return a.jsxs("div",{className:"category-group",children:[a.jsxs("button",{onClick:()=>d(h.id),className:`
|
|
7804
7804
|
w-full flex items-center justify-between p-3 rounded-lg text-left transition-colors
|
|
7805
7805
|
${p?"bg-yellow-50 text-indigo-700 border border-yellow--200":"hover:bg-gray-50 text-gray-700"}
|
|
7806
7806
|
`,children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx("span",{className:"text-lg mr-3",children:h.icon}),a.jsx("span",{className:"font-medium",children:h.name})]}),u?a.jsx(Hi,{className:"w-4 h-4"}):a.jsx(Wa,{className:"w-4 h-4"})]}),u&&a.jsx("div",{className:"mt-2 ml-6 space-y-1",children:h.subcategories.map(y=>{const f=r===y.id;return a.jsxs("button",{onClick:()=>o(y.id),className:`
|
|
7807
7807
|
w-full flex items-center justify-between p-2 rounded-md text-left text-sm transition-colors
|
|
7808
7808
|
${f?"bg-yellow-100 text-indigo-800":"hover:bg-gray-100 text-gray-600"}
|
|
7809
|
-
`,children:[a.jsx("span",{children:y.name}),a.jsx("span",{className:"text-xs text-gray-500",children:y.courseCount})]},y.id)})})]},h.id)})})]})},fL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y})=>{const[f,k]=S.useState(!1),m=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],x=["English","Spanish","French","German","Multiple"],v=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=C=>{const N=t.languages.includes(C)?t.languages.filter(L=>L!==C):[...t.languages,C];r({...t,languages:N})},b=C=>{const N=t.features.includes(C)?t.features.filter(L=>L!==C):[...t.features,C];r({...t,features:N})},M=t.levels.length>0||t.languages.length>0||t.features.length>0||t.rating>0||t.priceRange[0]>0||t.priceRange[1]<2e3;return a.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[a.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(ws,{className:"w-5 h-5 text-gray-600 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),M&&a.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[M&&a.jsx("button",{onClick:o,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),a.jsx("button",{onClick:()=>k(!f),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:a.jsx(Hi,{className:`w-4 h-4 transition-transform ${f?"rotate-180":""}`})})]})]}),a.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",i," courses"]})]}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),a.jsx("select",{id:"sort-select",value:e,onChange:C=>n(C.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:m.map(C=>a.jsx("option",{value:C.value,children:C.label},C.value))})]}),a.jsxs("div",{className:"block",children:[a.jsx(jE,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),a.jsx("div",{className:"space-y-2",children:x.map(C=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.languages.includes(C),onChange:()=>w(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),a.jsx("div",{className:"space-y-2",children:v.map(C=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.features.includes(C),onChange:()=>b(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]})]})]})},SE=({isOpen:t,onClose:e,title:r="Filters",children:n})=>t?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),a.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"p-4",children:n})]})]}):null,xL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:y,toggleMobileFilter:f,enableMobileFilter:k,showFilterName:m=!0,isMobile:x=!1})=>a.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:f,"aria-expanded":y,children:a.jsx(Za,{className:"w-4 h-4 flex justify-center items-center"})}),a.jsx("div",{className:"hidden md:block",children:a.jsx(fL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),a.jsx(SE,{isOpen:y,onClose:f,title:"Filters",children:a.jsx(fL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:m,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),LE=({course:t,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:o})=>{const[i,c]=S.useState(!1),l=(p,y)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:y}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=o.allowSaving,u=o.maskExternalLinks;return a.jsxs("div",{className:"course-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300",children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:t.thumbnail||"/placeholder.svg",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${i?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!i&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx(Ft,{className:"w-12 h-12 text-gray-400"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBestseller&&a.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),t.isNew&&a.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),t.isFeatured&&a.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),a.jsx("button",{onClick:()=>r(t.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:a.jsx(Cs,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:t.title}),a.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Dj[o.status]}),o.note&&a.jsx("span",{className:"text-xs text-gray-500",children:o.note})]}),a.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",t.instructor]}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:t.description}),a.jsxs("div",{className:"flex items-center mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(qt,{className:"w-4 h-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:t.rating})]}),typeof t.reviewCount=="number"&&a.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",t.reviewCount.toLocaleString()," reviews)"]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:t.duration})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(La,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&a.jsxs("span",{children:[d(t.enrollmentCount)," students"]})]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[a.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${t.level==="Beginner"?"bg-green-100 text-green-800":t.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:t.level}),t.certificate&&a.jsxs("div",{className:"flex items-center text-indigo-600",children:[a.jsx(Ca,{className:"w-4 h-4 mr-1"}),a.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[typeof t.price=="number"&&t.currency&&a.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(t.price,t.currency)}),typeof t.originalPrice=="number"&&!isNaN(t.originalPrice)&&a.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(t.originalPrice,t.currency)})]}),u?a.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):a.jsx("button",{onClick:()=>n(t.id),className:"px-4 py-2 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",children:"Enroll Now"})]})]})]})},IE=({processedCourses:t,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:o=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(t.length/o),p=t.slice((c-1)*o,c*o),y=S.useRef(null),f=k=>{l(k),setTimeout(()=>{var m;(m=y.current)==null||m.scrollIntoView({behavior:"smooth",block:"start"})},100)};return t.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,m)=>a.jsx("div",{ref:m===0?y:null,children:a.jsx(LE,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Bj,{currentPage:c,totalPages:u,onPageChange:f})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Ft,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),a.jsx("button",{onClick:i,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},NE=({apiUrl:t,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:o,eventContext:i})=>{const[c,l]=S.useState([]),[d,h]=S.useState([]),[u,p]=S.useState(new Set),[y,f]=S.useState(""),[k,m]=S.useState(""),[x,v]=S.useState("relevance"),[w,b]=S.useState(!1),[M,C]=S.useState(1),[N,L]=S.useState(!1),[A,I]=S.useState(!1),[q,P]=S.useState(!0),[_,T]=S.useState(""),[G,W]=S.useState([]),[B,H]=S.useState([]),[O,K]=S.useState("grid"),[ce,ee]=S.useState(r),[Q,be]=S.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),xe=_9(n),te=S.useMemo(()=>({component:"IGamingCoursePage",...i??{}}),[i]),le=S.useRef(!1),U=S.useMemo(()=>{let z=[...d];switch(y&&(z=z.filter(E=>ie(E.category)===y)),k&&(z=z.filter(E=>ie(E.subcategory)===k)),Q.levels.length>0&&(z=z.filter(E=>Q.levels.includes(E.level))),Q.languages.length>0&&(z=z.filter(E=>Q.languages.includes(E.language))),Q.features.length>0&&(z=z.filter(E=>Q.features.some(ae=>E.features.includes(ae)))),Q.rating>0&&(z=z.filter(E=>E.rating>=Q.rating)),w&&(z=z.filter(E=>u.has(E.id))),x){case"price-low-high":z.sort((E,ae)=>E.price-ae.price);break;case"price-high-low":z.sort((E,ae)=>ae.price-E.price);break;case"rating":z.sort((E,ae)=>ae.rating-E.rating);break;case"newest":z.sort((E,ae)=>new Date(ae.lastUpdated).getTime()-new Date(E.lastUpdated).getTime());break;case"most-enrolled":z.sort((E,ae)=>ae.enrollmentCount-E.enrollmentCount);break;default:z.sort((E,ae)=>E.isFeatured&&!ae.isFeatured?-1:!E.isFeatured&&ae.isFeatured?1:E.isBestseller&&!ae.isBestseller?-1:!E.isBestseller&&ae.isBestseller?1:ae.rating-E.rating)}return z},[d,y,k,Q,u,w,x]),Z=S.useCallback((z,E)=>{o&&o({domain:"courses",name:z,payload:E,timestamp:new Date().toISOString(),context:te})},[te,o]),Y=S.useCallback(()=>({category:y||void 0,subcategory:k||void 0,levels:Q.levels,languages:Q.languages,features:Q.features,rating:Q.rating,priceRange:Q.priceRange,favoritesOnly:w}),[Q.features,Q.languages,Q.levels,Q.priceRange,Q.rating,y,k,w]),ne=S.useCallback(()=>({page:M,pageSize:ce,totalResults:U.length,sortBy:x,viewMode:O}),[M,U.length,ce,x,O]),ue=()=>{K(z=>{const E=z==="grid"?"list":"grid";return Z("courses_listing_viewmode_changed",{viewMode:E}),E})},ie=z=>(z??"").trim().toLowerCase().replace(/\s+/g,"-"),ze=S.useMemo(()=>{const z=new Map;return c.forEach(E=>{const ae=E.category,ge=E.subcategory,Pe=ie(ae),_e=ie(ge);if(!Pe)return;z.has(Pe)||z.set(Pe,new Map);const Ve=z.get(Pe);_e&&Ve.set(_e,(Ve.get(_e)??0)+1)}),Array.from(z.entries()).map(([E,ae])=>({id:E,name:E.replace(/-/g," ").replace(/\b\w/g,ge=>ge.toUpperCase()),icon:"🎯",subcategories:Array.from(ae.entries()).map(([ge,Pe])=>({id:ge,name:ge.replace(/-/g," ").replace(/\b\w/g,_e=>_e.toUpperCase()),courseCount:Pe}))}))},[c]),Se=z=>{ee(z),C(1),Z("courses_listing_items_per_page_changed",{pageSize:z})},We=z=>{const E=ae=>ae.slice().sort().join("|");return E(z.categories)!==E(Q.categories)?"category":E(z.subcategories)!==E(Q.subcategories)?"subcategory":E(z.levels)!==E(Q.levels)?"levels":E(z.languages)!==E(Q.languages)?"languages":E(z.features)!==E(Q.features)?"features":z.rating!==Q.rating?"rating":z.priceRange[0]!==Q.priceRange[0]||z.priceRange[1]!==Q.priceRange[1]?"priceRange":"features"},rt=z=>{be(z);const E={category:y||void 0,subcategory:k||void 0,levels:z.levels,languages:z.languages,features:z.features,rating:z.rating,priceRange:z.priceRange,favoritesOnly:w};Z("courses_filter_changed",{changedKey:We(z),...E})};S.useEffect(()=>{(async()=>{try{if(!t){l(c1),h(c1),P(!1);return}P(!0);const E=await fetch(t);if(!E.ok)throw new Error(`Failed to fetch courses from ${t}`);const ae=await E.json();l(ae),h(ae);const Pe=ae.map(Ve=>Oj(Ve.title||"")).filter(Ve=>!!Ve).reduce((Ve,Ut)=>(Ve[Ut]=(Ve[Ut]||0)+1,Ve),{}),_e=Object.entries(Pe).sort((Ve,Ut)=>Ut[1]-Ve[1]).slice(0,10).map(([Ve])=>Ve);W(_e)}catch(E){console.error("[Courses] Error loading data:",E),l(c1),h(c1)}finally{P(!1)}})()},[t]),S.useEffect(()=>{var ae;const E=(ae=new URLSearchParams(window.location.search).get("q"))==null?void 0:ae.trim();if(E){T(E);const ge=c.filter(Pe=>{var _e;return Pe.title.toLowerCase().includes(E.toLowerCase())||((_e=Pe.description)==null?void 0:_e.toLowerCase().includes(E.toLowerCase()))});h(ge)}},[c]),S.useEffect(()=>{const z=localStorage.getItem("course-favorites");z&&p(new Set(JSON.parse(z)))},[]),S.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const it=z=>{xe.allowSaving&&p(E=>{const ae=new Set(E),ge=ae.has(z);return ge?ae.delete(z):ae.add(z),Z(ge?"course_unfavorited":"course_favorited",{courseId:z}),ae})},Pt=z=>{if(xe.maskExternalLinks)return;const E=c.find(ae=>ae.id===z);E!=null&&E.link&&(Z("course_enroll_clicked",{courseId:z}),Z("course_opened",{courseId:z,openedFrom:"listing",openedIn:"new_tab"}),window.open(E.link,"_blank","noopener,noreferrer"))};S.useEffect(()=>{le.current||q||!U.length&&!c.length||(Z("courses_listing_viewed",{...Y(),...ne()}),le.current=!0)},[c.length,Z,U.length,Y,ne,q]);const Fe=z=>{const E=ie(z);f(E===y?"":E),m(""),Z("courses_category_selected",{category:E===y?null:E}),Z("courses_filter_changed",{changedKey:"category",...Y()})},Ze=z=>{const E=ie(z);m(E===k?"":E),Z("courses_subcategory_selected",{subcategory:E===k?null:E}),Z("courses_filter_changed",{changedKey:"subcategory",...Y()})},Ke=()=>{be({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),f(""),m(""),b(!1),T(""),h(c),Z("courses_filters_cleared_all",{})},Bt=()=>{L(!N)},Ra=z=>{C(z),Z("courses_listing_page_changed",{page:z,pageSize:ce,totalResults:U.length})},ma=U.length===0?0:(M-1)*ce+1,pt=Math.min(M*ce,U.length),Ae=z=>{if(T(z),!z){h(c),H([]);return}const E=c.filter(ge=>{var Pe;return ge.title.toLowerCase().includes(z.toLowerCase())||((Pe=ge.description)==null?void 0:Pe.toLowerCase().includes(z.toLowerCase()))});h(E);const ae=E.map(ge=>ge.title).filter((ge,Pe,_e)=>ge&&ge.toLowerCase().includes(z.toLowerCase())&&_e.indexOf(ge)===Pe).slice(0,5);H(ae),z.trim()&&Z("courses_search_submitted",{query:z,...Y()})};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx(Ej,{onSearchChange:Ae,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:G,generateHref:z=>`/courses?q=${z.toLowerCase().replace(/\s+/g,"+")}`}),a.jsx(CE,{courses:c,onSearchResults:h}),a.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[a.jsx(Hj,{filters:[...y?[{key:"category",label:"Category",value:y.replace(/-/g," "),onRemove:()=>f("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>m("")}]:[],...Q.levels.map(z=>({key:"level",label:"",value:z,onRemove:()=>be(E=>({...E,levels:E.levels.filter(ae=>ae!==z)}))})),..._?[{key:"search",label:"Search",value:_,onRemove:()=>{T(""),h(c)}}]:[]],onClearAll:Ke}),a.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[a.jsx("div",{className:"block lg:hidden w-full",children:a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Fj,{data:c.map(z=>z.title),onSelect:z=>{const E=c.filter(ae=>ae.title.toLowerCase().includes(z.toLowerCase()));h(E),T(z)},onTyping:z=>{I(!!z),z||(h(c),T(""))}}),a.jsx(xL,{sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Ke,totalCourses:c.length,filteredCourses:U.length,categories:ze,selectedCategory:y,selectedSubcategory:k,filters:Q,onCategorySelect:Fe,onSubcategorySelect:Ze,isMobileFilterOpen:N,toggleMobileFilter:Bt,enableMobileFilter:e,showFilterName:!A,isMobile:!0})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4",children:a.jsx(xL,{filters:Q,sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Ke,totalCourses:c.length,filteredCourses:U.length,categories:ze,selectedCategory:y,selectedSubcategory:k,onCategorySelect:Fe,onSubcategorySelect:Ze,isMobileFilterOpen:N,toggleMobileFilter:Bt,enableMobileFilter:e,showFilterName:!0})}),a.jsxs("div",{className:"lg:w-3/4",children:[a.jsx(Vj,{viewMode:O,onToggleViewMode:ue,selectedItemsPerPage:ce,onItemsPerPageChange:Se,totalCount:U.length,startIndex:ma,endIndex:pt,title:"All Courses"}),q?a.jsx(zj,{totalColumns:3}):a.jsx(IE,{processedCourses:U,favorites:u,handleToggleFavorite:it,handleClearFilters:Ke,itemsPerPage:ce,handleEnroll:Pt,currentPage:M,setCurrentPage:Ra,viewMode:O,userAccess:xe})]})]})]})]})};var QC={exports:{}},tS={};function AE(t){return t&&t.__esModule?t:{default:t}}tS._=AE;var XA={};function JA(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(JA=function(n){return n?r:e})(t)}function PE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=JA(e);if(r&&r.has(t))return r.get(t);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var c=o?Object.getOwnPropertyDescriptor(t,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=t[i]}return n.default=t,r&&r.set(t,n),n}XA._=PE;var SC={},kL;function _E(){return kL||(kL=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=tS._(S).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(SC)),SC}var l1={exports:{}},gL;function RE(){return gL||(gL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(c){return["async","defer","noModule"].includes(c)}function i(c,l){for(const[d,h]of Object.entries(l)){if(!l.hasOwnProperty(d)||n.includes(d)||h===void 0)continue;const u=r[d]||d.toLowerCase();c.tagName==="SCRIPT"&&o(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&o(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(l1,l1.exports)),l1.exports}var d1={exports:{}},vL;function TE(){return vL||(vL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(i,c){for(var l in c)Object.defineProperty(i,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(i){let c=Date.now();return self.setTimeout(function(){i({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},o=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(i){return clearTimeout(i)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(d1,d1.exports)),d1.exports}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(C,N){for(var L in N)Object.defineProperty(C,L,{enumerable:!0,get:N[L]})}r(e,{default:function(){return M},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return w}});const n=tS,o=XA,i=a,c=n._(lj),l=o._(S),d=_E(),h=RE(),u=TE(),p=new Map,y=new Set,f=C=>{if(c.default.preinit){C.forEach(N=>{c.default.preinit(N,{as:"style"})});return}if(typeof window<"u"){let N=document.head;C.forEach(L=>{let A=document.createElement("link");A.type="text/css",A.rel="stylesheet",A.href=L,N.appendChild(A)})}},k=C=>{const{src:N,id:L,onLoad:A=()=>{},onReady:I=null,dangerouslySetInnerHTML:q,children:P="",strategy:_="afterInteractive",onError:T,stylesheets:G}=C,W=L||N;if(W&&y.has(W))return;if(p.has(N)){y.add(W),p.get(N).then(A,T);return}const B=()=>{I&&I(),y.add(W)},H=document.createElement("script"),O=new Promise((K,ce)=>{H.addEventListener("load",function(ee){K(),A&&A.call(this,ee),B()}),H.addEventListener("error",function(ee){ce(ee)})}).catch(function(K){T&&T(K)});q?(H.innerHTML=q.__html||"",B()):P?(H.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",B()):N&&(H.src=N,p.set(N,O)),(0,h.setAttributesFromProps)(H,C),_==="worker"&&H.setAttribute("type","text/partytown"),H.setAttribute("data-nscript",_),G&&f(G),document.body.appendChild(H)};function m(C){const{strategy:N="afterInteractive"}=C;N==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))}):k(C)}function x(C){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(C)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))})}function v(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(N=>{const L=N.id||N.getAttribute("src");y.add(L)})}function w(C){C.forEach(m),v()}function b(C){const{id:N,src:L="",onLoad:A=()=>{},onReady:I=null,strategy:q="afterInteractive",onError:P,stylesheets:_,...T}=C,{updateScripts:G,scripts:W,getIsSsr:B,appDir:H,nonce:O}=(0,l.useContext)(d.HeadManagerContext),K=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const ee=N||L;K.current||(I&&ee&&y.has(ee)&&I(),K.current=!0)},[I,N,L]);const ce=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{ce.current||(q==="afterInteractive"?k(C):q==="lazyOnload"&&x(C),ce.current=!0)},[C,q]),(q==="beforeInteractive"||q==="worker")&&(G?(W[q]=(W[q]||[]).concat([{id:N,src:L,onLoad:A,onReady:I,onError:P,...T}]),G(W)):B&&B()?y.add(N||L):B&&!B()&&k(C)),H){if(_&&_.forEach(ee=>{c.default.preinit(ee,{as:"style"})}),q==="beforeInteractive")return L?(c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin}),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{...T,id:N}])+")"}})):(T.dangerouslySetInnerHTML&&(T.children=T.dangerouslySetInnerHTML.__html,delete T.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...T,id:N}])+")"}}));q==="afterInteractive"&&L&&c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});const M=b;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)})(QC,QC.exports);var qE=QC.exports,DE=qE;const zE=gR(DE),FE=`
|
|
7809
|
+
`,children:[a.jsx("span",{children:y.name}),a.jsx("span",{className:"text-xs text-gray-500",children:y.courseCount})]},y.id)})})]},h.id)})})]})},fL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:l=!0,categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y})=>{const[f,k]=S.useState(!1),m=[{value:"relevance",label:"Most Relevant"},{value:"price-low-high",label:"Price: Low to High"},{value:"price-high-low",label:"Price: High to Low"},{value:"rating",label:"Highest Rated"},{value:"newest",label:"Newest"},{value:"most-enrolled",label:"Most Enrolled"}],x=["English","Spanish","French","German","Multiple"],v=["Lifetime Access","Certificate","Mobile Access","Expert Support"],w=C=>{const I=t.languages.includes(C)?t.languages.filter(L=>L!==C):[...t.languages,C];r({...t,languages:I})},M=C=>{const I=t.features.includes(C)?t.features.filter(L=>L!==C):[...t.features,C];r({...t,features:I})},b=t.levels.length>0||t.languages.length>0||t.features.length>0||t.rating>0||t.priceRange[0]>0||t.priceRange[1]<2e3;return a.jsxs("div",{className:"course-filters bg-white rounded-lg shadow-sm border border-gray-200",children:[a.jsxs("div",{className:"hidden lg:block p-4 border-b border-gray-200",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(ws,{className:"w-5 h-5 text-gray-600 mr-2"}),a.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Filters"}),b&&a.jsx("span",{className:"ml-2 px-2 py-1 bg-yellow-100 text-indigo-800 text-xs rounded-full",children:"Active"})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[b&&a.jsx("button",{onClick:o,className:"text-sm text-indigo-600 hover:text-indigo-800",children:"Clear All"}),a.jsx("button",{onClick:()=>k(!f),className:"lg:hidden p-1 rounded-md hover:bg-gray-100",children:a.jsx(Hi,{className:`w-4 h-4 transition-transform ${f?"rotate-180":""}`})})]})]}),a.jsxs("p",{className:"text-sm text-gray-600 mt-2",children:["Showing ",c," of ",i," courses"]})]}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("label",{htmlFor:"sort-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Sort by"}),a.jsx("select",{id:"sort-select",value:e,onChange:C=>n(C.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-yellow--500 focus:border-yellow--500",children:m.map(C=>a.jsx("option",{value:C.value,children:C.label},C.value))})]}),a.jsxs("div",{className:"block",children:[a.jsx(jE,{categories:d,selectedCategory:h,selectedSubcategory:u,onCategorySelect:p,onSubcategorySelect:y}),a.jsxs("div",{className:"p-4 border-b border-gray-200",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Language"}),a.jsx("div",{className:"space-y-2",children:x.map(C=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.languages.includes(C),onChange:()=>w(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-3",children:"Features"}),a.jsx("div",{className:"space-y-2",children:v.map(C=>a.jsxs("label",{className:"flex items-center",children:[a.jsx("input",{type:"checkbox",checked:t.features.includes(C),onChange:()=>M(C),className:"mr-2 text-indigo-600 focus:ring-yellow--500 rounded"}),a.jsx("span",{className:"text-sm text-gray-700",children:C})]},C))})]})]})]})},SE=({isOpen:t,onClose:e,title:r="Filters",children:n})=>t?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-75 z-40",onClick:e}),a.jsxs("div",{className:"fixed inset-y-0 right-0 max-w-xs w-full bg-white shadow-xl z-50 overflow-y-auto",children:[a.jsxs("div",{className:"px-4 py-2 border-b border-gray-200 flex items-center justify-between",children:[a.jsx("h2",{className:"text-lg font-semibold text-gray-900",children:r}),a.jsx("button",{onClick:e,className:"p-2 rounded-full hover:bg-gray-100","aria-label":"Close filters",children:a.jsx("svg",{className:"h-6 w-6 text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),a.jsx("div",{className:"p-4",children:n})]})]}):null,xL=({filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p,isMobileFilterOpen:y,toggleMobileFilter:f,enableMobileFilter:k,showFilterName:m=!0,isMobile:x=!1})=>a.jsxs("aside",{className:x?"lg:w-1/4 space-y-6":"w-full space-y-6",children:[k&&a.jsx("button",{className:"block md:hidden flex items-center justify-center p-3 bg-white border-2 border-gray-200 text-gray-700 rounded-xl hover:border-gray-300 hover:bg-gray-50 transition-all duration-200 focus:ring-4 focus:ring-gray-200 focus:outline-none hover:scale-105",onClick:f,"aria-expanded":y,children:a.jsx(Za,{className:"w-4 h-4 flex justify-center items-center"})}),a.jsx("div",{className:"hidden md:block",children:a.jsx(fL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})}),a.jsx(SE,{isOpen:y,onClose:f,title:"Filters",children:a.jsx(fL,{filters:t,sortBy:e,onFiltersChange:r,onSortChange:n,onClearFilters:o,totalCourses:i,filteredCourses:c,showFilterName:m,categories:l,selectedCategory:d,selectedSubcategory:h,onCategorySelect:u,onSubcategorySelect:p})})]}),LE=({course:t,isFavorite:e,onToggleFavorite:r,onEnroll:n,userAccess:o})=>{const[i,c]=S.useState(!1),l=(p,y)=>new Intl.NumberFormat("en-EU",{style:"currency",currency:y}).format(p),d=p=>p>=1e3?`${(p/1e3).toFixed(1)}k`:p.toString(),h=o.allowSaving,u=o.maskExternalLinks;return a.jsxs("div",{className:"course-card bg-white rounded-lg shadow-sm border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow duration-300",children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:t.thumbnail||"/placeholder.svg",alt:t.title,className:`w-full h-48 object-cover transition-opacity duration-300 ${i?"opacity-100":"opacity-0"}`,onLoad:()=>c(!0)}),!i&&a.jsx("div",{className:"absolute inset-0 bg-gray-200 animate-pulse flex items-center justify-center",children:a.jsx(Ft,{className:"w-12 h-12 text-gray-400"})}),a.jsxs("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1",children:[t.isBestseller&&a.jsx("span",{className:"px-2 py-1 bg-orange-500 text-white text-xs font-semibold rounded",children:"Bestseller"}),t.isNew&&a.jsx("span",{className:"px-2 py-1 bg-green-500 text-white text-xs font-semibold rounded",children:"New"}),t.isFeatured&&a.jsx("span",{className:"px-2 py-1 bg-yellow-500 text-white text-xs font-semibold rounded",children:"Featured"})]}),a.jsx("button",{onClick:()=>r(t.id),className:`absolute top-3 right-3 p-2 rounded-full transition-colors ${e?"bg-red-500 text-white":"bg-white text-gray-600 hover:bg-gray-100"} ${h?"":"opacity-60 cursor-not-allowed"}`,"aria-label":e?"Remove from favorites":"Add to favorites",disabled:!h,title:h?void 0:"Sign in to save courses",children:a.jsx(Cs,{className:`w-4 h-4 ${e?"fill-current":""}`})})]}),a.jsxs("div",{className:"p-4",children:[a.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2 line-clamp-2",children:t.title}),a.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[a.jsx("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2.5 py-0.5 text-xs font-medium text-gray-700",children:Dj[o.status]}),o.note&&a.jsx("span",{className:"text-xs text-gray-500",children:o.note})]}),a.jsxs("p",{className:"text-sm text-gray-600 mb-2",children:["By ",t.instructor]}),a.jsx("p",{className:"text-sm text-gray-700 mb-3 line-clamp-2",children:t.description}),a.jsxs("div",{className:"flex items-center mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(qt,{className:"w-4 h-4 text-yellow-400 fill-current"}),a.jsx("span",{className:"ml-1 text-sm font-medium text-gray-900",children:t.rating})]}),typeof t.reviewCount=="number"&&a.jsxs("span",{className:"ml-2 text-sm text-gray-500",children:["(",t.reviewCount.toLocaleString()," reviews)"]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-600 mb-3",children:[a.jsxs("div",{className:"flex items-center",children:[a.jsx(Zt,{className:"w-4 h-4 mr-1"}),a.jsx("span",{children:t.duration})]}),a.jsxs("div",{className:"flex items-center",children:[a.jsx(La,{className:"w-4 h-4 mr-1"}),typeof t.enrollmentCount=="number"&&a.jsxs("span",{children:[d(t.enrollmentCount)," students"]})]})]}),a.jsxs("div",{className:"flex items-center justify-between text-sm mb-4",children:[a.jsx("span",{className:`px-2 py-1 rounded text-xs font-medium ${t.level==="Beginner"?"bg-green-100 text-green-800":t.level==="Intermediate"?"bg-yellow-100 text-yellow-800":"bg-red-100 text-red-800"}`,children:t.level}),t.certificate&&a.jsxs("div",{className:"flex items-center text-indigo-600",children:[a.jsx(Ca,{className:"w-4 h-4 mr-1"}),a.jsx("span",{className:"text-xs",children:"Certificate"})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center",children:[typeof t.price=="number"&&t.currency&&a.jsx("span",{className:"text-xl font-bold text-gray-900",children:l(t.price,t.currency)}),typeof t.originalPrice=="number"&&!isNaN(t.originalPrice)&&a.jsx("span",{className:"ml-2 text-sm text-gray-500 line-through",children:l(t.originalPrice,t.currency)})]}),u?a.jsx("button",{className:"px-4 py-2 bg-gray-200 text-gray-600 text-sm font-medium rounded-lg cursor-not-allowed","aria-label":"Sign in to enroll",children:"Sign in to enroll"}):a.jsx("button",{onClick:()=>n(t.id),className:"px-4 py-2 bg-yellow-600 text-white text-sm font-medium rounded-lg hover:bg-yellow-700 transition-colors",children:"Enroll Now"})]})]})]})},IE=({processedCourses:t,favorites:e,handleToggleFavorite:r,handleEnroll:n,itemsPerPage:o=9,handleClearFilters:i,currentPage:c=1,setCurrentPage:l=()=>{},viewMode:d="grid",userAccess:h})=>{const u=Math.ceil(t.length/o),p=t.slice((c-1)*o,c*o),y=S.useRef(null),f=k=>{l(k),setTimeout(()=>{var m;(m=y.current)==null||m.scrollIntoView({behavior:"smooth",block:"start"})},100)};return t.length>0?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:d==="grid"?"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6":"space-y-6",children:p.map((k,m)=>a.jsx("div",{ref:m===0?y:null,children:a.jsx(LE,{course:k,isFavorite:e.has(k.id),onToggleFavorite:r,onEnroll:n,userAccess:h},`${k.id}-${k.title}`)},k.id))}),u>1&&a.jsx("div",{className:"mt-8 flex justify-center",children:a.jsx(Bj,{currentPage:c,totalPages:u,onPageChange:f})})]}):a.jsxs("div",{className:"text-center py-12",children:[a.jsx(Ft,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),a.jsx("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"No courses found"}),a.jsx("p",{className:"text-gray-600 mb-4",children:"Try adjusting your search criteria or filters to find more courses."}),a.jsx("button",{onClick:i,className:"px-4 py-2 bg-yellow-600 text-white rounded-lg hover:bg-yellow-700 transition-colors",children:"Clear All Filters"})]})},NE=({apiUrl:t,enableMobileFilter:e=!0,itemsPerPage:r=9,userAccess:n,onEmitEvent:o,eventContext:i})=>{const[c,l]=S.useState([]),[d,h]=S.useState([]),[u,p]=S.useState(new Set),[y,f]=S.useState(""),[k,m]=S.useState(""),[x,v]=S.useState("relevance"),[w,M]=S.useState(!1),[b,C]=S.useState(1),[I,L]=S.useState(!1),[A,N]=S.useState(!1),[q,P]=S.useState(!0),[_,T]=S.useState(""),[$,G]=S.useState([]),[B,V]=S.useState([]),[O,K]=S.useState("grid"),[se,Q]=S.useState(r),[Y,te]=S.useState({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),ae=_9(n),he=S.useMemo(()=>({component:"IGamingCoursePage",...i??{}}),[i]),ke=S.useRef(!1),W=S.useMemo(()=>{let z=[...d];switch(y&&(z=z.filter(E=>le(E.category)===y)),k&&(z=z.filter(E=>le(E.subcategory)===k)),Y.levels.length>0&&(z=z.filter(E=>Y.levels.includes(E.level))),Y.languages.length>0&&(z=z.filter(E=>Y.languages.includes(E.language))),Y.features.length>0&&(z=z.filter(E=>Y.features.some(ee=>E.features.includes(ee)))),Y.rating>0&&(z=z.filter(E=>E.rating>=Y.rating)),w&&(z=z.filter(E=>u.has(E.id))),x){case"price-low-high":z.sort((E,ee)=>E.price-ee.price);break;case"price-high-low":z.sort((E,ee)=>ee.price-E.price);break;case"rating":z.sort((E,ee)=>ee.rating-E.rating);break;case"newest":z.sort((E,ee)=>new Date(ee.lastUpdated).getTime()-new Date(E.lastUpdated).getTime());break;case"most-enrolled":z.sort((E,ee)=>ee.enrollmentCount-E.enrollmentCount);break;default:z.sort((E,ee)=>E.isFeatured&&!ee.isFeatured?-1:!E.isFeatured&&ee.isFeatured?1:E.isBestseller&&!ee.isBestseller?-1:!E.isBestseller&&ee.isBestseller?1:ee.rating-E.rating)}return z},[d,y,k,Y,u,w,x]),J=S.useCallback((z,E)=>{o&&o({domain:"courses",name:z,payload:E,timestamp:new Date().toISOString(),context:he})},[he,o]),ne=S.useCallback(()=>({category:y||void 0,subcategory:k||void 0,levels:Y.levels,languages:Y.languages,features:Y.features,rating:Y.rating,priceRange:Y.priceRange,favoritesOnly:w}),[Y.features,Y.languages,Y.levels,Y.priceRange,Y.rating,y,k,w]),ce=S.useCallback(()=>({page:b,pageSize:se,totalResults:W.length,sortBy:x,viewMode:O}),[b,W.length,se,x,O]),me=()=>{K(z=>{const E=z==="grid"?"list":"grid";return J("courses_listing_viewmode_changed",{viewMode:E}),E})},le=z=>(z??"").trim().toLowerCase().replace(/\s+/g,"-"),ze=S.useMemo(()=>{const z=new Map;return c.forEach(E=>{const ee=E.category,ve=E.subcategory,Pe=le(ee),_e=le(ve);if(!Pe)return;z.has(Pe)||z.set(Pe,new Map);const Ve=z.get(Pe);_e&&Ve.set(_e,(Ve.get(_e)??0)+1)}),Array.from(z.entries()).map(([E,ee])=>({id:E,name:E.replace(/-/g," ").replace(/\b\w/g,ve=>ve.toUpperCase()),icon:"🎯",subcategories:Array.from(ee.entries()).map(([ve,Pe])=>({id:ve,name:ve.replace(/-/g," ").replace(/\b\w/g,_e=>_e.toUpperCase()),courseCount:Pe}))}))},[c]),Se=z=>{Q(z),C(1),J("courses_listing_items_per_page_changed",{pageSize:z})},We=z=>{const E=ee=>ee.slice().sort().join("|");return E(z.categories)!==E(Y.categories)?"category":E(z.subcategories)!==E(Y.subcategories)?"subcategory":E(z.levels)!==E(Y.levels)?"levels":E(z.languages)!==E(Y.languages)?"languages":E(z.features)!==E(Y.features)?"features":z.rating!==Y.rating?"rating":z.priceRange[0]!==Y.priceRange[0]||z.priceRange[1]!==Y.priceRange[1]?"priceRange":"features"},rt=z=>{te(z);const E={category:y||void 0,subcategory:k||void 0,levels:z.levels,languages:z.languages,features:z.features,rating:z.rating,priceRange:z.priceRange,favoritesOnly:w};J("courses_filter_changed",{changedKey:We(z),...E})};S.useEffect(()=>{(async()=>{try{if(!t){l(c1),h(c1),P(!1);return}P(!0);const E=await fetch(t);if(!E.ok)throw new Error(`Failed to fetch courses from ${t}`);const ee=await E.json();l(ee),h(ee);const Pe=ee.map(Ve=>Oj(Ve.title||"")).filter(Ve=>!!Ve).reduce((Ve,Ut)=>(Ve[Ut]=(Ve[Ut]||0)+1,Ve),{}),_e=Object.entries(Pe).sort((Ve,Ut)=>Ut[1]-Ve[1]).slice(0,10).map(([Ve])=>Ve);G(_e)}catch(E){console.error("[Courses] Error loading data:",E),l(c1),h(c1)}finally{P(!1)}})()},[t]),S.useEffect(()=>{var ee;const E=(ee=new URLSearchParams(window.location.search).get("q"))==null?void 0:ee.trim();if(E){T(E);const ve=c.filter(Pe=>{var _e;return Pe.title.toLowerCase().includes(E.toLowerCase())||((_e=Pe.description)==null?void 0:_e.toLowerCase().includes(E.toLowerCase()))});h(ve)}},[c]),S.useEffect(()=>{const z=localStorage.getItem("course-favorites");z&&p(new Set(JSON.parse(z)))},[]),S.useEffect(()=>{localStorage.setItem("course-favorites",JSON.stringify(Array.from(u)))},[u]);const it=z=>{ae.allowSaving&&p(E=>{const ee=new Set(E),ve=ee.has(z);return ve?ee.delete(z):ee.add(z),J(ve?"course_unfavorited":"course_favorited",{courseId:z}),ee})},Pt=z=>{if(ae.maskExternalLinks)return;const E=c.find(ee=>ee.id===z);E!=null&&E.link&&(J("course_enroll_clicked",{courseId:z}),J("course_opened",{courseId:z,openedFrom:"listing",openedIn:"new_tab"}),window.open(E.link,"_blank","noopener,noreferrer"))};S.useEffect(()=>{ke.current||q||!W.length&&!c.length||(J("courses_listing_viewed",{...ne(),...ce()}),ke.current=!0)},[c.length,J,W.length,ne,ce,q]);const Fe=z=>{const E=le(z);f(E===y?"":E),m(""),J("courses_category_selected",{category:E===y?null:E}),J("courses_filter_changed",{changedKey:"category",...ne()})},Ze=z=>{const E=le(z);m(E===k?"":E),J("courses_subcategory_selected",{subcategory:E===k?null:E}),J("courses_filter_changed",{changedKey:"subcategory",...ne()})},Ke=()=>{te({categories:[],subcategories:[],priceRange:[0,2e3],levels:[],languages:[],features:[],rating:0}),f(""),m(""),M(!1),T(""),h(c),J("courses_filters_cleared_all",{})},Bt=()=>{L(!I)},Ra=z=>{C(z),J("courses_listing_page_changed",{page:z,pageSize:se,totalResults:W.length})},ma=W.length===0?0:(b-1)*se+1,pt=Math.min(b*se,W.length),Ae=z=>{if(T(z),!z){h(c),V([]);return}const E=c.filter(ve=>{var Pe;return ve.title.toLowerCase().includes(z.toLowerCase())||((Pe=ve.description)==null?void 0:Pe.toLowerCase().includes(z.toLowerCase()))});h(E);const ee=E.map(ve=>ve.title).filter((ve,Pe,_e)=>ve&&ve.toLowerCase().includes(z.toLowerCase())&&_e.indexOf(ve)===Pe).slice(0,5);V(ee),z.trim()&&J("courses_search_submitted",{query:z,...ne()})};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx(Ej,{onSearchChange:Ae,title:"Courses",description:"Browse and enroll in industry-relevant gaming courses",searchPlaceholder:"Search courses",popularTags:$,generateHref:z=>`/courses?q=${z.toLowerCase().replace(/\s+/g,"+")}`}),a.jsx(CE,{courses:c,onSearchResults:h}),a.jsxs("main",{className:"max-w-7xl mx-auto sm:px-6 lg:px-8 py-8",children:[a.jsx(Hj,{filters:[...y?[{key:"category",label:"Category",value:y.replace(/-/g," "),onRemove:()=>f("")}]:[],...k?[{key:"subcategory",label:"Subcategory",value:k.replace(/-/g," "),onRemove:()=>m("")}]:[],...Y.levels.map(z=>({key:"level",label:"",value:z,onRemove:()=>te(E=>({...E,levels:E.levels.filter(ee=>ee!==z)}))})),..._?[{key:"search",label:"Search",value:_,onRemove:()=>{T(""),h(c)}}]:[]],onClearAll:Ke}),a.jsxs("div",{className:"flex flex-col lg:flex-row gap-8",children:[a.jsx("div",{className:"block lg:hidden w-full",children:a.jsxs("div",{className:"relative flex items-center gap-2 sm:my-6 my-2",children:[a.jsx(Fj,{data:c.map(z=>z.title),onSelect:z=>{const E=c.filter(ee=>ee.title.toLowerCase().includes(z.toLowerCase()));h(E),T(z)},onTyping:z=>{N(!!z),z||(h(c),T(""))}}),a.jsx(xL,{sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Ke,totalCourses:c.length,filteredCourses:W.length,categories:ze,selectedCategory:y,selectedSubcategory:k,filters:Y,onCategorySelect:Fe,onSubcategorySelect:Ze,isMobileFilterOpen:I,toggleMobileFilter:Bt,enableMobileFilter:e,showFilterName:!A,isMobile:!0})]})}),a.jsx("div",{className:"hidden lg:block lg:w-1/4",children:a.jsx(xL,{filters:Y,sortBy:x,onFiltersChange:rt,onSortChange:v,onClearFilters:Ke,totalCourses:c.length,filteredCourses:W.length,categories:ze,selectedCategory:y,selectedSubcategory:k,onCategorySelect:Fe,onSubcategorySelect:Ze,isMobileFilterOpen:I,toggleMobileFilter:Bt,enableMobileFilter:e,showFilterName:!0})}),a.jsxs("div",{className:"lg:w-3/4",children:[a.jsx(Vj,{viewMode:O,onToggleViewMode:me,selectedItemsPerPage:se,onItemsPerPageChange:Se,totalCount:W.length,startIndex:ma,endIndex:pt,title:"All Courses"}),q?a.jsx(zj,{totalColumns:3}):a.jsx(IE,{processedCourses:W,favorites:u,handleToggleFavorite:it,handleClearFilters:Ke,itemsPerPage:se,handleEnroll:Pt,currentPage:b,setCurrentPage:Ra,viewMode:O,userAccess:ae})]})]})]})]})};var QC={exports:{}},tS={};function AE(t){return t&&t.__esModule?t:{default:t}}tS._=AE;var XA={};function JA(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(JA=function(n){return n?r:e})(t)}function PE(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=JA(e);if(r&&r.has(t))return r.get(t);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)){var c=o?Object.getOwnPropertyDescriptor(t,i):null;c&&(c.get||c.set)?Object.defineProperty(n,i,c):n[i]=t[i]}return n.default=t,r&&r.set(t,n),n}XA._=PE;var SC={},kL;function _E(){return kL||(kL=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});const n=tS._(S).default.createContext({});process.env.NODE_ENV!=="production"&&(n.displayName="HeadManagerContext")}(SC)),SC}var l1={exports:{}},gL;function RE(){return gL||(gL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});const r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(c){return["async","defer","noModule"].includes(c)}function i(c,l){for(const[d,h]of Object.entries(l)){if(!l.hasOwnProperty(d)||n.includes(d)||h===void 0)continue;const u=r[d]||d.toLowerCase();c.tagName==="SCRIPT"&&o(u)?c[u]=!!h:c.setAttribute(u,String(h)),(h===!1||c.tagName==="SCRIPT"&&o(u)&&(!h||h==="false"))&&(c.setAttribute(u,""),c.removeAttribute(u))}}(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(l1,l1.exports)),l1.exports}var d1={exports:{}},vL;function TE(){return vL||(vL=1,function(t,e){Object.defineProperty(e,"__esModule",{value:!0});function r(i,c){for(var l in c)Object.defineProperty(i,l,{enumerable:!0,get:c[l]})}r(e,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}});const n=typeof self<"u"&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(i){let c=Date.now();return self.setTimeout(function(){i({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-c))}})},1)},o=typeof self<"u"&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(i){return clearTimeout(i)};(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)}(d1,d1.exports)),d1.exports}(function(t,e){"use client";Object.defineProperty(e,"__esModule",{value:!0});function r(C,I){for(var L in I)Object.defineProperty(C,L,{enumerable:!0,get:I[L]})}r(e,{default:function(){return b},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return w}});const n=tS,o=XA,i=a,c=n._(lj),l=o._(S),d=_E(),h=RE(),u=TE(),p=new Map,y=new Set,f=C=>{if(c.default.preinit){C.forEach(I=>{c.default.preinit(I,{as:"style"})});return}if(typeof window<"u"){let I=document.head;C.forEach(L=>{let A=document.createElement("link");A.type="text/css",A.rel="stylesheet",A.href=L,I.appendChild(A)})}},k=C=>{const{src:I,id:L,onLoad:A=()=>{},onReady:N=null,dangerouslySetInnerHTML:q,children:P="",strategy:_="afterInteractive",onError:T,stylesheets:$}=C,G=L||I;if(G&&y.has(G))return;if(p.has(I)){y.add(G),p.get(I).then(A,T);return}const B=()=>{N&&N(),y.add(G)},V=document.createElement("script"),O=new Promise((K,se)=>{V.addEventListener("load",function(Q){K(),A&&A.call(this,Q),B()}),V.addEventListener("error",function(Q){se(Q)})}).catch(function(K){T&&T(K)});q?(V.innerHTML=q.__html||"",B()):P?(V.textContent=typeof P=="string"?P:Array.isArray(P)?P.join(""):"",B()):I&&(V.src=I,p.set(I,O)),(0,h.setAttributesFromProps)(V,C),_==="worker"&&V.setAttribute("type","text/partytown"),V.setAttribute("data-nscript",_),$&&f($),document.body.appendChild(V)};function m(C){const{strategy:I="afterInteractive"}=C;I==="lazyOnload"?window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))}):k(C)}function x(C){document.readyState==="complete"?(0,u.requestIdleCallback)(()=>k(C)):window.addEventListener("load",()=>{(0,u.requestIdleCallback)(()=>k(C))})}function v(){[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(I=>{const L=I.id||I.getAttribute("src");y.add(L)})}function w(C){C.forEach(m),v()}function M(C){const{id:I,src:L="",onLoad:A=()=>{},onReady:N=null,strategy:q="afterInteractive",onError:P,stylesheets:_,...T}=C,{updateScripts:$,scripts:G,getIsSsr:B,appDir:V,nonce:O}=(0,l.useContext)(d.HeadManagerContext),K=(0,l.useRef)(!1);(0,l.useEffect)(()=>{const Q=I||L;K.current||(N&&Q&&y.has(Q)&&N(),K.current=!0)},[N,I,L]);const se=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{se.current||(q==="afterInteractive"?k(C):q==="lazyOnload"&&x(C),se.current=!0)},[C,q]),(q==="beforeInteractive"||q==="worker")&&($?(G[q]=(G[q]||[]).concat([{id:I,src:L,onLoad:A,onReady:N,onError:P,...T}]),$(G)):B&&B()?y.add(I||L):B&&!B()&&k(C)),V){if(_&&_.forEach(Q=>{c.default.preinit(Q,{as:"style"})}),q==="beforeInteractive")return L?(c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin}),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([L,{...T,id:I}])+")"}})):(T.dangerouslySetInnerHTML&&(T.children=T.dangerouslySetInnerHTML.__html,delete T.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:O,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...T,id:I}])+")"}}));q==="afterInteractive"&&L&&c.default.preload(L,T.integrity?{as:"script",integrity:T.integrity,nonce:O,crossOrigin:T.crossOrigin}:{as:"script",nonce:O,crossOrigin:T.crossOrigin})}return null}Object.defineProperty(M,"__nextScript",{value:!0});const b=M;(typeof e.default=="function"||typeof e.default=="object"&&e.default!==null)&&typeof e.default.__esModule>"u"&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)})(QC,QC.exports);var qE=QC.exports,DE=qE;const zE=gR(DE),FE=`
|
|
7810
7810
|
window.dataLayer = window.dataLayer || [];
|
|
7811
7811
|
window.dataLayer.push({ event: 'consent_granted' });
|
|
7812
7812
|
// gtag('consent', 'update', { ad_storage: 'granted', analytics_storage: 'granted' });
|
|
7813
|
-
`;function EE({allow:t="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=FE}){return a.jsx(TD,{allow:t,children:a.jsx(zE,{id:e,strategy:r,children:n})})}function wL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function OE(...t){return e=>{let r=!1;const n=t.map(o=>{const i=wL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():wL(t[o],null)}}}}function aS(...t){return g.useCallback(OE(...t),t)}function HE(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,VE(o,...e)]}function VE(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function ML(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var ej=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},BE=g[" useInsertionEffect ".trim().toString()]||ej;function UE({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=$E({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=GE(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function $E({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return BE(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function GE(t){return typeof t=="function"}function rS(t){const e=g.useRef({value:t,previous:t});return g.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var WE=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{};function nS(t){const[e,r]=g.useState(void 0);return WE(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let c,l;if("borderBoxSize"in i){const d=i.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=t.offsetWidth,l=t.offsetHeight;r({width:c,height:l})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}function ZE(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var YA=t=>{const{present:e,children:r}=t,n=XE(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=aS(n.ref,JE(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};YA.displayName="Presence";function XE(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=ZE(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=h1(n.current);i.current=l==="mounted"?h:"none"},[l]),ej(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=h1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),ej(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=h1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=h1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function h1(t){return(t==null?void 0:t.animationName)||"none"}function JE(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var YE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oS=YE.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),V9="Checkbox",[KE,hU]=HE(V9),[QE,iS]=KE(V9);function eO(t){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:o,disabled:i,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=t,[y,f]=UE({prop:r,defaultProp:o??!1,onChange:d,caller:V9}),[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useRef(!1),b=k?!!c||!!k.closest("form"):!0,M={checked:y,disabled:i,setChecked:f,control:k,setControl:m,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:Ya(o)?!1:o,isFormControl:b,bubbleInput:x,setBubbleInput:v};return a.jsx(QE,{scope:e,...M,children:tO(p)?p(M):n})}var KA="CheckboxTrigger",QA=g.forwardRef(({__scopeCheckbox:t,onKeyDown:e,onClick:r,...n},o)=>{const{control:i,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:y,isFormControl:f,bubbleInput:k}=iS(KA,t),m=aS(o,u),x=g.useRef(d);return g.useEffect(()=>{const v=i==null?void 0:i.form;if(v){const w=()=>p(x.current);return v.addEventListener("reset",w),()=>v.removeEventListener("reset",w)}},[i,p]),a.jsx(oS.button,{type:"button",role:"checkbox","aria-checked":Ya(d)?"mixed":d,"aria-required":h,"data-state":nP(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:m,onKeyDown:ML(e,v=>{v.key==="Enter"&&v.preventDefault()}),onClick:ML(r,v=>{p(w=>Ya(w)?!0:!w),k&&f&&(y.current=v.isPropagationStopped(),y.current||v.stopPropagation())})})});QA.displayName=KA;var sS=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=t;return a.jsx(eO,{__scopeCheckbox:r,checked:o,defaultChecked:i,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:y})=>a.jsxs(a.Fragment,{children:[a.jsx(QA,{...p,ref:e,__scopeCheckbox:r}),y&&a.jsx(rP,{__scopeCheckbox:r})]})})});sS.displayName=V9;var eP="CheckboxIndicator",tP=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,forceMount:n,...o}=t,i=iS(eP,r);return a.jsx(YA,{present:n||Ya(i.checked)||i.checked===!0,children:a.jsx(oS.span,{"data-state":nP(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:e,style:{pointerEvents:"none",...t.style}})})});tP.displayName=eP;var aP="CheckboxBubbleInput",rP=g.forwardRef(({__scopeCheckbox:t,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:i,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:y,setBubbleInput:f}=iS(aP,t),k=aS(r,f),m=rS(i),x=nS(n);g.useEffect(()=>{const w=y;if(!w)return;const b=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(b,"checked").set,N=!o.current;if(m!==i&&C){const L=new Event("click",{bubbles:N});w.indeterminate=Ya(i),C.call(w,Ya(i)?!1:i),w.dispatchEvent(L)}},[y,m,i,o]);const v=g.useRef(Ya(i)?!1:i);return a.jsx(oS.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??v.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});rP.displayName=aP;function tO(t){return typeof t=="function"}function Ya(t){return t==="indeterminate"}function nP(t){return Ya(t)?"indeterminate":t?"checked":"unchecked"}const cS=g.forwardRef(({className:t,...e},r)=>a.jsx(sS,{ref:r,className:se("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:a.jsx(tP,{className:se("flex items-center justify-center text-current"),children:a.jsx(vs,{className:"h-4 w-4"})})}));cS.displayName=sS.displayName;const aO=S9("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),B9=g.forwardRef(({className:t,variant:e,...r},n)=>a.jsx("div",{ref:n,role:"alert",className:se(aO({variant:e}),t),...r}));B9.displayName="Alert";const rO=g.forwardRef(({className:t,...e},r)=>a.jsx("h5",{ref:r,className:se("mb-1 font-medium leading-none tracking-tight",t),...e}));rO.displayName="AlertTitle";const U9=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:se("text-sm [&_p]:leading-relaxed",t),...e}));U9.displayName="AlertDescription";function nO({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o,title:i="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=S.useState(""),[p,y]=S.useState(""),[f,k]=S.useState(!1),m=x=>{x.preventDefault(),t(h,p,f)};return a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx(De,{className:"text-2xl font-bold",children:i}),a.jsx(Ue,{children:c})]}),a.jsxs("form",{onSubmit:m,children:[a.jsxs(we,{className:"space-y-4",children:[o&&a.jsxs(B9,{variant:"destructive",children:[a.jsx(Tt,{className:"h-4 w-4"}),a.jsx(U9,{children:o})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"identifier",children:l}),a.jsxs("div",{className:"relative",children:[a.jsx(ca,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"password",children:"Password"}),a.jsxs("div",{className:"relative",children:[a.jsx(wc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>y(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(cS,{id:"remember",checked:f,onCheckedChange:x=>k(x),disabled:n}),a.jsx(ye,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&a.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const oO=({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),a.jsx(nO,{onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:o,identifierLabel:l,identifierPlaceholder:d})]})});function iO({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o,title:i="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=S.useState({}),[h,u]=S.useState(""),p=(f,k)=>d(m=>({...m,[f]:k})),y=f=>{if(f.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}t(l)};return a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx(De,{className:"text-2xl font-bold",children:i}),a.jsx(Ue,{children:c})]}),a.jsxs("form",{onSubmit:y,children:[a.jsxs(we,{className:"space-y-4",children:[(o||h)&&a.jsxs(B9,{variant:"destructive",children:[a.jsx(Tt,{className:"h-4 w-4"}),a.jsx(U9,{children:o||h})]}),e.map(f=>a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:f.name,children:f.label}),a.jsx(Ye,{id:f.name,type:f.type||"text",placeholder:f.placeholder,required:f.required,disabled:n,value:l[f.name]||"",onChange:k=>p(f.name,k.target.value)})]},f.name))]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const sO=({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),a.jsx(iO,{onSubmit:t,fields:e,onLoginClick:r,isLoading:n,error:o,title:l,description:d})]})});function cO({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n,success:o=!1,title:i="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=S.useState(""),u=p=>{p.preventDefault(),t(d)};return o?a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx("div",{className:"flex items-center justify-center mb-4",children:a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:a.jsx(bt,{className:"h-6 w-6 text-green-600"})})}),a.jsx(De,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),a.jsx(Ue,{className:"text-center",children:l})]}),a.jsx(Fs,{className:"flex flex-col space-y-4",children:e&&a.jsxs($,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[a.jsx(Oi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):a.jsxs(ve,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx(De,{className:"text-2xl font-bold",children:i}),a.jsx(Ue,{children:c})]}),a.jsxs("form",{onSubmit:u,children:[a.jsxs(we,{className:"space-y-4",children:[n&&a.jsxs(B9,{variant:"destructive",children:[a.jsx(Tt,{className:"h-4 w-4"}),a.jsx(U9,{children:n})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email Address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ca,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx($,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&a.jsxs($,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[a.jsx(Oi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const lO=({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n="",success:o=!1,appName:i="Your App",logo:c})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),a.jsx(cO,{onSubmit:t,onBackToLogin:e,isLoading:r,error:n,success:o})]})});function bL(t,[e,r]){return Math.min(r,Math.max(e,t))}function nt(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function oP(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,dO(o,...e)]}function dO(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function CL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function hO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=CL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():CL(t[o],null)}}}}function Vt(...t){return g.useCallback(hO(...t),t)}function uO(t){const e=t+"CollectionProvider",[r,n]=oP(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:x,children:v}=m,w=S.useRef(null),b=S.useRef(new Map).current;return a.jsx(o,{scope:x,itemMap:b,collectionRef:w,children:v})};c.displayName=e;const l=t+"CollectionSlot",d=tt(l),h=S.forwardRef((m,x)=>{const{scope:v,children:w}=m,b=i(l,v),M=Vt(x,b.collectionRef);return a.jsx(d,{ref:M,children:w})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",y=tt(u),f=S.forwardRef((m,x)=>{const{scope:v,children:w,...b}=m,M=S.useRef(null),C=Vt(x,M),N=i(u,v);return S.useEffect(()=>(N.itemMap.set(M,{ref:M,...b}),()=>void N.itemMap.delete(M))),a.jsx(y,{[p]:"",ref:C,children:w})});f.displayName=u;function k(m){const x=i(t+"CollectionConsumer",m);return S.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const b=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((N,L)=>b.indexOf(N.ref.current)-b.indexOf(L.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:f},k,n]}var pO=g.createContext(void 0);function yO(t){const e=g.useContext(pO);return t||e||"ltr"}var ua=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},mO=g[" useId ".trim().toString()]||(()=>{}),fO=0;function lS(t){const[e,r]=g.useState(mO());return ua(()=>{r(n=>n??String(fO++))},[t]),e?`radix-${e}`:""}const xO=["top","right","bottom","left"],er=Math.min,Ct=Math.max,k9=Math.round,u1=Math.floor,da=t=>({x:t,y:t}),kO={left:"right",right:"left",bottom:"top",top:"bottom"},gO={start:"end",end:"start"};function tj(t,e,r){return Ct(t,er(e,r))}function Aa(t,e){return typeof t=="function"?t(e):t}function Pa(t){return t.split("-")[0]}function Js(t){return t.split("-")[1]}function dS(t){return t==="x"?"y":"x"}function hS(t){return t==="y"?"height":"width"}const vO=new Set(["top","bottom"]);function ia(t){return vO.has(Pa(t))?"y":"x"}function uS(t){return dS(ia(t))}function wO(t,e,r){r===void 0&&(r=!1);const n=Js(t),o=uS(t),i=hS(o);let c=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=g9(c)),[c,g9(c)]}function MO(t){const e=g9(t);return[aj(t),e,aj(e)]}function aj(t){return t.replace(/start|end/g,e=>gO[e])}const jL=["left","right"],SL=["right","left"],bO=["top","bottom"],CO=["bottom","top"];function jO(t,e,r){switch(t){case"top":case"bottom":return r?e?SL:jL:e?jL:SL;case"left":case"right":return e?bO:CO;default:return[]}}function SO(t,e,r,n){const o=Js(t);let i=jO(Pa(t),r==="start",n);return o&&(i=i.map(c=>c+"-"+o),e&&(i=i.concat(i.map(aj)))),i}function g9(t){return t.replace(/left|right|bottom|top/g,e=>kO[e])}function LO(t){return{top:0,right:0,bottom:0,left:0,...t}}function iP(t){return typeof t!="number"?LO(t):{top:t,right:t,bottom:t,left:t}}function v9(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function LL(t,e,r){let{reference:n,floating:o}=t;const i=ia(e),c=uS(e),l=hS(c),d=Pa(e),h=i==="y",u=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2,y=n[l]/2-o[l]/2;let f;switch(d){case"top":f={x:u,y:n.y-o.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:p};break;case"left":f={x:n.x-o.width,y:p};break;default:f={x:n.x,y:n.y}}switch(Js(e)){case"start":f[c]-=y*(r&&h?-1:1);break;case"end":f[c]+=y*(r&&h?-1:1);break}return f}const IO=async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:c}=r,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:p}=LL(h,n,d),y=n,f={},k=0;for(let m=0;m<l.length;m++){const{name:x,fn:v}=l[m],{x:w,y:b,data:M,reset:C}=await v({x:u,y:p,initialPlacement:n,placement:y,strategy:o,middlewareData:f,rects:h,platform:c,elements:{reference:t,floating:e}});u=w??u,p=b??p,f={...f,[x]:{...f[x],...M}},C&&k<=50&&(k++,typeof C=="object"&&(C.placement&&(y=C.placement),C.rects&&(h=C.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:o}):C.rects),{x:u,y:p}=LL(h,y,d)),m=-1)}return{x:u,y:p,placement:y,strategy:o,middlewareData:f}};async function $c(t,e){var r;e===void 0&&(e={});const{x:n,y:o,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=Aa(e,t),k=iP(f),x=l[y?p==="floating"?"reference":"floating":p],v=v9(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(x)))==null||r?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),M=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},C=v9(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:b,strategy:d}):w);return{top:(v.top-C.top+k.top)/M.y,bottom:(C.bottom-v.bottom+k.bottom)/M.y,left:(v.left-C.left+k.left)/M.x,right:(C.right-v.right+k.right)/M.x}}const NO=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:i,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Aa(t,e)||{};if(h==null)return{};const p=iP(u),y={x:r,y:n},f=uS(o),k=hS(f),m=await c.getDimensions(h),x=f==="y",v=x?"top":"left",w=x?"bottom":"right",b=x?"clientHeight":"clientWidth",M=i.reference[k]+i.reference[f]-y[f]-i.floating[k],C=y[f]-i.reference[f],N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=N?N[b]:0;(!L||!await(c.isElement==null?void 0:c.isElement(N)))&&(L=l.floating[b]||i.floating[k]);const A=M/2-C/2,I=L/2-m[k]/2-1,q=er(p[v],I),P=er(p[w],I),_=q,T=L-m[k]-P,G=L/2-m[k]/2+A,W=tj(_,G,T),B=!d.arrow&&Js(o)!=null&&G!==W&&i.reference[k]/2-(G<_?q:P)-m[k]/2<0,H=B?G<_?G-_:G-T:0;return{[f]:y[f]+H,data:{[f]:W,centerOffset:G-W-H,...B&&{alignmentOffset:H}},reset:B}}}),AO=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:i,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:m=!0,...x}=Aa(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const v=Pa(o),w=ia(l),b=Pa(l)===l,M=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=y||(b||!m?[g9(l)]:MO(l)),N=k!=="none";!y&&N&&C.push(...SO(l,m,k,M));const L=[l,...C],A=await $c(e,x),I=[];let q=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&I.push(A[v]),p){const G=wO(o,c,M);I.push(A[G[0]],A[G[1]])}if(q=[...q,{placement:o,overflows:I}],!I.every(G=>G<=0)){var P,_;const G=(((P=i.flip)==null?void 0:P.index)||0)+1,W=L[G];if(W&&(!(p==="alignment"?w!==ia(W):!1)||q.every(O=>ia(O.placement)===w?O.overflows[0]>0:!0)))return{data:{index:G,overflows:q},reset:{placement:W}};let B=(_=q.filter(H=>H.overflows[0]<=0).sort((H,O)=>H.overflows[1]-O.overflows[1])[0])==null?void 0:_.placement;if(!B)switch(f){case"bestFit":{var T;const H=(T=q.filter(O=>{if(N){const K=ia(O.placement);return K===w||K==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(K=>K>0).reduce((K,ce)=>K+ce,0)]).sort((O,K)=>O[1]-K[1])[0])==null?void 0:T[0];H&&(B=H);break}case"initialPlacement":B=l;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function IL(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function NL(t){return xO.some(e=>t[e]>=0)}const PO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=Aa(t,e);switch(n){case"referenceHidden":{const i=await $c(e,{...o,elementContext:"reference"}),c=IL(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:NL(c)}}}case"escaped":{const i=await $c(e,{...o,altBoundary:!0}),c=IL(i,r.floating);return{data:{escapedOffsets:c,escaped:NL(c)}}}default:return{}}}}},sP=new Set(["left","top"]);async function _O(t,e){const{placement:r,platform:n,elements:o}=t,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),c=Pa(r),l=Js(r),d=ia(r)==="y",h=sP.has(c)?-1:1,u=i&&d?-1:1,p=Aa(e,t);let{mainAxis:y,crossAxis:f,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(f=l==="end"?k*-1:k),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const RO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:i,placement:c,middlewareData:l}=e,d=await _O(e,t);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+d.x,y:i+d.y,data:{...d,placement:c}}}}},TO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:v,y:w}=x;return{x:v,y:w}}},...d}=Aa(t,e),h={x:r,y:n},u=await $c(e,d),p=ia(Pa(o)),y=dS(p);let f=h[y],k=h[p];if(i){const x=y==="y"?"top":"left",v=y==="y"?"bottom":"right",w=f+u[x],b=f-u[v];f=tj(w,f,b)}if(c){const x=p==="y"?"top":"left",v=p==="y"?"bottom":"right",w=k+u[x],b=k-u[v];k=tj(w,k,b)}const m=l.fn({...e,[y]:f,[p]:k});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[y]:i,[p]:c}}}}}},qO=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:o,rects:i,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Aa(t,e),u={x:r,y:n},p=ia(o),y=dS(p);let f=u[y],k=u[p];const m=Aa(l,e),x=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const b=y==="y"?"height":"width",M=i.reference[y]-i.floating[b]+x.mainAxis,C=i.reference[y]+i.reference[b]-x.mainAxis;f<M?f=M:f>C&&(f=C)}if(h){var v,w;const b=y==="y"?"width":"height",M=sP.has(Pa(o)),C=i.reference[p]-i.floating[b]+(M&&((v=c.offset)==null?void 0:v[p])||0)+(M?0:x.crossAxis),N=i.reference[p]+i.reference[b]+(M?0:((w=c.offset)==null?void 0:w[p])||0)-(M?x.crossAxis:0);k<C?k=C:k>N&&(k=N)}return{[y]:f,[p]:k}}}},DO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:o,rects:i,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Aa(t,e),u=await $c(e,h),p=Pa(o),y=Js(o),f=ia(o)==="y",{width:k,height:m}=i.floating;let x,v;p==="top"||p==="bottom"?(x=p,v=y===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(v=p,x=y==="end"?"top":"bottom");const w=m-u.top-u.bottom,b=k-u.left-u.right,M=er(m-u[x],w),C=er(k-u[v],b),N=!e.middlewareData.shift;let L=M,A=C;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(A=b),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(L=w),N&&!y){const q=Ct(u.left,0),P=Ct(u.right,0),_=Ct(u.top,0),T=Ct(u.bottom,0);f?A=k-2*(q!==0||P!==0?q+P:Ct(u.left,u.right)):L=m-2*(_!==0||T!==0?_+T:Ct(u.top,u.bottom))}await d({...e,availableWidth:A,availableHeight:L});const I=await c.getDimensions(l.floating);return k!==I.width||m!==I.height?{reset:{rects:!0}}:{}}}};function $9(){return typeof window<"u"}function Ys(t){return cP(t)?(t.nodeName||"").toLowerCase():"#document"}function It(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ya(t){var e;return(e=(cP(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function cP(t){return $9()?t instanceof Node||t instanceof It(t).Node:!1}function Jt(t){return $9()?t instanceof Element||t instanceof It(t).Element:!1}function pa(t){return $9()?t instanceof HTMLElement||t instanceof It(t).HTMLElement:!1}function AL(t){return!$9()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof It(t).ShadowRoot}const zO=new Set(["inline","contents"]);function Yc(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=Yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!zO.has(o)}const FO=new Set(["table","td","th"]);function EO(t){return FO.has(Ys(t))}const OO=[":popover-open",":modal"];function G9(t){return OO.some(e=>{try{return t.matches(e)}catch{return!1}})}const HO=["transform","translate","scale","rotate","perspective"],VO=["transform","translate","scale","rotate","perspective","filter"],BO=["paint","layout","strict","content"];function pS(t){const e=yS(),r=Jt(t)?Yt(t):t;return HO.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||VO.some(n=>(r.willChange||"").includes(n))||BO.some(n=>(r.contain||"").includes(n))}function UO(t){let e=tr(t);for(;pa(e)&&!Us(e);){if(pS(e))return e;if(G9(e))return null;e=tr(e)}return null}function yS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const $O=new Set(["html","body","#document"]);function Us(t){return $O.has(Ys(t))}function Yt(t){return It(t).getComputedStyle(t)}function W9(t){return Jt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tr(t){if(Ys(t)==="html")return t;const e=t.assignedSlot||t.parentNode||AL(t)&&t.host||ya(t);return AL(e)?e.host:e}function lP(t){const e=tr(t);return Us(e)?t.ownerDocument?t.ownerDocument.body:t.body:pa(e)&&Yc(e)?e:lP(e)}function Gc(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=lP(t),i=o===((n=t.ownerDocument)==null?void 0:n.body),c=It(o);if(i){const l=rj(c);return e.concat(c,c.visualViewport||[],Yc(o)?o:[],l&&r?Gc(l):[])}return e.concat(o,Gc(o,[],r))}function rj(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function dP(t){const e=Yt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=pa(t),i=o?t.offsetWidth:r,c=o?t.offsetHeight:n,l=k9(r)!==i||k9(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function mS(t){return Jt(t)?t:t.contextElement}function Ds(t){const e=mS(t);if(!pa(e))return da(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=dP(e);let c=(i?k9(r.width):r.width)/n,l=(i?k9(r.height):r.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const GO=da(0);function hP(t){const e=It(t);return!yS()||!e.visualViewport?GO:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function WO(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==It(t)?!1:e}function Qi(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),i=mS(t);let c=da(1);e&&(n?Jt(n)&&(c=Ds(n)):c=Ds(t));const l=WO(i,r,n)?hP(i):da(0);let d=(o.left+l.x)/c.x,h=(o.top+l.y)/c.y,u=o.width/c.x,p=o.height/c.y;if(i){const y=It(i),f=n&&Jt(n)?It(n):n;let k=y,m=rj(k);for(;m&&n&&f!==k;){const x=Ds(m),v=m.getBoundingClientRect(),w=Yt(m),b=v.left+(m.clientLeft+parseFloat(w.paddingLeft))*x.x,M=v.top+(m.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=b,h+=M,k=It(m),m=rj(k)}}return v9({width:u,height:p,x:d,y:h})}function Z9(t,e){const r=W9(t).scrollLeft;return e?e.left+r:Qi(ya(t)).left+r}function uP(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Z9(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function ZO(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i=o==="fixed",c=ya(n),l=e?G9(e.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=da(1);const u=da(0),p=pa(n);if((p||!p&&!i)&&((Ys(n)!=="body"||Yc(c))&&(d=W9(n)),pa(n))){const f=Qi(n);h=Ds(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}const y=c&&!p&&!i?uP(c,d):da(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:r.y*h.y-d.scrollTop*h.y+u.y+y.y}}function XO(t){return Array.from(t.getClientRects())}function JO(t){const e=ya(t),r=W9(t),n=t.ownerDocument.body,o=Ct(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ct(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+Z9(t);const l=-r.scrollTop;return Yt(n).direction==="rtl"&&(c+=Ct(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:c,y:l}}const PL=25;function YO(t,e){const r=It(t),n=ya(t),o=r.visualViewport;let i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(o){i=o.width,c=o.height;const u=yS();(!u||u&&e==="fixed")&&(l=o.offsetLeft,d=o.offsetTop)}const h=Z9(n);if(h<=0){const u=n.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-f);k<=PL&&(i-=k)}else h<=PL&&(i+=h);return{width:i,height:c,x:l,y:d}}const KO=new Set(["absolute","fixed"]);function QO(t,e){const r=Qi(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=pa(t)?Ds(t):da(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=o*i.x,h=n*i.y;return{width:c,height:l,x:d,y:h}}function _L(t,e,r){let n;if(e==="viewport")n=YO(t,r);else if(e==="document")n=JO(ya(t));else if(Jt(e))n=QO(e,r);else{const o=hP(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return v9(n)}function pP(t,e){const r=tr(t);return r===e||!Jt(r)||Us(r)?!1:Yt(r).position==="fixed"||pP(r,e)}function eH(t,e){const r=e.get(t);if(r)return r;let n=Gc(t,[],!1).filter(l=>Jt(l)&&Ys(l)!=="body"),o=null;const i=Yt(t).position==="fixed";let c=i?tr(t):t;for(;Jt(c)&&!Us(c);){const l=Yt(c),d=pS(c);!d&&l.position==="fixed"&&(o=null),(i?!d&&!o:!d&&l.position==="static"&&!!o&&KO.has(o.position)||Yc(c)&&!d&&pP(t,c))?n=n.filter(u=>u!==c):o=l,c=tr(c)}return e.set(t,n),n}function tH(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const c=[...r==="clippingAncestors"?G9(e)?[]:eH(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=_L(e,u,o);return h.top=Ct(p.top,h.top),h.right=er(p.right,h.right),h.bottom=er(p.bottom,h.bottom),h.left=Ct(p.left,h.left),h},_L(e,l,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function aH(t){const{width:e,height:r}=dP(t);return{width:e,height:r}}function rH(t,e,r){const n=pa(e),o=ya(e),i=r==="fixed",c=Qi(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const d=da(0);function h(){d.x=Z9(o)}if(n||!n&&!i)if((Ys(e)!=="body"||Yc(o))&&(l=W9(e)),n){const f=Qi(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else o&&h();i&&!n&&o&&h();const u=o&&!n&&!i?uP(o,l):da(0),p=c.left+l.scrollLeft-d.x-u.x,y=c.top+l.scrollTop-d.y-u.y;return{x:p,y,width:c.width,height:c.height}}function LC(t){return Yt(t).position==="static"}function RL(t,e){if(!pa(t)||Yt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return ya(t)===r&&(r=r.ownerDocument.body),r}function yP(t,e){const r=It(t);if(G9(t))return r;if(!pa(t)){let o=tr(t);for(;o&&!Us(o);){if(Jt(o)&&!LC(o))return o;o=tr(o)}return r}let n=RL(t,e);for(;n&&EO(n)&&LC(n);)n=RL(n,e);return n&&Us(n)&&LC(n)&&!pS(n)?r:n||UO(t)||r}const nH=async function(t){const e=this.getOffsetParent||yP,r=this.getDimensions,n=await r(t.floating);return{reference:rH(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function oH(t){return Yt(t).direction==="rtl"}const iH={convertOffsetParentRelativeRectToViewportRelativeRect:ZO,getDocumentElement:ya,getClippingRect:tH,getOffsetParent:yP,getElementRects:nH,getClientRects:XO,getDimensions:aH,getScale:Ds,isElement:Jt,isRTL:oH};function mP(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function sH(t,e){let r=null,n;const o=ya(t);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function c(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),i();const h=t.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(l||e(),!y||!f)return;const k=u1(p),m=u1(o.clientWidth-(u+y)),x=u1(o.clientHeight-(p+f)),v=u1(u),b={rootMargin:-k+"px "+-m+"px "+-x+"px "+-v+"px",threshold:Ct(0,er(1,d))||1};let M=!0;function C(N){const L=N[0].intersectionRatio;if(L!==d){if(!M)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!mP(h,t.getBoundingClientRect())&&c(),M=!1}try{r=new IntersectionObserver(C,{...b,root:o.ownerDocument})}catch{r=new IntersectionObserver(C,b)}r.observe(t)}return c(!0),i}function cH(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=mS(t),u=o||i?[...h?Gc(h):[],...Gc(e)]:[];u.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),i&&v.addEventListener("resize",r)});const p=h&&l?sH(h,r):null;let y=-1,f=null;c&&(f=new ResizeObserver(v=>{let[w]=v;w&&w.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),r()}),h&&!d&&f.observe(h),f.observe(e));let k,m=d?Qi(t):null;d&&x();function x(){const v=Qi(t);m&&!mP(m,v)&&r(),m=v,k=requestAnimationFrame(x)}return r(),()=>{var v;u.forEach(w=>{o&&w.removeEventListener("scroll",r),i&&w.removeEventListener("resize",r)}),p==null||p(),(v=f)==null||v.disconnect(),f=null,d&&cancelAnimationFrame(k)}}const lH=RO,dH=TO,hH=AO,uH=DO,pH=PO,TL=NO,yH=qO,mH=(t,e,r)=>{const n=new Map,o={platform:iH,...r},i={...o.platform,_c:n};return IO(t,e,{...o,platform:i})};var fH=typeof document<"u",xH=function(){},s9=fH?S.useLayoutEffect:xH;function w9(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!w9(t[n],e[n]))return!1;return!0}if(o=Object.keys(t),r=o.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&t.$$typeof)&&!w9(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function fP(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function qL(t,e){const r=fP(t);return Math.round(e*r)/r}function IC(t){const e=g.useRef(t);return s9(()=>{e.current=t}),e}function kH(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=t,[u,p]=g.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[y,f]=g.useState(n);w9(y,n)||f(n);const[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useCallback(O=>{O!==N.current&&(N.current=O,m(O))},[]),b=g.useCallback(O=>{O!==L.current&&(L.current=O,v(O))},[]),M=i||k,C=c||x,N=g.useRef(null),L=g.useRef(null),A=g.useRef(u),I=d!=null,q=IC(d),P=IC(o),_=IC(h),T=g.useCallback(()=>{if(!N.current||!L.current)return;const O={placement:e,strategy:r,middleware:y};P.current&&(O.platform=P.current),mH(N.current,L.current,O).then(K=>{const ce={...K,isPositioned:_.current!==!1};G.current&&!w9(A.current,ce)&&(A.current=ce,j9.flushSync(()=>{p(ce)}))})},[y,e,r,P,_]);s9(()=>{h===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,p(O=>({...O,isPositioned:!1})))},[h]);const G=g.useRef(!1);s9(()=>(G.current=!0,()=>{G.current=!1}),[]),s9(()=>{if(M&&(N.current=M),C&&(L.current=C),M&&C){if(q.current)return q.current(M,C,T);T()}},[M,C,T,q,I]);const W=g.useMemo(()=>({reference:N,floating:L,setReference:w,setFloating:b}),[w,b]),B=g.useMemo(()=>({reference:M,floating:C}),[M,C]),H=g.useMemo(()=>{const O={position:r,left:0,top:0};if(!B.floating)return O;const K=qL(B.floating,u.x),ce=qL(B.floating,u.y);return l?{...O,transform:"translate("+K+"px, "+ce+"px)",...fP(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:K,top:ce}},[r,l,B.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:T,refs:W,elements:B,floatingStyles:H}),[u,T,W,B,H])}const gH=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:o}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?TL({element:n.current,padding:o}).fn(r):{}:n?TL({element:n,padding:o}).fn(r):{}}}},vH=(t,e)=>({...lH(t),options:[t,e]}),wH=(t,e)=>({...dH(t),options:[t,e]}),MH=(t,e)=>({...yH(t),options:[t,e]}),bH=(t,e)=>({...hH(t),options:[t,e]}),CH=(t,e)=>({...uH(t),options:[t,e]}),jH=(t,e)=>({...pH(t),options:[t,e]}),SH=(t,e)=>({...gH(t),options:[t,e]});var LH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],IH=LH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),NH="Arrow",xP=g.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...i}=t;return a.jsx(IH.svg,{...i,ref:e,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});xP.displayName=NH;var AH=xP;function DL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function PH(...t){return e=>{let r=!1;const n=t.map(o=>{const i=DL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():DL(t[o],null)}}}}function kP(...t){return g.useCallback(PH(...t),t)}function _H(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,RH(o,...e)]}function RH(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var TH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gP=TH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function qH(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var zL=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},fS="Popper",[vP,X9]=_H(fS),[DH,wP]=vP(fS),MP=t=>{const{__scopePopper:e,children:r}=t,[n,o]=g.useState(null);return a.jsx(DH,{scope:e,anchor:n,onAnchorChange:o,children:r})};MP.displayName=fS;var bP="PopperAnchor",CP=g.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,i=wP(bP,r),c=g.useRef(null),l=kP(e,c),d=g.useRef(null);return g.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&i.onAnchorChange(d.current)}),n?null:a.jsx(gP.div,{...o,ref:l})});CP.displayName=bP;var xS="PopperContent",[zH,FH]=vP(xS),jP=g.forwardRef((t,e)=>{var U,Z,Y,ne,ue,ie;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:i="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:y=!1,updatePositionStrategy:f="optimized",onPlaced:k,...m}=t,x=wP(xS,r),[v,w]=g.useState(null),b=kP(e,ze=>w(ze)),[M,C]=g.useState(null),N=nS(M),L=(N==null?void 0:N.width)??0,A=(N==null?void 0:N.height)??0,I=n+(i!=="center"?"-"+i:""),q=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],_=P.length>0,T={padding:q,boundary:P.filter(OH),altBoundary:_},{refs:G,floatingStyles:W,placement:B,isPositioned:H,middlewareData:O}=kH({strategy:"fixed",placement:I,whileElementsMounted:(...ze)=>cH(...ze,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[vH({mainAxis:o+A,alignmentAxis:c}),d&&wH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?MH():void 0,...T}),d&&bH({...T}),CH({...T,apply:({elements:ze,rects:Se,availableWidth:We,availableHeight:rt})=>{const{width:it,height:Pt}=Se.reference,Fe=ze.floating.style;Fe.setProperty("--radix-popper-available-width",`${We}px`),Fe.setProperty("--radix-popper-available-height",`${rt}px`),Fe.setProperty("--radix-popper-anchor-width",`${it}px`),Fe.setProperty("--radix-popper-anchor-height",`${Pt}px`)}}),M&&SH({element:M,padding:l}),HH({arrowWidth:L,arrowHeight:A}),y&&jH({strategy:"referenceHidden",...T})]}),[K,ce]=IP(B),ee=qH(k);zL(()=>{H&&(ee==null||ee())},[H,ee]);const Q=(U=O.arrow)==null?void 0:U.x,be=(Z=O.arrow)==null?void 0:Z.y,xe=((Y=O.arrow)==null?void 0:Y.centerOffset)!==0,[te,le]=g.useState();return zL(()=>{v&&le(window.getComputedStyle(v).zIndex)},[v]),a.jsx("div",{ref:G.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:H?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:te,"--radix-popper-transform-origin":[(ne=O.transformOrigin)==null?void 0:ne.x,(ue=O.transformOrigin)==null?void 0:ue.y].join(" "),...((ie=O.hide)==null?void 0:ie.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:a.jsx(zH,{scope:r,placedSide:K,onArrowChange:C,arrowX:Q,arrowY:be,shouldHideArrow:xe,children:a.jsx(gP.div,{"data-side":K,"data-align":ce,...m,ref:b,style:{...m.style,animation:H?void 0:"none"}})})})});jP.displayName=xS;var SP="PopperArrow",EH={top:"bottom",right:"left",bottom:"top",left:"right"},LP=g.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,i=FH(SP,n),c=EH[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(AH,{...o,ref:r,style:{...o.style,display:"block"}})})});LP.displayName=SP;function OH(t){return t!==null}var HH=t=>({name:"transformOrigin",options:t,fn(e){var x,v,w;const{placement:r,rects:n,middlewareData:o}=e,c=((x=o.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[h,u]=IP(r),p={start:"0%",center:"50%",end:"100%"}[u],y=(((v=o.arrow)==null?void 0:v.x)??0)+l/2,f=(((w=o.arrow)==null?void 0:w.y)??0)+d/2;let k="",m="";return h==="bottom"?(k=c?p:`${y}px`,m=`${-d}px`):h==="top"?(k=c?p:`${y}px`,m=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,m=c?p:`${f}px`):h==="left"&&(k=`${n.floating.width+d}px`,m=c?p:`${f}px`),{data:{x:k,y:m}}}});function IP(t){const[e,r="center"]=t.split("-");return[e,r]}var NP=MP,kS=CP,AP=jP,PP=LP,VH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],At=VH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function BH(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var UH=g[" useInsertionEffect ".trim().toString()]||ua;function FL({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=$H({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=GH(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function $H({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return UH(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function GH(t){return typeof t=="function"}var WH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ZH=WH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),_P=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),XH="VisuallyHidden",JH=g.forwardRef((t,e)=>a.jsx(ZH.span,{...t,ref:e,style:{..._P,...t.style}}));JH.displayName=XH;var YH=[" ","Enter","ArrowUp","ArrowDown"],KH=[" ","Enter"],es="Select",[J9,Y9,QH]=uO(es),[Ks,uU]=oP(es,[QH,X9]),K9=X9(),[eV,sr]=Ks(es),[tV,aV]=Ks(es),RP=t=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:o,onOpenChange:i,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:y,required:f,form:k}=t,m=K9(e),[x,v]=g.useState(null),[w,b]=g.useState(null),[M,C]=g.useState(!1),N=yO(h),[L,A]=FL({prop:n,defaultProp:o??!1,onChange:i,caller:es}),[I,q]=FL({prop:c,defaultProp:l,onChange:d,caller:es}),P=g.useRef(null),_=x?k||!!x.closest("form"):!0,[T,G]=g.useState(new Set),W=Array.from(T).map(B=>B.props.value).join(";");return a.jsx(NP,{...m,children:a.jsxs(eV,{required:f,scope:e,trigger:x,onTriggerChange:v,valueNode:w,onValueNodeChange:b,valueNodeHasChildren:M,onValueNodeHasChildrenChange:C,contentId:lS(),value:I,onValueChange:q,open:L,onOpenChange:A,dir:N,triggerPointerDownPosRef:P,disabled:y,children:[a.jsx(J9.Provider,{scope:e,children:a.jsx(tV,{scope:t.__scopeSelect,onNativeOptionAdd:g.useCallback(B=>{G(H=>new Set(H).add(B))},[]),onNativeOptionRemove:g.useCallback(B=>{G(H=>{const O=new Set(H);return O.delete(B),O})},[]),children:r})}),_?a.jsxs(r_,{"aria-hidden":!0,required:f,tabIndex:-1,name:u,autoComplete:p,value:I,onChange:B=>q(B.target.value),disabled:y,form:k,children:[I===void 0?a.jsx("option",{value:""}):null,Array.from(T)]},W):null]})})};RP.displayName=es;var TP="SelectTrigger",qP=g.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...o}=t,i=K9(r),c=sr(TP,r),l=c.disabled||n,d=Vt(e,c.onTriggerChange),h=Y9(r),u=g.useRef("touch"),[p,y,f]=o_(m=>{const x=h().filter(b=>!b.disabled),v=x.find(b=>b.value===c.value),w=i_(x,m,v);w!==void 0&&c.onValueChange(w.value)}),k=m=>{l||(c.onOpenChange(!0),f()),m&&(c.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return a.jsx(kS,{asChild:!0,...i,children:a.jsx(At.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":n_(c.value)?"":void 0,...o,ref:d,onClick:nt(o.onClick,m=>{m.currentTarget.focus(),u.current!=="mouse"&&k(m)}),onPointerDown:nt(o.onPointerDown,m=>{u.current=m.pointerType;const x=m.target;x.hasPointerCapture(m.pointerId)&&x.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(k(m),m.preventDefault())}),onKeyDown:nt(o.onKeyDown,m=>{const x=p.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&y(m.key),!(x&&m.key===" ")&&YH.includes(m.key)&&(k(),m.preventDefault())})})})});qP.displayName=TP;var DP="SelectValue",zP=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:c="",...l}=t,d=sr(DP,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=Vt(e,d.onValueNodeChange);return ua(()=>{h(u)},[h,u]),a.jsx(At.span,{...l,ref:p,style:{pointerEvents:"none"},children:n_(d.value)?a.jsx(a.Fragment,{children:c}):i})});zP.displayName=DP;var rV="SelectIcon",FP=g.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...o}=t;return a.jsx(At.span,{"aria-hidden":!0,...o,ref:e,children:n||"▼"})});FP.displayName=rV;var nV="SelectPortal",EP=t=>a.jsx(D9,{asChild:!0,...t});EP.displayName=nV;var ts="SelectContent",OP=g.forwardRef((t,e)=>{const r=sr(ts,t.__scopeSelect),[n,o]=g.useState();if(ua(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?j9.createPortal(a.jsx(HP,{scope:t.__scopeSelect,children:a.jsx(J9.Slot,{scope:t.__scopeSelect,children:a.jsx("div",{children:t.children})})}),i):null}return a.jsx(VP,{...t,ref:e})});OP.displayName=ts;var Gt=10,[HP,cr]=Ks(ts),oV="SelectContentImpl",iV=tt("SelectContent.RemoveScroll"),VP=g.forwardRef((t,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x,...v}=t,w=sr(ts,r),[b,M]=g.useState(null),[C,N]=g.useState(null),L=Vt(e,U=>M(U)),[A,I]=g.useState(null),[q,P]=g.useState(null),_=Y9(r),[T,G]=g.useState(!1),W=g.useRef(!1);g.useEffect(()=>{if(b)return $j(b)},[b]),Uj();const B=g.useCallback(U=>{const[Z,...Y]=_().map(ie=>ie.ref.current),[ne]=Y.slice(-1),ue=document.activeElement;for(const ie of U)if(ie===ue||(ie==null||ie.scrollIntoView({block:"nearest"}),ie===Z&&C&&(C.scrollTop=0),ie===ne&&C&&(C.scrollTop=C.scrollHeight),ie==null||ie.focus(),document.activeElement!==ue))return},[_,C]),H=g.useCallback(()=>B([A,b]),[B,A,b]);g.useEffect(()=>{T&&H()},[T,H]);const{onOpenChange:O,triggerPointerDownPosRef:K}=w;g.useEffect(()=>{if(b){let U={x:0,y:0};const Z=ne=>{var ue,ie;U={x:Math.abs(Math.round(ne.pageX)-(((ue=K.current)==null?void 0:ue.x)??0)),y:Math.abs(Math.round(ne.pageY)-(((ie=K.current)==null?void 0:ie.y)??0))}},Y=ne=>{U.x<=10&&U.y<=10?ne.preventDefault():b.contains(ne.target)||O(!1),document.removeEventListener("pointermove",Z),K.current=null};return K.current!==null&&(document.addEventListener("pointermove",Z),document.addEventListener("pointerup",Y,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Z),document.removeEventListener("pointerup",Y,{capture:!0})}}},[b,O,K]),g.useEffect(()=>{const U=()=>O(!1);return window.addEventListener("blur",U),window.addEventListener("resize",U),()=>{window.removeEventListener("blur",U),window.removeEventListener("resize",U)}},[O]);const[ce,ee]=o_(U=>{const Z=_().filter(ue=>!ue.disabled),Y=Z.find(ue=>ue.ref.current===document.activeElement),ne=i_(Z,U,Y);ne&&setTimeout(()=>ne.ref.current.focus())}),Q=g.useCallback((U,Z,Y)=>{const ne=!W.current&&!Y;(w.value!==void 0&&w.value===Z||ne)&&(I(U),ne&&(W.current=!0))},[w.value]),be=g.useCallback(()=>b==null?void 0:b.focus(),[b]),xe=g.useCallback((U,Z,Y)=>{const ne=!W.current&&!Y;(w.value!==void 0&&w.value===Z||ne)&&P(U)},[w.value]),te=n==="popper"?nj:BP,le=te===nj?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x}:{};return a.jsx(HP,{scope:r,content:b,viewport:C,onViewportChange:N,itemRefCallback:Q,selectedItem:A,onItemLeave:be,itemTextRefCallback:xe,focusSelectedItem:H,selectedItemText:q,position:n,isPositioned:T,searchRef:ce,children:a.jsx(E9,{as:iV,allowPinchZoom:!0,children:a.jsx(q9,{asChild:!0,trapped:w.open,onMountAutoFocus:U=>{U.preventDefault()},onUnmountAutoFocus:nt(o,U=>{var Z;(Z=w.trigger)==null||Z.focus({preventScroll:!0}),U.preventDefault()}),children:a.jsx(T9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:U=>U.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:a.jsx(te,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:U=>U.preventDefault(),...v,...le,onPlaced:()=>G(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:nt(v.onKeyDown,U=>{const Z=U.ctrlKey||U.altKey||U.metaKey;if(U.key==="Tab"&&U.preventDefault(),!Z&&U.key.length===1&&ee(U.key),["ArrowUp","ArrowDown","Home","End"].includes(U.key)){let ne=_().filter(ue=>!ue.disabled).map(ue=>ue.ref.current);if(["ArrowUp","End"].includes(U.key)&&(ne=ne.slice().reverse()),["ArrowUp","ArrowDown"].includes(U.key)){const ue=U.target,ie=ne.indexOf(ue);ne=ne.slice(ie+1)}setTimeout(()=>B(ne)),U.preventDefault()}})})})})})})});VP.displayName=oV;var sV="SelectItemAlignedPosition",BP=g.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...o}=t,i=sr(ts,r),c=cr(ts,r),[l,d]=g.useState(null),[h,u]=g.useState(null),p=Vt(e,L=>u(L)),y=Y9(r),f=g.useRef(!1),k=g.useRef(!0),{viewport:m,selectedItem:x,selectedItemText:v,focusSelectedItem:w}=c,b=g.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&m&&x&&v){const L=i.trigger.getBoundingClientRect(),A=h.getBoundingClientRect(),I=i.valueNode.getBoundingClientRect(),q=v.getBoundingClientRect();if(i.dir!=="rtl"){const ue=q.left-A.left,ie=I.left-ue,ze=L.left-ie,Se=L.width+ze,We=Math.max(Se,A.width),rt=window.innerWidth-Gt,it=bL(ie,[Gt,Math.max(Gt,rt-We)]);l.style.minWidth=Se+"px",l.style.left=it+"px"}else{const ue=A.right-q.right,ie=window.innerWidth-I.right-ue,ze=window.innerWidth-L.right-ie,Se=L.width+ze,We=Math.max(Se,A.width),rt=window.innerWidth-Gt,it=bL(ie,[Gt,Math.max(Gt,rt-We)]);l.style.minWidth=Se+"px",l.style.right=it+"px"}const P=y(),_=window.innerHeight-Gt*2,T=m.scrollHeight,G=window.getComputedStyle(h),W=parseInt(G.borderTopWidth,10),B=parseInt(G.paddingTop,10),H=parseInt(G.borderBottomWidth,10),O=parseInt(G.paddingBottom,10),K=W+B+T+O+H,ce=Math.min(x.offsetHeight*5,K),ee=window.getComputedStyle(m),Q=parseInt(ee.paddingTop,10),be=parseInt(ee.paddingBottom,10),xe=L.top+L.height/2-Gt,te=_-xe,le=x.offsetHeight/2,U=x.offsetTop+le,Z=W+B+U,Y=K-Z;if(Z<=xe){const ue=P.length>0&&x===P[P.length-1].ref.current;l.style.bottom="0px";const ie=h.clientHeight-m.offsetTop-m.offsetHeight,ze=Math.max(te,le+(ue?be:0)+ie+H),Se=Z+ze;l.style.height=Se+"px"}else{const ue=P.length>0&&x===P[0].ref.current;l.style.top="0px";const ze=Math.max(xe,W+m.offsetTop+(ue?Q:0)+le)+Y;l.style.height=ze+"px",m.scrollTop=Z-xe+m.offsetTop}l.style.margin=`${Gt}px 0`,l.style.minHeight=ce+"px",l.style.maxHeight=_+"px",n==null||n(),requestAnimationFrame(()=>f.current=!0)}},[y,i.trigger,i.valueNode,l,h,m,x,v,i.dir,n]);ua(()=>b(),[b]);const[M,C]=g.useState();ua(()=>{h&&C(window.getComputedStyle(h).zIndex)},[h]);const N=g.useCallback(L=>{L&&k.current===!0&&(b(),w==null||w(),k.current=!1)},[b,w]);return a.jsx(lV,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:f,onScrollButtonChange:N,children:a.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:M},children:a.jsx(At.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});BP.displayName=sV;var cV="SelectPopperPosition",nj=g.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Gt,...i}=t,c=K9(r);return a.jsx(AP,{...c,...i,ref:e,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});nj.displayName=cV;var[lV,gS]=Ks(ts,{}),oj="SelectViewport",UP=g.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...o}=t,i=cr(oj,r),c=gS(oj,r),l=Vt(e,i.onViewportChange),d=g.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),a.jsx(J9.Slot,{scope:r,children:a.jsx(At.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:nt(o.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:y}=c;if(y!=null&&y.current&&p){const f=Math.abs(d.current-u.scrollTop);if(f>0){const k=window.innerHeight-Gt*2,m=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),v=Math.max(m,x);if(v<k){const w=v+f,b=Math.min(k,w),M=w-b;p.style.height=b+"px",p.style.bottom==="0px"&&(u.scrollTop=M>0?M:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});UP.displayName=oj;var $P="SelectGroup",[dV,hV]=Ks($P),uV=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=lS();return a.jsx(dV,{scope:r,id:o,children:a.jsx(At.div,{role:"group","aria-labelledby":o,...n,ref:e})})});uV.displayName=$P;var GP="SelectLabel",WP=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=hV(GP,r);return a.jsx(At.div,{id:o.id,...n,ref:e})});WP.displayName=GP;var M9="SelectItem",[pV,ZP]=Ks(M9),XP=g.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...c}=t,l=sr(M9,r),d=cr(M9,r),h=l.value===n,[u,p]=g.useState(i??""),[y,f]=g.useState(!1),k=Vt(e,w=>{var b;return(b=d.itemRefCallback)==null?void 0:b.call(d,w,n,o)}),m=lS(),x=g.useRef("touch"),v=()=>{o||(l.onValueChange(n),l.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(pV,{scope:r,value:n,disabled:o,textId:m,isSelected:h,onItemTextChange:g.useCallback(w=>{p(b=>b||((w==null?void 0:w.textContent)??"").trim())},[]),children:a.jsx(J9.ItemSlot,{scope:r,value:n,disabled:o,textValue:u,children:a.jsx(At.div,{role:"option","aria-labelledby":m,"data-highlighted":y?"":void 0,"aria-selected":h&&y,"data-state":h?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...c,ref:k,onFocus:nt(c.onFocus,()=>f(!0)),onBlur:nt(c.onBlur,()=>f(!1)),onClick:nt(c.onClick,()=>{x.current!=="mouse"&&v()}),onPointerUp:nt(c.onPointerUp,()=>{x.current==="mouse"&&v()}),onPointerDown:nt(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:nt(c.onPointerMove,w=>{var b;x.current=w.pointerType,o?(b=d.onItemLeave)==null||b.call(d):x.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:nt(c.onPointerLeave,w=>{var b;w.currentTarget===document.activeElement&&((b=d.onItemLeave)==null||b.call(d))}),onKeyDown:nt(c.onKeyDown,w=>{var M;((M=d.searchRef)==null?void 0:M.current)!==""&&w.key===" "||(KH.includes(w.key)&&v(),w.key===" "&&w.preventDefault())})})})})});XP.displayName=M9;var cc="SelectItemText",JP=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,...i}=t,c=sr(cc,r),l=cr(cc,r),d=ZP(cc,r),h=aV(cc,r),[u,p]=g.useState(null),y=Vt(e,v=>p(v),d.onItemTextChange,v=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,v,d.value,d.disabled)}),f=u==null?void 0:u.textContent,k=g.useMemo(()=>a.jsx("option",{value:d.value,disabled:d.disabled,children:f},d.value),[d.disabled,d.value,f]),{onNativeOptionAdd:m,onNativeOptionRemove:x}=h;return ua(()=>(m(k),()=>x(k)),[m,x,k]),a.jsxs(a.Fragment,{children:[a.jsx(At.span,{id:d.textId,...i,ref:y}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?j9.createPortal(i.children,c.valueNode):null]})});JP.displayName=cc;var YP="SelectItemIndicator",KP=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return ZP(YP,r).isSelected?a.jsx(At.span,{"aria-hidden":!0,...n,ref:e}):null});KP.displayName=YP;var ij="SelectScrollUpButton",QP=g.forwardRef((t,e)=>{const r=cr(ij,t.__scopeSelect),n=gS(ij,t.__scopeSelect),[o,i]=g.useState(!1),c=Vt(e,n.onScrollButtonChange);return ua(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;i(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(t_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});QP.displayName=ij;var sj="SelectScrollDownButton",e_=g.forwardRef((t,e)=>{const r=cr(sj,t.__scopeSelect),n=gS(sj,t.__scopeSelect),[o,i]=g.useState(!1),c=Vt(e,n.onScrollButtonChange);return ua(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;i(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(t_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});e_.displayName=sj;var t_=g.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=t,i=cr("SelectScrollButton",r),c=g.useRef(null),l=Y9(r),d=g.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return g.useEffect(()=>()=>d(),[d]),ua(()=>{var u;const h=l().find(p=>p.ref.current===document.activeElement);(u=h==null?void 0:h.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),a.jsx(At.div,{"aria-hidden":!0,...o,ref:e,style:{flexShrink:0,...o.style},onPointerDown:nt(o.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:nt(o.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:nt(o.onPointerLeave,()=>{d()})})}),yV="SelectSeparator",a_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return a.jsx(At.div,{"aria-hidden":!0,...n,ref:e})});a_.displayName=yV;var cj="SelectArrow",mV=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=K9(r),i=sr(cj,r),c=cr(cj,r);return i.open&&c.position==="popper"?a.jsx(PP,{...o,...n,ref:e}):null});mV.displayName=cj;var fV="SelectBubbleInput",r_=g.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const o=g.useRef(null),i=Vt(n,o),c=rS(e);return g.useEffect(()=>{const l=o.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),a.jsx(At.select,{...r,style:{..._P,...r.style},ref:i,defaultValue:e})});r_.displayName=fV;function n_(t){return t===""||t===void 0}function o_(t){const e=BH(t),r=g.useRef(""),n=g.useRef(0),o=g.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),i=g.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function i_(t,e,r){const o=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=r?t.indexOf(r):-1;let c=xV(t,Math.max(i,0));o.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(o.toLowerCase()));return d!==r?d:void 0}function xV(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var kV=RP,s_=qP,gV=zP,vV=FP,wV=EP,c_=OP,MV=UP,l_=WP,d_=XP,bV=JP,CV=KP,h_=QP,u_=e_,vS=a_;const jV=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],SV=t=>{if(!t)return"continue";const e=t.trim();return e.length===0?"continue":e.toLowerCase()},LV=({open:t,onClose:e,onLogin:r,onRegister:n,appName:o="Your App",attemptedAction:i,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=SV(i),u=l??`Please sign in to ${h} and keep your progress synced with ${o}.`;return a.jsx(os,{open:t,onOpenChange:p=>!p&&e(),children:a.jsxs(nr,{className:"sm:max-w-lg",children:[a.jsxs(is,{className:"space-y-2",children:[a.jsxs(ir,{className:"flex items-center gap-2 text-xl font-semibold",children:[a.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:a.jsx(Tt,{className:"h-5 w-5"})}),c]}),a.jsx(eS,{className:"text-base text-muted-foreground",children:u})]}),a.jsxs("div",{className:"mt-2 space-y-4",children:[a.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[a.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[a.jsx(Va,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),a.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:jV.map(p=>a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),a.jsx("span",{children:p})]},p))})]}),d&&a.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),a.jsx(vS,{className:"my-4"}),a.jsxs(or,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[a.jsx($,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),a.jsx($,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),a.jsx($,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},IV=[{icon:kc,label:"Dashboard",path:"/dashboard"},{icon:mt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Ft,label:"Courses",path:"/dashboard/courses"},{icon:Is,label:"Settings",path:"/dashboard/settings"}];function NV({children:t,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:o="/dashboard",notificationCount:i=0}){return a.jsx("div",{className:"min-h-screen bg-background",children:a.jsxs("div",{className:"flex",children:[a.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[a.jsx("nav",{className:"flex-1 space-y-1 p-4",children:IV.map(c=>{const l=c.icon,d=o===c.path;return a.jsxs("button",{onClick:()=>n==null?void 0:n(c.path),className:`flex w-full items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors ${d?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,children:[a.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&a.jsx("div",{className:"border-t p-4",children:a.jsxs($,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[a.jsx(Mc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),a.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}const AV=S9("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ot({className:t,variant:e,...r}){return a.jsx("div",{className:se(AV({variant:e}),t),...r})}function PV({userName:t,feedItems:e,alerts:r,snapshot:n,onSave:o,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return mt;case"course":return Ft;case"news":return Sa;default:return mt}},h=u=>{switch(u.type){case"job":return a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx($,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx($,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return a.jsx($,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",t," 👋"]}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),a.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[a.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(p,{className:"h-5 w-5 text-primary"}),a.jsx(ot,{variant:"secondary",children:u.type})]}),a.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),a.jsx(De,{className:"text-lg mt-2",children:u.title}),u.company&&a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"}),u.company]}),u.location&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Et,{className:"h-4 w-4"}),u.location]})]}),a.jsx(Ue,{children:u.description})]}),a.jsxs(we,{children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(y=>a.jsx(ot,{variant:"outline",children:y},y))}),u.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),a.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ve,{children:[a.jsx(qe,{children:a.jsxs(De,{className:"flex items-center gap-2",children:[a.jsx($i,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),a.jsx(we,{className:"space-y-3",children:n.map(u=>a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),a.jsxs("div",{className:"text-right",children:[a.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&a.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),a.jsxs(ve,{children:[a.jsx(qe,{children:a.jsxs(De,{className:"flex items-center gap-2",children:[a.jsx(Zt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),a.jsx(we,{className:"space-y-3",children:r.length===0?a.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>a.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[a.jsx(ot,{variant:"outline",className:"mb-2",children:u.type}),a.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function _V(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function EL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function RV(...t){return e=>{let r=!1;const n=t.map(o=>{const i=EL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():EL(t[o],null)}}}}function p_(...t){return g.useCallback(RV(...t),t)}function TV(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,qV(o,...e)]}function qV(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var DV=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},zV=g[" useInsertionEffect ".trim().toString()]||DV;function FV({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=EV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=OV(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function EV({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return zV(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function OV(t){return typeof t=="function"}var HV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],y_=HV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),Q9="Switch",[VV,pU]=TV(Q9),[BV,UV]=VV(Q9),m_=g.forwardRef((t,e)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=t,[y,f]=g.useState(null),k=p_(e,b=>f(b)),m=g.useRef(!1),x=y?u||!!y.closest("form"):!0,[v,w]=FV({prop:o,defaultProp:i??!1,onChange:h,caller:Q9});return a.jsxs(BV,{scope:r,checked:v,disabled:l,children:[a.jsx(y_.button,{type:"button",role:"switch","aria-checked":v,"aria-required":c,"data-state":g_(v),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:_V(t.onClick,b=>{w(M=>!M),x&&(m.current=b.isPropagationStopped(),m.current||b.stopPropagation())})}),x&&a.jsx(k_,{control:y,bubbles:!m.current,name:n,value:d,checked:v,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});m_.displayName=Q9;var f_="SwitchThumb",x_=g.forwardRef((t,e)=>{const{__scopeSwitch:r,...n}=t,o=UV(f_,r);return a.jsx(y_.span,{"data-state":g_(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:e})});x_.displayName=f_;var $V="SwitchBubbleInput",k_=g.forwardRef(({__scopeSwitch:t,control:e,checked:r,bubbles:n=!0,...o},i)=>{const c=g.useRef(null),l=p_(c,i),d=rS(r),h=nS(e);return g.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&f){const k=new Event("click",{bubbles:n});f.call(u,r),u.dispatchEvent(k)}},[d,r,n]),a.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:l,style:{...o.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});k_.displayName=$V;function g_(t){return t?"checked":"unchecked"}var v_=m_,GV=x_;const Wt=g.forwardRef(({className:t,...e},r)=>a.jsx(v_,{className:se("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",t),...e,ref:r,children:a.jsx(GV,{className:se("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Wt.displayName=v_.displayName;function Dc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function OL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function WV(...t){return e=>{let r=!1;const n=t.map(o=>{const i=OL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():OL(t[o],null)}}}}function wS(...t){return g.useCallback(WV(...t),t)}function ZV(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,XV(o,...e)]}function XV(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var b9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},JV=g[" useId ".trim().toString()]||(()=>{}),YV=0;function KV(t){const[e,r]=g.useState(JV());return b9(()=>{t||r(n=>n??String(YV++))},[t]),t||(e?`radix-${e}`:"")}function QV(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var MS=t=>{const{present:e,children:r}=t,n=eB(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=wS(n.ref,tB(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};MS.displayName="Presence";function eB(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=QV(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=p1(n.current);i.current=l==="mounted"?h:"none"},[l]),b9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=p1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),b9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=p1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=p1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function p1(t){return(t==null?void 0:t.animationName)||"none"}function tB(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var aB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w_=aB.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),rB=g[" useInsertionEffect ".trim().toString()]||b9;function nB({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=oB({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=iB(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function oB({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return rB(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function iB(t){return typeof t=="function"}var eC="Popover",[M_,yU]=ZV(eC,[X9]),Kc=X9(),[sB,lr]=M_(eC),b_=t=>{const{__scopePopover:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!1}=t,l=Kc(e),d=g.useRef(null),[h,u]=g.useState(!1),[p,y]=nB({prop:n,defaultProp:o??!1,onChange:i,caller:eC});return a.jsx(NP,{...l,children:a.jsx(sB,{scope:e,contentId:KV(),triggerRef:d,open:p,onOpenChange:y,onOpenToggle:g.useCallback(()=>y(f=>!f),[y]),hasCustomAnchor:h,onCustomAnchorAdd:g.useCallback(()=>u(!0),[]),onCustomAnchorRemove:g.useCallback(()=>u(!1),[]),modal:c,children:r})})};b_.displayName=eC;var C_="PopoverAnchor",cB=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=lr(C_,r),i=Kc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=o;return g.useEffect(()=>(c(),()=>l()),[c,l]),a.jsx(kS,{...i,...n,ref:e})});cB.displayName=C_;var j_="PopoverTrigger",S_=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=lr(j_,r),i=Kc(r),c=wS(e,o.triggerRef),l=a.jsx(w_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":P_(o.open),...n,ref:c,onClick:Dc(t.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:a.jsx(kS,{asChild:!0,...i,children:l})});S_.displayName=j_;var bS="PopoverPortal",[lB,dB]=M_(bS,{forceMount:void 0}),L_=t=>{const{__scopePopover:e,forceMount:r,children:n,container:o}=t,i=lr(bS,e);return a.jsx(lB,{scope:e,forceMount:r,children:a.jsx(MS,{present:r||i.open,children:a.jsx(D9,{asChild:!0,container:o,children:n})})})};L_.displayName=bS;var $s="PopoverContent",I_=g.forwardRef((t,e)=>{const r=dB($s,t.__scopePopover),{forceMount:n=r.forceMount,...o}=t,i=lr($s,t.__scopePopover);return a.jsx(MS,{present:n||i.open,children:i.modal?a.jsx(uB,{...o,ref:e}):a.jsx(pB,{...o,ref:e})})});I_.displayName=$s;var hB=tt("PopoverContent.RemoveScroll"),uB=g.forwardRef((t,e)=>{const r=lr($s,t.__scopePopover),n=g.useRef(null),o=wS(e,n),i=g.useRef(!1);return g.useEffect(()=>{const c=n.current;if(c)return $j(c)},[]),a.jsx(E9,{as:hB,allowPinchZoom:!0,children:a.jsx(N_,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Dc(t.onCloseAutoFocus,c=>{var l;c.preventDefault(),i.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:Dc(t.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;i.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:Dc(t.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),pB=g.forwardRef((t,e)=>{const r=lr($s,t.__scopePopover),n=g.useRef(!1),o=g.useRef(!1);return a.jsx(N_,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var c,l;(c=t.onCloseAutoFocus)==null||c.call(t,i),i.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),i.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:i=>{var d,h;(d=t.onInteractOutside)==null||d.call(t,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),N_=g.forwardRef((t,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=t,y=lr($s,r),f=Kc(r);return Uj(),a.jsx(q9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(T9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:a.jsx(AP,{"data-state":P_(y.open),role:"dialog",id:y.contentId,...f,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),A_="PopoverClose",yB=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=lr(A_,r);return a.jsx(w_.button,{type:"button",...n,ref:e,onClick:Dc(t.onClick,()=>o.onOpenChange(!1))})});yB.displayName=A_;var mB="PopoverArrow",fB=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=Kc(r);return a.jsx(PP,{...o,...n,ref:e})});fB.displayName=mB;function P_(t){return t?"open":"closed"}var xB=b_,kB=S_,gB=L_,__=I_;const vB=xB,wB=kB,R_=g.forwardRef(({className:t,align:e="center",sideOffset:r=4,...n},o)=>a.jsx(gB,{children:a.jsx(__,{ref:o,align:e,sideOffset:r,className:se("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",t),...n})}));R_.displayName=__.displayName;const T_=g.forwardRef(({className:t,...e},r)=>a.jsx("textarea",{className:se("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...e}));T_.displayName="Textarea";const Wc=kV,Zc=gV,Gs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(s_,{ref:n,className:se("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...r,children:[e,a.jsx(vV,{asChild:!0,children:a.jsx(VA,{className:"h-4 w-4 opacity-50"})})]}));Gs.displayName=s_.displayName;const q_=g.forwardRef(({className:t,...e},r)=>a.jsx(h_,{ref:r,className:se("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(YF,{className:"h-4 w-4"})}));q_.displayName=h_.displayName;const D_=g.forwardRef(({className:t,...e},r)=>a.jsx(u_,{ref:r,className:se("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(VA,{className:"h-4 w-4"})}));D_.displayName=u_.displayName;const Ws=g.forwardRef(({className:t,children:e,position:r="popper",...n},o)=>a.jsx(wV,{children:a.jsxs(c_,{ref:o,className:se("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...n,children:[a.jsx(q_,{}),a.jsx(MV,{className:se("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),a.jsx(D_,{})]})}));Ws.displayName=c_.displayName;const MB=g.forwardRef(({className:t,...e},r)=>a.jsx(l_,{ref:r,className:se("px-2 py-1.5 text-sm font-semibold",t),...e}));MB.displayName=l_.displayName;const Zs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(d_,{ref:n,className:se("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...r,children:[a.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(CV,{children:a.jsx(ZF,{className:"h-4 w-4"})})}),a.jsx(bV,{children:e})]}));Zs.displayName=d_.displayName;const bB=g.forwardRef(({className:t,...e},r)=>a.jsx(vS,{ref:r,className:se("-mx-1 my-1 h-px bg-muted",t),...e}));bB.displayName=vS.displayName;function CB({open:t,onClose:e,onAdded:r,existingExperience:n,onUpdated:o}){const i=new Date().getFullYear(),c=Array.from({length:40},(f,k)=>`${i-k}`),[l,d]=S.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});S.useEffect(()=>{if(n){const[f,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:f||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,t]);const[h,u]=S.useState(!1),p=(f,k)=>d(m=>({...m,[f]:k})),y=()=>{const f=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:f,tags:l.tags.split(",").map(m=>m.trim()).filter(Boolean)};n?o==null||o(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(ir,{children:n?"Edit Work Experience":"Add Work Experience"}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Title"}),a.jsx(Ye,{value:l.title,onChange:f=>p("title",f.target.value)})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Company"}),a.jsx(Ye,{value:l.company,onChange:f=>p("company",f.target.value)})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Start Year"}),a.jsxs(Wc,{onValueChange:f=>p("startYear",f),value:l.startYear,children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]}),!l.isPresent&&a.jsxs("div",{children:[a.jsx(ye,{children:"End Year"}),a.jsxs(Wc,{onValueChange:f=>p("endYear",f),value:l.endYear,children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:f=>p("isPresent",f.target.checked),className:"w-4 h-4 accent-primary"}),a.jsx(ye,{htmlFor:"present",children:"I currently work here"})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Tags (comma-separated)"}),a.jsx(T_,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:f=>p("tags",f.target.value)})]})]}),a.jsxs(or,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:y,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function jB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,SB(o,...e)]}function SB(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function HL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function LB(...t){return e=>{let r=!1;const n=t.map(o=>{const i=HL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():HL(t[o],null)}}}}function z_(...t){return g.useCallback(LB(...t),t)}function IB(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var F_="AlertDialog",[NB,mU]=jB(F_,[CA]),_a=CA(),E_=t=>{const{__scopeAlertDialog:e,...r}=t,n=_a(e);return a.jsx(OA,{...n,...r,modal:!0})};E_.displayName=F_;var AB="AlertDialogTrigger",PB=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(GF,{...o,...n,ref:e})});PB.displayName=AB;var _B="AlertDialogPortal",O_=t=>{const{__scopeAlertDialog:e,...r}=t,n=_a(e);return a.jsx(HA,{...n,...r})};O_.displayName=_B;var RB="AlertDialogOverlay",H_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Xj,{...o,...n,ref:e})});H_.displayName=RB;var zs="AlertDialogContent",[TB,qB]=NB(zs),DB=jR("AlertDialogContent"),V_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,children:n,...o}=t,i=_a(r),c=g.useRef(null),l=z_(e,c),d=g.useRef(null);return a.jsx(VF,{contentName:zs,titleName:B_,docsSlug:"alert-dialog",children:a.jsx(TB,{scope:r,cancelRef:d,children:a.jsxs(Jj,{role:"alertdialog",...i,...o,ref:l,onOpenAutoFocus:IB(o.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[a.jsx(DB,{children:n}),a.jsx(FB,{contentRef:c})]})})})});V_.displayName=zs;var B_="AlertDialogTitle",U_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Yj,{...o,...n,ref:e})});U_.displayName=B_;var $_="AlertDialogDescription",G_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Kj,{...o,...n,ref:e})});G_.displayName=$_;var zB="AlertDialogAction",W_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Qj,{...o,...n,ref:e})});W_.displayName=zB;var Z_="AlertDialogCancel",X_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:o}=qB(Z_,r),i=_a(r),c=z_(e,o);return a.jsx(Qj,{...i,...n,ref:c})});X_.displayName=Z_;var FB=({contentRef:t})=>{const e=`\`${zs}\` requires a description for the component to be accessible for screen reader users.
|
|
7813
|
+
`;function EE({allow:t="analytics",scriptId:e="ga",scriptStrategy:r="afterInteractive",scriptContent:n=FE}){return a.jsx(TD,{allow:t,children:a.jsx(zE,{id:e,strategy:r,children:n})})}function wL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function OE(...t){return e=>{let r=!1;const n=t.map(o=>{const i=wL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():wL(t[o],null)}}}}function aS(...t){return g.useCallback(OE(...t),t)}function HE(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,VE(o,...e)]}function VE(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function ML(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var ej=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},BE=g[" useInsertionEffect ".trim().toString()]||ej;function UE({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=$E({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=GE(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function $E({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return BE(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function GE(t){return typeof t=="function"}function rS(t){const e=g.useRef({value:t,previous:t});return g.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}var WE=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{};function nS(t){const[e,r]=g.useState(void 0);return WE(()=>{if(t){r({width:t.offsetWidth,height:t.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let c,l;if("borderBoxSize"in i){const d=i.borderBoxSize,h=Array.isArray(d)?d[0]:d;c=h.inlineSize,l=h.blockSize}else c=t.offsetWidth,l=t.offsetHeight;r({width:c,height:l})});return n.observe(t,{box:"border-box"}),()=>n.unobserve(t)}else r(void 0)},[t]),e}function ZE(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var YA=t=>{const{present:e,children:r}=t,n=XE(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=aS(n.ref,JE(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};YA.displayName="Presence";function XE(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=ZE(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=h1(n.current);i.current=l==="mounted"?h:"none"},[l]),ej(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=h1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),ej(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=h1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=h1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function h1(t){return(t==null?void 0:t.animationName)||"none"}function JE(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var YE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oS=YE.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),V9="Checkbox",[KE,hU]=HE(V9),[QE,iS]=KE(V9);function eO(t){const{__scopeCheckbox:e,checked:r,children:n,defaultChecked:o,disabled:i,form:c,name:l,onCheckedChange:d,required:h,value:u="on",internal_do_not_use_render:p}=t,[y,f]=UE({prop:r,defaultProp:o??!1,onChange:d,caller:V9}),[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useRef(!1),M=k?!!c||!!k.closest("form"):!0,b={checked:y,disabled:i,setChecked:f,control:k,setControl:m,name:l,form:c,value:u,hasConsumerStoppedPropagationRef:w,required:h,defaultChecked:Ya(o)?!1:o,isFormControl:M,bubbleInput:x,setBubbleInput:v};return a.jsx(QE,{scope:e,...b,children:tO(p)?p(b):n})}var KA="CheckboxTrigger",QA=g.forwardRef(({__scopeCheckbox:t,onKeyDown:e,onClick:r,...n},o)=>{const{control:i,value:c,disabled:l,checked:d,required:h,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:y,isFormControl:f,bubbleInput:k}=iS(KA,t),m=aS(o,u),x=g.useRef(d);return g.useEffect(()=>{const v=i==null?void 0:i.form;if(v){const w=()=>p(x.current);return v.addEventListener("reset",w),()=>v.removeEventListener("reset",w)}},[i,p]),a.jsx(oS.button,{type:"button",role:"checkbox","aria-checked":Ya(d)?"mixed":d,"aria-required":h,"data-state":nP(d),"data-disabled":l?"":void 0,disabled:l,value:c,...n,ref:m,onKeyDown:ML(e,v=>{v.key==="Enter"&&v.preventDefault()}),onClick:ML(r,v=>{p(w=>Ya(w)?!0:!w),k&&f&&(y.current=v.isPropagationStopped(),y.current||v.stopPropagation())})})});QA.displayName=KA;var sS=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d,onCheckedChange:h,form:u,...p}=t;return a.jsx(eO,{__scopeCheckbox:r,checked:o,defaultChecked:i,disabled:l,required:c,onCheckedChange:h,name:n,form:u,value:d,internal_do_not_use_render:({isFormControl:y})=>a.jsxs(a.Fragment,{children:[a.jsx(QA,{...p,ref:e,__scopeCheckbox:r}),y&&a.jsx(rP,{__scopeCheckbox:r})]})})});sS.displayName=V9;var eP="CheckboxIndicator",tP=g.forwardRef((t,e)=>{const{__scopeCheckbox:r,forceMount:n,...o}=t,i=iS(eP,r);return a.jsx(YA,{present:n||Ya(i.checked)||i.checked===!0,children:a.jsx(oS.span,{"data-state":nP(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:e,style:{pointerEvents:"none",...t.style}})})});tP.displayName=eP;var aP="CheckboxBubbleInput",rP=g.forwardRef(({__scopeCheckbox:t,...e},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:i,defaultChecked:c,required:l,disabled:d,name:h,value:u,form:p,bubbleInput:y,setBubbleInput:f}=iS(aP,t),k=aS(r,f),m=rS(i),x=nS(n);g.useEffect(()=>{const w=y;if(!w)return;const M=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(M,"checked").set,I=!o.current;if(m!==i&&C){const L=new Event("click",{bubbles:I});w.indeterminate=Ya(i),C.call(w,Ya(i)?!1:i),w.dispatchEvent(L)}},[y,m,i,o]);const v=g.useRef(Ya(i)?!1:i);return a.jsx(oS.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??v.current,required:l,disabled:d,name:h,value:u,form:p,...e,tabIndex:-1,ref:k,style:{...e.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});rP.displayName=aP;function tO(t){return typeof t=="function"}function Ya(t){return t==="indeterminate"}function nP(t){return Ya(t)?"indeterminate":t?"checked":"unchecked"}const cS=g.forwardRef(({className:t,...e},r)=>a.jsx(sS,{ref:r,className:ie("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...e,children:a.jsx(tP,{className:ie("flex items-center justify-center text-current"),children:a.jsx(vs,{className:"h-4 w-4"})})}));cS.displayName=sS.displayName;const aO=S9("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),B9=g.forwardRef(({className:t,variant:e,...r},n)=>a.jsx("div",{ref:n,role:"alert",className:ie(aO({variant:e}),t),...r}));B9.displayName="Alert";const rO=g.forwardRef(({className:t,...e},r)=>a.jsx("h5",{ref:r,className:ie("mb-1 font-medium leading-none tracking-tight",t),...e}));rO.displayName="AlertTitle";const U9=g.forwardRef(({className:t,...e},r)=>a.jsx("div",{ref:r,className:ie("text-sm [&_p]:leading-relaxed",t),...e}));U9.displayName="AlertDescription";function nO({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o,title:i="Welcome Back",description:c="Sign in to your account to continue",identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"}){const[h,u]=S.useState(""),[p,y]=S.useState(""),[f,k]=S.useState(!1),m=x=>{x.preventDefault(),t(h,p,f)};return a.jsxs(we,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx(De,{className:"text-2xl font-bold",children:i}),a.jsx(Ue,{children:c})]}),a.jsxs("form",{onSubmit:m,children:[a.jsxs(Me,{className:"space-y-4",children:[o&&a.jsxs(B9,{variant:"destructive",children:[a.jsx(Tt,{className:"h-4 w-4"}),a.jsx(U9,{children:o})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"identifier",children:l}),a.jsxs("div",{className:"relative",children:[a.jsx(ca,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"identifier",type:"text",placeholder:d,value:h,onChange:x=>u(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"password",children:"Password"}),a.jsxs("div",{className:"relative",children:[a.jsx(wc,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"password",type:"password",placeholder:"••••••••",value:p,onChange:x=>y(x.target.value),className:"pl-10",required:!0,disabled:n})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(cS,{id:"remember",checked:f,onCheckedChange:x=>k(x),disabled:n}),a.jsx(ye,{htmlFor:"remember",className:"text-sm font-normal cursor-pointer",children:"Remember me"})]}),e&&a.jsx("button",{type:"button",onClick:e,className:"text-sm text-accent hover:underline",disabled:n,children:"Forgot password?"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Signing in...":"Sign In"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Don't have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Create account"})]})]})]})]})}const oO=({onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,identifierLabel:l="Email or Username",identifierPlaceholder:d="you@example.com"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Access your dashboard"})]}),a.jsx(nO,{onSubmit:t,onForgotPassword:e,onRegisterClick:r,isLoading:n,error:o,identifierLabel:l,identifierPlaceholder:d})]})});function iO({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o,title:i="Create Account",description:c="Join us to access exclusive opportunities"}){const[l,d]=S.useState({}),[h,u]=S.useState(""),p=(f,k)=>d(m=>({...m,[f]:k})),y=f=>{if(f.preventDefault(),u(""),"password"in l&&"confirmPassword"in l&&l.password!==l.confirmPassword){u("Passwords do not match");return}t(l)};return a.jsxs(we,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx(De,{className:"text-2xl font-bold",children:i}),a.jsx(Ue,{children:c})]}),a.jsxs("form",{onSubmit:y,children:[a.jsxs(Me,{className:"space-y-4",children:[(o||h)&&a.jsxs(B9,{variant:"destructive",children:[a.jsx(Tt,{className:"h-4 w-4"}),a.jsx(U9,{children:o||h})]}),e.map(f=>a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:f.name,children:f.label}),a.jsx(Ye,{id:f.name,type:f.type||"text",placeholder:f.placeholder,required:f.required,disabled:n,value:l[f.name]||"",onChange:k=>p(f.name,k.target.value)})]},f.name))]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:n,children:n?"Creating account...":"Create Account"}),r&&a.jsxs("div",{className:"text-sm text-center text-muted-foreground",children:["Already have an account?"," ",a.jsx("button",{type:"button",onClick:r,className:"text-accent hover:underline font-medium",disabled:n,children:"Sign in"})]})]})]})]})}const sO=({onSubmit:t,fields:e,onLoginClick:r,isLoading:n=!1,error:o="",appName:i="Your App",logo:c,title:l="Create Account",description:d="Join us to access exclusive opportunities"})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Start your journey"})]}),a.jsx(iO,{onSubmit:t,fields:e,onLoginClick:r,isLoading:n,error:o,title:l,description:d})]})});function cO({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n,success:o=!1,title:i="Reset Password",description:c="Enter your email address and we'll send you a link to reset your password",successMessage:l="If an account exists with that email, you will receive a password reset link shortly. Please check your inbox and spam folder."}){const[d,h]=S.useState(""),u=p=>{p.preventDefault(),t(d)};return o?a.jsxs(we,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx("div",{className:"flex items-center justify-center mb-4",children:a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:a.jsx(bt,{className:"h-6 w-6 text-green-600"})})}),a.jsx(De,{className:"text-2xl font-bold text-center",children:"Check Your Email"}),a.jsx(Ue,{className:"text-center",children:l})]}),a.jsx(Fs,{className:"flex flex-col space-y-4",children:e&&a.jsxs(U,{type:"button",variant:"outline",className:"w-full",onClick:e,children:[a.jsx(Oi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})})]}):a.jsxs(we,{className:"w-full max-w-md",children:[a.jsxs(qe,{className:"space-y-1",children:[a.jsx(De,{className:"text-2xl font-bold",children:i}),a.jsx(Ue,{children:c})]}),a.jsxs("form",{onSubmit:u,children:[a.jsxs(Me,{className:"space-y-4",children:[n&&a.jsxs(B9,{variant:"destructive",children:[a.jsx(Tt,{className:"h-4 w-4"}),a.jsx(U9,{children:n})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email Address"}),a.jsxs("div",{className:"relative",children:[a.jsx(ca,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),a.jsx(Ye,{id:"email",type:"email",placeholder:"you@example.com",value:d,onChange:p=>h(p.target.value),className:"pl-10",required:!0,disabled:r})]}),a.jsx("p",{className:"text-xs text-muted-foreground",children:"We'll send you an email with instructions to reset your password"})]})]}),a.jsxs(Fs,{className:"flex flex-col space-y-4",children:[a.jsx(U,{type:"submit",className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",disabled:r,children:r?"Sending...":"Send Reset Link"}),e&&a.jsxs(U,{type:"button",variant:"ghost",className:"w-full",onClick:e,disabled:r,children:[a.jsx(Oi,{className:"mr-2 h-4 w-4"}),"Back to Login"]})]})]})]})}const lO=({onSubmit:t,onBackToLogin:e,isLoading:r=!1,error:n="",success:o=!1,appName:i="Your App",logo:c})=>a.jsx("div",{className:"min-h-screen flex items-center justify-center bg-gradient-to-r from-[#0f1219] to-[#1a2236] p-4",children:a.jsxs("div",{className:"w-full max-w-md",children:[a.jsxs("div",{className:"mb-8 text-center",children:[a.jsxs("div",{className:"flex items-center justify-center gap-2 mb-4",children:[c||a.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-accent",children:a.jsx("span",{className:"text-xl font-bold text-accent-foreground",children:"APP"})}),a.jsx("span",{className:"text-2xl font-bold text-white",children:i})]}),a.jsx("p",{className:"text-gray-300",children:"Recover your account access"})]}),a.jsx(cO,{onSubmit:t,onBackToLogin:e,isLoading:r,error:n,success:o})]})});function bL(t,[e,r]){return Math.min(r,Math.max(e,t))}function nt(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function oP(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,dO(o,...e)]}function dO(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function CL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function hO(...t){return e=>{let r=!1;const n=t.map(o=>{const i=CL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():CL(t[o],null)}}}}function Vt(...t){return g.useCallback(hO(...t),t)}function uO(t){const e=t+"CollectionProvider",[r,n]=oP(e),[o,i]=r(e,{collectionRef:{current:null},itemMap:new Map}),c=m=>{const{scope:x,children:v}=m,w=S.useRef(null),M=S.useRef(new Map).current;return a.jsx(o,{scope:x,itemMap:M,collectionRef:w,children:v})};c.displayName=e;const l=t+"CollectionSlot",d=tt(l),h=S.forwardRef((m,x)=>{const{scope:v,children:w}=m,M=i(l,v),b=Vt(x,M.collectionRef);return a.jsx(d,{ref:b,children:w})});h.displayName=l;const u=t+"CollectionItemSlot",p="data-radix-collection-item",y=tt(u),f=S.forwardRef((m,x)=>{const{scope:v,children:w,...M}=m,b=S.useRef(null),C=Vt(x,b),I=i(u,v);return S.useEffect(()=>(I.itemMap.set(b,{ref:b,...M}),()=>void I.itemMap.delete(b))),a.jsx(y,{[p]:"",ref:C,children:w})});f.displayName=u;function k(m){const x=i(t+"CollectionConsumer",m);return S.useCallback(()=>{const w=x.collectionRef.current;if(!w)return[];const M=Array.from(w.querySelectorAll(`[${p}]`));return Array.from(x.itemMap.values()).sort((I,L)=>M.indexOf(I.ref.current)-M.indexOf(L.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:c,Slot:h,ItemSlot:f},k,n]}var pO=g.createContext(void 0);function yO(t){const e=g.useContext(pO);return t||e||"ltr"}var ua=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},mO=g[" useId ".trim().toString()]||(()=>{}),fO=0;function lS(t){const[e,r]=g.useState(mO());return ua(()=>{r(n=>n??String(fO++))},[t]),e?`radix-${e}`:""}const xO=["top","right","bottom","left"],er=Math.min,Ct=Math.max,k9=Math.round,u1=Math.floor,da=t=>({x:t,y:t}),kO={left:"right",right:"left",bottom:"top",top:"bottom"},gO={start:"end",end:"start"};function tj(t,e,r){return Ct(t,er(e,r))}function Aa(t,e){return typeof t=="function"?t(e):t}function Pa(t){return t.split("-")[0]}function Js(t){return t.split("-")[1]}function dS(t){return t==="x"?"y":"x"}function hS(t){return t==="y"?"height":"width"}const vO=new Set(["top","bottom"]);function ia(t){return vO.has(Pa(t))?"y":"x"}function uS(t){return dS(ia(t))}function wO(t,e,r){r===void 0&&(r=!1);const n=Js(t),o=uS(t),i=hS(o);let c=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=g9(c)),[c,g9(c)]}function MO(t){const e=g9(t);return[aj(t),e,aj(e)]}function aj(t){return t.replace(/start|end/g,e=>gO[e])}const jL=["left","right"],SL=["right","left"],bO=["top","bottom"],CO=["bottom","top"];function jO(t,e,r){switch(t){case"top":case"bottom":return r?e?SL:jL:e?jL:SL;case"left":case"right":return e?bO:CO;default:return[]}}function SO(t,e,r,n){const o=Js(t);let i=jO(Pa(t),r==="start",n);return o&&(i=i.map(c=>c+"-"+o),e&&(i=i.concat(i.map(aj)))),i}function g9(t){return t.replace(/left|right|bottom|top/g,e=>kO[e])}function LO(t){return{top:0,right:0,bottom:0,left:0,...t}}function iP(t){return typeof t!="number"?LO(t):{top:t,right:t,bottom:t,left:t}}function v9(t){const{x:e,y:r,width:n,height:o}=t;return{width:n,height:o,top:r,left:e,right:e+n,bottom:r+o,x:e,y:r}}function LL(t,e,r){let{reference:n,floating:o}=t;const i=ia(e),c=uS(e),l=hS(c),d=Pa(e),h=i==="y",u=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2,y=n[l]/2-o[l]/2;let f;switch(d){case"top":f={x:u,y:n.y-o.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:p};break;case"left":f={x:n.x-o.width,y:p};break;default:f={x:n.x,y:n.y}}switch(Js(e)){case"start":f[c]-=y*(r&&h?-1:1);break;case"end":f[c]+=y*(r&&h?-1:1);break}return f}const IO=async(t,e,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:c}=r,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e));let h=await c.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:p}=LL(h,n,d),y=n,f={},k=0;for(let m=0;m<l.length;m++){const{name:x,fn:v}=l[m],{x:w,y:M,data:b,reset:C}=await v({x:u,y:p,initialPlacement:n,placement:y,strategy:o,middlewareData:f,rects:h,platform:c,elements:{reference:t,floating:e}});u=w??u,p=M??p,f={...f,[x]:{...f[x],...b}},C&&k<=50&&(k++,typeof C=="object"&&(C.placement&&(y=C.placement),C.rects&&(h=C.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:o}):C.rects),{x:u,y:p}=LL(h,y,d)),m=-1)}return{x:u,y:p,placement:y,strategy:o,middlewareData:f}};async function $c(t,e){var r;e===void 0&&(e={});const{x:n,y:o,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=Aa(e,t),k=iP(f),x=l[y?p==="floating"?"reference":"floating":p],v=v9(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(x)))==null||r?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:n,y:o,width:c.floating.width,height:c.floating.height}:c.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),b=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},C=v9(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:M,strategy:d}):w);return{top:(v.top-C.top+k.top)/b.y,bottom:(C.bottom-v.bottom+k.bottom)/b.y,left:(v.left-C.left+k.left)/b.x,right:(C.right-v.right+k.right)/b.x}}const NO=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:o,rects:i,platform:c,elements:l,middlewareData:d}=e,{element:h,padding:u=0}=Aa(t,e)||{};if(h==null)return{};const p=iP(u),y={x:r,y:n},f=uS(o),k=hS(f),m=await c.getDimensions(h),x=f==="y",v=x?"top":"left",w=x?"bottom":"right",M=x?"clientHeight":"clientWidth",b=i.reference[k]+i.reference[f]-y[f]-i.floating[k],C=y[f]-i.reference[f],I=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h));let L=I?I[M]:0;(!L||!await(c.isElement==null?void 0:c.isElement(I)))&&(L=l.floating[M]||i.floating[k]);const A=b/2-C/2,N=L/2-m[k]/2-1,q=er(p[v],N),P=er(p[w],N),_=q,T=L-m[k]-P,$=L/2-m[k]/2+A,G=tj(_,$,T),B=!d.arrow&&Js(o)!=null&&$!==G&&i.reference[k]/2-($<_?q:P)-m[k]/2<0,V=B?$<_?$-_:$-T:0;return{[f]:y[f]+V,data:{[f]:G,centerOffset:$-G-V,...B&&{alignmentOffset:V}},reset:B}}}),AO=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:o,middlewareData:i,rects:c,initialPlacement:l,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:m=!0,...x}=Aa(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const v=Pa(o),w=ia(l),M=Pa(l)===l,b=await(d.isRTL==null?void 0:d.isRTL(h.floating)),C=y||(M||!m?[g9(l)]:MO(l)),I=k!=="none";!y&&I&&C.push(...SO(l,m,k,b));const L=[l,...C],A=await $c(e,x),N=[];let q=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&N.push(A[v]),p){const $=wO(o,c,b);N.push(A[$[0]],A[$[1]])}if(q=[...q,{placement:o,overflows:N}],!N.every($=>$<=0)){var P,_;const $=(((P=i.flip)==null?void 0:P.index)||0)+1,G=L[$];if(G&&(!(p==="alignment"?w!==ia(G):!1)||q.every(O=>ia(O.placement)===w?O.overflows[0]>0:!0)))return{data:{index:$,overflows:q},reset:{placement:G}};let B=(_=q.filter(V=>V.overflows[0]<=0).sort((V,O)=>V.overflows[1]-O.overflows[1])[0])==null?void 0:_.placement;if(!B)switch(f){case"bestFit":{var T;const V=(T=q.filter(O=>{if(I){const K=ia(O.placement);return K===w||K==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(K=>K>0).reduce((K,se)=>K+se,0)]).sort((O,K)=>O[1]-K[1])[0])==null?void 0:T[0];V&&(B=V);break}case"initialPlacement":B=l;break}if(o!==B)return{reset:{placement:B}}}return{}}}};function IL(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function NL(t){return xO.some(e=>t[e]>=0)}const PO=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r}=e,{strategy:n="referenceHidden",...o}=Aa(t,e);switch(n){case"referenceHidden":{const i=await $c(e,{...o,elementContext:"reference"}),c=IL(i,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:NL(c)}}}case"escaped":{const i=await $c(e,{...o,altBoundary:!0}),c=IL(i,r.floating);return{data:{escapedOffsets:c,escaped:NL(c)}}}default:return{}}}}},sP=new Set(["left","top"]);async function _O(t,e){const{placement:r,platform:n,elements:o}=t,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),c=Pa(r),l=Js(r),d=ia(r)==="y",h=sP.has(c)?-1:1,u=i&&d?-1:1,p=Aa(e,t);let{mainAxis:y,crossAxis:f,alignmentAxis:k}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof k=="number"&&(f=l==="end"?k*-1:k),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const RO=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:o,y:i,placement:c,middlewareData:l}=e,d=await _O(e,t);return c===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+d.x,y:i+d.y,data:{...d,placement:c}}}}},TO=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:o}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:x=>{let{x:v,y:w}=x;return{x:v,y:w}}},...d}=Aa(t,e),h={x:r,y:n},u=await $c(e,d),p=ia(Pa(o)),y=dS(p);let f=h[y],k=h[p];if(i){const x=y==="y"?"top":"left",v=y==="y"?"bottom":"right",w=f+u[x],M=f-u[v];f=tj(w,f,M)}if(c){const x=p==="y"?"top":"left",v=p==="y"?"bottom":"right",w=k+u[x],M=k-u[v];k=tj(w,k,M)}const m=l.fn({...e,[y]:f,[p]:k});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[y]:i,[p]:c}}}}}},qO=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:o,rects:i,middlewareData:c}=e,{offset:l=0,mainAxis:d=!0,crossAxis:h=!0}=Aa(t,e),u={x:r,y:n},p=ia(o),y=dS(p);let f=u[y],k=u[p];const m=Aa(l,e),x=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(d){const M=y==="y"?"height":"width",b=i.reference[y]-i.floating[M]+x.mainAxis,C=i.reference[y]+i.reference[M]-x.mainAxis;f<b?f=b:f>C&&(f=C)}if(h){var v,w;const M=y==="y"?"width":"height",b=sP.has(Pa(o)),C=i.reference[p]-i.floating[M]+(b&&((v=c.offset)==null?void 0:v[p])||0)+(b?0:x.crossAxis),I=i.reference[p]+i.reference[M]+(b?0:((w=c.offset)==null?void 0:w[p])||0)-(b?x.crossAxis:0);k<C?k=C:k>I&&(k=I)}return{[y]:f,[p]:k}}}},DO=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:o,rects:i,platform:c,elements:l}=e,{apply:d=()=>{},...h}=Aa(t,e),u=await $c(e,h),p=Pa(o),y=Js(o),f=ia(o)==="y",{width:k,height:m}=i.floating;let x,v;p==="top"||p==="bottom"?(x=p,v=y===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(v=p,x=y==="end"?"top":"bottom");const w=m-u.top-u.bottom,M=k-u.left-u.right,b=er(m-u[x],w),C=er(k-u[v],M),I=!e.middlewareData.shift;let L=b,A=C;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(A=M),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(L=w),I&&!y){const q=Ct(u.left,0),P=Ct(u.right,0),_=Ct(u.top,0),T=Ct(u.bottom,0);f?A=k-2*(q!==0||P!==0?q+P:Ct(u.left,u.right)):L=m-2*(_!==0||T!==0?_+T:Ct(u.top,u.bottom))}await d({...e,availableWidth:A,availableHeight:L});const N=await c.getDimensions(l.floating);return k!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function $9(){return typeof window<"u"}function Ys(t){return cP(t)?(t.nodeName||"").toLowerCase():"#document"}function It(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ya(t){var e;return(e=(cP(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function cP(t){return $9()?t instanceof Node||t instanceof It(t).Node:!1}function Jt(t){return $9()?t instanceof Element||t instanceof It(t).Element:!1}function pa(t){return $9()?t instanceof HTMLElement||t instanceof It(t).HTMLElement:!1}function AL(t){return!$9()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof It(t).ShadowRoot}const zO=new Set(["inline","contents"]);function Yc(t){const{overflow:e,overflowX:r,overflowY:n,display:o}=Yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!zO.has(o)}const FO=new Set(["table","td","th"]);function EO(t){return FO.has(Ys(t))}const OO=[":popover-open",":modal"];function G9(t){return OO.some(e=>{try{return t.matches(e)}catch{return!1}})}const HO=["transform","translate","scale","rotate","perspective"],VO=["transform","translate","scale","rotate","perspective","filter"],BO=["paint","layout","strict","content"];function pS(t){const e=yS(),r=Jt(t)?Yt(t):t;return HO.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||VO.some(n=>(r.willChange||"").includes(n))||BO.some(n=>(r.contain||"").includes(n))}function UO(t){let e=tr(t);for(;pa(e)&&!Us(e);){if(pS(e))return e;if(G9(e))return null;e=tr(e)}return null}function yS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const $O=new Set(["html","body","#document"]);function Us(t){return $O.has(Ys(t))}function Yt(t){return It(t).getComputedStyle(t)}function W9(t){return Jt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function tr(t){if(Ys(t)==="html")return t;const e=t.assignedSlot||t.parentNode||AL(t)&&t.host||ya(t);return AL(e)?e.host:e}function lP(t){const e=tr(t);return Us(e)?t.ownerDocument?t.ownerDocument.body:t.body:pa(e)&&Yc(e)?e:lP(e)}function Gc(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const o=lP(t),i=o===((n=t.ownerDocument)==null?void 0:n.body),c=It(o);if(i){const l=rj(c);return e.concat(c,c.visualViewport||[],Yc(o)?o:[],l&&r?Gc(l):[])}return e.concat(o,Gc(o,[],r))}function rj(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function dP(t){const e=Yt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const o=pa(t),i=o?t.offsetWidth:r,c=o?t.offsetHeight:n,l=k9(r)!==i||k9(n)!==c;return l&&(r=i,n=c),{width:r,height:n,$:l}}function mS(t){return Jt(t)?t:t.contextElement}function Ds(t){const e=mS(t);if(!pa(e))return da(1);const r=e.getBoundingClientRect(),{width:n,height:o,$:i}=dP(e);let c=(i?k9(r.width):r.width)/n,l=(i?k9(r.height):r.height)/o;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}const GO=da(0);function hP(t){const e=It(t);return!yS()||!e.visualViewport?GO:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function WO(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==It(t)?!1:e}function Qi(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const o=t.getBoundingClientRect(),i=mS(t);let c=da(1);e&&(n?Jt(n)&&(c=Ds(n)):c=Ds(t));const l=WO(i,r,n)?hP(i):da(0);let d=(o.left+l.x)/c.x,h=(o.top+l.y)/c.y,u=o.width/c.x,p=o.height/c.y;if(i){const y=It(i),f=n&&Jt(n)?It(n):n;let k=y,m=rj(k);for(;m&&n&&f!==k;){const x=Ds(m),v=m.getBoundingClientRect(),w=Yt(m),M=v.left+(m.clientLeft+parseFloat(w.paddingLeft))*x.x,b=v.top+(m.clientTop+parseFloat(w.paddingTop))*x.y;d*=x.x,h*=x.y,u*=x.x,p*=x.y,d+=M,h+=b,k=It(m),m=rj(k)}}return v9({width:u,height:p,x:d,y:h})}function Z9(t,e){const r=W9(t).scrollLeft;return e?e.left+r:Qi(ya(t)).left+r}function uP(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Z9(t,r),o=r.top+e.scrollTop;return{x:n,y:o}}function ZO(t){let{elements:e,rect:r,offsetParent:n,strategy:o}=t;const i=o==="fixed",c=ya(n),l=e?G9(e.floating):!1;if(n===c||l&&i)return r;let d={scrollLeft:0,scrollTop:0},h=da(1);const u=da(0),p=pa(n);if((p||!p&&!i)&&((Ys(n)!=="body"||Yc(c))&&(d=W9(n)),pa(n))){const f=Qi(n);h=Ds(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}const y=c&&!p&&!i?uP(c,d):da(0);return{width:r.width*h.x,height:r.height*h.y,x:r.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:r.y*h.y-d.scrollTop*h.y+u.y+y.y}}function XO(t){return Array.from(t.getClientRects())}function JO(t){const e=ya(t),r=W9(t),n=t.ownerDocument.body,o=Ct(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ct(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let c=-r.scrollLeft+Z9(t);const l=-r.scrollTop;return Yt(n).direction==="rtl"&&(c+=Ct(e.clientWidth,n.clientWidth)-o),{width:o,height:i,x:c,y:l}}const PL=25;function YO(t,e){const r=It(t),n=ya(t),o=r.visualViewport;let i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(o){i=o.width,c=o.height;const u=yS();(!u||u&&e==="fixed")&&(l=o.offsetLeft,d=o.offsetTop)}const h=Z9(n);if(h<=0){const u=n.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,k=Math.abs(n.clientWidth-p.clientWidth-f);k<=PL&&(i-=k)}else h<=PL&&(i+=h);return{width:i,height:c,x:l,y:d}}const KO=new Set(["absolute","fixed"]);function QO(t,e){const r=Qi(t,!0,e==="fixed"),n=r.top+t.clientTop,o=r.left+t.clientLeft,i=pa(t)?Ds(t):da(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=o*i.x,h=n*i.y;return{width:c,height:l,x:d,y:h}}function _L(t,e,r){let n;if(e==="viewport")n=YO(t,r);else if(e==="document")n=JO(ya(t));else if(Jt(e))n=QO(e,r);else{const o=hP(t);n={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return v9(n)}function pP(t,e){const r=tr(t);return r===e||!Jt(r)||Us(r)?!1:Yt(r).position==="fixed"||pP(r,e)}function eH(t,e){const r=e.get(t);if(r)return r;let n=Gc(t,[],!1).filter(l=>Jt(l)&&Ys(l)!=="body"),o=null;const i=Yt(t).position==="fixed";let c=i?tr(t):t;for(;Jt(c)&&!Us(c);){const l=Yt(c),d=pS(c);!d&&l.position==="fixed"&&(o=null),(i?!d&&!o:!d&&l.position==="static"&&!!o&&KO.has(o.position)||Yc(c)&&!d&&pP(t,c))?n=n.filter(u=>u!==c):o=l,c=tr(c)}return e.set(t,n),n}function tH(t){let{element:e,boundary:r,rootBoundary:n,strategy:o}=t;const c=[...r==="clippingAncestors"?G9(e)?[]:eH(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((h,u)=>{const p=_L(e,u,o);return h.top=Ct(p.top,h.top),h.right=er(p.right,h.right),h.bottom=er(p.bottom,h.bottom),h.left=Ct(p.left,h.left),h},_L(e,l,o));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function aH(t){const{width:e,height:r}=dP(t);return{width:e,height:r}}function rH(t,e,r){const n=pa(e),o=ya(e),i=r==="fixed",c=Qi(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const d=da(0);function h(){d.x=Z9(o)}if(n||!n&&!i)if((Ys(e)!=="body"||Yc(o))&&(l=W9(e)),n){const f=Qi(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else o&&h();i&&!n&&o&&h();const u=o&&!n&&!i?uP(o,l):da(0),p=c.left+l.scrollLeft-d.x-u.x,y=c.top+l.scrollTop-d.y-u.y;return{x:p,y,width:c.width,height:c.height}}function LC(t){return Yt(t).position==="static"}function RL(t,e){if(!pa(t)||Yt(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return ya(t)===r&&(r=r.ownerDocument.body),r}function yP(t,e){const r=It(t);if(G9(t))return r;if(!pa(t)){let o=tr(t);for(;o&&!Us(o);){if(Jt(o)&&!LC(o))return o;o=tr(o)}return r}let n=RL(t,e);for(;n&&EO(n)&&LC(n);)n=RL(n,e);return n&&Us(n)&&LC(n)&&!pS(n)?r:n||UO(t)||r}const nH=async function(t){const e=this.getOffsetParent||yP,r=this.getDimensions,n=await r(t.floating);return{reference:rH(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function oH(t){return Yt(t).direction==="rtl"}const iH={convertOffsetParentRelativeRectToViewportRelativeRect:ZO,getDocumentElement:ya,getClippingRect:tH,getOffsetParent:yP,getElementRects:nH,getClientRects:XO,getDimensions:aH,getScale:Ds,isElement:Jt,isRTL:oH};function mP(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function sH(t,e){let r=null,n;const o=ya(t);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function c(l,d){l===void 0&&(l=!1),d===void 0&&(d=1),i();const h=t.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(l||e(),!y||!f)return;const k=u1(p),m=u1(o.clientWidth-(u+y)),x=u1(o.clientHeight-(p+f)),v=u1(u),M={rootMargin:-k+"px "+-m+"px "+-x+"px "+-v+"px",threshold:Ct(0,er(1,d))||1};let b=!0;function C(I){const L=I[0].intersectionRatio;if(L!==d){if(!b)return c();L?c(!1,L):n=setTimeout(()=>{c(!1,1e-7)},1e3)}L===1&&!mP(h,t.getBoundingClientRect())&&c(),b=!1}try{r=new IntersectionObserver(C,{...M,root:o.ownerDocument})}catch{r=new IntersectionObserver(C,M)}r.observe(t)}return c(!0),i}function cH(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,h=mS(t),u=o||i?[...h?Gc(h):[],...Gc(e)]:[];u.forEach(v=>{o&&v.addEventListener("scroll",r,{passive:!0}),i&&v.addEventListener("resize",r)});const p=h&&l?sH(h,r):null;let y=-1,f=null;c&&(f=new ResizeObserver(v=>{let[w]=v;w&&w.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var M;(M=f)==null||M.observe(e)})),r()}),h&&!d&&f.observe(h),f.observe(e));let k,m=d?Qi(t):null;d&&x();function x(){const v=Qi(t);m&&!mP(m,v)&&r(),m=v,k=requestAnimationFrame(x)}return r(),()=>{var v;u.forEach(w=>{o&&w.removeEventListener("scroll",r),i&&w.removeEventListener("resize",r)}),p==null||p(),(v=f)==null||v.disconnect(),f=null,d&&cancelAnimationFrame(k)}}const lH=RO,dH=TO,hH=AO,uH=DO,pH=PO,TL=NO,yH=qO,mH=(t,e,r)=>{const n=new Map,o={platform:iH,...r},i={...o.platform,_c:n};return IO(t,e,{...o,platform:i})};var fH=typeof document<"u",xH=function(){},s9=fH?S.useLayoutEffect:xH;function w9(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let r,n,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(r=t.length,r!==e.length)return!1;for(n=r;n--!==0;)if(!w9(t[n],e[n]))return!1;return!0}if(o=Object.keys(t),r=o.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(e,o[n]))return!1;for(n=r;n--!==0;){const i=o[n];if(!(i==="_owner"&&t.$$typeof)&&!w9(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function fP(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function qL(t,e){const r=fP(t);return Math.round(e*r)/r}function IC(t){const e=g.useRef(t);return s9(()=>{e.current=t}),e}function kH(t){t===void 0&&(t={});const{placement:e="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:i,floating:c}={},transform:l=!0,whileElementsMounted:d,open:h}=t,[u,p]=g.useState({x:0,y:0,strategy:r,placement:e,middlewareData:{},isPositioned:!1}),[y,f]=g.useState(n);w9(y,n)||f(n);const[k,m]=g.useState(null),[x,v]=g.useState(null),w=g.useCallback(O=>{O!==I.current&&(I.current=O,m(O))},[]),M=g.useCallback(O=>{O!==L.current&&(L.current=O,v(O))},[]),b=i||k,C=c||x,I=g.useRef(null),L=g.useRef(null),A=g.useRef(u),N=d!=null,q=IC(d),P=IC(o),_=IC(h),T=g.useCallback(()=>{if(!I.current||!L.current)return;const O={placement:e,strategy:r,middleware:y};P.current&&(O.platform=P.current),mH(I.current,L.current,O).then(K=>{const se={...K,isPositioned:_.current!==!1};$.current&&!w9(A.current,se)&&(A.current=se,j9.flushSync(()=>{p(se)}))})},[y,e,r,P,_]);s9(()=>{h===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,p(O=>({...O,isPositioned:!1})))},[h]);const $=g.useRef(!1);s9(()=>($.current=!0,()=>{$.current=!1}),[]),s9(()=>{if(b&&(I.current=b),C&&(L.current=C),b&&C){if(q.current)return q.current(b,C,T);T()}},[b,C,T,q,N]);const G=g.useMemo(()=>({reference:I,floating:L,setReference:w,setFloating:M}),[w,M]),B=g.useMemo(()=>({reference:b,floating:C}),[b,C]),V=g.useMemo(()=>{const O={position:r,left:0,top:0};if(!B.floating)return O;const K=qL(B.floating,u.x),se=qL(B.floating,u.y);return l?{...O,transform:"translate("+K+"px, "+se+"px)",...fP(B.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:K,top:se}},[r,l,B.floating,u.x,u.y]);return g.useMemo(()=>({...u,update:T,refs:G,elements:B,floatingStyles:V}),[u,T,G,B,V])}const gH=t=>{function e(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:t,fn(r){const{element:n,padding:o}=typeof t=="function"?t(r):t;return n&&e(n)?n.current!=null?TL({element:n.current,padding:o}).fn(r):{}:n?TL({element:n,padding:o}).fn(r):{}}}},vH=(t,e)=>({...lH(t),options:[t,e]}),wH=(t,e)=>({...dH(t),options:[t,e]}),MH=(t,e)=>({...yH(t),options:[t,e]}),bH=(t,e)=>({...hH(t),options:[t,e]}),CH=(t,e)=>({...uH(t),options:[t,e]}),jH=(t,e)=>({...pH(t),options:[t,e]}),SH=(t,e)=>({...gH(t),options:[t,e]});var LH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],IH=LH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),NH="Arrow",xP=g.forwardRef((t,e)=>{const{children:r,width:n=10,height:o=5,...i}=t;return a.jsx(IH.svg,{...i,ref:e,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?r:a.jsx("polygon",{points:"0,0 30,0 15,10"})})});xP.displayName=NH;var AH=xP;function DL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function PH(...t){return e=>{let r=!1;const n=t.map(o=>{const i=DL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():DL(t[o],null)}}}}function kP(...t){return g.useCallback(PH(...t),t)}function _H(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,RH(o,...e)]}function RH(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var TH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],gP=TH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function qH(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var zL=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},fS="Popper",[vP,X9]=_H(fS),[DH,wP]=vP(fS),MP=t=>{const{__scopePopper:e,children:r}=t,[n,o]=g.useState(null);return a.jsx(DH,{scope:e,anchor:n,onAnchorChange:o,children:r})};MP.displayName=fS;var bP="PopperAnchor",CP=g.forwardRef((t,e)=>{const{__scopePopper:r,virtualRef:n,...o}=t,i=wP(bP,r),c=g.useRef(null),l=kP(e,c),d=g.useRef(null);return g.useEffect(()=>{const h=d.current;d.current=(n==null?void 0:n.current)||c.current,h!==d.current&&i.onAnchorChange(d.current)}),n?null:a.jsx(gP.div,{...o,ref:l})});CP.displayName=bP;var xS="PopperContent",[zH,FH]=vP(xS),jP=g.forwardRef((t,e)=>{var W,J,ne,ce,me,le;const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:i="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:d=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:y=!1,updatePositionStrategy:f="optimized",onPlaced:k,...m}=t,x=wP(xS,r),[v,w]=g.useState(null),M=kP(e,ze=>w(ze)),[b,C]=g.useState(null),I=nS(b),L=(I==null?void 0:I.width)??0,A=(I==null?void 0:I.height)??0,N=n+(i!=="center"?"-"+i:""),q=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},P=Array.isArray(h)?h:[h],_=P.length>0,T={padding:q,boundary:P.filter(OH),altBoundary:_},{refs:$,floatingStyles:G,placement:B,isPositioned:V,middlewareData:O}=kH({strategy:"fixed",placement:N,whileElementsMounted:(...ze)=>cH(...ze,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[vH({mainAxis:o+A,alignmentAxis:c}),d&&wH({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?MH():void 0,...T}),d&&bH({...T}),CH({...T,apply:({elements:ze,rects:Se,availableWidth:We,availableHeight:rt})=>{const{width:it,height:Pt}=Se.reference,Fe=ze.floating.style;Fe.setProperty("--radix-popper-available-width",`${We}px`),Fe.setProperty("--radix-popper-available-height",`${rt}px`),Fe.setProperty("--radix-popper-anchor-width",`${it}px`),Fe.setProperty("--radix-popper-anchor-height",`${Pt}px`)}}),b&&SH({element:b,padding:l}),HH({arrowWidth:L,arrowHeight:A}),y&&jH({strategy:"referenceHidden",...T})]}),[K,se]=IP(B),Q=qH(k);zL(()=>{V&&(Q==null||Q())},[V,Q]);const Y=(W=O.arrow)==null?void 0:W.x,te=(J=O.arrow)==null?void 0:J.y,ae=((ne=O.arrow)==null?void 0:ne.centerOffset)!==0,[he,ke]=g.useState();return zL(()=>{v&&ke(window.getComputedStyle(v).zIndex)},[v]),a.jsx("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...G,transform:V?G.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:he,"--radix-popper-transform-origin":[(ce=O.transformOrigin)==null?void 0:ce.x,(me=O.transformOrigin)==null?void 0:me.y].join(" "),...((le=O.hide)==null?void 0:le.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:a.jsx(zH,{scope:r,placedSide:K,onArrowChange:C,arrowX:Y,arrowY:te,shouldHideArrow:ae,children:a.jsx(gP.div,{"data-side":K,"data-align":se,...m,ref:M,style:{...m.style,animation:V?void 0:"none"}})})})});jP.displayName=xS;var SP="PopperArrow",EH={top:"bottom",right:"left",bottom:"top",left:"right"},LP=g.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,i=FH(SP,n),c=EH[i.placedSide];return a.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[c]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:a.jsx(AH,{...o,ref:r,style:{...o.style,display:"block"}})})});LP.displayName=SP;function OH(t){return t!==null}var HH=t=>({name:"transformOrigin",options:t,fn(e){var x,v,w;const{placement:r,rects:n,middlewareData:o}=e,c=((x=o.arrow)==null?void 0:x.centerOffset)!==0,l=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[h,u]=IP(r),p={start:"0%",center:"50%",end:"100%"}[u],y=(((v=o.arrow)==null?void 0:v.x)??0)+l/2,f=(((w=o.arrow)==null?void 0:w.y)??0)+d/2;let k="",m="";return h==="bottom"?(k=c?p:`${y}px`,m=`${-d}px`):h==="top"?(k=c?p:`${y}px`,m=`${n.floating.height+d}px`):h==="right"?(k=`${-d}px`,m=c?p:`${f}px`):h==="left"&&(k=`${n.floating.width+d}px`,m=c?p:`${f}px`),{data:{x:k,y:m}}}});function IP(t){const[e,r="center"]=t.split("-");return[e,r]}var NP=MP,kS=CP,AP=jP,PP=LP,VH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],At=VH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function BH(t){const e=g.useRef(t);return g.useEffect(()=>{e.current=t}),g.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}var UH=g[" useInsertionEffect ".trim().toString()]||ua;function FL({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=$H({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=GH(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function $H({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return UH(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function GH(t){return typeof t=="function"}var WH=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ZH=WH.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),_P=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),XH="VisuallyHidden",JH=g.forwardRef((t,e)=>a.jsx(ZH.span,{...t,ref:e,style:{..._P,...t.style}}));JH.displayName=XH;var YH=[" ","Enter","ArrowUp","ArrowDown"],KH=[" ","Enter"],es="Select",[J9,Y9,QH]=uO(es),[Ks,uU]=oP(es,[QH,X9]),K9=X9(),[eV,sr]=Ks(es),[tV,aV]=Ks(es),RP=t=>{const{__scopeSelect:e,children:r,open:n,defaultOpen:o,onOpenChange:i,value:c,defaultValue:l,onValueChange:d,dir:h,name:u,autoComplete:p,disabled:y,required:f,form:k}=t,m=K9(e),[x,v]=g.useState(null),[w,M]=g.useState(null),[b,C]=g.useState(!1),I=yO(h),[L,A]=FL({prop:n,defaultProp:o??!1,onChange:i,caller:es}),[N,q]=FL({prop:c,defaultProp:l,onChange:d,caller:es}),P=g.useRef(null),_=x?k||!!x.closest("form"):!0,[T,$]=g.useState(new Set),G=Array.from(T).map(B=>B.props.value).join(";");return a.jsx(NP,{...m,children:a.jsxs(eV,{required:f,scope:e,trigger:x,onTriggerChange:v,valueNode:w,onValueNodeChange:M,valueNodeHasChildren:b,onValueNodeHasChildrenChange:C,contentId:lS(),value:N,onValueChange:q,open:L,onOpenChange:A,dir:I,triggerPointerDownPosRef:P,disabled:y,children:[a.jsx(J9.Provider,{scope:e,children:a.jsx(tV,{scope:t.__scopeSelect,onNativeOptionAdd:g.useCallback(B=>{$(V=>new Set(V).add(B))},[]),onNativeOptionRemove:g.useCallback(B=>{$(V=>{const O=new Set(V);return O.delete(B),O})},[]),children:r})}),_?a.jsxs(r_,{"aria-hidden":!0,required:f,tabIndex:-1,name:u,autoComplete:p,value:N,onChange:B=>q(B.target.value),disabled:y,form:k,children:[N===void 0?a.jsx("option",{value:""}):null,Array.from(T)]},G):null]})})};RP.displayName=es;var TP="SelectTrigger",qP=g.forwardRef((t,e)=>{const{__scopeSelect:r,disabled:n=!1,...o}=t,i=K9(r),c=sr(TP,r),l=c.disabled||n,d=Vt(e,c.onTriggerChange),h=Y9(r),u=g.useRef("touch"),[p,y,f]=o_(m=>{const x=h().filter(M=>!M.disabled),v=x.find(M=>M.value===c.value),w=i_(x,m,v);w!==void 0&&c.onValueChange(w.value)}),k=m=>{l||(c.onOpenChange(!0),f()),m&&(c.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return a.jsx(kS,{asChild:!0,...i,children:a.jsx(At.button,{type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":n_(c.value)?"":void 0,...o,ref:d,onClick:nt(o.onClick,m=>{m.currentTarget.focus(),u.current!=="mouse"&&k(m)}),onPointerDown:nt(o.onPointerDown,m=>{u.current=m.pointerType;const x=m.target;x.hasPointerCapture(m.pointerId)&&x.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(k(m),m.preventDefault())}),onKeyDown:nt(o.onKeyDown,m=>{const x=p.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&y(m.key),!(x&&m.key===" ")&&YH.includes(m.key)&&(k(),m.preventDefault())})})})});qP.displayName=TP;var DP="SelectValue",zP=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,children:i,placeholder:c="",...l}=t,d=sr(DP,r),{onValueNodeHasChildrenChange:h}=d,u=i!==void 0,p=Vt(e,d.onValueNodeChange);return ua(()=>{h(u)},[h,u]),a.jsx(At.span,{...l,ref:p,style:{pointerEvents:"none"},children:n_(d.value)?a.jsx(a.Fragment,{children:c}):i})});zP.displayName=DP;var rV="SelectIcon",FP=g.forwardRef((t,e)=>{const{__scopeSelect:r,children:n,...o}=t;return a.jsx(At.span,{"aria-hidden":!0,...o,ref:e,children:n||"▼"})});FP.displayName=rV;var nV="SelectPortal",EP=t=>a.jsx(D9,{asChild:!0,...t});EP.displayName=nV;var ts="SelectContent",OP=g.forwardRef((t,e)=>{const r=sr(ts,t.__scopeSelect),[n,o]=g.useState();if(ua(()=>{o(new DocumentFragment)},[]),!r.open){const i=n;return i?j9.createPortal(a.jsx(HP,{scope:t.__scopeSelect,children:a.jsx(J9.Slot,{scope:t.__scopeSelect,children:a.jsx("div",{children:t.children})})}),i):null}return a.jsx(VP,{...t,ref:e})});OP.displayName=ts;var Gt=10,[HP,cr]=Ks(ts),oV="SelectContentImpl",iV=tt("SelectContent.RemoveScroll"),VP=g.forwardRef((t,e)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:c,side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x,...v}=t,w=sr(ts,r),[M,b]=g.useState(null),[C,I]=g.useState(null),L=Vt(e,W=>b(W)),[A,N]=g.useState(null),[q,P]=g.useState(null),_=Y9(r),[T,$]=g.useState(!1),G=g.useRef(!1);g.useEffect(()=>{if(M)return $j(M)},[M]),Uj();const B=g.useCallback(W=>{const[J,...ne]=_().map(le=>le.ref.current),[ce]=ne.slice(-1),me=document.activeElement;for(const le of W)if(le===me||(le==null||le.scrollIntoView({block:"nearest"}),le===J&&C&&(C.scrollTop=0),le===ce&&C&&(C.scrollTop=C.scrollHeight),le==null||le.focus(),document.activeElement!==me))return},[_,C]),V=g.useCallback(()=>B([A,M]),[B,A,M]);g.useEffect(()=>{T&&V()},[T,V]);const{onOpenChange:O,triggerPointerDownPosRef:K}=w;g.useEffect(()=>{if(M){let W={x:0,y:0};const J=ce=>{var me,le;W={x:Math.abs(Math.round(ce.pageX)-(((me=K.current)==null?void 0:me.x)??0)),y:Math.abs(Math.round(ce.pageY)-(((le=K.current)==null?void 0:le.y)??0))}},ne=ce=>{W.x<=10&&W.y<=10?ce.preventDefault():M.contains(ce.target)||O(!1),document.removeEventListener("pointermove",J),K.current=null};return K.current!==null&&(document.addEventListener("pointermove",J),document.addEventListener("pointerup",ne,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",J),document.removeEventListener("pointerup",ne,{capture:!0})}}},[M,O,K]),g.useEffect(()=>{const W=()=>O(!1);return window.addEventListener("blur",W),window.addEventListener("resize",W),()=>{window.removeEventListener("blur",W),window.removeEventListener("resize",W)}},[O]);const[se,Q]=o_(W=>{const J=_().filter(me=>!me.disabled),ne=J.find(me=>me.ref.current===document.activeElement),ce=i_(J,W,ne);ce&&setTimeout(()=>ce.ref.current.focus())}),Y=g.useCallback((W,J,ne)=>{const ce=!G.current&&!ne;(w.value!==void 0&&w.value===J||ce)&&(N(W),ce&&(G.current=!0))},[w.value]),te=g.useCallback(()=>M==null?void 0:M.focus(),[M]),ae=g.useCallback((W,J,ne)=>{const ce=!G.current&&!ne;(w.value!==void 0&&w.value===J||ce)&&P(W)},[w.value]),he=n==="popper"?nj:BP,ke=he===nj?{side:l,sideOffset:d,align:h,alignOffset:u,arrowPadding:p,collisionBoundary:y,collisionPadding:f,sticky:k,hideWhenDetached:m,avoidCollisions:x}:{};return a.jsx(HP,{scope:r,content:M,viewport:C,onViewportChange:I,itemRefCallback:Y,selectedItem:A,onItemLeave:te,itemTextRefCallback:ae,focusSelectedItem:V,selectedItemText:q,position:n,isPositioned:T,searchRef:se,children:a.jsx(E9,{as:iV,allowPinchZoom:!0,children:a.jsx(q9,{asChild:!0,trapped:w.open,onMountAutoFocus:W=>{W.preventDefault()},onUnmountAutoFocus:nt(o,W=>{var J;(J=w.trigger)==null||J.focus({preventScroll:!0}),W.preventDefault()}),children:a.jsx(T9,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:W=>W.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:a.jsx(he,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:W=>W.preventDefault(),...v,...ke,onPlaced:()=>$(!0),ref:L,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:nt(v.onKeyDown,W=>{const J=W.ctrlKey||W.altKey||W.metaKey;if(W.key==="Tab"&&W.preventDefault(),!J&&W.key.length===1&&Q(W.key),["ArrowUp","ArrowDown","Home","End"].includes(W.key)){let ce=_().filter(me=>!me.disabled).map(me=>me.ref.current);if(["ArrowUp","End"].includes(W.key)&&(ce=ce.slice().reverse()),["ArrowUp","ArrowDown"].includes(W.key)){const me=W.target,le=ce.indexOf(me);ce=ce.slice(le+1)}setTimeout(()=>B(ce)),W.preventDefault()}})})})})})})});VP.displayName=oV;var sV="SelectItemAlignedPosition",BP=g.forwardRef((t,e)=>{const{__scopeSelect:r,onPlaced:n,...o}=t,i=sr(ts,r),c=cr(ts,r),[l,d]=g.useState(null),[h,u]=g.useState(null),p=Vt(e,L=>u(L)),y=Y9(r),f=g.useRef(!1),k=g.useRef(!0),{viewport:m,selectedItem:x,selectedItemText:v,focusSelectedItem:w}=c,M=g.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&h&&m&&x&&v){const L=i.trigger.getBoundingClientRect(),A=h.getBoundingClientRect(),N=i.valueNode.getBoundingClientRect(),q=v.getBoundingClientRect();if(i.dir!=="rtl"){const me=q.left-A.left,le=N.left-me,ze=L.left-le,Se=L.width+ze,We=Math.max(Se,A.width),rt=window.innerWidth-Gt,it=bL(le,[Gt,Math.max(Gt,rt-We)]);l.style.minWidth=Se+"px",l.style.left=it+"px"}else{const me=A.right-q.right,le=window.innerWidth-N.right-me,ze=window.innerWidth-L.right-le,Se=L.width+ze,We=Math.max(Se,A.width),rt=window.innerWidth-Gt,it=bL(le,[Gt,Math.max(Gt,rt-We)]);l.style.minWidth=Se+"px",l.style.right=it+"px"}const P=y(),_=window.innerHeight-Gt*2,T=m.scrollHeight,$=window.getComputedStyle(h),G=parseInt($.borderTopWidth,10),B=parseInt($.paddingTop,10),V=parseInt($.borderBottomWidth,10),O=parseInt($.paddingBottom,10),K=G+B+T+O+V,se=Math.min(x.offsetHeight*5,K),Q=window.getComputedStyle(m),Y=parseInt(Q.paddingTop,10),te=parseInt(Q.paddingBottom,10),ae=L.top+L.height/2-Gt,he=_-ae,ke=x.offsetHeight/2,W=x.offsetTop+ke,J=G+B+W,ne=K-J;if(J<=ae){const me=P.length>0&&x===P[P.length-1].ref.current;l.style.bottom="0px";const le=h.clientHeight-m.offsetTop-m.offsetHeight,ze=Math.max(he,ke+(me?te:0)+le+V),Se=J+ze;l.style.height=Se+"px"}else{const me=P.length>0&&x===P[0].ref.current;l.style.top="0px";const ze=Math.max(ae,G+m.offsetTop+(me?Y:0)+ke)+ne;l.style.height=ze+"px",m.scrollTop=J-ae+m.offsetTop}l.style.margin=`${Gt}px 0`,l.style.minHeight=se+"px",l.style.maxHeight=_+"px",n==null||n(),requestAnimationFrame(()=>f.current=!0)}},[y,i.trigger,i.valueNode,l,h,m,x,v,i.dir,n]);ua(()=>M(),[M]);const[b,C]=g.useState();ua(()=>{h&&C(window.getComputedStyle(h).zIndex)},[h]);const I=g.useCallback(L=>{L&&k.current===!0&&(M(),w==null||w(),k.current=!1)},[M,w]);return a.jsx(lV,{scope:r,contentWrapper:l,shouldExpandOnScrollRef:f,onScrollButtonChange:I,children:a.jsx("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:b},children:a.jsx(At.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});BP.displayName=sV;var cV="SelectPopperPosition",nj=g.forwardRef((t,e)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Gt,...i}=t,c=K9(r);return a.jsx(AP,{...c,...i,ref:e,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});nj.displayName=cV;var[lV,gS]=Ks(ts,{}),oj="SelectViewport",UP=g.forwardRef((t,e)=>{const{__scopeSelect:r,nonce:n,...o}=t,i=cr(oj,r),c=gS(oj,r),l=Vt(e,i.onViewportChange),d=g.useRef(0);return a.jsxs(a.Fragment,{children:[a.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),a.jsx(J9.Slot,{scope:r,children:a.jsx(At.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:nt(o.onScroll,h=>{const u=h.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:y}=c;if(y!=null&&y.current&&p){const f=Math.abs(d.current-u.scrollTop);if(f>0){const k=window.innerHeight-Gt*2,m=parseFloat(p.style.minHeight),x=parseFloat(p.style.height),v=Math.max(m,x);if(v<k){const w=v+f,M=Math.min(k,w),b=w-M;p.style.height=M+"px",p.style.bottom==="0px"&&(u.scrollTop=b>0?b:0,p.style.justifyContent="flex-end")}}}d.current=u.scrollTop})})})]})});UP.displayName=oj;var $P="SelectGroup",[dV,hV]=Ks($P),uV=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=lS();return a.jsx(dV,{scope:r,id:o,children:a.jsx(At.div,{role:"group","aria-labelledby":o,...n,ref:e})})});uV.displayName=$P;var GP="SelectLabel",WP=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=hV(GP,r);return a.jsx(At.div,{id:o.id,...n,ref:e})});WP.displayName=GP;var M9="SelectItem",[pV,ZP]=Ks(M9),XP=g.forwardRef((t,e)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...c}=t,l=sr(M9,r),d=cr(M9,r),h=l.value===n,[u,p]=g.useState(i??""),[y,f]=g.useState(!1),k=Vt(e,w=>{var M;return(M=d.itemRefCallback)==null?void 0:M.call(d,w,n,o)}),m=lS(),x=g.useRef("touch"),v=()=>{o||(l.onValueChange(n),l.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.jsx(pV,{scope:r,value:n,disabled:o,textId:m,isSelected:h,onItemTextChange:g.useCallback(w=>{p(M=>M||((w==null?void 0:w.textContent)??"").trim())},[]),children:a.jsx(J9.ItemSlot,{scope:r,value:n,disabled:o,textValue:u,children:a.jsx(At.div,{role:"option","aria-labelledby":m,"data-highlighted":y?"":void 0,"aria-selected":h&&y,"data-state":h?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...c,ref:k,onFocus:nt(c.onFocus,()=>f(!0)),onBlur:nt(c.onBlur,()=>f(!1)),onClick:nt(c.onClick,()=>{x.current!=="mouse"&&v()}),onPointerUp:nt(c.onPointerUp,()=>{x.current==="mouse"&&v()}),onPointerDown:nt(c.onPointerDown,w=>{x.current=w.pointerType}),onPointerMove:nt(c.onPointerMove,w=>{var M;x.current=w.pointerType,o?(M=d.onItemLeave)==null||M.call(d):x.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:nt(c.onPointerLeave,w=>{var M;w.currentTarget===document.activeElement&&((M=d.onItemLeave)==null||M.call(d))}),onKeyDown:nt(c.onKeyDown,w=>{var b;((b=d.searchRef)==null?void 0:b.current)!==""&&w.key===" "||(KH.includes(w.key)&&v(),w.key===" "&&w.preventDefault())})})})})});XP.displayName=M9;var cc="SelectItemText",JP=g.forwardRef((t,e)=>{const{__scopeSelect:r,className:n,style:o,...i}=t,c=sr(cc,r),l=cr(cc,r),d=ZP(cc,r),h=aV(cc,r),[u,p]=g.useState(null),y=Vt(e,v=>p(v),d.onItemTextChange,v=>{var w;return(w=l.itemTextRefCallback)==null?void 0:w.call(l,v,d.value,d.disabled)}),f=u==null?void 0:u.textContent,k=g.useMemo(()=>a.jsx("option",{value:d.value,disabled:d.disabled,children:f},d.value),[d.disabled,d.value,f]),{onNativeOptionAdd:m,onNativeOptionRemove:x}=h;return ua(()=>(m(k),()=>x(k)),[m,x,k]),a.jsxs(a.Fragment,{children:[a.jsx(At.span,{id:d.textId,...i,ref:y}),d.isSelected&&c.valueNode&&!c.valueNodeHasChildren?j9.createPortal(i.children,c.valueNode):null]})});JP.displayName=cc;var YP="SelectItemIndicator",KP=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return ZP(YP,r).isSelected?a.jsx(At.span,{"aria-hidden":!0,...n,ref:e}):null});KP.displayName=YP;var ij="SelectScrollUpButton",QP=g.forwardRef((t,e)=>{const r=cr(ij,t.__scopeSelect),n=gS(ij,t.__scopeSelect),[o,i]=g.useState(!1),c=Vt(e,n.onScrollButtonChange);return ua(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollTop>0;i(h)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(t_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop-d.offsetHeight)}}):null});QP.displayName=ij;var sj="SelectScrollDownButton",e_=g.forwardRef((t,e)=>{const r=cr(sj,t.__scopeSelect),n=gS(sj,t.__scopeSelect),[o,i]=g.useState(!1),c=Vt(e,n.onScrollButtonChange);return ua(()=>{if(r.viewport&&r.isPositioned){let l=function(){const h=d.scrollHeight-d.clientHeight,u=Math.ceil(d.scrollTop)<h;i(u)};const d=r.viewport;return l(),d.addEventListener("scroll",l),()=>d.removeEventListener("scroll",l)}},[r.viewport,r.isPositioned]),o?a.jsx(t_,{...t,ref:c,onAutoScroll:()=>{const{viewport:l,selectedItem:d}=r;l&&d&&(l.scrollTop=l.scrollTop+d.offsetHeight)}}):null});e_.displayName=sj;var t_=g.forwardRef((t,e)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=t,i=cr("SelectScrollButton",r),c=g.useRef(null),l=Y9(r),d=g.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return g.useEffect(()=>()=>d(),[d]),ua(()=>{var u;const h=l().find(p=>p.ref.current===document.activeElement);(u=h==null?void 0:h.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),a.jsx(At.div,{"aria-hidden":!0,...o,ref:e,style:{flexShrink:0,...o.style},onPointerDown:nt(o.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(n,50))}),onPointerMove:nt(o.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),c.current===null&&(c.current=window.setInterval(n,50))}),onPointerLeave:nt(o.onPointerLeave,()=>{d()})})}),yV="SelectSeparator",a_=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t;return a.jsx(At.div,{"aria-hidden":!0,...n,ref:e})});a_.displayName=yV;var cj="SelectArrow",mV=g.forwardRef((t,e)=>{const{__scopeSelect:r,...n}=t,o=K9(r),i=sr(cj,r),c=cr(cj,r);return i.open&&c.position==="popper"?a.jsx(PP,{...o,...n,ref:e}):null});mV.displayName=cj;var fV="SelectBubbleInput",r_=g.forwardRef(({__scopeSelect:t,value:e,...r},n)=>{const o=g.useRef(null),i=Vt(n,o),c=rS(e);return g.useEffect(()=>{const l=o.current;if(!l)return;const d=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(d,"value").set;if(c!==e&&u){const p=new Event("change",{bubbles:!0});u.call(l,e),l.dispatchEvent(p)}},[c,e]),a.jsx(At.select,{...r,style:{..._P,...r.style},ref:i,defaultValue:e})});r_.displayName=fV;function n_(t){return t===""||t===void 0}function o_(t){const e=BH(t),r=g.useRef(""),n=g.useRef(0),o=g.useCallback(c=>{const l=r.current+c;e(l),function d(h){r.current=h,window.clearTimeout(n.current),h!==""&&(n.current=window.setTimeout(()=>d(""),1e3))}(l)},[e]),i=g.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return g.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function i_(t,e,r){const o=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=r?t.indexOf(r):-1;let c=xV(t,Math.max(i,0));o.length===1&&(c=c.filter(h=>h!==r));const d=c.find(h=>h.textValue.toLowerCase().startsWith(o.toLowerCase()));return d!==r?d:void 0}function xV(t,e){return t.map((r,n)=>t[(e+n)%t.length])}var kV=RP,s_=qP,gV=zP,vV=FP,wV=EP,c_=OP,MV=UP,l_=WP,d_=XP,bV=JP,CV=KP,h_=QP,u_=e_,vS=a_;const jV=["Save and track your favorite jobs","Unlock full job descriptions","Get personalized recommendations"],SV=t=>{if(!t)return"continue";const e=t.trim();return e.length===0?"continue":e.toLowerCase()},LV=({open:t,onClose:e,onLogin:r,onRegister:n,appName:o="Your App",attemptedAction:i,title:c="Sign in to continue",description:l,helperContent:d})=>{const h=SV(i),u=l??`Please sign in to ${h} and keep your progress synced with ${o}.`;return a.jsx(os,{open:t,onOpenChange:p=>!p&&e(),children:a.jsxs(nr,{className:"sm:max-w-lg",children:[a.jsxs(is,{className:"space-y-2",children:[a.jsxs(ir,{className:"flex items-center gap-2 text-xl font-semibold",children:[a.jsx("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-accent/10 text-accent",children:a.jsx(Tt,{className:"h-5 w-5"})}),c]}),a.jsx(eS,{className:"text-base text-muted-foreground",children:u})]}),a.jsxs("div",{className:"mt-2 space-y-4",children:[a.jsxs("div",{className:"rounded-lg border border-border/60 bg-muted/30 p-4",children:[a.jsxs("div",{className:"mb-3 flex items-center gap-2 text-sm font-medium text-foreground",children:[a.jsx(Va,{className:"h-4 w-4 text-accent"}),"Why create an account?"]}),a.jsx("ul",{className:"space-y-2 text-sm text-muted-foreground",children:jV.map(p=>a.jsxs("li",{className:"flex items-start gap-2",children:[a.jsx("span",{className:"mt-1 block h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":!0}),a.jsx("span",{children:p})]},p))})]}),d&&a.jsx("div",{className:"rounded-md bg-card p-4 text-sm text-muted-foreground shadow-sm",children:d})]}),a.jsx(vS,{className:"my-4"}),a.jsxs(or,{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[a.jsx(U,{variant:"outline",onClick:n,className:"w-full",children:"Create account"}),a.jsx(U,{onClick:r,className:"w-full bg-accent text-accent-foreground hover:bg-accent/90",children:"Sign in"}),a.jsx(U,{variant:"ghost",onClick:e,className:"w-full sm:col-span-2 text-muted-foreground",children:"Maybe later"})]})]})})},IV=[{icon:kc,label:"Dashboard",path:"/dashboard"},{icon:mt,label:"My Jobs",path:"/dashboard/jobs"},{icon:Ft,label:"Courses",path:"/dashboard/courses"},{icon:Is,label:"Settings",path:"/dashboard/settings"}];function NV({children:t,user:e={name:"User",email:"user@example.com"},onLogout:r,onNavigate:n,currentPath:o="/dashboard",notificationCount:i=0}){return a.jsx("div",{className:"min-h-screen bg-background",children:a.jsxs("div",{className:"flex",children:[a.jsxs("aside",{className:"hidden md:flex w-64 flex-col border-r bg-card h-[calc(100vh-4rem)]",children:[a.jsx("nav",{className:"flex-1 space-y-1 p-4",children:IV.map(c=>{const l=c.icon,d=o===c.path;return a.jsxs("button",{onClick:()=>n==null?void 0:n(c.path),className:`flex w-full items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-colors ${d?"bg-accent text-accent-foreground":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,children:[a.jsx(l,{className:"h-4 w-4"}),c.label]},c.path)})}),r&&a.jsx("div",{className:"border-t p-4",children:a.jsxs(U,{variant:"ghost",className:"w-full justify-start text-muted-foreground hover:text-foreground",onClick:r,children:[a.jsx(Mc,{className:"mr-3 h-4 w-4"}),"Logout"]})})]}),a.jsx("main",{className:"flex-1 p-6 md:p-8",children:t})]})})}const AV=S9("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-yellow-200/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ot({className:t,variant:e,...r}){return a.jsx("div",{className:ie(AV({variant:e}),t),...r})}function PV({userName:t,feedItems:e,alerts:r,snapshot:n,onSave:o,onApply:i,onEnroll:c,onRead:l}){const d=u=>{switch(u){case"job":return mt;case"course":return Ft;case"news":return Sa;default:return mt}},h=u=>{switch(u.type){case"job":return a.jsxs(a.Fragment,{children:[a.jsx(U,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx(U,{size:"sm",onClick:()=>i(u.id),children:"Apply"})]});case"course":return a.jsxs(a.Fragment,{children:[a.jsx(U,{variant:"outline",size:"sm",onClick:()=>o(u.id),children:"Save"}),a.jsx(U,{size:"sm",onClick:()=>c(u.id),children:"Enroll"})]});case"news":return a.jsx(U,{size:"sm",onClick:()=>l(u.id),children:"Read"});default:return null}};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsxs("h2",{className:"text-3xl font-bold",children:["Welcome back, ",t," 👋"]}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Your personalized iGaming career hub"})]}),a.jsxs("div",{className:"grid gap-6 lg:grid-cols-3",children:[a.jsxs("div",{className:"lg:col-span-2 space-y-4",children:[a.jsx("h3",{className:"text-xl font-semibold",children:"Your Feed"}),e.map(u=>{const p=d(u.type);return a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsxs("div",{className:"flex items-start justify-between",children:[a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx(p,{className:"h-5 w-5 text-primary"}),a.jsx(ot,{variant:"secondary",children:u.type})]}),a.jsx("span",{className:"text-xs text-muted-foreground",children:u.timestamp})]}),a.jsx(De,{className:"text-lg mt-2",children:u.title}),u.company&&a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"}),u.company]}),u.location&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Et,{className:"h-4 w-4"}),u.location]})]}),a.jsx(Ue,{children:u.description})]}),a.jsxs(Me,{children:[a.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:u.tags.map(y=>a.jsx(ot,{variant:"outline",children:y},y))}),u.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground mb-3 italic",children:["💡 ",u.reason]}),a.jsx("div",{className:"flex gap-2",children:h(u)})]})]},u.id)})]}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs(we,{children:[a.jsx(qe,{children:a.jsxs(De,{className:"flex items-center gap-2",children:[a.jsx($i,{className:"h-5 w-5"}),"Your iGaming Career Snapshot"]})}),a.jsx(Me,{className:"space-y-3",children:n.map(u=>a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsx("span",{className:"text-sm text-muted-foreground",children:u.label}),a.jsxs("div",{className:"text-right",children:[a.jsx("span",{className:"font-semibold",children:u.value}),u.trend&&a.jsx("span",{className:"text-xs text-green-600 ml-2",children:u.trend})]})]},u.label))})]}),a.jsxs(we,{children:[a.jsx(qe,{children:a.jsxs(De,{className:"flex items-center gap-2",children:[a.jsx(Zt,{className:"h-5 w-5"}),"Alerts & Notifications"]})}),a.jsx(Me,{className:"space-y-3",children:r.length===0?a.jsx("p",{className:"text-sm text-muted-foreground",children:"No new alerts"}):r.map(u=>a.jsxs("div",{className:"p-3 rounded-lg bg-secondary/50 text-sm",children:[a.jsx(ot,{variant:"outline",className:"mb-2",children:u.type}),a.jsx("p",{children:u.message})]},u.id))})]})]})]})]})}function _V(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function EL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function RV(...t){return e=>{let r=!1;const n=t.map(o=>{const i=EL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():EL(t[o],null)}}}}function p_(...t){return g.useCallback(RV(...t),t)}function TV(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,qV(o,...e)]}function qV(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var DV=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},zV=g[" useInsertionEffect ".trim().toString()]||DV;function FV({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=EV({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=OV(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function EV({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return zV(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function OV(t){return typeof t=="function"}var HV=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],y_=HV.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),Q9="Switch",[VV,pU]=TV(Q9),[BV,UV]=VV(Q9),m_=g.forwardRef((t,e)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:i,required:c,disabled:l,value:d="on",onCheckedChange:h,form:u,...p}=t,[y,f]=g.useState(null),k=p_(e,M=>f(M)),m=g.useRef(!1),x=y?u||!!y.closest("form"):!0,[v,w]=FV({prop:o,defaultProp:i??!1,onChange:h,caller:Q9});return a.jsxs(BV,{scope:r,checked:v,disabled:l,children:[a.jsx(y_.button,{type:"button",role:"switch","aria-checked":v,"aria-required":c,"data-state":g_(v),"data-disabled":l?"":void 0,disabled:l,value:d,...p,ref:k,onClick:_V(t.onClick,M=>{w(b=>!b),x&&(m.current=M.isPropagationStopped(),m.current||M.stopPropagation())})}),x&&a.jsx(k_,{control:y,bubbles:!m.current,name:n,value:d,checked:v,required:c,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});m_.displayName=Q9;var f_="SwitchThumb",x_=g.forwardRef((t,e)=>{const{__scopeSwitch:r,...n}=t,o=UV(f_,r);return a.jsx(y_.span,{"data-state":g_(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:e})});x_.displayName=f_;var $V="SwitchBubbleInput",k_=g.forwardRef(({__scopeSwitch:t,control:e,checked:r,bubbles:n=!0,...o},i)=>{const c=g.useRef(null),l=p_(c,i),d=rS(r),h=nS(e);return g.useEffect(()=>{const u=c.current;if(!u)return;const p=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(p,"checked").set;if(d!==r&&f){const k=new Event("click",{bubbles:n});f.call(u,r),u.dispatchEvent(k)}},[d,r,n]),a.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:l,style:{...o.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});k_.displayName=$V;function g_(t){return t?"checked":"unchecked"}var v_=m_,GV=x_;const Wt=g.forwardRef(({className:t,...e},r)=>a.jsx(v_,{className:ie("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",t),...e,ref:r,children:a.jsx(GV,{className:ie("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));Wt.displayName=v_.displayName;function Dc(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function OL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function WV(...t){return e=>{let r=!1;const n=t.map(o=>{const i=OL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():OL(t[o],null)}}}}function wS(...t){return g.useCallback(WV(...t),t)}function ZV(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,XV(o,...e)]}function XV(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var b9=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},JV=g[" useId ".trim().toString()]||(()=>{}),YV=0;function KV(t){const[e,r]=g.useState(JV());return b9(()=>{t||r(n=>n??String(YV++))},[t]),t||(e?`radix-${e}`:"")}function QV(t,e){return g.useReducer((r,n)=>e[r][n]??r,t)}var MS=t=>{const{present:e,children:r}=t,n=eB(e),o=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),i=wS(n.ref,tB(o));return typeof r=="function"||n.isPresent?g.cloneElement(o,{ref:i}):null};MS.displayName="Presence";function eB(t){const[e,r]=g.useState(),n=g.useRef(null),o=g.useRef(t),i=g.useRef("none"),c=t?"mounted":"unmounted",[l,d]=QV(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const h=p1(n.current);i.current=l==="mounted"?h:"none"},[l]),b9(()=>{const h=n.current,u=o.current;if(u!==t){const y=i.current,f=p1(h);t?d("MOUNT"):f==="none"||(h==null?void 0:h.display)==="none"?d("UNMOUNT"):d(u&&y!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,d]),b9(()=>{if(e){let h;const u=e.ownerDocument.defaultView??window,p=f=>{const m=p1(n.current).includes(CSS.escape(f.animationName));if(f.target===e&&m&&(d("ANIMATION_END"),!o.current)){const x=e.style.animationFillMode;e.style.animationFillMode="forwards",h=u.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=x)})}},y=f=>{f.target===e&&(i.current=p1(n.current))};return e.addEventListener("animationstart",y),e.addEventListener("animationcancel",p),e.addEventListener("animationend",p),()=>{u.clearTimeout(h),e.removeEventListener("animationstart",y),e.removeEventListener("animationcancel",p),e.removeEventListener("animationend",p)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:g.useCallback(h=>{n.current=h?getComputedStyle(h):null,r(h)},[])}}function p1(t){return(t==null?void 0:t.animationName)||"none"}function tB(t){var n,o;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(o=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:o.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var aB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],w_=aB.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),rB=g[" useInsertionEffect ".trim().toString()]||b9;function nB({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[o,i,c]=oB({defaultProp:e,onChange:r}),l=t!==void 0,d=l?t:o;{const u=g.useRef(t!==void 0);g.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${n} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. 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.`),u.current=l},[l,n])}const h=g.useCallback(u=>{var p;if(l){const y=iB(u)?u(t):u;y!==t&&((p=c.current)==null||p.call(c,y))}else i(u)},[l,t,i,c]);return[d,h]}function oB({defaultProp:t,onChange:e}){const[r,n]=g.useState(t),o=g.useRef(r),i=g.useRef(e);return rB(()=>{i.current=e},[e]),g.useEffect(()=>{var c;o.current!==r&&((c=i.current)==null||c.call(i,r),o.current=r)},[r,o]),[r,n,i]}function iB(t){return typeof t=="function"}var eC="Popover",[M_,yU]=ZV(eC,[X9]),Kc=X9(),[sB,lr]=M_(eC),b_=t=>{const{__scopePopover:e,children:r,open:n,defaultOpen:o,onOpenChange:i,modal:c=!1}=t,l=Kc(e),d=g.useRef(null),[h,u]=g.useState(!1),[p,y]=nB({prop:n,defaultProp:o??!1,onChange:i,caller:eC});return a.jsx(NP,{...l,children:a.jsx(sB,{scope:e,contentId:KV(),triggerRef:d,open:p,onOpenChange:y,onOpenToggle:g.useCallback(()=>y(f=>!f),[y]),hasCustomAnchor:h,onCustomAnchorAdd:g.useCallback(()=>u(!0),[]),onCustomAnchorRemove:g.useCallback(()=>u(!1),[]),modal:c,children:r})})};b_.displayName=eC;var C_="PopoverAnchor",cB=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=lr(C_,r),i=Kc(r),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=o;return g.useEffect(()=>(c(),()=>l()),[c,l]),a.jsx(kS,{...i,...n,ref:e})});cB.displayName=C_;var j_="PopoverTrigger",S_=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=lr(j_,r),i=Kc(r),c=wS(e,o.triggerRef),l=a.jsx(w_.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":P_(o.open),...n,ref:c,onClick:Dc(t.onClick,o.onOpenToggle)});return o.hasCustomAnchor?l:a.jsx(kS,{asChild:!0,...i,children:l})});S_.displayName=j_;var bS="PopoverPortal",[lB,dB]=M_(bS,{forceMount:void 0}),L_=t=>{const{__scopePopover:e,forceMount:r,children:n,container:o}=t,i=lr(bS,e);return a.jsx(lB,{scope:e,forceMount:r,children:a.jsx(MS,{present:r||i.open,children:a.jsx(D9,{asChild:!0,container:o,children:n})})})};L_.displayName=bS;var $s="PopoverContent",I_=g.forwardRef((t,e)=>{const r=dB($s,t.__scopePopover),{forceMount:n=r.forceMount,...o}=t,i=lr($s,t.__scopePopover);return a.jsx(MS,{present:n||i.open,children:i.modal?a.jsx(uB,{...o,ref:e}):a.jsx(pB,{...o,ref:e})})});I_.displayName=$s;var hB=tt("PopoverContent.RemoveScroll"),uB=g.forwardRef((t,e)=>{const r=lr($s,t.__scopePopover),n=g.useRef(null),o=wS(e,n),i=g.useRef(!1);return g.useEffect(()=>{const c=n.current;if(c)return $j(c)},[]),a.jsx(E9,{as:hB,allowPinchZoom:!0,children:a.jsx(N_,{...t,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Dc(t.onCloseAutoFocus,c=>{var l;c.preventDefault(),i.current||(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:Dc(t.onPointerDownOutside,c=>{const l=c.detail.originalEvent,d=l.button===0&&l.ctrlKey===!0,h=l.button===2||d;i.current=h},{checkForDefaultPrevented:!1}),onFocusOutside:Dc(t.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),pB=g.forwardRef((t,e)=>{const r=lr($s,t.__scopePopover),n=g.useRef(!1),o=g.useRef(!1);return a.jsx(N_,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var c,l;(c=t.onCloseAutoFocus)==null||c.call(t,i),i.defaultPrevented||(n.current||(l=r.triggerRef.current)==null||l.focus(),i.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:i=>{var d,h;(d=t.onInteractOutside)==null||d.call(t,i),i.defaultPrevented||(n.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const c=i.target;((h=r.triggerRef.current)==null?void 0:h.contains(c))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),N_=g.forwardRef((t,e)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:c,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onInteractOutside:u,...p}=t,y=lr($s,r),f=Kc(r);return Uj(),a.jsx(q9,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:i,children:a.jsx(T9,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:u,onEscapeKeyDown:l,onPointerDownOutside:d,onFocusOutside:h,onDismiss:()=>y.onOpenChange(!1),children:a.jsx(AP,{"data-state":P_(y.open),role:"dialog",id:y.contentId,...f,...p,ref:e,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),A_="PopoverClose",yB=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=lr(A_,r);return a.jsx(w_.button,{type:"button",...n,ref:e,onClick:Dc(t.onClick,()=>o.onOpenChange(!1))})});yB.displayName=A_;var mB="PopoverArrow",fB=g.forwardRef((t,e)=>{const{__scopePopover:r,...n}=t,o=Kc(r);return a.jsx(PP,{...o,...n,ref:e})});fB.displayName=mB;function P_(t){return t?"open":"closed"}var xB=b_,kB=S_,gB=L_,__=I_;const vB=xB,wB=kB,R_=g.forwardRef(({className:t,align:e="center",sideOffset:r=4,...n},o)=>a.jsx(gB,{children:a.jsx(__,{ref:o,align:e,sideOffset:r,className:ie("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",t),...n})}));R_.displayName=__.displayName;const T_=g.forwardRef(({className:t,...e},r)=>a.jsx("textarea",{className:ie("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:r,...e}));T_.displayName="Textarea";const Wc=kV,Zc=gV,Gs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(s_,{ref:n,className:ie("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...r,children:[e,a.jsx(vV,{asChild:!0,children:a.jsx(VA,{className:"h-4 w-4 opacity-50"})})]}));Gs.displayName=s_.displayName;const q_=g.forwardRef(({className:t,...e},r)=>a.jsx(h_,{ref:r,className:ie("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(YF,{className:"h-4 w-4"})}));q_.displayName=h_.displayName;const D_=g.forwardRef(({className:t,...e},r)=>a.jsx(u_,{ref:r,className:ie("flex cursor-default items-center justify-center py-1",t),...e,children:a.jsx(VA,{className:"h-4 w-4"})}));D_.displayName=u_.displayName;const Ws=g.forwardRef(({className:t,children:e,position:r="popper",...n},o)=>a.jsx(wV,{children:a.jsxs(c_,{ref:o,className:ie("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,...n,children:[a.jsx(q_,{}),a.jsx(MV,{className:ie("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),a.jsx(D_,{})]})}));Ws.displayName=c_.displayName;const MB=g.forwardRef(({className:t,...e},r)=>a.jsx(l_,{ref:r,className:ie("px-2 py-1.5 text-sm font-semibold",t),...e}));MB.displayName=l_.displayName;const Zs=g.forwardRef(({className:t,children:e,...r},n)=>a.jsxs(d_,{ref:n,className:ie("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...r,children:[a.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(CV,{children:a.jsx(ZF,{className:"h-4 w-4"})})}),a.jsx(bV,{children:e})]}));Zs.displayName=d_.displayName;const bB=g.forwardRef(({className:t,...e},r)=>a.jsx(vS,{ref:r,className:ie("-mx-1 my-1 h-px bg-muted",t),...e}));bB.displayName=vS.displayName;function CB({open:t,onClose:e,onAdded:r,existingExperience:n,onUpdated:o}){const i=new Date().getFullYear(),c=Array.from({length:40},(f,k)=>`${i-k}`),[l,d]=S.useState({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""});S.useEffect(()=>{if(n){const[f,k]=n.period.split(" - ");d({title:n.title,company:n.company,startYear:f||"",endYear:k==="Present"?"":k||"",isPresent:k==="Present",tags:n.tags.join(", ")})}else d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""})},[n,t]);const[h,u]=S.useState(!1),p=(f,k)=>d(m=>({...m,[f]:k})),y=()=>{const f=l.isPresent?`${l.startYear} - Present`:`${l.startYear} - ${l.endYear}`,k={id:(n==null?void 0:n.id)||`temp-${Date.now()}`,title:l.title,company:l.company,period:f,tags:l.tags.split(",").map(m=>m.trim()).filter(Boolean)};n?o==null||o(k):r(k),d({title:"",company:"",startYear:"",endYear:"",isPresent:!1,tags:""}),e()};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(ir,{children:n?"Edit Work Experience":"Add Work Experience"}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Title"}),a.jsx(Ye,{value:l.title,onChange:f=>p("title",f.target.value)})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Company"}),a.jsx(Ye,{value:l.company,onChange:f=>p("company",f.target.value)})]}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Start Year"}),a.jsxs(Wc,{onValueChange:f=>p("startYear",f),value:l.startYear,children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]}),!l.isPresent&&a.jsxs("div",{children:[a.jsx(ye,{children:"End Year"}),a.jsxs(Wc,{onValueChange:f=>p("endYear",f),value:l.endYear,children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select year"})}),a.jsx(Ws,{children:c.map(f=>a.jsx(Zs,{value:f,children:f},f))})]})]})]}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsx("input",{id:"present",type:"checkbox",checked:l.isPresent,onChange:f=>p("isPresent",f.target.checked),className:"w-4 h-4 accent-primary"}),a.jsx(ye,{htmlFor:"present",children:"I currently work here"})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Tags (comma-separated)"}),a.jsx(T_,{placeholder:"e.g., Product Strategy, iGaming, Agile",value:l.tags,onChange:f=>p("tags",f.target.value)})]})]}),a.jsxs(or,{children:[a.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(U,{onClick:y,disabled:h||!l.title||!l.company||!l.startYear||!l.isPresent&&!l.endYear,children:h?"Saving...":n?"Save Changes":"Add Experience"})]})]})})}function jB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,SB(o,...e)]}function SB(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}function HL(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function LB(...t){return e=>{let r=!1;const n=t.map(o=>{const i=HL(o,e);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():HL(t[o],null)}}}}function z_(...t){return g.useCallback(LB(...t),t)}function IB(t,e,{checkForDefaultPrevented:r=!0}={}){return function(o){if(t==null||t(o),r===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}var F_="AlertDialog",[NB,mU]=jB(F_,[CA]),_a=CA(),E_=t=>{const{__scopeAlertDialog:e,...r}=t,n=_a(e);return a.jsx(OA,{...n,...r,modal:!0})};E_.displayName=F_;var AB="AlertDialogTrigger",PB=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(GF,{...o,...n,ref:e})});PB.displayName=AB;var _B="AlertDialogPortal",O_=t=>{const{__scopeAlertDialog:e,...r}=t,n=_a(e);return a.jsx(HA,{...n,...r})};O_.displayName=_B;var RB="AlertDialogOverlay",H_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Xj,{...o,...n,ref:e})});H_.displayName=RB;var zs="AlertDialogContent",[TB,qB]=NB(zs),DB=jR("AlertDialogContent"),V_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,children:n,...o}=t,i=_a(r),c=g.useRef(null),l=z_(e,c),d=g.useRef(null);return a.jsx(VF,{contentName:zs,titleName:B_,docsSlug:"alert-dialog",children:a.jsx(TB,{scope:r,cancelRef:d,children:a.jsxs(Jj,{role:"alertdialog",...i,...o,ref:l,onOpenAutoFocus:IB(o.onOpenAutoFocus,h=>{var u;h.preventDefault(),(u=d.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:h=>h.preventDefault(),onInteractOutside:h=>h.preventDefault(),children:[a.jsx(DB,{children:n}),a.jsx(FB,{contentRef:c})]})})})});V_.displayName=zs;var B_="AlertDialogTitle",U_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Yj,{...o,...n,ref:e})});U_.displayName=B_;var $_="AlertDialogDescription",G_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Kj,{...o,...n,ref:e})});G_.displayName=$_;var zB="AlertDialogAction",W_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,o=_a(r);return a.jsx(Qj,{...o,...n,ref:e})});W_.displayName=zB;var Z_="AlertDialogCancel",X_=g.forwardRef((t,e)=>{const{__scopeAlertDialog:r,...n}=t,{cancelRef:o}=qB(Z_,r),i=_a(r),c=z_(e,o);return a.jsx(Qj,{...i,...n,ref:c})});X_.displayName=Z_;var FB=({contentRef:t})=>{const e=`\`${zs}\` requires a description for the component to be accessible for screen reader users.
|
|
7814
7814
|
|
|
7815
7815
|
You can add a description to the \`${zs}\` by passing a \`${$_}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
7816
7816
|
|
|
7817
7817
|
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${zs}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
7818
7818
|
|
|
7819
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return g.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},EB=E_,OB=O_,J_=H_,Y_=V_,K_=W_,Q_=X_,eR=U_,tR=G_;const HB=EB,VB=OB,aR=g.forwardRef(({className:t,...e},r)=>a.jsx(J_,{className:se("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:r}));aR.displayName=J_.displayName;const rR=g.forwardRef(({className:t,...e},r)=>a.jsxs(VB,{children:[a.jsx(aR,{}),a.jsx(Y_,{ref:r,className:se("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...e})]}));rR.displayName=Y_.displayName;const nR=({className:t,...e})=>a.jsx("div",{className:se("flex flex-col space-y-2 text-center sm:text-left",t),...e});nR.displayName="AlertDialogHeader";const oR=({className:t,...e})=>a.jsx("div",{className:se("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});oR.displayName="AlertDialogFooter";const iR=g.forwardRef(({className:t,...e},r)=>a.jsx(eR,{ref:r,className:se("text-lg font-semibold",t),...e}));iR.displayName=eR.displayName;const sR=g.forwardRef(({className:t,...e},r)=>a.jsx(tR,{ref:r,className:se("text-sm text-muted-foreground",t),...e}));sR.displayName=tR.displayName;const cR=g.forwardRef(({className:t,...e},r)=>a.jsx(K_,{ref:r,className:se(hj(),t),...e}));cR.displayName=K_.displayName;const lR=g.forwardRef(({className:t,...e},r)=>a.jsx(Q_,{ref:r,className:se(hj({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));lR.displayName=Q_.displayName;function VL({open:t,onClose:e,onAdded:r,title:n,placeholder:o}){const[i,c]=S.useState("");S.useEffect(()=>{t||c("")},[t]);const l=()=>{i.trim()&&(r(i.trim()),c(""),e())};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:n})}),a.jsx("div",{className:"space-y-4 py-2",children:a.jsxs("div",{children:[a.jsx(ye,{children:n}),a.jsx(Ye,{value:i,onChange:d=>c(d.target.value),placeholder:o||"Type and save"})]})}),a.jsxs(or,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const BL=["Product Management","Project Management","Agile","Scrum","Leadership","Communication","Stakeholder Management","Game Design","Data Analysis","Marketing Strategy","UX/UI Design","Regulatory Compliance","Casino Operations","Sportsbook Operations","Frontend Development","Backend Development","React","TypeScript","Python","SQL","Kubernetes","Cloud Infrastructure"];function BB({open:t,onClose:e,onAdded:r}){const[n,o]=S.useState(""),[i,c]=S.useState(BL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h);const u=BL.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:"Add Skill"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"skill",children:"Skill Name"}),a.jsx(Ye,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{o(h)},children:h},h))})]}),a.jsxs(or,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const UL=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function UB({open:t,onClose:e,onAdded:r}){const[n,o]=S.useState(""),[i,c]=S.useState(UL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h),c(UL.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:"Add Interested Topic"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"topic",children:"Topic"}),a.jsx(Ye,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>o(h),children:h},h))})]}),a.jsxs(or,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const $B=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],GB=["Native","Fluent","Intermediate","Basic"];function WB({open:t,onClose:e,onAdded:r}){const[n,o]=S.useState({name:"",proficiency:""}),i=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),o({name:"",proficiency:""}),e()};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:"Add Language"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Language"}),a.jsxs(Wc,{value:n.name,onValueChange:c=>o(l=>({...l,name:c})),children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select a language"})}),a.jsx(Ws,{children:$B.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Proficiency"}),a.jsxs(Wc,{value:n.proficiency,onValueChange:c=>o(l=>({...l,proficiency:c})),children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select proficiency"})}),a.jsx(Ws,{children:GB.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]})]}),a.jsxs(or,{children:[a.jsx($,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx($,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function ZB({profile:t,onUpdate:e,isSaving:r=!1}){const[n,o]=S.useState(t),[i,c]=S.useState(!1),[l,d]=S.useState(null);S.useState(null);const[h,u]=S.useState(null),[p,y]=S.useState(!1),[f,k]=S.useState(!1),[m,x]=S.useState(!1),[v,w]=S.useState(!1),[b,M]=S.useState(!1),C=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],N=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],L=()=>{l&&(o(P=>{const _={...P,workExperience:P.workExperience.filter(T=>T.id!==l)};return e({type:"profile",payload:_}),_}),d(null))},A=(P,_,T)=>{o(G=>({...G,[P]:{...G[P],[_]:T}}))},I=(P,_,T)=>{o(G=>({...G,[P]:{...G[P],[_]:T}}))},q=()=>{e({type:"profile",payload:n})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),a.jsx($,{onClick:q,disabled:r,children:r?"Saving...":"Save Changes"})]}),a.jsxs(rs,{defaultValue:"personal",className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[a.jsx(Ce,{value:"personal",children:"Personal"}),a.jsx(Ce,{value:"experience",children:"Experience"}),a.jsx(Ce,{value:"job-search",children:"Job Search"}),a.jsx(Ce,{value:"skills",children:"Skills"}),a.jsx(Ce,{value:"languages",children:"Languages"}),a.jsx(Ce,{value:"alerts",children:"Alerts"}),a.jsx(Ce,{value:"preferences",children:"Preferences"})]}),a.jsx(je,{value:"personal",children:a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Personal Details"}),a.jsx(Ue,{children:"Update your personal information"})]}),a.jsx(we,{className:"space-y-4",children:a.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"fullName",children:"Full Name"}),a.jsx(Ye,{id:"fullName",value:n.personalDetails.fullName,onChange:P=>A("personalDetails","fullName",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email"}),a.jsx(Ye,{id:"email",type:"email",value:n.personalDetails.email,onChange:P=>A("personalDetails","email",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"phone",children:"Phone"}),a.jsx(Ye,{id:"phone",value:n.personalDetails.phone,onChange:P=>A("personalDetails","phone",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"location",children:"Location"}),a.jsx(Ye,{id:"location",value:n.personalDetails.location,onChange:P=>A("personalDetails","location",P.target.value)})]})]})})]})}),a.jsx(je,{value:"experience",children:a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Work Experience"}),a.jsx(Ue,{children:"Your iGaming industry experience"})]}),a.jsxs(we,{className:"space-y-4",children:[n.workExperience.map(P=>a.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold",children:P.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:P.company}),a.jsx("p",{className:"text-xs text-muted-foreground",children:P.period})]}),a.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[a.jsx($,{variant:"outline",size:"sm",onClick:()=>{const _=n.workExperience.find(T=>T.id===P.id);u(_||null),c(!0)},children:"Edit"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>d(P.id),children:"Delete"})]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:P.tags.map(_=>a.jsx(ot,{variant:"secondary",children:_},_))})]},P.id)),a.jsx($,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),a.jsx(CB,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{o(_=>({..._,workExperience:[..._.workExperience,P]}))},onUpdated:P=>{o(_=>({..._,workExperience:_.workExperience.map(T=>T.id===P.id?P:T)}))}}),a.jsx(HB,{open:!!l,onOpenChange:()=>d(null),children:a.jsxs(rR,{children:[a.jsxs(nR,{children:[a.jsx(iR,{children:"Delete Experience"}),a.jsx(sR,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),a.jsxs(oR,{children:[a.jsx(lR,{children:"Cancel"}),a.jsx(cR,{onClick:L,className:"bg-destructive text-white",children:"Delete"})]})]})}),a.jsxs(je,{value:"job-search",children:[a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Job Search Details"}),a.jsx(Ue,{children:"Define your ideal job preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Desired Roles"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>a.jsxs(ot,{variant:"secondary",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:Array.from(new Set([..._.jobSearchDetails.desiredRoles,P]))}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>y(!0),children:"Add Role"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Preferred Locations"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>a.jsxs(ot,{variant:"secondary",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:_.jobSearchDetails.locations.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Location"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Employment Type"}),a.jsxs(vB,{children:[a.jsx(wB,{asChild:!0,children:a.jsx($,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),a.jsx(R_,{className:"w-64 p-2 space-y-2",children:C.map(P=>{const _=n.jobSearchDetails.employmentType.includes(P);return a.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>o(T=>{const W=T.jobSearchDetails.employmentType.includes(P)?T.jobSearchDetails.employmentType.filter(B=>B!==P):[...T.jobSearchDetails.employmentType,P];return{...T,jobSearchDetails:{...T.jobSearchDetails,employmentType:W}}}),children:[a.jsx(cS,{checked:_}),a.jsx(ye,{className:"text-sm",children:P})]},P)})})]})]})]})]}),a.jsx(VL,{open:p,onClose:()=>y(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:[..._.jobSearchDetails.desiredRoles,P]}}))}),a.jsx(VL,{open:f,onClose:()=>k(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:[..._.jobSearchDetails.locations,P]}}))})]}),a.jsxs(je,{value:"skills",children:[a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Skill Set"}),a.jsx(Ue,{children:"Your professional skills and expertise"})]}),a.jsxs(we,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(P=>a.jsxs(ot,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,skills:_.skills.filter(T=>T!==P)})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",onClick:()=>x(!0),children:"Add Skill"})]})]}),a.jsx(BB,{open:m,onClose:()=>x(!1),onAdded:P=>o(_=>({..._,skills:Array.from(new Set([..._.skills,P]))}))})]}),a.jsxs(je,{value:"languages",children:[a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Languages"}),a.jsx(Ue,{children:"Your spoken and professional languages"})]}),a.jsxs(we,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((P,_)=>a.jsxs(ot,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(T=>({...T,languages:T.languages.filter((G,W)=>W!==_)})),children:"✕"})]},`${P.name}-${_}`))}),a.jsx($,{variant:"outline",onClick:()=>M(!0),children:"Add Language"})]})]}),a.jsx(WB,{open:b,onClose:()=>M(!1),onAdded:P=>o(_=>({..._,languages:[..._.languages,P]}))})]}),a.jsx(je,{value:"alerts",children:a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Alerts & Subscriptions"}),a.jsx(Ue,{children:"Manage your notification preferences"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),a.jsx(Wt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>I("alerts","jobAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),a.jsx(Wt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>I("alerts","courseAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),a.jsx(Wt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>I("alerts","newsAlerts",P)})]})]})]})}),a.jsxs(je,{value:"preferences",children:[a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Preferences"}),a.jsx(Ue,{children:"Customize your platform experience"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Interested Topics"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>a.jsxs(ot,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx($,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,preferences:{..._.preferences,topics:_.preferences.topics.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx($,{variant:"outline",size:"sm",onClick:()=>w(!0),children:"Manage Topics"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"language",children:"Language"}),a.jsxs(Wc,{value:n.preferences.language,onValueChange:P=>A("preferences","language",P),children:[a.jsx(Gs,{id:"language",children:a.jsx(Zc,{placeholder:"Select your preferred language"})}),a.jsx(Ws,{children:N.map(P=>a.jsx(Zs,{value:P,children:P},P))})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Wt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>I("preferences","emailNotifications",P)})]})]})]}),a.jsx(UB,{open:v,onClose:()=>w(!1),onAdded:P=>o(_=>({..._,preferences:{..._.preferences,topics:Array.from(new Set([..._.preferences.topics,P]))}}))})]})]})]})}function XB({savedJobs:t,applications:e,recommendedJobs:r,onApply:n,onRemove:o,onUploadCV:i,onSetAlert:c,onUpdateProfile:l}){const d=x=>({savedJobs:x.saved,recommendedJobs:x.recommended,applications:x.applications}),[h,u]=S.useState({saved:t||[],recommended:r||[],applications:e||[]});S.useEffect(()=>{u({saved:t||[],recommended:r||[],applications:e||[]})},[t,r,e]);const p=x=>{u(v=>{if(v.saved.some(M=>M.id===x.id))return v;const b={...v,saved:[...v.saved,x]};return l==null||l({type:"jobs",payload:d(b)}),b})},y=x=>{u(v=>{const w={...v,saved:v.saved.filter(b=>b.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},f=x=>{u(v=>{const w={...v,recommended:v.recommended.filter(b=>b.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},k=x=>{const v=h.recommended.find(w=>w.id===x);v&&(u(w=>{const b={...w,applications:[...w.applications,{...v,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(b)}),b}),n(x))},m=({job:x,view:v})=>{var C;const w=h.saved.some(N=>N.id===x.id),b=x.city?`${x.city}, ${x.country}`:x.location,M=x.salaryMin&&x.salaryMax?`${x.salaryMin}–${x.salaryMax} ${x.salaryCurrency||""}`:void 0;return a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(De,{className:"text-lg",children:x.title}),a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"})," ",x.company]}),a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Et,{className:"h-4 w-4"})," ",b]})]})]}),v==="applications"&&x.status&&a.jsx(ot,{variant:"secondary",children:x.status})]}),M&&a.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:M})]}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex flex-wrap gap-2",children:[x.department&&a.jsx(ot,{variant:"outline",children:x.department}),(C=x.skills)==null?void 0:C.slice(0,6).map(N=>a.jsx(ot,{variant:"secondary",children:N},N))]}),v==="applications"&&x.appliedDate&&a.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[a.jsx(Zt,{className:"h-3 w-3"}),"Applied ",x.appliedDate]}),a.jsxs("div",{className:"flex gap-2",children:[v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{size:"sm",onClick:()=>k(x.id),children:"Apply Now"}),a.jsx($,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>p(x),children:w?"Saved":"Save Job"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove"})]}),v==="saved"&&a.jsx($,{variant:"destructive",size:"sm",onClick:()=>y(x.id),children:"Remove"}),v==="applications"&&a.jsx($,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx($,{variant:"outline",onClick:c,children:"Set Job Alerts"}),a.jsxs($,{onClick:i,children:[a.jsx(Ps,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),a.jsxs(rs,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[a.jsxs(Ce,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(sa,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),a.jsxs(Ce,{value:"applications",children:[a.jsx(mt,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.recommended.map(x=>a.jsx(m,{job:x,view:"recommended"},x.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.saved.length===0?a.jsx(ve,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(sa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),a.jsx($,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(x=>a.jsx(m,{job:x,view:"saved"},x.id))})}),a.jsx(je,{value:"applications",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.applications.length===0?a.jsx(ve,{children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(mt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),a.jsx($,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(x=>a.jsx(m,{job:x,view:"applications"},x.id))})})]})]})}function JB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,YB(o,...e)]}function YB(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var KB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],dR=KB.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),CS="Progress",jS=100,[QB,fU]=JB(CS),[eU,tU]=QB(CS),hR=g.forwardRef((t,e)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:i=aU,...c}=t;(o||o===0)&&!$L(o)&&console.error(rU(`${o}`,"Progress"));const l=$L(o)?o:jS;n!==null&&!GL(n,l)&&console.error(nU(`${n}`,"Progress"));const d=GL(n,l)?n:null,h=C9(d)?i(d,l):void 0;return a.jsx(eU,{scope:r,value:d,max:l,children:a.jsx(dR.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":C9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":yR(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});hR.displayName=CS;var uR="ProgressIndicator",pR=g.forwardRef((t,e)=>{const{__scopeProgress:r,...n}=t,o=tU(uR,r);return a.jsx(dR.div,{"data-state":yR(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:e})});pR.displayName=uR;function aU(t,e){return`${Math.round(t/e*100)}%`}function yR(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function C9(t){return typeof t=="number"}function $L(t){return C9(t)&&!isNaN(t)&&t>0}function GL(t,e){return C9(t)&&!isNaN(t)&&t<=e&&t>=0}function rU(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${jS}\`.`}function nU(t,e){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${e}\`. The \`value\` prop must be:
|
|
7819
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return g.useEffect(()=>{var n;document.getElementById((n=t.current)==null?void 0:n.getAttribute("aria-describedby"))||console.warn(e)},[e,t]),null},EB=E_,OB=O_,J_=H_,Y_=V_,K_=W_,Q_=X_,eR=U_,tR=G_;const HB=EB,VB=OB,aR=g.forwardRef(({className:t,...e},r)=>a.jsx(J_,{className:ie("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...e,ref:r}));aR.displayName=J_.displayName;const rR=g.forwardRef(({className:t,...e},r)=>a.jsxs(VB,{children:[a.jsx(aR,{}),a.jsx(Y_,{ref:r,className:ie("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...e})]}));rR.displayName=Y_.displayName;const nR=({className:t,...e})=>a.jsx("div",{className:ie("flex flex-col space-y-2 text-center sm:text-left",t),...e});nR.displayName="AlertDialogHeader";const oR=({className:t,...e})=>a.jsx("div",{className:ie("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...e});oR.displayName="AlertDialogFooter";const iR=g.forwardRef(({className:t,...e},r)=>a.jsx(eR,{ref:r,className:ie("text-lg font-semibold",t),...e}));iR.displayName=eR.displayName;const sR=g.forwardRef(({className:t,...e},r)=>a.jsx(tR,{ref:r,className:ie("text-sm text-muted-foreground",t),...e}));sR.displayName=tR.displayName;const cR=g.forwardRef(({className:t,...e},r)=>a.jsx(K_,{ref:r,className:ie(hj(),t),...e}));cR.displayName=K_.displayName;const lR=g.forwardRef(({className:t,...e},r)=>a.jsx(Q_,{ref:r,className:ie(hj({variant:"outline"}),"mt-2 sm:mt-0",t),...e}));lR.displayName=Q_.displayName;function VL({open:t,onClose:e,onAdded:r,title:n,placeholder:o}){const[i,c]=S.useState("");S.useEffect(()=>{t||c("")},[t]);const l=()=>{i.trim()&&(r(i.trim()),c(""),e())};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:n})}),a.jsx("div",{className:"space-y-4 py-2",children:a.jsxs("div",{children:[a.jsx(ye,{children:n}),a.jsx(Ye,{value:i,onChange:d=>c(d.target.value),placeholder:o||"Type and save"})]})}),a.jsxs(or,{children:[a.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(U,{onClick:l,disabled:!i.trim(),children:"Add"})]})]})})}const BL=["Product Management","Project Management","Agile","Scrum","Leadership","Communication","Stakeholder Management","Game Design","Data Analysis","Marketing Strategy","UX/UI Design","Regulatory Compliance","Casino Operations","Sportsbook Operations","Frontend Development","Backend Development","React","TypeScript","Python","SQL","Kubernetes","Cloud Infrastructure"];function BB({open:t,onClose:e,onAdded:r}){const[n,o]=S.useState(""),[i,c]=S.useState(BL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h);const u=BL.filter(p=>p.toLowerCase().includes(h.toLowerCase()));c(u)};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:"Add Skill"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"skill",children:"Skill Name"}),a.jsx(Ye,{id:"skill",placeholder:"e.g. Product Strategy",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>{o(h)},children:h},h))})]}),a.jsxs(or,{children:[a.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Skill"})]})]})})}const UL=["Regulation","Technology","Market Trends","Responsible Gaming","Game Design","Payments","Marketing","AI in iGaming","Player Retention","Security"];function UB({open:t,onClose:e,onAdded:r}){const[n,o]=S.useState(""),[i,c]=S.useState(UL),l=()=>{n.trim()&&(r(n.trim()),o(""),e())},d=h=>{o(h),c(UL.filter(u=>u.toLowerCase().includes(h.toLowerCase())))};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:"Add Interested Topic"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"topic",children:"Topic"}),a.jsx(Ye,{id:"topic",placeholder:"e.g. Game Design",value:n,onChange:h=>d(h.target.value)})]}),n&&i.length>0&&a.jsx("div",{className:"border rounded-md p-2 space-y-1 max-h-40 overflow-y-auto",children:i.map(h=>a.jsx("div",{className:"cursor-pointer px-2 py-1 hover:bg-muted rounded-md text-sm",onClick:()=>o(h),children:h},h))})]}),a.jsxs(or,{children:[a.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(U,{onClick:l,disabled:!n.trim(),children:"Add Topic"})]})]})})}const $B=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],GB=["Native","Fluent","Intermediate","Basic"];function WB({open:t,onClose:e,onAdded:r}){const[n,o]=S.useState({name:"",proficiency:""}),i=()=>{if(!n.name||!n.proficiency)return;const c={name:n.name,proficiency:n.proficiency};r(c),o({name:"",proficiency:""}),e()};return a.jsx(os,{open:t,onOpenChange:e,children:a.jsxs(nr,{children:[a.jsx(is,{children:a.jsx(ir,{children:"Add Language"})}),a.jsxs("div",{className:"space-y-4 py-2",children:[a.jsxs("div",{children:[a.jsx(ye,{children:"Language"}),a.jsxs(Wc,{value:n.name,onValueChange:c=>o(l=>({...l,name:c})),children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select a language"})}),a.jsx(Ws,{children:$B.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]}),a.jsxs("div",{children:[a.jsx(ye,{children:"Proficiency"}),a.jsxs(Wc,{value:n.proficiency,onValueChange:c=>o(l=>({...l,proficiency:c})),children:[a.jsx(Gs,{children:a.jsx(Zc,{placeholder:"Select proficiency"})}),a.jsx(Ws,{children:GB.map(c=>a.jsx(Zs,{value:c,children:c},c))})]})]})]}),a.jsxs(or,{children:[a.jsx(U,{variant:"outline",onClick:e,children:"Cancel"}),a.jsx(U,{onClick:i,disabled:!n.name||!n.proficiency,children:"Add"})]})]})})}function ZB({profile:t,onUpdate:e,isSaving:r=!1}){const[n,o]=S.useState(t),[i,c]=S.useState(!1),[l,d]=S.useState(null);S.useState(null);const[h,u]=S.useState(null),[p,y]=S.useState(!1),[f,k]=S.useState(!1),[m,x]=S.useState(!1),[v,w]=S.useState(!1),[M,b]=S.useState(!1),C=["Full-time","Part-time","Contract","Freelance","Internship","Temporary"],I=["English","Spanish","French","German","Italian","Portuguese","Polish","Turkish","Swedish","Norwegian","Finnish","Danish","Dutch","Japanese","Chinese","Korean"],L=()=>{l&&(o(P=>{const _={...P,workExperience:P.workExperience.filter(T=>T.id!==l)};return e({type:"profile",payload:_}),_}),d(null))},A=(P,_,T)=>{o($=>({...$,[P]:{...$[P],[_]:T}}))},N=(P,_,T)=>{o($=>({...$,[P]:{...$[P],[_]:T}}))},q=()=>{e({type:"profile",payload:n})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Your Profile"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your professional information"})]}),a.jsx(U,{onClick:q,disabled:r,children:r?"Saving...":"Save Changes"})]}),a.jsxs(rs,{defaultValue:"personal",className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-7",children:[a.jsx(Ce,{value:"personal",children:"Personal"}),a.jsx(Ce,{value:"experience",children:"Experience"}),a.jsx(Ce,{value:"job-search",children:"Job Search"}),a.jsx(Ce,{value:"skills",children:"Skills"}),a.jsx(Ce,{value:"languages",children:"Languages"}),a.jsx(Ce,{value:"alerts",children:"Alerts"}),a.jsx(Ce,{value:"preferences",children:"Preferences"})]}),a.jsx(je,{value:"personal",children:a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Personal Details"}),a.jsx(Ue,{children:"Update your personal information"})]}),a.jsx(Me,{className:"space-y-4",children:a.jsxs("div",{className:"grid gap-4 md:grid-cols-2",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"fullName",children:"Full Name"}),a.jsx(Ye,{id:"fullName",value:n.personalDetails.fullName,onChange:P=>A("personalDetails","fullName",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"email",children:"Email"}),a.jsx(Ye,{id:"email",type:"email",value:n.personalDetails.email,onChange:P=>A("personalDetails","email",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"phone",children:"Phone"}),a.jsx(Ye,{id:"phone",value:n.personalDetails.phone,onChange:P=>A("personalDetails","phone",P.target.value)})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"location",children:"Location"}),a.jsx(Ye,{id:"location",value:n.personalDetails.location,onChange:P=>A("personalDetails","location",P.target.value)})]})]})})]})}),a.jsx(je,{value:"experience",children:a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Work Experience"}),a.jsx(Ue,{children:"Your iGaming industry experience"})]}),a.jsxs(Me,{className:"space-y-4",children:[n.workExperience.map(P=>a.jsxs("div",{className:"p-4 border rounded-lg space-y-2 relative group",children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold",children:P.title}),a.jsx("p",{className:"text-sm text-muted-foreground",children:P.company}),a.jsx("p",{className:"text-xs text-muted-foreground",children:P.period})]}),a.jsxs("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity flex gap-2",children:[a.jsx(U,{variant:"outline",size:"sm",onClick:()=>{const _=n.workExperience.find(T=>T.id===P.id);u(_||null),c(!0)},children:"Edit"}),a.jsx(U,{variant:"destructive",size:"sm",onClick:()=>d(P.id),children:"Delete"})]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:P.tags.map(_=>a.jsx(ot,{variant:"secondary",children:_},_))})]},P.id)),a.jsx(U,{variant:"outline",className:"w-full",onClick:()=>c(!0),children:"Add Experience"})]})]})}),a.jsx(CB,{open:i,onClose:()=>{c(!1),u(null)},existingExperience:h,onAdded:P=>{o(_=>({..._,workExperience:[..._.workExperience,P]}))},onUpdated:P=>{o(_=>({..._,workExperience:_.workExperience.map(T=>T.id===P.id?P:T)}))}}),a.jsx(HB,{open:!!l,onOpenChange:()=>d(null),children:a.jsxs(rR,{children:[a.jsxs(nR,{children:[a.jsx(iR,{children:"Delete Experience"}),a.jsx(sR,{children:"Are you sure you want to delete this work experience? This action cannot be undone."})]}),a.jsxs(oR,{children:[a.jsx(lR,{children:"Cancel"}),a.jsx(cR,{onClick:L,className:"bg-destructive text-white",children:"Delete"})]})]})}),a.jsxs(je,{value:"job-search",children:[a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Job Search Details"}),a.jsx(Ue,{children:"Define your ideal job preferences"})]}),a.jsxs(Me,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Desired Roles"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.desiredRoles.map(P=>a.jsxs(ot,{variant:"secondary",children:[P,a.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:Array.from(new Set([..._.jobSearchDetails.desiredRoles,P]))}})),children:"✕"})]},P))}),a.jsx(U,{variant:"outline",size:"sm",onClick:()=>y(!0),children:"Add Role"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Preferred Locations"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.jobSearchDetails.locations.map(P=>a.jsxs(ot,{variant:"secondary",children:[P,a.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:_.jobSearchDetails.locations.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx(U,{variant:"outline",size:"sm",onClick:()=>k(!0),children:"Add Location"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Employment Type"}),a.jsxs(vB,{children:[a.jsx(wB,{asChild:!0,children:a.jsx(U,{variant:"outline",className:"w-full justify-between",children:n.jobSearchDetails.employmentType.length>0?n.jobSearchDetails.employmentType.join(", "):"Select Employment Type"})}),a.jsx(R_,{className:"w-64 p-2 space-y-2",children:C.map(P=>{const _=n.jobSearchDetails.employmentType.includes(P);return a.jsxs("div",{className:"flex items-center space-x-2",onClick:()=>o(T=>{const G=T.jobSearchDetails.employmentType.includes(P)?T.jobSearchDetails.employmentType.filter(B=>B!==P):[...T.jobSearchDetails.employmentType,P];return{...T,jobSearchDetails:{...T.jobSearchDetails,employmentType:G}}}),children:[a.jsx(cS,{checked:_}),a.jsx(ye,{className:"text-sm",children:P})]},P)})})]})]})]})]}),a.jsx(VL,{open:p,onClose:()=>y(!1),title:"Add Desired Role",placeholder:"e.g. Senior Product Manager",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,desiredRoles:[..._.jobSearchDetails.desiredRoles,P]}}))}),a.jsx(VL,{open:f,onClose:()=>k(!1),title:"Add Preferred Location",placeholder:"e.g. Malta or Remote",onAdded:P=>o(_=>({..._,jobSearchDetails:{..._.jobSearchDetails,locations:[..._.jobSearchDetails.locations,P]}}))})]}),a.jsxs(je,{value:"skills",children:[a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Skill Set"}),a.jsx(Ue,{children:"Your professional skills and expertise"})]}),a.jsxs(Me,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.skills.map(P=>a.jsxs(ot,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,skills:_.skills.filter(T=>T!==P)})),children:"✕"})]},P))}),a.jsx(U,{variant:"outline",onClick:()=>x(!0),children:"Add Skill"})]})]}),a.jsx(BB,{open:m,onClose:()=>x(!1),onAdded:P=>o(_=>({..._,skills:Array.from(new Set([..._.skills,P]))}))})]}),a.jsxs(je,{value:"languages",children:[a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Languages"}),a.jsx(Ue,{children:"Your spoken and professional languages"})]}),a.jsxs(Me,{className:"space-y-4",children:[a.jsx("div",{className:"flex flex-wrap gap-2",children:n.languages.map((P,_)=>a.jsxs(ot,{variant:"secondary",className:"flex items-center gap-1",children:[P.name," — ",P.proficiency,a.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(T=>({...T,languages:T.languages.filter(($,G)=>G!==_)})),children:"✕"})]},`${P.name}-${_}`))}),a.jsx(U,{variant:"outline",onClick:()=>b(!0),children:"Add Language"})]})]}),a.jsx(WB,{open:M,onClose:()=>b(!1),onAdded:P=>o(_=>({..._,languages:[..._.languages,P]}))})]}),a.jsx(je,{value:"alerts",children:a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Alerts & Subscriptions"}),a.jsx(Ue,{children:"Manage your notification preferences"})]}),a.jsxs(Me,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"job-alerts",className:"text-base",children:"Job Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Get notified about new job matches"})]}),a.jsx(Wt,{id:"job-alerts",checked:n.alerts.jobAlerts,onCheckedChange:P=>N("alerts","jobAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"course-alerts",className:"text-base",children:"Course Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Updates on new courses and training"})]}),a.jsx(Wt,{id:"course-alerts",checked:n.alerts.courseAlerts,onCheckedChange:P=>N("alerts","courseAlerts",P)})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"news-alerts",className:"text-base",children:"News Alerts"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Industry news and updates"})]}),a.jsx(Wt,{id:"news-alerts",checked:n.alerts.newsAlerts,onCheckedChange:P=>N("alerts","newsAlerts",P)})]})]})]})}),a.jsxs(je,{value:"preferences",children:[a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Preferences"}),a.jsx(Ue,{children:"Customize your platform experience"})]}),a.jsxs(Me,{className:"space-y-6",children:[a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{children:"Interested Topics"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:n.preferences.topics.map(P=>a.jsxs(ot,{variant:"secondary",className:"flex items-center gap-1",children:[P,a.jsx(U,{variant:"ghost",size:"sm",className:"ml-1 text-xs text-muted-foreground hover:text-destructive",onClick:()=>o(_=>({..._,preferences:{..._.preferences,topics:_.preferences.topics.filter(T=>T!==P)}})),children:"✕"})]},P))}),a.jsx(U,{variant:"outline",size:"sm",onClick:()=>w(!0),children:"Manage Topics"})]}),a.jsxs("div",{className:"space-y-2",children:[a.jsx(ye,{htmlFor:"language",children:"Language"}),a.jsxs(Wc,{value:n.preferences.language,onValueChange:P=>A("preferences","language",P),children:[a.jsx(Gs,{id:"language",children:a.jsx(Zc,{placeholder:"Select your preferred language"})}),a.jsx(Ws,{children:I.map(P=>a.jsx(Zs,{value:P,children:P},P))})]})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Wt,{id:"email-notif",checked:n.preferences.emailNotifications,onCheckedChange:P=>N("preferences","emailNotifications",P)})]})]})]}),a.jsx(UB,{open:v,onClose:()=>w(!1),onAdded:P=>o(_=>({..._,preferences:{..._.preferences,topics:Array.from(new Set([..._.preferences.topics,P]))}}))})]})]})]})}function XB({savedJobs:t,applications:e,recommendedJobs:r,onApply:n,onRemove:o,onUploadCV:i,onSetAlert:c,onUpdateProfile:l}){const d=x=>({savedJobs:x.saved,recommendedJobs:x.recommended,applications:x.applications}),[h,u]=S.useState({saved:t||[],recommended:r||[],applications:e||[]});S.useEffect(()=>{u({saved:t||[],recommended:r||[],applications:e||[]})},[t,r,e]);const p=x=>{u(v=>{if(v.saved.some(b=>b.id===x.id))return v;const M={...v,saved:[...v.saved,x]};return l==null||l({type:"jobs",payload:d(M)}),M})},y=x=>{u(v=>{const w={...v,saved:v.saved.filter(M=>M.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},f=x=>{u(v=>{const w={...v,recommended:v.recommended.filter(M=>M.id!==x)};return l==null||l({type:"jobs",payload:d(w)}),w})},k=x=>{const v=h.recommended.find(w=>w.id===x);v&&(u(w=>{const M={...w,applications:[...w.applications,{...v,status:"Applied",appliedDate:new Date().toLocaleDateString()}]};return l==null||l({type:"jobs",payload:d(M)}),M}),n(x))},m=({job:x,view:v})=>{var C;const w=h.saved.some(I=>I.id===x.id),M=x.city?`${x.city}, ${x.country}`:x.location,b=x.salaryMin&&x.salaryMax?`${x.salaryMin}–${x.salaryMax} ${x.salaryCurrency||""}`:void 0;return a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(De,{className:"text-lg",children:x.title}),a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground mt-2",children:[a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(gs,{className:"h-4 w-4"})," ",x.company]}),a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Et,{className:"h-4 w-4"})," ",M]})]})]}),v==="applications"&&x.status&&a.jsx(ot,{variant:"secondary",children:x.status})]}),b&&a.jsx("p",{className:"text-sm font-semibold text-accent mt-1",children:b})]}),a.jsx(Me,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex flex-wrap gap-2",children:[x.department&&a.jsx(ot,{variant:"outline",children:x.department}),(C=x.skills)==null?void 0:C.slice(0,6).map(I=>a.jsx(ot,{variant:"secondary",children:I},I))]}),v==="applications"&&x.appliedDate&&a.jsxs("p",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[a.jsx(Zt,{className:"h-3 w-3"}),"Applied ",x.appliedDate]}),a.jsxs("div",{className:"flex gap-2",children:[v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(U,{size:"sm",onClick:()=>k(x.id),children:"Apply Now"}),a.jsx(U,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>p(x),children:w?"Saved":"Save Job"}),a.jsx(U,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove"})]}),v==="saved"&&a.jsx(U,{variant:"destructive",size:"sm",onClick:()=>y(x.id),children:"Remove"}),v==="applications"&&a.jsx(U,{variant:"outline",size:"sm",children:"View Application"})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Jobs"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your job search"})]}),a.jsxs("div",{className:"flex gap-2",children:[a.jsx(U,{variant:"outline",onClick:c,children:"Set Job Alerts"}),a.jsxs(U,{onClick:i,children:[a.jsx(Ps,{className:"h-4 w-4 mr-2"}),"Upload CV"]})]})]}),a.jsxs(rs,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-3",children:[a.jsxs(Ce,{value:"recommended",children:["Recommended (",h.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(sa,{className:"h-4 w-4 mr-2"}),"Saved (",h.saved.length,")"]}),a.jsxs(Ce,{value:"applications",children:[a.jsx(mt,{className:"h-4 w-4 mr-2"}),"Applications (",h.applications.length,")"]})]}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.recommended.map(x=>a.jsx(m,{job:x,view:"recommended"},x.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.saved.length===0?a.jsx(we,{children:a.jsxs(Me,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(sa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved jobs yet"}),a.jsx(U,{variant:"link",className:"mt-2",children:"Browse Jobs"})]})}):h.saved.map(x=>a.jsx(m,{job:x,view:"saved"},x.id))})}),a.jsx(je,{value:"applications",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4",children:h.applications.length===0?a.jsx(we,{children:a.jsxs(Me,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(mt,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No applications yet"}),a.jsx(U,{variant:"link",className:"mt-2",children:"Start Applying"})]})}):h.applications.map(x=>a.jsx(m,{job:x,view:"applications"},x.id))})})]})]})}function JB(t,e=[]){let r=[];function n(i,c){const l=g.createContext(c),d=r.length;r=[...r,c];const h=p=>{var v;const{scope:y,children:f,...k}=p,m=((v=y==null?void 0:y[t])==null?void 0:v[d])||l,x=g.useMemo(()=>k,Object.values(k));return a.jsx(m.Provider,{value:x,children:f})};h.displayName=i+"Provider";function u(p,y){var m;const f=((m=y==null?void 0:y[t])==null?void 0:m[d])||l,k=g.useContext(f);if(k)return k;if(c!==void 0)return c;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[h,u]}const o=()=>{const i=r.map(c=>g.createContext(c));return function(l){const d=(l==null?void 0:l[t])||i;return g.useMemo(()=>({[`__scope${t}`]:{...l,[t]:d}}),[l,d])}};return o.scopeName=t,[n,YB(o,...e)]}function YB(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const c=n.reduce((l,{useScope:d,scopeName:h})=>{const p=d(i)[`__scope${h}`];return{...l,...p}},{});return g.useMemo(()=>({[`__scope${e.scopeName}`]:c}),[c])}};return r.scopeName=e.scopeName,r}var KB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],dR=KB.reduce((t,e)=>{const r=tt(`Primitive.${e}`),n=g.forwardRef((o,i)=>{const{asChild:c,...l}=o,d=c?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),a.jsx(d,{...l,ref:i})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),CS="Progress",jS=100,[QB,fU]=JB(CS),[eU,tU]=QB(CS),hR=g.forwardRef((t,e)=>{const{__scopeProgress:r,value:n=null,max:o,getValueLabel:i=aU,...c}=t;(o||o===0)&&!$L(o)&&console.error(rU(`${o}`,"Progress"));const l=$L(o)?o:jS;n!==null&&!GL(n,l)&&console.error(nU(`${n}`,"Progress"));const d=GL(n,l)?n:null,h=C9(d)?i(d,l):void 0;return a.jsx(eU,{scope:r,value:d,max:l,children:a.jsx(dR.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":C9(d)?d:void 0,"aria-valuetext":h,role:"progressbar","data-state":yR(d,l),"data-value":d??void 0,"data-max":l,...c,ref:e})})});hR.displayName=CS;var uR="ProgressIndicator",pR=g.forwardRef((t,e)=>{const{__scopeProgress:r,...n}=t,o=tU(uR,r);return a.jsx(dR.div,{"data-state":yR(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...n,ref:e})});pR.displayName=uR;function aU(t,e){return`${Math.round(t/e*100)}%`}function yR(t,e){return t==null?"indeterminate":t===e?"complete":"loading"}function C9(t){return typeof t=="number"}function $L(t){return C9(t)&&!isNaN(t)&&t>0}function GL(t,e){return C9(t)&&!isNaN(t)&&t<=e&&t>=0}function rU(t,e){return`Invalid prop \`max\` of value \`${t}\` supplied to \`${e}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${jS}\`.`}function nU(t,e){return`Invalid prop \`value\` of value \`${t}\` supplied to \`${e}\`. The \`value\` prop must be:
|
|
7820
7820
|
- a positive number
|
|
7821
7821
|
- less than the value passed to \`max\` (or ${jS} if no \`max\` prop is set)
|
|
7822
7822
|
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
7823
7823
|
|
|
7824
|
-
Defaulting to \`null\`.`}var mR=hR,oU=pR;const fR=g.forwardRef(({className:t,value:e,...r},n)=>a.jsx(mR,{ref:n,className:se("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:a.jsx(oU,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));fR.displayName=mR.displayName;function iU({enrolledCourses:t,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:o,onContinue:i,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=S.useState({enrolled:t||[],recommended:r||[],saved:e||[]});S.useEffect(()=>{p({enrolled:t||[],recommended:r||[],saved:e||[]})},[t,r,e]);const y=v=>o(v),f=v=>{p(w=>{if(w.saved.some(C=>C.id===v.id))return w;const M={...w,saved:[...w.saved,{...v,saved:!0}],recommended:w.recommended.map(C=>C.id===v.id?{...C,saved:!0}:C)};return l==null||l(v.id),M})},k=v=>{p(w=>{const b={...w,saved:w.saved.filter(M=>M.id!==v),recommended:w.recommended.map(M=>M.id===v?{...M,saved:!1}:M)};return d==null||d(v),b})},m=v=>{p(w=>{const b={...w,recommended:w.recommended.filter(M=>M.id!==v)};return h==null||h(v),b})},x=({course:v,view:w})=>{const b=u.saved.some(M=>M.id===v.id);return a.jsxs(ve,{children:[a.jsx(qe,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(De,{className:"text-lg",children:v.title}),a.jsx(Ue,{children:v.provider})]}),a.jsx(ot,{variant:"outline",children:v.level})]})}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsx("span",{children:v.duration}),v.certificate&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Ca,{className:"h-4 w-4"}),"Certificate"]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:v.tags.map(M=>a.jsx(ot,{variant:"secondary",children:M},M))}),w==="enrolled"&&v.progress!==void 0&&a.jsxs("div",{className:"space-y-2",children:[a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Progress"}),a.jsxs("span",{className:"font-medium",children:[v.progress,"%"]})]}),a.jsx(fR,{value:v.progress})]}),w==="recommended"&&v.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",v.reason]}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&a.jsx($,{className:"sm:w-auto w-full",onClick:()=>i(v.id),children:"Continue Learning"}),w==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{className:"sm:w-auto w-full",onClick:()=>y(v.id),children:"Enroll Now"}),a.jsx($,{variant:b?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:b,onClick:()=>f(v),children:b?"Saved":"Save Course"}),a.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>m(v.id),children:"Remove"}),!h&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx($,{className:"sm:w-auto w-full",size:"sm",onClick:()=>y(v.id),children:"Start Course"}),a.jsx($,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>k(v.id),children:"Remove Saved"}),!d&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),a.jsx($,{onClick:c,children:"Explore All Courses"})]}),a.jsxs(rs,{defaultValue:"enrolled",className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[a.jsxs(Ce,{value:"enrolled",children:[a.jsx(Ft,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),a.jsxs(Ce,{value:"recommended",children:[a.jsx($i,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(sa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),a.jsxs(Ce,{value:"certificates",children:[a.jsx(Ca,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),a.jsx(je,{value:"enrolled",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Ft,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(v=>a.jsx(x,{course:v,view:"enrolled"},v.id))})}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(v=>a.jsx(x,{course:v,view:"recommended"},v.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(sa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(v=>a.jsx(x,{course:v,view:"saved"},v.id))})}),a.jsx(je,{value:"certificates",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Ca,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),a.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(v=>a.jsxs(ve,{children:[a.jsx(qe,{children:a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:a.jsx(Ca,{className:"h-6 w-6 text-accent"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx(De,{className:"text-base",children:v.title}),a.jsx(Ue,{children:v.issuer}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",v.date]})]})]})}),a.jsx(we,{children:a.jsx($,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},v.id))})})]})]})}function sU({recommendedNews:t,savedArticles:e,categories:r,selectedCategory:n,onRead:o,onSave:i,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=S.useState({recommended:t||[],saved:e||[]});S.useEffect(()=>{p({recommended:t||[],saved:e||[]})},[t,e]);const y=x=>{p(v=>{if(v.saved.some(M=>M.id===x.id))return v;const b={recommended:v.recommended.map(M=>M.id===x.id?{...M,saved:!0}:M),saved:[...v.saved,{...x,saved:!0}]};return i(x.id),b})},f=x=>{p(v=>{const w={recommended:v.recommended.map(b=>b.id===x?{...b,saved:!1}:b),saved:v.saved.filter(b=>b.id!==x)};return c==null||c(x),w})},k=x=>{p(v=>{const w={...v,recommended:v.recommended.filter(b=>b.id!==x)};return l==null||l(x),w})},m=({article:x,view:v})=>{const w=u.saved.some(b=>b.id===x.id);return a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsxs("div",{className:"flex justify-between items-start mb-2",children:[a.jsx(ot,{variant:"secondary",children:x.category}),a.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),a.jsx(De,{className:"text-lg",children:x.title}),a.jsxs(Ue,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),a.jsx(we,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),a.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(b=>a.jsx(ot,{variant:"outline",className:"text-xs",children:b},b))}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[a.jsx($,{size:"sm",onClick:()=>o(x.id),children:"Read Article"}),v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx($,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>y(x),children:w?"Saved":"Save"}),a.jsx($,{variant:"destructive",size:"sm",onClick:()=>k(x.id),children:"Remove"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),v==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx($,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove Saved"}),!c&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"News"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),a.jsxs($,{variant:"outline",onClick:h,children:[a.jsx(ws,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),a.jsxs(rs,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(ar,{children:[a.jsxs(Ce,{value:"recommended",children:[a.jsx(Sa,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(sa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),a.jsxs(je,{value:"recommended",className:"space-y-4",children:[a.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[a.jsx($,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>a.jsx($,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>a.jsx(m,{article:x,view:"recommended"},x.id))})]}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(ve,{className:"md:col-span-2",children:a.jsxs(we,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(sa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),a.jsx($,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>a.jsx(m,{article:x,view:"saved"},x.id))})})]})]})}function cU({settings:t,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:o}=t,i=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),a.jsxs(rs,{defaultValue:"notifications",className:"w-full",children:[a.jsxs(ar,{children:[a.jsxs(Ce,{value:"notifications",children:[a.jsx(ks,{className:"h-4 w-4 mr-2"}),"Notifications"]}),a.jsxs(Ce,{value:"account",children:[a.jsx(Lc,{className:"h-4 w-4 mr-2"}),"Account"]}),a.jsxs(Ce,{value:"subscription",children:[a.jsx(yc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),a.jsxs(Ce,{value:"connected",children:[a.jsx(gc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),a.jsx(je,{value:"notifications",children:a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Notification Preferences"}),a.jsx(Ue,{children:"Choose how you want to be notified"})]}),a.jsxs(we,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Wt,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>i({emailNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),a.jsx(Wt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>i({pushNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),a.jsx(Wt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>i({weeklyDigest:d})})]}),a.jsxs("div",{className:"border-t pt-4 space-y-4",children:[a.jsx("h4",{className:"font-medium",children:"Content Alerts"}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"job-alerts-set",children:"Job Alerts"}),a.jsx(Wt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>i({jobAlerts:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"course-updates",children:"Course Updates"}),a.jsx(Wt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>i({courseUpdates:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"news-digest",children:"News Digest"}),a.jsx(Wt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>i({newsDigest:d})})]})]})]})]})}),a.jsx(je,{value:"account",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Password"}),a.jsx(Ue,{children:"Change your account password"})]}),a.jsx(we,{children:a.jsx($,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Delete Account"}),a.jsx(Ue,{children:"Permanently delete your account and all data"})]}),a.jsx(we,{children:a.jsx($,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),a.jsx(je,{value:"subscription",children:a.jsxs(ve,{children:[a.jsx(qe,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx(De,{children:"Subscription Plan"}),a.jsx(Ue,{children:"Manage your membership"})]}),o.isPremium&&a.jsx(ot,{children:"Premium"})]})}),a.jsx(we,{className:"space-y-4",children:o.isPremium?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),a.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[a.jsx("li",{children:"✓ Unlimited job applications"}),a.jsx("li",{children:"✓ Access to all courses"}),a.jsx("li",{children:"✓ Priority support"}),a.jsx("li",{children:"✓ Advanced analytics"}),a.jsx("li",{children:"✓ Ad-free experience"})]})]}),a.jsx($,{variant:"outline",children:"Manage Subscription"})]}):a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),a.jsx($,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),a.jsx(je,{value:"connected",children:a.jsxs(ve,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Connected Accounts"}),a.jsx(Ue,{children:"Manage linked accounts and integrations"})]}),a.jsx(we,{className:"space-y-4",children:n.map(d=>a.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&a.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?a.jsx($,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):a.jsx($,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function lU({user:t,profileData:e,jobsDashboard:r,alerts:n,snapshot:o,feedItems:i,coursesData:c,newsData:l,settingsData:d,onUpdateProfile:h}){const[u,p]=S.useState("overview"),y=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},f=()=>console.log("/logout"),k=M=>console.log(M),m=async M=>{await h({type:"courses",payload:M})},x=(...M)=>console.log("Action:",...M),v=async M=>{await h({type:"news",payload:M})},w=d||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:t.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},b=async M=>{await h({type:"settings",payload:M})};return a.jsx(NV,{user:t,onLogout:f,onNavigate:k,currentPath:"/dashboard",notificationCount:n.length,children:a.jsxs(rs,{value:u,onValueChange:p,className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[a.jsxs(Ce,{value:"overview",className:"flex items-center gap-2",children:[a.jsx(va,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),a.jsxs(Ce,{value:"profile",className:"flex items-center gap-2",children:[a.jsx(Ac,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),a.jsxs(Ce,{value:"jobs",className:"flex items-center gap-2",children:[a.jsx(mt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),a.jsxs(Ce,{value:"courses",className:"flex items-center gap-2",children:[a.jsx(Ft,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),a.jsxs(Ce,{value:"news",className:"flex items-center gap-2",children:[a.jsx(Sa,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"News"})]}),a.jsxs(Ce,{value:"settings",className:"flex items-center gap-2",children:[a.jsx(Is,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),a.jsx(je,{value:"overview",className:"mt-6",children:a.jsx(PV,{userName:t.name,feedItems:i,alerts:n,snapshot:o,onSave:x,onApply:x,onEnroll:M=>m({action:"enroll",courseId:M}),onRead:M=>v({action:"read",articleId:M})})}),a.jsx(je,{value:"profile",className:"mt-6",children:a.jsx(ZB,{profile:e,onUpdate:M=>h(M)})}),a.jsx(je,{value:"jobs",className:"mt-6",children:a.jsx(XB,{savedJobs:y.savedJobs,applications:y.applications,recommendedJobs:y.recommendedJobs,onApply:M=>console.log("Applied:",M),onRemove:M=>console.log("Removed:",M),onUploadCV:()=>console.log("Upload CV clicked"),onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async M=>{await h({type:"jobs",payload:M.payload})}})}),a.jsx(je,{value:"courses",className:"mt-6",children:a.jsx(iU,{enrolledCourses:(c==null?void 0:c.enrolledCourses)||[],savedCourses:(c==null?void 0:c.savedCourses)||[],recommendedCourses:(c==null?void 0:c.recommendedCourses)||[],certificates:(c==null?void 0:c.certificates)||[],onEnroll:M=>m({action:"enroll",courseId:M}),onContinue:M=>m({action:"continue",courseId:M}),onExplore:()=>m({action:"explore"}),onSave:M=>m({action:"save",courseId:M}),onRemoveSaved:M=>m({action:"remove-saved",courseId:M}),onRemoveRecommended:M=>m({action:"remove-recommended",courseId:M})})}),a.jsx(je,{value:"news",className:"mt-6",children:a.jsx(sU,{recommendedNews:(l==null?void 0:l.recommendedNews)||[],savedArticles:(l==null?void 0:l.savedArticles)||[],categories:(l==null?void 0:l.categories)||[],selectedCategory:(l==null?void 0:l.selectedCategory)||"all",onRead:M=>v({action:"read",articleId:M}),onSave:M=>v({action:"save",articleId:M}),onRemoveSaved:M=>v({action:"remove-saved",articleId:M}),onRemoveRecommended:M=>v({action:"remove-recommended",articleId:M}),onCategoryChange:M=>v({action:"category",category:M}),onManagePreferences:()=>v({action:"manage-preferences"})})}),a.jsx(je,{value:"settings",className:"mt-6",children:a.jsx(cU,{settings:w,onUpdate:b})})]})})}exports.Advantages=IN;exports.Analytics=EE;exports.Banner=Uc;exports.Button=$;exports.Cart=HN;exports.Chatbot=ON;exports.ConsentBanner=tA;exports.ConsentProvider=eA;exports.CourseTypes=BN;exports.Courses=PN;exports.CoursesPage=NE;exports.Dashboard=lU;exports.Destinations=_N;exports.FAQ=FN;exports.FeatureJobs=_D;exports.Features=zN;exports.Footer=YD;exports.FooterLib=YN;exports.ForEmployers=UN;exports.ForgotPassword=lO;exports.Gallery=EN;exports.GroupPrices=KT;exports.Header=vE;exports.HeaderAlternative=JN;exports.Hero=RN;exports.HeroAlternative=$N;exports.HomePage=PD;exports.IgamingCareerHome=BD;exports.Input=Ye;exports.JobDetailPage=gE;exports.JobListings=JD;exports.JobSearchWidget=XN;exports.Listing=mE;exports.Login=oO;exports.MobileNav=nA;exports.Navbar=KD;exports.NewsPage=ME;exports.Newsletter=ZN;exports.NotificationModal=aA;exports.Partners=KN;exports.Register=sO;exports.SearchableSelect=P9;exports.Services=TN;exports.ServicesNoIcons=VN;exports.SidebarNewsletter=qj;exports.SignInPromptModal=LV;exports.SlidingSummary=QT;exports.Testimonials=qN;exports.TrustSignals=WN;exports.ValueProposition=GN;exports.Videos=DN;exports.useConsent=Tj;
|
|
7824
|
+
Defaulting to \`null\`.`}var mR=hR,oU=pR;const fR=g.forwardRef(({className:t,value:e,...r},n)=>a.jsx(mR,{ref:n,className:ie("relative h-4 w-full overflow-hidden rounded-full bg-secondary",t),...r,children:a.jsx(oU,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(e||0)}%)`}})}));fR.displayName=mR.displayName;function iU({enrolledCourses:t,savedCourses:e,recommendedCourses:r,certificates:n,onEnroll:o,onContinue:i,onExplore:c,onSave:l,onRemoveSaved:d,onRemoveRecommended:h}){const[u,p]=S.useState({enrolled:t||[],recommended:r||[],saved:e||[]});S.useEffect(()=>{p({enrolled:t||[],recommended:r||[],saved:e||[]})},[t,r,e]);const y=v=>o(v),f=v=>{p(w=>{if(w.saved.some(C=>C.id===v.id))return w;const b={...w,saved:[...w.saved,{...v,saved:!0}],recommended:w.recommended.map(C=>C.id===v.id?{...C,saved:!0}:C)};return l==null||l(v.id),b})},k=v=>{p(w=>{const M={...w,saved:w.saved.filter(b=>b.id!==v),recommended:w.recommended.map(b=>b.id===v?{...b,saved:!1}:b)};return d==null||d(v),M})},m=v=>{p(w=>{const M={...w,recommended:w.recommended.filter(b=>b.id!==v)};return h==null||h(v),M})},x=({course:v,view:w})=>{const M=u.saved.some(b=>b.id===v.id);return a.jsxs(we,{children:[a.jsx(qe,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{className:"flex-1",children:[a.jsx(De,{className:"text-lg",children:v.title}),a.jsx(Ue,{children:v.provider})]}),a.jsx(ot,{variant:"outline",children:v.level})]})}),a.jsx(Me,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[a.jsx("span",{children:v.duration}),v.certificate&&a.jsxs("span",{className:"flex items-center gap-1",children:[a.jsx(Ca,{className:"h-4 w-4"}),"Certificate"]})]}),a.jsx("div",{className:"flex flex-wrap gap-2",children:v.tags.map(b=>a.jsx(ot,{variant:"secondary",children:b},b))}),w==="enrolled"&&v.progress!==void 0&&a.jsxs("div",{className:"space-y-2",children:[a.jsxs("div",{className:"flex justify-between text-sm",children:[a.jsx("span",{className:"text-muted-foreground",children:"Progress"}),a.jsxs("span",{className:"font-medium",children:[v.progress,"%"]})]}),a.jsx(fR,{value:v.progress})]}),w==="recommended"&&v.reason&&a.jsxs("p",{className:"text-xs text-muted-foreground italic",children:["💡 ",v.reason]}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[w==="enrolled"&&a.jsx(U,{className:"sm:w-auto w-full",onClick:()=>i(v.id),children:"Continue Learning"}),w==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(U,{className:"sm:w-auto w-full",onClick:()=>y(v.id),children:"Enroll Now"}),a.jsx(U,{variant:M?"secondary":"outline",className:"sm:w-auto w-full",size:"sm",disabled:M,onClick:()=>f(v),children:M?"Saved":"Save Course"}),a.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>m(v.id),children:"Remove"}),!h&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),w==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx(U,{className:"sm:w-auto w-full",size:"sm",onClick:()=>y(v.id),children:"Start Course"}),a.jsx(U,{variant:"destructive",size:"sm",className:"sm:w-auto w-full",onClick:()=>k(v.id),children:"Remove Saved"}),!d&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove from saved not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Courses"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Advance your iGaming career"})]}),a.jsx(U,{onClick:c,children:"Explore All Courses"})]}),a.jsxs(rs,{defaultValue:"enrolled",className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-4",children:[a.jsxs(Ce,{value:"enrolled",children:[a.jsx(Ft,{className:"h-4 w-4 mr-2"}),"Enrolled (",u.enrolled.length,")"]}),a.jsxs(Ce,{value:"recommended",children:[a.jsx($i,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(sa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]}),a.jsxs(Ce,{value:"certificates",children:[a.jsx(Ca,{className:"h-4 w-4 mr-2"}),"Certificates (",n.length,")"]})]}),a.jsx(je,{value:"enrolled",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.enrolled.length===0?a.jsx(we,{className:"md:col-span-2",children:a.jsxs(Me,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Ft,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No enrolled courses yet"}),a.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"})]})}):u.enrolled.map(v=>a.jsx(x,{course:v,view:"enrolled"},v.id))})}),a.jsx(je,{value:"recommended",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(v=>a.jsx(x,{course:v,view:"recommended"},v.id))})}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(we,{className:"md:col-span-2",children:a.jsxs(Me,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(sa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved courses yet"}),a.jsx(U,{variant:"link",className:"mt-2",onClick:c,children:"Browse Courses"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground mt-2",children:"Saving courses not available yet"})]})}):u.saved.map(v=>a.jsx(x,{course:v,view:"saved"},v.id))})}),a.jsx(je,{value:"certificates",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:n.length===0?a.jsx(we,{className:"md:col-span-2",children:a.jsxs(Me,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(Ca,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No certificates yet"}),a.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:"Complete courses to earn certificates"})]})}):n.map(v=>a.jsxs(we,{children:[a.jsx(qe,{children:a.jsxs("div",{className:"flex items-start gap-3",children:[a.jsx("div",{className:"p-2 rounded-lg bg-accent/10",children:a.jsx(Ca,{className:"h-6 w-6 text-accent"})}),a.jsxs("div",{className:"flex-1",children:[a.jsx(De,{className:"text-base",children:v.title}),a.jsx(Ue,{children:v.issuer}),a.jsxs("p",{className:"text-xs text-muted-foreground mt-1",children:["Issued: ",v.date]})]})]})}),a.jsx(Me,{children:a.jsx(U,{variant:"outline",size:"sm",className:"w-full",children:"Download Certificate"})})]},v.id))})})]})]})}function sU({recommendedNews:t,savedArticles:e,categories:r,selectedCategory:n,onRead:o,onSave:i,onRemoveSaved:c,onRemoveRecommended:l,onCategoryChange:d,onManagePreferences:h}){const[u,p]=S.useState({recommended:t||[],saved:e||[]});S.useEffect(()=>{p({recommended:t||[],saved:e||[]})},[t,e]);const y=x=>{p(v=>{if(v.saved.some(b=>b.id===x.id))return v;const M={recommended:v.recommended.map(b=>b.id===x.id?{...b,saved:!0}:b),saved:[...v.saved,{...x,saved:!0}]};return i(x.id),M})},f=x=>{p(v=>{const w={recommended:v.recommended.map(M=>M.id===x?{...M,saved:!1}:M),saved:v.saved.filter(M=>M.id!==x)};return c==null||c(x),w})},k=x=>{p(v=>{const w={...v,recommended:v.recommended.filter(M=>M.id!==x)};return l==null||l(x),w})},m=({article:x,view:v})=>{const w=u.saved.some(M=>M.id===x.id);return a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsxs("div",{className:"flex justify-between items-start mb-2",children:[a.jsx(ot,{variant:"secondary",children:x.category}),a.jsx("span",{className:"text-xs text-muted-foreground",children:x.publishedDate})]}),a.jsx(De,{className:"text-lg",children:x.title}),a.jsxs(Ue,{className:"text-xs",children:[x.source," • ",x.readTime]})]}),a.jsx(Me,{children:a.jsxs("div",{className:"space-y-3",children:[a.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:x.excerpt}),a.jsx("div",{className:"flex flex-wrap gap-2",children:x.tags.map(M=>a.jsx(ot,{variant:"outline",className:"text-xs",children:M},M))}),a.jsxs("div",{className:"flex flex-col gap-2 sm:flex-row sm:flex-wrap",children:[a.jsx(U,{size:"sm",onClick:()=>o(x.id),children:"Read Article"}),v==="recommended"&&a.jsxs(a.Fragment,{children:[a.jsx(U,{variant:w?"secondary":"outline",size:"sm",disabled:w,onClick:()=>y(x),children:w?"Saved":"Save"}),a.jsx(U,{variant:"destructive",size:"sm",onClick:()=>k(x.id),children:"Remove"}),!l&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove not available yet"})]}),v==="saved"&&a.jsxs(a.Fragment,{children:[a.jsx(U,{variant:"destructive",size:"sm",onClick:()=>f(x.id),children:"Remove Saved"}),!c&&a.jsx("p",{className:"text-[11px] text-muted-foreground",children:"Remove saved article not available yet"})]})]})]})})]})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"News"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Stay updated with iGaming industry"})]}),a.jsxs(U,{variant:"outline",onClick:h,children:[a.jsx(ws,{className:"h-4 w-4 mr-2"}),"Preferences"]})]}),a.jsxs(rs,{defaultValue:"recommended",className:"w-full",children:[a.jsxs(ar,{children:[a.jsxs(Ce,{value:"recommended",children:[a.jsx(Sa,{className:"h-4 w-4 mr-2"}),"Recommended (",u.recommended.length,")"]}),a.jsxs(Ce,{value:"saved",children:[a.jsx(sa,{className:"h-4 w-4 mr-2"}),"Saved (",u.saved.length,")"]})]}),a.jsxs(je,{value:"recommended",className:"space-y-4",children:[a.jsxs("div",{className:"flex flex-wrap gap-2 mb-4",children:[a.jsx(U,{variant:n==="all"?"default":"outline",size:"sm",onClick:()=>d("all"),children:"All"}),r.map(x=>a.jsx(U,{variant:n===x?"default":"outline",size:"sm",onClick:()=>d(x),children:x},x))]}),a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.recommended.map(x=>a.jsx(m,{article:x,view:"recommended"},x.id))})]}),a.jsx(je,{value:"saved",className:"space-y-4",children:a.jsx("div",{className:"grid gap-4 md:grid-cols-2",children:u.saved.length===0?a.jsx(we,{className:"md:col-span-2",children:a.jsxs(Me,{className:"flex flex-col items-center justify-center py-10",children:[a.jsx(sa,{className:"h-12 w-12 text-muted-foreground mb-4"}),a.jsx("p",{className:"text-muted-foreground",children:"No saved articles yet"}),a.jsx(U,{variant:"link",className:"mt-2",onClick:h,children:"Browse News"})]})}):u.saved.map(x=>a.jsx(m,{article:x,view:"saved"},x.id))})})]})]})}function cU({settings:t,onUpdate:e}){const{notifications:r,connectedAccounts:n,subscription:o}=t,i=d=>{e({action:"notifications",updates:d})},c=d=>{e({action:"connect-account",platform:d})},l=d=>{e({action:"disconnect-account",accountId:d})};return a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{children:[a.jsx("h2",{className:"text-3xl font-bold",children:"Settings"}),a.jsx("p",{className:"text-muted-foreground mt-1",children:"Manage your account preferences"})]}),a.jsxs(rs,{defaultValue:"notifications",className:"w-full",children:[a.jsxs(ar,{children:[a.jsxs(Ce,{value:"notifications",children:[a.jsx(ks,{className:"h-4 w-4 mr-2"}),"Notifications"]}),a.jsxs(Ce,{value:"account",children:[a.jsx(Lc,{className:"h-4 w-4 mr-2"}),"Account"]}),a.jsxs(Ce,{value:"subscription",children:[a.jsx(yc,{className:"h-4 w-4 mr-2"}),"Subscription"]}),a.jsxs(Ce,{value:"connected",children:[a.jsx(gc,{className:"h-4 w-4 mr-2"}),"Connected"]})]}),a.jsx(je,{value:"notifications",children:a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Notification Preferences"}),a.jsx(Ue,{children:"Choose how you want to be notified"})]}),a.jsxs(Me,{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"email-notif",className:"text-base",children:"Email Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Receive updates via email"})]}),a.jsx(Wt,{id:"email-notif",checked:r.emailNotifications,onCheckedChange:d=>i({emailNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"push-notif",className:"text-base",children:"Push Notifications"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Browser push notifications"})]}),a.jsx(Wt,{id:"push-notif",checked:r.pushNotifications,onCheckedChange:d=>i({pushNotifications:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsxs("div",{children:[a.jsx(ye,{htmlFor:"weekly-digest",className:"text-base",children:"Weekly Digest"}),a.jsx("p",{className:"text-sm text-muted-foreground",children:"Summary of activities"})]}),a.jsx(Wt,{id:"weekly-digest",checked:r.weeklyDigest,onCheckedChange:d=>i({weeklyDigest:d})})]}),a.jsxs("div",{className:"border-t pt-4 space-y-4",children:[a.jsx("h4",{className:"font-medium",children:"Content Alerts"}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"job-alerts-set",children:"Job Alerts"}),a.jsx(Wt,{id:"job-alerts-set",checked:r.jobAlerts,onCheckedChange:d=>i({jobAlerts:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"course-updates",children:"Course Updates"}),a.jsx(Wt,{id:"course-updates",checked:r.courseUpdates,onCheckedChange:d=>i({courseUpdates:d})})]}),a.jsxs("div",{className:"flex items-center justify-between",children:[a.jsx(ye,{htmlFor:"news-digest",children:"News Digest"}),a.jsx(Wt,{id:"news-digest",checked:r.newsDigest,onCheckedChange:d=>i({newsDigest:d})})]})]})]})]})}),a.jsx(je,{value:"account",children:a.jsxs("div",{className:"space-y-4",children:[a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Password"}),a.jsx(Ue,{children:"Change your account password"})]}),a.jsx(Me,{children:a.jsx(U,{onClick:()=>e({action:"change-password"}),children:"Change Password"})})]}),a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Delete Account"}),a.jsx(Ue,{children:"Permanently delete your account and all data"})]}),a.jsx(Me,{children:a.jsx(U,{variant:"destructive",onClick:()=>e({action:"delete-account"}),children:"Delete Account"})})]})]})}),a.jsx(je,{value:"subscription",children:a.jsxs(we,{children:[a.jsx(qe,{children:a.jsxs("div",{className:"flex justify-between items-start",children:[a.jsxs("div",{children:[a.jsx(De,{children:"Subscription Plan"}),a.jsx(Ue,{children:"Manage your membership"})]}),o.isPremium&&a.jsx(ot,{children:"Premium"})]})}),a.jsx(Me,{className:"space-y-4",children:o.isPremium?a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"p-4 border rounded-lg bg-accent/5",children:[a.jsx("h4",{className:"font-semibold mb-2",children:"Premium Benefits"}),a.jsxs("ul",{className:"space-y-1 text-sm text-muted-foreground",children:[a.jsx("li",{children:"✓ Unlimited job applications"}),a.jsx("li",{children:"✓ Access to all courses"}),a.jsx("li",{children:"✓ Priority support"}),a.jsx("li",{children:"✓ Advanced analytics"}),a.jsx("li",{children:"✓ Ad-free experience"})]})]}),a.jsx(U,{variant:"outline",children:"Manage Subscription"})]}):a.jsxs(a.Fragment,{children:[a.jsx("p",{className:"text-sm text-muted-foreground",children:"Upgrade to Premium to unlock exclusive features"}),a.jsx(U,{onClick:()=>e({action:"upgrade",plan:"premium"}),children:"Upgrade to Premium"})]})})]})}),a.jsx(je,{value:"connected",children:a.jsxs(we,{children:[a.jsxs(qe,{children:[a.jsx(De,{children:"Connected Accounts"}),a.jsx(Ue,{children:"Manage linked accounts and integrations"})]}),a.jsx(Me,{className:"space-y-4",children:n.map(d=>a.jsxs("div",{className:"flex items-center justify-between p-4 border rounded-lg",children:[a.jsxs("div",{children:[a.jsx("h4",{className:"font-medium",children:d.platform}),d.connected&&d.email&&a.jsx("p",{className:"text-sm text-muted-foreground",children:d.email})]}),d.connected?a.jsx(U,{variant:"outline",size:"sm",onClick:()=>l(d.id),children:"Disconnect"}):a.jsx(U,{size:"sm",onClick:()=>c(d.platform),children:"Connect"})]},d.id))})]})})]})]})}function lU({user:t,profileData:e,jobsDashboard:r,alerts:n,snapshot:o,feedItems:i,coursesData:c,newsData:l,settingsData:d,onUpdateProfile:h}){const[u,p]=S.useState("overview"),y=r||(e==null?void 0:e.jobsDashboard)||{savedJobs:[],recommendedJobs:[],applications:[]},f=()=>console.log("/logout"),k=b=>console.log(b),m=async b=>{await h({type:"courses",payload:b})},x=(...b)=>console.log("Action:",...b),v=async b=>{await h({type:"news",payload:b})},w=d||{notifications:{emailNotifications:!0,pushNotifications:!1,weeklyDigest:!0,jobAlerts:!0,courseUpdates:!0,newsDigest:!1},connectedAccounts:[{id:"google_89213",platform:"Google",connected:!0,email:t.email},{id:"linkedin_55521",platform:"LinkedIn",connected:!1}],subscription:{isPremium:!1,plan:"free",renewalDate:null}},M=async b=>{await h({type:"settings",payload:b})};return a.jsx(NV,{user:t,onLogout:f,onNavigate:k,currentPath:"/dashboard",notificationCount:n.length,children:a.jsxs(rs,{value:u,onValueChange:p,className:"w-full",children:[a.jsxs(ar,{className:"grid w-full grid-cols-3 lg:grid-cols-6",children:[a.jsxs(Ce,{value:"overview",className:"flex items-center gap-2",children:[a.jsx(va,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Overview"})]}),a.jsxs(Ce,{value:"profile",className:"flex items-center gap-2",children:[a.jsx(Ac,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Profile"})]}),a.jsxs(Ce,{value:"jobs",className:"flex items-center gap-2",children:[a.jsx(mt,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Jobs"})]}),a.jsxs(Ce,{value:"courses",className:"flex items-center gap-2",children:[a.jsx(Ft,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Courses"})]}),a.jsxs(Ce,{value:"news",className:"flex items-center gap-2",children:[a.jsx(Sa,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"News"})]}),a.jsxs(Ce,{value:"settings",className:"flex items-center gap-2",children:[a.jsx(Is,{className:"h-4 w-4"}),a.jsx("span",{className:"hidden sm:inline",children:"Settings"})]})]}),a.jsx(je,{value:"overview",className:"mt-6",children:a.jsx(PV,{userName:t.name,feedItems:i,alerts:n,snapshot:o,onSave:x,onApply:x,onEnroll:b=>m({action:"enroll",courseId:b}),onRead:b=>v({action:"read",articleId:b})})}),a.jsx(je,{value:"profile",className:"mt-6",children:a.jsx(ZB,{profile:e,onUpdate:b=>h(b)})}),a.jsx(je,{value:"jobs",className:"mt-6",children:a.jsx(XB,{savedJobs:y.savedJobs,applications:y.applications,recommendedJobs:y.recommendedJobs,onApply:b=>console.log("Applied:",b),onRemove:b=>console.log("Removed:",b),onUploadCV:()=>console.log("Upload CV clicked"),onSetAlert:()=>console.log("Set alerts clicked"),onUpdateProfile:async b=>{await h({type:"jobs",payload:b.payload})}})}),a.jsx(je,{value:"courses",className:"mt-6",children:a.jsx(iU,{enrolledCourses:(c==null?void 0:c.enrolledCourses)||[],savedCourses:(c==null?void 0:c.savedCourses)||[],recommendedCourses:(c==null?void 0:c.recommendedCourses)||[],certificates:(c==null?void 0:c.certificates)||[],onEnroll:b=>m({action:"enroll",courseId:b}),onContinue:b=>m({action:"continue",courseId:b}),onExplore:()=>m({action:"explore"}),onSave:b=>m({action:"save",courseId:b}),onRemoveSaved:b=>m({action:"remove-saved",courseId:b}),onRemoveRecommended:b=>m({action:"remove-recommended",courseId:b})})}),a.jsx(je,{value:"news",className:"mt-6",children:a.jsx(sU,{recommendedNews:(l==null?void 0:l.recommendedNews)||[],savedArticles:(l==null?void 0:l.savedArticles)||[],categories:(l==null?void 0:l.categories)||[],selectedCategory:(l==null?void 0:l.selectedCategory)||"all",onRead:b=>v({action:"read",articleId:b}),onSave:b=>v({action:"save",articleId:b}),onRemoveSaved:b=>v({action:"remove-saved",articleId:b}),onRemoveRecommended:b=>v({action:"remove-recommended",articleId:b}),onCategoryChange:b=>v({action:"category",category:b}),onManagePreferences:()=>v({action:"manage-preferences"})})}),a.jsx(je,{value:"settings",className:"mt-6",children:a.jsx(cU,{settings:w,onUpdate:M})})]})})}exports.Advantages=IN;exports.Analytics=EE;exports.Banner=Uc;exports.Button=U;exports.Cart=HN;exports.Chatbot=ON;exports.ConsentBanner=tA;exports.ConsentProvider=eA;exports.CourseTypes=BN;exports.Courses=PN;exports.CoursesPage=NE;exports.Dashboard=lU;exports.Destinations=_N;exports.FAQ=FN;exports.FeatureJobs=_D;exports.Features=zN;exports.Footer=YD;exports.FooterLib=YN;exports.ForEmployers=UN;exports.ForgotPassword=lO;exports.Gallery=EN;exports.GroupPrices=KT;exports.Header=vE;exports.HeaderAlternative=JN;exports.Hero=RN;exports.HeroAlternative=$N;exports.HomePage=PD;exports.IgamingCareerHome=BD;exports.Input=Ye;exports.JobDetailPage=gE;exports.JobListings=JD;exports.JobSearchWidget=XN;exports.Listing=mE;exports.Login=oO;exports.MobileNav=nA;exports.Navbar=KD;exports.NewsPage=ME;exports.Newsletter=ZN;exports.NotificationModal=aA;exports.Partners=KN;exports.Register=sO;exports.SearchableSelect=P9;exports.Services=TN;exports.ServicesNoIcons=VN;exports.SidebarNewsletter=qj;exports.SignInPromptModal=LV;exports.SlidingSummary=QT;exports.Testimonials=qN;exports.TrustSignals=WN;exports.ValueProposition=GN;exports.Videos=DN;exports.useConsent=Tj;
|